  /* v1.5 Platform renk sistemiyle uyumlu — custom-theme.css'ten miras */
  :root {
    --accent-light: var(--pastel-purple, #F5F3FF);
    --accent-dark: #6d28d9;
  }
  
  .hub-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
  }
  
  /* Yasa Takip Kartı (Sidebar) */
  .law-card {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }
  .law-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  }
  /* Kapak görseline transform/zoom uygulanmaz: ölçekleme küçük karede
     görüntüyü yumuşatıyor. Hover etkisi karttaki kalkma + kenarlıkta kalır. */
  @media (prefers-reduced-motion: reduce) {
    .law-card {
      transition: none;
    }
    .law-card:hover {
      transform: none;
    }
  }
  .law-card .icon {
    flex-shrink: 0;
    color: var(--warning);
    background-color: #FFFBEB; /* Sarı Açık Ton */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .law-card .icon.law-card-cover {
    width: 96px;
    height: 96px;
    background-color: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
  }
  .law-card .icon.law-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .law-card .content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
  }
  .law-card .content small {
    font-size: 0.9rem;
    color: var(--text-secondary);
  }
  .law-card .content .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: #FEF3C7; /* Sarı Daha Açık */
    color: #92400E; /* Koyu Sarı */
    text-transform: uppercase;
  }

  /* Standart İçerik Kartı Stili (knowledge_home'dan) */
  .article-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .article-card .card-img-top { aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border-color); }
  .article-card .card-body { padding: 1rem; }
  .article-card .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: var(--accent-light);
    color: var(--accent-dark);
    text-transform: uppercase;
  }
  .article-card .card-title { font-size: 1.1rem; font-weight: 600; margin: 0.5rem 0; color: var(--text-primary); }
  .article-card .author { font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }
  .article-card .author img { width: 24px; height: 24px; border-radius: 50%; }
  .card-summary {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
  }

  .law-list-icon-back {
    width: 1em;
    vertical-align: -2px;
  }

  .law-list-title {
    color: var(--primary);
  }

  .law-list-icon-inline {
    width: 14px;
    vertical-align: -1px;
  }

  .law-list-author-icon {
    width: 24px;
    height: 24px;
  }

  /* ── Yasal gelişme detay sayfası ─────────────────────────── */
  .law-detail-crumb {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .law-detail-surface {
    overflow: hidden;
  }

  .law-detail-cover {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid var(--border-color);
  }

  .law-detail-cover__img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .law-detail-body {
    padding: clamp(1.25rem, 3vw, 2.25rem);
  }

  .law-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
  }

  .law-detail-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .law-detail-type {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .law-type-YENI       { background: #ECFDF5; color: #047857; }
  .law-type-DEGISIKLIK { background: #EFF6FF; color: #1D4ED8; }
  .law-type-ILGA       { background: #FEF2F2; color: #B91C1C; }
  .law-type-TEBLIG     { background: #F5F3FF; color: #6D28D9; }

  .law-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
  }

  .law-detail-chip i,
  .law-detail-chip svg {
    width: 14px;
    height: 14px;
  }

  .law-detail-title {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 700;
    line-height: 1.35;
  }

  .law-detail-section {
    margin-bottom: 1.75rem;
  }

  .law-detail-section:last-child {
    margin-bottom: 0;
  }

  .law-detail-kicker {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .law-detail-kicker i,
  .law-detail-kicker svg {
    width: 15px;
    height: 15px;
    color: var(--primary, #1d4ed8);
  }

  .law-detail-text-block {
    color: var(--text-primary);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 68ch;
  }

  .law-detail-text-block p:last-child {
    margin-bottom: 0;
  }

  .law-detail-impact {
    padding: 1rem 1.15rem;
    border-left: 3px solid #F59E0B;
    border-radius: 8px;
    background: #FFFBEB;
    color: #78350F;
    line-height: 1.7;
  }

  .law-detail-impact p:last-child,
  .law-detail-impact ul:last-child {
    margin-bottom: 0;
  }

  .law-detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-align: center;
  }

  .law-detail-empty i,
  .law-detail-empty svg {
    width: 34px;
    height: 34px;
    opacity: 0.6;
  }

  .law-detail-side {
    padding: 1.25rem;
  }

  .law-detail-side-title {
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .law-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
  }

  .law-detail-btn i,
  .law-detail-btn svg {
    width: 16px;
    height: 16px;
  }

  .law-detail-meta-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .law-detail-meta-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
  }

  .law-detail-meta-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .law-detail-meta-list .label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
  }

  .law-detail-meta-list .label i,
  .law-detail-meta-list .label svg {
    width: 14px;
    height: 14px;
  }

  .law-detail-meta-list .value {
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
  }

  /* Production polish: flat law list surfaces */
  .hub-card,
  .law-card,
  .article-card {
    border-radius: 8px;
  }

  .law-card .icon,
  .law-card .content .badge,
  .article-card .badge {
    border-radius: 8px;
    letter-spacing: 0;
  }

  /* Pastel production pass: law surfaces */
  .law-list-title {
    color: #172033;
  }

  .law-card,
  .hub-card,
  .article-card {
    border-color: rgba(137, 172, 195, 0.28);
    box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
  }

  .law-card:hover,
  .article-card:hover {
    border-color: #b9d9ec;
    box-shadow: 0 18px 38px rgba(23, 32, 51, 0.08);
  }

  .law-card {
    background: linear-gradient(135deg, #ffffff, #fffaf1);
  }

  .law-card .icon {
    background: #fff4d8;
    border: 1px solid #ecd99b;
    color: #7c5a1d;
  }

  .law-card .content .badge {
    background: #fff4d8;
    border: 1px solid #ecd99b;
    color: #72551d;
  }

  .article-card .badge,
  .badge.bg-primary-subtle.text-primary {
    background: #f1efff !important;
    border: 1px solid #d8d1f4;
    color: #574a8b !important;
  }

  .article-card .text-primary,
  .article-card .btn-link.text-primary {
    color: #2f6f95 !important;
  }

  .btn-primary {
    background: #e8f4ff !important;
    border: 1px solid #b9d9ec !important;
    color: #235675 !important;
    box-shadow: none !important;
  }

  .btn-primary:hover {
    background: #dceef9 !important;
    color: #1f4e6b !important;
  }

  .law-detail-impact-box {
    background: #f3f9f6;
    border: 1px solid #c9e5d4;
    color: #2d4b3a;
  }

  .law-detail-cover {
    border: 1px solid rgba(137, 172, 195, 0.28);
    box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
  }
