:root {
  --accent: #2C3E50;
  --accent-hover: #3498db;
  --text: #222;
  --muted: #666;
  --bg: #fff;
  --footer: #111827;
  --surface: #f5f7fa;
  --border: #e5e7eb;
  --font-body: "Open Sans", sans-serif;
  --font-heading: "Raleway", sans-serif;
  --site-container-width: 1100px;
  --site-container-narrow: 1100px;
  --site-menu-font-size: 16px;
  --site-menu-font-weight: 500;
  --site-menu-font-family: "Open Sans", sans-serif;
  --site-header-side-padding: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.container {
  width: var(--site-container-width);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
.container.narrow {
  width: var(--site-container-narrow);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
#main { overflow: hidden; }

/* Header — canlı: full-width + 30px yan padding, içerik container ayrı */
.site-header {
  background: #fff;
  border-bottom: 3px solid #eee;
  position: relative;
  top: 0;
  z-index: 100;
  padding: 0 var(--site-header-side-padding);
  width: 100%;
  box-sizing: border-box;
}
.site-header-spacer {
  display: none;
  width: 100%;
  pointer-events: none;
}
.site-header-spacer.is-active {
  display: block;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  min-height: 130px;
  gap: 24px;
  padding: 15px 0;
  flex-wrap: nowrap;
  box-sizing: border-box;
}
.logo { flex: 0 0 auto; }
.logo img {
  max-height: 90px;
  width: auto;
  transition: max-height .18s ease;
}
/* Compact sticky: fixed + spacer (height change must not fight scrollY) */
.site-header.is-sticky {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.site-header.is-sticky .header-inner {
  min-height: 70px;
  max-height: 70px;
  height: 70px;
  padding: 8px 0;
}
.site-header.is-sticky .logo img {
  max-height: 52px;
}
/* Header düzeni (Canlı editör › Üst bilgi › Header düzeni) */
.site-header.is-layout-contained .header-inner,
.site-header.is-layout-boxed .header-inner {
  max-width: var(--hdr-box, var(--site-container-width, 1100px));
  margin-left: auto;
  margin-right: auto;
}
.site-header.is-layout-boxed {
  max-width: calc(var(--hdr-box, var(--site-container-width, 1100px)) + 2 * var(--site-header-side-padding, 30px));
  margin-left: auto;
  margin-right: auto;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}
/* Yapışkan (fixed) modda da kutu ortada kalsın: left/right 0 + auto margin */
.site-header.is-layout-boxed.is-sticky { left: 0; right: 0; }
@media (max-width: 959px) {
  .site-header.is-layout-boxed { border-left: 0; border-right: 0; }
}
.main-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.main-nav > ul > li {
  list-style: none;
  margin: 0 10px 0 0;
  position: relative;
}
.main-nav > ul > li:last-child { margin-right: 0; }
.main-nav a {
  display: block;
  padding: 0 4px;
  color: #000;
  font-family: var(--site-menu-font-family);
  font-weight: var(--site-menu-font-weight);
  font-size: var(--site-menu-font-size);
  white-space: nowrap;
  text-decoration: none !important;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a .link-inner {
  display: inline-block;
  padding: 10px 2px;
  font-family: var(--site-menu-font-family) !important;
  font-size: var(--site-menu-font-size) !important;
  font-weight: var(--site-menu-font-weight) !important;
  color: inherit;
  line-height: 1.3;
}
.main-nav > ul > li:hover > a,
.main-nav > ul > li:focus-within > a {
  color: #2ea3f2;
}
.main-nav .has-children { position: relative; }
.main-nav .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  min-width: 180px;
  box-shadow: none;
  flex-direction: column;
  z-index: 30;
  text-align: left;
  white-space: normal;
}
.main-nav .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav .sub-menu a {
  text-align: left;
  padding: 8px 12px;
  font-family: var(--site-menu-font-family);
  font-size: var(--site-menu-font-size);
  font-weight: var(--site-menu-font-weight);
  color: #000;
  white-space: nowrap;
  background: transparent;
}
.main-nav .sub-menu a .link-inner {
  padding: 0;
  font-size: var(--site-menu-font-size) !important;
}
.main-nav .sub-menu a:hover,
.main-nav .sub-menu a:focus {
  background: #f7f7f7;
  color: #616161;
}
@media (min-width: 960px) {
  .main-nav:not([data-trigger="click"]) .has-children:hover > .sub-menu,
  .main-nav:not([data-trigger="click"]) .has-children:focus-within > .sub-menu,
  .main-nav .has-children.is-open > .sub-menu { display: flex; }
}
.main-nav .is-button { flex: 0 0 auto; margin-right: 0; }
.main-nav .is-button > a {
  background: transparent;
  color: #fff !important;
  border-radius: 0;
  padding: 0;
  margin-left: 0;
}
.main-nav .is-button > a .link-inner {
  display: inline-block;
  background: #2C3E50 !important;
  color: #fff !important;
  border-radius: 3px;
  width: 100px;
  text-align: center;
  padding: 10px 2px;
  font-size: var(--site-menu-font-size) !important;
  font-weight: 400 !important;
}
.main-nav .is-button:hover > a { color: #fff !important; }
.main-nav .is-button:hover > a .link-inner { background: #3498db !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 32px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 3px; background: var(--accent); border-radius: 2px; }

/* Banner map — Image Map Pro artboard 1920×850, scale with viewport width */
.banner-map {
  background: #1a1a1a;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.banner-map[data-device="tablet"],
.banner-map[data-device="phone"] { display: none; }
.banner-map-inner {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  aspect-ratio: 1920 / 850;
  max-height: min(850px, 48vw);
  overflow: hidden;
}
.banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: clamp(108px, 10.5vw, 158px);
  transform: translate(-50%, -50%);
  color: #fff;
  z-index: 2;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
}
.hotspot-icon {
  display: block;
  width: 68%;
  max-width: 100px;
  flex: 0 0 auto;
  margin: 0 auto;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
  transform-origin: center center;
  will-change: transform;
}
.hotspot-icon img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.45));
  pointer-events: none;
}
.hotspot:hover .hotspot-icon,
.hotspot:focus-visible .hotspot-icon,
.hotspot.is-active .hotspot-icon,
.banner-map a.hotspot:hover > .hotspot-icon,
.banner-map a.hotspot.is-active > .hotspot-icon {
  transform: scale(1.38) !important;
}
.hotspot:hover .hotspot-icon img,
.hotspot.is-active .hotspot-icon img {
  transform: scale(1.01); /* force composite layer */
}
.hotspot-label {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0;
  padding: 0;
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.95);
  color: #fff;
  pointer-events: none;
  white-space: normal;
}
.hotspot .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #e74c3c; display: inline-block;
  box-shadow: 0 0 0 6px rgba(231,76,60,.25);
}
.hotspot-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: min(420px, 70vw);
  min-height: 300px;
  background: #000;
  padding: 6px;
  z-index: 40;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  line-height: 0;
  pointer-events: none;
}
.hotspot:hover,
.hotspot.is-active { z-index: 50; }
.hotspot:hover .hotspot-tooltip,
.hotspot.is-active .hotspot-tooltip { display: block; }
.hotspot-tooltip img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
}

/* Clients */
.clients-carousel {
  background: #2C3E50;
  padding: 36px 0 28px;
  overflow: hidden;
}
.clients-track-wrap { width: min(1140px, 94vw); margin: 0 auto; overflow: hidden; }
.logo-track { display: flex; gap: 16px; animation: scroll-x 45s linear infinite; width: max-content; }
.logo-slide {
  flex: 0 0 auto;
  width: 140px;
  background: #fff;
  border-radius: 4px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.logo-slide img { width: 100%; height: 52px; object-fit: contain; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections / titles */
.section { padding: 52px 0; }
.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  text-align: center;
  color: var(--accent);
  margin: 0 0 8px;
  font-weight: 600;
}
.divider {
  width: 50px; height: 0; border-bottom: 2px solid #999;
  margin: 16px auto 28px;
}
.home-grid.cols-4 > .col { width: 25%; }
.home-grid.cols-3 > .col { width: 33.3333%; }
.home-grid .portfolio-entry-inner,
.home-grid .vcex-blog-entry-inner {
  border: 1px solid var(--border);
  background: #fff;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.home-grid .portfolio-entry-inner:hover,
.home-grid .vcex-blog-entry-inner:hover {
  box-shadow: 0 10px 28px rgba(44,62,80,.12);
  transform: translateY(-2px);
}
.home-grid .portfolio-entry-details,
.home-grid .vcex-blog-entry-details { padding: 14px; }
.home-grid .meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }

.cta-info {
  background: #2C3E50;
  color: #fff;
  padding: 60px 0 100px;
}
.cta-info h2 {
  text-align: center;
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  width: var(--site-container-width); max-width: calc(100% - 40px);
  margin: 0 auto;
}
.info-col { display: flex; flex-direction: column; gap: 0; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  padding: 0 0 20px;
}
.info-col .info-item:last-child { padding-bottom: 0; }
.info-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #fff;
  line-height: 0;
  margin-top: 2px;
}
.info-ico svg { display: block; width: 34px; height: 34px; }
.info-text { flex: 1 1 auto; min-width: 0; }
.info-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  font-family: var(--font-body);
  line-height: 1.35;
}
.info-grid p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.65;
}

.phone-cta { background: #2C3E50; padding: 60px 0 60px; }
.phone-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: var(--site-container-width); max-width: calc(100% - 40px);
  margin: 0 auto;
}
.phone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 40px 20px 48px;
  background: #34495e;
  color: #fff !important;
  text-align: center;
  transition: background .2s;
  text-decoration: none !important;
  box-sizing: border-box;
}
.phone-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 52px;
  height: 52px;
  margin: 0 0 20px;
  overflow: visible;
}
.phone-ico svg {
  display: block;
  width: 46px;
  height: 52px;
  margin: 0 auto;
  overflow: visible;
}
.phone-box.wa .phone-ico svg { color: #00c403; }
.phone-box.gsm .phone-ico svg {
  width: 40px;
  height: 52px;
}
.phone-box strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #fff;
  line-height: 1.2;
  margin: 0 0 10px;
}
.phone-box > span:not(.phone-ico) {
  display: block;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  opacity: 1;
  margin: 0;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}
.phone-box:hover { background: #3498db; }

.freze-section { background: #fff; }
.lead { text-align: center; font-size: 1.05rem; color: #333; }
.video-thumb { display: block; max-width: 800px; margin: 24px auto 0; }
.video-thumb img { width: 100%; border-radius: 2px; }

.breadcrumbs-only { margin-left: auto; }
.content-wrap { padding-bottom: 40px; }
.content-wrap.has-native-header { padding-top: 0; }
.single-content,
.single-page-content,
.content-wrap > .single-content {
  width: var(--site-container-width);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
.single-content .container,
.single-content .content-area,
.single-content .site-content,
.single-content .single-page-article,
.single-content .single-page-content,
.single-content .wpb_text_column,
.single-content .entry-content,
.single-content .wpb-content-wrapper {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.single-content h2, .single-content h3 { font-family: var(--font-heading); color: var(--accent); }
/* Ensure portfolio grids inside migrated pages stretch correctly */
.single-content .wpex-row,
.single-content .vcex-portfolio-grid,
.single-content .vcex-blog-grid {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  background: #222;
  color: #cbd5e1;
  padding: 22px 0;
  margin-top: 0;
  font-size: .9rem;
}
.footer-inner {
  width: var(--site-container-width); max-width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a { color: #e2e8f0; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #e5e7eb; color: #334155; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: .2s; z-index: 50;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

/* Home blog — Total-like cards */
.blog-section .theme-heading {
  text-align: center;
  border-bottom: 0;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.blog-section .theme-heading + .wpex-row,
.blog-section .home-grid { margin-top: 28px; }
.blog-section .vcex-blog-entry-img {
  aspect-ratio: 1080 / 500;
  object-fit: cover;
}
.blog-section .vcex-blog-entry-title { font-size: 1.05rem; }
.blog-section .theme-button { margin-top: 12px; }

/* Flipbook */
.flipbook-wrap { width: min(1200px, 96vw); margin: 0 auto 48px; }
.flipbook-stage {
  position: relative;
  background: #1a1a1a;
  padding: 24px 48px;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flipbook-spread {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 980px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.flipbook-page { flex: 1 1 50%; background: #111; min-height: 420px; }
.flipbook-page img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; min-height: 420px; }
.flipbook-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #222; font-size: 28px; cursor: pointer; z-index: 2;
}
.flipbook-nav.prev { left: 10px; }
.flipbook-nav.next { right: 10px; }
.flipbook-meta { margin-top: 16px; text-align: center; }
.flipbook-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 4px; justify-content: flex-start;
}
.flipbook-thumbs button {
  flex: 0 0 auto; width: 64px; padding: 0; border: 2px solid transparent; background: #eee; cursor: pointer;
}
.flipbook-thumbs button.is-active { border-color: var(--accent); }
.flipbook-thumbs img { width: 100%; height: 80px; object-fit: cover; display: block; }

@media (max-width: 959px) {
  .home-grid.cols-4 > .col,
  .home-grid.cols-3 > .col { width: 50%; }
  .site-header { padding: 0 16px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; min-height: 72px; padding: 12px 0; }
  .logo img { max-height: 64px; }
  .main-nav > ul { flex-direction: column; align-items: stretch; flex-wrap: wrap; white-space: normal; }
  .main-nav > ul > li { margin: 0; }
  .main-nav .sub-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    list-style: none;
  }
  .main-nav .has-children.open > .sub-menu { display: flex; }
  .banner-map[data-device="web"] { display: none; }
  .banner-map[data-device="tablet"] { display: block; }
  .banner-map[data-device="phone"] { display: none; }
  .banner-map-inner { max-height: min(520px, 56vw); }
  .hotspot-label { font-size: clamp(9px, 2.2vw, 12px); max-width: 140%; }
  .flipbook-page.right { display: none; }
  .flipbook-page { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .home-grid.cols-4 > .col,
  .home-grid.cols-3 > .col,
  .info-grid { grid-template-columns: 1fr; gap: 0; }
  .phone-cta-grid { grid-template-columns: 1fr; gap: 16px; width: 100%; }
  .home-grid.cols-4 > .col,
  .home-grid.cols-3 > .col { width: 100%; }
  .phone-box strong { font-size: 20px; }
  .phone-box > span:not(.phone-ico) { font-size: 16px; }
  .banner-map[data-device="web"],
  .banner-map[data-device="tablet"] { display: none; }
  .banner-map[data-device="phone"] { display: block; }
  .banner-map-inner { max-height: min(360px, 58vw); }
  .hotspot-icon { width: clamp(42px, 11vw, 64px); }
  .hotspot-label { font-size: 9px; margin-top: 4px; }
  .content-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-posts-grid,
  .related-posts .wpex-row,
  .related-posts { grid-template-columns: 1fr; }
  .site-header.is-sticky .header-inner {
    max-height: 64px;
    min-height: 64px;
    height: 64px;
  }
}

/* Content gallery grid + lightbox */
.content-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  align-items: start;
}
.content-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f3f3;
  line-height: 0;
}
.content-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  transition: transform .25s ease;
}
.content-gallery-item:hover img { transform: scale(1.03); }

.ybz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,.88);
  display: grid;
  place-items: center;
  padding: 40px 60px;
}
.ybz-lightbox[hidden] { display: none !important; }
body.lightbox-open { overflow: hidden; }
.ybz-lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.ybz-lightbox-close,
.ybz-lightbox-prev,
.ybz-lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.ybz-lightbox-close { top: 18px; right: 18px; }
.ybz-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ybz-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.ybz-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

/* Hizmet / proje content slider */
.content-slider {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 0 28px;
  background: #e9ecef;
  /* En-boy oranı: JS ilk görselin gerçek oranını (4:3 – 21:9 arası) yazar; yoksa 16:9 */
  aspect-ratio: var(--slider-ratio, 16 / 9);
  max-height: 640px;
  width: 100%;
}
.content-slider-track {
  display: flex;
  height: 100%;
  transition: transform .45s ease;
  will-change: transform;
}
.content-slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}
.content-slider-slide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: var(--focus, center center);
  display: block;
}
@media (max-width: 767px) {
  .content-slider { aspect-ratio: var(--slider-ratio-m, var(--slider-ratio, 16 / 9)); }
}
.content-slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  padding: 0 10px;
}
.content-slider-nav button {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  font-size: 26px;
  cursor: pointer;
}
.content-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.content-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}
.content-slider-dots button.is-active { background: #fff; }

/* Related posts equal cards */
.related-posts { margin: 36px 0 10px; }
.related-posts-title { margin: 0 0 18px; }
.related-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.related-posts .related-post,
.related-posts article {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.related-post-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.related-post-figure {
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2 / 1;
  background: #eee;
}
.related-post-figure img,
.related-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.related-post-title {
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
}
.related-post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.related-post-excerpt p { margin: 0; }

/* Hide leftover WP chrome if any survives sanitize */
.single-content .meta,
.single-content .wpex-social-share,
.single-content .social-share-title,
.single-content .author-bio,
.single-content .post-pagination-wrap,
.single-content .post-pagination {
  display: none !important;
}

.single-body { margin-top: 8px; }
.blog-single-media { margin-bottom: 20px; }
.blog-single-media-img { width: 100%; height: auto; display: block; border-radius: 8px; }
.page-feature-media {
  margin: 0 0 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f7f9fb;
}
.page-feature-media img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* Hakkımızda — orijinal gibi: sola yaslı görsel, yazı sağdan akar ve altına iner */
.about-body {
  overflow: visible;
  text-align: left;
}
.about-body .about-float-media {
  float: left;
  width: 323px;
  max-width: 38%;
  margin: 4px 22px 14px 0;
  padding: 0;
  background: transparent;
  border: 0;
  shape-outside: margin-box;
}
.about-body .about-float-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.about-body .about-float-media figcaption {
  margin-top: 8px;
  font-size: .85rem;
  color: #666;
  text-align: center;
  line-height: 1.4;
}
.about-body .about-company {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #878787;
  line-height: 1.4;
}
.about-body p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
}
.about-body::after {
  content: "";
  display: table;
  clear: both;
}
@media (max-width: 720px) {
  .about-body .about-float-media {
    float: none;
    display: block;
    width: min(300px, 78%);
    max-width: 300px;
    margin: 0 auto 18px;
  }
}

/* —— İnsan Kaynakları / careers —— */
.careers-page { padding-bottom: 48px; }
.careers-shell { padding-top: 8px; }
.careers-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: start;
}
.careers-aside {
  position: sticky;
  top: 96px;
  background: linear-gradient(165deg, #1f2a36 0%, #2C3E50 58%, #31485c 100%);
  color: #eef3f8;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 14px 36px rgba(24, 39, 55, .18);
}
.careers-kicker {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8ec8ef;
  font-weight: 700;
}
.single-content .careers-aside-title {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.25;
  font-weight: 700;
  color: #fff !important;
}
.careers-aside .careers-intro,
.careers-aside .careers-intro p {
  color: rgba(238, 243, 248, .9);
  font-size: .95rem;
  line-height: 1.7;
}
.careers-intro p { margin: 0 0 12px; }
.careers-intro p:last-child { margin-bottom: 0; }
.careers-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.careers-points li {
  position: relative;
  padding-left: 18px;
  font-size: .9rem;
  color: #d7e6f3;
}
.careers-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3498db;
}
.careers-form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px 22px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.careers-form-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f3;
}
.careers-form-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--accent);
}
.careers-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.careers-section { margin: 0 0 22px; }
.careers-section-title {
  margin: 0 0 12px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8794;
  font-weight: 700;
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.careers-field-span { grid-column: 1 / -1; }
.careers-field label {
  display: block;
  margin: 0 0 6px;
  font-size: .86rem;
  font-weight: 600;
  color: #2C3E50;
}
.careers-field label span { color: #c0392b; }
.careers-field input,
.careers-field select {
  width: 100%;
  border: 1px solid #d5dbe3;
  background: #fbfcfd;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.careers-field input:focus,
.careers-field select:focus {
  outline: 0;
  border-color: #3498db;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, .15);
}
.careers-date-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.careers-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 6px;
}
.careers-actions .hc-box { margin-right: auto; }
.contact-form .hc-box { align-self: flex-start; }

/* ---- İnsan doğrulaması kutusu (HumanCheck) ---- */
.hc-box {
  display: inline-grid; grid-template-columns: auto 1fr; grid-template-areas: "btn brand" "status status";
  align-items: center; gap: 6px 16px; min-width: 280px; max-width: 100%; padding: 12px 14px;
  background: #fff; border: 1px solid #d9dee5; border-radius: 6px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
  font-family: var(--font-body); line-height: 1.3; box-sizing: border-box;
}
.hc-check {
  grid-area: btn; display: inline-flex; align-items: center; gap: 12px; padding: 0; margin: 0;
  background: none; border: 0; cursor: pointer; color: #1f2937; font: 600 14px/1.3 var(--font-body); text-align: left;
}
.hc-tick {
  position: relative; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 4px;
  border: 2px solid #9aa5b1; background: #fff; transition: border-color .15s, background-color .15s;
}
.hc-check:hover .hc-tick { border-color: #3498db; }
.hc-check:focus-visible { outline: none; }
.hc-check:focus-visible .hc-tick { box-shadow: 0 0 0 3px rgba(52, 152, 219, .35); }
.hc-box.is-busy .hc-tick { border-color: #3498db; border-right-color: transparent; border-radius: 50%; animation: hc-spin .7s linear infinite; }
.hc-box.is-done .hc-tick { border-color: #2f9e44; background: #2f9e44; }
.hc-box.is-done .hc-tick::after {
  content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.hc-box.is-done .hc-check { cursor: default; }
.hc-box.is-error { border-color: #e03131; box-shadow: 0 0 0 3px rgba(224, 49, 49, .12); }
.hc-box.is-error .hc-tick { border-color: #e03131; }
.hc-brand { grid-area: brand; justify-self: end; display: inline-flex; align-items: center; gap: 5px; color: #8a94a3; font-size: 11px; white-space: nowrap; }
.hc-status { grid-area: status; font-size: 12.5px; color: #6b7280; }
.hc-status:empty { display: none; }
.hc-box.is-done .hc-status { color: #2f7d3e; }
.hc-box.is-error .hc-status { color: #c92a2a; }
.hc-noscript { grid-column: 1 / -1; font-size: 12.5px; color: #c92a2a; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .hc-box { display: grid; width: 100%; min-width: 0; }
  .careers-actions .hc-box { margin-right: 0; }
}
.careers-submit {
  appearance: none;
  border: 0;
  background: #3498db;
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 8px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.careers-submit:hover { background: #2d86c2; }
.careers-submit:active { transform: translateY(1px); }
.careers-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: .92rem;
}
.careers-alert-ok {
  background: #e8f7ee;
  color: #1f7a43;
  border: 1px solid #b7e2c5;
}
.careers-alert-err {
  background: #fdecec;
  color: #a61e1e;
  border: 1px solid #f0b4b4;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 1px; width: 1px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .careers-layout { grid-template-columns: 1fr; gap: 18px; }
  .careers-aside { position: static; }
}
@media (max-width: 640px) {
  .careers-form-panel { padding: 18px 14px; }
  .careers-grid { grid-template-columns: 1fr; }
  .careers-actions { justify-content: stretch; }
  .careers-submit { width: 100%; }
}

/* —— KVKK / Gizlilik —— */
.privacy-page { padding-bottom: 48px; }
.privacy-shell { padding-top: 8px; }
.privacy-layout {
  display: grid;
  grid-template-columns: minmax(230px, .85fr) minmax(0, 1.45fr);
  gap: 24px;
  align-items: start;
}
.privacy-aside {
  position: sticky;
  top: 96px;
  background: #f4f7fa;
  border: 1px solid #e3e8ee;
  border-radius: 14px;
  padding: 22px 20px;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #2C3E50;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.single-content .privacy-aside-title {
  margin: 14px 0 8px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #2C3E50 !important;
  line-height: 1.3;
}
.privacy-aside-text {
  margin: 0 0 16px;
  color: #5b6773;
  font-size: .9rem;
  line-height: 1.65;
}
.privacy-toc-label {
  margin: 0 0 8px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8794;
  font-weight: 700;
}
.privacy-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.privacy-toc a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7ecf1;
  color: #2C3E50;
  font-size: .82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.privacy-toc a:hover {
  border-color: #3498db;
  background: #f7fbfe;
  color: #1f6fa5;
}
.privacy-meta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}
.privacy-meta div {
  background: #fff;
  border: 1px solid #e7ecf1;
  border-radius: 10px;
  padding: 10px 12px;
}
.privacy-meta span {
  display: block;
  font-size: .72rem;
  color: #7a8794;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 3px;
}
.privacy-meta strong {
  font-size: .9rem;
  color: #2C3E50;
  font-weight: 700;
}
.privacy-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 26px 18px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}
.privacy-panel-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f3;
}
.privacy-kicker {
  margin: 0 0 6px;
  color: #3498db;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.single-content .privacy-panel-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: #2C3E50 !important;
  line-height: 1.35;
}
.privacy-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.privacy-body .kvkk-doc-lead,
.privacy-body .kvkk-intro + .kvkk-section,
.privacy-body h1,
.privacy-body .vcex-heading { display: none; }
.privacy-body .kvkk-intro {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f7f9fb;
  border-left: 3px solid #3498db;
  border-radius: 0 10px 10px 0;
}
.privacy-body .kvkk-intro p {
  margin: 0 0 10px;
  color: #3d4a57;
  font-size: .94rem;
  line-height: 1.75;
}
.privacy-body .kvkk-intro p:last-child { margin-bottom: 0; }
.privacy-body .kvkk-section {
  margin: 0 0 18px;
  padding: 16px 16px 8px;
  border: 1px solid #eef1f4;
  border-radius: 12px;
  background: #fcfdfe;
  scroll-margin-top: 100px;
}
.single-content .privacy-body .kvkk-section h2 {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: #2C3E50 !important;
}
.privacy-body .kvkk-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #2C3E50;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}
.privacy-body .kvkk-section-body p {
  margin: 0 0 10px;
  color: #44515e;
  font-size: .93rem;
  line-height: 1.75;
}
.privacy-body .kvkk-data-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 12px;
  padding: 10px 12px;
  margin: 0 0 8px;
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 8px;
  font-size: .9rem;
  color: #44515e;
}
.privacy-body .kvkk-data-item strong {
  color: #2C3E50;
  font-weight: 700;
}
@media (max-width: 900px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-aside { position: static; }
}
@media (max-width: 640px) {
  .privacy-panel { padding: 18px 14px; }
  .privacy-body .kvkk-data-item { grid-template-columns: 1fr; }
}

/* ================================================================
   Kurumsal Referanslar — otomatik kayan logo şeridi
   (ayarlar: Admin › Referanslar; değişkenler partial içinde)
   ================================================================ */
.ref-strip {
  background: var(--ref-bg, #f7f7f7);
  padding: var(--ref-pad, 40px) 0;
  overflow: hidden;
}
.ref-strip-inner {
  width: var(--site-container-width, 1100px);
  max-width: calc(100% - 40px);
  margin: 0 auto;
}
.ref-strip-head { text-align: center; margin: 0 0 24px; }
.ref-strip-title {
  margin: 0 0 8px;
  font-family: var(--font-heading, Raleway, sans-serif);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 400;
  color: var(--ref-title, #2c3e50);
}
.ref-strip-sub { margin: 0 auto; max-width: 820px; color: #878787; font-size: 1.05rem; line-height: 1.6; }
.ref-strip--home .ref-strip-title { color: #fff; }
.ref-strip--home .ref-strip-sub { color: rgba(255,255,255,.75); }
.ref-stage { position: relative; display: flex; align-items: center; gap: 10px; }
.ref-viewport { position: relative; overflow: hidden; flex: 1 1 auto; min-width: 0; touch-action: pan-y; }
.ref-strip.has-fade .ref-viewport {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ref-track {
  display: flex;
  gap: var(--ref-gap, 16px);
  will-change: transform;
  padding: 6px 0;
}
.ref-strip.is-static .ref-track { justify-content: center; flex-wrap: wrap; }
.ref-item {
  flex: 0 0 calc((100% - (var(--ref-n, 6) - 1) * var(--ref-gap, 16px)) / var(--ref-n, 6));
  min-width: 0;
}
.ref-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--ref-h, 70px) + 2 * var(--ref-card-pad, 10px));
  padding: var(--ref-card-pad, 10px);
  background: var(--ref-card-bg, #fff);
  border-radius: var(--ref-radius, 4px);
  box-sizing: border-box;
  transition: transform .25s ease, box-shadow .25s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.ref-strip.has-shadow .ref-card { box-shadow: 0 2px 10px rgba(0,0,0,.10); }
a.ref-card:hover { transform: translateY(-2px); }
.ref-strip.has-shadow a.ref-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.16); }
.ref-card img {
  display: block;
  max-width: 100%;
  max-height: var(--ref-h, 70px);
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.ref-strip.is-grayscale .ref-card img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.ref-strip.is-grayscale .ref-card:hover img { filter: none; opacity: 1; }
.ref-strip.is-dragging .ref-viewport { cursor: grabbing; }
.ref-arrow {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border: 0; border-radius: 50%;
  background: rgba(44,62,80,.85);
  color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
}
.ref-strip--home .ref-arrow { background: rgba(255,255,255,.9); color: #2c3e50; }
.ref-arrow:hover { background: #3498db; color: #fff; }
.ref-strip.is-static .ref-arrow { display: none; }
@media (max-width: 600px) {
  .ref-arrow { width: 30px; height: 30px; font-size: 20px; }
  .ref-strip-sub { font-size: .95rem; }
}

/* ================================================================
   Anasayfa blokları (Admin › Anasayfa canlı editörü)
   ================================================================ */
.home-block .section-title,
.home-block.cta-info > .container > h2 { color: var(--hb-title, inherit); }
.home-block.section .section-title { color: var(--hb-title, var(--accent)); }
.home-block[style*="--hb-align"] .section-title,
.home-block[style*="--hb-align"] .section-subtitle,
.home-block[style*="--hb-align"] .lead,
.home-block[style*="--hb-align"] .section-more,
.home-block[style*="--hb-align"] > .container > h2 { text-align: var(--hb-align); }
.home-block[style*="--hb-align"] .divider { margin-left: var(--hb-divider-ml, auto); margin-right: auto; }
.home-block[style*="--hb-color"] .portfolio-entry-excerpt,
.home-block[style*="--hb-color"] .lead,
.home-block[style*="--hb-color"] .section-subtitle { color: var(--hb-color); }
.cta-info.home-block[style*="--hb-color"] h3,
.cta-info.home-block[style*="--hb-color"] p,
.cta-info.home-block[style*="--hb-color"] .info-ico { color: var(--hb-color); }
.section-subtitle { max-width: 760px; margin: -12px auto 26px; text-align: center; color: #777; font-size: 1.02rem; line-height: 1.6; }
.section-subtitle.is-empty { display: none; }
.section-more { text-align: center; margin-top: 26px; }
.section-more.is-empty { display: none; }
.section-more .theme-button { padding: 11px 22px; font-size: .92rem; }
.video-thumb { position: relative; }
.video-thumb .video-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: rgba(255,0,0,.88); border-radius: 12px; pointer-events: none; transition: background .2s;
}
.video-thumb .video-play::after {
  content: ""; position: absolute; left: 27px; top: 14px;
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video-thumb:hover .video-play { background: #f00; }
.site-footer[style*="--hb-color"] .copyright,
.site-footer[style*="--hb-color"] a { color: var(--hb-color) !important; }

/* Canlı düzenleme modunda boş alanlar görünür olsun */
body.is-live-edit .section-subtitle.is-empty,
body.is-live-edit .section-more.is-empty { display: block; }
body.is-live-edit [data-live]:empty::before { content: attr(data-placeholder); opacity: .45; font-style: italic; }
body.is-live-edit [data-live-hidden="1"] { opacity: .35; filter: grayscale(.6); }
.live-img-placeholder { display: grid; place-items: center; min-height: 220px; background: #eef2f6; color: #7a8796; border: 2px dashed #c6d0db; }

/* ================================================================
   Uygulama Görselleri liste sayfası (/uygulama-gorselleri/)
   Sütunlar: Admin › Grid Ayarları › gallery_hub
   ================================================================ */
.gallery-archive { padding-top: 10px; }
.gallery-archive-intro { max-width: 820px; margin: 0 auto 30px; text-align: center; color: #666; font-size: 1.05rem; line-height: 1.7; }
.gallery-archive-empty { text-align: center; color: #888; padding: 40px 0; }
.gallery-hub-card { background: #fff; border: 1px solid #eceff3; border-radius: 6px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.gallery-hub-card:hover { box-shadow: 0 14px 34px rgba(44,62,80,.14); transform: translateY(-3px); }
.gallery-hub-media { position: relative; display: block; overflow: hidden; background: #eef1f5; }
.gallery-hub-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery-hub-card:hover .gallery-hub-media img { transform: scale(1.05); }
.gallery-hub-noimg { display: grid; place-items: center; aspect-ratio: 4 / 3; color: #9aa5b1; font-size: .85rem; }
.gallery-hub-count {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20,28,38,.78); color: #fff; font-size: .78rem; padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.gallery-hub-body { padding: 18px 18px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.gallery-hub-title { margin: 0; font-family: var(--font-heading, Raleway, sans-serif); font-size: 1.2rem; font-weight: 500; line-height: 1.35; }
.gallery-hub-title a { color: #2c3e50; text-decoration: none; }
.gallery-hub-title a:hover { color: #3498db; }
.gallery-hub-divider { display: block; width: 30px; height: 0; border-bottom: 2px solid #2291eb; margin: 14px auto; }
.gallery-hub-text { margin: 0 0 16px; color: #666; font-size: .92rem; line-height: 1.65; flex: 1; }
.gallery-hub-btn { margin-top: auto; }

/* ================================================================
   Referanslar sayfası (/referanslar/)
   Sütunlar / oran: Admin › Grid Ayarları › references_page
   ================================================================ */
.references-archive { padding-top: 10px; }
.ref-grid-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--rg-bg, #fff); padding: var(--rg-pad, 18px); border-radius: var(--rg-radius, 6px);
  text-decoration: none; color: #2c3e50; box-sizing: border-box; overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.ref-grid.has-border .ref-grid-card { border: 1px solid #eceff3; }
.ref-grid.has-shadow .ref-grid-card { box-shadow: 0 4px 14px rgba(44,62,80,.08); }
.ref-grid.has-lift .ref-grid-card:hover { box-shadow: 0 14px 34px rgba(44,62,80,.14); transform: translateY(-3px); }
.ref-grid-media { display: block; width: 100%; }
.ref-grid-media img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; transition: filter .3s, opacity .3s; }
.ref-grid .ref-grid-media img { background: transparent !important; }
.ref-grid.is-grayscale .ref-grid-media img { filter: grayscale(1); opacity: .75; }
.ref-grid.is-grayscale .ref-grid-card:hover .ref-grid-media img { filter: none; opacity: 1; }
.ref-grid-name { display: block; font-size: .88rem; line-height: 1.4; color: #2c3e50; }
a.ref-grid-card:hover .ref-grid-name { color: #3498db; }

/* ---------- Liste / kategori arşivleri ---------- */
.archive-intro { max-width: 820px; margin: 0 auto 26px; text-align: center; color: #666; font-size: 1.02rem; line-height: 1.7; }
.archive-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 28px; }
.archive-filters a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #cfd5db; border-radius: 2px;
  color: #2c3e50; background: #fff; text-decoration: none; font-size: .9rem; transition: background .2s, color .2s, border-color .2s;
}
.archive-filters a span { font-size: .75rem; background: #eef1f5; color: #6b7785; border-radius: 999px; padding: 1px 7px; }
.archive-filters a:hover, .archive-filters a.is-active { background: #2c3e50; border-color: #2c3e50; color: #fff; }
.archive-filters a:hover span, .archive-filters a.is-active span { background: rgba(255,255,255,.18); color: #fff; }
.archive-count { text-align: center; color: #888; font-size: .85rem; margin: -12px 0 22px; }
.archive-empty { text-align: center; color: #777; padding: 40px 0; }
.archive-date { color: #888; font-size: .82rem; margin-bottom: 6px; }

/* İçerik detayında kategori / etiket bağlantıları */
.content-terms { margin: 28px 0 8px; padding-top: 18px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 10px; }
.content-terms-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.content-terms-row strong { font-size: .85rem; color: #2c3e50; margin-right: 4px; }
.content-terms-row a { font-size: .82rem; padding: 5px 11px; border-radius: 999px; background: #f1f4f7; color: #2c3e50; text-decoration: none; border: 1px solid #e3e8ed; }
.content-terms-row a:hover { background: #2c3e50; color: #fff; border-color: #2c3e50; }

/* ================================================================
   İletişim sayfası (/iletisim/) — Admin › İletişim
   ================================================================ */
.contact-intro { max-width: 820px; margin: 0 auto 34px; text-align: center; color: #666; font-size: 1.05rem; line-height: 1.75; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 40px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: #34495e; color: #fff !important; padding: 30px 20px 26px; text-decoration: none !important;
  transition: background .2s, transform .2s; border-radius: 2px;
}
a.contact-card:hover { background: #3498db; transform: translateY(-2px); }
.contact-card.is-wa .contact-ico { color: #00c403; }
a.contact-card.is-wa:hover .contact-ico { color: #fff; }
.contact-ico { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; }
.contact-ico svg { width: 42px; height: 42px; }
.contact-label { font-size: .95rem; opacity: .85; }
.contact-card strong { font-size: 1.3rem; font-weight: 600; font-family: var(--font-heading, Raleway, sans-serif); line-height: 1.3; }
.contact-card address { font-style: normal; font-size: .98rem; line-height: 1.6; }
.contact-line { color: #fff !important; text-decoration: none !important; font-size: 1rem; display: flex; flex-direction: column; padding: 4px 0; }
.contact-line small { font-size: .72rem; opacity: .65; text-transform: uppercase; letter-spacing: .06em; }
.contact-line:hover { text-decoration: underline !important; }
.contact-cta { margin-top: auto; padding-top: 10px; font-size: .82rem; opacity: .75; }
.contact-hours { margin: 0; line-height: 1.7; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: stretch; margin-bottom: 30px; }
.contact-split.is-single { grid-template-columns: 1fr; }
.contact-form-wrap { background: #f7f8fa; border: 1px solid #e8ebef; padding: 28px; }
.contact-form-wrap h2 { margin: 0 0 6px; font-family: var(--font-heading, Raleway, sans-serif); color: #2c3e50; font-size: 1.5rem; }
.contact-form-intro { margin: 0 0 18px; color: #777; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: .88rem; color: #2c3e50; font-weight: 600; }
.cf-field input, .cf-field select, .cf-field textarea {
  font: inherit; font-weight: 400; font-size: .95rem; color: #222; background: #fff;
  border: 1px solid #cfd5db; border-radius: 2px; padding: 11px 12px; width: 100%; box-sizing: border-box;
}
.cf-field textarea { resize: vertical; min-height: 130px; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 3px rgba(52,152,219,.18); }
.cf-hint { margin: -6px 0 0; font-size: .8rem; color: #888; }
.cf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #555; line-height: 1.5; margin: 0; }
.cf-consent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.cf-submit { align-self: flex-start; border: 0; cursor: pointer; padding: 12px 28px; font-size: .95rem; }
.cf-submit:hover { background: #3498db; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-alert { padding: 12px 14px; margin: 0 0 16px; border-left: 4px solid; font-size: .92rem; }
.contact-alert.is-ok { background: #ebfbee; border-color: #2f9e44; color: #1e6b2e; }
.contact-alert.is-err { background: #fff5f5; border-color: #e03131; color: #a61e1e; }
/* Harita, yanındaki form sütununun yüksekliğini doldurur; admin'deki yükseklik (--map-h) alt sınırdır */
.contact-map { display: flex; flex-direction: column; min-height: var(--map-h, 400px); background: #eef1f5; border: 1px solid #e8ebef; overflow: hidden; }
.contact-map iframe { flex: 1 1 auto; width: 100%; min-height: var(--map-h, 400px); border: 0; display: block; }
/* Özel ikonlu harita (Leaflet) */
.contact-map-canvas { flex: 1 1 auto; width: 100%; min-height: var(--map-h, 400px); z-index: 0; }
.contact-map-fallback { display: block; padding: 20px; text-align: center; }
/* Pin / bilgi balonu stilleri: assets/css/contact-map.css (admin önizlemesiyle ortak) */
.contact-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; margin-top: 10px; }
.contact-social span { color: #777; font-size: .9rem; }
.contact-social a { padding: 7px 14px; border: 1px solid #cfd5db; color: #2c3e50; text-decoration: none; font-size: .88rem; }
.contact-social a:hover { background: #2c3e50; color: #fff; border-color: #2c3e50; }
@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } .contact-form-wrap { padding: 20px 16px; } }

/* Banner noktası ikon boyutu (Admin › Banner Haritası) */
.hotspot[style*="--spot-scale"] .hotspot-icon { width: calc(68% * var(--spot-scale)); max-width: calc(100px * var(--spot-scale)); }

/* ================================================================
   Banner Haritası v2 — cihaz başına ayarlar (Admin › Banner Haritası)
   Görsel + noktalar .bm-stage içinde birlikte ölçeklenir.
   ================================================================ */
.banner-map { background: var(--bm-bg, #1a1a1a); }
.banner-map .banner-map-inner { max-height: none; aspect-ratio: auto; container-type: size; max-width: 1920px; }
.banner-map .bm-h-ratio { aspect-ratio: var(--r); }
.bm-stage { position: absolute; }
.bm-fit-cover {
  width: max(100cqw, calc(100cqh * var(--r)));
  height: max(100cqh, calc(100cqw / var(--r)));
  left: calc((100cqw - max(100cqw, calc(100cqh * var(--r)))) * var(--fx, .5));
  top: calc((100cqh - max(100cqh, calc(100cqw / var(--r)))) * var(--fy, .5));
}
.bm-fit-contain {
  width: min(100cqw, calc(100cqh * var(--r)));
  height: min(100cqh, calc(100cqw / var(--r)));
  left: calc((100cqw - min(100cqw, calc(100cqh * var(--r)))) * var(--fx, .5));
  top: calc((100cqh - min(100cqh, calc(100cqw / var(--r)))) * var(--fy, .5));
}
.bm-stage .banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bm-overlay { position: absolute; inset: 0; background: #000; opacity: var(--bm-overlay, 0); pointer-events: none; z-index: 1; }

/* Nokta, ikon ve yazı boyutları: cihaz ölçeği × nokta ölçeği */
.banner-map .hotspot { width: calc(clamp(108px, 10.5vw, 158px) * var(--spot-k, 1)); }
.banner-map .hotspot .hotspot-icon { width: calc(68% * var(--spot-scale, 1)); max-width: calc(100px * var(--spot-scale, 1) * var(--spot-k, 1)); }
.banner-map[data-device="web"] .hotspot-label { font-size: calc(clamp(11px, 1.05vw, 15px) * var(--label-k, 1) * var(--label-scale, 1)); }
.banner-map[data-device="tablet"] .hotspot-label { font-size: calc(clamp(9px, 2.2vw, 12px) * var(--label-k, 1) * var(--label-scale, 1)); max-width: 140%; }
.banner-map[data-device="phone"] .hotspot-label { font-size: calc(9px * var(--label-k, 1) * var(--label-scale, 1)); margin-top: 4px; }
button.hotspot { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.banner-map[data-zoom="0"] .hotspot .hotspot-icon { transform: none !important; }

/* Hover görseli: üzerine gelince / tıklayınca / hiç */
.banner-map .hotspot-tooltip { width: min(var(--tip-w, 420px), 86vw); min-height: 0; }
.banner-map .hotspot-tooltip img { min-height: 0; }
.banner-map[data-tip="none"] .hotspot-tooltip { display: none !important; }
.banner-map[data-tip="click"] .hotspot:hover .hotspot-tooltip,
.banner-map[data-tip="click"] .hotspot.is-active .hotspot-tooltip { display: none; }
.banner-map[data-tip="click"] .hotspot.is-open { z-index: 60; }
.banner-map[data-tip="click"] .hotspot.is-open .hotspot-tooltip { display: block !important; pointer-events: auto; }
.banner-map[data-tip="click"] .hotspot.is-open .hotspot-icon { transform: scale(1.2); }
.hotspot[data-tip-pos~="below"] .hotspot-tooltip { bottom: auto; top: calc(100% + 10px); }
.hotspot[data-tip-pos~="edge-l"] .hotspot-tooltip { left: 0; transform: none; }
.hotspot[data-tip-pos~="edge-r"] .hotspot-tooltip { left: auto; right: 0; transform: none; }
.tip-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 8px 4px; line-height: 1.3; }
.tip-title { color: #fff; font-size: 13px; font-weight: 700; text-align: left; }
.tip-go { flex: 0 0 auto; background: #3498db; color: #fff !important; font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 4px; text-decoration: none !important; }
.tip-go:hover { background: #2c80b9; }

/* =====================================================================
   Mega menü (Admin › Menüler) — eski açılır menü stillerinin üzerine eklenir
   ===================================================================== */
.main-nav .mm-drawer-head { display: none; }
.main-nav .mm-caret {
  display: none; background: none; border: 0; padding: 4px; margin: 0; color: inherit;
  cursor: pointer; line-height: 0; align-items: center; justify-content: center;
}
.main-nav .mm-caret svg { transition: transform .2s ease; }
.main-nav li.is-open > .mm-caret svg,
.main-nav li.open > .mm-caret svg { transform: rotate(180deg); }
.main-nav .sub-menu li { position: relative; }
.main-nav .link-inner .mm-ico { display: inline-flex; vertical-align: middle; margin: -2px 6px 0 0; width: 18px; height: 18px; align-items: center; justify-content: center; }
.main-nav .link-inner .mm-ico img { width: 100%; height: 100%; object-fit: contain; }
.main-nav .link-inner .mm-ico.is-text { width: auto; font-size: 1.05em; line-height: 1; }
.main-nav .mm-ico.is-svg svg { width: 100%; height: 100%; }
.main-nav .mm-badge {
  display: inline-block; margin-left: 6px; padding: 2px 6px 1px; border-radius: 999px;
  background: var(--mm-badge, #e03131); color: #fff; font: 700 10px/1.4 var(--font-body);
  letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; position: relative; top: -1px;
}
.main-nav .sub-menu .mm-desc { display: block; font-size: 12px; font-weight: 400; color: #7a7a7a; white-space: normal; line-height: 1.4; margin-top: 2px; }
.main-nav .sub-menu .mm-heading { display: block; padding: 10px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a94a3; }
.main-nav .sub-menu .mm-li-block { padding: 8px 12px; }

/* ---- Mega panel ---- */
.main-nav .mega-panel {
  display: none; position: absolute; top: 100%; z-index: 60; text-align: left; white-space: normal; cursor: default;
  background-color: var(--mm-bg, #fff); background-size: cover; background-position: center;
  border: 1px solid #eef0f3; border-top: 3px solid var(--accent-hover, #3498db);
  box-shadow: 0 22px 48px rgba(15, 23, 42, .14);
}
.main-nav .mega-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--mm-bridge, 16px); }
.main-nav .mega-inner {
  display: grid; grid-template-columns: var(--mm-cols, repeat(4, minmax(0, 1fr))); gap: var(--mm-gap, 28px);
  padding: 28px 32px; align-items: start;
}
.main-nav .mega-col { min-width: 0; }
/* Otomatik yerleşim: bloklar oranlarıyla satırı doldurur, satırda en fazla --mm-max blok; artanlar alt satırı tam doldurur */
.main-nav .mega-inner.is-auto { display: flex; flex-wrap: wrap; align-items: flex-start; }
.main-nav .mega-inner.is-auto > .mega-col {
  flex: var(--mm-fw, 1) 1 0%;
  min-width: calc((100% - (var(--mm-max, 4) - 1) * var(--mm-gap, 28px)) / var(--mm-max, 4) - 1px);
}
.main-nav .mega-panel a { white-space: normal; padding: 0; }
.main-nav .mega-panel ul { list-style: none; margin: 0; padding: 0; }
.main-nav .mega-panel li { list-style: none; margin: 0; }
.main-nav .mega-panel .mm-col-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid #eceff3;
  color: #111827; font-family: var(--font-heading); font-weight: 700 !important; font-size: 15px; line-height: 1.3;
}
.main-nav .mega-panel a.mm-col-title:hover { color: var(--accent-hover, #3498db); }
.main-nav .mega-panel .mm-col-title .mm-ico { width: 22px; height: 22px; flex: 0 0 22px; }
.main-nav .mega-panel .mm-col-desc { margin: -4px 0 12px; font-size: 13px; color: #6b7280; line-height: 1.5; }
.main-nav .mega-panel .mm-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.main-nav .mega-panel .mm-ico img { width: 100%; height: 100%; object-fit: contain; }
.main-nav .mega-panel .mm-ico.is-text { font-size: 18px; line-height: 1; }
.main-nav .mega-panel .mm-link {
  display: flex; align-items: flex-start; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px;
  color: #1f2937; line-height: 1.35; transition: background-color .15s ease, color .15s ease;
}
.main-nav .mega-panel .mm-link:hover,
.main-nav .mega-panel .mm-link:focus-visible { background: #f3f6fa; color: var(--accent-hover, #3498db); }
.main-nav .mega-panel .mm-link.is-rich { padding: 8px; }
.main-nav .mega-panel .mm-link.is-rich .mm-ico { width: 36px; height: 36px; border-radius: 8px; background: #f1f5f9; padding: 6px; }
.main-nav .mega-panel .mm-link .mm-ico { width: 20px; height: 20px; margin-top: 1px; }
.main-nav .mega-panel .mm-txt { display: flex; flex-direction: column; min-width: 0; }
.main-nav .mega-panel .mm-title { display: block; }
.main-nav .mega-panel .mm-desc { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: #6b7280; line-height: 1.45; }
.main-nav .mega-panel .mm-sub { margin: 2px 0 6px 10px; padding-left: 10px; border-left: 1px dashed #e2e6ec; }
.main-nav .mega-panel .mm-li-block { margin: 8px 0; }
.main-nav .mm-banner {
  position: relative; display: block; overflow: hidden; border-radius: 10px; background: #0f172a; color: #fff; padding: 0;
}
.main-nav .mm-banner-img { display: block; overflow: hidden; }
.main-nav .mm-banner-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.main-nav a.mm-banner:hover .mm-banner-img img { transform: scale(1.04); }
.main-nav .mm-banner-cap {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 14px 16px; line-height: 1.35;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, .82) 100%);
}
.main-nav .mm-banner-img + .mm-banner-cap { position: absolute; left: 0; right: 0; bottom: 0; padding-top: 40px; }
.main-nav .mm-banner-cap strong { font-family: var(--font-heading); font-size: 16px; color: #fff; }
.main-nav .mm-banner-cap small { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.main-nav .mm-banner-cap .mm-badge { margin-left: 0; }
.main-nav .mm-html { font-size: 14px; color: #4b5563; line-height: 1.6; white-space: normal; }
.main-nav .mm-html p { margin: 0 0 8px; }
.main-nav .mm-html img { border-radius: 8px; margin: 6px 0; }
.main-nav .mm-cta-note { margin: 0 0 10px; font-size: 13px; color: #6b7280; line-height: 1.5; }
.main-nav .mega-panel a.mm-cta,
.main-nav .sub-menu a.mm-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px; border: 2px solid var(--accent, #2C3E50);
  background: var(--accent, #2C3E50); color: #fff; font-weight: 600 !important; line-height: 1.2; white-space: nowrap;
}
.main-nav a.mm-cta:hover { background: var(--accent-hover, #3498db); border-color: var(--accent-hover, #3498db); color: #fff; }
.main-nav a.mm-cta.mm-cta-outline { background: transparent; color: var(--accent, #2C3E50); }
.main-nav a.mm-cta.mm-cta-outline:hover { color: #fff; }
.main-nav a.mm-cta.mm-cta-light { background: #fff; border-color: #fff; color: var(--accent, #2C3E50); }
.main-nav a.mm-cta .mm-ico { width: 18px; height: 18px; }
.main-nav .mm-content.is-list li + li { margin-top: 4px; }
.main-nav a.mm-content-item { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: #1f2937; line-height: 1.35; }
.main-nav .mm-content-item:hover { background: #f3f6fa; color: var(--accent-hover, #3498db); }
.main-nav .mm-thumb { flex: 0 0 56px; width: 56px; height: 42px; overflow: hidden; border-radius: 6px; background: #eef1f5; }
.main-nav .mm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.main-nav .mm-content.is-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.main-nav .mm-content.is-cards a.mm-content-item { flex-direction: column; align-items: stretch; margin: 0; padding: 0; }
.main-nav .mm-content.is-cards .mm-content-item:hover { background: none; }
.main-nav .mm-content.is-cards .mm-thumb { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.main-nav .mm-empty { margin: 0; font-size: 13px; color: #9ca3af; }
.main-nav .mm-top-block { padding: 6px 4px; }
.main-nav li.mm-flash { outline: 2px dashed #3d8bfd; outline-offset: 2px; }

@media (min-width: 960px) {
  .main-nav.mm-indicator > ul > li.has-children { display: flex; align-items: center; }
  .main-nav.mm-indicator > ul > li.has-children > a { padding-right: 0; }
  .main-nav.mm-indicator > ul > li.has-children > .mm-caret { display: inline-flex; padding: 4px 2px; }
  .main-nav .sub-menu .sub-menu { top: -1px; left: 100%; }
  .main-nav .sub-menu li.mm-flip > .sub-menu { left: auto; right: 100%; }
  .main-nav .sub-menu li.has-children > .mm-caret { display: inline-flex; position: absolute; right: 6px; top: 50%; transform: translateY(-50%) rotate(-90deg); padding: 2px; pointer-events: none; }
  .main-nav .sub-menu li.has-children > a { padding-right: 26px; }
  .main-nav > ul > li.has-mega.mm-w-full,
  .main-nav > ul > li.has-mega.mm-w-container,
  .main-nav > ul > li.has-mega.mm-w-menu { position: static; }
  /* Menü altında: içerik genişliğinde, menü çubuğuna hizalı (left değeri theme.js ile hesaplanır) */
  .main-nav .mm-w-menu > .mega-panel {
    left: auto; right: var(--site-header-side-padding, 30px);
    width: min(var(--site-container-width, 1100px), calc(100vw - 24px));
  }
  .main-nav .mm-w-full > .mega-panel { left: 0; right: 0; }
  .main-nav .mm-w-full > .mega-panel > .mega-inner { max-width: var(--site-container-width, 1100px); margin: 0 auto; }
  .main-nav .mm-w-container > .mega-panel { left: 50%; transform: translateX(-50%); width: min(var(--site-container-width, 1100px), calc(100vw - 40px)); }
  .main-nav .mm-w-custom > .mega-panel { left: 0; width: min(var(--mm-w, 720px), calc(100vw - 24px)); }
  .main-nav .mm-w-custom.mm-align-center > .mega-panel { left: 50%; transform: translateX(-50%); }
  .main-nav .mm-w-custom.mm-align-right > .mega-panel { left: auto; right: 0; }
  .main-nav:not([data-trigger="click"]) .has-mega:hover > .mega-panel,
  .main-nav:not([data-trigger="click"]) .has-mega:focus-within > .mega-panel,
  .main-nav .has-mega.is-open > .mega-panel { display: block; animation: mm-in .18s ease; }
  .main-nav .mm-hide-desktop { display: none !important; }
}
@keyframes mm-in { from { opacity: 0; margin-top: 6px; } to { opacity: 1; margin-top: 0; } }

@media (max-width: 959px) {
  .main-nav .mm-hide-mobile { display: none !important; }
  .main-nav li.has-children { position: relative; }
  .main-nav li.has-children > .mm-caret {
    display: inline-flex; position: absolute; right: 0; top: 2px; width: 40px; height: 40px; color: #374151;
  }
  .main-nav li.has-children > a { padding-right: 44px; }
  .main-nav > ul > li { border-bottom: 1px solid #f0f2f5; }
  .main-nav .sub-menu .sub-menu { padding-left: 12px; }
  .main-nav .mega-panel {
    position: static; transform: none; width: auto; margin: 0; border: 0; box-shadow: none;
    background: transparent !important; padding: 0 0 10px 12px;
    left: auto !important; right: auto !important; width: auto !important;
  }
  .main-nav .has-mega.open > .mega-panel { display: block; }
  .main-nav .mega-panel::before { display: none; }
  .main-nav .mega-inner,
  .main-nav .mega-inner.is-auto { display: block; padding: 0; }
  .main-nav .mega-col { margin: 0 0 16px; }
  .main-nav .mega-col:last-child { margin-bottom: 4px; }
  .main-nav .mega-panel .mm-col-title { font-size: 14px; margin: 8px 0 8px; padding-bottom: 6px; }
  .main-nav .mm-banner-img img { aspect-ratio: 16 / 7; }
  .main-nav .mm-content.is-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav .mm-top-block { padding: 10px 4px; }

  /* Çekmece (drawer) modu */
  .main-nav.mm-mobile-drawer {
    display: block; position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(360px, 88vw); z-index: 1001;
    background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 18px 28px;
    transform: translateX(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
    box-shadow: -12px 0 32px rgba(15, 23, 42, .18);
  }
  .main-nav.mm-mobile-drawer.mm-side-left { right: auto; left: 0; transform: translateX(-105%); box-shadow: 12px 0 32px rgba(15, 23, 42, .18); }
  .main-nav.mm-mobile-drawer.open { transform: none; visibility: visible; transition: transform .28s ease, visibility 0s; }
  .main-nav.mm-mobile-drawer .mm-drawer-head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2;
    background: #fff; padding: 16px 0 12px; margin-bottom: 6px; border-bottom: 1px solid #eceff3;
    font: 700 15px/1 var(--font-heading); color: #111827;
  }
  .main-nav .mm-close { background: #f3f4f6; border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; color: #374151; }
  /* Akordeon modu: menü her zaman opak; sabit (sticky) başlıkta 64px'lik şeridin altına panel olarak açılır */
  .main-nav.mm-mobile-accordion { background: #fff; }
  .site-header.is-sticky .main-nav.mm-mobile-accordion.open {
    position: absolute; top: 100%; left: 0; right: 0; width: auto; z-index: 1001;
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 16px 16px; border-top: 1px solid #eceff3; box-shadow: 0 12px 24px rgba(15, 23, 42, .12);
  }
  .mm-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 23, 42, .45); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s linear .25s; }
  .mm-overlay.is-visible { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  html.mm-lock, html.mm-lock body { overflow: hidden; }
}
