:root {
    --eksyar-green-900: #0f3d2e;
    --eksyar-green-800: #13523d;
    --eksyar-green-700: #176649;
    --eksyar-gold: #c49a3a;
    --eksyar-cream: #fbf7ee;
    --eksyar-text: #1f2933;
    --eksyar-muted: #667085;
    --eksyar-border: #e6e8ec;
    --eksyar-surface: #ffffff;
    --eksyar-soft: #f6f8f7;
    --eksyar-shadow: 0 14px 40px rgba(15, 61, 46, 0.08);
    --eksyar-radius: 18px;
    --eksyar-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--eksyar-soft);
    color: var(--eksyar-text);
    font-family: var(--eksyar-font);
    font-size: 16px;
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--eksyar-green-800);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--eksyar-green-700);
    text-decoration: underline;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    background: var(--eksyar-green-900);
    color: #fff;
    z-index: 9999;
}

.site-header {
    background: var(--eksyar-surface);
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header-top {
    border-top: 4px solid var(--eksyar-gold);
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 82px;
    gap: 24px;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-logo img {
    max-height: 64px;
    width: auto;
}

.site-title {
    color: var(--eksyar-green-900);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.25;
}

.site-description {
    margin: 0;
    color: var(--eksyar-muted);
    font-size: 0.92rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--eksyar-border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--eksyar-green-900);
}

.site-navigation {
    border-top: 1px solid var(--eksyar-border);
}

.primary-menu,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.primary-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    padding: 13px 14px;
    color: var(--eksyar-text);
    font-weight: 650;
    font-size: 0.94rem;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-parent > a {
    color: var(--eksyar-green-800);
    background: var(--eksyar-cream);
    text-decoration: none;
}

.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--eksyar-border);
    border-radius: 14px;
    box-shadow: var(--eksyar-shadow);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    display: block;
}

.primary-menu .sub-menu a {
    padding: 9px 10px;
    border-radius: 10px;
}

.site-main {
    min-height: 60vh;
}

.hero-section {
    background: linear-gradient(135deg, var(--eksyar-green-900) 0%, var(--eksyar-green-800) 58%, #214f3f 100%);
    color: #fff;
    padding: 64px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 32px;
    align-items: center;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 8px;
    color: var(--eksyar-gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-text {
    max-width: 720px;
    margin: 18px 0 26px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.12rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--eksyar-radius);
    padding: 22px;
    backdrop-filter: blur(14px);
}

.hero-panel h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.15rem;
}

.quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quick-card {
    display: flex;
    min-height: 74px;
    align-items: flex-end;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 800;
}

.quick-card:hover,
.quick-card:focus {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.portal-search {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 760px;
}

.portal-search input {
    min-width: 0;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 1rem;
    color: var(--eksyar-text);
    background: #fff;
}

.portal-search button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.portal-search button,
.button-primary {
    background: var(--eksyar-gold);
    color: #1f2933;
}

.button-secondary {
    background: var(--eksyar-green-800);
    color: #fff;
}

.portal-search button:hover,
.portal-search button:focus,
.button:hover,
.button:focus {
    opacity: 0.92;
    text-decoration: none;
}

.layout-content,
.narrow-content,
.single-layout {
    padding: 42px 0 64px;
}

.narrow-content {
    max-width: 840px;
}

.home-section {
    padding: 44px 0 8px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 18px;
}

.section-heading h2,
.archive-header h1,
.entry-header h1 {
    margin: 0;
    color: var(--eksyar-green-900);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-heading p,
.archive-header p {
    margin: 8px 0 0;
    max-width: 720px;
    color: var(--eksyar-muted);
}

.section-link,
.read-more,
.download-link,
.source-link {
    font-weight: 800;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.content-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    background: var(--eksyar-surface);
    border: 1px solid var(--eksyar-border);
    border-radius: var(--eksyar-radius);
    box-shadow: var(--eksyar-shadow);
}

.card-thumbnail {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--eksyar-cream);
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.card-type {
    width: fit-content;
    margin-bottom: 9px;
    padding: 4px 9px;
    border-radius: 999px;
    background: var(--eksyar-cream);
    color: var(--eksyar-green-800);
    font-size: 0.76rem;
    font-weight: 800;
}

.card-title {
    margin: 0 0 10px;
    font-size: 1.13rem;
    line-height: 1.35;
}

.card-title a {
    color: var(--eksyar-green-900);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 12px;
    color: var(--eksyar-muted);
    font-size: 0.86rem;
}

.stacked-meta {
    flex-direction: column;
    gap: 3px;
}

.card-excerpt {
    margin: 0 0 16px;
    color: var(--eksyar-muted);
    font-size: 0.95rem;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    font-size: 0.92rem;
}

.archive-header {
    margin-bottom: 24px;
    padding: 28px;
    background: var(--eksyar-surface);
    border: 1px solid var(--eksyar-border);
    border-radius: var(--eksyar-radius);
    box-shadow: var(--eksyar-shadow);
}

.archive-toolbar {
    margin-bottom: 22px;
    padding: 18px;
    background: var(--eksyar-green-900);
    border-radius: var(--eksyar-radius);
}

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}

.entry {
    background: var(--eksyar-surface);
    border: 1px solid var(--eksyar-border);
    border-radius: var(--eksyar-radius);
    box-shadow: var(--eksyar-shadow);
    overflow: hidden;
}

.entry-header {
    padding: 32px 34px 16px;
}

.entry-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 14px;
    color: var(--eksyar-muted);
    font-size: 0.95rem;
}

.entry-thumbnail {
    margin: 16px 34px 0;
    border-radius: 16px;
    overflow: hidden;
}

.entry-thumbnail img {
    display: block;
    width: 100%;
}

.entry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 34px 0;
}

.entry-content {
    padding: 26px 34px 36px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--eksyar-green-900);
    line-height: 1.25;
}

.entry-content p,
.entry-content li {
    color: #344054;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
    padding: 10px;
    border: 1px solid var(--eksyar-border);
    text-align: left;
    vertical-align: top;
}

.entry-content th {
    background: var(--eksyar-cream);
}

.single-sidebar {
    position: relative;
}

.entry-facts {
    position: sticky;
    top: 128px;
    padding: 22px;
    background: var(--eksyar-surface);
    border: 1px solid var(--eksyar-border);
    border-radius: var(--eksyar-radius);
    box-shadow: var(--eksyar-shadow);
}

.entry-facts h2 {
    margin: 0 0 14px;
    color: var(--eksyar-green-900);
    font-size: 1.08rem;
}

.entry-facts dl {
    margin: 0;
}

.entry-fact-row {
    padding: 12px 0;
    border-top: 1px solid var(--eksyar-border);
}

.entry-fact-row:first-child {
    border-top: 0;
}

.entry-facts dt {
    color: var(--eksyar-muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.entry-facts dd {
    margin: 4px 0 0;
    color: var(--eksyar-text);
}

.empty-state,
.not-found-page {
    padding: 28px;
    background: var(--eksyar-surface);
    border: 1px solid var(--eksyar-border);
    border-radius: var(--eksyar-radius);
    box-shadow: var(--eksyar-shadow);
}

.navigation.pagination {
    margin-top: 26px;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--eksyar-border);
    border-radius: 12px;
    background: #fff;
    font-weight: 800;
}

.page-numbers.current {
    background: var(--eksyar-green-800);
    color: #fff;
    border-color: var(--eksyar-green-800);
}

.site-footer {
    background: var(--eksyar-green-900);
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 28px;
    padding: 42px 0;
}

.site-footer h2,
.site-footer h3 {
    margin-top: 0;
    color: #fff;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 960px) {
    .hero-grid,
    .single-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .single-sidebar {
        order: -1;
    }

    .entry-facts {
        position: static;
    }
}

@media (max-width: 720px) {
    .site-header-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-block;
    }

    .site-navigation {
        display: none;
    }

    .site-navigation.is-open {
        display: block;
    }

    .primary-menu {
        display: block;
        padding: 8px 0 14px;
    }

    .primary-menu a {
        padding: 11px 0;
    }

    .primary-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 14px;
        border: 0;
        box-shadow: none;
    }

    .hero-section {
        padding: 42px 0;
    }

    .quick-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .portal-search {
        flex-direction: column;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .entry-header,
    .entry-content,
    .entry-actions {
        padding-left: 22px;
        padding-right: 22px;
    }

    .entry-thumbnail {
        margin-left: 22px;
        margin-right: 22px;
    }
}
