/* Counties directory: compact layout inspired by the USA states page. */
.fluk-browse-counties-page {
  max-width: 1180px;
}
.fluk-browse-counties-page .fluk-counties-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: 32px 0 35px;
}
.fluk-browse-counties-page .fluk-counties-intro {
  margin: 0;
}
.fluk-browse-counties-page .fluk-counties-intro h1 {
  max-width: 680px;
  margin: 9px 0 12px;
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: #102f2a;
}
.fluk-browse-counties-page .fluk-counties-intro > p:last-of-type {
  max-width: 640px;
  margin: 0;
}
.fluk-counties-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.fluk-counties-hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #bcd9cf;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
}
.fluk-counties-primary,
.fluk-counties-primary:hover {
  background: #075a43;
  border-color: #075a43 !important;
  color: #fff !important;
}
.fluk-counties-secondary,
.fluk-counties-secondary:hover {
  background: #fff;
  color: #075a43 !important;
}
.fluk-counties-coverage {
  padding: 21px 23px;
  border-radius: 12px;
  background: #144c3e;
  color: #fff;
  box-shadow: 0 14px 30px rgba(17, 63, 51, .17);
}
.fluk-counties-coverage-label {
  display: block;
  margin-bottom: 12px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.fluk-counties-coverage > div {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.fluk-counties-coverage strong {
  min-width: 55px;
  font-size: 1.55rem;
}
.fluk-counties-coverage div span {
  font-size: .85rem;
}
.fluk-counties-popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px 17px;
  border: 1px solid #d6e6df;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(19, 68, 53, .06);
}
.fluk-counties-popular > strong {
  margin-right: 3px;
  color: #234d41;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.fluk-counties-popular a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border: 1px solid #d0e4dc;
  border-radius: 30px;
  background: #f6faf8;
  color: #124835;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none !important;
}
.fluk-counties-popular a:hover {
  background: #e7f4ee;
}
.fluk-counties-popular a span {
  padding: 1px 6px;
  border-radius: 20px;
  background: #dcefe6;
}
.fluk-counties-directory {
  padding: 44px 0 15px;
  scroll-margin-top: 20px;
}
.fluk-counties-directory h2 {
  margin: 8px 0 5px;
  color: #102f2a;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}
.fluk-counties-directory > p:not(.section-kicker) {
  margin: 0 0 20px;
}
.fluk-browse-counties-page .fluk-counties-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.fluk-browse-counties-page .fluk-county-page-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 82px;
  padding: 13px 15px;
  border: 1px solid #d8e5df;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  text-decoration: none !important;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.fluk-browse-counties-page .fluk-county-page-card:hover,
.fluk-browse-counties-page .fluk-county-page-card:focus-visible {
  border-color: #6aad8d;
  box-shadow: 0 7px 18px rgba(14, 68, 49, .09);
  transform: translateY(-2px);
  text-decoration: none !important;
}
.fluk-browse-counties-page .fluk-county-page-card:hover *,
.fluk-browse-counties-page .fluk-county-page-card:focus-visible * {
  text-decoration: none !important;
}
.fluk-browse-counties-page .fluk-county-page-card__badge {
  flex: 0 0 82px;
  width: 82px;
  padding: 5px 6px;
  border: 1px solid #d4e7df;
  border-radius: 20px;
  background: #f4faf7;
  color: #315e50;
  font-size: .61rem;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}
.fluk-county-page-card__copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}
.fluk-browse-counties-page .fluk-county-page-card__eyebrow {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #3c6759;
}
.fluk-browse-counties-page .fluk-county-page-card__title {
  margin: 2px 0;
  color: #143d32;
  font-size: 1rem;
  line-height: 1.2;
}
.fluk-browse-counties-page .fluk-county-page-card__meta {
  color: #54756b;
  font-size: .76rem;
}
.fluk-browse-counties-page .fluk-county-page-card__arrow {
  position: static;
  flex: 0 0 auto;
  color: #075a43;
}
@media (max-width: 900px) {
  .fluk-browse-counties-page .fluk-counties-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 650px) {
  .fluk-browse-counties-page .fluk-counties-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0 25px;
  }
  .fluk-counties-coverage {
    max-width: 350px;
  }
  .fluk-browse-counties-page .fluk-counties-page-grid {
    grid-template-columns: 1fr !important;
  }
  .fluk-counties-directory {
    padding-top: 32px;
  }
}


/* Keep county directory cards in the compact horizontal layout. */
.fluk-browse-counties-page .fluk-counties-page-grid > .fluk-county-page-card {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  min-height: 76px;
  padding: 12px 15px !important;
  text-align: left !important;
  border-top: 1px solid #d8e5df;
}
.fluk-browse-counties-page .fluk-county-page-card::before,
.fluk-browse-counties-page .fluk-county-page-card::after {
  content: none !important;
}
.fluk-browse-counties-page .fluk-county-page-card__badge {
  position: static !important;
  display: inline-block !important;
  flex: 0 0 86px !important;
  width: 86px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 7px !important;
  border-radius: 20px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  box-sizing: border-box;
}
.fluk-browse-counties-page .fluk-county-page-card__copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 1px !important;
  min-width: 0;
  text-align: left !important;
}
.fluk-browse-counties-page .fluk-county-page-card__copy > span {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.fluk-browse-counties-page .fluk-county-page-card__meta {
  background: none !important;
  border: 0 !important;
}
.fluk-browse-counties-page .fluk-county-page-card__arrow {
  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  font-size: 1.1rem;
}
@media (max-width: 650px) {
  .fluk-browse-counties-page .fluk-county-page-card__badge {
    flex-basis: 74px !important;
    width: 74px !important;
  }
}

/* FLUK popular county card highlights v3 */
.fluk-county-page-card--popular {
    border-color: rgba(0, 122, 85, .34);
    background:
        radial-gradient(
            circle at 92% 14%,
            rgba(126, 190, 84, .20),
            transparent 34%
        ),
        linear-gradient(135deg, #ffffff 0%, #f0faf4 100%);
    box-shadow:
        0 15px 34px rgba(0, 77, 54, .12),
        inset 0 3px 0 #007a55;
}

.fluk-county-page-card--popular::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        #007a55 0%,
        #7ebe54 100%
    );
    opacity: .9;
}

.fluk-county-page-card--popular
.fluk-county-page-card__eyebrow {
    color: #006c4b;
    font-weight: 900;
}

.fluk-county-page-card--popular
.fluk-county-page-card__badge {
    border-color: rgba(0, 122, 85, .24);
    background: #daf2e4;
    color: #005e42;
}

.fluk-county-page-card--popular
.fluk-county-page-card__meta {
    color: #005f43;
    font-weight: 800;
}

.fluk-county-page-card--popular
.fluk-county-page-card__arrow {
    border-color: #007a55;
    background: #007a55;
    color: #fff;
}

.fluk-county-page-card--popular:hover,
.fluk-county-page-card--popular:focus-visible {
    border-color: #007a55;
    background:
        radial-gradient(
            circle at 92% 14%,
            rgba(126, 190, 84, .26),
            transparent 36%
        ),
        linear-gradient(135deg, #ffffff 0%, #e9f8ef 100%);
    box-shadow:
        0 20px 42px rgba(0, 77, 54, .17),
        inset 0 3px 0 #007a55;
}

.fluk-county-page-card--popular:hover
.fluk-county-page-card__arrow,
.fluk-county-page-card--popular:focus-visible
.fluk-county-page-card__arrow {
    transform: translateX(3px);
    background: #005f43;
}

