/*
Theme Name: Astra Child
Template: astra
*/
@import url("../astra/style.css");
/* ============================================================
   cars.zone article content styles (cz-art-*)
   Added: 2026-05-15 for Step 5.7 flagship article + future articles
   Scope: article body content; does NOT touch Astra core, shortcodes,
   widgets, or admin UI. All classes prefixed cz-art- for namespace safety.
   Aesthetic reference: ProPublica, Tax Foundation, Visual Capitalist.
   ============================================================ */

/* Root tokens — single source for color + spacing decisions */
:root {
  --cz-art-text:        #1a1a1a;
  --cz-art-text-muted:  #555;
  --cz-art-accent:      #1f4e79;    /* deep blue, ProPublica-adjacent */
  --cz-art-accent-soft: #e8f0f7;    /* tinted bg for callouts */
  --cz-art-border:      #d4d4d4;
  --cz-art-border-soft: #ececec;
  --cz-art-bg-soft:     #f7f7f5;    /* off-white for code/math blocks */
  --cz-art-mono:        ui-monospace, "SF Mono", "Cascadia Mono",
                        Menlo, Monaco, Consolas, monospace;
  --cz-art-space-sm:    0.5rem;
  --cz-art-space-md:    1rem;
  --cz-art-space-lg:    1.5rem;
  --cz-art-space-xl:    2.25rem;
  --cz-art-radius:      4px;
}

/* ------------------------------------------------------------
   PATTERN 1 — Worked-math blocks
   Use: any block showing math calculation steps.
   Markup: <div class="cz-art-math"> ... </div>
   Mobile: stays full-width with reduced padding.
   ------------------------------------------------------------ */
.cz-art-math {
  background: var(--cz-art-bg-soft);
  border-left: 3px solid var(--cz-art-accent);
  border-radius: var(--cz-art-radius);
  padding: var(--cz-art-space-md) var(--cz-art-space-lg);
  margin: var(--cz-art-space-lg) 0;
  font-family: var(--cz-art-mono);
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--cz-art-text);
  overflow-x: auto;
}
.cz-art-math ul,
.cz-art-math ol {
  margin: 0;
  padding-left: 1.25rem;
}
.cz-art-math li {
  margin: 0.25rem 0;
}
.cz-art-math strong {
  color: var(--cz-art-accent);
  font-weight: 600;
}
@media (max-width: 600px) {
  .cz-art-math {
    padding: var(--cz-art-space-sm) var(--cz-art-space-md);
    font-size: 0.88rem;
  }
}

/* ------------------------------------------------------------
   PATTERN 2 — State callout boxes
   Use: state-specific notes ("In Michigan, ...", "WA buyers should know ...")
   Markup: <aside class="cz-art-callout">
             <span class="cz-art-callout-label">Michigan</span>
             ...prose...
           </aside>
   Optional modifier: cz-art-callout--warn for alarm-worthy notes (rare).
   ------------------------------------------------------------ */
.cz-art-callout {
  background: var(--cz-art-accent-soft);
  border-left: 4px solid var(--cz-art-accent);
  border-radius: 0 var(--cz-art-radius) var(--cz-art-radius) 0;
  padding: var(--cz-art-space-md) var(--cz-art-space-lg);
  margin: var(--cz-art-space-lg) 0;
  font-size: 0.96rem;
  line-height: 1.6;
}
.cz-art-callout-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cz-art-accent);
  margin-bottom: 0.35rem;
}
.cz-art-callout p:last-child {
  margin-bottom: 0;
}
.cz-art-callout--warn {
  background: #fdf3e7;
  border-left-color: #c66a1a;
}
.cz-art-callout--warn .cz-art-callout-label {
  color: #c66a1a;
}

/* ------------------------------------------------------------
   PATTERN 3 — Citation blocks
   Use: source citations, statute references, data version stamps.
   Markup: <div class="cz-art-citation"> ... </div>
   Smaller, muted, sits visually below normal prose without competing.
   ------------------------------------------------------------ */
.cz-art-citation {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--cz-art-text-muted);
  border-top: 1px solid var(--cz-art-border-soft);
  padding-top: var(--cz-art-space-md);
  margin-top: var(--cz-art-space-xl);
}
.cz-art-citation h3,
.cz-art-citation h4 {
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cz-art-text);
  margin: 0 0 var(--cz-art-space-sm) 0;
}
.cz-art-citation ul {
  margin: 0;
  padding-left: 1.1rem;
}
.cz-art-citation li {
  margin: 0.2rem 0;
}
.cz-art-citation a {
  color: var(--cz-art-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------
   PATTERN 4 — H2 spacing improvement
   Goal: stronger visual rhythm between sections without redesigning Astra typography.
   Targets article body H2 only; does not affect hub pages or pillar nav.
   Scope guard: applies inside .cz-art-body wrapper OR .entry-content > h2
   (Astra's standard content wrapper).
   ------------------------------------------------------------ */
.entry-content > h2,
.cz-art-body > h2 {
  margin-top: var(--cz-art-space-xl);
  margin-bottom: var(--cz-art-space-md);
  padding-bottom: var(--cz-art-space-sm);
  border-bottom: 1px solid var(--cz-art-border-soft);
  font-weight: 700;
  line-height: 1.25;
}
.entry-content > h2 + p,
.cz-art-body > h2 + p {
  margin-top: var(--cz-art-space-md);
}
.entry-content > h3,
.cz-art-body > h3 {
  margin-top: var(--cz-art-space-lg);
  margin-bottom: var(--cz-art-space-sm);
  font-weight: 600;
}

/* ------------------------------------------------------------
   PATTERN 5 — Article table styling (responsive)
   Use: comparison tables INSIDE article body.
   NOT for [cz_state_trade_in_table] — that shortcode has its own
   styles emitted by cz_titax_inline_assets().
   Markup: <table class="cz-art-table"> ... </table>
   Mobile: horizontal scroll preserved (alternative card view is heavier
   to author per table; horizontal scroll is acceptable for ≤4 columns
   and matches Tax Foundation pattern).
   ------------------------------------------------------------ */
.cz-art-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--cz-art-space-lg) 0;
  font-size: 0.94rem;
}
.cz-art-table-wrap {
  /* Optional wrapper for horizontal scroll on narrow viewports.
     Markup: <div class="cz-art-table-wrap"><table class="cz-art-table">...</table></div> */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--cz-art-space-lg) 0;
}
.cz-art-table-wrap .cz-art-table {
  margin: 0;
}
.cz-art-table thead th {
  background: var(--cz-art-accent);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: var(--cz-art-space-sm) var(--cz-art-space-md);
  border-bottom: 2px solid var(--cz-art-accent);
}
.cz-art-table tbody td {
  padding: var(--cz-art-space-sm) var(--cz-art-space-md);
  border-bottom: 1px solid var(--cz-art-border);
  vertical-align: top;
}
.cz-art-table tbody tr:nth-child(even) td {
  background: var(--cz-art-bg-soft);
}
.cz-art-table tbody tr:hover td {
  background: var(--cz-art-accent-soft);
}
@media (max-width: 600px) {
  .cz-art-table {
    font-size: 0.88rem;
  }
  .cz-art-table thead th,
  .cz-art-table tbody td {
    padding: 0.4rem 0.6rem;
  }
}

/* End cz-art-* article content styles. */


/* ============================================================
   CARS.ZONE CALCULATORS HUB REFINEMENT (cz-hub-*)
   Scope: /calculators/ tool cards, badges, and responsive buttons.
   Purely additive CSS — Zero HTML/DOM or Schema modifications.
   ============================================================ */

/* 1. Grid & Uniform Card Heights */
.cz-calc-hub .cz-hub-tools-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  margin-bottom: 44px !important;
}

@media (min-width: 768px) {
  .cz-calc-hub .cz-hub-tools-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* 2. Modern Tool Cards (Uniform height, flex layout, hover lift) */
.cz-calc-hub .cz-hub-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 28px 24px 24px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.2s ease !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.cz-calc-hub .cz-hub-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08) !important;
  border-color: #cbd5e1 !important;
}

/* Flagship Card Accent */
.cz-calc-hub .cz-card-flagship {
  border: 1.5px solid #93c5fd !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
}

.cz-calc-hub .cz-card-flagship:hover {
  border-color: #2563eb !important;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12) !important;
}

/* 3. Header & Trust Badges */
.cz-calc-hub .cz-hub-card-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
}

.cz-calc-hub .cz-hub-badge {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 5px 10px !important;
  border-radius: 6px !important;
  line-height: 1 !important;
}

.cz-calc-hub .cz-badge-primary {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.cz-calc-hub .cz-badge-emerald {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.cz-calc-hub .cz-badge-indigo {
  background: #eef2ff !important;
  color: #4338ca !important;
  border: 1px solid #c7d2fe !important;
}

.cz-calc-hub .cz-badge-amber {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.cz-calc-hub .cz-hub-stat {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  background: #f1f5f9 !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  border: 1px solid #e2e8f0 !important;
  white-space: nowrap !important;
}

/* 4. Typography & Card Content */
.cz-calc-hub .cz-hub-card-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
  letter-spacing: -0.01em !important;
}

.cz-calc-hub .cz-hub-card-desc {
  font-size: 14.5px !important;
  color: #475569 !important;
  line-height: 1.55 !important;
  margin: 0 0 18px !important;
}

.cz-calc-hub .cz-hub-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 14px !important;
}

.cz-calc-hub .cz-hub-features li {
  font-size: 13px !important;
  color: #64748b !important;
  margin-bottom: 6px !important;
  line-height: 1.4 !important;
}

.cz-calc-hub .cz-hub-features strong {
  color: #1e293b !important;
  font-weight: 700 !important;
}

/* 5. Clean Action Buttons with Min 48px Touch Targets */
.cz-calc-hub .cz-hub-btn {
  margin-top: auto !important;
  min-height: 48px !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  transition: all 0.18s ease !important;
  box-sizing: border-box !important;
}

.cz-calc-hub .cz-btn-primary {
  background: #0f172a !important;
  color: #ffffff !important;
  border: 1.5px solid #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

.cz-calc-hub .cz-btn-primary:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
}

.cz-calc-hub .cz-btn-secondary {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
}

.cz-calc-hub .cz-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #0f172a !important;
  color: #0f172a !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}


/* ==========================================================================
   SCOPE 2: Flagship Reciprocity Calculator (/out-of-state-car-buying-sales-tax-calculator/)
   Post ID: 4208 | Strictly Scoped UI Polish & Zero Dataset Disturbance
   ========================================================================== */

/* 1. Form Inputs & Selects Focus States */
.page-id-4208 .cz-field {
  margin-bottom: 18px !important;
}

.page-id-4208 .cz-field label {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  margin-bottom: 6px !important;
}

.page-id-4208 .cz-field-sub {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.page-id-4208 .cz-field-hint {
  font-size: 11.5px !important;
  color: #64748b !important;
  margin: 6px 0 0 !important;
  line-height: 1.4 !important;
}

.page-id-4208 .cz-select {
  width: 100% !important;
  min-height: 48px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
  outline: none !important;
  appearance: auto !important;
}

.page-id-4208 .cz-select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.16) !important;
}

.page-id-4208 .cz-input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  overflow: hidden !important;
  min-height: 48px !important;
}

.page-id-4208 .cz-input-group:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.16) !important;
}

.page-id-4208 .cz-input-prefix,
.page-id-4208 .cz-input-suffix {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  user-select: none !important;
}

.page-id-4208 .cz-input-prefix {
  border-right: 1px solid #e2e8f0 !important;
}

.page-id-4208 .cz-input-suffix {
  border-left: 1px solid #e2e8f0 !important;
}

.page-id-4208 .cz-input-group .cz-input {
  flex: 1 1 auto !important;
  width: 100% !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 10px 14px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  font-family: inherit !important;
  min-height: 48px !important;
}

.page-id-4208 .cz-search-input {
  width: 100% !important;
  min-height: 48px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.page-id-4208 .cz-search-input:focus {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.16) !important;
}

/* 2. Decision Badges & Status Pills */
.page-id-4208 .cz-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  letter-spacing: 0.02em !important;
}

.page-id-4208 .cz-badge-emerald {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.page-id-4208 .cz-badge-rose {
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid #fecdd3 !important;
}

.page-id-4208 .cz-badge-amber {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.page-id-4208 .cz-due-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 12px !important;
}

.page-id-4208 .cz-status-pill {
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
}

.page-id-4208 .cz-status-green {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #86efac !important;
}

.page-id-4208 .cz-status-blue {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1px solid #93c5fd !important;
}

.page-id-4208 .cz-status-rose {
  background: #ffe4e6 !important;
  color: #be123c !important;
  border: 1px solid #fca5a5 !important;
}

.page-id-4208 .cz-verdict-card {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
  border: 2px solid #0f172a !important;
  border-radius: 18px !important;
}

/* 3. Sticky Table Header & Scroll Polish */
.page-id-4208 .cz-table-wrap {
  max-height: 720px !important;
  overflow: auto !important;
  position: relative !important;
  -webkit-overflow-scrolling: touch !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}

.page-id-4208 .cz-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.page-id-4208 .cz-table thead th {
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
  background: #0f172a !important;
  color: #f8fafc !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 13px 14px !important;
  border-bottom: 2px solid #334155 !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

/* Sticky first column (State) on horizontal scroll */
.page-id-4208 .cz-table thead th:first-child {
  position: sticky !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 25 !important;
  background: #0f172a !important;
}

.page-id-4208 .cz-table tbody td:first-child {
  position: sticky !important;
  left: 0 !important;
  z-index: 10 !important;
  background: #ffffff !important;
  font-weight: 700 !important;
  border-right: 1px solid #f1f5f9 !important;
}

.page-id-4208 .cz-table tbody tr:hover td:first-child {
  background: #f8fafc !important;
}

.page-id-4208 .cz-table tbody tr:hover td {
  background: #f8fafc !important;
}

/* 4. Mobile Viewports: Horizontal Scroll Indicator Cue */
@media (max-width: 768px) {
  .page-id-4208 .cz-table-controls::after {
    content: "👉 Swipe table horizontally to inspect all statutory columns" !important;
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-align: right !important;
    padding: 4px 6px !important;
    font-style: italic !important;
  }
  .page-id-4208 .cz-table-wrap {
    box-shadow: inset -10px 0 10px -8px rgba(15, 23, 42, 0.25), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }
}

/* ==========================================================================
   GLOBAL FAIL-SAFE: Completely Suppress WordPress Comment Forms
   ========================================================================== */
#comments,
#respond,
.comments-area,
.comment-respond,
.ast-comment-form,
.comments-title {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   SCOPE 2.1: Post 4208 UI Polish & Spatial Balance
   ========================================================================== */

/* 1. Statutory Settlement Audit Strip (Height & Balance) */
.page-id-4208 .cz-settlement-audit {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
  margin-bottom: 4px !important;
}

.page-id-4208 .cz-audit-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  font-size: 12.5px !important;
  color: #475569 !important;
}

.page-id-4208 .cz-audit-label strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.page-id-4208 .cz-audit-badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.page-id-4208 .cz-audit-green {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.page-id-4208 .cz-audit-blue {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.page-id-4208 .cz-audit-slate {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

/* 2. Modern Borderless Divider Accordion for FAQs */
.cz-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-top: 1px solid #e2e8f0 !important;
  margin-top: 16px !important;
}

.cz-faq-item,
.cz-faq-item[open] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.cz-faq-q,
.cz-faq-q:not(.open):hover,
.cz-faq-q:not(.open):focus,
.cz-faq-q.open,
.cz-faq-q.open:hover,
.cz-faq-q.open:focus,
.cz-faq-item[open] .cz-faq-q,
.cz-faq-item[open] .cz-faq-q:hover,
.cz-faq-item[open] .cz-faq-q:focus,
.cz-faq-item[open] .cz-faq-q:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.cz-faq-q,
.cz-faq-item summary,
button.cz-faq-q {
  padding: 18px 4px !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
  transition: color 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  text-align: left !important;
}

.cz-faq-q:hover,
.cz-faq-item[open] .cz-faq-q:hover {
  color: #2563eb !important;
}

.cz-faq-item[open] .cz-faq-q {
  color: #0f172a !important;
}

.cz-faq-a {
  padding: 0 4px 18px !important;
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  border-top: none !important;
}

.cz-faq-a p {
  margin: 0 0 10px !important;
}

.cz-faq-a p:last-child {
  margin-bottom: 0 !important;
}

/* 3. Statutory Authority Card & Centered Refined Action Button */
.cz-statutory-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.cz-statutory-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  height: 100% !important;
}

.cz-cite-note {
  margin-top: 6px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

.cz-dmv-print-bar {
  margin-top: auto !important;
  padding-top: 18px !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

.cz-btn-print {
  width: auto !important;
  max-width: 380px !important;
  min-height: 46px !important;
  padding: 12px 24px !important;
  margin: 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.22) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.cz-btn-print:hover {
  background: #1e40af !important;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.32) !important;
  transform: translateY(-1px) !important;
}

/* 4. Consistent Author Box & Footer Spacing Site-Wide */
.cz-author-box,
.cz-editorial-card,
.cz-author-showcase {
  margin-top: 48px !important;
  margin-bottom: 48px !important;
}

.site-content,
.ast-article-single,
.entry-content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}


/* 5. Numeric Precision & Typography Hierarchy (CrUX & Accounting Standard) */
.page-id-4208,
.page-id-4208 .cz-article,
.page-id-4208 body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.page-id-4208 .cz-table,
.page-id-4208 .cz-table td,
.page-id-4208 .cz-table th,
.page-id-4208 .cz-due-val,
.page-id-4208 .cz-metric-card,
.page-id-4208 .cz-metric-val,
.page-id-4208 .cz-input,
.page-id-4208 .cz-audit-row,
.page-id-4208 .cz-cite-row,
.cz-table,
.cz-table td,
.cz-due-val,
.cz-metric-card,
.cz-input {
  font-variant-numeric: tabular-nums !important;
  -webkit-font-smoothing: antialiased;
}

/* 6. Page-Specific Bottom Container Normalization */
.page-id-4208 .cz-oot {
  padding-bottom: 0 !important;
}

.page-id-4097 .cz-hub-grid-section,
.page-id-4097 .entry-content {
  margin-bottom: 64px !important;
}
