.page-blog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-blog__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-main);
}

.page-blog__section-description {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.page-blog__intro-section,
.page-blog__guides-section,
.page-blog__faq-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-blog__intro-section .page-blog__section-title,
.page-blog__intro-section .page-blog__subsection-title,
.page-blog__intro-section p,
.page-blog__intro-section li,
.page-blog__guides-section .page-blog__section-title,
.page-blog__guides-section .page-blog__guide-title a,
.page-blog__guides-section .page-blog__guide-excerpt,
.page-blog__faq-section .page-blog__section-title,
.page-blog__faq-section .page-blog__faq-question,
.page-blog__faq-section .page-blog__faq-answer p {
  color: var(--text-dark);
}

.page-blog__dark-section {
  background-color: var(--bg-primary);
  color: var(--text-main);
  padding: 60px 0;
}

.page-blog__dark-section .page-blog__section-title,
.page-blog__dark-section .page-blog__section-description,
.page-blog__dark-section h3,
.page-blog__dark-section p,
.page-blog__dark-section li,
.page-blog__dark-section a {
  color: var(--text-main);
}

.page-blog__subsection-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-blog__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.page-blog__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-blog__list-item {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.page-blog__category-grid,
.page-blog__article-grid,
.page-blog__guide-grid,
.page-blog__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

.page-blog__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog__category-card,
.page-blog__article-card,
.page-blog__guide-card,
.page-blog__news-card {
  text-decoration: none;
  color: inherit;
}

.page-blog__category-image,
.page-blog__article-image,
.page-blog__guide-image,
.page-blog__news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog__article-content,
.page-blog__news-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__category-title,
.page-blog__article-title,
.page-blog__guide-title,
.page-blog__news-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.page-blog__category-title a,
.page-blog__article-title a,
.page-blog__guide-title a,
.page-blog__news-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-blog__category-title a:hover,
.page-blog__article-title a:hover,
.page-blog__guide-title a:hover,
.page-blog__news-title a:hover {
  color: var(--primary-color);
}

.page-blog__category-excerpt,
.page-blog__article-excerpt,
.page-blog__guide-excerpt,
.page-blog__news-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-blog__article-meta,
.page-blog__news-meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.page-blog__article-link,
.page-blog__news-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto;
}

.page-blog__article-link:hover,
.page-blog__news-link:hover {
  text-decoration: underline;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.page-blog__btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-blog__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-blog__view-all-button {
  display: inline-block;
}

.page-blog__promotion-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-blog__promotion-image {
  flex: 1 1 400px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog__promotion-text {
  flex: 1 1 400px;
}

.page-blog__promotion-text p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.page-blog__faq-list {
  margin-top: 40px;
}

.page-blog__faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  background-color: var(--card-bg-light);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.page-blog__faq-item summary {
  list-style: none;
}

.page-blog__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dark);
  background-color: var(--card-bg-light);
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.page-blog__faq-question:hover {
  background-color: var(--card-bg-hover);
}

.page-blog__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  transform: rotate(45deg);
}

.page-blog__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.page-blog__faq-answer p {
  margin-bottom: 0;
}

.page-blog__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-blog__cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Custom Color Variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-primary: #08160F;
  --card-bg: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
  --bg-light: #ffffff; /* For light background sections */
  --text-dark: #333333; /* For text on light backgrounds */
  --card-bg-light: #f8f8f8; /* For card backgrounds on light sections */
  --card-bg-hover: #e0e0e0; /* For card hover on light sections */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-content {
    padding: 20px 15px;
  }
  .page-blog__promotion-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-blog__promotion-image {
    flex: none;
    max-width: 100%;
  }
  .page-blog__promotion-text {
    flex: none;
    max-width: 100%;
    text-align: center;
  }
  .page-blog__promotion-text .page-blog__btn-primary {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-blog__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-blog__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }
  .page-blog__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-blog__subsection-title {
    font-size: 1.5rem;
  }
  .page-blog__container {
    padding: 0 15px;
  }
  .page-blog__intro-section,
  .page-blog__dark-section,
  .page-blog__articles-section,
  .page-blog__promotions-section,
  .page-blog__guides-section,
  .page-blog__news-events-section,
  .page-blog__faq-section,
  .page-blog__cta-section {
    padding: 40px 0;
  }
  .page-blog__category-grid,
  .page-blog__article-grid,
  .page-blog__guide-grid,
  .page-blog__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-blog__section,
  .page-blog__card,
  .page-blog__container,
  .page-blog__hero-image-wrapper,
  .page-blog__promotion-content,
  .page-blog__promotion-image,
  .page-blog__promotion-text,
  .page-blog__guide-card,
  .page-blog__news-card,
  .page-blog__article-card,
  .page-blog__category-card,
  .page-blog__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-blog__hero-button,
  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-blog__cta-buttons,
  .page-blog__button-group,
  .page-blog__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-blog__cta-buttons {
    flex-direction: column;
  }
  .page-blog__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-blog__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8rem;
  }
  .page-blog__hero-description {
    font-size: 0.9rem;
  }
  .page-blog__section-title {
    font-size: 1.5rem;
  }
  .page-blog__subsection-title {
    font-size: 1.3rem;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
}