/* Header / yatay kaydırma engeli */
html, body {
  overflow-x: clip;
  max-width: 100%;
}

.site,
.site-content,
#content,
#primary,
.entry-content {
  overflow-x: clip;
  max-width: 100%;
}

/* Header Ara butonu: numara + sol ikon, tel: link */
.ast-header-button-1 .ast-custom-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none !important;
  font-size: 13px !important;
  padding: 9px 14px !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}

.ast-header-button-1 .ast-custom-button::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f879";
  font-size: .95em;
  line-height: 1;
  speak: never;
}

.ast-header-button-1 .ast-custom-button-link {
  text-decoration: none !important;
}

@media (max-width: 1100px) {
  .ast-header-button-1 .ast-custom-button {
    font-size: 11px !important;
    padding: 7px 10px !important;
  }
}

@media (max-width: 544px) {
  .ast-header-button-1 .ast-custom-button {
    font-size: 12px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

#masthead,
.main-header-bar-wrap,
.ast-primary-header-bar {
  z-index: 1000;
}

.ast-primary-header-bar .site-primary-header-wrap,
.ast-mobile-header-wrap .ast-primary-header-bar {
  min-height: 72px;
}

.site-header .site-branding,
.site-header .site-logo-img,
.site-header .custom-logo-link {
  max-width: 132px;
}

.site-header .custom-logo-link img.custom-logo,
.site-logo-img img.custom-logo,
.ast-theme-transparent-header .site-logo-img img {
  display: block;
  max-width: 132px !important;
  width: 132px !important;
  height: auto !important;
  max-height: 68px;
  object-fit: contain;
  filter: none !important;
}

/* Desktop menüyü tek satıra sığdır */
@media (min-width: 922px) {
  .ast-desktop .ast-primary-header-bar .main-header-bar-navigation,
  .ast-desktop .ast-builder-menu-1 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .ast-desktop .main-header-menu {
    flex-wrap: nowrap !important;
    justify-content: flex-end;
    gap: 0;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link {
    padding: 0 .55rem !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    gap: .35rem !important;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link .tosya-menu-icon {
    width: 1em;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link .tosya-menu-icon i {
    font-size: .95em;
  }

  .ast-desktop .site-header-primary-section-left,
  .ast-desktop .site-header-primary-section-center,
  .ast-desktop .site-header-primary-section-right {
    gap: .35rem !important;
  }

  .ast-desktop .ast-builder-grid-row {
    gap: .5rem !important;
  }
}

@media (min-width: 922px) and (max-width: 1200px) {
  .site-header .site-branding,
  .site-header .site-logo-img,
  .site-header .custom-logo-link {
    max-width: 112px;
  }

  .site-header .custom-logo-link img.custom-logo,
  .site-logo-img img.custom-logo {
    max-width: 112px !important;
    width: 112px !important;
    max-height: 58px;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link {
    padding: 0 .4rem !important;
    font-size: 13.5px !important;
  }

  .ast-desktop .main-header-menu > .menu-item > .menu-link .tosya-menu-icon {
    display: none;
  }
}

@media (max-width: 921px) {
  .site-header .site-branding,
  .site-header .site-logo-img,
  .site-header .custom-logo-link {
    max-width: 128px;
  }

  .site-header .custom-logo-link img.custom-logo,
  .site-logo-img img.custom-logo {
    max-width: 128px !important;
    width: 128px !important;
    max-height: 64px;
  }
}

@media (max-width: 544px) {
  .site-header .site-branding,
  .site-header .site-logo-img,
  .site-header .custom-logo-link {
    max-width: 112px;
  }

  .site-header .custom-logo-link img.custom-logo,
  .site-logo-img img.custom-logo {
    max-width: 112px !important;
    width: 112px !important;
    max-height: 56px;
  }
}

/* Floating CTA — sağ alt, üst üste yuvarlak ikonlar */
.tosya-cta {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  top: auto;
  left: auto;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: auto;
  transform: none;
}

.tosya-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
  transition: filter .2s ease, box-shadow .2s ease;
  transform: none;
}

.tosya-cta__btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  transform: none;
}

.tosya-cta__btn--phone {
  background: linear-gradient(145deg, #e6a800 0%, #d49200 50%, #b87a00 100%);
  color: #fff !important;
}

.tosya-cta__btn--wa {
  background: linear-gradient(145deg, #1fad55 0%, #1a9a4a 55%, #158a40 100%);
  color: #fff !important;
}

.tosya-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.tosya-cta__icon i {
  font-size: 22px;
  line-height: 1;
  display: block;
  color: #fff;
}

.tosya-cta__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .tosya-cta {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
    border-radius: 0;
  }

  .tosya-cta__btn {
    flex: 1 1 50%;
    width: 50%;
    max-width: 50%;
    height: 56px;
    border-radius: 0;
    box-shadow: none;
  }

  .tosya-cta__btn:hover {
    filter: brightness(1.04);
  }

  .tosya-cta__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    font-size: 14px;
    color: #fff;
  }

  .tosya-cta__btn {
    gap: 8px;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .ast-scroll-to-top-right,
  #ast-scroll-top {
    bottom: 72px !important;
    right: 16px !important;
  }
}

/* Content polish */
.home .entry-content > .tosya-hero,
.page .entry-content > .tosya-hero {
  margin-top: 0;
}

/* Page boxed look (inner pages + home sections) */
.page .entry-header:not(.ast-no-title):not(.ast-header-without-markup) {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  text-align: center;
}

.page .entry-header .entry-title {
  margin: 0;
  text-align: center;
}

/* Empty/disabled page titles must not create gap above slider */
.home .entry-header,
.page .entry-header.ast-no-title,
.page .entry-header.ast-header-without-markup {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  min-height: 0 !important;
}

.home .entry-content,
.home #primary,
.home .site-main,
.home .ast-article-single {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .entry-content > .tosya-hero:first-child {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .home #content.site-content > .ast-container {
    padding-top: 0 !important;
    padding-left: 12px;
    padding-right: 12px;
  }

  .home .tosya-hero {
    margin-top: 0 !important;
    margin-bottom: 1.25rem;
    border-radius: 12px;
  }
}

.page .entry-content > .wp-block-heading,
.home .entry-content > .wp-block-heading {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.page .entry-content > .wp-block-paragraph,
.home .entry-content > .wp-block-paragraph {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}

.page .entry-content > .wp-block-list {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 14px;
  padding: 1rem 1.25rem 1rem 2rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .035);
}

.tosya-section {
  margin: 2.5rem 0;
}

.tosya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media (max-width: 921px) {
  .tosya-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 544px) {
  .tosya-grid {
    grid-template-columns: 1fr;
  }
}

.tosya-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tosya-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .09);
}

.tosya-card__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .55rem;
}

.tosya-card__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
  box-shadow: inset 0 0 0 1px rgba(212, 146, 0, .28);
}

.tosya-card__icon i {
  font-size: 1.05rem;
  line-height: 1;
}

.tosya-card h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #0f172a;
  line-height: 1.3;
}

.tosya-card p {
  margin: 0;
  color: #454f5e;
  font-size: .95rem;
  line-height: 1.55;
}

.tosya-regions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  list-style: none;
  margin: 0;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

@media (max-width: 921px) {
  .tosya-regions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 544px) {
  .tosya-regions {
    grid-template-columns: 1fr;
  }
}

.tosya-regions li {
  background: linear-gradient(180deg, #fff 0%, #fef9e1 100%);
  border: 1px solid rgba(212, 146, 0, .35);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  margin: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.tosya-regions li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.tosya-regions a {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.tosya-regions a:hover strong {
  color: #b45309;
}

.tosya-regions strong {
  display: block;
  color: #111;
  font-size: 1rem;
  letter-spacing: .01em;
}

.tosya-regions span {
  display: block;
  margin-top: .25rem;
  color: #5a6472;
  font-size: .88rem;
}

.tosya-intro {
  margin: 1.25rem 0 1.5rem;
  padding: 1.5rem 1.6rem 1.35rem;
  text-align: center;
  background: linear-gradient(165deg, #ffffff 0%, #fffdf5 55%, #fef9e8 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.tosya-lead {
  margin: 0 auto .95rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3f4a5a;
  max-width: 46rem;
}

.tosya-kicker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tosya-kicker li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(212, 146, 0, .35);
  color: #0f172a;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
}

.tosya-kicker li i {
  color: #b45309;
  font-size: .9rem;
}

.tosya-cta-inline {
  display: flex;
  flex-wrap: nowrap;
  gap: .75rem;
  justify-content: stretch;
  align-items: stretch;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .045);
}

.tosya-cta-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  min-height: 52px;
  padding: .9rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none !important;
  font-size: .98rem;
  line-height: 1.2;
  box-sizing: border-box;
}

.tosya-cta-inline a i {
  font-size: 1.15rem;
  line-height: 1;
}

.tosya-cta-inline .is-call {
  background: linear-gradient(145deg, #e6a800 0%, #d49200 100%);
  color: #fff !important;
}

.tosya-cta-inline .is-wa {
  background: linear-gradient(145deg, #1fad55 0%, #158a40 100%);
  color: #fff !important;
}

/* Masaüstünde "Telefon:" öneki; mobilde sadece numara */
.tosya-cta-inline a.is-call .tosya-cta-phone-num::before {
  content: "Telefon: ";
}

@media (max-width: 921px) {
  .tosya-cta-inline a.is-call .tosya-cta-phone-num::before {
    content: none !important;
  }
}

@media (max-width: 544px) {
  .tosya-cta-inline {
    gap: .55rem;
    padding: .75rem;
  }

  .tosya-cta-inline a {
    min-height: 48px;
    padding: .75rem .55rem;
    font-size: .86rem;
    border-radius: 12px;
  }

  .tosya-cta-inline a.is-call .tosya-cta-phone-num::before {
    content: none !important;
  }

  .tosya-intro {
    padding: 1.2rem 1rem 1.1rem;
  }
}

/* Ana menü ikonları */
.main-navigation .menu-link,
.main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .menu-link,
.ast-desktop .main-header-menu .menu-link {
  display: inline-flex !important;
  align-items: center;
  gap: .3rem;
}

.tosya-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .95em;
  color: #d49200;
  line-height: 1;
  flex: 0 0 auto;
}

.tosya-menu-icon i {
  font-size: .88em;
  line-height: 1;
}

.tosya-menu-label {
  display: inline;
}

.ast-desktop .main-header-menu .sub-menu .tosya-menu-icon {
  color: #b45309;
  font-size: .85em;
}

.ast-header-break-point .main-header-menu .menu-link .tosya-menu-icon {
  width: 1.25em;
}

/* Left photo / right text content rows */
.tosya-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin: 2.75rem 0;
  padding: 1.35rem;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
}

.tosya-split--reverse {
  grid-template-columns: 1fr 1.05fr;
}

.tosya-split--reverse .tosya-split__media {
  order: 2;
}

.tosya-split--reverse .tosya-split__body {
  order: 1;
}

.tosya-split__media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  min-height: 260px;
}

.tosya-split__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.tosya-split__body h2,
.tosya-split__body h3 {
  margin: 0 0 .75rem;
  color: #0f172a;
  line-height: 1.25;
}

.tosya-split__body p {
  margin: 0 0 .85rem;
  color: #454f5e;
  line-height: 1.7;
  font-size: 1.02rem;
}

.tosya-split__body ul {
  margin: .4rem 0 1rem;
  padding-left: 1.15rem;
  color: #454f5e;
  line-height: 1.65;
}

.tosya-split__body li {
  margin-bottom: .35rem;
}

.tosya-split__meta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .75rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

@media (max-width: 768px) {
  .tosya-split,
  .tosya-split--reverse {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .tosya-split--reverse .tosya-split__media,
  .tosya-split--reverse .tosya-split__body {
    order: initial;
  }

  .tosya-split__media img {
    min-height: 220px;
    max-height: 300px;
  }
}

.tosya-regions li[id]{scroll-margin-top:110px;}

/* Bölge sayfaları ortak SEO yazısı */
.tosya-seo-article {
  margin: 2.25rem 0 1.5rem;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.tosya-seo-article h2 {
  margin: 0 0 1rem;
  color: #0f172a;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.3;
}

.tosya-seo-article p {
  margin: 0 0 .95rem;
  color: #454f5e;
  font-size: 1.02rem;
  line-height: 1.75;
}

.tosya-seo-article p:last-child {
  margin-bottom: 0;
}

.tosya-seo-article__phone {
  margin-top: 1.15rem !important;
}

.tosya-seo-article__phone a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: #b45309 !important;
  text-decoration: none !important;
}

.tosya-seo-article__phone a:hover {
  color: #92400e !important;
}

/* Bölge sayfalarında harita biraz daha ferah */
.page-parent-bolgeler .tosya-location,
.parent-pageid-1574 .tosya-location {
  margin-top: 2rem;
}

/* Location block */
.tosya-location {
  margin: 2.5rem 0;
  padding: 1.5rem;
  background: linear-gradient(165deg, #ffffff 0%, #fffdf5 55%, #fef9e8 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.tosya-location__intro {
  text-align: center;
  margin-bottom: 1.25rem;
}

.tosya-location__meta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .65rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: .82rem;
  font-weight: 700;
}

.tosya-location__title {
  margin: 0 0 .5rem;
  color: #0f172a;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.tosya-location__addr {
  margin: 0 auto;
  max-width: 36rem;
  color: #454f5e;
  line-height: 1.6;
  font-size: 1.02rem;
}

.tosya-location__maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.tosya-location__frame {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .1);
  background: #111;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.tosya-location__label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, .78);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.tosya-location__frame iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.tosya-location__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .65rem;
}

.tosya-location__btn {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 50px;
  padding: .8rem .7rem;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none !important;
  color: #fff !important;
  font-size: .95rem;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .1);
  transition: filter .2s ease;
}

.tosya-location__btn:hover {
  filter: brightness(1.05);
}

.tosya-location__btn i {
  font-size: 1.05rem;
}

.tosya-location__btn--maps {
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
}

.tosya-location__btn--dir {
  background: linear-gradient(145deg, #0f766e 0%, #0d9488 100%);
}

.tosya-location__btn--call {
  background: linear-gradient(145deg, #e6a800 0%, #d49200 100%);
}

@media (max-width: 768px) {
  .tosya-location {
    padding: 1.1rem;
  }

  .tosya-location__maps {
    grid-template-columns: 1fr;
  }

  .tosya-location__frame iframe {
    height: 240px;
  }

  .tosya-location__actions {
    flex-wrap: wrap;
  }

  .tosya-location__btn {
    flex: 1 1 calc(50% - .35rem);
    font-size: .88rem;
  }

  .tosya-location__btn--call {
    flex: 1 1 100%;
  }
}

/* Footer polish */
.site-primary-footer-wrap .ast-builder-grid-row {
  align-items: start;
  gap: 1.5rem 2rem;
}

.site-footer .footer-widget-area,
.site-footer .ast-builder-menu,
.site-footer .ast-footer-html {
  width: 100%;
}

.site-footer .site-footer-section-2 .ast-builder-menu::before,
.site-footer .site-footer-primary-section-2 .ast-builder-menu::before {
  content: "Menü";
  display: block;
  margin: 0 0 .65rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer #astra-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer #astra-footer-menu .menu-item {
  margin: 0 0 .35rem;
}

.site-footer #astra-footer-menu .menu-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .2rem 0;
}

.site-footer .tosya-footer-brand,
.site-footer .tosya-footer-contact {
  color: rgba(255, 255, 255, .92);
  text-align: left;
}

.site-footer .tosya-footer-brand__logo {
  display: block;
  margin: 0 0 .85rem;
  max-width: 148px;
  line-height: 0;
}

.site-footer .tosya-footer-brand__logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  padding: .35rem;
  box-sizing: border-box;
}

.site-footer .tosya-footer-brand__title,
.site-footer .tosya-footer-contact__title {
  display: block;
  margin: 0 0 .55rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer .tosya-footer-brand p,
.site-footer .tosya-footer-contact p {
  margin: 0 0 .45rem;
  line-height: 1.55;
  font-size: .95rem;
  color: rgba(255, 255, 255, .86);
}

.site-footer .tosya-footer-brand__addr {
  margin-top: .75rem !important;
}

.site-footer .tosya-footer-brand a,
.site-footer .tosya-footer-contact a {
  color: #fde68a !important;
  text-decoration: none !important;
}

.site-footer .tosya-footer-brand a:hover,
.site-footer .tosya-footer-contact a:hover {
  color: #fbbf24 !important;
}

.site-footer .tosya-footer-brand i,
.site-footer .tosya-footer-contact i {
  width: 1.15em;
  margin-right: .35rem;
  color: #fbbf24;
}

.site-footer .ast-builder-menu .menu-link,
.site-footer #astra-footer-menu .menu-link {
  color: rgba(255, 255, 255, .9) !important;
}

.site-footer .ast-builder-menu .menu-link:hover,
.site-footer #astra-footer-menu .menu-link:hover {
  color: #fbbf24 !important;
}

.site-footer .ast-footer-copyright {
  color: rgba(255, 255, 255, .75) !important;
}

.site-below-footer-wrap,
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  min-height: 0 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] .ast-builder-grid-row {
  min-height: 0 !important;
  align-items: center !important;
}

.site-below-footer-wrap .ast-footer-copyright p {
  margin: 0;
  line-height: 1.4;
}

.site-below-footer-wrap .ast-footer-copyright {
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.tosya-footer-keywords {
  margin: 0.65rem 0 0 !important;
  max-width: 1100px;
  color: rgba(255, 255, 255, .45) !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  text-align: center;
  word-break: break-word;
}

/* Anasayfa H1 üst boşluk */
.tosya-home-h1 {
  margin-top: 2.5rem !important;
  padding-top: 0.75rem;
}

/* Anasayfa SEO başlığı üst boşluk */
.tosya-home-seo-heading {
  margin-top: 3rem !important;
  padding-top: 0.5rem;
}

@media (max-width: 921px) {
  .tosya-home-h1 {
    margin-top: 1.75rem !important;
  }

  .tosya-home-seo-heading {
    margin-top: 2.25rem !important;
  }
}

@media (max-width: 921px) {
  .site-footer .tosya-footer-brand,
  .site-footer .tosya-footer-contact {
    text-align: center;
  }

  .site-footer .tosya-footer-brand__logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Blog yorum alanını gizle */
.single-post .comments-area,
.single-post #comments,
.single-post .comment-respond {
  display: none !important;
}

/* Google tarzı yorumlar — soldan sağa kayan şerit */
.tosya-reviews {
  --tosya-reviews-gap: 1rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 1.75rem 0 2.25rem;
  padding: 1.5rem 0 1.25rem;
  background:
    radial-gradient(1200px 220px at 50% 0%, rgba(251, 191, 36, .12), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  border-block: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
  contain: inline-size;
}

.tosya-reviews__head {
  max-width: 920px;
  margin: 0 auto 1.15rem;
  padding: 0 1.25rem;
  text-align: center;
}

.tosya-reviews__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem .55rem;
  margin-bottom: .7rem;
  color: #3c4043;
  font-family: Arial, Helvetica, sans-serif;
}

.tosya-reviews__g-logo {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.tosya-reviews__g-logo--sm {
  width: 18px;
  height: 18px;
}

.tosya-reviews__brand-word {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tosya-reviews__brand-g { color: #4285f4; }
.tosya-reviews__brand-o1 { color: #ea4335; }
.tosya-reviews__brand-o2 { color: #fbbc04; }
.tosya-reviews__brand-g2 { color: #4285f4; }
.tosya-reviews__brand-l { color: #34a853; }
.tosya-reviews__brand-e { color: #ea4335; }

.tosya-reviews__brand-label {
  color: #5f6368;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
}

.tosya-reviews__title {
  margin: 0 0 .65rem;
  color: #0f172a;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.tosya-reviews__summary {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem .65rem;
  color: #3c4043;
  font-size: .95rem;
}

.tosya-reviews__score {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.tosya-reviews__stars,
.tosya-reviews__card-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.tosya-reviews__star {
  display: block;
  flex: 0 0 auto;
}

.tosya-reviews__count {
  color: #70757a;
  font-size: .92rem;
}

.tosya-reviews__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.tosya-reviews__track {
  display: flex;
  width: max-content;
  max-width: none;
  gap: var(--tosya-reviews-gap);
  padding: .35rem 0 .6rem;
  will-change: transform;
  animation: tosya-reviews-ltr 220s linear infinite;
  backface-visibility: hidden;
}

.tosya-reviews__viewport:hover .tosya-reviews__track {
  animation-play-state: paused;
}

@keyframes tosya-reviews-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.tosya-reviews__card {
  flex: 0 0 min(320px, 78vw);
  width: min(320px, 78vw);
  padding: 1rem 1.05rem 1.1rem;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .12), 0 2px 8px rgba(60, 64, 67, .08);
  text-align: left;
}

.tosya-reviews__card-top {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .55rem;
}

.tosya-reviews__avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
}

.tosya-reviews__meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.tosya-reviews__name {
  color: #202124;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tosya-reviews__when {
  color: #70757a;
  font-size: .78rem;
}

.tosya-reviews__google {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.tosya-reviews__card-stars {
  margin-bottom: .45rem;
}

.tosya-reviews__text {
  margin: 0;
  color: #3c4043;
  font-size: .9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 544px) {
  .tosya-reviews {
    margin: 1.25rem 0 1.75rem;
    padding: 1.15rem 0 1rem;
  }

  .tosya-reviews__track {
    animation-duration: 180s;
  }

  .tosya-reviews__brand-word {
    font-size: 1.2rem;
  }

  .tosya-reviews__brand-label {
    font-size: .95rem;
  }

  .tosya-reviews__card {
    flex-basis: min(280px, 82vw);
    width: min(280px, 82vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tosya-reviews__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding-inline: 1rem;
  }

  .tosya-reviews__viewport {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .tosya-reviews__card:nth-child(n + 7) {
    display: none;
  }
}

/* Blog liste: kart / ızgara */
.blog .site-main > .ast-row,
.archive.category .site-main > .ast-row,
.archive.tag .site-main > .ast-row,
.search .site-main > .ast-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin: 0;
}

.blog .site-main > .ast-row::before,
.blog .site-main > .ast-row::after,
.archive.category .site-main > .ast-row::before,
.archive.category .site-main > .ast-row::after,
.archive.tag .site-main > .ast-row::before,
.archive.tag .site-main > .ast-row::after,
.search .site-main > .ast-row::before,
.search .site-main > .ast-row::after {
  display: none !important;
  content: none !important;
}

.blog .ast-article-post,
.archive.category .ast-article-post,
.archive.tag .ast-article-post,
.search .ast-article-post {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.blog .ast-article-post .ast-article-inner,
.archive.category .ast-article-post .ast-article-inner,
.archive.tag .ast-article-post .ast-article-inner,
.search .ast-article-post .ast-article-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog .ast-article-post .ast-article-inner:hover,
.archive.category .ast-article-post .ast-article-inner:hover,
.archive.tag .ast-article-post .ast-article-inner:hover,
.search .ast-article-post .ast-article-inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .12);
}

.blog .ast-article-post .post-content,
.archive.category .ast-article-post .post-content,
.archive.tag .ast-article-post .post-content,
.search .ast-article-post .post-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0 1.05rem 1.15rem;
}

.blog .ast-article-post .ast-blog-featured-section,
.archive.category .ast-article-post .ast-blog-featured-section,
.archive.tag .ast-article-post .ast-blog-featured-section,
.search .ast-article-post .ast-blog-featured-section {
  margin: 0 0 .9rem !important;
}

.blog .ast-article-post .entry-title,
.archive.category .ast-article-post .entry-title,
.archive.tag .ast-article-post .entry-title,
.search .ast-article-post .entry-title {
  font-size: 1.1rem !important;
  line-height: 1.35 !important;
  margin: 0 0 .45rem !important;
}

.blog .ast-article-post .entry-title a,
.archive.category .ast-article-post .entry-title a,
.archive.tag .ast-article-post .entry-title a,
.search .ast-article-post .entry-title a {
  color: #0f172a !important;
  text-decoration: none !important;
}

.blog .ast-article-post .entry-meta,
.archive.category .ast-article-post .entry-meta,
.archive.tag .ast-article-post .entry-meta,
.search .ast-article-post .entry-meta {
  font-size: .8rem;
  margin-bottom: .55rem !important;
}

.blog .ast-article-post .entry-content,
.archive.category .ast-article-post .entry-content,
.archive.tag .ast-article-post .entry-content,
.search .ast-article-post .entry-content {
  flex: 1 1 auto;
  font-size: .92rem;
  line-height: 1.55;
  color: #454f5e;
  margin: 0 0 .85rem !important;
}

.blog .ast-article-post .ast-excerpt-more,
.blog .ast-article-post .read-more,
.archive.category .ast-article-post .read-more,
.archive.tag .ast-article-post .read-more,
.search .ast-article-post .read-more,
.blog .ast-article-post .ast-read-more a,
.archive.category .ast-article-post .ast-read-more a {
  margin-top: auto;
}

.blog .ast-article-post .ast-read-more .ast-button,
.blog .ast-article-post a.ast-button,
.archive.category .ast-article-post .ast-button,
.archive.category .ast-article-post a.read-more,
.blog .ast-article-post a.read-more {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: .25rem;
  padding: .55rem 1rem !important;
  border-radius: 999px !important;
  background: #fd9800 !important;
  color: #111 !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

@media (max-width: 921px) {
  .blog .site-main > .ast-row,
  .archive.category .site-main > .ast-row,
  .archive.tag .site-main > .ast-row,
  .search .site-main > .ast-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 544px) {
  .blog .site-main > .ast-row,
  .archive.category .site-main > .ast-row,
  .archive.tag .site-main > .ast-row,
  .search .site-main > .ast-row {
    grid-template-columns: 1fr;
    gap: .9rem;
  }
}

/* Blog / yazı öne çıkan görseller: aynı yükseklik, ortalanmış */
.ast-article-post .post-thumb,
.ast-article-single .post-thumb,
.ast-article-post .post-thumb-img-content,
.ast-article-single .post-thumb-img-content {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  aspect-ratio: 16 / 9;
  height: auto;
}

.blog .ast-article-post .post-thumb,
.blog .ast-article-post .post-thumb-img-content,
.archive.category .ast-article-post .post-thumb,
.archive.category .ast-article-post .post-thumb-img-content,
.archive.tag .ast-article-post .post-thumb,
.archive.tag .ast-article-post .post-thumb-img-content,
.search .ast-article-post .post-thumb,
.search .ast-article-post .post-thumb-img-content {
  border-radius: 0;
}

.ast-article-post .post-thumb a,
.ast-article-single .post-thumb a,
.ast-article-post .post-thumb-img-content a,
.ast-article-single .post-thumb-img-content a {
  display: block;
  width: 100%;
  height: 100%;
}

.ast-article-post .post-thumb img,
.ast-article-single .post-thumb img,
.ast-article-post .wp-post-image,
.ast-article-single .wp-post-image,
.ast-article-post .post-thumb-img-content img,
.ast-article-single .post-thumb-img-content img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

@media (max-width: 921px) {
  .ast-article-post .post-thumb,
  .ast-article-single .post-thumb,
  .ast-article-post .post-thumb-img-content,
  .ast-article-single .post-thumb-img-content {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
}

@media (max-width: 544px) {
  .ast-article-post .post-thumb,
  .ast-article-single .post-thumb,
  .ast-article-post .post-thumb-img-content,
  .ast-article-single .post-thumb-img-content {
    aspect-ratio: 4 / 3;
  }
}

/* Gallery page */

.tosya-gallery {
  margin: 1.25rem 0 2rem;
}

.tosya-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 921px) {
  .tosya-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
}

@media (max-width: 544px) {
  .tosya-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .55rem;
  }

  .tosya-gallery__cap {
    font-size: .72rem;
    padding: .45rem .55rem;
  }
}

.tosya-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
  aspect-ratio: 4 / 3;
  text-decoration: none !important;
}

.tosya-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.tosya-gallery__item:hover img {
  transform: scale(1.04);
}

.tosya-gallery__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .7rem .85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .78) 100%);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lightbox: derli toplu, mobil uyumlu */
html.tosya-lightbox-open,
html.tosya-lightbox-open body {
  overflow: hidden !important;
}

html.tosya-lightbox-open .tosya-cta {
  display: none !important;
}

.glightbox-container {
  z-index: 100000 !important;
}

.glightbox-container .goverlay {
  background: rgba(8, 12, 20, .94) !important;
}

.glightbox-container .gslide-image img {
  max-height: min(82vh, 900px) !important;
  max-width: min(92vw, 1100px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 8px;
}

.glightbox-clean .gslide-media {
  box-shadow: none !important;
}

.glightbox-clean .gslide-description {
  background: transparent !important;
  padding: 0 !important;
}

.glightbox-clean .gdesc-inner {
  padding: .85rem 1rem 0 !important;
  text-align: center;
}

.glightbox-clean .gslide-title {
  margin: 0 !important;
  color: rgba(255, 255, 255, .92) !important;
  font-size: .95rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  font-family: inherit !important;
}

.glightbox-clean .gslide-desc {
  display: none !important;
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  position: fixed !important;
  z-index: 100001 !important;
  box-sizing: border-box !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, .88) !important;
  border: 1px solid rgba(251, 191, 36, .5) !important;
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  transition: background .2s ease, border-color .2s ease;
}

.glightbox-clean .gclose svg,
.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
  width: 22px !important;
  height: 22px !important;
  color: #fff;
  flex-shrink: 0;
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  background: #0f172a !important;
  border-color: #fbbf24 !important;
}

.glightbox-clean .gclose {
  top: max(12px, env(safe-area-inset-top, 0px)) !important;
  right: max(12px, env(safe-area-inset-right, 0px)) !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

.glightbox-clean .gprev {
  top: 50% !important;
  bottom: auto !important;
  left: max(12px, env(safe-area-inset-left, 0px)) !important;
  right: auto !important;
  transform: translateY(-50%) !important;
}

.glightbox-clean .gnext {
  top: 50% !important;
  bottom: auto !important;
  right: max(12px, env(safe-area-inset-right, 0px)) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
}

@media (max-width: 721px) {
  .glightbox-container .gcontainer {
    padding: 56px 56px 72px !important;
    box-sizing: border-box;
  }

  .glightbox-container .gslide-image img {
    max-height: min(62vh, 640px) !important;
    max-width: 100% !important;
    border-radius: 6px;
  }

  .glightbox-clean .gclose,
  .glightbox-clean .gnext,
  .glightbox-clean .gprev {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }

  /* Mobil: sol/sağ kenarda ayrı, ortada çakışmasın */
  .glightbox-clean .gprev {
    top: auto !important;
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px)) !important;
    left: max(16px, env(safe-area-inset-left, 0px)) !important;
    right: auto !important;
    transform: none !important;
  }

  .glightbox-clean .gnext {
    top: auto !important;
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 10px)) !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    transform: none !important;
  }

  .glightbox-clean .gclose {
    top: max(10px, env(safe-area-inset-top, 0px)) !important;
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  .glightbox-clean .gslide-description {
    position: relative;
    z-index: 1;
  }

  .glightbox-clean .gslide-title {
    font-size: .8rem !important;
    padding: 0 .5rem;
    max-width: 70vw;
    margin: 0 auto !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .glightbox-clean .gdesc-inner {
    padding: .4rem .5rem 0 !important;
  }
}
