@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
:root {
    --bg: #fafaf9;
    --text: #1c1917;
    --surface: #ffffff;
    --border: #e7e5e4;
    --muted: #78716c;
    --primary: #1e3a8a;
    --primary-light: #eff6ff;
    --hero-gradient: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
}
a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

header {
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 20px 0; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; object-fit: contain; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 800; color: #1e3a8a; }
nav ul { list-style: none; display: flex; gap: 12px; }
nav a {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--text);
}
nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.hero {
    padding: 60px 0;
    background: #f5f5f4;
    color: #1c1917;
    text-align: center;
    border-top: 1px solid #e7e5e4;
    border-bottom: 1px solid #e7e5e4;
    margin-bottom: 40px;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: 2.75rem; font-weight: 800; margin-bottom: 16px; color: #1c1917; }
.hero p { font-size: 1.05rem; opacity: 0.9; max-width: 650px; margin: 0 auto 24px; color: var(--muted); }
.btn-hero {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.btn-hero:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); }

main { padding: 40px 0; }
.section-title { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 800; margin-bottom: 8px; color: #1e3a8a; }
.section-sub { color: var(--muted); margin-bottom: 25px; }
.section-divider { width: 50px; height: 3px; background: var(--primary); margin-bottom: 30px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.card {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
}
.card:hover {
    transform: none;
    box-shadow: none;
}
.card-thumb { aspect-ratio: 16/9; background: #e7e5e4; overflow: hidden; border-radius: 8px; margin-bottom: 15px; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 0; flex: 1; display: flex; flex-direction: column; }
.card-category { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; margin-bottom: 8px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.card-desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; }

.article-wrap { background: var(--surface); border-radius: 8px; border: 1px solid var(--border); padding: 40px; max-width: 820px; margin: 0 auto; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.article-title { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 800; line-height: 1.25; margin-bottom: 20px; color: #1e3a8a; }
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--muted); margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.meta-author-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.sapo { font-size: 1.1rem; font-weight: 500; color: #374151; background: var(--primary-light); border-left: 4px solid var(--primary); padding: 18px; border-radius: 0 8px 8px 0; margin-bottom: 30px; }
.toc { background: #f5f5f4; border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin: 30px 0; }
.toc-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; color: #1e3a8a; }
.toc ol { padding-left: 20px; }
.toc li { margin: 6px 0; font-size: 0.9rem; }

.article-content h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; margin: 40px 0 20px; color: #1e3a8a; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.article-content h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin: 28px 0 12px; }
.article-content p { margin-bottom: 18px; font-size: 1rem; color: #374151; }
.article-content ul, .article-content ol { margin: 18px 0 18px 22px; }
.article-content li { margin: 6px 0; font-size: 1rem; }
.article-img { width: 100%; height: auto; border-radius: 8px; margin: 30px 0; }

.author-box { margin-top: 45px; padding: 25px; background: linear-gradient(135deg, #fafaf9, #ffffff); border: 1px solid var(--border); border-radius: 12px; display: flex; gap: 20px; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); }
.author-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; }
.author-title { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.author-bio { font-size: 0.9rem; 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.25rem; 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: 600; font-size: 0.95rem; }
.related a:hover { color: var(--primary); }

.legal-wrap { background: #ffffff; border-radius: 8px; border: 1px solid var(--border); padding: 40px; max-width: 820px; margin: 0 auto; }
.legal-wrap h1 { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 800; margin-bottom: 20px; border-bottom: 2px solid var(--primary); padding-bottom: 12px; color: #1e3a8a; }
.legal-wrap h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; margin: 30px 0 12px; }
.legal-wrap p { margin-bottom: 18px; font-size: 1rem; }

footer { background: #1c1917; color: #a8a29e; 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.85rem; }
.footer-logo { height: 36px; width: auto; object-fit: contain; }
.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.9rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 8px 0; }
.footer-col a { color: #a8a29e; font-size: 0.85rem; }
.footer-col a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #44403c; padding-top: 20px; text-align: center; font-size: 0.8rem; color: #78716c; }

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