/**
 * Victorian Day Hikes page redesign — "Trailhead" (page 52549 only).
 *
 * Markup: wp:html sections inside an alignfull .tsa-dh group in the page
 * content, plus [tsa_dh_hero] and [tsa_dh_tours] from inc/day-hikes.php.
 * JS (hero crossfade): assets/js/day-hikes.js.
 */

.tsa-dh {
    --dh-mist: #F3F6EE;
    --dh-sage: #E7EEDD;
    --dh-paper: #F9FBF5;
    --dh-pine: #12403F;
    --dh-leaf: #4E8A47;
    --dh-amber: #E39A3B;
    --dh-rust: #C25B2E;
    --dh-ochre: #C77E22;
    --dh-gold: #E9B96A;
    --dh-ink: #1D2F26;
    --dh-body-color: rgba(29, 47, 38, 0.75);
    --dh-head-font: var(--tsa-font-display);
    --dh-body-font: var(--tsa-font-body);
    --dh-pad-x: clamp(20px, 4vw, 48px);
    background: var(--dh-mist);
    color: var(--dh-ink);
    font-family: var(--dh-body-font);
    overflow: hidden;
}

.tsa-dh ::selection {
    background: var(--dh-pine);
    color: var(--dh-mist);
}

.tsa-dh a {
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tsa-dh h1,
.tsa-dh h2,
.tsa-dh h3,
.tsa-dh h4 {
    font-family: var(--dh-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    padding: 0;
    color: var(--dh-pine);
}

.tsa-dh .tsa-dh-section {
    position: relative;
    padding: clamp(72px, 9vw, 110px) var(--dh-pad-x);
    overflow: hidden;
}

.tsa-dh .tsa-dh-wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.tsa-dh .tsa-dh-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dh-leaf);
    margin-bottom: 12px;
}

.tsa-dh .tsa-dh-h2 {
    font-size: clamp(30px, 3.4vw, 48px);
    line-height: 1.05;
    margin: 0;
    text-wrap: balance;
}

.tsa-dh .tsa-dh-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    cursor: pointer;
}

.tsa-dh .tsa-dh-btn--pine {
    background: var(--dh-pine);
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-btn--pine:hover {
    background: var(--dh-leaf);
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-btn--outline {
    border: 1.5px solid var(--dh-pine);
    color: var(--dh-pine);
    padding: 14px 28px;
}

.tsa-dh .tsa-dh-btn--outline:hover {
    background: var(--dh-pine);
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-btn--mist {
    background: var(--dh-mist);
    color: var(--dh-pine);
    padding: 12px 24px;
    font-size: 14px;
}

.tsa-dh .tsa-dh-btn--mist:hover {
    background: var(--dh-amber);
    color: var(--dh-pine);
}

/* Keyframes */

@keyframes tsaDhTrail {
    0% { background-position: 0 0; }
    100% { background-position: 0 44px; }
}

@keyframes tsaDhTrailX {
    0% { background-position: 0 0; }
    100% { background-position: 44px 0; }
}

@keyframes tsaDhBlaze {
    0%, 100% { transform: rotate(-6deg) scale(1); }
    50% { transform: rotate(-6deg) scale(1.08); }
}

@keyframes tsaDhStep {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes tsaDhBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Trail blaze marker (rotated rectangle) */

.tsa-dh .tsa-dh-blaze {
    display: inline-block;
    width: 40px;
    height: 22px;
    border-radius: 5px;
    background: var(--dh-leaf);
    transform: rotate(-6deg);
}

.tsa-dh .tsa-dh-blaze--amber { background: var(--dh-amber); }
.tsa-dh .tsa-dh-blaze--pine { background: var(--dh-pine); }

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

.tsa-dh .tsa-dh-hero {
    position: relative;
    padding: calc(var(--wp--custom--header-height, 83px) + clamp(48px, 6vw, 72px)) var(--dh-pad-x) clamp(64px, 7vw, 90px);
    overflow: hidden;
}

.tsa-dh .tsa-dh-hero__trail {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 74px;
    width: 3px;
    background-image: repeating-linear-gradient(180deg, #B9CBA8 0, #B9CBA8 16px, transparent 16px, transparent 30px);
    animation: tsaDhTrail 3s linear infinite;
    opacity: 0.8;
}

.tsa-dh .tsa-dh-hero__grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
}

.tsa-dh .tsa-dh-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.tsa-dh .tsa-dh-hero__kicker .tsa-dh-trailsign {
    background: var(--dh-amber);
    color: var(--dh-pine);
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 13px;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(227, 154, 59, 0.4);
    animation: tsaDhBlaze 4s ease-in-out infinite;
    display: inline-block;
}

.tsa-dh .tsa-dh-hero__kicker small {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-hero h1 {
    font-size: clamp(2.6rem, 5.4vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    text-wrap: balance;
}

.tsa-dh .tsa-dh-hero h1 em {
    font-style: normal;
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-hero__lede {
    font-size: 18px;
    line-height: 1.65;
    color: var(--dh-body-color);
    max-width: 50ch;
    margin: 0 0 34px;
}

.tsa-dh .tsa-dh-hero__media {
    position: relative;
}

.tsa-dh .tsa-dh-hero__frame {
    position: relative;
    border-radius: 22px;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(18, 64, 63, 0.22);
}

.tsa-dh .tsa-dh-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.6s ease-in-out;
}

.tsa-dh .tsa-dh-hero__slide.is-active {
    opacity: 1;
}

.tsa-dh .tsa-dh-hero__sign {
    position: absolute;
    left: -24px;
    bottom: 44px;
    background: var(--dh-paper);
    border-radius: 14px;
    padding: 14px 20px;
    box-shadow: 0 14px 34px rgba(18, 64, 63, 0.2);
    animation: tsaDhBob 6s ease-in-out infinite;
}

.tsa-dh .tsa-dh-hero__sign-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-hero__sign-value {
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 17px;
    color: var(--dh-pine);
}

/* Trail marker band */

.tsa-dh .tsa-dh-band {
    background: var(--dh-pine);
    overflow: hidden;
    padding: 14px 0;
}

.tsa-dh .tsa-dh-band__dashes {
    height: 22px;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 20px, rgba(243, 246, 238, 0.35) 20px, rgba(243, 246, 238, 0.35) 22px), repeating-linear-gradient(90deg, transparent 0, transparent 108px, var(--dh-amber) 108px, var(--dh-amber) 110px);
    animation: tsaDhTrailX 2.8s linear infinite;
}

/* --------------------------------------------------------------- Blazes */

.tsa-dh .tsa-dh-blazes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tsa-dh .tsa-dh-blazes__card {
    background: var(--dh-paper);
    border-radius: 20px;
    padding: 34px;
    border-bottom: 4px solid var(--dh-leaf);
}

.tsa-dh .tsa-dh-blazes__card:nth-child(2) { border-bottom-color: var(--dh-amber); }
.tsa-dh .tsa-dh-blazes__card:nth-child(3) { border-bottom-color: var(--dh-pine); }

.tsa-dh .tsa-dh-blazes__card .tsa-dh-blaze {
    margin-bottom: 20px;
}

.tsa-dh .tsa-dh-blazes__card h3 {
    font-size: 23px;
    margin: 0 0 12px;
}

.tsa-dh .tsa-dh-blazes__card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--dh-body-color);
}

/* ---------------------------------------------------------- Split blocks */

.tsa-dh .tsa-dh-split {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 6vw, 76px);
    align-items: center;
}

.tsa-dh .tsa-dh-split--flip {
    grid-template-columns: 0.95fr 1.05fr;
}

.tsa-dh .tsa-dh-split h2 {
    font-size: clamp(32px, 3.8vw, 52px);
    line-height: 1.05;
    margin: 0 0 22px;
    text-wrap: balance;
}

.tsa-dh .tsa-dh-split h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-split p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--dh-body-color);
    margin: 0 0 16px;
}

.tsa-dh .tsa-dh-figure {
    position: relative;
    margin: 0;
}

.tsa-dh .tsa-dh-figure img {
    width: 100%;
    display: block;
    border-radius: 22px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 18px 44px rgba(18, 64, 63, 0.18);
}

.tsa-dh .tsa-dh-figure__note {
    position: absolute;
    right: -16px;
    top: 32px;
    background: var(--dh-amber);
    color: var(--dh-pine);
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    transform: rotate(5deg);
    box-shadow: 0 10px 26px rgba(199, 126, 34, 0.35);
}

.tsa-dh .tsa-dh-need {
    background: var(--dh-sage);
}

/* Mini feature rows with blaze markers */

.tsa-dh .tsa-dh-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
}

.tsa-dh .tsa-dh-feature {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.tsa-dh .tsa-dh-feature .tsa-dh-blaze {
    width: 34px;
    height: 20px;
    margin-top: 3px;
}

.tsa-dh .tsa-dh-feature strong {
    display: block;
    font-family: var(--dh-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: 17px;
    color: var(--dh-pine);
}

.tsa-dh .tsa-dh-feature small {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dh-body-color);
}

.tsa-dh .tsa-dh-pyramid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 1px;
    width: 34px;
}

.tsa-dh .tsa-dh-pyramid span {
    height: 6px;
    border-radius: 2px;
}

.tsa-dh .tsa-dh-pyramid span:nth-child(1) { width: 10px; background: var(--dh-pine); }
.tsa-dh .tsa-dh-pyramid span:nth-child(2) { width: 18px; background: var(--dh-leaf); }
.tsa-dh .tsa-dh-pyramid span:nth-child(3) { width: 26px; background: var(--dh-amber); }

/* --------------------------------------------------------- Photo CTA duo */

.tsa-dh .tsa-dh-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.tsa-dh .tsa-dh-duo__card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.tsa-dh .tsa-dh-duo__body {
    padding: 36px;
}

.tsa-dh .tsa-dh-duo__card h3 {
    font-size: 27px;
    margin: 0 0 10px;
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-duo__card p {
    margin: 0 0 20px;
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(243, 246, 238, 0.9);
}

.tsa-dh .tsa-dh-duo__card p + p {
    margin-top: -12px;
}

.tsa-dh .tsa-dh-duo__note {
    position: absolute;
    top: 22px;
    right: 22px;
    background: var(--dh-amber);
    color: var(--dh-pine);
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transform: rotate(5deg);
}

/* --------------------------------------------------------------- Quotes */

.tsa-dh .tsa-dh-quotes {
    background: var(--dh-pine);
}

.tsa-dh .tsa-dh-quotes .tsa-dh-eyebrow {
    color: var(--dh-gold);
}

.tsa-dh .tsa-dh-quotes .tsa-dh-h2 {
    color: var(--dh-mist);
    margin-bottom: 48px;
}

.tsa-dh .tsa-dh-quotes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.tsa-dh .tsa-dh-quote {
    background: rgba(243, 246, 238, 0.06);
    border: 1px solid rgba(243, 246, 238, 0.16);
    border-radius: 20px;
    padding: 32px;
}

.tsa-dh .tsa-dh-quote__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dh-gold);
    margin-bottom: 18px;
}

.tsa-dh .tsa-dh-quote p {
    margin: 0 0 20px;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(243, 246, 238, 0.9);
}

.tsa-dh .tsa-dh-quote p.is-verse {
    font-style: italic;
    line-height: 1.75;
}

.tsa-dh .tsa-dh-quote cite {
    font-style: normal;
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 16px;
    color: var(--dh-mist);
}

/* ----------------------------------------------------------------- Steps */

.tsa-dh .tsa-dh-steps {
    text-align: center;
}

.tsa-dh .tsa-dh-steps .tsa-dh-h2 {
    margin-bottom: 70px;
}

.tsa-dh .tsa-dh-steps__grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
}

.tsa-dh .tsa-dh-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tsa-dh .tsa-dh-step__num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--dh-pine);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 24px;
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-step:nth-of-type(2) .tsa-dh-step__num { background: var(--dh-leaf); }
.tsa-dh .tsa-dh-step:nth-of-type(3) .tsa-dh-step__num { background: var(--dh-amber); color: var(--dh-pine); }

.tsa-dh .tsa-dh-step__label {
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 20px;
    color: var(--dh-pine);
    max-width: 22ch;
}

/* footstep dots */

.tsa-dh .tsa-dh-footsteps {
    display: flex;
    gap: 9px;
    padding-top: 32px;
}

.tsa-dh .tsa-dh-footsteps span {
    width: 7px;
    height: 11px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: var(--dh-leaf);
    transform: rotate(-14deg);
    animation: tsaDhStep 1.8s ease-in-out infinite;
}

.tsa-dh .tsa-dh-footsteps span:nth-child(2) {
    transform: rotate(10deg) translateY(-4px);
    animation-delay: 0.3s;
}

.tsa-dh .tsa-dh-footsteps span:nth-child(3) {
    animation-delay: 0.6s;
}

.tsa-dh .tsa-dh-footsteps--amber span { background: var(--dh-amber); }
.tsa-dh .tsa-dh-footsteps--amber span:nth-child(1) { animation-delay: 0.9s; }
.tsa-dh .tsa-dh-footsteps--amber span:nth-child(2) { animation-delay: 1.2s; }
.tsa-dh .tsa-dh-footsteps--amber span:nth-child(3) { animation-delay: 1.5s; }

/* ----------------------------------------------------------------- Cards */

.tsa-dh .tsa-dh-upcoming {
    background: var(--dh-sage);
}

.tsa-dh .tsa-dh-upcoming-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.tsa-dh .tsa-dh-link-underline {
    font-weight: 700;
    font-size: 15px;
    border-bottom: 2px solid var(--dh-amber);
    padding-bottom: 4px;
    color: var(--dh-pine);
}

.tsa-dh .tsa-dh-link-underline:hover {
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-tours {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tsa-dh .tsa-dh-card {
    display: flex;
    flex-direction: column;
    background: var(--dh-paper);
    border-radius: 20px;
    overflow: hidden;
    color: var(--dh-ink);
    box-shadow: 0 10px 28px rgba(18, 64, 63, 0.1);
}

.tsa-dh .tsa-dh-card:hover {
    box-shadow: 0 22px 48px rgba(18, 64, 63, 0.18);
    color: var(--dh-ink);
    transform: translateY(-5px);
}

.tsa-dh .tsa-dh-card__media {
    position: relative;
}

.tsa-dh .tsa-dh-card__media img,
.tsa-dh .tsa-dh-card__placeholder {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.tsa-dh .tsa-dh-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #DCE8CC, #C8DAB2);
}

.tsa-dh .tsa-dh-card__placeholder span {
    width: 56px;
    height: 30px;
    border-radius: 7px;
    background: var(--dh-leaf);
    transform: rotate(-6deg);
    display: inline-block;
}

.tsa-dh .tsa-dh-card__kind {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    background: rgba(249, 251, 245, 0.92);
    color: var(--dh-pine);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tsa-dh .tsa-dh-card__grade {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    padding: 6px 13px;
    border-radius: 8px;
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 13px;
    transform: rotate(4deg);
    background: var(--dh-leaf);
    color: var(--dh-mist);
}

.tsa-dh .tsa-dh-card__grade.grade-3 { background: var(--dh-amber); color: var(--dh-pine); }
.tsa-dh .tsa-dh-card__grade.grade-4 { background: var(--dh-rust); color: var(--dh-paper); }
.tsa-dh .tsa-dh-card__grade.grade-mixed { background: var(--dh-pine); color: var(--dh-mist); }

.tsa-dh .tsa-dh-card__body {
    padding: 20px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.tsa-dh .tsa-dh-card__body h3 {
    font-size: 22px;
    margin: 0;
    line-height: 1.15;
}

.tsa-dh .tsa-dh-card__date {
    font-size: 14px;
    font-weight: 700;
    color: var(--dh-leaf);
}

.tsa-dh .tsa-dh-card__stats {
    font-size: 14px;
    color: rgba(29, 47, 38, 0.6);
    margin-bottom: 4px;
}

.tsa-dh .tsa-dh-card__stock {
    font-size: 12.5px;
    font-weight: 700;
}

.tsa-dh .tsa-dh-card__stock.is-in { color: var(--dh-leaf); }
.tsa-dh .tsa-dh-card__stock.is-low { color: var(--dh-ochre); }
.tsa-dh .tsa-dh-card__stock.is-out { color: rgba(29, 47, 38, 0.45); }

.tsa-dh .tsa-dh-card__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(18, 64, 63, 0.12);
    padding-top: 14px;
}

.tsa-dh .tsa-dh-card__price {
    font-family: var(--dh-head-font);
  font-weight: var(--tsa-font-display-weight, 800);
    font-size: 21px;
    color: var(--dh-pine);
}

.tsa-dh .tsa-dh-card__members {
    font-size: 12.5px;
    color: var(--dh-leaf);
    font-weight: 600;
}

.tsa-dh .tsa-dh-card__cta {
    background: var(--dh-pine);
    color: var(--dh-mist);
    padding: 9px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.tsa-dh .tsa-dh-card:hover .tsa-dh-card__cta {
    background: var(--dh-amber);
    color: var(--dh-pine);
}

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

@media (prefers-reduced-motion: reduce) {
    .tsa-dh .tsa-dh-hero__trail,
    .tsa-dh .tsa-dh-band__dashes,
    .tsa-dh .tsa-dh-hero__kicker .tsa-dh-trailsign,
    .tsa-dh .tsa-dh-hero__sign,
    .tsa-dh .tsa-dh-footsteps span {
        animation: none !important;
    }
}

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

@media (max-width: 900px) {
    .tsa-dh .tsa-dh-hero__grid,
    .tsa-dh .tsa-dh-split,
    .tsa-dh .tsa-dh-split--flip,
    .tsa-dh .tsa-dh-blazes,
    .tsa-dh .tsa-dh-duo {
        grid-template-columns: 1fr;
    }

    .tsa-dh .tsa-dh-steps__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tsa-dh .tsa-dh-footsteps {
        display: none;
    }

    .tsa-dh .tsa-dh-hero__trail {
        display: none;
    }

    .tsa-dh .tsa-dh-hero__sign {
        left: 10px;
    }

    .tsa-dh .tsa-dh-figure__note {
        right: 8px;
    }
}

@media (max-width: 640px) {
    .tsa-dh .tsa-dh-tours,
    .tsa-dh .tsa-dh-quotes__grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================================
   Footer template part recolour — Trailhead palette.
   This stylesheet only loads on the Day Hikes page.
   ================================================================== */

body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color {
    background-color: #E39A3B !important;
}

body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color .has-white-color,
body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color h3,
body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color p,
body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color label,
body.page-id-52549 footer.wp-block-template-part .has-darktext-background-color .gfield_required_text {
    color: #12403F !important;
}

body.page-id-52549 footer.wp-block-template-part .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="hidden"]),
body.page-id-52549 footer.wp-block-template-part .gform_wrapper select,
body.page-id-52549 footer.wp-block-template-part .gform_wrapper textarea {
    background-color: #F9FBF5 !important;
    color: #12403F !important;
    border-color: rgba(18, 64, 63, 0.35) !important;
}

body.page-id-52549 footer.wp-block-template-part .gform_wrapper input::placeholder,
body.page-id-52549 footer.wp-block-template-part .gform_wrapper textarea::placeholder {
    color: rgba(18, 64, 63, 0.6) !important;
    opacity: 1 !important;
}

body.page-id-52549 footer.wp-block-template-part .gform_wrapper .gfield_label,
body.page-id-52549 footer.wp-block-template-part .gform_wrapper legend,
body.page-id-52549 footer.wp-block-template-part .gform_wrapper .gfield_description {
    color: #12403F !important;
}

body.page-id-52549 footer.wp-block-template-part .gform_wrapper .gform_button {
    background-color: #12403F !important;
    color: #F3F6EE !important;
}

body.page-id-52549 footer.wp-block-template-part .gform_wrapper .gform_button:hover {
    background-color: #F3F6EE !important;
    color: #12403F !important;
    opacity: 1 !important;
}

body.page-id-52549 footer.wp-block-template-part .footer-container.has-background-dark-background-color {
    background-color: #12403F !important;
}

body.page-id-52549 footer.wp-block-template-part .footer-container a:hover {
    color: #E9B96A;
}

body.page-id-52549 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__image-background {
    display: none !important;
}

body.page-id-52549 footer.wp-block-template-part .wp-block-cover.is-light {
    background: #F3F6EE;
}

body.page-id-52549 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__background {
    background-color: #F3F6EE !important;
}
