/*
Theme Name: Sevdimbaş Hukuk
Theme URI: https://sevdimbashukuk.com/
Author: Sevdimbaş Hukuk Bürosu
Description: Klasik Otorite tasarımı. Lacivert ve marka altını, tek sayfa ana sayfa; tüm metinler, rakamlar, ekip fotoğrafları ve iletişim bilgileri Görünüm › Özelleştir › Sevdimbaş Ana Sayfa altından düzenlenir. Polylang (TR/EN) ve Contact Form 7 ile uyumludur.
Version: 1.5.0
Requires at least: 4.9
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sevdimbas
*/

/* ===== CSS Variables ===== */
:root {
  --color-navy: #0F1E3D;
  --color-navy-dark: #0A1530;
  --color-gold: #C9AA6E;
  --color-gold-dark: #B0925A;
  --color-bg: #F7F5F0;
  --color-text: #1B2233;
  --color-text-secondary: #4A5368;
  --color-white: #FFFFFF;
  --color-border: #E8E3D9;
  --font-heading: 'EB Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --container-max: 1280px;
  --header-h: 80px;
  --transition-base: 0.3s ease;
  --shadow-card: 0 10px 30px rgba(15,30,61,0.08);
  --shadow-card-hover: 0 20px 40px rgba(15,30,61,0.12);
  --radius: 4px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 12px; }
.section-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.3; color: var(--color-navy); }
.section-divider { width: 60px; height: 2px; background: var(--color-gold); margin: 16px auto 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 36px; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; border-radius: var(--radius); transition: var(--transition-base); min-height: 48px; }
.btn-primary { background: var(--color-gold); color: var(--color-navy); border: 2px solid var(--color-gold); }
.btn-primary:hover, .btn-primary:focus { background: var(--color-gold-dark); border-color: var(--color-gold-dark); color: var(--color-navy); }
.btn-secondary { background: transparent; color: var(--color-white); border: 2px solid var(--color-white); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--color-white); color: var(--color-navy); }
.btn-gold-outline { background: transparent; color: var(--color-gold); border: 2px solid var(--color-gold); }
.btn-gold-outline:hover, .btn-gold-outline:focus { background: var(--color-gold); color: var(--color-navy); }

/* ===== Skip Link ===== */
.skip-link { position: absolute; top: -100%; left: 24px; z-index: 9999; padding: 12px 24px; background: var(--color-navy); color: var(--color-white); font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 24px; }

/* ===== Header ===== */
.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 1000; background: transparent; transition: background 0.3s ease, box-shadow 0.3s ease; }
.header.scrolled { background: rgba(15,30,61,0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--color-white); letter-spacing: 0.02em; }
.logo-sub { font-family: var(--font-body); font-weight: 700; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); }
.header.scrolled .logo-main { color: var(--color-white); }
.header.scrolled .logo-sub { color: var(--color-gold); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; gap: 4px; }
.nav-link { display: block; padding: 10px 16px; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-white); border-radius: var(--radius); transition: var(--transition-base); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: 8px; left: 50%; width: 0; height: 2px; background: var(--color-gold); transition: width 0.3s ease, left 0.3s ease; }
.nav-link:hover::after, .nav-link:focus::after { width: 60%; left: 20%; }
.header.scrolled .nav-link { color: var(--color-white); }
.header.scrolled .nav-link:hover { color: var(--color-gold); }
.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-btn.is-active { border-color: var(--color-gold); color: var(--color-gold); }
.lang-btn { min-width: 44px; min-height: 40px; justify-content: center; display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-weight: 700; font-size: 12px; color: var(--color-white); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--radius); transition: var(--transition-base); }
.lang-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
.header.scrolled .lang-btn { color: var(--color-white); border-color: rgba(255,255,255,0.3); }
.header.scrolled .lang-btn:hover { color: var(--color-gold); border-color: var(--color-gold); }
.mobile-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--color-white); }
.header.scrolled .mobile-menu-btn { color: var(--color-white); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; background: var(--color-navy); overflow: hidden; padding-top: var(--header-h); }
.hero-bg-pattern { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9AA6E' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero-text { padding-right: 40px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 24px; }
.hero-tag::before { content: ''; width: 40px; height: 1px; background: var(--color-gold); }
.hero-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(40px, 5vw, 64px); line-height: 1.2; color: var(--color-white); margin-bottom: 20px; }
.hero-title .gold-line { display: block; width: 120px; height: 1px; background: var(--color-gold); margin: 20px 0; }
.hero-desc { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.7); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; height: 100%; min-height: 500px; }
.hero-motif { width: 100%; max-width: 480px; height: auto; }
.hero-motif svg { width: 100%; height: 100%; }

.hero-feature { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin-top: 56px; border-top: 1px solid rgba(201,170,110,.35); }
.hf-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 28px 26px 0; color: #fff; transition: background .3s; }
.hf-item + .hf-item { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hf-item:hover .hf-title { color: var(--color-gold); }
.hf-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-gold); }
.hf-title { font-family: var(--font-heading); font-size: 19px; line-height: 1.35; transition: color .3s; }
.hf-main .hf-title { font-size: 22px; }
.hf-more { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); margin-top: 4px; }
@media (max-width: 900px) { .hero-feature { grid-template-columns: 1fr; } .hf-item + .hf-item { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.12); } .hf-item:not(.hf-main) { display: none; } }

/* ===== Stats Bar ===== */
.stats { background: var(--color-navy-dark); padding: 60px 0; border-top: 1px solid rgba(201,170,110,0.2); border-bottom: 1px solid rgba(201,170,110,0.2); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-item { position: relative; padding: 0 20px; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 60px; background: rgba(201,170,110,0.3); }
.stat-number { font-family: var(--font-heading); font-weight: 600; font-size: clamp(40px, 5vw, 56px); line-height: 1.1; color: var(--color-gold); margin-bottom: 8px; }
.stat-label { font-weight: 400; font-size: 15px; color: rgba(255,255,255,0.6); text-transform: none; letter-spacing: normal; }

/* ===== About ===== */
.about { background: var(--color-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text p { margin-bottom: 20px; color: var(--color-text-secondary); font-size: 17px; line-height: 1.8; }
.about-text p:last-child { margin-bottom: 0; }
.about-accredit { display: flex; flex-direction: column; gap: 16px; }
.accredit-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); transition: var(--transition-base); }
.accredit-item:hover { border-color: var(--color-gold); box-shadow: var(--shadow-card); }
.accredit-fig { font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1; color: var(--color-navy); min-width: 110px; }
.accredit-item { align-items: center !important; }
.accredit-content p { font-size: 15px !important; }
.accredit-icon { width: 48px; height: 48px; flex-shrink: 0; color: var(--color-gold); }
.accredit-content h4 { font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--color-navy); margin-bottom: 6px; }
.accredit-content p { font-size: 14px; color: var(--color-text-secondary); margin: 0; }

/* ===== Practice Areas ===== */
.practice { background: var(--color-bg); }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.practice-card { background: var(--color-white); padding: 40px; border-radius: var(--radius); border: 1px solid var(--color-border); transition: var(--transition-base); position: relative; overflow: hidden; }
.practice-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.practice-card:hover { border-color: var(--color-gold); box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-icon { width: 56px; height: 56px; margin-bottom: 24px; color: var(--color-gold); }
.practice-title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; color: var(--color-navy); margin-bottom: 12px; }
.practice-desc { color: var(--color-text-secondary); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.practice-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.practice-tag { font-size: 12px; font-weight: 700; padding: 6px 12px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 100px; color: var(--color-text-secondary); transition: var(--transition-base); }
.practice-card:hover .practice-tag { border-color: var(--color-gold); color: var(--color-gold); }

/* ===== Team ===== */
.team { background: var(--color-white); }
.team-intro { text-align: center; max-width: 700px; margin: 0 auto 50px; color: var(--color-text-secondary); font-size: 17px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { text-align: center; }
.team-avatar { width: 140px; height: 140px; border-radius: 50%; background: var(--color-navy); color: var(--color-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 600; font-size: 36px; margin: 0 auto 20px; border: 3px solid var(--color-gold); box-shadow: 0 0 0 6px var(--color-white), 0 0 0 9px var(--color-gold); transition: var(--transition-base); }
.team-card:hover .team-avatar { box-shadow: 0 0 0 6px var(--color-white), 0 0 0 9px var(--color-gold), 0 20px 40px rgba(15,30,61,0.15); transform: scale(1.02); }
.team-name { font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--color-navy); margin-bottom: 4px; }
.team-role { font-size: 14px; color: var(--color-text-secondary); font-weight: 400; }
.team-cta { text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--color-border); }
.team-cta p { color: var(--color-text-secondary); margin-bottom: 16px; }

/* ===== Publications ===== */
.publications { background: var(--color-bg); }
.pub-list { max-width: 960px; margin: 0 auto; }
.pub-item { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--color-border); align-items: start; transition: var(--transition-base); }
.pub-item:last-child { border-bottom: none; }
.pub-item:hover { padding-left: 12px; }
.pub-date { font-family: var(--font-heading); font-weight: 500; font-size: 16px; color: var(--color-gold); white-space: nowrap; flex-shrink: 0; }
.pub-content { display: flex; flex-direction: column; gap: 4px; }
.pub-category { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-secondary); }
.pub-title { font-family: var(--font-heading); font-weight: 500; font-size: 18px; color: var(--color-navy); line-height: 1.4; transition: var(--transition-base); }
.pub-item:hover .pub-title { color: var(--color-gold); }

/* ===== Contact ===== */
.contact { background: var(--color-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { padding-right: 40px; }
.contact-intro { color: var(--color-text-secondary); font-size: 17px; line-height: 1.8; margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--color-gold); margin-top: 2px; }
.contact-item h4 { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--color-navy); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--color-text-secondary); line-height: 1.6; transition: var(--transition-base); }
.contact-item a:hover { color: var(--color-gold); }
.contact-form-wrapper { background: var(--color-bg); padding: 48px; border-radius: var(--radius); border: 1px solid var(--color-border); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-navy); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 14px 16px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); transition: var(--transition-base); min-height: 48px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201,170,110,0.15); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.form-checkbox input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--color-gold); border: 1px solid var(--color-border); border-radius: 4px; }
.form-checkbox label { font-size: 13px; color: var(--color-text-secondary); line-height: 1.6; }
.form-submit { width: 100%; }
.form-status { display: none; padding: 16px; border-radius: var(--radius); margin-top: 16px; font-weight: 700; text-align: center; }
.form-status.success { display: block; background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.form-status.error { display: block; background: #FDEDEC; color: #C62828; border: 1px solid #F5C6CB; }
.contact-map { margin-top: 60px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); }
.contact-map iframe { width: 100%; height: 350px; display: block; }

/* ===== Footer ===== */
.footer { background: var(--color-navy-dark); color: rgba(255,255,255,0.6); padding: 40px 0; border-top: 1px solid rgba(201,170,110,0.2); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo .logo-main { color: var(--color-white); }
.footer-logo .logo-sub { color: var(--color-gold); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; transition: var(--transition-base); }
.footer-links a:hover { color: var(--color-gold); }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); max-width: 600px; line-height: 1.6; }
.footer-copy { font-size: 13px; }

/* ===== Scroll Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; }
  .hero-text { padding-right: 20px; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
  .contact-info { padding-right: 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 0 64px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { padding-right: 0; max-width: 500px; margin: 0 auto; }
  .hero-tag::before { display: none; }
  .hero-tag { justify-content: center; }
  .hero-title .gold-line { margin-left: auto; margin-right: auto; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 0; max-width: 300px; margin: 8px auto 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { padding: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .team-avatar { width: 104px; height: 104px; font-size: 28px; }
  .pub-item { grid-template-columns: 1fr; gap: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; }
  .contact-form-wrapper { padding: 32px 24px; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--color-navy); padding: 24px; flex-direction: column; gap: 16px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-link { padding: 14px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
  .nav-link::after { display: none; }
  .mobile-menu-btn { display: flex; z-index: 1001; }
  .lang-switch { margin: 0; justify-content: center; width: 100%; }
  .lang-btn { flex: 1; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 14px 24px; font-size: 13px; }
  .hero-title { font-size: 36px; }
  .section-title { font-size: 28px; }
  .practice-card { padding: 32px 24px; }
  .contact-form-wrapper { padding: 24px 16px; }
  .footer-links { gap: 16px; }
}

/* ===== Search + cookie kit ===== */
:root{--k-bg:#0F1E3D;--k-fg:#FFFFFF;--k-muted:rgba(255,255,255,.68);--k-accent:#C9AA6E;--k-line:rgba(255,255,255,.18);--k-head:'EB Garamond', serif;}
.kit-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--k-fg); background: transparent; border: 0; cursor: pointer; position: relative; z-index: 2; transition: color .2s, background .2s; }
.kit-search-btn:hover { color: var(--k-accent); }
.kit-search-btn svg { width: 20px; height: 20px; }
.kit-search { position: fixed; inset: 0; z-index: 2000; background: var(--k-bg); color: var(--k-fg); display: flex; flex-direction: column; padding: clamp(20px, 5vw, 56px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.kit-search.open { opacity: 1; visibility: visible; }
.kit-search-top { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; width: 100%; margin: 0 auto; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--k-muted); }
.kit-search-close { width: 44px; height: 44px; border: 1px solid var(--k-line); border-radius: 50%; background: transparent; color: var(--k-fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.kit-search-close:hover { border-color: var(--k-accent); color: var(--k-accent); }
.kit-search-body { max-width: 1100px; width: 100%; margin: clamp(32px, 8vh, 96px) auto 0; overflow-y: auto; }
.kit-search-label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--k-muted); margin-bottom: 12px; }
.kit-search-input { width: 100%; background: transparent; border: 0; border-bottom: 2px solid var(--k-fg); color: var(--k-fg); font-family: var(--k-head); font-size: clamp(28px, 5vw, 56px); padding: 8px 0 14px; outline: none; border-radius: 0; }
.kit-search-input::placeholder { color: var(--k-muted); opacity: .6; }
.kit-search-input:focus { border-bottom-color: var(--k-accent); }
.kit-search-hint { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.kit-chip { border: 1px solid var(--k-line); background: transparent; color: var(--k-fg); padding: 8px 14px; border-radius: 100px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.kit-chip:hover { border-color: var(--k-accent); color: var(--k-accent); }
.kit-results { list-style: none; margin: 28px 0 0; padding: 0; }
.kit-results li a { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--k-line); color: var(--k-fg); text-decoration: none; font-size: 18px; }
.kit-results li a:hover, .kit-results li a:focus-visible { color: var(--k-accent); }
.kit-results .kit-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--k-muted); }
.kit-results .kit-go { color: var(--k-accent); }
.kit-empty { margin-top: 28px; color: var(--k-muted); }
.kit-flash { animation: kitFlash 1.6s ease; }
@keyframes kitFlash { 0%, 40% { box-shadow: 0 0 0 3px var(--k-accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
.kit-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; max-width: 760px; margin: 0 auto; background: var(--k-bg); color: var(--k-fg); border: 1px solid var(--k-line); box-shadow: 0 18px 50px -20px rgba(0,0,0,.45); padding: 18px 20px; display: none; gap: 16px 24px; align-items: center; flex-wrap: wrap; font-size: 14px; line-height: 1.55; }
.kit-cookie.show { display: flex; }
.kit-cookie p { margin: 0; flex: 1 1 320px; color: var(--k-muted); }
.kit-cookie a { color: var(--k-fg); text-decoration: underline; text-underline-offset: 3px; }
.kit-cookie-actions { display: flex; gap: 8px; }
.kit-cookie button { min-height: 44px; padding: 0 18px; border-radius: 100px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; cursor: pointer; border: 1px solid var(--k-line); background: transparent; color: var(--k-fg); }
.kit-cookie button.kit-accept { background: var(--k-fg); color: var(--k-bg); border-color: var(--k-fg); }
.kit-cookie button:hover { border-color: var(--k-accent); }
@media (max-width: 600px) { .kit-results li a { grid-template-columns: 1fr auto; } .kit-results .kit-cat { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .kit-search { transition: none; } .kit-flash { animation: none; } }

/* =====================================================================
   WordPress additions
   ===================================================================== */
.header-actions { display: flex; align-items: center; gap: 4px; position: relative; z-index: 1001; }
.header .kit-search-btn { color: var(--color-white); }
.nav-list .current-menu-item > .nav-link::after, .nav-list .current_page_item > .nav-link::after { width: 60%; left: 20%; }
.logo--image img { display: block; max-height: 52px; width: auto; }
.footer-logo.logo--image img { max-height: 44px; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } .admin-bar .nav { top: calc(var(--header-h) + 46px) !important; } }
@media (max-width: 600px) { html #wpadminbar { position: fixed; } .admin-bar .header { top: 46px; } .admin-bar .nav { top: calc(var(--header-h) + 46px) !important; } }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 12px 20px; background: var(--color-navy); color: #fff; z-index: 100000; top: 8px; left: 8px; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption { max-width: 100%; } .wp-caption-text { font-size: 14px; color: var(--color-text-secondary); margin-top: 6px; }

.section-intro { text-align: center; color: var(--color-text-secondary); max-width: 700px; margin: 0 auto 50px; font-size: 17px; }
.team-avatar.has-photo { padding: 0; overflow: hidden; background: var(--color-bg); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; border-radius: 50%; display: block; }
.pub-item { color: inherit; }
.pub-all { text-align: center; margin-top: 40px; }

/* Videos (YouTube): thumbnail first, the player loads on click */
.videos { background: var(--color-white); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.video-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--color-navy); box-shadow: var(--shadow-card); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, opacity .3s ease; }
.video-frame:hover img, .video-frame:focus-visible img { transform: scale(1.04); opacity: .85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(15, 30, 61, .82); color: var(--color-gold); display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-gold); transition: transform .2s ease; }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-frame:hover .video-play { transform: scale(1.08); }
.video-meta { display: block; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-gold-dark); }
.video-title { margin-top: 6px; font-family: var(--font-heading); font-size: 19px; line-height: 1.35; color: var(--color-navy); }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.contact-grid--single { grid-template-columns: 1fr; }
.admin-note { padding: 20px; border: 1px dashed var(--color-gold); background: #FFFBF2; color: var(--color-text); font-size: 14px; border-radius: var(--radius); }
.contact-info a:hover { color: var(--color-gold-dark); }

/* Inner page header */
.page-hero { position: relative; background: var(--color-navy); color: #fff; padding: calc(var(--header-h) + 64px) 0 64px; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; }
.page-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.2; max-width: 900px; }
.page-meta { margin-top: 14px; color: rgba(255,255,255,.7); font-size: 15px; letter-spacing: .04em; }
.page-body { background: var(--color-white); }

/* Rich content (pages, posts) */
.entry { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: var(--color-text-secondary); }
.entry--page { max-width: 1140px; }
.entry > * + * { margin-top: 1.1em; }
.entry h2, .entry h3, .entry h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-navy); line-height: 1.3; margin-top: 1.6em; }
.entry h2 { font-size: 32px; } .entry h3 { font-size: 25px; } .entry h4 { font-size: 20px; }
.entry a { color: var(--color-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.4em; } .entry ul { list-style: disc; } .entry ol { list-style: decimal; }
.entry li + li { margin-top: .4em; }
.entry blockquote { border-left: 3px solid var(--color-gold); padding: 4px 0 4px 20px; font-family: var(--font-heading); font-size: 21px; color: var(--color-navy); }
.entry img { max-width: 100%; height: auto; }
.entry table { width: 100%; border-collapse: collapse; } .entry th, .entry td { border-bottom: 1px solid var(--color-border); padding: 10px 8px; text-align: left; }
.entry-thumb { margin-bottom: 32px; } .entry-thumb img { width: 100%; height: auto; border-radius: var(--radius); }
.empty-state { text-align: center; } .empty-state .btn { margin-top: 24px; text-decoration: none; color: var(--color-navy); }

/* Publications archive */
.pub-list--archive { max-width: 900px; }
/* News images (featured image of each post, as on the previous site) */
.pub-item.has-thumb { grid-template-columns: 200px auto 1fr; align-items: center; }
.pub-thumb { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-bg); aspect-ratio: 3 / 2; }
.pub-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pub-item:hover .pub-thumb img { transform: scale(1.04); }
@media (max-width: 768px) { .pub-item.has-thumb { grid-template-columns: 1fr; } .pub-thumb { max-width: 100%; } }
.pub-list--archive .pub-title { font-size: 21px; }
.pub-excerpt { font-size: 15px; color: var(--color-text-secondary); margin-top: 6px; }
.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-navy); font-weight: 700; font-size: 14px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.post-nav { max-width: 820px; margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--color-border); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 16px; align-items: center; }
.post-nav a { color: var(--color-navy); font-weight: 700; font-size: 14px; }
.post-nav .btn { color: var(--color-gold-dark); }
.post-nav-next { text-align: right; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav .btn { grid-column: 1 / -1; grid-row: 2; } }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font: inherit; }
.search-form .search-submit { min-height: 48px; padding: 0 24px; background: var(--color-navy); color: #fff; border: 0; border-radius: var(--radius); font-weight: 700; cursor: pointer; }

/* Contact Form 7 inside the contact card */
.wpcf7-form p { margin: 0 0 20px; }
.wpcf7-form label { display: block; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--color-navy); }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="url"], .wpcf7-form input[type="number"], .wpcf7-form input[type="date"], .wpcf7-form select, .wpcf7-form textarea {
	width: 100%; padding: 14px 16px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius); color: var(--color-text); font: inherit; font-size: 16px; min-height: 48px; text-transform: none; letter-spacing: normal; font-weight: 400; transition: var(--transition-base);
}
.wpcf7-form textarea { min-height: 140px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(201,170,110,.18); }
.wpcf7-form .wpcf7-acceptance label, .wpcf7-form .wpcf7-checkbox label, .wpcf7-form .wpcf7-radio label { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--color-text-secondary); font-size: 14px; display: inline-flex; gap: 10px; align-items: flex-start; }
.wpcf7-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--color-gold); margin-top: 2px; }
.wpcf7-form input[type="submit"], .wpcf7-submit { width: 100%; min-height: 48px; padding: 16px 36px; background: var(--color-gold); color: var(--color-navy); border: 2px solid var(--color-gold); border-radius: var(--radius); font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: var(--transition-base); }
.wpcf7-form input[type="submit"]:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #C62828; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output, div.wpcf7-response-output { margin: 16px 0 0 !important; padding: 14px 16px !important; border-radius: var(--radius); font-size: 14px; font-weight: 700; text-align: center; }
.wpcf7-mail-sent-ok, .wpcf7 form.sent .wpcf7-response-output { background: #E8F5E9; color: #2E7D32; border-color: #C8E6C9 !important; }
.ajax-loader, .wpcf7-spinner { display: block; margin: 10px auto 0; }

/* Live-site text fidelity helpers */
.stat-suffix { font-size: .42em; margin-left: .15em; letter-spacing: .01em; }
.about-grid--single { grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .about-grid--single .about-text { columns: 2; column-gap: 56px; } .about-grid--single .about-text p { break-inside: avoid; } }
.hero-title:only-child, .hero-text > .hero-title:first-child { margin-top: 0; }

/* Team cards linking to profile pages */
.team-link { display: block; color: inherit; border-radius: var(--radius); }
.team-link:hover .team-name, .team-link:focus-visible .team-name { color: var(--color-gold-dark); }
.team-link:hover .team-avatar { box-shadow: 0 0 0 6px var(--color-white), 0 0 0 9px var(--color-gold), 0 20px 40px rgba(15,30,61,0.15); }
/* The arrow sits outside the text flow so the name stays centred under the photo. */
.team-link .team-name { position: relative; display: inline-block; }
.team-link .team-name::after { content: '→'; position: absolute; left: 100%; top: 0; margin-left: 8px; opacity: 0; transition: opacity .2s ease; color: var(--color-gold-dark); }
.team-link:hover .team-name::after, .team-link:focus-visible .team-name::after { opacity: 1; }

/* Team profile template */
.profile-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; align-items: start; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--color-navy); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--color-border); box-shadow: var(--shadow-card); }
.profile-photo span { font-family: var(--font-heading); font-size: 88px; font-weight: 600; color: var(--color-gold); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-contact { width: 100%; margin-top: 20px; text-transform: none; letter-spacing: 0; font-size: 14px; }
.profile-body.entry { max-width: none; margin: 0; }
.profile-back { margin-top: 40px; font-weight: 700; }
.profile-back a { text-decoration: none; color: var(--color-navy); }
.profile-back a:hover { color: var(--color-gold-dark); }
.profile-body h2 { font-size: 22px; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--color-border); }
.entry .profile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.entry .profile-list li { margin: 0; padding-left: 18px; border-left: 2px solid var(--color-gold); }
.profile-list strong { display: block; color: var(--color-navy); }
.profile-list span { display: block; font-size: 15px; color: var(--color-text-secondary); }
.entry .profile-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.entry .profile-chips li { margin: 0; line-height: 1.4; padding: 6px 16px; border: 1px solid var(--color-gold); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--color-navy); }
@media (max-width: 768px) { .profile-grid { grid-template-columns: 1fr; gap: 32px; } .profile-side { max-width: 320px; } }

/* Original firm logo (light version) */
.logo--brand { display: inline-flex; align-items: center; position: relative; z-index: 2; }
.logo--brand img { display: block; height: 54px; width: auto; }
.footer-logo.logo--brand img { height: 46px; }
@media (max-width: 480px) { .logo--brand img { height: 44px; } }
