/* ========================================= */
/* Blog & Article Styles                     */
/* ========================================= */

/* --- Shared --- */
.page-subpage .site-header {
    padding: 10px 0;
}

/* ========================================= */
/* NEWS PAGE                                 */
/* ========================================= */

/* --- Hero --- */
.news-hero {
    background: linear-gradient(160deg, #f0faf8 0%, #e4f3ef 40%, #f8f5ff 100%);
    padding: 130px 0 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-hero::before,
.news-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.news-hero::before {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(58, 157, 143, 0.15), transparent 70%);
}

.news-hero::after {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -30px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1), transparent 70%);
}

.news-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #3a9d8f, #2ecc71);
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(58, 157, 143, 0.3);
}

.news-hero__icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.news-hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    color: #3a9d8f;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.news-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 38px;
    color: #2d3436;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.news-hero__desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #636e72;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.news-hero__stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.news-hero__stat {
    text-align: center;
}

.news-hero__stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #3a9d8f;
    display: block;
}

.news-hero__stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #b2bec3;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- Cards Grid --- */
.news-grid {
    padding: 50px 0 70px;
    background: #f8f9fa;
}

.news-grid__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Card --- */
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.news-card__image-wrap {
    position: relative;
    overflow: hidden;
    height: 195px;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.08);
}

/* Category tag overlay */
.news-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #2d3436;
    letter-spacing: 0.3px;
    z-index: 2;
}

.news-card__tag svg {
    width: 14px;
    height: 14px;
}

.news-card__tag--green svg {
    fill: #3a9d8f;
}

.news-card__tag--blue svg {
    fill: #0984e3;
}

.news-card__tag--red svg {
    fill: #e17055;
}

.news-card__tag--purple svg {
    fill: #6c5ce7;
}

/* Reading time badge */
.news-card__time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #fff;
    z-index: 2;
}

.news-card__time svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.news-card__content {
    padding: 22px 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #b2bec3;
    margin-bottom: 8px;
}

.news-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #2d3436;
    line-height: 1.45;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.news-card:hover .news-card__title {
    color: #3a9d8f;
}

.news-card__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #636e72;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.news-card__read {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #3a9d8f;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.news-card:hover .news-card__read {
    gap: 10px;
}

.news-card__read svg {
    width: 16px;
    height: 16px;
    fill: #3a9d8f;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__read svg {
    transform: translateX(3px);
}

/* --- News CTA Section --- */
.news-cta {
    background: linear-gradient(135deg, #3a9d8f 0%, #2ecc71 100%);
    padding: 55px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.news-cta::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.news-cta::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.news-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    margin-bottom: 18px;
}

.news-cta__icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.news-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.news-cta__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.news-cta__btn {
    display: inline-block;
    background: #fff;
    color: #3a9d8f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.news-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Category Filters --- */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 20px 25px;
    max-width: 1140px;
    margin: 0 auto;
}

.news-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 25px;
    border: 2px solid #e0e0e0;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #636e72;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.news-filter:hover {
    border-color: #3a9d8f;
    color: #3a9d8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 157, 143, 0.15);
}

.news-filter.active {
    background: linear-gradient(135deg, #3a9d8f, #2ecc71);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(58, 157, 143, 0.3);
}

.news-filter svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- News Responsive --- */
@media (max-width: 992px) {
    .news-grid__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-hero {
        padding: 115px 0 35px;
    }

    .news-hero__title {
        font-size: 26px;
    }

    .news-hero__stats {
        gap: 25px;
    }

    .news-hero__stat-number {
        font-size: 22px;
    }

    .news-grid__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-filters {
        gap: 8px;
    }

    .news-cta__title {
        font-size: 20px;
    }
}


/* ========================================= */
/* ARTICLE PAGE                              */
/* ========================================= */

/* --- Breadcrumbs --- */
.article-breadcrumbs {
    padding: 95px 0 0;
    background: #f8f9fa;
}

.article-breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #b2bec3;
}

.article-breadcrumbs__list a {
    color: #3a9d8f;
    text-decoration: none;
    transition: color 0.3s;
}

.article-breadcrumbs__list a:hover {
    color: #2ecc71;
}

.article-breadcrumbs__sep {
    font-size: 10px;
    color: #dfe6e9;
}

/* --- Hero Image --- */
.article-hero {
    background: #f8f9fa;
    padding: 25px 0 0;
}

.article-hero__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-hero__image-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.article-hero__image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.article-hero__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 30px 25px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.article-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(58, 157, 143, 0.9);
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.article-hero__tag svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.article-hero__time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
}

.article-hero__time svg {
    width: 13px;
    height: 13px;
    fill: rgba(255, 255, 255, 0.85);
}

/* --- Article Content --- */
.article-content {
    background: #f8f9fa;
    padding: 0 0 60px;
}

.article-content__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Article Header --- */
.article-header {
    padding: 35px 0 25px;
    border-bottom: 1px solid #eee;
    margin-bottom: 35px;
}

.article-header__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #2d3436;
    line-height: 1.35;
    margin: 0 0 14px;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-header__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #636e72;
}

.article-header__meta-item svg {
    width: 16px;
    height: 16px;
    fill: #3a9d8f;
}

/* --- Article Body --- */
.article-body {
    background: #fff;
    border-radius: 18px;
    padding: 40px 45px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.article-body p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15.5px;
    line-height: 1.85;
    color: #4a4a4a;
    margin: 0 0 20px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

.article-body strong {
    color: #2d3436;
    font-weight: 600;
}

/* Section headings */
.article-body__section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #2d3436;
    margin: 40px 0 16px;
    padding-left: 16px;
    border-left: 4px solid #3a9d8f;
    line-height: 1.4;
}

.article-body__section-title:first-child {
    margin-top: 0;
}

/* Highlight box */
.article-body__highlight {
    background: linear-gradient(135deg, #f0faf8, #e8f6f3);
    border-left: 4px solid #3a9d8f;
    border-radius: 0 12px 12px 0;
    padding: 20px 25px;
    margin: 25px 0;
}

.article-body__highlight p {
    color: #2d3436;
    font-weight: 500;
    margin: 0;
    font-size: 15px;
}

/* Key points */
.article-body__key-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.article-body__key-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px 16px;
}

.article-body__key-point-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, #3a9d8f, #2ecc71);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.article-body__key-point-icon svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.article-body__key-point-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    line-height: 1.5;
}

/* --- Article Footer --- */
.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 15px;
}

.article-footer__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3a9d8f;
    text-decoration: none;
    padding: 10px 22px;
    border: 2px solid #3a9d8f;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.article-footer__back:hover {
    background: #3a9d8f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 157, 143, 0.3);
}

.article-footer__back svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.article-footer__share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-footer__share-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #b2bec3;
    font-weight: 500;
}

.article-footer__share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-footer__share-btn:hover {
    background: #3a9d8f;
    transform: translateY(-2px);
}

.article-footer__share-btn svg {
    width: 16px;
    height: 16px;
    fill: #636e72;
}

.article-footer__share-btn:hover svg {
    fill: #fff;
}

/* --- Related Articles --- */
.article-related {
    background: #f8f9fa;
    padding: 0 0 60px;
}

.article-related__container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-related__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #2d3436;
    margin-bottom: 22px;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-related__card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-related__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.article-related__card-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.article-related__card:hover .article-related__card-image {
    opacity: 0.9;
}

.article-related__card-content {
    padding: 14px 16px;
}

.article-related__card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #2d3436;
    line-height: 1.45;
    margin: 0;
    transition: color 0.3s;
}

.article-related__card:hover .article-related__card-title {
    color: #3a9d8f;
}

/* --- Article CTA --- */
.article-cta {
    background: linear-gradient(135deg, #3a9d8f 0%, #2ecc71 100%);
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.article-cta__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.article-cta__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.article-cta__btn {
    display: inline-block;
    background: #fff;
    color: #3a9d8f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.article-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Article Disclaimer --- */
.article-body__disclaimer {
    background: #fff9e6;
    border-left: 4px solid #f0c040;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 30px 0 0;
}

.article-body__disclaimer p {
    font-size: 13px;
    color: #7a6a2a;
    margin: 0;
    line-height: 1.6;
}

/* --- Article Responsive --- */
@media (max-width: 768px) {
    .article-hero__image {
        height: 240px;
    }

    .article-header__title {
        font-size: 24px;
    }

    .article-body {
        padding: 25px 20px;
    }

    .article-body__key-points {
        grid-template-columns: 1fr;
    }

    .article-related__grid {
        grid-template-columns: 1fr;
    }
}