.gt-special {
    --gt-ink:#302016; --gt-red:#773223; --gt-rule:#a98462;
    --gt-paper:#f3d3ab; --gt-paper-image:url('img/taglie/maichyo-carta.png');
    --gt-stock:linear-gradient(#fff5df73,#ffe7c36b),var(--gt-paper) var(--gt-paper-image) repeat;
    position:fixed; inset:0; box-sizing:border-box; width:min(1040px,calc(100% - 32px));
    max-width:100%; max-height:90vh; max-height:90dvh; height:90vh; height:90dvh; margin:auto; padding:0;
    overflow:hidden; overscroll-behavior:contain; text-align:left; color:var(--gt-ink);
    background:var(--gt-stock);
    border:1px solid #835e42; border-bottom:3px double #815b41;
    box-shadow:0 16px 65px #1c100d91; font:16px/1.5 Georgia,"Times New Roman",serif; color-scheme:light;
}
.gt-special[open] {display:flex;flex-direction:column;}
.gt-special::backdrop {background:rgba(29,22,18,.77);}
.gt-special.gt-special-fallback {z-index:2147483646;box-shadow:0 0 0 100vmax #211913ce;}
.gt-special *, .gt-special *::before {box-sizing:border-box;}
.gt-special button {
    appearance:none; cursor:pointer; font:italic 14px/1.3 Georgia,serif; border:0; border-radius:0;
    background:transparent; color:var(--gt-red); text-shadow:none; padding:6px 8px;
}
.gt-special button:hover {text-decoration:underline;text-underline-offset:.2em;}
.gt-special button:focus-visible {outline:2px solid #823e2a;outline-offset:2px;}
.gt-special .gt-special-bar {
    position:relative; flex:none; z-index:2; display:flex; align-items:center; gap:14px;
    min-height:36px; padding:2px clamp(14px,3.2vw,36px); border-bottom:3px double var(--gt-rule);
    background:linear-gradient(#fff4debd,#ffeacfbf),var(--gt-paper) var(--gt-paper-image) repeat;
}
.gt-special .gt-special-edition {color:var(--gt-red);font:700 small-caps 15px Georgia,serif;letter-spacing:.065em;}
.gt-special .gt-special-date {flex:1;text-align:right;font:italic 13px Georgia,serif;}
.gt-special .gt-special-stage {position:relative;flex:1;min-height:0;overflow:hidden;perspective:1600px;}
.gt-special .gt-special-page {display:block;height:100%;overflow:auto;overscroll-behavior:contain;margin:0;padding:14px clamp(16px,3.6vw,40px) 30px;}
.gt-special .gt-special-mast {display:grid;justify-items:center;gap:2px;padding:0 0 9px;border-bottom:3px double #65452f;}
/* Inchiostro della testata storica su fondo trasparente. */
.gt-special .gt-special-name {
    display:block;width:207px;height:39.6px; overflow:hidden; color:transparent;
    background:transparent url('img/taglie/grand-times-testata.png') center / contain no-repeat;
}
.gt-special .gt-special-motto {font:600 9px/1.3 Georgia,serif;letter-spacing:.12em;text-transform:uppercase;color:#633e2b;}
.gt-special .gt-special-title {
    margin:.4em 0 .45em; padding:0 0 .35em; border-bottom:1px solid var(--gt-rule);
    color:var(--gt-ink); text-align:left; text-shadow:none; overflow-wrap:break-word;
    font:700 clamp(25px,3.1vw,38px)/1.07 Georgia,"Times New Roman",serif; letter-spacing:-.035em;
}
.gt-special .gt-special-title:focus {outline:none;}
.gt-special .gt-special-content {font:16px/1.52 Georgia,"Times New Roman",serif;color:var(--gt-ink);}
.gt-special .gt-special-content p {
    margin:0 0 .74em; font:inherit; text-align:left; color:inherit; text-shadow:none;
    white-space:pre-line; overflow-wrap:anywhere; widows:2; orphans:2;
}
.gt-special .gt-special-intro {display:flow-root;}
.gt-special .gt-special-intro p:first-of-type::first-letter {
    float:left;margin:.07em .09em 0 0;color:var(--gt-red);font:bold 3.1em/.8 Georgia,serif;
}
.gt-special .gt-special-photo {display:block;max-width:100%;height:auto;object-fit:contain;}
.gt-special .gt-special-intro>.gt-special-photo {float:left;width:39%;max-height:38vh;margin:0 clamp(14px,2.2vw,26px) 11px 0;object-position:top left;}
.gt-special .gt-special-columns {clear:both;columns:2 240px;column-gap:32px;column-rule:1px solid #b58f69;}
.gt-special .gt-special-columns>.gt-special-photo {width:100%;max-height:34vh;margin:0 auto 10px;break-inside:avoid;}
.gt-special .gt-special-content>.gt-special-photo {width:auto;max-width:48%;max-height:34vh;margin:12px auto 0;}
.gt-special img[hidden] {display:none!important;}
/* Copertina e articolo occupano lo stesso vano sotto la barra del giornale. */
.gt-special .gt-special-cover {padding:0;overflow:hidden;}
.gt-special-cover .gt-special-mast {display:none;}
.gt-special-cover .gt-special-content, .gt-special .gt-special-turning {
    height:100%;overflow:hidden;isolation:isolate;background:var(--gt-stock);
}
.gt-special .gt-special-cover-art {
    display:block;width:100%;max-width:none;height:100%;
    filter:contrast(1.12) brightness(1.19);mix-blend-mode:multiply;
}
.gt-special .gt-special-turning {
    position:absolute;inset:0;pointer-events:none;transform-origin:left center;backface-visibility:hidden;
    animation:gt-special-turn .55s ease-in-out forwards;
}
@keyframes gt-special-turn {
    from {transform:rotateY(0);}
    to {transform:rotateY(-92deg);}
}
.gt-special .gt-special-no-art {display:grid;place-items:center;}
.gt-special-no-art .gt-special-mast {display:grid;border:0;}
.gt-special-no-art .gt-special-mast::after {content:"EDIZIONE SPECIALE";color:var(--gt-red);font:bold clamp(24px,6vw,64px)/1.1 Georgia,serif;}
.gt-special-no-art .gt-special-content {display:none;}
@media (max-width:640px) {
    .gt-special {width:calc(100% - 12px);height:94vh;height:94dvh;max-height:94vh;max-height:94dvh;}
    .gt-special .gt-special-bar {gap:7px;}
    .gt-special .gt-special-page:not(.gt-special-cover) {padding:12px 16px 20px;}
    .gt-special .gt-special-intro>.gt-special-photo {float:none;width:auto;max-width:100%;max-height:39vh;margin:0 auto 12px;object-position:center;}
    .gt-special .gt-special-columns {columns:auto;}
    .gt-special .gt-special-content>.gt-special-photo {max-width:100%;}
    .gt-special .gt-special-date {font-size:12px;}
    .gt-special .gt-special-bar {padding-inline:8px;}
}
@media (orientation:portrait) {
    /* Sullo schermo verticale si vede il foglio di sinistra con la testata completa. */
    .gt-special .gt-special-cover-art {width:200%;}
}
@media (max-width:500px) {
    .gt-special .gt-special-bar {
        display:grid;grid-template-columns:1fr auto auto;grid-template-areas:"edition open close" "date open close";
        row-gap:1px;padding-block:3px;
    }
    .gt-special .gt-special-edition {grid-area:edition;}
    .gt-special .gt-special-date {grid-area:date;text-align:left;}
    .gt-special .gt-special-bar button {grid-area:close;}
    .gt-special .gt-special-bar .gt-special-open {grid-area:open;}
}
@media (prefers-reduced-motion:reduce) {.gt-special .gt-special-turning {display:none;}}
