/* ==========================================================================
   West Suffield, Connecticut — presented by Sallie King · Coldwell Banker
   Built on the Coldwell Banker Intelligence Design System:
   CB Blue earns placement, hairlines carry hierarchy, uppercase labels,
   Newsreader display serif, no emoji, every claim carries a number.
   ========================================================================== */

:root {
  /* Palette */
  --cb-blue: #0d2c6c;
  --midnight: #071a44;
  --deep-ink: #0a1220;
  --mid-blue: #1b4ea0;
  --cb-blue-light: #e6f0ff;
  --slate: #6b7280;
  --silver: #f1f3f6;
  --mist: #f7f9fc;
  --off-white: #fafbfd;
  --white: #ffffff;
  --border-hairline: rgba(10, 18, 32, 0.12);

  /* Type */
  --font-display: "Newsreader", Georgia, serif;
  --font-heading: "Montserrat", "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-width: 1320px;
  --page-pad: clamp(20px, 5vw, 40px);
  --header-h: 64px;

  /* Motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --ease-standard: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--deep-ink);
  background: var(--white);
}

img {
  max-width: 100%;
}

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

:focus-visible {
  outline: 2px solid var(--mid-blue);
  outline-offset: 2px;
}

.band--navy :focus-visible,
.cover :focus-visible {
  outline-color: var(--cb-blue-light);
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* --------------------------------------------------------------------------
   Type roles
   -------------------------------------------------------------------------- */

h1 {
  margin: 0 auto 22px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  margin: 14px auto 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--cb-blue);
  max-width: 24ch;
}

h3 {
  margin: 8px 0 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.24;
}

.serif-h {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 26ch;
}

.cb-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}

.cb-label--light {
  color: rgba(255, 255, 255, 0.72);
}

.body-lg {
  font-size: 20px;
  line-height: 1.55;
}

.intro {
  max-width: 52ch;
  margin-bottom: 8px;
}

.caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--slate);
}

p {
  margin: 0 0 16px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: 0 1px 2px rgba(7, 26, 68, 0.04);
}

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.lockup-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
}

.lockup {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cb-blue);
  line-height: 1;
}

.lockup-sub {
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.site-nav a:hover {
  color: var(--cb-blue);
  border-bottom-color: var(--cb-blue);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.btn--small {
  padding: 9px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.btn--primary {
  color: var(--white);
  background: var(--cb-blue);
}

.btn--primary:hover {
  background: var(--midnight);
}

.btn--light {
  color: var(--midnight);
  background: var(--white);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--cb-blue-light);
}

.btn--ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   Hero cover
   -------------------------------------------------------------------------- */

.cover {
  position: relative;
  isolation: isolate;
  background: var(--midnight);
  color: var(--white);
}

.cover-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flat navy scrim — the system's one treatment when an image carries a headline */
.cover-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 26, 68, 0.55);
}

.keyline {
  pointer-events: none;
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.keyline--inset {
  inset: 16px;
}

.cover-inner {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(72px, 12vh, 128px) var(--page-pad) clamp(80px, 13vh, 136px);
  text-align: center;
}

.cover-inner > .cb-label {
  display: block;
  margin-bottom: 20px;
}

.cover-inner .lead {
  margin: 0 auto;
  max-width: 54ch;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.band {
  padding: clamp(56px, 9vh, 96px) 0;
  border-bottom: 1px solid var(--border-hairline);
}

.band:last-of-type {
  border-bottom: 0;
}

.band--silver {
  background: var(--silver);
  border-bottom: 0;
}

.band--offwhite {
  background: var(--off-white);
}

.band--navy {
  position: relative;
  background: linear-gradient(180deg, var(--cb-blue) 0%, var(--midnight) 100%);
  color: var(--white);
}

.band--navy .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
}

.market-inner {
  position: relative;
  text-align: center;
  padding-block: clamp(16px, 3vh, 40px);
}

.market-inner .cta-row {
  margin-top: 26px;
}

/* 7/5 asymmetric split */
.split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-text h2 {
  margin-inline: 0;
}

.tick-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  font-size: 15px;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 18px;
  width: 10px;
  height: 2px;
  background: var(--cb-blue);
}

/* --------------------------------------------------------------------------
   Photo placeholders (photography intentionally unshot)
   -------------------------------------------------------------------------- */

.photo-frame {
  margin: 0;
  border: 1px solid var(--border-hairline);
  border-radius: 0;
  background: var(--mist);
  overflow: hidden;
}

.photo-frame--tall,
.photo-frame--portrait {
  aspect-ratio: 4 / 5;
}

.photo-frame svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Real portrait: bias the crop toward the face, never clip the head */
.agent-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

/* Town photos inside frames */
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-credit {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(7, 26, 68, 0.72);
  border-radius: 2px;
}

.photo-frame {
  position: relative;
}

/* --------------------------------------------------------------------------
   KPI band — number as image
   -------------------------------------------------------------------------- */

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin: 36px 0 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 18, 32, 0.18);
}

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

.kpi-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--cb-blue);
  white-space: nowrap;
}

.kpi-delta {
  font-size: 13px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   Farm cards
   -------------------------------------------------------------------------- */

.farm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 18px;
}

.farm-card {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  transition: transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.farm-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(7, 26, 68, 0.08);
  border-color: rgba(10, 18, 32, 0.24);
}

.farm-card p {
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   Listing cards
   -------------------------------------------------------------------------- */

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 18px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard),
    border-color var(--dur-base) var(--ease-standard);
}

.listing-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(7, 26, 68, 0.08);
  border-color: rgba(10, 18, 32, 0.24);
}

.listing-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow, 420ms) var(--ease-standard);
}

.listing-media:hover img {
  transform: scale(1.02);
}

.listing-status {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 9px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: #c8871b; /* system Pending status */
  border-radius: 2px;
}

.listing-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--white);
  background: var(--midnight);
  border-radius: 2px;
}

.listing-body {
  padding: 18px 20px 20px;
}

.listing-body h3 {
  margin-top: 10px;
  font-size: 17px;
}

.listing-body h3 a {
  color: var(--deep-ink);
}

.listing-body h3 a:hover {
  color: var(--cb-blue);
}

.listing-specs {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
}

.listing-caption a {
  border-bottom: 1px solid rgba(10, 18, 32, 0.25);
}

/* --------------------------------------------------------------------------
   Agent section
   -------------------------------------------------------------------------- */

.agent-band {
  background: var(--off-white);
}

.pull-quote {
  margin: 18px 0 6px;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  color: var(--cb-blue);
  padding-left: 18px;
  border-left: 2px solid var(--cb-blue);
}

.role-label {
  margin-bottom: 14px;
}

.contact-list {
  margin: 20px 0;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-list dt {
  margin-bottom: 6px;
}

.contact-list dd {
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-list a {
  border-bottom: 1px solid rgba(10, 18, 32, 0.25);
  color: var(--deep-ink);
}

.contact-list a:hover {
  color: var(--cb-blue);
  border-bottom-color: var(--cb-blue);
}

.also-serving {
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 28px 0 40px;
  background: var(--white);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  flex-wrap: wrap;
}

.footer-row p {
  margin: 0;
  max-width: 72ch;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1020px) {
  .listing-grid,
  .farm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }
}

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

  .photo-frame--tall,
  .photo-frame--portrait {
    max-width: 420px;
  }

  .agent-band .split > figure {
    order: -1;
  }
}

@media (max-width: 640px) {
  .keyline {
    inset: 10px;
  }

  .band--navy .shell {
    padding-inline: 28px;
  }

  /* Header: tighten so lockup + phone never push past the viewport */
  .header-row {
    justify-content: space-between;
    gap: 12px;
  }

  .lockup {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .btn--small {
    padding: 8px 10px;
    font-size: 12px;
    margin-left: auto;
  }

  .kpis,
  .listing-grid,
  .farm-grid {
    grid-template-columns: 1fr;
  }

  .kpi-number {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ==========================================================================
   Multi-page additions (v=ws7)
   ========================================================================== */

/* Page hero for inner routes */
.page-hero {
  background: linear-gradient(180deg, var(--cb-blue) 0%, var(--midnight) 100%);
  color: var(--white);
  padding: clamp(48px, 8vh, 88px) 0;
  position: relative;
}

.page-hero h1 {
  margin: 16px auto 14px;
}

.page-hero .lead {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.55;
}

/* Breadcrumbs */
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}

.crumbs a {
  color: var(--mid-blue);
}

.crumbs span {
  color: var(--slate);
}

/* FAQ accordion */
.faq-wrap .faq {
  border-top: 1px solid var(--border-hairline);
  margin-top: 28px;
}

details {
  border-bottom: 1px solid var(--border-hairline);
}

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--cb-blue);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--cb-blue);
  border-bottom: 2px solid var(--cb-blue);
  transform: rotate(45deg);
  transition: transform var(--dur-base) var(--ease-standard);
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(225deg);
}

details p {
  padding: 0 40px 20px 4px;
  max-width: 68ch;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 26px 0 30px;
}

.contact-card {
  padding: 22px 24px;
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  background: var(--white);
}

.contact-card .cb-label {
  display: block;
  margin-bottom: 10px;
}

.big-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--cb-blue);
  overflow-wrap: anywhere;
}

.big-link:hover {
  color: var(--midnight);
}

.office-strip {
  padding: 20px 24px;
  border-left: 3px solid var(--cb-blue);
  background: var(--mist);
  border-radius: 0 4px 4px 0;
}

.office-strip p {
  margin: 8px 0 0;
  font-size: 15px;
}

.notify--page {
  margin-top: 34px;
}

.notify--page .cb-label {
  color: var(--slate);
}

.notify--page input {
  border-color: var(--border-hairline);
}

.notify--page button {
  color: var(--white);
  background: var(--cb-blue);
  border-color: var(--cb-blue);
}

.notify--page button:hover {
  background: var(--midnight);
}

/* Inventory table on /listings */
.more-h {
  margin-top: 44px;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 12px;
  font-size: 15px;
}

.inv-table th {
  text-align: left;
  padding: 10px 14px 10px 0;
  border-bottom: 2px solid rgba(10, 18, 32, 0.25);
}

.inv-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.inv-table tbody tr:hover {
  background: var(--mist);
}

.tnum {
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.mini-status {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: #c8871b;
  border-radius: 2px;
  padding: 3px 7px;
}

.center-cta {
  text-align: center;
  margin-top: 34px;
}

/* Dark-on-light ghost variant for light sections */
.btn--ghost-ink {
  color: var(--cb-blue);
  border-color: rgba(13, 44, 108, 0.4);
}

.btn--ghost-ink:hover {
  color: var(--white);
  background: var(--cb-blue);
  border-color: var(--cb-blue);
}

/* Mobile menu + hamburger */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 38px;
  padding: 9px 10px;
  background: none;
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cb-blue);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-hairline);
  background: var(--white);
  padding: 14px var(--page-pad) 22px;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 13px 0;
  font-weight: 500;
  color: var(--deep-ink);
  border-bottom: 1px solid var(--border-hairline);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
}

@media (max-width: 920px) {
  .menu-toggle {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }
}

/* Footer grid */
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: 34px 10px;
  border-top: 1px solid var(--border-hairline);
}

.footer-lockup {
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-ink);
}

.footer-nav a:hover {
  color: var(--cb-blue);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-variant-numeric: lining-nums tabular-nums;
}

.footer-contact a {
  font-size: 14px;
  color: var(--deep-ink);
}

.footer-contact a:hover {
  color: var(--cb-blue);
}

.legal-lines {
  padding-block: 6px 36px;
}

.legal-lines p {
  margin-bottom: 6px;
}

.cta-row--left {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .inv-table {
    font-size: 13.5px;
  }

  .inv-table td,
  .inv-table th {
    padding-right: 8px;
  }
}

/* Town pages (v=ws8) */
.dist-strip {
  margin-bottom: 20px;
}

.dist-strip p {
  font-size: 15px;
  line-height: 1.9;
}

.cta-block {
  width: 100%;
}

.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.ext-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid var(--border-hairline);
  border-radius: 4px;
  background: var(--white);
  transition: transform var(--dur-base) var(--ease-standard),
    box-shadow var(--dur-base) var(--ease-standard);
}

.ext-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(7, 26, 68, 0.08);
}

.ext-card strong {
  color: var(--cb-blue);
  font-size: 16px;
  line-height: 1.3;
}

.ext-url {
  font-size: 12px;
  color: var(--slate);
  overflow-wrap: anywhere;
}

.town-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill-link {
  padding: 10px 18px;
  border: 1px solid rgba(13, 44, 108, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cb-blue);
  transition: background var(--dur-base) var(--ease-standard),
    color var(--dur-base) var(--ease-standard);
}

.pill-link:hover {
  background: var(--cb-blue);
  color: var(--white);
}

.pill-link--more {
  background: var(--cb-blue);
  color: var(--white);
  border-color: var(--cb-blue);
}

.pill-link--more:hover {
  background: var(--midnight);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mid-blue);
  border-bottom: 1px solid rgba(27, 78, 160, 0.4);
}

.text-link:hover {
  color: var(--cb-blue);
  border-bottom-color: var(--cb-blue);
}

@media (max-width: 1024px) {
  .ext-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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