.pkg-section {
    margin: 0 0 60px;
}

.hotel-card__info .pkg-section {
    margin-bottom: 10px;
}

.pkg-section__title {
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 30px;
    color: var(--black-color);
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 900px) {
    .pkg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .pkg-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.pkg-card {
    display: flex;
    flex-direction: column;
    background: var(--white-color);
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    padding: 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.pkg-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pkg-card.is-inactive {
    opacity: 0.6;
}

.pkg-card {
    position: relative;
}

.pkg-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.pkg-card .pkg-stays,
.pkg-card .pkg-card__cta {
    position: relative;
    z-index: 1;
}

.pkg-card:hover .pkg-card__title a {
    color: var(--red-color);
}

.pkg-card__media {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-gray);
    aspect-ratio: 16 / 10;
}

.pkg-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pkg-card:hover .pkg-card__media img {
    transform: scale(1.03);
}

.pkg-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 16px 0 4px;
}

.pkg-card__title a {
    color: var(--black-color);
    text-decoration: none;
}

.pkg-card__title a:hover {
    color: var(--red-color);
}

.pkg-card__board {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0 0 12px;
}

.pkg-card__footer {
    margin-top: auto;
}

.pkg-card .pkg-card__cta.btn {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 15px 10px;
    font-size: 15px;
    font-weight: 500;
    box-sizing: border-box;
}

.pkg-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--red-color);
    color: var(--white-color);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.pkg-badge + .pkg-badge {
    left: auto;
    right: 10px;
}

.pkg-badge--muted {
    background: var(--dark-gray);
}

.pkg-badge--inline {
    position: static;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.pkg-inclusions {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0 0 16px;
}

.pkg-inclusions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkg-inclusions li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 4px;
}

.pkg-inclusions li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red-color);
    font-weight: 700;
}

.pkg-inclusions p {
    margin: 0 0 6px;
}

.pkg-inclusions--large {
    font-size: 16px;
}

.pkg-inclusions--large li {
    margin-bottom: 8px;
}

.pkg-price__label {
    font-size: 13px;
    color: var(--light-gray-color);
    margin: 4px 0 0;
}

.pkg-price__value {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--black-color);
    margin: 0 0 2px;
}

.pkg-price__sub {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0 0 14px;
}

.pkg-stays {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
}

.pkg-stays--grid .pkg-stays__btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.pkg-stays .pkg-stays__btn {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 9px 6px;
    border: 1px solid var(--red-color);
    border-radius: 4px;
    background: var(--white-color);
    color: var(--red-color) !important;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.pkg-stays .pkg-stays__btn:hover {
    background: #fdecec;
}

.pkg-stays .pkg-stays__btn.is-selected {
    background: var(--red-color);
    color: var(--white-color) !important;
}

.pkg-stays__btn small {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
}

.pkg-price__missing {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 4px 0 14px;
}

.pkg-detail__head {
    text-align: center;
    margin-bottom: 40px;
}

.pkg-detail__status {
    margin: 0 0 12px;
}

.pkg-detail__status .pkg-badge--inline {
    margin: 0 4px;
}

h1.pkg-detail__title {
    margin: 0 auto;
    max-width: 900px;
}

.pkg-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 20px;
    align-items: start;
}

.pkg-detail__section-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 16px;
    color: var(--black-color);
}

.pkg-detail__inclusions {
    margin-bottom: 16px;
}

.pkg-inclusions--columns {
    font-size: 15px;
    margin: 0;
}

.pkg-inclusions--columns ul {
    columns: 2;
    column-gap: 30px;
}

.pkg-inclusions--columns li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.pkg-detail__description {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.pkg-detail__description p:first-child {
    margin-top: 0;
}

.pkg-detail__aside {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pkg-detail__box {
    padding: 29px 20px;
    border: 1px solid #BDBDBD;
    border-radius: 4px;
    background: var(--white-color);
}

.pkg-detail__box-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: var(--red-color);
    opacity: 0.9;
}

.pkg-detail__note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--dark-gray);
}

.pkg-detail__hotel {
    padding-top: 20px;
}

.pkg-detail__hotel img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 14px;
}

.pkg-detail__hotel-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.pkg-detail__link {
    font-size: 14px;
    color: var(--red-color);
    text-decoration: none;
}

.pkg-detail__link:hover {
    text-decoration: underline;
}

.pkg-detail__back {
    text-align: center;
    color: var(--dark-gray);
}

.pkg-stays--list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.pkg-stays--list .pkg-stays__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    font-size: 14px;
    text-align: left;
}

.pkg-stays--list .pkg-stays__price {
    text-align: right;
    font-weight: 500;
}

@media (max-width: 900px) {
    .pkg-detail__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .pkg-detail__layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pkg-detail__main,
    .pkg-detail__aside {
        position: static;
        display: contents;
    }

    .pkg-detail__inclusions {
        order: -2;
    }

    .pkg-detail__aside > .pkg-detail__box:first-child {
        order: -1;
        margin-bottom: 20px;
    }

    .pkg-detail__hotel {
        margin-top: 20px;
    }

    .pkg-detail__back {
        margin-top: 16px;
    }

    /* Compact offer box */
    .pkg-detail__box {
        padding: 16px;
    }

    .pkg-detail__box-title {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .pkg-detail .pkg-price__value {
        font-size: 24px;
    }

    .pkg-detail .pkg-price__sub {
        margin-bottom: 10px;
    }

    .pkg-detail .pkg-stays--list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-bottom: 10px;
    }

    .pkg-detail .pkg-stays--list .pkg-stays__btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .pkg-detail .pkg-stays--list .pkg-stays__price {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .pkg-inclusions--columns ul {
        columns: 1;
    }
}

.pkg-preview-bar {
    background: var(--dark-gray-btn);
    color: var(--white-color);
}

.pkg-preview-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    width: var(--page-width);
    margin: 0 auto;
    padding: 12px 0;
}

.pkg-preview-bar__label {
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--red-color);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pkg-preview-bar__hint {
    flex: 1 1 300px;
    font-size: 14px;
    opacity: 0.85;
}

.pkg-preview-bar__actions {
    display: flex;
    gap: 10px;
}

.pkg-preview-bar__actions .btn {
    height: auto;
    margin: 0;
    padding: 10px 18px;
}

.pkg-hotel-group__name a {
    color: inherit;
    text-decoration: none;
}

.pkg-hotel-group__name a:hover {
    color: var(--red-color);
}

.pkg-preview-hotel__name,
.pkg-hotel-group__name {
    font-size: 14px;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    margin: 0 0 6px;
}

.pkg-preview-empty {
    text-align: center;
    font-size: 16px;
    color: var(--dark-gray);
}

.activities-list .activity-card .programm {
    padding-left: 10px;
    font-weight: 300;
    color: #4F4F4F;
}

.activities-list .activity-card .programm ul,
.activities-list .activity-card .programm ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.activities-list .activity-card .programm li,
.activities-list .activity-card .programm p {
    margin: 0 0 4px;
    padding: 0;
    line-height: 1.33;
}

.activities-list .activity-card .programm .pkg-list-prices {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #E0E0E0;
}

.activities-list .activity-card .programm .pkg-list-prices li {
    display: flex;
    justify-content: space-between;
    column-gap: 15px;
    max-width: 260px;
}

.activities-list .activity-card .programm .pkg-list-prices strong {
    font-weight: 700;
    color: var(--red-color);
    white-space: nowrap;
}

.activities-list .activity-card .programm .pkg-list-prices__note {
    margin: 4px 0 0;
    font-size: 12px;
    color: #4F4F4F;
}

.section-with-filter .activities-list .pkg-list-card {
    position: relative;
    border-color: #EEEEEE;
    border-radius: 4px;
    transition: box-shadow 0.2s;
}

.section-with-filter .activities-list .pkg-list-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.section-with-filter .activities-list .pkg-list-card .activity-image img {
    border-radius: 4px;
}

.pkg-list-card .pkg-list-card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.pkg-list-card a:not(.pkg-list-card__link) {
    position: relative;
    z-index: 1;
}

.section-with-filter .activities-list .pkg-list-card .activity-description p.title a.pkg-list-card__link:hover {
    color: var(--red-color);
}

.holidays .section-with-filter .filter #filter-form > .field {
    margin: 0;
    padding: 12px 20px 18px;
}

.holidays .section-with-filter .filter #filter-form > .field:last-child {
    border-bottom: none;
}

.holidays .section-with-filter .filter #filter-form .field .field {
    margin: 0;
    padding: 0;
}

.holidays .section-with-filter .filter #filter-form p.field-label {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
}

.holidays .section-with-filter .filter #filter-form select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--red-color);
    border-radius: 4px;
    background-color: var(--white-color);
    font-size: 14px;
    cursor: pointer;
}

.holidays .section-with-filter .filter #filter-form #filter_region {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.holidays .section-with-filter .filter #filter-form #filter_region label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
}

@media (min-width: 901px) {
    .holidays .section-with-filter .filter .open-filter p {
        margin-top: 15px;
    }
}

@media (max-width: 700px) {
    .section-with-filter .activities-list .pkg-list-card {
        flex-direction: column;
        row-gap: 0;
        padding: 16px;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-description {
        display: contents;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-image {
        order: 0;
        display: block;
        width: 100%;
        margin-bottom: 14px;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-image img {
        display: block;
        width: 100%;
        height: 190px;
        margin: 0;
        border-radius: 4px;
        object-fit: cover;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-image img + img {
        display: none;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-description .activity-info {
        order: 1;
        flex-basis: auto;
        margin-bottom: 14px;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-description p.title {
        margin-bottom: 6px;
        font-size: 18px;
    }

    .section-with-filter .activities-list .pkg-list-card .activity-description .booking-term {
        margin-bottom: 12px;
    }

    .section-with-filter .activities-list .pkg-list-card .programm {
        padding-right: 0;
    }

    .section-with-filter .activities-list .pkg-list-card .programm .pkg-list-prices li {
        max-width: none;
    }

    .section-with-filter .activities-list .pkg-list-card .hotel-info {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 12px;
        margin-bottom: 14px;
        padding-top: 12px;
        border-top: 1px solid #E0E0E0;
    }

    .section-with-filter .activities-list .pkg-list-card .hotel-info > img {
        display: none;
    }

    .section-with-filter .activities-list .pkg-list-card .hotel-info p.hotel-title {
        margin: 0;
    }

    .section-with-filter .activities-list .pkg-list-card .hotel-info .stars {
        margin-top: 0;
    }

    .section-with-filter .activities-list .pkg-list-card .btns {
        order: 3;
        flex-direction: column;
        row-gap: 10px;
        margin-top: 0;
    }

    .section-with-filter .activities-list .pkg-list-card .btns a {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}

.pkg-detail__chat-hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--red-color);
    border-radius: 4px;
    background: #FDF3F3;
    font-size: 14px;
    line-height: 1.4;
    color: var(--black-color);
}

.pkg-detail__chat-hint[hidden] {
    display: none;
}

/* Home page offers row: wraps on desktop (custom.css) but only has a column gap there. */
.activities-info-cards.events.pkg-widget-row {
    row-gap: 20px;
}

.activities-info-cards.events > .pkg-widget-item {
    display: flex;
    border: none;
    border-radius: 0;
}

@media (max-width: 900px) {
    .activities-info-cards.events > .pkg-widget-item {
        flex-basis: 240px;
        min-width: 240px;
        padding: 0;
    }
}

/* Compact tile card: the hotel page card with smaller type and less text (home page, consultation page). */
.pkg-card--compact {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

.pkg-card--compact .pkg-card__title {
    margin: 12px 0 2px;
    font-size: 16px;
}

.pkg-card--compact .pkg-card__board {
    margin-bottom: 8px;
    font-size: 12px;
}

.pkg-card--compact .pkg-inclusions {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.pkg-card--compact .pkg-inclusions li {
    margin-bottom: 0;
    padding-left: 16px;
    font-size: inherit;
}

.pkg-card--compact .pkg-inclusions p {
    margin: 0;
    font-size: inherit;
}

.pkg-card--compact .pkg-price__label {
    margin-top: 0;
    font-size: 11px;
}

.pkg-card--compact .pkg-price__value {
    font-size: 22px;
}

.pkg-card--compact .pkg-price__sub {
    margin-bottom: 0;
    font-size: 11px;
}

.pkg-card--compact .pkg-stays,
.pkg-card.pkg-card--compact .pkg-card__cta.btn {
    display: none;
}

.pkg-card--compact .pkg-badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 11px;
}

.events-container .pkg-consult-column {
    position: relative;
    grid-row: 1 / 3;
}

.events-container .pkg-consult-column:nth-child(1) {
    grid-column: 1 / 2;
}

.events-container .pkg-consult-column:nth-child(2) {
    grid-column: 3 / 4;
}

.events-container .pkg-consult-column__cards {
    position: absolute;
    inset: 0;
    display: flex;
    flex-flow: column wrap;
    align-content: flex-start;
    gap: 10px;
    overflow: hidden;
}

.events-container .pkg-consult-column__cards > .pkg-card {
    flex: 1 0 auto;
    width: 100%;
    max-height: 480px;
}

.events-container .pkg-consult-column__cards .pkg-card__media {
    flex: 1 1 150px;
    aspect-ratio: auto;
}

.events-container .pkg-consult-column__cards .pkg-card__title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.events-container .pkg-consult-column__cards .pkg-card__board {
    min-height: 1.4em;
}

.events-container .pkg-consult-column__cards .pkg-inclusions {
    min-height: 4.5em;
}

@media (max-width: 1100px) {
    .events-container .pkg-consult-column,
    .events-container .pkg-consult-column:nth-child(1),
    .events-container .pkg-consult-column:nth-child(2) {
        position: static;
        grid-column: span 1;
        grid-row: 2;
    }

    .events-container .pkg-consult-column__cards {
        position: static;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .events-container .pkg-consult-column__cards > .pkg-card {
        flex: 0 0 auto;
        max-height: none;
    }

    .events-container .pkg-consult-column__cards > .pkg-card:nth-child(n+3) {
        display: none;
    }

    .events-container .pkg-consult-column__cards .pkg-card__media {
        flex: 0 0 auto;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 560px) {
    .events-container .pkg-consult-column,
    .events-container .pkg-consult-column:nth-child(1),
    .events-container .pkg-consult-column:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}
