/* ScriptX Base — theme.json'ın üretemediği küçük düzeltmeler. JS yok. */

/* Erişilebilirlik: içeriğe atla */
.skip-link.screen-reader-text{
  position:absolute;left:-9999px;top:0;z-index:100000;
  background:var(--wp--preset--color--contrast);color:var(--wp--preset--color--base);
  padding:.75rem 1.25rem;border-radius:0 0 var(--wp--custom--radius--sm) 0;
  font-weight:700;text-decoration:none;
}
.skip-link.screen-reader-text:focus{left:0}

/* Odak halkası — klavye kullanıcısı her yerde görebilmeli */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--wp--preset--color--accent);
  outline-offset:2px;border-radius:2px;
}

/* Blok stili: kart */
.wp-block-group.is-style-card{
  background:var(--wp--preset--color--base);
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--md);
  padding:var(--wp--preset--spacing--30);
  box-shadow:var(--wp--preset--shadow--soft);
}

/* Blok stili: çerçeveli */
.wp-block-group.is-style-outline{
  border:1px solid var(--wp--preset--color--line);
  border-radius:var(--wp--custom--radius--md);
  padding:var(--wp--preset--spacing--30);
}

/* Blok stili: çerçeveli görsel */
.wp-block-image.is-style-framed img{
  border-radius:var(--wp--custom--radius--md);
  box-shadow:var(--wp--preset--shadow--medium);
}

/* Blok stili: üst etiket (h6 kalıbı bağımsız da kullanılabilsin) */
.wp-block-heading.is-style-eyebrow{
  font-size:var(--wp--preset--font-size--x-small);
  letter-spacing:.14em;text-transform:uppercase;font-weight:700;
  color:var(--wp--preset--color--accent);
  display:flex;align-items:center;gap:.75rem;
}
.wp-block-heading.is-style-eyebrow::before{
  content:"";width:1.75rem;height:1px;background:currentColor;flex:none;
}

/* Blok stili: işaretli liste */
.wp-block-list.is-style-checklist{list-style:none;padding-left:0}
.wp-block-list.is-style-checklist li{
  position:relative;padding-left:1.75rem;margin-bottom:.65rem;
}
.wp-block-list.is-style-checklist li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:.5rem;height:.5rem;border-radius:50%;
  background:var(--wp--preset--color--accent);
}

/* Okuma genişliği — uzun metinlerde satır uzunluğunu sınırla */
.is-layout-constrained > :where(p,ul,ol):not(.alignwide):not(.alignfull){
  max-width:var(--wp--custom--measure--base);
}

/* Görseller taşmasın */
img,svg,video{max-width:100%;height:auto}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   Hukuk teması — kaynak (AvukatPro) CSS'inden birebir ölçüler
   ───────────────────────────────────────────────────────────── */

/* ── Hero ── */
.hk-hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hk-hero-l{padding:84px 0 88px}
.hk-hero-r{position:relative;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;min-height:380px}
.hk-hero-art{position:relative;width:100%;max-width:440px;margin:0 auto}
.hk-hero-art img{width:100%;display:block;position:relative;z-index:2}
.hk-badge{display:inline-flex;align-items:center;gap:.55rem;background:rgba(194,162,75,.12);
  border:1px solid rgba(194,162,75,.32);color:var(--wp--preset--color--base-3);
  font-size:.78rem;font-weight:600;letter-spacing:.04em;padding:.5rem .95rem;
  border-radius:999px;margin-bottom:1.6rem}
.hk-badge .dot{width:7px;height:7px;border-radius:50%;background:var(--wp--preset--color--accent);flex:none}
.hk-rule{width:64px;height:2px;background:var(--wp--preset--color--accent);margin:1.5rem 0}
.hk-lead{font-size:1.12rem;color:rgba(255,255,255,.78);max-width:34rem;margin:0 0 2rem;line-height:1.7}
.hk-trust{display:flex;flex-wrap:wrap;gap:.4rem 1.8rem;margin:2.4rem 0 0;padding:1.8rem 0 0;
  border-top:1px solid rgba(255,255,255,.12);list-style:none}
.hk-trust li{display:inline-flex;align-items:center;gap:.5rem;font-size:.86rem;color:rgba(255,255,255,.7);font-weight:500}
.hk-trust li::before{content:"";width:15px;height:8px;flex:none;
  border-left:2px solid var(--wp--preset--color--accent);
  border-bottom:2px solid var(--wp--preset--color--accent);transform:rotate(-45deg) translateY(-2px)}
.hk-stat{position:absolute;background:#fff;color:var(--wp--preset--color--primary);border-radius:14px;
  padding:.85rem 1.1rem;box-shadow:0 18px 50px rgba(20,33,61,.18);z-index:3}
.hk-stat b{font-family:var(--wp--preset--font-family--heading);font-size:1.5rem;display:block;line-height:1}
.hk-stat small{font-size:.72rem;color:var(--wp--preset--color--contrast-2);font-weight:600}
.hk-stat.s1{left:-6px;bottom:120px}
.hk-stat.s2{right:-6px;top:60px}

/* ── İstatistik bandı: rakamlar ALTIN + serif 2.9rem, aralarda dikey çizgi ── */
.hk-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.hk-stats .s{text-align:center;position:relative}
.hk-stats .s+.s::before{content:"";position:absolute;left:-12px;top:50%;transform:translateY(-50%);
  height:48px;width:1px;background:rgba(255,255,255,.16)}
.hk-stats b{font-family:var(--wp--preset--font-family--heading);font-size:2.9rem;font-weight:600;
  color:var(--wp--preset--color--accent);display:block;line-height:1}
.hk-stats small{display:block;margin-top:.5rem;font-size:.88rem;color:rgba(255,255,255,.72);
  font-weight:500;letter-spacing:.02em}

/* ── Çalışma alanı kartı ── */
.hk-areas{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hk-area{position:relative;background:#fff;border:1px solid var(--wp--preset--color--line);
  border-radius:14px;padding:2rem 1.7rem 1.7rem;overflow:hidden;transition:.22s}
.hk-area::before{content:"";position:absolute;left:0;top:0;width:100%;height:3px;
  background:var(--wp--preset--color--accent);transform:scaleX(0);transform-origin:left;transition:.22s}
.hk-area:hover{border-color:var(--wp--preset--color--base-3);box-shadow:0 18px 50px rgba(20,33,61,.10);transform:translateY(-4px)}
.hk-area:hover::before{transform:scaleX(1)}
.hk-area-ic{width:58px;height:58px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:var(--wp--preset--color--primary);margin-bottom:1.1rem;transition:.22s}
.hk-area-ic svg{width:30px;height:30px;stroke:var(--wp--preset--color--accent);fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:.22s}
.hk-area:hover .hk-area-ic{background:var(--wp--preset--color--accent)}
.hk-area:hover .hk-area-ic svg{stroke:var(--wp--preset--color--primary)}
.hk-area h3{font-size:1.3rem;margin:0 0 .5rem;font-family:var(--wp--preset--font-family--heading);
  font-weight:600;color:var(--wp--preset--color--primary)}
.hk-area p{color:var(--wp--preset--color--contrast-2);font-size:.95rem;margin:0 0 1.1rem;line-height:1.65}
.hk-area-link{display:inline-flex;align-items:center;gap:.45rem;color:var(--wp--preset--color--primary);
  font-weight:600;font-size:.88rem;text-decoration:none}
.hk-area-link span{color:var(--wp--preset--color--accent);transition:.2s}
.hk-area:hover .hk-area-link span{transform:translateX(4px);display:inline-block}

/* ── Neden biz ── */
.hk-why{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.hk-why-i{display:flex;gap:1.1rem;padding:1.5rem;background:#fff;
  border:1px solid var(--wp--preset--color--line);border-radius:14px}
.hk-why-i .n{font-family:var(--wp--preset--font-family--heading);font-size:1.5rem;
  color:var(--wp--preset--color--accent);flex:none;width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;line-height:1}
.hk-why-i h3{font-size:1.18rem;margin:0 0 .35rem;font-family:var(--wp--preset--font-family--heading);
  font-weight:600;color:var(--wp--preset--color--primary)}
.hk-why-i p{color:var(--wp--preset--color--contrast-2);font-size:.93rem;margin:0;line-height:1.6}

/* ── Kadro: beyaz kart, üstte koyu foto alanı ── */
.hk-team{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.hk-lawyer{background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:14px;
  overflow:hidden;transition:.22s;display:block;text-decoration:none}
.hk-lawyer:hover{box-shadow:0 18px 50px rgba(20,33,61,.10);transform:translateY(-4px)}
.hk-lawyer .ph{aspect-ratio:1/1.12;background:var(--wp--preset--color--base-2);position:relative;overflow:hidden}
.hk-lawyer .ph img{width:100%;height:100%;object-fit:cover}
.hk-lawyer .ph0,.hk-lawyer .scriptx-avatar{width:100%;height:100%;display:flex;align-items:center;
  justify-content:center;font-family:var(--wp--preset--font-family--heading);font-size:2.6rem;
  color:var(--wp--preset--color--accent);background:var(--wp--preset--color--primary);
  margin:0;border:0;border-radius:0;aspect-ratio:auto}
.hk-lawyer-b{padding:1.2rem 1.3rem 1.4rem}
.hk-lawyer-b h3{font-size:1.2rem;margin:0;font-family:var(--wp--preset--font-family--heading);
  font-weight:600;color:var(--wp--preset--color--primary)}
.hk-lawyer-b .role{color:#a9883a;font-weight:600;font-size:.82rem;letter-spacing:.04em;margin-top:.25rem}

/* ── Hakkımızda ── */
.hk-about{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.hk-about-media{position:relative}
.hk-about-media img{width:100%;display:block;border-radius:20px;position:relative;z-index:2}
.hk-about-media .frame{position:absolute;inset:18px -18px -18px 18px;
  border:2px solid var(--wp--preset--color--base-3);border-radius:20px;z-index:1}
.hk-prose{color:var(--wp--preset--color--contrast-2);font-size:1.04rem;line-height:1.8}
.hk-prose p{margin:0 0 1.1rem}
.hk-feats{list-style:none;margin:1.6rem 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.85rem}
.hk-feats li{display:flex;align-items:flex-start;gap:.7rem;font-size:.95rem;
  color:var(--wp--preset--color--contrast);font-weight:500}
.hk-feats li::before{content:"";width:14px;height:8px;flex:none;margin-top:5px;
  border-left:2px solid var(--wp--preset--color--accent);
  border-bottom:2px solid var(--wp--preset--color--accent);transform:rotate(-45deg)}

/* ── Ortalanmış bölüm başlığı ── */
.hk-head{max-width:680px;margin:0 auto 3rem;text-align:center}
.hk-head p{color:var(--wp--preset--color--contrast-2);font-size:1.06rem;margin:1rem 0 0;line-height:1.7}
.hk-head h2{margin:.9rem 0 0}

/* Türkçe uzun kelimeler bölünmesin */
.wp-block-heading,.wp-block-post-title,.hk-area h3{overflow-wrap:normal;word-break:normal;hyphens:none}

@media(max-width:781px){
  .hk-hero-in{grid-template-columns:1fr;gap:0}
  .hk-hero-l{padding:54px 0}
  .hk-hero-r{display:none}
  .hk-stats{grid-template-columns:1fr 1fr;gap:34px 16px}
  .hk-stats .s:nth-child(3)::before,.hk-stats .s:nth-child(odd)::before{display:none}
  .hk-areas,.hk-why,.hk-team,.hk-about,.hk-feats{grid-template-columns:1fr}
  .hk-about{gap:34px}
  .hk-about-media .frame{display:none}
}
@media(min-width:782px) and (max-width:1024px){
  .hk-areas{grid-template-columns:repeat(2,1fr)}
  .hk-team{grid-template-columns:repeat(2,1fr)}
}

/* Query loop <li> üretir; kadro kartını ona göre biçimlendir */
.hk-team-q .wp-block-post-template.hk-team{display:grid;grid-template-columns:repeat(4,1fr);
  gap:22px;list-style:none;padding:0;margin:0}
.hk-team-q .wp-block-post-template.hk-team > li{
  background:#fff;border:1px solid var(--wp--preset--color--line);border-radius:14px;
  overflow:hidden;transition:.22s;margin:0}
.hk-team-q .wp-block-post-template.hk-team > li:hover{
  box-shadow:0 18px 50px rgba(20,33,61,.10);transform:translateY(-4px)}
.hk-team-q .ph,.hk-team-q .ph img{margin:0;display:block;width:100%}
.hk-team-q .ph img{aspect-ratio:1/1.12;object-fit:cover}
.hk-team-q .scriptx-avatar{aspect-ratio:1/1.12;width:100%;margin:0;border:0;border-radius:0;
  background:var(--wp--preset--color--primary);color:var(--wp--preset--color--accent);
  font-family:var(--wp--preset--font-family--heading);font-size:2.6rem;
  display:flex;align-items:center;justify-content:center}
.hk-team-q .hk-lawyer-b{padding:1.2rem 1.3rem 1.4rem}
.hk-team-q .hk-lawyer-b h3{font-size:1.2rem;margin:0;font-family:var(--wp--preset--font-family--heading);
  font-weight:600;color:var(--wp--preset--color--primary)}
.hk-team-q .hk-lawyer-b .role{color:#a9883a;font-weight:600;font-size:.82rem;
  letter-spacing:.04em;margin:.25rem 0 0}
@media(max-width:781px){.hk-team-q .wp-block-post-template.hk-team{grid-template-columns:1fr}}
@media(min-width:782px) and (max-width:1024px){.hk-team-q .wp-block-post-template.hk-team{grid-template-columns:repeat(2,1fr)}}
