/**
 * React site chrome — header, search, cart drawer, mobile nav, footer.
 *
 * Mirrors the look of the block header/footer it replaces: same palette
 * (theme.json presets), same fonts (--tsa-font-display / --tsa-font-body from
 * style.css), same breakpoints as the theme's hide-on-mobile/tablet helpers
 * (mobile ≤599px, tablet 600–1024px, desktop ≥1025px).
 */

:root {
  --tsa-chrome-bg: var(--wp--preset--color--background, #f9f9f9);
  --tsa-chrome-ink: var(--wp--preset--color--darktext, #115247);
  --tsa-chrome-deep: var(--wp--preset--color--background-dark, #0c4037);
  --tsa-chrome-light: var(--wp--preset--color--light, #d4fff8);
  --tsa-chrome-white: var(--wp--preset--color--white, #f9f9f9);
  --tsa-chrome-why-bg: #ebeeed; /* #dce4e1 at the cover block's 50% dim */
  --tsa-chrome-gutter: var(--wp--custom--spacing--horizontal, clamp(1rem, 5vw, 5rem));
  --tsa-chrome-radius: 4px;
  --tsa-chrome-shadow: 0 18px 45px rgba(12, 64, 55, 0.18);
}

/* The parent theme pads every direct child of <header>; this root manages its
   own spacing (announcement bar has to stay full-bleed). */
/* Colour is inherited, never set: the parent theme paints the header white on
   light-header/transparent pages and dark elsewhere. */
.tsa-chrome-root {
  background: var(--tsa-chrome-bg);
  font-family: var(--tsa-font-body, var(--wp--preset--font-family--body-font));
}

.tsa-chrome-root a {
  color: inherit;
}

body.tsa-chrome-locked {
  overflow: hidden;
}

/* Gravity Form 70 waits here until the React footer adopts it. */
.tsa-chrome-gform-stash {
  display: none;
}

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

.tsa-hdr {
  position: relative;
}

.tsa-hdr__announce {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.6rem, 1.3vw, 1rem);
}

.tsa-hdr__announce-msg {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  padding: 0.5rem var(--tsa-chrome-gutter);
  color: var(--wp--preset--color--darktext);
  background: var(--tsa-chrome-light);
}

.tsa-hdr__announce-msg a {
  text-decoration: none;
}

.detached-header .tsa-hdr__announce {
  display: none;
}

.tsa-hdr__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem var(--tsa-chrome-gutter);
}

.tsa-hdr__logo {
  display: flex;
  width: 150px;
  text-decoration: none;
}

.tsa-hdr__logo img {
  width: 100%;
  height: auto;
}

/* .m-logo / .m-dark-logo / .m-light-logo visibility is owned by the parent
   theme so light-header pages keep swapping to the white logo. */

/* Direct child only — the submenu <ul>s below must not inherit the row. */
.tsa-hdr__nav > ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsa-hdr__navitem {
  position: relative;
}

.tsa-hdr__navitem > a,
.tsa-hdr__navitem > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  padding: 0.25rem 0;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--body, 1rem);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.tsa-hdr__navitem > a:hover,
.tsa-hdr__navitem > button:hover {
  opacity: 0.7;
}

.tsa-hdr__navitem--has-children > button svg {
  transition: transform 0.15s ease-out;
}

.tsa-hdr__navitem--has-children.is-open > button svg {
  transform: rotate(180deg);
}

.tsa-hdr__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 260px;
  margin-top: 0.75rem;
  padding: 1.25rem;
  list-style: none;
  background: var(--tsa-chrome-bg);
  color: var(--tsa-chrome-ink);
  border-radius: 18px;
  box-shadow: var(--tsa-chrome-shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  z-index: 20;
}

.tsa-hdr__navitem--has-children.is-open .tsa-hdr__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Long menus (Explore has eight links) run in two columns rather than one
   very tall list. */
.tsa-hdr__submenu--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 0.15rem 1.5rem;
  min-width: 500px;
}

.tsa-hdr__submenu li {
  display: block;
  margin: 0;
}

.tsa-hdr__submenu a {
  display: block;
  padding: 0.55rem 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.25em;
  color: var(--tsa-chrome-ink);
}

.tsa-hdr__submenu a:hover,
.tsa-hdr__submenu a:focus-visible {
  text-decoration: underline;
}

.tsa-hdr__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
}

.tsa-hdr__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  line-height: 0;
}

.tsa-hdr__icon:hover {
  opacity: 0.7;
}

.tsa-hdr__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--tsa-chrome-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.light-header:not(.detached-header) header:not(.mega-menu__active) .tsa-hdr__badge {
  background: #fff;
  color: var(--tsa-chrome-deep);
}

.tsa-hdr__cta {
  display: inline-block;
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
  border-radius: 999px;
  background: var(--tsa-chrome-light);
  color: var(--tsa-chrome-deep) !important;
  font-size: var(--wp--preset--font-size--body, 1rem);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.tsa-hdr__cta:hover {
  opacity: 0.9;
}

.tsa-hdr__burger {
  display: none;
}

@media (max-width: 1024px) {
  .tsa-hdr__nav {
    display: none;
  }

  .tsa-hdr__bar {
    grid-template-columns: auto 1fr;
  }

  .tsa-hdr__burger {
    display: inline-flex;
  }

  .tsa-hdr__cta {
    display: none;
  }

  .tsa-hdr__announce-msg--desktop {
    display: none;
  }
}

@media (min-width: 1025px) {
  .tsa-hdr__announce-msg--mobile {
    display: none;
  }
}

@media (max-width: 599px) {
  .tsa-hdr__logo {
    width: 100px;
  }

  .tsa-hdr__actions {
    gap: 1rem;
  }
}

/* ---------------------------------------------------------------------------
 * Search panel
 * ------------------------------------------------------------------------ */

.tsa-search {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--tsa-chrome-bg);
  color: var(--tsa-chrome-ink);
  box-shadow: var(--tsa-chrome-shadow);
  z-index: 30;
}

.tsa-search[hidden] {
  display: none;
}

.tsa-search__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem var(--tsa-chrome-gutter) 2rem;
}

.tsa-search__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  border: 1px solid rgba(17, 82, 71, 0.25);
  border-radius: 999px;
  background: #fff;
}

.tsa-search__icon {
  display: flex;
  color: var(--tsa-chrome-deep);
}

.tsa-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  padding: 0.6rem 0;
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--tsa-chrome-ink);
}

.tsa-search__clear,
.tsa-search__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  color: var(--tsa-chrome-ink);
}

.tsa-search__clear:hover,
.tsa-search__close:hover {
  background: rgba(17, 82, 71, 0.08);
}

.tsa-search__submit {
  padding: 0.65rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--tsa-chrome-deep);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.tsa-search__submit[disabled] {
  opacity: 0.4;
  cursor: default;
}

.tsa-search__body {
  margin-top: 1.25rem;
  max-height: min(60vh, 520px);
  overflow-y: auto;
}

.tsa-search__status {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.tsa-search__block + .tsa-search__block {
  margin-top: 1.25rem;
}

.tsa-search__block h3,
.tsa-search__group h3 {
  margin: 0 0 0.6rem;
  font-family: var(--tsa-font-body, inherit);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.tsa-search__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tsa-search__chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(17, 82, 71, 0.2);
  border-radius: 999px;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.tsa-search__chip:hover {
  background: var(--tsa-chrome-light);
  border-color: transparent;
}

.tsa-search__group + .tsa-search__group {
  margin-top: 1.25rem;
}

.tsa-search__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsa-search__result {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem;
  border-radius: var(--tsa-chrome-radius);
  text-decoration: none;
  color: inherit;
}

.tsa-search__result:hover,
.tsa-search__result.is-active {
  background: var(--tsa-chrome-light);
}

.tsa-search__thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: var(--tsa-chrome-radius);
  background-color: rgba(17, 82, 71, 0.08);
  background-size: cover;
  background-position: center;
}

.tsa-search__text {
  flex: 1;
  min-width: 0;
}

.tsa-search__title {
  display: block;
  font-weight: 700;
  line-height: 1.25;
}

.tsa-search__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.tsa-search__go {
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.tsa-search__result:hover .tsa-search__go,
.tsa-search__result.is-active .tsa-search__go {
  opacity: 1;
}

.tsa-search__more,
.tsa-search__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--tsa-chrome-deep);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.tsa-search__all {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(17, 82, 71, 0.12);
  width: 100%;
  padding-top: 1rem;
}

@media (max-width: 599px) {
  .tsa-search__submit {
    display: none;
  }

  .tsa-search__inner {
    padding-bottom: 1.25rem;
  }
}

/* ---------------------------------------------------------------------------
 * Cart drawer
 * ------------------------------------------------------------------------ */

.tsa-cart {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  visibility: hidden;
}

.tsa-cart.is-open {
  pointer-events: auto;
  visibility: visible;
}

.tsa-cart__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 64, 55, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.tsa-cart.is-open .tsa-cart__scrim {
  opacity: 1;
}

.tsa-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: var(--tsa-chrome-bg);
  color: var(--tsa-chrome-ink);
  transform: translateX(100%);
  transition: transform 0.25s ease-out;
}

.tsa-cart.is-open .tsa-cart__panel {
  transform: translateX(0);
}

.tsa-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(17, 82, 71, 0.12);
}

.tsa-cart__head h2 {
  margin: 0;
  font-family: var(--tsa-font-display, inherit);
  font-weight: var(--tsa-font-display-weight, 800);
  font-size: 1.35rem;
}

.tsa-cart__head button {
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  line-height: 0;
}

.tsa-cart__empty {
  padding: 2rem 1.5rem;
  text-align: center;
}

.tsa-cart__items {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  overflow-y: auto;
}

.tsa-cart__item {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(17, 82, 71, 0.1);
}

.tsa-cart__item.is-busy {
  opacity: 0.5;
}

.tsa-cart__item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--tsa-chrome-radius);
}

.tsa-cart__itembody {
  flex: 1;
  min-width: 0;
}

.tsa-cart__itemname {
  font-weight: 700;
  text-decoration: none;
  line-height: 1.25;
}

.tsa-cart__itemmeta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

.tsa-cart__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tsa-cart__qty button {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 82, 71, 0.2);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  color: inherit;
  font-size: 0.95rem;
  line-height: 1;
}

.tsa-cart__qty button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.tsa-cart__remove {
  margin-left: auto;
  border-color: transparent !important;
}

.tsa-cart__itemprice {
  font-weight: 700;
  white-space: nowrap;
}

.tsa-cart__foot {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(17, 82, 71, 0.12);
}

.tsa-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
}

.tsa-cart__note {
  margin: 0.35rem 0 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.tsa-cart__cta {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--tsa-chrome-deep);
  color: #fff !important;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.tsa-cart__link {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------------
 * Mobile navigation
 * ------------------------------------------------------------------------ */

.tsa-mnav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  visibility: hidden;
}

.tsa-mnav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.tsa-mnav__scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 64, 55, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.tsa-mnav.is-open .tsa-mnav__scrim {
  opacity: 1;
}

.tsa-mnav__panel {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: min(360px, 100%);
  height: 100%;
  padding-bottom: 1.5rem;
  background: var(--tsa-chrome-deep);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
  overflow-y: auto;
}

.tsa-mnav.is-open .tsa-mnav__panel {
  transform: translateX(0);
}

.tsa-mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.tsa-mnav__head button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}

.tsa-mnav__title {
  font-family: var(--tsa-font-display, inherit);
  font-weight: var(--tsa-font-display-weight, 800);
  font-size: 1.2rem;
}

.tsa-mnav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tsa-mnav__search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 1.5rem 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.tsa-mnav__list {
  flex: 1;
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.tsa-mnav__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tsa-mnav__list a,
.tsa-mnav__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.5rem;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.tsa-mnav__foot {
  padding: 1.5rem 1.5rem 0;
}

.tsa-mnav__cta {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--tsa-chrome-light);
  color: var(--tsa-chrome-deep) !important;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.tsa-mnav__logout {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
}

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

.tsa-ftr {
  font-family: var(--tsa-font-body, var(--wp--preset--font-family--body-font));
}

.tsa-ftr a {
  color: inherit;
}

/* Explicit colours: the classic location template loads a different set of
   global styles, where inherited link colour fell back to the browser blue. */
.tsa-ftr__main,
.tsa-ftr__main a,
.tsa-ftr__main a:visited,
.tsa-ftr__main a:hover,
.tsa-ftr__main a:focus {
  color: var(--tsa-chrome-white);
}

.tsa-ftr__subscribe,
.tsa-ftr__subscribe a,
.tsa-ftr__subscribe a:visited {
  color: var(--tsa-chrome-bg);
}

.tsa-ftr__why,
.tsa-ftr__why a,
.tsa-ftr__why a:visited {
  color: var(--tsa-chrome-deep);
}

.tsa-ftr__main a,
.tsa-ftr__col a {
  text-decoration: none;
}

.tsa-ftr__main a:hover,
.tsa-ftr__col a:hover {
  text-decoration: underline;
}

.tsa-ftr__why {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 700px;
  padding: 3rem var(--tsa-chrome-gutter);
  background: var(--tsa-chrome-why-bg);
  color: var(--tsa-chrome-deep);
  text-align: center;
}

.tsa-ftr__why > h2 {
  margin: 0 0 2.2rem;
  font-family: var(--tsa-font-display, inherit);
  font-weight: var(--tsa-font-display-weight, 800);
  font-size: var(--wp--preset--font-size--xx-large, clamp(2.4rem, 5vw, 5rem));
  line-height: 1.05;
}

.tsa-ftr__whygrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
  max-width: var(--wp--style--global--wide-size, 1250px);
  width: 100%;
  margin: 0 auto;
}

.tsa-ftr__whyitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--tsa-chrome-ink);
}

.tsa-ftr__whyitem img {
  width: auto;
  max-width: 100%;
  height: 300px;
  aspect-ratio: 1;
}

.tsa-ftr__whyitem h3 {
  margin: 0;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--medium, clamp(1.3rem, 1.5vw, 1.5rem));
  font-weight: 700;
  text-transform: uppercase;
}

.tsa-ftr__whyitem p {
  margin: 0;
}

.tsa-ftr__subscribe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: var(--wp--custom--spacing--vertical, clamp(2.5rem, 6vw, 6rem)) var(--tsa-chrome-gutter);
  background: var(--tsa-chrome-ink);
  color: var(--tsa-chrome-bg);
}

.tsa-ftr__subscribe-copy {
  max-width: 600px;
}

.tsa-ftr__subscribe h2 {
  margin: 0 0 1rem;
  font-family: var(--tsa-font-display, inherit);
  font-weight: var(--tsa-font-display-weight, 800);
  font-size: var(--wp--preset--font-size--x-large, clamp(1.7rem, 3vw, 2.125rem));
  color: var(--tsa-chrome-white);
}

.tsa-ftr__subscribe p {
  margin: 0;
}

.tsa-ftr__formhost .gform_wrapper {
  margin: 0;
}

.tsa-ftr__main {
  padding: var(--wp--custom--spacing--vertical, clamp(2.5rem, 6vw, 6rem)) var(--tsa-chrome-gutter) 2rem;
  background: var(--tsa-chrome-deep);
  color: var(--tsa-chrome-white);
}

.tsa-ftr__inner {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 2rem;
}

.tsa-ftr__brand img {
  width: 200px;
  height: auto;
}

.tsa-ftr__brand p {
  max-width: 300px;
  margin-top: 1.5rem;
}

.tsa-ftr__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

.tsa-ftr__colhead {
  margin: 0 0 1rem;
  color: var(--tsa-chrome-white);
  font-family: var(--tsa-font-display, inherit);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tsa-ftr__colhead a {
  text-decoration: none;
}

.tsa-ftr__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tsa-ftr__col p {
  margin: 0 0 1rem;
}

.tsa-ftr__social {
  display: flex;
  gap: 1rem;
}

.tsa-ftr__social a {
  display: inline-flex;
  color: var(--wp--preset--color--sunrise-beige, #fff9e7);
}

.tsa-ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2rem;
  font-size: var(--wp--preset--font-size--small, 0.9rem);
}

.tsa-ftr__bottom p {
  margin: 0;
}

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

  .tsa-ftr__inner {
    grid-template-columns: 1fr;
  }

  .tsa-ftr__subscribe {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  /* The block mobile menu covered the whole viewport — match it. */
  .tsa-mnav__panel {
    width: 100%;
  }

  .tsa-ftr__whygrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tsa-ftr__whyitem img {
    height: 180px;
  }

  .tsa-ftr__why {
    min-height: 0;
  }

  .tsa-ftr__cols {
    grid-template-columns: 1fr;
  }

  .tsa-ftr__bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------------
 * Classic location/trip template (taxonomy-location.php)
 *
 * The parent theme positions header.wp-block-template-part absolutely, which on
 * these pages pulled the hero up underneath the logo. Here the header stays in
 * the flow so the page starts below it.
 * ------------------------------------------------------------------------ */

/* The trip pages run on cream (--le-cream), not the site's off-white, so the
   header and its panels take the page's colour rather than sitting on a
   lighter band. */
.le-page .tsa-chrome-root,
.le-page .tsa-hdr__submenu,
.le-page .tsa-search,
.le-page .tsa-cart__panel {
  background: var(--le-cream, #f2ede2);
}

.le-page header.wp-block-template-part,
.le-page.detached-header header.wp-block-template-part {
  position: relative;
}

.le-page.detached-header header.wp-block-template-part {
  position: sticky;
  top: 0;
}

.le-page .le-content {
  margin-top: 0;
}
