/* Keyboard focus remains visible on both light and dark surfaces. */
:is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #111827;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}

/* Several page templates set article and card copy to 13–13.5px. */
@media (max-width: 767px) {
  main p, main li, .content-card p, .content-card li, body .service-card p,
  body .card p, body .card li, body .small-card p, body .feature-card p,
  body .content-main p, body .service-list li, body .keyword-list li {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
  main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  main select, main textarea {
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
/* Keep the compact district-page header on one row; let its subtitle wrap. */
@media (max-width:767px){
  .navbar>.container:has(>.logo-wrap + .ms-auto){flex-wrap:nowrap;gap:12px}
  .navbar>.container:has(>.logo-wrap + .ms-auto)>.logo-wrap{flex:1;min-width:0}
  .navbar>.container:has(>.logo-wrap + .ms-auto) .logo-icon{flex-shrink:0}
  .navbar>.container:has(>.logo-wrap + .ms-auto) .logo-text-group{min-width:0}
  .navbar>.container:has(>.logo-wrap + .ms-auto) .logo-mini{white-space:normal;overflow-wrap:anywhere}
  .navbar>.container:has(>.logo-wrap + .ms-auto)>.ms-auto{flex-shrink:0}
  .navbar>.container:has(>.logo-wrap + .ms-auto) .nav-call{display:inline-flex;align-items:center;white-space:nowrap}
}

/* 2026-09 contrast/readability refinement. Scoped to common content surfaces. */
.content-context, .context-answer, .related-guide-card {
  border-color: rgba(31,57,84,.18);
}
.content-context p, .content-context li, .context-answer, .related-guide-card span {
  color: #40566b;
}
main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
main select, main textarea {
  border-color: #c7d2dd;
}
main input::placeholder, main textarea::placeholder {
  color: #6b7c8d;
  opacity: 1;
}
@media (max-width: 767px) {
  .content-context p, .content-context li, .context-answer, .related-guide-card span {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }
}


/* Compact premium quick-action strip: only the main category trust action area. */
body.category-premium .trust-strip.trust-actions {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 9px !important;
  padding: 9px !important;
  background: rgba(255,255,255,.84) !important;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 18%, #dbe4ec) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(15, 38, 62, .07) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.category-premium .trust-strip.trust-actions .trust-action {
  min-width: 0;
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 18px;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid color-mix(in srgb, var(--cat-accent) 15%, #dbe4ec);
  border-radius: 13px;
  background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--cat-soft) 58%, #fff) 100%);
  color: var(--cat-dark) !important;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15,38,62,.035);
}
body.category-premium .trust-strip.trust-actions .trust-action-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cat-accent) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--cat-accent) 18%, #fff);
  color: var(--cat-accent);
  font-size: .9rem;
}
body.category-premium .trust-strip.trust-actions .trust-action-arrow {
  color: color-mix(in srgb, var(--cat-accent) 68%, #718096);
  font-size: .72rem;
  opacity: .72;
  transition: transform .18s ease, opacity .18s ease;
}
body.category-premium .trust-strip.trust-actions .trust-action:hover,
body.category-premium .trust-strip.trust-actions .trust-action:focus-visible {
  border-color: color-mix(in srgb, var(--cat-accent) 32%, #dbe4ec);
  background: #fff;
  color: var(--cat-dark) !important;
  box-shadow: 0 8px 18px rgba(15,38,62,.08);
  transform: translateY(-1px);
}
body.category-premium .trust-strip.trust-actions .trust-action:hover .trust-action-arrow,
body.category-premium .trust-strip.trust-actions .trust-action:focus-visible .trust-action-arrow {
  transform: translateX(2px);
  opacity: 1;
}
@media (max-width: 991px) {
  body.category-premium .trust-strip.trust-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575px) {
  body.category-premium .trust-strip.trust-actions {
    gap: 7px !important;
    padding: 7px !important;
  }
  body.category-premium .trust-strip.trust-actions .trust-action {
    min-height: 58px;
    grid-template-columns: 31px minmax(0,1fr) 14px;
    gap: 7px;
    padding: 8px;
    font-size: .77rem;
  }
  body.category-premium .trust-strip.trust-actions .trust-action-icon {
    width: 31px;
    height: 31px;
    border-radius: 9px;
  }
}

/* ===== DEBA / Cohesive light premium footer ===== */
body.category-premium footer,
body.category-premium footer.footer,
body.category-premium .footer{
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 10% 0%,color-mix(in srgb,var(--cat-accent,#1769aa) 8%,transparent) 0%,transparent 34%),
    radial-gradient(circle at 92% 12%,color-mix(in srgb,var(--cat-accent-2,#70b7df) 10%,transparent) 0%,transparent 30%),
    linear-gradient(180deg,#fbfdff 0%,#f2f7fb 100%)!important;
  color:var(--cat-ink,#152536)!important;
  border-top:1px solid color-mix(in srgb,var(--cat-accent,#1769aa) 18%,#dbe4ec)!important;
  border-radius:28px 28px 0 0!important;
  margin-top:44px!important;
  padding:46px 0 24px!important;
  box-shadow:0 -14px 34px rgba(20,42,66,.055)!important;
}
body.category-premium footer::before,
body.category-premium .footer::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,transparent,var(--cat-accent,#1769aa),var(--cat-accent-2,#70b7df),transparent);
  opacity:.85;
}
body.category-premium footer .container,
body.category-premium .footer .container{position:relative;z-index:1}
body.category-premium footer h2,
body.category-premium footer h3,
body.category-premium footer h4,
body.category-premium footer h5,
body.category-premium .footer h2,
body.category-premium .footer h3,
body.category-premium .footer h4,
body.category-premium .footer h5{
  color:var(--cat-dark,#173148)!important;
  -webkit-text-fill-color:var(--cat-dark,#173148)!important;
  font-weight:800!important;
  letter-spacing:-.015em;
}
body.category-premium footer h4,
body.category-premium .footer h4{font-size:1.22rem!important}
body.category-premium footer h5,
body.category-premium .footer h5{font-size:1rem!important}
body.category-premium footer p,
body.category-premium footer span,
body.category-premium footer li,
body.category-premium footer strong,
body.category-premium .footer p,
body.category-premium .footer span,
body.category-premium .footer li,
body.category-premium .footer strong{
  color:#52677b!important;
  -webkit-text-fill-color:#52677b!important;
  opacity:1!important;
}
body.category-premium footer .footer-desc,
body.category-premium .footer .footer-desc{
  color:#52677b!important;
  -webkit-text-fill-color:#52677b!important;
  font-size:.91rem!important;
  line-height:1.75!important;
  max-width:520px!important;
}
body.category-premium footer .footer-contact-list,
body.category-premium .footer .footer-contact-list{gap:10px!important;margin-top:18px!important}
body.category-premium footer .footer-contact-list li,
body.category-premium footer .footer-contact-list li span,
body.category-premium footer .footer-contact-list li div,
body.category-premium .footer .footer-contact-list li,
body.category-premium .footer .footer-contact-list li span,
body.category-premium .footer .footer-contact-list li div{
  color:#31485e!important;
  -webkit-text-fill-color:#31485e!important;
  font-size:.88rem!important;
  line-height:1.55!important;
}
body.category-premium footer .footer-contact-list i,
body.category-premium .footer .footer-contact-list i{
  width:30px;height:30px;
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:0!important;
  border-radius:9px;
  color:var(--cat-accent,#1769aa)!important;
  -webkit-text-fill-color:var(--cat-accent,#1769aa)!important;
  background:color-mix(in srgb,var(--cat-accent,#1769aa) 9%,#fff)!important;
  border:1px solid color-mix(in srgb,var(--cat-accent,#1769aa) 15%,#fff)!important;
  flex:0 0 30px!important;
}
body.category-premium footer a,
body.category-premium .footer a{
  color:var(--cat-accent,#1769aa)!important;
  -webkit-text-fill-color:var(--cat-accent,#1769aa)!important;
  opacity:1!important;
  text-decoration:none!important;
}
body.category-premium footer a:hover,
body.category-premium .footer a:hover{
  color:var(--cat-dark,#173148)!important;
  -webkit-text-fill-color:var(--cat-dark,#173148)!important;
  text-decoration:underline!important;
}
body.category-premium footer .footer-call-card,
body.category-premium footer .footer-legal-card,
body.category-premium .footer .footer-call-card,
body.category-premium .footer .footer-legal-card{
  position:relative;
  height:100%!important;
  background:rgba(255,255,255,.88)!important;
  border:1px solid color-mix(in srgb,var(--cat-accent,#1769aa) 14%,#dce6ee)!important;
  border-radius:18px!important;
  padding:21px!important;
  box-shadow:0 12px 28px rgba(20,42,66,.065)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body.category-premium footer .footer-call-card::before,
body.category-premium footer .footer-legal-card::before,
body.category-premium .footer .footer-call-card::before,
body.category-premium .footer .footer-legal-card::before{
  content:"";
  position:absolute;left:20px;right:20px;top:0;height:3px;
  border-radius:0 0 4px 4px;
  background:linear-gradient(90deg,var(--cat-accent,#1769aa),var(--cat-accent-2,#70b7df));
}
body.category-premium footer .footer-call-text,
body.category-premium footer .footer-legal-card p,
body.category-premium .footer .footer-call-text,
body.category-premium .footer .footer-legal-card p{
  color:#5b6f82!important;
  -webkit-text-fill-color:#5b6f82!important;
  font-size:.84rem!important;
  line-height:1.65!important;
}
body.category-premium footer .footer-call,
body.category-premium .footer .footer-call{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  margin-top:14px!important;
  padding:0 18px!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,var(--cat-accent,#1769aa),color-mix(in srgb,var(--cat-accent,#1769aa) 68%,var(--cat-dark,#173148)))!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:1.55rem!important;
  font-weight:850!important;
  line-height:1!important;
  box-shadow:0 9px 20px color-mix(in srgb,var(--cat-accent,#1769aa) 18%,transparent)!important;
}
body.category-premium footer .footer-call:hover,
body.category-premium .footer .footer-call:hover{
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
  transform:translateY(-1px);
}
body.category-premium footer .footer-privacy-links,
body.category-premium .footer .footer-privacy-links{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:18px!important;
}
body.category-premium footer .footer-privacy-links a,
body.category-premium footer .footer-privacy-links button,
body.category-premium footer .cookie-settings-button,
body.category-premium footer [data-cookie-settings],
body.category-premium .footer .footer-privacy-links a,
body.category-premium .footer .footer-privacy-links button,
body.category-premium .footer .cookie-settings-button,
body.category-premium .footer [data-cookie-settings]{
  min-height:34px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:7px 11px!important;
  border:1px solid color-mix(in srgb,var(--cat-accent,#1769aa) 13%,#dbe4ec)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.72)!important;
  color:#40566b!important;
  -webkit-text-fill-color:#40566b!important;
  font-size:.78rem!important;
  font-weight:650!important;
  line-height:1!important;
  box-shadow:none!important;
}
body.category-premium footer .footer-privacy-links a:hover,
body.category-premium footer .footer-privacy-links button:hover,
body.category-premium .footer .footer-privacy-links a:hover,
body.category-premium .footer .footer-privacy-links button:hover{
  border-color:color-mix(in srgb,var(--cat-accent,#1769aa) 28%,#dbe4ec)!important;
  background:#fff!important;
  color:var(--cat-accent,#1769aa)!important;
  -webkit-text-fill-color:var(--cat-accent,#1769aa)!important;
  text-decoration:none!important;
}
body.category-premium footer .footer-bottom-line,
body.category-premium .footer .footer-bottom-line{
  border-top:1px solid color-mix(in srgb,var(--cat-accent,#1769aa) 12%,#dbe4ec)!important;
  margin-top:28px!important;
  padding-top:18px!important;
}
body.category-premium footer .footer-bottom-line p,
body.category-premium .footer .footer-bottom-line p{
  color:#667b8f!important;
  -webkit-text-fill-color:#667b8f!important;
  font-size:.78rem!important;
  line-height:1.5!important;
  margin:0!important;
}
@media(max-width:991.98px){
  body.category-premium footer,
  body.category-premium .footer{border-radius:22px 22px 0 0!important;padding:36px 0 22px!important;margin-top:36px!important}
  body.category-premium footer .footer-call-card,
  body.category-premium footer .footer-legal-card,
  body.category-premium .footer .footer-call-card,
  body.category-premium .footer .footer-legal-card{padding:18px!important}
}
@media(max-width:575.98px){
  body.category-premium footer,
  body.category-premium .footer{border-radius:18px 18px 0 0!important;padding:30px 0 86px!important}
  body.category-premium footer h4,
  body.category-premium .footer h4{font-size:1.1rem!important}
  body.category-premium footer .footer-desc,
  body.category-premium .footer .footer-desc{font-size:.88rem!important;line-height:1.68!important}
  body.category-premium footer .footer-call,
  body.category-premium .footer .footer-call{width:100%!important;font-size:1.35rem!important}
  body.category-premium footer .footer-privacy-links,
  body.category-premium .footer .footer-privacy-links{gap:6px!important}
}


/* ONLY: "Servis öncesi güvenli hazırlık" mobile spacing */
@media (max-width: 768px) {
  section.content-context[data-seo-context-v3="1"] {
    padding: 24px 20px !important;
    border: 0 !important;
  }
}

/* ONLY: header phone number contrast fix — desktop + opened mobile menu */
html body.category-premium .navbar a.nav-link.nav-call,
html body.category-premium .navbar a.nav-link.nav-call:hover,
html body.category-premium .navbar a.nav-link.nav-call:focus,
html body.category-premium .header a.call-top,
html body.category-premium .header a.call-top:hover,
html body.category-premium .header a.call-top:focus,
html body.category-premium .nav a.call-btn,
html body.category-premium .nav a.call-btn:hover,
html body.category-premium .nav a.call-btn:focus {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

html body.category-premium .navbar a.nav-link.nav-call i,
html body.category-premium .header a.call-top i,
html body.category-premium .nav a.call-btn i {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}

/* FINAL SMALL FIXES — phone contrast on all templates + heat-pump mobile collapse only */
html body.category-premium .navbar a.nav-call,
html body.category-premium .navbar a.nav-call:hover,
html body.category-premium .navbar a.nav-call:focus {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
html body.category-premium .navbar a.nav-call i,
html body.category-premium .navbar a.nav-call svg {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  stroke:currentColor;
}

@media (max-width: 991.98px) {
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar > .container {
    flex-wrap:wrap !important;
  }
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar .navbar-toggler {
    margin-left:auto !important;
    flex:0 0 auto !important;
  }
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar .navbar-collapse {
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
    margin-top:8px !important;
  }
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar .navbar-nav {
    width:100% !important;
    margin:0 !important;
    gap:0 !important;
    align-items:stretch !important;
  }
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar .navbar-nav .nav-link {
    width:100% !important;
    padding:10px 12px !important;
  }
  body.category-premium.category-isi-pompasi:not(.category-subpage) .navbar .navbar-nav .nav-call {
    display:flex !important;
    width:100% !important;
    justify-content:center !important;
    margin-top:5px !important;
  }
}


/* ONLY: image visibility fix — do not crop desktop 2nd image, do not squeeze images on mobile */
body.category-premium .hero-image{
  min-height:auto!important;
  height:auto!important;
  display:block!important;
}

body.category-premium .hero-image img,
body.category-premium .inline-figure img,
body.category-premium .category-visual,
body.category-premium .content-card img:not(.logo):not([class*="icon"]),
body.category-premium .section-heading img:not(.logo):not([class*="icon"]) {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.category-premium .inline-figure,
body.category-premium .hero-image{
  overflow:hidden!important;
}

/* ONLY: main category second image (.article-img) — preserve full natural ratio */
body.category-premium .article-img {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center center !important;
}

/* 2026-09 semantic heading-level QA */
body.category-premium .hero-side-card h2.hero-side-heading {
  color: var(--cat-dark, #173148) !important;
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  font-weight: 800 !important;
}
body.category-premium footer h3.footer-heading-lg,
body.category-premium .footer h3.footer-heading-lg {
  font-size: 1.22rem !important;
  margin-top: 0 !important;
}
body.category-premium footer h3.footer-heading-sm,
body.category-premium .footer h3.footer-heading-sm {
  font-size: 1rem !important;
  margin-top: 0 !important;
}
body:not(.category-premium) footer.footer h3.footer-heading-lg,
body:not(.category-premium) .footer h3.footer-heading-lg {
  color: #fff !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  margin: 0 0 10px !important;
}
body:not(.category-premium) footer.footer h3.footer-heading-sm,
body:not(.category-premium) .footer h3.footer-heading-sm {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  margin: 0 0 10px !important;
}
@media (max-width: 575.98px) {
  body.category-premium footer h3.footer-heading-lg,
  body.category-premium .footer h3.footer-heading-lg { font-size: 1.1rem !important; }
}
