/*
 * Restaurant de l'Écu — additions to the style sheets of the former Eclipse
 * theme (theme/eclipse/, unchanged copies of the live site's files):
 *
 * - Playfair Display (headlines), self-hosted: the live site loads it from
 *   Google Fonts. The body font of the theme ("Space Mono") is not loaded on
 *   the live site either, so the browser's monospace font is used;
 * - the home page slider, laid out like the former Revolution slider, whose
 *   script set these styles inline (theme/slider.js sets the sizes).
 */

@font-face {
    font-family: "Playfair Display";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/playfair-display-6oC5kJh.woff2") format("woff2");
}

@font-face {
    font-family: "Playfair Display";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/playfair-display-italic-dLuJT5N.woff2") format("woff2");
}

/* Slider: 1240 × 750 grid scaled down with the width (theme/slider.js) */
.ce_revolutionslider .tp-banner {
    position: relative;
    overflow: hidden;
    height: 750px;
}

.ce_revolutionslider .tp-banner ul,
.ce_revolutionslider .tp-banner li {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ce_revolutionslider .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.ce_revolutionslider .tp-caption {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    line-height: 1.5;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
