/*
Theme Name: Avukatın Yanıtlıyor Modern LegalTech v10 PRO
Theme URI: https://avukatinyanitliyor.com.tr
Author: Avukatın Yanıtlıyor Mimari Ekibi
Author URI: https://avukatinyanitliyor.com.tr
Description: Türkiye odaklı, avukatları ön planda gösteren, ultra modern, lüks, ilgi çekici, güvenli ve yapay zekâ destekli LegalTech teması.
Version: 10.0.0 Master Pro
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.0
Text Domain: ay-theme
*/

:root {
  /* Ultra-Luxury LegalTech Pro Palette */
  --ay-obsidian: #060d1b;
  --ay-navy-dark: #001f54;
  --ay-navy-mid: #034078;
  --ay-navy-light: #1282a2;
  
  --ay-royal-blue: #2563eb;
  --ay-royal-hover: #1d4ed8;
  --ay-royal-subtle: #eff6ff;
  
  --ay-gold-main: #f59e0b;
  --ay-gold-vibrant: #d97706;
  --ay-gold-dark: #b45309;
  --ay-gold-light: #fef3c7;
  --ay-gold-champagne: #fffbeb;
  
  --ay-slate-900: #0f172a;
  --ay-slate-800: #1e293b;
  --ay-slate-700: #334155;
  --ay-slate-600: #475569;
  --ay-slate-500: #64748b;
  --ay-slate-400: #94a3b8;
  --ay-slate-200: #e2e8f0;
  --ay-slate-100: #f1f5f9;
  --ay-slate-50: #f8fafc;
  
  --ay-pure-white: #ffffff;
  
  --ay-emerald-600: #059669;
  --ay-emerald-500: #10b981;
  --ay-emerald-100: #ecfdf5;
  
  --ay-rose-600: #e11d48;
  --ay-rose-100: #ffe4e6;
  
  --ay-font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ay-font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --ay-radius-sm: 8px;
  --ay-radius-md: 14px;
  --ay-radius-lg: 20px;
  --ay-radius-xl: 28px;
  --ay-radius-full: 9999px;
  
  --ay-shadow-sm: 0 2px 4px rgba(6, 13, 27, 0.04);
  --ay-shadow-md: 0 10px 25px -5px rgba(6, 13, 27, 0.08), 0 8px 10px -6px rgba(6, 13, 27, 0.04);
  --ay-shadow-lg: 0 20px 45px -12px rgba(6, 13, 27, 0.16);
  --ay-shadow-glow: 0 0 35px rgba(245, 158, 11, 0.28);
  --ay-shadow-blue: 0 10px 30px rgba(37, 99, 235, 0.22);
}

/* Reset & Universal Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--ay-font-main);
  background-color: var(--ay-slate-50);
  color: var(--ay-slate-800);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

/* Top Announcement Bar */
.ay-topbar {
  background: var(--ay-obsidian);
  color: var(--ay-slate-400);
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ay-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header & Glass Navigation */
.ay-header {
  background: rgba(0, 31, 84, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.ay-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.ay-logo {
  font-family: var(--ay-font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--ay-pure-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.ay-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--ay-gold-main) 0%, var(--ay-gold-vibrant) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ay-obsidian);
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.ay-logo span {
  background: linear-gradient(90deg, #ffffff 0%, var(--ay-gold-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ay-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.ay-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.ay-nav a:hover, .ay-nav a.active {
  color: var(--ay-pure-white);
}

.ay-nav a:hover::after, .ay-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ay-gold-main);
  border-radius: 2px;
}

.ay-badge-ai {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Premium Buttons */
.ay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--ay-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.ay-btn-gold {
  background: linear-gradient(135deg, var(--ay-gold-main) 0%, var(--ay-gold-vibrant) 100%);
  color: var(--ay-obsidian);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.ay-btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.ay-btn-primary {
  background: var(--ay-navy-dark);
  color: var(--ay-pure-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ay-btn-primary:hover {
  background: var(--ay-navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--ay-shadow-md);
}

.ay-btn-outline {
  background: transparent;
  border: 1px solid var(--ay-slate-200);
  color: var(--ay-slate-800);
}

.ay-btn-outline:hover {
  background: var(--ay-slate-100);
  border-color: var(--ay-slate-300);
}

/* Cards & Surfaces */
.ay-card {
  background: var(--ay-pure-white);
  border-radius: var(--ay-radius-lg);
  border: 1px solid var(--ay-slate-200);
  padding: 30px;
  box-shadow: var(--ay-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-card:hover {
  box-shadow: var(--ay-shadow-md);
  border-color: #cbd5e1;
}

.ay-card-interactive:hover {
  transform: translateY(-5px);
  box-shadow: var(--ay-shadow-lg);
  border-color: var(--ay-navy-light);
}

/* Lawyer Card Pro Styling */
.ay-lawyer-card-pro {
  background: var(--ay-pure-white);
  border-radius: var(--ay-radius-lg);
  border: 1px solid var(--ay-slate-200);
  padding: 26px;
  box-shadow: var(--ay-shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ay-lawyer-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ay-navy-dark) 0%, var(--ay-gold-main) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ay-lawyer-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -10px rgba(0, 31, 84, 0.14);
  border-color: #93c5fd;
}

.ay-lawyer-card-pro:hover::before {
  opacity: 1;
}

.ay-lawyer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ay-navy-dark) 0%, var(--ay-navy-mid) 100%);
  color: var(--ay-gold-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 31, 84, 0.2);
  flex-shrink: 0;
  position: relative;
}

.ay-online-pulse {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

/* Badges */
.ay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--ay-radius-full);
}

.ay-badge-navy {
  background: var(--ay-navy-dark);
  color: var(--ay-pure-white);
}

.ay-badge-gold {
  background: var(--ay-gold-light);
  color: var(--ay-gold-dark);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.ay-badge-success {
  background: var(--ay-emerald-100);
  color: var(--ay-emerald-600);
}

.ay-badge-pill {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--ay-radius-full);
}

/* Hero Section Pro */
.ay-hero-pro {
  background: radial-gradient(circle at 50% 15%, #034078 0%, #001f54 50%, #060d1b 100%);
  color: var(--ay-pure-white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.ay-hero-pro::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.ay-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--ay-gold-main);
  padding: 7px 18px;
  border-radius: var(--ay-radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.ay-hero-pro h1 {
  font-family: var(--ay-font-display);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 auto 20px;
  max-width: 920px;
  letter-spacing: -0.03em;
  text-align: center;
}

.ay-hero-pro p {
  font-size: 18px;
  color: var(--ay-slate-400);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-align: center;
}

/* Hero Interactive Tab Switcher */
.ay-hero-switcher-box {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--ay-radius-xl);
  padding: 16px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45), var(--ay-shadow-glow);
}

.ay-hero-tabs-nav {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px;
  border-radius: var(--ay-radius-lg);
  margin-bottom: 14px;
}

.ay-hero-tab-trigger {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--ay-radius-md);
  border: none;
  background: transparent;
  color: var(--ay-slate-600);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ay-hero-tab-trigger.active {
  background: #ffffff;
  color: var(--ay-navy-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ay-hero-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-hero-search-inner input {
  flex: 1;
  border: none;
  padding: 16px 22px;
  font-size: 16px;
  outline: none;
  color: var(--ay-slate-900);
  background: transparent;
}

.ay-hero-search-inner button {
  background: linear-gradient(135deg, var(--ay-gold-main) 0%, var(--ay-gold-vibrant) 100%);
  color: var(--ay-obsidian);
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--ay-radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ay-hero-search-inner button:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: scale(1.02);
}

/* Quick Lawyer Finder in Hero */
.ay-quick-finder-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}

.ay-quick-select {
  padding: 14px 18px;
  border: 1px solid var(--ay-slate-200);
  border-radius: var(--ay-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ay-slate-800);
  background: #ffffff;
  outline: none;
}

/* Trending Quick Questions */
.ay-trending-questions {
  max-width: 860px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ay-trending-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 7px 16px;
  border-radius: var(--ay-radius-full);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.ay-trending-chip:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--ay-gold-main);
  color: var(--ay-pure-white);
}

/* Interactive Decision Tree Navigator */
.ay-decision-card {
  background: #ffffff;
  border: 1px solid var(--ay-slate-200);
  border-radius: var(--ay-radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.ay-decision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -8px rgba(0, 31, 84, 0.12);
  border-color: var(--ay-royal-blue);
}

/* Bento Security Grid */
.ay-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ay-bento-card-large {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid var(--ay-slate-200);
  border-radius: var(--ay-radius-lg);
  padding: 36px;
}

.ay-bento-card-small {
  background: #ffffff;
  border: 1px solid var(--ay-slate-200);
  border-radius: var(--ay-radius-lg);
  padding: 32px;
}

/* Sections */
.ay-section {
  padding: 90px 0;
}

.ay-section-header {
  text-align: center;
  margin-bottom: 52px;
}

.ay-section-title {
  font-family: var(--ay-font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--ay-navy-dark);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.ay-section-subtitle {
  font-size: 16px;
  color: var(--ay-slate-600);
  max-width: 640px;
  margin: 0 auto;
}

/* Grids */
.ay-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ay-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Lawyer Filter Bar */
.ay-filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.ay-filter-pill {
  padding: 10px 20px;
  border-radius: var(--ay-radius-full);
  background: #ffffff;
  border: 1px solid var(--ay-slate-200);
  color: var(--ay-slate-700);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ay-filter-pill:hover, .ay-filter-pill.active {
  background: var(--ay-navy-dark);
  color: var(--ay-pure-white);
  border-color: var(--ay-navy-dark);
}

/* Floating Quick Action Bar */
.ay-floating-action-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 13, 27, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 10px 22px;
  border-radius: var(--ay-radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.2);
  z-index: 9999;
}

.ay-floating-action-bar a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.ay-floating-action-bar a:hover {
  color: var(--ay-gold-main);
}

.ay-floating-btn {
  background: linear-gradient(135deg, var(--ay-gold-main) 0%, var(--ay-gold-vibrant) 100%);
  color: var(--ay-obsidian) !important;
  padding: 8px 18px;
  border-radius: var(--ay-radius-full);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Footer */
.ay-footer {
  background: #050b14;
  color: var(--ay-slate-400);
  padding: 80px 0 36px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ay-footer-bottom {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .ay-grid-3, .ay-grid-4, .ay-bento-grid, .ay-quick-finder-form {
    grid-template-columns: 1fr;
  }
  .ay-bento-card-large {
    grid-column: span 1;
  }
  .ay-hero-pro h1 {
    font-size: 34px;
  }
  .ay-floating-action-bar {
    width: 92%;
    justify-content: space-around;
    padding: 8px 12px;
  }
}

    /* Triage Simulator Styles */
    .ay-triage-pill {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #cbd5e1;
      padding: 9px 18px;
      border-radius: 9999px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .ay-triage-pill:hover, .ay-triage-pill.active {
      background: #f59e0b;
      color: #060d1b;
      border-color: #f59e0b;
      box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    }
    @media (max-width: 768px) {
      .ay-triage-grid { grid-template-columns: 1fr !important; }
      .ay-metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }
    }

    /* FAQ Accordion Styles */
    .ay-faq-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .ay-faq-item {
      background: #ffffff;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .ay-faq-item:hover {
      border-color: #cbd5e1;
      box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    }
    .ay-faq-item.active {
      border-color: #001f54;
      box-shadow: 0 6px 18px rgba(0, 31, 84, 0.08);
    }
    .ay-faq-question {
      padding: 20px 24px;
      font-size: 16px;
      font-weight: 700;
      color: #001f54;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }
    .ay-faq-icon {
      font-size: 20px;
      color: #f59e0b;
      font-weight: 800;
      width: 24px;
      text-align: center;
    }
    .ay-faq-answer {
      display: none;
      padding: 0 24px 22px;
      font-size: 14px;
      line-height: 1.8;
      color: #475569;
      border-top: 1px solid #f1f5f9;
      padding-top: 16px;
    }


/* ==============================================================
   AVUKATIN YANITLIYOR PRO v4.0 - LUXURY LEGALTECH & BLOG POLISH
   ============================================================== */

html {
  scroll-behavior: smooth;
}

::selection {
  background: #fef3c7;
  color: #b45309;
}

/* Glassmorphism Cards & Elevations */
.ay-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(8, 14, 30, 0.04), 0 2px 6px -1px rgba(8, 14, 30, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 20px 35px -10px rgba(0, 31, 84, 0.1), 0 0 15px rgba(245, 158, 11, 0.06);
}

/* Blog Showcase Card on Homepage & Archives */
.ay-blog-post-card {
  overflow: hidden;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.35s ease !important;
}

.ay-blog-post-card:hover {
  transform: translateY(-6px) !important;
  border-color: #93c5fd !important;
  box-shadow: 0 20px 40px -10px rgba(0, 31, 84, 0.15) !important;
}

.ay-blog-post-card img {
  transition: transform 0.4s ease;
}

.ay-blog-post-card:hover img {
  transform: scale(1.05);
}

/* Featured Post Styling */
.ay-featured-post {
  border: 2px solid #e2e8f0 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

.ay-featured-post:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.2) !important;
}

/* Article Body Typography (Encyclopedic Legal Depth) */
.ay-article-content h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #001f54;
  margin-top: 42px;
  margin-bottom: 18px;
  line-height: 1.35;
  padding-left: 14px;
  border-left: 4px solid #f59e0b;
}

.ay-article-content h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #034078;
  margin-top: 30px;
  margin-bottom: 14px;
  line-height: 1.4;
}

.ay-article-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-top: 22px;
  margin-bottom: 10px;
}

.ay-article-content p {
  margin-bottom: 20px;
  color: #334155;
  line-height: 1.85;
  font-size: 16px;
}

.ay-article-content ul, .ay-article-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
  color: #334155;
  line-height: 1.8;
}

.ay-article-content li {
  margin-bottom: 10px;
}

.ay-article-content blockquote {
  border-left: 4px solid #001f54;
  background: #f8fafc;
  padding: 18px 24px;
  font-style: italic;
  margin: 26px 0;
  color: #1e293b;
  border-radius: 0 12px 12px 0;
}

.ay-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.ay-article-content th {
  background: #001f54;
  color: #ffffff;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}

.ay-article-content td {
  padding: 13px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  color: #334155;
}

.ay-article-content tr:nth-child(even) td {
  background: #f8fafc;
}

/* Callouts & Alert Boxes */
.ay-callout-warning {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 18px 22px;
  border-radius: 8px;
  color: #78350f;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

.ay-callout-info {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
  padding: 18px 22px;
  border-radius: 8px;
  color: #1e3a8a;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

.ay-callout-success {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  padding: 18px 22px;
  border-radius: 8px;
  color: #065f46;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.65;
}

/* TOC (Table of Contents) Styling */
.ay-toc-box {
  border-left: 4px solid #001f54 !important;
}

.ay-toc-box ol {
  counter-reset: toc-counter;
  list-style: none;
  padding-left: 0;
}

.ay-toc-box ol li {
  counter-increment: toc-counter;
  margin-bottom: 8px;
  position: relative;
  padding-left: 28px;
}

.ay-toc-box ol li::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #f59e0b;
  font-size: 13px;
}

/* Pagination Styling */
.ay-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ay-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #001f54;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s ease;
}

.ay-pagination .page-numbers:hover {
  background: #001f54;
  color: #ffffff;
  border-color: #001f54;
}

.ay-pagination .page-numbers.current {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #080e1e;
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Breadcrumbs */
.ay-breadcrumbs a:hover {
  color: #f59e0b !important;
  text-decoration: underline !important;
}

/* Subtle Hover Animation for Buttons */
.ay-btn {
  position: relative;
  overflow: hidden;
}

.ay-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 100%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s;
}

.ay-btn:hover::after {
  opacity: 1;
}

/* Footer Links Hover Glow */
.ay-footer a {
  transition: all 0.2s ease;
}

.ay-footer a:hover {
  color: #f59e0b !important;
  padding-left: 4px;
}

/* ==========================================================================
   ENHANCED RESPONSIVE NAVIGATION & OFF-CANVAS MOBILE DRAWER PRO
   ========================================================================== */
.ay-header {
  background: rgba(8, 14, 30, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ay-header-inner {
  height: 74px;
  gap: 12px;
}

.ay-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #f8fafc;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 25%, #cbd5e1 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  line-height: 1.2;
}

.ay-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 6px;
  flex-shrink: 1;
}

.ay-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ay-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.ay-nav a.active {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

.ay-nav a::after {
  display: none !important;
}

.ay-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ay-btn-gold-header {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #080e1e !important;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  border: none;
}

.ay-btn-gold-header:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.ay-btn-outline-header {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9 !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.ay-btn-outline-header:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* 1024px - 1240px Arası Akıllı Sıkılaştırma */
@media (min-width: 1024px) and (max-width: 1240px) {
  .ay-logo-text { font-size: 18px; }
  .ay-logo img { max-height: 40px; }
  .ay-nav { gap: 2px; margin: 0 4px; }
  .ay-nav a { padding: 6px 8px; font-size: 12.5px; gap: 4px; }
  .ay-badge-ai, .ay-badge-blog { font-size: 9px; padding: 1px 5px; }
  .ay-btn-gold-header { padding: 8px 12px; font-size: 12.5px; }
  .ay-btn-outline-header { padding: 7px 11px; font-size: 12.5px; }
}

/* Mobile Toggle & Drawer Styles */
.ay-mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ay-mobile-menu-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #f59e0b;
}

.ay-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ay-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ay-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: #080e1e;
  border-left: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ay-mobile-drawer.is-open {
  transform: translateX(0);
}

.ay-drawer-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 31, 84, 0.35);
}

.ay-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.ay-drawer-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

.ay-drawer-tagline {
  padding: 10px 20px;
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  font-size: 11.5px;
  color: #fbbf24;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ay-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ay-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  color: #f1f5f9;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.ay-drawer-link:hover, .ay-drawer-link:active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}

.ay-drawer-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ay-drawer-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ay-drawer-actions {
  padding: 18px 20px;
  background: rgba(0, 15, 45, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ay-drawer-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #080e1e !important;
  font-weight: 700;
  font-size: 14.5px;
  height: 46px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
}

.ay-drawer-btn-gold:active {
  transform: scale(0.98);
}

.ay-drawer-btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  height: 42px;
  border-radius: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ay-drawer-btn-outline:active {
  background: rgba(255, 255, 255, 0.12);
}

.ay-drawer-footer {
  padding: 12px 20px;
  text-align: center;
  font-size: 11px;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #050a14;
}

body.ay-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 1023px) {
  .ay-nav { display: none !important; }
  .ay-mobile-menu-btn { display: inline-flex !important; }
  .ay-header-actions .ay-btn-outline-header { display: none !important; }
  .ay-btn-gold-header { padding: 8px 12px; font-size: 12px; }
}

@media (max-width: 480px) {
  .ay-header-inner { height: 66px; }
  .ay-logo img { max-height: 38px; }
  .ay-logo-text { font-size: 17px; }
  .ay-btn-gold-header { padding: 6px 10px; font-size: 11.5px; gap: 4px; }
  .ay-mobile-menu-btn { width: 36px; height: 36px; font-size: 18px; border-radius: 8px; }
}

/* ==========================================================================
   GLOBAL MOBILE-FIRST & AI SHOWCASE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {
  .ay-ai-showcase-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .ay-trust-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .ay-container {
    padding: 0 16px !important;
  }
  .ay-trust-banner-section {
    padding: 36px 0 !important;
  }
  .ay-trust-banner-section > .ay-container > div {
    padding: 26px 20px !important;
    border-radius: 18px !important;
  }
  .ay-trust-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ay-ai-showcase-section {
    padding: 50px 0 !important;
  }
  .ay-ai-showcase-section h2 {
    font-size: 26px !important;
  }
  .ay-hero-pro h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .ay-hero-search-inner {
    flex-direction: column !important;
    padding: 6px !important;
  }
  .ay-hero-search-inner input {
    width: 100% !important;
    padding: 12px 16px !important;
  }
  .ay-hero-search-inner button {
    width: 100% !important;
    padding: 12px 20px !important;
    border-radius: 14px !important;
  }
  .ay-floating-widgets-wrapper {
    bottom: 16px !important;
    right: 16px !important;
  }
}

/* ==========================================================================
   PRO TRUST METRICS SECTION (DUAL-AUDIENCE: MÜVEKKİL & AVUKAT)
   ========================================================================== */
.ay-trust-metrics-section {
  position: relative;
  overflow: hidden;
}

.ay-metric-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ay-metric-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(0, 31, 84, 0.12) !important;
  border-color: #93c5fd !important;
}

@media (max-width: 1080px) {
  .ay-metrics-grid-pro {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .ay-metrics-grid-pro {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .ay-metric-card {
    padding: 20px 18px !important;
  }
}

/* Mobile Grid Overflow Protection */
.ay-how-it-works-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

@media (min-width: 641px) and (max-width: 1080px) {
  .ay-how-it-works-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
}

@media (max-width: 640px) {
  .ay-how-it-works-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }
}

/* ==========================================================================
   MASTERPIECE: ŞEFFAF HUKUK KÖPRÜSÜ (NASIL ÇALIŞIR?) YENİLENMİŞ TASARIM
   ========================================================================== */
.ay-how-it-works-masterpiece {
  position: relative;
  overflow: hidden;
}

.ay-step-card-pro {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ay-step-card-pro:hover {
  transform: translateY(-8px) scale(1.02) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2) !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

@media (max-width: 640px) {
  .ay-how-it-works-masterpiece {
    padding: 55px 0 50px !important;
  }
  .ay-step-card-pro {
    padding: 24px 18px !important;
  }
}


/* ==========================================================================
   CATEGORY BADGE WHITE TEXT GUARANTEE (GÖRSEL 2 DÜZELTMESİ)
   ========================================================================== */
.ay-badge-navy,
.ay-badge-navy a,
.ay-badge-navy a:link,
.ay-badge-navy a:visited,
.ay-badge-navy a:hover,
.ay-badge-navy a:active {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.ay-badge-navy {
  background: #001f54 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 4px 10px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ay-badge-navy a {
  color: #ffffff !important;
}

.ay-badge-gold,
.ay-badge-gold a,
.ay-badge-gold span,
.ay-badge-gold a:link,
.ay-badge-gold a:visited {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}


/* Modern Global Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #080e1e;
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.4);
  border-radius: 9999px;
  border: 1px solid rgba(8, 14, 30, 0.5);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.75);
}
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.4) #080e1e;
}


/* ==========================================================================
   SADECE MOBİL GÖRÜNÜM DÜZENLEMELERİ (@media max-width: 768px)
   MASAÜSTÜ PC GÖRÜNÜMÜ v5.6 İLE %100 BİREBİR KORUNMUŞTUR
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Kurumsal Standart 1136 alanı mobilde yan yana 2\'li olarak gözüksün */
  .ay-metrics-grid-pro {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-metric-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .ay-metric-card div[style*="font-size: 26px"] {
    font-size: 18px !important;
    letter-spacing: -0.3px !important;
  }
  .ay-metric-card div[style*="font-size: 13.5px"] {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .ay-metric-card div[style*="font-size: 11.5px"] {
    font-size: 9.5px !important;
    line-height: 1.35 !important;
  }

  /* 2. Resmi Güvence 1136 sayılı avukatlık kanunu uyumlu başlıklı alan tek parçada gözüksün */
  .ay-trust-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. 700 otonom hukuk ajanı iki parça olarak gözüksün */
  .ay-ai-showcase-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-ai-showcase-part-1,
  .ay-ai-showcase-part-2 {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Güncel Hukuk Makaleleri 4\'lü 2 sıra gözüksün (mobilde 2\'şerli 2 sıra = 4 kart) */
  .ay-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-blog-post-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }
  .ay-blog-post-card a div[style*="height: 160px"] {
    height: 90px !important;
  }
  .ay-blog-post-card h3 {
    font-size: 12px !important;
    min-height: 34px !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
  }
  .ay-blog-post-card p {
    display: none !important; /* Mobilde kartların hizalı durması için */
  }
  .ay-blog-post-card .ay-badge-navy {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .ay-blog-post-card span[style*="background: #fef3c7"] {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .ay-blog-post-card .ay-btn {
    padding: 4px 8px !important;
    font-size: 10.5px !important;
  }

  /* 5. Şeffaf Hukuk Köprüsü 4 aşamalı 2\'li olarak 2 sıra gözüksün */
  .ay-how-it-works-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-step-card-pro {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .ay-step-card-pro h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
  }
  .ay-step-card-pro p {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
  }
  .ay-step-card-pro div[style*="width: 48px"] {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  /* 6. Single, Page ve Blog Yazıları Mobil Görünüm Küçültme & İyileştirme */
  .ay-single-hero h1,
  div[style*="background: radial-gradient"] h1,
  div[style*="background: linear-gradient"] h1 {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }
  div[style*="background: radial-gradient"],
  div[style*="background: linear-gradient"] {
    padding: 32px 0 22px !important;
  }
  .ay-single-grid,
  .ay-blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ay-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .ay-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .ay-card h2, .entry-content h2 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 20px 0 10px !important;
  }
  .ay-card h3, .entry-content h3 {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    margin: 16px 0 8px !important;
  }
  .ay-card p, .entry-content p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .ay-card table, .entry-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 12px !important;
  }
  .ay-card img, .entry-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .ay-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ay-featured-post {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 18px !important;
  }
  .ay-featured-post h2 {
    font-size: 17px !important;
  }
}


/* ==========================================================================
   AVUKATIN YANITLIYOR v10 PRO: MASAÜSTÜ STICKY SLIDE-DOWN & GEÇİŞ RENKLERİ
   ========================================================================== */
.ay-topbar {
  background: #000c24 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ay-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: rgba(1, 20, 56, 0.96) !important; /* Tema geçiş renginin biraz koyusu */
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 12, 36, 0.45) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ay-header.is-scrolled {
  background: rgba(0, 14, 40, 0.98) !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.28) !important;
  box-shadow: 0 10px 32px rgba(0, 8, 24, 0.65) !important;
  transform: translateY(0) !important;
}

.ay-header.is-scrolled .ay-header-inner {
  height: 68px !important;
}

.ay-nav a {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ay-nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  transform: translateY(-1px) !important;
}

.ay-nav a.active {
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}


/* ==========================================================================
   SADECE MOBİL DÜZENLEMELERİ (@media max-width: 768px)
   MASAÜSTÜ PC GÖRÜNÜMÜ v5.6 İLE %100 BİREBİR KORUNMUŞTUR
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Kurumsal Standart 1136 alanı mobilde yan yana 2'li olarak gözüksün */
  .ay-metrics-grid-pro {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-metric-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .ay-metric-card div[style*="font-size: 26px"] {
    font-size: 18px !important;
    letter-spacing: -0.3px !important;
  }
  .ay-metric-card div[style*="font-size: 13.5px"] {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 10px !important;
  }
  .ay-metric-card div[style*="font-size: 11.5px"] {
    font-size: 9.5px !important;
    line-height: 1.35 !important;
  }

  /* 2. Resmi Güvence 1136 sayılı avukatlık kanunu uyumlu başlıklı alan tek parçada gözüksün */
  .ay-trust-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. 700 otonom hukuk ajanı iki parça olarak gözüksün */
  .ay-ai-showcase-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-ai-showcase-part-1,
  .ay-ai-showcase-part-2 {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 4. Güncel Hukuk Makaleleri 4'lü 2 sıra gözüksün (mobilde 2'şerli 2 sıra = 4 kart) */
  .ay-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-blog-post-card {
    padding: 14px 10px !important;
    border-radius: 14px !important;
  }
  .ay-blog-post-card a div[style*="height: 160px"] {
    height: 90px !important;
  }
  .ay-blog-post-card h3 {
    font-size: 12px !important;
    min-height: 34px !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
  }
  .ay-blog-post-card p {
    display: none !important; /* Mobilde kartların hizalı durması için */
  }
  .ay-blog-post-card .ay-badge-navy {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .ay-blog-post-card span[style*="background: #fef3c7"] {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }
  .ay-blog-post-card .ay-btn {
    padding: 4px 8px !important;
    font-size: 10.5px !important;
  }

  /* 5. Şeffaf Hukuk Köprüsü 4 aşamalı 2'li olarak 2 sıra gözüksün */
  .ay-how-it-works-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .ay-step-card-pro {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .ay-step-card-pro h3 {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin: 0 0 6px !important;
  }
  .ay-step-card-pro p {
    font-size: 11px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px !important;
  }
  .ay-step-card-pro div[style*="width: 48px"] {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }

  /* 6. Single, Page ve Blog Yazıları Mobil Görünüm Küçültme & İyileştirme */
  .ay-single-hero h1,
  div[style*="background: radial-gradient"] h1,
  div[style*="background: linear-gradient"] h1 {
    font-size: 21px !important;
    line-height: 1.35 !important;
  }
  div[style*="background: radial-gradient"],
  div[style*="background: linear-gradient"] {
    padding: 32px 0 22px !important;
  }
  .ay-single-grid,
  .ay-blog-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ay-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .ay-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  .ay-card h2, .entry-content h2 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin: 20px 0 10px !important;
  }
  .ay-card h3, .entry-content h3 {
    font-size: 15.5px !important;
    line-height: 1.4 !important;
    margin: 16px 0 8px !important;
  }
  .ay-card p, .entry-content p {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .ay-card table, .entry-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    font-size: 12px !important;
  }
  .ay-card img, .entry-content img {
    max-width: 100% !important;
    height: auto !important;
  }
  .ay-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .ay-featured-post {
    padding: 18px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 18px !important;
  }
  .ay-featured-post h2 {
    font-size: 17px !important;
  }
}
