* { box-sizing: border-box; }
html, body { margin: 0 !important; width: 100%; min-height: 100%; background: #0b0b0a; }
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }
body.ponvica-totem { overflow: hidden; font-family: 'Georgia', 'Times New Roman', serif; color: #fff; -webkit-tap-highlight-color: transparent; }

.totem-shell {
    width: 100vw;
    height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: #0b0b0a;
}

/* Kompakten, temen kiosk header. */
.totem-header {
    flex: 0 0 auto;
    background: #0b0b0a;
    color: #fff;
    padding: 0 clamp(18px, 3.2vw, 60px);
    border: 0;
    box-shadow: 0 1px 0 rgba(220, 180, 115, .22);
    position: relative;
    z-index: 10;
}


.totem-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    gap: clamp(4px, .8vw, 16px);
}

.totem-nav-link {
    position: relative;
    min-height: clamp(110px, 14vh, 270px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 7px 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,.70);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(24px, 2.5vw, 40px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: .075em;
    transition: color .18s ease, background .18s ease;
}

.totem-nav-link.is-active {
    color: #e5c08a;
}


.totem-nav-link:active {
    background: rgba(255,255,255,.06);
}

.totem-content {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0a;
    overflow: hidden;
}

.totem-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center top;
}

.totem-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: clamp(20px, 2vw, 38px);
    padding: 40px;
}
.totem-empty span { opacity: .7; font-size: .7em; }

/* Primarno: pokončni 9:16 kiosk. */
@media (orientation: portrait) {
    .totem-header { padding-left: 2.5vw; padding-right: 2.5vw; }
}

@media (max-width: 700px) {
    .totem-header { padding-top: 0; }
    .totem-nav-link { min-height: 110px; font-size: 20px; padding: 20px 4px 24px; letter-spacing: .005em; }
}
