/* Race Course feature page — /about/features/race_course/
   Scoped under the page-specific body class .race-course (set via pageClass in op_trailforks.php).
   This file is emitted before _common-min.css, and the core bundle contains generic #section1
   rules for other landing pages — the extra class wins both battles on specificity. */
@import url(https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i);

body.race-course {
    background-color: #f3f3f3;
    font-family: 'Montserrat', sans-serif !important;
}

.race-course h1, .race-course h2, .race-course h3 {
    font-family: 'Montserrat', sans-serif !important;
    text-transform: none !important;
    font-weight: 600;
}

.race-course .box1 {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 5px;
}

.race-course img {
    border-radius: 5px;
}

.race-course .image-wrapper img,
.race-course .col-6 img {
    width: 100%;
}

.race-course .download-cta {
    display: inline-block;
    background-color: #ffd100;
    color: #000000;
    width: 90%;
    max-width: 400px;
    padding: 13px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    font-size: 22px !important;
    font-weight: bold;
}

.race-course .download-cta:hover {
    background-color: #dcb400;
    color: #000000;
    text-decoration: none !important;
}

.race-course .section-cta {
    padding-top: 0 !important;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.race-course .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.race-course .card {
    background-color: #ffffff;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.race-course .card .card-content {
    padding: 25px !important;
    font-size: 15px;
    line-height: 160%;
}

.race-course .card .card-content ul {
    padding: 10px 0;
    font-size: 15px;
    line-height: 160%;
}

.race-course .card .image-wrapper {
    padding: 0 20px;
}

.race-course .card img {
    border-radius: 15px;
    border: 2px solid #aaaaaa;
}

.race-course .card h3 {
    font-size: 20px;
    min-height: 50px;
}

.race-course .card.compact h3 {
    font-size: 20px;
    min-height: 20px;
}

.race-course .flex-col {
    flex-direction: column;
}

.race-course .justify-between {
    justify-content: space-between;
}

.race-course .gap-default {
    gap: 15px;
}

.race-course .section-container {
    width: 90%;
}

.race-course h2.large {
    font-size: 2em !important;
}

.race-course h2.larger {
    font-size: 3em !important;
}

.race-course .large {
    font-size: 120% !important;
}

.race-course .font-medium {
    font-size: 15px;
}

.race-course .section ul {
    list-style: circle;
    margin-left: 20px;
    font-size: 120%;
}

.race-course .hero-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 15px;
    max-width: 90%;
    border-radius: 5px;
}

.race-course .hero-overlay-text {
    max-width: 650px;
    line-height: 1.5;
}

.race-course .widget-embed {
    border: 0;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
}

.race-course #section1 {
    height: 35vh;
    min-height: 260px;
    background-repeat: no-repeat;
}

.race-course #section1 .section-container {
    height: 35vh;
}

.race-course #section2 {
    height: 45vh;
    background-repeat: no-repeat;
}

.race-course #section3 {
    height: 40vh;
    background-repeat: no-repeat;
    margin-bottom: -130px;
}

@media screen and (max-width: 980px) {
    .race-course .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .race-course h3 {
        overflow-x: visible !important;
        padding-bottom: 20px;
    }

    .race-course .download-cta {
        margin: 0 auto;
    }

    .race-course h2.large {
        font-size: 1.3em !important;
    }
}

@media screen and (max-width: 768px) {
    .race-course .card-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .race-course .image-wrapper {
        margin: auto;
        text-align: center;
    }

    .race-course #section1, .race-course #section3 {
        background-position: center !important;
        padding-top: 50px !important;
    }

    .race-course #section1, .race-course #section2, .race-course #section3 {
        height: 45vh !important;
        min-height: 0;
    }

    .race-course #section1 .section-container {
        height: 100%;
    }

    .race-course .font-1 {
        font-size: 2.2rem;
    }

    .race-course .larger {
        font-size: 120% !important;
    }

    .race-course h1 {
        margin-bottom: 0;
    }

    .race-course h2, .race-course h3 {
        white-space: normal;
        text-overflow: clip;
        overflow-x: visible;
    }

    .race-course .section-fullscreen {
        padding-top: 25px;
    }
}
