/* style/blog.css */

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

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

.page-blog__section-title {
    font-size: 2.5rem;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-blog__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #11A84E, #22C768);
    border-radius: 2px;
}

.page-blog p {
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

.page-blog strong {
    color: #F2FFF6; /* Text Main */
}

/* Buttons */
.page-blog__btn-primary,
.page-blog__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

.page-blog__btn-secondary:hover {
    background-color: #2AD16F;
    color: #08160F; /* Background */
}

.page-blog__btn-text {
    color: #2AD16F;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog__btn-text:hover {
    color: #11A84E;
}

/* Hero Section */
.page-blog__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    overflow: hidden;
}

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

.page-blog__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-blog__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
    box-sizing: border-box;
}

.page-blog__main-title {
    font-size: 3.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -1px;
}

.page-blog__intro-text {
    font-size: 1.25rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Video Section */
.page-blog__video-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
}

.page-blog__video-title {
    margin-bottom: 30px;
    color: #F2FFF6;
}

.page-blog__video-link-wrapper {
    display: block;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.page-blog__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-blog__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    cursor: pointer;
}

.page-blog__video-description {
    font-size: 1.1rem;
    color: #A7D9B8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog__video-cta {
    margin-top: 10px;
}

/* About Section */
.page-blog__about-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-blog__about-section .page-blog__section-title {
    margin-bottom: 30px;
}

.page-blog__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Topics Section */
.page-blog__topics-section {
    padding: 60px 0;
    background-color: #11271B; /* Card B G */
}

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

.page-blog__topic-card {
    background-color: #08160F; /* Background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #1E3A2A; /* Divider */
}

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

.page-blog__topic-title {
    font-size: 1.75rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

/* Why Follow Section */
.page-blog__why-follow-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-blog__benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-blog__benefits-list li {
    background-color: #11271B; /* Card B G */
    border-left: 5px solid #2AD16F;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #A7D9B8; /* Text Secondary */
}

.page-blog__list-item-title {
    color: #F2FFF6; /* Text Main */
    font-size: 1.15rem;
    display: block;
    margin-bottom: 5px;
}

/* Usage Guide Section */
.page-blog__usage-guide-section {
    padding: 60px 0;
    background-color: #11271B; /* Card B G */
}

.page-blog__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-counter;
    margin-top: 30px;
}

.page-blog__guide-list li {
    counter-increment: guide-counter;
    background-color: #08160F; /* Background */
    padding: 20px 20px 20px 60px;
    margin-bottom: 15px;
    border-radius: 8px;
    position: relative;
    color: #A7D9B8; /* Text Secondary */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-blog__guide-list li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #2AD16F;
    color: #08160F;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Featured Articles Section */
.page-blog__featured-articles-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

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

.page-blog__article-card {
    background-color: #11271B; /* Card B G */
    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 #1E3A2A; /* Divider */
}

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

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

.page-blog__article-content {
    padding: 25px;
}

.page-blog__article-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-blog__article-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
    color: #2AD16F;
}

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

.page-blog__article-excerpt {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

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

/* FAQ Section */
.page-blog__faq-section {
    padding: 60px 0;
    background-color: #11271B; /* Card B G */
}

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

.page-blog__faq-item {
    background-color: #08160F; /* Background */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #1E3A2A; /* Divider */
}

.page-blog__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

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

.page-blog__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

.page-blog__faq-toggle {
    font-size: 1.5rem;
    color: #2AD16F;
    margin-left: 15px;
}

.page-blog__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

/* CTA Section */
.page-blog__cta-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
}

.page-blog__cta-section .page-blog__section-title {
    color: #F2FFF6;
}

.page-blog__cta-description {
    font-size: 1.2rem;
    color: #A7D9B8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog__main-title {
        font-size: 3rem;
    }
    .page-blog__intro-text {
        font-size: 1.1rem;
    }
    .page-blog__section-title {
        font-size: 2rem;
    }
    .page-blog__hero-content {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .page-blog__main-title {
        font-size: 2.2rem;
    }
    .page-blog__intro-text {
        font-size: 1rem;
    }
    .page-blog__section-title {
        font-size: 1.8rem;
    }
    .page-blog__hero-content {
        padding: 40px 20px;
    }
    .page-blog__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog__btn-primary,
    .page-blog__btn-secondary {
        padding: 12px 20px;
        width: 100%;
    }

    /* Mobile responsive images */
    .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-section, .page-blog__about-section, .page-blog__topics-section,
    .page-blog__why-follow-section, .page-blog__usage-guide-section,
    .page-blog__featured-articles-section, .page-blog__faq-section,
    .page-blog__cta-section, .page-blog__video-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog__video-section {
        padding-top: 10px !important;
    }
    .page-blog video, .page-blog__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-blog__video-link-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog__cta-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: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-blog__cta-buttons {
        flex-direction: column;
    }
    .page-blog__topic-card {
        padding: 25px;
    }
    .page-blog__article-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-blog__main-title {
        font-size: 1.8rem;
    }
    .page-blog__section-title {
        font-size: 1.5rem;
    }
    .page-blog__hero-content {
        padding: 30px 15px;
    }
    .page-blog__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-blog__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-blog__topic-title {
        font-size: 1.5rem;
    }
    .page-blog__article-title {
        font-size: 1.2rem;
    }
}