/*
Theme Name: Gen Z Organization
Theme URI: https://lawngreen-giraffe-557380.hostingersite.com/
Author: Antigravity AI
Author URI: https://lawngreen-giraffe-557380.hostingersite.com/
Description: Premium Bilingual Theme for Gen Z Organization (سازمان نسل زد), matching gen-z-network.org structure, featuring PayPal donation integration, Store merchandise section, framed images, and responsive dark glassmorphic UI.
Version: 2.3.3
Text Domain: genz-theme
*/

:root {
  --color-bg-dark: #0b0e14;
  --color-bg-card: #141a24;
  --color-bg-card-hover: #1c2432;
  --color-bg-header: rgba(11, 14, 20, 0.9);
  --color-border: rgba(255, 255, 255, 0.09);
  --color-border-glow: rgba(245, 158, 11, 0.4);
  
  --color-amber-primary: #f59e0b;
  --color-amber-hover: #d97706;
  --color-amber-light: #fbbf24;
  --color-amber-glow: rgba(245, 158, 11, 0.25);
  --gradient-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-amber-dark: linear-gradient(135deg, #1c2432 0%, #0e121a 100%);
  --gradient-paypal: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-text-dim: #6b7280;
  
  --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-card: 0 12px 35px -5px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Formal configurable homepage */
.home-formal-main {
  display: flex;
  flex-direction: column;
  background: #0b1018;
}

.formal-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 10rem 0 5rem;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background-color: #080d14;
  background-image: var(--hero-poster);
  background-position: center;
  background-size: cover;
}

.formal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 8, 13, .45), transparent 27%, rgba(4, 8, 13, .2) 72%, rgba(4, 8, 13, .72));
}

.formal-hero-video,
.formal-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.formal-hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

.formal-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 11, 18, .68), rgba(8, 14, 22, .52) 48%, rgba(5, 10, 17, .7)),
    rgba(7, 12, 20, .28);
}

.formal-hero > .container {
  position: relative;
  z-index: 3;
}

.formal-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .78fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.formal-hero-content {
  padding-block: 1rem;
}

.formal-eyebrow {
  margin-bottom: 1rem;
  color: #c99b43;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.formal-hero-title {
  max-width: 820px;
  margin: 0;
  color: #f3ad24;
  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.035em;
  text-shadow: 0 3px 22px rgba(0, 0, 0, .48);
}

.formal-hero-description {
  max-width: 760px;
  margin: 1.7rem 0 0;
  color: #f0f3f7;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .64);
}

.formal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.1rem;
}

.formal-button {
  display: inline-flex;
  min-height: 46px;
  padding: .72rem 1.35rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .92rem;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.formal-button-primary {
  color: #0c1119;
  background: #c99b43;
  border-color: #c99b43;
}

.formal-button-primary:hover {
  color: #07101a;
  background: #ddb65f;
  border-color: #ddb65f;
}

.formal-button-secondary {
  color: #e7ebf1;
  background: transparent;
  border-color: #566173;
}

.formal-button-secondary:hover {
  color: #fff;
  border-color: #c99b43;
  background: rgba(201, 155, 67, .07);
}

/* Javidnam — cinematic digital memorial */
.javidnam-feature {
  --javidnam-pointer-x: 50%;
  --javidnam-pointer-y: 50%;
  --javidnam-shift: 0px;
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(680px, 88svh, 920px);
  padding: clamp(6rem, 10vw, 9rem) 0 clamp(4.5rem, 8vw, 7rem);
  align-items: flex-end;
  overflow: hidden;
  color: #f7f2e8;
  background: #080706;
  border-block: 1px solid rgba(184, 133, 71, .24);
}

.javidnam-feature::before,
.javidnam-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.javidnam-feature::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, .9) 0%, rgba(8, 7, 6, .45) 46%, rgba(8, 7, 6, .68) 100%),
    linear-gradient(180deg, rgba(6, 5, 4, .72) 0%, transparent 32%, rgba(7, 6, 5, .88) 100%);
}

.javidnam-feature::after {
  z-index: 1;
  opacity: .72;
  mix-blend-mode: screen;
  background: radial-gradient(
    circle at var(--javidnam-pointer-x) var(--javidnam-pointer-y),
    rgba(178, 109, 54, .2) 0%,
    rgba(120, 37, 29, .1) 18%,
    transparent 42%
  );
  transition: background-position .2s ease;
}

.javidnam-background {
  position: absolute;
  inset: -10% -3%;
  z-index: -3;
  opacity: .62;
  background-image: var(--javidnam-bg);
  background-position: center;
  background-size: cover;
  filter: saturate(.58) contrast(1.18) brightness(.78);
  transform: translate3d(0, var(--javidnam-shift), 0) scale(1.12);
  will-change: transform;
}

.javidnam-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 46%, transparent 0 18%, rgba(4, 3, 3, .18) 45%, rgba(4, 3, 3, .78) 100%),
    linear-gradient(110deg, rgba(63, 8, 10, .3), transparent 35% 70%, rgba(137, 79, 33, .12));
}

.javidnam-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .025) 4px),
    radial-gradient(rgba(255, 255, 255, .18) .6px, transparent .7px);
  background-size: auto, 5px 5px;
}

.javidnam-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.javidnam-content {
  position: relative;
  width: min(760px, 68%);
  padding: clamp(1.7rem, 4vw, 3.4rem);
  border-inline-start: 1px solid rgba(213, 166, 105, .52);
  background: linear-gradient(110deg, rgba(10, 9, 8, .8), rgba(10, 9, 8, .42) 72%, transparent);
  box-shadow: -40px 38px 100px rgba(0, 0, 0, .28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 1s ease .15s, transform 1.15s cubic-bezier(.2, .72, .2, 1) .15s;
}

.javidnam-feature.is-visible .javidnam-content {
  opacity: 1;
  transform: translateY(0);
}

.javidnam-kicker {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: center;
  gap: .9rem;
  color: #d3aa75;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.javidnam-kicker-line {
  display: block;
  width: 0;
  height: 1px;
  background: #b97a4f;
  transition: width 1s cubic-bezier(.2, .72, .2, 1) .65s;
}

.javidnam-feature.is-visible .javidnam-kicker-line {
  width: 54px;
}

.javidnam-wordmark {
  position: absolute;
  inset-inline-end: clamp(1rem, 3vw, 2.7rem);
  top: clamp(.3rem, 2vw, 1.2rem);
  z-index: -1;
  color: transparent;
  font-family: var(--font-fa);
  font-size: clamp(4.2rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
  opacity: .12;
  -webkit-text-stroke: 1px #d4aa74;
  transform: translateX(22px);
  transition: opacity 1.2s ease .3s, transform 1.4s cubic-bezier(.2, .72, .2, 1) .3s;
}

html[dir="ltr"] .javidnam-wordmark {
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  letter-spacing: .04em;
}

.javidnam-feature.is-visible .javidnam-wordmark {
  opacity: .2;
  transform: translateX(0);
}

.javidnam-title {
  max-width: 700px;
  margin: 0;
  color: #f5efe4;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 4px 32px rgba(0, 0, 0, .72);
}

html[dir="ltr"] .javidnam-title {
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.12;
}

.javidnam-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 1.6rem;
  background: linear-gradient(90deg, #7c1821, #c68d55);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 1s cubic-bezier(.2, .72, .2, 1) .8s;
}

.javidnam-feature.is-visible .javidnam-title::after {
  transform: scaleX(1);
}

.javidnam-description {
  max-width: 650px;
  margin: 1.6rem 0 0;
  color: #d8d0c4;
  font-size: clamp(.98rem, 1.35vw, 1.16rem);
  line-height: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .8);
}

.javidnam-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.javidnam-cta {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  padding: .78rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(207, 162, 104, .58);
  border-radius: 2px;
  color: #f5efe5;
  font-size: .88rem;
  font-weight: 800;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, background .25s ease;
}

.javidnam-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #b77b43;
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s cubic-bezier(.2, .72, .2, 1);
}

.javidnam-cta:hover {
  color: #fff;
  border-color: #c99561;
  transform: translateY(-2px);
}

.javidnam-cta:hover::before {
  transform: scaleX(1);
}

.javidnam-cta-primary {
  color: #170e0a;
  border-color: #c8945d;
  background: #c8945d;
}

.javidnam-cta-primary::before {
  background: #d3a26c;
  transform: scaleX(1);
}

.javidnam-cta-secondary {
  background: rgba(12, 10, 8, .38);
}

.javidnam-cta-arrow {
  font-family: var(--font-en);
  font-size: 1.1rem;
  line-height: 1;
}

.javidnam-frame {
  position: absolute;
  inset: 2.4rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(213, 173, 119, .16);
}

.javidnam-frame::before,
.javidnam-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: rgba(216, 172, 111, .7);
}

.javidnam-frame::before {
  inset-inline-start: -1px;
  top: -1px;
  border-block-start: 2px solid;
  border-inline-start: 2px solid;
}

.javidnam-frame::after {
  inset-inline-end: -1px;
  bottom: -1px;
  border-block-end: 2px solid;
  border-inline-end: 2px solid;
}

.javidnam-frame-index,
.javidnam-frame-label {
  position: absolute;
  color: rgba(232, 207, 175, .66);
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.javidnam-frame-index {
  top: 1rem;
  inset-inline-start: 1rem;
}

.javidnam-frame-label {
  inset-inline-end: 1rem;
  bottom: 1rem;
  writing-mode: vertical-rl;
}

.javidnam-scroll-line {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 0;
  z-index: 3;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, transparent, #c28b57);
  transition: height 1.3s ease 1s;
}

.javidnam-feature.is-visible .javidnam-scroll-line {
  height: 74px;
}

.formal-contact-panel {
  padding: 1.55rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-top: 3px solid #d39d38;
  border-radius: 5px;
  background: rgba(12, 19, 29, .72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.formal-contact-heading {
  margin-bottom: 1rem;
}

.formal-contact-heading > span {
  color: #d8aa54;
  font-family: var(--font-en);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.formal-contact-heading h2 {
  margin-top: .25rem;
  color: #f6f8fb;
  font-size: 1.16rem;
  line-height: 1.6;
}

.formal-contact-form {
  display: grid;
  gap: .78rem;
}

.formal-contact-form label {
  display: grid;
  gap: .32rem;
}

.formal-contact-form label > span {
  color: #e1e6ed;
  font-size: .76rem;
  font-weight: 600;
}

.formal-contact-form input,
.formal-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 3px;
  outline: 0;
  color: #111827;
  background: rgba(255, 255, 255, .95);
  font: inherit;
  font-size: .82rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.formal-contact-form input {
  height: 43px;
  padding: 0 .8rem;
}

.formal-contact-form textarea {
  min-height: 94px;
  padding: .7rem .8rem;
  resize: vertical;
}

.formal-contact-form input:focus,
.formal-contact-form textarea:focus {
  border-color: #e5ad43;
  box-shadow: 0 0 0 3px rgba(229, 173, 67, .2);
}

.formal-contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .78rem;
}

.formal-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.formal-contact-form .formal-contact-consent {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.formal-contact-form .formal-contact-consent input {
  width: 15px;
  height: 15px;
  margin-top: .2rem;
  flex: 0 0 auto;
  accent-color: #c99b43;
}

.formal-contact-form .formal-contact-consent span {
  color: #cbd3de;
  font-size: .7rem;
  line-height: 1.7;
}

.formal-contact-consent a {
  color: #e6b95d;
  text-decoration: underline;
}

.formal-contact-submit {
  min-height: 44px;
  border: 1px solid #d49e38;
  border-radius: 3px;
  color: #11151c;
  background: #d49e38;
  font: inherit;
  font-size: .86rem;
  font-weight: 850;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.formal-contact-submit:hover {
  border-color: #edba57;
  background: #edba57;
}

.formal-form-notice {
  margin-bottom: .8rem;
  padding: .7rem .8rem;
  border: 1px solid;
  font-size: .78rem;
  line-height: 1.7;
}

.formal-form-notice.is-success {
  border-color: rgba(74, 222, 128, .5);
  color: #d7ffe4;
  background: rgba(20, 83, 45, .55);
}

.formal-form-notice.is-error {
  border-color: rgba(248, 113, 113, .5);
  color: #ffe0e0;
  background: rgba(127, 29, 29, .52);
}

.formal-focus-grid strong {
  color: #dce2ea;
  font-size: .85rem;
}

.formal-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.formal-section:nth-child(odd) {
  background: #0e151f;
}

.formal-section-header {
  margin-bottom: 2.4rem;
}

.formal-section-header-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.formal-section-title {
  max-width: 820px;
  margin: 0;
  color: #f4f6f9;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.formal-text-link {
  padding-bottom: .35rem;
  color: #c99b43;
  border-bottom: 1px solid rgba(201, 155, 67, .55);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}

.formal-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #293445;
  background: #111925;
}

.formal-priority-card {
  position: relative;
  min-height: 290px;
  padding: 2rem 1.65rem;
  border-inline-end: 1px solid #293445;
  transition: background .2s ease;
}

.formal-priority-card:last-child {
  border-inline-end: 0;
}

.formal-priority-card:hover {
  background: #172131;
}

.formal-card-index {
  display: block;
  margin-bottom: 2.3rem;
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: .75rem;
  font-weight: 800;
}

.formal-priority-card h3 {
  margin: 0 0 .85rem;
  color: #f1f4f8;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
}

.formal-priority-card p {
  margin: 0;
  color: #9eabba;
  font-size: .9rem;
  line-height: 1.9;
}

.formal-card-link {
  position: absolute;
  inset-inline-start: 1.65rem;
  bottom: 1.65rem;
  color: #c7ced8;
  font-size: .78rem;
  font-weight: 700;
}

.formal-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.formal-team-card {
  display: flex;
  min-height: 130px;
  padding: 1.25rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid #2b3545;
  border-radius: 3px;
  background: #111925;
}

.formal-team-photo {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 2px solid #b88b37;
  border-radius: 50%;
  background-color: #0a1018;
  background-repeat: no-repeat;
  background-position: var(--crop-x, 50%) var(--crop-y, 50%);
}

.formal-team-photo.genz-crop-portrait {
  background-size: var(--crop-size, 100%) auto;
}

.formal-team-photo.genz-crop-landscape {
  background-size: auto var(--crop-size, 100%);
}

.formal-team-copy h3 {
  margin: 0 0 .35rem;
  color: #f4f6f9;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.formal-team-copy p {
  margin: 0;
  color: #c99b43;
  font-size: .77rem;
  line-height: 1.6;
}

.formal-publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.formal-publication-card {
  display: grid;
  grid-template-columns: minmax(150px, 38%) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #2a3545;
  border-radius: 3px;
  background: #111925;
}

.formal-publication-media {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-inline-end: 1px solid #2a3545;
  background: #0b1018;
}

.formal-publication-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.formal-publication-media > span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.formal-publication-body {
  display: flex;
  min-width: 0;
  padding: 1.35rem;
  flex-direction: column;
  justify-content: center;
}

.formal-publication-body time {
  color: #c99b43;
  font-size: .7rem;
  font-weight: 700;
}

.formal-publication-body h3 {
  margin: .75rem 0;
  color: #f2f5f8;
  font-size: 1.05rem;
  line-height: 1.75;
}

.formal-publication-body p {
  margin: 0;
  color: #98a5b5;
  font-size: .86rem;
  line-height: 1.85;
}

.formal-support {
  background: #111925 !important;
}

.formal-support-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}

.formal-support-intro,
.formal-store-text {
  max-width: 650px;
  margin: 1.25rem 0 0;
  color: #9da9b8;
  line-height: 1.95;
}

.formal-support-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #344053;
}

.formal-support-options article {
  padding: 1.7rem;
}

.formal-support-options article + article {
  border-inline-start: 1px solid #344053;
}

.formal-support-options article > span {
  color: #c99b43;
  font-size: .72rem;
  font-weight: 800;
}

.formal-support-options h3 {
  margin: 1rem 0 .7rem;
  color: #f3f5f8;
  font-size: 1.08rem;
}

.formal-support-options p {
  min-height: 75px;
  margin: 0 0 1.2rem;
  color: #98a5b5;
  font-size: .86rem;
  line-height: 1.8;
}

.formal-store-layout {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  gap: 3.5rem;
  align-items: center;
  padding: 2.2rem;
  border: 1px solid #2b3646;
  background: #0d141e;
}

.formal-store-image {
  height: 250px;
  overflow: hidden;
  border: 1px solid #394558;
  background: #080d14;
}

.formal-store-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.formal-store .formal-button {
  margin-top: 1.5rem;
}

@media (max-width: 1100px) {
  .formal-hero-grid {
    grid-template-columns: 1fr .7fr;
    gap: 2.5rem;
  }

  .javidnam-content {
    width: min(760px, 78%);
  }

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

  .formal-priority-card:nth-child(2) {
    border-inline-end: 0;
  }

  .formal-priority-card:nth-child(-n+2) {
    border-bottom: 1px solid #293445;
  }
}

@media (max-width: 780px) {
  .formal-hero {
    min-height: auto;
    padding: 7.5rem 0 4rem;
  }

  .javidnam-feature {
    min-height: 780px;
    padding: 7rem 0 4rem;
  }

  .javidnam-background {
    inset: -6% -28%;
    opacity: .52;
    background-position: 56% center;
  }

  .javidnam-feature::before {
    background:
      linear-gradient(180deg, rgba(6, 5, 4, .72) 0%, rgba(8, 7, 6, .28) 34%, rgba(7, 6, 5, .96) 82%),
      linear-gradient(90deg, rgba(7, 6, 5, .4), rgba(7, 6, 5, .55));
  }

  .javidnam-content {
    width: 100%;
    padding: 2rem 1.5rem;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(213, 166, 105, .42);
    background: linear-gradient(180deg, rgba(10, 9, 8, .18), rgba(10, 9, 8, .84) 28%);
  }

  .javidnam-frame {
    inset: 1.2rem;
  }

  .javidnam-frame-label {
    display: none;
  }

  .formal-hero-grid,
  .formal-support-layout,
  .formal-store-layout {
    grid-template-columns: 1fr;
  }

  .formal-contact-panel {
    padding: 1.5rem;
  }

  .formal-section {
    padding: 4rem 0;
  }

  .formal-section-header-row {
    display: block;
  }

  .formal-section-header-row .formal-text-link {
    display: inline-block;
    margin-top: 1rem;
  }

  .formal-publication-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .formal-publication-card {
    grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
  }

  .formal-publication-body {
    padding: 1rem;
  }

  .formal-publication-body h3 {
    font-size: .92rem;
  }

  .formal-publication-body p {
    display: none;
  }
}

@media (max-width: 560px) {
  .formal-hero-title {
    font-size: 2.15rem;
  }

  .javidnam-feature {
    min-height: 720px;
    padding-bottom: 2.8rem;
  }

  .javidnam-wordmark {
    inset-inline-end: 1rem;
    font-size: 4rem;
  }

  .javidnam-title {
    font-size: 1.85rem;
  }

  .javidnam-description {
    font-size: .94rem;
    line-height: 1.9;
  }

  .javidnam-actions,
  .javidnam-cta {
    width: 100%;
  }

  .javidnam-frame {
    inset: .65rem;
  }

  .formal-actions,
  .formal-actions .formal-button {
    width: 100%;
  }

  .formal-priority-grid,
  .formal-team-grid,
  .formal-support-options {
    grid-template-columns: 1fr;
  }

  .formal-priority-card {
    border-inline-end: 0;
    border-bottom: 1px solid #293445;
  }

  .formal-priority-card:last-child {
    border-bottom: 0;
  }

  .formal-support-options article + article {
    border-inline-start: 0;
    border-top: 1px solid #344053;
  }

  .formal-store-layout {
    padding: 1.2rem;
  }
}

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

html {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  scroll-behavior: smooth;
  line-height: 1.65;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

body.rtl {
  direction: rtl;
  text-align: right;
  font-family: var(--font-fa);
}

body.ltr {
  direction: ltr;
  text-align: left;
  font-family: var(--font-en);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Formal institutional header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3px solid #b88b37;
  border-bottom: 1px solid #293445;
  background: rgba(9, 15, 24, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}

.home .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-top: 0;
  border-bottom-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(5, 9, 15, .82), rgba(5, 9, 15, .48));
  box-shadow: none;
}

.admin-bar.home .site-header {
  top: 32px;
}

.header-inner {
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-logo-circle {
  display: flex;
  width: 96px;
  height: 64px;
  padding: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  background: transparent;
}

.brand-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  color: #f1f4f7;
  font-size: 1.04rem;
  font-weight: 850;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-title span {
  color: #c99b43;
}

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

/* Navigation */
.main-nav {
  margin-inline: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: flex;
  min-height: 75px;
  padding: 0 10px;
  align-items: center;
  color: #aeb8c6;
  font-size: .84rem;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: #f5f7fa;
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  background: #c99b43;
}

.header-actions {
  display: flex;
  padding-inline-start: .8rem;
  align-items: center;
  gap: .55rem;
  border-inline-start: 1px solid #2d3747;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid #465166;
  border-radius: 2px;
  background: #111925;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #d9dee6;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #3a4556;
  border-radius: 2px;
  background: #0c131d;
}

.lang-btn {
  min-width: 42px;
  padding: 7px 9px;
  color: #939ead;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
}

.lang-btn + .lang-btn {
  border-inline-start: 1px solid #3a4556;
}

.lang-btn.active {
  color: #f4f6f9;
  background: #263142;
}

.lang-btn:hover:not(.active) {
  color: #d9dee6;
  background: #172131;
}

.header-donate {
  display: inline-flex;
  min-height: 37px;
  padding: .55rem .85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #c99b43;
  border-radius: 2px;
  color: #0b1119;
  background: #c99b43;
  font-size: .76rem;
  font-weight: 850;
  white-space: nowrap;
}

.header-donate:hover {
  color: #07101a;
  border-color: #ddb65f;
  background: #ddb65f;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-amber {
  background: var(--gradient-amber);
  color: #0b0e14;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-paypal {
  background: var(--gradient-paypal);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 112, 186, 0.35);
}

.btn-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 186, 0.5);
  background: linear-gradient(135deg, #0079c1 0%, #00457c 100%);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-amber-primary);
  color: var(--color-amber-primary);
}

/* Framed Image System */
.img-frame-wrap {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-glow);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: var(--color-bg-card);
}

.img-frame-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 2;
}

.img-frame-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-frame-wrap:hover img {
  transform: scale(1.06);
}

.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, var(--color-amber-glow) 0%, rgba(11, 14, 20, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-full);
  color: var(--color-amber-light);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  color: var(--color-amber-primary);
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.hero-glass-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-amber);
}

.hero-logo-wrap {
  width: min(260px, 75%);
  aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  padding: 10px;
  border-radius: 50%;
  background: var(--gradient-amber);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Shared section layout */
.section-header {
  max-width: 760px;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-subtitle {
  margin-bottom: .6rem;
  color: var(--color-amber-light);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.section-title {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.features-section {
  padding: 4.5rem 0;
  background: rgba(255,255,255,.015);
  border-block: 1px solid var(--color-border);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.card-item {
  min-height: 245px;
  padding: 1.75rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.card-item:hover {
  transform: translateY(-5px);
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: rgba(245,158,11,.12);
  font-size: 1.45rem;
}

.card-title {
  margin-bottom: .75rem;
  font-size: 1.12rem;
  font-weight: 800;
}

.card-text {
  color: var(--color-text-muted);
  font-size: .92rem;
  line-height: 1.8;
}

/* Donation Cards Section */
.donation-section {
  padding: 4rem 0 5rem;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.donation-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.donation-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card);
}

.donation-card.featured {
  border-color: var(--color-amber-primary);
  background: linear-gradient(135deg, #1c2432 0%, #141a24 100%);
}

.donation-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-amber);
  color: #0b0e14;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

body.ltr .donation-badge {
  right: auto;
  left: 15px;
}

.donation-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donation-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.donation-card-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Store Callout Section */
.store-section {
  padding: 3rem 0 5rem;
}

.store-card {
  background: linear-gradient(135deg, #18202d 0%, #10151f 100%);
  border: 1px solid var(--color-border-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.store-info h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.store-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Leadership Team Section */
.team-section {
  padding: 4rem 0 6rem;
  background: linear-gradient(180deg, rgba(20, 26, 36, 0) 0%, rgba(20, 26, 36, 0.5) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card);
}

.avatar-frame {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--gradient-amber-dark);
  border: 2px solid var(--color-amber-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-amber-primary);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
  background-repeat: no-repeat;
  background-position: var(--crop-x, 50%) var(--crop-y, 50%);
}

.avatar-frame.genz-crop-portrait,
.about-portrait.genz-crop-portrait {
  background-size: var(--crop-size, 100%) auto;
}

.avatar-frame.genz-crop-landscape,
.about-portrait.genz-crop-landscape {
  background-size: auto var(--crop-size, 100%);
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--color-amber-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Post Cards Grid */
.posts-section {
  padding: 4rem 0 6rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.post-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.post-image-placeholder,
.post-card-thumb {
  display: grid;
  place-items: center;
  min-height: 210px;
  background: var(--gradient-amber-dark);
  color: var(--color-amber-primary);
  font-size: 2rem;
  font-weight: 900;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-card);
}

.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.posts-section .post-media {
  aspect-ratio: 4 / 3;
  background: #0f141d;
}

.posts-section .post-media--fit img {
  object-fit: contain;
  padding: 8px;
}

.posts-section .post-media--social img {
  object-position: center 30%;
}

.publications-archive {
  padding-top: 1rem;
}

.publications-pagination {
  margin-top: 3rem;
  text-align: center;
}

.publications-pagination ul {
  display: inline-flex;
  gap: .4rem;
  padding: 0;
  list-style: none;
}

.publications-pagination a,
.publications-pagination .current {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}

.publications-pagination .current,
.publications-pagination a:hover {
  color: #0b0e14;
  background: var(--color-amber-primary);
  border-color: var(--color-amber-primary);
}

.publications-empty {
  padding: 4rem 1rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Formal media center */
.media-center {
  padding: 0 0 2rem;
}

.media-center-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 3rem;
  padding: 3.2rem;
  align-items: end;
  border: 1px solid #303b4b;
  border-top: 4px solid #b88b37;
  background:
    linear-gradient(90deg, rgba(13, 21, 31, .98), rgba(17, 25, 37, .94)),
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 100% 38px;
}

.media-center-kicker {
  margin: 0 0 .75rem;
  color: #c99b43;
  font-family: Inter, var(--font-fa);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
}

.media-center-heading h1 {
  max-width: 850px;
  margin: 0;
  color: #f6f7f9;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.media-center-heading > p:last-child {
  max-width: 780px;
  margin: 1.25rem 0 0;
  color: #aeb8c6;
  font-size: 1rem;
  line-height: 1.95;
}

.media-center-count {
  display: grid;
  padding-inline-start: 1.5rem;
  border-inline-start: 1px solid #3a4658;
}

.media-center-count strong {
  color: #f2f4f7;
  font-family: Inter, sans-serif;
  font-size: 3rem;
  font-weight: 750;
  line-height: 1;
}

.media-center-count span {
  margin-top: .55rem;
  color: #8f9baa;
  font-size: .72rem;
  line-height: 1.55;
}

.media-center-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 54px;
  margin: 1rem 0 2rem;
  border: 1px solid #303b4b;
  background: #0d151f;
}

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

.media-center-search input {
  min-width: 0;
  padding: .8rem 1rem;
  border: 0;
  outline: 0;
  color: #e8edf3;
  background: transparent;
  font: inherit;
}

.media-center-search input::placeholder {
  color: #727f90;
}

.media-center-search button,
.media-center-search a {
  display: inline-flex;
  min-width: 105px;
  padding: .7rem 1rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-inline-start: 1px solid #303b4b;
  color: #0a1018;
  background: #c99b43;
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  cursor: pointer;
}

.media-center-search a {
  min-width: 80px;
  color: #c5cdd7;
  background: #111925;
}

.media-center-search button:hover {
  background: #ddb65f;
}

.media-center-search a:hover {
  color: #fff;
  background: #1a2535;
}

.media-center-lead {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  min-height: 0;
  border: 1px solid #344053;
  background: #111925;
}

.media-center-lead-media,
.media-center-card-media {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-inline-end: 1px solid #344053;
  background: #090f17;
}

.media-center-lead-media {
  align-self: start;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.media-center-lead-media img,
.media-center-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.media-center-lead-media:hover img,
.media-center-card-media:hover img {
  transform: scale(1.025);
}

.media-center-lead-media.post-media--fit img,
.media-center-card-media.post-media--fit img {
  padding: 12px;
  object-fit: contain;
}

.media-center-lead-media.post-media--social img,
.media-center-card-media.post-media--social img {
  object-position: center 30%;
}

.media-center-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 260px;
  place-items: center;
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: .08em;
  background:
    linear-gradient(135deg, transparent 48%, rgba(201, 155, 67, .08) 49%, rgba(201, 155, 67, .08) 51%, transparent 52%),
    #0c131d;
}

.media-center-lead-copy {
  display: flex;
  min-width: 0;
  padding: 2.25rem 2.5rem;
  flex-direction: column;
  justify-content: center;
}

.media-center-meta,
.media-center-card-meta,
.media-center-lead-footer,
.media-center-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.media-center-meta {
  margin-bottom: 1.2rem;
  color: #8f9baa;
  font-size: .72rem;
}

.media-center-meta span {
  color: #c99b43;
  font-weight: 800;
}

.media-center-meta time,
.media-center-card-meta time {
  font-family: Inter, var(--font-fa);
  direction: ltr;
}

.media-center-lead h2 {
  margin: 0;
  color: #f2f5f8;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.55;
}

.media-center-lead h2 a:hover,
.media-center-card h3 a:hover {
  color: #d6ab58;
}

.media-center-lead-copy > p {
  margin: 1.25rem 0 0;
  color: #aab4c1;
  font-size: .94rem;
  line-height: 1.95;
}

.media-center-lead-footer {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid #303b4b;
  color: #8f9baa;
  font-size: .74rem;
}

.media-center-lead-footer a,
.media-center-card-footer a {
  color: #d7ad5b;
  font-weight: 800;
}

.media-center-section-heading {
  display: flex;
  margin: 3.5rem 0 1.3rem;
  padding-bottom: 1rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #344053;
}

.media-center-section-heading p {
  margin: 0 0 .35rem;
  color: #c99b43;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.media-center-section-heading h2 {
  margin: 0;
  color: #f2f4f7;
  font-size: 1.7rem;
}

.media-center-section-heading > span {
  color: #7e8a99;
  font-size: .72rem;
}

.media-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.media-center-card {
  display: grid;
  grid-template-columns: minmax(180px, 38%) minmax(0, 1fr);
  min-height: 285px;
  border: 1px solid #303b4b;
  background: #111925;
  transition: border-color .2s ease, background .2s ease;
}

.media-center-card:hover {
  border-color: #536074;
  background: #141e2c;
}

.media-center-card-media {
  min-height: 283px;
}

.media-center-card-body {
  display: flex;
  min-width: 0;
  padding: 1.35rem;
  flex-direction: column;
}

.media-center-card-meta {
  color: #8793a2;
  font-size: .66rem;
}

.media-center-card-meta span {
  color: #c99b43;
  font-weight: 800;
}

.media-center-card h3 {
  margin: 1rem 0 0;
  color: #eef1f5;
  font-size: 1rem;
  line-height: 1.75;
}

.media-center-card-body > p {
  margin: .8rem 0 0;
  color: #97a3b2;
  font-size: .78rem;
  line-height: 1.8;
}

.media-center-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  color: #7f8b9a;
  font-size: .68rem;
}

.media-center .publications-pagination {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #303b4b;
}

.media-center .publications-pagination a,
.media-center .publications-pagination .current {
  border-radius: 2px;
  border-color: #344053;
  background: #111925;
}

.media-center .publications-pagination .current,
.media-center .publications-pagination a:hover {
  color: #0b1119;
  background: #c99b43;
  border-color: #c99b43;
}

@media (max-width: 1050px) {
  .media-center-lead {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  }

  .media-center-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .media-center-masthead {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.4rem;
  }

  .media-center-count {
    grid-template-columns: auto 1fr;
    gap: .75rem;
    padding: 1rem 0 0;
    align-items: end;
    border-inline-start: 0;
    border-top: 1px solid #3a4658;
  }

  .media-center-count strong {
    font-size: 2rem;
  }

  .media-center-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .media-center-search a {
    grid-column: 1 / -1;
    min-height: 40px;
    border-top: 1px solid #303b4b;
    border-inline-start: 0;
  }

  .media-center-lead {
    grid-template-columns: 1fr;
  }

  .media-center-lead-media {
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-inline-end: 0;
    border-bottom: 1px solid #344053;
  }

  .media-center-lead-copy {
    padding: 1.6rem;
  }

  .media-center-card {
    grid-template-columns: minmax(140px, 36%) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .media-center-search button {
    min-width: 82px;
  }

  .media-center-section-heading > span,
  .media-center-card-body > p {
    display: none;
  }

  .media-center-card {
    grid-template-columns: minmax(115px, 34%) minmax(0, 1fr);
    min-height: 220px;
  }

  .media-center-card-media {
    min-height: 218px;
  }

  .media-center-card-body {
    padding: 1rem;
  }

  .media-center-card h3 {
    font-size: .9rem;
  }
}

.library-organized {
  display: grid;
  gap: 2.5rem;
}

.library-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.library-preview {
  overflow: hidden;
  border: 1px solid #303c4e;
  border-radius: 3px;
  background: #0b1018;
}

.library-preview img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.library-file-section h2 {
  margin-bottom: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #303b4b;
  color: #f1f4f7;
  font-size: 1.2rem;
}

.library-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.library-download-card,
.library-data-card {
  display: flex;
  min-width: 0;
  padding: 1rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid #303b4b;
  border-radius: 3px;
  background: #111925;
}

.library-download-card:hover {
  border-color: #a77d31;
  background: #172131;
}

.library-file-icon {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  flex: 0 0 52px;
  object-fit: contain;
}

.library-file-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .1rem;
}

.library-file-copy strong {
  color: #f1f4f7;
  font-size: .95rem;
}

.library-file-copy small {
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: .68rem;
  letter-spacing: .08em;
}

.library-data-list {
  display: grid;
  gap: .8rem;
}

.library-data-card {
  align-items: flex-start;
}

.library-data-card > div {
  min-width: 0;
}

.library-data-card p {
  margin: 0 0 .35rem;
  color: #c7ced8;
  font-size: .88rem;
  line-height: 1.8;
}

.library-data-card a {
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .library-preview-grid,
  .library-download-grid {
    grid-template-columns: 1fr;
  }

  .library-page-article {
    padding-inline: 1rem !important;
  }
}

/* Bilingual privacy policy */
.privacy-policy-main {
  padding: 4rem 0 6rem;
  background: #0b1018;
}

.privacy-policy-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #303b4b;
  border-top: 4px solid #b88b37;
  border-radius: 3px;
  background: #111925;
}

.privacy-policy-header {
  display: flex;
  padding: 2.5rem 3rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid #303b4b;
  background: #0d151f;
}

.privacy-policy-kicker {
  margin: 0 0 .55rem;
  color: #c99b43;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .09em;
}

.privacy-policy-header h1 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.35;
}

.privacy-policy-updated {
  margin: .65rem 0 0;
  color: #8f9bab;
  font-size: .78rem;
}

.privacy-language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #465166;
  border-radius: 2px;
}

.privacy-language-switch a {
  min-width: 78px;
  padding: .55rem .8rem;
  color: #aeb8c6;
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

.privacy-language-switch a + a {
  border-inline-start: 1px solid #465166;
}

.privacy-language-switch a.is-active {
  color: #0b1119;
  background: #c99b43;
}

.privacy-policy-content {
  padding: 3rem;
  color: #c4ccd7;
  font-size: .97rem;
  line-height: 2;
}

.privacy-policy-lead {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.4rem;
  border-inline-start: 3px solid #c99b43;
  color: #e1e6ec;
  background: #0d151f;
  font-size: 1.02rem;
}

.privacy-policy-content section {
  padding: 1.8rem 0;
  border-top: 1px solid #2b3646;
}

.privacy-policy-content section:first-of-type {
  border-top: 0;
}

.privacy-policy-content h2 {
  margin: 0 0 .8rem;
  color: #f1f4f7;
  font-size: 1.22rem;
  line-height: 1.65;
}

.privacy-policy-content p {
  margin: 0;
}

.privacy-policy-content p + p {
  margin-top: .85rem;
}

.privacy-policy-content ul {
  margin: .9rem 0;
  padding-inline-start: 1.4rem;
}

.privacy-policy-content li + li {
  margin-top: .55rem;
}

.privacy-policy-content strong {
  color: #e9edf2;
}

.privacy-policy-content a {
  color: #d7ad5b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .privacy-policy-main {
    padding: 2rem 0 4rem;
  }

  .privacy-policy-header {
    padding: 1.6rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-language-switch {
    align-self: flex-start;
  }

  .privacy-policy-content {
    padding: 1.5rem 1.25rem;
  }
}

/* Managed statements */
.statements-index {
  display: grid;
  border-top: 1px solid #303b4b;
}

.statement-index-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  gap: 1rem;
  padding: 1.25rem 0;
  align-items: center;
  border-bottom: 1px solid #303b4b;
}

.statement-index-item:hover {
  color: #fff;
}

.statement-index-number {
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: .78rem;
  font-weight: 800;
}

.statement-index-item h2 {
  margin: 0;
  color: #e8edf3;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.8;
}

.statement-index-item:hover h2 {
  color: #c99b43;
}

.statement-index-arrow {
  color: #c99b43;
  font-family: Inter, sans-serif;
  font-size: 1.15rem;
  text-align: center;
}

.statements-tabs {
  border: 1px solid #303b4b;
  border-radius: 3px;
  background: #0d141e;
}

.statement-tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #303b4b;
  background: #111925;
  scrollbar-width: thin;
}

.statement-tab {
  position: relative;
  min-width: 220px;
  padding: 1rem 1.2rem;
  border: 0;
  border-inline-end: 1px solid #303b4b;
  color: #aeb8c6;
  background: transparent;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.7;
  text-align: start;
  cursor: pointer;
}

.statement-tab:hover {
  color: #f3f5f8;
  background: #172131;
}

.statement-tab.is-active {
  color: #f7f8fa;
  background: #1a2535;
}

.statement-tab.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #c99b43;
}

.statement-panel {
  padding: 2.2rem;
}

.statement-panel[hidden] {
  display: none;
}

.statement-panel > h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #303b4b;
  color: #f4f6f9;
  font-size: 1.45rem;
  line-height: 1.65;
}

.statement-single-header {
  margin-bottom: 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #303b4b;
}

.statement-single-header p {
  margin: 0 0 .7rem;
  color: #c99b43;
  font-size: .75rem;
  font-weight: 800;
}

.statement-single-header h1 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.5;
}

.statement-featured-image,
.statement-content > p:has(> img:only-child) {
  margin: 0 0 1.7rem;
  overflow: hidden;
  border: 1px solid #394558;
  border-radius: 3px;
  background: #080d14;
}

.statement-featured-image img,
.statement-content > p:has(> img:only-child) img {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
}

.statement-content {
  color: #c1c9d4;
  font-size: .98rem;
  line-height: 2.05;
}

.statement-content > * + * {
  margin-top: 1rem;
}

.statement-content strong {
  color: #eef1f5;
}

@media (max-width: 600px) {
  .statement-tab {
    min-width: 190px;
    padding: .85rem 1rem;
  }

  .statement-panel {
    padding: 1.2rem;
  }

  .statement-panel > h2 {
    font-size: 1.15rem;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-amber-light);
}

.post-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}

.post-title a:hover {
  color: var(--color-amber-primary);
}

.post-excerpt {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #07090d;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-amber-primary);
  margin-top: 6px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-amber-primary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.entry-content {
  overflow-wrap: anywhere;
}

.entry-content > * + * {
  margin-top: 1.25rem;
}

.entry-content img,
.entry-content video,
.entry-content iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.entry-content a {
  color: var(--color-amber-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Editorial single publication */
.publication-single-main {
  padding: 5rem 0 6rem;
  background-color: #0a0f17;
  background-image: radial-gradient(rgba(201, 155, 67, .1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.publication-single {
  max-width: 1160px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #2d394a;
  border-top: 4px solid #b98a35;
  border-radius: 4px;
  background: rgba(13, 20, 30, .97);
  box-shadow: 0 28px 65px rgba(0, 0, 0, .28);
}

.publication-single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3.6rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(201, 155, 67, .06), transparent 40%),
    #111925;
}

.publication-single-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid #596477;
  border-radius: 3px;
  background: #090e15;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
}

.publication-single-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.publication-single-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #c99b43;
  background:
    linear-gradient(145deg, rgba(201, 155, 67, .1), transparent),
    #151d29;
}

.publication-single-placeholder span {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: .06em;
}

.publication-single-intro {
  min-width: 0;
}

.publication-single-kicker {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .38rem .7rem;
  border: 1px solid rgba(201, 155, 67, .46);
  color: #d9aa51;
  background: rgba(201, 155, 67, .08);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .05em;
}

.publication-single-intro h1 {
  margin: 0;
  color: #d9a03d;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}

.publication-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.15rem;
  align-items: center;
  color: #aeb8c6;
  font-size: .8rem;
}

.publication-single-meta > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c99b43;
}

.publication-single-meta strong,
.publication-single-meta em {
  color: #d8dee7;
  font-style: normal;
  font-weight: 650;
}

.publication-single-summary {
  margin: 1.55rem 0 0;
  color: #e0e5eb;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  line-height: 2;
}

.publication-single-divider {
  display: flex;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  gap: 1rem;
  color: #8f9aaa;
  background: #0d141e;
  font-family: var(--font-en);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.publication-single-divider::before,
.publication-single-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #344052;
}

.publication-single-divider span {
  padding: 1.3rem 0;
}

.publication-single-content {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #d5dbe4;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  line-height: 2.15;
}

.publication-single-content > p:first-child {
  color: #eef1f5;
  font-size: 1.08em;
}

.publication-single-content h2,
.publication-single-content h3,
.publication-single-content h4 {
  color: #f2f4f7;
  line-height: 1.65;
}

.publication-single-content h2 {
  padding-inline-start: 1rem;
  border-inline-start: 3px solid #c99b43;
  font-size: 1.55rem;
}

.publication-single-content blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-inline-start: 3px solid #c99b43;
  color: #eef1f5;
  background: #111a27;
}

.publication-gallery-section {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 clamp(2rem, 5vw, 4.5rem) 3rem;
}

.publication-gallery-section h2 {
  margin: 0 0 1rem;
  color: #f1f4f7;
  font-size: 1.2rem;
}

.publication-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.publication-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid #3b4759;
  border-radius: 3px;
  background: #090e15;
}

.publication-source {
  max-width: 920px;
  margin: 0 auto 2.5rem;
  padding: 1rem 1.15rem;
  border-inline-start: 3px solid #c99b43;
  color: #aeb7c5;
  background: #111925;
}

.publication-source a {
  color: #dfb45f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.publication-single-footer {
  display: flex;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #303c4d;
  background: #0b111a;
}

@media (max-width: 840px) {
  .publication-single-main {
    padding: 2.5rem 0 4rem;
  }

  .publication-single-hero {
    grid-template-columns: 1fr;
  }

  .publication-single-media {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .publication-single-intro h1 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }
}

@media (max-width: 680px) {
  .publication-gallery {
    grid-template-columns: 1fr;
  }

  .publication-single-footer,
  .publication-single-footer .formal-button {
    width: 100%;
  }

  .publication-single-footer {
    flex-direction: column;
  }
}

/* About page team portraits */
.about-page-shell {
  max-width: 100%;
  padding-inline: clamp(1rem, 3vw, 3.5rem);
}

.about-page-article {
  width: 100%;
}

.about-layout {
  display: grid;
  gap: 3.5rem;
}

.about-intro-copy {
  color: var(--color-text-muted);
}

.about-section {
  min-width: 0;
  padding-top: 1rem;
}

.about-section-title {
  margin-bottom: .5rem;
  color: var(--color-amber-light);
  font-size: 1.8rem;
  font-weight: 900;
}

.about-group-title {
  margin: 2.25rem 0 1.15rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-team-card {
  display: flex;
  min-width: 0;
  min-height: 336px;
  padding: 1.75rem 1rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.about-portrait {
  width: 176px;
  height: 176px;
  margin-bottom: 1.1rem;
  padding: 4px;
  overflow: hidden;
  border: 2px solid var(--color-amber-primary);
  border-radius: 50%;
  background: var(--color-bg-card);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45), 0 0 24px rgba(245, 158, 11, .18);
  background-repeat: no-repeat;
  background-position: var(--crop-x, 50%) var(--crop-y, 50%);
}

.about-portrait-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--color-amber-primary);
  font-size: 2.4rem;
  font-weight: 900;
}

.about-person-name {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.about-person-role {
  margin-top: .5rem;
  color: var(--color-amber-light);
  font-size: .85rem;
  line-height: 1.75;
}

/* Responsive Media Queries */
@media (max-width: 1180px) {
  .main-nav ul {
    gap: 0;
  }

  .main-nav a {
    padding-inline: 7px;
    font-size: .78rem;
  }

  .brand-title {
    font-size: .94rem;
  }

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

@media (max-width: 1100px) {
  .hero-grid,
  .donation-grid,
  .store-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    margin: 0;
    padding: .65rem;
    border: 1px solid #344053;
    border-top: 3px solid #b88b37;
    border-radius: 0 0 2px 2px;
    background: #0d151f;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .45);
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #2d3848;
  }

  .main-nav a {
    display: block;
    min-height: 0;
    padding: .8rem 1rem;
    background: #111925;
  }

  .main-nav a:hover,
  .main-nav .current-menu-item > a {
    color: #fff;
    background: #182334;
  }

  .main-nav a:hover::after,
  .main-nav .current-menu-item > a::after {
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
    inset-inline-start: 0;
    inset-inline-end: auto;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 680px) {
  .container {
    padding-inline: 1rem;
  }

  .header-inner {
    height: 66px;
  }

  .brand-logo-circle {
    width: 72px;
    height: 50px;
  }

  .brand-title {
    display: none;
  }

  .header-actions {
    gap: .5rem;
  }

  .header-donate {
    display: none;
  }

  .lang-btn {
    padding-inline: 9px;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons,
  .hero-buttons .btn {
    width: 100%;
  }

  .hero-glass-card,
  .donation-card,
  .store-card,
  main .hero-glass-card {
    padding: 1.4rem !important;
  }

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

  .about-team-card {
    min-height: 300px;
  }

  .about-portrait {
    width: 154px;
    height: 154px;
  }

  .cards-grid,
  .donation-grid,
  .team-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }

  .store-info h2 {
    font-size: 1.8rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .main-nav ul {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    display: block;
    text-align: center;
  }

  .footer-bottom > * + * {
    margin-top: .75rem;
  }
}

@media (max-width: 782px) {
  .admin-bar.home .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .formal-hero-video {
    display: none;
  }

  .formal-hero {
    background-position: center;
    background-size: cover;
  }

  .javidnam-background {
    transform: scale(1.06);
  }

  .javidnam-content,
  .javidnam-wordmark,
  .javidnam-kicker-line,
  .javidnam-title::after,
  .javidnam-scroll-line {
    transition: none;
  }

  .javidnam-content {
    opacity: 1;
    transform: none;
  }

  .javidnam-wordmark {
    opacity: .2;
    transform: none;
  }

  .javidnam-kicker-line {
    width: 54px;
  }

  .javidnam-title::after {
    transform: scaleX(1);
  }
}
