/* ============================================================
   ALI RIAZ — FRONTEND CSS
   Single source of truth for all frontend styles
   ============================================================ */

/* --- VARIABLES & RESET --- */
:root {
  --teal: #0d5c63;
  --teal-light: #1a8a94;
  --coral: #e8533a;
  --amber: #f0a500;
  --white: #ffffff;
  --off: #f7f5f0;
  --dark: #151515;
  --mid: #4a4a4a;
  --light: #9a9a9a;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5rem;
  background: var(--white); border-bottom: 2px solid var(--dark);
}
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--dark); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.82rem; font-weight: 600; color: var(--mid); letter-spacing: 0.5px; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { padding: 0.6rem 1.4rem; background: var(--teal); color: var(--white) !important; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; border-radius: 2px; transition: background 0.2s; }
.nav-cta:hover { background: var(--teal-light) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.nav-search-btn { display: none; border: none; cursor: pointer; color: var(--dark); padding: 4px 8px; background: none; align-items: center; transition: color 0.2s; }
.nav-search-btn:hover { color: var(--teal); }
.nav-search-form { display: flex; align-items: center; background: var(--off, #f7f5f0); border: 1.5px solid transparent; border-radius: 2px; overflow: hidden; transition: border-color 0.2s; }
.nav-search-form:focus-within { border-color: var(--teal); }
.nav-search-input { background: none; border: none; outline: none; padding: 0.4rem 0.75rem; font-size: 0.82rem; font-family: inherit; color: var(--dark); width: 180px; }
.nav-search-input::placeholder { color: var(--light, #aaa); }
.nav-search-icon-btn { background: none; border: none; cursor: pointer; color: var(--mid, #666); padding: 0.4rem 0.6rem; display: flex; align-items: center; transition: color 0.2s; }
.nav-search-icon-btn:hover { color: var(--teal); }
.search-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: var(--white); padding: 1.2rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.search-overlay.open { display: flex; align-items: center; }
.search-overlay-form { display: flex; align-items: center; gap: 0.75rem; width: 100%; max-width: 800px; margin: 0 auto; }
.search-overlay-form input { flex: 1; padding: 0.75rem 1rem; border: 2px solid var(--teal); font-size: 1rem; font-family: inherit; outline: none; border-radius: 2px; }
.search-overlay-form button[type="submit"] { background: var(--teal); color: var(--white); border: none; padding: 0.75rem 1.2rem; cursor: pointer; border-radius: 2px; display: flex; align-items: center; }
.search-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--mid); padding: 0.4rem 0.6rem; transition: color 0.2s; }
.search-close:hover { color: var(--dark); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; padding: 7rem 5rem 4rem;
  display: grid; grid-template-columns: 60% 40%;
  background: var(--off); overflow: hidden; position: relative;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; padding-right: 4rem; }
.hero-tag { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--teal); color: var(--white); padding: 0.5rem 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 2rem; width: fit-content; }
.hero-tag-dot { width: 6px; height: 6px; background: var(--amber); border-radius: 50%; }
h1.hero-name { font-family: 'DM Serif Display', serif; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.95; color: var(--dark); margin-bottom: 1.5rem; }
h1.hero-name em { font-style: italic; color: var(--teal); }
.hero-role { font-family: 'Space Mono', monospace; font-size: 0.85rem; color: var(--light); letter-spacing: 1px; margin-bottom: 2rem; border-left: 3px solid var(--coral); padding-left: 1rem; }
.hero-intro { font-size: 1.1rem; line-height: 1.75; color: var(--mid); max-width: 520px; margin-bottom: 2.5rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.chip { padding: 0.4rem 0.9rem; border: 1.5px solid var(--dark); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px; border-radius: 100px; transition: all 0.2s; color: var(--dark); display: inline-block; }
.chip:hover, .chip.active { background: var(--coral); border-color: var(--coral); color: var(--white); }
.hero-actions { display: flex; gap: 1rem; align-items: center; }
.btn-main { padding: 1rem 2.5rem; background: var(--coral); color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.5px; border-radius: 2px; transition: all 0.3s; display: inline-block; }
.btn-main:hover { background: #d14030; transform: translateY(-2px); }
.btn-ghost { padding: 1rem 2rem; border: 2px solid var(--dark); color: var(--dark); font-size: 0.9rem; font-weight: 700; transition: all 0.3s; display: inline-block; border-radius: 2px; }
.btn-ghost:hover { background: var(--dark); color: var(--white); }
.hero-right { position: relative; overflow: hidden; }
.hero-photo { width: 100%; height: 100%; min-height: 70vh; object-fit: cover; object-position: top center; display: block; }
.hero-stat-bar { position: absolute; bottom: 0; left: 0; right: 0; background: var(--teal); padding: 1.2rem 2rem; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-item-val { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--amber); }
.stat-item-lbl { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.6); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker { background: var(--dark); padding: 1rem 0; overflow: hidden; }
.ticker-inner { display: flex; gap: 4rem; animation: ticker 20s linear infinite; white-space: nowrap; }
.ticker-item { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: rgb(255, 255, 255); letter-spacing: 1px; text-transform: uppercase; }
.ticker-sep { color: var(--amber); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.home-sec { padding: 6rem 5rem; }
.sec-label { font-family: 'Space Mono', monospace; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); border-bottom: 1px solid var(--teal); padding-bottom: 0.4rem; display: inline-block; margin-bottom: 1.5rem; }
.sec-title { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; color: var(--dark); }
.sec-title em { font-style: italic; color: var(--teal); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; }
.sec-see-all { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--teal); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

/* ============================================================
   HONORS SECTION
   ============================================================ */
.honors-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.video-wrapper { position: relative; aspect-ratio: 16/9; background: var(--dark); overflow: hidden; border-radius: 4px; box-shadow: 12px 12px 0 var(--teal); }
.video-wrapper iframe { width: 100%; height: 100%; border: none; }
.video-caption { margin-top: 1.5rem; padding: 1.2rem; background: var(--off); border-left: 4px solid var(--amber); }
.video-caption h4 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; margin-bottom: 0.4rem; }
.video-caption p { font-size: 0.9rem; color: var(--mid); }
.honor-list { display: flex; flex-direction: column; }
.honor-row { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); color: inherit; align-items: flex-start; transition: all 0.2s; }
.honor-row:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.honor-row:hover { padding-left: 0.5rem; }
.honor-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--white); flex-shrink: 0; }
.honor-row:nth-child(2) .honor-badge { background: var(--coral); }
.honor-row:nth-child(3) .honor-badge { background: var(--amber); }
.honor-row:nth-child(4) .honor-badge { background: var(--dark); }
.honor-row-text h4 { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.honor-row-text p { font-size: 0.85rem; color: var(--mid); }

/* ============================================================
   UNIVERSITY INTERVIEWS SECTION
   ============================================================ */
.interviews-sec { background: var(--off); }
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.mag-article { color: inherit; display: block; }
.mag-img { height: 220px; border-radius: 4px; overflow: hidden; margin-bottom: 1.2rem; position: relative; }
.mag-img-bg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 3.5rem; font-style: italic; transition: transform 0.4s; }
.mag-article:hover .mag-img-bg { transform: scale(1.05); }
.mag-img-bg.c1 { background: linear-gradient(135deg, #0d5c63, #1a8a94); color: rgba(255,255,255,0.3); }
.mag-img-bg.c2 { background: linear-gradient(135deg, #e8533a, #f07a3a); color: rgba(255,255,255,0.3); }
.mag-img-bg.c3 { background: linear-gradient(135deg, #f0a500, #f5c542); color: rgba(255,255,255,0.3); }
.mag-overlay-pub { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.8rem 1rem; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); }
.mag-category { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--coral); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.mag-head { font-family: 'DM Serif Display', serif; font-size: 1.1rem; line-height: 1.35; margin-bottom: 0.5rem; transition: color 0.2s; }
.mag-article:hover .mag-head { color: var(--teal); }
.mag-meta { font-size: 0.8rem; color: var(--light); display: flex; gap: 1rem; }
.see-all { margin-top: 2.5rem; text-align: center; }
.see-all a { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--teal); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }

/* ============================================================
   RESEARCH REPORTS SECTION
   ============================================================ */
.research-sec { background: var(--teal); }
.research-sec .sec-label { color: var(--amber); border-color: var(--amber); }
.research-sec .sec-title { color: var(--white); }
.research-sec .sec-title em { color: var(--amber); }
.research-sec .sec-see-all { color: var(--amber); border-color: var(--amber); }
.reports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.report { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); overflow: hidden; color: inherit; display: block; transition: all 0.3s; border-radius: 4px; }
.report:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.report-top { padding: 2rem 1.5rem; position: relative; }
.report-top::before { content: attr(data-num); position: absolute; top: 1rem; right: 1.5rem; font-family: 'DM Serif Display', serif; font-size: 4rem; color: rgba(255,255,255,0.08); line-height: 1; }
.report-ico { font-size: 2.5rem; margin-bottom: 1rem; }
.report-type { font-family: 'Space Mono', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--amber); margin-bottom: 0.75rem; }
.report-h { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--white); line-height: 1.4; }
.report-foot { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.report-yr { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.report-dl-btn { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--amber); display: flex; align-items: center; gap: 0.4rem; }

/* ============================================================
   BOOKS STRIP (homepage)
   ============================================================ */
.books-sec { background: var(--dark); }
.books-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.bk { display: block; }
.bk-wrap { aspect-ratio: 2/3; overflow: hidden; margin-bottom: 0.75rem; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transition: transform 0.4s, box-shadow 0.4s; border-radius: 3px; background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.bk:hover .bk-wrap { transform: translateY(-10px) scale(1.03); box-shadow: 0 30px 60px rgba(0,0,0,0.7); }
.bk-wrap img { width: 100%; height: 100%; object-fit: cover; }
.bk-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--teal), var(--teal-light)); display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; }
.bk-placeholder-txt { font-family: 'DM Serif Display', serif; font-size: 0.85rem; color: rgba(255,255,255,0.9); line-height: 1.3; }
.bk-name { font-family: 'DM Serif Display', serif; font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.3; }
.bk-yr { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--amber); margin-top: 0.25rem; }

/* ============================================================
   COMMENTARIES LIST (homepage)
   ============================================================ */
.item-list { display: flex; flex-direction: column; }
.item { display: flex; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(0,0,0,0.07); align-items: flex-start; transition: padding-left 0.2s; color: inherit; }
.item:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.item:hover { padding-left: 0.5rem; }
.item-num { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: rgba(0,0,0,0.07); line-height: 1; min-width: 3.5rem; }
.item-body { flex: 1; }
.item-category { font-family: 'Space Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--coral); margin-bottom: 0.4rem; }
.item-title { font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.35; margin-bottom: 0.4rem; color: var(--dark); transition: color 0.2s; }
.item:hover .item-title { color: var(--teal); }
.item-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.5; margin-bottom: 0.4rem; }
.item-meta { font-size: 0.82rem; color: var(--light); display: flex; gap: 1rem; flex-wrap: wrap; }
.item-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(13,92,99,0.08); color: var(--teal); font-size: 0.72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; }

/* ============================================================
   VIDEOS (homepage featured)
   ============================================================ */
.video-sec-bg { background: var(--off); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vid-card { border-radius: 6px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); background: var(--white); transition: transform 0.3s, box-shadow 0.3s; }
.vid-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.15); }
/* Thumbnail — fixed 16:9 ratio, no iframe on listing */
.vid-thumb { position: relative; width: 100%; padding-top: 56.25%; background: #111; overflow: hidden; }
.vid-thumb iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; pointer-events: none; }
.vid-thumb-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; background: rgba(232,83,58,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; pointer-events: none; }
.vid-no-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--dark); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.15); font-size: 3rem; }
.vid-body { padding: 1.2rem; }
.vid-title { font-family: 'DM Serif Display', serif; font-size: 0.95rem; line-height: 1.35; margin-bottom: 0.4rem; color: var(--dark); transition: color 0.2s; }
.vid-card:hover .vid-title { color: var(--teal); }
.vid-meta { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--light); }

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner { padding: 8rem 5rem 4rem; background: var(--off); border-bottom: 2px solid var(--dark); }
.page-tag { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--teal); color: var(--white); padding: 0.4rem 0.9rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.5rem; }
.page-h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.95; color: var(--dark); }
.page-h1 em { font-style: italic; color: var(--teal); }
.page-sub { font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--light); letter-spacing: 1px; margin-top: 1rem; }
.search-bar { margin-top: 1.5rem; display: flex; gap: 0.75rem; max-width: 420px; }
.search-bar input { flex: 1; padding: 0.65rem 1rem; border: 2px solid var(--dark); font-size: 0.9rem; font-family: inherit; outline: none; background: var(--white); }
.search-bar input:focus { border-color: var(--teal); }
.search-bar button { padding: 0.65rem 1.4rem; background: var(--teal); color: var(--white); border: none; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; }

/* ============================================================
   CONTENT WRAPPER (inner pages)
   ============================================================ */
.content { padding: 5rem; }

/* ============================================================
   BOOKS GRID (books page)
   ============================================================ */
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.books-grid .bk-img { aspect-ratio: 2/3; overflow: hidden; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.12); margin-bottom: 0.85rem; position: relative; background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.books-grid .bk-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.books-grid .bk:hover .bk-img img { transform: scale(1.05); }
.books-grid .bk-yr { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: var(--coral); margin-bottom: 0.3rem; }
.books-grid .bk-title { font-family: 'DM Serif Display', serif; font-size: 0.95rem; line-height: 1.35; color: var(--dark); }
.books-grid .bk-desc { font-size: 0.8rem; color: var(--light); margin-top: 0.2rem; }

/* ============================================================
   LIST PAGE (papers, commentaries, interviews, etc.)
   ============================================================ */
.list-item { display: flex; gap: 2rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(0,0,0,0.07); align-items: flex-start; transition: padding-left 0.2s; color: inherit; }
.list-item:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
.list-item:hover { padding-left: 0.5rem; }
.list-item-img { width: 110px; height: 75px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.list-item-placeholder { width: 110px; height: 75px; background: linear-gradient(135deg, var(--teal), var(--teal-light)); border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.list-item-placeholder span { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: rgba(255,255,255,0.5); }
.list-item-num { font-family: 'DM Serif Display', serif; font-size: 2.5rem; color: rgba(0,0,0,0.07); line-height: 1; min-width: 3.5rem; }
.list-item-body { flex: 1; }
.list-item-cat { font-family: 'Space Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--coral); margin-bottom: 0.4rem; }
.list-item-title { font-family: 'DM Serif Display', serif; font-size: 1.05rem; line-height: 1.35; margin-bottom: 0.4rem; color: var(--dark); transition: color 0.2s; }
.list-item:hover .list-item-title { color: var(--teal); }
.list-item-desc { font-size: 0.85rem; color: var(--mid); line-height: 1.5; margin-bottom: 0.4rem; }
.list-item-meta { font-size: 0.82rem; color: var(--light); display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   POST DETAIL PAGE
   ============================================================ */
.post-wrap { max-width: 860px; margin: 0 auto; padding: 8rem 2rem 5rem; }
.post-back { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--teal); margin-bottom: 2.5rem; }
.post-back:hover { color: var(--teal-light); }
.post-cat { font-family: 'Space Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--coral); margin-bottom: 1rem; }
.post-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; color: var(--dark); margin-bottom: 1.5rem; }
.post-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.82rem; color: var(--light); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--dark); }
.post-meta span { display: flex; align-items: center; gap: 0.4rem; }
.post-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; margin-bottom: 2.5rem; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.post-video { aspect-ratio: 16/9; margin-bottom: 2.5rem; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.post-video iframe { width: 100%; height: 100%; border: none; }
.post-desc { font-size: 1.05rem; color: var(--mid); line-height: 1.75; margin-bottom: 2rem; font-style: italic; border-left: 4px solid var(--amber); padding-left: 1.2rem; }
.post-body { font-size: 1.05rem; line-height: 1.85; color: var(--mid); }
.post-body p { margin-bottom: 1.25rem; }
.post-body h2, .post-body h3 { font-family: 'DM Serif Display', serif; color: var(--dark); margin: 2rem 0 0.75rem; }
.post-body a { color: var(--teal); border-bottom: 1px solid var(--teal); }
.post-body strong { color: var(--dark); }
.post-file { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 1.8rem; background: var(--teal); color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.5px; border-radius: 3px; margin-top: 1.5rem; transition: background 0.2s; }
.post-file:hover { background: var(--teal-light); }
.related-sec { background: var(--off); padding: 5rem; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.rel-card { display: block; color: inherit; }
.rel-img { aspect-ratio: 3/2; overflow: hidden; border-radius: 3px; margin-bottom: 0.65rem; background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.rel-card:hover .rel-img img { transform: scale(1.05); }
.rel-title { font-family: 'DM Serif Display', serif; font-size: 0.9rem; line-height: 1.3; color: var(--dark); transition: color 0.2s; }
.rel-card:hover .rel-title { color: var(--teal); }
.rel-date { font-size: 0.75rem; color: var(--light); margin-top: 0.25rem; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap { margin-top: 3rem; display: flex; justify-content: center; gap: 0.4rem; flex-wrap: wrap; }
.pagination-wrap a, .pagination-wrap span { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1.5px solid var(--dark); font-size: 0.82rem; font-weight: 600; transition: all 0.2s; }
.pagination-wrap a:hover { background: var(--dark); color: var(--white); }
.pagination-wrap span.active-page { background: var(--teal); color: var(--white); border-color: var(--teal); }
.pagination-wrap span.dots { border: none; width: auto; padding: 0 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #0a0a0a; padding: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo-txt { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--white); margin-bottom: 1rem; }
.footer-tagline { font-size: 0.9rem; color: var(--light); line-height: 1.6; max-width: 280px; }
.footer-col-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--light); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  .nav-cta { display: none; }
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-left {
    display: contents;
  }
  .hero-tag   { order: 1; width: fit-content; align-self: flex-start; flex-shrink: 0; }
  .hero-right { order: 2; width: 100%; max-height: 340px; overflow: hidden; display: flex; justify-content: center; align-self: center; margin: 1.5rem 0; }
  .hero-photo { width: auto; max-width: 100%; max-height: 340px; object-fit: contain; object-position: top center; min-height: unset !important; display: block; margin: 0 auto; }
  .hero-name    { order: 3; }
  .hero-role    { order: 4; }
  .hero-intro   { order: 5; }
  .hero-chips   { order: 6; }
  .hero-actions { order: 7; }
  .home-sec { padding: 4rem 2rem; }
  .honors-layout { grid-template-columns: 1fr; }
  .mag-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .books-strip { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 7rem 2rem 3rem; }
  .content { padding: 3rem 2rem; }
  .books-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-sec { padding: 3rem 2rem; }
  footer { padding: 3rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--dark); padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-right { margin-left: auto; }
  .nav-search-form { display: none; }
  .nav-search-btn { display: flex; }
  .honors-layout { gap: 2rem; }
}
@media (max-width: 640px) {
  .books-strip { grid-template-columns: repeat(2, 1fr); }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .list-item-num { display: none; }
  .list-item-img, .list-item-placeholder { display: none; }
  .post-wrap { padding: 6rem 1.2rem 3rem; }
}
/* ── Papers section — force dark text on white cards ── */
.research-sec[style*="F7F5F0"] .report-h,
.research-sec[style*="F7F5F0"] .report-h * {
  color: #111 !important;
}
.research-sec[style*="F7F5F0"] .report-yr {
  color: #555 !important;
}
.research-sec[style*="F7F5F0"] .sec-title {
  color: #111 !important;
}
.research-sec[style*="F7F5F0"] .report {
  background: #ffffff;
  color: #111 !important;
}

/* ============================================================
   PAPERS SECTION — Option 2 Fixed (better contrast)
   ============================================================ */
/* ============================================================
   PAPERS SECTION — Clean light (professional contrast pair)
   ============================================================ */
.papers-dark-sec {
  background: #f7f5f0;
}
.papers-dark-sec .sec-label {
  color: #0d5c63 !important;
  border-color: #0d5c63 !important;
}
.papers-dark-sec .sec-title {
  color: #111 !important;
}
.papers-dark-sec .sec-title em {
  color: #0d5c63 !important;
}
.papers-dark-sec .sec-see-all {
  color: #0d5c63 !important;
  border-color: #0d5c63 !important;
}
.papers-dark-sec .report {
  background: #fff;
  border: none;
  border-left: 4px solid #0d5c63;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: all 0.3s;
}
.papers-dark-sec .report:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.13);
  transform: translateY(-4px);
  border-left-color: #e8533a;
}
.papers-dark-sec .report-top::before {
  color: rgba(0,0,0,0.04);
}
.papers-dark-sec .report-type {
  color: #0d5c63 !important;
}
.papers-dark-sec .report-h {
  color: #111 !important;
}
.papers-dark-sec .report-foot {
  border-top: 1px solid rgba(0,0,0,0.07);
  background: rgba(13,92,99,0.03);
}
.papers-dark-sec .report-yr {
  color: #888 !important;
}
.papers-dark-sec .report-dl-btn {
  color: #e8533a !important;
}