/* ==========================================================================
   ACTO Pharma — ortak sayfa hero'su
   Orijinal statik sitedeki .page-title-bar / .page-title-bar--video yapısı.
   Yalnızca temanın eklediği hero'yu ( .acto-theme-hero ) stillendirir;
   shortcode içeriğinde zaten varsa onu etkilemez.
   ========================================================================== */

#main > .acto-theme-hero.page-title-bar {
  position: relative;
  isolation: isolate;
  background: #fff;
  border-bottom: 1px solid var(--line, #e3e9f5);
  padding: 20px 0 18px;
}

#main > .acto-theme-hero.page-title-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background: url("../assets/img/page-title-laboratory.png") right 59% / 190% auto no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24%);
  mask-image: linear-gradient(to right, transparent, #000 24%);
}

/* Header ile ayni container genisligi. theme-shell.css .acto-content
   icindekileri disladigi icin burada acikca tanimlanir. */
#main > .acto-theme-hero .container-x {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

@media (min-width: 1920px) {
  #main > .acto-theme-hero .container-x { width: min(1440px, 100% - 32px); }
}

#main > .acto-theme-hero .page-title-bar__inner {
  display: flex;
  align-items: center;
  min-height: 38px;
}

#main > .acto-theme-hero .page-title-bar__inner h1 {
  max-width: 62%;
  margin: 0;
  color: var(--heading-ink, #1b242f);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
}

#main > .acto-theme-hero .page-title-bar__inner h1 em {
  font-style: normal;
  color: inherit;
}

#main > .acto-theme-hero .page-title-bar__anchor { display: block; }

/* ---------- Hakkımızda: sağda video ---------- */
#main > .acto-theme-hero.page-title-bar--video { padding: 0; }
#main > .acto-theme-hero.page-title-bar--video::after { content: none; }

#main > .acto-theme-hero.page-title-bar--video .page-title-bar__inner {
  position: relative;
  z-index: 1;
  min-height: 320px;
  pointer-events: none;
}

#main > .acto-theme-hero.page-title-bar--video .page-title-bar__inner h1 {
  max-width: 42%;
}

#main > .acto-theme-hero .page-title-bar__video {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: url("../assets/img/page-title-laboratory.png") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%);
  mask-image: linear-gradient(to right, transparent, #000 16%);
}

#main > .acto-theme-hero .page-title-bar__video video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

#main > .acto-theme-hero .about-hero-sound,
#main > .acto-theme-hero .about-hero-fallback {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d3dce7;
  border-radius: 22px;
  background: #fff;
  color: #294e87;
  font: 500 13px/1.6 "Google Sans", "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

#main > .acto-theme-hero .about-hero-sound[hidden],
#main > .acto-theme-hero .about-hero-fallback[hidden] { display: none; }

#main > .acto-theme-hero .about-hero-sound i { font-size: 20px; line-height: 1; }
#main > .acto-theme-hero .about-hero-sound:hover,
#main > .acto-theme-hero .about-hero-fallback:hover { background: #eef3f8; }
#main > .acto-theme-hero .about-hero-sound:focus-visible,
#main > .acto-theme-hero .about-hero-fallback:focus-visible {
  outline: 2px solid #5275a4;
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  #main > .acto-theme-hero.page-title-bar { padding: 16px 0 14px; }
  #main > .acto-theme-hero.page-title-bar--video { padding: 0; }
  #main > .acto-theme-hero.page-title-bar--video .page-title-bar__inner { min-height: 230px; }
  #main > .acto-theme-hero.page-title-bar--video .page-title-bar__inner h1 { max-width: 45%; }
  #main > .acto-theme-hero .page-title-bar__video { width: 60%; }
  #main > .acto-theme-hero .about-hero-sound,
  #main > .acto-theme-hero .about-hero-fallback { right: 16px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  #main > .acto-theme-hero *,
  #main > .acto-theme-hero *::before,
  #main > .acto-theme-hero *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
