/* ==========================================================================
   Item Details — shared styles for location & event detail pages
   ========================================================================== */

:root {
    --odp-detail-header-height: 300px;
}

@media screen and (width >= 768px) {
    :root {
        --odp-detail-header-height: 400px;
    }
}

@media screen and (width >= 1080px) {
    :root {
        --odp-detail-header-height: 500px;
    }
}

/* --------------------------------------------------------------------------
   ODP detail container — stretch-full variant
   -------------------------------------------------------------------------- */

.odp-detail-container--stretch-full .odp__header-container {
    position: relative;
}

.odp-detail-container--stretch-full .odp__header-container::before {
    background: #fdf7ef;
    content: "";
    inset: -33px 0 -33px 0;
    position: absolute;
}

@media screen and (width >= 768px) {
    .odp-detail-container--stretch-full .odp__header-container::before {
        bottom: -45px;
        top: -45px;
    }
}

/* --------------------------------------------------------------------------
   Header: image + contact block
   -------------------------------------------------------------------------- */

.item-details__item-details-header {
    display: flex;
    flex-direction: column-reverse;
    margin: 0 auto;
    max-width: 1358px;
    position: relative;
    width: 100%;
}

@media screen and (width >= 1080px) {
    .item-details__item-details-header {
        flex-direction: row-reverse;
    }
}

.odp-detail-container--stretch-full .item-details__item-details-header {
    margin-top: 45px;
}

@media screen and (width >= 1080px) {
    .odp-detail-container--stretch-full .item-details__item-details-header {
        background: transparent;
        border-right: 0;
    }
}

/* Image */

.item-carousel {
    height: var(--odp-detail-header-height);
}

.item-carousel__container,
.item-carousel__item {
    height: 100%;
}

.item-carousel__image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.odp-detail-container--stretch-full .item-details__image {
    margin-top: 0;
}

@media screen and (width >= 1080px) {
    .odp-detail-container--stretch-full .item-details__image {
        width: calc(50% + 45px);
    }

    .odp-detail-container--stretch-full .item-carousel {
        height: 100%;
        min-height: 600px;
    }
}

/* Contact block */

.item-details__contact-block {
    background: var(--color-navy);
}

.odp-detail-container--stretch-full .item-details__contact-block {
    background: #193153;
}

@media screen and (width >= 1080px) {
    .item-details__contact-block {
        border-bottom-right-radius: 20px;
        margin-bottom: 111px;
        margin-left: -45px;
        margin-top: 45px;
        width: 50%;
        z-index: 1;
    }
}

/* Title */

.item__title {
    color: var(--color-white);
    font-size: var(--h2-fs);
    line-height: var(--h2-lh);
    margin-bottom: 0;
    padding: 18px 33px 0;
}

@media screen and (width >= 768px) {
    .item__title {
        margin-top: 51px;
        padding: 0 60px;
    }
}

/* --------------------------------------------------------------------------
   Contact information block
   -------------------------------------------------------------------------- */

.odp-contact-information {
    background: var(--color-navy);
    color: var(--color-white);
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
    margin-bottom: 0;
    padding: 30px 30px 0;
    position: relative;
    width: 100%;
}

@media screen and (width >= 768px) {
    .odp-contact-information {
        padding: 30px 60px 0;
    }
}

.odp-contact-information__header {
    color: var(--color-white);
    font-size: var(--h3-fs);
    line-height: var(--h3-lh);
    width: 100%;
}

.odp-detail-container--stretch-full .odp-contact-information__header {
    border: 0;
    clip-path: circle(0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.odp-contact-information__column {
    margin-bottom: 30px;
    min-width: 200px;
    width: 100%;
}

@media screen and (width >= 500px) {
    .odp-contact-information__column {
        width: calc(50% - 15px);
    }
}

.odp-detail-container--stretch-full .odp-contact-information__column {
    width: 100%;
}

.odp-contact-information__address {
    font-style: normal;
}

.odp-contact-information__route__link {
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
}

.odp-contact-information__route__link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* Contact options (phone, email, website, route) */

.odp-contact-information__contact-options {
    margin: 0;
    padding: 0;
}

.contact-options__option {
    margin-bottom: 8px;
}

.contact-options__link,
.contact-options__link:hover {
    color: var(--color-white);
    text-decoration: none;
}

.contact-options__icon {
    margin-right: 8px;
}

.contact-options__short-label {
    display: none;
}

.contact-options__long-label {
    font-weight: 700;
    text-decoration: underline;
}

.contact-options__link:hover .contact-options__long-label {
    text-decoration: none;
}

.contact-options__option--phone .contact-options__long-label {
    font-weight: 400;
    text-decoration: none;
}

@media screen and (width <= 499px) {
    .odp-contact-information__contact-options {
        display: flex;
        gap: 3px;
    }

    .contact-options__option {
        height: 75px;
        width: 25%;
    }

    .contact-options__option .contact-options__link {
        align-items: center;
        background: var(--color-white);
        border: 1px solid var(--color-white);
        color: var(--color-navy);
        display: flex;
        flex-direction: column;
        font-size: 10px;
        font-weight: 700;
        height: 100%;
        justify-content: center;
        text-transform: uppercase;
    }

    .contact-options__icon {
        font-size: 24px;
        margin-right: 0;
    }

    .contact-options__short-label {
        display: block;
    }

    .contact-options__long-label {
        display: none;
    }

    .odp-detail-container--stretch-full .contact-options__icon {
        font-size: 35px;
    }

    .odp-detail-container--stretch-full .contact-options__option .contact-options__link {
        font-size: 12px;
        font-weight: 700;
        justify-content: flex-end;
    }
}

/* CTA button */

.odp-contact-information__cta-button {
    padding: 21px 36px;
    width: 100%;
}

@media screen and (width >= 768px) {
    .odp-contact-information__cta-button {
        width: auto;
    }
}

/* --------------------------------------------------------------------------
   Body: two-column layout
   -------------------------------------------------------------------------- */

.item-details__item-details-body {
    display: flex;
    flex-flow: column wrap;
    padding-top: 60px;
}

@media screen and (width >= 768px) {
    .item-details__item-details-body {
        flex-direction: row;
        padding-top: 90px;
    }
}

.item-details__left-column,
.item-details__right-column {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

@media screen and (width >= 768px) {
    .item-details__left-column {
        padding-right: 45px;
        width: 60%;
    }

    .item-details__right-column {
        width: 40%;
    }
}

.item-details__bottom {
    width: 100%;
}

.item-details__block {
    margin-bottom: 30px;
}

.item-details__heading {
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Calendar / Opening hours
   -------------------------------------------------------------------------- */

.calendar-container {
    padding: 0;
}

.calendar-rule {
    border-top: 1px solid var(--color-text);
    display: grid;
    gap: 0 30px;
    grid-template-areas: "date time";
    grid-template-columns: 1fr 1fr;
    list-style-type: none;
    padding: 15px 0;
}

.calendar-rule:last-child {
    border-bottom: 1px solid var(--color-text);
}

.calendar__date {
    font-weight: 700;
    grid-area: date;
}

.calendar__time {
    grid-area: time;
}

/* --------------------------------------------------------------------------
   Prices
   -------------------------------------------------------------------------- */

.feature-item__prices-wrapper {
    padding: 0;
}

.feature-item__price {
    display: flex;
    flex-flow: column wrap;
    list-style-type: none;
}

@media screen and (width >= 768px) {
    .feature-item__price {
        flex-flow: row nowrap;
        gap: 0 30px;
    }
}

.feature-item__price-label {
    font-weight: 700;
}

@media screen and (width >= 768px) {
    .feature-item__price-label {
        flex-shrink: 0;
        width: 50%;
    }
}

.feature-item__price-label:first-letter {
    text-transform: uppercase;
}

.feature-item__price-value:only-child {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Map
   -------------------------------------------------------------------------- */

.item-map-wrapper {
    overflow: hidden;
    position: relative;
}

.item__map {
    background: #e0e0e0;
    height: 100%;
    width: 100%;
}

.odp-detail-container--stretch-full .item__map {
    height: 450px;
    margin-bottom: 30px;
}
