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

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, relying on shared.css body padding-top */
    background-color: #0D0E12; /* Body background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-blog__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Desktop: cover to fill space */
    min-width: 200px;
    min-height: 200px;
}

.page-blog__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px 60px;
    max-width: 900px;
    color: #FFF3E6; /* Text Main color for dark background */
}

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

.page-blog__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF3E6;
}

/* Buttons */
.page-blog__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    border: none;
}

.page-blog__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff; /* White text for primary button */
}

.page-blog__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FFA53A; /* Aux color */
    border: 1px solid #A84F0C; /* Border color */
}

.page-blog__btn-secondary:hover {
    background: #2a2d36;
    color: #FF8C1A;
    transform: translateY(-2px);
}

/* Section Titles */
.page-blog__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FF8C1A; /* Main color for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

/* Articles Section */
.page-blog__articles-section {
    background-color: #0D0E12; /* Body background */
    padding: 60px 0;
}

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

.page-blog__article-card {
    background: #17191F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6; /* Text Main */
    border: 1px solid #A84F0C; /* Border color */
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-blog__article-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-blog__card-content {
    padding: 20px;
}

.page-blog__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #FFA53A; /* Aux color for card titles */
}

.page-blog__card-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #FFF3E6;
}

.page-blog__article-date {
    font-size: 0.85rem;
    color: #A84F0C; /* Border color for date */
    display: block;
}

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

/* Long SEO Content */
.page-blog__long-seo-content {
    background-color: #0D0E12; /* Body background */
    padding: 60px 0;
    color: #FFF3E6; /* Text Main */
}

.page-blog__article-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

.page-blog__article-body h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #FF8C1A; /* Main color */
}

.page-blog__article-body p {
    margin-bottom: 15px;
    color: #FFF3E6;
}

.page-blog__article-body ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-blog__article-body li {
    margin-bottom: 8px;
    color: #FFF3E6;
}

.page-blog__article-figure {
    margin: 30px auto;
    max-width: 100%;
    text-align: center;
    background: #17191F; /* Card BG */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #A84F0C;
}

.page-blog__article-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    min-width: 200px; /* Min size for content images */
    min-height: 200px;
}

.page-blog__article-figure figcaption {
    font-style: italic;
    font-size: 0.9rem;
    color: #A84F0C; /* Border color for caption */
    margin-top: 10px;
}

/* CTA Section */
.page-blog__cta-section {
    background-color: #17191F; /* Card BG */
    padding: 60px 20px;
    text-align: center;
    color: #FFF3E6;
}

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

/* FAQ Section */
.page-blog__faq-section {
    background-color: #0D0E12; /* Body background */
    padding: 60px 0;
}

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

/* FAQ styles from prompt */
details.page-blog__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6;
}
details.page-blog__faq-item summary.page-blog__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #2a2d36; /* Slightly lighter card BG on hover */
}
.page-blog__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFA53A; /* Aux color for question text */
}
.page-blog__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FF8C1A; /* Main color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog__faq-item .page-blog__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Body background for answer area */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6; /* Text Main */
}
.page-blog__faq-answer p {
    margin-bottom: 0;
    color: #FFF3E6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog__container {
        padding: 15px;
    }
    .page-blog__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-blog__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-blog__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-blog__article-card {
        margin: 0 10px;
    }
    .page-blog__article-body {
        padding: 0 15px;
    }
    .page-blog__hero-content {
        padding: 30px 15px 40px;
    }
}

@media (max-width: 768px) {
    .page-blog__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
    }
    .page-blog__hero-image img {
        object-fit: contain !important; /* Mobile: contain to show full image */
        aspect-ratio: unset !important; /* Remove aspect ratio for contain */
        max-height: 300px !important; /* Limit height */
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__hero-content {
        padding: 20px 15px 30px;
    }
    .page-blog__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-blog__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-blog__btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-blog__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog__articles-section,
    .page-blog__long-seo-content,
    .page-blog__cta-section,
    .page-blog__faq-section {
        padding: 40px 0;
    }
    .page-blog__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-blog__articles-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-blog__article-card {
        margin: 0;
    }
    .page-blog__article-image {
        height: 180px; /* Adjust height for mobile cards */
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    .page-blog__card-title {
        font-size: 1.1rem;
    }
    .page-blog__card-excerpt {
        font-size: 0.9rem;
    }
    .page-blog__article-body {
        font-size: 1rem;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog__article-body h3 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-blog__article-figure {
        margin: 20px auto;
        padding: 10px;
    }
    .page-blog__article-figure img {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    details.page-blog__faq-item summary.page-blog__faq-question { padding: 15px; }
    .page-blog__faq-qtext { font-size: 15px; }
    details.page-blog__faq-item .page-blog__faq-answer { padding: 0 15px 15px; }
    .page-blog img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog__container,
    .page-blog__articles-section,
    .page-blog__long-seo-content,
    .page-blog__cta-section,
    .page-blog__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}