:root {
  --bg: #f4f1ea;
  --bg-deep: #0a2f24;
  --bg-mid: #134a3a;
  --ink: #0f1f19;
  --muted: #5c6d65;
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --line: rgba(13, 59, 46, 0.1);
  --radius: 20px;
  --shadow: 0 24px 60px rgba(10, 47, 36, 0.14);
  --shadow-soft: 0 12px 40px rgba(10, 47, 36, 0.08);
  --font: "DM Sans", system-ui, sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --display: "Syne", "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.35rem, 5vw, 1.85rem);
  --gutter-safe-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-safe-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
}
.site-main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bg-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.sr-only, .skip {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 99;
  width: auto; height: auto; clip: auto; padding: .6rem 1rem;
  background: var(--gold); color: #111; font-weight: 600;
}

/* Header */
.site-head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  max-width: 100%;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 59, 46, 0.08);
}
.head-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  min-height: 4.5rem;
  width: 100%;
  min-width: 0;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.brand-mark { border-radius: 12px; box-shadow: var(--shadow); }
.brand-name { display: block; font-weight: 700; letter-spacing: .04em; font-size: 1.05rem; }
.brand-tag { display: none; }

.nav-main {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: .15rem .35rem;
  font-size: .84rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 0;
}
.nav-link, .nav-drop-btn {
  font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: .45rem .65rem; border-radius: 8px;
  border: 0; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: .25rem;
}
.nav-link:hover, .nav-drop-btn:hover, .nav-drop.is-open .nav-drop-btn {
  background: rgba(13, 59, 46, 0.08); color: var(--bg-deep);
}
.nav-drop { position: relative; }
.nav-drop-panel {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  min-width: 220px; background: #fff; border-radius: 12px; padding: .5rem;
  box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 50;
}
.nav-drop-panel a {
  display: block; padding: .5rem .65rem; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .84rem;
}
.nav-drop-panel a:hover { background: var(--bg); color: var(--bg-deep); }

.head-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  flex: 0 0 auto;
}

.head-member-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
}
.head-member-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .52rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .8125rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  box-shadow: 0 6px 18px rgba(10, 47, 36, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.head-member-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 47, 36, 0.28);
}
.head-member-ico {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.head-member-btn--apply {
  background: #fff;
  color: var(--bg-deep);
  border-color: rgba(212, 175, 55, 0.65);
}
.head-member-btn--login,
.head-member-btn--panel {
  background: linear-gradient(145deg, #f0d878, var(--gold));
  color: #1a1508;
  border-color: rgba(255, 255, 255, 0.35);
}
.head-member-btn--panel {
  background: linear-gradient(145deg, #e8c96a, #c9a227);
}
.head-search input {
  width: 9rem; border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .85rem; font: inherit; background: #fff;
}
.nav-toggle {
  border: 0; background: var(--bg-deep); color: #fff;
  width: 2.5rem; height: 2.5rem; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; }

.nav-drawer {
  background: var(--bg-deep); color: #fff; padding: 1rem 0 1.5rem;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 var(--gutter-safe-right) 0 var(--gutter-safe-left);
}
.drawer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.drawer-top {
  display: block;
  font-weight: 700;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-group-toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  user-select: none;
}
.drawer-group-toggle::-webkit-details-marker { display: none; }
.drawer-group-toggle::marker { content: ""; }
.drawer-group-toggle::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.15rem;
  border-right: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.drawer-group[open] > .drawer-group-toggle::after {
  transform: rotate(-135deg);
}
.drawer-group-panel {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 0 0.75rem 0.15rem;
}
.drawer-group-panel a {
  padding: 0.42rem 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}
.drawer-group-panel a:hover { color: var(--gold-light); }

@media (min-width: 980px) {
  .site-head > .wrap.head-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(0.75rem, 1.8vw, 1.35rem);
    row-gap: 0.5rem;
    max-width: min(1320px, 100%);
  }
  .head-actions { margin-left: 0; }
  .nav-main {
    display: flex;
    justify-content: flex-start;
    flex: none;
    width: 100%;
    min-width: 0;
  }
  .nav-toggle { display: none; }
}
@media (min-width: 1080px) {
  .head-search input { width: 10rem; }
  .brand-tag { display: block; font-size: .68rem; color: var(--muted); max-width: 11rem; line-height: 1.25; }
  .nav-main { justify-content: center; }
}
@media (min-width: 980px) and (max-width: 1079px) {
  .nav-main { font-size: .76rem; gap: 0.05rem 0.15rem; }
  .nav-link, .nav-drop-btn { padding: 0.38rem 0.38rem; }
  .head-search input { width: 7rem; }
  .head-member-btn { padding: 0.48rem 0.65rem; font-size: 0.78rem; }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .nav-main { font-size: .78rem; gap: 0.08rem 0.2rem; }
  .nav-link, .nav-drop-btn { padding: 0.4rem 0.42rem; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.25rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-lg { padding: .85rem 1.5rem; font-size: .95rem; }
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, #e8c96a, var(--gold));
  color: #1a1508; box-shadow: 0 12px 32px rgba(212, 175, 55, 0.35);
}
.btn-glass {
  background: rgba(255,255,255,.12); color: #fff;
  border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px);
}
.btn-ghost-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-dark { background: var(--bg-deep); color: #fff; }

body.is-home { background: var(--bg); }
body.is-home .site-head {
  background: linear-gradient(180deg, rgba(10, 47, 36, 0.55), transparent);
  border-bottom: 0;
  margin-bottom: -4.5rem;
}
body.is-home .site-head.is-scrolled {
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.is-home .site-head:not(.is-scrolled) .brand-name,
body.is-home .site-head:not(.is-scrolled) .nav-link,
body.is-home .site-head:not(.is-scrolled) .nav-drop-btn { color: #fff; }
body.is-home .site-head:not(.is-scrolled) .head-search input {
  background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); color: #fff;
}
body.is-home .site-head:not(.is-scrolled) .head-search input::placeholder { color: rgba(255,255,255,.7); }
body.is-home .site-head:not(.is-scrolled) .head-member-btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
body.is-home .site-head:not(.is-scrolled) .head-member-btn--apply {
  background: rgba(255, 255, 255, 0.96);
  color: var(--bg-deep);
  border-color: #fff;
}
body.is-home .site-head:not(.is-scrolled) .head-member-btn--login,
body.is-home .site-head:not(.is-scrolled) .head-member-btn--panel {
  background: linear-gradient(145deg, #ffe082, var(--gold));
  color: #1a1508;
}

.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(5.5rem, 12vh, 7rem) 0 clamp(2.5rem, 8vh, 4rem);
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}
.home-hero-nav {
  position: absolute; top: 50%; z-index: 5;
  transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a1a; font-size: 1.75rem; line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.home-hero-nav:hover { background: #fff; }
.home-hero-nav-prev { left: max(var(--gutter-safe-left), clamp(0.5rem, 2vw, 1.25rem)); }
.home-hero-nav-next { right: max(var(--gutter-safe-right), clamp(0.5rem, 2vw, 1.25rem)); }
.home-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(212,175,55,.22), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(145deg, #061f18 0%, #0a2f24 40%, #134a3a 100%);
}
.home-hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(6, 24, 18, 0.42);
}
.home-hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .58;
  background: var(--hero-img) center/cover no-repeat;
  transition: opacity 0.45s ease;
}
.home-hero-grid {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.home-badge {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.65rem 1.25rem 0.65rem 0.75rem; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: clamp(0.95rem, 2.1vw, 1.08rem); font-weight: 600; letter-spacing: .04em;
}
.home-badge img {
  border-radius: 50%;
  width: 52px; height: 52px;
  object-fit: cover;
}
.home-hero-title { margin: 1.25rem 0 1rem; line-height: .95; }
.home-hero-title .line {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); text-transform: uppercase;
  letter-spacing: -0.03em;
}
.home-hero-title .accent {
  background: linear-gradient(90deg, #fff, var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero-title .thin {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  text-transform: none; letter-spacing: 0; opacity: .85; margin-top: .15em;
}
.home-hero-lead {
  font-size: 1.08rem; max-width: 38rem; opacity: .92; line-height: 1.65;
  margin: 0 auto 1.75rem;
}
.home-hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem;
  justify-content: center;
}
.home-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem;
  margin: 0 auto; width: 100%; max-width: 32rem;
}
.home-stats div {
  padding: .75rem .85rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.home-stats dt { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin: 0; }
.home-stats dd { margin: .15rem 0 0; font-size: .72rem; opacity: .75; }

.home-marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: #fff; padding: .85rem 0;
}
.home-marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--display); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--bg-mid);
}
.home-marquee-track span { white-space: nowrap; }
.home-marquee-track span::after { content: "·"; margin-left: 2.5rem; opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }

.home-section { padding-block: 4.5rem; }
.home-section-head { margin-bottom: 2.25rem; max-width: 640px; }
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem;
}
.eyebrow.light { color: var(--gold-light); }
.home-section-head h2 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.05; margin: 0 0 .75rem; font-weight: 700; letter-spacing: -0.02em;
}
.home-section-head .dek { margin: 0; color: var(--muted); font-size: 1.02rem; }

.home-bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
}
.bento {
  position: relative; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; display: block;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s, box-shadow .25s;
}
.bento:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow); color: #fff; }
.bento-xl { grid-column: span 2; grid-row: span 2; }
.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 2; }
.bento-sm { grid-column: span 1; }
@media (max-width: 900px) {
  .home-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .bento-xl, .bento-lg { grid-column: span 2; grid-row: span 1; min-height: 200px; }
  .bento-md { grid-column: span 2; }
}
@media (max-width: 560px) {
  .home-bento { grid-template-columns: 1fr; }
  .bento-xl, .bento-lg, .bento-md, .bento-sm { grid-column: span 1; min-height: 180px; }
}
.bento-bg { position: absolute; inset: 0; }
.bento-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento:hover .bento-bg img { transform: scale(1.06); }
.bento-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6,20,16,.88) 100%);
}
.bento-body {
  position: absolute; inset: auto 0 0 0; padding: 1.1rem 1.2rem 1.25rem;
  display: grid; gap: .25rem;
}
.bento-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.bento-body strong { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.bento-arrow { position: absolute; right: 1rem; bottom: 1.2rem; font-size: 1.25rem; opacity: .8; }

.home-spotlight {
  padding: 4rem 0; background: linear-gradient(180deg, #fff, var(--bg));
}
.home-spotlight-grid {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .home-spotlight-grid { grid-template-columns: 1fr 1fr; }
}
.spotlight-copy h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 1rem; }
.spotlight-copy p { color: var(--muted); line-height: 1.65; margin: 0 0 1.5rem; }
.spotlight-media {
  border-radius: calc(var(--radius) + 6px); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}

.home-gallery { padding: 3rem 0 2rem; overflow: hidden; }
.home-gallery-scroll {
  display: flex; gap: 1rem; padding: 0 var(--gutter-safe-right) 1rem var(--gutter-safe-left);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.home-gallery-item {
  flex: 0 0 min(72vw, 320px); margin: 0; scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
}
.home-gallery-item img { width: 100%; height: 240px; object-fit: cover; }
.home-gallery-more { text-align: center; margin-top: 1rem; font-weight: 600; }
.home-gallery-more a { text-decoration: none; }

.home-mission {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--bg-deep), #0f4536 50%, var(--bg-mid));
  color: #fff;
}
.home-mission-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .home-mission-grid { grid-template-columns: 1.1fr .9fr; align-items: start; }
}
.mission-panel h2 { font-family: var(--display); font-size: clamp(2rem, 3.5vw, 2.6rem); margin: 0 0 1rem; }
.mission-panel p { opacity: .88; line-height: 1.65; margin: 0 0 1.25rem; }
.mission-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mission-tags li {
  padding: .4rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
}
.mission-cards { display: grid; gap: .85rem; }
.mission-card {
  display: block; padding: 1.15rem 1.25rem; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  text-decoration: none; color: #fff; transition: background .2s, transform .2s;
}
.mission-card:hover { background: rgba(255,255,255,.14); transform: translateX(4px); color: #fff; }
.mission-card span { font-family: var(--display); color: var(--gold-light); font-weight: 700; font-size: .85rem; }
.mission-card strong { display: block; font-size: 1.05rem; margin: .25rem 0; }
.mission-card p { margin: 0; font-size: .85rem; opacity: .8; }

.home-news { padding: 4rem 0; }
.home-news-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.home-cta { padding: 0 0 5rem; }
.home-cta-inner {
  border-radius: calc(var(--radius) + 8px); padding: 2.5rem 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(212,175,55,.25), transparent 40%),
    linear-gradient(135deg, #0a2f24, #134a3a);
  color: #fff; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem; box-shadow: var(--shadow);
}
.home-cta-inner h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5rem; }
.home-cta-inner p { margin: 0; opacity: .88; max-width: 32rem; }
.home-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.story { height: 100%; }
.story-link {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; border: 1px solid var(--line);
  transition: box-shadow .25s, transform .25s;
}
.story-link:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: inherit; }
.story-media { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #dce5e0, #b8c9bf); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media img.img-logo-thumb {
  object-fit: contain;
  object-position: center;
  padding: 18px 24px;
  background: linear-gradient(145deg, #e8f0eb 0%, #d4e3db 48%, #c5d8ce 100%);
}
.story-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.story-title { font-size: 1rem; line-height: 1.35; font-weight: 700; }
.story-dek { font-size: .85rem; color: var(--muted); }

.news-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Article */
.article { padding: 2.5rem 0 4rem; }
.article-hero { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.article-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); font-weight: 700; }
.article-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.75rem); margin: .5rem 0; font-weight: 400; }
.article-dek, .article-meta { color: var(--muted); }
.wrap-narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
  box-sizing: border-box;
}
.article-cover { margin: 0 auto 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-body.cms {
  font-size: 1.05rem; line-height: 1.75;
}
.article-body.cms h2, .article-body.cms h3 { font-family: var(--serif); font-weight: 400; margin-top: 2rem; }
.article-body.cms img { border-radius: 12px; margin: 1.5rem auto; }
.article-body.cms iframe { max-width: 100%; border-radius: 12px; }

/* Footer (Saral-style) */
.site-foot {
  --foot-bg: #0a2e24;
  --foot-ink: #f4f7f5;
  --foot-mute: rgba(244, 247, 245, 0.62);
  --foot-line: rgba(244, 247, 245, 0.12);
  position: relative;
  margin-top: 56px;
  padding-bottom: 28px;
  color: var(--foot-ink);
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(72, 140, 115, 0.15), transparent 50%),
    linear-gradient(180deg, #0d3b2e 0%, var(--foot-bg) 42%, #061f18 100%);
  overflow: hidden;
}
.foot-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 88%, rgba(201, 162, 39, 0.08), transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(244, 247, 245, 0.06), transparent 35%);
  opacity: 0.9;
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
}
.foot-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px 48px;
  padding-block: 52px 40px;
  border-bottom: 1px solid var(--foot-line);
  box-sizing: border-box;
}
.foot-hero,
.foot-cta,
.foot-col {
  min-width: 0;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 18px;
}
.foot-brand-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(244, 247, 245, 0.08);
  border: 1px solid var(--foot-line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.foot-brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}
.foot-brand-text { display: flex; flex-direction: column; gap: 4px; }
.foot-brand-name {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.foot-brand-tag { font-size: 0.88rem; color: var(--foot-mute); }
.foot-lead {
  margin: 0;
  max-width: 42ch;
  line-height: 1.65;
  color: var(--foot-mute);
  font-size: 0.95rem;
}
.foot-cta-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--foot-mute);
}
.foot-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  padding: 5px;
  border-radius: 999px;
  background: rgba(244, 247, 245, 0.06);
  border: 1px solid var(--foot-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  box-sizing: border-box;
}
.foot-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--foot-ink);
  padding: 12px 16px 12px 18px;
  font: inherit;
  font-size: 0.92rem;
}
.foot-search input::placeholder { color: rgba(244, 247, 245, 0.4); }
.foot-search input:focus { outline: none; }
.foot-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foot-bg);
  background: var(--accent, #c9a227);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.foot-search button:hover { transform: translateY(-1px); opacity: 0.92; }
.foot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  padding-block: 40px 36px;
}
.foot-col-title {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(244, 247, 245, 0.85);
}
.foot-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-menu a {
  color: var(--foot-mute);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.foot-menu a:hover { color: var(--foot-ink); transform: translateX(3px); }
.foot-social-dek {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--foot-mute);
  max-width: 28ch;
}
.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--foot-ink);
  background: rgba(244, 247, 245, 0.08);
  border: 1px solid var(--foot-line);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.foot-social a:hover {
  background: rgba(244, 247, 245, 0.16);
  border-color: rgba(244, 247, 245, 0.28);
  transform: translateY(-2px);
}
.foot-bar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--foot-line);
}
.foot-copy {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  color: var(--foot-mute);
  line-height: 1.5;
}
.foot-copy-sep {
  color: rgba(244, 247, 245, 0.35);
  white-space: pre;
}
.foot-powered {
  display: inline;
  font-size: inherit;
  letter-spacing: 0.02em;
  color: rgba(244, 247, 245, 0.55);
  white-space: nowrap;
}
.foot-powered a {
  text-decoration: none;
  font-weight: 600;
}
.foot-powered a:focus-visible {
  outline: 2px solid var(--accent, #c9a227);
  outline-offset: 3px;
  border-radius: 4px;
}
.foot-powered-brand {
  background: linear-gradient(
    105deg,
    #fcd34d 0%,
    #6ee7b7 35%,
    #67e8f9 55%,
    #c4b5fd 78%,
    #fb923c 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 0.45s ease, filter 0.2s ease;
}
.foot-powered a:hover .foot-powered-brand,
.foot-powered a:focus-visible .foot-powered-brand {
  background-position: 100% center;
  filter: brightness(1.12);
}
.foot-top-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--foot-ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--foot-line);
  background: rgba(244, 247, 245, 0.06);
  transition: background 0.2s ease, transform 0.2s ease;
}
.foot-top-link:hover {
  background: rgba(244, 247, 245, 0.12);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr; padding-top: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col-social { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
}

.legal-merchant { margin-bottom: 2rem; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  width: 38%;
  background: rgba(13, 59, 46, 0.05);
  font-weight: 600;
}
.legal-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.legal-body h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 1.75rem 0 0.65rem;
}
.legal-body ul { padding-left: 1.2rem; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.pager { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; }

body { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Inner pages */
.inner-page { padding: 1.25rem 0 4rem; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem;
  font-size: .78rem; color: var(--muted); padding: .75rem 0 1rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--bg-deep); }
.crumbs-sep { opacity: .45; }
.inner-shell {
  max-width: 820px;
  margin-inline: auto;
  box-sizing: border-box;
}
.inner-shell:not(.wrap) {
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
}
.inner-hero { margin-bottom: 2rem; text-align: center; }
.inner-hero h1 {
  font-family: var(--display); font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.08; margin: .35rem 0 .75rem; font-weight: 700; letter-spacing: -0.02em;
}
.inner-dek { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.inner-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.inner-cover,
.inner-page .article-body.cms > figure:has(img) {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  width: 100%;
  height: 400px;
  max-height: 400px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-cover img,
.inner-page .article-body.cms > figure:has(img) img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.inner-page .article-body.cms {
  font-size: 1.05rem; line-height: 1.75; text-align: left;
}
.inner-page .article-body.cms h2,
.inner-page .article-body.cms h3 {
  font-family: var(--display); font-weight: 700; margin-top: 2rem;
}
.inner-page .article-body.cms img { border-radius: 12px; margin: 1.25rem auto; max-width: 100%; }
.inner-page .article-body.cms > figure:has(img) img { border-radius: 0; margin: 0; }
.inner-page .article-body.cms p + figure:has(img),
.inner-page .article-body.cms h2 + figure:has(img) { margin-top: 1.5rem; }
.inner-page .article-body.cms iframe { max-width: 100%; border-radius: 12px; }
.dugun-program {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 1.5rem;
}
@media (min-width: 640px) {
  .dugun-program { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.dugun-program-block {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper, #fff);
  box-shadow: var(--shadow-soft);
}
.dugun-program-block h3 {
  margin: 0 0 0.75rem !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg-deep);
}
.dugun-program-when {
  margin: 0 0 0.85rem;
  line-height: 1.5;
}
.dugun-program-where {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.98rem;
}
.section-mini-title { font-family: var(--display); font-size: 1.25rem; margin: 0 0 1rem; }

.about-page .about-hero { padding: 1rem 0 2rem; }
.about-hero-grid {
  display: grid; gap: 1.5rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr auto; text-align: left; }
}
.about-lead { font-size: 1.08rem; color: var(--muted); line-height: 1.65; max-width: 36rem; }
.about-hero-mark img { border-radius: 20px; box-shadow: var(--shadow); }
.about-cover { margin: 0 auto 2rem; max-width: 960px; border-radius: var(--radius); overflow: hidden; }
.contact-section {
  margin-top: 2.5rem;
  padding: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(3rem, 7vw, 4.5rem);
  scroll-margin-top: 5.5rem;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, #ebe6dc 0%, var(--bg) 42%);
  border-top: 1px solid var(--line);
}
.contact-page .contact-section--page {
  margin-top: 0;
  border-top: 0;
  padding-top: 0.5rem;
  background: transparent;
}
.contact-page .contact-section-head h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
  color: var(--bg-deep);
}
.contact-section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.contact-section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
  color: var(--bg-deep);
}
.contact-section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.contact-section-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.75rem 2rem;
  }
}
.contact-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.contact-card {
  margin: 0;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.contact-card--wide {
  grid-column: 1 / -1;
}
.contact-card-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.contact-card-value {
  display: block;
  font-weight: 700;
  font-size: clamp(0.8125rem, 2.6vw + 0.45rem, 1rem);
  line-height: 1.35;
  color: var(--bg-deep);
  text-decoration: none;
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: none;
}
a.contact-card-value[href^="mailto:"] {
  font-size: clamp(0.78rem, 2.4vw + 0.42rem, 0.95rem);
  letter-spacing: -0.02em;
}
a.contact-card-value:hover {
  color: var(--bg-mid);
  text-decoration: underline;
}
.contact-card-value--text {
  font-weight: 600;
  margin: 0;
}
.contact-card-hint {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-card-hint a {
  color: var(--bg-mid);
  font-weight: 600;
}
.contact-form-panel {
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-flash {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
}
.contact-flash--ok {
  background: #e8f5ec;
  color: #1a4d2e;
  border: 1px solid rgba(31, 107, 58, 0.22);
}
.contact-flash--err {
  background: #fdecec;
  color: #7a1515;
  border: 1px solid rgba(155, 28, 28, 0.22);
}
.contact-form {
  display: grid;
  gap: 0.85rem;
}
.contact-form-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 520px) {
  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-deep);
}
.contact-field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  font: inherit;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(10, 47, 36, 0.18);
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}
.contact-field textarea {
  resize: vertical;
  min-height: 7rem;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--bg-mid);
  box-shadow: 0 0 0 3px rgba(19, 74, 58, 0.12);
}
.contact-submit {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
}
.contact-form-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-form-note a {
  color: var(--bg-mid);
  font-weight: 600;
}
.contact-social {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.contact-social-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--bg-deep);
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}
.contact-social-list a:hover {
  transform: translateY(-2px);
  background: var(--bg-mid);
}
.contact-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.author-page .author-head { margin-bottom: 2rem; }
.author-card {
  display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap;
  padding: 1.5rem; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.author-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  background: var(--bg-deep); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.stub-page .inner-hero { text-align: center; padding: 2rem 0; }
.empty { text-align: center; color: var(--muted); padding: 2rem 0; }

/* Değerlerimiz */
.values-page { padding-bottom: 4.5rem; }
.values-hero {
  position: relative; overflow: hidden;
  padding: 2.5rem 0 3rem; margin-bottom: 1.5rem;
  color: #f8f6f0;
}
.values-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(212, 175, 55, 0.22), transparent 55%),
    linear-gradient(145deg, var(--bg-deep) 0%, var(--bg-mid) 55%, #0d3d30 100%);
}
.values-hero-inner { position: relative; text-align: center; max-width: 40rem; margin: 0 auto; }
.values-hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 5vw, 2.75rem);
  margin: 0 0 .75rem; letter-spacing: -.02em;
}
.values-dek { margin: 0 auto; color: rgba(248, 246, 240, 0.82); line-height: 1.65; max-width: 32rem; }
.values-grid-section { padding-bottom: 1rem; }
.values-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 960px) { .values-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .values-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.value-card, .value-card--link {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.value-card--link { text-decoration: none; color: inherit; }
.value-card--link:hover, .value-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: rgba(212, 175, 55, 0.45);
}
.value-card-photo {
  aspect-ratio: 4/5; overflow: hidden; background: linear-gradient(180deg, #e8e4dc, #d8d2c8);
}
.value-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.value-card-name {
  font-family: var(--serif); font-size: .92rem; font-weight: 400; line-height: 1.35;
  margin: 0; padding: .85rem .75rem .35rem; text-align: center; flex: 1;
}
.value-card-caption {
  margin: 0; padding: 0 .65rem 1rem; text-align: center; flex: 0;
  font-size: .76rem; line-height: 1.45; color: var(--muted);
}

/* Galeri */
.gallery-page { padding-bottom: 4rem; }
.mayors-page { padding-bottom: 4rem; }
.mayors-body { padding-top: 0.5rem; padding-bottom: 2rem; }
.mayors-gallery {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .mayors-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
}
.mayors-gallery .article-gallery-item a {
  aspect-ratio: auto;
  min-height: 0;
  background: #fff;
  padding: 0.5rem;
}
.mayors-gallery .article-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.gallery-body { padding-bottom: 1rem; }
.article-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem;
  margin: 0 0 2rem;
}
@media (min-width: 640px) { .article-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; } }
@media (min-width: 960px) { .article-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.article-gallery-item {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-soft);
}
.article-gallery-item a {
  display: block; aspect-ratio: 4/3; overflow: hidden; background: #e8e4dc;
  cursor: zoom-in; text-decoration: none;
}
.article-gallery-item img {
  width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0;
  object-fit: cover;
}
.gallery-videos-title { margin-top: 2.75rem; }
.gallery-videos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem;
  margin: 0 0 2rem;
}
@media (min-width: 640px) { .gallery-videos { gap: .85rem; } }
@media (min-width: 960px) { .gallery-videos { gap: 1rem; } }
.gallery-video {
  position: relative; aspect-ratio: 16/9; border-radius: 14px;
  overflow: hidden; background: var(--bg-deep);
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.gallery-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.board-page { padding-bottom: 4rem; }
.board-section { padding-top: 0; }
.board-section + .board-section { padding-top: 2rem; }
.board-section-title {
  font-family: var(--display); font-size: clamp(1.25rem, 3vw, 1.55rem);
  margin: 0 0 1.25rem; text-align: center; letter-spacing: -.02em;
}
body.lightbox-open { overflow: hidden; }
.img-lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
}
.img-lightbox[hidden] { display: none !important; }
.img-lightbox-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: zoom-out;
  background: rgba(10, 30, 24, 0.88);
}
.img-lightbox-panel { position: relative; z-index: 1; max-width: min(94vw, 1100px); padding: 1rem; }
.img-lightbox-figure { margin: 0; }
.img-lightbox-figure img { max-width: 100%; max-height: 85vh; width: auto; height: auto; border-radius: 12px; }
.img-lightbox-close {
  position: absolute; top: -2.5rem; right: 0; border: 0; background: transparent;
  color: #fff; font-size: 2rem; line-height: 1; cursor: pointer;
}
.img-lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  border: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.75rem; cursor: pointer;
}
.img-lightbox-nav:hover { background: rgba(255,255,255,.28); }
.img-lightbox-prev { left: 12px; }
.img-lightbox-next { right: 12px; }

.home-news-split {
  padding-block: 0.5rem 2.5rem;
  border-top: 1px solid var(--line);
}
.home-section.wrap,
.site-foot .wrap {
  padding-inline: var(--gutter-safe-left) var(--gutter-safe-right);
}
.home-news-columns {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) {
  .home-news-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}
.home-news-col {
  min-width: 0;
}
.home-news-col-head {
  margin-bottom: 1.25rem;
}
.home-news-col .home-vefat-dek {
  max-width: none;
}
.home-vefat-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.5rem;
  width: 100%;
  margin-bottom: 0.35rem;
}
.home-vefat-more {
  margin-left: auto;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.home-vefat-more:hover { text-decoration: underline; }
.home-vefat-dek {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 52ch;
}
.vefat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper, #fff);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.vefat-list-item + .vefat-list-item { border-top: 1px solid var(--line); }
.vefat-list-item a {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 12px 16px;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.vefat-list-item a:hover { background: rgba(15, 61, 46, 0.04); }
.vefat-date {
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.vefat-title { font-weight: 600; line-height: 1.35; }
@media (max-width: 520px) {
  .vefat-list-item a { grid-template-columns: 1fr; gap: 4px; }
}

.home-site-poll {
  margin-top: 1.35rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper, #fff);
  box-shadow: var(--shadow-soft);
}
.home-site-poll-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.home-site-poll-q {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.35;
}
.home-site-poll-vote {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
}
.home-site-poll-btn {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
}
.home-site-poll-btn--alt {
  background: #fff;
  color: var(--bg-deep);
  border: 2px solid var(--line);
}
.home-site-poll-btn--alt:hover {
  border-color: rgba(13, 59, 46, 0.35);
  background: rgba(13, 59, 46, 0.04);
}
.home-site-poll-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.home-site-poll-msg {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.home-site-poll-results { display: grid; gap: 0.85rem; }
.home-site-poll-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}
.home-site-poll-bar-head strong {
  font-variant-numeric: tabular-nums;
  color: var(--bg-deep);
}
.home-site-poll-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(13, 59, 46, 0.08);
  overflow: hidden;
}
.home-site-poll-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bg-deep), #1a6b52);
  transition: width 0.45s ease;
}
.home-site-poll-bar:last-of-type .home-site-poll-track > span {
  background: linear-gradient(90deg, #8a9390, #b8c4bf);
}
.home-site-poll-total {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.home-site-poll-loading {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Mobil / dar tablet header —— */
@media (max-width: 979px) {
  .head-inner {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .head-actions {
    flex: 0 0 auto;
    min-width: 0;
  }
  .head-search {
    display: none;
  }
  .head-member-actions {
    gap: 0.3rem;
  }
  .head-member-btn {
    padding: 0.48rem 0.55rem;
  }
  .head-member-btn .head-member-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 979px) {
  :root {
    --gutter: max(1.5rem, 5.5vw);
    --gutter-safe-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    --gutter-safe-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: max(1.75rem, 6.75vw);
    --gutter-safe-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    --gutter-safe-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
  .site-head {
    padding-top: env(safe-area-inset-top, 0);
  }
  body.is-home .site-head {
    margin-bottom: calc(-3.75rem - env(safe-area-inset-top, 0px));
  }
  .head-inner {
    min-height: 3.75rem;
    gap: 0.45rem;
  }
  .brand { min-width: 0; }
  .brand-mark {
    width: 44px;
    height: 44px;
    object-fit: cover;
  }
  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.03em;
  }
  .head-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .head-member-btn {
    padding: 0.48rem 0.65rem;
    font-size: 0.75rem;
  }
  .nav-toggle {
    width: 2.35rem;
    height: 2.35rem;
    flex-shrink: 0;
  }

  .home-hero {
    padding-top: max(5.25rem, calc(4.25rem + env(safe-area-inset-top, 0px)));
    padding-bottom: 4.75rem;
  }
  .home-hero-nav {
    display: none;
  }

  .home-badge {
    max-width: 100%;
    padding: 0.55rem 1rem 0.55rem 0.65rem;
    gap: 0.75rem;
  }
  .home-badge img {
    width: 44px;
    height: 44px;
  }
  .home-hero-title {
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
    padding-inline: 0.15rem;
  }
  .home-hero-title .line {
    font-size: clamp(1.45rem, 6.5vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .home-hero-title .thin {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  }
  .home-hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    padding-inline: 0.35rem;
  }
  .home-hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0;
  }
  .home-hero-actions .btn-lg {
    width: 100%;
    max-width: 18.5rem;
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
  }

  .home-section-head h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
  }
  .home-vefat-more {
    font-size: 0.85rem;
    margin-right: 0;
  }
  .home-vefat-head-row {
    gap: 0.75rem 1rem;
  }
  .home-news-split {
    padding-top: 1rem;
  }
  .vefat-list-item a {
    padding: 14px 16px;
  }
  .wa-float {
    left: var(--gutter-safe-left);
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .foot-top,
  .foot-grid {
    padding-top: 36px;
    padding-bottom: 32px;
  }
  .foot-search button {
    padding: 10px 16px;
    flex-shrink: 0;
  }

  .inner-page { padding-top: 0.75rem; }
  .inner-hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2rem);
  }
  .inner-cover,
  .inner-page .article-body.cms > figure:has(img) {
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .inner-cover img,
  .inner-page .article-body.cms > figure:has(img) img {
    max-height: min(58vw, 340px);
  }
  .crumbs { font-size: 0.72rem; }

  .img-lightbox-panel { padding: 0.5rem; max-width: 96vw; }
  .img-lightbox-close { top: -2rem; font-size: 1.75rem; }
  .img-lightbox-nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.45rem;
  }
  .img-lightbox-prev { left: max(6px, env(safe-area-inset-left, 0px)); }
  .img-lightbox-next { right: max(6px, env(safe-area-inset-right, 0px)); }

  .btn { max-width: 100%; }
  .pager { flex-wrap: wrap; padding-inline: 0.5rem; }
}

@media (max-width: 380px) {
  .head-search input { width: 5.5rem; }
  .home-hero-title .line { font-size: 1.38rem; }
}

.burs-wrap { max-width: 920px; }
.burs-form { display: grid; gap: 1rem; }
.burs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.burs-card h2, .burs-card h3 {
  font-family: var(--display);
  color: var(--bg-deep);
  margin: 0 0 .75rem;
}
.burs-card h2 { font-size: 1.08rem; }
.burs-card h3 { font-size: .92rem; margin-top: .2rem; }
.burs-grid { display: grid; gap: .75rem; }
.burs-field { display: flex; flex-direction: column; gap: .35rem; margin: .85rem 0 0; font-size: .92rem; border: 0; padding: 0; min-inline-size: 0; }
.burs-grid .burs-field { margin: 0; }
.burs-field span, .burs-field legend { font-weight: 650; }
.burs-field legend { padding: 0; margin-bottom: .15rem; }
.burs-field input, .burs-field textarea {
  font: inherit; width: 100%; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 10px;
  padding: .62rem .75rem; background: #fff; color: var(--ink);
}
.burs-field textarea { resize: vertical; }
.burs-choices { display: flex; flex-wrap: wrap; gap: .45rem .85rem; margin: .35rem 0 .2rem; }
.burs-choices label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; }
.burs-family { display: grid; gap: 1rem; }
.burs-note { color: var(--muted); font-size: .86rem; line-height: 1.5; margin: .35rem 0 0; }
.burs-legal {
  font-size: .9rem; line-height: 1.55; color: var(--ink);
  background: var(--bg); border-radius: 12px; padding: .85rem 1rem; margin: .85rem 0 .35rem;
}
.burs-check { display: flex; gap: .55rem; align-items: flex-start; margin: 1rem 0; font-weight: 600; }
.burs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.25rem; }
.burs-pdf { font-weight: 600; }
.burs-alert { border-radius: 12px; padding: .9rem 1rem; margin: 0 0 1rem; }
.burs-alert.ok { background: #e7f6ee; color: #0d3b2e; }
.burs-alert p { margin: 0 0 .75rem; }
.burs-alert p:last-child { margin-bottom: 0; }
.burs-alert.err { background: #fde8e8; color: #7a1f1f; }
.burs-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (min-width: 720px) {
  .burs-grid.two { grid-template-columns: 1fr 1fr; }
  .burs-family { grid-template-columns: 1fr 1fr; }
}
.bagis-products { display: grid; gap: .75rem; }
.bagis-product {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  cursor: pointer; background: #fff; margin: 0;
}
.bagis-product input { margin: 0; flex: 0 0 auto; }
.bagis-product strong { display: block; font-size: 1.15rem; color: var(--bg-deep); }
.bagis-product span span { color: var(--muted); font-size: .86rem; }
.bagis-product:has(input:checked) { border-color: var(--bg-deep); box-shadow: 0 0 0 2px rgba(13, 59, 46, .15); }
@media (min-width: 720px) {
  .bagis-products { grid-template-columns: 1fr 1fr; }
}

/* WhatsApp — sol alt sabit */
.wa-float {
  position: fixed;
  z-index: 55;
  left: max(0.85rem, env(safe-area-inset-left, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(10, 47, 36, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(10, 47, 36, 0.32);
  color: #fff;
}
.wa-float:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.wa-float-icon {
  width: 1.65rem;
  height: 1.65rem;
}
@media (min-width: 640px) {
  .wa-float {
    left: max(var(--gutter-safe-left), env(safe-area-inset-left, 0px));
    bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
  }
  .wa-float-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}
body.is-portal-page.is-portal-member .wa-float {
  bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 960px) {
  body.is-portal-page.is-portal-member .wa-float {
    bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  }
}

.dergi-issue { margin-top: 1.5rem; }
.dergi-issue-title { font-size: 1.25rem; margin: 0 0 .65rem; }
.dergi-issue-actions { margin: 0 0 1rem; }
.dergi-pdf-link { font-weight: 600; }
.dergi-pdf-frame {
  position: relative;
  width: 100%;
  min-height: min(78vh, 920px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}
.dergi-pdf-frame iframe {
  display: block;
  width: 100%;
  height: min(78vh, 920px);
  border: 0;
}
