/* Walker Locations — front-end styles
 * Path: assets/css/walker-locations.css
 */

/* ========= HERO ========= */

/* ========= HERO ========= */

.wloc-hero {
  position: relative;
  width: 100%;
  padding: 6rem 1.5rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background-position: center center;
  background-size: cover;
 --p: 0;
  --wloc-blur-max: 8px;
  --wloc-desaturate-max: 0.7;
  will-change: filter;

  filter:
    blur( calc( var(--p) * var(--wloc-blur-max) ) )
    saturate( calc( 1 - (var(--p) * var(--wloc-desaturate-max)) ) )
    grayscale( calc( var(--p) * var(--wloc-desaturate-max) ) );
}

/* Background layer that gets blurred / desaturated on scroll */

.wloc-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.wloc-hero__overlay--dark {
  background: radial-gradient(circle at center, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

.wloc-hero__overlay--light {
  background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.wloc-hero__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  z-index: 2;
}

.wloc-hero__title {
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.wloc-hero__title {
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Title size modifiers */
.wloc-hero__title--large {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.wloc-hero__title--medium {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.wloc-hero__title--small {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

/* Parallax hint; JS will adjust background-position on scroll */
.wloc-hero--parallax {
  will-change: background-position;
}

/* Fixed background mode (pure CSS parallax) */
.wloc-hero--fixed {
  background-attachment: fixed;
  background-position: center center;
}

/* Optional: some mobile browsers dislike background-attachment: fixed.
   If needed you can uncomment this block.

@media (max-width: 768px) {
  .wloc-hero--fixed {
    background-attachment: scroll;
  }
}
*/

/* ========= MAP ========= */

.wloc-map {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #f5f5f5;
}

/* Canvas for Google Map JS API */
.wloc-map__canvas {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

/* Fallback iframe style (if you ever use it again) */
.wloc-map__iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}

/* Center pin overlay (our custom marker) */
.wloc-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background-color: #e53935;
  box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(0,0,0,0.4);
  z-index: 3;
  border: none;
  cursor: pointer;
}

.wloc-map__pin::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  border: 2px solid rgba(229,57,53,0.7);
  animation: wloc-pulse 1.5s ease-out infinite;
}

@keyframes wloc-pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Info overlay card */

.wloc-map__info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  background: #ffffff;
  color: #111827;
  border-radius: 0.9rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 1rem 1.25rem;
  min-width: 220px;
  max-width: 280px;
  font-size: 0.9rem;
}



.wloc-map__info[hidden] {
  display: none;
}

.wloc-map__info-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wloc-map__info-title {
  margin: 0 0 0.15rem;
  font-size: 1rem;
  font-weight: 600;
}

.wloc-map__info-address {
  margin: 0;
  line-height: 1.4;
}

.wloc-map__info-phone {
  margin: 0.25rem 0 0;
}

.wloc-map__info-phone a {
  text-decoration: none;
}

.wloc-map__info-footer {
  margin-top: 0.75rem;
  display: flex;
  justify-content: flex-start;
}

.wloc-map__info-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: #111827;
  color: #f9fafb;
}

.wloc-map__info-directions:hover {
  background: #020617;
}

.wloc-map__info-icon {
  font-size: 0.9rem;
}

/* ========= ADDRESS ========= */

.wloc-address {
  font-size: 0.95rem;
  line-height: 1.6;
}

.wloc-address__block {
  margin: 0 0 0.75rem;
  font-style: normal;
}

.wloc-address__line {
  display: inline-block;
}

.wloc-address__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.wloc-address__contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.wloc-address__contact-label {
  font-weight: 600;
}

.wloc-address__contact-value a,
.wloc-address__contact-value {
  text-decoration: none;
}

/* ========= LOCATION LISTS / GRIDS ========= */

.wloc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wloc-list--simple .wloc-list__item + .wloc-list__item {
  border-top: 1px dotted rgba(0,0,0,0.12);
}

.wloc-list__item {
  padding: 0.35rem 0;
}

.wloc-list__link {
  text-decoration: none;
}

/* Visual grid */
.wloc-grid {
  display: grid;
  gap: 1.25rem;
}

.wloc-grid--visual {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wloc-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.9rem;
}

.wloc-card--visual {
  background: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wloc-card--visual:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.wloc-card__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
}

.wloc-card__thumb {
  width: 56px;
  height: 56px;
  border-radius: 0.6rem;
  overflow: hidden;
  flex-shrink: 0;
  background: #eef1f5;
}

.wloc-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wloc-card__thumb--placeholder {
  background: linear-gradient(135deg, #e0e7ff, #f1f5f9);
}

.wloc-card__title {
  margin: 0;
  font-size: 1rem;
}

/* Blocky tiles */
.wloc-grid--blocky {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .wloc-grid--blocky {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wloc-card--blocky {
  min-height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #121212;
}

.wloc-card__overlay {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, rgba(0,0,0,0.45), rgba(0,0,0,0.75));
}

.wloc-card__overlay-inner {
  position: absolute;
  inset: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.wloc-card--blocky .wloc-card__title {
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========== ADDRESS CSS -============== */
/* ===== Location address block (tight, modern layout) ===== */

.wloc-address {
    max-width: 440px;
    font-size: 0.95rem;
    line-height: 1.35; /* tighter base */
}

/* ===== Locations by State (columns & large columns) ===== */

.wloc-locs-by-state {
    margin: 2rem 0;
}

.wloc-locs-by-state__group + .wloc-locs-by-state__group {
    margin-top: 2rem;
    border-top: 1px dotted rgba(148, 163, 184, 0.5);
    padding-top: 1.75rem;
}

.wloc-locs-by-state__heading {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
}

/* Shared grid for both compact + large */
.wloc-locs-by-state__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

@media (max-width: 1024px) {
    .wloc-locs-by-state__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .wloc-locs-by-state__grid {
        grid-template-columns: 1fr;
    }
}

/* Base item */
.wloc-locs-by-state__item {
    margin: 0;
}

.wloc-locs-by-state__item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    padding: 0.4rem 0;
    border-radius: 0.5rem;
    transition:
        background-color 140ms ease,
        transform 140ms ease;
}

.wloc-locs-by-state__item-inner:hover,
.wloc-locs-by-state__item-inner:focus-visible {
    background-color: #f9fafb;
    transform: translateY(-1px);
}

/* Compact (Image Columns) – thumb + name only */
.wloc-locs-by-state__item--compact .wloc-locs-by-state__meta {
    flex: 1 1 auto;
}

.wloc-locs-by-state__item--compact .wloc-locs-by-state__name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
}

/* Large (Large Image Columns) – name + address */
.wloc-locs-by-state__item--large .wloc-locs-by-state__meta {
    flex: 1 1 auto;
}

.wloc-locs-by-state__item--large .wloc-locs-by-state__name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.15rem;
}

.wloc-locs-by-state__address {
    font-size: 0.85rem;
    color: #6b7280;
}

.wloc-locs-by-state__address-line {
    display: block;
}

/* Thumbnails */
.wloc-locs-by-state__thumb-wrap {
    flex-shrink: 0;
}

.wloc-locs-by-state__thumb {
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0.5rem;
}

/* Compact mode: small square thumb */
.wloc-locs-by-state__thumb--square {
    width: 52px;
    height: 52px;
}

/* Large mode: bigger thumb aligned right */
.wloc-locs-by-state__thumb--large {
    width: 88px;
    height: 88px;
}

@media (max-width: 640px) {
    .wloc-locs-by-state__thumb--large {
        width: 72px;
        height: 72px;
    }
}


/* Address row wrapper */
.wloc-address__row {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 0.55rem 0; /* reduced from .35rem */
    text-decoration: none;
    color: inherit;
}

/* Hover underline only the text lines */
.wloc-address__row:hover .wloc-address__line,
.wloc-address__row:focus-visible .wloc-address__line {
    text-decoration: underline;
}

/* Icon column */
.wloc-address__icon-wrap {
    width: 40px;        /* slightly smaller */
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #3d567d;
    margin-top: 1px;    /* aligns with first text line */
}

.wloc-address__icon-svg {
    width: 35px;
    height: 35px;
}

/* Phone icon slightly smaller */
.wloc-address__icon-wrap--phone {
    margin-top: 0;
}
.wloc-address__icon-svg--phone {
    width: 35px;
    height: 35px;
}

/* Text block */
.wloc-address__block {
    margin: 0;
    padding: 0 0 10 0;
    font-style: normal;
}

/* Each address line */
.wloc-address__line {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.25; /* key reduction */
    white-space: nowrap;
}

/* Remove `<br>` added spacing */
.wloc-address__line + br {
    display: none;
}

/* Contact area */
.wloc-address__contact {
    margin-top: 0.2rem;  /* reduced */
}

.wloc-address__contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.92rem;
    line-height: 1.25;
    color: #3d567d;
    margin: 0.15rem 0; /* tight grouping */
}

.wloc-address__contact-label {
    font-weight: 500;
}

.wloc-address__contact-item a {
    text-decoration: none;
}
.wloc-address__contact-item a:hover {
    text-decoration: underline;
}

/* Mobile wrapping */
@media (max-width: 640px) {
    .wloc-address__line {
        white-space: normal;
    }
}


/* ===== Locations by State – multi-column, modern cards ===== */

.wloc-locs-by-state {
    margin: 2rem 0;
}

/* Multi-column: pack whole state groups into 3 → 2 → 1 columns */
.wloc-locs-by-state--compact,
.wloc-locs-by-state--large {
    column-count: 3;
    column-gap: 2.5rem;
}

@media (max-width: 1024px) {
    .wloc-locs-by-state--compact,
    .wloc-locs-by-state--large {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .wloc-locs-by-state--compact,
    .wloc-locs-by-state--large {
        column-count: 1;
    }
}


/* ===== Locations by State – text list mode ===== */

.wloc-locs-by-state--list {
    /* Single column, stacked groups */
    column-count: 1;
    margin: 2rem 0;
}

.wloc-locs-by-state--list .wloc-locs-by-state__group {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 1.5rem 0;
    padding: 0;
    border-bottom: none; /* no divider line for list mode */
}

.wloc-locs-by-state--list .wloc-locs-by-state__heading {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 0.3rem 0;
}

.wloc-locs-by-state__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wloc-locs-by-state__list-item + .wloc-locs-by-state__list-item {
    margin-top: 0.15rem;
}

.wloc-locs-by-state__list-link {
    font-size: 0.95rem;
    color: #111827;
    text-decoration: none;
    position: relative;
    padding-left: 0.85rem;
}

/* subtle vertical bar accent on left */
.wloc-locs-by-state__list-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    bottom: 0.25em;
    width: 2px;
    border-radius: 999px;
    background-color: #3d567d;
    opacity: 0.55;
}

.wloc-locs-by-state__list-link:hover,
.wloc-locs-by-state__list-link:focus-visible {
    color: #1f2937;
    text-decoration: underline;
}

/* Each state group stays intact within a column */
.wloc-locs-by-state__group {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 1.75rem 0;
    padding: 0 0 0.25rem 0;
   // border-bottom: 1px dotted rgba(148, 163, 184, 0.4);
}

/* State heading */
.wloc-locs-by-state__heading {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
    margin: 0 0 0.45rem 0;
}

/* In columns modes, the inner "grid" becomes a simple vertical stack */
.wloc-locs-by-state__grid {
    display: block;
}

/* Base item spacing */
.wloc-locs-by-state__item {
    margin: 0 0 0.4rem 0;
}

/* Modern “card row” look – subtle, not heavy */
.wloc-locs-by-state__item-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;

    padding: 0.45rem 0.7rem;
    border-radius: 0.75rem;

    background: linear-gradient(to right, rgba(249, 250, 251, 0.9), rgba(255, 255, 255, 1));
    border: 1px solid rgba(209, 213, 219, 0.4);

    position: relative;
    overflow: hidden;

    transition:
        background-color 140ms ease,
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease;
}

/* Accent bar on the left */
.wloc-locs-by-state__item-inner::before {
    content: "";
    position: absolute;
    inset-block: 6px;
    left: 0;
    width: 2px;
    border-radius: 999px;
    background: #3d567d;
    opacity: 0.65;
}

/* Hover state – subtle lift & glow */
.wloc-locs-by-state__item-inner:hover,
.wloc-locs-by-state__item-inner:focus-visible {
    background: linear-gradient(to right, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 1));
    border-color: rgba(61, 86, 125, 0.55);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

/* Compact (Image Columns) – name + small square thumb */
.wloc-locs-by-state__item--compact .wloc-locs-by-state__meta {
    flex: 1 1 auto;
}

.wloc-locs-by-state__item--compact .wloc-locs-by-state__name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111827;
}

/* Large (Large Image Columns) – name + address + bigger thumb */
.wloc-locs-by-state__item--large .wloc-locs-by-state__meta {
    flex: 1 1 auto;
}

.wloc-locs-by-state__item--large .wloc-locs-by-state__name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.05rem;
}

.wloc-locs-by-state__address {
    font-size: 0.85rem;
    color: #6b7280;
}

.wloc-locs-by-state__address-line {
    display: block;
}

/* Thumbnail wrappers */
.wloc-locs-by-state__thumb-wrap {
    flex-shrink: 0;
}

.wloc-locs-by-state__thumb {
    display: block;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 0.55rem;
}

/* Compact mode: small square thumb */
.wloc-locs-by-state__thumb--square {
    width: 52px;
    height: 52px;
}

/* Large mode: bigger thumb on the right */
.wloc-locs-by-state__thumb--large {
    width: 88px;
    height: 88px;
}


figure {
    margin: 0em 0 !important;
}



@media (max-width: 640px) {
    .wloc-locs-by-state__thumb--large {
        width: 72px;
        height: 72px;
    }
}

/* Tighter spacing on very small screens */
@media (max-width: 480px) {
    .wloc-locs-by-state__item-inner {
        padding: 0.4rem 0.6rem;
    }
}











/* ========= MOBILE TWEAKS ========= */

@media (max-width: 768px) {
  .wloc-hero {
    padding: 4rem 1.25rem;
  }

 
}
