/* Turkish home hero. The portrait and video use the CMS's existing markup. */
#anasayfa.rr-home-hero-editorial {
  --rr-header: 170px;
  --rr-screen: calc(100svh - var(--rr-header) - env(safe-area-inset-top, 0px));
  --rr-hero-pad: clamp(20px, 4svh, 42px);
  padding-block: 0;
  background: radial-gradient(ellipse at 80% 4%, #263d70 0%, #142351 47%, #0b1634 100%);
}

#anasayfa.rr-home-hero-editorial > .container {
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: clamp(30px, 5vw, 84px) !important;
  min-block-size: max(0px, var(--rr-screen));
  width: min(calc(100% - clamp(68px, 8vw, 144px)), 1440px);
  padding: var(--rr-hero-pad) 0;
}

#anasayfa.rr-home-hero-editorial .hero-copy { min-inline-size: 0; }

#anasayfa.rr-home-hero-editorial h1 {
  color: #fff;
  font-size: clamp(32px, 3.2vw, 57px) !important;
  font-weight: 765;
  letter-spacing: -.048em;
  line-height: 1.075;
  margin: 0;
  overflow-wrap: break-word;
}

#anasayfa.rr-home-hero-editorial h1 span { display: block; color: #c7e5f1; text-wrap: balance; }

#anasayfa.rr-home-hero-editorial .hero-lead {
  max-inline-size: 63ch !important;
  margin: clamp(12px, 2.4svh, 22px) 0 0;
  color: #e1eaf6;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

#anasayfa.rr-home-hero-editorial .hero-actions {
  gap: 12px 24px;
  margin: clamp(16px, 3svh, 28px) 0 0;
}

#anasayfa.rr-home-hero-editorial .hero-actions > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 0;
  min-block-size: 48px;
  block-size: auto;
  gap: 8px;
  padding: 9px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
}

#anasayfa.rr-home-hero-editorial .hero-actions .btn--light { color: #14284a; background: #fff; }
#anasayfa.rr-home-hero-editorial .hero-actions .btn--light:hover { color: #14284a; background: #d9f0f5; }
#anasayfa.rr-home-hero-editorial .hero-actions .btn--hero-ghost {
  color: #e4edf7;
  background: transparent;
  border-radius: 0;
  padding-inline: 0;
  border-block-end-color: #a6bfd5;
}

#anasayfa.rr-home-hero-editorial a:focus-visible { outline: 3px solid #8ce1d9; outline-offset: 3px; }

#anasayfa.rr-home-hero-editorial .hero-media {
  --rr-frame-offset: clamp(12px, 1.55vw, 26px);
  inline-size: clamp(130px, calc((var(--rr-screen) - 2 * var(--rr-hero-pad) - 26px) * .8), 422px);
  max-inline-size: 34vw;
  margin: 0 var(--rr-frame-offset) var(--rr-frame-offset) 0;
  order: 0;
  justify-self: end;
}

#anasayfa.rr-home-hero-editorial .hero-media::before { display: block; inset: var(--rr-frame-offset) calc(-1 * var(--rr-frame-offset)) calc(-1 * var(--rr-frame-offset)) var(--rr-frame-offset); }
#anasayfa.rr-home-hero-editorial .hero-media .frame { aspect-ratio: 850 / 1062; }
#anasayfa.rr-home-hero-editorial .hero-media .frame img { object-fit: contain; object-position: center; }

#anasayfa.rr-home-hero-editorial .hero-video {
  position: absolute;
  inset: auto auto 8% max(-36px, -3vw);
  margin: 0;
  max-inline-size: calc(100% + 30px);
  min-block-size: 44px;
  white-space: normal;
}

@media (max-width: 1600px) {
  #anasayfa.rr-home-hero-editorial { --rr-header: 139px; }
}

@media (max-width: 1023px) {
  body[data-page="home"][data-lang="tr"]:has(#anasayfa.rr-home-hero-editorial) > #siteHeader { height: auto; }
  #anasayfa.rr-home-hero-editorial > .container { width: calc(100% - 56px); gap: 32px !important; }
  #anasayfa.rr-home-hero-editorial h1 { font-size: clamp(29px, 4.5vw, 44px) !important; }
}

@media (max-width: 767px) {
  #anasayfa.rr-home-hero-editorial { --rr-header: 124px; --rr-hero-pad: 15px; }
  #anasayfa.rr-home-hero-editorial > .container {
    width: calc(100% - 36px);
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto;
    gap: 15px !important;
    align-content: center;
  }

  #anasayfa.rr-home-hero-editorial h1 { font-size: clamp(28px, 6.7vw, 42px) !important; }
  #anasayfa.rr-home-hero-editorial .hero-lead { margin-top: 10px; font-size: clamp(14px, 3.6vw, 17px); line-height: 1.4; }
  #anasayfa.rr-home-hero-editorial .hero-actions { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-inline-size: 342px; margin-top: 12px; gap: 8px 12px; align-items: stretch; }
  #anasayfa.rr-home-hero-editorial .hero-actions > a { min-block-size: 44px; padding: 7px 9px; font-size: 13px; }
  #anasayfa.rr-home-hero-editorial .hero-actions .btn--hero-ghost { padding-inline: 0; }
  #anasayfa.rr-home-hero-editorial .hero-actions .icon { flex: none; inline-size: 16px; block-size: 16px; }

  #anasayfa.rr-home-hero-editorial .hero-media {
    --rr-frame-offset: 8px;
    inline-size: clamp(94px, calc((var(--rr-screen) - 284px) * .8), 288px);
    max-inline-size: 66%;
    justify-self: center;
    margin-inline: 0 var(--rr-frame-offset);
  }

  #anasayfa.rr-home-hero-editorial .hero-media .frame,
  #anasayfa.rr-home-hero-editorial .hero-media::before { border-radius: 17px; }

  #anasayfa.rr-home-hero-editorial .hero-video {
    inset: auto auto 7% 50%;
    translate: -50% 0;
    inline-size: max-content;
    max-inline-size: min(230px, 86vw);
    padding: 6px 9px 6px 6px;
    gap: 7px;
    border-radius: 12px;
  }

  #anasayfa.rr-home-hero-editorial .hero-video .play { width: 32px; height: 32px; }
  #anasayfa.rr-home-hero-editorial .hero-video .play svg { width: 15px; height: 15px; }
  #anasayfa.rr-home-hero-editorial .hero-video-txt b { font-size: 12px; }
  #anasayfa.rr-home-hero-editorial .hero-video-txt small { font-size: 11px; margin-top: 2px; }
}

@media (max-width: 359px) {
  #anasayfa.rr-home-hero-editorial .hero-actions .icon { display: none; }
}

@media (max-width: 767px) and (max-height: 620px) {
  #anasayfa.rr-home-hero-editorial { --rr-hero-pad: 10px; }
  #anasayfa.rr-home-hero-editorial > .container { gap: 10px !important; }
  #anasayfa.rr-home-hero-editorial .hero-media { inline-size: clamp(90px, calc((var(--rr-screen) - 250px) * .8), 165px); }
}

@media (max-width: 359px) and (max-height: 600px) {
  #anasayfa.rr-home-hero-editorial .hero-media { inline-size: clamp(90px, calc((var(--rr-screen) - 278px) * .8), 148px); }
}

@media (orientation: landscape) and (max-height: 540px) and (min-width: 530px) {
  #anasayfa.rr-home-hero-editorial { --rr-hero-pad: 10px; }
  #anasayfa.rr-home-hero-editorial > .container {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto;
    width: calc(100% - 32px);
    gap: 18px !important;
  }
  #anasayfa.rr-home-hero-editorial h1 { font-size: clamp(24px, 4vw, 34px) !important; }
  #anasayfa.rr-home-hero-editorial .hero-lead { font-size: 14px; line-height: 1.35; margin-top: 7px; }
  #anasayfa.rr-home-hero-editorial .hero-actions { margin-top: 7px; gap: 6px 14px; }
  #anasayfa.rr-home-hero-editorial .hero-actions > a { min-block-size: 44px; font-size: 13px; }
  #anasayfa.rr-home-hero-editorial .hero-media { inline-size: clamp(94px, calc((var(--rr-screen) - 32px) * .8), 238px); max-inline-size: 27vw; }
  #anasayfa.rr-home-hero-editorial .hero-video { inset: auto -12px 7% auto; translate: none; max-inline-size: min(194px, 28vw); }
}
