/* Styles for the new edition; registration fields retain their existing styles. */
#header.edition-header {
    min-height: 0;
    overflow: hidden;
}

#header .edition-header-picture {
    display: block;
    width: 100%;
}

#header .edition-header-image {
    display: block;
    width: 100%;
    height: auto;
}

.edition-content .card {
    height: auto;
    min-height: 0;
}

.edition-content .card-text {
    padding: clamp(2.5rem, 4vw, 6rem);
    line-height: 1.6;
}

.edition-content .card-media {
    position: relative;
    width: 50%;
    min-width: 0;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
    /* Stretch with the adjacent text when it exceeds the preferred ratio. */
    align-self: stretch;
}

.edition-content .card-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    box-shadow: none;
}

.edition-content .card-media .card-background-top {
    object-position: center top;
}

.edition-content .hotel {
    padding: 3rem 2rem;
}

.edition-content .hotel-paragraph {
    width: 85rem;
    line-height: 1.6;
}

.edition-content .destination-map {
    display: block;
    width: 100%;
    max-width: 90rem;
    height: auto;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .edition-content .card-media {
        width: 100%;
    }
}
