/* Selah Girls — public site styles (spec 0002).
   Bootstrap 5 stays underneath (grid, navbar, collapse); this file gives the site its look.
   Tokens first, then base, header, side tab, then one block per page section. */

/* ---------- Fonts: Inter, self-hosted (OFL). latin-ext carries ş ğ İ. ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #141414;
  --ink-nav: #242323;
  --white: #ffffff;
  --muted: #727272;
  --pink-band: #eca8c4;
  --pink-accent: #f1a3c0;
  --pink-soft: #ffbedf;
  --salmon: #ffbdb8;
  --purple: #7771d6;
  --red: #e8575a;
  --footer-bg: #191919;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 112px;
  --gutter: clamp(20px, 3vw, 44px);
  --hero-h: clamp(560px, 88vh, 820px);
  /* Where the hero headline sits vertically. 46% = over the face (as in the reference);
     58% keeps it below the chin on the owner's photo. One-line tweak. */
  --hero-text-top: 58%;
}

/* ---------- Base ---------- */
html { font-size: 16px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: inherit; }

.visually-hidden-focusable:focus { z-index: 2000; }

/* ---------- Header / navigation ---------- */
.site-header { position: relative; z-index: 1030; }
.site-header .navbar { padding: 0; min-height: 84px; }
.site-header__inner {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  align-items: center;
}
.site-brand {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  margin-right: 0;
}
.site-header .navbar-nav { gap: 0.25rem; }
.site-header .navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 400;
  padding: 0 clamp(14px, 2.4vw, 39px);
  line-height: 61px;
  text-decoration: none;
}
.site-header .navbar-nav .nav-link:hover { text-decoration: underline; text-underline-offset: 6px; }

/* Home: transparent over the hero */
.site-header--overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  color: var(--white);
}
.site-header--overlay .site-brand,
.site-header--overlay .nav-link { color: var(--white); }
.site-header--overlay .nav-link.active { color: var(--ink-nav); }

/* Other pages: solid white bar */
.site-header--solid {
  background: var(--white);
  border-bottom: 1px solid #ececec;
  color: var(--ink);
}
.site-header--solid .site-brand,
.site-header--solid .nav-link { color: var(--ink); }
.site-header--solid .nav-link.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--pink-accent); text-decoration-thickness: 3px; }

.site-header__spacer { flex: 1 1 0; }
@media (min-width: 768px) {
  .site-header .site-brand { flex: 1 1 0; }
  .site-header .navbar-collapse { flex: 0 1 auto; flex-grow: 0; }
}

/* Collapsed (phone) menu */
@media (max-width: 767.98px) {
  .site-header .navbar-toggler { border: 0; padding: 0.5rem; }
  .site-header .navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--purple); }
  .site-header .navbar-collapse { flex-basis: 100%; }
  .site-header--overlay .navbar-collapse.show,
  .site-header--overlay .navbar-collapse.collapsing {
    background: rgba(20, 20, 20, 0.72);
    margin: 0 calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 1rem;
  }
  .site-header .navbar-nav .nav-link { line-height: 1; padding: 0.85rem 0; font-size: 1.1rem; }
  .site-header--overlay .nav-link.active { color: var(--pink-soft); }
  .site-header .navbar-nav { gap: 0; }
}

/* ---------- Side tab (BİZE KATIL) ---------- */
.side-tab {
  position: fixed;
  right: 0;
  top: 40vh;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.side-tab[data-theme="dark"] { color: var(--white); }
.side-tab__icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.side-tab__text {
  writing-mode: vertical-rl;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: none; /* text is typed in capitals (İ) on purpose */
}
.side-tab:hover .side-tab__text { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 767.98px) {
  .side-tab { padding: 10px 8px; gap: 10px; }
  .side-tab__icon { width: 24px; height: 24px; }
  .side-tab__text { font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: var(--hero-h);
  color: var(--white);
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.30) 0, rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.34) 100%),
    var(--slot-image, url("../images/hero.jpg")) 40% 30% / cover no-repeat,
    var(--salmon);
  /* Parallax: the photo stays fixed in the window while the page scrolls over it. */
  background-attachment: scroll, fixed;
  overflow: hidden;
}
.hero__inner {
  position: absolute;
  left: 0; right: 0;
  top: var(--hero-text-top);
  transform: translateY(-50%);
  text-align: center;
  padding: 0 var(--gutter);
}
.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero__title .accent { color: var(--pink-soft); }
.hero__more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 6vh, 64px);
  color: var(--white);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.hero__more svg { width: 34px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--pink-band);
  color: var(--white);
  overflow: hidden;
  height: 54px;
  white-space: nowrap;
}
.quote-band__track {
  display: inline-flex;
  animation: quote-scroll 38s linear infinite;
  will-change: transform;
}
.quote-band__group { display: inline-flex; flex: 0 0 auto; }
.quote-band__item { display: inline-flex; align-items: baseline; gap: 12px; padding: 0 44px 0 0; line-height: 54px; }
.quote-band__item strong { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.01em; }
.quote-band__item span { font-size: 1.3rem; font-weight: 300; }
.quote-band:hover .quote-band__track { animation-play-state: paused; }
@keyframes quote-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .quote-band { overflow-x: auto; }
  .quote-band__track { animation: none; }
}

/* ---------- Shared section pieces ---------- */
.section-title { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: 0.02em; margin: 0 0 1.6rem; }
.body-light { font-size: 1.125rem; line-height: 1.7; font-weight: 300; margin: 0 0 2rem; max-width: 34ch; }
.inline-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-solid, .btn-outline {
  display: inline-block;
  padding: 0.78rem 1.7rem;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--white); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Photo slots. Every photo panel is a "window" onto an image that is fixed to the viewport
   (background-attachment: fixed), so coloured blocks and text slide over the photos as the page
   scrolls — the reference's look. Without an upload every slot shows the shared hero photo; a slot or event with
   an uploaded picture sets the inline variable --slot-image (see SiteImageHtml) and gets the class has-image.
   The parallax is switched off on touch devices and for reduced motion (see the end of this block). */
.media-slot {
  background-color: var(--salmon);
  /* --slot-image is set inline by the page when the admin uploaded a picture for this slot (spec 0004);
     without it the shared photo shows, exactly as before. */
  background-image: var(--slot-image, url("../images/hero.jpg"));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 260px;
}
.media-slot--a { background-position: 30% 40%; }
.media-slot--b { background-position: 75% 30%; }
.media-slot--c { background-position: 50% 80%; }
/* An uploaded picture is its own photo (spec 0004): by default it FITS its frame (fills it, centred, only the overflow of a
   different aspect ratio is cropped) and moves with the content. A fixed window would show only a slice of it, so the
   fixed-window effect is opt-in per slot (class "parallax", see below). The hero photo has its own rules. */
.media-slot.has-image {
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}
/* Owner decision: on the Home page the "Misyonumuz" and "Yaklaşan Etkinlikler" photos never use the fixed-window effect,
   not even the shared fallback photo. */
.mission .split__media.media-slot,
.events__banner.media-slot { background-attachment: scroll; }
/* Slots marked Parallax in SiteImageCatalog (Biz kimiz? top + Kurucumuz, Etkinlikler top, İletişim top) keep the fixed-window
   effect for uploaded pictures on desktop: the picture stays put behind the page and the page slides over it.
   A plain "background-attachment: fixed" would scale the picture to the WHOLE window and show only the slice behind this
   half-width panel (the subject gets cut off). Instead the panel clips a fixed layer that is exactly as wide as the panel
   (50vw; left edge = the panel's own left edge, because a fixed box without "left" keeps its normal position) and as tall
   as the screen, so the picture is fitted to a panel-sized area. At the top of the page it looks the same as the normal
   fitted picture; while scrolling it stays put behind the page. */
@media (min-width: 992px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media-slot.has-image.parallax {
    position: relative;
    clip-path: inset(0);
    background-image: none;
  }
  .media-slot.has-image.parallax::before {
    content: "";
    position: fixed;
    top: 0;
    width: 50vw;
    height: 100vh;
    background: var(--slot-image) center / cover no-repeat;
  }
}

@media (max-width: 991.98px), (hover: none), (prefers-reduced-motion: reduce) {
  .hero { background-attachment: scroll, scroll; }
  .media-slot { background-attachment: scroll; }
}

/* ---------- Mission ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 586px; background: var(--white); }
.split__body { display: flex; align-items: center; padding: 64px var(--gutter) 64px clamp(24px, 8vw, 112px); }
.split__body .section-title { font-weight: 700; }
@media (max-width: 767.98px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { min-height: 300px; }
  .split__body { padding: 48px var(--gutter); }
}

/* ---------- Upcoming events ---------- */
.events { display: grid; grid-template-columns: minmax(230px, 25%) 1fr; min-height: 832px; background: var(--white); }
.events__side {
  background: var(--salmon);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 56px clamp(24px, 3.6vw, 52px);
  gap: 3.5rem;
}
.events__vtitle {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin: 0;
  font-size: clamp(2.6rem, 4.9vw, 4.3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.events__banner { min-height: 557px; }
.events__content { padding: 42px clamp(24px, 4vw, 60px) 56px; }
.events__lead { font-size: 1.7rem; font-weight: 700; margin: 0 0 0.6rem; }
.events__intro { font-size: 1.125rem; line-height: 1.45; max-width: 46ch; margin: 0 0 1.8rem; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.event-card { border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.event-card__date { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin: 0 0 0.3rem; }
.event-card__title { font-size: 1.35rem; margin: 0 0 0.3rem; line-height: 1.2; }
.event-card__title a { text-decoration: none; }
.event-card__title a:hover { text-decoration: underline; }
.event-card__place { margin: 0 0 0.7rem; font-size: 0.98rem; }
.events__empty { font-size: 1.125rem; }
@media (max-width: 767.98px) {
  .events { grid-template-columns: 1fr; min-height: 0; }
  .events__side { flex-direction: column; justify-content: flex-start; padding: 40px var(--gutter); gap: 1.6rem; }
  .events__vtitle { writing-mode: horizontal-tb; transform: none; font-size: 2.6rem; }
  .events__banner { min-height: 240px; }
}

/* ---------- Feature cards ---------- */
.cards { background: var(--purple); color: var(--white); padding: 110px var(--gutter) 130px; }
.cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1300px; margin: 0 auto; }
.card-feature { text-align: center; display: flex; flex-direction: column; align-items: center; }
.card-feature__icon { width: 72px; height: 72px; fill: none; stroke: var(--pink-soft); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 1.6rem; }
.card-feature__title { font-size: 1.4rem; line-height: 1.1; margin: 0 0 1.1rem; }
.card-feature__text { font-size: 1rem; line-height: 1.3; letter-spacing: 0.03em; max-width: 26ch; margin: 0 0 1.8rem; min-height: 4.2em; }
.card-feature__link { color: var(--pink-soft); font-weight: 700; text-decoration: none; letter-spacing: 0.04em; }
.card-feature__link:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 767.98px) {
  .cards { padding: 64px var(--gutter) 72px; }
  .cards__grid { grid-template-columns: 1fr; gap: 3rem; }
  .card-feature__text { min-height: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--white); padding: 84px var(--gutter) 40px; text-align: center; }
.site-footer__brand { display: inline-block; font-size: 1.9rem; font-weight: 700; letter-spacing: 0.03em; text-decoration: none; margin-bottom: 1.6rem; }
.site-footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.2rem; margin: 0 0 3rem; padding: 0; }
.site-footer__nav a { text-decoration: none; font-size: 0.95rem; font-weight: 400; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer__copy { color: #9a9a9a; font-size: 0.78rem; margin: 0; }

/* ---------- Testimonial-style split (Home: "Selah ne demek?") ---------- */
.split--pink { background: var(--pink-soft); min-height: 710px; }
.split--pink .split__body { padding-left: clamp(24px, 9vw, 130px); }
.split--pink .section-title { font-size: clamp(1.7rem, 2.3vw, 2.1rem); line-height: 1.15; letter-spacing: 0; max-width: 16ch; }
.split--pink .body-light { font-size: 1rem; line-height: 1.75; max-width: 34ch; }

.split--purple { background: var(--purple); color: var(--white); }
.split--purple .body-light { max-width: 36ch; }

/* ---------- Pre-footer call-to-action band ---------- */
.quote-band--cta { background: var(--pink-band); color: var(--ink); height: 64px; }
.quote-band--cta .quote-band__item { line-height: 64px; gap: 28px; padding-right: 60px; }
.quote-band--cta .quote-band__item strong { font-size: 1.3rem; font-weight: 700; }
.quote-band__cta { color: var(--white); font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
.quote-band__cta:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Inner-page banner: coloured text panel + photo (About, Events, Akademi …) ---------- */
.banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(440px, 35vw, 680px);
  background: var(--salmon);
  color: var(--banner-ink, var(--ink));
}
.banner__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 8px) var(--gutter) 64px clamp(24px, 11vw, 200px);
}
.banner__title { margin: 0; font-size: clamp(1.8rem, 2.5vw, 2.3rem); line-height: 1.28; font-weight: 300; max-width: 22ch; }
.banner__title--bold { font-weight: 700; }
.banner__meta { margin: 1rem 0 0; font-size: 1.05rem; font-weight: 400; }
.banner--salmon { background: var(--salmon); }
.banner--pink { background: var(--pink-soft); }
.banner--red { background: var(--red); --banner-ink: var(--white); }
.banner--purple { background: var(--purple); --banner-ink: var(--white); }
.banner--compact { min-height: clamp(380px, 28vw, 520px); }
.banner--flip .banner__media { order: -1; }
@media (max-width: 767.98px) {
  .banner { grid-template-columns: 1fr; min-height: 0; }
  .banner__text { padding: calc(var(--header-h) - 10px) var(--gutter) 40px; }
  .banner__media { min-height: 260px; order: 2; }
}

/* ---------- Strip: coloured side column with a vertical title + white body ---------- */
.strip {
  display: grid;
  grid-template-columns: minmax(150px, 26%) 1fr var(--strip-end, 0px);
  min-height: 420px;
  background: var(--strip-body, var(--white));
}
.strip--ends { --strip-end: minmax(120px, 26%); }
.strip__side { background: var(--strip-side, var(--pink-soft)); display: flex; align-items: flex-end; justify-content: flex-end; padding: 44px clamp(20px, 3vw, 44px); }
.strip__side--center { align-items: center; }
.strip__vtitle { writing-mode: vertical-rl; transform: rotate(180deg); margin: 0; font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.strip__body { display: flex; flex-direction: column; justify-content: center; padding: 64px var(--gutter) 64px clamp(24px, 9vw, 140px); }
.strip__body p { font-size: 1.05rem; line-height: 1.75; font-weight: 300; max-width: 58ch; margin: 0 0 1.4rem; }
.strip__body p a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.strip__body .lead { font-size: 1.5rem; font-weight: 700; line-height: 1.3; max-width: 30ch; margin-bottom: 1.4rem; }
.strip__end { background: var(--strip-end-color, var(--red)); }
.strip--red-pink { --strip-side: var(--red); --strip-end-color: var(--pink-soft); }
.strip--pink-red { --strip-side: var(--pink-soft); --strip-end-color: var(--red); }
.strip--red-body-pink { --strip-side: var(--red); --strip-body: var(--pink-soft); }
@media (max-width: 767.98px) {
  .strip, .strip--ends { grid-template-columns: 1fr; min-height: 0; }
  .strip__side { padding: 32px var(--gutter); justify-content: flex-start; }
  .strip__vtitle { writing-mode: horizontal-tb; transform: none; font-size: 2.6rem; }
  .strip__body { padding: 40px var(--gutter) 48px; }
  .strip__end { display: none; }
}

/* ---------- Dark bar + salmon event list (Events page) ---------- */
.bar-title { background: #222; color: var(--white); margin: 0; padding: 0 var(--gutter) 0 clamp(24px, 25vw, 480px); font-size: 1rem; font-weight: 400; line-height: 54px; }
.event-list { background: var(--salmon); padding: 44px var(--gutter) 88px clamp(24px, 25vw, 480px); }
.event-list__inner { display: grid; gap: 16px; max-width: 700px; }
.event-tile { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); min-height: 300px; color: var(--ink); }
.event-tile__media { min-height: 220px; }
.event-tile__body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 24px; }
.event-tile__title { font-size: 1.3rem; line-height: 1.25; margin: 0 0 0.6rem; }
.event-tile__meta { font-size: 0.85rem; font-weight: 400; margin: 0 0 0.9rem; }
.event-tile__text { font-size: 0.85rem; line-height: 1.5; margin: 0 0 1.3rem; max-width: 30ch; }
.btn-purple { display: inline-block; background: var(--purple); color: var(--white); padding: 0.55rem 2.6rem; font-size: 0.85rem; font-weight: 500; text-decoration: none; border: 2px solid var(--purple); transition: background 0.15s ease, color 0.15s ease; }
.btn-purple:hover { background: var(--white); color: var(--purple); }
.event-list__empty { font-size: 1.15rem; margin: 0; }
@media (max-width: 767.98px) {
  .bar-title { padding-left: var(--gutter); }
  .event-list { padding-left: var(--gutter); padding-right: var(--gutter); }
  .event-tile { grid-template-columns: 1fr; }
  .event-tile__media { min-height: 200px; }
}

/* ---------- Past events (Events page) ---------- */
.past { background: var(--pink-soft); padding: 44px var(--gutter) 88px clamp(24px, 25vw, 480px); }
.past__inner { display: grid; gap: 40px; max-width: 720px; }
.past__photo { min-height: clamp(240px, 26vw, 380px); }
.past__card { background: var(--white); padding: 22px 28px 28px; }
.past__title { font-size: 1.6rem; line-height: 1.2; margin: 0 0 0.4rem; }
.past__meta { font-size: 0.85rem; font-weight: 400; margin: 0 0 0.8rem; color: var(--muted); }
.past__text { font-size: 0.9rem; line-height: 1.6; margin: 0; }
@media (max-width: 767.98px) { .past { padding-left: var(--gutter); padding-right: var(--gutter); } }


/* ---------- Contact form (İletişim) ---------- */
.banner--tall { min-height: clamp(640px, 48vw, 900px); }
.banner__text--form { justify-content: flex-start; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
.banner__sub { font-size: 0.95rem; font-weight: 300; margin: 1.4rem 0 0; max-width: 40ch; }
.contact-form__title { font-size: 1.2rem; font-weight: 300; color: var(--pink-soft); margin: 2.6rem 0 1rem; }
.contact-form { display: grid; gap: 14px; max-width: 380px; position: relative; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid var(--pink-soft);
  border-radius: 0;
  color: var(--white);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form ::placeholder { color: var(--white); opacity: 1; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.contact-form__submit {
  justify-self: start;
  display: inline-block;
  background: var(--pink-soft);
  color: var(--purple);
  border: 0;
  padding: 0.8rem 2.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.contact-form__submit:hover { background: var(--white); }
.contact-form__error { display: block; margin-top: 0.3rem; color: var(--white); font-size: 0.85rem; font-weight: 500; }
.contact-form__error:empty { display: none; }
.contact-form__notice { margin: 1rem 0 0; font-size: 0.85rem; line-height: 1.5; opacity: 0.85; }
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent .banner__sub { margin-bottom: 1.4rem; }

/* ---------- Akademi blog (banner without photo, category bar, masonry of cards) ---------- */
.banner--solo { grid-template-columns: 1fr; min-height: clamp(300px, 24vw, 460px); }
.banner--solo .banner__title { max-width: 26ch; }
.blog-bar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; background: #1b1b1b; color: var(--white); padding: 0 var(--gutter); min-height: 46px; align-items: center; }
.blog-bar button { background: none; border: 0; color: inherit; font: inherit; font-size: 0.85rem; font-weight: 400; padding: 0.75rem 0; cursor: pointer; }
.blog-bar button:hover { text-decoration: underline; text-underline-offset: 5px; }
.blog-bar button[aria-pressed="true"] { color: var(--pink-accent); }
.blog-bar button:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.blog-grid { background: var(--salmon); padding: 24px var(--gutter) 88px; min-height: 320px; }
.blog-grid__inner { column-count: 5; column-gap: 14px; }
.blog-grid__empty { font-size: 1.15rem; margin: 0; padding: 24px 0; }
.blog-card { display: block; break-inside: avoid; background: var(--white); margin: 0 0 14px; }
.blog-card[hidden] { display: none; }
.blog-card__img { min-height: 0; }
.blog-card__img--s { height: 170px; }
.blog-card__img--m { height: 230px; }
.blog-card__img--l { height: 300px; }
.blog-card__body { padding: 14px 16px 18px; }
.blog-card__meta { font-size: 0.72rem; font-weight: 400; color: var(--muted); margin: 0 0 0.5rem; }
.blog-card__title { font-size: 1.1rem; line-height: 1.2; margin: 0 0 0.5rem; }
.blog-card__excerpt { font-size: 0.82rem; line-height: 1.5; margin: 0; }
@media (max-width: 1399.98px) { .blog-grid__inner { column-count: 4; } }
@media (max-width: 1099.98px) { .blog-grid__inner { column-count: 3; } }
@media (max-width: 767.98px) { .blog-grid__inner { column-count: 1; } }
@media (min-width: 768px) and (max-width: 899.98px) { .blog-grid__inner { column-count: 2; } }

/* ---------- Join page ---------- */
.banner__sub { font-size: 0.9rem; line-height: 1.75; }
.banner--purple .banner__sub { max-width: 46ch; }
.strip__body .benefits { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.strip__body .benefits li { font-size: 1rem; line-height: 1.9; font-weight: 300; }

/* ---------- Plain content section under a banner (details pages, lists) ---------- */
.content-section { background: var(--white); padding: 56px var(--gutter) 96px clamp(24px, 11vw, 200px); }
.content-section__inner { max-width: 760px; }

/* ---------- Inner pages ---------- */
.page-shell { padding-top: 56px; padding-bottom: 96px; max-width: 980px; }
.page-title { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.01em; margin: 0 0 1.4rem; }
.page-lead { font-size: 1.15rem; line-height: 1.7; }
.page-text { font-size: 1.125rem; line-height: 1.75; max-width: 62ch; }
.page-text a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.page-meta { color: var(--muted); font-weight: 400; margin: 0 0 0.4rem; }
.page-back { display: inline-block; margin-top: 2rem; font-weight: 700; text-decoration: none; }
.page-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.muted { color: var(--muted); }

.entry-list { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.entry { display: block; padding: 1.4rem 0; border-bottom: 1px solid #dcdcdc; text-decoration: none; }
.entry:hover .entry__title { text-decoration: underline; text-underline-offset: 5px; }
.entry__date { display: block; font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-bottom: 0.25rem; }
.entry__title { font-size: 1.6rem; margin: 0 0 0.25rem; line-height: 1.2; }
.entry__meta { margin: 0; font-size: 1rem; color: #444; }

.notice-page { background: var(--pink-soft); padding: 2.2rem; margin-top: 1.6rem; max-width: 620px; }
.notice-page p { margin: 0; font-size: 1.1rem; line-height: 1.6; }
