/* ─────────────────────────────────────────────────────────────────────────────
   hakanyatbaz.com — Main Stylesheet
   Palette: Queen's University Belfast Red (#C8102E) & Deep Navy (#1A1F2E)
   Typography: 'Playfair Display' (headings), 'DM Sans' (body)
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --qub-red: #C8102E;
  --qub-red-dark: #9f0d24;
  --qub-red-soft: rgba(200, 16, 46, 0.08);
  --qub-navy: #1A1F2E;
  --qub-navy-mid: #252b3d;
  --qub-navy-soft: rgba(26, 31, 46, 0.04);
  --qub-light: #f7f6f4;
  --qub-border: #e2e0db;
  --qub-border-dark: rgba(255, 255, 255, 0.12);
  --text: #1a1a2e;
  --text-muted: #596172;
  --text-light: #9ca3af;
  --max-w: 1140px;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--qub-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--qub-red);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 31, 46, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 66px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 34px;
  height: 34px;
  background: var(--qub-red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  line-height: 1;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-brand-name {
  font-size: 14.5px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-links a.active {
  color: #fff;
  background: rgba(200, 16, 46, 0.28);
}

.nav-links .nav-cta {
  background: var(--qub-red);
  color: #fff !important;
  font-weight: 600;
  margin-left: 8px;
  padding: 8px 16px;
  border-radius: 20px;
}

.nav-links .nav-cta:hover {
  background: var(--qub-red-dark);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── BUTTONS ── */
.btn-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-row.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  font-size: 12.5px;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background: var(--qub-red);
  color: #fff;
  border: 1px solid var(--qub-red);
}

.btn-primary:hover {
  background: var(--qub-red-dark);
  border-color: var(--qub-red-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--qub-navy);
  border: 1px solid var(--qub-border);
}

.btn-outline:hover {
  border-color: var(--qub-red);
  color: var(--qub-red);
}

.btn-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 10px 14px;
}

.btn-link:hover {
  color: #fff;
}

/* ── TYPOGRAPHY & LABELS ── */
.eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--qub-red);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow-blue {
  color: #2563eb;
}

.eyebrow-navy {
  color: var(--qub-navy);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--qub-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title.light {
  color: #fff;
}

.section-intro {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.75;
}

.lead {
  font-size: 15.5px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 16px;
}

.lead.light {
  color: rgba(255, 255, 255, 0.8);
}

/* ── SECTIONS ── */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--qub-light);
}

.section-dark {
  background: var(--qub-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-dark::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.section-head {
  margin-bottom: 44px;
}

.section-head.center, .center {
  text-align: center;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ── HERO (HOME) ── */
.hero {
  background: var(--qub-navy);
  color: #fff;
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(200, 16, 46, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #fff;
}

.hero-role {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  margin-bottom: 14px;
}

.hero-role span {
  color: rgba(255, 255, 255, 0.65);
}

.hero-tagline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s;
  margin-bottom: 6px;
}

.hero-badge:hover {
  background: rgba(200, 16, 46, 0.25);
  border-color: var(--qub-red);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qub-red);
  display: block;
}

.hero-photo {
  width: clamp(170px, 20vw, 250px);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  background: var(--qub-navy);
  color: #fff;
  padding: 68px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-inner {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.hero-tag {
  display: inline-block;
  background: rgba(200, 16, 46, 0.2);
  border: 1px solid rgba(200, 16, 46, 0.45);
  color: #fca5a5;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}

.page-lead {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ── TWO-COLUMN ABOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 8px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.stat {
  background: var(--qub-light);
  border: 1px solid var(--qub-border);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}

.hero-stats .stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 12px 18px;
}

.stat-n {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--qub-navy);
  line-height: 1;
}

.hero-stats .stat-n {
  color: #fff;
}

.stat-l {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 6px;
}

.hero-stats .stat-l {
  color: rgba(255, 255, 255, 0.55);
}

.stat-note {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: right;
}

.panel-dark {
  background: var(--qub-navy);
  border-radius: var(--radius);
  padding: 24px 26px;
  color: #fff;
}

.panel-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.dot-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dot-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.4;
}

.dot-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--qub-red);
  flex-shrink: 0;
}

.dot-list-light li {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border: 1px solid var(--qub-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--qub-navy);
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--qub-red);
  color: var(--qub-red);
}

/* ── CARDS & GRIDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 36px;
}

.card {
  background: #fff;
  border: 1px solid var(--qub-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.card-accent {
  border-top: 3px solid var(--qub-red);
}

.card-accent-blue {
  border-top-color: #2563eb;
}

.card-accent-navy {
  border-top-color: var(--qub-navy);
}

.card-num {
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--qub-red);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--qub-navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.callout {
  background: var(--qub-red-soft);
  border: 1px solid rgba(200, 16, 46, 0.18);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 6px;
}

.callout-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--qub-red);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.callout-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--qub-navy);
  line-height: 1.3;
}

.callout-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}

/* ── PILLS ── */
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 24px 0 32px;
}

.pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

/* ── PUBLICATIONS ── */
.pub-list {
  display: flex;
  flex-direction: column;
}

.pub {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--qub-border);
  align-items: start;
  transition: background 0.15s;
}

.pub:hover {
  background: #fafafa;
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: var(--radius-sm);
}

.pub-title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--qub-navy);
  line-height: 1.4;
  margin-bottom: 5px;
}

.pub-title a:hover {
  color: var(--qub-red);
}

.pub-authors {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.5;
}

.pub-authors strong {
  color: var(--qub-navy);
  font-weight: 600;
}

.pub-venue {
  font-size: 13px;
  color: #374151;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
}

.pub-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.tag-journal {
  background: #f0fdf4;
  color: #166534;
}

.tag-conference {
  background: #eff6ff;
  color: #1d4ed8;
}

.tag-thesis {
  background: #faf5ff;
  color: #6b21a8;
}

.tag-chapter {
  background: #fffbeb;
  color: #92400e;
}

.tag-cites {
  background: var(--qub-light);
  color: #4b5563;
  font-weight: 500;
}

.tag-area {
  background: #f3f4f6;
  color: #374151;
  font-weight: 500;
}

.tag-area-core {
  background: var(--qub-red-soft);
  color: var(--qub-red);
}

.tag-completed {
  background: #ecfdf5;
  color: #065f46;
}

.pub-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.pub-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--qub-red);
  padding: 5px 11px;
  border: 1px solid rgba(200, 16, 46, 0.28);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all 0.2s;
  white-space: nowrap;
}

.pub-link:hover {
  background: var(--qub-red);
  color: #fff;
}

/* ── PUBLICATIONS ARCHIVE (publications.html) ── */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--qub-border);
  position: sticky;
  top: 66px;
  z-index: 100;
  padding: 14px 0;
}

.filter-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.filter-btn {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--qub-border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--qub-red);
  color: var(--qub-red);
}

.filter-btn.active {
  background: var(--qub-red);
  color: #fff;
  border-color: var(--qub-red);
}

.year-group {
  margin-bottom: 48px;
}

.year-group.is-hidden {
  display: none;
}

.pub.is-hidden {
  display: none;
}

.year-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-top: 16px;
}

.year-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--qub-red);
  line-height: 1;
}

.year-line {
  flex: 1;
  height: 1px;
  background: var(--qub-border);
}

.year-count {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* ── NEWS ── */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news-list li {
  display: flex;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--qub-border);
  margin-bottom: 22px;
  align-items: flex-start;
}

.news-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--qub-red);
  width: 90px;
  flex-shrink: 0;
  padding-top: 1px;
}

.news-text {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.65;
}

.news-text a {
  color: var(--qub-navy);
  text-decoration: underline;
  text-decoration-color: rgba(200, 16, 46, 0.4);
}

.news-text a:hover {
  color: var(--qub-red);
}

/* ── TALKS ── */
.talk-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.talk {
  background: #fff;
  border: 1px solid var(--qub-border);
  border-left: 4px solid var(--qub-red);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}

.talk-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}

.talk-host {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--qub-red);
  letter-spacing: 0.06em;
}

.talk-date {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.talk-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--qub-navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.talk-format {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.talk-summary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--qub-border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--qub-red);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--qub-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--qub-navy);
  text-align: center;
}

/* ── PHD OPPORTUNITIES PAGE ── */
.page-content {
  padding: 64px 24px 96px;
}

.content-block {
  margin-bottom: 72px;
  scroll-margin-top: 88px;
}

.funding-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.funding-card {
  background: var(--qub-light);
  border: 1px solid var(--qub-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.funding-card.highlight {
  background: #fff;
  border: 2px solid var(--qub-red);
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.08);
}

.funding-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--qub-red);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.funding-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--qub-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.funding-card p {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.7;
}

.strands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.strand-card {
  background: #fff;
  border: 1px solid var(--qub-border);
  border-top: 3px solid var(--qub-red);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}

.strand-num {
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--qub-red);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.strand-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--qub-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.strand-card p {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.75;
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.panel-box {
  background: var(--qub-light);
  border: 1px solid var(--qub-border);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.panel-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--qub-navy);
  margin-bottom: 18px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet-list li {
  font-size: 13.5px;
  color: #374151;
  line-height: 1.65;
  position: relative;
  padding-left: 18px;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--qub-red);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--qub-border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--qub-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--qub-navy);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 8px;
}

.step-body code {
  background: var(--qub-light);
  border: 1px solid var(--qub-border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12.5px;
  color: var(--qub-navy);
}

.sub-list {
  list-style: disc;
  margin-left: 20px;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.6;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--qub-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--qub-navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--qub-red);
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.75;
}

.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.student-card {
  background: var(--qub-light);
  border: 1px solid var(--qub-border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.student-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--qub-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.student-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--qub-navy);
}

.student-degree {
  font-size: 12px;
  color: var(--text-muted);
}

.student-project {
  font-size: 13px;
  color: #374151;
  font-style: italic;
  line-height: 1.5;
}

.student-tags {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.cta-banner {
  background: var(--qub-navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--qub-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
}

/* ── TEACHING TIMELINE ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-block {
  position: relative;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--qub-border);
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--qub-red);
  flex-shrink: 0;
}

.timeline-inst {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--qub-navy);
}

.timeline-period {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.timeline-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card {
  padding: 24px;
}

.card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.card-role-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--qub-navy);
}

.badge {
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--qub-red-soft);
  color: var(--qub-red);
}

.card-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--qub-navy);
  color: #fff;
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer-mail {
  font-size: 13px;
  color: var(--qub-red);
  font-weight: 500;
}

.footer-mail:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-photo {
    width: 200px;
    margin: 0 auto;
  }
  .two-col, .two-col-grid, .news-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(26, 31, 46, 0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 6px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 15px;
  }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
  .pub {
    grid-template-columns: 1fr;
  }
  .pub-links {
    margin-top: 4px;
  }
}
