/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #121212;
    background: #fafaf8;
    line-height: 1.7;
    font-size: 17px;
}
h1, h2, h3, h4 {
    font-family: 'EB Garamond', Georgia, serif;
    line-height: 1.3;
    color: #1a1a1a;
}
a { color: #5a9e97; text-decoration: none; transition: color .2s; }
a:hover { color: #3d7a73; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.site-header {
    background: #fff;
    border-bottom: 3px solid #90BAB5;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #121212;
}
.logo-link:hover { color: #121212; }
.logo { border-radius: 6px; }
.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -.5px;
}
.site-tagline {
    font-size: .82rem;
    color: #6b7280;
    margin-top: 2px;
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #121212;
    margin: 5px 0;
    border-radius: 2px;
    transition: .3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* === NAV === */
.main-nav ul { display: flex; gap: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
    display: block;
    padding: 10px 18px;
    font-weight: 600;
    font-size: .92rem;
    color: #333;
    border-radius: 6px;
    transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover {
    background: #e8f4f2;
    color: #3d7a73;
}

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #90BAB5 0%, #6a9e98 50%, #5a8e88 100%);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
}
.hero h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,.15);
}
.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 30px;
    opacity: .92;
}
.hero .cta-btn {
    display: inline-block;
    background: #fff;
    color: #3d7a73;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform .2s, box-shadow .2s;
}
.hero .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    color: #2d5e58;
}

/* === SECTIONS === */
.section { padding: 70px 0; }
.section:nth-child(even) { background: #fff; }
.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
    position: relative;
}
.section-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 50px;
    font-size: 1.05rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #90BAB5;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* === CARD GRID === */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}
.card-img {
    height: 200px;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body {
    padding: 24px;
}
.card-category {
    display: inline-block;
    background: #e8f4f2;
    color: #3d7a73;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 12px;
}
.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.card-body h3 a { color: #1a1a1a; }
.card-body h3 a:hover { color: #3d7a73; }
.card-excerpt {
    color: #555;
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.card-link {
    font-weight: 600;
    font-size: .9rem;
    color: #5a9e97;
}
.card-link::after { content: ' \2192'; transition: margin-left .2s; }
.card:hover .card-link::after { margin-left: 4px; }

/* === ARTICLE PAGE === */
.article-header {
    padding: 50px 0 30px;
    text-align: center;
}
.article-header .breadcrumb {
    font-size: .85rem;
    color: #888;
    margin-bottom: 20px;
}
.article-header .breadcrumb a { color: #5a9e97; }
.article-header h1 {
    font-size: 2.4rem;
    max-width: 800px;
    margin: 0 auto 16px;
}
.article-header .article-meta {
    color: #888;
    font-size: .9rem;
}
.article-hero-img {
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.article-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.article-content h2 {
    font-size: 1.6rem;
    margin: 45px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f4f2;
}
.article-content h3 {
    font-size: 1.3rem;
    margin: 30px 0 14px;
    color: #3d7a73;
}
.article-content p {
    margin-bottom: 18px;
    text-align: justify;
}
.article-content ul, .article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.article-content li {
    margin-bottom: 8px;
    list-style: disc;
}
.article-content ol li { list-style: decimal; }
.article-content blockquote {
    border-left: 4px solid #90BAB5;
    background: #f0f9f7;
    padding: 24px 28px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: #333;
}

/* === RELATED ARTICLES === */
.related-articles {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    border-top: 2px solid #e8f4f2;
}
.related-articles h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.related-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .2s;
}
.related-card:hover { transform: translateY(-3px); }
.related-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.related-card h3 a { color: #1a1a1a; }
.related-card h3 a:hover { color: #3d7a73; }
.related-card p { font-size: .85rem; color: #666; }
.related-tag {
    display: inline-block;
    background: #e8f4f2;
    color: #3d7a73;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* === INTERNAL LINKS BOX === */
.cocon-box {
    background: linear-gradient(135deg, #f0f9f7, #e8f4f2);
    border: 1px solid #c8ddd9;
    border-radius: 12px;
    padding: 28px;
    margin: 35px 0;
}
.cocon-box h3 {
    font-size: 1.1rem;
    color: #2d5e58;
    margin-bottom: 14px;
}
.cocon-box ul { padding-left: 0; }
.cocon-box li {
    list-style: none;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}
.cocon-box li::before {
    content: '\27A4';
    position: absolute;
    left: 0;
    color: #90BAB5;
}
.cocon-box a { font-weight: 600; }

/* === FOOTER === */
.site-footer {
    background: #1a2a28;
    color: #c8d6d4;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.footer-col p {
    font-size: .9rem;
    line-height: 1.6;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
    color: #90BAB5;
    font-size: .9rem;
}
.footer-col a:hover { color: #b8dad5; }
.footer-bottom {
    border-top: 1px solid #2a3a38;
    padding: 20px 0;
    text-align: center;
    font-size: .85rem;
}
.footer-bottom a { color: #90BAB5; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 20px rgba(0,0,0,.1);
        padding: 20px;
    }
    .main-nav.active { display: block; }
    .main-nav > ul { flex-direction: column; }
    .main-nav > ul > li > a { padding: 12px 16px; }
    .hero h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 50px 0 40px; }
    .hero h2 { font-size: 1.7rem; }
    .article-header h1 { font-size: 1.8rem; }
    .article-content h2 { font-size: 1.35rem; }
    .site-name { font-size: 1.2rem; }
    .related-grid { grid-template-columns: 1fr; }
}
