/* Ride Murfreesboro: homepage hero and /ridemurfreesboro/. Colors come from the logo. */
.ride-hero, .ride-about, .ride-map, .ride-gpx, .ride-stay {
    --ride-ink: #0b0a06;
    --ride-cream: #fadda6;
    --ride-paper: #fbf1db;
    --ride-red: #bc2415;
    --ride-gold: #edb137;
    --ride-sage: #80a99c;
}

/* Photo hero */
.ride-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: max(760px, 56.25vw); max-height: 1040px; padding: 130px 0 150px; background: var(--ride-ink); }
.ride-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.ride-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,10,6,.88) 0%, rgba(11,10,6,.72) 30%, rgba(11,10,6,.45) 46%, rgba(11,10,6,.16) 62%, rgba(11,10,6,0) 82%); }
.ride-hero__inner { position: relative; }
.ride-hero__copy { max-width: 600px; }
.ride-hero__logo { display: block; width: 100%; max-width: 540px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.65)); }
.ride-hero h1, .ride-hero h2 { margin: 0; }
.ride-hero__headline { font-family: Oswald, Poppins, sans-serif; font-weight: 700; text-transform: uppercase; color: var(--ride-cream); font-size: clamp(30px, 3.6vw, 50px); line-height: 1.12; }
.ride-hero p { color: #fff; font-size: 17px; margin: 14px 0 26px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.ride-hero .ride-eyebrow { display: inline-block; background: var(--ride-red); color: #fff; padding: 5px 14px; margin: 0 0 14px; text-shadow: none; }

/* Ride page hero: aerial photo, riders on the left, logo on the right */
.ride-hero--page { text-align: center; padding: 220px 0 40px; }
.ride-hero__tag span { display: block; color: inherit; } /* responsive.css paints every span black on small screens */
.ride-hero--page::after { background: linear-gradient(270deg, rgba(11,10,6,.82) 0%, rgba(11,10,6,.66) 28%, rgba(11,10,6,.3) 46%, rgba(11,10,6,0) 62%); }
.ride-hero--page .ride-hero__photo { object-position: 30% 50%; }
.ride-hero__panel { width: 100%; max-width: 560px; margin-left: auto; }
.ride-hero.ride-hero--page .ride-hero__logo { max-width: 100%; margin: 0 auto 20px; }
.ride-hero--page .ride-hero__tag { font-family: Oswald, Poppins, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(18px, 2vw, 25px); color: var(--ride-cream); }

/* Buttons */
.ride-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ride-actions--start, .ride-hero__copy .ride-actions { justify-content: flex-start; }
.ride-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 2px solid transparent; border-radius: 4px; font-family: Oswald, Poppins, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: .03em; transition: transform .15s, filter .15s; }
.ride-btn:hover, .ride-btn:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.ride-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0b0a06; }
.ride-btn--red, .ride-btn--red:hover { background: #bc2415; color: #fff; }
.ride-btn--gold, .ride-btn--gold:hover { background: #edb137; color: #0b0a06; }
.ride-btn--dark, .ride-btn--dark:hover { background: #0b0a06; color: #fadda6; }
.ride-btn--ghost, .ride-btn--ghost:hover { border-color: #fadda6; color: #fadda6; background: rgba(11,10,6,.45); }
.ride-btn--big { font-size: 22px; padding: 18px 30px; }

/* Page sections */
.ride-about, .ride-map, .ride-gpx, .ride-stay { padding: 80px 0; }
.ride-about h2, .ride-map h2, .ride-gpx h2, .ride-stay h2 { font-family: Oswald, Poppins, sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 4.5vw, 54px); margin-bottom: 20px; }
.ride-eyebrow { font-family: Oswald, Poppins, sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.ride-about { background: var(--ride-paper); color: #2b261a; }
.ride-about h2 { color: var(--ride-ink); }
.ride-about .ride-eyebrow { color: var(--ride-red); }
.ride-about p { color: #2b261a; }
.ride-lead { font-size: 21px; line-height: 1.6; }
.ride-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 44px 0 0; }
.ride-facts li { background: var(--ride-ink); border-bottom: 6px solid var(--ride-gold); border-radius: 6px; padding: 28px 16px; text-align: center; }
.ride-facts li:nth-child(2) { border-color: var(--ride-red); }
.ride-facts li:nth-child(3) { border-color: var(--ride-sage); }
.ride-facts li:nth-child(4) { border-color: var(--ride-red); }
.ride-facts i { display: block; font-size: 28px; color: var(--ride-sage); margin-bottom: 10px; }
.ride-facts strong { display: block; font-family: Oswald, Poppins, sans-serif; font-size: 40px; line-height: 1.1; text-transform: uppercase; color: var(--ride-cream); }
.ride-facts span { color: #fff; font-size: 14px; }

.ride-map { background: #1f3329; text-align: center; scroll-margin-top: 80px; }
.ride-map h2 { color: var(--ride-cream); }
.ride-map .ride-eyebrow { color: var(--ride-gold); }
.ride-map__art { position: relative; display: block; max-width: 1040px; margin: 0 auto; }
.ride-map__art img { width: 100%; height: auto; }
.ride-map__zoom { position: absolute; right: 8px; bottom: 8px; background: var(--ride-ink); color: #fff; border-radius: 30px; padding: 6px 14px; font-size: 13px; }
.ride-map__note { color: #e6efe9; margin: 20px 0; }
.ride-stops { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 36px 0 0; }
.ride-stops li { border: 1px solid var(--ride-sage); color: #fff; border-radius: 30px; padding: 7px 18px; }

.ride-gpx { background: var(--ride-ink); scroll-margin-top: 80px; }
.ride-gpx h2 { color: var(--ride-cream); }
.ride-gpx .ride-eyebrow { color: var(--ride-gold); }
.ride-gpx p { color: #fff; }
.ride-steps { list-style: none; counter-reset: step; padding: 0; margin: 30px 0 0; }
.ride-steps li { counter-increment: step; position: relative; padding: 4px 0 22px 66px; color: #e9e4d6; min-height: 66px; }
.ride-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ride-red); color: #fff; font: 700 22px/46px Oswald, sans-serif; text-align: center; }
.ride-steps strong { color: var(--ride-cream); }

.ride-stay { background: var(--ride-gold); padding-bottom: 200px; }
.ride-stay h2, .ride-stay p { color: var(--ride-ink); }
.ride-stay .ride-actions { margin-top: 24px; }

.ride-page .footer-style-one { background: var(--secondary); margin-top: -120px; }
.ride-page .footer-style-one .footer-info .footer-info-title, .ride-page .footer-style-one .footer-info .footer-info-title a, .ride-page .footer-style-one .footer-info p { color: #fff; }

@media (max-width: 991px) {
    .ride-facts { grid-template-columns: repeat(2, 1fr); }
    .ride-gpx .ride-steps { margin-top: 44px; }
}
@media (max-width: 767px) {
    .ride-hero { align-items: flex-end; min-height: 0; max-height: none; padding: 150px 0 140px; }
    .ride-hero .ride-hero__logo { max-width: 340px; margin: 0 auto 12px; }
    .ride-hero__copy p:not(.ride-eyebrow) { font-size: 15px; margin: 10px 0 18px; }
    .ride-hero__photo { object-position: 66% 50%; height: 440px; bottom: auto; }
    .ride-hero::after { background: linear-gradient(180deg, rgba(11,10,6,0) 80px, rgba(11,10,6,.75) 250px, #0b0a06 440px); }
    .ride-hero--page { padding: 270px 0 50px; }
    .ride-hero--page .ride-hero__photo { height: 440px; object-position: 24% 50%; }
    .ride-hero--page::after { background: linear-gradient(180deg, rgba(11,10,6,0) 220px, rgba(11,10,6,.7) 330px, #0b0a06 440px); }
    .ride-actions .ride-btn { width: 100%; justify-content: center; }
    .ride-about, .ride-map, .ride-gpx { padding: 56px 0; }
}

.ride-about p + p { margin-top: 20px; }
.ride-gpx .ride-actions { margin-top: 28px; }

/* Full video in the lightbox */
.vbox-content .ride-video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 85vh; background: #000; }
.vbox-content .ride-video__error { color: #fff; background: #bc2415; padding: 12px; margin: 0; }
