/*
Theme Name: Advocate Uma Bharti Sahu Chambers
Theme URI: https://advumabhartisahu.in/
Author: Chambers of Adv. Uma Bharti Sahu
Author URI: https://advumabhartisahu.in/
Description: Bespoke legal jurisprudence WordPress theme for Advocate Uma Bharti Sahu (21+ Years Standing, High Court of Chhattisgarh). Faithfully replicates the chamber's visual identity: neoclassical legal navy (#282120), terracotta/bronze borders (#78411b), warm gold accents (#c77838), and parchment paper backgrounds (#faf7f5), with Cinzel, Playfair Display, and Plus Jakarta Sans typography. Fully compliant with Bar Council of India Rule 36.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adv-uma-bharti-theme
Tags: legal, lawyer, advocate, two-columns, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready, blog
*/

/* -------------------------------------------------------------------------
   CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------------------------------------- */
:root {
  --legal-navy: #282120;
  --navy-dark: #1a1514;
  --legal-slate: #382e2d;
  --legal-border: #78411b;
  --legal-parchment: #faf7f5;
  --legal-gold: #c77838;
  --gold-light: #e8a065;
  --gold-dark: #78411b;
  --slate-subtle: #4d3f3e;
  --warm-surface: #f4ede6;
  --text-primary: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-serif: "Playfair Display", Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-cinzel: "Cinzel", Georgia, serif;
}

/* -------------------------------------------------------------------------
   GLOBAL RESET & BASE STYLES
   ------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--legal-parchment);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--legal-parchment);
  color: var(--text-primary);
}

::selection {
  background-color: var(--legal-gold);
  color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--warm-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--legal-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--legal-gold);
}

/* -------------------------------------------------------------------------
   CONTAINERS & LAYOUT
   ------------------------------------------------------------------------- */
.chambers-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-main {
  flex: 1 0 auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* -------------------------------------------------------------------------
   STATUTORY TOP COMPLIANCE STRIP (BCI Rule 36)
   ------------------------------------------------------------------------- */
.statutory-top-strip {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  border-bottom: 1px solid var(--legal-slate);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
}

.statutory-top-strip .strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.statutory-top-strip .compliance-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
}

.statutory-top-strip .compliance-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--legal-gold);
}

.statutory-top-strip .strip-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  color: #cbd5e1;
}

.statutory-top-strip a:hover {
  color: var(--legal-gold);
}

.statutory-top-strip .bci-btn {
  background: transparent;
  border: none;
  color: var(--legal-gold);
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.statutory-top-strip .bci-btn:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   MAIN HEADER & NAVIGATION
   ------------------------------------------------------------------------- */
.chambers-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(120, 65, 27, 0.2);
  box-shadow: var(--shadow-sm);
}

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

/* Brand Mark */
.chambers-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--legal-navy);
  border: 1px solid rgba(199, 120, 56, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--legal-gold);
  font-family: var(--font-cinzel);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.chambers-brand:hover .brand-emblem {
  border-color: var(--legal-gold);
  transform: translateY(-1px);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--legal-navy);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 2px;
}

/* Desktop Navigation */
.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--legal-navy);
  }
}

.nav-item {
  position: relative;
  padding: 1.75rem 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--legal-navy);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--legal-gold);
}

.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--legal-gold);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 75px;
  left: 0;
  width: 280px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(120, 65, 27, 0.2);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  color: #334155;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-link:hover {
  background-color: var(--warm-surface);
  color: var(--legal-gold);
}

.dropdown-icon {
  width: 20px;
  color: var(--legal-gold);
  margin-top: 3px;
  font-size: 0.875rem;
}

.dropdown-text strong {
  display: block;
  font-size: 0.825rem;
  color: var(--legal-navy);
}

.dropdown-text span {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 400;
}

/* Action CTA Button */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-consultation {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: 1px solid rgba(120, 65, 27, 0.6);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-consultation:hover {
  background-color: var(--navy-dark);
  color: var(--gold-light);
  border-color: var(--legal-gold);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(120, 65, 27, 0.3);
  background-color: var(--white);
  color: var(--legal-navy);
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 21, 20, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-inner {
  background-color: var(--white);
  max-height: 80vh;
  overflow-y: auto;
  border-bottom: 2px solid var(--legal-border);
  padding: 1.5rem;
}

.mobile-nav-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--legal-gold);
  margin-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--legal-navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-nav-link:hover {
  color: var(--legal-gold);
}

/* -------------------------------------------------------------------------
   HERO / PAGE BANNER
   ------------------------------------------------------------------------- */
.chambers-hero-banner {
  background-color: var(--legal-navy);
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(199, 120, 56, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(40, 33, 32, 0.96) 0%, rgba(26, 21, 20, 0.98) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  border-bottom: 2px solid var(--legal-border);
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(120, 65, 27, 0.25);
  border: 1px solid rgba(199, 120, 56, 0.5);
  border-radius: 9999px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Breadcrumbs */
.chambers-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--legal-navy);
  /*margin-top: 1rem;*/
}

.chambers-breadcrumbs a {
  color: var(--legal-navy);
}

.chambers-breadcrumbs a:hover {
  color: var(--legal-navy);
}

.chambers-breadcrumbs .sep {
  color: var(--legal-border);
}

/* -------------------------------------------------------------------------
   ARTICLE CARD GRID & CARD DESIGN (Parity with HTML blog cards)
   ------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legal-card {
  background-color: var(--white);
  border: 1px solid rgba(120, 65, 27, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--legal-border);
}

.card-media {
  position: relative;
  height: 200px;
  background-color: var(--legal-navy);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.legal-card:hover .card-media img {
  transform: scale(1.05);
}

/* Fallback Court Emblem Pattern when no thumbnail */
.card-media-placeholder {
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(199, 120, 56, 0.25) 0%, transparent 70%),
    linear-gradient(135deg, var(--legal-navy) 0%, var(--navy-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--legal-gold);
}

.card-media-placeholder .emblem-symbol {
  font-family: var(--font-cinzel);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
}

.card-media-placeholder .emblem-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.card-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(26, 21, 20, 0.85);
  color: var(--gold-light);
  border: 1px solid rgba(199, 120, 56, 0.5);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--legal-navy);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

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

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

.card-excerpt {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: 1px solid var(--legal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 0.8rem;
  font-weight: 700;
}

.author-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--legal-navy);
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--legal-gold);
}

.read-more-link:hover {
  color: var(--navy-dark);
}

/* -------------------------------------------------------------------------
   SINGLE POST / ARTICLE JURISPRUDENCE VIEW
   ------------------------------------------------------------------------- */
.article-header {
  margin-bottom: 2.5rem;
}

.article-headline {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--legal-navy);
  line-height: 1.25;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article-headline {
    font-size: 2.75rem;
  }
}

.article-lead {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--legal-gold);
  padding-left: 1rem;
}

.article-metadata-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(120, 65, 27, 0.2);
  border-bottom: 1px solid rgba(120, 65, 27, 0.2);
  font-size: 0.85rem;
  color: #64748b;
}

.article-metadata-strip .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-metadata-strip .meta-item i {
  color: var(--legal-gold);
}

/* Content Container Styled as Parchment */
.chambers-entry-content {
  background-color: var(--white);
  border: 1px solid rgba(120, 65, 27, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

@media (max-width: 640px) {
  .chambers-entry-content {
    padding: 1.5rem;
  }
}

.chambers-entry-content h2,
.chambers-entry-content h3,
.chambers-entry-content h4 {
  font-family: var(--font-serif);
  color: var(--legal-navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.chambers-entry-content h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid rgba(120, 65, 27, 0.2);
  padding-bottom: 0.5rem;
}

.chambers-entry-content h3 {
  font-size: 1.4rem;
}

.chambers-entry-content p {
  margin-bottom: 1.25rem;
}

.chambers-entry-content ul,
.chambers-entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.chambers-entry-content li {
  margin-bottom: 0.5rem;
}

.chambers-entry-content blockquote {
  background-color: var(--warm-surface);
  border-left: 4px solid var(--legal-border);
  padding: 1.25rem 1.75rem;
  margin: 1.75rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--legal-navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.chambers-entry-content .statutory-highlight {
  background-color: rgba(199, 120, 56, 0.08);
  border: 1px solid rgba(120, 65, 27, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.75rem 0;
}

.statutory-highlight-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--legal-gold);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.post-tag {
  background-color: var(--warm-surface);
  color: var(--legal-navy);
  border: 1px solid rgba(120, 65, 27, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.post-tag:hover {
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border-color: var(--legal-border);
}

/* Author Box */
.chambers-author-box {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: var(--warm-surface);
  border: 1px solid rgba(120, 65, 27, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background-color: var(--legal-navy);
  border: 2px solid var(--legal-gold);
  color: var(--legal-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.author-box-info h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--legal-navy);
  margin-bottom: 0.25rem;
}

.author-box-credential {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--legal-gold);
  margin-bottom: 0.5rem;
}

.author-box-bio {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   PAGINATION
   ------------------------------------------------------------------------- */
.chambers-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination-links,
.chambers-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.chambers-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pagination-links a,
.pagination-links .current,
.chambers-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(120, 65, 27, 0.3);
  background-color: var(--white);
  color: var(--legal-navy);
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-links a:hover,
.chambers-pagination a.page-numbers:hover {
  background-color: var(--warm-surface);
  border-color: var(--legal-gold);
  color: var(--legal-gold);
  transform: translateY(-1px);
}

.pagination-links .current,
.chambers-pagination .page-numbers.current {
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border-color: var(--legal-border);
  box-shadow: var(--shadow-sm);
}

/* -------------------------------------------------------------------------
   SIDEBAR & WIDGETS
   ------------------------------------------------------------------------- */
.sidebar-widget {
  background-color: var(--white);
  border: 1px solid rgba(120, 65, 27, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--legal-navy);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--legal-border);
}

.widget-list {
  list-style: none;
}

.widget-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.widget-list li:last-child {
  border-bottom: none;
}

.widget-list a {
  color: var(--legal-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-list a:hover {
  color: var(--legal-gold);
}

/* Search Widget Form */
.chambers-search-form {
  position: relative;
  display: flex;
}

.chambers-search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(120, 65, 27, 0.3);
  background-color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--legal-navy);
}

.chambers-search-input:focus {
  outline: none;
  border-color: var(--legal-gold);
  box-shadow: 0 0 0 3px rgba(199, 120, 56, 0.15);
}

.chambers-search-submit {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 36px;
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.chambers-search-submit:hover {
  background-color: var(--navy-dark);
}

/* -------------------------------------------------------------------------
   COMMENTS SECTION
   ------------------------------------------------------------------------- */
.comments-area {
  margin-top: 3rem;
  background-color: var(--white);
  border: 1px solid rgba(120, 65, 27, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.comments-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--legal-navy);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--legal-border);
  padding-bottom: 0.5rem;
}

.comment-list {
  list-style: none;
  margin-bottom: 2rem;
}

.comment-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.comment-author-name {
  font-weight: 700;
  color: var(--legal-navy);
}

.comment-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.comment-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

/* Comment Form */
.comment-form-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--legal-navy);
  margin-bottom: 1rem;
}

.comment-form p {
  margin-bottom: 1rem;
}

.comment-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--legal-navy);
  margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(120, 65, 27, 0.3);
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--legal-gold);
}

.comment-form input[type="submit"] {
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: 1px solid var(--legal-border);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comment-form input[type="submit"]:hover {
  background-color: var(--navy-dark);
  color: var(--gold-light);
}

/* -------------------------------------------------------------------------
   DISPATCH NEWSLETTER / CALL TO ACTION BOX
   ------------------------------------------------------------------------- */
.chambers-dispatch-box {
  background-color: var(--legal-navy);
  background-image: linear-gradient(135deg, var(--legal-navy) 0%, var(--navy-dark) 100%);
  border: 1px solid var(--legal-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  margin-top: 3.5rem;
  text-align: center;
}

.dispatch-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--legal-gold);
  font-weight: 700;
}

.dispatch-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin: 0.5rem 0 0.75rem 0;
  color: var(--white);
}

.dispatch-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 1.5rem auto;
}

.dispatch-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.dispatch-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--legal-slate);
  background-color: var(--navy-dark);
  color: var(--white);
  font-size: 0.875rem;
}

.dispatch-input:focus {
  outline: none;
  border-color: var(--legal-gold);
}

.dispatch-btn {
  background-color: var(--legal-gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dispatch-btn:hover {
  background-color: var(--gold-light);
}

/* -------------------------------------------------------------------------
   BCI RULE 36 DISCLAIMER MODAL
   ------------------------------------------------------------------------- */
.bci-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(26, 21, 20, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bci-modal-backdrop.is-hidden {
  display: none !important;
}

.bci-modal-dialog {
  width: 100%;
  max-width: 650px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--legal-gold);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.bci-modal-header {
  background-color: var(--legal-navy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--legal-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bci-modal-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.bci-emblem-mini {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--navy-dark);
  border: 1px solid rgba(199, 120, 56, 0.5);
  color: var(--legal-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cinzel);
  font-size: 1.25rem;
  font-weight: 700;
}

.bci-modal-header-text h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
}

.bci-modal-header-text span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--legal-gold);
  font-weight: 600;
}

.bci-modal-body {
  padding: 1.5rem;
  max-height: 55vh;
  overflow-y: auto;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.6;
}

.bci-alert-box {
  background-color: #fffbeb;
  border-left: 4px solid #b45309;
  color: #78350f;
  padding: 0.85rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 1rem;
}

.bci-list {
  list-style: none;
  margin-top: 0.75rem;
}

.bci-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.bci-list li i {
  color: var(--legal-gold);
  margin-top: 3px;
  font-size: 0.75rem;
}

.bci-modal-footer {
  padding: 1rem 1.5rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bci-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  cursor: pointer;
}

.bci-accept-btn {
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: 1px solid var(--legal-border);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bci-accept-btn:hover {
  background-color: var(--navy-dark);
  color: var(--gold-light);
}

/* -------------------------------------------------------------------------
   CHAMBERS FOOTER
   ------------------------------------------------------------------------- */
.chambers-footer {
  background-color: var(--navy-dark);
  color: #94a3b8;
  border-top: 1px solid var(--legal-slate);
  font-size: 0.8rem;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  color: #94a3b8;
}

.footer-list a:hover {
  color: var(--legal-gold);
}

.footer-bci-card {
  background-color: rgba(40, 33, 32, 0.7);
  border: 1px solid var(--legal-slate);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--legal-slate);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-links a:hover {
  color: var(--legal-gold);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--legal-navy);
  color: var(--legal-gold);
  border: 1px solid var(--legal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   LEGAL PORTAL & PARALLAX UTILITY STYLES
   ------------------------------------------------------------------------- */
.backdrop-blur-legal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.badge-bci {
  background-color: rgba(120, 65, 27, 0.16);
  border: 1px solid rgba(120, 65, 27, 0.55);
  color: #df9358;
}
.parallax-section {
  position: relative;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 150%;
  will-change: transform;
  pointer-events: none;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s cubic-bezier(0, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .parallax-bg {
    transform: none !important;
  }
}
.bg-court-columns {
  background-image: 
    radial-gradient(circle at 50% 25%, rgba(199, 120, 56, 0.18) 0%, transparent 65%),
    linear-gradient(180deg, rgba(40, 33, 32, 0.95) 0%, rgba(26, 21, 20, 0.98) 100%),
    url("data:image/svg+xml,%3Csvg width='120' height='240' viewBox='0 0 120 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 230 L10 40 M30 230 L30 40 M40 230 L40 40 M60 230 L60 40 M70 230 L70 40 M90 230 L90 40 M100 230 L100 40 M5 40 L115 40 M5 30 L115 30 M15 20 L105 20 M60 5 L115 20 L5 20 Z M5 230 L115 230 M0 240 L120 240' stroke='%2378411b' stroke-width='1.2' stroke-opacity='0.28' fill='none'/%3E%3C/svg%3E");
}
.bg-scales-guilloche {
  background-image:
    radial-gradient(ellipse at 80% 20%, rgba(199, 120, 56, 0.20) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(56, 46, 45, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, rgba(26, 21, 20, 0.97) 0%, rgba(40, 33, 32, 0.94) 50%, rgba(26, 21, 20, 0.98) 100%),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2378411b' stroke-width='1' stroke-opacity='0.24' fill='none'%3E%3Ccircle cx='80' cy='80' r='60'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='80' cy='80' r='20'/%3E%3Cpath d='M80 10 L80 150 M10 80 L150 80 M30 30 L130 130 M30 130 L130 30'/%3E%3Cpath d='M40 70 L60 100 L20 100 Z M120 70 L140 100 L100 100 Z'/%3E%3C/g%3E%3C/svg%3E");
}
.bg-legal-library-parchment {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(120, 65, 27, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #faf7f5 0%, #f4ede6 100%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h80v80H0z' fill='none'/%3E%3Cpath d='M20 20h40v40H20z' stroke='%2378411b' stroke-width='0.5' stroke-opacity='0.12' fill='none'/%3E%3Ctext x='40' y='46' font-family='serif' font-size='18' text-anchor='middle' fill='%2378411b' fill-opacity='0.10'%3E§%3C/text%3E%3C/svg%3E");
}
