:root {
    --home-forest: #123c28;
    --home-forest-dark: #09291b;
    --home-leaf: #1f5c3d;
    --home-lime: #eff58a;
    --home-cream: #fbf8ee;
    --home-paper: #fffdf7;
    --home-ink: #173127;
    --home-muted: #68776f;
    --home-line: #dfe5d8;
    --home-shadow: 0 18px 50px rgba(3, 24, 15, .24);
}

.ph3-home-page {
    background: var(--home-forest-dark);
    color: var(--home-ink);
}

.ph3-home-page .ph3-navbar {
    display: none;
}

.ph3-home-page .wrap {
    min-height: 100vh;
}

.ph3-home-page .wrap > .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    background: transparent;
}

.ph3-home-page .footer {
    position: relative;
    z-index: 3;
    margin: 0 0 0 78px;
}

.home-shell,
.home-shell * {
    box-sizing: border-box;
}

.home-topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 24px 10px 20px;
    color: var(--home-lime);
    background: rgba(9, 41, 27, .97);
    border-bottom: 1px solid rgba(239, 245, 138, .16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .17);
    backdrop-filter: blur(12px);
}

.home-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--home-lime);
    text-decoration: none !important;
}

.home-brand:hover,
.home-brand:focus {
    color: #fffdb3;
    outline: none;
    box-shadow: none;
}

.home-brand:focus-visible {
    border-radius: 8px;
    background: rgba(239, 245, 138, .08);
}

.home-brand-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: block;
    object-fit: contain;
}

.home-brand-mark {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    color: var(--home-forest-dark);
    background: var(--home-lime);
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.04em;
    box-shadow: inset 0 0 0 4px rgba(18, 60, 40, .13);
}

.home-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-brand-copy strong {
    font-size: 18px;
    letter-spacing: .01em;
}

.home-brand-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .69);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-brand-name-mobile {
    display: none;
}

.home-topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none !important;
}

.home-admin-link:hover,
.home-admin-link:focus {
    color: var(--home-lime);
}

.home-join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    color: var(--home-forest-dark) !important;
    background: var(--home-lime);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
    transition: transform .18s ease, background .18s ease;
}

.home-join-button:hover,
.home-join-button:focus {
    background: #fffeb2;
    transform: translateY(-1px);
}

.home-rail {
    position: fixed;
    z-index: 40;
    top: 76px;
    bottom: 0;
    left: 0;
    width: 78px;
    display: flex;
    flex-direction: column;
    padding: 12px 8px;
    background: #0e3322;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.home-rail-link {
    position: relative;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .68);
    border-radius: 10px;
    font-size: 18px;
    text-decoration: none !important;
    transition: color .18s ease, background .18s ease;
}

.home-rail-link:hover,
.home-rail-link:focus,
.home-rail-link.is-active {
    color: var(--home-lime);
    background: rgba(239, 245, 138, .11);
}

.home-rail-link.is-active::before {
    content: '';
    position: absolute;
    left: -8px;
    width: 4px;
    height: 34px;
    background: var(--home-lime);
    border-radius: 0 4px 4px 0;
}

.home-rail-label {
    max-width: 66px;
    overflow: hidden;
    color: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.1;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-stage {
    position: relative;
    min-height: 100vh;
    margin-left: 78px;
    padding: 112px 30px 70px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(9, 41, 27, .9), rgba(18, 60, 40, .78)),
        url('../images/website_background.png') center top / cover fixed;
}

.home-stage::before,
.home-stage::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.home-stage::before {
    top: 10%;
    right: -180px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(239, 245, 138, .12);
    box-shadow: 0 0 0 70px rgba(239, 245, 138, .025), 0 0 0 140px rgba(239, 245, 138, .018);
}

.home-stage::after {
    bottom: 5%;
    left: -110px;
    width: 260px;
    height: 260px;
    background: rgba(239, 245, 138, .035);
}

.home-feed {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.home-top-grid {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.home-top-grid .run-card-primary,
.home-top-grid .run-empty-state {
    margin-bottom: 0;
}

.home-photo-swiper {
    position: relative;
    order: -1;
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 5;
    align-self: stretch;
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--home-paper);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 15px;
    box-shadow: var(--home-shadow);
}

.home-photo-swiper-header {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: var(--home-lime);
    background: linear-gradient(to bottom, rgba(5, 30, 18, .92), rgba(5, 30, 18, .05));
}

.home-photo-swiper-header span {
    display: block;
    margin-bottom: 4px;
    color: var(--home-lime);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-photo-swiper-header h2 {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 850;
}

.public-page-frame-home .home-photo-swiper-header h2 {
    color: #fff;
}

.home-photo-swiper-header > a {
    flex: 0 0 auto;
    padding: 7px 10px;
    color: var(--home-forest-dark) !important;
    background: var(--home-lime);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
}

.home-photo-swiper-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: var(--home-forest);
}

.home-photo-swiper-track {
    height: 100%;
    display: flex;
    transition: transform .45s ease;
}

.home-photo-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none !important;
}

.home-photo-slide::after {
    content: '';
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(4, 24, 15, .92));
    pointer-events: none;
    z-index: 2;
}

.home-photo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.home-photo-slide .home-photo-backdrop {
    z-index: 0;
    object-fit: cover;
    filter: blur(18px) brightness(.58) saturate(.85);
    transform: scale(1.08);
}

.home-photo-slide .home-photo-image {
    z-index: 1;
    object-fit: contain;
    object-position: center;
    transition: transform .3s ease;
}

.home-photo-slide:hover .home-photo-image,
.home-photo-slide:focus .home-photo-image {
    transform: scale(1.01);
}

.home-photo-slide > span {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 34px;
    left: 20px;
    display: flex;
    flex-direction: column;
}

.home-photo-slide small {
    margin-bottom: 4px;
    color: var(--home-lime);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-photo-slide strong {
    overflow: hidden;
    color: #fff;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-photo-control {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--home-forest);
    background: rgba(255, 255, 255, .92);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
    transform: translateY(-50%);
}

.home-photo-control:hover,
.home-photo-control:focus {
    background: var(--home-lime);
}

.home-photo-previous {
    left: 11px;
}

.home-photo-next {
    right: 11px;
}

.home-photo-dots {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(5, 30, 18, .72), transparent);
}

.home-photo-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, .58);
    border: 0;
    border-radius: 50%;
}

.home-photo-dot.is-active {
    width: 19px;
    background: var(--home-lime);
    border-radius: 999px;
}

.run-card {
    overflow: hidden;
    background: var(--home-paper);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 15px;
    box-shadow: var(--home-shadow);
}

.run-card-primary {
    margin-bottom: 18px;
}

.run-card-heading {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    color: var(--home-lime);
    background: linear-gradient(120deg, #16492f, #0c301f);
}

.run-card-kicker {
    display: block;
    margin-bottom: 5px;
    color: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.run-card-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
}

.run-card-heading h1 span {
    color: var(--home-lime);
}

.home-map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-map-link {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    color: var(--home-forest) !important;
    background: #fff;
    border: 1px solid var(--home-line);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

.home-map-link:hover,
.home-map-link:focus {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(18, 60, 40, .14);
}

.home-map-link img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.home-map-links-compact {
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.home-map-links-compact .home-map-link {
    width: 42px;
    min-height: 42px;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .96);
}

.home-map-links-compact .home-map-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.run-card-body {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    min-height: 330px;
}

.run-hare {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 24px;
    text-align: center;
    background: #f0f3e5;
    border-right: 1px solid var(--home-line);
}

.run-hare-label {
    margin-bottom: 14px;
    color: var(--home-leaf);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.run-hare-photo {
    width: 142px;
    height: 142px;
    margin-bottom: 14px;
    object-fit: cover;
    background: #d8dfd3;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 9px 24px rgba(18, 60, 40, .18);
}

.run-hare strong {
    color: var(--home-ink);
    font-size: 18px;
}

.run-occasion {
    display: inline-flex;
    margin-top: 8px;
    padding: 5px 10px;
    color: var(--home-forest);
    background: rgba(239, 245, 138, .55);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.run-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 30px;
}

.run-detail-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--home-line);
}

.run-detail-row:last-child {
    border-bottom: 0;
}

.run-detail-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--home-forest);
    background: #eef2e6;
    border-radius: 50%;
    font-size: 17px;
}

.run-detail-row div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.run-detail-row small {
    margin-bottom: 3px;
    color: var(--home-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.run-detail-row strong {
    color: var(--home-ink);
    font-size: 15px;
    line-height: 1.4;
}

.run-detail-row-directions {
    align-items: start;
}

.run-detail-row-directions .run-detail-icon {
    margin-top: 2px;
}

.run-detail-row-directions .home-map-links {
    flex-direction: row;
    align-items: center;
    margin-top: 12px;
}

.run-detail-row-directions .home-map-links-compact {
    align-self: flex-start;
}

.run-map-pending {
    margin-top: 8px;
    font-size: 12px;
}

.run-detail-row-directions {
    margin: 3px -14px;
    padding-right: 14px;
    padding-left: 14px;
    background: #f5f7eb;
    border-radius: 10px;
}

.run-detail-row-onon {
    align-items: start;
}

.run-detail-row-onon .run-detail-icon {
    margin-top: 2px;
}

.run-detail-row-onon strong img {
    width: auto;
    max-width: 40px;
    height: auto;
    margin-top: 9px;
    vertical-align: middle;
}

.run-team-divider {
    padding: 0 6px;
    color: #9ba99f;
}

.run-directions {
    border-top: 1px solid var(--home-line);
}

.run-directions summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 24px;
    color: var(--home-forest);
    background: #f7f8f1;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.run-directions summary::-webkit-details-marker {
    display: none;
}

.directions-chevron {
    margin-left: auto;
    transition: transform .18s ease;
}

.run-directions[open] .directions-chevron {
    transform: rotate(180deg);
}

.run-directions-content {
    padding: 18px 24px 22px;
    color: #495b52;
    background: #fff;
    line-height: 1.65;
}

.run-directions-content p {
    margin: 0 0 16px;
}

.run-card-secondary {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 66px auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 38px;
    padding: 17px 20px;
}

.following-run-date {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--home-forest);
    background: #eef2e6;
    border-radius: 10px;
    line-height: 1;
}

.following-run-date small {
    margin-bottom: 7px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.following-run-date strong {
    font-size: 29px;
}

.following-run-date span {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.following-run-main {
    min-width: 0;
}

.following-run-main .run-card-kicker {
    color: var(--home-leaf);
}

.following-run-main h2 {
    margin: 0 0 7px;
    overflow: hidden;
    color: var(--home-ink);
    font-size: 20px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.following-run-main p {
    margin: 0;
    color: var(--home-muted);
    font-size: 13px;
}

.following-run-photo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(18, 60, 40, .15);
}

.following-run-more {
    grid-column: 1 / -1;
    border-top: 1px solid var(--home-line);
}

.following-run-more summary {
    padding-top: 12px;
    color: var(--home-leaf);
    text-align: center;
    cursor: pointer;
    list-style: none;
}

.following-run-more summary::-webkit-details-marker {
    display: none;
}

.following-run-more > div {
    padding: 12px 6px 2px;
    color: var(--home-muted);
    line-height: 1.6;
}

.following-run-more p:last-child {
    margin-bottom: 0;
}

.run-empty-state {
    margin-bottom: 34px;
    padding: 55px 25px;
    text-align: center;
}

.run-empty-state > .glyphicon {
    color: var(--home-leaf);
    font-size: 34px;
}

.run-empty-state h1 {
    margin: 16px 0 8px;
    font-size: 27px;
}

.run-empty-state p {
    color: var(--home-muted);
}

.home-updates {
    margin-top: 10px;
}

.home-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 17px;
    color: #fff;
}

.home-section-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    color: var(--home-forest-dark);
    background: var(--home-lime);
    border-radius: 50%;
    font-size: 18px;
}

.home-section-heading span:not(.home-section-icon) {
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-section-heading h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.home-text-notice,
.home-event-card,
.home-notice-slider {
    margin-bottom: 18px;
    overflow: hidden;
    background: var(--home-paper);
    border-radius: 14px;
    box-shadow: var(--home-shadow);
}

.home-text-notice {
    padding: 22px 24px;
    color: var(--home-ink);
    line-height: 1.65;
}

.home-text-notice > *:last-child {
    margin-bottom: 0;
}

.home-notice-slider {
    position: relative;
}

.home-notice-track {
    display: flex;
    transition: transform .45s ease;
}

.home-featured-notice {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(230px, 38%) minmax(0, 1fr);
}

.home-featured-notice-media {
    min-height: 270px;
    background: #dce3d7;
}

.home-featured-notice-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.home-featured-notice-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 30px;
}

.home-featured-notice-copy-full {
    grid-column: 1 / -1;
    min-height: 230px;
}

.home-card-label {
    display: block;
    margin-bottom: 8px;
    color: var(--home-leaf);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.home-featured-notice h3,
.home-event-card h1,
.home-event-card h2,
.home-event-card h3 {
    margin: 0 0 10px;
    color: var(--home-ink);
    font-weight: 800;
}

.home-featured-notice h3 {
    font-size: 23px;
}

.home-featured-notice-copy p {
    color: var(--home-muted);
    line-height: 1.6;
}

.home-notice-subtitle {
    color: var(--home-ink) !important;
    font-weight: 700;
}

.home-notice-copy-scroll {
    width: 100%;
}

.home-notice-copy-scroll > :last-child {
    margin-bottom: 0;
}

@media (min-width: 761px) {
    .home-featured-notice {
        height: clamp(400px, 34vw, 460px);
    }

    .home-featured-notice-media {
        height: 100%;
        min-height: 0;
        display: grid;
        place-items: center;
    }

    .home-featured-notice-copy,
    .home-featured-notice-copy-full {
        height: 100%;
        min-height: 0;
        justify-content: center;
        padding: 30px 42px 42px;
        overflow: hidden;
    }

    .home-notice-copy-scroll {
        min-height: 0;
        overflow-y: auto;
        padding-right: 12px;
        scrollbar-color: var(--home-leaf) rgba(18, 60, 40, .08);
        scrollbar-width: thin;
    }

    .home-notice-copy-scroll::-webkit-scrollbar {
        width: 7px;
    }

    .home-notice-copy-scroll::-webkit-scrollbar-track {
        background: rgba(18, 60, 40, .08);
        border-radius: 10px;
    }

    .home-notice-copy-scroll::-webkit-scrollbar-thumb {
        background: var(--home-leaf);
        border-radius: 10px;
    }

    .home-featured-notice .home-button {
        flex: 0 0 auto;
        margin-top: 14px;
    }
}

.home-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none !important;
}

.home-button-primary {
    margin-top: 4px;
    color: #fff !important;
    background: var(--home-forest);
}

.home-button-primary:hover,
.home-button-primary:focus {
    background: var(--home-leaf);
}

.home-button-light {
    flex: 0 0 auto;
    color: var(--home-forest-dark) !important;
    background: var(--home-lime);
}

.home-notice-control {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--home-forest);
    background: rgba(255, 255, 255, .92);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    transform: translateY(-50%);
}

.home-notice-control-previous {
    left: 12px;
}

.home-notice-control-next {
    right: 12px;
}

.home-notice-dots {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 14px;
    display: flex;
    gap: 6px;
}

.home-notice-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: #c4cec5;
    border: 0;
    border-radius: 50%;
}

.home-notice-dot.is-active {
    width: 20px;
    background: var(--home-leaf);
    border-radius: 999px;
}

.home-event-card {
    padding: 24px;
}

.home-rich-text {
    color: var(--home-ink);
    line-height: 1.65;
}

.home-rich-text > *:last-child {
    margin-bottom: 0;
}

.home-welcome-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 36px;
    padding: 28px 30px;
    color: #fff;
    background: rgba(7, 32, 21, .78);
    border: 1px solid rgba(239, 245, 138, .2);
    border-radius: 14px;
    box-shadow: var(--home-shadow);
    backdrop-filter: blur(8px);
}

.home-welcome-strip .home-card-label {
    color: var(--home-lime);
}

.home-welcome-strip h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.home-welcome-strip p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 760px) {
    .home-brand-copy strong {
        font-size: 15px;
    }

    .home-admin-link span:last-child {
        display: none;
    }

    .home-stage {
        padding-right: 18px;
        padding-left: 18px;
    }

    .run-card-body {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .run-hare {
        padding-right: 18px;
        padding-left: 18px;
    }

    .run-hare-photo {
        width: 122px;
        height: 122px;
    }

    .run-details {
        padding-right: 21px;
        padding-left: 21px;
    }

    .run-card-secondary {
        grid-template-columns: 82px minmax(0, 1fr) auto;
    }

    .run-card-secondary > .home-map-links {
        grid-column: 2 / -1;
    }

    .home-featured-notice {
        grid-template-columns: 1fr;
    }

    .home-featured-notice-media {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
        overflow: visible;
        background: #163c2a;
    }

    .home-featured-notice-media img {
        height: auto;
        object-fit: contain;
        border-radius: 0;
    }

    .home-featured-notice-copy,
    .home-featured-notice-copy-full {
        min-height: 0;
        padding: 18px 18px 24px;
    }

    .home-featured-notice h3 {
        margin-bottom: 7px;
        font-size: 20px;
    }

    .home-featured-notice-copy p {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .home-notice-copy-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .home-featured-notice .home-button {
        min-height: 38px;
        margin-top: 4px;
        padding: 8px 13px;
        font-size: 12px;
    }
}

@media (max-width: 1050px) {
    .home-photo-swiper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .ph3-home-page .footer {
        margin-left: 0;
        margin-bottom: 0;
    }

    .home-topbar {
        min-height: 64px;
        padding: 7px 12px;
    }

    .home-brand {
        gap: 9px;
    }

    .home-brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .home-brand-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 16px;
    }

    .home-brand-copy strong {
        max-width: none;
        font-size: 19px;
        line-height: 1;
        white-space: nowrap;
    }

    .home-brand-copy small {
        display: none;
    }

    .home-brand-name-full {
        display: none;
    }

    .home-brand-name-mobile {
        display: inline;
    }

    .home-topbar-actions {
        display: none;
    }

    .home-join-button {
        min-height: 39px;
        padding: 0 12px;
        font-size: 12px;
    }

    .home-admin-link {
        font-size: 17px;
    }

    .home-rail {
        display: none;
    }

    .home-rail-link {
        min-width: 48px;
        min-height: 56px;
        margin: 0;
        font-size: 17px;
    }

    .home-rail-link.is-active::before {
        top: -5px;
        left: 50%;
        width: 28px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        transform: translateX(-50%);
    }

    .home-rail-label {
        max-width: 53px;
        font-size: 7px;
    }

    .home-stage {
        margin-left: 0;
        padding: 82px 10px 42px;
        background-attachment: scroll;
    }

    .home-notice-track {
        align-items: flex-start;
    }

    .home-featured-notice {
        align-self: flex-start;
        align-content: start;
        grid-template-rows: auto auto;
    }

    .run-card-heading {
        align-items: flex-start;
        padding: 17px;
    }

    .run-card-heading h1 {
        font-size: 19px;
    }

    .home-map-links-compact {
        gap: 5px;
    }

    .home-map-links-compact .home-map-link {
        width: 36px;
        min-height: 36px;
    }

    .home-map-links-compact .home-map-link img {
        width: 22px;
        height: 22px;
    }

    .run-card-body {
        grid-template-columns: 1fr;
    }

    .run-hare {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 3px 14px;
        justify-items: start;
        padding: 18px;
        text-align: left;
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .run-hare-label {
        grid-column: 2;
        margin: 0;
    }

    .run-hare-photo {
        grid-row: 1 / 4;
        width: 86px;
        height: 86px;
        margin: 0;
        border-width: 4px;
    }

    .run-hare strong,
    .run-occasion {
        grid-column: 2;
    }

    .run-occasion {
        margin-top: 3px;
    }

    .run-details {
        padding: 8px 18px;
    }

    .run-detail-row {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    .run-detail-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .run-detail-row strong {
        font-size: 13px;
    }

    .run-directions summary,
    .run-directions-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .run-card-secondary {
        grid-template-columns: 68px minmax(0, 1fr) 48px;
        gap: 11px;
        padding: 13px;
    }

    .following-run-date {
        min-height: 68px;
    }

    .following-run-date small {
        display: none;
    }

    .following-run-date strong {
        font-size: 25px;
    }

    .following-run-main h2 {
        font-size: 16px;
    }

    .following-run-main p {
        font-size: 11px;
    }

    .following-run-photo {
        width: 46px;
        height: 46px;
    }

    .run-card-secondary > .home-map-links {
        grid-column: 1 / -1;
        justify-content: center;
    }

    .home-section-heading {
        padding: 0 5px;
    }

    .home-section-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 16px;
    }

    .home-section-heading h2 {
        font-size: 22px;
    }

    .home-text-notice,
    .home-event-card {
        padding: 19px;
    }

    .home-featured-notice-media {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
        overflow: visible;
        background: #163c2a;
    }

    .home-featured-notice-media img {
        height: auto;
        object-fit: contain;
        border-radius: 0;
    }

    .home-featured-notice-copy,
    .home-featured-notice-copy-full {
        min-height: 0;
        padding: 18px 18px 24px;
    }

    .home-featured-notice h3 {
        margin-bottom: 7px;
        font-size: 20px;
    }

    .home-featured-notice-copy p {
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .home-notice-copy-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .home-featured-notice .home-button {
        min-height: 38px;
        margin-top: 4px;
        padding: 8px 13px;
        font-size: 12px;
    }

    .home-notice-control {
        top: calc((100vw - 36px) / 2);
        width: 36px;
        height: 36px;
    }

    .home-notice-dots {
        right: 16px;
        bottom: 10px;
    }

    .home-welcome-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px 20px;
    }

    .home-photo-swiper {
        width: 100%;
        aspect-ratio: 16 / 8;
    }

    .home-photo-swiper-header {
        min-height: 58px;
        padding: 10px 13px;
    }

    .home-photo-swiper-header h2 {
        font-size: 15px;
    }

    .home-photo-slide > span {
        right: 14px;
        bottom: 26px;
        left: 14px;
    }

    .home-updates {
        padding-bottom: 8px;
    }
}

@media (max-width: 390px) {
    .home-brand {
        gap: 7px;
    }

    .home-brand-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .home-brand-copy {
        display: flex;
    }

    .home-brand-copy strong {
        font-size: 17px;
    }
}

/* Homepage noticeboard: image-first cards with a fixed-height detail modal. */
.home-updates-first {
    margin: 0 0 38px;
    padding-right: clamp(14px, 2.5vw, 30px);
    padding-left: clamp(14px, 2.5vw, 30px);
}

.home-updates-first .home-section-heading h1 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

.home-notice-slider-image-only .home-notice-track {
    align-items: stretch;
}

.home-notice-slider-image-only .home-featured-notice {
    min-width: 100%;
    height: auto;
    display: block;
}

.home-notice-slider-image-only .home-notice-control {
    z-index: 4;
    top: 50%;
}

.home-notice-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    display: block;
    overflow: hidden;
    padding: clamp(16px, 2vw, 24px) clamp(16px, 2.5vw, 30px);
    color: #fff;
    background: #163c2a;
    border: 0;
    cursor: pointer;
}

.home-notice-preview-backdrop {
    position: absolute;
    z-index: 0;
    inset: -22px;
    display: block;
    overflow: hidden;
    pointer-events: none;
}

.home-notice-preview-backdrop img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: blur(18px) brightness(.55) saturate(.85);
    transform: scale(1.08);
}

.home-notice-preview-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.home-notice-preview::after {
    content: '';
    position: absolute;
    z-index: 2;
    inset: 50% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(5, 30, 18, .58));
    pointer-events: none;
}

.home-notice-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 30px;
    background: radial-gradient(circle at 30% 25%, #2b6a49, #0b2f1e 70%);
}

.home-notice-placeholder .glyphicon {
    color: var(--home-lime);
    font-size: 38px;
}

.home-notice-placeholder strong {
    font-size: clamp(20px, 4vw, 34px);
}

.home-notice-open-label {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: var(--home-forest-dark);
    background: var(--home-lime);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .22);
}

body.notice-modal-open {
    overflow: hidden;
}

.home-notice-modal[hidden] {
    display: none;
}

.home-notice-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.home-notice-modal,
.home-notice-modal * {
    box-sizing: border-box;
}

.home-notice-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(3, 18, 11, .78);
    border: 0;
    backdrop-filter: blur(5px);
}

.home-notice-modal-panel {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    height: min(620px, calc(100vh - 40px));
    height: min(620px, calc(100dvh - 40px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--home-paper);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 16px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

.home-notice-modal-header {
    min-height: 60px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 10px 13px 10px 22px;
    color: var(--home-lime);
    background: var(--home-forest-dark);
}

.home-notice-modal-header > span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-notice-modal-header button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 0;
    border-radius: 9px;
}

.home-notice-modal-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 34px 38px 42px;
    color: var(--home-ink);
    overscroll-behavior: contain;
}

.home-notice-modal-intro {
    display: grid;
    grid-template-columns: minmax(240px, .95fr) minmax(0, 1.05fr);
    align-items: stretch;
    gap: 30px;
}

.home-notice-modal-intro-text-only {
    grid-template-columns: minmax(0, 1fr);
}

.home-notice-modal-image {
    width: 100%;
    display: grid;
    place-items: center;
    align-self: start;
    margin: 0;
    overflow: hidden;
    background: #173f2d;
    border-radius: 12px;
}

.home-notice-modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.home-notice-modal-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.home-notice-modal-summary h2 {
    margin: 0 0 12px;
    color: var(--home-ink);
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 850;
}

.home-notice-modal-subtitle {
    margin: 0;
    color: var(--home-forest);
    font-size: 17px;
    font-weight: 800;
}

.home-notice-modal-details {
    margin-top: 28px;
    padding-top: 25px;
    border-top: 1px solid var(--home-line);
}

.home-notice-modal-description {
    margin: 0 0 22px;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.75;
}

/* Manual upcoming-run carousel. */
.home-runs {
    margin-bottom: 38px;
}

.home-runs-heading {
    flex-wrap: wrap;
}

.home-run-controls {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.home-run-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--home-forest-dark) !important;
    background: var(--home-lime);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(3, 24, 15, .25);
}

.home-run-arrow {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: #09291b;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-run-viewport {
    overflow: hidden;
    border-radius: 15px;
    transition: height .28s ease;
}

.home-run-track {
    display: flex;
    align-items: flex-start;
    transition: transform .42s ease;
}

.home-run-slide {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
}

.home-run-slide .run-card {
    width: 100%;
    margin-bottom: 0;
}

.run-card-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
}

.run-card-heading h2 span {
    color: var(--home-lime);
}

.run-directions-visible {
    padding: 20px 24px 24px;
    color: #495b52;
    background: #fff;
    border-top: 1px solid var(--home-line);
    line-height: 1.65;
}

.run-directions-visible-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: var(--home-forest);
    font-size: 14px;
}

.run-directions-visible > p {
    margin: 0 0 16px;
}

.run-information-pending,
.public-run-preview-muted {
    color: var(--home-muted);
    font-style: italic;
}

.home-run-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 0 24px 24px;
    background: #fff;
}

.home-run-dots {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.home-run-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    border: 0;
    border-radius: 50%;
}

.home-run-dot.is-active {
    width: 22px;
    background: var(--home-lime);
    border-radius: 999px;
}

.home-photo-swiper-lower {
    order: initial;
    margin: 0 0 38px;
}

/* Shareable public full-run page. */
.public-run-preview {
    overflow: hidden;
    background: var(--home-paper);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
}

.public-run-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 27px 30px;
    color: #fff;
    background: linear-gradient(120deg, #16492f, #0c301f);
}

.public-page-frame .public-run-preview-header h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 850;
}

.public-run-preview-header p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .75);
}

.public-run-preview-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.public-run-preview-hare {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
    background: #f0f3e5;
    border-right: 1px solid var(--home-line);
}

.public-run-preview-hare small {
    color: var(--home-leaf);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.public-run-preview-hare strong {
    margin-top: 6px;
    color: var(--home-ink);
    font-size: 19px;
}

.public-run-preview-facts {
    margin: 0;
    padding: 19px 30px;
}

.public-run-preview-facts > div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--home-line);
}

.public-run-preview-facts > div:last-child {
    border-bottom: 0;
}

.public-run-preview-facts dt {
    color: var(--home-muted);
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.public-run-preview-facts dd {
    margin: 0;
    color: var(--home-ink);
    font-weight: 700;
}

.public-run-preview-facts dd img {
    width: auto;
    max-width: 40px;
    height: auto;
    margin-top: 10px;
    vertical-align: middle;
}

.public-run-preview-facts > .public-run-preview-directions-main {
    margin: 4px -14px;
    padding: 18px 14px;
    background: #f5f7eb;
    border-bottom: 0;
    border-radius: 11px;
}

.public-run-preview-directions-main dt {
    color: var(--home-forest);
    font-weight: 900;
}

.public-run-preview-directions-main dd > p {
    margin: 0 0 14px;
    line-height: 1.65;
}

.public-run-preview-directions-main dd > p:last-child {
    margin-bottom: 0;
}

.public-run-preview-directions-main .home-map-links {
    margin-top: 14px;
}

.public-run-preview-directions {
    padding: 30px;
    color: #495b52;
    border-top: 1px solid var(--home-line);
    line-height: 1.75;
}

.public-run-preview-directions h2 {
    margin: 0 0 17px;
    color: var(--home-ink);
    font-weight: 850;
}

.public-run-preview-onon-content img {
    width: auto;
    max-width: 40px;
    height: auto;
    margin-top: 10px;
    vertical-align: middle;
}

.tl-footer {
    align-items: center;
    gap: 10px;
}

.tl-report-link a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--home-forest);
    background: #eef2e6;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .home-updates-first .home-section-heading h1 {
        font-size: 22px;
    }

    .home-notice-preview {
        aspect-ratio: 4 / 5;
        padding-top: 18px;
        padding-right: 18px;
        padding-bottom: 18px;
        padding-left: 18px;
    }

    .home-notice-open-label {
        right: 12px;
        bottom: 12px;
    }

    .home-notice-modal {
        padding: 10px;
    }

    .home-notice-modal-panel {
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        border-radius: 13px;
    }

    .home-notice-modal-body {
        padding: 26px 21px 34px;
    }

    .home-notice-modal-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .home-notice-modal-image {
        height: auto;
        max-height: none;
        border-radius: 9px;
    }

    .home-notice-modal-image img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    .home-notice-modal-details {
        margin-top: 23px;
        padding-top: 21px;
    }

    .home-run-controls button {
        width: 38px;
        height: 38px;
    }

    .run-directions-visible,
    .home-run-card-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .home-run-card-footer .home-button {
        width: 100%;
    }

    .home-photo-swiper-lower {
        aspect-ratio: 16 / 8;
    }

    .public-run-preview-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px 20px;
    }

    .public-run-preview-grid {
        grid-template-columns: 1fr;
    }

    .public-run-preview-hare {
        border-right: 0;
        border-bottom: 1px solid var(--home-line);
    }

    .public-run-preview-facts {
        padding: 12px 20px;
    }

    .public-run-preview-facts > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .public-run-preview-facts > .public-run-preview-directions-main {
        margin-right: 0;
        margin-left: 0;
    }

    .public-run-preview-directions {
        padding: 25px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-notice-track,
    .home-photo-swiper-track,
    .home-run-track,
    .home-map-link,
    .home-join-button,
    .directions-chevron {
        transition: none;
    }
}
