/* R12 user-supplied photograph heroes and their own overlay copy. */
.r07-site .r07-hero-slide.r12-hero-photo > img {
  object-position: var(--r12-focus-wide, 50% 50%);
}
.r07-site .r07-hero:has(.r12-hero-photo:not([hidden]))::after {
  background: linear-gradient(90deg, rgba(7,32,46,.76), rgba(7,32,46,.36) 48%, transparent 82%);
}
.r07-site .r07-hero .hero-panel.r12-photo-copy {
  max-width: 650px;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.r07-site .r07-hero .r12-photo-copy .hero-baslik {
  max-width: 15ch;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}
.r07-site .r07-hero .r12-photo-copy .ust-yazi {
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
}
@media (max-width:760px) {
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) {
    height: calc(100svh - 68px - env(safe-area-inset-bottom));
    min-height: 0;
    max-height: calc(100svh - 68px - env(safe-area-inset-bottom));
    padding-top: 107px;
    grid-template-rows: minmax(0, 1fr) 68px;
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) .r07-hero-slides {
    height: 100%;
    min-height: 0;
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) .r07-hero-slide {
    height: 100%;
    min-height: 0;
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) .r07-hero-slide[hidden] {
    display: none !important;
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) .hero-tam-ic {
    min-height: 0;
    padding: 0 20px 14px;
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden])) .r07-hero-controls {
    align-self: center;
    margin: 0 16px 12px;
    flex-wrap: nowrap;
  }
  .r07-site .r07-hero-slide.r12-hero-photo > img {
    object-position: var(--r12-focus-mobile, 50% 50%);
  }
  .r07-site .r07-hero:has(.r12-hero-photo:not([hidden]))::after {
    background: linear-gradient(0deg, rgba(7,32,46,.94), rgba(7,32,46,.56) 39%, transparent 75%);
  }
  .r07-site .r07-hero .hero-panel.r12-photo-copy {
    padding: 22px 0 12px;
  }
  .r07-site .r07-hero .r12-photo-copy .hero-baslik {
    max-width: 17ch;
    margin-bottom: 16px;
    font-size: clamp(2rem, 8.4vw, 2.7rem);
    line-height: 1.08;
  }
  .r07-site .r07-hero .r12-photo-copy .ust-yazi {
    font-size: .98rem;
    line-height: 1.5;
  }
}
@media (max-width:760px) and (max-height:700px) {
  .r07-site .r07-hero .hero-panel.r12-photo-copy {
    padding: 8px 0;
  }
  .r07-site .r07-hero .r12-photo-copy .hero-baslik {
    max-width: 22ch;
    margin-bottom: 12px;
    font-size: clamp(1.5rem, 7vw, 1.85rem);
    line-height: 1.1;
  }
  .r07-site .r07-hero .r12-photo-copy .ust-yazi {
    margin-bottom: 12px;
    font-size: .85rem;
    line-height: 1.35;
  }
}
