/*
Theme Name: جديد
Theme URI: https://example.com/amff-pro-theme
Author: AMFF
Description: قالب احترافي لمهرجان عنابة للفيلم المتوسطي مع تخصيص كامل من لوحة تحكم ووردبريس.
Version: 1.0.3
Text Domain: amff-pro-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap');

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

:root {
  --black: #0b0b0d;
  --white: #ffffff;
  --offwhite: #f3f1ec;
  --sand: #d8c3a5;
  --gold: #c7a55b;
  --sea: #0f5f73;
  --red: #9f1d22;
  --muted: #b8b8b8;
  --soft: #d9d9d9;
  --panel: #17171a;
  --panel-2: #222228;
  --shadow: 0 18px 45px rgba(0,0,0,.18);
  --radius: 10px;
  --container: 1440px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', Arial, Helvetica, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .amff-nav,
html[dir="rtl"] .amff-section-header,
html[dir="rtl"] .amff-media-head,
html[dir="rtl"] .amff-promo-top,
html[dir="rtl"] .amff-feature-box,
html[dir="rtl"] .amff-nav-links,
html[dir="rtl"] .amff-film-tabs,
html[dir="rtl"] .amff-carousel-head {
  direction: rtl;
}

.amff-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.amff-logo-text span,
.amff-hero-date,
.amff-media-brand {
  unicode-bidi: plaintext;
}

.amff-film-info,
.amff-feature-text,
.amff-section-title,
.amff-media-sub,
.amff-info-bar,
.amff-promo-top h3,
.amff-media-label,
.amff-footer,
.amff-section-header,
.amff-media-head,
.amff-promo-top {
  text-align: right;
}

.amff-jury-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: flex-start;
}

.amff-jury-tab {
  border: 1px solid rgba(17,17,17,.14);
  background: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: .2s ease;
}

.amff-jury-tab.active,
.amff-jury-tab:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.amff-jury-panel {
  display: none;
}

.amff-jury-panel.active {
  display: block;
}

.amff-jury-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.amff-jury-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: 1px solid rgba(17,17,17,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.amff-jury-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.12);
}

.amff-jury-photo {
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #d8d8d8;
}

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

.amff-jury-body {
  padding: 18px;
  text-align: right;
}

.amff-jury-body h3 {
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 8px;
  font-weight: 900;
  color: #111;
}

.amff-jury-role {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
  font-weight: 700;
}

.amff-jury-body p {
  font-size: 13px;
  line-height: 1.7;
  color: #333;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.amff-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.amff-nav {
  background: #121215;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  min-height: 78px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.amff-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.amff-logo-mark {
  width: 42px;
  height: 54px;
  border: 2px solid var(--white);
  border-radius: 999px 999px 18px 18px;
  position: relative;
}

.amff-logo-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.amff-logo-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.amff-logo-text span {
  display: block;
  font-size: .72rem;
  color: #cfcfcf;
  margin-top: 4px;
}

.amff-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.amff-nav-links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 3px;
  transition: background .2s ease;
  white-space: nowrap;
}

.amff-nav-links a:hover { background: rgba(255,255,255,.08); }

.amff-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.amff-lang-btn,
.amff-search-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 3px;
  font-weight: 700;
}

.amff-lang-btn:hover,
.amff-search-btn:hover { background: rgba(255,255,255,.08); }

.amff-ticket-btn {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 4px;
  cursor: pointer;
  transition: .2s ease;
}

.amff-ticket-btn:hover { background: #e8e8e8; }

.amff-info-bar {
  background: #24242a;
  color: #d7d7d7;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: right;
}

.amff-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.amff-hero video,
.amff-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.amff-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.28) 40%, rgba(0,0,0,.72)),
    radial-gradient(circle at 80% 25%, rgba(15,95,115,.55), transparent 32%),
    radial-gradient(circle at 25% 80%, rgba(159,29,34,.38), transparent 28%);
  z-index: -2;
}

.amff-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0,0,0,.48));
  z-index: -1;
}

.amff-hero-content {
  text-align: center;
  padding: 70px 20px;
}

.amff-hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
}

.amff-hero-title {
  font-size: clamp(62px, 11vw, 150px);
  line-height: .9;
  letter-spacing: -.04em;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}

.amff-hero-subtitle {
  margin-top: 16px;
  font-size: clamp(20px, 3vw, 38px);
  line-height: 1.2;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.amff-hero-date {
  margin-top: 18px;
  font-size: clamp(34px, 6vw, 74px);
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.45);
}

.amff-page-light {
  background: #efefef;
  color: #111;
}

.amff-section { padding: 46px 0; }

.amff-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.amff-section-title {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  text-align: right;
}

.amff-outline-btn {
  border: 1.5px solid #111;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: .2s ease;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.amff-outline-btn:hover {
  background: #111;
  color: #fff;
}

.amff-film-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: flex-start;
  direction: rtl;
}

.amff-film-tab {
  border: 1px solid rgba(17,17,17,.14);
  background: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: .2s ease;
}

.amff-film-tab.active,
.amff-film-tab:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.amff-carousel-head {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.amff-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #111;
  background: transparent;
  color: #111;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: .2s ease;
}

.amff-arrow-btn:hover {
  background: #111;
  color: #fff;
}

.amff-film-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.amff-film-card {
  min-width: 230px;
  flex: 0 0 clamp(220px, 24vw, 300px);
}

.amff-film-poster {
  aspect-ratio: 0.72 / 1;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.amff-film-poster img,
.amff-media-thumb img,
.amff-promo-visual img,
.amff-feature-image img,
.amff-gallery-item img,
.amff-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amff-film-info {
  padding: 14px 0 0;
}

.amff-film-info h3 {
  font-size: 18px;
  line-height: 1.18;
  margin-bottom: 8px;
  font-weight: 900;
}

.amff-film-info p {
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.amff-mini-btn {
  display: inline-block;
  background: #d65500;
  color: #fff;
  padding: 12px 18px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 800;
}

.amff-dark-band {
  background: #1a1a1d;
  color: #fff;
  border-radius: 10px;
  padding: 34px;
}

.amff-media-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.amff-media-brand {
  font-size: 42px;
  font-weight: 900;
  line-height: .9;
}

.amff-media-sub {
  margin-top: 14px;
  font-size: 16px;
  color: #d8d8d8;
  font-weight: 700;
}

.amff-media-grid,
.amff-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.amff-promo-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.amff-media-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: 240px;
  background: #111;
  isolation: isolate;
}

.amff-media-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.amff-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.04);
  animation: amffMediaPulse 6s ease-in-out infinite;
}

.amff-media-card.has-video .amff-media-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, rgba(255,255,255,.06) 100%);
  animation: amffMediaSheen 5s linear infinite;
  pointer-events: none;
}

.amff-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.18) 45%, transparent 70%);
  z-index: 1;
}

.amff-media-play {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  font-size: 13px;
  animation: amffPlayBreath 2.8s ease-in-out infinite;
}

.amff-media-label {
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
}

@keyframes amffMediaPulse {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.06) translateY(-4px); }
}

@keyframes amffMediaSheen {
  0% { transform: translateX(24%); opacity: .15; }
  50% { transform: translateX(0%); opacity: .32; }
  100% { transform: translateX(-24%); opacity: .15; }
}

@keyframes amffPlayBreath {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.08); opacity: 1; }
}

.amff-promo-card {
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}

.amff-promo-card:hover { transform: translateY(-3px); }

.amff-promo-red { background: var(--red); color: #fff; padding: 26px 22px 22px; }
.amff-promo-black { background: #111; color: #fff; padding: 26px 22px 22px; }
.amff-promo-sea { background: linear-gradient(145deg, #0f5f73, #093947); color: #fff; padding: 26px 22px 22px; }

.amff-promo-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.amff-promo-top h3 {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
}

.amff-promo-arrow { font-size: 26px; font-weight: 900; }

.amff-promo-visual {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  min-height: 260px;
}

.amff-feature-box {
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  background: #111;
}

.amff-feature-text {
  color: #fff;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
}

.amff-feature-text h3 {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.amff-feature-text p {
  color: #cfcfcf;
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}

.amff-feature-cta {
  margin-top: 28px;
  display: inline-block;
  border: 1.5px solid #fff;
  color: #fff;
  padding: 11px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
}

.amff-feature-image {
  min-height: 360px;
}

.amff-gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.9fr 1.9fr 1.9fr;
  gap: 8px;
}

.amff-gallery-item {
  border-radius: 6px;
  overflow: hidden;
  min-height: 240px;
}

.amff-g-tall { min-height: 310px; }
.amff-g-wide { min-height: 310px; }

.amff-footer {
  background: #111;
  padding: 24px 20px 36px;
  color: #d2d2d2;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

@media (max-width: 1180px) {
  .amff-media-grid,
  .amff-promo-grid,
  .amff-feature-box,
  .amff-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amff-jury-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .amff-film-carousel { gap: 12px; }
}

@media (max-width: 820px) {
  .amff-nav {
    height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .amff-nav-links {
    justify-content: flex-start;
  }

  .amff-hero {
    min-height: 500px;
  }

  .amff-section-header,
  .amff-media-head {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }

  .amff-media-grid,
  .amff-promo-grid,
  .amff-feature-box,
  .amff-gallery-grid,
  .amff-jury-grid {
    grid-template-columns: 1fr;
  }

  .amff-film-card { flex-basis: 260px; }
}

@media (max-width: 560px) {
  .amff-container { width: min(calc(100% - 24px), var(--container)); }
  .amff-hero-title { font-size: clamp(52px, 18vw, 94px); }
  .amff-hero-subtitle { font-size: 20px; }
  .amff-hero-date { font-size: 34px; }
  .amff-film-card { min-width: 180px; flex-basis: 70vw; }
  .amff-promo-top h3, .amff-feature-text h3 { font-size: 28px; }
  .amff-section-title { font-size: 40px; }
}

html[dir="rtl"] .amff-nav-logo {
  margin-left: auto;
}

html[dir="rtl"] .amff-nav-right {
  margin-right: auto;
}

html[dir="rtl"] .amff-nav-links {
  justify-content: center;
}

.amff-hero-title {
  white-space: pre-line;
}

/* ===== Mobile nav hamburger ===== */
.amff-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.amff-nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s ease;
}
.amff-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.amff-nav-toggle.open span:nth-child(2) { opacity: 0; }
.amff-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Section: Sponsors ===== */
.amff-sponsors-section {
  background: var(--offwhite);
  padding: 46px 0;
}
.amff-sponsors-label {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.amff-sponsors-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 52px;
}
.amff-sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 56px;
  opacity: .65;
  filter: grayscale(1);
  transition: .2s ease;
}
.amff-sponsor-item:hover { opacity: 1; filter: none; }
.amff-sponsor-item img { max-height: 52px; object-fit: contain; }
.amff-sponsor-placeholder {
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 800;
  color: #aaa;
  letter-spacing: .05em;
}

/* ===== Section: Programme / Schedule ===== */
.amff-programme-section { padding: 46px 0; }
.amff-programme-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 26px;
}
.amff-day-col {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.amff-day-header {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 12px 6px;
}
.amff-day-header .day-name {
  font-size: 13px;
  font-weight: 800;
  display: block;
}
.amff-day-header .day-date {
  font-size: 11px;
  color: #aaa;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}
.amff-day-events { padding: 10px 6px; display: flex; flex-direction: column; gap: 8px; }
.amff-event-item {
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}
.amff-event-film { background: rgba(15,95,115,.12); color: var(--sea); border-right: 3px solid var(--sea); }
.amff-event-ceremony { background: rgba(199,165,91,.15); color: #8a6a1a; border-right: 3px solid var(--gold); }
.amff-event-workshop { background: rgba(159,29,34,.1); color: var(--red); border-right: 3px solid var(--red); }
.amff-event-time { font-size: 10px; font-weight: 600; opacity: .7; margin-top: 3px; display: block; }

/* ===== Section: Awards ===== */
.amff-awards-section {
  background: #111;
  color: #fff;
  padding: 56px 0;
}
.amff-awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.amff-award-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: right;
  transition: background .2s ease;
}
.amff-award-card:hover { background: rgba(255,255,255,.09); }
.amff-award-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}
.amff-award-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 8px;
}
.amff-award-category {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.amff-award-desc {
  font-size: 14px;
  color: #aaa;
  line-height: 1.6;
}

/* ===== Page Templates shared ===== */
.amff-page-hero {
  background: #111;
  color: #fff;
  padding: 80px 0 60px;
  text-align: right;
}
.amff-page-hero-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.amff-page-hero h1 {
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.amff-page-hero p {
  font-size: 18px;
  color: #ccc;
  max-width: 60ch;
  line-height: 1.7;
}
.amff-page-body {
  background: #efefef;
  color: #111;
  padding: 50px 0;
  min-height: 60vh;
}

/* ===== page-films.php ===== */
.amff-films-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  align-items: center;
}
.amff-filter-btn {
  border: 1.5px solid rgba(0,0,0,.18);
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: .2s ease;
  font-family: 'Cairo', sans-serif;
}
.amff-filter-btn.active, .amff-filter-btn:hover { background: #111; color: #fff; border-color: #111; }
.amff-films-full-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 18px;
}
@media (max-width: 1180px) { .amff-films-full-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); } }
@media (max-width: 700px) { .amff-films-full-grid { grid-template-columns: repeat(2, minmax(160px, 1fr)); } }

/* ===== page-jury.php ===== */
.amff-jury-full-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.amff-jury-full-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
@media (max-width: 1400px) { .amff-jury-full-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .amff-jury-full-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .amff-jury-full-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .amff-jury-full-grid { grid-template-columns: 1fr; } }

/* ===== page-screenings.php ===== */
.amff-screenings-intro-card {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
  color: #fff;
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
}
.amff-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #d6b86a;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.amff-screenings-intro-card h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
}
.amff-screenings-intro-card p {
  margin: 0;
  color: rgba(255,255,255,.8);
  line-height: 1.9;
  font-size: 16px;
}
.amff-screenings-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.amff-screenings-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}
.amff-screenings-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.amff-screenings-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 700;
}
.amff-venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}
.amff-venue-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid rgba(17,17,17,.05);
}
.amff-venue-card.is-active,
.amff-venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(0,0,0,.12);
  border-color: rgba(214,184,106,.6);
}
.amff-venue-trigger {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: inherit;
  cursor: pointer;
}
.amff-venue-img { aspect-ratio: 16/9; overflow: hidden; }
.amff-venue-img img { width: 100%; height: 100%; object-fit: cover; display:block; }
.amff-venue-body { padding: 24px 22px; }
.amff-venue-topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.amff-venue-body h3 { font-size: 28px; font-weight: 900; margin: 0 0 10px; }
.amff-venue-body p { font-size: 15px; color: #555; line-height: 1.9; margin: 0; }
.amff-venue-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(15,95,115,.1);
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
}
.amff-venue-open {
  font-size: 12px;
  font-weight: 800;
  color: #111;
  opacity: .7;
}
.amff-venue-meta {
  display:flex;
  gap:18px;
  margin-top: 16px;
  flex-wrap: wrap;
  color:#555;
  font-size: 13px;
  font-weight: 700;
}
.amff-venue-activities-panel {
  margin-top: 32px;
  background: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.amff-venue-activities { display:none; }
.amff-venue-activities.is-active { display:block; }
.amff-venue-activities-head {
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.amff-venue-activities-head h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
}
.amff-venue-activities-head p {
  margin: 0;
  color: #555;
  line-height: 1.9;
}
.amff-venue-activities-meta {
  display:grid;
  gap:12px;
}
.amff-venue-activities-meta span {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f3ea;
  font-size: 14px;
  font-weight: 800;
  color: #111;
}
.amff-venue-activities-list-wrap h4 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 900;
}
.amff-venue-activities-list {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.amff-activity-item {
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 18px;
  background: #fafafa;
  border: 1px solid rgba(17,17,17,.06);
}
.amff-activity-item span {
  color: #d6b86a;
  font-size: 28px;
  line-height: .8;
}
.amff-activity-item strong {
  font-size: 16px;
  line-height: 1.8;
  color: #111;
}
@media (max-width: 980px) {
  .amff-screenings-intro-card,
  .amff-venue-activities-head,
  .amff-venue-grid,
  .amff-venue-activities-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .amff-screenings-intro-card,
  .amff-venue-activities-panel { padding: 20px; }
  .amff-screenings-intro-stats { grid-template-columns: repeat(3, 1fr); }
  .amff-venue-body h3 { font-size: 24px; }
}

/* ===== page-press.php ===== */
.amff-accred-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin-top: 30px;
}
.amff-accred-form {
  background: #fff;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: 0 6px 20px rgba(0,0,0,.07);
}
.amff-accred-form h3 { font-size: 22px; font-weight: 900; margin-bottom: 20px; }
.amff-field {
  margin-bottom: 16px;
}
.amff-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #333;
}
.amff-field input,
.amff-field select,
.amff-field textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Cairo', sans-serif;
  color: #111;
  transition: border .2s;
  direction: rtl;
  background: #fafafa;
}
.amff-field input:focus,
.amff-field select:focus,
.amff-field textarea:focus { outline: none; border-color: var(--sea); background: #fff; }
.amff-field textarea { min-height: 90px; resize: vertical; }
.amff-submit-btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  transition: background .2s;
  margin-top: 6px;
}
.amff-submit-btn:hover { background: var(--sea); }
.amff-press-kits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.amff-kit-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.amff-kit-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.amff-kit-icon { font-size: 28px; flex-shrink: 0; }
.amff-kit-info h4 { font-size: 15px; font-weight: 900; margin-bottom: 4px; }
.amff-kit-info p { font-size: 12px; color: #777; }
.amff-kit-dl {
  margin-right: auto;
  background: #111;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background .2s;
}
.amff-kit-dl:hover { background: var(--sea); }
@media (max-width: 768px) { .amff-accred-grid { grid-template-columns: 1fr; } }

/* ===== page-press-releases.php ===== */
.amff-releases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
}
.amff-release-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s;
  text-decoration: none;
  color: #111;
}
.amff-release-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.11); }
.amff-release-date-badge {
  flex-shrink: 0;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  min-width: 58px;
}
.amff-release-date-badge .rday { font-size: 22px; font-weight: 900; line-height: 1; }
.amff-release-date-badge .rmonth { font-size: 11px; font-weight: 700; margin-top: 2px; }
.amff-release-content h3 { font-size: 18px; font-weight: 900; margin-bottom: 6px; line-height: 1.25; }
.amff-release-content p { font-size: 14px; color: #555; line-height: 1.6; }
.amff-release-tag {
  display: inline-block;
  background: rgba(15,95,115,.1);
  color: var(--sea);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ===== Responsive improvements (mobile) ===== */
@media (max-width: 820px) {
  .amff-nav-toggle { display: flex; }
  .amff-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #121215;
    flex-direction: column;
    padding: 16px 22px 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    z-index: 200;
    gap: 4px;
  }
  .amff-nav-links.open { display: flex; }
  .amff-nav-links a { display: block; padding: 12px 10px; border-radius: 6px; font-size: 16px; }
  .amff-nav { position: relative; }
  .amff-nav-right { gap: 8px; }
  .amff-lang-btn { display: none; }

  .amff-programme-grid { grid-template-columns: repeat(3, 1fr); overflow-x: auto; }
  .amff-awards-grid { grid-template-columns: 1fr 1fr; }
  .amff-sponsors-row { gap: 20px 30px; }
}

@media (max-width: 560px) {
  .amff-programme-grid { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .amff-awards-grid { grid-template-columns: 1fr; }
  .amff-accred-grid { grid-template-columns: 1fr; }
  .amff-release-card { flex-direction: column; gap: 12px; }
  .amff-release-date-badge { display: flex; gap: 6px; align-items: center; padding: 8px 12px; }
}

/* ===== Dropdown Nav ===== */
.amff-has-dropdown { position: relative; }
.amff-has-dropdown > a { display: flex; align-items: center; gap: 4px; }
.amff-chevron { font-size: 11px; transition: transform .2s; }
.amff-has-dropdown:hover .amff-chevron { transform: rotate(180deg); }
.amff-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #1a1a1f;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  min-width: 200px;
  padding: 8px 0;
  z-index: 300;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.amff-has-dropdown:hover .amff-dropdown { display: block; }
.amff-dropdown li { list-style: none; }
.amff-dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.amff-dropdown li a:hover { background: rgba(255,255,255,.07); color: var(--gold); }

/* ===== About page — board org chart ===== */
.amff-board-section { padding: 56px 0; background: #fff; }
.amff-board-section .amff-section-title { font-size: clamp(28px,4vw,44px); margin-bottom: 8px; }
.amff-board-subtitle { font-size: 15px; color: #666; margin-bottom: 40px; font-weight: 600; }

/* Org chart tree */
.amff-org-tree { display: flex; flex-direction: column; align-items: center; gap: 0; }
.amff-org-row { display: flex; justify-content: center; gap: 20px; position: relative; flex-wrap: wrap; }
.amff-org-row + .amff-org-row { margin-top: 0; }

/* connector lines */
.amff-org-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.amff-org-connector .line-v {
  width: 2px;
  height: 32px;
  background: #ddd;
}
.amff-org-connector .line-h-wrap {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.amff-org-connector .line-h {
  height: 2px;
  background: #ddd;
  position: absolute;
  top: 0;
}

.amff-board-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #eee;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  overflow: hidden;
  width: 200px;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.amff-board-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.amff-board-card.is-head { width: 230px; border-color: var(--gold); border-width: 2px; }

.amff-board-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8e8e8;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 20px auto 12px;
  border: 3px solid #eee;
}
.amff-board-card.is-head .amff-board-card-photo { width: 96px; height: 96px; border-color: var(--gold); }
.amff-board-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.amff-board-card-body { padding: 0 14px 18px; }
.amff-board-card-name { font-size: 15px; font-weight: 900; color: #111; line-height: 1.2; margin-bottom: 4px; }
.amff-board-card.is-head .amff-board-card-name { font-size: 17px; }
.amff-board-card-role { font-size: 12px; font-weight: 700; color: var(--sea); margin-bottom: 8px; }
.amff-board-card.is-head .amff-board-card-role { color: #8a6a1a; }
.amff-board-card-bio { font-size: 12px; color: #777; line-height: 1.5; }

/* About page text sections */
.amff-about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 52px 0; }
.amff-about-intro-text h2 { font-size: clamp(26px,3.5vw,40px); font-weight: 900; margin-bottom: 16px; }
.amff-about-intro-text p { font-size: 16px; line-height: 1.75; color: #333; }
.amff-about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.amff-about-stat-item {
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px;
  border-right: 4px solid var(--gold);
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
}
.amff-about-stat-item h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.amff-about-stat-item p { font-size: 14px; color: #555; line-height: 1.6; }

@media (max-width: 768px) {
  .amff-about-intro { grid-template-columns: 1fr; }
  .amff-board-card { width: 160px; }
  .amff-board-card.is-head { width: 180px; }
  .amff-org-row { gap: 12px; }
  .amff-dropdown { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.05); border-radius: 6px; margin-top: 4px; }
  .amff-has-dropdown:hover .amff-dropdown { display: none; }
  .amff-has-dropdown.open .amff-dropdown { display: block; }
}

/* ===== Initiative pages (Talents / Filmmaking) shared ===== */
.amff-initiative-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.amff-initiative-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #111;
}
.amff-initiative-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.amff-initiative-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 30%, rgba(0,0,0,.2));
  z-index: -1;
}
.amff-initiative-hero-content {
  padding: 60px 0 50px;
  color: #fff;
}
.amff-initiative-hero-content .amff-page-hero-kicker { color: var(--gold); }
.amff-initiative-hero-content h1 { color: #fff; }

.amff-initiative-body { background: #f3f1ec; }

/* About initiative */
.amff-initiative-about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  padding: 52px 0;
  align-items: start;
}
.amff-initiative-about-text h2 { font-size: clamp(26px,3.5vw,38px); font-weight: 900; margin-bottom: 16px; line-height: 1.1; }
.amff-initiative-about-text p { font-size: 16px; line-height: 1.8; color: #333; }
.amff-initiative-about-image { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.amff-initiative-about-image img { width: 100%; height: 100%; object-fit: cover; }

/* Conditions */
.amff-conditions-section { padding: 0 0 52px; }
.amff-conditions-section h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; margin-bottom: 24px; }
.amff-conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.amff-condition-item {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 3px 10px rgba(0,0,0,.05);
  border-right: 3px solid var(--sea);
}
.amff-condition-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--sea);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}
.amff-condition-item p { font-size: 14px; font-weight: 700; color: #222; line-height: 1.5; margin: 0; padding-top: 3px; }

/* Registration form */
.amff-reg-section { padding: 0 0 52px; }
.amff-reg-section h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; margin-bottom: 24px; }
.amff-reg-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
  max-width: 760px;
}
.amff-reg-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.amff-reg-form-grid .amff-field.full { grid-column: 1 / -1; }
.amff-reg-success {
  background: rgba(15,95,115,.1);
  border: 1.5px solid var(--sea);
  border-radius: 10px;
  padding: 20px 18px;
  color: var(--sea);
  font-weight: 800;
  font-size: 15px;
}

/* Gallery section */
.amff-gallery-section { padding: 0 0 52px; }
.amff-gallery-section h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; margin-bottom: 24px; }
.amff-initiative-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.amff-initiative-gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #ddd;
  cursor: pointer;
}
.amff-initiative-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.amff-initiative-gallery-item:hover img { transform: scale(1.05); }

/* News section */
.amff-news-section { padding: 0 0 52px; }
.amff-news-section h2 { font-size: clamp(24px,3vw,36px); font-weight: 900; margin-bottom: 24px; }
.amff-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.amff-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
}
.amff-news-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.12); transform: translateY(-3px); }
.amff-news-card-img { aspect-ratio: 16/9; overflow: hidden; background: #ccc; }
.amff-news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.amff-news-card-body { padding: 18px 16px; }
.amff-news-card-date { font-size: 12px; color: #999; font-weight: 700; margin-bottom: 8px; }
.amff-news-card-title { font-size: 16px; font-weight: 900; line-height: 1.3; margin-bottom: 8px; }
.amff-news-card-text { font-size: 13px; color: #555; line-height: 1.6; }

/* ===== Tributes page ===== */
.amff-tribute-card {
  background: #111;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 320px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  margin-bottom: 28px;
  transition: transform .2s;
}
.amff-tribute-card:hover { transform: translateY(-3px); }
.amff-tribute-card:nth-child(even) { grid-template-columns: 1fr 280px; direction: ltr; }
.amff-tribute-card:nth-child(even) .amff-tribute-body { direction: rtl; }
.amff-tribute-photo { overflow: hidden; position: relative; }
.amff-tribute-photo img { width: 100%; height: 100%; object-fit: cover; }
.amff-tribute-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(17,17,17,.6), transparent 50%);
}
.amff-tribute-card:nth-child(even) .amff-tribute-photo::after {
  background: linear-gradient(to right, rgba(17,17,17,.6), transparent 50%);
}
.amff-tribute-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.amff-tribute-country {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
}
.amff-tribute-name { font-size: clamp(24px, 3vw, 38px); font-weight: 900; line-height: 1.05; }
.amff-tribute-title-role { font-size: 14px; color: #aaa; font-weight: 700; }
.amff-tribute-bio { font-size: 14px; color: #ccc; line-height: 1.7; max-width: 52ch; }
.amff-tribute-films { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.amff-tribute-film-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #ddd;
}

@media (max-width: 820px) {
  .amff-tribute-card,
  .amff-tribute-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: rtl;
  }
  .amff-tribute-photo { aspect-ratio: 16/9; height: 220px; }
  .amff-tribute-photo::after,
  .amff-tribute-card:nth-child(even) .amff-tribute-photo::after {
    background: linear-gradient(to top, rgba(17,17,17,.7), transparent 50%);
  }
  .amff-tribute-body { direction: rtl; padding: 24px 20px; }
  .amff-initiative-about { grid-template-columns: 1fr; }
  .amff-conditions-grid { grid-template-columns: 1fr; }
  .amff-reg-form-grid { grid-template-columns: 1fr; }
  .amff-initiative-gallery { grid-template-columns: repeat(2, 1fr); }
  .amff-news-grid { grid-template-columns: 1fr; }
}


/* === 2026 admin-driven programme, awards, and detail cards === */
.amff-award-media{height:170px;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.05);margin-bottom:18px;display:flex;align-items:center;justify-content:center;}
.amff-award-media img{width:100%;height:100%;object-fit:cover;display:block;}
.amff-award-icon{font-size:46px;}
.amff-programme-grid-page{align-items:start;margin-bottom:28px;}
.amff-programme-details{margin-top:26px;}
.amff-event-item{width:100%;text-align:right;border:none;cursor:pointer;}
.amff-event-item.active{outline:2px solid rgba(15,95,115,.18);}
.amff-event-detail-card{display:none;grid-template-columns:minmax(260px,340px) 1fr;gap:24px;background:#fff;border:1px solid #ececec;border-radius:24px;padding:24px;box-shadow:0 18px 50px rgba(0,0,0,.05);align-items:start;}
.amff-event-detail-card.active{display:grid;}
.amff-event-detail-media img{width:100%;height:320px;object-fit:cover;border-radius:18px;display:block;}
.amff-event-detail-body h3{margin:10px 0 14px;font-size:34px;line-height:1.2;color:#101010;}
.amff-event-badge{display:inline-flex;padding:8px 14px;border-radius:999px;background:#f3f5f7;color:#0f5f73;font-weight:800;font-size:13px;}
.amff-event-meta-row{display:flex;gap:18px;flex-wrap:wrap;color:#444;font-weight:700;margin-bottom:14px;}
.amff-event-support{color:#0f5f73;font-weight:700;}
@media (max-width:900px){.amff-event-detail-card,.amff-event-detail-card.active{grid-template-columns:1fr;}}


/* ===== 2026 refinement ===== */
.amff-page-hero--inner {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,.82) 48%, rgba(10,10,12,.62) 100%),
    var(--amff-hero-image, linear-gradient(120deg,#0d0d11,#1a1a22));
  background-size: cover;
  background-position: center;
  padding: 54px 0 46px;
}
.amff-page-hero--compact { min-height: 260px; }
.amff-page-body--light,
.amff-initiative-body.amff-page-body--light {
  background: #f6f4ef;
  color: #111;
  padding: 42px 0 64px;
}
.amff-about-intro--clean {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:start;
  margin-bottom:54px;
}
.amff-about-stats--stacked { display:grid; gap:18px; }
.amff-about-stat-item.is-accent { border-color: var(--gold); }
.amff-section-title--center { text-align:center; }
.amff-board-section--flat { background:transparent; padding:0 0 40px; }
.amff-board-headline { margin-bottom:26px; }
.amff-board-subtitle--muted { text-align:center; color:#6d6d6d; margin-top:8px; margin-bottom:30px; font-size:18px; }
.amff-org-tree--clean { display:grid; gap:22px; }
.amff-org-row--single { justify-content:center; }
.amff-org-row--trio,
.amff-org-row--team { justify-content:center; }
.amff-org-divider { width:2px; height:34px; background:#d7d1c2; margin:0 auto; }
.amff-org-team-label {
  display:inline-flex; align-items:center; justify-content:center; margin:0 auto; padding:10px 22px;
  border:1px solid rgba(17,17,17,.12); background:#fff; border-radius:999px; font-weight:800; color:#111;
}
.amff-board-card {
  background:#fff; border:1px solid rgba(199,165,91,.38); border-radius:22px; box-shadow:0 10px 30px rgba(0,0,0,.05);
}
.amff-board-card-name { color:#111; }
.amff-board-card-role { color:var(--gold); }
.amff-board-card-bio { color:#555; }
.amff-photos-toolbar {
  display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px;
}
.amff-photos-toolbar-title { font-size:clamp(28px,4vw,58px); font-weight:900; color:#111; letter-spacing:-.03em; }
.amff-photos-filters {
  display:flex; gap:14px; flex-wrap:wrap; padding:18px; background:#fff; border:1px solid rgba(17,17,17,.08);
  border-radius:18px; margin-bottom:28px;
}
.amff-photo-search,
.amff-photo-select {
  min-height:52px; border-radius:12px; border:1px solid rgba(17,17,17,.16); background:#fff; padding:0 16px; font:inherit; color:#111;
}
.amff-photo-search { flex:1 1 320px; }
.amff-photo-select { min-width:190px; }
.amff-photo-masonry { column-count:4; column-gap:16px; }
.amff-photo-card { break-inside:avoid; margin-bottom:16px; border-radius:24px; overflow:hidden; background:#ddd; box-shadow:0 8px 24px rgba(0,0,0,.07); }
.amff-photo-card img { width:100%; height:auto; display:block; }
.amff-photo-card--initiative { border-radius:18px; }
.amff-photo-masonry--initiative { column-count:3; }
@media (max-width: 1100px) {
  .amff-photo-masonry { column-count:3; }
  .amff-about-intro--clean { grid-template-columns:1fr; }
}
@media (max-width: 760px) {
  .amff-page-hero--inner { min-height:340px; }
  .amff-photo-masonry, .amff-photo-masonry--initiative { column-count:2; }
  .amff-photos-toolbar { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 520px) {
  .amff-photo-masonry, .amff-photo-masonry--initiative { column-count:1; }
}

/* ===== 2026 full visual rebuild overrides ===== */
:root {
  --page-bg: #f5f3ed;
  --page-card: #ffffff;
  --page-line: rgba(17,17,17,.08);
}

body {
  background: #0c0c10;
}

.amff-nav {
  min-height: 96px;
  padding: 0 28px;
  background: linear-gradient(90deg,#0d0d12 0%, #14141c 100%);
}
.amff-nav-links a {
  font-size: 16px;
  font-weight: 800;
  padding: 10px 16px;
}
.amff-ticket-btn {
  background: #fff;
  color: #111;
  border-radius: 10px;
  padding: 14px 24px;
  font-weight: 900;
}
.amff-page-hero {
  background: #0b0b0d;
}
.amff-page-hero--inner {
  min-height: 500px;
  padding: 70px 0 54px;
  background:
    linear-gradient(90deg, rgba(8,8,11,.98) 0%, rgba(8,8,11,.92) 46%, rgba(8,8,11,.78) 100%),
    var(--amff-hero-image, linear-gradient(120deg,#0d0d11,#1a1a22));
}
.amff-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}
.amff-page-hero-copy {
  max-width: 980px;
  margin-right: auto;
  padding-left: 8px;
}
.amff-page-hero-kicker {
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 18px;
}
.amff-page-hero h1 {
  font-size: clamp(46px, 8vw, 110px);
  line-height: .92;
  margin-bottom: 22px;
}
.amff-page-hero p {
  color: rgba(255,255,255,.8);
  font-size: clamp(18px, 2vw, 24px);
  max-width: 34ch;
}
.amff-page-body,
.amff-page-body--light,
.amff-initiative-body.amff-page-body--light {
  background: var(--page-bg);
  color: #111;
  padding: 56px 0 80px;
}
.amff-section-title,
.amff-about-intro-text h2,
.amff-gallery-section h2,
.amff-news-section h2,
.amff-reg-section h2,
.amff-conditions-section h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.amff-about-intro--clean {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 32px;
}
.amff-about-intro-text,
.amff-about-stat-item,
.amff-programme-details,
.amff-films-full-grid,
.amff-jury-full-grid,
.amff-venue-card,
.amff-accred-form,
.amff-release-card {
  border-radius: 28px;
}
.amff-about-intro-text,
.amff-about-stat-item,
.amff-conditions-section,
.amff-reg-form,
.amff-news-card,
.amff-release-card,
.amff-accred-form,
.amff-venue-card,
.amff-event-detail-card,
.amff-kit-card {
  background: var(--page-card);
  border: 1px solid var(--page-line);
  box-shadow: 0 16px 44px rgba(0,0,0,.05);
}
.amff-about-intro-text,
.amff-about-stat-item {
  padding: 34px;
}
.amff-about-intro-text p,
.amff-about-stat-item p {
  font-size: 18px;
  line-height: 1.95;
  color: #444;
}
.amff-board-headline--solo {
  margin-bottom: 34px;
}
.amff-board-headline--solo .amff-section-title {
  margin-bottom: 0;
}
.amff-org-tree--clean {
  gap: 28px;
}
.amff-org-row--single,
.amff-org-row--trio,
.amff-org-row--team {
  gap: 26px;
}
.amff-org-row--single .amff-board-card {
  min-width: 280px;
}
.amff-org-team-block {
  display: grid;
  gap: 18px;
}
.amff-org-team-label {
  min-width: 140px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(199,165,91,.42);
  color: #111;
  font-size: 15px;
}
.amff-org-divider,
.amff-board-subtitle,
.amff-board-subtitle--muted {
  display: none;
}
.amff-board-card {
  width: 220px;
  border-radius: 24px;
  border: 1px solid rgba(199,165,91,.44);
  padding-top: 16px;
}
.amff-board-card.is-head {
  width: 300px;
  border-width: 2px;
}
.amff-board-card-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border: 3px solid rgba(199,165,91,.9);
}
.amff-board-card.is-head .amff-board-card-photo {
  width: 108px;
  height: 108px;
}
.amff-board-card-body {
  padding: 0 18px 20px;
}
.amff-board-card-name {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.amff-board-card-role {
  font-size: 14px;
  margin-bottom: 8px;
}
.amff-board-card-bio {
  font-size: 13px;
  line-height: 1.8;
}
.amff-regulations-section {
  padding-top: 26px;
}
.amff-regulations-card {
  background: var(--page-card);
  border: 1px solid var(--page-line);
  border-radius: 28px;
  box-shadow: 0 16px 44px rgba(0,0,0,.05);
  padding: clamp(28px, 4vw, 56px);
}
.amff-regulations-content {
  max-width: 920px;
  margin: 0 auto;
}
.amff-regulations-text {
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 2;
  color: #2d2d2d;
  text-align: right;
}
.amff-regulations-text > *:first-child {
  margin-top: 0;
}
.amff-regulations-text p {
  margin: 0 0 18px;
}
.amff-regulations-text h2,
.amff-regulations-text h3,
.amff-regulations-text h4,
.amff-regulations-text strong {
  color: #111;
  font-weight: 900;
}
.amff-regulations-text h2,
.amff-regulations-text h3,
.amff-regulations-text h4 {
  line-height: 1.35;
  margin: 32px 0 14px;
}
.amff-regulations-text h2 {
  font-size: clamp(28px, 2.2vw, 40px);
}
.amff-regulations-text h3 {
  font-size: clamp(22px, 1.8vw, 30px);
}
.amff-regulations-text h4 {
  font-size: clamp(19px, 1.5vw, 24px);
}
.amff-regulations-text ul,
.amff-regulations-text ol {
  margin: 0 0 24px;
  padding-right: 1.5em;
}
.amff-regulations-text li {
  margin-bottom: 8px;
}
.amff-regulations-text blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-right: 4px solid var(--gold, #c6a86a);
  background: rgba(198,168,106,.08);
  border-radius: 18px;
}
@media (max-width: 768px) {
  .amff-regulations-card {
    border-radius: 22px;
    padding: 22px 18px;
  }
  .amff-regulations-text {
    font-size: 17px;
    line-height: 1.9;
  }
}

.amff-photos-shell {
  display: grid;
  gap: 24px;
}
.amff-photos-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.amff-photos-eyebrow {
  font-size: 15px;
  color: #777;
  font-weight: 700;
  margin-bottom: 6px;
}
.amff-photos-title {
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 900;
  line-height: .95;
  color: #111;
}
.amff-photos-filters--full {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(160px, .5fr));
  gap: 16px;
  align-items: end;
  padding: 26px;
  border-radius: 24px;
}
.amff-filter-stack {
  display: grid;
  gap: 8px;
}
.amff-filter-stack label {
  font-size: 15px;
  font-weight: 800;
  color: #444;
}
.amff-filter-stack--count {
  justify-items: start;
}
.amff-photo-count {
  min-height: 54px;
  min-width: 110px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #111;
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}
.amff-photo-masonry,
.amff-photo-masonry--initiative {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 72px;
  gap: 18px;
  column-count: unset;
}
.amff-photo-card {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.amff-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.amff-photo-card:hover img {
  transform: scale(1.04);
}
.amff-photo-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.76) 100%);
  color: #fff;
  display: grid;
  gap: 3px;
}
.amff-photo-card figcaption strong {
  font-size: 18px;
  font-weight: 900;
}
.amff-photo-card figcaption span {
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.amff-photo-card.is-wide { grid-column: span 6; grid-row: span 4; }
.amff-photo-card.is-tall { grid-column: span 3; grid-row: span 6; }
.amff-photo-card.is-portrait { grid-column: span 4; grid-row: span 5; }
.amff-photo-card.is-square { grid-column: span 3; grid-row: span 4; }
.amff-photo-card--initiative.is-wide { grid-column: span 6; grid-row: span 4; }
.amff-photo-card--initiative.is-tall { grid-column: span 4; grid-row: span 6; }
.amff-photo-card--initiative.is-portrait { grid-column: span 4; grid-row: span 5; }
.amff-photo-card--initiative.is-square { grid-column: span 4; grid-row: span 4; }

@media (max-width: 1180px) {
  .amff-org-row--single .amff-board-card,
  .amff-board-card.is-head { min-width: unset; width: 100%; max-width: 320px; }
  .amff-board-card { width: 100%; max-width: 220px; }
  .amff-board-card-name { font-size: 20px; }
  .amff-board-card-role { font-size: 14px; }
  .amff-photo-masonry,
  .amff-photo-masonry--initiative { grid-auto-rows: 60px; }
}
@media (max-width: 900px) {
  .amff-page-hero--inner { min-height: 380px; }
  .amff-photos-filters--full { grid-template-columns: 1fr 1fr; }
  .amff-photo-card.is-wide,
  .amff-photo-card.is-tall,
  .amff-photo-card.is-portrait,
  .amff-photo-card.is-square,
  .amff-photo-card--initiative.is-wide,
  .amff-photo-card--initiative.is-tall,
  .amff-photo-card--initiative.is-portrait,
  .amff-photo-card--initiative.is-square { grid-column: span 6; grid-row: span 4; }
}
@media (max-width: 680px) {
  .amff-nav { min-height: 84px; padding: 0 16px; }
  .amff-ticket-btn { padding: 12px 16px; }
  .amff-page-hero h1 { font-size: clamp(38px, 13vw, 72px); }
  .amff-page-hero p { font-size: 17px; }
  .amff-about-intro-text,
  .amff-about-stat-item,
  .amff-reg-form,
  .amff-event-detail-card { padding: 22px; }
  .amff-photos-topline { align-items: flex-start; flex-direction: column; }
  .amff-photos-filters--full { grid-template-columns: 1fr; }
  .amff-photo-masonry,
  .amff-photo-masonry--initiative { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 56px; }
  .amff-photo-card.is-wide,
  .amff-photo-card.is-tall,
  .amff-photo-card.is-portrait,
  .amff-photo-card.is-square,
  .amff-photo-card--initiative.is-wide,
  .amff-photo-card--initiative.is-tall,
  .amff-photo-card--initiative.is-portrait,
  .amff-photo-card--initiative.is-square { grid-column: span 6; grid-row: span 4; }
}


/* --- 2026 rebuild fixes --- */
.amff-page-hero--inner{position:relative;overflow:hidden;background:linear-gradient(135deg,#08080b 0%,#11111a 58%,#181825 100%);padding:72px 0 68px;border-bottom:1px solid rgba(255,255,255,.06)}
.amff-page-hero--inner::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(199,165,91,.22),transparent 36%),radial-gradient(circle at bottom left,rgba(15,95,115,.18),transparent 28%);pointer-events:none}
.amff-page-hero--inner[style*="--amff-hero-image"]::after{content:"";position:absolute;inset:0;background-image:var(--amff-hero-image);background-size:cover;background-position:center;opacity:.12;mix-blend-mode:screen}
.amff-page-hero-grid,.amff-page-hero-copy{position:relative;z-index:2}
.amff-page-hero-copy{max-width:860px}
.amff-page-hero-kicker{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.06);color:var(--gold);padding:10px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.08);margin-bottom:18px;font-weight:800}
.amff-publications-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.amff-publication-hub-card{background:#fff;border:1px solid #ece7da;border-radius:24px;padding:28px;box-shadow:0 18px 42px rgba(0,0,0,.06);text-decoration:none;color:#111;display:flex;flex-direction:column;gap:12px;transition:transform .2s, box-shadow .2s}
.amff-publication-hub-card:hover{transform:translateY(-4px);box-shadow:0 24px 54px rgba(0,0,0,.1);color:#111}
.amff-publication-hub-card span{font-size:12px;font-weight:800;color:var(--gold);letter-spacing:.08em}
.amff-publication-hub-card h3{font-size:28px;line-height:1.2;margin:0;font-weight:900}
.amff-publication-hub-card p{margin:0;color:#666;line-height:1.8}
.amff-publication-hub-card strong{margin-top:auto}
.amff-publication-layout{display:grid;grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:42px;align-items:start}
.amff-publication-cover{border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.14);background:#111}
.amff-publication-cover img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.amff-publication-pill{display:inline-flex;background:#111;color:var(--gold);padding:7px 14px;border-radius:999px;font-size:12px;font-weight:800;margin-bottom:16px}
.amff-publication-content h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:0 0 14px;font-weight:900}
.amff-publication-lead{font-size:16px;color:#595959;line-height:1.9;margin:0 0 24px}
.amff-publication-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}
.amff-publication-meta div{background:#fff;border-radius:14px;padding:16px 18px;box-shadow:0 6px 20px rgba(0,0,0,.06);display:flex;flex-direction:column;gap:6px}
.amff-publication-meta strong{font-size:12px;color:#888}
.amff-publication-meta span{font-size:15px;font-weight:800;color:#111}
.amff-publication-actions{display:flex;gap:12px;flex-wrap:wrap}
.amff-publication-listing{margin-top:34px;background:#fff;border-radius:22px;padding:24px;box-shadow:0 8px 26px rgba(0,0,0,.05)}
.amff-publication-listing h3{margin:0 0 16px;font-size:22px;font-weight:900}
.amff-publication-film-list{display:flex;flex-direction:column}
.amff-publication-film-row{display:flex;justify-content:space-between;gap:20px;padding:15px 0;border-bottom:1px solid #eee}
.amff-publication-film-row:last-child{border-bottom:none}
.amff-publication-film-row strong{display:block;font-size:15px}
.amff-publication-film-row span,.amff-publication-film-row em{font-size:13px;color:#777;font-style:normal}
@media(max-width:980px){.amff-publications-grid,.amff-publication-meta{grid-template-columns:1fr}.amff-publication-layout{grid-template-columns:1fr}.amff-publication-cover{max-width:360px}.amff-publication-film-row{flex-direction:column;gap:6px}}


/* Deep structural unification */
.amff-subnav-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px}
.amff-page-hero--inner{background:linear-gradient(180deg,#0b0b0f 0%,#13141a 100%);color:#fff;padding:72px 0 54px;position:relative;overflow:hidden}
.amff-page-hero--inner::before{content:"";position:absolute;inset:0;background-image:var(--amff-hero-image);background-size:cover;background-position:center;opacity:.18;pointer-events:none}
.amff-page-hero-grid,.amff-page-hero-copy{position:relative;z-index:1}
.amff-page-hero-copy{max-width:880px}
.amff-page-hero-kicker{color:var(--gold);font-weight:800;margin-bottom:14px}
.amff-page-hero--inner h1{font-size:clamp(38px,8vw,88px);line-height:.98;margin:0 0 16px;font-weight:900}
.amff-page-hero--inner p{max-width:820px;color:#d8d8dd;font-size:clamp(16px,2vw,22px);line-height:1.7;margin:0}
.amff-page-body--light{background:#f5f5f2}
.amff-films-full-grid,.amff-jury-grid,.amff-venues-grid,.amff-publications-grid,.amff-press-kits,.amff-releases-list{align-items:stretch}
.amff-photo-masonry--editorial{column-count:4;column-gap:18px}
.amff-photo-card{break-inside:avoid;margin:0 0 18px;border-radius:22px;overflow:hidden;position:relative;background:#111}
.amff-photo-card img{display:block;width:100%;height:auto}
.amff-photo-card figcaption{position:absolute;inset:auto 0 0 0;padding:18px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.85));color:#fff;display:flex;flex-direction:column;gap:4px}
.amff-photo-card.is-wide img,.amff-photo-card.is-square img,.amff-photo-card.is-tall img,.amff-photo-card.is-portrait img{aspect-ratio:auto}
.amff-initiative-body,.amff-page-body{padding:42px 0 70px}
.amff-photos-shell{padding-top:10px}
.amff-photos-title{font-size:clamp(32px,5vw,64px);margin:4px 0 0;font-weight:900}
.amff-photos-eyebrow{font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:#707070;font-weight:800}
@media (max-width:1100px){.amff-photo-masonry--editorial{column-count:3}}
@media (max-width:820px){.amff-page-hero--inner h1{font-size:clamp(34px,11vw,54px)}.amff-photo-masonry--editorial{column-count:2}}
@media (max-width:560px){.amff-photo-masonry--editorial{column-count:1}.amff-subnav-row{gap:8px}}

/* restore title sizes from full rebuild */
.amff-page-hero-copy h1{font-size:clamp(42px, 7vw, 90px);font-weight:900;line-height:.95;letter-spacing:-.03em;margin-bottom:18px;color:#fff}
.amff-page-hero-copy p{font-size:18px;color:#ccc;max-width:60ch;line-height:1.7;margin:0}

/* ============================================================
   GALLERY V2 — صفحة الصور مع تصنيفات وفلاتر و Lightbox
   ============================================================ */

/* شريط الأدوات */
.amff-gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 0 8px;
}
.amff-gallery-toolbar__left { display: flex; align-items: baseline; gap: 10px; }
.amff-gallery-count-badge {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #111;
  letter-spacing: -.04em;
}
.amff-gallery-count-label {
  font-size: 20px;
  font-weight: 700;
  color: #888;
}
.amff-gallery-search {
  height: 52px;
  padding: 0 22px;
  border-radius: 100px;
  border: 2px solid #e0e0e0;
  font-size: 16px;
  min-width: 260px;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
  font-family: inherit;
  direction: rtl;
}
.amff-gallery-search:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

/* أزرار التصنيف */
.amff-gallery-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 20px;
}
.amff-cat-btn {
  height: 44px;
  padding: 0 22px;
  border-radius: 100px;
  border: 2px solid #e0e0e0;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #444;
  transition: all .18s ease;
  font-family: inherit;
  white-space: nowrap;
}
.amff-cat-btn:hover {
  border-color: #111;
  color: #111;
}
.amff-cat-btn--active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* شبكة الصور — Masonry بـ CSS columns */
.amff-gallery-grid-v2 {
  columns: 4;
  column-gap: 16px;
}
.amff-gallery-card {
  break-inside: avoid;
  margin: 0 0 16px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.amff-gallery-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.amff-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .4s ease;
}
.amff-gallery-card:hover img { transform: scale(1.04); }
.amff-gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.82) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity .25s ease;
}
.amff-gallery-card:hover figcaption, .amff-gallery-card:focus figcaption { opacity: 1; }
.amff-gallery-card__cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #f5c842;
}
.amff-gallery-card__title { font-size: 16px; font-weight: 900; }

/* رسالة لا نتائج */
.amff-gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 80px 20px;
  color: #888;
}
.amff-gallery-empty span { font-size: 48px; }
.amff-gallery-empty p { font-size: 20px; font-weight: 700; margin: 0; }

/* ── Lightbox ── */
.amff-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amff-lightbox__wrap {
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.amff-lightbox__wrap img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.amff-lightbox__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.amff-lightbox__cat {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f5c842;
}
.amff-lightbox__title { font-size: 18px; font-weight: 900; }
.amff-lightbox__close {
  position: absolute;
  top: 20px;
  left: 24px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.amff-lightbox__close:hover { background: rgba(255,255,255,.25); }
.amff-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.amff-lightbox__nav:hover { background: rgba(255,255,255,.25); }
.amff-lightbox__nav--prev { right: 24px; }
.amff-lightbox__nav--next { left: 24px; }

/* Responsive */
@media (max-width: 1100px) { .amff-gallery-grid-v2 { columns: 3; } }
@media (max-width: 720px)  { .amff-gallery-grid-v2 { columns: 2; } .amff-gallery-search { min-width: 180px; } }
@media (max-width: 480px)  { .amff-gallery-grid-v2 { columns: 1; } .amff-gallery-count-badge { font-size: 36px; } }

/* ===== Stage 1 refresh: films + jury ===== */
.amff-filter-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amff-film-card-rich {
  min-width: 0;
  flex: 0 0 calc((100% - 4 * 16px) / 5);
}

.amff-film-card-rich .amff-film-poster {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

.amff-film-carousel-page {
  gap: 16px;
  padding: 6px 0 18px;
}

.amff-film-panel {
  margin-bottom: 36px;
}

.amff-carousel-head-page {
  align-items: flex-end;
  margin-bottom: 18px;
}

.amff-carousel-copy p {
  margin: 8px 0 0;
  color: #5f5f5f;
  max-width: 760px;
}

.amff-carousel-actions {
  display: flex;
  gap: 8px;
}

.amff-carousel-head-page .amff-arrow-btn {
  width: 42px;
  height: 42px;
  font-size: 22px;
}

.amff-subsection-title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
}

.amff-film-meta-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.amff-film-meta-line span,
.amff-modal-pill,
.amff-jury-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(17,17,17,.06);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.amff-section-header-compact {
  margin-bottom: 18px;
}

.amff-jury-group-block {
  margin-bottom: 42px;
}

.amff-jury-card-page {
  background: #fff;
  border: 1px solid rgba(17,17,17,.08);
}

.amff-jury-grid-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}
.amff-jury-grid-carousel > .amff-jury-card {
  flex: 0 0 min(240px, 72vw);
  scroll-snap-align: start;
}

.amff-modal-open {
  overflow: hidden;
}

.amff-modal[hidden] {
  display: none !important;
}

.amff-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.amff-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(4px);
}

.amff-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
}

.amff-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(17,17,17,.86);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.amff-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
}

.amff-modal-media {
  min-height: 100%;
  background: #111;
}

.amff-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.amff-modal-body {
  padding: 40px 36px;
}

.amff-modal-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #9b6a06;
  margin-bottom: 14px;
}

.amff-modal-body h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.amff-modal-meta {
  font-size: 16px;
  color: #474747;
  margin-bottom: 18px;
}

.amff-modal-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.amff-modal-schedule {
  margin: 0 0 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(214,168,76,.16), rgba(17,17,17,.03));
  border: 1px solid rgba(17,17,17,.08);
}

.amff-modal-schedule-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #8f6100;
  margin-bottom: 8px;
}

.amff-modal-schedule-main {
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.2;
  font-weight: 900;
  color: #111;
  margin-bottom: 12px;
}

.amff-modal-schedule .amff-modal-pills {
  margin-bottom: 0;
}

.amff-modal-body p {
  margin: 0;
  line-height: 1.9;
  color: #222;
  font-size: 16px;
}

html[dir="rtl"] .amff-film-info,
html[dir="rtl"] .amff-carousel-copy,
html[dir="rtl"] .amff-jury-body,
html[dir="rtl"] .amff-modal-body {
  text-align: right;
}

html[dir="rtl"] .amff-modal-close {
  left: auto;
  right: 14px;
}

@media (max-width: 900px) {
  .amff-modal-grid {
    grid-template-columns: 1fr;
  }

  .amff-modal-media img {
    min-height: 280px;
  }

  .amff-modal-body {
    padding: 24px 20px 28px;
  }
}

@media (max-width: 1180px) {
  .amff-film-card-rich {
    flex-basis: calc((100% - 2 * 16px) / 3);
  }
}

@media (max-width: 900px) {
  .amff-film-card-rich {
    flex-basis: calc((100% - 16px) / 2);
  }
}

@media (max-width: 700px) {
  .amff-film-card-rich {
    flex-basis: 78vw;
  }

  .amff-carousel-head-page {
    align-items: flex-start;
  }

  .amff-jury-full-grid {
    grid-template-columns: 1fr;
  }
  .amff-jury-grid-carousel > .amff-jury-card {
    flex-basis: 78vw;
  }
}

/* ===== Phase 2 enhancements ===== */
.amff-award-card.has-image{position:relative;min-height:320px;background-size:cover;background-position:center;overflow:hidden;display:flex;align-items:flex-end;border:none;box-shadow:0 22px 48px rgba(0,0,0,.22)}
.amff-award-card.has-image .amff-award-card-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.78))}
.amff-award-card-content{position:relative;z-index:1}
.amff-award-card.has-image .amff-award-title,.amff-award-card.has-image .amff-award-desc{color:#fff}
.amff-award-card.has-image .amff-award-category{color:#f3d48f}
.amff-release-featured{display:grid;grid-template-columns:minmax(280px,420px) minmax(0,1fr);gap:34px;align-items:stretch;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.08);margin:28px 0 34px}
.amff-release-featured-media img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover}
.amff-release-featured-body{padding:32px 34px}
.amff-release-featured-body h2{font-size:clamp(30px,4vw,46px);line-height:1.05;margin:14px 0 16px;font-weight:900}
.amff-release-lead{font-size:18px;color:#575757;line-height:1.85;margin:0 0 18px}
.amff-release-meta-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.amff-release-date-inline{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;background:#f3efe5;border-radius:999px;font-size:12px;font-weight:800;color:#5a4b2a}
.amff-release-richtext{font-size:16px;line-height:2;color:#242424}
.amff-release-richtext p{margin:0 0 1em}
.amff-releases-list--grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.amff-release-card--media{display:flex;flex-direction:column;padding:0;overflow:hidden;gap:0}
.amff-release-card-media img{width:100%;aspect-ratio:16/10;display:block;object-fit:cover}
.amff-release-card--media .amff-release-content{padding:20px}
.amff-magazine-showcase{margin:18px 0 36px}
.amff-magazine-featured-card{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);gap:34px;align-items:center;background:linear-gradient(135deg,#fff 0%,#f8f4eb 100%);border-radius:30px;padding:28px;box-shadow:0 26px 60px rgba(0,0,0,.08)}
.amff-magazine-featured-cover img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:22px;box-shadow:0 24px 56px rgba(0,0,0,.18)}
.amff-magazine-featured-copy h2{font-size:clamp(30px,4vw,50px);line-height:1.04;margin:0 0 12px;font-weight:900}
.amff-magazine-featured-subtitle{font-size:18px;color:#8a6a1a;margin:0 0 14px;font-weight:800}
.amff-magazine-issues-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.amff-magazine-issue-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.07);display:flex;flex-direction:column}
.amff-magazine-issue-cover img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}
.amff-magazine-issue-body{padding:22px;display:flex;flex-direction:column;gap:12px;height:100%}
.amff-magazine-issue-body h3{margin:0;font-size:26px;line-height:1.15;font-weight:900}
.amff-magazine-issue-body p{margin:0;color:#666;line-height:1.8}
.amff-magazine-issue-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.amff-magazine-issue-subtitle{font-size:15px;color:#8a6a1a;font-weight:800}
html[dir="rtl"] .amff-release-featured,html[dir="rtl"] .amff-magazine-featured-card,html[dir="rtl"] .amff-publication-layout,html[dir="rtl"] .amff-publication-film-row,html[dir="rtl"] .amff-magazine-issue-topline,html[dir="rtl"] .amff-release-meta-line{direction:rtl}
html[dir="rtl"] .amff-section-header,html[dir="rtl"] .amff-release-content,html[dir="rtl"] .amff-release-featured-body,html[dir="rtl"] .amff-publication-content,html[dir="rtl"] .amff-magazine-featured-copy,html[dir="rtl"] .amff-magazine-issue-body{text-align:right}
html[dir="rtl"] .amff-section-header{flex-direction:row-reverse}
html[dir="rtl"] .amff-publication-meta strong,html[dir="rtl"] .amff-publication-meta span{text-align:right}
html[dir="rtl"] .amff-publication-actions,html[dir="rtl"] .amff-magazine-issue-topline{justify-content:flex-start}
html[dir="rtl"] .amff-publication-film-row{flex-direction:row-reverse}
html[dir="rtl"] .amff-release-card--media .amff-release-content h3,html[dir="rtl"] .amff-magazine-issue-body h3{text-align:right}
html[dir="ltr"] .amff-section-header,html[dir="ltr"] .amff-release-content,html[dir="ltr"] .amff-release-featured-body,html[dir="ltr"] .amff-publication-content,html[dir="ltr"] .amff-magazine-featured-copy,html[dir="ltr"] .amff-magazine-issue-body{text-align:left}
@media(max-width:980px){.amff-releases-list--grid,.amff-magazine-issues-grid{grid-template-columns:1fr}.amff-release-featured,.amff-magazine-featured-card{grid-template-columns:1fr}.amff-release-featured-media img{min-height:280px}}


/* Hero alignment update — keep copy on the right like the films page reference */
.amff-page-hero-grid{display:flex;justify-content:flex-end}
.amff-page-hero-copy{width:min(100%,860px);margin-left:auto !important;margin-right:0 !important;padding-left:0;padding-right:8px;text-align:right;align-self:center}
.amff-page-hero-copy .amff-page-hero-kicker{justify-content:flex-start}
.amff-page-hero-copy h1,.amff-page-hero-copy p{text-align:right;margin-right:0;margin-left:auto}

.amff-hero-content{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.amff-hero-kicker,.amff-hero-title,.amff-hero-subtitle,.amff-hero-date{text-align:right}
.amff-hero-subtitle,.amff-hero-date{margin-left:auto;margin-right:0}

@media (max-width: 820px){
  .amff-page-hero-grid{display:block}
  .amff-page-hero-copy{width:100%;max-width:100%;padding-right:0}
  .amff-hero-content{align-items:flex-start}
}


/* Talents page refresh */
.amff-talents-page{display:grid;gap:34px}
.amff-talents-overview{display:grid;grid-template-columns:minmax(320px,1.08fr) minmax(0,.92fr);gap:30px;align-items:stretch;padding-top:8px}
.amff-talents-media{position:relative;border-radius:32px;overflow:hidden;min-height:100%;background:#0f3041;box-shadow:0 24px 56px rgba(0,0,0,.08)}
.amff-talents-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(4,18,24,.06) 100%);pointer-events:none}
.amff-talents-media img{display:block;width:100%;height:100%;min-height:420px;object-fit:cover}
.amff-talents-story{display:grid;gap:20px}
.amff-talents-story-card,.amff-talents-registration-intro,.amff-talents-registration-form,.amff-talents-conditions,.amff-gallery-section,.amff-news-section{background:#fff;border:1px solid rgba(17,17,17,.08);border-radius:30px;box-shadow:0 18px 42px rgba(0,0,0,.05)}
.amff-talents-story-card{padding:34px 34px 30px;background:linear-gradient(160deg,#ffffff 0%,#f6f8fb 100%)}
.amff-talents-kicker{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:9px 14px;background:rgba(199,165,91,.12);color:#6f571f;font-size:13px;font-weight:900;margin-bottom:16px}
.amff-talents-story-card h2,.amff-talents-section-head h2,.amff-talents-registration-intro h2{font-size:clamp(30px,4vw,56px);line-height:.98;letter-spacing:-.03em;margin:0 0 18px;font-weight:900;color:#111}
.amff-talents-story-card p,.amff-talents-registration-intro p{font-size:17px;line-height:1.95;color:#444;margin:0}
.amff-talents-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.amff-talents-stat{background:linear-gradient(180deg,#0c1118 0%,#151c28 100%);color:#fff;border-radius:24px;padding:22px 18px;box-shadow:0 18px 40px rgba(8,16,32,.18)}
.amff-talents-stat strong{display:block;font-size:40px;line-height:1;font-weight:900;margin-bottom:8px}
.amff-talents-stat span{display:block;font-size:14px;color:rgba(255,255,255,.78);font-weight:700}
.amff-talents-conditions{padding:38px 42px;background:linear-gradient(180deg,#ffffff 0%,#fbfaf7 100%)}
.amff-talents-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:30px;padding-bottom:18px;border-bottom:1px solid rgba(17,17,17,.08)}
.amff-talents-section-head span{font-size:15px;font-weight:900;color:#8a8a8a;letter-spacing:.02em;margin-top:14px}
.amff-talents-conditions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.amff-talents-condition-card{display:flex;flex-direction:column;justify-content:space-between;min-height:170px;gap:22px;padding:28px 30px;border-radius:28px;background:#fff;border:1px solid rgba(17,17,17,.07);box-shadow:0 14px 28px rgba(17,17,17,.04);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.amff-talents-condition-index{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px;background:rgba(193,160,77,.12);color:#b8953f;font-size:24px;font-weight:900;line-height:1}
.amff-talents-condition-card p{margin:0;font-size:clamp(20px,1.5vw,28px);line-height:1.55;color:#1a1a1a;font-weight:800;max-width:26ch}
.amff-talents-condition-card:hover{transform:translateY(-3px);box-shadow:0 20px 40px rgba(17,17,17,.07);border-color:rgba(193,160,77,.28)}
.amff-talents-section-head h2{margin:0;max-width:760px;line-height:1.05}
.amff-talents-registration{display:grid;grid-template-columns:minmax(280px,.42fr) minmax(0,.58fr);gap:24px;align-items:start}
.amff-talents-registration-intro{padding:32px;background:linear-gradient(180deg,#ffffff 0%,#f8f4ec 100%)}
.amff-talents-checklist{display:grid;gap:14px;padding:22px 0 0;margin:22px 0 0;list-style:none;border-top:1px solid rgba(17,17,17,.08)}
.amff-talents-checklist li{position:relative;padding-right:24px;font-size:15px;font-weight:800;line-height:1.8;color:#222}
.amff-talents-checklist li::before{content:"•";position:absolute;right:0;top:0;color:var(--gold);font-size:22px;line-height:1}
.amff-talents-registration-form{padding:28px}
.amff-form-error{background:#fff0f0;border:1.5px solid #e74c3c;border-radius:14px;padding:12px 14px;color:#c0392b;font-weight:700;font-size:14px;margin-bottom:16px}
.amff-required{color:#c0392b}
.amff-submit-btn--wide{max-width:260px;margin-top:18px}
.amff-gallery-section,.amff-news-section{padding:32px}
.amff-gallery-section h2,.amff-news-section h2{margin-bottom:22px}
.amff-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.amff-news-card{overflow:hidden}
.amff-news-card-img{aspect-ratio:16/10;background:#ddd}
.amff-news-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.amff-news-card-body{padding:20px 22px 24px}
.amff-news-card-date{font-size:12px;font-weight:800;color:var(--gold);margin-bottom:10px}
.amff-news-card-title{font-size:22px;font-weight:900;line-height:1.2;margin-bottom:10px;color:#111}
.amff-news-card-text{font-size:15px;line-height:1.9;color:#555}
@media(max-width:1100px){.amff-talents-overview,.amff-talents-registration{grid-template-columns:1fr}.amff-talents-conditions-grid,.amff-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amff-talents-conditions{padding:30px}.amff-talents-condition-card p{font-size:22px}}
@media(max-width:720px){.amff-talents-story-card,.amff-talents-conditions,.amff-talents-registration-intro,.amff-talents-registration-form,.amff-gallery-section,.amff-news-section{padding:22px}.amff-talents-stats,.amff-talents-conditions-grid,.amff-news-grid{grid-template-columns:1fr}.amff-talents-media img{min-height:280px}.amff-talents-section-head{flex-direction:column;align-items:flex-start}.amff-talents-condition-card{min-height:auto;padding:22px}.amff-talents-condition-card p{font-size:18px;max-width:none}}

/* Press releases redesign */
.amff-press-release-page{
  padding-top:32px;
}
.amff-press-intro-card{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  background:linear-gradient(135deg,#11131b 0%,#171a24 60%,#1d2230 100%);
  border-radius:28px;
  padding:32px;
  color:#fff;
  margin-bottom:32px;
  box-shadow:0 18px 48px rgba(0,0,0,.12);
}
.amff-kicker{
  display:inline-block;
  font-size:13px;
  font-weight:800;
  color:var(--gold,#c7a55b);
  margin-bottom:10px;
}
.amff-press-intro-card h2{
  font-size:clamp(28px,3vw,44px);
  line-height:1.05;
  margin:0 0 10px;
  color:#fff;
}
.amff-press-intro-card p{
  margin:0;
  max-width:780px;
  color:rgba(255,255,255,.82);
  line-height:1.9;
  font-size:16px;
}
.amff-press-story{
  display:block;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(17,19,27,.08);
  border-radius:30px;
  box-shadow:0 20px 45px rgba(17,19,27,.08);
  margin-bottom:38px;
}
.amff-press-story.has-media .amff-press-story-media{
  min-height:420px;
  max-height:540px;
  background:#ece7de;
}
.amff-press-story.no-media .amff-press-story-body{
  padding-top:48px;
}
.amff-press-story-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.amff-press-story-body{
  max-width:920px;
  margin:0 auto;
  padding:42px 56px 52px;
}
.amff-release-meta-line{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.amff-press-story-body h2{
  font-size:clamp(34px,3.5vw,56px);
  line-height:1.18;
  margin:18px 0 14px;
  text-align:center;
}
.amff-release-lead{
  font-size:20px;
  line-height:2;
  color:#4a4f5c;
  max-width:760px;
  margin:0 auto 24px;
  text-align:center;
}
.amff-release-richtext{
  max-width:820px;
  margin:0 auto;
  font-size:19px;
  line-height:2.05;
  color:#252935;
}
.amff-release-richtext p,
.amff-release-richtext ul,
.amff-release-richtext ol,
.amff-release-richtext blockquote{
  margin:0 0 1.15em;
}
.amff-release-richtext h3,
.amff-release-richtext h4{
  line-height:1.4;
  margin:1.5em 0 .7em;
  color:#11131b;
}
.amff-publication-actions{
  max-width:820px;
  margin:28px auto 0;
}
.amff-press-listing{
  padding-bottom:30px;
}
.amff-section-header--stacked{
  margin-bottom:20px;
}
.amff-press-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.amff-press-news-card{
  background:#fff;
  border:1px solid rgba(17,19,27,.08);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(17,19,27,.07);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.amff-press-news-card:hover,
.amff-press-news-card.is-active{
  transform:translateY(-4px);
  box-shadow:0 22px 50px rgba(17,19,27,.12);
  border-color:rgba(199,165,91,.34);
}
.amff-press-news-image{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  background:linear-gradient(135deg,#202637 0%,#0e1119 100%);
  overflow:hidden;
}
.amff-press-news-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .45s ease;
}
.amff-press-news-card:hover .amff-press-news-image img{
  transform:scale(1.05);
}
.amff-press-news-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:24px;
  font-weight:900;
}
.amff-press-news-content{
  padding:24px 24px 26px;
}
.amff-press-news-content h3{
  margin:14px 0 10px;
  font-size:26px;
  line-height:1.2;
}
.amff-press-news-content h3 a{
  color:#11131b;
  text-decoration:none;
}
.amff-press-news-content p{
  margin:0 0 16px;
  color:#5f6472;
  line-height:1.9;
  font-size:15px;
}
.amff-inline-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:#11131b;
  text-decoration:none;
}
@media (max-width: 1100px){
  .amff-press-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .amff-press-story-body{padding:34px 30px 40px;}
  .amff-release-richtext{font-size:18px;}
}
@media (max-width: 768px){
  .amff-press-intro-card{padding:24px; display:block;}
  .amff-press-intro-card .amff-filter-btn{margin-top:18px; display:inline-flex;}
  .amff-press-story.has-media .amff-press-story-media{min-height:260px;}
  .amff-press-story-body{padding:26px 20px 30px;}
  .amff-press-news-grid{grid-template-columns:1fr; gap:18px;}
  .amff-press-story-body h2{font-size:clamp(28px,7vw,38px); text-align:right;}
  .amff-release-lead{font-size:18px; text-align:right;}
  .amff-release-richtext{font-size:17px; line-height:1.95;}
  .amff-press-news-content h3{font-size:22px;}
}

.amff-magazine-story .amff-press-story-media{background:linear-gradient(135deg,#ece6da 0%,#d7c7aa 100%)}
.amff-magazine-news-grid .amff-press-news-image{aspect-ratio:3/4}
.amff-magazine-news-card .amff-press-news-content{display:flex;flex-direction:column;gap:10px}
.amff-magazine-card-subtitle{margin:-2px 0 0;color:#8a6a1a;font-weight:800}
.amff-magazine-story-facts{margin:0 0 22px}
.amff-magazine-story .amff-release-richtext{margin-top:10px}

.amff-accred-form--erp{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfd 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 24px 50px rgba(15,23,42,.08);
}
.amff-accred-form--erp::before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--gold),var(--sea));
}
.amff-form-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(15,95,115,.08);
  color:var(--sea);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  margin-bottom:14px;
}
.amff-form-intro{
  font-size:14px;
  color:#52606d;
  margin:0 0 22px;
  line-height:1.9;
}
.amff-form-grid{
  display:grid;
  gap:16px;
}
.amff-form-grid--2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.amff-field--status input[disabled]{
  background:#f6f7fb;
  color:#6b7280;
  font-weight:800;
  cursor:not-allowed;
}
.amff-form-alert{
  border-radius:12px;
  padding:14px 16px;
  font-size:14px;
  font-weight:800;
  line-height:1.8;
  margin-bottom:18px;
}
.amff-form-alert--success{
  color:#0f5f73;
  background:rgba(15,95,115,.09);
  border:1px solid rgba(15,95,115,.2);
}
.amff-form-alert--error{
  color:#b42318;
  background:#fff3f2;
  border:1px solid #fecdca;
}
@media (max-width: 768px){
  .amff-form-grid--2{grid-template-columns:1fr;}
}

.amff-form-block{
  border:1px solid rgba(15,23,42,.06);
  border-radius:16px;
  padding:18px;
  background:#fff;
  margin-bottom:18px;
}
.amff-form-block-title{
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  color:var(--sea);
  margin-bottom:14px;
}
.amff-file-input{
  display:block;
  width:100%;
  padding:12px 14px;
  border:1px dashed rgba(15,95,115,.28);
  border-radius:12px;
  background:#f8fbfc;
  color:#30414f;
}
.amff-file-input::file-selector-button{
  border:none;
  background:var(--sea);
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  margin-left:12px;
  cursor:pointer;
  font-weight:800;
}

/* ===== 2026 refinement batch 2 ===== */
.amff-nav-links a {
  font-size: 14px;
  padding: 9px 13px;
}

.amff-programme-section .amff-outline-btn {
  border-color: #8c6b2c;
  color: #8c6b2c;
  background: rgba(140, 107, 44, .08);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 999px;
}
.amff-programme-section .amff-outline-btn:hover {
  background: #8c6b2c;
  color: #fff;
}

.amff-sponsors-section {
  background: #050505;
  color: #fff;
}
.amff-sponsors-label {
  color: rgba(255,255,255,.72);
}
.amff-sponsor-item {
  opacity: .92;
  filter: grayscale(.2);
}
.amff-sponsor-placeholder {
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.74);
}

.amff-awards-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
  align-items: stretch;
}

.amff-award-card {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.amff-award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,0,0,.34);
  border-color: rgba(255,255,255,.22);
}

.amff-award-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.amff-award-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.18) 48%, rgba(0,0,0,.88) 100%);
}

.amff-award-card.no-image .amff-award-media {
  background: linear-gradient(135deg, rgba(159,29,34,.22), rgba(12,17,28,.88));
}

.amff-award-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.amff-award-card-content {
  padding: 16px 16px 18px;
}

.amff-award-category {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.amff-award-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.amff-award-desc {
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 1400px) {
  .amff-awards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .amff-awards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .amff-awards-grid {
    grid-template-columns: 1fr;
  }

  .amff-award-title {
    font-size: 20px;
  }
}

.amff-filmmaking-page {
  background: linear-gradient(180deg, #f6f3ed 0%, #efe8da 100%);
}
.amff-filmmaking-hero-panel,
.amff-filmmaking-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(17,17,17,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.06);
}
.amff-filmmaking-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 26px;
  padding: 28px;
  border-radius: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}
.amff-filmmaking-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(159,29,34,.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}
.amff-filmmaking-copy h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: .98;
  margin-bottom: 18px;
  color: #111;
}
.amff-filmmaking-copy p {
  font-size: 18px;
  line-height: 1.95;
  color: #48433c;
  max-width: 48ch;
}
.amff-filmmaking-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.amff-filmmaking-stat {
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: 18px;
}
.amff-filmmaking-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
}
.amff-filmmaking-stat span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}
.amff-filmmaking-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}
.amff-filmmaking-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 34px;
}
.amff-filmmaking-card {
  border-radius: 28px;
  padding: 28px;
}
.amff-filmmaking-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.amff-filmmaking-card-head span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-weight: 900;
}
.amff-filmmaking-card-head h3 {
  margin: 0;
  font-size: 28px;
  color: #111;
}
.amff-filmmaking-conditions-list {
  display: grid;
  gap: 14px;
}
.amff-filmmaking-condition {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 20px;
  background: #f6f1e8;
  border: 1px solid rgba(17,17,17,.06);
}
.amff-filmmaking-condition-num {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
}
.amff-filmmaking-condition p {
  margin: 0;
  color: #333;
  line-height: 1.9;
  font-weight: 700;
}
.amff-reg-form--filmmaking,
.amff-gallery-section--filmmaking,
.amff-news-section--filmmaking {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.amff-submit-btn--filmmaking {
  max-width: 260px;
  margin-top: 18px;
  background: var(--red);
}
.amff-filmmaking-alert {
  background: #fff0f0;
  border: 1.5px solid #e74c3c;
  border-radius: 14px;
  padding: 12px 14px;
  color: #c0392b;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
@media (max-width: 1100px) {
  .amff-filmmaking-hero-panel,
  .amff-filmmaking-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .amff-filmmaking-hero-panel,
  .amff-filmmaking-card {
    padding: 20px;
    border-radius: 22px;
  }
  .amff-filmmaking-stats {
    grid-template-columns: 1fr;
  }
  .amff-filmmaking-card-head h3 {
    font-size: 24px;
  }
  .amff-award-card {
    flex-basis: 280px;
  }
}


.amff-carousel-head-no-arrows,
.amff-arrow-btn,
[data-amff-carousel-prev],
[data-amff-carousel-next] {
  display: none !important;
}


/* ===== Stage 1 front-end cleanup ===== */
.amff-section--tight{padding-top:14px}
.amff-home-strip{background:#fff;border:1px solid #ece7da;border-radius:28px;padding:26px 28px;box-shadow:0 18px 42px rgba(0,0,0,.05)}
.amff-home-strip-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.amff-home-strip-kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--gold)}
.amff-home-strip-title{margin:0;font-size:clamp(28px,3.4vw,44px);line-height:1.05}
.amff-home-strip-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.amff-home-strip-card{display:flex;flex-direction:column;gap:10px;min-height:132px;padding:18px 20px;border-radius:20px;background:linear-gradient(180deg,#f8f5ef 0%,#ffffff 100%);border:1px solid rgba(17,17,17,.08);text-decoration:none;color:#111;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.amff-home-strip-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(0,0,0,.08);border-color:rgba(17,17,17,.18);color:#111}
.amff-home-strip-card span{font-size:12px;font-weight:800;color:#7a6b52}
.amff-home-strip-card strong{font-size:18px;line-height:1.6;font-weight:900}
.amff-press-kits{display:grid;grid-template-columns:1fr;gap:14px}
.amff-kit-card{border-radius:16px;padding:18px 20px;box-shadow:0 8px 24px rgba(0,0,0,.06);border:1px solid rgba(17,17,17,.06)}
@media(max-width:1100px){.amff-home-strip-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.amff-home-strip{padding:22px}.amff-home-strip-row{grid-template-columns:1fr}.amff-home-strip-card{min-height:auto}}


/* Homepage press releases: start from the right in RTL and keep cards linked to release entries */
.amff-home-strip{direction:rtl}
.amff-home-strip-head{text-align:right}
.amff-home-strip-row{display:flex;flex-wrap:nowrap;justify-content:flex-start;direction:rtl}
.amff-home-strip-card{text-align:right}
html[dir="rtl"] .amff-home-strip-row{flex-direction:row-reverse}
html[dir="ltr"] .amff-home-strip-row{direction:ltr}

/* Reduce inner page hero height by about 25% */
.amff-page-hero--inner{padding:54px 0 41px !important;min-height:285px !important}
@media (max-width: 820px){
  .amff-page-hero--inner{padding:42px 0 32px !important;min-height:240px !important}
}


/* FIX film cards text visibility */
.film-card, .amff-film-card {display:flex; flex-direction:column;}
.film-card .meta, .amff-film-card .meta {display:block !important; opacity:1 !important; visibility:visible !important;}
.film-card .title, .amff-film-card .title {font-weight:700;}
.film-card .meta * {display:block;}

/* Hide second line (subtitle) under media cards like catalogue & photos */
.media-card p,
.media-card .desc,
.media-card .subtitle,
.amff-media-card p,
.amff-media-card .desc,
.amff-media-card .subtitle{
  display:none !important;
}


/* Simplify film cards: title + country only */
.amff-film-info-simple{padding-top:14px;}
.amff-film-title-line{margin:0;display:flex;align-items:center;justify-content:space-between;gap:10px;white-space:nowrap;overflow:hidden;}
.amff-film-title-line strong,.amff-film-title-line span{display:block;overflow:hidden;text-overflow:ellipsis;}
.amff-film-title-line strong{font-size:clamp(20px,2vw,30px);font-weight:800;color:#111;flex:1 1 auto;}
.amff-film-title-line span{font-size:clamp(14px,1.1vw,18px);color:#4f4f4f;flex:0 0 auto;}
html[dir="rtl"] .amff-film-title-line{flex-direction:row-reverse;}
.amff-film-info-simple h3,.amff-film-info-simple>.amff-film-meta-line,.amff-film-info-simple>p:not(.amff-film-title-line){display:none !important;}

/* ===== Homepage press releases reference grid ===== */
.amff-home-news--reference-grid{
  padding: clamp(22px, 2.2vw, 34px);
  direction: rtl;
  background: var(--page-card, #f6f5f2);
  border: 1px solid var(--page-line, rgba(17,17,17,.08));
  border-radius: 32px;
  box-shadow: 0 18px 44px rgba(0,0,0,.05);
}
.amff-home-news-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.amff-home-news-title{
  margin:0;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111;
}
.amff-home-news-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 800;
  color:#111;
  border:1px solid rgba(17,17,17,.14);
  border-radius:16px;
  background:#fff;
  text-decoration:none;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
  white-space: nowrap;
}
.amff-home-news-link:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}
.amff-home-news-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:20px;
}
.amff-home-news-card{
  background:#fff;
  border-radius:28px;
  border:1px solid rgba(17,17,17,.08);
  overflow:hidden;
  text-decoration:none;
  color:#111;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
}
.amff-home-news-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 42px rgba(0,0,0,.10);
  border-color: rgba(198,168,106,.45);
  color:#111;
}
.amff-home-news-card:hover .amff-home-news-img{transform:scale(1.04);}
.amff-home-news-media{
  overflow:hidden;
  aspect-ratio: 16/10;
  background:#ece8df;
  position:relative;
}
.amff-home-news-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.amff-home-news-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: radial-gradient(circle at top right, rgba(198,168,106,.28), transparent 40%), linear-gradient(135deg, #10131a 0%, #1c2430 100%);
}
.amff-home-news-placeholder span{
  font-size:42px;
}
.amff-home-news-body{
  padding:18px 18px 20px;
  text-align:right;
}
.amff-home-news-card-title{
  margin:0;
  font-size: clamp(17px, 1.2vw, 22px);
  font-weight:800;
  line-height:1.55;
  color:#111;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height: calc(1.55em * 3);
}
.amff-home-news-date{
  margin:12px 0 0;
  font-size:13px;
  font-weight:700;
  color:#7a6e58;
}
.amff-home-news-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-size:12px;
  font-weight:800;
  background:#f2ede3;
  color:#7a6e58;
}
.amff-home-news-tag.tag-film{ background:#eee8dc; color:#6c5a2f; }
.amff-home-news-tag.tag-press{ background:#f2ede3; color:#7a6e58; }
.amff-home-news-tag.tag-jury{ background:#efe6d2; color:#7a5b22; }
.amff-home-news-tag.tag-news{ background:#f3efe7; color:#55514a; }
@media (max-width: 1400px){
  .amff-home-news-grid{grid-template-columns:repeat(3, minmax(0, 1fr));}
}
@media (max-width: 1100px){
  .amff-home-news-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
  .amff-home-news-title{font-size: clamp(34px, 4vw, 54px);}
}
@media (max-width: 720px){
  .amff-home-news--reference-grid{padding:20px 16px; border-radius:24px;}
  .amff-home-news-head{flex-direction:column;align-items:flex-start;}
  .amff-home-news-grid{grid-template-columns:1fr; gap:16px;}
  .amff-home-news-title{font-size:38px;}
  .amff-home-news-link{min-height:46px; padding:0 18px; font-size:14px;}
  .amff-home-news-body{padding:16px;}
}

/* === Fix spacing between Films section and Jury section === */
.amff-films-section,
.amff-section--films,
.section-films,
.films-section,
#films-section,
[data-section="films"] {
  margin-bottom: 72px !important;
}

.amff-jury-section,
.amff-section--jury,
.section-jury,
.jury-section,
#jury-section,
[data-section="jury"],
.amff-juries-section,
.section-juries {
  margin-top: 72px !important;
  padding-top: 8px !important;
}

/* Avoid collapsed margins in stacked sections */
.amff-films-section + .amff-jury-section,
.amff-section--films + .amff-section--jury,
.section-films + .section-jury,
.films-section + .jury-section,
#films-section + #jury-section,
[data-section="films"] + [data-section="jury"] {
  margin-top: 88px !important;
}

/* Exact homepage spacing fix: films -> jury */
.amff-page-light > #films.amff-section {
  padding-top: 28px !important;
  padding-bottom: 8px !important;
  margin-bottom: 0 !important;
}
.amff-page-light > #films .amff-container {
  margin-bottom: 0 !important;
}
.amff-page-light > #films .amff-film-carousel {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.amff-page-light > #films .amff-film-card,
.amff-page-light > #films .amff-film-card-rich {
  margin-bottom: 0 !important;
}
.amff-page-light > #jury.amff-section {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.amff-page-light > #jury .amff-section-header {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}


/* Balanced spacing between films and jury sections */
#films,
.amff-films-section,
.section-films,
.films-section {
  margin-bottom: 42px !important;
  padding-bottom: 0 !important;
}

#jury,
.amff-jury-section,
.section-jury,
.jury-section {
  margin-top: 42px !important;
  padding-top: 0 !important;
}

/* If the sections are adjacent, keep only a moderate visual gap */
#films + #jury,
.amff-films-section + .amff-jury-section,
.section-films + .section-jury,
.films-section + .jury-section {
  margin-top: 42px !important;
}


/* Slightly increased spacing between films and jury sections */
#films,
.amff-films-section,
.section-films,
.films-section {
  margin-bottom: 56px !important;
  padding-bottom: 0 !important;
}

#jury,
.amff-jury-section,
.section-jury,
.jury-section {
  margin-top: 56px !important;
  padding-top: 0 !important;
}

#films + #jury,
.amff-films-section + .amff-jury-section,
.section-films + .section-jury,
.films-section + .jury-section {
  margin-top: 56px !important;
}


/* Better vertical breathing room above Jury section */
#jury,
.amff-jury-section,
.section-jury,
.jury-section {
  margin-top: 88px !important;
  padding-top: 0 !important;
}

/* If a jury heading/wrap exists, give it a clear visual gap */
#jury .section-title,
#jury .amff-section-title,
#jury h2,
#jury h3,
.amff-jury-section .section-title,
.amff-jury-section .amff-section-title,
.amff-jury-section h2,
.amff-jury-section h3,
.section-jury .section-title,
.section-jury h2,
.jury-section .section-title,
.jury-section h2 {
  margin-top: 0 !important;
}

#films + #jury,
.amff-films-section + .amff-jury-section,
.section-films + .section-jury,
.films-section + .jury-section {
  margin-top: 88px !important;
}



/* Stronger visual spacing between films and jury on home */
body.home #films,
body.home section#films,
body.home .amff-home-films,
body.home .home-films-section {
  margin-bottom: 96px !important;
  padding-bottom: 0 !important;
}

body.home #jury,
body.home section#jury,
body.home .amff-home-jury,
body.home .home-jury-section {
  margin-top: 96px !important;
  padding-top: 0 !important;
}

/* Direct adjacency rules */
body.home #films + #jury,
body.home section#films + section#jury,
body.home .amff-home-films + .amff-home-jury,
body.home .home-films-section + .home-jury-section {
  margin-top: 96px !important;
}

/* When sections are wrapped in generic containers */
body.home #films,
body.home #jury {
  display: block;
}


/* Real visual spacer between films and jury on homepage */
body.home .amff-home-section-gap{
  display:block !important;
  height:120px !important;
  width:100% !important;
  clear:both !important;
  flex-basis:100% !important;
}

@media (max-width: 1024px){
  body.home .amff-home-section-gap{
    height:80px !important;
  }
}

@media (max-width: 640px){
  body.home .amff-home-section-gap{
    height:56px !important;
  }
}

/* Neutralize previous margin overrides */
body.home #films,
body.home section#films,
body.home #jury,
body.home section#jury{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Precise spacing between films and jury */
body.home .amff-home-section-gap{
  height:100px !important;
}

@media (max-width:1024px){
  body.home .amff-home-section-gap{
    height:70px !important;
  }
}

@media (max-width:640px){
  body.home .amff-home-section-gap{
    height:56px !important;
  }
}


/* Reduced gap between films and jury */
body.home .amff-home-section-gap{
  height:64px !important;
}

@media (max-width:1024px){
  body.home .amff-home-section-gap{
    height:48px !important;
  }
}

@media (max-width:640px){
  body.home .amff-home-section-gap{
    height:36px !important;
  }
}

/* Final balanced spacing */
body.home .amff-home-section-gap{
  height:80px !important;
}

@media (max-width:1024px){
  body.home .amff-home-section-gap{
    height:48px !important;
  }
}

@media (max-width:640px){
  body.home .amff-home-section-gap{
    height:36px !important;
  }
}

/* Updated spacing as requested */
body.home .amff-home-section-gap{
  height:100px !important;
}

@media (max-width:1024px){
  body.home .amff-home-section-gap{
    height:48px !important;
  }
}

@media (max-width:640px){
  body.home .amff-home-section-gap{
    height:36px !important;
  }
}

/* Increased spacing (final adjustment) */
body.home .amff-home-section-gap{
  height:120px !important;
}

@media (max-width:1024px){
  body.home .amff-home-section-gap{
    height:80px !important;
  }
}

@media (max-width:640px){
  body.home .amff-home-section-gap{
    height:56px !important;
  }
}


/* More space specifically between the last film card row (e.g. Diversion)
   and the Jury section heading/tabs */
body.home #films .amff-film-carousel,
body.home #films .amff-film-grid,
body.home #films .amff-section-body,
body.home #films .amff-film-tabs {
  margin-bottom: 28px !important;
}

body.home #jury .amff-section-head,
body.home #jury .amff-jury-tabs,
body.home #jury .amff-section-title {
  margin-top: 22px !important;
}

body.home #jury {
  padding-top: 18px !important;
}

/* 2026-04-02 fix: awards cards stay in one row on desktop */
.amff-awards-section .amff-container {
  width: min(calc(100% - 32px), 1840px);
}

.amff-awards-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch;
  overflow: visible;
}

.amff-award-card {
  min-width: 0;
}

.amff-award-title {
  font-size: 18px;
}

.amff-award-desc {
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .amff-awards-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 14px !important;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .amff-award-card {
    flex: 0 0 220px;
  }
}


/* ===== 2026-04-02 awards management and dedicated page ===== */
.amff-section-intro{margin:10px 0 0;max-width:760px;line-height:1.9;font-size:15px;color:rgba(255,255,255,.75)}
.amff-section-intro--light{color:rgba(255,255,255,.72)}
.amff-awards-grid--dynamic{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.amff-award-card{position:relative}
.amff-award-card-link{position:absolute;inset:0;z-index:2}
.amff-award-card-content{display:flex;flex-direction:column;gap:10px;height:100%}
.amff-award-action{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:6px;font-size:12px;font-weight:800;letter-spacing:.02em;color:#f3d48f}
.amff-awards-page{padding:48px 0 80px;background:linear-gradient(180deg,#060809 0%,#0a1114 100%)}
.amff-awards-page-intro{max-width:880px;margin:0 auto 28px;color:#d9d9d9;font-size:17px;line-height:2;text-align:center}
.amff-awards-page-intro p{margin:0 0 14px}
.amff-awards-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:28px}
.amff-award-card--page{min-height:360px}
.amff-awards-details-wrap{display:grid;gap:20px;margin-top:34px}
.amff-awards-detail-card{background:#fff;border-radius:24px;padding:28px 30px;box-shadow:0 18px 40px rgba(0,0,0,.12)}
.amff-awards-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.amff-awards-detail-head h2{margin:8px 0 0;font-size:28px;color:#07131a}
.amff-awards-detail-body{font-size:16px;line-height:2;color:#21313a}
.amff-awards-detail-body p{margin:0 0 14px}
@media (max-width: 1400px){.amff-awards-grid--dynamic{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible}.amff-awards-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width: 1200px){.amff-awards-grid--dynamic{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible;padding-bottom:0}}
@media (max-width: 1100px){.amff-awards-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amff-awards-detail-head{flex-direction:column}}
@media (max-width: 820px){.amff-awards-grid--dynamic{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible}.amff-awards-page{padding:36px 0 64px}.amff-awards-page-intro{font-size:15px}.amff-awards-page-grid{grid-template-columns:1fr}.amff-awards-detail-card{padding:22px}}
@media (max-width: 560px){.amff-awards-grid--dynamic{grid-template-columns:1fr!important}.amff-awards-detail-head h2{font-size:22px}.amff-awards-detail-body{font-size:15px}}


/* 2026-04-02 final fix: keep exactly six award cards in one row on desktop */
@media (min-width: 1025px) {
  .amff-awards-section .amff-container {
    width: min(calc(100% - 24px), 1920px) !important;
  }
  .amff-awards-section .amff-awards-grid,
  .amff-awards-section .amff-awards-grid--dynamic {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
    gap: 12px !important;
    overflow: visible !important;
  }
  .amff-awards-section .amff-award-card {
    min-width: 0 !important;
  }
  .amff-awards-section .amff-award-media {
    aspect-ratio: 4 / 4.7 !important;
  }
  .amff-awards-section .amff-award-card-content {
    padding: 14px 14px 16px !important;
    gap: 8px !important;
  }
  .amff-awards-section .amff-award-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  .amff-awards-section .amff-award-desc {
    font-size: 11px !important;
    line-height: 1.55 !important;
  }
  .amff-awards-section .amff-award-action {
    font-size: 11px !important;
  }
}

@media (max-width: 1024px) {
  .amff-awards-section .amff-awards-grid,
  .amff-awards-section .amff-awards-grid--dynamic {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 14px !important;
    padding-bottom: 8px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .amff-awards-section .amff-award-card {
    flex: 0 0 220px !important;
  }
}


.amff-page-intro-card{background:var(--page-card);border:1px solid var(--page-line);border-radius:28px;box-shadow:0 16px 44px rgba(0,0,0,.05);padding:32px 36px;margin-bottom:28px}.amff-page-intro-card__kicker{font-size:13px;font-weight:800;letter-spacing:.08em;color:var(--gold);margin-bottom:10px}.amff-page-intro-card__title{font-size:clamp(34px,4vw,64px);line-height:1.05;margin:0 0 10px;color:#111;font-weight:900}.amff-page-intro-card__text{font-size:18px;line-height:1.9;color:#5a5a5a;margin:0}.amff-press-kits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}@media(max-width:900px){.amff-press-kits{grid-template-columns:1fr}}
