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

.home-hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    overflow: hidden;
    background-color: var(--color-secondary);
}

.home-hero__slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.home-hero__slider:active {
    cursor: grabbing;
}

.home-hero__track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    transform: translateZ(0);
}


.home-hero__slide {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    overflow: hidden;
}

.home-hero__media {
    position: absolute;
    inset: 0;
}

.home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* -----------------------------------
	  Content
----------------------------------- */
.home-hero__content-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15%;
    padding-left: 15%;
    text-align: center;
}

.home-hero__content {
    max-width: 980px;
    color: #fff;
    text-align: right;
}

.home-hero__text {
    font-size: var(--font-size-h2);
    font-weight: 500;
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* -----------------------------------
   Button
----------------------------------- */

.home-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s ease;
    font-size: var(--font-size-body);
    position: relative;
    padding-bottom: 5px;
}

.home-hero__button::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: transform 0.25s ease-out;
    transform-origin: bottom left;
}

.home-hero__button:hover::after {
    transform: scaleX(1);
    transform-origin: bottom right;
}

/* .home-hero__button:hover,
.home-hero__button:focus-visible {
    opacity: 1;
    color: var(--color-accent);
} */

.home-hero__button-icon {
    font-size: var(--font-size-body);
    line-height: var(--line-height-heading);
}

/* -----------------------------------
   Pagination
----------------------------------- */

.home-hero__pagination {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 20;
    width: auto;
}

.home-hero .home-hero__pagination .home-hero__dot {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    display: inline-block;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.9;
}

/* Outer Ring */
.home-hero__dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform:
        translate(-50%, -50%) scale(0.7);
    opacity: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.home-hero__dot.is-active::after {
    opacity: 1;
    transform:
        translate(-50%, -50%) scale(1);
}

/* Drag UX */
.home-hero__slider {
    height: 100%;
    position: relative;
    cursor: grab;
    user-select: none;
}

.home-hero__slider:active {
    cursor: grabbing;
}

/* Accessibility */
.home-hero__button:focus-visible,
.home-hero__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}


@media screen and (max-width: 991px) {
    .home-hero {
        min-height: 640px;
    }

    .home-hero__content-container {
        align-items: start;
        padding-top: 150px;
    }
}


@media screen and (max-width: 767px) {
    .home-hero {
        min-height: 580px;
        height: 85svh;
    }

    .home-hero__content-container {
        align-items: start;
        padding-top: 150px;
    }

    .home-hero__content {
        max-width: 100%;
    }

    .home-hero__pagination {
        bottom: 1.5rem;
    }

    .home-hero__text {
        font-size: 25px;
    }

    .home-hero__button {
        font-weight: 700;
    }
}



/* ==========================================================================
   HOME INTRO
========================================================================== */
.home-intro {
    padding: var(--section-spacing);
}

.home-intro__container {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* -----------------------------------
   Logos
----------------------------------- */
.home-intro__logos {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.home-intro__logo {
    flex: 1;
    min-width: 0;
}

.home-intro__logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


@media (max-width: 767px) {
    .home-intro__logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-intro__logo {
        flex: 1 1 28%;
        max-width: 30%;
    }

    .home-intro__logo:nth-child(4),
    .home-intro__logo:nth-child(5) {
        flex: 1 1 40%;
        max-width: 45%;
    }
}



/* -----------------------------------
   Content
----------------------------------- */
.home-intro__content {
    max-width: var(--container-width-narrow);
    margin: 0 auto 4rem;
    text-align: center;
}

.home-intro__heading {
    margin-bottom: 2rem;
    font-size: var(--font-size-h1);
    line-height: var(--line-height-heading);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-heading);
    color: var(--color-accent);
    text-transform: capitalize;
}

.home-intro__subheading {
    margin-bottom: 2rem;
    line-height: var(--line-height-heading);
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    font-size: var(--font-size-h2);
    padding-bottom: 0;
}

.home-intro__text {
    max-width: var(--container-width-narrow);
    margin: 0 auto;
    font-size: var(--font-size-body-large);
    line-height: var(--line-height-body);
    color: black;
}

.home-intro__text p:not(:last-child) {
    margin-bottom: 1.5rem;
}

/* -----------------------------------
   Video
----------------------------------- */
.home-intro__video {
    max-width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   VIDEO EMBED COMPONENT
========================================================================== */
.video-embed {
    position: relative;
    width: 100%;
}

.video-embed__inner {
    position: relative;
    width: 100%;
    padding-bottom: 0;
    overflow: hidden;
}

.video-embed__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 991px) {
    .home-intro__logos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .home-intro__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .home-intro {
        padding: var(--section-spacing-mobile);
    }

    .home-intro__heading {
        font-size: var(--font-size-h1-mobile);
    }

    .home-intro__subheading {
        font-size: var(--font-size-h2-mobile);
    }
}


@media screen and (max-width: 467px) {
    .home-intro {
        padding: 4rem 1rem;
    }

    .home-intro__text {
        font-size: var(--font-size-body);
    }
}


/* ==========================================================================
   POPULAR RIDES
========================================================================== */
.popular-rides {
    padding: var(--section-spacing);
    background-color: var(--color-neutral);
}

.popular-rides__container {
    max-width: 1300px;
    margin: 0 auto;
}

.popular-rides__header {
    margin-bottom: 60px;
    text-align: center;
}

.popular-rides__heading {
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 0;
}

.popular-rides-button__container {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .popular-rides__heading {
        font-size: var(--font-size-h2-mobile);
    }
}

@media screen and (max-width: 467px) {
    .popular-rides {
        padding: var(--section-spacing-mobile);
    }
}


/* ==========================================================================
   HOME RIDING LEVELS
========================================================================== */
.home-riding-levels {
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing);
    display: flex;
    justify-content: center;
}

/* -----------------------------------
   Background
----------------------------------- */
.home-riding-levels__background {
    position: absolute;
    inset: 0;
    background-color: var(--color-accent);
    opacity: 0.7;
}

.home-riding-levels__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-riding-levels__overlay {
    position: absolute;
    inset: 0;
    opacity: 0.7;
}

/* -----------------------------------
   Container
----------------------------------- */
.home-riding-levels__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-width: var(--container-width);
    padding: 0 2rem;
}

/* -----------------------------------
   Content
----------------------------------- */

.home-riding-levels__content {
    max-width: var(--container-width);
    text-align: center;
    color: var(--color-white);
}

.home-riding-levels__heading {
    margin-bottom: 40px;
    color: var(--color-white);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
}

.home-riding-levels__text {
    max-width: var(--container-width);
    margin:
        0 auto 50px;
    font-size: var(--font-size-body-large);
    line-height: var(--line-height-body);
    font-weight: 400;
}

@media screen and (max-width: 991px) {
    .home-riding-levels__text {
        font-size: var(--font-size-body);
        line-height: var(--line-height-body);
    }
}

@media screen and (max-width: 767px) {
    .home-riding-levels {
        padding: var(--section-spacing-mobile);
    }

    .home-riding-levels__container {
        min-height: auto;
        padding: 0;
    }

    .home-riding-levels__heading {
        margin-bottom: 28px;
        font-size: var(--font-size-h2-mobile);
    }

    .home-riding-levels__text {
        margin-bottom: 40px;
        font-size: var(--font-size-body);
        line-height: var(--line-height-body);
    }

}

/* ==========================================================================
   HOME RIDING FOCUS
========================================================================== */
.home-riding-focus {
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing);
    display: flex;
    justify-content: center;
}

/* -----------------------------------
   Container
----------------------------------- */
.home-riding-focus__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-width: var(--container-width);
    padding: 0 2rem;
}

/* -----------------------------------
   Content
----------------------------------- */

.home-riding-focus__content {
    max-width: var(--container-width);
    text-align: center;
    color: var(--color-black);
}

.home-riding-focus__heading {
    margin-bottom: 40px;
    color: var(--color-black);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
}

.home-riding-focus__text {
    max-width: var(--container-width);
    margin:
        0 auto 50px;
    font-size: var(--font-size-body-large);
    line-height: var(--line-height-body);
    font-weight: 400;
}

.home-riding-focus__content .card-slider .flickity-prev-next-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50% !important;
    background: transparent;
    padding: 10px;
}

.home-riding-focus__content .card-slider .flickity-prev-next-button:hover {
    background: var(--color-accent);
    transform: translateY(-50%);
}

.home-riding-focus__content .card-slider .flickity-prev-next-button:focus {
    outline: none;
    box-shadow: none;
}

.home-riding-focus__content .card-slider .flickity-button-icon {
    fill: var(--color-black);
    width: 15px;
    height: 15px;
    top: 12px;
    left: 12px;
}

.home-riding-focus__content .card-slider .flickity-prev-next-button:hover .flickity-button-icon {
    fill: var(--color-white);
}

.home-riding-focus__content .card-slider .flickity-prev-next-button.previous {
    left: -40px;
}

.home-riding-focus__content .card-slider .flickity-prev-next-button.next {
    right: -40px;
}

@media screen and (max-width: 991px) {
    .home-riding-focus__text {
        font-size: var(--font-size-body);
        line-height: var(--line-height-body);
    }
}

@media screen and (max-width: 767px) {
    .home-riding-focus {
        padding: var(--section-spacing-mobile);
    }

    .home-riding-focus__container {
        min-height: auto;
        padding: 0;
    }

    .home-riding-focus__heading {
        margin-bottom: 28px;
        font-size: var(--font-size-h2-mobile);
    }

    .home-riding-focus__text {
        margin-bottom: 40px;
        font-size: var(--font-size-body);
        line-height: var(--line-height-body);
    }

}


/* ==========================================================================
   HOME DESTINATIONS
========================================================================== */
.home-destinations {
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing);
    display: flex;
    justify-content: center;
    background-color: var(--color-secondary);
}

/* -----------------------------------
   Container
----------------------------------- */
.home-destinations__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-width: var(--container-width);
    padding: 0 2rem;
}

/* -----------------------------------
   Content
----------------------------------- */

.home-destinations__content {
    max-width: var(--container-width);
    text-align: center;
    color: var(--color-white);
}

.home-destinations__heading {
    margin-bottom: 40px;
    color: var(--color-white);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
}

.home-destinations__text {
    max-width: var(--container-width);
    margin:
        0 auto 50px;
    font-size: var(--font-size-body-large);
    line-height: var(--line-height-body);
    font-weight: 400;
}


.home-destinations__content .card-slider--overlay-content {
    margin-bottom: 4rem;
}

.home-destinations__content .card-slider--overlay-content .flickity-button-icon {
    fill: var(--color-black);
    width: 15px;
    height: 15px;
    top: 12px;
    left: 12px;
}

@media (max-width: 991px) {
    .home-destinations {
        padding: var(--section-spacing-mobile);
    }
}

@media (max-width: 767px) {
    .home-destinations__container {
        padding: 0;
    }

    .home-destinations__heading {
        font-size: var(--font-size-h2-mobile);
    }
}


/* ==========================================================================
   HOME FOUNDATION
========================================================================== */
.home-foundation {
    padding: var(--section-spacing);
    justify-content: center;
    display: flex;
}

.home-foundation__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: var(--container-width);
    padding: 0 2rem;
}

@media (max-width: 991px) {
    .home-foundation {
        padding: var(--section-spacing-mobile);
    }

}

@media (max-width: 767px) {
    .home-foundation__container{
        padding: 0;
    }
}



/* ==========================================================================
   HOME REVIEWS
========================================================================== */
.home-reviews {
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing);
}

/* -----------------------------------
   Background
----------------------------------- */
.home-reviews__background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .2;
}

.home-reviews__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.686);
}

/* -----------------------------------
   Content
----------------------------------- */
.home-reviews__inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.home-reviews__heading {
    margin-bottom: 48px;
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
    color: var(--color-black);
}

.home-reviews__button {
    margin-top: 20px;
}


@media (max-width: 991px) {
    .home-reviews {
        padding: var(--section-spacing-mobile);
    }
}

@media (max-width: 767px) {
    .home-reviews__heading {
        font-size: var(--font-size-h2-mobile);
    }
}


/* ==========================================================================
   HOME Instagram
========================================================================== */
.home-instagram {
    position: relative;
    overflow: hidden;
    padding: var(--section-spacing);
    text-align: center;
}

.home-instagram__feed {
    min-height: 700px;
}

.home-instagram__icon {
    margin-bottom: 15px;
}

.home-instagram__icon i{
    color: var(--color-accent);
}

.home-instagram__heading {
    margin-bottom: 48px;
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
    color: var(--color-black);
}

@media (max-width: 991px) {
    .home-instagram {
        padding: var(--section-spacing-mobile);
    }
}

@media (max-width: 767px) {
    .home-instagram__heading {
        font-size: var(--font-size-h2-mobile);
    }
}


/* ==========================================================================
   HOME NEWS
========================================================================== */
.home-news__inner {
    text-align: center;
}

.home-news__icon {
    margin-bottom: 20px;
}

.home-news__heading {
    margin-bottom: 56px;
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    font-weight: 400;
    color: var(--color-black);
}

.home-news__button {
    margin-top: 56px;
}

.home-news__icon-image {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 991px) {

    .post-feed--cols-3 .post-feed__grid,
    .post-feed--cols-4 .post-feed__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-feed--classic-enhanced .post-feed__title {
        font-size: 26px;
    }

}

@media screen and (max-width: 767px) {
    .home-news__heading {
        margin-bottom: 40px;

        font-size: var(--font-size-h2-mobile);
    }

    .home-news__button {
        margin-top: 40px;
    }
}