.page-blog {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

.page-blog__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #0A0A0A; /* Ensure consistency */
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
}

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

.page-blog__hero-content {
    padding: 40px 20px;
    background-color: #0A0A0A; /* Match body background */
    color: #FFF6D6;
}

.page-blog__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: #FFD36B; /* Glow color for title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog__hero-description {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #FFF6D6;
}

.page-blog__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff; /* White text for contrast on gold/yellow */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-blog__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow color */
    border: 2px solid #3A2A12; /* Border color */
}

.page-blog__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    border-color: #FFD36B;
}

.page-blog__posts-section {
    padding: 60px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

.page-blog__section-title {
    font-size: 2.5em;
    color: #FFD36B; /* Glow color */
    text-align: center;
    margin-bottom: 15px;
}

.page-blog__section-subtitle {
    font-size: 1.1em;
    color: #FFF6D6;
    text-align: center;
    margin-bottom: 40px;
}

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

.page-blog__post-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-blog__post-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.page-blog__post-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog__post-content {
    padding: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-blog__post-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #FFD36B; /* Glow color */
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-blog__post-excerpt {
    font-size: 0.95em;
    line-height: 1.6;
    color: #FFF6D6;
    margin-bottom: 15px;
}

.page-blog__post-date {
    font-size: 0.85em;
    color: #F2C14E; /* Main color */
}

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

.page-blog__faq-section {
    padding: 60px 0;
    background-color: #0A0A0A;
    color: #FFF6D6;
}

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

details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow color */
}
details.page-blog__faq-item summary.page-blog__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog__faq-item summary.page-blog__faq-question:hover {
  background: #1A1A1A; /* Slightly lighter dark background on hover */
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD36B; /* Glow color */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A; /* Background color */
  border-radius: 0 0 10px 10px;
  color: #FFF6D6; /* Text Main */
}

.page-blog p, .page-blog li {
    color: #FFF6D6;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog__container {
        padding: 20px;
    }
    .page-blog__posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-blog__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-blog__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* 1. Hero Section */
    .page-blog__hero-section {
        padding-top: 10px !important;
    }
    .page-blog__hero-content {
        padding: 30px 15px;
    }
    .page-blog__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-blog__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-blog__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box;
    }
    /* 5. Buttons and Button Containers */
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-blog__hero-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Posts Section */
    .page-blog__posts-section {
        padding: 40px 0;
    }
    .page-blog__container {
        padding: 0 15px;
    }
    .page-blog__section-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .page-blog__section-subtitle {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-blog__posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog__post-image {
        height: 180px; /* Adjust height for mobile */
    }
    .page-blog__post-content {
        padding: 15px;
    }
    .page-blog__post-title {
        font-size: 1.2em;
    }
    .page-blog__post-excerpt {
        font-size: 0.9em;
    }
    .page-blog__view-all-button-wrapper {
        margin-top: 30px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* 3. General Images and Containers */
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__hero-image-wrapper,
    .page-blog__post-card,
    .page-blog__post-link,
    .page-blog__view-all-button-wrapper,
    .page-blog__faq-section,
    .page-blog__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 6. Inner Page FAQ */
    details.page-blog__faq-item summary.page-blog__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-blog__faq-qtext {
        font-size: 1em;
        width: calc(100% - 40px);
    }
    .page-blog__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    details.page-blog__faq-item .page-blog__faq-answer {
        padding: 0 15px 15px;
    }
}