@import url("../mediterranean.css");
@import url("../lib/ecommerce.css");
@import url("../../../lib/teaser.css");

.teaser-container, .teaser-poster, .teaser-video {
    height: calc(100vw * 0.3567);
}

.teaser-video > div {
    width: 100vw !important;
    height: calc(100vw * 0.3567) !important;
}

.teaser-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vw * 0.3567);
    object-fit: cover;
}

.mdt-edition {
    background-color: var(--home-edition-background);
}

a.mdt-edition-item, a.mdt-edition-item:visited {
    color: var(--home-edition-text);
}

.mdt-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.mdt-welcome-container {
    position: relative;
    width: 100%;
    height: calc(100% * 0.3567);
    background-color: var(--feature-background);
}

img.mdt-welcome {
    width: 100%;
    object-fit: contain;
}

.mdt-edition {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 7;
}

.mdt-highlights {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--feature-background);
    color: var(--feature-text);
}

.mdt-highlight {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: calc(50% - 4rem);
    padding: 2rem;
}

.mdt-highlight-poster {
    width: 40%;
    margin-inline-end: 1rem;
}

.mdt-highlight-meta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 60%;
}

.mdt-highlight-meta h2, .mdt-highlight-meta h3 {
    color: var(--feature-text);
}

.mdt-highlight-synopsis {
    display: block;
    display: -webkit-box;
    margin: 0.5rem auto;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.mdt-highlight-meta h2 {
    font-weight: 800;
    font-size: 1rem;
    margin: 0.25rem 0 0.75rem 0;
}

.mdt-highlight-meta h3 {

    font-size: 0.75rem;
}

.mdt-highlight-poster img {
    width: 100%;
    object-fit: contain;
}

