/**
 * Bilet Yanımda — Astra ve eski Elementor sayfaları için global uyum katmanı.
 * Kırmızı yalnız marka vurgusudur; geniş yüzeyler beyaz ve kırık beyaz kalır.
 */

body:not(.by-homepage) {
  --ast-global-color-0: #d62828;
  --ast-global-color-1: #b71c1c;
  --ast-global-color-2: #211719;
  --ast-global-color-3: #62585a;
  --ast-global-color-4: #f7f5f5;
  --ast-global-color-5: #ffffff;
  --ast-global-color-6: #fff1f1;
  --ast-global-color-7: #34282a;
  --ast-global-color-8: #12090a;
  background: #f7f5f5 !important;
  color: #34282a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:not(.by-homepage).ast-page-builder-template,
body:not(.by-homepage).ast-plain-container {
  background-color: #f7f5f5 !important;
}

body:not(.by-homepage) #page,
body:not(.by-homepage) #content,
body:not(.by-homepage) .site-content {
  background: #f7f5f5;
}

body:not(.by-homepage) #content > .ast-container {
  width: min(1240px, calc(100% - 36px));
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 0;
}

body:not(.by-homepage).elementor-page .entry-header {
  display: none;
}

body:not(.by-homepage) article.ast-article-single {
  overflow: hidden;
  margin-block: 38px 64px;
  border: 1px solid rgba(214, 40, 40, 0.11);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(64, 18, 22, 0.08);
}

body:not(.by-homepage) article.ast-article-single .entry-content {
  color: #34282a;
}

body:not(.by-homepage) article.ast-article-single h1,
body:not(.by-homepage) article.ast-article-single h2,
body:not(.by-homepage) article.ast-article-single h3,
body:not(.by-homepage) article.ast-article-single h4 {
  color: #211719;
  letter-spacing: -0.025em;
}

body:not(.by-homepage) article.ast-article-single p,
body:not(.by-homepage) article.ast-article-single li {
  color: #62585a;
}

body:not(.by-homepage) article.ast-article-single a:not(.wp-element-button):not([class*="button"]):not([style*="background"]) {
  color: #b71c1c;
}

body:not(.by-homepage) article.ast-article-single a[rel~="sponsored"],
body:not(.by-homepage) article.ast-article-single a[rel~="nofollow"][style*="background"],
body:not(.by-homepage) article.ast-article-single .elementor-button,
body:not(.by-homepage) article.ast-article-single .wp-element-button,
body:not(.by-homepage) article.ast-article-single a[class*="button"] {
  border-color: #d62828 !important;
  background: #d62828 !important;
  box-shadow: 0 13px 30px rgba(214, 40, 40, 0.22);
  color: #ffffff !important;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body:not(.by-homepage) article.ast-article-single a[rel~="sponsored"]:hover,
body:not(.by-homepage) article.ast-article-single a[rel~="sponsored"]:focus-visible,
body:not(.by-homepage) article.ast-article-single .elementor-button:hover,
body:not(.by-homepage) article.ast-article-single .elementor-button:focus-visible,
body:not(.by-homepage) article.ast-article-single .wp-element-button:hover,
body:not(.by-homepage) article.ast-article-single .wp-element-button:focus-visible,
body:not(.by-homepage) article.ast-article-single a[class*="button"]:hover,
body:not(.by-homepage) article.ast-article-single a[class*="button"]:focus-visible {
  border-color: #b71c1c !important;
  background: #b71c1c !important;
  box-shadow: 0 17px 36px rgba(183, 28, 28, 0.28);
  transform: translateY(-2px);
}

body:not(.by-homepage) .elementor-widget-html > .elementor-widget-container > div[style*="text-align:center"] {
  background: linear-gradient(145deg, #ffffff, #fff8f8);
}

body:not(.by-homepage) .elementor-widget-html h2[style] {
  color: #211719 !important;
}

body:not(.by-homepage) .elementor-widget-html p[style] {
  color: #62585a !important;
}

body:not(.by-homepage) input,
body:not(.by-homepage) select,
body:not(.by-homepage) textarea {
  border-color: rgba(86, 60, 63, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: #211719;
}

body:not(.by-homepage) input:focus,
body:not(.by-homepage) select:focus,
body:not(.by-homepage) textarea:focus {
  border-color: #d62828;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.11);
  outline: 0;
}

body:not(.by-homepage) #masthead {
  border-bottom: 1px solid rgba(214, 40, 40, 0.13);
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(64, 18, 22, 0.055);
}

body:not(.by-homepage) .ast-primary-header-bar {
  background: #ffffff;
}

body:not(.by-homepage) .custom-logo-link img {
  width: auto;
  max-height: 54px;
  object-fit: contain;
}

body:not(.by-homepage) .site-title a {
  color: #211719;
  font-weight: 850;
  letter-spacing: -0.035em;
}

body:not(.by-homepage) #ast-hf-menu-1 > li > a {
  color: #34282a;
  font-weight: 700;
  white-space: nowrap;
}

body:not(.by-homepage) #ast-hf-menu-1 > li:hover > a,
body:not(.by-homepage) #ast-hf-menu-1 > li.current-menu-item > a,
body:not(.by-homepage) #ast-hf-menu-1 > li.current_page_item > a,
body:not(.by-homepage) #ast-hf-menu-1 > li > a:focus-visible {
  color: #d62828;
}

@media (min-width: 922px) {
  body:not(.by-homepage) .site-primary-header-wrap,
  body:not(.by-homepage) .site-primary-header-wrap > .ast-builder-grid-row {
    min-height: 0;
  }

  body:not(.by-homepage) .site-primary-header-wrap > .ast-builder-grid-row {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  body:not(.by-homepage) .site-header-primary-section-left {
    display: flex;
    min-height: 72px;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(214, 40, 40, 0.09);
  }

  body:not(.by-homepage) .site-header-primary-section-right {
    display: flex;
    min-height: 52px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  body:not(.by-homepage) .site-header-primary-section-right .ast-builder-menu,
  body:not(.by-homepage) .site-header-primary-section-right .main-header-bar-navigation,
  body:not(.by-homepage) .site-header-primary-section-right .site-navigation {
    width: 100%;
  }

  body:not(.by-homepage) #ast-hf-menu-1 {
    display: flex;
    min-height: 52px;
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }

  body:not(.by-homepage) #ast-hf-menu-1 > li > a {
    min-height: 52px;
    padding-inline: clamp(5px, .7vw, 10px);
    font-size: clamp(10px, .82vw, 13px);
    letter-spacing: -0.012em;
  }
}

body:not(.by-homepage) .ast-mobile-header-wrap .ast-primary-header-bar {
  background: #ffffff;
}

body:not(.by-homepage) .menu-toggle,
body:not(.by-homepage) .ast-mobile-menu-trigger-minimal {
  color: #d62828;
}

body:not(.by-homepage) .ast-mobile-header-content {
  border-top: 1px solid rgba(214, 40, 40, 0.12);
  background: #ffffff;
}

body:not(.by-homepage) #ast-hf-mobile-menu .menu-link {
  border-bottom-color: rgba(214, 40, 40, 0.09);
  color: #34282a;
  font-weight: 700;
}

body:not(.by-homepage) #ast-hf-mobile-menu .current-menu-item > .menu-link,
body:not(.by-homepage) #ast-hf-mobile-menu .menu-link:hover {
  background: #fff1f1;
  color: #d62828;
}

body:not(.by-homepage) .site-below-footer-wrap,
body:not(.by-homepage) .site-primary-footer-wrap {
  border-top: 0;
  background: #b71c1c;
  color: #ffffff;
}

body:not(.by-homepage) .ast-footer-copyright,
body:not(.by-homepage) .site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

/* v1.2.0 — iç sayfalarda ana sayfayla aynı marka kabuğu. */
body.by-inner-page .by-header,
body.by-inner-page .by-footer {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.by-inner-page .by-header {
  width: 100%;
}

body.by-inner-page .by-header__inner > .by-button {
  flex-shrink: 0;
}

body.by-inner-page .by-mobile-menu {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

body.by-inner-page .by-footer {
  clear: both;
}

body.by-inner-page .site-content {
  min-height: 48vh;
}

/* v1.9.1 — Astra'nın boş yan sütununu rehber sayfalarında kaldır. */
body.by-otobus-hub-page #content > .ast-container,
body.byseo-city-page #content > .ast-container {
  display: block !important;
}

body.by-otobus-hub-page #primary,
body.byseo-city-page #primary {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.by-otobus-hub-page #secondary,
body.byseo-city-page #secondary {
  display: none !important;
}

body.by-otobus-hub-page .site-main,
body.byseo-city-page .site-main,
body.by-otobus-hub-page article.ast-article-single,
body.byseo-city-page article.ast-article-single {
  width: 100% !important;
  max-width: none !important;
}

body.by-otobus-hub-page .bytp-hub,
body.byseo-city-page .byseo-city-section {
  box-sizing: border-box;
}

@media (min-width: 901px) and (max-width: 1150px) {
  body.by-otobus-hub-page .bytp-hub__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.byseo-city-page .byseo-checklist__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v1.9.0 — uçak ve araç kiralama sayfaları için özgün karar rehberi. */
.by-page-strengthener {
  width: min(1080px, calc(100% - 36px));
  margin: 34px auto;
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid rgba(214, 40, 40, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #fff8f8 100%);
  box-shadow: 0 22px 65px rgba(64, 18, 22, 0.075);
}

.by-page-strengthener__heading {
  max-width: 820px;
}

.by-page-strengthener__heading > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #d62828;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.by-page-strengthener__heading h2 {
  margin: 0;
  color: #211719;
  font-size: clamp(29px, 4.3vw, 48px);
  letter-spacing: -.045em;
  line-height: 1.08;
}

.by-page-strengthener__heading p {
  margin: 17px 0 0;
  color: #62585a;
  font-size: 16px;
  line-height: 1.78;
}

.by-page-strengthener__checks {
  display: grid;
  margin-top: 30px;
  gap: 13px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.by-page-strengthener__checks article {
  display: flex;
  min-height: 158px;
  padding: 23px;
  gap: 15px;
  border: 1px solid rgba(214, 40, 40, 0.11);
  border-radius: 18px;
  background: #ffffff;
}

.by-page-strengthener__checks b {
  color: rgba(214, 40, 40, .28);
  font-size: 27px;
  line-height: 1;
}

.by-page-strengthener__checks h3 {
  margin: 0;
  color: #211719;
  font-size: 17px;
}

.by-page-strengthener__checks p {
  margin: 9px 0 0;
  color: #62585a;
  font-size: 13px;
  line-height: 1.7;
}

.by-page-strengthener__closing {
  display: grid;
  margin-top: 16px;
  padding: 22px;
  gap: 18px;
  border-radius: 18px;
  background: #fff1f1;
}

.by-page-strengthener__closing > p {
  margin: 0;
  color: #62585a;
  font-size: 13px;
  line-height: 1.7;
}

.by-page-strengthener__closing nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.by-page-strengthener__closing a {
  display: inline-flex;
  min-height: 39px;
  padding: 8px 12px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(214, 40, 40, .18);
  border-radius: 10px;
  background: #ffffff;
  color: #b71c1c !important;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.by-page-strengthener__closing a:hover,
.by-page-strengthener__closing a:focus-visible {
  border-color: #d62828;
  background: #d62828;
  color: #ffffff !important;
}

.by-not-found {
  width: 100% !important;
  max-width: none !important;
  padding: 64px 0 92px;
}

.by-not-found__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(214, 40, 40, 0.13);
  border-radius: 32px;
  background: linear-gradient(145deg, #ffffff 0%, #fff8f8 100%);
  box-shadow: 0 24px 80px rgba(85, 12, 18, 0.1);
}

.by-not-found__card::after {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -130px;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.09);
  content: "";
  filter: blur(5px);
}

.by-not-found__code {
  margin: 0 0 18px;
  color: #d62828;
  font-size: clamp(58px, 10vw, 108px);
  font-weight: 950;
  letter-spacing: -0.075em;
  line-height: .8;
}

.by-not-found h1 {
  max-width: 690px;
  margin: 0;
  color: #211719;
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.by-not-found h1 + p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #62585a;
  font-size: 17px;
  line-height: 1.8;
}

.by-not-found__actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.by-not-found__links {
  display: grid;
  margin-top: 42px;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.by-not-found__links a {
  display: flex;
  min-height: 128px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(214, 40, 40, 0.12);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(64, 18, 22, 0.05);
  color: #211719 !important;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.by-not-found__links a:hover,
.by-not-found__links a:focus-visible {
  border-color: rgba(214, 40, 40, 0.32);
  box-shadow: 0 17px 38px rgba(64, 18, 22, 0.09);
  transform: translateY(-3px);
}

.by-not-found__links strong {
  color: #b71c1c;
  font-size: 16px;
}

.by-not-found__links span {
  color: #62585a;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 921px) {
  body:not(.by-homepage) #content > .ast-container {
    width: min(100% - 24px, 760px);
  }

  body:not(.by-homepage) article.ast-article-single {
    margin-block: 20px 42px;
    border-radius: 21px;
  }

  body:not(.by-homepage) .elementor-widget-html > .elementor-widget-container > div[style*="text-align:center"] {
    padding: 36px 17px !important;
  }

  body:not(.by-homepage) .elementor-widget-html h2[style] {
    font-size: clamp(30px, 8vw, 39px) !important;
    line-height: 1.12;
  }

  body:not(.by-homepage) .elementor-widget-html p[style] {
    font-size: 17px !important;
    line-height: 1.75;
  }

  body:not(.by-homepage) article.ast-article-single a[rel~="sponsored"] {
    width: min(100%, 560px);
    padding: 15px 20px !important;
    font-size: 17px !important;
  }

  .by-not-found {
    padding-block: 24px 58px;
  }

  .by-not-found__card {
    border-radius: 24px;
  }

  .by-not-found__links {
    grid-template-columns: 1fr;
  }

  .by-not-found__links a {
    min-height: 104px;
  }

  .by-page-strengthener {
    width: min(100% - 24px, 760px);
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .by-not-found__card {
    padding: 28px 20px;
  }

  .by-not-found__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .by-not-found__actions .by-button {
    width: 100%;
  }

  .by-page-strengthener {
    width: calc(100% - 20px);
    padding: 24px 18px;
  }

  .by-page-strengthener__checks {
    grid-template-columns: 1fr;
  }

  .by-page-strengthener__checks article {
    min-height: 0;
  }

  .by-page-strengthener__closing nav {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.by-homepage) *,
  body:not(.by-homepage) *::before,
  body:not(.by-homepage) *::after {
    transition-duration: .01ms !important;
  }
}
