.iws-fanzine {
    --fz-azul: var(--wp--preset--color--primary, #155b80);
    color: inherit;
}
.iws-fanzine .fz-portada,
.iws-fanzine .fz-material {
    display: grid;
    grid-template-columns: minmax(100px, 31%) minmax(0, 1fr);
    gap: clamp(16px, 4vw, 42px);
    align-items: center;
    padding: clamp(16px, 3vw, 32px);
}
.iws-fanzine .fz-portada {
    background: #f5f1e9;
    color: #242424;
    border-radius: 12px;
}
.iws-fanzine .fz-portada > img,
.iws-fanzine .fz-material > img {
    display: block;
    width: 100%;
    height: auto;
    margin: auto;
    max-width: 230px;
}
.iws-fanzine .fz-portada > img { box-shadow: 3px 6px 15px #25232126; }
.iws-fanzine .fz-material { border-bottom: 1px solid #aaa9a6; }
.iws-fanzine .fz-material > img { max-width: 114px; }
.iws-fanzine h2 { color: inherit; margin: 0 0 .5em; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.15; }
.iws-fanzine p { margin: 0 0 1em; }
.iws-fanzine a { overflow-wrap: anywhere; text-underline-offset: .16em; }
.iws-fanzine .fz-boton {
    display: inline-flex;
    align-items: center;
    gap: .7em;
    background: #155579;
    color: #fff;
    min-height: 44px;
    padding: .15em 1em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 650;
}
.iws-fanzine .fz-boton:hover { background: #103e57; }
.iws-fanzine .fz-original { display: block; margin-top: .85em; font-size: .95em; }
.iws-fanzine .fz-portada .fz-original { color: #204b65; }
.iws-fanzine :is(a, button):focus-visible { outline: 3px solid #bd3450; outline-offset: 3px; }
.iws-fanzine dialog {
    box-sizing: border-box;
    width: min(760px, 96vw);
    height: 92vh;
    height: 92dvh;
    max-height: calc(100% - 12px);
    max-width: calc(100% - 12px);
    padding: 0;
    margin: auto;
    border: 0;
    border-radius: 10px;
    background: white;
    color: #212121;
}
.iws-fanzine dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.iws-fanzine dialog::backdrop { background: #10151bdc; }
.iws-fanzine .fz-barra,
.iws-fanzine .fz-controles { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 5px 10px; }
.iws-fanzine .fz-controles span { font-size: .9em; text-align: center; }
.iws-fanzine dialog button { background: #fff; color: #17415a; border: 1px solid #a5b6c0; border-radius: 5px; min-height: 44px; padding: 4px 10px; cursor: pointer; font: inherit; }
.iws-fanzine dialog button:disabled { color: #656565; background: #eee; cursor: default; }
.iws-fanzine .fz-lamina { display: grid; place-items: center; background: #ebe9e5; min-height: 0; }
.iws-fanzine .fz-lamina img { display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; }
@media (max-width: 540px) {
    .iws-fanzine .fz-portada { grid-template-columns: 1fr; }
    .iws-fanzine .fz-portada > img { max-width: 155px; }
    .iws-fanzine .fz-material { grid-template-columns: 70px minmax(0, 1fr); padding-inline: 0; }
    .iws-fanzine dialog { width: calc(100vw - 12px); }
}
