@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   CAMERA AVVOCATI SAN DONÀ DI PIAVE — DESIGN SYSTEM & MASTER STYLESHEET
   Architectural Direction: Boston Bar Association (bostonbar.org) & Ontario Bar Association (oba.org)
   Aesthetic: Contemporary Legal Tech, High-Impact Editorial, Crisp Modern Geometry
   Colors: Boston Crimson Red (#C8102E), Dark Ink (#0B0F19), Pure Crisp White Surfaces (#FFFFFF), Slate Accents (#F8FAFC, #E2E8F0)
   Typography: Outfit (Headings & Display) + Plus Jakarta Sans (Interface & Body)
   ========================================================================== */

:root {
  /* Brand Primary - Boston Bar Crimson Red */
  --red-primary: #C8102E;
  --red-hover: #A50D24;
  --red-dark: #800A1C;
  --red-subtle: #FFF0F2;
  --red-subtle-2: rgba(200, 16, 46, 0.08);
  --red-border: rgba(200, 16, 46, 0.2);

  /* Backward Compatibility Aliases (Seamlessly map old burgundy to Boston Red) */
  --burgundy: #C8102E;
  --burgundy-dark: #A50D24;
  --burgundy-light: #E02847;
  --burgundy-subtle: #FFF0F2;
  --burgundy-subtle-2: rgba(200, 16, 46, 0.08);
  --burgundy-border: rgba(200, 16, 46, 0.2);

  /* Refined Gold Accents (Subtle, Prestigious) */
  --gold: #C5A059;
  --gold-dark: #A38243;
  --gold-light: #DFC07E;
  --gold-subtle: rgba(197, 160, 89, 0.12);
  --gold-line: rgba(197, 160, 89, 0.28);

  /* Neutrals, Slates & Deep Charcoal / Ink */
  --ink: #0B0F19;
  --ink-2: #111827;
  --ink-3: #1E293B;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;

  /* Semantic Typography Colors */
  --charcoal: #1E293B;
  --charcoal-dark: #0F172A;
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Surfaces & Crisp Light-Slate Backgrounds */
  --bg-page: #FFFFFF;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --paper: #F8FAFC;        /* Replaces muddy yellow paper with crisp slate-50 */
  --paper-card: #FFFFFF;
  --paper-soft: #F1F5F9;
  --paper-alt: #E2E8F0;
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Modern Elevated Drop Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 44px -8px rgba(15, 23, 42, 0.12), 0 10px 18px -4px rgba(15, 23, 42, 0.05);

  /* Geometric Bento Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Modern Geometric Typography System */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Outfit', sans-serif; /* Dropped Playfair Display; aliases route to modern Outfit */
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Layout Spacing */
  --maxw: 1280px;
  --maxw-narrow: 940px;
  --section-spacing: 100px;
}

/* ==========================================================================
   RESET & FOUNDATIONAL SETUP
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--red-primary);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: var(--red-hover);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s ease;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

::selection {
  background: var(--red-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   COMMON UTILITIES & TYPOGRAPHY SCALE (OUTFIT + PLUS JAKARTA SANS)
   ========================================================================== */

.container {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.container-narrow {
  max-width: var(--maxw-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Generous whitespace overhaul: 100px padding */
.section-padding {
  padding-top: var(--section-spacing);
  padding-bottom: var(--section-spacing);
}

.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

.section-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red-primary);
  margin-bottom: 14px;
}

.section-overline::before,
.section-overline::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--red-primary);
  border-radius: 1px;
}

.section-head:not(.center) .section-overline::after {
  display: none;
}

/* Headings scale */
h1, .hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

h2, .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--slate-900);
}

.section-subtitle,
.lead-text {
  font-size: clamp(1.1rem, 1.8vw, 1.22rem);
  color: var(--slate-600);
  line-height: 1.68;
  font-weight: 400;
}

/* ==========================================================================
   BUTTONS (BOSTON BAR & OBA MODERN HIGH-IMPACT SYSTEM)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}

.btn-primary,
.btn-burgundy {
  background: var(--red-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.28);
}

.btn-primary:hover,
.btn-burgundy:hover {
  background: var(--red-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.38);
}

.btn-secondary,
.btn-outline {
  background: #FFFFFF;
  color: var(--slate-900);
  border: 1.5px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: var(--red-subtle);
  color: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.28);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--gold-line);
}

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

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-sm {
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: 8px;
}

.btn-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red-primary);
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.btn-icon-link:hover {
  color: var(--red-hover);
  gap: 12px;
}

.btn-icon-link svg {
  transition: transform 0.2s ease;
}

.btn-icon-link:hover svg {
  transform: translateX(4px);
}

/* Badges & Tags */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 6px;
}

.badge-tag-burgundy,
.badge-tag-red {
  background: var(--red-subtle);
  color: var(--red-primary);
  border: 1px solid var(--red-border);
}

.badge-tag-gold {
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-line);
}

.badge-tag-dark {
  background: var(--slate-900);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   TOP UTILITY BAR (BOSTON BAR STYLE)
   ========================================================================== */

.topbar {
  background: var(--ink);
  color: var(--slate-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  position: relative;
  z-index: 1001;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-badge {
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.topbar-message {
  color: var(--slate-400);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.topbar-link {
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
}

.topbar-link:hover {
  color: #FFFFFF;
}

.topbar-link svg {
  color: var(--gold-light);
}

.topbar-member-btn {
  background: rgba(200, 16, 46, 0.15);
  color: #FFFFFF;
  border: 1px solid var(--red-border);
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.topbar-member-btn:hover {
  background: var(--red-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.35);
}

/* ==========================================================================
   PRIMARY HEADER NAVIGATION (BOSTON BAR + OBA INSPIRED)
   ========================================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 28px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-crest {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  padding: 4px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease;
}

.brand-wrapper:hover .brand-crest {
  transform: scale(1.03);
}

.brand-crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--red-primary);
}

.brand-desc {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--slate-500);
  margin-top: 3px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background: var(--red-primary);
  border-radius: 2px;
  transition: width 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  transition: all 0.2s ease;
}

.header-search-btn:hover {
  color: var(--red-primary);
  border-color: var(--red-border);
  background: #FFFFFF;
}

.hamburger-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--slate-200);
  background: #FFFFFF;
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
}

/* ==========================================================================
   HERO SECTION (BOSTON BAR BOLD HIGH-IMPACT TECH AESTHETIC)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0B0F19 0%, #151C2C 60%, #1F0D15 100%);
  color: #FFFFFF;
  padding-top: 105px;
  padding-bottom: 115px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glow-1 {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -160px;
  left: 10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 16, 46, 0.14);
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: #FFD4DB;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold-light);
  font-weight: 800;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 38px;
  font-weight: 400;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--slate-400);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  color: var(--gold-light);
}

/* Hero Right Bento Plaque / Featured Spotlight */
.hero-spotlight {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-spotlight-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-spotlight-status {
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 4px;
}

.hero-spotlight-event-date {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-date-block {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  color: var(--slate-900);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.hero-date-month {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--red-primary);
  letter-spacing: 1px;
}

.hero-date-day {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 2px;
}

.hero-spotlight-event-info h3 {
  font-size: 1.25rem;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 8px;
}

.hero-spotlight-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-spotlight-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

.hero-spotlight-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-spotlight-meta-row svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

/* ==========================================================================
   LIVE HIGHLIGHT CARDS (ONTARIO / BOSTON BAR BANNER)
   ========================================================================== */

.highlight-banner {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  margin-top: -44px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  overflow: hidden;
}

.highlight-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.highlight-card {
  padding: 36px 40px;
  border-right: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease, transform 0.2s ease;
  background: #FFFFFF;
}

.highlight-card:last-child {
  border-right: none;
}

.highlight-card:hover {
  background: var(--slate-50);
}

.highlight-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.highlight-category {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red-primary);
}

.highlight-card h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.highlight-link:hover {
  color: var(--red-hover);
  gap: 10px;
}

/* ==========================================================================
   UPCOMING EVENTS SECTION & BOSTON BAR EVENT ROWS
   ========================================================================== */

.events-section {
  background: var(--bg-subtle);
}

.events-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-tab {
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-700);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-tab:hover {
  border-color: var(--red-border);
  color: var(--red-primary);
  background: var(--red-subtle);
}

.filter-tab.active {
  background: var(--red-primary);
  color: #FFFFFF;
  border-color: var(--red-primary);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Modern Boston Bar Horizontal Event Row Card */
.event-row-card,
.event-row,
.event-card-horizontal {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 88px 1fr 220px;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.event-row-card:hover,
.event-row:hover,
.event-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

/* Date Block (Boston Bar Signature Block) */
.event-date-box,
.event-date-block {
  width: 88px;
  min-height: 88px;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  flex-shrink: 0;
}

.event-date-weekday {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  letter-spacing: 0.8px;
  line-height: 1;
  margin-bottom: 2px;
}

.event-date-day {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red-primary);
  line-height: 1;
}

.event-date-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-primary);
  letter-spacing: 0.8px;
  line-height: 1;
  margin-top: 3px;
}

.event-info,
.event-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

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

.event-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.event-title a {
  color: inherit;
}

.event-title a:hover {
  color: var(--red-primary);
}

.event-meta-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.84rem;
  color: var(--slate-500);
  margin-top: 4px;
  flex-wrap: wrap;
}

.event-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-meta-item svg {
  color: var(--red-primary);
}

.event-action-col,
.event-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* ==========================================================================
   NEWS & INSIGHTS SECTION (MODERN BENTO GRID ARCHITECTURE)
   ========================================================================== */

.insights-section {
  background: #FFFFFF;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-bottom: 48px;
}

/* Featured Article Card (Bento Style) */
.featured-insight-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.26s ease;
}

.featured-insight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

.featured-insight-image-wrap {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.featured-insight-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-insight-card:hover .featured-insight-image-wrap img {
  transform: scale(1.03);
}

.featured-insight-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

.featured-insight-body {
  padding: 38px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.insight-meta span.category {
  color: var(--red-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.featured-insight-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.26;
  color: var(--slate-900);
  margin-bottom: 14px;
}

.featured-insight-summary {
  font-size: 0.96rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Secondary Insights Stack */
.insights-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mini-insight-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s ease;
  position: relative;
}

.mini-insight-card:hover {
  background: var(--slate-50);
  border-color: var(--red-border);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.mini-insight-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
}

.mini-insight-summary {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ==========================================================================
   CONSIGLIO DIRETTIVO & TEAM SECTION (PRESTIGIOUS BENTO TILES)
   ========================================================================== */

.direttivo-section {
  background: var(--bg-subtle);
}

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

.direttivo-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.direttivo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

.direttivo-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  background: var(--slate-100);
  position: relative;
}

.direttivo-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.35s ease;
}

.direttivo-card:hover .direttivo-photo-wrap img {
  transform: scale(1.04);
}

.direttivo-role-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--slate-900);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.direttivo-info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.direttivo-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 6px;
}

.direttivo-firm {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
  margin-bottom: 14px;
}

.direttivo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.direttivo-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-700);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   ALBO & DIRECTORY INTERACTIVE SEARCH (ONTARIO BAR TECH LOOK)
   ========================================================================== */

.directory-section {
  background: #FFFFFF;
  border-top: 1px solid var(--slate-200);
}

.directory-search-panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
}

.directory-form-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--slate-700);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--slate-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

.directory-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lawyer-card,
.js-lawyer-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s ease;
}

.lawyer-card:hover {
  background: #FFFFFF;
  border-color: var(--red-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lawyer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.lawyer-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--slate-900);
}

.lawyer-studio {
  font-size: 0.84rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.lawyer-contacts {
  font-size: 0.84rem;
  color: var(--slate-600);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.lawyer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lawyer-contact-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   PUBLIC UTILITY / CITIZEN SERVICES (ONTARIO STYLE BENTO CARDS)
   ========================================================================== */

.citizen-services-section {
  background: var(--bg-subtle);
  border-top: 1px solid var(--slate-200);
}

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

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--red-subtle);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--red-border);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 26px;
  flex: 1;
}

/* ==========================================================================
   INSTITUTIONAL QUOTE / PRESIDIO BANNER (BOSTON BAR AUTHORITY)
   ========================================================================== */

.presidio-banner {
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%), url('./IVNovembre.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.presidio-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1.35;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 32px;
  color: #FFFFFF;
  letter-spacing: -0.015em;
}

.presidio-author {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 50px;
}

.presidio-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 40px;
}

.stat-item .num {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-item .lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   MODALS: AREA RISERVATA (LOGIN + LIVE DEMO) & EVENT REGISTRATION
   ========================================================================== */

/* Triggers & Modal Hooks */
.js-open-area-riservata,
.js-open-event-reg {
  cursor: pointer;
}

#areaRiservataModal,
#eventRegistrationModal,
#searchModal,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  transform: translateY(20px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-head {
  padding: 26px 32px 20px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-head-title h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
}

.modal-head-title p {
  font-size: 0.8rem;
  color: var(--slate-500);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.modal-close-btn:hover {
  background: var(--red-subtle);
  color: var(--red-primary);
  border-color: var(--red-border);
}

.modal-nav-tabs {
  display: flex;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.modal-nav-tab {
  flex: 1;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  color: var(--slate-500);
  border-bottom: 2.5px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modal-nav-tab.active {
  color: var(--red-primary);
  background: #FFFFFF;
  border-bottom-color: var(--red-primary);
}

.modal-body {
  padding: 32px;
}

/* SPID & Auth Buttons */
.spid-button {
  background: #0066CC;
  color: #FFFFFF;
  width: 100%;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.spid-button:hover {
  background: #00509E;
  transform: translateY(-1px);
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  font-size: 0.76rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

/* Demo Dashboard Inside Modal */
.demo-member-dashboard {
  background: var(--slate-50);
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-member-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 16px;
}

.demo-member-title h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--slate-900);
}

.demo-member-title p {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.cfp-tracker-box {
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  padding: 18px;
}

.cfp-bar-wrap {
  width: 100%;
  height: 10px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 10px 0;
}

.cfp-bar-fill {
  height: 100%;
  width: 90%;
  background: linear-gradient(90deg, var(--red-primary) 0%, #E02847 100%);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   FOOTER (BOSTON BAR STRUCTURED AUTHORITY)
   ========================================================================== */

.main-footer {
  background: var(--ink);
  color: var(--slate-400);
  border-top: 3px solid var(--red-primary);
  padding-top: 80px;
  padding-bottom: 36px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-400);
  margin-bottom: 22px;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate-400);
  margin-bottom: 12px;
}

.footer-contact-row svg {
  color: var(--gold-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* ==========================================================================
   SUPPORT FOR ADDITIONAL PAGES & SECTIONS (DESIGN OVERHAUL EXTENSIONS)
   ========================================================================== */

/* Pillars Grid (used in index_design.html) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--red-border);
}

.pillar-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--slate-400);
  font-weight: 700;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--red-subtle);
  border: 1px solid var(--red-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-primary);
  margin-bottom: 22px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Founding Plaque (used in index_design.html) */
.hero-plaque {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.plaque-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plaque-head svg {
  color: var(--gold-light);
  flex-shrink: 0;
}

.plaque-head span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 700;
}

.plaque-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 26px;
}

.plaque-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plaque-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.plaque-stat .num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.plaque-stat .txt {
  font-size: 0.72rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 8px;
}

.citizen-box {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

/* Article Content & Editorial Layout */
.article-content {
  font-size: 1.1rem;
  color: var(--slate-700);
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 36px;
  margin-bottom: 16px;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 28px;
  margin-bottom: 14px;
}

.article-content blockquote {
  border-left: 3px solid var(--red-primary);
  background: var(--red-subtle);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--slate-800);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  :root {
    --section-spacing: 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-spotlight {
    max-width: 600px;
  }

  .highlight-banner-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
  }

  .highlight-card:last-child {
    border-bottom: none;
  }

  .insights-layout {
    grid-template-columns: 1fr;
  }

  .direttivo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .directory-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 64px;
  }

  .topbar {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .event-row-card,
  .event-row,
  .event-card-horizontal {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .event-date-box,
  .event-date-block {
    flex-direction: row;
    gap: 12px;
    width: 100%;
    min-height: auto;
    padding: 12px 18px;
    justify-content: flex-start;
  }

  .event-date-day {
    font-size: 1.8rem;
  }

  .event-action-col,
  .event-cta {
    align-items: stretch;
  }

  .event-action-col .btn,
  .event-cta .btn {
    width: 100%;
  }

  .direttivo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-cards-grid {
    grid-template-columns: 1fr;
  }

  .directory-form-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .presidio-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .directory-search-panel {
    padding: 24px 20px;
  }

  .modal-head {
    padding: 20px 22px;
  }

  .modal-body {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .direttivo-grid {
    grid-template-columns: 1fr;
  }

  .presidio-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
