.page-blog {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-blog__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog__dark-section {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-blog__light-bg {
  background-color: #08160F; /* Background - this section should be light background on dark body */
  color: #F2FFF6;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
  overflow: hidden;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-blog__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-blog__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  flex-grow: 1;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
}

.page-blog__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-blog__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Button top gradient color */
  border: 2px solid #2AD16F; /* Button top gradient color */
}

.page-blog__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5); /* Glow with transparency */
}

.page-blog__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-blog__articles-grid,
.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-blog__article-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-blog__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-blog__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-blog__card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px); /* Adjust height based on image */
}

.page-blog__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-blog__card-meta {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__card-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-blog__read-more {
  color: #2AD16F; /* Button top gradient color */
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.page-blog__read-more:hover {
  text-decoration: underline;
}

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

.page-blog__category-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px #57E38D; /* Glow */
}

.page-blog__category-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 20px;
}

.page-blog__category-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.page-blog__category-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
}

.page-blog__guide-content-wrapper,
.page-blog__promotions-content,
.page-blog__security-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-blog__guide-image,
.page-blog__promotions-image,
.page-blog__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-blog__guide-text-content,
.page-blog__promotions-text,
.page-blog__security-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-blog__guide-text-content p,
.page-blog__promotions-text p,
.page-blog__security-text p,
.page-blog__guide-text-content ul,
.page-blog__security-text ul {
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-blog__guide-text-content ul li,
.page-blog__security-text ul li {
  margin-bottom: 8px;
  list-style-type: disc;
  margin-left: 20px;
}

.page-blog__guide-subtitle,
.page-blog__promotions-subtitle,
.page-blog__security-subtitle {
  font-size: 1.6em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-blog__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-blog__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px #57E38D; /* Glow */
}

.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  user-select: none;
  list-style: none;
}

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

.page-blog__faq-qtext {
  flex-grow: 1;
}

.page-blog__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2FFF6;
}

.page-blog__faq-item[open] .page-blog__faq-toggle {
  content: '−';
}

.page-blog__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-blog__cta-bottom-section .page-blog__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog__hero-image {
    height: 500px;
  }

  .page-blog__guide-content-wrapper,
  .page-blog__promotions-content,
  .page-blog__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__security-content .page-blog__security-image {
    order: -1; /* Image first for security section */
  }

  .page-blog__guide-text-content ul,
  .page-blog__security-text ul {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-blog__section {
    padding: 40px 15px;
  }

  .page-blog__hero-section {
    padding-bottom: 40px;
  }

  .page-blog__hero-image {
    height: 300px;
  }

  .page-blog__main-title {
    font-size: 2rem; /* Adjusted for mobile */
  }

  .page-blog__description {
    font-size: 1em;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog__articles-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-blog__card-image {
    height: 180px;
  }

  .page-blog__card-title {
    font-size: 1.2em;
  }

  .page-blog__category-link {
    padding: 15px;
  }

  .page-blog__guide-subtitle,
  .page-blog__promotions-subtitle,
  .page-blog__security-subtitle {
    font-size: 1.4em;
  }

  .page-blog__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-blog__faq-answer {
    padding: 12px 20px 15px;
  }

  /* Mobile image responsiveness */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog__section,
  .page-blog__article-card,
  .page-blog__category-item,
  .page-blog__guide-content-wrapper,
  .page-blog__promotions-content,
  .page-blog__security-content,
  .page-blog__hero-image-wrapper,
  .page-blog__hero-content,
  .page-blog__cta-buttons,
  .page-blog__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-blog__guide-text-content ul,
  .page-blog__security-text ul {
    padding-left: 20px; /* Ensure list items are indented */
  }

  .page-blog__guide-image,
  .page-blog__promotions-image,
  .page-blog__security-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}