/* ================================================================
   Apex Makina — style.css
   Birebir kopya: kırmızı topbar, koyu header, merkezi hero
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* WP screen-reader-text + skip-link — wp-block-library dequeue edildiği için yeniden tanımla */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

:root {
  --red:       #aa2423;
  --red-dark:  #8a1b1a;
  --yellow:    #fecd0f;
  --header-bg: #404445;   /* koyu gri header */
  --dark:      #222222;
  --gray:      #555555;
  --gray-lt:   #777777;
  --border:    #dddddd;
  --light:     #f5f5f5;
  --white:     #ffffff;
  --W:         1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Open Sans', sans-serif; color: var(--gray); line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
address { font-style: normal; }

.container { max-width: var(--W); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-red   { background: var(--red);  color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: var(--white); color: var(--dark); border-color: var(--white); }

/* ════════════════════════════════
   TOP BAR  — kırmızı arka plan
════════════════════════════════ */
.topbar { background: var(--red); color: var(--white); font-size: 13px; padding: 7px 0; position: relative; z-index: 1001; }
.topbar-inner {
  display: flex; align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.topbar-left  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 8px; }

.topbar-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--white); opacity: .92;
  transition: opacity .2s;
}
.topbar-link:hover { opacity: 1; }

.topbar-divider { color: rgba(255,255,255,.4); user-select: none; }

.topbar-yt {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--dark);
  color: var(--white);
  border-radius: 2px;
  transition: background .2s;
}
.topbar-yt:hover { background: #111; }

/* ════════════════════════════════
   HEADER  — koyu gri
════════════════════════════════ */
#site-header {
  background: var(--header-bg);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px; gap: 16px;
}
.logo img { height: 72px; width: auto; }

/* Nav */
.nav-list {
  display: none; /* mobile: hidden by default */
  flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--header-bg);
  padding: 12px 24px 20px;
  gap: 2px; z-index: 999;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.nav-list.open { display: flex; }

.nav-link {
  display: flex; align-items: center; gap: 3px;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--white); padding: 9px 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--white); border-bottom-color: var(--red); }
.nav-lang { color: var(--red) !important; }
.nav-lang:hover { color: #ff4a49 !important; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: static;
  background: #333;
  padding: 6px 0 6px 16px;
  flex-direction: column;
}
.has-dropdown.open > .dropdown { display: flex; }

.dropdown-link {
  display: block; font-size: .8rem;
  color: #ccc; padding: 7px 10px;
  transition: color .2s, background .2s;
}
.dropdown-link:hover { color: var(--white); background: rgba(255,255,255,.07); }

.chevron { transition: transform .2s; flex-shrink: 0; }
.has-dropdown.open > .nav-link .chevron { transform: rotate(180deg); }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 34px; height: 34px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════
   HERO SLIDER
════════════════════════════════ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
  min-height: 600px;
  isolation: isolate;
}
.hero-slides {
  position: relative;
  min-height: 600px;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease-in-out, visibility 0s linear .9s;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease-in-out, visibility 0s linear 0s;
  z-index: 1;
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
}
.hero-slide.is-active .hero-slide-bg {
  animation: apexKenBurns 8s ease-out forwards;
}
@keyframes apexKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.48);
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 0 140px;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(24px);
}
.hero-content h1 span { color: var(--white); }
.hero-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  margin: 0 0 28px;
  max-width: 720px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(20px);
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(20px);
}
.hero-slide.is-active .hero-content h1     { animation: apexHeroIn .8s ease-out .15s forwards; }
.hero-slide.is-active .hero-subtitle       { animation: apexHeroIn .8s ease-out .35s forwards; }
.hero-slide.is-active .hero-btns           { animation: apexHeroIn .8s ease-out .55s forwards; }
@keyframes apexHeroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Oklar */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--red, #c8201f);
  border-color: var(--red, #c8201f);
  outline: none;
}
.hero-prev { left: 18px; }
.hero-next { right: 18px; }
.hero-arrow[hidden], .hero-dots[hidden] { display: none !important; }

/* Dot navigasyon */
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 20px;
  z-index: 3;
  display: flex; gap: 8px; justify-content: center;
}
.hero-dot {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, width .25s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.8); }
.hero-dot.is-active {
  background: var(--red, #c8201f);
  width: 26px;
  border-radius: 999px;
}
.hero-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
  .hero-arrow { width: 38px; height: 38px; }
  .hero-prev { left: 10px; }
  .hero-next { right: 10px; }
  .hero-dots { bottom: 12px; }
}

/* Hareket hassasiyeti olan kullanıcılar için animasyonları sadeleştir */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active .hero-slide-bg,
  .hero-slide.is-active .hero-content h1,
  .hero-slide.is-active .hero-subtitle,
  .hero-slide.is-active .hero-btns {
    animation: none !important;
    transition: opacity .3s linear !important;
  }
  .hero-slide.is-active .hero-content h1,
  .hero-slide.is-active .hero-subtitle,
  .hero-slide.is-active .hero-btns { opacity: 1; transform: none; }
}

/* ════════════════════════════════
   FEATURE BOXES  — hero üzerine biner
════════════════════════════════ */
.features {
  background: transparent;
  padding: 0 0 60px;
  position: relative;
  z-index: 2;
  /* kartlar hero'nun üzerine biner */
  margin-top: -90px;
}
.features-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feat-box {
  background: var(--white);
  border: 1px solid #ddd;
  border-top: none;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.feat-img {
  width: 100%;
  height: 280px;
  background: #fff;
  padding: 10px 0px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}
.feat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s ease;
}
.feat-box:hover .feat-img img { transform: scale(1.04); }
.feat-body { padding: 28px 28px 32px; }
.feat-body h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.feat-body h2 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.feat-body h2 a:hover,
.feat-box:hover .feat-body h2 a { color: var(--red, #c8201f); }
.feat-img a { display: block; }
.feat-body p  { font-size: .93rem; color: var(--gray-lt, #777); line-height: 1.7; margin-bottom: 18px; }
.read-more {
  color: var(--red); font-weight: 700; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.read-more:hover { gap: 8px; }
.read-more::after { content: '→'; }

/* ════════════════════════════════
   OPTIMUM SECTION
════════════════════════════════ */
.optimum-section { background: var(--white); padding: 72px 0; }
.optimum-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.optimum-img img { width: 100%; height: auto; display: block; }

.opt-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 14px;
  position: relative;
}
.opt-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.opt-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0 20px;
}
.opt-desc {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 20px;
}
.opt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}
.opt-list li {
  font-size: .87rem;
  color: var(--gray);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.opt-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 7px; height: 7px;
  background: var(--red);
}
.opt-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: #ccc;
}
.btn-outline:hover { background: var(--light); }

/* ════════════════════════════════
   FEAT CARDS SECTION
════════════════════════════════ */
.feat-cards-section { background: var(--white); padding: 48px 0 80px; }
.feat-cards-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feat-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 22px 20px;
}
.feat-card-icon-wrap {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feat-card-icon-wrap svg {
  width: 24px; height: 24px;
  color: var(--red);
}
.feat-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.feat-card p {
  font-size: .85rem;
  color: #7a8fa0;
  line-height: 1.6;
}

/* ════════════════════════════════
   PRODUCTS GRID SECTION
════════════════════════════════ */
.products-section { background: var(--white); padding: 60px 0 72px; }

.products-title {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.products-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 12px;
}
.products-top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.all-services {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600;
  color: var(--gray);
  transition: color .2s;
}
.all-services span {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--red);
  flex-shrink: 0;
}
.all-services:hover { color: var(--red); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
}
.prod-item { display: flex; flex-direction: column; }
.prod-item-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.prod-item-link:hover h3 { color: var(--red, #c8201f); }
.prod-item-img {
  border: 1px solid #e2e2e2;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 3px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.prod-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.prod-item:hover .prod-item-img img { transform: scale(1.04); }
.prod-item h3 {
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  margin-top: 12px;
  line-height: 1.35;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
#footer { background: #222; color: #999; }

.footer-main { padding: 52px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.f-col-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.f-col p {
  font-size: .82rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 10px;
}

.f-menu,
.f-menu ul,
.f-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.f-menu { display: flex; flex-direction: column; gap: 0; }

.f-menu > li > a {
  display: block;
  font-size: .82rem;
  color: #bbb;
  padding: 4px 0;
  transition: color .2s;
}
.f-menu > li > a:hover { color: var(--white); }

.f-submenu,
.f-menu .sub-menu,
.f-menu ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 4px; }
.f-submenu li a,
.f-menu .sub-menu li a,
.f-menu ul li a {
  display: block;
  font-size: .78rem;
  color: #999;
  padding: 3px 0 3px 12px;
  transition: color .2s;
}
.f-submenu li a:hover,
.f-menu .sub-menu li a:hover,
.f-menu ul li a:hover { color: #ccc; }

.f-contact-line {
  font-size: .82rem;
  color: #999;
  margin-bottom: 6px;
  line-height: 1.5;
}
.f-contact-line span,
.f-contact-line a { color: #ccc; }
.f-contact-line a:hover { color: var(--white); }
.f-address { color: #888 !important; }
.f-divider { border: none; border-top: 1px solid #333; margin: 10px 0; }
.f-contact-btn { margin-top: 20px; display: inline-block; }

.footer-bot { background: #111; padding: 14px 0; }
.footer-bot-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.f-bot-logo { height: 36px; width: auto; flex-shrink: 0; }
.f-bot-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 4px; min-width: 0;
}
.f-bot-copy { margin: 0; font-size: .78rem; color: #555; }
.footer-bot p { font-size: .78rem; color: #555; }
.f-bot-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; font-size: .78rem;
}
.f-bot-links a {
  color: #aaa; text-decoration: none; transition: color .15s ease;
}
.f-bot-links a:hover { color: var(--white); }
.f-bot-links .sep { color: #444; }
.f-bot-yt {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: #333; color: var(--white);
  border-radius: 2px; transition: background .2s; flex-shrink: 0;
}
.f-bot-yt:hover { background: var(--red); }

/* ════════════════════════════════
   TABLET  ≥ 768px
════════════════════════════════ */
@media (min-width: 768px) {
  .hamburger { display: none; }
  #main-nav { display: block !important; }
  .nav-list {
    display: flex !important;
    flex-direction: row; align-items: center;
    position: static; background: transparent;
    box-shadow: none; padding: 0; gap: 0; flex-wrap: wrap;
  }
  .dropdown {
    display: none !important;
    position: absolute; top: 100%; left: 0;
    min-width: 240px;
    background: var(--header-bg);
    border-top: 3px solid var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    padding: 6px 0 10px;
    flex-direction: column; gap: 0; z-index: 200;
  }
  .dropdown::before {
    content: '';
    position: absolute;
    top: -8px; left: 0; right: 0;
    height: 8px;
    background: transparent;
  }
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: flex !important; }
  .dropdown-link { color: #ccc; padding: 9px 20px; font-size: .82rem; }
  .dropdown-link:hover { color: var(--white); background: rgba(255,255,255,.08); }

  /* Level-3 (sub-sub) menu — flies out to the right */
  .dropdown .has-dropdown { position: relative; }
  .dropdown .has-dropdown > .dropdown {
    top: 0; left: 100%;
    margin-left: 1px;
    border-top: 0;
    border-left: 3px solid var(--red);
    min-width: 260px;
  }
  .dropdown .has-dropdown > .dropdown::before {
    content: '';
    position: absolute;
    top: 0; left: -8px;
    width: 8px; height: 100%;
    background: transparent;
  }
  .dropdown .has-dropdown > .dropdown-link::after {
    content: '›';
    float: right;
    font-size: 1.2em;
    line-height: 1;
    color: var(--red);
    margin-left: 8px;
  }

  .features-wrap { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features-wrap.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .features-wrap.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .optimum-wrap { grid-template-columns: 1fr 1fr; gap: 60px; }
  .feat-cards-wrap { grid-template-columns: repeat(3, 1fr); }
  .feat-cards-wrap.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .feat-cards-wrap.cols-1 { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1.4fr 1fr 1.2fr; }
}

/* ════════════════════════════════
   DESKTOP  ≥ 1024px
════════════════════════════════ */
@media (min-width: 1024px) {
  .hero { min-height: 560px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1.4fr 1fr 1.2fr; }
}

@media (min-width: 1200px) {
  .hero { min-height: 600px; }
}



/* ── Accessibility ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════
   PAGE / SINGLE TEMPLATE
   ════════════════════════════════ */
.page-section { padding: 60px 0 80px; background: var(--white); }
.page-header { margin-bottom: 24px; }
.page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: .3px;
  margin: 0 0 10px;
  background: transparent;
  padding: 0;
}
.page-title-hr {
  border: 0;
  height: 3px;
  width: 60px;
  background: var(--red);
  margin: 0 0 20px;
}
.page-thumb { margin: 0 0 24px; }
.page-thumb img { border-radius: 4px; }
.page-content { font-size: 1rem; line-height: 1.75; color: var(--gray); }
.page-content p { margin: 0 0 16px; font-size: 14px; line-height: 26px; }
.page-content h2 { font-size: 1.5rem; color: var(--dark); margin: 28px 0 12px; font-weight: 700; }
.page-content h3 { font-size: 1.2rem; color: var(--dark); margin: 24px 0 10px; font-weight: 700; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content li { margin: 0 0 6px; }
.page-content a { color: var(--red); text-decoration: underline; }
.page-content a:hover { color: var(--red-dark); }
.page-content img { margin: 12px 0; border-radius: 4px; }
.page-content blockquote {
  border-left: 4px solid var(--red);
  padding: 8px 16px;
  margin: 16px 0;
  color: var(--gray-lt);
  background: var(--light);
}

/* Page meta (kategori / tarih) */
.page-meta { margin-top: -8px; margin-bottom: 18px; font-size: .85rem; }
.page-cat {
  display: inline-block;
  padding: 3px 10px;
  background: var(--red);
  color: #fff;
  border-radius: 3px;
  margin-right: 6px;
  font-weight: 600;
  font-size: .78rem;
}
.page-cat:hover { background: var(--red-dark); color: #fff; }

/* Post navigation */
.post-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .9rem;
}
.post-nav a { color: var(--red); font-weight: 600; }
.post-nav a:hover { color: var(--red-dark); text-decoration: underline; }

/* Archive / search / blog pagination — modern card-style */
.archive-pagination,
.apex-pagination {
  margin: 50px 0 10px;
  display: flex; justify-content: center;
}
.archive-pagination .nav-links,
.apex-pagination .nav-links {
  display: inline-flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
}
.archive-pagination .page-numbers,
.apex-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  background: #fff; border: 1px solid #e5e7eb; color: #444;
  border-radius: 4px; font-size: .9rem; font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.archive-pagination .page-numbers:hover,
.apex-pagination .page-numbers:hover {
  background: #fafafa; color: var(--red); border-color: var(--red);
  transform: translateY(-1px);
}
.archive-pagination .page-numbers.current,
.apex-pagination .page-numbers.current {
  background: var(--red); color: #fff; border-color: var(--red);
  box-shadow: 0 3px 10px rgba(178,34,52,.25);
}
.archive-pagination .page-numbers.dots,
.apex-pagination .page-numbers.dots {
  border: 0; background: transparent; color: #999; min-width: 28px;
}
.archive-pagination .page-numbers.dots:hover,
.apex-pagination .page-numbers.dots:hover {
  background: transparent; color: #999; transform: none;
}
.archive-pagination .prev,
.archive-pagination .next,
.apex-pagination .prev,
.apex-pagination .next {
  font-weight: 700; letter-spacing: 1px;
}

/* ════════════════════════════════
   BREADCRUMB
   ════════════════════════════════ */
.apex-breadcrumb {
  background: #f2f2f2;
  border-bottom: 1px solid #e5e5e5;
  font-size: .82rem;
  color: #777;
  padding: 14px 0;
}
.apex-breadcrumb a { color: #777; transition: color .2s; }
.apex-breadcrumb a:hover { color: var(--red); }
.apex-breadcrumb .bc-sep { margin: 0 8px; color: #bbb; }
.apex-breadcrumb .bc-current { color: var(--dark); font-weight: 600; }

/* ════════════════════════════════
   SINGLE PRODUCT
   ════════════════════════════════ */
.single-product-section { padding: 30px 0 60px; }

.sp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
}
.sp-content { min-width: 0; }

.sp-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 700px) {
  .sp-top { grid-template-columns: 1fr 1fr; }
}

.sp-gallery .sp-main-img {
  border: 1px solid var(--border);
  padding: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 360px;
  background: var(--white);
}
.sp-gallery .sp-main-img img {
  max-width: 100%; max-height: 360px; width: auto; height: auto; object-fit: contain;
}
.sp-thumbs {
  display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap;
}
.sp-thumb {
  width: 74px; height: 74px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s;
}
.sp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.sp-thumb.is-active, .sp-thumb:hover { border-color: var(--red); }

.sp-title {
  font-size: 1.6rem; font-weight: 700; color: var(--dark);
  margin: 0 0 10px;
}
.sp-title-hr {
  border: 0; height: 3px; width: 80px; background: var(--red);
  margin: 0 0 12px;
}
.sp-title-thin {
  border: 0; height: 1px; background: var(--border);
  margin: 0 0 18px;
}
.sp-short { color: var(--gray); font-size: .92rem; line-height: 1.7; margin-bottom: 20px; }
.sp-short p { margin-bottom: 12px; }
.sp-cta {
  margin-bottom: 24px;
  padding: 12px 28px;
  font-size: .8rem;
}
.sp-cats {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .85rem; color: var(--gray-lt);
}
.sp-cats span { color: var(--gray); }
.sp-cats a { color: var(--red); }
.sp-cats a:hover { color: var(--red-dark); text-decoration: underline; }

/* Sidebar */
.sp-sidebar { display: flex; flex-direction: column; gap: 18px; }
.sp-widget {
  border: 1px solid var(--border);
  background: var(--white);
}
.sp-widget-title {
  margin: 0;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.sp-widget > :not(.sp-widget-title) { padding: 14px 16px; }
.sp-widget p { margin: 0 0 10px; font-size: .9rem; }
.sp-widget input[type="text"],
.sp-widget input[type="email"],
.sp-widget input[type="tel"],
.sp-widget input[type="search"],
.sp-widget textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: .88rem;
  background: var(--light);
  color: var(--dark);
  margin-bottom: 10px;
}
.sp-widget textarea { min-height: 100px; resize: vertical; }
.sp-widget input[type="submit"],
.sp-widget button[type="submit"] {
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  font-size: .85rem;
  transition: background .2s;
}
.sp-widget input[type="submit"]:hover,
.sp-widget button[type="submit"]:hover { background: var(--red-dark); }

.sp-search-form { display: flex; gap: 6px; align-items: stretch; }
.sp-search-form input[type="search"] { margin: 0; }
.sp-search-form button {
  padding: 10px 16px; background: var(--red); color: #fff; border: none;
  font-weight: 700; cursor: pointer; letter-spacing: .06em;
}
.sp-search-form button:hover { background: var(--red-dark); }

.sp-cat-list, .sp-widget ul {
  list-style: none; margin: 0; padding: 0;
}
.sp-widget ul li { border-bottom: 1px solid #f0f0f0; }
.sp-widget ul li:last-child { border-bottom: 0; }
.sp-widget ul li a {
  display: block; padding: 10px 0;
  color: var(--gray); font-size: .88rem;
  transition: color .2s, padding-left .2s;
}
.sp-widget ul li a:hover { color: var(--red); padding-left: 4px; }

/* Tabs */
.sp-tabs-wrap { margin: 10px 0 0; }
.sp-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
}
.sp-tab {
  background: transparent; border: none;
  padding: 14px 28px;
  font-size: .9rem; font-weight: 600;
  color: var(--gray-lt); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  font-family: inherit;
}
.sp-tab:hover { color: var(--dark); }
.sp-tab.is-active { color: var(--red); border-bottom-color: var(--red); }

.sp-tab-panel {
  display: none;
  padding: 30px;
  background: var(--light);
  border: 1px solid var(--border);
  border-top: 0;
}
.sp-tab-panel.is-active { display: block; }
.sp-desc-title {
  font-size: 1.3rem; font-weight: 700; color: var(--dark);
  margin: 0 0 18px;
}

/* Related */
.sp-related { margin-top: 50px; }
.sp-related-title {
  font-size: 1.3rem; font-weight: 700; color: var(--dark); margin: 0 0 8px;
}
.sp-related-hr {
  border: 0; height: 3px; width: 60px; background: var(--red); margin: 0 0 24px;
}

/* -------- Reviews / comments -------- */
.apex-reviews { margin-top: 30px; }
.apex-reviews-title {
  font-size: 1.25rem; font-weight: 700; color: var(--dark);
  margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb;
}
.apex-review-list { list-style: none; margin: 0 0 24px; padding: 0; }
.apex-review-item { list-style: none; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.apex-review-body { }
.apex-review-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.apex-review-head img { border-radius: 50%; flex-shrink: 0; }
.apex-review-meta { display: flex; flex-direction: column; gap: 2px; }
.apex-review-author { color: var(--dark); font-size: .95rem; }
.apex-review-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.apex-review-stars .off { color: #d6d6d6; }
.apex-review-date { color: #888; font-size: .8rem; }
.apex-review-text { color: #444; font-size: .95rem; line-height: 1.6; }
.apex-review-pending { color: #b45309; margin: 0 0 6px; }
.apex-review-empty { color: #666; font-style: italic; margin: 0 0 20px; }
.apex-review-pagination { display: flex; gap: 8px; margin: 10px 0 24px; }
.apex-review-pagination a, .apex-review-pagination span {
  padding: 6px 10px; border: 1px solid #e5e7eb; border-radius: 4px; font-size: .9rem; text-decoration: none;
}

/* Review form */
.apex-review-form,
#respond.apex-review-form {
  background: #fafafa; border: 1px solid #e5e7eb; border-radius: 6px; padding: 20px; margin-top: 16px;
}
.apex-rf-intro { color: #555; margin: 0 0 16px; font-size: .95rem; }
.apex-rf-intro small { color: #888; font-size: .85rem; }
.apex-rf-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.apex-rf-row label { font-size: .9rem; color: var(--dark); font-weight: 600; }
.apex-rf-row .req { color: var(--red); }
.apex-rf-row input[type="text"],
.apex-rf-row input[type="email"],
.apex-rf-row textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 4px;
  font-family: inherit; font-size: .95rem; background: #fff;
}
.apex-rf-row input:focus,
.apex-rf-row textarea:focus { outline: none; border-color: var(--red); }
.apex-rf-row textarea { resize: vertical; min-height: 120px; }

/* Star rating — reversed radio group with ~ selector */
.apex-rf-rating { margin: 0 0 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.apex-rf-rating > label { font-weight: 600; color: var(--dark); font-size: .9rem; }
.apex-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.apex-stars input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.apex-stars label {
  cursor: pointer; color: #d6d6d6; font-size: 1.6rem; line-height: 1;
  transition: color .15s ease;
}
.apex-stars label:hover,
.apex-stars label:hover ~ label,
.apex-stars input[type="radio"]:checked ~ label { color: #f5a623; }
.apex-stars input[type="radio"]:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }

/* Captcha */
.apex-rf-captcha { max-width: 320px; }
.apex-rf-turnstile { margin: 8px 0 16px; }
.apex-rf-turnstile .cf-turnstile { display: inline-block; }
.apex-cf7-turnstile { margin: 6px 0 12px; }

/* Submit */
.apex-review-form .form-submit { margin: 8px 0 0; }
.apex-review-form .form-submit button,
.apex-review-form #submit {
  background: var(--red); color: #fff; border: 0; padding: 12px 28px;
  font-weight: 700; letter-spacing: .5px; cursor: pointer; border-radius: 4px;
  text-transform: uppercase; font-size: .9rem;
}
.apex-review-form .form-submit button:hover,
.apex-review-form #submit:hover { background: #b91c1c; }

/* Toast popup */
.apex-toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px);
  background: #1f2937; color: #fff; padding: 14px 22px; border-radius: 6px;
  font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 9999; opacity: 0; transition: opacity .25s ease, transform .25s ease;
  max-width: 90vw; text-align: center;
  border-left: 4px solid #ef4444;
}
.apex-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* -------- Language switcher (topbar) -------- */
.apex-lang-switch {
  position: relative; display: inline-flex; align-items: center;
  margin-left: 14px;
}
.apex-lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: 5px 10px; border-radius: 3px;
  font-size: .78rem; font-weight: 700; letter-spacing: .5px;
  cursor: pointer; transition: background .18s ease, border-color .18s ease;
  line-height: 1;
}
.apex-lang-toggle:hover,
.apex-lang-switch.is-open .apex-lang-toggle {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45);
}
.apex-lang-toggle .apex-lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 14px; border-radius: 2px; overflow: hidden;
}
.apex-lang-toggle .apex-lang-flag svg { display: block; width: 100%; height: 100%; }
.apex-lang-caret { transition: transform .2s ease; opacity: .8; }
.apex-lang-switch.is-open .apex-lang-caret { transform: rotate(180deg); }

.apex-lang-menu {
  position: absolute; top: 100%; right: 0; margin: 6px 0 0; padding: 4px 0;
  list-style: none; min-width: 110px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 9999;
}
.apex-lang-switch.is-open .apex-lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.apex-lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; color: #333; text-decoration: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .3px;
  transition: background .15s ease, color .15s ease;
}
.apex-lang-menu a:hover { background: #f7f7f7; color: var(--red); }
.apex-lang-menu .apex-lang-flag {
  width: 22px; height: 14px; border-radius: 2px; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
}
.apex-lang-menu .apex-lang-flag svg { display: block; width: 100%; height: 100%; }

/* -------- Servis page -------- */
.apex-servis-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  align-items: start; margin: 10px 0 24px;
}
.apex-servis-text h2 {
  font-size: 1.6rem; color: var(--dark); margin: 0 0 18px; letter-spacing: .5px;
}
.apex-servis-text p,
.apex-servis-bottom p {
  color: #444; font-size: .95rem; line-height: 1.75; margin: 0 0 14px;
}
.apex-servis-image img {
  width: 100%; height: auto; display: block;
  border-radius: 3px; box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.apex-servis-bottom { margin-top: 8px; }
@media (max-width: 820px) {
  .apex-servis-layout { grid-template-columns: 1fr; gap: 20px; }
}

/* -------- Contact page -------- */
.apex-contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px;
  align-items: start; margin: 10px 0 32px;
}
.apex-contact-info h2,
.apex-contact-form-wrap h2 {
  font-size: 1.35rem; color: var(--dark); margin: 0 0 14px;
  padding-bottom: 10px; position: relative;
  border-bottom: 1px solid #e5e7eb;
}
.apex-contact-info h2::after,
.apex-contact-form-wrap h2::after {
  content: ''; position: absolute; left: 0; bottom: -1px;
  width: 70px; height: 3px; background: var(--red);
}

/* Info rows with separator between each (works with Gutenberg paragraph blocks) */
.apex-contact-info > p {
  padding: 14px 0; margin: 0; border-bottom: 1px solid #e5e7eb;
  color: #555; font-size: .95rem; line-height: 1.7;
}
.apex-contact-info > p:last-child { border-bottom: 0; }
.apex-contact-info > p a { color: #555; text-decoration: none; }
.apex-contact-info > p a:hover { color: var(--red); }
.apex-contact-info > p strong { color: var(--dark); display: inline-block; margin-bottom: 4px; }

/* Form card — gray background, WC-style inputs */
.apex-contact-form-wrap {
  background: #f2f2f2; padding: 26px 28px; border-radius: 2px;
}
.apex-contact-form-wrap .wpcf7 p { margin: 0 0 12px; }
.apex-contact-form-wrap .wpcf7 input[type="text"],
.apex-contact-form-wrap .wpcf7 input[type="email"],
.apex-contact-form-wrap .wpcf7 input[type="tel"],
.apex-contact-form-wrap .wpcf7 textarea {
  width: 100%; background: #fff; border: 0; padding: 16px 18px;
  font-size: .95rem; font-family: inherit; color: #444;
  box-sizing: border-box;
}
.apex-contact-form-wrap .wpcf7 input:focus,
.apex-contact-form-wrap .wpcf7 textarea:focus {
  outline: 2px solid rgba(178,34,52,.25);
}
.apex-contact-form-wrap .wpcf7 textarea { min-height: 110px; resize: vertical; }
.apex-contact-form-wrap .wpcf7 label { display: block; width: 100%; }
.apex-contact-form-wrap .wpcf7 input[type="submit"] {
  width: 100%; background: var(--red); color: #fff; border: 0;
  padding: 16px 20px; font-size: 1rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; cursor: pointer; margin-top: 4px;
  transition: background .18s ease;
}
.apex-contact-form-wrap .wpcf7 input[type="submit"]:hover { background: #8b1a29; }
.apex-contact-form-wrap .wpcf7-not-valid-tip { color: var(--red); font-size: .85rem; margin-top: 4px; }
.apex-contact-form-wrap .wpcf7-response-output {
  margin: 12px 0 0; padding: 10px 14px; font-size: .9rem;
  background: #fff; border: 1px solid #e5e7eb;
}

@media (max-width: 820px) {
  .apex-contact-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* -------- Blog -------- */
.blog-archive .page-header { margin-bottom: 30px; }

.blog-list {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.blog-list-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }

.blog-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #ececec; border-radius: 4px;
  overflow: hidden; transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.blog-card-img {
  display: block; overflow: hidden; background: #f5f5f5;
  aspect-ratio: 16 / 10;
}
.blog-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.blog-card-img:hover img { transform: scale(1.04); }

.blog-card-body {
  padding: 18px 20px 22px; display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}
.blog-list-cols .blog-card-body { padding: 16px 18px; }

.blog-meta {
  font-size: .8rem; color: #888; letter-spacing: .3px;
}
.blog-author { color: var(--red); }

.blog-card-title {
  margin: 4px 0 0; font-size: 1.2rem; line-height: 1.35; font-weight: 700;
}
.blog-card-title a {
  color: var(--dark); text-decoration: none; transition: color .15s;
}
.blog-card-title a:hover { color: var(--red); }

.blog-card-excerpt { color: #555; font-size: .92rem; line-height: 1.65; margin: 4px 0 6px; }

.blog-card-more {
  align-self: flex-start; margin-top: auto;
  color: var(--red); font-size: .85rem; font-weight: 700;
  text-decoration: none; letter-spacing: .5px;
}
.blog-card-more:hover { text-decoration: underline; }

/* Blog single */
.blog-single { padding-bottom: 50px; }
.blog-article { max-width: 1080px; margin: 0 auto; }
.blog-article-head { margin-bottom: 22px; }
.blog-article-title {
  font-size: 2rem; line-height: 1.25; color: var(--dark);
  margin: 6px 0 12px; font-weight: 700;
}
.blog-article-thumb { margin: 0 0 24px; }
.blog-article-thumb img {
  width: 100%; height: auto; display: block; border-radius: 4px;
}
.blog-article-content p { margin-bottom: 18px; }
.blog-article-tags {
  margin-top: 30px; padding-top: 16px; border-top: 1px solid #ececec;
  font-size: .9rem; color: #666;
}
.blog-article-tags a { color: var(--red); text-decoration: none; }
.blog-article-tags a:hover { text-decoration: underline; }

.blog-related { margin-top: 50px; }

/* -------- Search results -------- */
.search-results-page .page-header { margin-bottom: 32px; }
.search-meta { color: #666; font-size: .92rem; margin: 6px 0 14px; }

.search-form-inline {
  display: flex; max-width: 480px; margin-top: 8px;
  border: 1px solid #ddd; border-radius: 4px; overflow: hidden;
  background: #fff;
}
.search-form-inline input[type="search"] {
  flex: 1; border: 0; padding: 11px 14px; font-size: .95rem;
  outline: none; min-width: 0;
}
.search-form-inline button {
  background: var(--red); color: #fff; border: 0; padding: 0 22px;
  font-weight: 700; letter-spacing: .5px; cursor: pointer;
  transition: background .18s ease;
}
.search-form-inline button:hover { background: #8b1a29; }

.search-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.search-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid #ececec; border-radius: 4px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.search-card:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,.10);
  transform: translateY(-2px);
}

.search-card-img {
  display: block; overflow: hidden; background: #f5f5f5;
  aspect-ratio: 16 / 10;
}
.search-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.search-card-img:hover img { transform: scale(1.04); }

.search-card-body {
  padding: 16px 18px 20px; display: flex; flex-direction: column;
  gap: 8px; flex: 1;
}
.search-card-type {
  display: inline-block; align-self: flex-start;
  background: #f3f4f6; color: #666; font-size: .72rem;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .5px;
  text-transform: uppercase; font-weight: 700;
}
.search-card-title {
  margin: 4px 0 0; font-size: 1.05rem; line-height: 1.35; font-weight: 700;
}
.search-card-title a {
  color: var(--dark); text-decoration: none; transition: color .15s;
}
.search-card-title a:hover { color: var(--red); }
.search-card-excerpt {
  color: #555; font-size: .88rem; line-height: 1.6;
}
.search-card-more {
  align-self: flex-start; margin-top: auto; padding-top: 4px;
  color: var(--red); font-size: .82rem; font-weight: 700;
  text-decoration: none; letter-spacing: .5px;
}
.search-card-more:hover { text-decoration: underline; }

.search-empty {
  text-align: center; padding: 40px 20px;
}
.search-empty p { color: #555; margin: 0 0 18px; }

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

@media (max-width: 980px) {
  .blog-list, .blog-list-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-list, .blog-list-cols { grid-template-columns: 1fr; }
  .blog-article-title { font-size: 1.5rem; }
}

/* ============================================================
   HOME — INDUSTRIES SECTION (sektör kartları)
   ============================================================ */
.industries-section{padding:80px 0;background:#fff}
.industries-eyebrow{text-align:center;color:#aa2423;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.85rem;margin:0 0 12px}
.industries-title{text-align:center;font-family:'Space Grotesk',sans-serif;font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:700;color:#0f172a;margin:0 0 8px;line-height:1.2}
.industries-subtitle{text-align:center;color:#44474e;font-size:1.1rem;margin:0 0 18px;font-weight:500}
.industries-desc{max-width:780px;margin:0 auto 48px;text-align:center;color:#44474e;line-height:1.7}
.industries-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.industry-card{background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:28px 22px;text-align:center;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.industry-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(15,23,42,.10);border-color:#dde2ea}
.industry-icon{width:54px;height:54px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff5f5;color:#aa2423}
.industry-icon svg{width:28px;height:28px}
.industry-title{font-family:'Space Grotesk',sans-serif;font-size:1.1rem;font-weight:700;color:#0f172a;margin:0 0 8px}
.industry-desc{font-size:.88rem;color:#44474e;line-height:1.55;margin:0}
@media (max-width:980px){.industries-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.industries-grid{grid-template-columns:1fr}.industries-section{padding:56px 0}}

/* ============================================================
   HOME — STATS + MAP SECTION
   ============================================================ */
.stats-section{padding:80px 0;background:#f8f9fa}
.stats-wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.stats-eyebrow{color:#aa2423;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.14em;text-transform:uppercase;font-size:.82rem;margin:0 0 12px}
.stats-title{font-family:'Space Grotesk',sans-serif;font-size:clamp(1.5rem,3vw,2rem);font-weight:700;color:#0f172a;margin:0 0 20px;line-height:1.25}
.stats-desc{color:#44474e;line-height:1.75;margin:0 0 14px;font-size:.96rem}
.stats-counters{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px;padding-top:28px;border-top:1px solid #e2e8f0}
.stat-item{text-align:center}
.stat-num{font-family:'Space Grotesk',sans-serif;font-size:clamp(2rem,4vw,2.8rem);font-weight:800;color:#aa2423;line-height:1}
.stat-label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#44474e;font-weight:600;margin-top:8px}
.stats-map img{width:100%;height:auto;display:block;border-radius:4px}
@media (max-width:980px){.stats-wrap{grid-template-columns:1fr;gap:40px}.stats-map{order:-1}}
@media (max-width:480px){.stats-counters{grid-template-columns:1fr;gap:24px}.stats-section{padding:56px 0}}

/* ============================================================
   HOME — PRODUCTION LINES SECTION (3 kart)
   ============================================================ */
.pl-section{padding:80px 0;background:#fff}
.pl-eyebrow{text-align:center;color:#aa2423;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.85rem;margin:0 0 8px}
.pl-title{text-align:center;font-family:'Space Grotesk',sans-serif;font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:700;color:#0f172a;margin:0 0 40px;letter-spacing:.02em}
.pl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:40px}
.pl-card{display:block;background:#fff;border:1px solid #eef0f3;border-radius:8px;overflow:hidden;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease}
.pl-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(15,23,42,.12)}
.pl-card-img{aspect-ratio:5/2;overflow:hidden;background:#fff}
.pl-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.pl-card:hover .pl-card-img img{transform:scale(1.05)}
.pl-card-title{font-family:'Space Grotesk',sans-serif;font-size:1.25rem;font-weight:700;color:#0f172a;padding:20px 22px;margin:0;text-align:center;transition:color .2s}
.pl-card:hover .pl-card-title{color:#aa2423}
.pl-cta{text-align:center}
@media (max-width:780px){.pl-grid{grid-template-columns:1fr;gap:18px}.pl-section{padding:56px 0}}

/* ============================================================
   HOME — NEWS SECTION (son 3 haber)
   ============================================================ */
.home-news-section{padding:80px 0;background:#f8f9fa}
.hn-eyebrow{text-align:center;color:#aa2423;font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.85rem;margin:0 0 8px}
.hn-title{text-align:center;font-family:'Space Grotesk',sans-serif;font-size:clamp(1.6rem,3.5vw,2.4rem);font-weight:700;color:#0f172a;margin:0 0 40px}
.hn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:36px}
.hn-card{background:#fff;border:1px solid #eef0f3;border-radius:8px;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.hn-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(15,23,42,.12)}
.hn-card-link{display:block;text-decoration:none;color:inherit;height:100%}
.hn-card-img{aspect-ratio:5/2;overflow:hidden;background:#f8fafc}
.hn-card-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.hn-card:hover .hn-card-img img{transform:scale(1.05)}
.hn-card-body{padding:22px 22px 26px}
.hn-date{display:block;font-size:.78rem;color:#aa2423;letter-spacing:.06em;text-transform:uppercase;font-weight:600;margin-bottom:10px;font-family:'Space Grotesk',sans-serif}
.hn-card-title{font-family:'Space Grotesk',sans-serif;font-size:1.1rem;font-weight:700;color:#0f172a;line-height:1.35;margin:0 0 10px;transition:color .2s}
.hn-card:hover .hn-card-title{color:#aa2423}
.hn-card-excerpt{font-size:.9rem;color:#44474e;line-height:1.6;margin:0 0 14px}
.hn-readmore{display:inline-block;font-size:.8rem;color:#aa2423;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.hn-readmore span{transition:transform .2s;display:inline-block;margin-left:4px}
.hn-card:hover .hn-readmore span{transform:translateX(4px)}
.hn-cta{text-align:center}
@media (max-width:980px){.hn-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:600px){.hn-grid{grid-template-columns:1fr}.home-news-section{padding:56px 0}}

/* Footer bottom legal links */
.f-bot-links{display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.f-bot-links a{color:rgba(255,255,255,.7);font-size:.82rem;text-decoration:none;transition:color .2s}
.f-bot-links a:hover{color:#fff;text-decoration:underline}
@media (max-width:680px){.footer-bot-inner{flex-wrap:wrap;justify-content:center;text-align:center;gap:12px}.f-bot-links{justify-content:center}}

/* ============================================================
   COOKIE CONSENT BANNER (KVKK)
   ============================================================ */
#apex-cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;z-index:99998;
  max-width:760px;margin:0 auto;
  background:#1a1c1e;color:#fff;
  border-radius:8px;border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  padding:18px 22px;
  display:none;align-items:center;gap:18px;flex-wrap:wrap;
  font-family:'Inter','Open Sans',sans-serif;font-size:.88rem;line-height:1.55
}
#apex-cookie-banner.is-visible{display:flex;animation:apexCookieSlide .4s ease-out}
@keyframes apexCookieSlide{from{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}
#apex-cookie-banner p{margin:0;flex:1 1 280px;color:rgba(255,255,255,.85)}
#apex-cookie-banner a{color:#ff5a59;text-decoration:underline}
#apex-cookie-banner a:hover{color:#fff}
.apex-cookie-actions{display:flex;gap:10px;flex-shrink:0}
.apex-cookie-btn{
  padding:9px 18px;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  border:none;border-radius:4px;cursor:pointer;font-family:inherit;transition:background .2s,color .2s
}
.apex-cookie-btn--accept{background:#aa2423;color:#fff}
.apex-cookie-btn--accept:hover{background:#8a1c1c}
.apex-cookie-btn--reject{background:transparent;color:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.2)}
.apex-cookie-btn--reject:hover{color:#fff;border-color:rgba(255,255,255,.5)}
@media (max-width:520px){
  #apex-cookie-banner{flex-direction:column;align-items:stretch;padding:16px}
  .apex-cookie-actions{justify-content:space-between}
  .apex-cookie-btn{flex:1}
}

/* Footer legal bar (Privacy/Cookie linkleri her zaman gözüksün) */
.f-legal-bar{padding:14px 24px 4px;display:flex;justify-content:center;border-top:1px solid rgba(255,255,255,.05);margin-top:8px}
.f-legal-bar .f-bot-links{justify-content:center}
