@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..700;1,400..700&display=swap');
:root {
    --bg: #fdfcf7;
    --text: #2c3531;
    --surface: #ffffff;
    --border: #eae6d8;
    --muted: #7f8c8d;
    --primary: #116466;
    --primary-light: #f5f1e6;
    --hero-gradient: linear-gradient(135deg, #116466 0%, #2c3531 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo-wrap { display: flex; align-items: center; gap: 8px; }
.logo-img { height: 38px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 800; color: #116466; letter-spacing: -0.5px; }
nav ul { list-style: none; display: flex; gap: 12px; }
nav a {
    font-weight: 700;
    font-size: 0.75rem;
    padding: 8px 14px;
    text-transform: uppercase;
    color: var(--text);
    letter-spacing: 1px;
}
nav a:hover {
    color: #116466;
    background: #f5f1e6;
    border-radius: 20px;
}

.hero {
    padding: 80px 0;
    background: #f2eee3;
    color: #2c3531;
    text-align: left;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 2.75rem; font-style: italic; font-weight: 700; margin-bottom: 16px; color: #116466; }
.hero p { font-size: 1.05rem; opacity: 0.9; max-width: 700px; margin-bottom: 24px; }
.btn-hero {
    display: inline-block;
    background: #116466;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 24px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
}
.btn-hero:hover { background: #2c3531; }

main { padding: 45px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; color: #116466; }
.section-sub { color: var(--muted); margin-bottom: 20px; font-size: 0.9rem; }
.section-divider { width: 50px; height: 3px; background: var(--primary); margin-bottom: 30px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(44, 53, 49, 0.08);
    transform: translateY(-4px);
}
.card-thumb { aspect-ratio: 16/9; background: #e2e8f0; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-category { font-size: 0.65rem; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.card-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); display: flex; gap: 8px; }

.article-wrap { background: var(--surface); border: 1px solid var(--border); padding: 35px; max-width: 820px; margin: 0 auto; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 15px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.article-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; line-height: 1.3; margin-bottom: 20px; color: #116466; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.meta-author-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sapo { font-size: 1.05rem; font-weight: 500; color: #2c3e50; background: var(--primary-light); border-left: 4px solid var(--primary); padding: 16px; margin-bottom: 30px; }
.toc { background: #faf8f5; border: 1px solid var(--border); padding: 18px; margin: 30px 0; }
.toc-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: #116466; text-transform: uppercase; }
.toc ol { padding-left: 20px; }
.toc li { margin: 6px 0; font-size: 0.85rem; }

.article-content h2 { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 800; margin: 40px 0 20px; color: #116466; padding-bottom: 6px; border-bottom: 2px solid var(--primary-light); }
.article-content h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin: 26px 0 10px; }
.article-content p { margin-bottom: 18px; font-size: 0.95rem; color: #34495e; }
.article-content ul, .article-content ol { margin: 18px 0 18px 22px; }
.article-content li { margin: 6px 0; font-size: 0.95rem; }
.article-img { width: 100%; height: auto; margin: 30px 0; border: 1px solid var(--border); }

.author-box { margin-top: 45px; padding: 25px; background: #faf8f5; border: 1px solid var(--border); display: flex; gap: 20px; }
.author-box img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.author-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; }
.author-title { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
.author-bio { font-size: 0.85rem; color: var(--muted); }

.related { margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--border); }
.related h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }
.related ul { list-style: none; }
.related li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.related a { font-weight: 700; font-size: 0.9rem; }
.related a:hover { color: var(--primary); }

.legal-wrap { background: var(--surface); border: 1px solid var(--border); padding: 35px; max-width: 820px; margin: 0 auto; }
.legal-wrap h1 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 12px; color: #116466; }
.legal-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin: 30px 0 12px; }
.legal-wrap p { margin-bottom: 18px; font-size: 0.95rem; }

footer { background: #2c3531; color: #bdc3c7; padding: 50px 0 25px; margin-top: 70px; border-top: 4px solid var(--primary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; margin-bottom: 35px; }
.footer-brand p { margin-top: 12px; font-size: 0.8rem; color: #95a5a6; }
.footer-logo { height: 32px; filter: grayscale(1) invert(1); }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 800; color: #ffffff; }
.footer-col .footer-col-title { display: block; color: #ffffff; font-weight: 700; margin-bottom: 15px; font-size: 0.85rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: #bdc3c7; font-size: 0.8rem; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; text-align: center; font-size: 0.75rem; color: #7f8c8d; }

@media(max-width: 768px) {
    .grid { grid-template-columns: 1fr; }
    .article-wrap, .legal-wrap { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero h1 { font-size: 1.85rem; }
}
