/* Öğrenci Yorumları (16 Ekim 2026, tasarım 04 + flat seçenek A): text-only hero, then a 50/50 row: the looping
   15 s clip on the left (click opens the full recording in a modal), the lined review area on the right. */
.student-reviews { padding: 90px var(--page-gutter) 120px; background: #fff; }
/* Both columns share one row: the clip is at least its own ratio and stretches when the panel is taller. */
.student-reviews__layout { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px; }

/* The clip keeps its place; a soft 6px frame sits outside it, as on the review card (review-video.css). On the
   white section a backdrop blur would only smear the clip's dark edge into the frame, so it is a flat 2% tint. */
.student-reviews__film { position: relative; isolation: isolate; align-self: stretch; width: 100%; aspect-ratio: 25 / 18; min-height: 0; margin: 0; overflow: visible; border-radius: 32px !important; }
.student-reviews__film::after { content: ''; position: absolute; z-index: -1; inset: -6px; border-radius: 38px; background: rgb(21 21 21 / 2%); pointer-events: none; }
/* The whole clip is the button; the shared red cursor disc reads TAMAMINI DİNLE over it. */
.student-reviews__open { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: inherit; background: #151515; cursor: pointer; }
.student-reviews__open video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.student-reviews__open:hover video { transform: scale(1.03); }
.student-reviews__open:focus-visible { outline: 3px solid var(--kak-red); outline-offset: -3px; }
/* Touch screens have no cursor disc: a small label says the same thing. */
.student-reviews__open-badge { position: absolute; left: 20px; bottom: 20px; display: none; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--kak-red); color: #fff; font: 500 14px/1 Outfit,sans-serif; }
@media (hover: none) { .student-reviews__open-badge { display: inline-flex; } }

/* Lined review area (16 Ekim 2026, option A): no card ground; hairlines above and below, the subline and
   01 / 04 counter on top, one large quote at a time, the progress bar and arrows at the bottom. */
/* Beside the clip: the quote starts 60px from the top; the student box and progress row sit on the bottom
   edge (the arrows end level with the clip, their glass frame overhangs 6px); the space between stretches. */
.student-reviews__panel { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 60px 0 0; }
/* Light-ground glass frame for the arrows, as on Okullarımız. */
.student-reviews__panel .home-slider__direction-shell::after { background: rgb(37 37 37 / 6%); }
/* 01 / 04 sits right of the progress bar, 30px clear of the arrows. */
.student-reviews__count { flex: none; margin: 0 12px 0 0; color: rgb(37 37 37 / 55%); font-size: 14px; font-variant-numeric: tabular-nums; }
.student-reviews__count strong { color: var(--kak-red); font-weight: 500; }
/* Every review shares one grid cell, so the area is as tall as the longest; only the active one shows. */
.student-reviews__deck { flex: 1; display: grid; touch-action: pan-y; }
.student-reviews__card { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 30px; min-width: 0; margin: 0; padding: 0 0 24px; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.student-reviews__card.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.student-reviews__card.is-active :is(.student-reviews__quote, blockquote) { animation: student-reviews-in .8s cubic-bezier(.16,1,.3,1) both; }
.student-reviews__card.is-active figcaption { animation: student-reviews-in .8s cubic-bezier(.16,1,.3,1) .12s both; }
@keyframes student-reviews-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
/* Curved 66-style quote drawn at its own 32x24 size: the earlier blocky glyph looked jagged at 1x. */
.student-reviews__quote { display: block; flex: none; width: 32px; height: 24px; color: var(--kak-red); }
.student-reviews__card blockquote { max-width: 680px; margin: 0; }
.student-reviews__card blockquote p { margin: 0; font: 400 clamp(20px,1.65vw,25px)/1.3 Outfit,sans-serif; letter-spacing: -.03em; }
/* Veli & Öğrenci Röportajları: the deck shows interview topics, not quotes; the text uses the featured-medium role. */
.student-reviews__topic-number { color: var(--kak-red); font-size: var(--type-small); font-weight: 500; font-variant-numeric: tabular-nums; }
.student-reviews__topic { max-width: 680px; margin: 0; font-size: var(--type-featured-medium); font-weight: 400; line-height: 1.3; letter-spacing: -.03em; }
/* The student line sits in a light #f5f5f5 box; the level label is white inside it (16 Ekim 2026). */
.student-reviews__card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 16px 18px 16px 16px; border-radius: var(--radius-md); background: #f5f5f5; }
.student-reviews__avatar { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--kak-red); font-size: 13px; font-weight: 500; }
/* Every review shows the red school emblem on a white circle (16 Ekim 2026). */
.student-reviews__avatar--emblem img { display: block; width: 28px; height: auto; }
.student-reviews__person { display: grid; gap: 4px; min-width: 0; color: var(--kak-muted); font-size: 13px; font-weight: 300; }
.student-reviews__person strong { color: var(--kak-dark); font-size: 15px; font-weight: 500; }
/* The level label sits at the bottom right of the review, red with white text on the #f5f5f5 student box. */
.student-reviews__level { flex: none; margin-left: auto; padding: 7px 12px; border-radius: var(--radius-sm); background: var(--kak-red); color: #fff; font-size: 13px; font-weight: 500; line-height: 1.2; }
/* Red autoplay bar left of the arrows, as on Okullarımız (schools-carousel.css); its animation turns the reviews. */
.student-reviews__nav { --reviews-duration: 6s; display: flex; align-items: center; gap: 18px; padding: 6px 6px 0 0; }
.student-reviews__progress { position: relative; flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(37 37 37 / 10%); }
.student-reviews__progress-fill { position: absolute; inset: 0; background: var(--kak-red); transform: scaleX(0); transform-origin: left center; }
.student-reviews__progress-fill.is-running { animation: student-reviews-progress var(--reviews-duration) linear forwards; }
.student-reviews__panel.is-paused .student-reviews__progress-fill.is-running { animation-play-state: paused; }
@keyframes student-reviews-progress { to { transform: scaleX(1); } }

/* Full recording modal: the video centred over a dark, blurred backdrop. */
.review-modal { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 30px var(--page-gutter); border: 0; background: transparent; overflow: hidden; color: #fff; font-family: Outfit,sans-serif; }
.review-modal[open] { display: grid; place-items: center; }
.review-modal::backdrop { background: rgb(10 10 10 / 82%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.review-modal__frame { position: relative; width: min(100%, 1280px, (100svh - 60px) * 16 / 9); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-lg); background: #000; box-shadow: 0 40px 80px rgb(0 0 0 / 45%); }
.review-modal__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
/* Boxed controls = the header action box (header.css .site-header__action-shell + .site-search-toggle):
   a solid dark face, red on hover, inside a 6px blurred glass frame. Close 40px, bar controls 36px. */
.review-modal__shell { position: relative; isolation: isolate; display: flex; flex: none; border-radius: calc(var(--radius-sm) + 6px); }
.review-modal__shell::after { content: ''; position: absolute; z-index: 1; inset: -6px; border-radius: calc(var(--radius-sm) + 6px); background: rgb(255 255 255 / 6%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.review-modal__box { position: relative; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--kak-control-bg); color: #fff; cursor: pointer; transition: color .25s, background-color .25s; }
.review-modal__box:hover { background: var(--kak-red); }
.review-modal__box:focus-visible { outline: 2px solid var(--kak-red); outline-offset: 4px; }
.review-modal__close { position: absolute; top: 20px; right: 20px; z-index: 2; }
/* Over the video the white 6% frame disappears on light frames; the close frame is a dark glass instead. */
.review-modal__close::after { background: rgb(21 21 21 / 25%); }
.review-modal__close .review-modal__box { width: 40px; height: 40px; }
/* Standard player bar along the video's bottom: play / pause, timeline, time, mute and a volume slider. */
.review-modal__controls { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; isolation: isolate; display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 18px 0 12px; border-radius: 14px; }
/* Outer 6px blurred dark-glass frame around the player bar, like the boxed controls. */
.review-modal__controls::before { content: ''; position: absolute; z-index: -1; inset: -6px; border-radius: 20px; background: rgb(21 21 21 / 25%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.review-modal__controls::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: rgb(21 21 21 / 72%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.review-modal__icon-pause, .review-modal__icon-muted { display: none; }
.review-modal.is-playing .review-modal__icon-play, .review-modal.is-muted .review-modal__icon-sound { display: none; }
.review-modal.is-playing .review-modal__icon-pause, .review-modal.is-muted .review-modal__icon-muted { display: block; }
/* Both sliders: a red fill on a translucent track with a white handle, dragged with the mouse. */
.review-modal__range { --progress: 0%; height: 16px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.review-modal__range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--kak-red) var(--progress), rgb(255 255 255 / 25%) var(--progress)); }
.review-modal__range::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--kak-red) var(--progress), rgb(255 255 255 / 25%) var(--progress)); }
.review-modal__range::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4.5px; border: 0; border-radius: 50%; background: #fff; -webkit-appearance: none; appearance: none; transition: transform .2s ease; }
.review-modal__range::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.review-modal__range:hover::-webkit-slider-thumb { transform: scale(1.25); }
.review-modal__range:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.review-modal__seek { flex: 1; min-width: 60px; }
.review-modal__volume { flex: none; width: 90px; }
.review-modal__time { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: rgb(255 255 255 / 85%); }
html.has-review-modal { overflow: hidden; }
html.has-review-modal :is(.site-quickbar, .site-floating-actions) { visibility: hidden; }

/* Laptop / tablet: same 50/50 row with tighter section spacing; stacked from 900px with a 16:9 clip. */
/* Large screens: the student box hugs its content (title and school each on one line) instead of
   stretching across the column. */
@media (min-width:1101px) {
  .student-reviews__card figcaption { align-self: flex-start; width: var(--student-box-width, auto); max-width: 100%; }
  .student-reviews__person, .student-reviews__person strong { white-space: nowrap; }
}
@media (max-width:1100px) {
  .student-reviews { padding-block: 60px 90px; }
  .student-reviews__card { gap: 24px; }
  .student-reviews__card figcaption { padding: 14px; }
}
@media (max-width:900px) {
  .student-reviews__layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .student-reviews__film { align-self: auto; aspect-ratio: 16 / 9; }
  /* Stacked under the clip the area follows its content again. */
  .student-reviews__panel { padding: 0; }
  .student-reviews__card figcaption { margin-top: 10px; }
}
@media (max-width:820px) {
  /* Mobile: minimal spacing, as the other content sections (30px under the hero line, 60px below). */
  .student-reviews { padding-block: 30px 60px; }
  .student-reviews__layout { gap: 24px; }
  .student-reviews__film { border-radius: 24px !important; }
  .student-reviews__film::after { border-radius: 30px; }
  .student-reviews__card { padding: 0 0 18px; gap: 18px; }
  .student-reviews__quote { width: 26px; height: 20px; }
  .student-reviews__card figcaption { flex-wrap: wrap; gap: 12px; margin-top: 0; padding: 12px; }
  .student-reviews__avatar { flex-basis: 40px; width: 40px; height: 40px; }
  .student-reviews__nav { gap: 12px; }
  .student-reviews__count { margin-right: 6px; }
  .review-modal { padding: 20px var(--page-gutter); }
  .review-modal__frame { width: 100%; }
  .review-modal__close { top: 12px; right: 12px; }
  /* On phones the controls sit under the video so they do not cover it. */
  .review-modal__frame { overflow: visible; border-radius: var(--radius-md); }
  .review-modal__video { border-radius: inherit; }
  .review-modal__controls { top: calc(100% + 16px); bottom: auto; left: 0; right: 0; gap: 14px; padding: 0 12px 0 12px; }
  /* Phones set the level with their own buttons: the slider would crowd the timeline. */
  .review-modal__volume { display: none; }
  .review-modal__time { font-size: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  .student-reviews__card, .student-reviews__open video { transition: none; }
  .student-reviews__card.is-active :is(.student-reviews__quote, blockquote, figcaption) { animation: none; }
}
