/* ═══════════════════════════════════════════════
   Accuracy Press Arabic — Main Stylesheet
   Navy #0B1929 · Gold #C99A2E · White #ffffff
   Font: Tajawal 400 / 700 / 900
   ═══════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    direction: rtl;
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', system-ui, sans-serif;
    background: #fff;
    color: #111;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
a:hover { color: #0B1929; }

/* ── Layout ── */
.container {
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 32px;
    padding-left: 32px;
}

.container--wide {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 40px;
    padding-left: 40px;
}

/* ── Divider ── */
.divider {
    border: none;
    border-top: 1px solid #ebebeb;
    margin: 0;
}

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    height: 68px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hamburger */
.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #111;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-logo img {
    height: 40px;
    width: auto;
}
.site-logo .logo-text {
    font-size: 18px;
    font-weight: 900;
    color: #0B1929;
    letter-spacing: .02em;
    white-space: nowrap;
}
.site-logo .logo-en {
    font-size: 11px;
    font-weight: 400;
    color: #bbb;
    display: block;
    letter-spacing: .06em;
    direction: ltr;
}

/* Header right */
.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header-right a {
    font-size: 13px;
    font-weight: 700;
    color: #666;
    transition: color .15s;
}
.header-right a:hover { color: #0B1929; }

.btn-donate {
    background: #0B1929;
    color: #C99A2E !important;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 22px;
    letter-spacing: .04em;
    transition: background .15s;
    white-space: nowrap;
}
.btn-donate:hover { background: #152e4a; }

/* ── Mobile nav overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #0B1929;
    z-index: 99;
    flex-direction: column;
    padding: 80px 40px 40px;
}
.nav-overlay.is-open { display: flex; }
.nav-overlay a {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transition: color .15s;
}
.nav-overlay a:hover { color: #C99A2E; }
.nav-overlay .close-nav {
    position: absolute;
    top: 20px;
    left: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════
   CATEGORY NAV BAR (optional, used on some pages)
   ═══════════════════════════════════════════════ */
.cat-nav {
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav-inner {
    display: flex;
    padding: 0 48px;
    white-space: nowrap;
}
.cat-nav-inner a {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    padding: 11px 14px;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
    flex-shrink: 0;
}
.cat-nav-inner a:hover,
.cat-nav-inner a.current { color: #0B1929; border-bottom-color: #C99A2E; }

/* ═══════════════════════════════════════════════
   CATEGORY LABEL  /أخبار · سوريا
   ═══════════════════════════════════════════════ */
.cat-label {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.cat-slash {
    color: #C99A2E;
    font-size: 22px;
    font-weight: 900;
    margin-left: 4px;
    line-height: 1;
}
.cat-primary { color: #0B1929; font-weight: 900; }
.cat-primary:hover { color: #C99A2E; }
.cat-sub { color: #bbb; font-weight: 400; font-size: 12px; margin-right: 8px; }

/* ═══════════════════════════════════════════════
   FEATURED STORY (homepage hero)
   ═══════════════════════════════════════════════ */
.featured-story {
    padding: 36px 0 30px;
}

.featured-story .post-img,
.featured-story .post-img--placeholder {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 24px;
}

.featured-story .post-img--placeholder {
    background: linear-gradient(140deg, #c0ccd8 0%, #8fa8be 100%);
}

.featured-story h1 {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.35;
    color: #0d0d0d;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}
.featured-story h1 a { color: inherit; }
.featured-story h1 a:hover { color: #0B1929; }

.featured-story .post-excerpt {
    font-size: 17px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 18px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #ebebeb;
    font-size: 13px;
    color: #999;
}
.post-meta .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
    flex-shrink: 0;
}
.post-meta strong { color: #555; }

/* ═══════════════════════════════════════════════
   ARTICLE ROW (text + thumbnail)
   ═══════════════════════════════════════════════ */
.article-row {
    display: grid;
    grid-template-columns: 1fr 215px;
    gap: 28px;
    align-items: start;
    padding: 26px 0;
    transition: opacity .15s;
}
.article-row:hover { opacity: .85; }

.article-row .post-img,
.article-row .post-img--placeholder {
    width: 100%;
    height: 148px;
    object-fit: cover;
}
.article-row .post-img--placeholder {
    background: linear-gradient(135deg, #c8d3dc, #8fa8be);
}

.article-row h2 {
    font-size: 1.32rem;
    font-weight: 900;
    line-height: 1.42;
    color: #111;
    margin-bottom: 8px;
    transition: color .15s;
}
.article-row:hover h2 { color: #0B1929; }
.article-row h2 a { color: inherit; }

.article-row .post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.82;
    margin-bottom: 8px;
}
.article-row .post-meta {
    padding-top: 0;
    border-top: none;
}

/* ═══════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 28px 0 16px;
}
.section-title {
    font-size: 11px;
    font-weight: 900;
    color: #0B1929;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding-right: 14px;
    border-right: 3px solid #C99A2E;
}
.section-more {
    font-size: 12px;
    color: #C99A2E;
    font-weight: 700;
}
.section-more:hover { color: #0B1929; }

/* ═══════════════════════════════════════════════
   2-COLUMN CARD GRID
   ═══════════════════════════════════════════════ */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
    padding-bottom: 36px;
}

.card {
    cursor: pointer;
    transition: opacity .15s;
}
.card:hover { opacity: .85; }

.card .post-img,
.card .post-img--placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 16px;
}
.card .post-img--placeholder {
    background: linear-gradient(135deg, #c8d3dc, #8fa8be);
}
.card h2 {
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1.44;
    color: #111;
    margin-bottom: 7px;
    transition: color .15s;
}
.card:hover h2 { color: #0B1929; }
.card h2 a { color: inherit; }
.card .post-meta { padding-top: 0; border-top: none; font-size: 11px; }

/* ═══════════════════════════════════════════════
   LIBRARY PAGE
   ═══════════════════════════════════════════════ */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 32px 24px;
    padding: 28px 0 48px;
}

.book-card {
    cursor: pointer;
    transition: transform .2s;
}
.book-card:hover { transform: translateY(-4px); }

.book-cover {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    margin-bottom: 14px;
    background: linear-gradient(140deg, #c0ccd8, #8fa8be);
}

.book-cover--placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(140deg, #0B1929 0%, #1a3552 40%, #2d5478 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.book-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.45;
    margin-bottom: 4px;
}
.book-author {
    font-size: 12px;
    color: #aaa;
}
.book-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #C99A2E;
    margin-top: 8px;
    transition: color .15s;
}
.book-download:hover { color: #0B1929; }

/* ═══════════════════════════════════════════════
   OPPORTUNITIES PAGE
   ═══════════════════════════════════════════════ */
.opp-list { padding: 28px 0 48px; }

.opp-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #ebebeb;
    transition: opacity .15s;
}
.opp-card:hover { opacity: .82; }
.opp-card:last-child { border-bottom: none; }

.opp-type {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    color: #C99A2E;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.opp-card h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.42;
}
.opp-card h2 a { color: inherit; }

.opp-card .post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

.opp-deadline {
    text-align: left;
    white-space: nowrap;
}
.opp-deadline .label {
    font-size: 10px;
    color: #bbb;
    display: block;
    margin-bottom: 4px;
}
.opp-deadline .date {
    font-size: 14px;
    font-weight: 900;
    color: #0B1929;
}
.opp-apply {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: #0B1929;
    padding: 5px 14px;
    transition: background .15s;
}
.opp-apply:hover { background: #C99A2E; color: #0B1929; }

/* ═══════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4px;
    padding: 28px 0 48px;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: opacity .2s;
    cursor: pointer;
}
.gallery-item img:hover { opacity: .88; }

/* ═══════════════════════════════════════════════
   VIDEO PAGE
   ═══════════════════════════════════════════════ */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 28px 0 48px;
}
.video-embed { aspect-ratio: 16/9; background: #000; }
.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.video-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-top: 12px;
    line-height: 1.42;
}

/* ═══════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════ */
.single-header {
    padding: 36px 0 28px;
}
.single-header .post-img,
.single-header .post-img--placeholder {
    width: 100%;
    height: 480px;
    object-fit: cover;
    margin-bottom: 28px;
}
.single-header .post-img--placeholder {
    background: linear-gradient(140deg, #c0ccd8, #8fa8be);
}
.single-header h1 {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.36;
    color: #0d0d0d;
    margin-bottom: 16px;
    letter-spacing: -.01em;
}
.single-header .post-excerpt {
    font-size: 18px;
    color: #444;
    line-height: 1.88;
    margin-bottom: 16px;
    font-weight: 400;
}

.post-content {
    padding: 28px 0 48px;
    font-size: 16px;
    color: #222;
    line-height: 1.92;
}
.post-content h2 { font-size: 1.5rem; font-weight: 900; margin: 32px 0 14px; color: #0B1929; }
.post-content h3 { font-size: 1.2rem; font-weight: 700; margin: 24px 0 10px; }
.post-content p  { margin-bottom: 20px; }
.post-content blockquote {
    border-right: 4px solid #C99A2E;
    padding: 4px 20px;
    margin: 28px 0;
    color: #555;
    font-size: 18px;
    font-style: italic;
}
.post-content img { max-width: 100%; height: auto; margin: 24px 0; }
.post-content a { color: #C99A2E; border-bottom: 1px solid rgba(201,154,46,.3); }
.post-content a:hover { color: #0B1929; border-bottom-color: #0B1929; }
.post-content ul, .post-content ol { padding-right: 28px; margin-bottom: 20px; }
.post-content li { margin-bottom: 6px; }

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */
.about-hero {
    padding: 48px 0 36px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 40px;
}
.about-hero h1 {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0B1929;
    margin-bottom: 16px;
}
.about-hero .lead {
    font-size: 18px;
    color: #444;
    line-height: 1.88;
    max-width: 640px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 40px 0;
    border: 1px solid #ebebeb;
}
.stat-item {
    padding: 28px 24px;
    text-align: center;
    border-left: 1px solid #ebebeb;
}
.stat-item:last-child { border-left: none; }
.stat-number { font-size: 2.5rem; font-weight: 900; color: #C99A2E; display: block; }
.stat-label  { font-size: 14px; color: #888; margin-top: 4px; }

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 36px 24px;
    padding: 28px 0 48px;
}
.team-card { text-align: center; }
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, #c0ccd8, #8fa8be);
    display: block;
}
.team-name { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 4px; }
.team-role { font-size: 13px; color: #888; }

/* ═══════════════════════════════════════════════
   PAGE TITLE
   ═══════════════════════════════════════════════ */
.page-banner {
    background: #0B1929;
    padding: 36px 0;
    margin-bottom: 0;
}
.page-banner h1 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
}
.page-banner .breadcrumb {
    font-size: 12px;
    color: #4a6080;
    margin-top: 8px;
}
.page-banner .breadcrumb a { color: #C99A2E; }

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    border: 1px solid #ebebeb;
    transition: all .15s;
}
.pagination .current,
.pagination a:hover { background: #0B1929; color: #fff; border-color: #0B1929; }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
    background: #0B1929;
    padding: 40px 0 28px;
    margin-top: 60px;
}

.footer-inner {
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand .footer-logo {
    font-size: 18px;
    font-weight: 900;
    color: #C99A2E;
    letter-spacing: .02em;
    margin-bottom: 10px;
}
.footer-brand p {
    font-size: 13px;
    color: #4a6080;
    line-height: 1.7;
}

.footer-section h3 {
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .14em;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,154,46,.2);
}
.footer-section a {
    display: block;
    font-size: 13px;
    color: #4a6080;
    padding: 5px 0;
    font-weight: 700;
    transition: color .15s;
}
.footer-section a:hover { color: #C99A2E; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 48px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 12px; color: #3a5070; }
.footer-bottom a { color: #4a6080; transition: color .15s; }
.footer-bottom a:hover { color: #C99A2E; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .header-inner { padding: 0 24px; }
    .header-right a:not(.btn-donate) { display: none; }
    .cat-nav-inner { padding: 0 24px; }
    .container { padding-right: 24px; padding-left: 24px; }
    .container--wide { padding-right: 24px; padding-left: 24px; }
    .featured-story h1 { font-size: 2rem; }
    .featured-story .post-img,
    .featured-story .post-img--placeholder { height: 360px; }
    .footer-inner { grid-template-columns: 1fr 1fr; padding: 0 24px; gap: 28px; }
    .footer-bottom { padding: 16px 24px 0; }
    .card-grid { gap: 20px 24px; }
    .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .featured-story h1 { font-size: 1.7rem; }
    .featured-story .post-img,
    .featured-story .post-img--placeholder { height: 260px; }
    .article-row { grid-template-columns: 1fr; }
    .article-row .post-img,
    .article-row .post-img--placeholder { height: 220px; }
    .card-grid { grid-template-columns: 1fr; }
    .opp-card { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .stats-row .stat-item { border-left: none; border-bottom: 1px solid #ebebeb; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Utilities ── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-gold  { color: #C99A2E; }
.text-navy  { color: #0B1929; }
.text-muted { color: #999; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.no-results { padding: 60px 0; color: #999; font-size: 16px; text-align: center; }

/* ═══════════════════════════════════════════════
   CAT-NAV (direct links, no inner wrapper)
   ═══════════════════════════════════════════════ */
.cat-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
    padding: 0 48px;
    white-space: nowrap;
    gap: 0;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
    font-size: 13px;
    font-weight: 700;
    color: #777;
    padding: 11px 14px;
    border-bottom: 3px solid transparent;
    transition: color .15s, border-color .15s;
    flex-shrink: 0;
    display: block;
}
.cat-nav a:hover,
.cat-nav a.current { color: #0B1929; border-bottom-color: #C99A2E; }

/* ═══════════════════════════════════════════════
   FEATURED STORY (template class names)
   ═══════════════════════════════════════════════ */
.featured-story { padding: 0 0 40px; }
.featured-img-wrap { display: block; }
.featured-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.featured-img--placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(140deg, #c0ccd8 0%, #8fa8be 100%);
    display: block;
}
.featured-content { padding-top: 28px; }
.featured-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.32;
    color: #0d0d0d;
    margin-bottom: 14px;
    letter-spacing: -.01em;
}
.featured-title a { color: inherit; }
.featured-title a:hover { color: #0B1929; }
.featured-excerpt {
    font-size: 17px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 14px;
}
.featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #999;
    padding-top: 14px;
    border-top: 1px solid #ebebeb;
}

/* ═══════════════════════════════════════════════
   ARTICLE ROW (template class names)
   ═══════════════════════════════════════════════ */
.article-list { padding-bottom: 12px; }
.article-row {
    display: grid;
    grid-template-columns: 1fr 215px;
    gap: 28px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid #ebebeb;
}
.article-row:last-child { border-bottom: none; }
.article-row:hover .article-row-title a { color: #0B1929; }
.article-row-body { min-width: 0; }
.article-row-title {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.42;
    color: #111;
    margin-bottom: 8px;
}
.article-row-title a { color: inherit; }
.article-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
}
.article-row-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}
.article-row-thumb {
    display: block;
    flex-shrink: 0;
}
.article-row-thumb img {
    width: 215px;
    height: 148px;
    object-fit: cover;
    display: block;
}

/* ═══════════════════════════════════════════════
   ARTICLE CARD (content-card.php)
   ═══════════════════════════════════════════════ */
.article-card { transition: opacity .15s; }
.article-card:hover { opacity: .85; }
.article-card-img-wrap { display: block; margin-bottom: 14px; }
.article-card-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.article-card-img-wrap .post-img--placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #c8d3dc, #8fa8be);
    display: block;
}
.article-card-body { padding: 0; }
.article-card-title {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.42;
    color: #111;
    margin-bottom: 6px;
}
.article-card-title a { color: inherit; }
.article-card:hover .article-card-title a { color: #0B1929; }
.article-card-meta { font-size: 12px; color: #aaa; }

/* ═══════════════════════════════════════════════
   BOOK CARD (content-library.php)
   ═══════════════════════════════════════════════ */
.book-cover-wrap {
    display: block;
    position: relative;
    margin-bottom: 12px;
}
.book-cover-wrap img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.book-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #C99A2E;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    letter-spacing: .08em;
}
.book-info { padding: 0 2px; }
.book-title { font-size: 14px; font-weight: 700; color: #111; line-height: 1.4; margin-bottom: 4px; }
.book-title a { color: inherit; }
.book-author { font-size: 12px; color: #aaa; margin-bottom: 2px; }
.book-year { font-size: 11px; color: #ccc; }

/* ═══════════════════════════════════════════════
   OPP CARD (content-opportunity.php)
   ═══════════════════════════════════════════════ */
.opp-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #ebebeb;
}
.opp-card:last-child { border-bottom: none; }
.opp-card--expired { opacity: .6; }
.opp-card-body { min-width: 0; }
.opp-card-title {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.42;
    color: #111;
    margin-bottom: 8px;
}
.opp-card-title a { color: inherit; }
.opp-card-excerpt { font-size: 14px; color: #555; line-height: 1.8; }
.opp-card-side { flex-shrink: 0; text-align: left; min-width: 120px; }
.opp-deadline { text-align: left; }
.opp-deadline-label {
    font-size: 10px;
    color: #bbb;
    display: block;
    margin-bottom: 4px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.opp-deadline-date { font-size: 14px; font-weight: 900; color: #0B1929; display: block; }
.opp-deadline--expired .opp-deadline-label,
.opp-deadline--expired .opp-deadline-date { color: #aaa; }
.btn-apply {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    background: #0B1929;
    padding: 6px 14px;
    transition: background .15s;
    white-space: nowrap;
}
.btn-apply:hover { background: #C99A2E; color: #0B1929; }

/* ═══════════════════════════════════════════════
   HOME SECTIONS
   ═══════════════════════════════════════════════ */
.home-section { padding: 0 0 12px; border-top: 1px solid #ebebeb; }
.home-section--alt { background: #fafafa; padding-top: 0; }

/* ═══════════════════════════════════════════════
   SINGLE POST (template class names)
   ═══════════════════════════════════════════════ */
.single-hero { margin-bottom: 0; }
.single-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.single-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.36;
    color: #0d0d0d;
    margin-bottom: 14px;
    letter-spacing: -.01em;
}
.single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #aaa;
    padding-top: 14px;
    border-top: 1px solid #ebebeb;
    margin-bottom: 4px;
}
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 0;
    border-top: 1px solid #ebebeb;
}
.post-tag {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    background: #f4f4f4;
    padding: 4px 12px;
}
.post-tag:hover { background: #0B1929; color: #C99A2E; }

/* Related posts */
.related-posts { border-top: 1px solid #ebebeb; padding-top: 0; }

/* ═══════════════════════════════════════════════
   BOOK SINGLE
   ═══════════════════════════════════════════════ */
.book-single {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    padding: 48px 0;
}
.book-single-cover { flex-shrink: 0; }
.book-single-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    display: block;
}
.btn-pdf {
    display: block;
    margin-top: 18px;
    text-align: center;
    background: #C99A2E;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    padding: 12px;
    transition: background .15s;
}
.btn-pdf:hover { background: #0B1929; color: #C99A2E; }
.book-single-title {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.36;
    color: #0d0d0d;
    margin-bottom: 20px;
}
.book-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-bottom: 24px; }
.book-meta dt { font-size: 12px; font-weight: 900; color: #bbb; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.book-meta dd { font-size: 15px; color: #333; margin: 0; }

/* ═══════════════════════════════════════════════
   TAXONOMY FILTER
   ═══════════════════════════════════════════════ */
.tax-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0 8px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 8px;
}
.tax-filter-item {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    padding: 5px 14px;
    border: 1px solid #ddd;
    transition: all .15s;
}
.tax-filter-item:hover,
.tax-filter-item.active { background: #0B1929; color: #C99A2E; border-color: #0B1929; }

/* ═══════════════════════════════════════════════
   OPPORTUNITY SINGLE
   ═══════════════════════════════════════════════ */
.opp-single { padding: 40px 0; }
.opp-single-header { margin-bottom: 28px; }
.opp-single-sidebar {
    background: #f8f9fa;
    border: 1px solid #ebebeb;
    padding: 24px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.opp-deadline-box { display: flex; flex-direction: column; gap: 4px; }
.btn-apply--large {
    font-size: 14px;
    padding: 12px 28px;
}

/* ═══════════════════════════════════════════════
   GALLERY (template class names)
   ═══════════════════════════════════════════════ */
.gallery-item { position: relative; overflow: hidden; }
.gallery-link { display: block; }
.gallery-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}
.gallery-item:hover .gallery-link img { transform: scale(1.04); }
.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    color: #fff;
    font-size: 13px;
    padding: 20px 12px 10px;
}

/* ═══════════════════════════════════════════════
   VIDEO PAGE (template class names)
   ═══════════════════════════════════════════════ */
.video-item { }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-poster { width: 100%; height: 100%; display: block; border: none; padding: 0; cursor: pointer; position: relative; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(11,25,41,.75);
    color: #C99A2E;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    border-radius: 50%;
}
.video-poster:hover .video-play-btn { background: #C99A2E; color: #fff; }
.video-iframe { width: 100%; height: 100%; border: none; display: block; }
.video-channel-link { text-align: center; padding: 20px 0 48px; }

/* ═══════════════════════════════════════════════
   ABOUT PAGE (template class names)
   ═══════════════════════════════════════════════ */
.about-hero {
    padding: 48px 0 36px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 0;
}
.about-hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0B1929;
    margin-bottom: 14px;
}
.about-hero-tagline {
    font-size: 17px;
    color: #444;
    line-height: 1.9;
}
.stats-section { padding: 40px 0; border-top: 1px solid #ebebeb; }
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #ebebeb;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-left: 1px solid #ebebeb;
}
.stat-item:last-child { border-left: none; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: #C99A2E; display: block; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: #888; }
.team-section { padding: 40px 0 0; border-top: 1px solid #ebebeb; }
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
}
.team-name { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-bio { font-size: 13px; color: #888; line-height: 1.6; }

/* ═══════════════════════════════════════════════
   FOOTER (template class names)
   ═══════════════════════════════════════════════ */
.footer-inner {
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-col { }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-decoration: none;
}
.footer-logo-img { height: 36px; width: auto; }
.footer-logo-text { font-size: 16px; font-weight: 900; color: #C99A2E; display: block; }
.footer-logo-en { font-size: 10px; font-weight: 400; color: #4a6080; direction: ltr; display: block; letter-spacing: .04em; }
.footer-tagline { font-size: 13px; color: #4a6080; line-height: 1.7; margin-top: 8px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: #4a6080; transition: color .15s; }
.footer-social a:hover { color: #C99A2E; }
.footer-heading {
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(201,154,46,.2);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { }
.footer-links a {
    display: block;
    font-size: 13px;
    color: #4a6080;
    padding: 5px 0;
    font-weight: 700;
    transition: color .15s;
}
.footer-links a:hover { color: #C99A2E; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 48px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 12px; color: #3a5070; }
.footer-bottom a { color: #4a6080; transition: color .15s; }
.footer-bottom a:hover { color: #C99A2E; }

/* ═══════════════════════════════════════════════
   PAGE BANNER (template class names)
   ═══════════════════════════════════════════════ */
.page-banner { background: #0B1929; padding: 36px 0; margin-bottom: 0; }
.page-banner-title { font-size: 2rem; font-weight: 900; color: #fff; }
.page-banner-desc { font-size: 14px; color: #4a6080; margin-top: 8px; }
.page-banner-desc a { color: #C99A2E; }

/* Scrolled state */
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* ═══════════════════════════════════════════════
   RESPONSIVE (additional)
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .cat-nav { padding: 0 24px; }
    .featured-img, .featured-img--placeholder { height: 360px; }
    .featured-title { font-size: 2rem; }
    .single-hero-img { height: 320px; }
    .book-single { grid-template-columns: 200px 1fr; gap: 32px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stats-row .stat-item:nth-child(2) { border-left: none; }
}

@media (max-width: 640px) {
    .cat-nav { padding: 0 16px; }
    .featured-img, .featured-img--placeholder { height: 240px; }
    .featured-title { font-size: 1.7rem; }
    .article-row { grid-template-columns: 1fr; }
    .article-row-thumb { display: none; }
    .card-grid { grid-template-columns: 1fr; }
    .book-single { grid-template-columns: 1fr; }
    .book-single-cover { max-width: 220px; margin: 0 auto; }
    .opp-card { grid-template-columns: 1fr; }
    .opp-card-side { flex-direction: row; align-items: center; gap: 16px; }
    .opp-single-sidebar { flex-direction: column; align-items: flex-start; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-left: none; border-bottom: 1px solid #ebebeb; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; padding: 0 24px; }
    .footer-bottom { padding: 16px 24px 0; flex-direction: column; gap: 8px; text-align: center; }
    .single-title { font-size: 1.8rem; }
    .header-inner { padding: 0 16px; }
}
