* { box-sizing: border-box; }
:root {
    --brand-navy: #0b2345;
    --brand-navy-soft: #163866;
    --brand-gold: #c8a15a;
    --brand-gold-strong: #b58838;
    --text-body: #172033;
    --text-muted: #5f6c80;
    --bg-page: #f6f7fb;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-body);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.topbar { background: var(--brand-navy); color: #dbeafe; font-size: 14px; padding: 8px 0; }
.topbar-content { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.navbar { background: #fff; box-shadow: 0 10px 28px rgba(6, 18, 40, 0.12); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #e7ebf2; }
.navbar-apollo {
    border-top: 3px solid var(--brand-gold);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { color: var(--brand-navy); font-size: 24px; font-weight: 800; letter-spacing: .01em; }
.logo span { color: var(--brand-gold); }
.menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; font-weight: 700; color: #2c3c55; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 8px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.menu > li > a:hover { color: var(--brand-navy); }
.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    border-radius: 10px;
    border-top: 3px solid var(--brand-gold);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.16);
    display: none;
    z-index: 30;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: #1f2937;
    font-weight: 500;
}
.dropdown-menu li a:hover { background: #f3f6fc; color: var(--brand-navy); }
.menu > li.dropdown:hover .dropdown-menu { display: block; }
.menu > li.dropdown:focus-within .dropdown-menu { display: block; }
.hero {
    background: linear-gradient(105deg, rgba(14, 42, 82, .92), rgba(14,42,82,.67)),
    url("https://images.unsplash.com/photo-1528747008803-f9f9fa66f127?auto=format&fit=crop&w=1600&q=80") center/cover;
    color: #fff;
    padding: 84px 0;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 12px; }
.hero p { color: #e2e8f0; max-width: 750px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; }
.btn-primary { background: var(--brand-gold); color: #fff; border: 1px solid var(--brand-gold); }
.btn-primary:hover { background: var(--brand-gold-strong); border-color: var(--brand-gold-strong); }
section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head h2 { color: var(--brand-navy); margin: 0 0 8px; font-size: 30px; text-transform: uppercase; letter-spacing: .03em; }
.section-head p { color: var(--text-muted); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(8, 21, 45, .08);
    padding: 24px;
}
.card h3 {
    margin-top: 0;
    color: var(--brand-navy);
    font-size: 24px;
    line-height: 1.4;
}
.card-grid .card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}
.post-thumb {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    margin-bottom: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.post-thumb--empty {
    min-height: 220px;
}
.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
.post-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    display: block;
}
.post-meta { color: #7a879a; font-size: 13px; margin-bottom: 8px; font-weight: 600; }
.post-summary { color: #2f3b4f; margin-bottom: 14px; font-size: 16px; line-height: 1.75; }
.card-grid .btn { margin-top: auto; width: fit-content; }
.list-two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.sidebar .card { margin-bottom: 18px; }
.cta-box {
    background: linear-gradient(150deg, var(--brand-navy), var(--brand-navy-soft));
    color: #e5e7eb;
}
.cta-box h3 { color: #ffffff; }
.cta-box .btn-primary { background: #c69a58; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
form { display: grid; gap: 10px; }
input, textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    padding: 11px;
}
textarea { min-height: 120px; resize: vertical; }
.alert-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; padding: 10px; border-radius: 8px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: 10px; border-radius: 8px; }
.pagination {
    margin-top: 24px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.page-link {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1f2937;
    font-weight: 600;
}
.page-link.active {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}
.footer { background: var(--brand-navy); color: #cbd5e1; text-align: center; padding: 22px 0; font-size: 14px; border-top: 3px solid var(--brand-gold); }
@media (max-width: 920px) {
    .card-grid, .list-two-col, .contact-wrap { grid-template-columns: 1fr; }
    .menu { gap: 14px; font-size: 14px; }
    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        background: #f8fafc;
        margin-top: 6px;
    }
    .card-grid .card { min-height: auto; }
}
