/* Full mode only: double rem-based sizes by scaling the root font size.
   Chota sets html at 62.5% (1rem = 10px); 125% doubles that to 1rem = 20px. */
html.slides-full {
    font-size: 125%;
}

/* Remove body constraints from mccole.css */
body {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ---- List mode: scrollable card overview ---- */
.shower.list {
    background: #ddd;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.shower.list .slide {
    width: 100%;
    max-width: 56rem;
    background: #fff;
    border: 1px solid var(--color-lightGrey, #ccc);
    border-radius: 4px;
    padding: 2.5rem 3.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-sizing: border-box;
}

.shower.list .slide:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.shower.list .slide.active {
    outline: 3px solid var(--color-primary, #4078c8);
}

/* ---- Full mode: one slide fills the viewport ---- */
.shower.full {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 1000;
    overflow: hidden;
}

.shower.full .slide {
    display: none;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 1rem 5rem 3rem;
    box-sizing: border-box;
    overflow: hidden;
}

.shower.full .slide.active {
    display: block;
}

/* ---- Incremental reveal (.next elements) ---- */
/* List mode: dim unrevealed steps so content is still readable in overview */
.shower.list .next {
    opacity: 0.3;
}

/* Full mode: hide until activated */
.shower.full .next {
    visibility: hidden;
}

.shower.full .next.active,
.shower.full .next.visited {
    visibility: visible;
}

/* ---- Hide cursor after inactivity in full mode ---- */
.shower.full.pointless {
    cursor: none;
}

/* ---- Slide title: remove top margin; slide padding already gives clearance ---- */
.slide h2 {
    margin-top: 0;
}

/* ---- Slide counter: hidden in list mode, lower-right in full mode ---- */
#slide-counter {
    display: none;
}

.shower.full #slide-counter {
    display: block;
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    color: #888;
}
