/* Hukuk Rehberi — Modern Legal Editorial Portal / Premium Institutional Design System */
:root {
  --bg-page: #F6F7F9;
  --bg-surface: #FFFFFF;
  --bg-subtle: #EDF1F7;
  --bg-elevated: #FAFBFD;
  --navy-950: #061024;
  --navy-900: #0B1F47;
  --navy-800: #16326E;
  --navy-700: #1D4ED8;
  --gold-600: #9A4406;
  --gold-500: #C86D08;
  --gold-400: #E59500;
  --gold-300: #FCD34D;
  --gold-100: #FEF3C7;
  --gold-50: #FFFBEB;
  --text-main: #0B1528;
  --text-secondary: #2D3B52;
  --text-muted: #55657E;
  --border-color: #DCE3EE;
  --border-strong: #B8C4D9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(6, 16, 36, 0.05), 0 2px 6px rgba(6, 16, 36, 0.03);
  --shadow-md: 0 8px 22px rgba(6, 16, 36, 0.07), 0 2px 6px rgba(6, 16, 36, 0.04);
  --shadow-lg: 0 16px 36px rgba(6, 16, 36, 0.12), 0 4px 12px rgba(6, 16, 36, 0.05);
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', 'EB Garamond', Georgia, 'Times New Roman', serif;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(200, 109, 8, 0.16);
}

@media (pointer: fine) {
  html {
    overscroll-behavior: none;
  }
}

h1, h2, h3, h4, .section-title, .hero-title, .card-title, .hero-news-lead-title {
  font-family: var(--font-serif);
  letter-spacing: -0.015em;
  text-wrap: balance;
  scroll-margin-top: 88px;
}

.article-prose p, .article-prose blockquote, .article-prose li, .card-summary, .term-def {
  text-wrap: pretty;
}

.brand-title {
  font-family: var(--font-serif);
}

button, input, select, textarea {
  font-family: var(--font-sans);
}

a, button, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Skip Link & Screen Reader Helpers */
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10000;
  background: var(--gold-300);
  color: var(--navy-950);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--gold-600);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--navy-700);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   1. TOP UTILITY BAR & INSTITUTIONAL MASTHEAD HEADER
   ========================================================= */
.topbar {
  background: var(--navy-950);
  color: #CBD5E1;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(229, 149, 0, 0.22);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 4px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-badge {
  background: rgba(229, 149, 0, 0.16);
  color: #FCD34D;
  border: 1px solid rgba(252, 211, 77, 0.38);
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.topbar-links a {
  color: #CBD5E1;
  font-weight: 500;
  padding: 2px 11px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.16s ease;
}

.topbar-links a:first-child {
  border-left: none;
  padding-left: 0;
}

.topbar-links a:last-child {
  padding-right: 0;
}

.topbar-links a:hover {
  color: #FCD34D;
}

.topbar-links a:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Main Header & Navigation */
.site-header {
  background: var(--navy-900);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 22px rgba(6, 16, 36, 0.24);
  border-bottom: 2px solid var(--gold-500);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
  text-decoration: none;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo:hover {
  color: #FFFFFF;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(229, 149, 0, 0.22), rgba(154, 68, 6, 0.38));
  border: 1px solid rgba(252, 211, 77, 0.6);
  box-shadow: inset 0 0 0 2px rgba(6, 16, 36, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FCD34D;
  font-size: 0;
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.brand-logo:hover .brand-icon {
  border-color: #FCD34D;
  transform: translateY(-1px);
}

.brand-icon::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCD34D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v16m-7 2h14M5 7h14M12 3l-2 2m2-2 2 2M5 7l-3 7h6L5 7Zm14 0-3 7h6l-3-7ZM8 14a3 2 0 0 1-6 0m20 0a3 2 0 0 1-6 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  line-height: 1.12;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: #FCD34D;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-link {
  color: #E2E8F0;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
}

.nav-link:is(.active, [aria-current="page"]):not(.nav-cta) {
  position: relative;
  color: #FCD34D;
}

.nav-link:is(.active, [aria-current="page"]):not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-300);
}

.nav-link.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(229, 149, 0, 0.16);
  border: 1px solid rgba(252, 211, 77, 0.55);
  color: #FCD34D;
  font-weight: 700;
  margin-left: 8px;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
}

.nav-link.nav-cta:hover {
  background: var(--gold-400);
  border-color: var(--gold-300);
  color: var(--navy-950);
}

.nav-link.nav-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link.nav-has-children {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-caret {
  font-size: 0.72rem;
  opacity: 0.85;
  transition: transform 0.18s ease, color 0.18s ease;
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.open .nav-caret {
  transform: rotate(180deg);
  color: #FCD34D;
}

.nav-submenu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FCD34D;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 245px;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 20px 42px rgba(6, 16, 36, 0.48);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 1100;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  color: #CBD5E1;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.14s ease, color 0.14s ease;
  white-space: nowrap;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active,
.nav-dropdown-link[aria-current="page"] {
  background: rgba(229, 149, 0, 0.16);
  color: #FCD34D;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #FFFFFF;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn[aria-expanded="true"] {
  background: rgba(229, 149, 0, 0.2);
  border-color: #FCD34D;
}

.mobile-menu-btn:focus-visible,
.nav-link:focus-visible,
.brand-logo:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 3px;
}

/* =========================================================
   2. HERO SECTION & CENTRAL LEGAL SEARCH CONSOLE
   ========================================================= */
.hero-section {
  background-color: var(--navy-950);
  background-image:
    radial-gradient(ellipse 70% 80% at 18% 20%, rgba(22, 50, 110, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 88% 12%, rgba(200, 109, 8, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #061024 0%, #0B1F47 62%, #081838 100%);
  color: #FFFFFF;
  padding: 52px 0 64px;
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(229, 149, 0, 0.32);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.hero-glow-layer {
  display: none;
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 684px);
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  max-width: 520px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: #FDE68A;
  padding: 5px 14px 5px 6px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-eyebrow-badge {
  padding: 4px 9px;
  border-radius: 4px;
  background-color: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.hero-eyebrow-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #FDE68A;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 1.55rem + 2.3vw, 3.45rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.hero-title-accent {
  font-style: italic;
  color: #FCD34D;
  font-weight: 700;
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.66;
  color: #CBD5E1;
  max-width: 500px;
  font-weight: 400;
}

/* Global Search Box in Hero */
.hero-search-box {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-top: 4px;
}

.hero-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 7px 7px 7px 18px;
  box-shadow: 0 18px 38px rgba(3, 9, 23, 0.42);
  border: 2px solid rgba(252, 211, 77, 0.45);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.hero-search-form:focus-within {
  border-color: #FCD34D;
  box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.25), 0 18px 38px rgba(3, 9, 23, 0.48);
}

.hero-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 12px 6px 12px 30px;
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text-main);
  outline: none;
  border-radius: var(--radius-sm);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='19' height='19' viewBox='0 0 24 24' fill='none' stroke='%230B1F47' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.34-4.34'/%3E%3C/svg%3E") no-repeat 0 center;
}

.hero-search-input:focus-visible {
  outline: none;
}

.hero-search-input::placeholder {
  color: #55657E;
  font-weight: 500;
}

.hero-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold-400);
  color: var(--navy-950);
  border: 1px solid #FCD34D;
  min-height: 50px;
  padding: 12px 19px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.hero-search-btn:hover {
  background: #FCD34D;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 149, 0, 0.35);
}

.hero-search-btn:focus-visible {
  outline: 2px solid var(--navy-950);
  outline-offset: 2px;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 44px rgba(6, 16, 36, 0.28);
  border: 1px solid var(--border-strong);
  max-height: 380px;
  overflow-y: auto;
  z-index: 999;
  display: none;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  transition: background-color 0.14s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: var(--gold-50);
}

.search-result-cat {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 2px;
}

.search-result-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.search-highlight {
  background: #FEF3C7;
  color: #78350F;
  border-radius: 3px;
  padding: 0 2px;
}

.hero-quick-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 2px;
}

.hero-quick-tags strong {
  color: #CBD5E1;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-right: 2px;
}

.hero-quick-tags a {
  background: rgba(255, 255, 255, 0.06);
  color: #E2E8F0;
  padding: 5px 11px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
  font-size: 0.76rem;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.hero-quick-tags a:hover {
  background: rgba(229, 149, 0, 0.22);
  color: #FCD34D;
  border-color: rgba(252, 211, 77, 0.5);
}

.hero-quick-tags a:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
}

/* =========================================================
   3. FEATURED LEGAL NEWS SHOWCASE (EDITORIAL GAZETTE MODULE)
   ========================================================= */
.hero-news-card {
  width: 100%;
  background: #081736;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 3px solid var(--gold-400);
  border-radius: var(--radius-lg);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 52px rgba(2, 8, 23, 0.48);
}

.hero-news-card::before {
  content: 'GÜNCEL YARGI GÜNDEMİ & EMSAL KARAR VİTRİNİ';
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FCD34D;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-news-list {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 496px;
  align-items: stretch;
}

.hero-news-leads {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.hero-news-sublist {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.hero-news-lead {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  background: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-news-lead:hover {
  border-color: rgba(252, 211, 77, 0.65);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero-news-lead:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
}

.hero-news-lead--primary {
  height: 296px;
  min-height: 296px;
}

.hero-news-lead--secondary {
  height: 186px;
  min-height: 186px;
}

.hero-news-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hero-news-lead:hover img {
  transform: scale(1.03);
}

.hero-news-lead-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 36, 0.05) 0%, rgba(6, 16, 36, 0.52) 46%, rgba(6, 16, 36, 0.96) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 8px;
}

.hero-news-lead--secondary .hero-news-lead-overlay {
  background: linear-gradient(180deg, rgba(6, 16, 36, 0.15) 0%, rgba(6, 16, 36, 0.62) 45%, rgba(6, 16, 36, 0.96) 100%);
  padding: 16px 18px;
  gap: 7px;
}

.hero-news-lead-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-news-lead-badge {
  display: inline-block;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.hero-news-lead-badge--blue {
  background: rgba(59, 130, 246, 0.28);
  border: 1px solid rgba(147, 197, 253, 0.5);
  color: #DBEAFE;
  font-weight: 700;
}

.hero-news-lead-tag {
  display: inline-block;
  background: rgba(6, 16, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.hero-news-lead-subtag {
  font-size: 0.64rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.04em;
}

.hero-news-lead-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.26;
  transition: color 0.18s ease;
}

.hero-news-lead--secondary .hero-news-lead-title {
  font-size: 1.06rem;
  line-height: 1.28;
}

.hero-news-lead:hover .hero-news-lead-title {
  color: #FCD34D;
}

.hero-news-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 3px solid transparent;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  text-decoration: none;
}

.hero-news-item:hover {
  background: rgba(229, 149, 0, 0.13);
  border-color: rgba(252, 211, 77, 0.35);
  border-left-color: #FCD34D;
  transform: translateX(2px);
}

.hero-news-item:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
}

.hero-news-thumb {
  width: 64px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #1E293B;
}

.hero-news-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-news-item-title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: #F8FAFC;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.16s ease;
}

.hero-news-item:hover .hero-news-item-title {
  color: #FDE68A;
}

.hero-news-cat-tag {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FCD34D;
  line-height: 1.2;
}

.hero-news-cat-tag--gold { color: #FCD34D; }
.hero-news-cat-tag--blue { color: #93C5FD; }
.hero-news-cat-tag--emerald { color: #6EE7B7; }
.hero-news-cat-tag--sky { color: #BAE6FD; }

.hero-news-all-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(229, 149, 0, 0.14);
  border: 1px solid rgba(252, 211, 77, 0.36);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FDE68A;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hero-news-all-btn:hover {
  background: var(--gold-400);
  border-color: #FCD34D;
  color: var(--navy-950);
}

.hero-news-all-btn:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
}

/* =========================================================
   4. SIX CORE PORTAL CATEGORY CARDS (.modules-strip)
   ========================================================= */
.modules-strip {
  margin-top: -26px;
  position: relative;
  z-index: 35;
  margin-bottom: 44px;
}

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

.module-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 28px;
  align-items: center;
  text-align: left;
  gap: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.module-card::after {
  content: '→';
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  border-top-color: var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.module-card:hover::after {
  background: var(--navy-900);
  color: #FCD34D;
  transform: translateX(2px);
}

.module-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--gold-50);
  border: 1px solid rgba(200, 109, 8, 0.28);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.module-card:hover .module-icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
}

.module-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.module-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.module-info h3 {
  font-family: var(--font-serif);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
  line-height: 1.25;
}

.module-info::after {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
}

.module-card[href="/mevzuat/"] .module-info::after {
  content: 'Kanun, CBK, Yönetmelik & Tebliğler';
}
.module-card[href="/ictihatlar/"] .module-info::after {
  content: 'Yargıtay, Danıştay, AYM & İstinaf';
}
.module-card[href="/makaleler/"] .module-info::after {
  content: '31 Hukuk Dalında Akademik İnceleme';
}
.module-card[href="/adli-rehber/"] .module-info::after {
  content: '81 İl / 928 Adliye, Baro & Cezaevi';
}
.module-card[href="/hukuk-sozlugu/"] .module-info::after {
  content: '1.555+ Terimlik Ansiklopedik Sözlük';
}
.module-card[href="/dilekce-ve-formlar/"] .module-info::after {
  content: 'Uygulamalı Dava & Başvuru Örnekleri';
}

/* =========================================================
   5. EDITORIAL SECTIONS, ACADEMIC ARTICLES & CATEGORY GRIDS
   ========================================================= */
.section {
  padding: 48px 0;
}

#editable-article-body > .section + .section {
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 420px;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 14px;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 84px;
  height: 2px;
  background: var(--gold-500);
}

.section-title-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-600);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold-500);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.22;
}

.section-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.section-link:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
}

.content-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  border-top-color: var(--gold-500);
}

.card-badge {
  display: inline-block;
  background: #EFF3F9;
  border: 1px solid #D5E0F0;
  color: var(--navy-800);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.card-badge.gold {
  background: var(--gold-50);
  border-color: rgba(200, 109, 8, 0.3);
  color: var(--gold-600);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 10px;
}

.card-title a {
  color: var(--navy-900);
}

.card-title a:hover {
  color: var(--gold-600);
}

.card-summary {
  font-size: 0.915rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 13px;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.card-meta a {
  font-weight: 700;
  color: var(--navy-800);
}

.card-meta a:hover {
  color: var(--gold-600);
}

/* Category Pills Grid (31 Hukuk Dalı) */
.cat-pills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.cat-pill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--navy-800);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

.cat-pill-card:hover {
  border-color: var(--gold-500);
  border-left-color: var(--gold-500);
  background: #FFFDF7;
  color: var(--navy-900);
  transform: translateX(2px);
}

.cat-count {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--navy-900);
  font-size: 0.75rem;
  padding: 2px 9px;
  border-radius: 4px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cat-pill-card:hover .cat-count {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
}

/* =========================================================
   6. SEARCH FILTERS, SUBPAGE BANNERS & ARTICLE PROSE
   ========================================================= */
.search-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.search-filters label {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
}

.search-empty {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.search-empty p + p { margin-top: 6px; }

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.search-suggestions a {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-weight: 600;
}

.search-more-wrap { display: flex; justify-content: center; margin: 24px 0 8px; }

.search-more-btn {
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  background: #fff;
  color: var(--navy-800);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.search-more-btn:hover { background: var(--navy-900); color: #fff; }

.hero-stats-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(6, 16, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #FCD34D;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-top: 4px;
}

/* Page Header / Breadcrumbs */
.page-banner {
  background: radial-gradient(circle at 88% 30%, rgba(229, 149, 0, 0.12), transparent 42%),
              linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: #FFFFFF;
  padding: 38px 0 34px;
  border-bottom: 1px solid rgba(229, 149, 0, 0.32);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' fill='none'%3E%3Cg stroke='%23F59E0B' stroke-width='1.15' opacity='0.10'%3E%3Ccircle cx='1030' cy='120' r='115' stroke-dasharray='4 6'/%3E%3Ccircle cx='1030' cy='120' r='82'/%3E%3Cline x1='1030' y1='22' x2='1030' y2='218'/%3E%3Cline x1='940' y1='74' x2='1120' y2='74'/%3E%3Cpath d='M940 74 L916 138 H964 Z'/%3E%3Cpath d='M1120 74 L1096 138 H1144 Z'/%3E%3Cpath d='M912 138 Q940 156 968 138'/%3E%3Cpath d='M1092 138 Q1120 156 1148 138'/%3E%3Cline x1='992' y1='218' x2='1068' y2='218'/%3E%3C/g%3E%3Cg stroke='%2393C5FD' stroke-width='1' opacity='0.06'%3E%3Cpath d='M760 240 V45 L815 16 L870 45 V240'/%3E%3Cline x1='782' y1='48' x2='782' y2='240'/%3E%3Cline x1='804' y1='48' x2='804' y2='240'/%3E%3Cline x1='826' y1='48' x2='826' y2='240'/%3E%3Cline x1='848' y1='48' x2='848' y2='240'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.page-banner > .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94A3B8;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #CBD5E1;
}

.breadcrumbs a:hover {
  color: #FCD34D;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #FFFFFF;
}

.page-banner-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.banner-print-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #F8FAFC;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.banner-print-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #FFFFFF;
}

/* Two-Column Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding: 38px 0 58px;
  align-items: start;
}

.article-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-color);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn:hover {
  border-color: var(--navy-800);
  color: var(--navy-900);
  background: var(--bg-subtle);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: #FFFFFF;
}

.article-prose {
  font-size: 1.03rem;
  line-height: 1.82;
  color: var(--text-main);
  max-width: 72ch;
  margin-inline: auto;
}

.article-prose p {
  margin-bottom: 1.18em;
}

.article-prose h2, .article-prose h3, .article-prose h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  margin: 1.65em 0 0.65em;
  line-height: 1.32;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 1.2em 1.5em;
}

.article-prose li {
  margin-bottom: 0.45em;
}

.article-prose table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 1.25em 0;
  font-size: 0.92rem;
}

.article-prose td, .article-prose th {
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.article-prose blockquote {
  border-left: 4px solid var(--gold-500);
  background: var(--gold-50);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.3em 0;
}

.notice-banner {
  background: var(--gold-50);
  border: 1px solid rgba(200, 109, 8, 0.35);
  border-left: 4px solid var(--gold-500);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.94rem;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 28px 0;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold-400);
}

.widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-list li a {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.widget-list li a:hover {
  background: var(--bg-subtle);
  color: var(--navy-900);
}

/* =========================================================
   7. INTERACTIVE FILTER CONSOLES (MEVZUAT, İÇTİHAT, SÖZLÜK, ADLİ REHBER)
   ========================================================= */
.filter-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-input, .filter-select {
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.filter-input {
  flex: 1;
  min-width: 240px;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(22, 50, 110, 0.14);
}

.alphabet-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.alpha-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.alpha-btn:hover, .alpha-btn.active {
  background: var(--navy-900);
  color: #FCD34D;
  border-color: var(--navy-900);
}

/* Directory & Dictionary Results */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 16px;
}

.dir-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--navy-800);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.dir-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dir-detail {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.dir-detail strong {
  color: var(--text-main);
}

.term-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.term-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--navy-800);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.term-word {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.term-def {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* Mevzuat Browser */
.mevzuat-list { display: flex; flex-direction: column; gap: 8px; }
.mevzuat-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.mevzuat-row:hover { border-color: var(--gold-500); background: #FFFDF9; }
.mevzuat-no {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--navy-900);
  background: #EFF3F9;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  padding: 4px 9px;
  min-width: 60px;
  text-align: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.mevzuat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mevzuat-title { font-size: 0.89rem; font-weight: 600; color: var(--navy-900); line-height: 1.35; text-decoration: none; }
.mevzuat-title:hover { color: var(--gold-600); }
.mevzuat-meta { font-size: 0.75rem; color: var(--text-muted); display: flex; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.mevzuat-btn {
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 5px;
  background: var(--navy-900);
  color: #FFFFFF !important;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.mevzuat-btn:hover { background: var(--gold-600); }

.mevzuat-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.mevzuat-tab {
  padding: 16px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
}

.mevzuat-tab-icon {
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mevzuat-tab-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.mevzuat-tab-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.mevzuat-tab-count {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.mevzuat-tab:hover {
  transform: translateY(-2px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.mevzuat-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(11, 31, 71, 0.2);
}

.mevzuat-tab.active .mevzuat-tab-icon { color: #FCD34D; }
.mevzuat-tab.active .mevzuat-tab-name { color: #FFFFFF; }
.mevzuat-tab.active .mevzuat-tab-count { color: #FCD34D; }

.mevzuat-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-variant-numeric: tabular-nums;
}

/* Native <dialog> & Legacy Modal Support */
dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(6, 16, 36, 0.74);
  backdrop-filter: blur(4px);
}

.ictihat-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 16, 36, 0.74);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ictihat-modal-backdrop.open { display: flex; }

dialog.ictihat-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(960px, calc(100vw - 40px));
  max-height: 90dvh;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

dialog.ictihat-modal[open] {
  display: flex;
  flex-direction: column;
}

div.ictihat-modal {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.ictihat-modal-header {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: #FFFFFF;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--gold-500);
}

.ictihat-modal-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.ictihat-modal-sub {
  font-size: 0.78rem;
  color: #FCD34D;
  margin-top: 3px;
}

.ictihat-modal-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.ictihat-modal-toolbar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.ictihat-modal-body { padding: 28px 32px; overflow-y: auto; font-size: 0.96rem; line-height: 1.78; color: var(--text-main); }
.ictihat-modal-body font { font-family: var(--font-sans) !important; font-size: 0.96rem !important; }
mark.ictihat-hl { background: #FEF08A; color: #713F12; padding: 1px 4px; border-radius: 4px; font-weight: 700; box-shadow: 0 0 0 1px #FDE047; }

/* İçtihat Arama Motoru (Ferah & Katmanlı Kurumsal Konsol) */
.ictihat-engine-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.ictihat-engine-header {
  background: var(--bg-subtle);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
}

.ictihat-engine-title-wrap h2 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ictihat-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-50);
  border: 1px solid rgba(200, 109, 8, 0.4);
  color: var(--gold-600);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.ictihat-engine-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ictihat-court-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.ictihat-court-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, background-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  box-shadow: var(--shadow-sm);
}

.ictihat-court-card:hover {
  border-color: var(--gold-500);
  background: #FFFDF7;
  transform: translateY(-1px);
}

.ictihat-court-card.active {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-color: var(--navy-900);
  box-shadow: 0 8px 18px rgba(11, 31, 71, 0.22);
}

.court-card-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.25;
}

.ictihat-court-card.active .court-card-name { color: #FFFFFF; }

.court-card-count {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.ictihat-court-card.active .court-card-count { color: #FCD34D; }

.ictihat-aym-subbar {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: var(--gold-50);
  border: 1px solid rgba(200, 109, 8, 0.4);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.ictihat-aym-subbar.open { display: flex; }

.ictihat-aym-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.ictihat-aym-pill {
  background: #FFFFFF;
  border: 1px solid rgba(200, 109, 8, 0.45);
  color: var(--gold-600);
  font-size: 0.79rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ictihat-aym-pill:hover, .ictihat-aym-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
}

.ictihat-search-zone {
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ictihat-main-search {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.ictihat-search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.ictihat-search-icon {
  position: absolute;
  left: 16px;
  font-size: 1.1rem;
  color: var(--navy-800);
  pointer-events: none;
}

.ictihat-main-input {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-main);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.ictihat-main-input:focus {
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(22, 50, 110, 0.15);
}

.ictihat-submit-btn {
  background: var(--navy-900);
  color: #FFFFFF;
  border: 1px solid var(--navy-900);
  border-radius: var(--radius-sm);
  padding: 0 26px;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.ictihat-submit-btn:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
}

.ictihat-adv-toggle-btn {
  background: #FFFFFF;
  color: var(--navy-900);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ictihat-adv-toggle-btn:hover, .ictihat-adv-toggle-btn.open {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

.ictihat-reset-btn {
  background: #FFFFFF;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ictihat-reset-btn:hover {
  background: #FEF2F2;
  color: #B91C1C;
  border-color: #FCA5A5;
}

.ictihat-quick-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ictihat-quick-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}

.ictihat-chip {
  background: #FFFFFF;
  border: 1px solid rgba(200, 109, 8, 0.4);
  color: var(--gold-600);
  font-size: 0.79rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ictihat-chip:hover, .ictihat-chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
  transform: translateY(-1px);
}

.ictihat-adv-drawer {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.ictihat-adv-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ictihat-adv-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.ictihat-adv-drawer-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ictihat-date-presets {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ictihat-preset-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ictihat-preset-btn:hover, .ictihat-preset-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #FCD34D;
}

.ictihat-adv-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ictihat-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ictihat-field label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ictihat-field .filter-input,
.ictihat-field .filter-select {
  width: 100%;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  padding: 10px 12px;
  font-size: 0.9rem;
}

.ictihat-daire-filters { display: inline-flex; gap: 4px; }

.ictihat-daire-type-btn {
  border: 1px solid var(--border-strong);
  background: #FFFFFF;
  color: var(--text-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  text-transform: none;
}

.ictihat-daire-type-btn.active {
  background: var(--navy-900);
  color: #FFFFFF;
  border-color: var(--navy-900);
}

.ictihat-date-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ictihat-active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ictihat-active-filters:empty { display: none; }

.ictihat-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #EFF3F9;
  border: 1px solid #B8C4D9;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
}

.ictihat-filter-tag button {
  border: none;
  background: none;
  color: var(--navy-900);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1;
}

.ictihat-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.ictihat-status-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.ictihat-status-sort {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ictihat-result-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--navy-800);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ictihat-result-card:hover {
  border-color: var(--gold-500);
  border-left-color: var(--gold-500);
  background: #FFFDF9;
  box-shadow: var(--shadow-sm);
}

.ictihat-result-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.ictihat-result-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ictihat-court-badge {
  background: #EFF3F9;
  color: var(--navy-800);
  border: 1px solid #CBD5E1;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.ictihat-chamber-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.ictihat-result-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
}

.ictihat-meta-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 5px;
}

.ictihat-meta-pill strong { color: var(--navy-900); }

.ictihat-result-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  background: var(--bg-page);
  border-left: 3px solid var(--gold-500);
  padding: 7px 12px;
  border-radius: 0 5px 5px 0;
  margin-top: 2px;
}

.ictihat-open-btn {
  background: var(--navy-900);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}

.ictihat-result-card:hover .ictihat-open-btn {
  background: var(--gold-600);
}

/* =========================================================
   8. INSTITUTIONAL FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-950);
  color: #CBD5E1;
  padding: 58px 0 34px;
  border-top: 3px solid var(--gold-500);
  margin-top: 52px;
  content-visibility: auto;
  contain-intrinsic-size: auto none auto 340px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(252, 211, 77, 0.25);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
}

.footer-links a {
  color: #94A3B8;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #FCD34D;
}

.footer-links a:focus-visible {
  outline: 2px solid #FCD34D;
  outline-offset: 2px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.81rem;
  color: #94A3B8;
}

/* =========================================================
   9. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET, MOBILE)
   ========================================================= */
@media (max-width: 1180px) {
  .ictihat-court-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1080px) {
  .hero-section { padding: 44px 0 56px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-left {
    max-width: 680px;
  }
  .hero-desc,
  .hero-search-box {
    max-width: 100%;
  }
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .mevzuat-tabs { grid-template-columns: repeat(3, 1fr); }
  .ictihat-court-grid { grid-template-columns: repeat(3, 1fr); }
  .ictihat-adv-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .topbar-tagline > span:not(.topbar-badge) { display: none; }
  .topbar-links { margin-left: auto; }
  .article-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 16px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 11px 14px;
  }
  .main-nav .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }
  .main-nav .nav-link:is(.active, [aria-current="page"]):not(.nav-cta)::after {
    left: 0;
    right: auto;
    top: 10px;
    bottom: 10px;
    width: 3px;
    height: auto;
  }
  .main-nav .nav-dropdown { flex-wrap: wrap; width: 100%; }
  .main-nav .nav-dropdown > .nav-link { flex: 1; }
  .main-nav .nav-caret { display: none; }
  .main-nav .nav-submenu-toggle { display: inline-flex; margin-left: 6px; }
  .main-nav .nav-dropdown::after { display: none; }
  .main-nav .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold-500);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 255, 255, 0.04);
    margin: 4px 0 4px 12px;
    padding: 4px 6px;
    display: none;
  }
  .main-nav .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .header-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .hero-news-list {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-news-lead--primary {
    height: 240px;
    min-height: 240px;
  }
  .hero-news-lead--secondary {
    height: 184px;
    min-height: 184px;
  }
  .ictihat-court-grid { grid-template-columns: repeat(2, 1fr); }
  .ictihat-main-search { flex-wrap: wrap; }
  .ictihat-search-input-wrap { width: 100%; flex: 1 1 100%; }
  .ictihat-submit-btn, .ictihat-adv-toggle-btn, .ictihat-reset-btn { min-height: 44px; padding: 12px; flex: 1; justify-content: center; }
  .ictihat-adv-grid-3, .ictihat-date-pair { grid-template-columns: 1fr; }
  .ictihat-result-card { flex-direction: column; align-items: flex-start; }
  .ictihat-open-btn { width: 100%; text-align: center; min-height: 44px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  h1, h2, h3, .section-title, .hero-title { letter-spacing: 0; }
  .article-main { padding: 24px 18px; }
  .article-prose { font-size: 1rem; line-height: 1.75; }
  .search-filters { align-items: stretch; }
  .search-filters label { flex-basis: 100%; }
  .search-filters .filter-select { flex: 1 1 100%; }
  .mevzuat-tabs { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3, .cards-grid-4, .directory-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar-links { display: none; }
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-title { font-size: 1.2rem; }
  .brand-subtitle { font-size: 0.62rem; }
  .mobile-menu-btn { padding: 8px 12px; font-size: 0.86rem; }
  .hero-section { padding: 32px 0 48px; }
  .hero-grid { gap: 28px; }
  .hero-left { gap: 18px; }
  .hero-search-form {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 10px;
    gap: 8px;
  }
  .hero-search-input {
    width: 100%;
    padding: 12px 10px 12px 34px;
    font-size: 1rem;
    background-position: 6px center;
  }
  .hero-search-btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    font-size: 0.94rem;
  }
  .hero-news-card {
    padding: 16px;
  }
  .hero-news-lead--primary {
    height: 216px;
    min-height: 216px;
  }
  .hero-news-lead--secondary {
    height: 172px;
    min-height: 172px;
  }
  .modules-strip {
    margin-top: -18px;
  }
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

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

@media print {
  .skip-link, .topbar, .site-header, .article-sidebar, .article-toolbar, .banner-print-btn, .site-footer {
    display: none !important;
  }
  .article-layout {
    display: block;
  }
  .article-main {
    border: none;
    padding: 0;
  }
}

/* === SITE_THEME_START === */
:root {
  --theme-active: 'corporate-navy';
  --navy-950: #061024;
  --navy-900: #0B1F47;
  --navy-800: #16326E;
  --navy-700: #1D4ED8;
  --gold-600: #9A4406;
  --gold-500: #C86D08;
  --gold-400: #E59500;
  --gold-100: #FEF3C7;
  --gold-50: #FFFBEB;
}
/* === SITE_THEME_END === */
