﻿/* Trails & Routes — reference layout */
.tr-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.tr-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.15) 100%);
}
.tr-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 76rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.25rem 4rem;
    text-align: left;
}
.tr-hero__tag {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    font-family: "DM Mono", monospace;
    color: #bfff58;
    margin-bottom: 0.85rem;
}
.tr-hero h1 {
    color: #fff;
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 28rem;
    margin: 0 0 0.75rem;
}
.tr-hero__sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 32rem;
    margin: 0;
    line-height: 1.5;
}

.tr-container {
    max-width: 76rem;
    margin: 0 auto;
    padding-inline: 1.25rem;
}

/* Quick stats */
.tr-statsection {
    padding: 3rem 0 4rem;
    background: #fafaf8;
}
.tr-statgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.tr-stat {
    display: block;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
    text-decoration: none;
}
.tr-stat--link {
    cursor: pointer;
}
.tr-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.tr-stat__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.tr-stat__icon svg {
    width: 1.4rem;
    height: 1.4rem;
    stroke-width: 2;
}
.tr-stat__icon.is-lime {
    background: var(--lime-pop, #BFFF58);
    color: #1a1a1a;
}
.tr-stat__icon.is-teal {
    background: var(--peacock-teal, #007A73);
    color: #ffffff;
}
.tr-stat__icon.is-gold {
    background: var(--sunset-gold, #D4A740);
    color: #1a1a1a;
}
.tr-stat__label {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 1.125rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}
.tr-stat__sub {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Trail cards */
.tr-cardsection {
    padding: 2rem 0 5rem;
    background: #fafaf8;
}
.tr-cards {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}
.tr-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.tr-card__media {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.tr-card.is-reverse .tr-card__media {
    order: 2;
}
.tr-card.is-reverse .tr-card__body {
    order: 1;
}
.tr-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tr-card__meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.tr-card__emoji {
    font-size: 1.35rem;
    line-height: 1;
}
.tr-card__badge {
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
    .tr-card__badge.is-leaf {
        background: #3e7c59;
    }
.tr-card__badge.is-teal {
    background: var(--peacock-teal, #007A73);
}
    .tr-card__badge.is-blue {
        background: #0f4c81;
    }
.tr-card__badge.is-orange {
    background: #d4923a;
}
.tr-card__dim {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted-gray, #6b7280);
}
.tr-card__title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0.25rem 0 0.75rem;
    line-height: 1.2;
}
.tr-card__desc {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.tr-card__besttime {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--peacock-teal, #007A73);
    margin-bottom: 1.25rem;
}
.tr-card__besttime svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}
.tr-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tr-chip {
    padding: 0.4rem 0.85rem;
    background: #f5f1e9;
    font-size: 0.75rem;
    color: var(--muted-gray, #6b7280);
    border-radius: 9999px;
}

/* Trail tips */
.tr-tipsection {
    padding: 4.5rem 0 4rem;
    background: #f3efe7;
}
.tr-tipsection__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.tr-tipsection__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.tr-tipsection__bulb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}
.tr-tipsection__bulb svg {
    width: 100%;
    height: 100%;
}
.tr-tips {
    max-width: 54rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.tr-tip {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    text-align: left;
    box-shadow: none;
}
.tr-tip__icon {
    color: #2d5a27;
    margin-bottom: 1rem;
    line-height: 0;
    display: flex;
    justify-content: flex-start;
}
.tr-tip__icon svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.5;
}
.tr-tip__text {
    font-size: 0.9rem;
    color: var(--muted-gray, #6b7280);
    line-height: 1.65;
    margin: 0;
}
.tr-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.tr-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--forest-green, #1F4D3A);
    color: #fff !important;
    padding: 0.9rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.tr-cta a:hover {
    background: #2d6a4f;
    transform: translateY(-1px);
}

/* Quote + back to top */
.tr-quote {
    position: relative;
  /*  padding: 2rem 1.25rem;*/
    background: var(--forest-green, #1F4D3A);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tr-quote__inner {
    max-width: 76rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.tr-quote p,
.tr-quote__rte p,
.tr-quote__rte h1,
.tr-quote__rte h2,
.tr-quote__rte h3 {
    max-width: 64rem;
    text-align: center;
    margin: 0 auto;
    font-size: 1.25rem;
    color: #fff;
    font-style: italic;
    font-weight: 700;
}
.tr-quote span,
.tr-quote__rte span {
    color: #bfff58;
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 1023px) {
    .tr-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tr-card.is-reverse .tr-card__media,
    .tr-card.is-reverse .tr-card__body {
        order: unset;
    }
    .tr-quote__inner {
        padding-right: 0;
        flex-direction: column;
        padding-bottom: 3rem;
    }
}
@media (max-width: 767px) {
    .tr-statgrid { grid-template-columns: 1fr; max-width: 20rem; }
    .tr-tips { grid-template-columns: 1fr; }
    .tr-cards { gap: 3.5rem; }
    .tr-hero { min-height: 280px; }
    .tr-hero__inner { padding: 0 1rem 2.5rem; }
    .tr-container { padding-inline: 1rem; }
    .tr-tipsection { padding: 3rem 0; }
}
@media (max-width: 479px) {
    .tr-hero { min-height: 220px; }
    .tr-hero__inner { padding: 0 1rem 2rem; }
    .tr-container { padding-inline: 1rem; }
    .tr-statsection { padding: 2rem 0 3rem; }
    .tr-card__title { font-size: clamp(1.25rem, 5vw, 1.65rem); }
    .tr-tipsection { padding: 2.5rem 0; }
}


