/* Only the Florida processing-dates partial opts into these rules. */
.florida-processing-dates {
  --dates-gutter: clamp(18px, 4vw, 56px);
  --dates-warning-ink: #624313;
  --dates-warning-paper: #fff4d9;
  min-width: 0;
  line-height: 1.6;
}

.florida-processing-dates .hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(32px, 5vw, 64px);
}

.florida-processing-dates h1 {
  max-width: 19ch;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.florida-processing-dates .hero-text {
  max-width: 62ch;
  line-height: 1.6;
}

.florida-processing-dates .actions {
  margin-top: 28px;
  gap: 14px;
}

.florida-processing-dates .trust-panel {
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.florida-processing-dates .trust-panel h2 {
  line-height: 1.2;
  margin-bottom: 20px;
}

.florida-processing-dates .trust-panel ul {
  list-style: none;
  padding: 0;
}

.florida-processing-dates .trust-panel li {
  margin: 16px 0 0;
  font-weight: 500;
  line-height: 1.55;
}

.florida-processing-dates .trust-panel .florida-dates-signal {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #39566d;
}

.florida-processing-dates .florida-dates-signal strong,
.florida-processing-dates .florida-dates-signal span {
  display: block;
}

.florida-processing-dates .florida-dates-signal span {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.florida-processing-dates .florida-dates-status,
.florida-processing-dates .florida-dates-empty {
  padding: 18px 20px;
  border: 1px solid #d9b46b;
  border-left: 4px solid #b37b16;
  border-radius: 6px;
  color: var(--dates-warning-ink);
  background: var(--dates-warning-paper);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.florida-processing-dates .florida-dates-status {
  margin: 28px 0 0;
  max-width: 65ch;
}

.florida-processing-dates .section {
  padding: clamp(32px, 4.5vw, 60px) var(--dates-gutter);
}

.florida-processing-dates .section-header {
  max-width: 850px;
  margin-bottom: 28px;
}

.florida-processing-dates .section h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.16;
  margin-bottom: 20px;
}

.florida-processing-dates .card-grid article {
  border-top: 3px solid #c6d5e1;
  box-shadow: none;
}

.florida-processing-dates .card-grid h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.florida-processing-dates .card-grid p,
.florida-processing-dates .split p {
  font-size: 16px;
  line-height: 1.7;
}

.florida-processing-dates .card-grid p:last-child,
.florida-processing-dates .contact-card p:last-child {
  margin-bottom: 0;
}

.florida-processing-dates .florida-dates-context {
  gap: clamp(24px, 4vw, 56px);
}

.florida-processing-dates .florida-dates-provenance {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.florida-processing-dates[data-date-state="fallback"] .florida-dates-provenance,
.florida-processing-dates[data-date-state="unavailable"] .florida-dates-provenance {
  border-left: 4px solid #b37b16;
  padding: 12px 16px;
  background: var(--dates-warning-paper);
  color: var(--dates-warning-ink);
}

.florida-processing-dates .florida-dates-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: none;
}

/* Keep native table layout and column headers at every width. The labelled,
   keyboard-focusable region scrolls on small screens instead of the document. */
.florida-processing-dates .florida-dates-table {
  min-width: 34rem;
  width: 100%;
  table-layout: fixed;
}

.florida-processing-dates .florida-dates-table th,
.florida-processing-dates .florida-dates-table td {
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.florida-processing-dates .florida-dates-table th {
  width: 50%;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 700;
}

.florida-processing-dates .florida-dates-table td:last-child {
  font-variant-numeric: tabular-nums;
}

.florida-processing-dates .florida-dates-table tbody tr:nth-child(even) {
  background: #f7fafc;
}

.florida-processing-dates .florida-dates-table .florida-dates-apostille-row {
  background: #edf4f9;
}

.florida-processing-dates .florida-dates-apostille-row td:first-child {
  border-left: 4px solid #39566d;
}

.florida-processing-dates .processing-date-row-note {
  display: block;
  margin-top: 6px;
  color: #35516a;
  font-size: 14px;
  line-height: 1.5;
}

.florida-processing-dates[data-date-state="fallback"] .florida-dates-table th {
  background: var(--dates-warning-paper);
  color: var(--dates-warning-ink);
}

.florida-processing-dates a:focus-visible,
.florida-processing-dates .florida-dates-table-scroll:focus-visible {
  outline: 3px solid #a16b00;
  outline-offset: 4px;
}

.florida-processing-dates .hero a:focus-visible {
  outline-color: #f4d27a;
}

@media (max-width: 900px) {
  .florida-processing-dates .hero,
  .florida-processing-dates .split,
  .florida-processing-dates .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .florida-processing-dates h1 {
    max-width: 24ch;
  }

  .florida-processing-dates .trust-panel {
    width: 100%;
  }
}
