.v-center-container {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 90%;
}

.iframebox,
.iframebox-gray {
    display: block;
    border: 5px solid #C69214;
    border-radius: 10px;
    overflow: hidden;
}

.iframebox {
    background-color: transparent;
    filter: none;
}

.iframebox-gray {
    background-color: rgba(128, 128, 128, 0.1);
    filter: grayscale(100%) opacity(0.9) brightness(0.9);
}

.imgbox {
    display: block;
    border: 2px solid #444;
    border-radius: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* Ensure the image inside fills the box */
.imgbox img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* Overview grid layout */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
    height: 70vh;
}

.overview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-align: center;
}

.overview-box {
    width: 100%;
    max-width: 420px;
}

.imgbox-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

/* Focus layout */
.overview-focus {
    display: grid;
    place-items: center;
    min-height: 70vh;
}

.focus-box {
    width: min(70vw, 720px);
}

/* Slide B: Small, let Flexbox handle position */
.imgbox.small {
    width: 260px;
}

/* Simple Flexbox layout for Slide B */
.layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.col {
    flex: 1;
}

body .reveal .slides section .fragment {
    transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
}