/* WP leftover: stabilize auto-sized images */
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px;
}

@font-face {
  font-family: "Vodka Brush";
  src: url("../font/vodka-brush.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.bitur-font-vodka-brush {
  font-family: "Vodka Brush", cursive;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
}

.bitur-about-tagline .bitur-font-vodka-brush {
  font-size: 1.45em;
  display: inline-block;
  vertical-align: -0.05em;
  margin-inline: 0.08em;
  color: #1bb1bc;
}

.bitur-about-tagline-icon {
  flex-shrink: 0;
  fill: #1bb1bc;
}

/* =============================================================================
   Home intro swap ? heading left / copy+CTA right (desktop)
   Mobile keeps natural order: heading ? copy ? cards
   ============================================================================= */

/* Decorative SVG line ? tuned for new path (R?L, ends bottom-left) */
.bitur-index-partner-line {
  --bitur-index-partner-line-len: 2027.2141530486088;
  position: absolute;
  z-index: 0;
  left: 0;
  top: clamp(72px, 10vw, 160px);
  width: min(112%, 2100px);
  max-width: none;
  pointer-events: none;
  stroke-width: 36px;
  /* Fade: left + right + bottom (path starts top-right, ends bottom-left) */
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 10%, #000 88%, transparent),
    linear-gradient(180deg, #000 82%, transparent);
  mask-image:
    linear-gradient(90deg, transparent, #000 10%, #000 88%, transparent),
    linear-gradient(180deg, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Draw-in: site uses .animate + data-animate-fill-line ? stroke-dashoffset: 0
   New length is not in compiled Tailwind utilities, so set dash values here. */
.bitur-index-partner-line > path {
  stroke-dasharray: var(--bitur-index-partner-line-len);
  stroke-dashoffset: var(--bitur-index-partner-line-len);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bitur-index-partner > .container {
  display: flex;
  flex-direction: column;
}

/* Editable heading: words stay as plain text in HTML; JS wraps them for reveal animation */
[data-bitur-split-words]:not([data-bitur-words-ready="1"]) {
  visibility: hidden;
}

@media (scripting: none) {
  [data-bitur-split-words]:not([data-bitur-words-ready="1"]) {
    visibility: visible;
  }
}

/* Split links get one span per word, so the theme underline animates word by word.
   Draw it on the link instead so multi-word labels share a single line. */
.text-editor a[data-bitur-split-words],
.text-editor [data-bitur-split-words] a {
  background-image: linear-gradient(90deg, var(--color) 0%, var(--color) 100%);
  background-size: 0% 2px;
  background-position: 0% 100%;
  background-repeat: no-repeat;
  transition: 0.35s ease all;
}

.text-editor a[data-bitur-split-words]:hover,
.text-editor [data-bitur-split-words] a:hover {
  background-size: 100% 2px;
}

.text-editor a[data-bitur-split-words] span,
.text-editor a[data-bitur-split-words]:hover span,
.text-editor [data-bitur-split-words] a span,
.text-editor [data-bitur-split-words] a:hover span {
  background-image: none;
  background-size: 0 0;
}

/* Colored phrase inside split headings (not a span — reveal CSS targets spans) */
.bitur-text-accent {
  color: #1bb1bc;
  font-style: normal;
  font-weight: inherit;
}

.bitur-text-accent > span {
  color: inherit;
}

.bitur-text-apple {
  color: var(--apple);
  font-style: normal;
  font-weight: inherit;
}

.bitur-text-apple > span {
  color: inherit;
}

/* About closing line — underline only under "Bitur" (kill Tailwind text-decoration) */
.bitur-about-smile-emphasis {
  position: relative;
  display: inline-block;
  font-style: normal;
  text-decoration: none;
  padding-bottom: 0.45em;
  overflow: visible;
  isolation: isolate;
  color: #1bb1bc;
  /* Don't inherit word-reveal mask — it clips the underline SVG */
  opacity: 1;
  translate: none;
  scale: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

.bitur-about-smile-emphasis > span {
  position: relative;
  z-index: 1;
  color: inherit;
}

.bitur-about-smile-underline {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 1em;
  width: 108%;
  height: auto;
  overflow: visible;
  transform: translateX(-50%);
  pointer-events: none;
}

.bitur-about-smile-underline-path {
  stroke: #1bb1bc;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  clip-path: url(#line-clip-bitur-guvence);
  -webkit-clip-path: url(#line-clip-bitur-guvence);
  stroke-dasharray: 173.6370849609375;
  stroke-dashoffset: 173.6370849609375;
}

/* Keep word spans animated; wrapper itself must not be treated as a word */
[data-animate-reveal-text] .bitur-about-smile-emphasis {
  opacity: 1;
  translate: none;
  scale: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

.bitur-as-h2:has(.bitur-about-smile-emphasis) {
  overflow: visible;
  padding-bottom: 0.2em;
}

/* Service detail — image straddles teal section / white section */
.bitur-hizmet-quote {
  overflow: visible;
  padding-bottom: clamp(14rem, 42vw, 26rem);
}

.bitur-hizmet-bridge {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(3.75rem, 7.5vw, 7.5rem);
}

.bitur-hizmet-bridge__media {
  margin-top: -24%;
}

.bitur-hizmet-bridge__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1489 / 713;
  object-fit: cover;
  border-radius: clamp(1.25rem, 3.75vw, 3.75rem);
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.1),
    0 36px 36px rgba(0, 0, 0, 0.09);
}

.bitur-hizmet-bridge__copy {
  margin-top: clamp(2rem, 4vw, 3.75rem);
}

.bitur-hizmet-bridge .bitur-about-smile-underline-path {
  clip-path: url(#line-clip-bitur-hizmet);
  -webkit-clip-path: url(#line-clip-bitur-hizmet);
}

@media screen and (max-width: 767px) {
  .bitur-hizmet-quote {
    padding-bottom: clamp(8rem, 52vw, 16rem);
  }

  .bitur-hizmet-bridge__media {
    margin-top: -30%;
  }

  .bitur-hizmet-bridge__media img {
    aspect-ratio: 5 / 4;
  }
}

.bitur-index-partner-emphasis {
  position: relative;
  display: inline-block;
  font-style: normal;
  text-decoration: none;
}

.bitur-index-partner-emphasis > span {
  color: var(--alizarin-crimson);
}

.bitur-index-partner-underline {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 85%;
  width: 100%;
  transform: translateX(-50%);
}

.bitur-index-partner-underline-path {
  stroke: var(--theme-color);
  stroke-width: 13px;
  clip-path: url(#line-clip-partner);
  -webkit-clip-path: url(#line-clip-partner);
  stroke-dasharray: 173.6370849609375;
  stroke-dashoffset: 173.6370849609375;
}

/* =============================================================================
   Hero heading — editable text (replaces SVG "Go with a Smile")
   ============================================================================= */

.bitur-hero-heading {
  width: 100%;
  max-width: min(94vw, 54rem);
  margin-inline: auto;
}

.bitur-hero-heading .text-editor .bitur-as-h1,
.bitur-hero-heading .bitur-as-h1 {
  font-size: clamp(2.85rem, 7.5vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
  overflow: visible;
  padding-bottom: 0.18em;
  text-shadow:
    0 2px 6px rgb(0 0 0 / 0.08),
    0 8px 28px rgb(0 0 0 / 0.09),
    0 16px 40px rgb(0 0 0 / 0.05);
}

.bitur-hero-heading .bitur-as-h1 br + .bitur-hero-line2 {
  margin-top: -0.1em;
}

.bitur-hero-line2 {
  display: inline-block;
  white-space: nowrap;
}

@keyframes bitur-hero-word-in {
  to {
    opacity: 1;
    translate: 0 0 0;
  }
}

/* Hero: soft word fade (no mask — avoids clipping descenders like ş) */
.bitur-hero-heading [data-bitur-split-words] span {
  display: inline-block;
  opacity: 0;
  translate: 0 0.28em 0;
  -webkit-mask-image: none;
  mask-image: none;
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  animation-fill-mode: forwards;
  text-shadow:
    0 2px 6px rgb(0 0 0 / 0.08),
    0 8px 28px rgb(0 0 0 / 0.09),
    0 16px 40px rgb(0 0 0 / 0.05);
}

.bitur-hero-heading .animate [data-bitur-split-words] span {
  animation-name: bitur-hero-word-in;
  animation-delay: calc(900ms + var(--index, 0) * 42ms);
}

.bitur-hero-emphasis {
  position: relative;
  display: inline-block;
  font-style: normal;
  text-decoration: none;
  padding-bottom: 0.12em;
}

.bitur-hero-emphasis > span {
  color: #1bb1bc;
}

.bitur-hero-underline {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 85%;
  width: 100%;
  transform: translateX(-50%);
  pointer-events: none;
}

.bitur-hero-underline-path {
  stroke: #1bb1bc;
  stroke-width: 13px;
  clip-path: url(#line-clip-hero);
  -webkit-clip-path: url(#line-clip-hero);
  stroke-dasharray: 173.6370849609375;
  stroke-dashoffset: 173.6370849609375;
}

/* Hero video: match image reveal (blur + scale) */
[data-animate-reveal-image-wrapper] video {
  scale: var(--scale, 1.5);
  animation-duration: var(--duration, 1.5s);
  animation-delay: var(--delay, 0s);
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  filter: blur(24px);
}

.animate[data-animate-reveal-image-wrapper] video {
  animation-name: animate-reveal-image;
}

@media screen and (max-width: 767px) {
  .bitur-hero-heading {
    max-width: min(96vw, 100%);
  }

  .bitur-hero-heading .text-editor .bitur-as-h1,
  .bitur-hero-heading .bitur-as-h1 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.2;
  }

  .bitur-hero-line2 {
    white-space: normal;
  }
}

/* ----- Desktop / laptop ----- */
@media (min-width: 1024px) {
  .bitur-index-partner > .container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    column-gap: clamp(32px, 4vw, 72px);
    row-gap: clamp(40px, 5vw, 80px);
    align-items: start;
  }

  /* Big title ? left */
  .bitur-index-partner-heading {
    grid-column: 1;
    grid-row: 1;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 36rem;
    justify-self: start;
  }

  /* Body text + button ? right */
  .bitur-index-partner-copy {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0.35em;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 28rem !important;
    width: 100%;
    justify-self: end;
  }

  /* Cards stay full-width under both columns */
  .bitur-index-partner > .container > .mwg_effect025 {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* ----- Tablet ----- */
@media (min-width: 768px) and (max-width: 1023px) {
  .bitur-index-partner-heading,
  .bitur-index-partner-copy {
    max-width: 40rem;
  }
}

/* ----- Mobile: stacked, no side swap ----- */
@media (max-width: 1023px) {
  .bitur-index-partner-heading {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .bitur-index-partner-copy {
    margin-left: 0 !important;
    max-width: none !important;
  }
}

/* =============================================================================
   Results cards (mwg_effect025) ? responsive
   Desktop: overlapping fan + GSAP hover
   Tablet / mobile: readable 2?2 grid (no crushing overlap)
   ============================================================================= */

.mwg_effect025 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: clamp(16px, 3vw, 32px) 0;
}

.mwg_effect025 .container-col-12 {
  width: 100%;
  max-width: 1920px;
}

.mwg_effect025 .container.is-mwg_effect025 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.mwg_effect025 .results-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: 4.8 / 6.2;
  border-radius: clamp(1.25rem, 4vw, 3rem);
  color: #000;
  overflow: hidden;
  will-change: transform;
  transform-origin: center center;
}

.mwg_effect025 .results-card_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: clamp(1rem, 3.5vw, 2rem);
  box-sizing: border-box;
}

.mwg_effect025 .results-card_title {
  margin: 0;
  letter-spacing: -0.05em;
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 600;
  line-height: 0.95;
}

.mwg_effect025 .results-card_subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 2.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
}

.mwg_effect025 .results-card_divider {
  width: 100%;
  height: 1px;
  margin: 0.75em 0;
  background-color: currentColor;
  opacity: 0.35;
}

.mwg_effect025 .results-card_paragraph {
  max-width: 95%;
  margin: 0;
  font-size: clamp(0.8125rem, 2.4vw, 1rem);
  line-height: 1.4;
}

.mwg_effect025 .theme-blue {
  background-color: #69c8cf;
}

.mwg_effect025 .theme-green {
  background-color: #a6d6d9;
}

.mwg_effect025 .results-card .image,
.mwg_effect025 .results-card .video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Narrow Telefons: slightly shorter cards so copy breathes */
@media (max-width: 479px) {
  .mwg_effect025 .results-card {
    aspect-ratio: 3 / 4;
  }

  .mwg_effect025 .results-card_title {
    font-size: clamp(1.75rem, 11vw, 2.5rem);
  }
}

/* Tablet: keep 2?2, a touch more room */
@media (min-width: 768px) and (max-width: 1023px) {
  .mwg_effect025 .container.is-mwg_effect025 {
    gap: clamp(16px, 2vw, 28px);
    max-width: 52rem;
    margin-inline: auto;
  }

  .mwg_effect025 .results-card_title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

/* Desktop / laptop: overlapping fan row */
@media (min-width: 1024px) {
  .mwg_effect025 {
    padding: 40px 0 48px;
  }

  .mwg_effect025 .container.is-mwg_effect025 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: clamp(32px, 4vw, 64px) 0;
  }

  .mwg_effect025 .results-card {
    flex: 0 0 auto;
    width: min(22rem, 24vw);
    margin: 0;
  }

  /* Very light overlap — cards mostly separate, slight fan kiss */
  .mwg_effect025 .results-card:not(:first-child) {
    margin-left: clamp(-1.1rem, -1.35vw, -0.55rem);
  }

  .mwg_effect025 .results-card:nth-child(1) {
    z-index: 1;
  }
  .mwg_effect025 .results-card:nth-child(2) {
    z-index: 2;
  }
  .mwg_effect025 .results-card:nth-child(3) {
    z-index: 3;
  }
  .mwg_effect025 .results-card:nth-child(4) {
    z-index: 4;
  }

  .mwg_effect025 .results-card_title {
    font-size: clamp(2.5rem, 4.5vw, 5.5rem);
  }

  .mwg_effect025 .results-card_subtitle {
    font-size: 1.25rem;
  }

  .mwg_effect025 .results-card_paragraph {
    font-size: 1rem;
  }

  .mwg_effect025 .results-card_divider {
    margin: 1em 0;
  }
}

@media (min-width: 1440px) {
  .mwg_effect025 .results-card {
    width: min(26rem, 20vw);
  }

  .mwg_effect025 .results-card:not(:first-child) {
    margin-left: -1.1vw;
  }
}

/* =============================================================================
   Founded section line ? horizontal mirror + reversed draw direction
   ============================================================================= */

.bitur-index-founded-line {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 55%;
  width: 110%;
  max-width: 2100px;
  pointer-events: none;
  stroke-width: 44px;
  /* Mirror horizontally: loop moves left, path starts bottom-right */
  transform: translate(-50%, -50%) scaleX(-1);
  -webkit-mask-image: linear-gradient(
    270deg,
    transparent 2.5%,
    #000 5%,
    #000 95%,
    transparent 97.5%
  );
  mask-image: linear-gradient(
    270deg,
    transparent 2.5%,
    #000 5%,
    #000 95%,
    transparent 97.5%
  );
}

/* Inline photos in founded headline — keep vertical align with surrounding words */
.bitur-index-founded-media {
  vertical-align: middle;
}

/* =============================================================================
   Selected work ? Bitur typography + Our History button style
   ============================================================================= */

.section_selected-work .content-wrap.bitur-sw-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 42rem;
  margin-left: 0;
}

.section_selected-work .bitur-sw-heading .bitur-as-h2 {
  margin: 0;
  color: var(--mine-shaft, #2a2a2a);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section_selected-work .bitur-sw-copy {
  max-width: 36rem;
}

.section_selected-work .bitur-sw-copy p {
  margin: 0;
}

.section_selected-work .bitur-sw-copy strong {
  color: var(--mine-shaft, #2a2a2a);
  font-weight: 600;
}

.section_selected-work .bitur-sw-cta {
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

.section_selected-work .bitur-sw-card-title {
  margin: 0;
  color: inherit;
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section_selected-work .bitur-sw-card-label {
  font-size: clamp(0.8125rem, 1.1vw, 0.95rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .section_selected-work .content-wrap.bitur-sw-intro {
    margin-left: clamp(0px, 3vw, 5em);
  }
}

/* =============================================================================
   Destinations slider (carousel-custom-numenor) ? drag affordance
   Swiper handles mouse + touch; grabCursor + CSS reinforce the cue
   ============================================================================= */

.carousel-custom-numenor {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.carousel-custom-numenor.swiper-grabbing,
.carousel-custom-numenor:active {
  cursor: grabbing;
}

/* Keep nav arrows / pagination clickable above the drag surface */
.carousel-custom-numenor-prev,
.carousel-custom-numenor-next,
.carousel-custom-numenor-pagination {
  cursor: pointer;
  user-select: none;
}

/* Equal card heights: 3-line description reserve + slide stretch */
.carousel-custom-numenor .swiper-wrapper {
  align-items: stretch;
}

.carousel-custom-numenor .swiper-slide {
  height: auto;
  display: flex;
}

.carousel-custom-numenor .swiper-slide > a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Do NOT use margin-top: auto — it overrides mt-[--range-1]
   and collapses the gap between the photo stack and the title. */
.carousel-custom-numenor .swiper-slide > a > .text-editor.contrast {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin-top: clamp(1.75rem, 4vw, 3rem);
  gap: 0.75rem;
}

.carousel-custom-numenor .swiper-slide > a > .text-editor.contrast > .bitur-as-h6 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  line-height: 1.25;
}

.carousel-custom-numenor .swiper-slide > a > .text-editor.contrast > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  /* Short copy still occupies 3 lines → cards stay aligned */
  min-height: calc(1.45em * 3);
  line-height: 1.45;
  margin: 0;
}

/* Footer review stars (carousel-custom-barad) */
.bitur-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  line-height: 1;
}

.bitur-review-star {
  width: clamp(1rem, 1.35vw, 1.35rem);
  height: clamp(1rem, 1.35vw, 1.35rem);
  flex-shrink: 0;
  fill: #ffffff;
}

/* Text only — keep nav button position (parent width unchanged) */
@media (min-width: 1024px) {
  /*
    Footer top (desktop): reviews left, logo right.
    Decorative stroke mirrored so the loop sits to the left of the logo.
    Mobile keeps DOM order (logo → reviews) — no order below lg.
  */
  .field-footer .container > .grid.lg\:grid-cols-2 > a:first-of-type {
    order: 2;
    justify-self: end;
  }

  .field-footer .container > .grid.lg\:grid-cols-2 > .relative:nth-child(2) {
    order: 1;
    justify-self: end;
    overflow: visible;
  }

  .field-footer > svg[data-animate-fill-line] {
    left: 50%;
    transform: translateX(-34%) scaleX(-1) translateY(10%);
    -webkit-mask-image:
      linear-gradient(90deg, black 97%, transparent),
      linear-gradient(180deg, black 95%, transparent);
    mask-image:
      linear-gradient(90deg, black 97%, transparent),
      linear-gradient(180deg, black 95%, transparent);
  }

  /*
    Reviews carousel: stack slides so Swiper's horizontal track move cannot
    combine with the upward exit (that looked like a diagonal teleport).
    Peek / exit are pure CSS transforms on the inner card only.
    Keep Turkish copy LTR on content.
  */
  .field-footer .carousel-custom-barad {
    position: relative;
    overflow: visible;
  }

  .field-footer .carousel-custom-barad .swiper-wrapper {
    transform: none !important;
    transition: none !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide > div,
  .field-footer .carousel-custom-barad .duration-450.grid,
  .field-footer .carousel-custom-barad .text-editor,
  .field-footer .carousel-custom-barad blockquote,
  .field-footer .carousel-custom-barad p {
    direction: ltr;
    unicode-bidi: isolate;
  }

  .field-footer .carousel-custom-barad .swiper-slide {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 1;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active {
    position: relative !important;
    z-index: 3;
  }

  .field-footer .carousel-custom-barad .swiper-slide-next {
    z-index: 2;
    overflow: visible;
  }

  .field-footer .carousel-custom-barad .swiper-slide-prev {
    z-index: 4; /* above active while exiting upward */
  }

  .field-footer .carousel-custom-barad .swiper-slide .duration-450.grid {
    max-width: 400px;
    margin-left: auto;
    margin-right: 0;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active .duration-450.grid {
    min-height: 13.5rem;
  }

  .field-footer .carousel-custom-barad .swiper-slide > div {
    transition:
      transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Stars / name stagger — keep the softer original pacing */
  .field-footer .carousel-custom-barad .swiper-slide .text-editor {
    transition-duration: 700ms !important;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active .text-editor.lg\:group-slide-active\/slide\:delay-500,
  .field-footer .carousel-custom-barad .swiper-slide-active .text-editor:has(.bitur-review-stars) {
    transition-delay: 450ms !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active .text-editor.lg\:group-slide-active\/slide\:delay-\[750ms\],
  .field-footer .carousel-custom-barad .swiper-slide-active .text-editor:last-child {
    transition-delay: 700ms !important;
  }

  /*
    Next peek: previously lived in the RTL slide to the LEFT of active
    (−100% track) with an extra +28% nudge. Stacked slides share one slot,
    so recreate that left position: −100% + 28% ≈ −72%.
  */
  .field-footer .carousel-custom-barad .swiper-slide-next > div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    --tw-translate-x: -72% !important;
    --tw-translate-y: 20% !important;
    --tw-rotate: -12deg !important;
    transform: translate3d(-72%, 20%, 0) rotate(-12deg) !important;
    opacity: 0.3 !important;
    visibility: visible !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide-next .duration-450.grid {
    max-width: 400px;
    margin-left: 0;
    margin-right: auto;
  }

  /* Outgoing: straight up from the right — X must stay 0 */
  .field-footer .carousel-custom-barad .swiper-slide-prev > div {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    --tw-translate-x: 0 !important;
    --tw-translate-y: -120% !important;
    --tw-rotate: 0deg !important;
    --tw-skew-x: 0 !important;
    --tw-skew-y: 0 !important;
    --tw-scale-x: 1 !important;
    --tw-scale-y: 1 !important;
    transform: translate3d(0, -120%, 0) !important;
    opacity: 0 !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide-prev .duration-450.grid {
    margin-left: auto;
    margin-right: 0;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active > div {
    position: relative;
    --tw-translate-x: 0 !important;
    --tw-translate-y: 0 !important;
    --tw-rotate: 0deg !important;
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Idle clones: park at peek pose so becoming-next does not jump */
  .field-footer .carousel-custom-barad .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-next):not(.swiper-slide-prev) > div {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-72%, 20%, 0) rotate(-12deg) !important;
  }

  /* Nav between left peek and right-aligned active */
  .field-footer .container > .grid.lg\:grid-cols-2 > .relative:nth-child(2) > .group\/nav {
    left: auto !important;
    right: 470px !important;
    top: 50% !important;
    transform: translate(50%, -50%) rotate(-5deg) !important;
  }
}

@media (min-width: 1280px) {
  .field-footer > svg[data-animate-fill-line] {
    transform: translateX(-34%) scaleX(-1) translateY(5%);
  }
}

@media (min-width: 1536px) {
  .field-footer > svg[data-animate-fill-line] {
    transform: translateX(-34%) scaleX(-1) translateY(-4%);
  }
}

/* News 3D slider (carousel-custom-arnor) */
.carousel-custom-arnor {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.carousel-custom-arnor.swiper-grabbing,
.carousel-custom-arnor:active {
  cursor: grabbing;
}

.carousel-custom-arnor-prev,
.carousel-custom-arnor-next {
  cursor: pointer;
  user-select: none;
}

/* Blog cards — title & excerpt max 2 lines */
.carousel-custom-arnor .text-editor.contrast.gap-2 > .bitur-as-h6 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  line-height: 1.25;
}

.carousel-custom-arnor .text-editor.contrast.gap-2 > .bitur-as-h6 a {
  color: inherit;
  text-decoration: none;
}

.carousel-custom-arnor .text-editor.contrast.gap-2 > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  line-height: 1.5;
  /* Short copy still occupies 2 lines → cards stay aligned */
  min-height: calc(1.5em * 2);
}

/* =============================================================================
   SEO heading replacements — visual parity independent of h1–h6 tags
   ============================================================================= */

.bitur-as-h1,
.bitur-as-h2,
.bitur-as-h3,
.bitur-as-h4,
.bitur-as-h5,
.bitur-as-h6 {
  display: block;
  margin: 0;
  font-weight: inherit;
}

.text-editor .bitur-as-h1,
.text-editor .bitur-as-h2,
.text-editor .bitur-as-h3,
.text-editor .bitur-as-h4,
.text-editor .bitur-as-h5,
.text-editor .bitur-as-h6 {
  color: var(--mine-shaft);
}

.text-editor .bitur-as-h1,
.text-editor .bitur-as-h2,
.text-editor .bitur-as-h3 {
  line-height: 1.125;
}

.text-editor .bitur-as-h4,
.text-editor .bitur-as-h5,
.text-editor .bitur-as-h6 {
  line-height: 1.25;
}

.text-editor .bitur-as-h1 {
  font-size: var(--h1);
  line-height: 1.1;
  overflow: visible;
}

/* Word-reveal spans: room for Turkish descenders (ç, ğ, ş, p, y, j) */
[data-animate-reveal-text] [data-bitur-split-words] > span {
  padding-bottom: 0.18em;
  overflow: visible;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Large headings: drop reveal mask (clips descenders); keep fade/slide */
[data-animate-reveal-text] .bitur-as-h1[data-bitur-split-words] > span,
[data-animate-reveal-text] .bitur-as-h2[data-bitur-split-words] > span,
[data-animate-reveal-text] .bitur-as-h3[data-bitur-split-words] > span {
  -webkit-mask-image: none;
  mask-image: none;
}

/* Hero title keeps its own scale — don't inherit generic --h1 */
.bitur-hero-heading .text-editor .bitur-as-h1 {
  font-size: clamp(2.85rem, 7.5vw, 6.5rem);
  line-height: 1.06;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h1 {
    line-height: 1.25;
  }

  .bitur-hero-heading .text-editor .bitur-as-h1 {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.2;
  }
}

.text-editor .bitur-as-h2 {
  font-size: var(--h2);
  line-height: 1.15;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h2 {
    line-height: 1.2;
  }
}

.text-editor .bitur-as-h3 {
  font-size: var(--h3);
  line-height: 1.2;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h3 {
    line-height: 1.25;
  }
}

.text-editor .bitur-as-h4 {
  font-size: var(--h4);
  line-height: 1.25;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h4 {
    line-height: 1.3;
  }
}

.text-editor .bitur-as-h5 {
  font-size: var(--h5);
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h5 {
    line-height: 1.35;
  }
}

.text-editor .bitur-as-h6 {
  font-size: var(--h6);
  line-height: 1.35;
}

@media screen and (max-width: 768px) {
  .text-editor .bitur-as-h6 {
    line-height: 1.4;
  }
}

.text-editor.white .bitur-as-h1,
.text-editor.white .bitur-as-h2,
.text-editor.white .bitur-as-h3,
.text-editor.white .bitur-as-h4,
.text-editor.white .bitur-as-h5,
.text-editor.white .bitur-as-h6 {
  color: var(--white);
}

/* Kurucumuz — narrative on brand (teal) panel: white text emphasis */
.text-editor.white .bitur-founder-story {
  display: flex;
  flex-direction: column;
  gap: clamp(0.625rem, 1.1vw, 0.875rem);
}

.text-editor.white .bitur-founder-story .bitur-as-h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
}

.text-editor.white .bitur-founder-story strong,
.text-editor.white .bitur-founder-story strong > span {
  font-weight: 700;
  color: var(--white);
}

.text-editor.white .bitur-founder-story em,
.text-editor.white .bitur-founder-story em > span {
  font-style: italic;
  font-weight: 500;
  color: var(--white);
}

/* Don't treat heading-replacement wrappers as word-reveal targets */
[data-animate-reveal-text] .bitur-as-h1,
[data-animate-reveal-text] .bitur-as-h2,
[data-animate-reveal-text] .bitur-as-h3,
[data-animate-reveal-text] .bitur-as-h4,
[data-animate-reveal-text] .bitur-as-h5,
[data-animate-reveal-text] .bitur-as-h6 {
  opacity: 1;
  translate: none;
  scale: 1;
  -webkit-mask-image: none;
  mask-image: none;
  animation: none;
}

/* Footer mega-menu columns + contact bar */
.field-footer .bg-white:has(.bitur-footer-menus) {
  padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem) !important;
}

.bitur-footer-menus {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.75rem, 2.8vw, 2.75rem) clamp(1rem, 1.8vw, 1.75rem);
  align-items: start;
  justify-items: center;
}

.bitur-footer-menu {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
  width: 100%;
  max-width: 11.5rem;
  justify-items: start;
}

.bitur-footer-menu-visual {
  width: 100%;
  max-width: 8.75rem;
  margin-bottom: 0.15rem;
}

/* Odd menus (1,3,5): default tilts left; hover alternates opposite */
.bitur-footer-menus > .bitur-footer-menu:nth-child(odd) [data-animate-footer-images] img:nth-child(odd) {
  --rotate: -12deg !important;
}

.bitur-footer-menus > .bitur-footer-menu:nth-child(odd) [data-animate-footer-images] img:nth-child(even) {
  --rotate: 12deg !important;
}

/* Even menus (2,4): default tilts right; hover alternates opposite */
.bitur-footer-menus > .bitur-footer-menu:nth-child(even) [data-animate-footer-images] img:nth-child(odd) {
  --rotate: 12deg !important;
}

.bitur-footer-menus > .bitur-footer-menu:nth-child(even) [data-animate-footer-images] img:nth-child(even) {
  --rotate: -8deg !important;
}

.bitur-footer-menu-copy {
  gap: 0.85rem !important;
  width: 100%;
}

.bitur-footer-menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: default;
  -webkit-appearance: none;
  appearance: none;
}

.bitur-footer-menu-toggle-bg,
.bitur-footer-menu-icon {
  display: none;
}

.bitur-footer-menu-toggle-label {
  position: relative;
  z-index: 1;
  margin: 0;
}

.bitur-footer-menu-copy .bitur-as-h6 {
  margin: 0;
  display: block;
}

.bitur-footer-menu-panel-inner {
  min-height: 0;
}

.bitur-footer-menu-copy [data-animate-footer-list] {
  gap: 0.5rem !important;
}

.bitur-footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.5rem, 2.8vw, 2rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bitur-footer-contact-item {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  align-content: start;
}

/* ~2 lines for address; Telefon/email share the same top edge */
.bitur-footer-contact-item:first-child {
  flex: 0 1 28rem;
  max-width: 28rem;
}

.bitur-footer-contact-item:first-child a span {
  display: inline;
  line-height: 1.45;
}

.bitur-footer-contact .button {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}

@media screen and (max-width: 1199px) {
  .bitur-footer-menus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .bitur-footer-contact-item:first-child {
    flex: 1 1 100%;
    max-width: 32rem;
  }
}

/* Mobile accordion — matches mega-menu mobile interaction */
@media screen and (max-width: 1023px) {
  .field-footer .bg-white:has(.bitur-footer-menus) {
    padding: 1.25rem 1rem !important;
  }

  .bitur-footer-menus {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: stretch;
  }

  .bitur-footer-menu {
    max-width: none;
    gap: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .bitur-footer-menu-copy {
    gap: 0 !important;
  }

  .bitur-footer-menu-toggle {
    cursor: pointer;
    min-height: 3.25rem;
    padding: 0.7rem 0.35rem 0.7rem 0.15rem;
    gap: 0.65rem;
  }

  .bitur-footer-menu-toggle-bg {
    display: block;
    position: absolute;
    inset: 0.2rem -0.35rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    opacity: 0;
    transform: scaleX(0.92);
    transform-origin: left center;
    transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .bitur-footer-menu.is-open .bitur-footer-menu-toggle-bg {
    opacity: 1;
    transform: scaleX(1);
  }

  .bitur-footer-menu-icon {
    display: block;
    position: relative;
    z-index: 1;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    fill: var(--theme-color, #0d7377);
    opacity: 1;
    transform: rotate(0deg);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), fill 0.35s ease;
  }

  .bitur-footer-menu.is-open .bitur-footer-menu-icon {
    transform: rotate(90deg);
  }

  .bitur-footer-menu-toggle-label {
    transition: color 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .bitur-footer-menu.is-open .bitur-footer-menu-toggle-label {
    color: var(--theme-color, #0d7377);
    transform: translateX(0.1rem);
  }

  .bitur-footer-menu-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .bitur-footer-menu.is-open .bitur-footer-menu-panel {
    grid-template-rows: 1fr;
  }

  .bitur-footer-menu-panel-inner {
    overflow: hidden;
  }

  .bitur-footer-menu-copy [data-animate-footer-list] {
    padding: 0.15rem 0.5rem 0.95rem 2.15rem;
    gap: 0.15rem !important;
  }

  .bitur-footer-menu-copy [data-animate-footer-list] a {
    padding: 0.35rem 0;
    opacity: 0.92;
  }

  .bitur-footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-top: 0;
    padding-top: 1.25rem;
    border-top: 0;
  }

  .bitur-footer-contact-item:first-child {
    max-width: 100%;
  }

  .bitur-footer-contact .button {
    margin-left: 0;
    width: 100%;
    align-self: stretch;
  }

  /* Mobile reviews: keep LTR left alignment (desktop uses rtl for peek only) */
  .field-footer .carousel-custom-barad,
  .field-footer .carousel-custom-barad .swiper-wrapper,
  .field-footer .carousel-custom-barad .swiper-slide {
    direction: ltr !important;
  }

  .field-footer .carousel-custom-barad .swiper-slide > div,
  .field-footer .carousel-custom-barad .duration-450.grid,
  .field-footer .carousel-custom-barad .text-editor,
  .field-footer .carousel-custom-barad blockquote,
  .field-footer .carousel-custom-barad p {
    direction: ltr !important;
    unicode-bidi: isolate;
    text-align: left;
  }

  .field-footer .carousel-custom-barad .swiper-slide-active .duration-450.grid {
    margin-left: 0;
    margin-right: auto;
  }
}

/* Kurumsal seyahat collage: text left (45fr) / images right (30fr) */
@media (min-width: 768px) {
  .bitur-ks-collage-grid.bitur-ks-collage-grid {
    grid-template-columns: minmax(0, 45fr) minmax(0, 30fr);
  }

  .bitur-ks-collage-grid > .bitur-ks-collage-copy {
    order: 1;
  }

  .bitur-ks-collage-grid > .bitur-ks-collage-media {
    order: 2;
  }
}

/* About intro (hakkimizda): swap media/copy on desktop, keep original widths */
.bitur-about-swap-copy > .text-editor .bitur-as-h3 {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .bitur-about-swap-grid.bitur-about-swap-grid {
    grid-template-columns: minmax(0, 840fr) minmax(0, 580fr);
  }

  .bitur-about-swap-grid > .bitur-about-swap-copy {
    order: 1;
  }

  .bitur-about-swap-grid > .bitur-about-swap-media {
    order: 2;
  }

  /* Nav sat on media’s right edge; after swap keep it overlapping inward */
  .bitur-about-swap-media [data-animate-navigation] {
    right: auto;
    left: 0;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media screen and (max-width: 767px) {
  .bitur-footer-menu-toggle {
    min-height: 3rem;
  }
}

@media screen and (max-width: 479px) {
  .bitur-footer-menu-copy [data-animate-footer-list] {
    padding-left: 1.85rem;
  }
}

.bitur-region-tabs .carousel-custom-khandur {
  -webkit-mask-image: none;
  mask-image: none;
}

.bitur-region-tabs .carousel-custom-khandur .swiper-wrapper {
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .bitur-region-tabs .carousel-custom-khandur .swiper-wrapper {
    justify-content: flex-start;
  }
}

/* ── Arrow button (used across blog cards, catalog, etc.) ── */
.bitur-blog-card__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  padding: clamp(0.3rem, 0.5vw, 0.375rem) clamp(0.3rem, 0.5vw, 0.375rem)
    clamp(0.3rem, 0.5vw, 0.375rem) clamp(0.875rem, 1.4vw, 1.125rem);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
  text-decoration: none;
}

button.bitur-blog-card__arrow {
  font: inherit;
  cursor: pointer;
  background-color: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.bitur-blog-card__arrow:hover {
  border-color: transparent;
}

.bitur-blog-card__arrow-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--alizarin-crimson, #1bb1bc);
  transform: translateY(100%) scale(0.75);
  transition:
    transform 0.5s cubic-bezier(0.77, 0, 0.01, 0.98),
    opacity 0.3s ease;
  opacity: 0;
}

.bitur-blog-card__arrow:hover .bitur-blog-card__arrow-fill {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.bitur-blog-card__arrow-label {
  position: relative;
  z-index: 1;
  font-size: clamp(0.8125rem, 0.95vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--mine-shaft, #10302a);
  white-space: nowrap;
  transition: color 0.35s ease;
}

.bitur-blog-card__arrow:hover .bitur-blog-card__arrow-label {
  color: #fff;
}

.bitur-blog-card__arrow-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, 3.5vw, 2.5rem);
  height: clamp(2rem, 3.5vw, 2.5rem);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.bitur-blog-card__arrow:hover .bitur-blog-card__arrow-icon {
  background: rgba(255, 255, 255, 0.18);
}

.bitur-blog-card__arrow-icon svg {
  width: clamp(0.625rem, 1vw, 0.75rem);
  height: clamp(0.625rem, 1vw, 0.75rem);
  transform: rotate(-45deg);
  stroke: #737373;
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.5px;
  transition: stroke 0.35s ease, stroke-width 0.35s ease;
}

.bitur-blog-card__arrow:hover .bitur-blog-card__arrow-icon svg {
  stroke: #fff;
  stroke-width: 2px;
}

.bitur-blog-card__arrow--blue .bitur-blog-card__arrow-fill {
  background: #1e3162;
}

.bitur-catalog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.bitur-catalog-actions .bitur-blog-card__arrow {
  margin-top: 0;
}

.text-editor a.bitur-blog-card__arrow,
.text-editor a.bitur-blog-card__arrow:hover {
  background-image: none !important;
  background-size: 0 0 !important;
  text-decoration: none !important;
  width: fit-content;
}

.text-editor a.bitur-blog-card__arrow span {
  background-image: none !important;
  background-size: 0 0 !important;
}
