/* Las fotografías públicas siempre se muestran completas, sin recortes. */
.access {
    background: transparent;
}

.landscape-grid article,
.sound-panel > img,
.story-image {
    background: transparent;
}

.access img,
.landscape-grid img,
.sound-panel > img,
.story-image img {
    object-fit: contain !important;
    object-position: center !important;
}

.photo-detail figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* En Paisajes, las zonas libres de la imagen son totalmente transparentes. */
.landscape-grid article > .shade {
    background: none;
}
.landscape-grid article > .label {
    text-shadow: 0 2px 5px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .9);
}

/* Fondo aleatorio fijo compartido por las secciones principales. */
.webuy-site-backdrop {
    position: fixed;
    inset: 0 0 0 var(--side);
    z-index: 0;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .30; /* Valor de respaldo; WordPress lo sustituye dinámicamente. */
}
.webuy-site-backdrop ~ .shell .content {
    position: relative;
    z-index: 1;
}
@media (max-width: 820px) {
    .webuy-site-backdrop { left: 0; }
}

/* Historias y Sonidos: panel blanco con el doble de transparencia del fondo. */
.webuy-site-backdrop ~ .shell .sound-panel,
.webuy-site-backdrop ~ .shell .story {
    background: rgba(255, 255, 255, var(--webuy-content-panel-opacity, .40));
}

/* Portada: las tarjetas laterales dejan ver el fondo en sus zonas libres. */
.dashboard .access > .shade {
    background: none;
}
.dashboard .access > .label {
    text-shadow: 0 2px 5px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .9);
}
