/* Kent Kurumsal responsive/accessibility refinements */
img { max-width: 100%; height: auto; }
#logo img { display: block; width: 200px; height: auto !important; max-width: 100%; object-fit: contain; aspect-ratio: 219 / 125; }
#logo a { display: inline-block; max-width: 100%; }
.kent-form-label { display:block; margin: 10px 0 5px; font-weight:700; color:#333; }
.kent-address { max-width: 1100px; margin: 12px auto; padding: 12px 20px; line-height:1.7; }
.kent-hp { position:absolute !important; left:-10000px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; }
#ajaxcontactform input, #ajaxcontactform textarea { box-sizing:border-box; max-width:100%; }
#ajaxcontactform input:focus, #ajaxcontactform textarea:focus, a:focus { outline: 2px solid #1267a5; outline-offset: 2px; }
#contactajax { line-height:1.6; overflow-wrap:anywhere; }
@media (max-width: 600px) {
  body { overflow-wrap: break-word; }
  #header, #main, #footerbottom, .footerwrap { max-width:100%; box-sizing:border-box; }
  #logo { max-width: calc(100% - 30px); }
  #navi select { max-width:100%; min-height:42px; }
  .boxes-padding, .boxes-full, .fullpadding { box-sizing:border-box; max-width:100%; }
  .contacttextboxes, .contacttextarea { max-width:100%; box-sizing:border-box; }
  #ajaxcontactform input[type=text], #ajaxcontactform input[type=email], #ajaxcontactform input[type=tel], #ajaxcontactform textarea { width:100%; min-height:42px; }
  #ajaxcontactform textarea { min-height:140px; }
  .socialfooter ul { margin-left:0 !important; float:none !important; display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
  .socialfooter ul li { display:inline-block; }
}


/* Additional usability, performance and conversion refinements */
html { scroll-behavior: smooth; }
body { line-height: 1.65; }
a { transition: color .15s ease; }
img { content-visibility: auto; }
.kent-blog-prompt { max-width: 1120px; margin: 24px auto; padding: 14px 18px; box-sizing: border-box; text-align: center; }
.kent-blog-prompt a { display: inline-block; padding: 11px 18px; border: 1px solid #d9e2e8; border-radius: 5px; font-weight: 700; text-decoration: none; }
.kent-blog-prompt a:hover { text-decoration: underline; }
#ajaxcontactform input:disabled { opacity: .65; cursor: wait; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }


/* Consistent keyboard skip navigation across core pages */
.kent-skip-link{position:absolute;left:12px;top:-100px;z-index:99999;padding:10px 14px;background:#fff;color:#123!important;border:2px solid #123;border-radius:4px;font-weight:700;text-decoration:none}
.kent-skip-link:focus{top:12px}


/* V23: mobile navigation usability */
#navi select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid #aebbc5; border-radius: 5px; background-color: #fff; color: #17364b; font: inherit; max-width: 100%; }
#navi select:focus-visible { outline: 3px solid #1267a5; outline-offset: 2px; }
@media (max-width: 800px) { #navi select { display: inline-block; width: calc(100% - 32px); max-width: 420px; margin: 8px 16px 12px; } }


/* V25: visible state for fields flagged by contact-form validation */
#ajaxcontactform [aria-invalid="true"] { border-color: #b42318 !important; box-shadow: 0 0 0 1px #b42318; }
#contactwarning { overflow-wrap: anywhere; }


/* V26: clearer form submission state */
#ajaxcontactform[aria-busy="true"] { opacity: .96; }
#ajaxcontactform input[type="submit"][aria-busy="true"] { cursor: progress; }
#contactajax { margin: 10px 0; padding: 10px 12px; border-left: 4px solid #1267a5; background: #f2f7fb; color: #17364b; }
#contactwarning { margin: 10px 0; padding: 10px 12px; border-left: 4px solid #b42318; background: #fff4f2; color: #7a271a; }


/* V29: service-page conversion and related-guide block */
.kent-service-next{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:26px 0 22px;padding:20px;border:1px solid #d8e2ec;border-left:5px solid #1d5e91;border-radius:8px;background:#f5f8fb}
.kent-service-next .kent-service-copy{flex:1 1 280px}
.kent-service-next h2{margin:0 0 8px;font-size:22px;line-height:1.35}
.kent-service-next p{margin:0;line-height:1.6}
.kent-service-actions{display:flex;flex-wrap:wrap;gap:10px}
.kent-service-actions a{display:inline-block;padding:11px 15px;border-radius:5px;background:#1d5e91;color:#fff!important;text-decoration:none;font-weight:700}
.kent-service-actions a.kent-service-secondary{background:#fff;color:#1d5e91!important;border:1px solid #1d5e91}
.kent-service-actions a:focus-visible{outline:3px solid #e5a229;outline-offset:3px}
@media(max-width:600px){.kent-service-next{padding:16px}.kent-service-actions{width:100%}.kent-service-actions a{flex:1 1 100%;text-align:center}}


/* V31: homepage service summaries and clearer contact path */
.kent-home-intro{max-width:900px;margin:12px auto 0;line-height:1.75;color:#334b5c;text-align:center}
.latestthree .text p{margin:10px 0 0;line-height:1.65;font-size:14px;color:#405566}
.kent-home-contact{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;max-width:1120px;margin:36px auto 28px;padding:24px;border:1px solid #d6e2eb;border-radius:8px;background:#f4f8fb}
.kent-home-contact>div:first-child{flex:1 1 360px}
.kent-home-contact h2{margin:0 0 8px;font-size:24px;line-height:1.35;color:#17364b}
.kent-home-contact p{margin:0;line-height:1.65;color:#334b5c}
.kent-home-contact-actions{display:flex;gap:10px;flex-wrap:wrap}
.kent-home-contact-actions a{display:inline-block;padding:12px 16px;border-radius:5px;background:#1d5e91;color:#fff!important;text-decoration:none;font-weight:700}
.kent-home-contact-actions a.kent-home-call{background:#fff;color:#1d5e91!important;border:1px solid #1d5e91}
.kent-home-contact-actions a:focus-visible{outline:3px solid #e5a229;outline-offset:3px}
@media(max-width:600px){.kent-home-contact{margin:24px 12px;padding:18px}.kent-home-contact h2{font-size:21px}.kent-home-contact-actions{width:100%}.kent-home-contact-actions a{flex:1 1 100%;text-align:center}}


/* V32: Friendly landing content for legacy/template URLs */
.kk-legacy-notice { max-width: 1120px; margin: 0 auto 48px; }
.kk-legacy-notice .boxes-padding { padding-top: 28px; padding-bottom: 32px; }
.kk-legacy-notice h2 { margin: 0 0 14px; }
.kk-legacy-notice p { max-width: 760px; line-height: 1.8; }
.kk-legacy-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.kk-legacy-links a { display: inline-flex; align-items: center; justify-content: center; padding: 11px 16px; border: 1px solid #d7dfe6; border-radius: 6px; text-decoration: none; font-weight: 600; }
.kk-legacy-links a:hover, .kk-legacy-links a:focus-visible { text-decoration: underline; outline-offset: 3px; }
@media (max-width: 600px) { .kk-legacy-links { flex-direction: column; } .kk-legacy-links a { width: 100%; box-sizing: border-box; } }

/* V34: contact form privacy notice acknowledgement */
.kent-privacy-ack{margin:12px 0 18px;padding:12px 14px;border:1px solid #d6e2eb;border-radius:6px;background:#f7fafc;line-height:1.6}
.kent-privacy-ack label{display:flex;align-items:flex-start;gap:9px;font-weight:500}
.kent-privacy-ack input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0}
.kent-privacy-ack a{font-weight:700}
.kent-privacy-ack [aria-invalid="true"]{outline:2px solid #b42318}


/* V44: keyboard-operated dropdowns and reduced-motion-friendly navigation */
#navi li:focus-within > ul { display:block; }
#navi a:focus-visible { outline:3px solid #e5a229; outline-offset:2px; position:relative; z-index:2; }
@media (prefers-reduced-motion: reduce) { .nivoSlider img, .nivo-controlNav, .nivo-directionNav { animation:none !important; transition:none !important; } }


/* V45: kolay erişilebilir, kullanıcı tıklamasıyla açılan hızlı iletişim bağlantıları */
.kent-floating-contact{position:fixed;right:14px;bottom:18px;z-index:99990;display:flex;flex-direction:column;gap:9px;align-items:stretch;font:700 14px/1.2 Arial,sans-serif}
.kent-floating-contact a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:118px;box-sizing:border-box;padding:12px 15px;border:2px solid #174d70;border-radius:8px;background:#174d70;color:#fff!important;text-decoration:none;box-shadow:0 3px 12px rgba(0,0,0,.18)}
.kent-floating-contact .kent-float-whatsapp{background:#fff;color:#174d70!important}
.kent-floating-contact a:hover{text-decoration:underline}
.kent-floating-contact a:focus-visible{outline:3px solid #e6a700;outline-offset:3px}
@media(max-width:600px){.kent-floating-contact{right:9px;bottom:10px;left:9px;flex-direction:row;gap:8px}.kent-floating-contact a{flex:1;min-width:0;min-height:48px;padding:11px 8px}}
@media(prefers-reduced-motion:reduce){.kent-floating-contact a{transition:none!important}}

/* V63: çerez tercihi açıkken hızlı iletişim bağlantıları çerez panelinin altında kalmasın. */
body.kent-cookie-banner-open .kent-floating-contact{top:12px;right:12px;bottom:auto;left:auto;z-index:1000000}
@media(max-width:600px){body.kent-cookie-banner-open .kent-floating-contact{top:8px;right:8px;left:8px;bottom:auto;flex-direction:row;gap:8px}body.kent-cookie-banner-open .kent-floating-contact a{flex:1;min-width:0;min-height:44px;padding:9px 6px}}



/* V48: service discovery, about/activity CTAs and standards clarity */
.kent-standard-note{margin:18px 0;padding:12px 15px;border-left:4px solid #607d8b;background:#f5f8fa;color:#334b5c;line-height:1.7}
.kent-activities-directory,.kent-about-contact{box-sizing:border-box;max-width:1120px;margin:26px auto;padding:22px;border:1px solid #d8e2ec;border-radius:8px;background:#f7fafc;line-height:1.7}
.kent-activities-directory h2,.kent-about-contact h2{margin:0 0 10px;color:#17364b;line-height:1.35}
.kent-activities-directory ul{columns:2;column-gap:32px;padding-left:22px}
.kent-activities-directory li{break-inside:avoid;margin:0 0 8px}
.kent-activities-directory a,.kent-about-contact a{font-weight:700}
.kent-activities-cta{display:inline-block;padding:11px 16px;border-radius:5px;background:#1d5e91;color:#fff!important;text-decoration:none}
.kent-activities-cta:focus-visible,.kent-activities-directory a:focus-visible,.kent-about-contact a:focus-visible{outline:3px solid #e5a229;outline-offset:3px}
@media(max-width:600px){.kent-activities-directory,.kent-about-contact{margin:20px 12px;padding:16px}.kent-activities-directory ul{columns:1}}

/* V49: reserve room so fixed contact controls do not cover page content on phones */
@media(max-width:600px){body.kent-has-floating-contact{padding-bottom:78px}}

/* V88: explicit logo aspect-ratio protection for legacy page templates. */
#logo img { height: auto !important; object-fit: contain; aspect-ratio: 219 / 125; }


/* V92: mobile navigation touch targets and wrapping */
@media (max-width: 800px) {
  #navi > ul { display:flex; flex-wrap:wrap; align-items:stretch; gap:2px; margin:0; padding:0 8px; }
  #navi > ul > li { float:none; min-width:0; max-width:100%; }
  #navi > ul > li > a { display:flex; align-items:center; min-height:44px; padding:8px 10px; box-sizing:border-box; }
  #navi ul ul a { display:flex; align-items:center; min-height:44px; padding:10px 12px; box-sizing:border-box; }
  #navi a { overflow-wrap:anywhere; }
}
@media (max-width: 420px) {
  #navi > ul { display:block; padding:0 10px; }
  #navi > ul > li, #navi > ul > li > a { width:100%; }
}


/* V149: sosyal medya bağlantıları eklendiğinde platforma uygun, canlı ve erişilebilir butonlar */
.social a[href*="facebook.com"], .socialfooter a[href*="facebook.com"] { background:#1877F2; color:#fff !important; }
.social a[href*="instagram.com"], .socialfooter a[href*="instagram.com"] { background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); color:#fff !important; }
.social a[href*="linkedin.com"], .socialfooter a[href*="linkedin.com"] { background:#0A66C2; color:#fff !important; }
.social a[href*="youtube.com"], .socialfooter a[href*="youtube.com"] { background:#FF0033; color:#fff !important; }
.social a[href*="x.com"], .socialfooter a[href*="x.com"], .social a[href*="twitter.com"], .socialfooter a[href*="twitter.com"] { background:#111; color:#fff !important; }
.social a, .socialfooter a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:7px 12px; border-radius:8px; font-weight:700; text-decoration:none; box-sizing:border-box; transition:filter .18s ease, transform .18s ease; }
.social a:hover, .socialfooter a:hover { filter:brightness(.9); transform:translateY(-1px); }
.social a:focus-visible, .socialfooter a:focus-visible { outline:3px solid #17364b; outline-offset:3px; }
@media (prefers-reduced-motion: reduce) { .social a, .socialfooter a { transition:none; } }


/* V182: requested visual emphasis and consistent Turkish headings */
.kent-home-intro, .kent-home-contact h2, .kent-about-contact h2 { color: #243f52; font-weight: 700; }
.kent-home-contact h2, .kent-about-contact h2 { letter-spacing: .01em; }
.kent-activities-directory h2, #kent-activities-heading { color: #a84d08 !important; font-weight: 800; }
#main h1, #main h2, #main h3, .widgettitle h4, .contacttitle h2 { font-weight: 700; }
#main h1, #main .contacttitle h2 { color: #a84d08; }
#main .widgettitle h4 { color: #176b91; font-weight: 800; }
.kent-activities-directory li a { color: #155f88; font-weight: 600; }
.kent-activities-directory li a:hover, .kent-activities-directory li a:focus { color: #b45309; }

/* V182 follow-up: darker body copy and more vivid section titles */
#main p, #main li { color: #34495a; }
#main h2, #main h3 { color: #176b91; }
#main h1 { color: #a84d08; }
.kent-home-contact h2, .kent-about-contact h2 { color: #243f52 !important; }

/* V183: robust logo visibility fix across desktop/tablet/mobile */
#header, #header_small, #logo { overflow: visible !important; }
#header_small { height: auto !important; min-height: 125px; max-height: none !important; box-sizing: border-box; }
#logo { height: auto !important; min-height: 0 !important; max-height: none !important; line-height: normal !important; box-sizing: border-box; }
#logo a, #logo a:link, #logo a:visited, #logo a:hover { display: inline-block !important; height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 !important; border: 0 !important; line-height: 0 !important; overflow: visible !important; background: transparent !important; box-sizing: border-box; }
#logo img { display: block !important; width: 190px !important; height: auto !important; min-height: 0 !important; max-height: none !important; max-width: min(100%, 219px) !important; aspect-ratio: 219 / 125; object-fit: contain !important; object-position: center; }
@media (max-width: 800px) { #header_small { min-height: 0; margin-top: 8px !important; } #logo { float: none !important; width: auto !important; max-width: calc(100% - 24px) !important; margin: 12px auto !important; text-align: center !important; } #logo img { width: min(190px, 72vw) !important; margin: 0 auto !important; } }


/* V184: final shared-template logo sizing and clipping safeguard */
#header, #header_small, #header_small #logo, #header #logo { height:auto !important; min-height:0 !important; max-height:none !important; overflow:visible !important; box-sizing:border-box !important; }
#header_small { min-height:0 !important; }
#logo { width:auto !important; max-width:100% !important; line-height:normal !important; }
#logo a, #logo a:link, #logo a:visited, #logo a:hover, #logo a:focus { display:inline-block !important; width:auto !important; height:auto !important; max-width:100% !important; padding:0 !important; margin:0 !important; overflow:visible !important; line-height:0 !important; border:0 !important; background:transparent !important; box-sizing:border-box !important; }
#logo img { display:block !important; width:219px !important; height:auto !important; min-height:0 !important; max-height:none !important; max-width:min(100%, 219px) !important; aspect-ratio:219 / 125 !important; object-fit:contain !important; object-position:center !important; }
@media (max-width:800px) { #header, #header_small { min-height:0 !important; height:auto !important; } #logo { float:none !important; width:auto !important; max-width:calc(100% - 24px) !important; margin:12px auto !important; text-align:center !important; } #logo img { width:min(219px, 72vw) !important; margin:0 auto !important; } }

/* V187: okunabilirlik, başlık hiyerarşisi ve klavye odağı iyileştirmeleri */
#main h1, #main h2, #main h3,
#main .widgettitle h4, #main .contacttitle h2 {
  line-height: 1.4;
  text-wrap: balance;
}
#main p, #main li, #main .entry-content {
  line-height: 1.75;
}
#main h1 { color: #8b3e06; }
#main h2 { color: #155a78; }
#main h3 { color: #23495c; }
#main a:focus-visible, #header a:focus-visible, #header_small a:focus-visible,
#footer a:focus-visible, .kent-home-contact a:focus-visible {
  outline: 3px solid #e28b25;
  outline-offset: 3px;
  border-radius: 3px;
}
@media (max-width: 600px) {
  #main h1 { font-size: clamp(25px, 6vw, 32px); }
  #main h2 { font-size: clamp(21px, 5vw, 27px); }
  #main p, #main li { line-height: 1.7; }
}


/* V199: logo yüksekliğinin eski sabit header kuralıyla kesişmesini önle */
#logo {
  height: auto !important;
  min-height: 0;
  max-width: 100%;
  line-height: 0;
}
#logo a {
  box-sizing: border-box;
  height: auto;
  line-height: normal;
  padding: 6px 10px;
}
#logo img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  #logo img { width: min(180px, 100%); }
  #logo a { padding: 4px 6px; }
}


/* V207: Son katman logo görünürlük ve taşma koruması (masaüstü/tablet/mobil).
   Görselin doğal oranını korur; eski sabit yükseklik ve kırpma kurallarını geçersiz kılar. */
#header, #header_small, #header_small #logo, #header #logo {
  height: auto !important; min-height: 0 !important; max-height: none !important;
  overflow: visible !important; box-sizing: border-box !important;
}
#header_small { display: flow-root; width: 100%; }
#header_small #logo, #header #logo {
  float: left; width: auto !important; max-width: calc(100% - 24px) !important;
  margin: 12px 0 16px !important; padding: 0 !important; line-height: 0 !important;
}
#header_small #logo > a, #header #logo > a,
#header_small #logo > a:link, #header_small #logo > a:visited,
#header #logo > a:link, #header #logo > a:visited {
  display: inline-block !important; width: auto !important; height: auto !important;
  max-width: 100% !important; max-height: none !important; min-height: 0 !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important;
  background: transparent !important; line-height: 0 !important; overflow: visible !important;
  box-sizing: border-box !important;
}
#header_small #logo img, #header #logo img {
  display: block !important; width: 219px !important; height: auto !important;
  min-width: 0 !important; min-height: 0 !important; max-width: min(100%, 219px) !important;
  max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important;
  object-position: center !important; margin: 0 !important; padding: 0 !important;
  vertical-align: middle !important; box-sizing: border-box !important;
}
@media (max-width: 800px) {
  #header, #header_small { height: auto !important; overflow: visible !important; }
  #header_small { display: flow-root; margin-top: 8px !important; }
  #header_small #logo, #header #logo {
    float: none !important; display: block !important; width: auto !important;
    max-width: calc(100% - 24px) !important; margin: 12px auto 16px !important;
    text-align: center !important;
  }
  #header_small #logo img, #header #logo img {
    width: min(219px, 72vw) !important; max-width: 100% !important; margin: 0 auto !important;
  }
}


/* V214: updated Kent Kurumsal logo asset, crisp navy/silver rectangular treatment */
#logo { height: auto !important; overflow: visible !important; }
#logo a { display: inline-block; padding: 0 !important; border: 0 !important; background: transparent !important; line-height: 0; }
#logo img { display: block; width: 210px; max-width: 100%; height: auto !important; aspect-ratio: 1386 / 711; object-fit: contain; }
@media (max-width: 767px) { #logo img { width: 175px; max-width: calc(100vw - 40px); } }


/* V227: onaylanan koyu logo yalnızca ana sayfada; koyu zeminle bütünleşir. */
body.home #header, body.home #header_small, body.home #header #logo, body.home #header_small #logo { background-color: #07172d !important; }
body.home #logo img { width: 300px; max-width: min(42vw, 300px); height: auto !important; aspect-ratio: 3 / 2; object-fit: contain; }
@media (max-width: 767px) { body.home #logo img { width: min(260px, 78vw); max-width: 78vw; } }
/* V227: interior pages keep the light logo with natural proportions; prevent clipping. */
body:not(.home) #logo img { width: 219px; max-width: min(72vw, 219px); height: auto !important; aspect-ratio: 2 / 1; object-fit: contain; }
