/* Keep the logo centered independently of the caption and legacy grid. */
#read-home .upper-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 24px;
}

#read-home .container {
    width: 100%;
    margin: 0;
}

#read-home #intro-wrapper {
    position: relative;
    top: auto;
    width: 100%;
    margin: 0;
}

#read-home #intro-title {
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

#intro-title img {
    display: block;
    width: min(520px, 76vw);
    max-width: 100%;
    height: auto;
    max-height: 60vh;
    max-height: 60dvh;
    object-fit: contain;
    margin: 0 auto;
}

#read-home #intro-bottom {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 0;
    padding: 0;
    text-align: center;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.2;
}

/* Fill the viewport with the local video, keeping its proportions. */
.video-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.video-background video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
