/* Page-specific Trips styles go here */
body {
    background-color: rgb(0, 0, 0);
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.panel-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

.top-subnav {
    justify-content: center;
}

.subnav-scroll-target {
    scroll-margin-top: calc(var(--main-navbar-height, 88px) + var(--subnav-height, 48px));
}

#surf-trip-2026 {
    min-height: calc(100vh - var(--main-navbar-height, 88px) - var(--subnav-height, 48px));
    min-height: calc(100dvh - var(--main-navbar-height, 88px) - var(--subnav-height, 48px));
    padding: 0;
}

.trip-banner-panel {
    min-height: calc(100vh - var(--main-navbar-height, 88px) - var(--subnav-height, 48px));
    min-height: calc(100dvh - var(--main-navbar-height, 88px) - var(--subnav-height, 48px));
    padding: 0;
}

.trip-banner-wrap {
    width: 100%;
    padding: 0;
    margin: 0;
    align-self: flex-start;
}

.trip-banner-panel .panel-content,
#surf-trip-2026 .panel-content {
    width: 100%;
    padding: 0;
}

.trip-image-banner {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.75rem 1.75rem;
    background: rgba(0, 0, 0, 0.88);
    line-height: 1;
    text-align: center;
}

.bodyboarding-slideshow,
.bodyboarding-trips-slideshow,
.coaches-slideshow,
.yoga-slideshow {
    border-bottom: 10px solid rgb(0, 0, 0);
    box-shadow: inset 0 -4px 0 rgb(0, 0, 0);
}

.male-atoll-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    min-height: 70vh;
    max-height: 72vh;
    overflow: hidden;
}

.south-atoll-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background:  rgb(0, 0, 0);
    min-height: 70vh;
    max-height: 72vh;
    overflow: hidden;
}

.male-atoll-image-wrap {
    width: 100%;
    height: 100%;
}

.male-atoll-image {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    max-height: 72vh;
    object-fit: cover;
    object-position: 25% center;
    display: block;
    border: 12px solid #ffffff;
}

.male-atoll-content {
    padding: 3.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    min-width: 0;
}

.male-atoll-content h2,
.male-atoll-content h3,
.male-atoll-content p {
    color:  rgb(0, 0, 0);
    margin: 0;
    text-align: left;
}

.male-atoll-content p {
    margin-top: 0.8rem;
    max-width: 60ch;
    line-height: 1.7;
}

.south-atoll-section .male-atoll-image {
    object-position: center;
    border-color:  rgb(0, 0, 0);
    border-width: 12px;
}

.south-atoll-section .male-atoll-content h2,
.south-atoll-section .male-atoll-content h3,
.south-atoll-section .male-atoll-content p {
    color: #fff;
}

@media (max-width: 992px) {
    .south-atoll-section {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .south-atoll-section .male-atoll-image-wrap {
        order: -1;
    }

    .south-atoll-section .male-atoll-content {
        order: 1;
    }

    .male-atoll-image {
        border: none;
    }

}

@media (max-width: 768px) {
    .male-atoll-section {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .south-atoll-section {
        grid-template-columns: 1fr;
        min-height: auto;
        max-height: none;
    }

    .male-atoll-image {
        min-height: 42vh;
        max-height: none;
    }

    .male-atoll-content {
        padding: 1.6rem 1.1rem 2rem;
    }

    .trip-image-banner {
        padding: 1.25rem 1.25rem;
    }

}
