/* Reuse template.css teaser styling and hover animation on both offer grids.
   Only grid sizing, wrapping and keyboard accessibility are adapted here. */
.offers-page div.teaser.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 40px;
}
.offers-home div.teaser.offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}
.offers-page div.teaser .item.offer-card {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    aspect-ratio: 3 / 2;
    min-height: 320px;
}
.offers-page div.teaser .offer-card-link {
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
.offers-page div.teaser .item img {
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 0;
    object-fit: cover;
}
.offers-page div.teaser .item .name {
    box-sizing: border-box;
    width: auto;
    right: 0;
    min-height: 112px;
    display: flex;
    align-items: center;
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    overflow-wrap: anywhere;
}
.offers-page div.teaser .item .icon-white-arrow {
    /* Keep the original arrow sprite centered in the full-height red bar. */
    height: 112px !important;
    background-image: none;
}
.offers-page div.teaser .item .icon-white-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 46px;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    background: url(../images/sprites.png) no-repeat 10px -37px;
}
.offers-page div.teaser .item .description {
    display: block;
    position: absolute;
    top: 0;
    bottom: 112px;
    margin: 20px;
    padding: 0;
    overflow: auto;
    color: #fff;
    text-align: left;
    font-size: 15px;
    line-height: 24px;
}
.offers-page div.teaser .item-link::before {
    display: block;
    pointer-events: none;
}
.offers-page div.teaser .item:focus-within::before,
.offers-page div.teaser .item:focus-within .description {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}
.offers-page div.teaser .offer-card-link:focus-visible {
    outline: 3px solid #d30029;
    outline-offset: -3px;
}
@media (min-width: 768px) and (max-width: 991px) {
    .offers-home div.teaser.offers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    /* The original mobile teaser hides descriptions; retain the hover effect. */
    .offers-page div.teaser .item .description {
        opacity: 0;
        transform: translate3d(0, -60px, 0);
    }
    .offers-page div.teaser .item:hover .description,
    .offers-page div.teaser .item:focus-within .description {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@media (max-width: 767px) {
    .offers-page {
        box-sizing: border-box;
        padding: 0 12px;
    }
    .offers-page div.teaser.offers-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .offers-page div.teaser .item .name {
        font-size: 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .offers-page div.teaser .item::before,
    .offers-page div.teaser .item .description {
        transition: none;
    }
}

@media (max-width: 1023px) {
    .offers-page div.teaser .item .icon-white-arrow::after {
        height: 33px;
        background-position: 8px -43px;
    }
}

/* Existing Acquafun and Guest Pass information, below the offer cards. */
.offers-page .offers-benefits {
    margin: 25px 0 40px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: left;
}
.offers-page .offers-benefits h2 {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.3;
}
.offers-page .offers-benefits p {
    margin: 0 0 20px;
    text-align: left;
    overflow-wrap: break-word;
}
.offers-page .offers-benefits p:last-child {
    margin-bottom: 0;
}

.bh-offer-facts{padding:20px;margin:20px 0;background:#f5f5f5;border-radius:8px}.bh-offer-facts h2{margin:0 0 15px;font-size:24px}.bh-offer-facts dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 20px}.bh-offer-facts dt,.bh-offer-facts dd{margin:0;text-align:left;overflow-wrap:anywhere}.bh-offer-facts p{text-align:left}@media(max-width:500px){.bh-offer-facts dl{grid-template-columns:minmax(0,1fr)}.bh-offer-facts dd{margin-bottom:8px}}
