:root {
    --main-color: #11A84E;
    --accent-color: #22C768;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-primary: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-blog {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-primary);
    font-size: 16px;
}

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

.page-blog__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-blog__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

/* --- Hero Section --- */
.page-blog__hero-section {
    position: relative;
    padding-top: 10px; /* As per fixed header rule */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-main);
    background-color: var(--bg-primary);
    overflow: hidden;
}

.page-blog__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.page-blog__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
}

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

.page-blog__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* --- CTA Button General --- */
.page-blog__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    min-width: 150px; /* Ensure minimum width for buttons */
}

.page-blog__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
}

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

.page-blog__btn-secondary {
    background: transparent;
    color: var(--main-color);
    border: 2px solid var(--main-color);
}

.page-blog__btn-secondary:hover {
    background: var(--main-color);
    color: #ffffff;
}

/* --- Latest Articles Section --- */
.page-blog__latest-articles {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.page-blog__article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.page-blog__article-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-blog__article-card:hover {
    transform: translateY(-5px);
}

.page-blog__article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.page-blog__article-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.3;
}

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

.page-blog__article-date {
    font-size: 0.85em;
    color: var(--text-secondary);
    opacity: 0.8;
}

.page-blog__button-group {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Guides & Tips Section --- */
.page-blog__guides-tips {
    padding: 80px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-blog__text-main {
    color: var(--text-main);
}

.page-blog__text-secondary {
    color: var(--text-secondary);
}

.page-blog__guide-category {
    margin-bottom: 60px;
}

.page-blog__guide-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main);
}

.page-blog__guide-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-blog__guide-item--reverse {
    flex-direction: row-reverse;
}

.page-blog__guide-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-blog__guide-content {
    width: 50%;
}

.page-blog__guide-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: var(--text-secondary);
}

.page-blog__guide-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-blog__guide-list li {
    margin-bottom: 8px;
}

/* --- Promotions & News Section --- */
.page-blog__promotions-news {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.page-blog__promo-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.page-blog__promo-item,
.page-blog__news-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-blog__promo-image,
.page-blog__news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-blog__promo-title,
.page-blog__news-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 0 20px;
    color: var(--text-main);
}

.page-blog__promo-text,
.page-blog__news-text {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-blog__promo-item .page-blog__cta-button,
.page-blog__news-item .page-blog__cta-button {
    margin: 0 20px; /* Center button within card */
    width: calc(100% - 40px);
}

/* --- Why Choose Us Section --- */
.page-blog__why-choose-us {
    padding: 80px 0;
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-blog__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-blog__benefit-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-blog__benefit-image {
    width: 100%;
    height: 180px; /* Fixed height for benefit images */
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 180px;
}

.page-blog__benefit-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-blog__benefit-text {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- Final CTA Section --- */
.page-blog__cta-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    text-align: center;
}

/* --- Responsive Styles for Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .page-blog__container {
        padding: 20px 30px;
    }
    .page-blog__article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-blog__guide-item,
    .page-blog__guide-item--reverse {
        gap: 20px;
    }
    .page-blog__guide-image,
    .page-blog__guide-content {
        width: 50%; /* Maintain 2-column for guides on tablet */
    }
    .page-blog__promo-news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-blog__benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-blog__section-title {
        font-size: 2.2em;
    }
    .page-blog__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
}

/* --- Responsive Styles for Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* General Mobile Adaptations */
    .page-blog__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
}