:root {
    --navy-950: #00132b;
    --navy-900: #001f45;
    --navy-800: #003064;
    --navy-700: #0a4183;
    --navy-600: #0f5aa8;
    --sky: #12b6e8;
    --red: #d8202e;
    --red-dark: #a4131f;
    --red-soft: #ff5b66;

    --ink: #0f1a2b;
    --ink-2: #40506b;
    --muted: #6b7a91;
    --line: #abc5e7;
    --line-soft: #eef2f7;
    --bg: #f4f6fa;
    --white: #ffffff;

    --wrap: 1200px;
    --gap: 24px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 32, 60, .06), 0 2px 8px rgba(16, 32, 60, .06);
    --shadow: 0 10px 30px rgba(10, 35, 75, .12);
    --shadow-lg: 0 24px 60px rgba(10, 35, 75, .22);
    --ease: cubic-bezier(.22, .8, .32, 1);

    --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 0;
    width: min(80vh, 90vw);
    aspect-ratio: 1;
    background: url("../assets/stemma-blur1.png?1") center/contain no-repeat;
    opacity: .08;
    transform: translate(-10%, -50%);
    pointer-events: none;
    z-index: -1;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 .5em;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: var(--navy-900);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

button { font: inherit; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
    border-radius: 4px;
}

.mainnav :focus-visible,
.sitefoot :focus-visible,
.cookiebar :focus-visible,
.access:focus-visible,
.pagehero :focus-visible,
.slide-body .btn-red:focus-visible,
.signup-strip .btn-red:focus-visible { outline-color: var(--white); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--red);
    color: var(--white);
    padding: 10px 18px;
    font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 20px;
}

.section { padding: 54px 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}
.section-head h2 { margin: 0; }
.section-title-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}
.section-head-link {
    font-family: var(--font-head);
    text-transform: uppercase;
    font-size: 1.05rem;
    letter-spacing: .05em;
    color: var(--navy-700);
    white-space: nowrap;
    border-bottom: 2px solid var(--navy-800);
    padding-bottom: 2px;
}
.section-head-link:hover { color: var(--red); border-color: var(--red); }

.rule-title {
    position: relative;
    padding-left: 18px;
}
.rule-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .12em;
    bottom: .12em;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--red), var(--navy-700));
}

.masthead {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: relative;
}
.masthead::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-800) 0 60%, var(--red) 60%);
}
.masthead-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 14px; justify-self: start; }
.brand-center { display: block; justify-self: center; }
.brand-crest { height: auto; }
.brand-word { width: auto; }
.brand:hover .brand-crest { transform: rotate(-6deg) scale(1.05); }
.brand-crest { transition: transform .35s var(--ease); }

.masthead-side { display: flex; align-items: center; gap: 14px; justify-self: end; }

.masthead-5x {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    gap: 2px;
    border-color: #de848e !important;
    padding: 8px 16px;
}
.masthead-5x-num {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.masthead-5x-txt { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.masthead-5x:hover { border-color: currentColor !important; }
.masthead-5x:hover .masthead-5x-txt { color: inherit; }
.masthead-5x {
    border-color: var(--red);
    animation: glow5x 2.4s ease-in-out infinite;
}
.masthead-5x:hover { animation-play-state: paused; }
@keyframes glow5x {
    0%, 100% { box-shadow: 0 0 0 0 rgba(216, 32, 46, 0); }
    50% { box-shadow: 0 0 14px 3px rgba(216, 32, 46, .45); }
}

.mainnav {
    background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 6px 18px rgba(0, 20, 50, .18);
}
.mainnav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mainnav-item { position: relative; }
.mainnav-item > a {
    display: block;
    padding: 15px 18px;
    color: #cfe0f5;
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    position: relative;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.mainnav-item > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: var(--red-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease);
}
.mainnav-item:hover > a,
.mainnav-item:focus-within > a { color: var(--white); background: rgba(255, 255, 255, .06); }
.mainnav-item:hover > a::after,
.mainnav-item:focus-within > a::after,
.mainnav-item.is-current > a::after { transform: scaleX(1); }
.mainnav-item.is-current > a { color: var(--white); }

.submenu-toggle { display: none; }

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    border-top: 3px solid var(--red);
    box-shadow: var(--shadow);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    z-index: 5;
}
.mainnav-item:hover > .submenu,
.mainnav-item:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.submenu a {
    display: block;
    padding: 9px 18px;
    color: var(--ink-2);
    font-size: .93rem;
    border-left: 3px solid transparent;
}
.submenu a:hover {
    background: var(--line-soft);
    color: var(--navy-800);
    border-left-color: var(--red);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 9px;
    background: var(--navy-800);
    color: var(--white);
    border: 0;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 20px; }
.nav-toggle-bars i {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s;
    box-shadow: 0 6px 16px rgba(0, 48, 100, .22);
}
.btn:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 48, 100, .3);
}
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-red { background: var(--red); box-shadow: 0 6px 16px rgba(200, 25, 40, .28); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost {
    background: transparent;
    color: var(--navy-800);
    border: 2px solid var(--line);
    box-shadow: none;
}
.btn-ghost:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--white); }
.btn-ghost-light {
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: none;
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .18); }

.linkbtn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}
.linkbtn:hover { color: var(--red); }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--line-soft);
    color: var(--navy-700);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.chip-red { background: rgba(216, 32, 46, .12); color: var(--red-dark); }
.chip-navy { background: rgba(0, 48, 100, .1); color: var(--navy-800); }

.flash {
    margin: 18px 0 0;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--navy-700);
    background: #e8f0fb;
    color: var(--navy-900);
    font-weight: 500;
}
.flash-ok { border-color: #1c9b5e; background: #e6f6ee; color: #12613b; }
.flash-error { border-color: var(--red); background: #fdeaec; color: var(--red-dark); }

.home-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 21%);
    gap: 20px;
    padding-top: 28px;
}

.ann {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 200px;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}
.ann-label {
    background: linear-gradient(90deg, var(--red), var(--navy-700));
    color: var(--white);
    font-family: var(--font-head);
    font-size: .92rem;
    text-align: center;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 5px 14px 5px 12px;
    margin: 5px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.ann-viewport {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 10px 25px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15px, #000 calc(100% - 15px), transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 15px, #000 calc(100% - 15px), transparent 100%);
}

.ann.is-scrollable .ann-viewport {
    overflow-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.ann.is-scrollable .ann-viewport::-webkit-scrollbar { width: 0; height: 0; }
.ann.is-dragging .ann-viewport { cursor: grabbing; user-select: none; }
.ann-item + .ann-item { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.ann-item h3 {
    font-size: 1.15rem;
    margin: 0 0 .2em;
    color: var(--navy-800);
}
.ann-item p:last-child { margin-bottom: 0; }
.ann-item a:not(.btn) { color: var(--red); text-decoration: underline; }

.ann-5x { padding: 0; display: block; }
.ann-5x .ann-viewport { height: 100%; padding: 0; mask-image: none; -webkit-mask-image: none; }
.ann-5x-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 18px 28px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(120deg, var(--navy-900), var(--navy-700));
    color: var(--white);
}

.ann-5x-body::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(46%, 330px);
    background: url("../assets/5x1000-sfondo.jpg") center / cover no-repeat;
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0, #000 60%);
    pointer-events: none;
}
.ann-5x-body > * { position: relative; z-index: 1; }
.ann-5x-body h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.ann-5x-body p { margin: 0 auto; color: #bed3ee; max-width: 46ch; }
.ann-5x-body a.btn { margin-top: 10px; padding-top: 4px; padding-bottom: 4px; font-size: .95rem; }

.ann-5x-cf {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .12);
    font-size: .9rem;
    letter-spacing: .04em;
}
.ann-5x-cf strong { color: var(--white); letter-spacing: .08em; }

.access {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 200px;
    min-width: 240px;
    padding: 18px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 255, 255, .16), transparent 55%),
        linear-gradient(150deg, var(--red) 0%, var(--red-dark) 55%, #7d0d17 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.access::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -60px;
width: 90%;
height: 90%;
border: 18px solid rgba(255, 255, 255, .2);
border-radius: 50%;
filter: blur(10px);
}
.access:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }
.access-ico {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: var(--white);
    stroke-width: 1.9;
    position: relative;
    z-index: 2;
}
.access-word {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1;
    position: relative;
    z-index: 2;
}
.access-sub {
    font-size: .78rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .8);
    max-width: 22ch;
    position: relative;
    z-index: 2;
}

.slider-wrap { padding-top: 26px; }
.slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-900);
    box-shadow: var(--shadow);
}
.slider-track {
    display: flex;
    transition: transform .65s var(--ease);
}
.slide {
    position: relative;
    min-width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}
.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 6s linear;
}
.slider:not(.is-paused) .slide.is-active .slide-img { transform: scale(1.12); }
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 19, 43, .92) 0%, rgba(0, 19, 43, .72) 38%, rgba(0, 19, 43, .12) 72%, transparent 100%);
}
.slide-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;

    padding: 0 74px clamp(24px, 4vw, 52px);
    max-width: 640px;
}
.slide-date {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--red-soft);
    margin-bottom: 10px;
}
.slide-title {
    color: var(--white);
    font-size: clamp(1.6rem, 3.6vw, 2.9rem);
    margin: 0 0 .35em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}
.slide-title a { color: inherit; }
.slide-title a:hover { color: var(--red-soft); }
.slide-text {
    color: #cddcef;
    margin: 0 0 18px;
    font-size: .98rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.stories {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    gap: 6px;
    padding-inline: clamp(20px, 5vw, 60px);
}
.stories-item {
    flex: 1 1 0;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .32);
    overflow: hidden;
    cursor: pointer;
    border: 0;
    padding: 0;
    position: relative;
}
.stories-item::after {
    content: "";
    position: absolute;
    inset: -8px 0;
}
.stories-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--white);
    border-radius: 3px;
}
.stories-item.is-done .stories-fill { width: 100%; }
.stories-item.is-active .stories-fill {
    animation: storyFill var(--story-duration, 6s) linear forwards;
}
.slider.is-paused .stories-item.is-active .stories-fill { animation-play-state: paused; }
@keyframes storyFill { from { width: 0; } to { width: 100%; } }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(0, 19, 43, .4);
    color: var(--white);
    cursor: pointer;
    display: grid;
    place-items: center;
    backdrop-filter: blur(4px);
    transition: background .2s, transform .2s var(--ease);
}
.slider-arrow:hover { background: var(--red); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }

.acts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.act {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--navy-800);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
}
.act-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease), filter .5s;
    filter: saturate(.92);
}
.act:hover .act-img { transform: scale(1.07); filter: saturate(1.08); }
.act::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 19, 43, 0) 30%, rgba(0, 19, 43, .55) 62%, rgba(0, 19, 43, .93) 100%);
    transition: background .4s;
}
.act:hover::before { background: linear-gradient(180deg, rgba(0, 31, 69, .25) 0%, rgba(0, 19, 43, .7) 55%, rgba(0, 19, 43, .96) 100%); }
.act-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 20px 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}
.act-name {
    color: var(--white);
    font-family: var(--font-head);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.05;
}
.act-kind {
    display: block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--red-soft);
    margin-bottom: 4px;
}
.act-go {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .3);
    display: grid;
    place-items: center;
    transform: translateX(6px);
    opacity: 0;
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s;
}
.act:hover .act-go { opacity: 1; transform: translateX(0); background: var(--red); border-color: var(--red); }
.act-go svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2.2; }
.act-stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    z-index: 2;
    background: linear-gradient(180deg, var(--red), var(--navy-700));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .45s var(--ease);
}
.act:hover .act-stripe { transform: scaleY(1); }

.pagehero {
    position: relative;
    background:
        radial-gradient(90% 160% at 12% 0%, rgba(18, 182, 232, .22), transparent 60%),
        linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    color: var(--white);
    padding: 46px 0 40px;
    overflow: hidden;
}
.pagehero::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 320px;
    height: 320px;
    background: url("../assets/stemma.png?1") center/contain no-repeat;
    opacity: .07;
    transform: rotate(-8deg);
}
.pagehero h1 { color: var(--white); margin: 0 0 8px; position: relative; z-index: 2; }
.pagehero-sub {
    color: #b9cee9;
    max-width: 70ch;
    margin: 0;
    position: relative;
    z-index: 2;
}
.pagehero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 19, 43, .95) 20%, rgba(0, 19, 43, .55) 65%, rgba(0, 19, 43, .3));
    z-index: 1;
}
.pagehero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.pagehero .wrap { position: relative; z-index: 2; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    font-size: .8rem;
    letter-spacing: .04em;
    color: #92aecf;
    position: relative;
    z-index: 2;
}
.breadcrumb a { color: #cfe0f5; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: #6d8bb1; }

.prose { font-size: 1.03rem; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--navy-800); margin-top: 1.6em; }
.prose h2 { font-size: 1.7rem; }
.prose h3 { font-size: 1.35rem; }
.prose p { margin: 0 0 1.05em; }
.prose a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin: 8px 0;
    height: auto;
}

.prose .prose-zoom { display: inline-block; padding: 0; border: 0; background: none; font: inherit; text-decoration: none; cursor: zoom-in; }
.prose .prose-zoom img { transition: box-shadow .2s, transform .2s var(--ease); }
.prose .prose-zoom:hover img { box-shadow: var(--shadow); transform: translateY(-2px); }

.prose a.prose-foto { cursor: zoom-in; }
.prose a.cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
    width: 100%;
    margin: 10px 0 14px;
    padding: 21px 22px;
    border-radius: var(--radius-sm);
    background-color: #d8202e;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .16) 100%);
    background-size: 100% 200%;
    background-position: 0 0;
    background-repeat: no-repeat;
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .3),
        inset 0 -3px 0 rgba(0, 0, 0, .18),
        0 10px 22px -12px var(--cta, rgba(16, 32, 60, .5)),
        0 2px 6px rgba(16, 32, 60, .1);
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background-position .35s;
}
.prose a.cta-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .16);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .22);
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .25s;
}
.prose a.cta-btn::after {
    content: "";
    position: relative;
    flex: none;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.prose a.cta-btn:hover {
    transform: translateY(-3px);
    background-position: 0 100%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        inset 0 -3px 0 rgba(0, 0, 0, .22),
        0 18px 30px -12px var(--cta, rgba(16, 32, 60, .55)),
        0 4px 10px rgba(16, 32, 60, .12);
}
.prose a.cta-btn:hover::before { background-color: rgba(0, 0, 0, .26); }
.prose a.cta-btn:active {
    transform: translateY(1px);
    box-shadow:
        inset 0 2px 6px rgba(0, 0, 0, .22),
        0 4px 10px -6px var(--cta, rgba(16, 32, 60, .5));
    transition-duration: .08s;
}
.prose a.cta-btn:focus-visible { outline: 3px solid var(--cta, #d8202e); outline-offset: 3px; }
.prose .ta-center { text-align: center; }
.prose .ta-center img { margin-inline: auto; }

.prose img.foto-media { max-width: 420px; }

.prose .galleria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 6px;
    margin: 1.2em 0;
}
.prose .galleria a { display: block; }
.prose .galleria img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    margin: 0;
}
@media (max-width: 560px) {
    .prose .galleria { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; }
    .prose .galleria img { height: 86px; }
}

.prose video {
    width: 100%;
    height: auto;
    background: var(--navy-900);
    border-radius: var(--radius-sm);
    margin: 1.2em 0;
}

.prose iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: var(--radius-sm);
    margin: 1.2em 0;
}

.prose figure { margin: 1.4em 0; }
.prose figure.image { display: table; max-width: 100%; }
.prose figure.image figcaption {
    display: table-caption;
    caption-side: bottom;
    padding-top: 8px;
    font-size: .85rem;
    color: var(--muted);
    text-align: center;
}

.embed {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 1.4em 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--navy-900);
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.prose blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid var(--red);
    color: var(--navy-800);
    font-size: 1.1rem;
    font-style: italic;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose iframe { max-width: 100%; border-radius: var(--radius-sm); }
.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    margin-bottom: 1.4em;
    background: var(--white);
}
.prose th, .prose td {
    border: 1px solid var(--line);
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}
.prose thead th, .prose thead td, .prose tr:first-child th {
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-color: var(--navy-700);
}
.prose tbody tr:nth-child(even) { background: var(--line-soft); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.4em; }
.table-scroll > table { margin-bottom: 0; }

.layout-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}
.sidecol { display: grid; gap: 20px; }
.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
}
.panel-head {
    font-family: var(--font-head);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--navy-800);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--line-soft);
}
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.panel-list a { color: var(--navy-800); font-weight: 600; }
.panel-list a:hover { color: var(--red); }
.panel-list time { display: block; font-size: .76rem; color: var(--muted); letter-spacing: .04em; }

.panel-btn { display: flex; width: 100%; margin-top: 18px; }

.panel-cta { display: flex; justify-content: center; margin-top: 22px; }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
}
.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d7e8; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-date {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: var(--navy-900);
    color: var(--white);
    font-family: var(--font-head);
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 999px;
}
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 1.3rem; margin: 0; }
.card-title a { color: var(--navy-900); }
.card-title a:hover { color: var(--red); }
.card-text { color: var(--muted); font-size: .93rem; margin: 0; }
.card-foot {
    margin-top: auto;
    padding-top: 12px;
    font-family: var(--font-head);
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}
.card-foot::after { content: " →"; transition: margin .2s var(--ease); }
a.card-foot { align-self: flex-start; }
a.card-foot:hover { color: var(--red-dark); }
.card:hover .card-foot::after { margin-left: 5px; }

.news-lead {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.news-lead-media { position: relative; min-height: 300px; }
.news-lead-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-lead-body { padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.news-lead-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.news-lead-more { margin: 24px 0 0; }

.team-head {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}
.team-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-meta { display: grid; gap: 14px; }
.team-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.team-facts li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}
.team-facts b {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--navy-700);
    font-size: .95rem;
    min-width: 120px;
}

.carousel { position: relative; margin-bottom: 16px; }
.carousel-track {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item { flex: 0 0 auto; width: clamp(148px, 16vw, 186px); scroll-snap-align: start; }
.carousel-arrow {
    position: absolute;
    top: 38%;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-800);
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.carousel-arrow[hidden] { display: none; }
.carousel-arrow.is-prev { left: -18px; }
.carousel-arrow.is-next { right: -18px; }

.player { display: block; }
.player-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--navy-800);
    box-shadow: var(--shadow-sm);
}
.player-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.player:hover .player-photo img { transform: scale(1.06); }
.player-num {
    position: absolute;
    left: 8px;
    bottom: 8px;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
}
.player-num.is-staff { background: var(--red); }
.player-name { display: block; margin-top: 9px; font-weight: 600; font-size: .95rem; line-height: 1.2; color: var(--ink); }
.player-role { display: block; font-size: .75rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.player-head {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}
.player-head-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy-800);
    box-shadow: var(--shadow);
}
.player-head-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player-head-photo .player-num { left: 14px; bottom: 14px; min-width: 46px; height: 46px; font-size: 1.35rem; }
.player-back { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

.rosa-past {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}
.rosa-past-text { margin: 0; color: var(--ink-2); }

.card-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.card-tile {
    display: block;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .2s, transform .2s var(--ease);
}
.card-tile:hover { border-color: var(--navy-600); transform: translateY(-2px); }

.card-tile-photo {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--navy-800);
}
.card-tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.card-tile:hover .card-tile-photo img { transform: scale(1.05); }
.card-tile-body { display: grid; gap: 3px; padding: 12px 16px 14px; }
.card-tile-title { font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-800); line-height: 1.1; }
.card-tile-meta { font-size: .82rem; color: var(--muted); }
.card-tile-flag { justify-self: start; margin-top: 6px; }

.matches { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 0; }
.match {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: subgrid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.match-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 6px;
    padding: 8px 0;
    background: var(--line);
    color: var(--ink-2);
    text-align: center;
}
.match-band-label,
.match-band-number { padding: 0 clamp(8px, 1.6vw, 16px); }
.match-band-label { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; opacity: .85; }
.match-band-number { font-family: var(--font-head); font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1; white-space: nowrap; }
.match.is-win .match-band { background: #1c9b5e; color: var(--white); }
.match.is-lose .match-band { background: var(--red); color: var(--white); }
.match.is-draw .match-band { background: var(--muted); color: var(--white); }
.match-main { min-width: 0; padding: 10px; }
.match-partials {
    margin: 10px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    text-align: center;
    color: var(--ink-2);
}
.match-partials-label {
    margin-right: 6px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.match-info {
    margin: 0 0 10px;
    padding: 5px;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
    color: var(--muted);
    background-color: var(--bg);
    border-radius: 5px;
}
.match-when { font-weight: 700; color: var(--ink-2); text-align: right; }
.match-todo { color: var(--navy-600); font-weight: 700; }
.match-info .chip-navy,
.match-info .match-todo { grid-column: span 2; margin: auto; }

.match-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
}
.match-team { font-size: 1.02rem; line-height: 1.25; color: var(--ink-2); overflow-wrap: break-word; }
.match-home { text-align: right; }
.match-away { text-align: left; }
.match-team.is-us { font-weight: 700; }
.match.is-win .match-team.is-us { color: #12703f; }
.match.is-lose .match-team.is-us { color: var(--red-dark); }

.match-goals {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg);
    font-family: var(--font-head);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--navy-900);
    white-space: nowrap;
}
.match-sep { font-size: 1rem; }
.match.is-win .match-goals { background: #e6f6ee; color: #12703f; }
.match.is-lose .match-goals { background: #fdeaec; color: var(--red-dark); }
.match-vs {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 14px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--line-soft);
    cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 19, 43, .6));
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 12, 28, .94);
    display: grid;
    place-items: center;
    padding: 80px 20px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
}
.lightbox[hidden] { display: none; }
.lightbox > div { margin: auto; min-width: 0; max-width: 100%; }
.lightbox img {
    display: block;
    margin: 0 auto;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    max-width: 100%;
    border-radius: 6px;
    box-shadow: var(--shadow-lg);
}
.lightbox-cap { max-width: 72ch; margin: 14px auto 0; color: #c7d7ea; text-align: center; font-size: .9rem; }
.lightbox-sub {
    max-width: 72ch;
    margin: 14px auto 0;
    color: #8ea6c6;
    font-family: var(--font-head);
    font-size: .82rem;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}
.lightbox-sub:not([hidden]) + .lightbox-cap { margin-top: 2px; color: var(--white); font-size: .98rem; }
.lightbox-count {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 5px 16px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #c7d7ea;
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: .08em;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.lightbox-count strong { color: var(--white); font-size: 1.2rem; }
.lightbox-count[hidden] { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: fixed;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--white);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-prev[hidden], .lightbox-next[hidden] { display: none; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--red); border-color: var(--red); }

.press-list { display: grid; gap: 14px; }
.press-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    transition: border-color .2s, box-shadow .2s;
}
.press-item:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }

.press-item[data-lightbox-card] { cursor: zoom-in; }
.press-item[data-lightbox-card] a { cursor: pointer; }
.press-item[data-lightbox-card] .press-zoom { cursor: zoom-in; }
.press-thumb { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--line-soft); display: block; }

.press-zoom { position: relative; display: block; width: 120px; border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.press-zoom::after {
    content: "";
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 19, 43, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M10.5 3a7.5 7.5 0 1 0 4.55 13.46l4.24 4.25 1.42-1.42-4.25-4.24A7.5 7.5 0 0 0 10.5 3m0 2a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11M9.5 7v2h-2v2h2v2h2v-2h2V9h-2V7z'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
    opacity: 0;
    transition: opacity .2s;
}
.press-item:hover .press-zoom::after, .press-zoom:focus-visible::after { opacity: 1; }
.press-zoom img { transition: transform .3s var(--ease); }
.press-zoom:hover img { transform: scale(1.06); }
.press-outlet { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.press-title { margin: 2px 0 4px; font-size: 1.15rem; }
.press-date { color: var(--muted); font-size: .85rem; }

.season-main { min-width: 0; }
.season-teams + .prose { margin-top: 48px; }
.season-teams .rule-title { margin-bottom: 22px; }
.seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.season-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 120px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
    color: var(--white);
    overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.season-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--white); }
.season-card::before {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 120px;
    height: 120px;
    border: 14px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}
.season-year {
    font-family: var(--font-head);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
}
.season-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red-soft); }
.season-card.is-current { background: linear-gradient(140deg, var(--red), var(--red-dark)); }
.season-card.is-current .season-label { color: rgba(255, 255, 255, .85); }

.lockbox {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.lockbox-icon { display: block; width: 44px; height: 44px; margin: 0 auto; padding: 11px; border-radius: 50%; background: rgba(0, 48, 100, .08); fill: var(--navy-800); }
.lockbox-title { margin: 14px 0 6px; color: var(--navy-900); font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.lockbox-text { margin: 0 0 22px; color: var(--ink-2); }
.lockbox-form { text-align: left; }
.lockbox-label { display: block; margin-bottom: 6px; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.lockbox-row { display: flex; flex-wrap: wrap; gap: 10px; }
.lockbox-row input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 11px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
}
.lockbox-row input:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(0, 48, 100, .12); }
.lockbox-row .btn { flex: 0 0 auto; }
.lockbox-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -6px 0 20px;
    padding: 12px 16px;
    border: 1px solid rgba(216, 32, 46, .35);
    border-left: 4px solid var(--red);
    border-radius: var(--radius-sm);
    background: #fdeaec;
    color: var(--red-dark);
    font-weight: 600;
    text-align: left;
}
.lockbox-error svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: currentColor; }
.lockbox.has-error { animation: lockShake .45s var(--ease); }
.lockbox.has-error .lockbox-icon { background: #fdeaec; fill: var(--red); }
.lockbox.has-error .lockbox-row input { border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 32, 46, .12); }
@keyframes lockShake {
    0%, 100% { transform: none; }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(7px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(3px); }
}

.empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--muted);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 34px;
    list-style: none;
    padding: 0;
}
.pagination a, .pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--navy-800);
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: .05em;
}
.pagination a:hover { border-color: var(--navy-700); color: var(--red); }
.pagination .is-current { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

.sitefoot { background: var(--navy-950); color: #9db3d0; margin-top: 60px; }
.sitefoot-top { position: relative; padding: 48px 0 34px; }
.sitefoot-top::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-700) 0 60%, var(--red) 60%);
}
.sitefoot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
}
.sitefoot-crest {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}
.sitefoot-name {
    font-family: var(--font-head);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--white);
    margin: 0 0 8px;
}
.sitefoot-txt { font-size: .9rem; line-height: 1.6; }
.sitefoot-webmaster { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.sitefoot-head {
    font-family: var(--font-head);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--white);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.sitefoot-links, .sitefoot-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.sitefoot-links a { color: #9db3d0; }
.sitefoot-links a:hover { color: var(--white); padding-left: 4px; }
.sitefoot-links a { transition: padding-left .2s var(--ease), color .2s; display: inline-block; }

.sitefoot-contacts li {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    line-height: 1.45;
}
.sitefoot-contacts a { color: #9db3d0; }
.sitefoot-contacts a:hover { color: var(--white); }
.sitefoot-ico { width: 16px; height: 16px; margin-top: 3px; fill: var(--red-soft); }
.sitefoot-cfnote { display: block; font-size: .78rem; color: #7d94b3; }
.sitefoot-quick { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); }
.sitefoot-cta { margin-top: 16px; }
.sitefoot-social { display: flex; gap: 10px; margin-top: 16px; }
.sitefoot-soc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    transition: background .2s, transform .2s var(--ease);
}
.sitefoot-soc svg { width: 20px; height: 20px; fill: #cddcef; }
.sitefoot-soc:hover { background: var(--red); transform: translateY(-3px); }
.sitefoot-soc:hover svg { fill: var(--white); }

.sitefoot-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 16px 0; font-size: .82rem; }
.sitefoot-bottom-in { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.sitefoot-bottom p { margin: 0; }
.sitefoot-legal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.sitefoot-legal a, .sitefoot-legal .linkbtn { color: #9db3d0; text-decoration: none; }
.sitefoot-legal a:hover, .sitefoot-legal .linkbtn:hover { color: var(--white); }

.cookiebar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    z-index: 300;
    background: var(--navy-900);
    color: #cddcef;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .12);
    animation: cookieUp .4s var(--ease);
}
.cookiebar[hidden] { display: none; }
@keyframes cookieUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cookiebar-in {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    max-width: var(--wrap);
    margin-inline: auto;
}
.cookiebar-text { flex: 1 1 420px; font-size: .88rem; }
.cookiebar-text p { margin: 0; }
.cookiebar-title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--white);
    margin-bottom: 4px !important;
}
.cookiebar-text a:not(.btn) { color: var(--red-soft); text-decoration: underline; }
.cookiebar-prefs { display: grid; gap: 8px; margin-top: 14px; }
.cookiebar-prefs[hidden] { display: none; }
.cookiebar-save { margin: 4px 0 0; }
.cookiebar-opt { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; }
.cookiebar-opt strong { color: var(--white); }
.cookiebar-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cookiebar-more { color: #cddcef; font-size: .85rem; }
.cookiebar-more:hover { color: var(--white); }

body.nav-open .cookiebar { display: none; }
.cookiebar:not([hidden]) ~ .totop { display: none; }

.embed-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    margin: 1.4em 0;
    padding: 26px 22px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    background: var(--line-soft);
}
.embed-block-text { margin: 0; max-width: 52ch; font-size: .92rem; color: var(--ink-2); }
.embed-block-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }

.totop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--navy-800);
    color: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: background .2s, transform .2s var(--ease);
}
.totop::before { content: "↑"; font-size: 1.3rem; line-height: 1; }
.totop:hover { background: var(--red); transform: translateY(-3px); }
.totop[hidden] { display: none; }

@media (max-width: 1080px) {
    .layout-side { grid-template-columns: minmax(0, 1fr); }
    .sitefoot-grid { grid-template-columns: 1fr 1fr; }
    .team-head { grid-template-columns: 1fr; }
    .player-head { grid-template-columns: 1fr; }
    .player-head-photo { max-width: 320px; }

    .carousel-arrow.is-prev { left: 4px; }
    .carousel-arrow.is-next { right: 4px; }
}

@media (max-width: 980px) {
    .nav-toggle { display: inline-flex; }
    .masthead-in { display: flex; gap: 14px; }
    .brand-center { margin-right: auto; }
    .mainnav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(340px, 86vw);
        transform: translateX(100%);
        transition: transform .35s var(--ease);
        overflow-y: auto;
        z-index: 120;
        box-shadow: none;
        padding-top: 70px;
    }
    .mainnav.is-open { transform: translateX(0); box-shadow: var(--shadow-lg); }
    .mainnav .wrap { padding-inline: 0; }
    .mainnav-list { flex-direction: column; }
    .mainnav-item { border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .mainnav-item > a { padding: 14px 24px; font-size: 1.2rem; }
    .mainnav-item > a::after { display: none; }
    .submenu-toggle {
        display: block;
        position: absolute;
        right: 10px;
        top: 6px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 0;
        cursor: pointer;
    }
    .submenu-toggle::before,
    .submenu-toggle::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 13px;
        height: 2px;
        background: var(--white);
        transform: translate(-50%, -50%);
        transition: transform .25s var(--ease);
    }
    .submenu-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
    .submenu-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0deg); }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, .18);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        display: none;
        padding: 4px 0 10px;
    }
    .mainnav-item.is-open > .submenu { display: block; }
    .submenu a { color: #bed3ee; padding-left: 38px; }
    .submenu a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 12, 28, .6);
        z-index: 110;
        border: 0;
        cursor: pointer;
    }
    .nav-backdrop[hidden] { display: none; }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 860px) {
    .home-top { grid-template-columns: minmax(0, 1fr); }

    .ann-5x { height: auto; min-height: 200px; }
    .ann-5x .ann-viewport { height: auto; }
    .ann-5x .ann-5x-body { height: auto; }
    .access { height: auto; min-height: 96px; flex-direction: row; gap: 14px; flex-wrap: wrap; }
    .access-sub { max-width: none; }
    .news-lead { grid-template-columns: 1fr; }
    .news-lead-media { min-height: 220px; }
    .slide { aspect-ratio: 4 / 3; }
    .slide-body { max-width: none; }
    .press-item { grid-template-columns: 90px minmax(0, 1fr); }
    .press-thumb { width: 90px; height: 70px; }
    .press-zoom { width: 90px; }
    .press-item .btn { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .masthead-5x { display: none; }
}

@media (max-width: 680px) {
    .slide {
        aspect-ratio: auto;
        min-height: 62vw;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .slide-body { position: static; max-width: none; padding: 38px clamp(20px, 5vw, 60px) 66px; }

    .slide::after {
        background: linear-gradient(180deg, rgba(0, 19, 43, .2) 0%, rgba(0, 19, 43, .62) 45%, rgba(0, 19, 43, .95) 100%);
    }
    .slider-arrow { top: auto; bottom: 14px; transform: none; width: 38px; height: 38px; }
    .slider-arrow:hover { transform: scale(1.06); }
    .slider-arrow svg { width: 18px; height: 18px; }
    .acts { grid-template-columns: minmax(0, 1fr); }
    .brand-word, .brand-crest { width: auto; height: 60px; }
    .sitefoot-grid { grid-template-columns: 1fr; }
    .section { padding: 38px 0; }
    .cookiebar-actions { width: 100%; }
    .cookiebar-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {

    .match-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "casa golcasa" "ospiti golospiti";
        gap: 6px 14px;
    }
    .match-home, .match-away { grid-area: casa; text-align: left; }
    .match-away { grid-area: ospiti; }
    .match-goals { display: contents; }
    .match-goal { font-family: var(--font-head); font-size: 1.2rem; line-height: 1; color: var(--navy-900); }
    .match-goal-home { grid-area: golcasa; }
    .match-goal-away { grid-area: golospiti; }
    .match-sep, .match-vs { display: none; }
    .match.is-win .match-goal { color: #12703f; }
    .match.is-lose .match-goal { color: var(--red-dark); }
    .lightbox-sub, .lightbox-cap { padding: 0 48px; }
}

@media (max-width: 400px) {
    .brand { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .mainnav, .nav-toggle, .cookiebar, .totop, .sitefoot-top, .slider-arrow { display: none !important; }
    body { background: #fff; }
}

.news-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }

.chisiamo-intro { margin-bottom: 34px; max-width: 78ch; }
.arch-recent { margin-top: 46px; }
.album-intro { margin-bottom: 26px; max-width: 78ch; }
.album-back { margin-top: 28px; }
.contatti-cta { margin-top: 26px; }
.contatti-social { display: flex; flex-wrap: wrap; gap: 10px; }
.contatti-social-ico { width: 17px; height: 17px; fill: currentColor; }

.filterbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filterbar .chip { transition: background .2s, color .2s, transform .2s var(--ease); }
.filterbar a.chip:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); }
.filterbar a.chip.is-active { background: var(--navy-800); color: var(--white); }
.chip-count { font-weight: 700; opacity: .65; }

.news-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.news-search input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
    padding: 11px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
}
.news-search input[type="search"]:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 3px rgba(0, 48, 100, .12);
}
.news-results { margin: 0 0 22px; color: var(--muted); font-size: .92rem; }

.squadre-group { margin-bottom: 42px; }
.team-intro { font-size: 1.1rem; color: var(--ink-2); margin: 0; }
.team-body { margin-top: 34px; }
.team-block { margin-top: 46px; }

.tornei-archivio { margin-top: 46px; }

.albo .is-hidden { display: none; }
.albo-intro { margin-bottom: 30px; }

.albo-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.albo-filter { display: grid; gap: 6px; flex: 1 1 210px; min-width: 0; }
.albo-filter > span {
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}
.albo-filter select {
    width: 100%;
    padding: 11px 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    cursor: pointer;
}
.albo-filter select:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 3px rgba(0, 48, 100, .12);
}
.albo-go[hidden] { display: none; }
.albo-clear.is-off { opacity: .45; pointer-events: none; }

.albo-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 22px 0 38px;
}
.albo-stat {
    display: grid;
    gap: 2px;
    padding: 18px 20px;
    text-align: center;
    background: var(--navy-800);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background-image: linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.albo-stat strong {
    font-family: var(--font-head);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--white);
}
.albo-stat span {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.albo-group + .albo-group { margin-top: 46px; }
.albo-group .section-head { margin-bottom: 18px; }
.albo-group-count {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.albo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}
.albo-card {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.albo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d7e8; }
.albo-medal {
    flex: 0 0 82px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 16px 8px;
    background-image: linear-gradient(160deg, var(--red), var(--red-dark));
    color: var(--white);
    text-align: center;
}
.albo-medal strong {
    font-family: var(--font-head);
    font-size: 2.1rem;
    line-height: 1;
}
.albo-medal span {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .8);
}
.albo-medal-place { background-image: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.albo-card-body { display: grid; align-content: start; gap: 8px; padding: 16px 18px; min-width: 0; }
.albo-card-title {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.15;
    color: var(--navy-900);
}
.albo-card-note { margin: -4px 0 0; font-size: .86rem; color: var(--muted); }
.albo-seasons { display: flex; flex-wrap: wrap; gap: 6px; }
.albo-season {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    background: var(--line-soft);
    color: var(--navy-800);
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.albo-season-photo {
    border-color: var(--line);
    background: var(--white);
    cursor: zoom-in;
    transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.albo-season-shots {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
}
.albo-season-shots::before {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    background: currentColor;
    opacity: .6;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 7.5h3.2l1.3-2h7l1.3 2H20a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/><circle cx='12' cy='13' r='3.4' fill='none' stroke='black' stroke-width='1.8'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4 7.5h3.2l1.3-2h7l1.3 2H20a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/><circle cx='12' cy='13' r='3.4' fill='none' stroke='black' stroke-width='1.8'/></svg>") center/contain no-repeat;
}
.albo-season-photo:hover {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
    transform: translateY(-2px);
}
.albo-season-photo:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.albo-empty { margin-top: 10px; }

@media (max-width: 640px) {
    .albo-filters { padding: 16px; }
    .albo-filter { flex: 1 1 100%; }
    .albo-go, .albo-clear { flex: 1 1 auto; }
    .albo-stat { padding: 14px 16px; }
    .albo-stat strong { font-size: 2rem; }
    .albo-medal { flex-basis: 68px; }
}

.premiati-card .albo-card-body { flex: 1; }
.premiati-year { flex-basis: 86px; }
.premiati-year strong { font-size: 2rem; }
.premiati-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.premiati-item { display: grid; justify-items: start; gap: 5px; min-width: 0; }
.premiati-award {
    display: inline-block;
    max-width: 100%;
    border-radius: 15px;
    line-height: 1.4;
    text-align: left;
}
.premiati-award-end { white-space: nowrap; }
.premiati-award .albo-season-shots { margin-left: 5px; vertical-align: -2px; }

@media (max-width: 640px) {
    .premiati-year { flex-basis: 76px; }
    .premiati-year strong { font-size: 1.75rem; }
}
