:root {
  --bg: #eef1f3;
  --surface: #ffffff;
  --surface-soft: #f7f6f2;
  --surface-strong: #142331;
  --text: #172331;
  --muted: #65707d;
  --border: #d9dedf;
  --border-strong: #bfc8ca;
  --accent: #b98a42;
  --accent-dark: #8b642c;
  --accent-soft: #f8f1e5;
  --bs-color-primary: #0757d8;
  --bs-color-primary-dark: #003fa8;
  --bs-color-primary-light: #eef5ff;
  --bs-icon-color: var(--bs-color-primary);
  --bs-icon-bg: var(--bs-color-primary-light);
  --bs-icon-border: #dbeafe;
  --bs-card-border: #dbe6f4;
  --bs-card-hover-bg: #f8fbff;
  --navy: #142331;
  --navy-soft: #223647;
  --success: #0f766e;
  --warning: #b45309;
  --shadow: 0 18px 42px rgb(15 23 42 / 0.08);
  --radius: 8px;
  --radius-sm: 6px;
  color-scheme: light;
}

.rai-ad-enterprise-page .entry-content {
  font-size: inherit;
}

.rai-ad-enterprise-page .entry-content > *:first-child {
  margin-top: 0;
}

.rai-ad-enterprise {
  display: grid;
  gap: 28px;
}

.rai-ad-enterprise :where(h1, h2, h3, p, ul, ol) {
  margin-top: 0;
}

.rai-ad-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.rai-ad-hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
}

.rai-ad-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.4vw, 4.1rem);
  line-height: 1.04;
}

.rai-ad-hero h1 strong,
.rai-ad-hero h1 em {
  color: var(--bs-color-primary);
  font-style: normal;
}

.rai-ad-hero-copy > p:not(.rai-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.rai-ad-hero-actions,
.rai-ad-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.rai-ad-hero-tags {
  padding: 0;
  margin: 0;
  list-style: none;
}

.rai-ad-hero-tags li {
  border: 1px solid color-mix(in srgb, var(--bs-color-primary) 22%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--bs-color-primary) 8%, var(--surface));
  color: var(--bs-color-primary-dark);
  padding: 5px 12px;
  font-weight: 800;
  font-size: 13px;
}

.rai-ad-hero-panel {
  display: grid;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 28px;
}

.rai-ad-hero-panel-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-ad-hero-panel h2 {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 18px;
}

.rai-ad-hero-panel strong {
  display: block;
  color: var(--bs-color-primary);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.rai-ad-hero-panel ol {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rai-ad-hero-panel li,
.rai-ad-placement-grid article,
.rai-ad-form-copy li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.rai-ad-hero-panel li span,
.rai-ad-benefits article > span,
.rai-ad-placement-grid article > span,
.rai-ad-process-list li::before,
.rai-ad-form-copy li::before {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bs-color-primary) 11%, var(--surface));
  color: var(--bs-color-primary);
  font-weight: 900;
}

.rai-ad-hero-panel li span {
  grid-row: 1 / span 2;
}

.rai-ad-hero-panel li b,
.rai-ad-placement-grid strong,
.rai-ad-process-list strong,
.rai-ad-form-copy strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.rai-ad-hero-panel li b,
.rai-ad-hero-panel li small {
  grid-column: 2;
  min-width: 0;
}

.rai-ad-hero-panel li small,
.rai-ad-placement-grid p,
.rai-ad-process-list p,
.rai-ad-form-copy span {
  color: var(--muted);
  line-height: 1.35;
}

.rai-ad-benefits,
.rai-ad-package-grid,
.rai-ad-secondary-grid,
.rai-ad-placement-grid {
  display: grid;
  gap: 14px;
}

.rai-ad-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rai-ad-benefits article,
.rai-ad-package-card,
.rai-ad-placements,
.rai-ad-process,
.rai-ad-form-section,
.rai-ad-promo,
.rai-ad-comparison,
.rai-ad-extra-offers,
.rai-ad-faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-ad-benefits article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
}

.rai-ad-benefits h2 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.rai-ad-benefits p {
  color: var(--muted);
  line-height: 1.35;
  margin-bottom: 0;
}

.rai-section-head {
  margin-bottom: 14px;
}

.rai-section-head h2 {
  color: var(--navy);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 6px;
}

.rai-section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.rai-ad-value {
  display: grid;
  gap: 14px;
}

.rai-ad-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rai-ad-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rai-ad-package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.rai-ad-package-card.is-featured {
  border-color: var(--bs-color-primary);
  box-shadow: 0 14px 34px rgb(21 96 224 / 0.12);
}

.rai-ad-package-card.is-secondary {
  min-height: 100%;
}

.rai-ad-badge {
  width: fit-content;
  border-radius: 999px;
  background: var(--bs-color-primary);
  color: #fff;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rai-ad-package-card h3 {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.15;
}

.rai-ad-price {
  color: var(--bs-color-primary);
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
}

.rai-ad-price-stack {
  display: grid;
  gap: 4px;
  margin: 0;
}

.rai-ad-price-stack strong {
  color: var(--bs-color-primary);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.1;
}

.rai-ad-price-stack span,
.rai-ad-hero-price,
.rai-ad-annual-note,
.rai-ad-legal-note {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.rai-ad-package-card p:not(.rai-ad-price):not(.rai-ad-price-stack) {
  color: var(--muted);
  line-height: 1.4;
}

.rai-ad-package-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rai-ad-package-card li {
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.rai-ad-package-card li::before {
  content: "\2713";
  color: var(--success);
  margin-right: 8px;
}

.rai-ad-package-card :where(.rai-button, .button-secondary) {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.rai-ad-annual-note,
.rai-ad-legal-note {
  margin: 12px 0 0;
}

.rai-ad-promo,
.rai-ad-comparison,
.rai-ad-extra-offers {
  padding: 24px;
}

.rai-ad-promo {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--bs-color-primary) 8%, var(--surface));
}

.rai-ad-promo h2 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.15;
  margin-bottom: 8px;
}

.rai-ad-promo p:not(.rai-kicker) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  margin-bottom: 0;
}

.rai-ad-promo .rai-button {
  flex: 0 0 auto;
}

.rai-ad-table-wrap {
  overflow-x: auto;
}

.rai-ad-comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14px;
}

.rai-ad-comparison-table th,
.rai-ad-comparison-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: center;
}

.rai-ad-comparison-table th:first-child,
.rai-ad-comparison-table td:first-child {
  text-align: left;
}

.rai-ad-comparison-table thead th {
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
}

.rai-ad-comparison-table tbody th {
  color: var(--text);
  font-weight: 800;
}

.rai-ad-comparison-table td span[aria-label="Tak"] {
  color: var(--success);
  font-weight: 900;
}

.rai-ad-split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.85fr);
  gap: 20px;
}

.rai-ad-placements,
.rai-ad-process,
.rai-ad-faq {
  padding: 24px;
}

.rai-ad-placement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rai-ad-process-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: ad-process;
}

.rai-ad-process-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 0;
  align-items: start;
  counter-increment: ad-process;
}

.rai-ad-process-list strong,
.rai-ad-process-list p {
  grid-column: 2;
  min-width: 0;
}

.rai-ad-process-list p {
  margin: 2px 0 0;
  max-width: 36ch;
  overflow-wrap: normal;
  word-break: normal;
}

.rai-ad-process-list li::before {
  content: counter(ad-process);
  background: var(--bs-color-primary);
  color: #fff;
}

.rai-ad-form-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.rai-ad-form-copy h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.rai-ad-form-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.rai-ad-form-copy ul {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.rai-ad-form-copy strong,
.rai-ad-form-copy span {
  grid-column: 2;
  min-width: 0;
}

.rai-ad-form-copy li {
  column-gap: 12px;
  row-gap: 0;
}

.rai-ad-form-copy span {
  margin: 2px 0 0;
}

.rai-ad-form-copy li::before {
  content: "\2713";
}

.rai-ad-form-section .rai-form {
  margin: 0;
  box-shadow: none;
}

.rai-ad-form-section .rai-form .rai-checkbox > span {
  grid-column: 2;
  min-width: 0;
}

.rai-ad-form-section .rai-form button {
  justify-self: start;
}

.rai-ad-faq {
  display: grid;
  gap: 12px;
}

.rai-ad-faq h2 {
  color: var(--navy);
  font-size: 24px;
}

.rai-ad-faq details {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.rai-ad-faq summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.rai-ad-faq p {
  color: var(--muted);
  margin: 8px 0 0;
}

@media (max-width: 1100px) {
  .rai-ad-hero,
  .rai-ad-form-section,
  .rai-ad-split {
    grid-template-columns: 1fr;
  }

  .rai-ad-package-grid,
  .rai-ad-secondary-grid,
  .rai-ad-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rai-ad-promo {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .rai-ad-hero,
  .rai-ad-form-section,
  .rai-ad-placements,
  .rai-ad-process,
  .rai-ad-promo,
  .rai-ad-comparison,
  .rai-ad-extra-offers,
  .rai-ad-faq {
    padding: 20px;
  }

  .rai-ad-package-grid,
  .rai-ad-secondary-grid,
  .rai-ad-benefits,
  .rai-ad-placement-grid {
    grid-template-columns: 1fr;
  }

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

  .rai-ad-hero-actions a,
  .rai-ad-package-card :where(.rai-button, .button-secondary),
  .rai-ad-promo .rai-button,
  .rai-ad-form-section .rai-form button {
    width: 100%;
  }
}

html[data-theme="dark"] {
  --bg: #0f1b26;
  --surface: #172635;
  --surface-soft: #203141;
  --surface-strong: #09121b;
  --text: #eef4f7;
  --muted: #b7c1c8;
  --border: #314353;
  --border-strong: #496071;
  --accent: #c79a52;
  --accent-dark: #e0bb78;
  --accent-soft: #2b241a;
  --bs-color-primary: #6ea8ff;
  --bs-color-primary-dark: #b7d2ff;
  --bs-color-primary-light: #10284d;
  --bs-icon-color: var(--bs-color-primary-dark);
  --bs-icon-bg: var(--bs-color-primary-light);
  --bs-icon-border: #254974;
  --bs-card-border: #314353;
  --bs-card-hover-bg: #132b4e;
  --navy: #eef4f7;
  --navy-soft: #cdd8df;
  --shadow: 0 18px 42px rgb(0 0 0 / 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, var(--bg)) 0, var(--bg) 460px),
    var(--bg);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.bs-icon {
  display: block;
  flex: 0 0 auto;
  color: currentColor;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.045);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: min(300px, 100%);
  height: auto;
  max-height: 56px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-dark {
  display: none;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: block;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.primary-nav {
  justify-self: end;
  min-width: 0;
}

.primary-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.primary-nav a.is-active {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.theme-toggle {
  min-height: 36px;
  border-color: var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--surface-soft);
  color: var(--text);
  box-shadow: none;
  gap: 8px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.theme-toggle-icon {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: inset -5px -3px 0 currentColor;
}

.hero {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface-soft) 98%, transparent) 0%, color-mix(in srgb, var(--surface-soft) 90%, transparent) 52%, color-mix(in srgb, var(--surface-soft) 56%, transparent) 100%),
    url("../img/portal-operations.png");
  background-size: cover;
  background-position: center right;
}

.hero-utility {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--surface-soft) 98%, transparent) 0%, color-mix(in srgb, var(--surface-soft) 91%, transparent) 50%, color-mix(in srgb, var(--surface-soft) 64%, transparent) 100%),
    url("../img/portal-operations.png");
  background-size: cover;
  background-position: center right;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(320px, 0.66fr);
  gap: 36px;
  align-items: stretch;
  padding: 46px 0 34px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.ai-local-search {
  display: grid;
  gap: 8px;
  max-width: 760px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--border));
  border-radius: var(--radius);
  padding: 14px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 18px 42px rgb(15 23 42 / 0.08);
}

.ai-local-search form {
  display: grid;
  gap: 8px;
}

.ai-local-search label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
}

.ai-local-search form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ai-local-search input {
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.quick-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
}

.quick-intents a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 850;
}

.quick-intents a:hover,
.quick-intents a:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.day-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 880px;
}

.day-priority-card {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
  border-radius: var(--radius);
  padding: 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--text);
  box-shadow: 0 12px 34px rgb(15 23 42 / 0.075);
}

.day-priority-card.is-today {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 86%, transparent), var(--surface)),
    var(--surface);
}

.day-priority-card:hover,
.day-priority-card:focus-visible,
.homepage-utility-card:hover,
.homepage-utility-card:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

.day-priority-card span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.day-priority-card strong {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.08;
}

.day-priority-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.34;
}

.homepage-utility-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 1060px;
}

.homepage-utility-card {
  display: grid;
  gap: 7px;
  min-height: 122px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 26px rgb(15 23 42 / 0.055);
}

.homepage-utility-card.is-alert {
  border-color: color-mix(in srgb, #f59e0b 56%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #f59e0b 12%), var(--surface));
}

.homepage-utility-card span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.homepage-utility-card strong {
  color: var(--navy);
  font-size: 16px;
  line-height: 1.12;
}

.homepage-utility-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.ai-local-answer {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.ai-local-answer strong {
  color: var(--navy);
  font-size: 16px;
}

.ai-local-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ai-local-answer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-local-answer a {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 850;
}

.eyebrow,
.card-meta,
.rai-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 4.7vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-metrics,
.rai-offer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 4px 0 0;
}

.hero-metrics div,
.rai-offer-metrics div {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: rgb(255 255 255 / 0.78);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.hero-metrics dt,
.rai-offer-metrics dt {
  margin: 0;
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.hero-metrics dd,
.rai-offer-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-actions,
.business-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.button,
button,
.rai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(21 89 183 / 0.16);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 22%, transparent);
}

.button:hover,
.button:focus-visible,
.rai-button:hover,
.rai-button:focus-visible,
button:hover,
button:focus-visible {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.button-secondary {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.button-primary-xl {
  min-height: 54px;
  padding: 15px 24px;
  font-size: 17px;
  box-shadow: var(--shadow-md);
}

.rai-phone-button {
  min-height: 48px;
  background: var(--navy);
  border-color: var(--navy);
  font-size: 16px;
}

.hero-aside {
  display: grid;
  gap: 14px;
  align-content: stretch;
}

.city-dashboard {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  padding: 20px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--shadow);
}

.dashboard-head {
  display: grid;
  gap: 4px;
}

.dashboard-head strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.14;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-grid a {
  display: grid;
  gap: 4px;
  min-height: 112px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--surface);
  color: var(--text);
}

.dashboard-grid a:hover,
.dashboard-grid a:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.dashboard-grid strong {
  color: var(--accent-dark);
  font-size: 18px;
}

.dashboard-grid span {
  color: var(--muted);
  font-size: 13px;
}

.hero-signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hero-signal-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 7px;
  min-height: 156px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 12px 30px rgb(15 23 42 / 0.07);
}

.hero-signal-card:hover,
.hero-signal-card:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-signal-card span,
.status-stack span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-signal-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.16;
}

.hero-signal-card em {
  color: var(--accent-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.hero-signal-card small,
.status-stack small,
.daily-tile small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.status-stack {
  display: grid;
  gap: 10px;
}

.status-stack > div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  background: var(--surface);
}

.status-stack > div.is-alert {
  border-color: color-mix(in srgb, #f59e0b 58%, var(--border));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #f59e0b 12%), var(--surface)),
    var(--surface);
}

.status-stack strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
}

.rai-ad-slot,
.hero-aside-card,
.panel,
.widget,
.card,
.rai-price-card,
.single-content,
.rai-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.hero-aside-card,
.panel,
.widget,
.rai-price-card,
.single-content,
.rai-form {
  padding: 20px;
}

.hero-aside-card {
  display: grid;
  gap: 8px;
  align-content: start;
  border-color: color-mix(in srgb, var(--accent) 24%, var(--border));
}

.hero-aside-card strong {
  color: var(--accent-dark);
  font-size: 18px;
  line-height: 1.25;
}

.hero-aside-card span,
.panel p,
.widget p {
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
  padding: 34px 0;
}

.marketplace-board {
  display: grid;
  gap: 18px;
  padding: 32px 0 14px;
}

.today-board {
  display: grid;
  gap: 18px;
  padding: 34px 0 12px;
}

.today-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: end;
}

.today-board-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.today-board-head p {
  max-width: 740px;
  margin: 8px 0 0;
  color: var(--muted);
}

.date-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.date-stack span {
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.045);
}

.date-stack strong {
  color: var(--accent-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.daily-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.daily-tile {
  display: grid;
  gap: 8px;
  min-height: 160px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.daily-tile:hover,
.daily-tile:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

.daily-tile span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.daily-tile strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.14;
}

.daily-tile em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.imgw-watch {
  display: grid;
  gap: 12px;
  padding: 18px 0 12px;
}

.imgw-watch-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 16px;
  align-items: stretch;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, #38bdf8 10%), var(--surface)),
    var(--surface);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.imgw-watch-main h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.imgw-watch-main p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.imgw-weather-card,
.imgw-warning-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
  cursor: default;
}

.imgw-weather-card span,
.imgw-warning-card span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.imgw-weather-card strong {
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
}

.imgw-weather-card em,
.imgw-warning-card em {
  color: var(--accent-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.imgw-weather-card small,
.imgw-warning-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.imgw-warning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.imgw-warning-card.is-active {
  border-color: color-mix(in srgb, #f59e0b 58%, var(--border));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, #f59e0b 12%), var(--surface)),
    var(--surface);
}

.imgw-warning-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.16;
}

.imgw-source {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.imgw-source a {
  color: var(--muted);
}

.imgw-source span {
  margin-left: 8px;
}

.public-data-hub {
  display: grid;
  gap: 16px;
  padding: 18px 0 12px;
}

.public-data-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.public-data-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  min-height: 178px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
  cursor: default;
}

.public-data-card span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.public-data-card strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.16;
}

.public-data-card em {
  color: var(--accent-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.35;
}

.public-data-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.parish-watch,
.rai-parishes {
  display: grid;
  gap: 16px;
  padding: 18px 0 12px;
}

.parish-watch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 90%, var(--accent) 10%), var(--surface)),
    var(--surface);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.parish-watch-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.parish-watch-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.parish-watch-grid,
.rai-parish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rai-parish-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.045);
}

.rai-parish-search label {
  grid-column: 1 / -1;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.rai-parish-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-soft);
  color: var(--text);
  font: inherit;
}

.rai-parish-search input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}

.rai-parish-search span {
  white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.rai-parish-empty {
  margin: 0;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.parish-card,
.rai-parish-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
  cursor: default;
}

.parish-card {
  grid-template-rows: auto auto auto 1fr;
  min-height: 176px;
}

.parish-card span,
.rai-parish-card span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.parish-card strong,
.rai-parish-card h2 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.16;
}

.rai-parish-card h2 {
  margin: 0;
}

.parish-card em,
.rai-parish-card dt {
  color: var(--accent-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.parish-card small,
.rai-parish-card p,
.rai-parish-card dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.rai-parish-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.rai-parish-card dd {
  color: var(--text);
}

.rai-parish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.hospital-watch {
  display: grid;
  gap: 16px;
  padding: 18px 0 12px;
}

.hospital-watch-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, var(--accent) 12%), var(--surface)),
    var(--surface);
  box-shadow: 0 12px 32px rgb(15 23 42 / 0.06);
}

.hospital-watch-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.hospital-watch-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.hospital-watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hospital-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  min-height: 176px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
  cursor: default;
}

.hospital-card span {
  width: fit-content;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, var(--border));
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.hospital-card strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.16;
}

.hospital-card em {
  color: var(--accent-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
}

.hospital-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-tile {
  display: grid;
  gap: 8px;
  min-height: 128px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-soft)),
    var(--surface);
  color: var(--text);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.service-tile:hover,
.service-tile:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-1px);
}

.service-tile strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.16;
}

.service-tile span {
  color: var(--muted);
  font-size: 14px;
}

.live-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 30px 0 8px;
}

.live-main,
.live-side {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.live-side {
  display: grid;
  gap: 14px;
  align-content: start;
  border-color: color-mix(in srgb, var(--accent) 28%, var(--border));
}

.live-side h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.14;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface-soft);
  color: var(--text);
}

.compact-list a:hover,
.compact-list a:focus-visible {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

.compact-list time {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.compact-list strong {
  color: var(--navy);
}

.business-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.business-link-grid a {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-soft);
  color: var(--navy-soft);
  font-size: 14px;
  font-weight: 850;
}

.business-link-grid a:hover,
.business-link-grid a:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.utility-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 30px 0 6px;
}

.utility-modules article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.utility-modules h2 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.16;
}

.utility-modules p {
  margin: 0;
  color: var(--muted);
}

.utility-modules a {
  align-self: end;
  font-weight: 900;
}

.revenue-panel {
  border-color: color-mix(in srgb, var(--accent) 36%, var(--border));
}

.local-offers {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 78%, transparent), var(--surface) 64%),
    var(--surface);
}

.trust-strip {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.daily-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
}

.trust-strip span {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-left: 1px solid var(--border);
  padding: 12px 18px;
  color: #334155;
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 850;
}

.trust-strip span:last-child {
  border-right: 1px solid var(--border);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.section-head h2,
.panel h2,
.widget h2,
.page-section h1 {
  margin: 0;
  color: #0b1220;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.card {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.card:hover .card-thumb img {
  transform: scale(1.025);
}

.card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.card-no-thumb .card-body {
  min-height: 214px;
  align-content: space-between;
  border-top: 4px solid color-mix(in srgb, var(--accent) 72%, #fff);
  background:
    linear-gradient(180deg, var(--surface), var(--surface-soft)),
    var(--surface);
}

.card h3,
.card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.card h3 a {
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  position: sticky;
  top: 92px;
}

.page-section {
  padding: 38px 0 48px;
}

.narrow {
  width: min(840px, calc(100% - 40px));
}

.page-section > h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.single-content,
.entry-content {
  font-size: 17px;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.rai-source-note {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface-soft);
  color: var(--muted);
}

.rai-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.rai-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #243246;
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 850;
}

.rai-form .rai-span-2,
.rai-form .rai-checkbox {
  grid-column: 1 / -1;
}

.rai-form input,
.rai-form textarea,
.rai-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.rai-form input:focus,
.rai-form textarea:focus,
.rai-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  outline: none;
}

.rai-form button {
  justify-self: start;
}

.rai-checkbox {
  display: flex !important;
  gap: 9px !important;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 650 !important;
}

.rai-checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
}

.rai-form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.rai-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.rai-price-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
}

.rai-price-card h3,
.rai-price-card p {
  margin: 0;
}

.rai-price {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.18;
}

.rai-ad-slot {
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 88%, transparent), var(--surface) 58%),
    var(--surface);
}

.rai-ad {
  display: grid;
  gap: 5px;
  color: var(--text);
  font-weight: 900;
}

.rai-ad::before {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  content: "Oferta partnerska";
}

.rai-notice {
  border: 1px solid #b7dfcf;
  border-left: 4px solid var(--success);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #ecfdf5;
  color: #064e3b;
  font-weight: 800;
}

.rai-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 20px;
  align-items: stretch;
  margin: 8px 0 22px;
}

.rai-offer > div:first-child {
  display: grid;
  align-content: center;
  min-height: 280px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgb(9 18 27 / 0.88), rgb(34 54 71 / 0.74)),
    url("../img/local-advertising.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.rai-offer h2 {
  max-width: 720px;
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.rai-offer p:not(.rai-kicker) {
  max-width: 680px;
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 17px;
}

.rai-offer .rai-kicker {
  color: #f0d39b;
  margin-bottom: 10px;
}

.rai-offer-metrics {
  margin-top: 22px;
}

.rai-offer-metrics div {
  border-color: rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.10);
}

.rai-offer-metrics dt {
  color: #fff;
}

.rai-offer-metrics dd {
  color: rgb(255 255 255 / 0.74);
}

.rai-offer .rai-payment-note {
  margin-top: 14px;
  color: rgb(255 255 255 / 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.rai-offer .rai-payment-note a {
  color: #fff;
  font-weight: 800;
}

.rai-offer-points {
  display: grid;
  gap: 12px;
}

.rai-offer-points div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-offer-points strong {
  color: var(--accent-dark);
  font-size: 16px;
}

.rai-offer-points span,
.rai-article-cta span {
  color: var(--muted);
}

.rai-article-cta {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-soft);
}

.rai-article-cta strong {
  font-size: 18px;
  line-height: 1.25;
}

.rai-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rai-breadcrumbs a {
  color: var(--navy-soft);
}

.rai-breadcrumbs strong {
  color: var(--accent-dark);
}

.rai-lead-landing {
  display: grid;
  gap: 26px;
}

.rai-lead-hero {
  display: grid;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(135deg, rgb(9 18 27 / 0.90), rgb(34 54 71 / 0.70)),
    url("../img/local-advertising.png");
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.rai-lead-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.rai-lead-hero p:not(.rai-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 18px;
}

.rai-lead-hero .rai-kicker {
  color: #f0d39b;
}

.rai-lead-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.rai-lead-proof span {
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  padding: 8px 11px;
  background: rgb(255 255 255 / 0.10);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.rai-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 22px;
  align-items: start;
}

.rai-lead-copy,
.rai-faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-lead-copy h2,
.rai-faq h2 {
  margin: 0 0 12px;
  color: var(--navy);
}

.rai-lead-copy ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.rai-lead-copy li {
  color: var(--text);
  font-weight: 700;
}

.rai-check-list,
.rai-question-list {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.rai-check-list li,
.rai-question-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface-soft);
}

.rai-check-list li::before {
  margin-right: 8px;
  color: var(--accent-dark);
  content: "+";
}

.rai-question-list {
  counter-reset: rai-question;
}

.rai-question-list li {
  counter-increment: rai-question;
}

.rai-question-list li::before {
  margin-right: 8px;
  color: var(--accent-dark);
  font-weight: 950;
  content: counter(rai-question) ".";
}

.rai-lead-sla {
  margin-top: 18px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface-soft);
}

.rai-lead-sla strong {
  color: var(--accent-dark);
}

.rai-lead-sla p {
  margin: 5px 0 0;
  color: var(--muted);
}

.rai-faq {
  display: grid;
  gap: 10px;
}

.rai-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--surface-soft);
}

.rai-faq summary {
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.rai-faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.rai-form-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 72%, transparent), transparent 70%),
    var(--surface);
  box-shadow: 0 14px 34px rgb(15 23 42 / 0.06);
}

.rai-form-intro h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.12;
}

.rai-form-intro p:not(.rai-kicker) {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
}

.rai-form-intro dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.rai-form-intro dl div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: var(--surface);
}

.rai-form-intro dt {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
}

.rai-form-intro dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.page-section:has(.business-submit-shell) {
  width: min(1360px, calc(100% - 56px));
  padding-top: 22px;
}

.page-section:has(.business-submit-shell) > h1,
.page-section:has(.business-submit-shell) .rai-breadcrumbs {
  display: none;
}

.business-submit-shell {
  color: var(--text);
  display: grid;
  gap: 18px;
}

.business-submit-hero,
.business-submit-form-panel,
.business-submit-side-panel,
.business-submit-trust {
  background: var(--surface);
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgb(15 23 42 / .07);
}

.business-submit-hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .55fr);
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.business-submit-hero::before {
  background:
    linear-gradient(90deg, rgb(7 87 216 / .07) 1px, transparent 1px),
    linear-gradient(rgb(7 87 216 / .06) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0 0 auto auto;
  height: 100%;
  opacity: .72;
  pointer-events: none;
  position: absolute;
  width: 42%;
}

.business-submit-hero-copy,
.business-submit-metrics {
  position: relative;
  z-index: 1;
}

.business-submit-hero h1 {
  color: #06163a;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  letter-spacing: 0;
  line-height: .98;
  margin: 0;
  max-width: 880px;
}

.business-submit-hero-copy > p:not(.rai-kicker) {
  color: #53627f;
  font-size: 18px;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 820px;
}

.business-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.business-submit-metrics {
  align-content: stretch;
  display: grid;
  gap: 10px;
  margin: 0;
}

.business-submit-metrics div {
  background: rgb(255 255 255 / .86);
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 16px;
}

.business-submit-metrics dt {
  color: #0757d8;
  font-size: 30px;
  font-weight: 950;
  line-height: 1;
}

.business-submit-metrics dd {
  color: #33415f;
  font-size: 13px;
  font-weight: 850;
  margin: 0;
}

.business-submit-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
}

.business-submit-form-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.business-submit-form-head {
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
}

.business-submit-form-head h2,
.business-submit-side-panel h2 {
  color: #06163a;
  font-size: 22px;
  line-height: 1.16;
  margin: 0;
}

.business-submit-form-head p:not(.rai-kicker) {
  color: #53627f;
  margin: 0;
  max-width: 760px;
}

.business-submit-form {
  gap: 16px;
  margin-top: 0;
}

.business-submit-form label {
  color: #33415f;
}

.business-submit-form input,
.business-submit-form textarea,
.business-submit-form select {
  background: #f8fbff;
  border-color: #dbe6f4;
  border-radius: 7px;
  min-height: 46px;
}

.business-submit-form textarea {
  min-height: 132px;
  resize: vertical;
}

.business-submit-form .rai-form-note {
  background: #f3fbf6;
  border: 1px solid #d7f2df;
  border-radius: 7px;
  color: #255a36;
  padding: 12px 14px;
}

.business-submit-consents {
  background: #fbfcff;
  border: 1px solid #e8eef7;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.business-submit-form button[type="submit"] {
  background: #0757d8;
  border: 1px solid #0757d8;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  font-weight: 950;
  justify-self: start;
  min-height: 46px;
  padding: 11px 18px;
}

.business-submit-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.business-submit-side-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.business-submit-package-list {
  display: grid;
  gap: 10px;
}

.business-submit-package-list article {
  border: 1px solid #e8eef7;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 13px;
}

.business-submit-package-list strong,
.business-submit-trust strong {
  color: #06163a;
}

.business-submit-package-list span,
.business-submit-trust span {
  color: #53627f;
  font-size: 13px;
  line-height: 1.45;
}

.business-submit-checklist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.business-submit-checklist li {
  color: #33415f;
  display: grid;
  gap: 8px;
  grid-template-columns: 18px minmax(0, 1fr);
  line-height: 1.42;
}

.business-submit-checklist li::before {
  background: #eaf8ef;
  border: 1px solid #ccefd8;
  border-radius: 999px;
  color: #12843a;
  content: "✓";
  display: inline-flex;
  font-size: 11px;
  font-weight: 950;
  height: 18px;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
  place-items: center;
  width: 18px;
}

.business-submit-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-submit-trust div {
  border-right: 1px solid #e8eef7;
  display: grid;
  gap: 5px;
  padding: 18px;
}

.business-submit-trust div:last-child {
  border-right: 0;
}

@media (max-width: 1080px) {
  .business-submit-hero,
  .business-submit-layout {
    grid-template-columns: 1fr;
  }

  .business-submit-hero::before {
    width: 100%;
  }

  .business-submit-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-section:has(.business-submit-shell) {
    width: min(100% - 28px, 1360px);
  }

  .business-submit-hero,
  .business-submit-form-panel {
    padding: 18px;
  }

  .business-submit-hero h1 {
    font-size: 2.35rem;
    line-height: 1.02;
  }

  .business-submit-hero-copy > p:not(.rai-kicker) {
    font-size: 16px;
  }

  .business-submit-actions,
  .business-submit-actions .business-directory-button {
    width: 100%;
  }

  .business-submit-metrics,
  .business-submit-form,
  .business-submit-trust {
    grid-template-columns: 1fr;
  }

  .business-submit-trust div {
    border-bottom: 1px solid #e8eef7;
    border-right: 0;
  }

  .business-submit-trust div:last-child {
    border-bottom: 0;
  }
}

.page-section:has(.rai-business-submit-page) {
  padding-top: 20px;
  width: min(1180px, calc(100% - 40px));
}

.page-section:has(.rai-business-submit-page) > h1,
.page-section:has(.rai-business-submit-page) .rai-breadcrumbs {
  display: none;
}

.rai-business-submit-page {
  color: var(--text);
  display: grid;
  gap: 14px;
}

.rai-business-hero,
.rai-business-success,
.rai-business-trust-strip > div,
.rai-business-form-card,
.rai-business-side-card,
.rai-business-bottom-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgb(15 23 42 / .06);
}

.rai-business-hero {
  align-items: center;
  background:
    linear-gradient(135deg, var(--surface-strong), color-mix(in srgb, var(--surface-strong) 88%, var(--accent) 12%)),
    var(--surface-strong);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  min-height: 270px;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 32px);
  position: relative;
}

.rai-business-hero::after {
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 34%),
    linear-gradient(90deg, color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, #fff 5%, transparent) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  content: "";
  inset: 0;
  opacity: .55;
  pointer-events: none;
  position: absolute;
}

.rai-business-hero-copy,
.rai-business-hero-panel {
  position: relative;
  z-index: 1;
}

.rai-business-hero .rai-kicker {
  color: color-mix(in srgb, var(--accent) 72%, #fff);
}

.rai-business-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.45vw, 3rem);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: none;
  white-space: nowrap;
}

.rai-business-hero-copy > p:not(.rai-kicker) {
  color: color-mix(in srgb, #fff 80%, var(--muted));
  font-size: clamp(.98rem, 1.2vw, 1.1rem);
  line-height: 1.42;
  margin: 12px 0 0;
  max-width: 680px;
}

.rai-business-hero-actions,
.rai-business-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rai-business-button {
  align-items: center;
  border-radius: var(--radius-sm);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  text-align: center;
}

.rai-business-button-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
}

.rai-business-button-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.rai-business-button:hover,
.rai-business-button:focus-visible {
  text-decoration: none;
}

.rai-business-hero-panel {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 82%, #fff);
  border-radius: var(--radius);
  color: var(--text);
  display: grid;
  gap: 12px;
  justify-self: end;
  max-width: 300px;
  overflow: hidden;
  padding: 18px;
  width: 100%;
}

.rai-business-hero-panel h2 {
  color: var(--text);
  font-size: 19px;
  line-height: 1.12;
  margin: 0;
}

.rai-business-hero-panel ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rai-business-hero-panel li {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
}

.rai-business-hero-panel li span {
  background: var(--border);
  border-radius: 999px;
  height: 22px;
  width: 22px;
}

.rai-business-hero-panel li.is-active span {
  background: var(--accent);
}

.rai-business-hero-panel p {
  color: var(--success);
  font-size: 13px;
  font-weight: 900;
  margin: 0;
}

.rai-business-trust-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rai-business-trust-strip > div {
  background: var(--surface);
  display: grid;
  gap: 2px;
  min-height: 68px;
  padding: 13px 16px;
}

.rai-business-trust-strip strong {
  color: var(--accent-dark);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1;
}

.rai-business-trust-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.rai-business-submit-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
}

.rai-business-form-card,
.rai-business-side-card {
  background: var(--surface);
}

.rai-business-form-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 28px);
}

.rai-business-form-card header {
  max-width: 840px;
}

.rai-business-form-card h2,
.rai-business-side-card h2,
.rai-business-bottom-cta h2,
.rai-business-success h1 {
  color: var(--text);
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.rai-business-side-card h2 {
  font-size: clamp(1.2rem, 1.65vw, 1.5rem);
}

.rai-business-form-card header p:not(.rai-kicker),
.rai-business-bottom-cta p,
.rai-business-success p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  margin: 10px 0 0;
}

.rai-business-form {
  gap: 12px 18px;
  margin-top: 0;
}

.rai-business-form label {
  color: var(--navy-soft);
  font-size: 14px;
}

.rai-business-form label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.rai-business-form input,
.rai-business-form textarea,
.rai-business-form select {
  background: var(--surface-soft);
  border-color: var(--border);
  border-radius: var(--radius-sm);
  min-height: 42px;
  padding: 9px 11px;
}

.rai-business-form textarea {
  min-height: 108px;
  resize: vertical;
}

.rai-business-form .rai-form-note {
  background: color-mix(in srgb, var(--success) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--success) 24%, var(--border));
  border-radius: var(--radius-sm);
  color: color-mix(in srgb, var(--success) 82%, var(--text));
  padding: 10px 12px;
}

.rai-business-consents {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  padding: 12px;
}

.rai-business-form button[type="submit"] {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 950;
  justify-self: start;
  min-height: 44px;
  padding: 10px 18px;
}

.rai-business-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.rai-business-side-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.rai-business-benefits,
.rai-business-process {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.rai-business-benefits {
  list-style: none;
}

.rai-business-benefits li {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 14px;
  gap: 10px;
  grid-template-columns: 14px minmax(0, 1fr);
}

.rai-business-benefits li::before {
  background: var(--success);
  border-radius: 999px;
  content: "";
  height: 12px;
  width: 12px;
}

.rai-business-package-grid {
  display: grid;
  gap: 9px;
}

.rai-business-package-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 0 0 10px;
}

.rai-business-package-actions a {
  align-items: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
}

.rai-business-package-actions a:hover,
.rai-business-package-actions a:focus-visible {
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
}

.rai-business-package-grid article {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 2px 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 10px 13px;
}

.rai-business-package-grid article.is-featured {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.rai-business-package-grid strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.05;
}

.rai-business-package-grid span {
  align-self: center;
  color: var(--text);
  font-weight: 950;
}

.rai-business-package-grid small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  grid-column: 1 / -1;
}

.rai-business-process {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  padding-left: 1.2em;
}

.rai-business-bottom-cta {
  align-items: center;
  background: var(--surface-strong);
  color: #fff;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 28px);
}

.rai-business-bottom-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
}

.rai-business-bottom-cta p {
  color: color-mix(in srgb, #fff 78%, var(--muted));
  max-width: 780px;
}

.rai-business-success {
  align-items: center;
  background: var(--surface);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  padding: clamp(20px, 2.6vw, 28px);
}

.rai-business-success ol {
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-weight: 850;
  margin: 0;
}

.rai-business-success-actions {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (max-width: 1080px) {
  .rai-business-hero,
  .rai-business-submit-layout,
  .rai-business-success,
  .rai-business-bottom-cta {
    grid-template-columns: 1fr;
  }

  .rai-business-hero-panel {
    justify-self: start;
  }

  .rai-business-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .page-section:has(.rai-business-submit-page) {
    padding-top: 14px;
    width: min(100% - 28px, 1180px);
  }

  .rai-business-submit-page {
    gap: 12px;
  }

  .rai-business-hero {
    min-height: auto;
    padding: 18px;
  }

  .rai-business-hero h1 {
    font-size: 2.05rem;
    line-height: 1.04;
    white-space: normal;
  }

  .rai-business-hero-copy > p:not(.rai-kicker),
  .rai-business-form-card header p:not(.rai-kicker),
  .rai-business-bottom-cta p,
  .rai-business-success p {
    font-size: 14px;
  }

  .rai-business-hero-actions,
  .rai-business-hero-actions .rai-business-button,
  .rai-business-success-actions,
  .rai-business-success-actions .rai-business-button {
    width: 100%;
  }

  .rai-business-form,
  .rai-business-package-grid article {
    grid-template-columns: 1fr;
  }

  .rai-business-hero-panel {
    display: none;
  }

  .rai-business-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rai-business-trust-strip > div {
    min-height: 62px;
    padding: 12px 14px;
  }

  .rai-business-form-card,
  .rai-business-side-card,
  .rai-business-success {
    padding: 16px;
  }

  .rai-business-form-card h2,
  .rai-business-bottom-cta h2,
  .rai-business-success h1 {
    font-size: 1.65rem;
  }

  .rai-business-bottom-cta .rai-business-button {
    width: 100%;
  }
}

.rai-events {
  display: grid;
  gap: 18px;
}

.rai-events-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.rai-events-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.rai-events-head p:not(.rai-kicker) {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
}

.rai-event-filters {
  display: flex;
  justify-content: flex-end;
}

.rai-event-filters label {
  display: grid;
  gap: 6px;
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 850;
}

.rai-event-filters select {
  min-height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.rai-event-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  background: color-mix(in srgb, var(--surface) 82%, var(--surface-soft));
}

.rai-event-chips a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--surface);
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 900;
}

.rai-event-chips a:hover,
.rai-event-chips a:focus-visible,
.rai-event-chips a.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-decoration: none;
}

.rai-event-chips strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  color: var(--accent-dark);
  font-size: 12px;
  line-height: 1;
}

.rai-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rai-calendar {
  display: grid;
  gap: 18px;
  margin: 8px 0;
}

.rai-calendar-month {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
  overflow: hidden;
}

.rai-calendar-month h3 {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
  color: var(--navy);
  font-size: 20px;
  text-transform: capitalize;
}

.rai-calendar-weekdays,
.rai-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.rai-calendar-weekdays span {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 9px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.rai-calendar-weekdays span:last-child {
  border-right: 0;
}

.rai-calendar-day {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 98px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px;
  background: var(--surface);
}

.rai-calendar-day:nth-child(7n) {
  border-right: 0;
}

.rai-calendar-day-empty {
  background: var(--surface-soft);
}

.rai-calendar-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.rai-calendar-day.has-events {
  background: color-mix(in srgb, var(--accent-soft) 58%, var(--surface));
}

.rai-calendar-day a {
  display: block;
  border-radius: var(--radius-sm);
  padding: 5px 6px;
  background: var(--surface-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.rai-calendar-day a:hover,
.rai-calendar-day a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.rai-calendar-day small {
  color: var(--accent-dark);
  font-weight: 850;
}

.rai-event-card,
.rai-event-details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-weekend-events {
  display: grid;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  padding: 18px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}

.rai-weekend-events h3 {
  margin: 0;
  color: var(--navy);
}

.rai-event-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
}

.rai-event-date {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 170px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgb(9 18 27 / 0.88), rgb(34 54 71 / 0.74)),
    var(--surface-strong);
  color: #fff;
}

.rai-event-date strong {
  color: #f0d39b;
  font-size: 18px;
  line-height: 1.15;
}

.rai-event-date span {
  font-size: 26px;
  font-weight: 950;
}

.rai-event-body {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.rai-event-category {
  justify-self: start;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--border));
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

.rai-event-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.rai-event-body h3 a {
  color: var(--text);
}

.rai-event-body p,
.rai-event-body dl {
  margin: 0;
  color: var(--muted);
}

.rai-event-body dl,
.rai-event-details dl {
  display: grid;
  gap: 7px;
}

.rai-event-body dl div,
.rai-event-details dl div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
}

.rai-event-body dt,
.rai-event-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rai-event-body dd,
.rai-event-details dd {
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

.rai-event-submit {
  margin-top: 30px;
}

.rai-event-form {
  margin-top: 16px;
}

.rai-event-details {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 20px;
}

.rai-event-details h2 {
  margin: 0;
  color: var(--navy);
}

.rai-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  color: var(--muted);
}

.archive-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.business-grid {
  margin-bottom: 28px;
}

.business-card {
  position: relative;
  display: grid;
  gap: 10px;
}

.business-card-featured {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: var(--shadow);
}

.business-badge {
  justify-self: start;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  color: #fff;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}

.rai-business-category {
  display: grid;
  gap: 26px;
}

.rai-business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rai-business-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(15 23 42 / 0.055);
}

.rai-business-card.is-featured {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: var(--shadow);
}

.rai-business-card h2,
.rai-business-card p,
.rai-business-card dl {
  margin: 0;
}

.rai-business-category-label {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rai-business-card dl {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.rai-business-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rai-business-card dd {
  margin: 0;
  color: var(--text);
  font-weight: 750;
}

.rai-badge {
  justify-self: start;
  border-radius: var(--radius-sm);
  padding: 4px 9px;
  background: var(--surface-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  background: #09121b;
  color: #e5edf7;
  padding: 34px 0;
}

.site-footer a {
  color: #e5edf7;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #9aa8bb;
}

@media (max-width: 1020px) {
  .hero-grid,
  .content-grid,
  .rai-offer,
  .rai-form-intro,
  .today-board-head,
  .imgw-watch-main,
  .parish-watch-head,
  .hospital-watch-head,
  .live-sections,
  .rai-lead-layout,
  .rai-business-grid,
  .utility-modules {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .rai-pricing {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .daily-grid,
  .hero-signal-list,
  .day-priority-grid,
  .homepage-utility-grid,
  .imgw-warning-list,
  .public-data-grid,
  .parish-watch-grid,
  .rai-parish-grid,
  .hospital-watch-grid,
  .service-grid,
  .trust-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .header-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
    min-width: 0;
  }

  .brand-logo {
    width: min(220px, 100%);
    max-height: 48px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    width: 100%;
    gap: 8px;
  }

  .primary-nav {
    justify-self: start;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 4px;
  }

  .primary-nav a {
    justify-content: center;
    width: 100%;
    min-height: 32px;
    padding: 5px 6px;
    font-size: 12px;
    text-align: center;
  }

  .theme-toggle {
    width: 38px;
    min-width: 38px;
    min-height: 34px;
    padding: 7px;
  }

  .theme-toggle [data-theme-toggle-text] {
    display: none;
  }

  .hero-grid {
    padding: 32px 0 24px;
    min-width: 0;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .hero p:not(.eyebrow) {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .hero-copy > *,
  .hero-aside,
  .city-dashboard {
    max-width: 100%;
    min-width: 0;
  }

  .hero-signal-list {
    grid-template-columns: 1fr;
  }

  .day-priority-grid,
  .homepage-utility-grid {
    grid-template-columns: 1fr;
  }

  .day-priority-card,
  .homepage-utility-card {
    min-height: auto;
  }

  .city-dashboard {
    display: none;
  }

  .ai-local-search {
    max-width: 100%;
    overflow: hidden;
  }

  .ai-local-search form > div,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .ai-local-search button,
  .hero-actions .button,
  .hero-actions .rai-button {
    width: 100%;
  }

  .quick-intents,
  .hero-actions {
    max-width: 100%;
  }

  .hero-metrics,
  .rai-offer-metrics,
  .rai-form-intro dl,
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }

  .post-grid,
  .rai-pricing,
  .daily-grid,
  .day-priority-grid,
  .homepage-utility-grid,
  .imgw-warning-list,
  .public-data-grid,
  .parish-watch-grid,
  .rai-parish-grid,
  .hospital-watch-grid,
  .service-grid,
  .business-link-grid,
  .rai-business-grid,
  .rai-form {
    grid-template-columns: 1fr;
  }

  .section-head,
  .imgw-watch-main,
  .parish-watch-head,
  .hospital-watch-head,
  .archive-head,
  .rai-events-head {
    display: grid;
  }

  .compact-list a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .date-stack {
    grid-template-columns: 1fr;
  }

  .rai-parish-search {
    grid-template-columns: 1fr;
  }

  .rai-parish-search span {
    width: fit-content;
  }

  .rai-event-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .rai-event-chips a {
    flex: 0 0 auto;
  }

  .daily-tile {
    min-height: auto;
  }

  .hospital-card {
    min-height: auto;
  }

  .public-data-card {
    min-height: auto;
  }

  .parish-card {
    min-height: auto;
  }

  .rai-event-grid,
  .rai-event-card {
    grid-template-columns: 1fr;
  }

  .rai-calendar {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .rai-calendar-month {
    min-width: 720px;
  }

  .rai-event-date {
    min-height: 112px;
  }

.footer-grid {
    flex-direction: column;
  }
}

.rai-board {
  display: grid;
  gap: 22px;
}

.rai-board-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.rai-board-filters label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rai-board-filters input,
.rai-board-filters select {
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
}

.rai-board-filters button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.rai-board-grid {
  display: grid;
  gap: 12px;
}

.rai-board-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.rai-board-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.rai-board-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.rai-board-card p {
  margin: 0;
  color: var(--muted);
}

.rai-board-card small {
  color: var(--muted);
  font-weight: 700;
}

.rai-board-card-meta,
.rai-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rai-board-card-meta span,
.rai-board-meta span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.rai-board-submit {
  margin-top: 24px;
}

.rai-board-promotion {
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
}

.rai-board-promotion legend {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  padding: 0 6px;
}

.rai-board-promotion p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.rai-board-promotion .rai-board-payment-note {
  border: 1px solid color-mix(in srgb, var(--bs-color-primary) 24%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bs-color-primary) 7%, var(--surface));
  color: var(--text);
  font-weight: 750;
  padding: 10px 12px;
}

.rai-board-promotion label {
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  padding: 10px 12px;
}

.rai-board-promotion input {
  accent-color: var(--brand);
}

.rai-board-promotion-success {
  margin: 14px 0 0;
}

.rai-board-payment-next {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--bs-color-primary) 26%, var(--border));
  border-radius: 8px;
  background: color-mix(in srgb, var(--bs-color-primary) 6%, var(--surface));
  box-shadow: 0 12px 28px rgb(7 87 216 / 0.08);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 0 18px;
  padding: 18px;
}

.rai-board-payment-next h2 {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  margin: 0 0 6px;
}

.rai-board-payment-next p:not(.rai-kicker) {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.rai-board-payment-next .classifieds-button {
  white-space: nowrap;
}

.rai-directory-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.rai-directory-filters label,
.rai-board-report label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rai-directory-filters input,
.rai-directory-filters select,
.rai-board-report textarea {
  min-height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
}

.rai-directory-filters button,
.rai-board-report button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.rai-business-card-head,
.rai-card-actions,
.rai-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rai-card-actions .rai-button {
  flex: 0 0 auto;
}

.rai-badge-muted {
  background: var(--surface-soft);
  color: var(--muted);
  border-color: var(--border);
}

.rai-location-page,
.rai-topic-page {
  display: grid;
  gap: 22px;
}

.rai-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  gap: 22px;
  align-items: start;
}

.rai-location-grid > section,
.rai-location-grid > aside {
  min-width: 0;
}

.rai-link-list a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.rai-board-report {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.comment-respond,
.comments-area {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface);
  color: var(--text);
}

.comment-form .submit {
  width: auto;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 760px) {
  .rai-board-filters,
  .rai-directory-filters,
  .rai-location-grid {
    grid-template-columns: 1fr;
  }
}

.brand-wordmark {
  color: var(--text);
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
  max-width: 260px;
}

.brand-borderhub .bz-zone > .bz-hero,
.brand-borderhub .site-footer .footer-grid > div:first-child p:not(.brand-footer-copy):not(.footer-legal-note),
.brand-borderhub .site-footer .footer-grid > div:nth-child(2) > a:nth-of-type(1),
.brand-borderhub .site-footer .footer-grid > div:nth-child(2) > a:nth-of-type(2) {
  display: none;
}

.borderhub-hero,
.bz-brand-intro,
.bz-local-teaser {
  background: #0f172a;
  color: #f8fafc;
  padding: 56px 0;
}

.bz-brand-intro,
.bz-local-teaser {
  border-radius: 0;
  margin: 0 0 24px;
  padding-left: max(22px, calc((100vw - 1180px) / 2));
  padding-right: max(22px, calc((100vw - 1180px) / 2));
}

.borderhub-hero {
  background:
    linear-gradient(135deg, rgb(7 17 38 / 0.96), rgb(9 32 58 / 0.94)),
    radial-gradient(circle at 78% 18%, rgb(41 121 255 / 0.32), transparent 34%),
    linear-gradient(90deg, rgb(15 23 42), rgb(22 78 99));
  border-bottom: 1px solid rgb(148 163 184 / 0.22);
  overflow: hidden;
  padding: 72px 0 64px;
  position: relative;
}

.borderhub-hero::after {
  background-image:
    linear-gradient(rgb(255 255 255 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 82%, transparent);
  pointer-events: none;
  position: absolute;
}

.borderhub-hero-grid,
.borderhub-dashboard {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  position: relative;
  z-index: 1;
}

.borderhub-hero h1,
.bz-brand-intro h1,
.bz-local-teaser h1 {
  color: inherit;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: .92;
  margin: 0 0 18px;
}

.borderhub-hero p,
.bz-brand-intro p,
.bz-local-teaser p {
  color: rgb(226 232 240 / 0.88);
  font-size: 18px;
  line-height: 1.75;
  max-width: 760px;
}

.borderhub-command-bar,
.borderhub-trust-strip {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.borderhub-command-bar {
  margin-top: 30px;
}

.borderhub-command-bar .button-secondary {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.22);
  color: #f8fafc;
}

.borderhub-trust-strip {
  color: rgb(203 213 225 / 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  text-transform: uppercase;
}

.borderhub-trust-strip li {
  border-left: 1px solid rgb(148 163 184 / 0.38);
  padding-left: 12px;
}

.borderhub-trust-strip li:first-child {
  border-left: 0;
  padding-left: 0;
}

.borderhub-ops-panel {
  background: linear-gradient(180deg, rgb(248 250 252 / 0.98), rgb(226 232 240 / 0.94));
  border: 1px solid rgb(255 255 255 / 0.4);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgb(2 6 23 / 0.36);
  color: #0f172a;
  padding: 22px;
}

.borderhub-panel-head {
  border-bottom: 1px solid #dbe4ef;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding-bottom: 16px;
}

.borderhub-panel-head span,
.borderhub-signal-grid span {
  color: #64748b;
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.borderhub-panel-head strong {
  font-size: 14px;
}

.borderhub-signal-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.borderhub-signal-grid div {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  padding: 16px;
}

.borderhub-signal-grid strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-top: 10px;
}

.borderhub-flow {
  background: #0f172a;
  border-radius: 8px;
  color: #e2e8f0;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
  overflow: hidden;
}

.borderhub-flow span {
  background: rgb(255 255 255 / 0.08);
  font-size: 12px;
  font-weight: 850;
  padding: 12px 8px;
  text-align: center;
}

.borderhub-route-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 32px;
}

.borderhub-route-grid a,
.borderhub-wait-list article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 18px;
  text-decoration: none;
}

.borderhub-route-grid a {
  align-content: space-between;
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.05);
}

.borderhub-route-grid a span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.borderhub-route-grid a strong {
  font-size: 18px;
  line-height: 1.2;
}

.borderhub-route-grid a em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.borderhub-dashboard {
  background: #f8fafc;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  margin-top: 34px;
  padding: 30px;
}

.borderhub-dashboard h2,
.borderhub-company-band h2 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
  margin: 0 0 14px;
}

.borderhub-dashboard-copy p:last-child {
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}

.borderhub-wait-list {
  display: grid;
  gap: 12px;
}

.borderhub-wait-list article {
  min-height: auto;
}

.borderhub-wait-list article strong {
  color: #0f172a;
}

.borderhub-wait-list article span {
  color: #64748b;
}

.borderhub-company-band {
  align-items: center;
  background: #0f172a;
  border-radius: 12px;
  color: #f8fafc;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding: 28px 32px;
}

.borderhub-company-band h2 {
  color: inherit;
  max-width: 760px;
}

.borderhub-company-band .eyebrow {
  color: #7dd3fc;
}

.borderhub-package-section {
  margin-top: 30px;
}

.borderhub-package-head {
  max-width: 760px;
}

.borderhub-package-head h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  margin: 0 0 12px;
}

.borderhub-package-head p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.borderhub-package-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.borderhub-package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(15 23 42 / 0.05);
  display: grid;
  gap: 12px;
  padding: 20px;
}

.borderhub-package-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.borderhub-package-card h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 0;
}

.borderhub-package-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.borderhub-package-card .button {
  align-self: end;
  justify-self: start;
  margin-top: 6px;
}

@media (max-width: 760px) {
  .borderhub-hero-grid,
  .borderhub-dashboard {
    grid-template-columns: 1fr;
  }

  .borderhub-hero,
  .bz-brand-intro,
  .bz-local-teaser {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .borderhub-route-grid {
    grid-template-columns: 1fr;
  }

  .borderhub-signal-grid,
  .borderhub-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .borderhub-company-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .borderhub-package-grid {
    grid-template-columns: 1fr;
  }
}

.brand-local {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --text: #06163a;
  --muted: #53627f;
  --border: #dbe6f4;
  --border-strong: #c4d4e8;
  --accent: #0757d8;
  --accent-dark: #003fa8;
  --accent-soft: #eef5ff;
  --bs-color-primary: #0757d8;
  --bs-color-primary-dark: #003fa8;
  --bs-color-primary-light: #eef5ff;
  --bs-icon-color: var(--bs-color-primary);
  --bs-icon-bg: var(--bs-color-primary-light);
  --bs-icon-border: #dbeafe;
  --bs-card-border: #dbe6f4;
  --bs-card-hover-bg: #f8fbff;
  --navy: #06163a;
  --navy-soft: #10214c;
  background: #fff;
}

.brand-local .site-header {
  background: rgb(255 255 255 / 0.96);
  border-bottom-color: #e4edf8;
  box-shadow: 0 8px 22px rgb(15 35 80 / 0.06);
}

.brand-local .header-inner {
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  min-height: 78px;
}

.brand-local .brand-logo {
  max-height: 58px;
}

.brand-local .primary-nav a {
  color: #06163a;
  font-size: 14px;
  font-weight: 750;
  padding-inline: 12px;
}

.brand-local .theme-toggle {
  display: inline-flex;
  border: 1px solid #dbe6f4;
  background: #ffffff;
  color: #06163a;
  font-weight: 850;
}

.bs-header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #06163a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.bs-weather-dot {
  width: 18px;
  height: 18px;
  border: 2px solid #ffb000;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgb(255 176 0 / 0.12);
}

.bs-header-search,
.bs-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.bs-header-search {
  border: 1px solid #dbe6f4;
  color: #06163a;
  background: #fff;
}

.bs-header-cta {
  background: #0757d8;
  color: #fff;
  box-shadow: 0 8px 18px rgb(7 87 216 / 0.18);
}

.bs-header-cta:hover,
.bs-header-search:hover {
  text-decoration: none;
}

.brand-local .site-main {
  background: #fff;
}

.bs-home-hero {
  min-height: 430px;
  border-bottom: 1px solid #e5eef8;
  background:
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 0.96) 34%, rgb(255 255 255 / 0.72) 52%, rgb(255 255 255 / 0.04) 78%),
    radial-gradient(circle at 74% 26%, rgb(7 87 216 / 0.16), transparent 28%),
    linear-gradient(135deg, #dbeafe 0%, #f8fbff 42%, #c8def7 100%);
}

.bs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  min-height: 430px;
  align-items: center;
}

.bs-hero-copy {
  display: grid;
  gap: 22px;
  padding: 56px 0;
  max-width: 620px;
}

.bs-hero-copy h1 {
  margin: 0;
  color: #06163a;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.bs-hero-copy h1 span {
  color: #0757d8;
}

.bs-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: #53627f;
  font-size: 20px;
  line-height: 1.6;
}

.bs-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 560px;
  padding: 8px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgb(15 35 80 / 0.08);
}

.bs-search input {
  width: 100%;
  min-height: 50px;
  border: 0;
  padding: 0 14px;
  color: #06163a;
  font: inherit;
  outline: none;
}

.bs-search button {
  min-width: 98px;
  min-height: 50px;
  border-radius: 6px;
  background: #0757d8;
  border-color: #0757d8;
}

.bs-quick-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 560px;
}

.bs-quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #dbe6f4;
  border-radius: 5px;
  padding: 7px 9px;
  color: #0757d8;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.bs-quick-links a:hover {
  background: #eef5ff;
  text-decoration: none;
}

.bs-hero-photo {
  position: relative;
  min-height: 430px;
  align-self: stretch;
  overflow: hidden;
}

.bs-hero-photo::before {
  content: "";
  position: absolute;
  inset: 42px 0 0 28px;
  border-radius: 8px 0 0 8px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.42)),
    url("../img/portal-operations.png");
  background-size: cover;
  background-position: center;
  opacity: .72;
}

.bs-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 46%;
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 0.78) 42%, transparent 100%);
}

.bs-status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  padding: 28px 0 36px;
}

.bs-status-grid article,
.bs-category-grid a,
.bs-featured-news,
.bs-events,
.bs-community-strip {
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(15 35 80 / 0.045);
}

.bs-status-grid article {
  display: grid;
  gap: 7px;
  min-height: 192px;
  padding: 22px 24px;
}

.bs-card-icon,
.bs-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #0757d8;
  font-weight: 900;
}

.bs-card-icon {
  border: 1px solid #cfe0f5;
  background: #f7fbff;
}

.bs-card-icon .bs-icon,
.bs-category-grid .bs-icon,
.bs-community-strip .bs-icon,
.bs-trust-grid .bs-icon {
  width: 22px;
  height: 22px;
}

.bs-score {
  border: 3px solid #22a447;
  color: #139336;
}

.bs-status-grid strong,
.bs-category-grid strong {
  color: #06163a;
  font-size: 16px;
}

.bs-status-grid small,
.bs-status-grid em,
.bs-category-grid small,
.bs-category-grid em {
  color: #53627f;
  font-style: normal;
  font-size: 13px;
}

.bs-status-grid b {
  color: #06163a;
  font-size: 30px;
  line-height: 1.1;
}

.bs-status-grid a,
.bs-category-grid b,
.bs-section-head a,
.bs-featured-news a,
.bs-community-strip a {
  color: #0757d8;
  font-size: 14px;
  font-weight: 850;
}

.bs-main-sections {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: 34px;
  padding: 0 0 34px;
}

.bs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.bs-section-head h2 {
  margin: 0;
  color: #06163a;
  font-size: 25px;
  line-height: 1.2;
}

.bs-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .82fr);
  gap: 26px;
}

.bs-featured-news {
  overflow: hidden;
}

.bs-featured-news img,
.bs-news-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  border-radius: 8px 8px 0 0;
  background:
    linear-gradient(135deg, rgb(7 87 216 / 0.18), rgb(6 22 58 / 0.05)),
    url("../img/portal-operations.png");
  background-size: cover;
}

.bs-featured-news div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.bs-featured-news span,
.bs-news-list span,
.bs-event-list em {
  color: #0757d8;
  font-size: 11px;
  font-weight: 950;
  font-style: normal;
  text-transform: uppercase;
}

.bs-featured-news h3,
.bs-news-list h3,
.bs-event-list h3 {
  margin: 0;
  color: #06163a;
  font-size: 18px;
  line-height: 1.32;
}

.bs-featured-news p {
  margin: 0;
  color: #53627f;
}

.bs-news-list {
  display: grid;
  gap: 14px;
}

.bs-news-list article {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e5eef8;
  padding-bottom: 14px;
}

.bs-news-list article:not(:has(img)) {
  grid-template-columns: 1fr;
}

.bs-news-list img {
  width: 96px;
  height: 76px;
  object-fit: cover;
  border-radius: 7px;
}

.bs-events {
  padding: 20px;
}

.bs-event-list {
  display: grid;
  border: 1px solid #e5eef8;
  border-radius: 8px;
  overflow: hidden;
}

.bs-event-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  color: #06163a;
  text-decoration: none;
}

.bs-event-list a + a {
  border-top: 1px solid #e5eef8;
}

.bs-event-list time {
  display: grid;
  place-content: center;
  gap: 2px;
  border-right: 1px solid #e5eef8;
  min-height: 96px;
  text-align: center;
}

.bs-event-list time strong {
  color: #06163a;
  font-size: 30px;
  line-height: 1;
}

.bs-event-list time span {
  color: #06163a;
  font-size: 12px;
  font-weight: 850;
}

.bs-event-list div {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 15px 18px;
}

.bs-event-list small {
  color: #53627f;
  font-size: 13px;
}

.bs-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  padding: 0 0 22px;
}

.bs-category-grid a {
  display: grid;
  gap: 6px;
  min-height: 136px;
  padding: 20px;
  color: #06163a;
  text-decoration: none;
}

.bs-category-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  color: #0757d8;
  background: #f7fbff;
  font-weight: 950;
}

.bs-community-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
  margin-bottom: 34px;
  padding: 22px 28px;
  background: #f8fbff;
}

.bs-community-strip div {
  display: grid;
  grid-template-columns: 42px minmax(0, auto);
  gap: 2px 18px;
  align-items: center;
}

.bs-community-strip span {
  grid-row: span 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  color: #0757d8;
  background: #fff;
  font-weight: 950;
}

.bs-community-strip strong {
  color: #06163a;
  font-size: 18px;
}

.bs-community-strip p {
  margin: 0;
  color: #53627f;
}

.bs-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0 0 54px;
}

.bs-trust-grid article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: start;
}

.bs-trust-grid span {
  grid-row: span 2;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #0757d8;
  background: #fff;
  font-weight: 950;
}

.bs-trust-grid strong {
  color: #06163a;
}

.bs-trust-grid p {
  margin: 0;
  color: #53627f;
  font-size: 14px;
}

.brand-local .site-footer {
  background: #f8fbff;
  border-top: 1px solid #e5eef8;
}

@media (max-width: 1080px) {
  .brand-local .header-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .brand-local .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .bs-status-grid,
  .bs-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bs-promoted-classifieds-grid {
    grid-template-columns: 1fr;
  }

  .bs-main-sections,
  .bs-news-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand-local .site-header {
    position: sticky;
  }

  .brand-local .header-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 10px 0;
  }

  .brand-local .brand-logo {
    width: 172px;
    max-height: 42px;
  }

  .brand-local .header-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .brand-local .primary-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .brand-local .primary-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    min-width: 100%;
  }

  .brand-local .primary-nav a {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .bs-header-tools {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 8px;
    width: 100%;
  }

  .bs-header-search {
    display: none;
  }

  .bs-header-cta {
    min-height: 38px;
    padding-inline: 12px;
    justify-self: end;
  }

  .bs-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .bs-hero-copy {
    padding: 38px 0;
  }

  .bs-hero-photo {
    display: none;
  }

  .bs-search {
    grid-template-columns: 1fr;
  }

  .bs-search button {
    width: 100%;
  }

  .bs-status-grid,
  .bs-category-grid,
  .bs-promoted-classifieds-grid,
  .bs-trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bs-community-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .bs-community-strip .button {
    width: 100%;
  }
}

/* BialaStrefa homepage visual polish pass. */
.brand-local .site-header {
  box-shadow: 0 12px 28px rgb(15 35 80 / 0.065);
}

.brand-local .header-inner {
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
  min-height: 72px;
}

.brand-local .brand-logo {
  width: min(220px, 100%);
  max-height: 52px;
}

.brand-local .primary-nav a {
  font-size: 13px;
  padding-inline: 10px;
}

.bs-header-tools {
  gap: 9px;
  font-size: 13px;
}

.bs-home-hero {
  min-height: 418px;
  background:
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 0.98) 35%, rgb(255 255 255 / 0.84) 51%, rgb(255 255 255 / 0.18) 78%),
    url("../img/bialastrefa-hero-city.png"),
    linear-gradient(135deg, #eaf4ff 0%, #f8fbff 44%, #d9ecff 100%);
  background-position: center right, center right, center;
  background-repeat: no-repeat;
  background-size: auto 100%, auto 100%, cover;
}

.bs-hero-grid {
  min-height: 418px;
}

.bs-hero-copy {
  gap: 20px;
  max-width: 635px;
  padding: 52px 0;
}

.bs-hero-copy h1 {
  font-size: clamp(44px, 5.4vw, 70px);
  line-height: 1.04;
}

.bs-hero-copy p {
  font-size: 19px;
  line-height: 1.55;
}

.bs-search {
  max-width: 600px;
  border-radius: 7px;
  box-shadow: 0 16px 36px rgb(15 35 80 / 0.1);
}

.bs-hero-photo {
  min-height: 418px;
}

.bs-hero-photo::before {
  display: none;
}

.bs-hero-photo::after {
  width: 34%;
  background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 0.74) 48%, transparent 100%);
}

.bs-status-grid {
  gap: 24px;
  padding: 26px 0 38px;
}

.bs-status-grid article,
.bs-category-grid a,
.bs-featured-news,
.bs-events,
.bs-community-strip {
  box-shadow: 0 14px 34px rgb(15 35 80 / 0.052);
}

.bs-status-grid article {
  min-height: 190px;
  padding: 22px 23px;
}

.bs-card-icon,
.bs-score {
  font-size: 18px;
}

.bs-sun-icon {
  border: 0;
  background: transparent;
  color: #ffb000;
  font-size: 42px;
}

.bs-main-sections {
  gap: 36px;
  padding-bottom: 36px;
}

.bs-section-head h2 {
  font-size: 24px;
}

.bs-news-layout {
  gap: 24px;
}

.bs-featured-news img,
.bs-news-placeholder {
  aspect-ratio: 16 / 8.2;
}

.bs-events {
  padding: 22px;
}

.bs-category-grid {
  gap: 24px;
  padding-bottom: 24px;
}

.bs-category-grid a {
  min-height: 142px;
}

.bs-community-strip {
  margin-bottom: 38px;
  padding: 24px 30px;
  background: linear-gradient(90deg, #f8fbff 0%, #eef6ff 100%);
}

.bs-community-strip .button {
  min-width: 170px;
  color: #fff;
}

.bs-community-strip .button:hover,
.bs-community-strip .button:focus-visible {
  color: #fff;
}

.bs-trust-grid {
  gap: 34px;
  padding-bottom: 64px;
}

.brand-local .site-footer {
  background: #f6faff;
  color: #273858;
}

.brand-local .site-footer strong,
.brand-local .site-footer a {
  color: #06163a;
}

.brand-local .site-footer p {
  color: #53627f;
}

.brand-local .footer-grid {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.1fr) 180px 190px;
}

.brand-local .footer-grid > div:first-child {
  max-width: 640px;
}

.brand-local .footer-grid > div:first-child p:not(.brand-footer-copy):not(.footer-payment-note):not(.footer-legal-note) {
  display: none;
}

.brand-local .brand-footer-copy {
  color: #53627f;
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
  max-width: 620px;
}

.brand-local .footer-legal-note {
  border-top: 1px solid #dbe6f4;
  color: #6b7892;
  font-size: 12px;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 600px;
  padding-top: 12px;
}

.brand-local .footer-payment-note {
  color: #53627f;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 12px;
}

.brand-local .footer-payment-note a {
  font-weight: 800;
}

.rai-checkout-legal {
  background: #f8fbff;
  border: 1px solid #cfe0f7;
  border-radius: 8px;
  margin: 18px 0;
  padding: 16px;
}

.rai-checkout-legal h3 {
  color: #06163a;
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 8px;
}

.rai-checkout-legal p {
  color: #33415f;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.rai-checkout-service-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.rai-checkout-service-list li {
  background: #fff;
  border: 1px solid #dbe7f8;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.rai-checkout-service-list strong {
  color: #06163a;
  font-size: 14px;
  line-height: 1.25;
}

.rai-checkout-service-list span,
.rai-checkout-service-list small {
  color: #33415f;
  font-size: 13px;
  line-height: 1.35;
}

.rai-checkout-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.rai-checkout-legal-links a {
  color: #005bd6;
  font-weight: 800;
}

.rai-checkout-legal .rai-required-consent {
  margin: 10px 0 0;
}

.brand-local .site-footer {
  padding: 28px 0 30px;
}

.event-planner {
  display: grid;
  gap: 18px;
  padding-bottom: 36px;
}

.event-planner-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.event-planner-head h2 {
  color: #06163a;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 8px;
}

.event-planner-head p {
  color: #53627f;
  font-size: 16px;
  margin: 0;
}

.event-day-selector,
.event-intent-filters {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 12px;
}

.event-day-selector {
  grid-template-columns: repeat(5, minmax(145px, 1fr)) minmax(248px, 1.3fr);
}

.event-day-selector a,
.event-date-picker,
.event-intent-filters a {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  color: #06163a;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: none;
}

.event-intent-filters a {
  gap: 7px;
  padding-inline: 10px;
  white-space: nowrap;
}

.event-intent-filters .bs-icon {
  width: 18px;
  height: 18px;
}

.event-day-selector a {
  gap: 10px;
}

.event-day-selector a strong {
  background: #eef5ff;
  border-radius: 999px;
  color: #0757d8;
  font-size: 12px;
  min-width: 28px;
  padding: 3px 8px;
  text-align: center;
}

.event-day-selector a.is-active,
.event-intent-filters a.is-active {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.event-day-selector a.is-active strong {
  background: rgb(255 255 255 / 0.18);
  color: #fff;
}

.event-date-picker {
  gap: 10px;
}

.event-date-picker span {
  flex: 0 0 auto;
}

.event-date-picker input {
  border: 0;
  color: #06163a;
  font: inherit;
  min-width: 132px;
}

.event-intent-filters {
  background: transparent;
  border: 0;
  grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
  padding: 0;
}

.event-planner-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.event-timeline-panel,
.event-planner-sidebar > section {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgb(15 35 80 / 0.045);
}

.event-selected-head {
  align-items: center;
  border-bottom: 1px solid #dbe6f4;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 22px;
}

.event-selected-head h3 {
  color: #06163a;
  font-size: 24px;
  margin: 0 0 4px;
}

.event-selected-head p {
  color: #53627f;
  margin: 0;
}

.event-view-tabs {
  display: flex;
  gap: 8px;
}

.event-view-tabs span,
.event-row-actions a,
.event-plan-strip a,
.event-empty-day a {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #0757d8;
  font-size: 13px;
  font-weight: 850;
  padding: 8px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.event-view-tabs .is-active,
.event-plan-strip a {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.event-time-group {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
}

.event-time-group + .event-time-group,
.event-weekend-day + .event-weekend-day {
  border-top: 1px solid #dbe6f4;
}

.event-time-group > aside {
  background: #f8fbff;
  border-right: 1px solid #dbe6f4;
  color: #53627f;
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 20px;
}

.event-time-group > aside span {
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  color: #0757d8;
  font-size: 12px;
  font-weight: 950;
  padding: 7px 8px;
}

.event-time-group > aside strong {
  color: #06163a;
}

.event-time-group > aside small,
.event-time-group > aside em {
  font-size: 12px;
  font-style: normal;
}

.event-rows {
  display: grid;
}

.event-row {
  align-items: center;
  border-bottom: 1px solid #edf2f8;
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(210px, 1fr) minmax(260px, .8fr) auto;
  min-height: 76px;
  padding: 12px 14px;
}

.event-row:last-child {
  border-bottom: 0;
}

.event-row time {
  color: #53627f;
  display: grid;
  gap: 2px;
}

.event-row time strong {
  color: #06163a;
  font-size: 17px;
}

.event-row time span {
  font-size: 12px;
}

.event-row-main h4 {
  font-size: 15px;
  line-height: 1.25;
  margin: 0 0 4px;
}

.event-row-main a {
  color: #06163a;
}

.event-row-main p {
  color: #53627f;
  font-size: 13px;
  margin: 0;
}

.event-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.event-row-tags span {
  background: #eef5ff;
  border-radius: 5px;
  color: #0757d8;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 8px;
}

.event-row-tags .is-price {
  background: #eaf8ef;
  color: #12843a;
}

.event-row-actions {
  display: flex;
  gap: 8px;
}

.event-plan-strip {
  align-items: center;
  background: #f8fbff;
  border-top: 1px solid #dbe6f4;
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  padding: 16px 20px;
}

.event-plan-strip div {
  display: grid;
  gap: 4px;
}

.event-plan-strip strong {
  color: #06163a;
}

.event-plan-strip span {
  color: #53627f;
}

.event-planner-sidebar {
  display: grid;
  gap: 14px;
}

.event-planner-sidebar > section {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.event-weather-box b {
  color: #06163a;
  font-size: 34px;
  line-height: 1;
}

.event-weather-box span,
.event-weather-box small,
.event-sidebar-cta p {
  color: #53627f;
}

.event-planner-sidebar ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-planner-sidebar li {
  align-items: center;
  color: #53627f;
  display: flex;
  justify-content: space-between;
}

.event-planner-sidebar li em {
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #0757d8;
  font-style: normal;
  min-width: 28px;
  padding: 2px 8px;
  text-align: center;
}

.event-sidebar-cta a,
.event-sidebar-cta button {
  background: #0757d8;
  border: 1px solid #0757d8;
  border-radius: 6px;
  color: #fff;
  font-weight: 850;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.event-sidebar-cta form {
  display: grid;
  gap: 8px;
}

.event-sidebar-cta input {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  min-height: 40px;
  padding: 0 10px;
}

.event-weekend-day h4 {
  align-items: center;
  color: #06163a;
  display: flex;
  font-size: 20px;
  justify-content: space-between;
  margin: 0;
  padding: 16px 20px;
}

.event-weekend-day h4 span {
  background: #eef5ff;
  border-radius: 999px;
  color: #0757d8;
  font-size: 12px;
  padding: 4px 9px;
}

.event-empty-day {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.event-empty-day h4 {
  color: #06163a;
  margin: 0;
}

.event-empty-day p {
  color: #53627f;
  margin: 0;
}

.event-empty-day div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 1081px) {
  .brand-local .site-header .container {
    width: min(1340px, calc(100% - 32px));
  }

  .brand-local .header-inner {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    min-height: 68px;
  }

  .brand-local .brand-logo {
    max-height: 46px;
    width: 190px;
  }

  .brand-local .header-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .brand-local .primary-nav {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-local .primary-nav ul {
    flex-wrap: nowrap;
    gap: 2px;
    justify-content: flex-end;
  }

  .brand-local .primary-nav a {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .bs-header-tools {
    flex: 0 0 auto;
    gap: 8px;
    font-size: 12px;
    margin-left: auto;
  }

  .bs-header-search,
  .bs-header-cta {
    min-height: 38px;
    padding-inline: 12px;
  }
}

@media (max-width: 760px) {
  .brand-local .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-local .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
    min-height: 0;
    overflow: hidden;
    padding: 10px 0;
  }

  .brand-local .brand {
    min-width: 0;
  }

  .brand-local .brand-logo {
    max-height: 42px;
    max-width: 178px;
    width: 178px;
  }

  .brand-local .header-actions {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    min-width: 0;
    overflow: hidden;
    width: 100%;
  }

  .brand-local .primary-nav {
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    padding-bottom: 0;
  }

  .brand-local .primary-nav ul {
    display: grid;
    gap: 4px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    width: 100%;
  }

  .brand-local .primary-nav a {
    font-size: 12px;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    text-align: center;
    white-space: normal;
  }

  .bs-header-tools {
    display: grid;
    gap: 8px;
    grid-template-columns: auto auto minmax(0, 1fr);
    min-width: 0;
    width: 100%;
  }

  .bs-header-search {
    display: none;
  }

  .bs-header-cta {
    justify-self: end;
    min-height: 36px;
    min-width: 0;
    padding-inline: 12px;
  }

  .bs-home-hero {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.94) 0%, rgb(255 255 255 / 0.8) 48%, rgb(255 255 255 / 0.98) 100%),
      url("../img/bialastrefa-hero-city.png"),
      linear-gradient(135deg, #eaf4ff 0%, #f8fbff 44%, #d9ecff 100%);
    background-position: center, center top, center;
    background-size: cover, auto 100%, cover;
  }

  .bs-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }
}

@media (max-width: 1080px) {
  .event-day-selector,
  .event-intent-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .event-row {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .event-row-tags,
  .event-row-actions {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .event-planner-head,
  .event-selected-head,
  .event-plan-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-day-selector,
  .event-intent-filters {
    grid-template-columns: 1fr 1fr;
  }

  .event-date-picker {
    grid-column: span 2;
  }

  .event-time-group {
    grid-template-columns: 1fr;
  }

  .event-time-group > aside {
    border-bottom: 1px solid #dbe6f4;
    border-right: 0;
    grid-template-columns: auto 1fr;
  }

  .event-row {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .event-row-tags,
  .event-row-actions {
    grid-column: auto;
  }

  .event-row-actions {
    flex-wrap: wrap;
  }
}
.event-timeline-panel {
  min-width: 0;
  overflow: hidden;
}

.event-row {
  grid-template-columns: 70px minmax(0, 1fr) minmax(170px, .68fr) 128px;
}

.event-row-main,
.event-row-tags,
.event-row-actions {
  min-width: 0;
}

.event-row-actions {
  display: grid;
}

.event-row-actions a {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
}

.event-date-picker input {
  max-width: none;
}
/* Event planner refinement pass. */
.event-time-group {
  display: block;
}

.event-time-group + .event-time-group {
  border-top: 1px solid #dbe6f4;
}

.event-time-group > header {
  align-items: center;
  background: #f8fbff;
  border-bottom: 1px solid #dbe6f4;
  color: #53627f;
  display: flex;
  gap: 12px;
  min-height: 46px;
  padding: 11px 18px;
}

.event-time-group > header strong {
  align-items: center;
  color: #06163a;
  display: inline-flex;
  font-size: 13px;
  gap: 7px;
  letter-spacing: .08em;
}

.event-time-group > header strong .bs-icon {
  color: var(--bs-icon-color);
  height: 17px;
  letter-spacing: 0;
  width: 17px;
}

.brand-local .bz-cta-grid a {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand-local .bz-service-icon {
  align-items: center;
  background: var(--bs-icon-bg);
  border: 1px solid var(--bs-icon-border);
  border-radius: 8px;
  color: var(--bs-icon-color);
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.brand-local .bz-service-icon .bs-icon {
  height: 20px;
  width: 20px;
}

.event-time-group > header span {
  font-size: 12px;
}

.event-time-group > header em {
  background: #eef5ff;
  border-radius: 999px;
  color: #0757d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  margin-left: auto;
  padding: 4px 9px;
}

.event-row {
  grid-template-columns: 78px minmax(0, 1fr) minmax(190px, .62fr) 86px;
  min-height: 72px;
  padding: 11px 14px;
}

.event-row-main {
  display: grid;
  gap: 3px;
}

.event-row-main p {
  color: #53627f;
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.event-row-main small {
  color: #6b7892;
  font-size: 12px;
}

.event-row-actions {
  display: grid;
  gap: 6px;
}

.event-row-actions a {
  padding: 6px 8px;
}

.event-row-actions a:first-child {
  background: #fff;
  border-color: #dbe6f4;
  color: #0757d8;
}

.event-row-actions .event-plan-mini {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.event-decision-helper ul {
  display: grid;
  gap: 9px;
}

@media (max-width: 1080px) {
  .event-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .event-row-tags,
  .event-row-actions {
    grid-column: 2;
  }

  .event-row-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .event-time-group > header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .event-time-group > header em {
    margin-left: 0;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-row-tags,
  .event-row-actions {
    grid-column: auto;
  }
}

/* Event badge alignment polish. */
.event-row {
  grid-template-columns: 78px minmax(0, 1fr) minmax(220px, .58fr) 78px;
}

.event-row-tags {
  align-content: center;
  align-items: center;
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  line-height: 1;
}

.event-row-tags span {
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  padding: 4px 7px;
  white-space: nowrap;
}

.event-row-tags .is-category {
  background: #eef5ff;
  border-color: #dbeafe;
  color: #0757d8;
}

.event-row-tags .is-price {
  background: #eaf8ef;
  border-color: #ccefd8;
  color: #12843a;
}

.event-row-tags .is-audience {
  background: #f3f6fb;
  border-color: #e2e8f0;
  color: #33415f;
}

.event-row-tags .is-place {
  background: #f8fbff;
  border-color: #dbe6f4;
  color: #0757d8;
}

@media (max-width: 1080px) {
  .event-row-tags {
    justify-content: flex-start;
  }
}

/* Event row final spacing polish. */
.event-row {
  grid-template-columns: 78px minmax(0, 1fr) minmax(270px, .64fr) 94px;
}

.event-row-actions a {
  font-size: 12px;
  padding-left: 7px;
  padding-right: 7px;
}

@media (max-width: 1080px) {
  .event-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

/* Local business directory. */
.business-directory {
  display: grid;
  gap: 18px;
}

.business-directory-hero {
  align-items: end;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding-top: 6px;
}

.business-directory-kicker {
  color: #0757d8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.business-directory-hero h1 {
  color: #06163a;
  font-size: clamp(32px, 3.45vw, 44px);
  letter-spacing: 0;
  line-height: 1.06;
  margin: 0;
  white-space: nowrap;
}

.business-directory-hero p:last-child {
  color: #53627f;
  font-size: 17px;
  margin: 10px 0 0;
}

.business-directory-hero-actions,
.business-company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.business-directory-button,
.business-company-profile,
.business-company-lead,
.business-company-upgrade {
  align-items: center;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  text-decoration: none;
}

.business-directory-button:hover,
.business-directory-button:focus-visible,
.business-company-profile:hover,
.business-company-profile:focus-visible,
.business-company-lead:hover,
.business-company-lead:focus-visible,
.business-company-upgrade:hover,
.business-company-upgrade:focus-visible {
  text-decoration: none;
}

.business-directory-button-primary,
.business-company-profile {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
  box-shadow: 0 10px 22px rgb(7 87 216 / .16);
}

.business-directory-button-primary:hover,
.business-directory-button-primary:focus-visible,
.business-company-profile:hover,
.business-company-profile:focus-visible {
  background: #064abe;
  color: #fff;
}

.business-directory-button-secondary,
.business-company-lead {
  background: #fff;
  color: #0757d8;
}

.business-company-upgrade {
  background: #f5a524;
  border-color: #f5a524;
  color: #111827;
}

.business-company-upgrade:hover,
.business-company-upgrade:focus-visible {
  background: #d98f16;
  border-color: #d98f16;
  color: #111827;
}

.business-directory-search {
  align-items: end;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(15 23 42 / .045);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1.55fr) minmax(190px, .7fr) minmax(190px, .78fr) 96px 104px;
  padding: 12px;
}

.business-directory-search label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.business-directory-search label span {
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
}

.business-directory-search input,
.business-directory-search select {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #06163a;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.business-directory-filter-button,
.business-directory-submit {
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 0 16px;
}

.business-directory-filter-button {
  background: #fff;
  border: 1px solid #dbe6f4;
  color: #06163a;
}

.business-directory-submit {
  background: #0757d8;
  border: 1px solid #0757d8;
  color: #fff;
}

.business-directory-stats {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-directory-stats div {
  border-right: 1px solid #e8eef7;
  display: grid;
  gap: 2px;
  padding: 18px 20px;
}

.business-directory-stats div:last-child {
  border-right: 0;
}

.business-directory-stats strong {
  color: #06163a;
  font-size: 24px;
  line-height: 1;
}

.business-directory-stats span {
  color: #53627f;
  font-size: 13px;
}

.business-directory-categories,
.business-directory-results,
.business-sidebar-card,
.business-directory-trust,
.business-directory-owner-strip {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
}

.business-directory-categories {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.business-directory-section-head,
.business-sidebar-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.business-directory-section-head h2,
.business-sidebar-card h2 {
  color: #06163a;
  font-size: 18px;
  margin: 0;
}

.business-directory-section-head p,
.business-sidebar-card p {
  color: #53627f;
  margin: 4px 0 0;
}

.business-category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.business-category-card {
  align-content: center;
  background: #fbfdff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #06163a;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-height: 112px;
  padding: 14px 10px;
  text-align: center;
}

.business-category-card:hover,
.business-category-card:focus-visible,
.business-category-card.is-active {
  border-color: #0757d8;
  box-shadow: 0 12px 24px rgb(7 87 216 / .10);
  text-decoration: none;
}

.business-category-icon {
  align-items: center;
  background: var(--bs-icon-bg);
  border: 1px solid var(--bs-icon-border);
  border-radius: 8px;
  color: var(--bs-icon-color);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.business-category-icon .bs-icon,
.business-sidebar-icon .bs-icon {
  width: 20px;
  height: 20px;
}

.business-category-card.is-active .business-category-icon {
  background: var(--bs-color-primary);
  border-color: var(--bs-color-primary);
  color: #fff;
}

.business-category-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.business-category-card small {
  color: #53627f;
  font-size: 12px;
}

.business-directory-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.business-directory-main,
.business-directory-sidebar {
  min-width: 0;
}

.business-directory-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.business-directory-results {
  overflow: hidden;
}

.business-directory-tabs {
  align-items: center;
  border-bottom: 1px solid #dbe6f4;
  display: flex;
  gap: 6px;
  min-height: 58px;
  padding: 0 16px;
}

.business-directory-tabs > a {
  align-items: center;
  align-self: stretch;
  border-bottom: 3px solid transparent;
  color: #53627f;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  padding: 0 10px;
}

.business-directory-tabs > a.is-active {
  border-bottom-color: #0757d8;
  color: #0757d8;
}

.business-directory-sort {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.business-directory-sort span {
  color: #53627f;
  font-size: 12px;
  font-weight: 800;
}

.business-directory-sort select {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  min-height: 36px;
  padding: 6px 28px 6px 10px;
}

.business-directory-active-filter {
  background: #f8fbff;
  border-bottom: 1px solid #dbe6f4;
  color: #53627f;
  font-size: 13px;
  margin: 0;
  padding: 10px 18px;
}

.business-company-list {
  display: grid;
}

.business-company-card {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 16px;
  grid-template-columns: 88px minmax(0, 1fr) minmax(150px, .34fr) 140px 34px;
  min-height: 112px;
  padding: 14px 16px;
  position: relative;
}

.business-company-card:last-child {
  border-bottom: 0;
}

.business-company-card.is-premium {
  background: linear-gradient(90deg, #fff 0%, #fff 72%, #f8fbff 100%);
}

.business-company-logo,
.business-premium-logo {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #0757d8;
  display: flex;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
}

.business-company-logo {
  height: 76px;
  width: 76px;
}

.business-company-logo img,
.business-premium-logo img {
  border-radius: 0;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.business-company-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.business-company-title-row {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.business-company-title-row h2 {
  font-size: 18px;
  line-height: 1.22;
  margin: 0;
  min-width: 0;
}

.business-company-title-row h2 a {
  color: #06163a;
}

.business-company-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.business-status,
.business-category-tag {
  border-radius: 5px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  padding: 5px 7px;
  white-space: nowrap;
}

.business-status-verified {
  background: #eaf8ef;
  border: 1px solid #ccefd8;
  color: #12843a;
}

.business-status-premium {
  background: #fff6df;
  border: 1px solid #ffe3a3;
  color: #9a6500;
}

.business-company-body p {
  color: #53627f;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.business-company-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-width: 0;
}

.business-company-meta span,
.business-company-meta a {
  color: #53627f;
  font-size: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.business-company-details {
  display: grid;
  gap: 8px;
  justify-items: start;
  min-width: 0;
}

.business-company-rating {
  align-items: baseline;
  display: flex;
  gap: 6px;
}

.business-company-rating strong {
  color: #06163a;
}

.business-company-rating span {
  color: #53627f;
  font-size: 12px;
}

.business-category-tag {
  background: #f3f6fb;
  border: 1px solid #e2e8f0;
  color: #33415f;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.business-company-actions {
  display: grid;
  gap: 8px;
}

.business-company-profile,
.business-company-lead {
  font-size: 12px;
  min-height: 34px;
  padding: 7px 10px;
}

.business-company-save {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #0757d8;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.business-directory-empty {
  display: grid;
  gap: 10px;
  padding: 28px;
}

.business-directory-empty h2 {
  color: #06163a;
  margin: 0;
}

.business-directory-empty p {
  color: #53627f;
  margin: 0;
}

.business-sidebar-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.business-map-visual {
  background:
    linear-gradient(90deg, rgb(7 87 216 / .06) 1px, transparent 1px),
    linear-gradient(rgb(7 87 216 / .06) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbff, #eef5ff);
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  height: 214px;
  overflow: hidden;
  position: relative;
}

.business-map-label,
.business-map-empty {
  background: rgb(255 255 255 / .88);
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
  left: 14px;
  padding: 5px 9px;
  position: absolute;
  top: 14px;
}

.business-map-empty {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.business-map-cluster {
  align-items: center;
  background: #0757d8;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgb(7 87 216 / .22);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 34px;
}

.business-premium-list {
  display: grid;
}

.business-premium-list article {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 10px;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  padding: 12px 0;
}

.business-premium-list article:last-child {
  border-bottom: 0;
}

.business-premium-logo {
  height: 48px;
  width: 48px;
}

.business-premium-list h3 {
  color: #06163a;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

.business-premium-list p {
  font-size: 12px;
  margin: 3px 0 0;
}

.business-premium-list article > a {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
  padding: 7px 9px;
}

.business-sidebar-icon {
  align-items: center;
  background: #eef5ff;
  border-radius: 8px;
  color: #0757d8;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.business-sidebar-cta .business-directory-button {
  width: 100%;
}

.business-directory-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-directory-trust div {
  border-right: 1px solid #e8eef7;
  display: grid;
  gap: 4px;
  padding: 20px;
}

.business-directory-trust div:last-child {
  border-right: 0;
}

.business-directory-trust strong {
  color: #06163a;
}

.business-directory-trust span {
  color: #53627f;
  font-size: 13px;
}

.business-directory-owner-strip {
  align-items: center;
  background: #f3fbf6;
  border-color: #d7f2df;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
}

.business-directory-owner-strip p {
  color: #255a36;
  margin: 0;
}

@media (max-width: 1160px) {
  .business-directory-search {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .6fr) minmax(180px, .6fr);
  }

  .business-directory-filter-button,
  .business-directory-submit {
    grid-column: span 1;
  }

  .business-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .business-directory-sidebar {
    position: static;
  }
}

@media (max-width: 920px) {
  .business-directory-hero {
    align-items: start;
    flex-direction: column;
  }

  .business-directory-hero h1 {
    white-space: normal;
  }

  .business-directory-search,
  .business-directory-stats,
  .business-directory-trust {
    grid-template-columns: 1fr 1fr;
  }

  .business-search-keyword {
    grid-column: 1 / -1;
  }

  .business-company-card {
    align-items: start;
    grid-template-columns: 76px minmax(0, 1fr) 34px;
  }

  .business-company-details,
  .business-company-actions {
    grid-column: 2 / 4;
  }

  .business-company-save {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 680px) {
  .business-directory-search,
  .business-directory-stats,
  .business-directory-trust {
    grid-template-columns: 1fr;
  }

  .business-directory-stats div,
  .business-directory-trust div {
    border-bottom: 1px solid #e8eef7;
    border-right: 0;
  }

  .business-directory-stats div:last-child,
  .business-directory-trust div:last-child {
    border-bottom: 0;
  }

  .business-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .business-directory-tabs {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px;
  }

  .business-directory-tabs > a {
    border: 1px solid #dbe6f4;
    border-radius: 6px;
    min-height: 36px;
  }

  .business-directory-tabs > a.is-active {
    background: #eef5ff;
  }

  .business-directory-sort {
    margin-left: 0;
    width: 100%;
  }

  .business-directory-sort select {
    width: 100%;
  }

  .business-company-card {
    grid-template-columns: 1fr 34px;
  }

  .business-company-logo {
    grid-column: 1 / 3;
    height: 64px;
    width: 64px;
  }

  .business-company-body,
  .business-company-details,
  .business-company-actions {
    grid-column: 1 / 3;
  }

  .business-company-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .business-company-actions {
    grid-template-columns: 1fr;
  }

  .business-company-save {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .business-directory-owner-strip {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Local news hub. */
.page-section:has(.news-hub) {
  width: min(1460px, calc(100% - 56px));
  padding-top: 24px;
}

.page-section:has(.news-hub) .rai-breadcrumbs {
  display: none;
}

.news-hub {
  display: grid;
  gap: 12px;
  color: var(--text);
}

.news-hero-grid,
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.news-hero,
.news-sidebar-card,
.news-topic-chips,
.news-search-row,
.news-lead-section,
.news-latest-section,
.news-official-section,
.news-trust-row {
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(15 23 42 / .04);
}

.news-hero {
  min-height: 168px;
  padding: 24px 28px;
  background:
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .96) 43%, rgb(255 255 255 / .62) 73%, rgb(255 255 255 / .18) 100%),
    url("../img/bialastrefa-hero-city.png");
  background-position: center right;
  background-size: cover;
}

.news-kicker {
  margin: 0 0 8px;
  color: #0757d8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #06163a;
  font-size: clamp(31px, 2.6vw, 40px);
  line-height: 1.08;
}

.news-hero p:last-of-type {
  max-width: 720px;
  margin: 9px 0 0;
  color: #53627f;
  font-size: 16px;
  line-height: 1.45;
}

.news-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.news-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.news-button-primary {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
  box-shadow: 0 10px 22px rgb(7 87 216 / .16);
}

.news-button-secondary {
  background: #fff;
  color: #0757d8;
}

.news-sidebar-card {
  padding: 15px 18px;
}

.news-sidebar-card h2 {
  margin: 0 0 10px;
  color: #06163a;
  font-size: 17px;
}

.news-sidebar-card p {
  margin: 0 0 14px;
  color: #53627f;
}

.news-sidebar-head,
.news-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-sidebar-head h2,
.news-section-head h2 {
  margin: 0;
  color: #06163a;
}

.news-sidebar-head a,
.news-section-head a,
.news-more-link {
  color: #0757d8;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.news-topic-list {
  display: grid;
  gap: 6px;
}

.news-topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 27px;
  color: #06163a;
  font-weight: 850;
  text-decoration: none;
}

.news-topic-list em,
.news-topic-chips em {
  display: inline-flex;
  min-width: 26px;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef6ff;
  color: #0757d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.news-topic-chips {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.news-topic-chips a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 8px;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  color: #06163a;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.08;
  text-align: center;
  text-decoration: none;
}

.news-topic-chips .bs-icon {
  width: 16px;
  height: 16px;
}

.news-topic-chips a.is-active,
.news-topic-chips a:hover,
.news-topic-chips a:focus-visible {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.news-topic-chips a.is-active em,
.news-topic-chips a:hover em,
.news-topic-chips a:focus-visible em {
  background: rgb(255 255 255 / .18);
  color: #fff;
}

.news-search-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(220px, .7fr) minmax(190px, .55fr) 116px;
  gap: 10px;
  padding: 10px;
}

.news-search-row label {
  display: block;
  min-width: 0;
}

.news-search-row span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.news-search-row input,
.news-search-row select {
  min-height: 46px;
  width: 100%;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  background: #fff;
  color: #06163a;
  font-weight: 760;
  padding: 0 14px;
}

.news-search-row button,
.news-newsletter-card button {
  min-height: 46px;
  border-radius: 6px;
}

.news-main,
.news-sidebar {
  display: grid;
  gap: 16px;
}

.news-lead-section,
.news-latest-section,
.news-official-section {
  padding: 16px 18px;
}

.news-lead-section > h2 {
  margin: 0 0 14px;
  color: #06163a;
  font-size: 20px;
}

.news-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.news-lead-card {
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.news-lead-image,
.news-list-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  background: #f4f8ff;
}

.news-lead-image img {
  width: 100%;
  aspect-ratio: 1.56;
  object-fit: cover;
}

.news-lead-image span,
.news-card-meta span,
.news-official-card span,
.news-compact-card em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #eef6ff;
  color: #0757d8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 4px 8px;
}

.news-lead-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0757d8;
  color: #fff;
}

.news-lead-copy time,
.news-card-meta time,
.news-official-card small {
  color: #53627f;
  font-size: 12px;
  font-weight: 760;
}

.news-lead-copy h2 {
  margin: 8px 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.16;
}

.news-lead-copy h2 a,
.news-list-body h3 a,
.news-official-card h3 a {
  color: #06163a;
  text-decoration: none;
}

.news-lead-copy p,
.news-list-body p {
  color: #38486a;
  line-height: 1.55;
}

.news-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 16px;
  color: #53627f;
  font-size: 13px;
}

.news-lead-side,
.news-gallery-list,
.news-quick-links,
.news-official-list {
  display: grid;
  gap: 10px;
}

.news-compact-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5edf7;
  text-decoration: none;
}

.news-compact-card img {
  width: 84px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.news-compact-card span {
  display: grid;
  gap: 4px;
}

.news-compact-card time {
  color: #53627f;
  font-size: 12px;
}

.news-compact-card strong {
  color: #06163a;
  font-size: 13px;
  line-height: 1.22;
}

.news-list {
  display: grid;
}

.news-list-card {
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr) 132px;
  gap: 16px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e5edf7;
}

.news-list-card:last-child {
  border-bottom: 0;
}

.news-list-thumb img {
  width: 164px;
  height: 96px;
  object-fit: cover;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news-list-body h3 {
  margin: 7px 0 5px;
  font-size: 18px;
  line-height: 1.25;
}

.news-list-body p,
.news-list-body .news-meta-row {
  margin: 0;
}

.news-list-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.news-list-actions a,
.news-official-card > a {
  color: #0757d8;
  font-weight: 900;
  text-decoration: none;
}

.news-list-actions button {
  width: 34px;
  height: 34px;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  background: #fff;
  color: #0757d8;
  font-size: 18px;
}

.news-newsletter-card {
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.news-newsletter-card form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.news-newsletter-card input {
  min-height: 42px;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  padding: 0 12px;
}

.news-gallery-list a {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.news-gallery-list img {
  width: 78px;
  height: 58px;
  object-fit: cover;
}

.news-gallery-list span {
  display: grid;
  gap: 4px;
}

.news-gallery-list strong,
.news-quick-links a {
  color: #06163a;
  font-weight: 850;
}

.news-gallery-list em {
  color: #53627f;
  font-size: 12px;
  font-style: normal;
}

.news-quick-links {
  grid-template-columns: 1fr 1fr;
}

.news-quick-links a {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  background: #f8fbff;
  font-size: 13px;
  text-decoration: none;
}

.news-quick-links .bs-icon {
  color: #0757d8;
  width: 17px;
  height: 17px;
}

.news-official-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e5edf7;
  border-radius: 7px;
}

.news-official-card h3 {
  margin: 6px 0 4px;
  font-size: 15px;
}

.news-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.news-trust-row div {
  padding: 18px;
  border-right: 1px solid #e5edf7;
}

.news-trust-row div:last-child {
  border-right: 0;
}

.news-trust-row strong,
.news-trust-row span {
  display: block;
}

.news-trust-row strong {
  margin-bottom: 4px;
  color: #06163a;
}

.news-trust-row span {
  color: #53627f;
}

.news-empty {
  padding: 22px;
  border: 1px dashed #dbe6f4;
  border-radius: 8px;
  background: #f8fbff;
}

.news-empty h3,
.news-empty p {
  margin-top: 0;
}

@media (max-width: 1280px) {
  .news-topic-chips {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .news-lead-grid,
  .news-lead-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1060px) {
  .page-section:has(.news-hub) {
    width: min(1180px, calc(100% - 40px));
  }

  .news-hero-grid,
  .news-layout,
  .news-search-row {
    grid-template-columns: 1fr;
  }

  .news-list-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .news-list-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    justify-items: stretch;
  }
}

@media (max-width: 680px) {
  .page-section:has(.news-hub) {
    width: min(100% - 28px, 520px);
  }

  .news-hero {
    padding: 24px;
    background:
      linear-gradient(90deg, rgb(255 255 255 / .96), rgb(255 255 255 / .9)),
      url("../img/bialastrefa-hero-city.png");
    background-size: cover;
  }

  .news-hero h1 {
    font-size: 2rem;
  }

  .news-topic-chips,
  .news-quick-links,
  .news-trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .news-list-card {
    grid-template-columns: 1fr;
  }

  .news-list-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.7;
  }
}

@media (max-width: 440px) {
  .news-topic-chips,
  .news-quick-links,
  .news-trust-row {
    grid-template-columns: 1fr;
  }
}

/* Local classifieds marketplace. */
.practical-dashboard {
  display: grid;
  gap: 18px;
  color: var(--text);
}

.practical-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 58%, rgba(219, 234, 254, .62) 100%),
    radial-gradient(circle at 82% 18%, rgba(37, 99, 235, .15), transparent 32%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.practical-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.practical-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 3.2vw, 3.8rem);
  line-height: 1.03;
}

.practical-hero-copy > p:last-of-type {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.practical-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.practical-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.practical-button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 82, 204, .18);
}

.practical-button-secondary {
  background: #fff;
  color: var(--accent);
}

.practical-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(180px, .75fr) minmax(190px, .8fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .06);
}

.practical-search label {
  display: grid;
  gap: 5px;
}

.practical-search span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.practical-search input,
.practical-search select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
}

.practical-search button {
  align-self: end;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 7px;
}

.practical-status-grid,
.practical-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.practical-status-card,
.practical-quick-tile,
.practical-results,
.practical-sidebar-card,
.practical-trust {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.practical-status-card {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 18px;
}

.practical-status-card span,
.practical-info-meta span {
  color: var(--accent);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.practical-status-card > span {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.practical-status-card > span .bs-icon {
  width: 18px;
  height: 18px;
}

.practical-status-card strong {
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.15;
}

.practical-status-card p,
.practical-status-card small,
.practical-section-head p,
.practical-quick-tile small,
.practical-info-card p,
.practical-info-card small,
.practical-sidebar-card p,
.practical-trust span {
  color: var(--muted);
}

.practical-status-card p {
  margin: 0;
}

.practical-status-card small {
  font-size: .78rem;
}

.practical-status-card a,
.practical-sidebar-card a:not(.practical-button) {
  align-self: end;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.practical-quick-access {
  display: grid;
  gap: 12px;
}

.practical-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.practical-section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}

.practical-section-head p {
  margin: 0;
  text-align: right;
}

.practical-quick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.practical-quick-tile {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 16px;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}

.practical-quick-tile:hover,
.practical-quick-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.practical-quick-tile span,
.practical-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
}

.practical-quick-tile strong {
  color: var(--text);
  font-size: 1rem;
}

.practical-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.practical-main,
.practical-sidebar {
  display: grid;
  gap: 16px;
}

.practical-results {
  overflow: hidden;
}

.practical-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.practical-tabs a {
  flex: 0 0 auto;
  padding: 17px 0 14px;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  font-weight: 900;
  text-decoration: none;
}

.practical-tabs a.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.practical-info-list {
  display: grid;
}

.practical-info-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.practical-info-card:last-child {
  border-bottom: 0;
}

.practical-info-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.practical-info-meta em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--accent);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}

.practical-info-card h2 {
  margin: 5px 0 4px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
}

.practical-info-card p,
.practical-info-card small {
  margin: 0;
}

.practical-info-actions {
  display: grid;
  gap: 8px;
  min-width: 164px;
}

.practical-info-actions .practical-button {
  min-height: 36px;
  padding: 0 12px;
  font-size: .86rem;
}

.practical-empty {
  padding: 28px;
}

.practical-empty h2 {
  margin: 0 0 8px;
  color: var(--text);
}

.practical-sidebar-card {
  padding: 18px;
}

.practical-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.05rem;
}

.practical-emergency-list,
.practical-source-list,
.practical-summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practical-emergency-list a,
.practical-summary-list div,
.practical-source-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #f8fbff;
  text-decoration: none;
}

.practical-emergency-list strong {
  color: #dc2626;
}

.practical-emergency-list span,
.practical-summary-list dt,
.practical-source-list li {
  color: var(--text);
  font-weight: 800;
}

.practical-summary-list dd {
  margin: 0;
  color: var(--accent);
  font-weight: 900;
  text-align: right;
}

.practical-correction-card {
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.practical-correction-card .practical-button {
  width: 100%;
  margin-top: 8px;
}

.practical-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.practical-trust div {
  padding: 18px;
  border-right: 1px solid var(--border);
}

.practical-trust div:last-child {
  border-right: 0;
}

.practical-trust strong,
.practical-trust span {
  display: block;
}

.practical-trust strong {
  margin-bottom: 4px;
  color: var(--text);
}

@media (max-width: 1180px) {
  .practical-status-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practical-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .practical-hero {
    padding: 22px;
  }

  .practical-search {
    grid-template-columns: 1fr;
  }

  .practical-status-grid,
  .practical-quick-grid,
  .practical-trust {
    grid-template-columns: 1fr 1fr;
  }

  .practical-info-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .practical-info-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .practical-hero h1 {
    font-size: 2rem;
  }

  .practical-status-grid,
  .practical-quick-grid,
  .practical-trust {
    grid-template-columns: 1fr;
  }

  .practical-section-head {
    display: grid;
  }

  .practical-section-head p {
    text-align: left;
  }
}

/* Practical information dashboard enterprise pass. */
.page-section:has(.practical-dashboard) {
  width: min(1460px, calc(100% - 56px));
}

.practical-dashboard {
  gap: 14px;
}

.practical-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.practical-top-main {
  display: grid;
  gap: 12px;
}

.practical-hero {
  min-height: 162px;
  padding: 26px 30px;
  background:
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .96) 43%, rgb(255 255 255 / .58) 69%, rgb(255 255 255 / .12) 100%),
    url("../img/bialastrefa-hero-city.png");
  background-position: center right;
  background-size: cover;
  border-color: #dbe6f4;
  box-shadow: none;
}

.practical-kicker {
  font-size: 12px;
  letter-spacing: 0;
}

.practical-hero h1 {
  max-width: 650px;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.04;
}

.practical-hero-copy > p:last-of-type {
  max-width: 610px;
  margin-top: 12px;
  font-size: 15px;
}

.practical-search {
  grid-template-columns: minmax(280px, 1.25fr) minmax(190px, .65fr) minmax(220px, .82fr) 112px;
  padding: 10px;
  box-shadow: 0 10px 28px rgb(15 23 42 / .045);
}

.practical-search input,
.practical-search select,
.practical-search button {
  min-height: 44px;
}

.practical-quick-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.practical-quick-tile {
  justify-items: center;
  min-height: 96px;
  padding: 12px 8px;
  text-align: center;
}

.practical-quick-tile span,
.practical-info-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.practical-quick-tile span .bs-icon,
.practical-info-icon .bs-icon {
  width: 20px;
  height: 20px;
}

.practical-quick-tile strong {
  font-size: 13px;
  line-height: 1.18;
}

.practical-quick-tile small {
  font-size: 11px;
  line-height: 1.25;
}

.practical-top-sidebar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.practical-fast-card {
  padding: 16px;
}

.practical-fast-card h2 {
  margin-bottom: 10px;
}

.practical-fast-card a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  min-height: 31px;
  border-bottom: 1px solid #e5edf7;
  color: #06163a;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.practical-fast-card a:last-child {
  border-bottom: 0;
}

.practical-fast-card em {
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.practical-fast-card b {
  color: #0757d8;
  font-size: 20px;
  line-height: 1;
}

.practical-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.practical-sidebar-head h2 {
  margin: 0;
}

.practical-sidebar-head a {
  color: #0757d8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.practical-map-visual {
  position: relative;
  min-height: 146px;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background-color: #edf5ff;
  background-image:
    linear-gradient(24deg, rgb(7 87 216 / .12) 1px, transparent 1px),
    linear-gradient(150deg, rgb(22 163 74 / .12) 1px, transparent 1px),
    radial-gradient(circle at 49% 49%, #fff 0 4px, transparent 5px),
    linear-gradient(90deg, transparent 0 22%, rgb(7 87 216 / .08) 22% 23%, transparent 23% 54%, rgb(7 87 216 / .08) 54% 55%, transparent 55%),
    linear-gradient(0deg, transparent 0 35%, rgb(22 163 74 / .08) 35% 36%, transparent 36% 72%, rgb(22 163 74 / .08) 72% 73%, transparent 73%);
  background-size: 84px 84px, 76px 76px, auto, auto, auto;
}

.practical-map-visual span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bs-color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgb(7 87 216 / .24);
}

.practical-map-visual span .bs-icon {
  height: 16px;
  width: 16px;
}

.practical-map-visual span:nth-of-type(2) {
  background: #16a34a;
}

.practical-map-visual span:nth-of-type(3) {
  background: #0ea5e9;
}

.practical-map-visual span:nth-of-type(5) {
  background: #f97316;
}

.practical-map-visual strong {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  color: #06163a;
  font-size: 12px;
  box-shadow: 0 8px 20px rgb(15 23 42 / .08);
}

.practical-map-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.practical-map-filters span {
  position: relative;
  padding-left: 22px;
  color: #06163a;
  font-size: 12px;
  font-weight: 850;
}

.practical-map-filters span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #0757d8;
}

.practical-status-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgb(15 23 42 / .045);
}

.practical-status-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.practical-status-card {
  min-height: 164px;
  padding: 15px;
  box-shadow: none;
}

.practical-status-card strong {
  font-size: 1.18rem;
}

.practical-status-card p {
  font-size: 13px;
  line-height: 1.42;
}

.practical-status-card small {
  font-size: 11px;
}

.practical-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.practical-tabs {
  gap: 26px;
  padding: 0 20px;
}

.practical-tabs a {
  font-size: 13px;
  padding: 16px 0 13px;
}

.practical-info-card {
  grid-template-columns: 44px minmax(0, 1fr) 142px;
  min-height: 76px;
  padding: 13px 16px;
}

.practical-info-icon {
  border-radius: 50%;
}

.practical-info-card h2 {
  margin-top: 2px;
  font-size: 15px;
}

.practical-info-card p,
.practical-info-card small {
  font-size: 13px;
}

.practical-info-actions {
  min-width: 0;
}

.practical-info-actions .practical-button {
  min-height: 32px;
  font-size: 12px;
}

@media (max-width: 1320px) {
  .page-section:has(.practical-dashboard) {
    width: min(1180px, calc(100% - 40px));
  }

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

  .practical-top-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .practical-fast-card,
  .practical-map-card {
    min-width: 0;
  }
}

@media (max-width: 1180px) {
  .page-section:has(.practical-dashboard) {
    width: min(1180px, calc(100% - 40px));
  }

  .practical-top-grid,
  .practical-layout {
    grid-template-columns: 1fr;
  }

  .practical-quick-grid,
  .practical-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-section:has(.practical-dashboard) {
    width: min(100% - 28px, 520px);
  }

  .practical-hero {
    min-height: 0;
    padding: 24px;
    background:
      linear-gradient(90deg, rgb(255 255 255 / .96), rgb(255 255 255 / .9)),
      url("../img/bialastrefa-hero-city.png");
    background-size: cover;
  }

  .practical-search,
  .practical-quick-grid,
  .practical-status-grid,
  .practical-map-filters {
    grid-template-columns: 1fr;
  }

  .practical-info-card {
    grid-template-columns: 40px minmax(0, 1fr);
  }

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

.classifieds-marketplace {
  display: grid;
  gap: 18px;
}

/* Public institutions directory. */
.institutions-directory {
  display: grid;
  gap: 18px;
}

.institutions-hero {
  align-items: start;
  background:
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .96) 48%, rgb(255 255 255 / .56) 72%, rgb(255 255 255 / .2) 100%),
    url("../img/bialastrefa-hero-city.png");
  background-position: center right;
  background-size: cover;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 254px;
  padding: 26px;
}

.institutions-kicker {
  color: #0757d8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.institutions-hero h1 {
  color: #06163a;
  font-size: clamp(34px, 3.35vw, 46px);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  max-width: 760px;
}

.institutions-hero-copy > p:last-of-type {
  color: #53627f;
  font-size: 17px;
  margin: 10px 0 18px;
}

.institutions-hero-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

.institutions-button {
  align-items: center;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  text-decoration: none;
}

.institutions-button-primary {
  background: #0757d8;
  border-color: #0757d8;
  box-shadow: 0 10px 22px rgb(7 87 216 / .16);
  color: #fff;
}

.institutions-button-secondary {
  background: #fff;
  color: #0757d8;
}

.institutions-search {
  align-items: end;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(15 23 42 / .045);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(260px, 1.35fr) minmax(190px, .72fr) minmax(190px, .72fr) 110px;
  max-width: 980px;
  padding: 12px;
}

.institutions-search label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.institutions-search span {
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
}

.institutions-search input,
.institutions-search select {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #06163a;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.institutions-search button {
  background: #0757d8;
  border: 1px solid #0757d8;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
}

.institutions-categories,
.institutions-results,
.institutions-sidebar-card,
.institutions-trust {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
}

.institutions-categories {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.institutions-categories h2,
.institutions-sidebar-card h2 {
  color: #06163a;
  font-size: 18px;
  margin: 0;
}

.institutions-category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

.institutions-category-card {
  align-content: center;
  background: #fbfdff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #06163a;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-height: 104px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
}

.institutions-category-card:hover,
.institutions-category-card:focus-visible,
.institutions-category-card.is-active {
  border-color: #0757d8;
  box-shadow: 0 12px 24px rgb(7 87 216 / .10);
  text-decoration: none;
}

.institutions-category-card span {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: #0757d8;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.institutions-category-card span .bs-icon {
  width: 20px;
  height: 20px;
}

.institutions-category-card.is-active span {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.institutions-category-card strong {
  font-size: 12px;
  line-height: 1.18;
}

.institutions-category-card small {
  color: #0757d8;
  font-weight: 850;
}

.institutions-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.institutions-results {
  overflow: hidden;
}

.institutions-tabs {
  align-items: center;
  border-bottom: 1px solid #dbe6f4;
  display: flex;
  gap: 7px;
  min-height: 58px;
  padding: 0 16px;
}

.institutions-tabs > a {
  align-items: center;
  align-self: stretch;
  border-bottom: 3px solid transparent;
  color: #53627f;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  padding: 0 10px;
  text-decoration: none;
}

.institutions-tabs > a.is-active {
  border-bottom-color: #0757d8;
  color: #0757d8;
}

.institutions-sort {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.institutions-sort span {
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
}

.institutions-sort select {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  min-height: 36px;
  padding: 6px 26px 6px 10px;
}

.institutions-list {
  display: grid;
}

.institution-card {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 16px;
  grid-template-columns: 82px minmax(0, 1fr) 154px;
  padding: 16px;
  position: relative;
}

.institution-card:last-child {
  border-bottom: 0;
}

.institution-logo {
  align-items: center;
  background: #f8fbff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #0757d8;
  display: inline-flex;
  font-weight: 950;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.institution-title-row {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.institution-title-row span,
.institution-title-row em {
  background: #eef5ff;
  border-radius: 5px;
  color: #0757d8;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 4px 7px;
  text-transform: uppercase;
}

.institution-title-row em {
  background: #eaf8ef;
  color: #12843a;
}

.institution-title-row button {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #0757d8;
  cursor: pointer;
  height: 34px;
  margin-left: auto;
  width: 34px;
}

.institution-card h2 {
  font-size: 18px;
  line-height: 1.22;
  margin: 0 0 8px;
}

.institution-card h2 a {
  color: #06163a;
  text-decoration: none;
}

.institution-card dl {
  display: grid;
  gap: 6px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.institution-card dl div {
  min-width: 0;
}

.institution-card dt {
  color: #53627f;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.institution-card dd {
  color: #263757;
  font-size: 13px;
  margin: 1px 0 0;
}

.institution-card p {
  color: #6b7892;
  font-size: 12px;
  margin: 8px 0 0;
}

.institution-actions {
  display: grid;
  gap: 8px;
}

.institutions-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.institutions-sidebar-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.institutions-sidebar-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.institutions-sidebar-head a,
.institutions-quick-card a {
  color: #0757d8;
  font-weight: 850;
  text-decoration: none;
}

.institutions-quick-card a {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: flex;
  justify-content: space-between;
  padding: 4px 0 10px;
}

.institutions-quick-card a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.institutions-map {
  align-items: center;
  background-color: #eef5ff;
  background-image:
    linear-gradient(#dbe6f4 1px, transparent 1px),
    linear-gradient(90deg, #dbe6f4 1px, transparent 1px);
  background-size: 34px 34px;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #06163a;
  display: grid;
  height: 176px;
  justify-items: center;
  overflow: hidden;
  position: relative;
}

.institutions-map:not(.is-interactive) span {
  align-items: center;
  background: #0757d8;
  border: 3px solid #fff;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  position: absolute;
  width: 34px;
}

.institutions-map:not(.is-interactive) strong {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 999px;
  color: #53627f;
  padding: 7px 12px;
}

.institutions-update-card p,
.institutions-matters span {
  color: #53627f;
  margin: 0;
}

.institutions-matters {
  display: grid;
  gap: 10px;
}

.institutions-matters a {
  background: #fbfdff;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  display: grid;
  gap: 2px;
  padding: 10px;
  text-decoration: none;
}

.institutions-matters strong {
  color: #06163a;
  font-size: 13px;
}

.institutions-open-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.institutions-open-list li {
  align-items: center;
  color: #263757;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.institutions-open-list em {
  background: #eaf8ef;
  border-radius: 999px;
  color: #12843a;
  font-style: normal;
  font-weight: 850;
  padding: 3px 8px;
}

.institutions-empty {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.institutions-empty h2 {
  color: #06163a;
  margin: 0;
}

.institutions-empty p {
  color: #53627f;
  margin: 0;
}

.institutions-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.institutions-trust div {
  border-right: 1px solid #e8eef7;
  display: grid;
  gap: 4px;
  padding: 20px;
}

.institutions-trust div:last-child {
  border-right: 0;
}

.institutions-trust strong {
  color: #06163a;
}

.institutions-trust span {
  color: #53627f;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .institutions-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .institutions-layout,
  .institutions-hero {
    grid-template-columns: 1fr;
  }

  .institutions-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .institutions-search {
    grid-template-columns: 1fr 1fr;
  }

  .institutions-search-keyword {
    grid-column: 1 / -1;
  }

  .institutions-tabs {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px;
  }

  .institutions-tabs > a {
    border: 1px solid #dbe6f4;
    border-radius: 6px;
    min-height: 36px;
  }

  .institutions-sort {
    margin-left: 0;
  }

  .institution-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .institution-actions {
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .institutions-trust {
    grid-template-columns: 1fr;
  }

  .institutions-trust div {
    border-bottom: 1px solid #e8eef7;
    border-right: 0;
  }
}

@media (max-width: 620px) {
  .institutions-search,
  .institutions-category-grid,
  .institution-card,
  .institution-card dl {
    grid-template-columns: 1fr;
  }

  .institution-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

.classifieds-hero {
  align-items: end;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding-top: 6px;
}

.classifieds-kicker {
  color: #0757d8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.classifieds-hero h1 {
  color: #06163a;
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.08;
  margin: 0;
  white-space: nowrap;
}

.classifieds-hero p:last-child {
  color: #53627f;
  font-size: 17px;
  margin: 9px 0 0;
}

.classifieds-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: none;
}

.classifieds-button,
.classifieds-card-link {
  align-items: center;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  text-decoration: none;
}

.classifieds-button:hover,
.classifieds-button:focus-visible,
.classifieds-card-link:hover,
.classifieds-card-link:focus-visible {
  text-decoration: none;
}

.classifieds-button-primary {
  background: #0757d8;
  border-color: #0757d8;
  box-shadow: 0 10px 22px rgb(7 87 216 / .16);
  color: #fff;
}

.classifieds-button-primary:hover,
.classifieds-button-primary:focus-visible {
  background: #064abe;
  color: #fff;
}

.classifieds-button-secondary {
  background: #fff;
  color: #0757d8;
}

.classifieds-hero-actions .classifieds-button-secondary {
  min-height: 36px;
  padding-inline: 11px;
  white-space: nowrap;
}

.classifieds-search {
  align-items: end;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(15 23 42 / .045);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(280px, 1.5fr) minmax(200px, .7fr) minmax(200px, .7fr) 126px;
  padding: 14px;
}

.classifieds-search label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.classifieds-search span {
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
}

.classifieds-search input,
.classifieds-search select {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #06163a;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.classifieds-search button {
  background: #0757d8;
  border: 1px solid #0757d8;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 46px;
}

.classifieds-categories,
.classifieds-results,
.classifieds-sidebar-card,
.classifieds-trust,
.classifieds-rules {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
}

.classifieds-categories {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.classifieds-categories h2,
.classifieds-sidebar-card h2,
.classifieds-rules h2 {
  color: #06163a;
  font-size: 18px;
  margin: 0;
}

.classifieds-category-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.classifieds-category-card {
  align-content: center;
  background: #fbfdff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #06163a;
  display: grid;
  gap: 7px;
  justify-items: center;
  min-height: 112px;
  padding: 13px 8px;
  text-align: center;
}

.classifieds-category-card:hover,
.classifieds-category-card:focus-visible,
.classifieds-category-card.is-active {
  border-color: #0757d8;
  box-shadow: 0 12px 24px rgb(7 87 216 / .10);
  text-decoration: none;
}

.classifieds-category-card span {
  align-items: center;
  background: var(--bs-icon-bg);
  border: 1px solid var(--bs-icon-border);
  border-radius: 8px;
  color: var(--bs-icon-color);
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.classifieds-category-card.is-active span {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.classifieds-category-card svg,
.classifieds-alert-icon svg {
  display: block;
  height: 20px;
  width: 20px;
}

.classifieds-category-card strong {
  font-size: 12px;
  line-height: 1.2;
}

.classifieds-category-card small {
  color: #53627f;
  font-size: 12px;
}

.classifieds-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.classifieds-main,
.classifieds-sidebar {
  min-width: 0;
}

.classifieds-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

.classifieds-results {
  overflow: hidden;
}

.classifieds-tabs {
  align-items: center;
  border-bottom: 1px solid #dbe6f4;
  display: flex;
  gap: 7px;
  min-height: 58px;
  padding: 0 16px;
}

.classifieds-tabs > a {
  align-items: center;
  align-self: stretch;
  border-bottom: 3px solid transparent;
  color: #53627f;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  padding: 0 10px;
}

.classifieds-tabs > a.is-active {
  border-bottom-color: #0757d8;
  color: #0757d8;
}

.classifieds-sort {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.classifieds-sort span {
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
}

.classifieds-sort select {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  min-height: 36px;
  padding: 6px 26px 6px 10px;
}

.classifieds-view-switch {
  display: inline-flex;
  gap: 5px;
}

.classifieds-view-switch a {
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #53627f;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 9px;
}

.classifieds-view-switch a.is-active {
  background: #eef5ff;
  color: #0757d8;
}

.classifieds-active-filter {
  background: #f8fbff;
  border-bottom: 1px solid #dbe6f4;
  color: #53627f;
  font-size: 13px;
  margin: 0;
  padding: 10px 18px;
}

.classifieds-list {
  display: grid;
}

.classified-card {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr) 136px 148px;
  min-height: 138px;
  padding: 16px;
}

.classified-card:last-child {
  border-bottom: 0;
}

.classified-card.is-featured {
  background: linear-gradient(90deg, #fff 0%, #fff 70%, #fff9e8 100%);
}

.bs-promoted-classifieds {
  margin-bottom: 28px;
  margin-top: 28px;
}

.bs-promoted-classifieds-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bs-promoted-classifieds-grid .classified-card {
  align-content: start;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(11, 32, 61, .08);
  grid-template-columns: 1fr;
  min-height: 0;
}

.bs-promoted-classifieds-grid .classified-thumb {
  width: 100%;
}

.classified-thumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f8fbff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  color: #0757d8;
  display: flex;
  font-size: 18px;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
}

.classified-thumb img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.classified-thumb-icon {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #0757d8;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.classified-thumb-icon svg {
  height: 24px;
  width: 24px;
}

.classified-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.classified-breadcrumb {
  color: #0757d8;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.classified-body h2 {
  font-size: 19px;
  line-height: 1.22;
  margin: 0;
}

.classified-body h2 a {
  color: #06163a;
}

.classified-body p {
  color: #53627f;
  display: -webkit-box;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.classified-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.classified-meta span,
.classified-meta a {
  color: #53627f;
  font-size: 12px;
}

.classified-warning {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.classified-price-box {
  align-content: center;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.classified-price-box strong {
  color: #06163a;
  font-size: 22px;
  line-height: 1.1;
}

.classified-price-box.is-missing-price strong {
  color: #53627f;
  font-size: 14px;
  font-weight: 850;
}

.classified-price-box span {
  background: #eaf8ef;
  border-radius: 5px;
  color: #12843a;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 8px;
}

.classified-actions {
  align-items: stretch;
  display: grid;
  gap: 8px;
}

.classified-actions button {
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #0757d8;
  cursor: pointer;
  min-height: 36px;
}

.classified-actions button svg {
  height: 18px;
  margin-top: 2px;
  width: 18px;
}

.classified-actions a {
  align-items: center;
  background: #0757d8;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  justify-content: center;
  min-height: 36px;
  padding: 8px 10px;
  text-align: center;
}

.classified-actions a:hover {
  color: #fff;
  text-decoration: none;
}

.classifieds-marketplace.is-grid-view .classifieds-list {
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.classifieds-marketplace.is-grid-view .classified-card {
  border: 1px solid #e8eef7;
  border-radius: 8px;
  grid-template-columns: 1fr;
  min-height: 0;
}

.classifieds-marketplace.is-grid-view .classified-thumb {
  width: 100%;
}

.classifieds-marketplace.is-grid-view .classified-actions {
  grid-template-columns: 40px 1fr;
}

.classifieds-empty {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: 48px minmax(0, 1fr);
  padding: 28px;
}

.classifieds-empty h2,
.classifieds-empty p {
  margin: 0;
}

.classifieds-empty p {
  color: #53627f;
}

.classifieds-empty-icon {
  align-items: center;
  background: #eef5ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #0757d8;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.classifieds-empty-icon svg {
  height: 20px;
  width: 20px;
}

.classifieds-empty-actions,
.classifieds-empty-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 2;
}

.classifieds-empty-suggestions {
  color: #53627f;
  font-size: 13px;
}

.classifieds-empty-suggestions span {
  font-weight: 850;
}

.classifieds-pagination {
  align-items: center;
  border-top: 1px solid #e8eef7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 14px 16px;
}

.classifieds-pagination a,
.classifieds-pagination span {
  align-items: center;
  border: 1px solid #dbe6f4;
  border-radius: 6px;
  color: #0757d8;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  padding: 7px 10px;
}

.classifieds-pagination span {
  color: #53627f;
}

.classifieds-pagination .is-current {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

.classifieds-sidebar-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.classifieds-sidebar-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.classifieds-sidebar-head a,
.classifieds-sell-card > a:last-child {
  font-size: 13px;
  font-weight: 850;
}

.classifieds-sell-card {
  background: #f8fbff;
}

.classifieds-sell-card p,
.classifieds-sidebar-card p {
  color: #53627f;
  margin: 0;
}

.classifieds-sell-card ul {
  color: #33415f;
  display: grid;
  gap: 8px;
  font-size: 13px;
  margin: 0;
  padding-left: 18px;
}

.classifieds-featured-list {
  display: grid;
}

.classifieds-featured-list article {
  align-items: center;
  border-bottom: 1px solid #e8eef7;
  display: grid;
  gap: 10px;
  grid-template-columns: 82px minmax(0, 1fr);
  padding: 12px 0;
}

.classifieds-featured-list article:last-child {
  border-bottom: 0;
}

.classifieds-featured-thumb {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: #f8fbff;
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  color: #0757d8;
  display: flex;
  font-weight: 950;
  justify-content: center;
  overflow: hidden;
}

.classifieds-featured-thumb img {
  border-radius: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.classifieds-featured-thumb .classified-thumb-icon {
  height: 34px;
  width: 34px;
}

.classifieds-featured-thumb .classified-thumb-icon svg {
  height: 18px;
  width: 18px;
}

.classifieds-featured-list h3 {
  color: #06163a;
  font-size: 14px;
  line-height: 1.25;
  margin: 0;
}

.classifieds-featured-list p {
  font-size: 12px;
  margin: 3px 0;
}

.classifieds-featured-list strong {
  color: #06163a;
}

.classifieds-map-visual {
  background:
    linear-gradient(90deg, rgb(7 87 216 / .06) 1px, transparent 1px),
    linear-gradient(rgb(7 87 216 / .06) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbff, #eef5ff);
  background-size: 34px 34px, 34px 34px, auto;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  height: 188px;
  overflow: hidden;
  position: relative;
}

.classifieds-map-pin,
.classifieds-map-total {
  align-items: center;
  background: #0757d8;
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 18px rgb(7 87 216 / .22);
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 34px;
}

.classifieds-map-total {
  left: 50%;
  top: 50%;
}

.classifieds-alert-icon {
  align-items: center;
  background: #eef5ff;
  border-radius: 999px;
  color: #0757d8;
  display: flex;
  font-size: 12px;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.classifieds-alert-icon svg {
  height: 22px;
  width: 22px;
}

.classifieds-alert-card .classifieds-button {
  width: 100%;
}

.classifieds-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.classifieds-trust div {
  border-right: 1px solid #e8eef7;
  display: grid;
  gap: 4px;
  padding: 20px;
}

.classifieds-trust div:last-child {
  border-right: 0;
}

.classifieds-trust strong {
  color: #06163a;
}

.classifieds-trust span {
  color: #53627f;
  font-size: 13px;
}

.classifieds-rules {
  align-items: center;
  display: grid;
  gap: 10px 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 18px;
}

.classifieds-rules h2 {
  grid-column: 1 / -1;
}

.classifieds-rules p {
  color: #53627f;
  margin: 0;
}

.classifieds-rules a {
  font-weight: 850;
}

@media (max-width: 1160px) {
  .classifieds-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .classifieds-sidebar {
    position: static;
  }
}

@media (max-width: 940px) {
  .classifieds-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .classifieds-hero h1 {
    white-space: normal;
  }

  .classifieds-hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .classifieds-search {
    grid-template-columns: 1fr 1fr;
  }

  .classifieds-search-keyword {
    grid-column: 1 / -1;
  }

  .classifieds-tabs {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 10px;
  }

  .classifieds-tabs > a {
    border: 1px solid #dbe6f4;
    border-radius: 6px;
    min-height: 36px;
  }

  .classifieds-tabs > a.is-active {
    background: #eef5ff;
  }

  .classifieds-sort {
    margin-left: 0;
  }

  .classified-card {
    align-items: start;
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .classified-price-box,
  .classified-actions {
    grid-column: 2;
  }

  .classified-actions {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .classifieds-marketplace.is-grid-view .classifieds-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .classifieds-search,
  .classifieds-trust,
  .classifieds-rules {
    grid-template-columns: 1fr;
  }

  .classifieds-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .classifieds-sort,
  .classifieds-view-switch {
    width: 100%;
  }

  .classifieds-sort select {
    width: 100%;
  }

  .classified-card {
    grid-template-columns: 1fr;
  }

  .classified-thumb,
  .classified-price-box,
  .classified-actions {
    grid-column: auto;
  }

  .classified-actions {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .classifieds-empty {
    grid-template-columns: 1fr;
  }

  .classifieds-empty-actions,
  .classifieds-empty-suggestions {
    grid-column: auto;
  }

  .classifieds-trust div {
    border-bottom: 1px solid #e8eef7;
    border-right: 0;
  }

  .classifieds-trust div:last-child {
    border-bottom: 0;
  }
}

html[data-theme="dark"] .brand-local {
  --bg: #07111f;
  --surface: #0f1d31;
  --surface-soft: #14243a;
  --surface-strong: #050b14;
  --text: #eef6ff;
  --muted: #aab9ce;
  --border: #273c58;
  --border-strong: #38577e;
  --accent: #6ea8ff;
  --accent-dark: #b7d2ff;
  --accent-soft: #10284d;
  --bs-color-primary: #6ea8ff;
  --bs-color-primary-dark: #b7d2ff;
  --bs-color-primary-light: #10284d;
  --bs-icon-color: var(--bs-color-primary-dark);
  --bs-icon-bg: var(--bs-color-primary-light);
  --bs-icon-border: #254974;
  --bs-card-border: var(--border);
  --bs-card-hover-bg: #132b4e;
  --navy: #eef6ff;
  --navy-soft: #cddbf1;
  background: var(--bg);
  color: var(--text);
  color-scheme: dark;
}

html[data-theme="dark"] .brand-local .site-header {
  background: rgb(7 17 31 / 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.28);
}

html[data-theme="dark"] .brand-local .site-main,
html[data-theme="dark"] .brand-local .site-footer {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .primary-nav a,
html[data-theme="dark"] .brand-local .bs-header-tools,
html[data-theme="dark"] .brand-local .bs-hero-copy h1,
html[data-theme="dark"] .brand-local .bs-section-head h2,
html[data-theme="dark"] .brand-local .bs-status-grid strong,
html[data-theme="dark"] .brand-local .bs-status-grid b,
html[data-theme="dark"] .brand-local .bs-category-grid strong,
html[data-theme="dark"] .brand-local .bs-featured-news h3,
html[data-theme="dark"] .brand-local .bs-news-list h3,
html[data-theme="dark"] .brand-local .bs-events h3,
html[data-theme="dark"] .brand-local .bs-events time strong,
html[data-theme="dark"] .brand-local .bs-events time span,
html[data-theme="dark"] .brand-local .bs-community-strip strong,
html[data-theme="dark"] .brand-local .bs-trust-grid strong,
html[data-theme="dark"] .brand-local .company-card h3,
html[data-theme="dark"] .brand-local .classified-card h3,
html[data-theme="dark"] .brand-local .event-row-title,
html[data-theme="dark"] .brand-local .site-footer strong,
html[data-theme="dark"] .brand-local .site-footer a {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .bs-hero-copy p,
html[data-theme="dark"] .brand-local .bs-status-grid small,
html[data-theme="dark"] .brand-local .bs-status-grid em,
html[data-theme="dark"] .brand-local .bs-category-grid small,
html[data-theme="dark"] .brand-local .bs-category-grid em,
html[data-theme="dark"] .brand-local .bs-featured-news p,
html[data-theme="dark"] .brand-local .bs-event-list small,
html[data-theme="dark"] .brand-local .bs-community-strip p,
html[data-theme="dark"] .brand-local .bs-trust-grid p,
html[data-theme="dark"] .brand-local .business-directory-subtitle,
html[data-theme="dark"] .brand-local .company-card p,
html[data-theme="dark"] .brand-local .classified-card p,
html[data-theme="dark"] .brand-local .classifieds-rules p,
html[data-theme="dark"] .brand-local .event-row-description,
html[data-theme="dark"] .brand-local .event-row-location {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .primary-nav a:hover,
html[data-theme="dark"] .brand-local .primary-nav a:focus-visible,
html[data-theme="dark"] .brand-local .primary-nav a.is-active,
html[data-theme="dark"] .brand-local .bs-hero-copy h1 span,
html[data-theme="dark"] .brand-local .bs-status-grid a,
html[data-theme="dark"] .brand-local .bs-category-grid b,
html[data-theme="dark"] .brand-local .bs-section-head a,
html[data-theme="dark"] .brand-local .bs-community-strip a,
html[data-theme="dark"] .brand-local .bs-trust-grid span,
html[data-theme="dark"] .brand-local .company-card a,
html[data-theme="dark"] .brand-local .classified-card a {
  color: var(--accent-dark);
}

html[data-theme="dark"] .brand-local .bs-header-search,
html[data-theme="dark"] .brand-local .theme-toggle,
html[data-theme="dark"] .brand-local .bs-search,
html[data-theme="dark"] .brand-local .bs-quick-links a,
html[data-theme="dark"] .brand-local .bs-status-grid article,
html[data-theme="dark"] .brand-local .bs-category-grid a,
html[data-theme="dark"] .brand-local .bs-news-layout,
html[data-theme="dark"] .brand-local .bs-events,
html[data-theme="dark"] .brand-local .bs-community-strip,
html[data-theme="dark"] .brand-local .bs-trust-grid article,
html[data-theme="dark"] .brand-local .site-footer,
html[data-theme="dark"] .brand-local .business-directory-shell,
html[data-theme="dark"] .brand-local .business-directory-panel,
html[data-theme="dark"] .brand-local .company-card,
html[data-theme="dark"] .brand-local .classifieds-shell,
html[data-theme="dark"] .brand-local .classified-card,
html[data-theme="dark"] .brand-local .rai-board-promotion,
html[data-theme="dark"] .brand-local .event-planner-shell,
html[data-theme="dark"] .brand-local .event-planner-card,
html[data-theme="dark"] .brand-local .rai-event-submit,
html[data-theme="dark"] .brand-local .rai-form {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .rai-board-promotion label {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .bs-promoted-classifieds-grid .classified-card {
  box-shadow: 0 16px 34px rgb(0 0 0 / 0.28);
}

html[data-theme="dark"] .brand-local .bs-home-hero {
  background:
    linear-gradient(90deg, var(--bg) 0%, rgb(7 17 31 / 0.97) 35%, rgb(7 17 31 / 0.78) 54%, rgb(7 17 31 / 0.2) 80%),
    url("../img/bialastrefa-hero-city.png");
  background-size: cover;
  background-position: center right;
}

html[data-theme="dark"] .brand-local .bs-hero-photo::before {
  background: linear-gradient(90deg, var(--bg) 0%, rgb(7 17 31 / 0.76) 42%, transparent 100%);
}

html[data-theme="dark"] .brand-local input,
html[data-theme="dark"] .brand-local select,
html[data-theme="dark"] .brand-local textarea {
  border-color: var(--border);
  background: #0b1627;
  color: var(--text);
}

html[data-theme="dark"] .brand-local input::placeholder,
html[data-theme="dark"] .brand-local textarea::placeholder {
  color: #8393aa;
}

html[data-theme="dark"] .brand-local .bs-header-cta,
html[data-theme="dark"] .brand-local .bs-search button,
html[data-theme="dark"] .brand-local .button,
html[data-theme="dark"] .brand-local button[type="submit"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #06163a;
}

html[data-theme="dark"] .brand-local .bs-score,
html[data-theme="dark"] .brand-local .bs-category-grid span,
html[data-theme="dark"] .brand-local .bs-trust-grid span,
html[data-theme="dark"] .brand-local .classified-price,
html[data-theme="dark"] .brand-local .business-stat-icon {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Dark mode coverage for newer directory, classifieds, events and border-gateway surfaces. */
html[data-theme="dark"] .brand-local .business-directory-hero h1,
html[data-theme="dark"] .brand-local .classifieds-hero h1,
html[data-theme="dark"] .brand-local .institutions-hero h1,
html[data-theme="dark"] .brand-local .event-planner-head h2,
html[data-theme="dark"] .brand-local .institutions-categories h2,
html[data-theme="dark"] .brand-local .institutions-sidebar-card h2,
html[data-theme="dark"] .brand-local .institution-card h2 a,
html[data-theme="dark"] .brand-local .institutions-matters strong,
html[data-theme="dark"] .brand-local .institutions-empty h2,
html[data-theme="dark"] .brand-local .institutions-trust strong,
html[data-theme="dark"] .brand-local .business-directory-section-head h2,
html[data-theme="dark"] .brand-local .business-sidebar-card h2,
html[data-theme="dark"] .brand-local .classifieds-categories h2,
html[data-theme="dark"] .brand-local .classifieds-sidebar-card h2,
html[data-theme="dark"] .brand-local .classifieds-rules h2,
html[data-theme="dark"] .brand-local .event-selected-head h3,
html[data-theme="dark"] .brand-local .event-time-group > aside strong,
html[data-theme="dark"] .brand-local .event-time-group > header strong,
html[data-theme="dark"] .brand-local .event-row time strong,
html[data-theme="dark"] .brand-local .event-row-main a,
html[data-theme="dark"] .brand-local .event-row-main small,
html[data-theme="dark"] .brand-local .event-plan-strip strong,
html[data-theme="dark"] .brand-local .event-weather-box b,
html[data-theme="dark"] .brand-local .event-weekend-day h4,
html[data-theme="dark"] .brand-local .event-empty-day h4,
html[data-theme="dark"] .brand-local .business-directory-stats strong,
html[data-theme="dark"] .brand-local .business-category-card,
html[data-theme="dark"] .brand-local .business-category-card strong,
html[data-theme="dark"] .brand-local .business-company-title-row h2,
html[data-theme="dark"] .brand-local .business-company-title-row h2 a,
html[data-theme="dark"] .brand-local .business-company-card h3,
html[data-theme="dark"] .brand-local .business-company-card h3 a,
html[data-theme="dark"] .brand-local .classifieds-category-card,
html[data-theme="dark"] .brand-local .classifieds-category-card strong,
html[data-theme="dark"] .brand-local .classified-body h2 a,
html[data-theme="dark"] .brand-local .classified-price-box strong,
html[data-theme="dark"] .brand-local .bz-services h2,
html[data-theme="dark"] .brand-local .bz-local-teaser h2,
html[data-theme="dark"] .brand-local .bz-local-teaser h3 {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .business-directory-hero p:last-child,
html[data-theme="dark"] .brand-local .classifieds-hero p:last-child,
html[data-theme="dark"] .brand-local .institutions-hero-copy > p:last-of-type,
html[data-theme="dark"] .brand-local .institutions-search span,
html[data-theme="dark"] .brand-local .institutions-sort span,
html[data-theme="dark"] .brand-local .institution-card dt,
html[data-theme="dark"] .brand-local .institution-card dd,
html[data-theme="dark"] .brand-local .institution-card p,
html[data-theme="dark"] .brand-local .institutions-update-card p,
html[data-theme="dark"] .brand-local .institutions-matters span,
html[data-theme="dark"] .brand-local .institutions-open-list li,
html[data-theme="dark"] .brand-local .institutions-empty p,
html[data-theme="dark"] .brand-local .institutions-trust span,
html[data-theme="dark"] .brand-local .event-planner-head p,
html[data-theme="dark"] .brand-local .event-selected-head p,
html[data-theme="dark"] .brand-local .event-time-group > aside,
html[data-theme="dark"] .brand-local .event-time-group > header,
html[data-theme="dark"] .brand-local .event-time-group > header span,
html[data-theme="dark"] .brand-local .event-row time,
html[data-theme="dark"] .brand-local .event-row-main p,
html[data-theme="dark"] .brand-local .event-plan-strip span,
html[data-theme="dark"] .brand-local .event-weather-box span,
html[data-theme="dark"] .brand-local .event-weather-box small,
html[data-theme="dark"] .brand-local .event-sidebar-cta p,
html[data-theme="dark"] .brand-local .event-planner-sidebar li,
html[data-theme="dark"] .brand-local .event-empty-day p,
html[data-theme="dark"] .brand-local .business-directory-search label span,
html[data-theme="dark"] .brand-local .business-directory-stats span,
html[data-theme="dark"] .brand-local .business-directory-section-head p,
html[data-theme="dark"] .brand-local .business-sidebar-card p,
html[data-theme="dark"] .brand-local .business-category-card small,
html[data-theme="dark"] .brand-local .business-company-card p,
html[data-theme="dark"] .brand-local .business-company-meta,
html[data-theme="dark"] .brand-local .classifieds-search span,
html[data-theme="dark"] .brand-local .classifieds-category-card small,
html[data-theme="dark"] .brand-local .classifieds-tabs > a,
html[data-theme="dark"] .brand-local .classifieds-sort span,
html[data-theme="dark"] .brand-local .classifieds-view-switch a,
html[data-theme="dark"] .brand-local .classified-body p,
html[data-theme="dark"] .brand-local .classified-meta span,
html[data-theme="dark"] .brand-local .classified-meta a,
html[data-theme="dark"] .brand-local .classifieds-sell-card p,
html[data-theme="dark"] .brand-local .classifieds-sell-card li,
html[data-theme="dark"] .brand-local .classifieds-sidebar-card p,
html[data-theme="dark"] .brand-local .classifieds-featured-list p,
html[data-theme="dark"] .brand-local .classifieds-empty p,
html[data-theme="dark"] .brand-local .bz-disclaimer,
html[data-theme="dark"] .brand-local .bz-form-note,
html[data-theme="dark"] .brand-local .bz-local-teaser p {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .event-day-selector,
html[data-theme="dark"] .brand-local .institutions-hero,
html[data-theme="dark"] .brand-local .institutions-search,
html[data-theme="dark"] .brand-local .institutions-categories,
html[data-theme="dark"] .brand-local .institutions-results,
html[data-theme="dark"] .brand-local .institutions-sidebar-card,
html[data-theme="dark"] .brand-local .institutions-trust,
html[data-theme="dark"] .brand-local .event-intent-filters a,
html[data-theme="dark"] .brand-local .event-timeline-panel,
html[data-theme="dark"] .brand-local .event-planner-sidebar > section,
html[data-theme="dark"] .brand-local .business-directory-search,
html[data-theme="dark"] .brand-local .business-directory-stats,
html[data-theme="dark"] .brand-local .business-directory-categories,
html[data-theme="dark"] .brand-local .business-directory-results,
html[data-theme="dark"] .brand-local .business-sidebar-card,
html[data-theme="dark"] .brand-local .business-directory-trust,
html[data-theme="dark"] .brand-local .business-directory-owner-strip,
html[data-theme="dark"] .brand-local .classifieds-search,
html[data-theme="dark"] .brand-local .classifieds-categories,
html[data-theme="dark"] .brand-local .classifieds-results,
html[data-theme="dark"] .brand-local .classifieds-sidebar-card,
html[data-theme="dark"] .brand-local .classifieds-trust,
html[data-theme="dark"] .brand-local .classifieds-rules,
html[data-theme="dark"] .brand-local .bz-disclaimer,
html[data-theme="dark"] .brand-local .bz-services,
html[data-theme="dark"] .brand-local .bz-local-teaser blockquote {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
  color: var(--text);
}

html[data-theme="dark"] .brand-local .event-day-selector a,
html[data-theme="dark"] .brand-local .event-date-picker,
html[data-theme="dark"] .brand-local .event-date-picker input,
html[data-theme="dark"] .brand-local .institutions-button-secondary,
html[data-theme="dark"] .brand-local .institutions-category-card,
html[data-theme="dark"] .brand-local .institution-logo,
html[data-theme="dark"] .brand-local .institution-title-row button,
html[data-theme="dark"] .brand-local .institutions-sort select,
html[data-theme="dark"] .brand-local .institutions-map,
html[data-theme="dark"] .brand-local .institutions-map strong,
html[data-theme="dark"] .brand-local .institutions-matters a,
html[data-theme="dark"] .brand-local .event-view-tabs span,
html[data-theme="dark"] .brand-local .event-row-actions a,
html[data-theme="dark"] .brand-local .event-empty-day a,
html[data-theme="dark"] .brand-local .business-directory-button-secondary,
html[data-theme="dark"] .brand-local .business-company-lead,
html[data-theme="dark"] .brand-local .business-directory-filter-button,
html[data-theme="dark"] .brand-local .business-category-card,
html[data-theme="dark"] .brand-local .business-company-logo,
html[data-theme="dark"] .brand-local .business-company-save,
html[data-theme="dark"] .brand-local .business-map-visual,
html[data-theme="dark"] .brand-local .business-directory-empty-icon,
html[data-theme="dark"] .brand-local .classifieds-button-secondary,
html[data-theme="dark"] .brand-local .classifieds-category-card,
html[data-theme="dark"] .brand-local .classifieds-sort select,
html[data-theme="dark"] .brand-local .classifieds-view-switch a,
html[data-theme="dark"] .brand-local .classified-thumb,
html[data-theme="dark"] .brand-local .classified-thumb-icon,
html[data-theme="dark"] .brand-local .classified-actions button,
html[data-theme="dark"] .brand-local .classifieds-empty-icon,
html[data-theme="dark"] .brand-local .classifieds-featured-thumb,
html[data-theme="dark"] .brand-local .classifieds-map-visual,
html[data-theme="dark"] .brand-local .bz-cta-grid a,
html[data-theme="dark"] .brand-local .bz-local-teaser a:not(.button):not(.button-primary):not(.button-secondary) {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .event-time-group > aside,
html[data-theme="dark"] .brand-local .event-time-group > header,
html[data-theme="dark"] .brand-local .event-plan-strip,
html[data-theme="dark"] .brand-local .institution-card,
html[data-theme="dark"] .brand-local .business-company-card,
html[data-theme="dark"] .brand-local .business-company-card.is-premium,
html[data-theme="dark"] .brand-local .classified-card,
html[data-theme="dark"] .brand-local .classified-card.is-featured,
html[data-theme="dark"] .brand-local .classifieds-marketplace.is-grid-view .classified-card {
  background: #0b1728;
  border-color: var(--border);
}

html[data-theme="dark"] .brand-local .event-selected-head,
html[data-theme="dark"] .brand-local .institutions-tabs,
html[data-theme="dark"] .brand-local .institution-card,
html[data-theme="dark"] .brand-local .institutions-quick-card a,
html[data-theme="dark"] .brand-local .institutions-trust div,
html[data-theme="dark"] .brand-local .event-time-group + .event-time-group,
html[data-theme="dark"] .brand-local .event-weekend-day + .event-weekend-day,
html[data-theme="dark"] .brand-local .event-time-group > header,
html[data-theme="dark"] .brand-local .event-row,
html[data-theme="dark"] .brand-local .event-plan-strip,
html[data-theme="dark"] .brand-local .business-directory-stats div,
html[data-theme="dark"] .brand-local .business-directory-tabs,
html[data-theme="dark"] .brand-local .business-directory-active-filter,
html[data-theme="dark"] .brand-local .business-company-card,
html[data-theme="dark"] .brand-local .business-directory-trust div,
html[data-theme="dark"] .brand-local .classifieds-tabs,
html[data-theme="dark"] .brand-local .classifieds-active-filter,
html[data-theme="dark"] .brand-local .classifieds-pagination,
html[data-theme="dark"] .brand-local .classifieds-featured-list article,
html[data-theme="dark"] .brand-local .classifieds-trust div {
  border-color: var(--border);
}

html[data-theme="dark"] .brand-local .event-day-selector a strong,
html[data-theme="dark"] .brand-local .institutions-category-card span,
html[data-theme="dark"] .brand-local .institution-title-row span,
html[data-theme="dark"] .brand-local .event-time-group > aside span,
html[data-theme="dark"] .brand-local .event-time-group > header em,
html[data-theme="dark"] .brand-local .event-weekend-day h4 span,
html[data-theme="dark"] .brand-local .event-planner-sidebar li em,
html[data-theme="dark"] .brand-local .business-category-icon,
html[data-theme="dark"] .brand-local .business-category-tag,
html[data-theme="dark"] .brand-local .classifieds-category-card span,
html[data-theme="dark"] .brand-local .classified-breadcrumb,
html[data-theme="dark"] .brand-local .classified-price-box span,
html[data-theme="dark"] .brand-local .classifieds-empty-suggestions span {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--accent-dark);
}

html[data-theme="dark"] .brand-local .classifieds-category-card.is-active span,
html[data-theme="dark"] .brand-local .business-category-card.is-active .business-category-icon,
html[data-theme="dark"] .brand-local .institutions-category-card.is-active span {
  background: #0757d8;
  border-color: #0757d8;
  color: #fff;
}

html[data-theme="dark"] .brand-local .event-row-tags span,
html[data-theme="dark"] .brand-local .event-row-tags .is-category,
html[data-theme="dark"] .brand-local .event-row-tags .is-audience,
html[data-theme="dark"] .brand-local .event-row-tags .is-place {
  background: #132b4e;
  border-color: #254974;
  color: #b7d2ff;
}

html[data-theme="dark"] .brand-local .event-row-tags .is-price,
html[data-theme="dark"] .brand-local .business-status-verified {
  background: #0e3424;
  border-color: #1d6b46;
  color: #7ee0a1;
}

html[data-theme="dark"] .brand-local .business-status-premium {
  background: #3a2a08;
  border-color: #8a650e;
  color: #ffd77a;
}

html[data-theme="dark"] .brand-local .institution-title-row em,
html[data-theme="dark"] .brand-local .institutions-open-list em {
  background: #0e3424;
  color: #7ee0a1;
}

html[data-theme="dark"] .brand-local .institutions-map {
  background-color: #0b1728;
  background-image:
    linear-gradient(#273c58 1px, transparent 1px),
    linear-gradient(90deg, #273c58 1px, transparent 1px);
}

html[data-theme="dark"] .brand-local .classified-price-box.is-missing-price strong {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .classifieds-tabs > a.is-active,
html[data-theme="dark"] .brand-local .institutions-tabs > a.is-active,
html[data-theme="dark"] .brand-local .institutions-sidebar-head a,
html[data-theme="dark"] .brand-local .institutions-quick-card a,
html[data-theme="dark"] .brand-local .classifieds-sidebar-head a,
html[data-theme="dark"] .brand-local .classifieds-sell-card > a:last-child,
html[data-theme="dark"] .brand-local .classifieds-featured-list strong,
html[data-theme="dark"] .brand-local .business-directory-tabs > a.is-active,
html[data-theme="dark"] .brand-local .business-sidebar-head a,
html[data-theme="dark"] .brand-local .business-company-contact a,
html[data-theme="dark"] .brand-local .bz-cta-grid a {
  color: var(--accent-dark);
}

html[data-theme="dark"] .brand-local .practical-dashboard,
html[data-theme="dark"] .brand-local .practical-hero h1,
html[data-theme="dark"] .brand-local .practical-section-head h2,
html[data-theme="dark"] .brand-local .practical-status-card strong,
html[data-theme="dark"] .brand-local .practical-quick-tile strong,
html[data-theme="dark"] .brand-local .practical-info-card h2,
html[data-theme="dark"] .brand-local .practical-sidebar-card h2,
html[data-theme="dark"] .brand-local .practical-empty h2,
html[data-theme="dark"] .brand-local .practical-trust strong,
html[data-theme="dark"] .brand-local .practical-emergency-list span,
html[data-theme="dark"] .brand-local .practical-source-list li {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .practical-hero-copy > p:last-of-type,
html[data-theme="dark"] .brand-local .practical-search span,
html[data-theme="dark"] .brand-local .practical-status-card p,
html[data-theme="dark"] .brand-local .practical-status-card small,
html[data-theme="dark"] .brand-local .practical-section-head p,
html[data-theme="dark"] .brand-local .practical-quick-tile small,
html[data-theme="dark"] .brand-local .practical-info-card p,
html[data-theme="dark"] .brand-local .practical-info-card small,
html[data-theme="dark"] .brand-local .practical-sidebar-card p,
html[data-theme="dark"] .brand-local .practical-empty p,
html[data-theme="dark"] .brand-local .practical-trust span {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .practical-hero,
html[data-theme="dark"] .brand-local .practical-search,
html[data-theme="dark"] .brand-local .practical-status-panel,
html[data-theme="dark"] .brand-local .practical-status-card,
html[data-theme="dark"] .brand-local .practical-quick-tile,
html[data-theme="dark"] .brand-local .practical-results,
html[data-theme="dark"] .brand-local .practical-sidebar-card,
html[data-theme="dark"] .brand-local .practical-trust {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
  color: var(--text);
}

html[data-theme="dark"] .brand-local .practical-search input,
html[data-theme="dark"] .brand-local .practical-search select,
html[data-theme="dark"] .brand-local .practical-button-secondary,
html[data-theme="dark"] .brand-local .practical-quick-tile span,
html[data-theme="dark"] .brand-local .practical-info-icon,
html[data-theme="dark"] .brand-local .practical-map-visual,
html[data-theme="dark"] .brand-local .practical-emergency-list a,
html[data-theme="dark"] .brand-local .practical-summary-list div,
html[data-theme="dark"] .brand-local .practical-source-list li {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .practical-tabs,
html[data-theme="dark"] .brand-local .practical-info-card,
html[data-theme="dark"] .brand-local .practical-trust div,
html[data-theme="dark"] .brand-local .practical-fast-card a,
html[data-theme="dark"] .brand-local .practical-map-visual {
  border-color: var(--border);
}

html[data-theme="dark"] .brand-local .practical-info-meta em {
  background: #132b4e;
  color: #b7d2ff;
}

html[data-theme="dark"] .brand-local .practical-fast-card a,
html[data-theme="dark"] .brand-local .practical-map-filters span,
html[data-theme="dark"] .brand-local .practical-map-visual strong {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .practical-map-visual {
  background-color: #0b1728;
  background-image:
    linear-gradient(24deg, rgb(96 165 250 / .14) 1px, transparent 1px),
    linear-gradient(150deg, rgb(74 222 128 / .12) 1px, transparent 1px);
}

html[data-theme="dark"] .brand-local .practical-map-visual strong {
  background: var(--surface);
}

html[data-theme="dark"] .brand-local .news-hub,
html[data-theme="dark"] .brand-local .news-hero h1,
html[data-theme="dark"] .brand-local .news-sidebar-card h2,
html[data-theme="dark"] .brand-local .news-sidebar-head h2,
html[data-theme="dark"] .brand-local .news-section-head h2,
html[data-theme="dark"] .brand-local .news-topic-list a,
html[data-theme="dark"] .brand-local .news-topic-chips a,
html[data-theme="dark"] .brand-local .news-lead-section > h2,
html[data-theme="dark"] .brand-local .news-lead-copy h2 a,
html[data-theme="dark"] .brand-local .news-list-body h3 a,
html[data-theme="dark"] .brand-local .news-compact-card strong,
html[data-theme="dark"] .brand-local .news-gallery-list strong,
html[data-theme="dark"] .brand-local .news-quick-links a,
html[data-theme="dark"] .brand-local .news-official-card h3 a,
html[data-theme="dark"] .brand-local .news-trust-row strong,
html[data-theme="dark"] .brand-local .news-empty h3 {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .news-hero p:last-of-type,
html[data-theme="dark"] .brand-local .news-sidebar-card p,
html[data-theme="dark"] .brand-local .news-lead-copy p,
html[data-theme="dark"] .brand-local .news-list-body p,
html[data-theme="dark"] .brand-local .news-meta-row,
html[data-theme="dark"] .brand-local .news-card-meta time,
html[data-theme="dark"] .brand-local .news-lead-copy time,
html[data-theme="dark"] .brand-local .news-compact-card time,
html[data-theme="dark"] .brand-local .news-gallery-list em,
html[data-theme="dark"] .brand-local .news-official-card small,
html[data-theme="dark"] .brand-local .news-trust-row span,
html[data-theme="dark"] .brand-local .news-empty p {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .news-hero,
html[data-theme="dark"] .brand-local .news-sidebar-card,
html[data-theme="dark"] .brand-local .news-topic-chips,
html[data-theme="dark"] .brand-local .news-search-row,
html[data-theme="dark"] .brand-local .news-lead-section,
html[data-theme="dark"] .brand-local .news-latest-section,
html[data-theme="dark"] .brand-local .news-official-section,
html[data-theme="dark"] .brand-local .news-trust-row,
html[data-theme="dark"] .brand-local .news-empty {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
}

html[data-theme="dark"] .brand-local .news-search-row input,
html[data-theme="dark"] .brand-local .news-search-row select,
html[data-theme="dark"] .brand-local .news-newsletter-card input,
html[data-theme="dark"] .brand-local .news-button-secondary,
html[data-theme="dark"] .brand-local .news-topic-chips a,
html[data-theme="dark"] .brand-local .news-quick-links a,
html[data-theme="dark"] .brand-local .news-list-actions button,
html[data-theme="dark"] .brand-local .news-lead-image,
html[data-theme="dark"] .brand-local .news-list-thumb {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .news-compact-card,
html[data-theme="dark"] .brand-local .news-list-card,
html[data-theme="dark"] .brand-local .news-official-card,
html[data-theme="dark"] .brand-local .news-trust-row div {
  border-color: var(--border);
}

html[data-theme="dark"] .brand-local .news-card-meta span,
html[data-theme="dark"] .brand-local .news-topic-list em,
html[data-theme="dark"] .brand-local .news-topic-chips em,
html[data-theme="dark"] .brand-local .news-official-card span,
html[data-theme="dark"] .brand-local .news-compact-card em {
  background: #132b4e;
  color: #b7d2ff;
}

html[data-theme="dark"] .brand-local .news-hero {
  background:
    linear-gradient(90deg, rgb(11 23 40 / .98), rgb(11 23 40 / .94)),
    url("../img/bialastrefa-hero-city.png");
  background-size: cover;
  background-position: center right;
}

html[data-theme="dark"] .brand-local .business-submit-shell,
html[data-theme="dark"] .brand-local .business-submit-hero h1,
html[data-theme="dark"] .brand-local .business-submit-form-head h2,
html[data-theme="dark"] .brand-local .business-submit-side-panel h2,
html[data-theme="dark"] .brand-local .business-submit-package-list strong,
html[data-theme="dark"] .brand-local .business-submit-trust strong {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .business-submit-hero-copy > p:not(.rai-kicker),
html[data-theme="dark"] .brand-local .business-submit-form-head p:not(.rai-kicker),
html[data-theme="dark"] .brand-local .business-submit-package-list span,
html[data-theme="dark"] .brand-local .business-submit-trust span {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .business-submit-hero,
html[data-theme="dark"] .brand-local .business-submit-form-panel,
html[data-theme="dark"] .brand-local .business-submit-side-panel,
html[data-theme="dark"] .brand-local .business-submit-trust,
html[data-theme="dark"] .brand-local .business-submit-metrics div,
html[data-theme="dark"] .brand-local .business-submit-consents,
html[data-theme="dark"] .brand-local .business-submit-package-list article {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: none;
}

html[data-theme="dark"] .brand-local .business-submit-hero::before {
  opacity: .24;
}

html[data-theme="dark"] .brand-local .business-submit-form input,
html[data-theme="dark"] .brand-local .business-submit-form textarea,
html[data-theme="dark"] .brand-local .business-submit-form select {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .business-submit-form label,
html[data-theme="dark"] .brand-local .business-submit-metrics dd,
html[data-theme="dark"] .brand-local .business-submit-checklist li {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .business-submit-form .rai-form-note {
  background: #0e3424;
  border-color: #1d6b46;
  color: #7ee0a1;
}

html[data-theme="dark"] .brand-local .business-submit-form-head,
html[data-theme="dark"] .brand-local .business-submit-trust div {
  border-color: var(--border);
}

.brand-local .rai-business-submit-page {
  --rai-submit-primary: #142331;
  --rai-submit-primary-hover: #223647;
  --rai-submit-primary-text: #fff;
  --rai-submit-secondary-bg: #fff;
  --rai-submit-secondary-text: var(--text);
  --rai-submit-control-bg: #fbfaf7;
}

.brand-local .rai-business-button-primary,
.brand-local .rai-business-package-actions a,
.brand-local .rai-business-form button[type="submit"] {
  background: var(--rai-submit-primary);
  border-color: var(--rai-submit-primary);
  color: var(--rai-submit-primary-text);
}

.brand-local .rai-business-button-primary:hover,
.brand-local .rai-business-button-primary:focus-visible,
.brand-local .rai-business-package-actions a:hover,
.brand-local .rai-business-package-actions a:focus-visible,
.brand-local .rai-business-form button[type="submit"]:hover,
.brand-local .rai-business-form button[type="submit"]:focus-visible {
  background: var(--rai-submit-primary-hover);
  border-color: var(--rai-submit-primary-hover);
  color: var(--rai-submit-primary-text);
}

.brand-local .rai-business-button-secondary {
  background: var(--rai-submit-secondary-bg);
  border-color: var(--border);
  color: var(--rai-submit-secondary-text);
}

.brand-local .rai-business-hero .rai-business-button-primary,
.brand-local .rai-business-bottom-cta .rai-business-button-primary {
  background: #e0bb78;
  border-color: #e0bb78;
  color: #09121b;
}

.brand-local .rai-business-hero .rai-business-button-primary:hover,
.brand-local .rai-business-hero .rai-business-button-primary:focus-visible,
.brand-local .rai-business-bottom-cta .rai-business-button-primary:hover,
.brand-local .rai-business-bottom-cta .rai-business-button-primary:focus-visible {
  background: #f0cb8b;
  border-color: #f0cb8b;
  color: #09121b;
}

.brand-local .rai-business-form input,
.brand-local .rai-business-form textarea,
.brand-local .rai-business-form select {
  background: var(--rai-submit-control-bg);
}

.brand-local .rai-business-trust-strip strong {
  color: var(--accent-dark);
}

.brand-local .rai-business-package-grid article.is-featured {
  background: color-mix(in srgb, var(--accent-soft) 78%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 74%, var(--border));
}

html[data-theme="dark"] .brand-local .rai-business-submit-page {
  --rai-submit-primary: #e0bb78;
  --rai-submit-primary-hover: #f0cb8b;
  --rai-submit-primary-text: #09121b;
  --rai-submit-secondary-bg: #0d1a28;
  --rai-submit-secondary-text: var(--text);
  --rai-submit-control-bg: #0b1627;
}

html[data-theme="dark"] .brand-local .rai-business-hero,
html[data-theme="dark"] .brand-local .rai-business-success,
html[data-theme="dark"] .brand-local .rai-business-trust-strip > div,
html[data-theme="dark"] .brand-local .rai-business-form-card,
html[data-theme="dark"] .brand-local .rai-business-side-card,
html[data-theme="dark"] .brand-local .rai-business-bottom-cta {
  background-color: var(--surface);
  border-color: var(--border);
  box-shadow: none;
}

html[data-theme="dark"] .brand-local .rai-business-hero,
html[data-theme="dark"] .brand-local .rai-business-bottom-cta {
  background:
    linear-gradient(135deg, #09121b, #102033),
    var(--surface-strong);
}

html[data-theme="dark"] .brand-local .rai-business-hero-panel,
html[data-theme="dark"] .brand-local .rai-business-consents,
html[data-theme="dark"] .brand-local .rai-business-package-grid article {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .rai-business-package-grid article.is-featured {
  background: #172b45;
  border-color: var(--accent);
}

html[data-theme="dark"] .brand-local .rai-business-hero-panel h2,
html[data-theme="dark"] .brand-local .rai-business-form-card h2,
html[data-theme="dark"] .brand-local .rai-business-side-card h2,
html[data-theme="dark"] .brand-local .rai-business-success h1,
html[data-theme="dark"] .brand-local .rai-business-package-grid strong,
html[data-theme="dark"] .brand-local .rai-business-package-grid span,
html[data-theme="dark"] .brand-local .rai-business-form label,
html[data-theme="dark"] .brand-local .rai-business-consents label {
  color: var(--text);
}

html[data-theme="dark"] .brand-local .rai-business-hero-copy > p:not(.rai-kicker),
html[data-theme="dark"] .brand-local .rai-business-form-card header p:not(.rai-kicker),
html[data-theme="dark"] .brand-local .rai-business-side-card p,
html[data-theme="dark"] .brand-local .rai-business-benefits li,
html[data-theme="dark"] .brand-local .rai-business-process,
html[data-theme="dark"] .brand-local .rai-business-package-grid small,
html[data-theme="dark"] .brand-local .rai-business-trust-strip span {
  color: var(--muted);
}

html[data-theme="dark"] .brand-local .rai-business-form .rai-form-note {
  background: #0e3424;
  border-color: #1d6b46;
  color: #7ee0a1;
}

html[data-theme="dark"] .brand-local .rai-business-form input,
html[data-theme="dark"] .brand-local .rai-business-form textarea,
html[data-theme="dark"] .brand-local .rai-business-form select {
  background: var(--rai-submit-control-bg);
  border-color: var(--border);
  color: var(--text);
}

html[data-theme="dark"] .brand-local .rai-business-form input::placeholder,
html[data-theme="dark"] .brand-local .rai-business-form textarea::placeholder {
  color: #9cabc0;
}

html[data-theme="dark"] .brand-local .rai-business-submit-page .rai-business-form button[type="submit"] {
  background: var(--rai-submit-primary);
  border-color: var(--rai-submit-primary);
  color: var(--rai-submit-primary-text);
}

html[data-theme="dark"] .brand-local .rai-business-submit-page .rai-business-form button[type="submit"]:hover,
html[data-theme="dark"] .brand-local .rai-business-submit-page .rai-business-form button[type="submit"]:focus-visible {
  background: var(--rai-submit-primary-hover);
  border-color: var(--rai-submit-primary-hover);
  color: var(--rai-submit-primary-text);
}

@media (max-width: 760px) {
  .brand-local .site-header .container {
    width: calc(100% - 20px);
  }

  .brand-local .header-inner {
    gap: 7px;
    padding: 8px 0;
  }

  .brand-local .brand-logo {
    max-height: 34px;
    width: 144px;
  }

  .brand-local .primary-nav ul {
    gap: 3px 6px;
  }

  .brand-local .primary-nav a {
    min-height: 28px;
    padding: 4px 6px;
    font-size: 11px;
    font-weight: 850;
  }

  .bs-header-tools {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px;
  }

  .brand-local .bs-header-cta {
    min-height: 32px;
    padding-inline: 10px;
  }

  .brand-local .theme-toggle {
    min-height: 32px;
    min-width: 34px;
    padding: 6px;
  }
}

@media (max-width: 760px) {
  .brand-local .site-header {
    position: sticky;
  }

  .brand-local .header-inner {
    align-items: center;
    display: grid;
    gap: 8px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    overflow: visible;
    padding: 8px 0 9px;
  }

  .brand-local .brand {
    grid-column: 1;
    grid-row: 1;
    min-height: 40px;
  }

  .brand-local .brand-logo {
    max-height: 38px;
    max-width: min(184px, 100%);
    width: min(184px, 100%);
  }

  .brand-local .brand-logo-dark {
    display: none;
  }

  html[data-theme="dark"] .brand-local .brand-logo-light {
    display: none;
  }

  html[data-theme="dark"] .brand-local .brand-logo-dark {
    display: block;
  }

  .brand-local .header-actions {
    display: contents;
  }

  .brand-local .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-inline: -10px;
    max-width: calc(100% + 20px);
    min-width: 0;
    overflow-x: auto;
    padding: 0 10px 2px;
    scrollbar-width: none;
    width: calc(100% + 20px);
  }

  .brand-local .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .brand-local .primary-nav ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: flex-start;
    min-width: max-content;
    width: max-content;
  }

  .brand-local .primary-nav a {
    background: color-mix(in srgb, var(--surface-soft) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
    justify-content: center;
    min-height: 38px;
    padding: 8px 10px;
    white-space: nowrap;
    width: auto;
  }

  .brand-local .bs-header-tools {
    align-items: center;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-content: flex-start;
    min-width: 0;
    overflow-x: auto;
    padding: 0 0 2px;
    scrollbar-width: none;
    width: 100%;
  }

  .brand-local .bs-header-tools::-webkit-scrollbar {
    display: none;
  }

  .brand-local .bs-weather-dot {
    display: none;
  }

  .brand-local .bs-header-tools > span:not(.bs-weather-dot) {
    display: none;
    font-size: 12px;
  }

  .brand-local .bs-header-search {
    display: none;
  }

  .brand-local .bs-header-cta {
    border-radius: 6px;
    font-size: 0;
    min-height: 38px;
    min-width: 70px;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .brand-local .bs-header-cta::after {
    content: "Dodaj";
    font-size: 12px;
  }

  .brand-local .theme-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    min-height: 40px;
    min-width: 40px;
    padding: 8px;
  }

  .brand-local .theme-toggle [data-theme-toggle-text] {
    display: none;
  }

  .brand-local .theme-toggle-icon {
    height: 16px;
    width: 16px;
  }

  .brand-local .bs-header-tools + .theme-toggle {
    margin-right: 0;
  }

  .brand-local .bs-header-tools {
    padding-right: 0;
  }
}

/* Enterprise Design System v1
   Token-first compatibility layer for existing rai-*, bs-* and classifieds-* UI. */
:root {
  --ds-color-bg: var(--bg);
  --ds-color-surface: var(--surface);
  --ds-color-surface-muted: var(--surface-soft);
  --ds-color-surface-raised: color-mix(in srgb, var(--surface) 94%, #fff 6%);
  --ds-color-text: var(--text);
  --ds-color-muted: var(--muted);
  --ds-color-border: var(--border);
  --ds-color-border-strong: var(--border-strong);
  --ds-color-primary: var(--accent);
  --ds-color-primary-hover: var(--accent-dark);
  --ds-color-primary-soft: var(--accent-soft);
  --ds-color-info: var(--bs-color-primary);
  --ds-color-info-soft: var(--bs-color-primary-light);
  --ds-color-success: var(--success);
  --ds-color-success-soft: color-mix(in srgb, var(--success) 11%, var(--surface));
  --ds-color-warning: var(--warning);
  --ds-color-warning-soft: color-mix(in srgb, var(--warning) 12%, var(--surface));
  --ds-color-danger: #b42318;
  --ds-color-danger-soft: color-mix(in srgb, #b42318 10%, var(--surface));
  --ds-space-1: 4px;
  --ds-space-2: 8px;
  --ds-space-3: 12px;
  --ds-space-4: 16px;
  --ds-space-5: 20px;
  --ds-space-6: 24px;
  --ds-space-8: 32px;
  --ds-space-10: 40px;
  --ds-space-12: 48px;
  --ds-container: 1180px;
  --ds-font-xs: 12px;
  --ds-font-sm: 14px;
  --ds-font-md: 16px;
  --ds-font-lg: 18px;
  --ds-font-xl: 22px;
  --ds-font-2xl: 28px;
  --ds-font-3xl: 36px;
  --ds-line-tight: 1.18;
  --ds-line-normal: 1.55;
  --ds-weight-medium: 650;
  --ds-weight-bold: 780;
  --ds-radius-xs: 5px;
  --ds-radius-sm: var(--radius-sm);
  --ds-radius-md: var(--radius);
  --ds-radius-lg: 10px;
  --ds-radius-pill: 999px;
  --ds-border: 1px solid var(--ds-color-border);
  --ds-border-strong: 1px solid var(--ds-color-border-strong);
  --ds-shadow-sm: 0 8px 20px color-mix(in srgb, var(--text) 8%, transparent);
  --ds-shadow-md: var(--shadow);
  --ds-shadow-focus: 0 0 0 3px color-mix(in srgb, var(--ds-color-primary) 22%, transparent);
  --ds-control-height: 42px;
  --ds-control-padding-x: 12px;
  --ds-transition: 160ms ease;
}

html[data-theme="dark"] {
  --ds-color-surface-raised: color-mix(in srgb, var(--surface) 88%, #fff 4%);
  --ds-color-danger: #ffb4ab;
  --ds-color-danger-soft: color-mix(in srgb, #7f1d1d 38%, var(--surface));
  --ds-shadow-sm: 0 8px 20px rgb(0 0 0 / 0.22);
}

body {
  font-size: var(--ds-font-md);
  line-height: var(--ds-line-normal);
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 0;
  box-shadow: var(--ds-shadow-focus);
}

:where(button, input, textarea, select) {
  font: inherit;
}

:where(.container, .rai-container, .classifieds-marketplace, .rai-business-submit-page) {
  max-width: var(--ds-container);
}

:where(.page-section, .section, .rai-section, .classifieds-marketplace, .rai-business-submit-page) {
  margin-block: var(--ds-space-8);
}

:where(.page-section > h1, .section-title, .rai-section-title, .classifieds-hero h1, .rai-business-hero h1) {
  letter-spacing: 0;
  text-wrap: balance;
}

:where(.rai-kicker, .classifieds-kicker, .eyebrow) {
  color: var(--ds-color-primary);
  font-size: var(--ds-font-xs);
  font-weight: 850;
  letter-spacing: .06em;
  margin: 0 0 var(--ds-space-2);
  text-transform: uppercase;
}

:where(
  .rai-button,
  .classifieds-button,
  .rai-business-button,
  .bs-header-cta,
  .wp-block-button__link,
  .rai-form button,
  .classifieds-search button,
  .rai-business-form button[type="submit"]
) {
  align-items: center;
  border: 1px solid var(--ds-color-primary);
  border-radius: var(--ds-radius-sm);
  cursor: pointer;
  display: inline-flex;
  font-size: var(--ds-font-sm);
  font-weight: var(--ds-weight-bold);
  gap: var(--ds-space-2);
  justify-content: center;
  min-height: var(--ds-control-height);
  padding: 9px 14px;
  text-decoration: none;
  transition: background var(--ds-transition), border-color var(--ds-transition), color var(--ds-transition), box-shadow var(--ds-transition), transform var(--ds-transition);
  white-space: nowrap;
}

:where(.rai-button, .classifieds-button-primary, .rai-business-button-primary, .wp-block-button__link, .rai-form button, .classifieds-search button, .rai-business-form button[type="submit"]) {
  background: var(--ds-color-primary);
  color: #fff;
}

:where(.rai-button:hover, .rai-button:focus-visible, .classifieds-button-primary:hover, .classifieds-button-primary:focus-visible, .rai-business-button-primary:hover, .rai-business-button-primary:focus-visible, .wp-block-button__link:hover, .wp-block-button__link:focus-visible, .rai-form button:hover, .rai-form button:focus-visible, .classifieds-search button:hover, .classifieds-search button:focus-visible, .rai-business-form button[type="submit"]:hover, .rai-business-form button[type="submit"]:focus-visible) {
  background: var(--ds-color-primary-hover);
  border-color: var(--ds-color-primary-hover);
  color: #fff;
  text-decoration: none;
}

:where(.rai-button-secondary, .classifieds-button-secondary, .rai-business-button-secondary, .theme-toggle) {
  background: var(--ds-color-surface);
  border-color: var(--ds-color-border);
  color: var(--ds-color-text);
}

:where(.rai-button-secondary:hover, .rai-button-secondary:focus-visible, .classifieds-button-secondary:hover, .classifieds-button-secondary:focus-visible, .rai-business-button-secondary:hover, .rai-business-button-secondary:focus-visible, .theme-toggle:hover, .theme-toggle:focus-visible) {
  background: var(--ds-color-primary-soft);
  border-color: var(--ds-color-primary);
  color: var(--ds-color-primary-hover);
}

:where(button, .rai-button, .classifieds-button, .rai-business-button)[disabled],
:where(button, .rai-button, .classifieds-button, .rai-business-button).is-disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

:where(
  .rai-form,
  .business-submit-form,
  .rai-business-form,
  .classifieds-search,
  .rai-lead-form
) {
  gap: var(--ds-space-4);
}

:where(.rai-form label, .rai-business-form label, .classifieds-search label, .form-field) {
  color: var(--ds-color-text);
  display: flex;
  flex-direction: column;
  font-size: var(--ds-font-sm);
  font-weight: var(--ds-weight-medium);
  gap: var(--ds-space-2);
  min-width: 0;
}

:where(.rai-form label small, .rai-business-form label small, .form-field small, .helper-text) {
  color: var(--ds-color-muted);
  font-size: var(--ds-font-xs);
  font-weight: 500;
  line-height: 1.4;
}

:where(
  .rai-form input,
  .rai-form textarea,
  .rai-form select,
  .rai-business-form input,
  .rai-business-form textarea,
  .rai-business-form select,
  .classifieds-search input,
  .classifieds-search select,
  .form-control
) {
  background: var(--ds-color-surface);
  border: var(--ds-border);
  border-radius: var(--ds-radius-sm);
  color: var(--ds-color-text);
  min-height: var(--ds-control-height);
  padding: 10px var(--ds-control-padding-x);
  transition: border-color var(--ds-transition), box-shadow var(--ds-transition), background var(--ds-transition);
  width: 100%;
}

:where(.rai-form textarea, .rai-business-form textarea, .form-control textarea) {
  min-height: 128px;
  resize: vertical;
}

:where(.rai-form input::placeholder, .rai-form textarea::placeholder, .rai-business-form input::placeholder, .rai-business-form textarea::placeholder, .classifieds-search input::placeholder) {
  color: color-mix(in srgb, var(--ds-color-muted) 72%, transparent);
}

:where(.rai-form input:hover, .rai-form textarea:hover, .rai-form select:hover, .rai-business-form input:hover, .rai-business-form textarea:hover, .rai-business-form select:hover, .classifieds-search input:hover, .classifieds-search select:hover) {
  border-color: var(--ds-color-border-strong);
}

:where(.rai-form input:focus, .rai-form textarea:focus, .rai-form select:focus, .rai-business-form input:focus, .rai-business-form textarea:focus, .rai-business-form select:focus, .classifieds-search input:focus, .classifieds-search select:focus) {
  border-color: var(--ds-color-primary);
  box-shadow: var(--ds-shadow-focus);
  outline: 0;
}

:where(.rai-checkbox, .rai-form label:has(input[type="checkbox"]), .rai-form label:has(input[type="radio"]), .rai-business-consents label) {
  align-items: flex-start;
  color: var(--ds-color-text);
  display: flex;
  flex-direction: row;
  gap: var(--ds-space-2);
  line-height: 1.45;
}

:where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--ds-color-primary);
  flex: 0 0 auto;
  margin-top: 2px;
}

.rai-board-form .rai-checkbox {
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 7px !important;
  line-height: 1.25;
}

.rai-board-form .rai-checkbox input[type="checkbox"] {
  height: 14px;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 14px;
}

:where(input:disabled, textarea:disabled, select:disabled) {
  background: color-mix(in srgb, var(--ds-color-surface-muted) 74%, var(--ds-color-surface));
  color: var(--ds-color-muted);
  cursor: not-allowed;
}

:where(.field-error, .error-message, .form-error) {
  color: var(--ds-color-danger);
  font-size: var(--ds-font-xs);
  font-weight: var(--ds-weight-medium);
}

:where(.is-error input, .is-error textarea, .is-error select, input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"]) {
  border-color: var(--ds-color-danger);
}

:where(
  .rai-card,
  .rai-business-card,
  .classified-card,
  .homepage-card,
  .homepage-utility-card,
  .rai-business-form-card,
  .rai-business-side-card,
  .classifieds-categories,
  .classifieds-results,
  .classifieds-sidebar-card,
  .classifieds-trust,
  .classifieds-rules,
  .business-directory-card,
  .event-card,
  .practical-card
) {
  background: var(--ds-color-surface);
  border: var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-sm);
  color: var(--ds-color-text);
}

:where(.rai-card:hover, .rai-business-card:hover, .classified-card:hover, .homepage-card:hover, .business-directory-card:hover) {
  border-color: var(--ds-color-border-strong);
}

:where(.rai-card-head, .rai-business-card-head, .classified-card-meta, .classifieds-sidebar-head, .section-header, .page-header) {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
  justify-content: space-between;
}

:where(.rai-badge, .classified-badge, .badge, .status-badge) {
  align-items: center;
  background: var(--ds-color-primary-soft);
  border: 1px solid color-mix(in srgb, var(--ds-color-primary) 24%, var(--ds-color-border));
  border-radius: var(--ds-radius-pill);
  color: var(--ds-color-primary-hover);
  display: inline-flex;
  font-size: var(--ds-font-xs);
  font-weight: var(--ds-weight-bold);
  gap: 6px;
  line-height: 1;
  min-height: 24px;
  padding: 5px 8px;
}

:where(.rai-badge-muted, .badge-muted) {
  background: var(--ds-color-surface-muted);
  border-color: var(--ds-color-border);
  color: var(--ds-color-muted);
}

:where(.rai-notice, .notice-card, .alert, .rai-business-success, .classifieds-empty, .rai-empty, .business-directory-empty, .event-empty-day, .practical-empty, .news-empty) {
  background: var(--ds-color-success-soft);
  border: 1px solid color-mix(in srgb, var(--ds-color-success) 26%, var(--ds-color-border));
  border-left: 4px solid var(--ds-color-success);
  border-radius: var(--ds-radius-md);
  color: var(--ds-color-text);
  padding: var(--ds-space-5);
}

:where(.alert-error, .error-state, .is-error-state) {
  background: var(--ds-color-danger-soft);
  border-color: color-mix(in srgb, var(--ds-color-danger) 34%, var(--ds-color-border));
  border-left-color: var(--ds-color-danger);
}

:where(.alert-warning, .is-warning-state) {
  background: var(--ds-color-warning-soft);
  border-color: color-mix(in srgb, var(--ds-color-warning) 34%, var(--ds-color-border));
  border-left-color: var(--ds-color-warning);
}

:where(.classifieds-empty, .rai-empty, .business-directory-empty, .event-empty-day, .practical-empty, .news-empty) {
  background: var(--ds-color-surface);
  border-left-width: 1px;
  display: grid;
  justify-items: center;
  text-align: center;
}

:where(.classifieds-empty h2, .rai-empty h2, .business-directory-empty h2, .event-empty-day h4, .practical-empty h2, .news-empty h3) {
  color: var(--ds-color-text);
  margin: 0 0 var(--ds-space-2);
}

:where(.classifieds-empty p, .rai-empty p, .business-directory-empty p, .event-empty-day p, .practical-empty p, .news-empty p) {
  color: var(--ds-color-muted);
  margin: 0;
  max-width: 62ch;
}

:where(table, .rai-table, .classifieds-table) {
  border-collapse: collapse;
  width: 100%;
}

:where(th, td) {
  border-bottom: var(--ds-border);
  padding: var(--ds-space-3);
  text-align: left;
  vertical-align: top;
}

:where(th) {
  color: var(--ds-color-muted);
  font-size: var(--ds-font-xs);
  font-weight: var(--ds-weight-bold);
  text-transform: uppercase;
}

:where(.classifieds-tabs, .classifieds-pagination, .filters, .rai-filters) {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ds-space-2);
}

:where(.classifieds-pagination a, .classifieds-pagination span, .classifieds-tabs > a, .classifieds-view-switch a) {
  align-items: center;
  border: var(--ds-border);
  border-radius: var(--ds-radius-sm);
  color: var(--ds-color-text);
  display: inline-flex;
  min-height: 34px;
  padding: 7px 10px;
}

:where(.classifieds-pagination .is-current, .classifieds-tabs > a.is-active, .classifieds-view-switch a.is-active) {
  background: var(--ds-color-primary-soft);
  border-color: var(--ds-color-primary);
  color: var(--ds-color-primary-hover);
}

.ds-skeleton,
.loading-skeleton,
:where(.is-loading) {
  background: linear-gradient(90deg, var(--ds-color-surface-muted), color-mix(in srgb, var(--ds-color-surface) 88%, var(--ds-color-border)), var(--ds-color-surface-muted));
  background-size: 220% 100%;
  border-radius: var(--ds-radius-sm);
  min-height: 16px;
  animation: ds-skeleton 1.35s ease-in-out infinite;
}

@keyframes ds-skeleton {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.ds-switch {
  align-items: center;
  display: inline-flex;
  gap: var(--ds-space-2);
}

.ds-switch input {
  appearance: none;
  background: var(--ds-color-border-strong);
  border-radius: var(--ds-radius-pill);
  height: 22px;
  position: relative;
  transition: background var(--ds-transition);
  width: 40px;
}

.ds-switch input::after {
  background: var(--ds-color-surface);
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform var(--ds-transition);
  width: 18px;
}

.ds-switch input:checked {
  background: var(--ds-color-primary);
}

.ds-switch input:checked::after {
  transform: translateX(18px);
}

.ds-dialog,
.modal,
[role="dialog"] {
  background: var(--ds-color-surface);
  border: var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-md);
  color: var(--ds-color-text);
}

.ds-toast,
.toast {
  background: var(--ds-color-surface-raised);
  border: var(--ds-border);
  border-radius: var(--ds-radius-md);
  box-shadow: var(--ds-shadow-md);
  color: var(--ds-color-text);
  padding: var(--ds-space-4);
}

html[data-theme="dark"] :where(.rai-button, .classifieds-button-primary, .rai-business-button-primary, .wp-block-button__link, .rai-form button, .classifieds-search button, .rai-business-form button[type="submit"]) {
  color: #09121b;
}

html[data-theme="dark"] :where(.rai-button-secondary, .classifieds-button-secondary, .rai-business-button-secondary, .theme-toggle) {
  background: var(--ds-color-surface-muted);
  color: var(--ds-color-text);
}

html[data-theme="dark"] :where(.rai-form input, .rai-form textarea, .rai-form select, .rai-business-form input, .rai-business-form textarea, .rai-business-form select, .classifieds-search input, .classifieds-search select, .form-control) {
  background: color-mix(in srgb, var(--ds-color-surface) 78%, #000 10%);
}

@media (max-width: 900px) {
  :root {
    --ds-font-3xl: 30px;
    --ds-font-2xl: 24px;
    --ds-space-10: 32px;
    --ds-space-12: 40px;
  }

  :where(.container) {
    width: min(100% - 28px, var(--ds-container));
  }

  :where(.page-section, .section, .rai-section, .classifieds-marketplace, .rai-business-submit-page) {
    margin-block: var(--ds-space-6);
  }

  :where(table, .rai-table, .classifieds-table) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 640px) {
  :root {
    --ds-control-height: 40px;
    --ds-font-md: 15px;
    --ds-font-xl: 20px;
    --ds-font-2xl: 23px;
    --ds-font-3xl: 28px;
  }

  :where(.rai-button, .classifieds-button, .rai-business-button, .bs-header-cta, .wp-block-button__link, .rai-form button, .classifieds-search button, .rai-business-form button[type="submit"]) {
    min-width: 0;
    white-space: normal;
  }

  :where(.rai-form, .rai-business-form, .classifieds-search) {
    gap: var(--ds-space-3);
  }

  :where(.rai-card-head, .rai-business-card-head, .classified-card-meta, .classifieds-sidebar-head, .section-header, .page-header) {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Visual Audit Fixes v1
   Reduce oversized typography and remove forced text breaks across primary views. */
:root {
  --ds-hero-title: clamp(32px, 3.55vw, 52px);
  --ds-page-title: clamp(28px, 2.75vw, 40px);
  --ds-section-title: clamp(22px, 2vw, 30px);
  --ds-card-title: 18px;
}

:where(
  h1,
  h2,
  h3,
  .hero h1,
  .bs-hero-copy h1,
  .borderhub-hero h1,
  .bz-brand-intro h1,
  .bz-local-teaser h1,
  .business-submit-hero h1,
  .rai-business-hero h1,
  .business-directory-hero h1,
  .classifieds-hero h1,
  .news-hero h1,
  .practical-hero h1,
  .institutions-hero h1
) {
  hyphens: manual;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

:where(.page-section > h1, .section-title, .rai-section-title, .classifieds-hero h1, .rai-business-hero h1) {
  text-wrap: pretty;
}

:where(.hero h1, .bs-hero-copy h1) {
  font-size: var(--ds-hero-title);
  line-height: 1.06;
  max-width: 980px;
}

:where(.borderhub-hero h1, .bz-brand-intro h1, .bz-local-teaser h1) {
  font-size: clamp(34px, 4.15vw, 58px);
  line-height: 1;
}

:where(
  .business-submit-hero h1,
  .rai-lead-hero h1,
  .practical-hero h1,
  .event-planner-head h2
) {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
}

:where(
  .rai-business-hero h1,
  .business-directory-hero h1,
  .classifieds-hero h1,
  .institutions-hero h1,
  .news-hero h1
) {
  font-size: var(--ds-page-title);
  line-height: 1.1;
  max-width: none;
}

:where(.rai-business-hero h1, .business-directory-hero h1, .classifieds-hero h1) {
  white-space: nowrap;
}

:where(
  .section-head h2,
  .bs-section-head h2,
  .business-directory-section-head h2,
  .business-sidebar-card h2,
  .classifieds-categories h2,
  .classifieds-sidebar-card h2,
  .classifieds-rules h2,
  .news-sidebar-head h2,
  .news-section-head h2,
  .practical-section-head h2,
  .institutions-categories h2,
  .institutions-sidebar-card h2,
  .rai-business-form-card h2,
  .rai-business-side-card h2,
  .rai-business-bottom-cta h2,
  .rai-business-success h1
) {
  font-size: var(--ds-section-title);
  line-height: 1.18;
}

:where(
  .card h2,
  .rai-business-card h2,
  .business-company-title-row h2,
  .business-company-title-row h2 a,
  .classified-body h2,
  .classified-body h2 a,
  .rai-board-card h2,
  .institution-card h2,
  .institution-card h2 a,
  .practical-info-card h2,
  .news-lead-copy h2,
  .news-lead-copy h2 a
) {
  font-size: var(--ds-card-title);
  line-height: 1.24;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

:where(
  .hero-copy > p,
  .bs-hero-copy p,
  .borderhub-hero p,
  .bz-brand-intro p,
  .bz-local-teaser p,
  .business-submit-hero p,
  .rai-business-hero-copy > p:not(.rai-kicker),
  .business-directory-hero p:last-child,
  .classifieds-hero p:last-child,
  .news-hero p:last-of-type,
  .practical-hero-copy > p:last-of-type,
  .institutions-hero-copy > p:last-of-type
) {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.5;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

:where(
  .rai-button,
  .classifieds-button,
  .rai-business-button,
  .bs-header-cta,
  .wp-block-button__link,
  .rai-form button,
  .classifieds-search button,
  .rai-business-form button[type="submit"]
) {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 12px;
}

:where(.rai-card-actions .rai-button, .classified-actions a, .business-company-actions a) {
  font-size: 12px;
  min-height: 34px;
  padding: 7px 10px;
}

:where(.rai-form label, .rai-business-form label, .classifieds-search label, .form-field) {
  font-size: 13px;
}

:where(.rai-form input, .rai-form textarea, .rai-form select, .rai-business-form input, .rai-business-form textarea, .rai-business-form select, .classifieds-search input, .classifieds-search select, .form-control) {
  font-size: 14px;
  min-height: 40px;
}

:where(.rai-badge, .classified-badge, .badge, .status-badge, .classified-breadcrumb, .business-company-badges span) {
  white-space: nowrap;
}

:where(.business-company-meta, .classified-meta, .classified-card-meta, .news-meta, .event-meta) {
  overflow-wrap: normal;
  word-break: normal;
}

:where(.business-company-contact a, .classified-actions a, .rai-card-actions a) {
  overflow-wrap: normal;
}

@media (max-width: 1180px) {
  :where(.rai-business-hero h1, .business-directory-hero h1, .classifieds-hero h1) {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  :root {
    --ds-hero-title: clamp(29px, 7vw, 40px);
    --ds-page-title: clamp(26px, 6vw, 34px);
    --ds-section-title: clamp(21px, 4.5vw, 27px);
    --ds-card-title: 17px;
  }

  :where(.hero h1, .bs-hero-copy h1, .borderhub-hero h1, .bz-brand-intro h1, .bz-local-teaser h1, .business-submit-hero h1, .rai-business-hero h1, .business-directory-hero h1, .classifieds-hero h1, .news-hero h1, .practical-hero h1, .institutions-hero h1) {
    max-width: 100%;
    white-space: normal;
  }

  :where(.hero h1, .hero-copy > p) {
    overflow-wrap: normal;
  }
}

@media (max-width: 640px) {
  :root {
    --ds-hero-title: clamp(27px, 8vw, 34px);
    --ds-page-title: clamp(24px, 7vw, 30px);
    --ds-section-title: clamp(20px, 5.8vw, 25px);
    --ds-card-title: 16px;
  }

  :where(.hero h1, .bs-hero-copy h1, .borderhub-hero h1, .bz-brand-intro h1, .bz-local-teaser h1, .business-submit-hero h1, .rai-business-hero h1, .business-directory-hero h1, .classifieds-hero h1, .news-hero h1, .practical-hero h1, .institutions-hero h1) {
    line-height: 1.12;
    text-wrap: pretty;
  }

  :where(.rai-button, .classifieds-button, .rai-business-button, .wp-block-button__link, .rai-form button, .classifieds-search button, .rai-business-form button[type="submit"]) {
    font-size: 13px;
    min-height: 38px;
    white-space: nowrap;
  }

  :where(.rai-form button, .classifieds-search button, .rai-business-form button[type="submit"]) {
    width: 100%;
  }

  :where(.classifieds-tabs > a, .classifieds-view-switch a, .classifieds-pagination a, .classifieds-pagination span) {
    font-size: 12px;
    min-height: 32px;
    padding: 6px 9px;
  }
}

/* Visual Audit Specificity Pass
   These selectors intentionally match older page-specific rules. */
.hero h1,
.brand-local .bs-hero-copy h1 {
  font-size: clamp(34px, 3.85vw, 52px);
  line-height: 1.08;
  overflow-wrap: normal;
  text-wrap: normal;
  word-break: normal;
}

.brand-local .bs-hero-copy p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.5;
  max-width: 620px;
}

.borderhub-hero h1,
.bz-brand-intro h1,
.bz-local-teaser h1 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  text-wrap: normal;
}

.brand-local .business-submit-hero h1,
.brand-local .rai-lead-hero h1,
.brand-local .practical-hero h1,
.brand-local .event-planner-head h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  text-wrap: normal;
}

.brand-local .rai-business-hero h1 {
  font-size: clamp(30px, 3.05vw, 43px);
  line-height: 1.08;
  text-wrap: normal;
  white-space: nowrap;
}

.brand-local .business-directory-hero h1,
.brand-local .classifieds-hero h1,
.brand-local .institutions-hero h1,
.brand-local .news-hero h1 {
  font-size: clamp(28px, 2.75vw, 38px);
  line-height: 1.1;
  max-width: none;
  text-wrap: normal;
}

.brand-local .business-directory-hero h1,
.brand-local .classifieds-hero h1 {
  white-space: nowrap;
}

.brand-local .practical-hero h1 {
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.08;
  text-wrap: normal;
}

.brand-local .bs-section-head h2,
.brand-local .business-directory-section-head h2,
.brand-local .business-sidebar-card h2,
.brand-local .classifieds-categories h2,
.brand-local .classifieds-sidebar-card h2,
.brand-local .classifieds-rules h2,
.brand-local .news-sidebar-head h2,
.brand-local .news-section-head h2,
.brand-local .practical-section-head h2,
.brand-local .institutions-categories h2,
.brand-local .institutions-sidebar-card h2,
.brand-local .rai-business-form-card h2,
.brand-local .rai-business-side-card h2,
.brand-local .rai-business-bottom-cta h2,
.brand-local .rai-business-success h1 {
  font-size: clamp(21px, 1.85vw, 28px);
  line-height: 1.18;
  text-wrap: normal;
}

.brand-local .rai-business-card h2,
.brand-local .business-company-title-row h2,
.brand-local .business-company-title-row h2 a,
.brand-local .classified-body h2,
.brand-local .classified-body h2 a,
.brand-local .rai-board-card h2,
.brand-local .institution-card h2,
.brand-local .institution-card h2 a,
.brand-local .practical-info-card h2,
.brand-local .news-lead-copy h2,
.brand-local .news-lead-copy h2 a {
  font-size: 17px;
  line-height: 1.24;
  overflow-wrap: normal;
  text-wrap: normal;
  word-break: normal;
}

.brand-local .rai-button,
.brand-local .classifieds-button,
.brand-local .rai-business-button,
.brand-local .bs-header-cta,
.brand-local .wp-block-button__link,
.brand-local .rai-form button,
.brand-local .classifieds-search button,
.brand-local .rai-business-form button[type="submit"] {
  font-size: 13px;
  min-height: 38px;
  padding: 8px 12px;
}

.brand-local .rai-card-actions .rai-button,
.brand-local .classified-actions a,
.brand-local .business-company-actions a {
  font-size: 12px;
  min-height: 34px;
  padding: 7px 10px;
}

.brand-local .rai-form label,
.brand-local .rai-business-form label,
.brand-local .classifieds-search label,
.brand-local .form-field {
  font-size: 13px;
}

.brand-local .rai-form input,
.brand-local .rai-form textarea,
.brand-local .rai-form select,
.brand-local .rai-business-form input,
.brand-local .rai-business-form textarea,
.brand-local .rai-business-form select,
.brand-local .classifieds-search input,
.brand-local .classifieds-search select {
  font-size: 14px;
  min-height: 40px;
}

.brand-local .rai-form .rai-checkbox,
.brand-local .rai-event-form .rai-checkbox {
  align-items: start;
  color: #33415f !important;
  column-gap: 10px;
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: 18px minmax(0, 1fr);
  line-height: 1.45;
  margin: 0;
  row-gap: 0;
}

.brand-local .rai-form .rai-checkbox input[type="checkbox"],
.brand-local .rai-event-form .rai-checkbox input[type="checkbox"] {
  appearance: auto;
  height: 16px;
  margin: 2px 0 0;
  min-height: 0;
  padding: 0;
  width: 16px;
}

@media (max-width: 1180px) {
  .brand-local .rai-business-hero h1,
  .brand-local .business-directory-hero h1,
  .brand-local .classifieds-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .hero h1,
  .brand-local .bs-hero-copy h1 {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.1;
  }

  .brand-local .rai-business-hero h1,
  .brand-local .business-directory-hero h1,
  .brand-local .classifieds-hero h1,
  .brand-local .institutions-hero h1,
  .brand-local .news-hero h1,
  .brand-local .practical-hero h1,
  .brand-local .business-submit-hero h1 {
    font-size: clamp(24px, 7.2vw, 30px);
    line-height: 1.12;
    white-space: normal;
  }

  .brand-local .rai-business-form-card h2,
  .brand-local .rai-business-side-card h2,
  .brand-local .rai-business-bottom-cta h2,
  .brand-local .rai-business-success h1 {
    font-size: clamp(20px, 6vw, 25px);
  }

  .brand-local .bs-hero-copy p,
  .brand-local .rai-business-hero-copy > p:not(.rai-kicker),
  .brand-local .classifieds-hero p:last-child,
  .brand-local .business-directory-hero p:last-child {
    font-size: 15px;
    line-height: 1.46;
  }

  .brand-local .bs-header-cta {
    font-size: 0;
    min-width: 58px;
    padding-inline: 9px;
    white-space: nowrap;
  }

  .brand-local .bs-header-cta::after {
    content: "Dodaj";
    font-size: 11px;
  }
}

/* Classified submit form: keep promotion radio choices compact. */
.brand-local .rai-board-promotion {
  align-items: stretch;
  display: grid;
  gap: 10px;
}

.brand-local .rai-board-promotion label {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

.brand-local .rai-board-promotion input[type="radio"] {
  appearance: auto;
  flex: 0 0 18px;
  height: 18px;
  inline-size: 18px;
  margin: 0;
  min-height: 0;
  padding: 0;
  width: 18px;
}

/* Homepage hero refresh. */
.brand-local .bs-home-hero {
  border-bottom: 1px solid #dbe6f4;
  min-height: 324px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f8fbff 0%, rgb(248 251 255 / .98) 31%, rgb(248 251 255 / .76) 48%, rgb(248 251 255 / .08) 73%),
    url("../img/bialastrefa-hero-city.png"),
    linear-gradient(135deg, #eaf4ff 0%, #f8fbff 45%, #d7eaff 100%);
  background-position: center right, center right, center;
  background-repeat: no-repeat;
  background-size: auto 100%, auto 100%, cover;
}

.brand-local .bs-hero-grid {
  align-items: center;
  display: grid;
  gap: clamp(32px, 3vw, 56px);
  grid-template-columns: minmax(0, 700px) minmax(240px, 280px);
  justify-content: start;
  min-height: 324px;
}

.brand-local .bs-hero-copy {
  gap: 16px;
  max-width: 700px;
  padding: 18px 0 16px;
}

.brand-local .bs-hero-copy h1 {
  color: #06163a;
  font-size: clamp(34px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  max-width: 545px;
}

.brand-local .bs-hero-copy p {
  color: #33415f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
}

.brand-local .bs-search {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe6f4;
  border-radius: 8px;
  box-shadow: 0 14px 30px rgb(15 35 80 / .09);
  display: grid;
  gap: 10px;
  grid-template-columns: 24px minmax(0, 1fr) 92px;
  margin-top: 2px;
  max-width: 545px;
  padding: 6px;
}

.brand-local .bs-search-icon {
  color: #6b7a90;
  display: inline-flex;
  justify-content: center;
  margin-left: 8px;
}

.brand-local .bs-search-icon .bs-icon {
  height: 20px;
  width: 20px;
}

.brand-local .bs-search input {
  border: 0;
  color: #06163a;
  font-size: 13px;
  min-height: 38px;
  padding: 0 6px;
}

.brand-local .bs-search button {
  background: #0757d8;
  border-color: #0757d8;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgb(7 87 216 / .2);
  font-size: 13px;
  min-height: 42px;
}

.brand-local .bs-quick-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 700px;
}

.brand-local .bs-quick-links a {
  align-content: center;
  align-items: center;
  background: rgb(255 255 255 / .92);
  border: 1px solid #dbe6f4;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgb(15 35 80 / .045);
  color: #06163a;
  display: grid;
  gap: 2px 9px;
  grid-template-columns: 24px minmax(0, 1fr);
  justify-content: start;
  min-height: 54px;
  padding: 9px 10px;
  text-align: left;
  white-space: normal;
}

.brand-local .bs-quick-links a:hover,
.brand-local .bs-quick-links a:focus-visible {
  background: #eef5ff;
  border-color: #b8cef0;
  color: #06163a;
  text-decoration: none;
}

.brand-local .bs-quick-links span {
  align-items: center;
  align-self: center;
  color: #0757d8;
  display: inline-flex;
  grid-row: 1 / span 2;
  justify-content: center;
}

.brand-local .bs-quick-links .bs-icon {
  height: 19px;
  width: 19px;
}

.brand-local .bs-quick-links strong {
  color: #06163a;
  font-size: 12px;
  line-height: 1.1;
}

.brand-local .bs-quick-links small {
  color: #33415f;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-local .bs-hero-stats {
  align-self: center;
  background: rgb(9 18 36 / .82);
  border: 1px solid rgb(255 255 255 / .18);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgb(6 18 40 / .28);
  color: #fff;
  justify-self: start;
  margin: 0;
  padding: 16px 18px;
  width: min(100%, 250px);
}

.brand-local .bs-hero-stats > strong {
  color: #fff;
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.brand-local .bs-hero-stats dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.brand-local .bs-hero-stats dl div {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
}

.brand-local .bs-hero-stats dt {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.brand-local .bs-hero-stats .bs-icon {
  color: #d8e8ff;
  height: 20px;
  width: 20px;
}

.brand-local .bs-hero-stats dd {
  color: #d8e8ff;
  font-size: 12px;
  margin: 0 0 0 30px;
}

@media (max-width: 1100px) {
  .brand-local .bs-home-hero {
    background:
      linear-gradient(90deg, #f8fbff 0%, rgb(248 251 255 / .98) 43%, rgb(248 251 255 / .6) 72%, rgb(248 251 255 / .2) 100%),
      url("../img/bialastrefa-hero-city.png"),
      linear-gradient(135deg, #eaf4ff 0%, #f8fbff 45%, #d7eaff 100%);
    background-position: center right, center right, center;
    background-repeat: no-repeat;
    background-size: cover, auto 100%, cover;
  }

  .brand-local .bs-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .brand-local .bs-hero-stats {
    display: none;
  }
}

@media (max-width: 760px) {
  .brand-local .bs-home-hero {
    background:
      linear-gradient(180deg, rgb(248 251 255 / .97) 0%, rgb(248 251 255 / .88) 58%, rgb(248 251 255 / .96) 100%),
      url("../img/bialastrefa-hero-city.png"),
      linear-gradient(135deg, #eaf4ff 0%, #f8fbff 45%, #d7eaff 100%);
    background-position: center, center top, center;
    background-size: cover, auto 100%, cover;
    min-height: 0;
  }

  .brand-local .bs-hero-grid {
    min-height: 0;
  }

  .brand-local .bs-hero-copy {
    padding: 30px 0 24px;
  }

  .brand-local .bs-hero-copy h1 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .brand-local .bs-hero-copy p {
    font-size: 15px;
  }

  .brand-local .bs-search {
    grid-template-columns: 24px minmax(0, 1fr);
    max-width: 100%;
  }

  .brand-local .bs-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .brand-local .bs-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .rai-board-payment-next {
    grid-template-columns: 1fr;
  }

  .rai-board-payment-next .classifieds-button {
    justify-content: center;
    width: 100%;
  }
}
