@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-400.woff2") format("woff2");font-weight:400;font-display:swap;}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-500.woff2") format("woff2");font-weight:500;font-display:swap;}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-600.woff2") format("woff2");font-weight:600;font-display:swap;}
@font-face{font-family:"Libre Franklin";src:url("../fonts/libre-300.woff2") format("woff2");font-weight:300;font-display:swap;}
@font-face{font-family:"Libre Franklin";src:url("../fonts/libre-400.woff2") format("woff2");font-weight:400;font-display:swap;}
@font-face{font-family:"Libre Franklin";src:url("../fonts/libre-500.woff2") format("woff2");font-weight:500;font-display:swap;}
@font-face{font-family:"Cormorant Garamond";src:url("../fonts/cormorant-italic-500.woff2") format("woff2");font-style:italic;font-weight:500;font-display:swap;}

:root {
  --ivory: #fbf9f4;
  --ivory-dark: #f0eae0;
  --paper: #e7dfd0;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --muted: #78716c;
  --wine: #4a1814;
  --wine-dark: #280d0a;
  --wine-rich: #39120e;
  --wine-light: #6a241f;
  --gold: #b68d40;
  --gold-light: #d6af66;
  --gold-pale: #f3e5c8;
  --rule: #d5cbba;
  --rule-dark: #4d3832;
  --black: #12100e;
  --black-card: #1c1815;
  --sans: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
  --arabic-serif: "Amiri", "Scheherazade New", "Traditional Arabic", "Geeza Pro", "Cormorant Garamond", serif;
  --arabic-sans: "Noto Sans Arabic", "Segoe UI", Tahoma, "Libre Franklin", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typographic Scale & Heading Balance (Google Fonts Knowledge) */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  overflow-wrap: break-word;
  font-feature-settings: "liga" 1, "kern" 1;
}

p, li, blockquote {
  text-wrap: pretty;
}

/* Numerals & Tabular Alignment */
.hero-stat-item strong,
.laureate-badge-year strong,
.timeline-year-marker strong,
.pillar-number,
.modal-tag,
.year-pill-btn {
  font-variant-numeric: tabular-nums lining-nums;
}

/* RTL Styles & Arabic Typography (Google Fonts Knowledge multi-script guidelines) */
[dir="rtl"] body {
  font-family: var(--arabic-sans);
  line-height: 1.8;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .serif-font,
[dir="rtl"] .chapter span,
[dir="rtl"] .lead,
[dir="rtl"] .section-title {
  font-family: var(--arabic-serif);
  line-height: 1.35;
}

/* Strict Arabic Script Rule: Letter-spacing must NEVER break Arabic cursivity */
[dir="rtl"] * {
  letter-spacing: normal !important;
}

button, input, select {
  font: inherit;
}
button {
  cursor: pointer;
}

/* Skip link for accessibility */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  transform: translateY(-200%);
  padding: 10px 18px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Header & Masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 249, 244, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 4px 20px rgba(40, 13, 10, 0.04);
  transition: height 0.3s ease, background 0.3s ease;
}

.masthead-brand {
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
}

.official-logo {
  display: block;
  width: 184px;
  height: auto;
  mix-blend-mode: multiply;
  transition: transform 0.2s ease;
}
.masthead-brand:hover .official-logo {
  transform: scale(1.02);
}

.masthead-controls {
  display: flex;
  align-items: center;
  gap: 32px;
}

.masthead nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.masthead nav :is(button, a:not(.call-btn)),
.nav-link {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}
.masthead nav :is(button, a:not(.call-btn)):after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wine);
  transition: width 0.25s ease;
}
[dir="rtl"] .masthead nav :is(button, a:not(.call-btn)):after {
  left: auto;
  right: 0;
}
.masthead nav :is(button, a:not(.call-btn)):hover:after {
  width: 100%;
}
.masthead nav :is(button, a:not(.call-btn)):hover {
  color: var(--wine);
}

/* Language Switcher Pill (High Visibility) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #ede3d1;
  padding: 4px 6px;
  border-radius: 30px;
  border: 1.5px solid #b8a287;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.lang-switcher-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--wine);
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
[dir="rtl"] .lang-switcher-label {
  margin-right: 0;
  margin-left: 6px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: #3b3229;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}
.lang-btn.active {
  background: var(--wine);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(74, 24, 20, 0.35);
}
.lang-btn:hover:not(.active) {
  background: rgba(74, 24, 20, 0.1);
  color: var(--wine-dark);
}




/* Category Filter Tabs (Todos | Ciencias | Humanidades) */
.category-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--rule);
}
.category-tab {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.category-tab.active {
  background: #ffffff;
  color: var(--wine);
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.category-tab:hover:not(.active) {
  color: var(--wine);
  background: rgba(255, 255, 255, 0.5);
}

/* El Premio en Cifras Section */
.stats-section {
  padding: 90px 6vw;
  background: linear-gradient(180deg, #faf7f2 0%, #f4ede2 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.stats-deck {
  font-size: 16px;
  color: var(--ink-soft);
  margin-top: 16px;
  line-height: 1.6;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.stat-card {
  background: #ffffff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(74, 24, 20, 0.08);
}
.stat-number {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 800;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Call for Nominations Header Button */
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--wine);
  border-radius: 2px;
  background: transparent;
  color: var(--wine);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.call-btn:hover {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 4px 12px rgba(74, 24, 20, 0.2);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--rule);
  background: transparent;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 96px);
  background: var(--black);
  color: #f7f4ee;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 12vh 0 12vh;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0 0 0 38%;
  pointer-events: none;
}
[dir="rtl"] .hero-bg-wrapper {
  inset: 0 38% 0 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) contrast(1.12) brightness(0.85);
  opacity: 0.72;
}

.hero-bg-wrapper:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #12100e 0%, rgba(18, 16, 14, 0.88) 28%, rgba(18, 16, 14, 0.3) 75%, transparent 100%),
              linear-gradient(0deg, #12100e 0%, transparent 35%);
}
[dir="rtl"] .hero-bg-wrapper:after {
  background: linear-gradient(-90deg, #12100e 0%, rgba(18, 16, 14, 0.88) 28%, rgba(18, 16, 14, 0.3) 75%, transparent 100%),
              linear-gradient(0deg, #12100e 0%, transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 5vw 0 6vw;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero-eyebrow:before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 6.25vw, 100px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}
[dir="rtl"] .hero h1 {
  line-height: 1.15;
  font-size: clamp(48px, 6vw, 92px);
}

.hero-deck {
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: #ded7cb;
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold);
  color: #1a1208;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(182, 141, 64, 0.3);
  transition: all 0.25s ease;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(182, 141, 64, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7f4ee;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(214, 175, 102, 0.4);
  border-radius: 2px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: rgba(214, 175, 102, 0.15);
  border-color: var(--gold-light);
  color: #fff;
}

/* Chapter Headers */
.chapter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.chapter span {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.chapter p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
}
.chapter.light p {
  color: #bfa99b;
}

/* History / Prologue Section */
.history-section {
  padding: 120px 6vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  background: var(--ivory);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  color: var(--ink);
}
[dir="rtl"] .section-title {
  line-height: 1.25;
}

.eyebrow-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0;
}
.eyebrow-tag.gold {
  color: var(--gold);
}

.history-copy .lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--wine);
  margin: 0 0 28px;
}
[dir="rtl"] .history-copy .lead {
  line-height: 1.5;
}

.history-copy p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.history-quote-box {
  margin-top: 48px;
  padding: 28px 32px;
  background: #ede6d8;
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}
[dir="rtl"] .history-quote-box {
  border-left: 0;
  border-right: 3px solid var(--gold);
  border-radius: 4px 0 0 4px;
}
.history-quote-box span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.history-quote-box blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  color: var(--wine);
}

/* Laureates Archive Section */
.archive-section {
  background: var(--wine-dark);
  color: #f7f4ee;
  padding: 110px 6vw;
  position: relative;
}

.archive-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: end;
  margin-bottom: 50px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-dark);
}

.archive-header h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 14px 0 0;
  color: #fff;
}
[dir="rtl"] .archive-header h2 {
  line-height: 1.2;
}

.archive-header p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #cfc5b8;
  margin: 0;
}

/* Archive Controls Toolbar */
.archive-toolbar {
  background: var(--wine-rich);
  border: 1px solid var(--rule-dark);
  border-radius: 4px;
  padding: 18px 24px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-input {
  width: 100%;
  background: rgba(20, 10, 8, 0.6);
  border: 1px solid #5a3e37;
  border-radius: 3px;
  padding: 10px 38px 10px 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}
[dir="rtl"] .search-input {
  padding: 10px 14px 10px 38px;
}
.search-input:focus {
  border-color: var(--gold);
}
.search-input::placeholder {
  color: #9c887f;
}
.search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #a89186;
  font-size: 18px;
  padding: 4px 8px;
  line-height: 1;
}
[dir="rtl"] .search-clear-btn {
  right: auto;
  left: 10px;
}
.search-clear-btn:hover {
  color: #fff;
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.category-tabs {
  display: inline-flex;
  background: rgba(20, 10, 8, 0.6);
  padding: 3px;
  border-radius: 4px;
  border: 1px solid #5a3e37;
}

.cat-tab {
  border: 0;
  background: transparent;
  color: #bdafa6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.cat-tab.active {
  background: var(--gold);
  color: #1c1208;
  font-weight: 700;
}
.cat-tab:hover:not(.active) {
  color: #fff;
}

.view-mode-tabs {
  display: inline-flex;
  background: rgba(20, 10, 8, 0.6);
  padding: 3px;
  border-radius: 4px;
  border: 1px solid #5a3e37;
}
.view-btn {
  border: 0;
  background: transparent;
  color: #bdafa6;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.view-btn.active {
  background: #ede6d8;
  color: var(--wine-dark);
  font-weight: 700;
}
.view-btn:hover:not(.active) {
  color: #fff;
}

/* Quick Year Bar */
.year-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.year-pills-bar span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a49187;
  white-space: nowrap;
  padding-right: 8px;
}
[dir="rtl"] .year-pills-bar span {
  padding-right: 0;
  padding-left: 8px;
}
.year-pill-btn {
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #543932;
  border-radius: 20px;
  color: #d6cbbf;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.year-pill-btn:hover {
  background: var(--gold);
  color: #1a1208;
  border-color: var(--gold);
}

/* Laureates Exhibition Grid View (Equal Prominence for All) */
.laureates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.laureate-card {
  background: var(--black-card);
  border: 1px solid var(--rule-dark);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.laureate-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.laureate-card-header {
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(84, 57, 50, 0.6);
  background: rgba(45, 18, 14, 0.4);
}

.laureate-badge-year {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.laureate-badge-year strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-light);
}
.laureate-badge-year span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #a49187;
  text-transform: uppercase;
}

.laureate-category-pill {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(182, 141, 64, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(182, 141, 64, 0.35);
}
.laureate-category-pill.humanities {
  background: rgba(106, 36, 31, 0.3);
  color: #e5a49f;
  border-color: rgba(106, 36, 31, 0.6);
}

.laureate-portrait-container {
  padding: 24px 24px 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.laureate-visual {
  width: 90px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  background: #180d0b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.laureate-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.1);
  transition: transform 0.35s ease;
}
.laureate-card:hover .laureate-visual img {
  transform: scale(1.06);
}

/* Institutional Monogram Seal Plaque */
.monogram-emblem {
  width: 100%;
  height: 100%;
  background: #120907;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.seal-img-backdrop {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: brightness(0.8) contrast(1.15) !important;
  transition: transform 0.35s ease;
}
.monogram-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(18, 9, 7, 0.45) 0%, rgba(18, 9, 7, 0.75) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 1px dashed rgba(214, 175, 102, 0.45);
  margin: 3px;
  border-radius: 2px;
}
.monogram-initials {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.monogram-cedar {
  font-size: 9px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.laureate-card-titles {
  flex: 1;
  min-width: 0;
}
.laureate-card-titles h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
[dir="rtl"] .laureate-card-titles h3 {
  line-height: 1.35;
}
.laureate-card-titles p {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: #bfaea5;
  margin: 0;
}

.laureate-card-body {
  padding: 12px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.laureate-card-bio-snippet {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: #d1c6bc;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.laureate-card-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(84, 57, 50, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.read-more-action {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.laureate-card:hover .read-more-action {
  color: #fff;
}

/* Laureates Timeline View */
.timeline-container {
  position: relative;
  padding-left: 30px;
}
[dir="rtl"] .timeline-container {
  padding-left: 0;
  padding-right: 30px;
}
.timeline-container:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: #5a3e37;
}
[dir="rtl"] .timeline-container:before {
  left: auto;
  right: 0;
}

.timeline-year-group {
  position: relative;
  margin-bottom: 48px;
}
.timeline-year-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.timeline-marker-dot {
  position: absolute;
  left: -35px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--wine-dark);
  box-shadow: 0 0 0 3px rgba(182, 141, 64, 0.3);
}
[dir="rtl"] .timeline-marker-dot {
  left: auto;
  right: -35px;
}
.timeline-year-marker strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1;
}
.timeline-year-marker span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a89489;
}

.timeline-cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* Empty search result */
.archive-empty {
  padding: 80px 20px;
  text-align: center;
  background: rgba(28, 24, 21, 0.5);
  border: 1px dashed var(--rule-dark);
  border-radius: 4px;
}
.archive-empty h3 {
  font-family: var(--serif);
  font-size: 32px;
  color: #fff;
  margin: 0 0 12px;
}
.archive-empty p {
  color: #bcaea5;
  margin-bottom: 24px;
}

/* Laureate Detail Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: modalFadeIn 0.25s ease;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(14, 10, 8, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.modal-dialog {
  background: var(--ivory);
  color: var(--ink);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--rule);
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header-banner {
  background: var(--wine-dark);
  color: #f7f4ee;
  padding: 32px 36px 28px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 18px;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.modal-meta-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(182, 141, 64, 0.2);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(182, 141, 64, 0.35);
}

.modal-profile-top {
  display: flex;
  align-items: center;
  gap: 24px;
}

.modal-portrait {
  width: 100px;
  height: 125px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: #251b18;
}
.modal-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-header-banner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}
[dir="rtl"] .modal-header-banner h2 {
  line-height: 1.3;
}

.modal-field-sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #d8cec3;
  margin: 0;
}

.modal-body {
  padding: 32px 36px;
}

.modal-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 12px;
}
.modal-section-title.gold {
  color: var(--gold);
}

.modal-bio-text {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 28px;
}
[dir="rtl"] .modal-bio-text {
  line-height: 1.7;
}

.modal-highlights {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: #f1ece1;
  border-radius: 4px;
  border: 1px solid var(--rule);
}
.modal-highlights ul {
  margin: 0;
  padding-left: 20px;
}
[dir="rtl"] .modal-highlights ul {
  padding-left: 0;
  padding-right: 20px;
}
.modal-highlights li {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.modal-highlights li:last-child {
  margin-bottom: 0;
}

.modal-source-box {
  padding: 16px 20px;
  border: 1px dashed var(--rule);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fcfbfa;
}
.modal-source-info p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.modal-source-info strong {
  color: var(--ink);
  font-size: 13px;
}
.modal-source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--wine);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.modal-source-link:hover {
  background: var(--wine-light);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Criteria / Pillars Section */
.criteria-section {
  padding: 120px 6vw;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}

.criteria-intro {
  max-width: 780px;
  margin-bottom: 60px;
}
.criteria-intro p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-top: 16px;
}

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

.pillar-card {
  background: #f4eee2;
  border: 1px solid var(--rule);
  padding: 36px 30px;
  border-radius: 4px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.pillar-card:after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}
[dir="rtl"] .pillar-card:after {
  right: auto;
  left: 16px;
  border-right: 0;
  border-left: 1px solid var(--gold);
}

.pillar-number {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
}
.pillar-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--wine);
  margin: 0 0 14px;
}
.pillar-card p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

/* Documentary Archive & Credibility Section */
.documentary-section {
  display: grid;
  grid-template-columns: 38% 62%;
  background: var(--black);
  color: #f5efe6;
  min-height: 540px;
}

.documentary-visual-panel {
  background: #e8dfd0;
  display: grid;
  place-items: center;
  padding: 60px;
  border-right: 1px solid #3d302c;
}
[dir="rtl"] .documentary-visual-panel {
  border-right: 0;
  border-left: 1px solid #3d302c;
}
.documentary-visual-panel img {
  width: min(280px, 80%);
  height: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}

.documentary-copy-panel {
  padding: 90px 6vw;
  position: relative;
}
.documentary-copy-panel h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
  color: #fff;
}
[dir="rtl"] .documentary-copy-panel h2 {
  line-height: 1.25;
}

.documentary-copy-panel p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: #cfc5b8;
  margin-bottom: 20px;
  max-width: 650px;
}

.documentary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}
.doc-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(182, 141, 64, 0.4);
  padding-bottom: 6px;
  transition: all 0.2s ease;
}
.doc-ext-link:hover {
  color: #fff;
  border-color: #fff;
}

/* Footer */
footer {
  background: #ede6d8;
  padding: 80px 6vw 40px;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-brand p {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}
[dir="rtl"] .footer-nav button {
  text-align: right;
}
.footer-nav button:hover {
  color: var(--wine);
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--wine);
  line-height: 1.4;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .masthead {
    height: 84px;
    padding: 0 4vw;
  }
  .masthead nav {
    gap: 18px;
  }
  .history-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 90px 5vw;
  }
  .archive-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .documentary-section {
    grid-template-columns: 1fr;
  }
  .documentary-visual-panel {
    border-right: 0;
    border-bottom: 1px solid #3d302c;
    padding: 48px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .masthead {
    height: 76px;
  }
  .masthead nav {
    display: none;
  }
  .masthead nav.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(251, 249, 244, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 6vw 32px;
    gap: 16px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  }
  .menu-toggle {
    display: block;
  }
  .hero-content {
    padding: 60px 6vw 30px;
  }
  .hero-footer {
    padding: 20px 6vw 30px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .archive-toolbar {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .laureates-grid {
    grid-template-columns: 1fr;
  }
  .timeline-cards-list {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    max-height: 95vh;
  }
  .modal-profile-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .modal-header-banner {
    padding: 24px 20px;
  }
  .modal-body {
    padding: 24px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .official-logo {
    width: 140px;
  }
  .masthead-controls {
    gap: 12px;
  }
  .lang-switcher {
    padding: 2px 4px;
  }
  .lang-btn {
    padding: 5px 9px;
    font-size: 10px;
  }
  .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 2px;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 56px);
    margin-bottom: 20px;
  }
  .hero-deck {
    font-size: 14px;
    line-height: 1.6;
  }
  .laureate-card-header {
    padding: 16px 18px 12px;
  }
  .laureate-portrait-container {
    padding: 18px 18px 10px;
    gap: 14px;
  }
  .laureate-visual {
    width: 76px;
    height: 90px;
  }
  .laureate-card-titles h3 {
    font-size: 20px;
  }
  .laureate-card-body {
    padding: 10px 18px 16px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CEREMONIES HISTORICAL PHOTO GALLERY & SLEEK LIGHTBOX
   ========================================================================== */
.ceremonies-gallery-section {
  padding: 120px 6vw;
  background: #15100e;
  border-bottom: 1px solid var(--rule-dark);
  color: #f5ede2;
  position: relative;
}

.ceremonies-gallery-header {
  max-width: 840px;
  margin-bottom: 48px;
}

.ceremonies-gallery-title {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  color: #ffffff;
}
[dir="rtl"] .ceremonies-gallery-title {
  line-height: 1.25;
}

.ceremonies-gallery-deck {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: #c9b9ad;
  margin-top: 18px;
}

/* Ceremony Navigation Tabs Bar */
.ceremony-nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  margin-bottom: 48px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.05);
}
.ceremony-nav-bar::-webkit-scrollbar {
  height: 4px;
}
.ceremony-nav-bar::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.ceremony-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 24px;
  border: 1px solid rgba(214, 175, 102, 0.25);
  background: rgba(45, 18, 14, 0.5);
  color: #d8c8bc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.ceremony-tab-btn:hover {
  background: rgba(182, 141, 64, 0.2);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-1px);
}
.ceremony-tab-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, #8c6a2b 100%);
  color: #120907;
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(182, 141, 64, 0.35);
  font-weight: 700;
}
.ceremony-tab-btn.active .ceremony-tab-sub {
  color: rgba(18, 9, 7, 0.75);
}
.ceremony-tab-btn.active .ceremony-tab-badge {
  background: rgba(18, 9, 7, 0.85);
  color: #fdfaf4;
}

.ceremony-tab-sub {
  font-size: 11px;
  font-weight: 400;
  color: #a49187;
  letter-spacing: 0.5px;
}

.ceremony-tab-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #e6dacd;
}

/* Ceremony Album Card Container */
.ceremonies-albums-wrap {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.ceremony-album-card {
  background: rgba(28, 20, 17, 0.65);
  border: 1px solid rgba(84, 57, 50, 0.7);
  border-radius: 8px;
  padding: 32px 32px 36px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ceremony-album-card:hover {
  border-color: rgba(214, 175, 102, 0.5);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.ceremony-album-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(84, 57, 50, 0.5);
  flex-wrap: wrap;
}

.ceremony-album-meta {
  flex: 1;
  min-width: 280px;
}

.ceremony-year-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.ceremony-year-badge strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.ceremony-year-badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bfaea5;
}

.ceremony-album-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 8px;
}
[dir="rtl"] .ceremony-album-title {
  line-height: 1.35;
}

.ceremony-album-honorees {
  font-size: 14px;
  color: #dfcebf;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}
.honorees-icon {
  font-size: 13px;
}

.ceremony-album-stats {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ceremony-photo-count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  background: rgba(182, 141, 64, 0.15);
  border: 1px solid rgba(182, 141, 64, 0.3);
  padding: 6px 12px;
  border-radius: 16px;
}

.btn-view-ceremony-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(214, 175, 102, 0.4);
  color: #f7ede1;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-view-ceremony-filter:hover {
  background: var(--gold);
  color: #120907;
  border-color: var(--gold);
}

/* Ceremony Photos Grid (Masonry-like responsive grid) */
.ceremony-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.ceremony-photo-card {
  margin: 0;
  background: #1e1512;
  border: 1px solid rgba(84, 57, 50, 0.6);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.ceremony-photo-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

.ceremony-photo-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f0908;
}

.ceremony-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
  display: block;
}
.ceremony-photo-card:hover .ceremony-photo-img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.ceremony-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(18, 9, 7, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ceremony-photo-card:hover .ceremony-photo-overlay {
  opacity: 1;
}

.ceremony-zoom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(182, 141, 64, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #120907;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ceremony-photo-order {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #f7ede1;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
[dir="rtl"] .ceremony-photo-order {
  right: auto;
  left: 10px;
}

.ceremony-photo-caption {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(84, 57, 50, 0.4);
  background: #1a120f;
  flex: 1;
}
.ceremony-photo-caption span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.ceremony-photo-caption p {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #bfaea5;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SLEEK FULLSCREEN LIGHTBOX STYLING
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 5, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.lightbox-content {
  position: relative;
  z-index: 10;
  width: 94vw;
  max-width: 1400px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(24, 15, 12, 0.7);
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(214, 175, 102, 0.25);
  border-bottom: 0;
}

.lightbox-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-gold-tag {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.lightbox-slide-num {
  font-size: 12px;
  font-weight: 600;
  color: #c9b9ad;
  letter-spacing: 0.5px;
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(214, 175, 102, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.lightbox-close-btn:hover {
  background: var(--wine);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #090504;
  border-left: 1px solid rgba(214, 175, 102, 0.25);
  border-right: 1px solid rgba(214, 175, 102, 0.25);
}

.lightbox-image-wrapper {
  max-width: 100%;
  max-height: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-main-image {
  max-width: 100%;
  max-height: calc(92vh - 170px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(214, 175, 102, 0.3);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 64px;
  border: 1px solid rgba(214, 175, 102, 0.4);
  background: rgba(24, 15, 12, 0.75);
  color: var(--gold-light);
  font-size: 34px;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 20;
}
.lightbox-nav-btn:hover {
  background: var(--gold);
  color: #120907;
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(182, 141, 64, 0.4);
}
.lightbox-nav-btn.prev {
  left: 20px;
}
.lightbox-nav-btn.next {
  right: 20px;
}
[dir="rtl"] .lightbox-nav-btn.prev {
  left: auto;
  right: 20px;
  transform: translateY(-50%) rotate(180deg);
}
[dir="rtl"] .lightbox-nav-btn.next {
  right: auto;
  left: 20px;
  transform: translateY(-50%) rotate(180deg);
}

.lightbox-bottom-bar {
  padding: 16px 24px;
  background: rgba(24, 15, 12, 0.9);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(214, 175, 102, 0.25);
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox-caption {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: #f7ede1;
  margin: 0;
  text-align: center;
  letter-spacing: 0.2px;
}

/* Filmstrip Thumbnails */
.lightbox-filmstrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  max-width: 100%;
}
.filmstrip-thumb-btn {
  width: 52px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #000;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.filmstrip-thumb-btn:hover {
  opacity: 0.9;
  border-color: rgba(214, 175, 102, 0.6);
}
.filmstrip-thumb-btn.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(182, 141, 64, 0.6);
}
.filmstrip-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .ceremonies-gallery-section {
    padding: 80px 5vw;
  }
  .ceremony-album-card {
    padding: 20px 16px;
  }
  .ceremony-photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lightbox-content {
    width: 98vw;
    height: 96vh;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 50px;
    font-size: 26px;
  }
  .lightbox-nav-btn.prev {
    left: 8px;
  }
  .lightbox-nav-btn.next {
    right: 8px;
  }
}



.archive-result-count{color:var(--gold-light);font-size:14px;}
:focus-visible{outline:3px solid var(--gold);outline-offset:4px;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep navigation and controls within the existing editorial design. */
.masthead nav a, .btn-primary, .btn-secondary, .call-btn { text-decoration: none; }
.filters-group, .category-tabs, .view-mode-tabs, .search-box { min-width: 0; max-width: 100%; }
.category-tabs, .view-mode-tabs { flex-wrap: wrap; }
.category-tab { white-space: normal; text-align: center; }
section[id] { scroll-margin-top: 100px; }
.search-box { min-width: min(260px, 100%); }
@media(max-width: 768px) {
  .filters-group { width: 100%; }
  .category-tabs { width: 100%; }
  .category-tab { flex: 1 1 100px; }
  .masthead nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
}

/* Keep the cover and navigation comfortable on small screens. */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100svh - 76px);
    padding: 40px 0;
  }
  .hero-content { padding: 24px 6vw; }
  .hero-bg-wrapper, [dir="rtl"] .hero-bg-wrapper { inset: 0; }
  .hero-bg-wrapper:after, [dir="rtl"] .hero-bg-wrapper:after {
    background: linear-gradient(90deg, rgba(18,16,14,.9), rgba(18,16,14,.45)),
                linear-gradient(0deg, #12100e, transparent 65%);
  }
  [dir="rtl"] .hero h1 { font-size: clamp(38px, 9vw, 56px); }
  .hero-actions { gap: 12px; }
}
@media (max-width: 360px) {
  .masthead { padding-inline: 12px; }
  .masthead .official-logo { width: 108px; }
  .masthead-controls { gap: 8px; }
  .masthead .lang-switcher-label { display: none; }
  .masthead .menu-toggle { padding-inline: 9px; }
}
