/*
Theme Name: P300.it 2027 · Anteprima
Theme URI: https://www.p300.it/
Author: P300.it
Description: Tema sperimentale privato per la nuova interfaccia editoriale P300.
Version: 0.1.101
Text Domain: p300-modern-preview
*/

@font-face {
  font-family: "Georama";
  src: url("assets/fonts/georama-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Georama";
  src: url("assets/fonts/georama-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Georama";
  src: url("assets/fonts/georama-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Georama";
  src: url("assets/fonts/georama-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --p300-page: #050608;
  --p300-panel: #121720;
  --p300-panel-soft: #171d27;
  --p300-line: #2a313d;
  --p300-copy: #f6f7fb;
  --p300-muted: #9ba5b7;
  --p300-accent: #ff9900;
  --p300-container: min(1300px, calc(100vw - 48px));
  --p300-radius: 18px;
  --p300-header-height: 86px;
  --p300-header-inline-padding: 18px;
  --p300-banner-space: 35px;
  --p300-sidebar-gap: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
.p300-banner[data-p300-banner] { margin: var(--p300-banner-space) 0; min-width: 0; text-align: center; }
.p300-banner__label { display: block; margin-bottom: 6px; color: var(--p300-muted); font-size: 10px; font-weight: 400; }
.p300-banner__variant { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.p300-banner__variant--mobile, .p300-banner--mobile-only { display: none; }
.p300-banner img { display: block; width: auto; height: auto; max-width: 100%; margin-inline: auto; }
.p300-shell > .p300-live-slot { margin-block: 35px; }
.p300-live-slot[hidden] { display: none; }
.p300-shell > .p300-live-slot:not([hidden]) ~ .p300-main { padding-top: 0; }
.p300-live-notice { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 19px 22px; border: 1px solid var(--p300-line); border-left: 3px solid #e83340; border-radius: 12px; background: var(--p300-panel); color: var(--p300-copy); }
.p300-live-notice__icon { color: #e83340; }
.p300-live-notice__icon svg { display: block; width: 36px; height: 36px; fill: currentColor; }
.p300-live-notice__icon path { fill: var(--p300-panel); }
.p300-live-notice__body { display: grid; gap: 4px; min-width: 0; }
.p300-live-notice__status { color: var(--p300-muted); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.p300-live-notice__title { font-size: 1rem; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.p300-live-notice time { color: var(--p300-muted); font-size: .82rem; }
.p300-live-notice__link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--p300-line); border-radius: 7px; color: var(--p300-copy); font-size: .82rem; font-weight: 600; }
.p300-live-notice__link:hover { background: var(--p300-panel-soft); }
.p300-live-notice a:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 4px; }
.p300-live-notice.is-live .p300-live-notice__status { color: var(--p300-copy); }
@media (max-width: 600px) {
  .p300-live-notice { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .p300-live-notice__icon svg { width: 28px; height: 28px; }
  .p300-live-notice__link { grid-column: 2; justify-self: start; }
}
/* The leading banner owns both gaps; avoid adding the main's 36px on one side. */
.p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]) .p300-banner { margin-block: 0; }
@media (min-width: 901px) {
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--mobile-only)) { padding-block: 35px; }
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--mobile-only)) ~ .p300-main { padding-top: 0; }
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--mobile-only)) ~ .p300-live-slot { margin-top: 0; }
}
@media (max-width: 900px) {
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--desktop-only)) { padding-block: 35px; }
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--desktop-only)) ~ .p300-main { padding-top: 0; }
  .p300-shell > :is([data-p300-slot="header"], [data-p300-preview-header-banner]):has(.p300-banner:not(.p300-banner--desktop-only)) ~ .p300-live-slot { margin-top: 0; }
}
.p300-section-extra { margin-top: 20px; }
.p300-home-layout.p300-home-layout--no-sections { grid-template-columns: minmax(0, 1fr); }
.p300-home-layout--no-sections > .p300-sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: start; max-height: none; overflow: visible; scrollbar-gutter: auto; }
@media (max-width: 900px) {
  .p300-banner__variant--desktop, .p300-banner--desktop-only { display: none; }
  .p300-banner__variant--mobile { display: block; }
  .p300-banner--mobile-only { display: block; }
}
html { background: var(--p300-page); scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--p300-page);
  color: var(--p300-copy);
  font-family: "Georama", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--p300-accent); }
img { display: block; height: auto; max-width: 100%; }

.p300-shell { min-height: 100vh; display: flex; flex-direction: column; overflow: clip; }
.p300-container { width: var(--p300-container); margin: 0 auto; }
.p300-main { flex: 1 0 auto; padding: 36px 0 68px; }

.p300-header {
  --p300-header-logo-width: 175px;
  width: var(--p300-container);
  margin: 8px auto 0;
  border: 1px solid var(--p300-line);
  border-radius: 13px;
  background: var(--p300-panel);
  position: sticky;
  top: 8px;
  z-index: 20;
  box-shadow: 0 0 16px 8px color-mix(in srgb,var(--p300-page) 85%,transparent),0 5px 18px rgb(0 0 0 / 8%);
}
.p300-header::before { content: ""; position: absolute; inset: -12px; border: 12px solid var(--p300-page); border-radius: 25px; filter: blur(7px); opacity: .95; pointer-events: none; z-index: -1; }
.p300-header.is-menu-attached { clip-path: inset(-28px -28px -1px); }
.p300-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: calc(var(--p300-header-logo-width) + 96px);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,var(--p300-header-accent,var(--p300-accent)) 48px,var(--p300-header-accent,var(--p300-accent)) calc(100% - 48px),transparent);
}
.p300-header__inside {
  width: 100%;
  padding-inline: var(--p300-header-inline-padding);
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}
.p300-header__brand { display: block; grid-column: 2; width: var(--p300-header-logo-width); position: relative; isolation: isolate; }
.p300-header__brand::before { content: ""; position: absolute; z-index: -1; inset: -12px -28px; pointer-events: none; background: radial-gradient(ellipse, color-mix(in srgb, var(--p300-copy) 4%, transparent), transparent 72%); }
.p300-header__leading { grid-column: 1; grid-row: 1; justify-self: start; display: flex; }
.p300-header__brand img { width: 100%; }
.p300-header__menu, .p300-header__menu ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; font-size: .86rem; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.p300-header__menu li { list-style: none; }
.p300-header__menu { min-height: 66px; padding: 11px var(--p300-header-inline-padding); margin-inline: auto; justify-content: center; border: 1px solid var(--p300-line); border-top: 0; border-radius: 0 0 10px 10px; background: color-mix(in srgb, var(--p300-panel) 90%, var(--p300-page)); }
.p300-header__menu ul { justify-content: center; flex-wrap: wrap; gap: 4px 10px; }
.p300-section-nav { flex: 0 0 auto; width: var(--p300-container); margin: 0 auto; background: transparent; }
.p300-section-nav > .p300-header__menu { width: fit-content; max-width: 100%; }
.p300-header__menu .current-menu-item a::before { content: ""; display: inline-block; width: 2px; height: .75em; margin-right: 7px; background: var(--p300-header-accent,var(--p300-accent)); transform: skew(-10deg); }
.p300-header__menu a[data-p300-header-section="news"]::before { --p300-news-cut: linear-gradient(100deg,transparent calc(50% - 1.85px),var(--p300-header-accent,var(--p300-accent)) calc(50% - 1.15px),var(--p300-header-accent,var(--p300-accent)) calc(50% + 1.15px),transparent calc(50% + 1.85px)); content: ""; display: inline-block; width: 15px; height: .85em; margin-right: 5px; vertical-align: -1px; background-color: transparent; background-image: var(--p300-news-cut),var(--p300-news-cut); background-size: 8px 100%; background-position: 1px 0,6px 0; background-repeat: no-repeat; transform: none; }
.p300-header__menu a { position: relative; display: block; padding: 10px 15px; border-radius: 6px; color: color-mix(in srgb, var(--p300-copy) 84%, var(--p300-muted)); transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.p300-header__menu a:hover, .p300-header__menu a:focus-visible, .p300-header__menu .current-menu-item a { background: color-mix(in srgb, var(--p300-copy) 7%, var(--p300-panel)); color: var(--p300-copy); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p300-copy) 7%, transparent); }
/* Compact family navigation: site links first, coloured network links second. */
.p300-section-nav[hidden] { display: none; }
.p300-section-nav > .p300-header__menu--network { justify-content: flex-start; gap: 0; min-height: 48px; padding: 5px 7px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; border-radius: 0 0 9px 9px; box-shadow: 0 4px 18px rgba(0,0,0,.22); }
.p300-header__menu--network ul.p300-nav-group { flex: 0 0 auto; justify-content: flex-start; flex-wrap: nowrap; gap: 2px; font-size: 12px; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.p300-header__menu--network .p300-nav-group + .p300-nav-group { align-self: stretch; align-items: center; margin-left: 7px; padding-left: 7px; border-left: 1px solid var(--p300-line); }
.p300-section-nav .p300-header__menu--network a { padding: 8px 11px; border-radius: 5px; font-size: 12px; line-height: 1.3; white-space: nowrap; }
.p300-header__menu--network .current-menu-item a { color: var(--p300-accent); background: color-mix(in srgb,var(--p300-accent) 10%,var(--p300-panel)); }
.p300-header__menu--network .current-menu-item a::before { content: none; }
.p300-header__menu--network a[data-p300-header-section="news"]::before { content: ""; width: 12px; margin-right: 4px; background-size: 7px 100%; background-position: 0 0,4px 0; }
.p300-section-nav .p300-header__menu--network a.p300-nav-network-link { color: var(--p300-network-dark); text-transform: uppercase; }
.p300-header__menu--network .current-menu-item a.p300-nav-network-link { background: color-mix(in srgb,var(--p300-network-dark) 10%,var(--p300-panel)); }
.p300-header__menu--network a:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: -2px; }
html[data-p300-theme="light"] .p300-section-nav .p300-header__menu--network a.p300-nav-network-link { color: var(--p300-network-light); }
html[data-p300-theme="light"] .p300-header__menu--network .current-menu-item a.p300-nav-network-link { background: color-mix(in srgb,var(--p300-network-light) 10%,var(--p300-panel)); }
html[data-p300-theme="light"] .p300-section-nav .p300-header__menu--network .current-menu-item a:not(.p300-nav-network-link) { color: #a65300; }
html[data-p300-theme="light"] .p300-section-nav > .p300-header__menu--network { box-shadow: 0 4px 14px rgba(32,52,75,.10); }
@media(max-width:760px) { .p300-section-nav > .p300-header__menu--network { min-height: 44px; padding: 4px; } .p300-section-nav .p300-header__menu--network a { padding: 8px 9px; font-size: 11px; } }
.p300-header__actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; }
.p300-header__language img { display: block; width: 24px; height: 24px; object-fit: contain; }
.p300-icon-button {
  appearance: none; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #303743; border-radius: 13px; background: transparent; color: #fff; cursor: pointer;
}
.p300-icon-button:hover { border-color: var(--p300-accent); color: var(--p300-accent); }
.p300-icon-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.p300-header .p300-icon-button { border-color: var(--p300-line); border-radius: 9px; font: 600 .78rem/1 var(--p300-font, "Georama"), sans-serif; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.p300-header .p300-icon-button:not(.p300-menu-toggle) { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--p300-copy) 4%, transparent); }
.p300-header .p300-icon-button:hover { background: color-mix(in srgb, var(--p300-header-accent, var(--p300-accent)) 6%, var(--p300-panel)); border-color: var(--p300-header-accent, var(--p300-accent)); }
.p300-header .p300-icon-button:focus-visible, .p300-header__menu a:focus-visible { outline: 2px solid var(--p300-header-accent, var(--p300-accent)); outline-offset: 3px; }
.p300-header .p300-menu-toggle, .p300-header .p300-header__search { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 42px; gap: 8px; padding: 0 13px; }
.p300-header .p300-menu-toggle { color: var(--p300-copy); }
.p300-header__leading, .p300-header__actions { gap: 0; padding: 3px; border: 1px solid var(--p300-line); border-radius: 11px; background: linear-gradient(145deg,color-mix(in srgb,var(--p300-copy) 3%,var(--p300-panel)),var(--p300-panel)); box-shadow: inset 0 1px 0 color-mix(in srgb,var(--p300-copy) 4%,transparent),0 3px 10px rgb(0 0 0 / 6%); }
.p300-header :is(.p300-header__leading,.p300-header__actions) .p300-icon-button { position: relative; border: 0; border-radius: 6px; box-shadow: none; }
.p300-header :is(.p300-header__leading,.p300-header__actions) > * + *::after { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 1px; pointer-events: none; background: linear-gradient(transparent,var(--p300-line) 25% 75%,transparent); }
.p300-theme-toggle .p300-theme-icon--sun { color: #ffc928; }
.p300-theme-toggle .p300-theme-icon--moon { display: none; color: #a78bfa; }
html[data-p300-theme="light"] .p300-theme-toggle .p300-theme-icon--sun { display: none; }
html[data-p300-theme="light"] .p300-theme-toggle .p300-theme-icon--moon { display: block; color: #7c3aed; }
.p300-header__account { color: #ff6472; }
.p300-header__account.is-logged { color: #40d889; }
.p300-header { position: sticky; }
.p300-header-search { position: absolute; z-index: 30; top: calc(100% + 10px); right: max(24px, calc((100vw - min(1300px, calc(100vw - 48px))) / 2)); display: flex; gap: 7px; width: min(360px, calc(100vw - 32px)); margin: 0; padding: 10px; border: 1px solid #303743; border-radius: 14px; background: #10151d; box-shadow: 0 16px 36px rgba(0,0,0,.4); }
.p300-header-search[hidden] { display: none; }
.p300-header-search label { flex: 1; min-width: 0; }
.p300-header-search input { width: 100%; }
.p300-header-search input { flex: 1; min-width: 0; height: 40px; padding: 0 13px; border: 1px solid #303743; border-radius: 10px; background: #111720; color: #fff; font: inherit; }
.p300-header-search button { border: 0; border-radius: 10px; padding: 0 14px; background: var(--p300-accent); color: #17110a; font: inherit; font-size: .75rem; font-weight: 900; cursor: pointer; }
.p300-modal-open { overflow: hidden; }
.p300-search-overlay { position: fixed; inset: 0; max-width: none; max-height: none; width: 100%; height: 100dvh; margin: 0; padding: clamp(28px, 7vh, 72px) 16px; border: 0; background: rgba(0,0,0,.64); color: var(--p300-copy); backdrop-filter: blur(9px); }
.p300-search-overlay:not([open]) { display: none; }
.p300-search-overlay::backdrop { background: rgba(0,0,0,.5); }
.p300-search-panel { width: min(820px, 100%); margin: 0 auto; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--p300-line); border-top: 3px solid #ff9900; border-radius: 12px; background: var(--p300-panel); box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.p300-search-panel__heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.p300-search-panel__heading h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.2; letter-spacing: -.035em; }
.p300-search-panel__heading button { flex-shrink: 0; color: var(--p300-muted); }
.p300-search-form { display: flex; gap: 10px; }
.p300-search-form input { flex: 1; min-width: 0; width: 100%; padding: 17px; border: 1px solid var(--p300-line); border-radius: 9px; background: var(--p300-page); color: var(--p300-copy); font: inherit; font-size: 1rem; }
.p300-search-form input:focus { outline: 2px solid #ff9900; outline-offset: 3px; }
.p300-search-form button { border: 0; border-radius: 9px; padding: 0 18px; background: #ff9900; color: #17110a; font: inherit; font-weight: 700; cursor: pointer; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.p300-register-form input:not([type="hidden"]):not([type="checkbox"]) { max-width: 100%; background: var(--p300-panel); color: var(--p300-copy); border: 1px solid var(--p300-line); font: inherit; }
.p300-access-notice { padding: 24px; border: 1px solid var(--p300-accent); border-radius: 12px; background: var(--p300-panel); text-align: center; }
.p300-menu-toggle { display: grid; }

.p300-kicker { color: var(--p300-accent); font-size: .67rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.p300-section-heading { margin: 0 0 18px; color: #fff; font-size: clamp(1.55rem, 2vw, 2.25rem); letter-spacing: -.035em; line-height: 1; }
.p300-section-heading::before { content: ""; display: inline-block; width: 30px; height: 2px; margin: 0 11px 9px 0; background: var(--p300-accent); }

.p300-hero { --p300-hero-gutter: clamp(30px, 3.2vw, 44px); position: relative; min-height: 540px; margin-bottom: 18px; overflow: hidden; border: 0; border-radius: var(--p300-radius); background: var(--p300-panel); box-shadow: none; isolation: isolate; }
.p300-hero::before {
  position: absolute; z-index: 3; inset: 14px; content: ""; pointer-events: none;
  color: var(--p300-category, #ff3347);
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: calc(var(--p300-radius) - 7px);
  background:
    linear-gradient(90deg, transparent, currentColor) top right / 68% 2px no-repeat,
    linear-gradient(180deg, currentColor, transparent) top right / 2px 78% no-repeat,
    linear-gradient(90deg, currentColor, transparent) bottom left / 68% 2px no-repeat,
    linear-gradient(0deg, currentColor, transparent) bottom left / 2px 78% no-repeat;
}
html[data-p300-theme="light"] .p300-hero::before { color: color-mix(in srgb, var(--p300-category, #ff3347) 80%, #151b25); }
.p300-hero::after { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, var(--p300-panel) 0%, var(--p300-panel) 26%, transparent 62%); }
.p300-hero__image { position: absolute; inset: 0 0 0 auto; display: flex; justify-content: end; align-items: center; width: 78%; overflow: hidden; background: var(--p300-panel); }
.p300-hero__image > img { width: var(--p300-hero-image-width, auto); height: var(--p300-hero-image-height, auto); max-width: 100%; max-height: 100%; object-fit: var(--p300-hero-fit, contain); object-position: var(--p300-image-x, 50%) var(--p300-image-y, 50%); mask-image: linear-gradient(90deg, transparent, #000 28%); }
.p300-hero__content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(620px, 48%); min-height: 0; height: 540px; box-sizing: border-box; padding: 88px var(--p300-hero-gutter) clamp(30px, 4vw, 58px); }
.p300-hero__content > * { position: relative; }
/* Align the visible double cut with the title, accounting for its transparent lead-in. */
.p300-hero__label { position: absolute; z-index: 4; top: clamp(32px, 2.6vw, 36px); left: calc(var(--p300-hero-gutter) - 4px); max-width: calc(100% - 2 * var(--p300-hero-gutter) + 8px); }
.p300-hero__label .p300-chip { min-height: 32px; padding: 9px 2px 9px 21px; font-size: 1.20rem; letter-spacing: -0.025rem; }
.p300-hero__title { max-width: none; margin: 0 0 17px; font-size: var(--p300-title-hero-desktop, 40px); overflow-wrap: anywhere; flex-shrink: 0; font-weight: 700; letter-spacing: -.045em; line-height: 1; text-wrap: balance; text-shadow: 0 3px 22px rgba(0,0,0,.55); }
.p300-hero__title a { color: var(--p300-copy); }
.p300-hero .p300-meta { flex-shrink: 0; padding-top: 13px; border-top: 1px solid var(--p300-line); color: var(--p300-muted); }
.p300-meta { color: var(--p300-muted); font-size: .78rem; font-weight: 600; line-height: 1.45; }
.p300-article__header .p300-meta { font-size: .90rem; }
.p300-chip { --p300-chip-accent: var(--p300-category, var(--p300-accent)); position: relative; display: inline-flex; align-items: center; min-height: 25px; max-width: 100%; width: fit-content; padding: 5px 2px 5px 21px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--p300-copy); font-size: 1rem; font-style: oblique 6deg; font-synthesis: style; font-weight: 700; line-height: 1; letter-spacing: -0.025rem; text-transform: uppercase; }
.p300-chip-set { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; max-width: 100%; }
.p300-chip::before { --p300-cut-fill: linear-gradient(100deg,transparent calc(50% - 1.85px),var(--p300-chip-accent) calc(50% - 1.15px),var(--p300-chip-accent) calc(50% + 1.15px),transparent calc(50% + 1.85px)); position: absolute; left: 0; top: calc(50% - .45em); width: 17px; height: .9em; content: ""; pointer-events: none; background-image: var(--p300-cut-fill),var(--p300-cut-fill); background-size: 10px 100%; background-position: 2px 0,7px 0; background-repeat: no-repeat; }
html[data-p300-theme="light"] .p300-chip { --p300-chip-accent: color-mix(in srgb, var(--p300-category, #ff9900) 85%, #151b25); }

.p300-top-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 54px; }
.p300-card { overflow: hidden; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.p300-card__image { display: block; aspect-ratio: 1.9 / 1; background: #10141c; overflow: hidden; }
.p300-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p300-image-x, 50%) var(--p300-image-y, 50%); transition: transform .25s ease; }
.p300-card:hover .p300-card__image img { transform: scale(1.035); }
.p300-card__body { padding: 16px 18px 18px; }
.p300-card__title { margin: 10px 0 9px; font-size: clamp(1.1rem, 1.6vw, 1.42rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.05; }
.p300-hero.p300-hero--secondary { min-width: 0; min-height: 280px; margin: 0; }
.p300-hero--secondary::after { background: linear-gradient(90deg, var(--p300-panel) 0%, var(--p300-panel) 30%, transparent 68%); }
.p300-hero--secondary::before { inset: 10px; border-radius: calc(var(--p300-radius) - 9px); }
.p300-hero--secondary .p300-hero__label { top: 22px; left: 22px; max-width: calc(100% - 44px); }
.p300-hero--secondary .p300-hero__label .p300-chip { min-height: 26px; padding: 7px 2px 7px 21px; font-size: 1rem; }
.p300-hero--secondary .p300-hero__content { width: 50%; min-height: 0; height: 280px; padding: 64px 28px 22px 24px; }
.p300-hero--secondary .p300-hero__title { max-width: none; margin-bottom: 12px; font-size: var(--p300-title-secondary-desktop, 22px); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.p300-hero--secondary .p300-meta { font-size: .70rem; line-height: 1.45; padding-top: 10px; }

.p300-home-layout, .p300-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); gap: 34px; align-items: start; }
.p300-article-layout { gap: 40px; }
.p300-article__header .p300-chip { min-height: 30px; font-size: 1.15rem; }
.p300-home-layout > *, .p300-article-layout > *, .p300-card__body { min-width: 0; }
.p300-section { margin: 0 0 52px; }
.p300-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.p300-card-grid .p300-card__title { font-size: 1.08rem; }
.p300-simple-heading, .p300-area-heading { margin: 0 0 20px; }
.p300-simple-heading h1, .p300-simple-heading h2, .p300-area-heading h2 { margin: 5px 0 0; color: #fff; font-size: clamp(2rem, 3.1vw, 3.15rem); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.p300-featured-stories, .p300-latest-news { margin: 0 0 56px; }
.p300-latest-news:has(+ .p300-more-news) { margin-bottom: 22px; }
.p300-more-news { margin-bottom: 48px; }
.p300-more-news > .p300-ticker { margin-bottom: 0; }
.p300-more-news > .p300-section-more { margin-top: 14px; }
.p300-declarations { margin: 0 0 56px; }
.p300-latest-news__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p300-latest-news__grid .p300-card__title { font-size: 1rem; }
.p300-ticker { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; margin: 0 0 62px; padding: 20px; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-ticker--declarations { margin-bottom: 14px; }
.p300-ticker--declarations:last-child { margin-bottom: 0; }
.p300-ticker__heading { display: grid; align-content: center; gap: 5px; }
.p300-ticker__heading strong { color: #fff; font-size: 1.35rem; letter-spacing: -.05em; }
.p300-home-flash { margin-bottom: 42px; }
.p300-flash-title { margin: 0; color: var(--p300-copy); font-size: 1.35rem; font-weight: 600; line-height: 1.15; letter-spacing: -.045em; }
.p300-flash-card { flex: 0 0 min(370px, 86%); min-width: 0; padding: 14px 16px; border: 1px solid var(--p300-line); border-left: 3px solid var(--p300-category, var(--p300-accent)); border-radius: 10px; background: var(--p300-page); }
.p300-flash-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.p300-flash-card__meta time { margin: 0; }
.p300-flash-card p { margin: 0; color: var(--p300-copy); font-size: .84rem; font-weight: 500; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.p300-flash-access { align-self: center; margin: 0; color: var(--p300-muted); font-size: .85rem; line-height: 1.5; }
.p300-flash-access a { color: var(--p300-copy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.p300-home-flash__items:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 4px; border-radius: 8px; }
.p300-ticker__items { display: flex; min-width: 0; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: none; scrollbar-color: #697384 #222a35; scrollbar-width: thin; }
.p300-ticker__items a { display: grid; grid-template-columns: 76px minmax(0, 1fr); flex: 0 0 min(330px, 84%); min-height: 76px; overflow: hidden; border: 1px solid #2b3441; border-radius: 10px; background: #10161f; color: #dce2ea; font-size: .78rem; font-weight: 700; line-height: 1.2; scroll-snap-align: start; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.p300-ticker__items a:hover { border-color: var(--p300-accent); background: #161e29; color: #fff; transform: translateY(-2px); }
.p300-ticker__thumb { min-height: 76px; background: #0b0f15; }
.p300-ticker__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--p300-image-x, 50%) var(--p300-image-y, 50%); }
.p300-ticker__copy { display: grid; align-content: center; min-width: 0; padding: 9px 11px; border-left: 4px solid var(--p300-category, var(--p300-accent)); }
.p300-ticker__items time { display: block; margin-bottom: 4px; color: var(--p300-category, var(--p300-accent)); font-size: .65rem; }
.p300-ticker__items strong { display: -webkit-box; overflow: hidden; color: #edf1f6; font: inherit; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.p300-home-preferences { margin: 0; border: 1px solid var(--p300-line); border-radius: 13px; background: #0d1219; }
.p300-home-preferences > summary { padding: 13px 16px; color: #fff; cursor: pointer; font-size: .78rem; font-weight: 800; }
.p300-home-preferences > div { padding: 0 16px 16px; color: var(--p300-muted); font-size: .78rem; }
.p300-home-preferences__options { display: flex; flex-wrap: wrap; gap: 9px 16px; margin: 13px 0; }
.p300-home-preferences label { color: #dbe1ea; cursor: pointer; }
.p300-home-preferences input { accent-color: var(--p300-accent); }
.p300-home-preferences button { border: 1px solid var(--p300-accent); border-radius: 8px; padding: 7px 10px; background: transparent; color: var(--p300-accent); cursor: pointer; font: inherit; font-weight: 800; }
.p300-championship-section { margin: 0; border-top: 1px solid transparent; }
.p300-championship-section[open] { margin-bottom: 32px; }
.p300-championship-section > summary { display: flex; justify-content: space-between; align-items: center; min-height: 112px; padding: 22px 0; list-style: none; cursor: pointer; }
.p300-championship-section[open] > summary { margin-bottom: 12px; }
.p300-championship-section > summary::-webkit-details-marker { display: none; }
.p300-championship-section > summary::after { content: "−"; display: grid; width: 30px; height: 30px; place-items: center; flex: 0 0 auto; border: 1px solid #343d49; border-radius: 8px; color: var(--p300-copy); font-size: 1.3rem; font-weight: 400; line-height: 1; }
.p300-championship-section:not([open]) > summary::after { content: "+"; }
.p300-championship-section__content { padding: 2px 0 12px; }
.p300-championship-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(310px, 1.02fr); gap: 16px; height: 544px; }
.p300-championship-feature { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.p300-championship-feature .p300-card__image { height: auto; aspect-ratio: auto; }
.p300-championship-feature .p300-card__title { font-size: clamp(1.45rem, 2.1vw, 2.1rem); }
.p300-championship-list { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; }
.p300-championship-list .p300-card { display: grid; grid-template-columns: 39% minmax(0, 1fr); min-height: 0; }
.p300-championship-list .p300-card__image { aspect-ratio: auto; height: 100%; }
.p300-championship-list .p300-card__body { align-self: center; padding: 14px 16px; }
.p300-championship-list .p300-card__title { font-size: 1rem; }
/* Keep intrinsic photo sizes inside the desktop row when the sidebar closes. */
@media (min-width: 1151px) {
  .p300-championship-layout { grid-template-rows: minmax(0, 1fr); }
  .p300-championship-list { min-height: 0; }
}
.p300-championship-section .p300-standings { margin: 32px 0 0; padding: 16px; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-championship-section .p300-standings + .p300-standings { margin-top: 12px; }
.p300-standings__heading { display: flex; align-items: baseline; gap: 10px; margin: 0 0 11px; }
.p300-standings__heading .p300-chip { flex: 0 0 auto; letter-spacing: -0.025rem; }
.p300-standings__heading strong { color: #fff; font-size: 1.05rem; letter-spacing: -.04em; }
.p300-standings__list { display: flex; gap: 0; margin: 0; padding: 0; overflow-x: auto; list-style: none; border: 1px solid var(--p300-line); border-radius: 12px; scrollbar-color: #697384 #222a35; scrollbar-width: thin; }
.p300-standings__list::-webkit-scrollbar-thumb { background: #697384; }
.p300-standings__list::-webkit-scrollbar-thumb:hover { background: #8993a2; }
.p300-standings__list li { position: relative; display: grid; grid-template-columns: auto minmax(110px, 1fr); flex: 1 0 175px; gap: 8px; align-items: end; min-height: 68px; padding: 28px 11px 10px; border-right: 1px solid var(--p300-line); }
.p300-standings__list li:last-child { border-right: 0; }
.p300-standings__list strong { color: var(--p300-muted); font-size: 1.1rem; }
.p300-standings__list span { color: #f4f6f9; font-size: .72rem; font-weight: 750; line-height: 1.1; }
.p300-standings__list em { position: absolute; top: 8px; right: 11px; color: var(--p300-accent); font-size: .9rem; font-style: normal; font-weight: 800; }
.p300-section-empty { padding: 20px; border: 1px solid var(--p300-line); border-radius: 12px; color: var(--p300-muted); }

.p300-sidebar { position: sticky; top: calc(var(--p300-header-height) + 16px); display: grid; grid-template-columns: minmax(0,1fr); gap: var(--p300-sidebar-gap); max-height: calc(100vh - var(--p300-header-height) - 36px); overflow-y: auto; overflow-x: hidden; scrollbar-gutter: auto; padding-right: 8px; }
.p300-ticker__items, .p300-standings__list { overscroll-behavior: contain; }
.p300-widget { overflow: hidden; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.p300-social-links a { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 42px; padding: 8px; border: 1px solid var(--p300-line); border-left: 3px solid var(--p300-social-color); border-radius: 8px; background: var(--p300-page); color: var(--p300-copy); font-size: .7rem; font-weight: 600; }
.p300-social-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }
.p300-social-links a:hover, .p300-social-links a:focus-visible { border-color: var(--p300-social-color); background: var(--p300-panel-soft); }
.p300-social-links__icon { display: grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; color: var(--p300-social-color); }
.p300-social-links__icon svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.p300-social-links--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 0; }
.p300-social-links--compact a { display: grid; place-items: center; min-height: 36px; padding: 6px; border-left-width: 1px; }
.p300-widget__heading { display: block; margin: 0; padding: 16px; border-bottom: 1px solid var(--p300-line); font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; }
details.p300-widget .p300-widget__heading { position: relative; padding-right: 44px; cursor: pointer; list-style: none; }
details.p300-widget .p300-widget__heading::-webkit-details-marker { display: none; }
details.p300-widget .p300-widget__heading::after { content: "−"; position: absolute; top: 50%; right: 14px; display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #384252; border-radius: 7px; color: var(--p300-copy); font-size: 1.05rem; line-height: 1; transform: translateY(-50%); }
details.p300-widget:not([open]) .p300-widget__heading { border-bottom: 0; }
details.p300-widget:not([open]) .p300-widget__heading::after { content: "+"; }
.p300-widget__heading small { display: block; margin-bottom: 3px; color: var(--p300-accent); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.p300-sidebar--article .p300-widget__heading small { color: var(--p300-sidebar-heading-dark); }
html[data-p300-theme="light"] .p300-sidebar--article .p300-widget__heading small { color: var(--p300-sidebar-heading-light); }
.p300-sidebar-video__media { position: relative; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; overflow: hidden; background: #050608; }
.p300-sidebar-video__poster { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.p300-sidebar-video__poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.p300-sidebar-video__play { position: absolute; display: grid; place-items: center; width: 50px; height: 38px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; background: #e71926; box-shadow: 0 3px 15px rgba(0,0,0,.3); transition: transform .16s ease, background .16s ease; }
.p300-sidebar-video__play svg { width: 21px; height: 21px; fill: #fff; }
.p300-sidebar-video__poster:hover .p300-sidebar-video__play { transform: scale(1.06); background: #ff1e2d; }
.p300-sidebar-video__poster:focus-visible { outline: 2px solid #ff9900; outline-offset: -3px; }
.p300-sidebar-video__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.p300-sidebar-video__body { padding: 16px; }
.p300-sidebar-video__body h3 { margin: 0 0 10px; color: var(--p300-copy); font-size: .95rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.p300-sidebar-video__body h3 a { color: inherit; }
.p300-sidebar-video__body time { display: block; color: var(--p300-muted); font-size: .68rem; }
.p300-sidebar-video__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--p300-line); }
.p300-sidebar-video__links a { color: var(--p300-copy); font-size: .7rem; font-weight: 550; line-height: 1.5; text-underline-offset: 3px; }
.p300-sidebar-video__links a:first-child { color: var(--p300-accent); }
.p300-sidebar-video__links a:hover { text-decoration: underline; }
.p300-list { list-style: none; margin: 0; padding: 0; }
.p300-list li { border-bottom: 1px solid var(--p300-line); }
.p300-list li:last-child { border-bottom: 0; }
.p300-list a { display: block; padding: 14px 16px; font-size: .78rem; font-weight: 750; line-height: 1.13; }
.p300-list .p300-chip { display: inline-flex; min-height: 22px; margin: 0 0 8px; padding: 4px 2px 4px 17px; font-size: .90rem; }
/* Remove the double cut's transparent lead-in so its visible edge lines up with the headline. */
.p300-list .p300-chip::before { width: 13px; background-position: -2px 0,3px 0; }
.p300-list strong { display: block; color: #eef1f5; font-size: .78rem; line-height: 1.13; }
.p300-list span:not(.p300-chip) { display: block; margin-top: 5px; color: var(--p300-muted); font-size: .62rem; font-weight: 600; }
.p300-service-list a { position: relative; padding-right: 34px; }
.p300-service-list strong { display: block; color: #eef1f5; font-size: .75rem; line-height: 1.16; }
.p300-service-list i { position: absolute; top: 50%; right: 15px; color: var(--p300-accent); font-size: .9rem; font-style: normal; transform: translateY(-50%); }
.p300-widget__empty { padding: 15px 16px; color: var(--p300-muted); font-size: .76rem; font-weight: 700; }
.p300-widget__empty a { display: block; color: inherit; }
.p300-widget__empty a span { float: right; color: var(--p300-accent); }

.p300-article__crumbs { color: var(--p300-muted); font-size: .72rem; font-weight: 700; margin-bottom: 18px; }
.p300-article__header { margin-bottom: 24px; }
.p300-article-byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.p300-article-byline > .p300-meta { flex: 1 1 240px; min-width: 0; }
.p300-share { position: relative; flex: 0 0 auto; }
.p300-share > summary { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--p300-line); border-radius: 8px; background: var(--p300-panel); color: var(--p300-copy); font-size: .8rem; font-weight: 600; cursor: pointer; list-style: none; }
.p300-share > summary::-webkit-details-marker { display: none; }
.p300-share > summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.p300-share > summary:hover, .p300-share[open] > summary { border-color: var(--p300-accent); }
.p300-share__panel { position: absolute; z-index: 40; top: calc(100% + 10px); right: 0; width: min(330px, calc(100vw - 48px)); padding: 16px; border: 1px solid var(--p300-line); border-radius: 12px; background: var(--p300-panel); color: var(--p300-copy); box-shadow: 0 14px 35px rgb(0 0 0 / 22%); }
.p300-share__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: .9rem; }
.p300-share__heading button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--p300-line); border-radius: 6px; background: transparent; color: inherit; font: inherit; font-size: 1.25rem; cursor: pointer; }
.p300-share__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.p300-share__links a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 10px; border: 1px solid var(--p300-line); border-radius: 6px; color: var(--p300-copy); font-size: .8rem; }
.p300-share__copy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .75rem; }
.p300-share__copy > label { display: grid; gap: 8px; width: 100%; color: var(--p300-muted); }
.p300-share__copy input { min-width: 0; width: 100%; min-height: 40px; padding: 9px; border: 1px solid var(--p300-line); border-radius: 6px; background: var(--p300-page); color: var(--p300-copy); font: inherit; }
.p300-share__copy button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--p300-line); border-radius: 6px; background: var(--p300-panel-soft); color: var(--p300-copy); font: inherit; font-weight: 600; cursor: pointer; }
.p300-share__status { margin: 10px 0 0; font-size: .75rem; color: var(--p300-muted); }
.p300-share__status:empty { display: none; }
.p300-share [hidden] { display: none; }
.p300-share :is(a, button, input, summary):focus-visible, .p300-donation a:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 3px; }
.p300-donation { padding: 16px; }
.p300-donation p { margin: 0 0 16px; color: var(--p300-copy); font-size: .83rem; line-height: 1.5; }
.p300-donation__amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.p300-donation__amounts a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 4px; border: 1px solid var(--p300-line); border-radius: 7px; background: var(--p300-panel-soft); color: var(--p300-copy); font-size: .85rem; font-weight: 600; }
.p300-donation__amounts a:hover { border-color: var(--p300-accent); }
.p300-donation__amounts .p300-donation__free { grid-column: 1 / -1; gap: 14px; }
.p300-donation > small { display: block; margin-top: 12px; color: var(--p300-muted); font-size: .7rem; line-height: 1.45; }
@media (max-width: 600px) {
  .p300-article-byline > .p300-meta { flex-basis: 100%; }
  .p300-share__panel { left: 0; right: auto; }
}
.p300-article__title { max-width: 920px; margin: 13px 0 15px; font-size: clamp(2rem, 3.7vw, 3.35rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.p300-article__excerpt { max-width: 860px; margin: 0 0 16px; color: #c3cad5; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 650; line-height: 1.35; }
.p300-featured { overflow: hidden; margin: 26px 0 32px; border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-featured img { width: 100%; }
/* Testata e copertina unite, con lo stesso rientro dei comandi dell'header. */
.p300-article-opening--covered { --p300-opening-gutter: max(16px, var(--p300-header-inline-padding)); position: relative; min-width: 0; margin-bottom: 32px; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: linear-gradient(90deg, color-mix(in srgb, var(--p300-category, var(--p300-accent)) 6%, var(--p300-panel)), var(--p300-panel) 75%); }
.p300-article-opening--covered > .p300-article__header { margin: 0; padding: 22px var(--p300-opening-gutter) 20px; }
.p300-article-opening--covered > .p300-featured { margin: 0 var(--p300-opening-gutter) var(--p300-opening-gutter); border-radius: max(6px, calc(var(--p300-radius) - 8px)); }
.p300-entry { width: 100%; min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.65; }
.p300-entry iframe, .p300-entry video, .p300-entry embed { max-width: 100%; }
.p300-entry figure, .p300-entry .alignwide, .p300-entry .alignfull { max-width: 100%; margin-inline: 0; }
.p300-entry table { display: block; max-width: 100%; overflow-x: auto; }
.p300-entry pre, .p300-entry .wp-block-table { max-width: 100%; overflow-x: auto; }
.p300-article__title, .p300-card__title { overflow-wrap: anywhere; }
.p300-entry > * { margin: 0 0 1.35em; }
.p300-entry h2, .p300-entry h3 { color: #fff; line-height: 1.08; letter-spacing: -.045em; }
.p300-entry a { color: var(--p300-accent); text-decoration: underline; }
.p300-entry--blog { display: flow-root; }
.p300-entry > .p300-blog-signature { float: inline-start; shape-outside: inset(0 0 6px 0); width: 132px; max-width: 100%; margin: 0 24px 0 0; padding: 9px; border: 1px solid var(--p300-line); border-radius: 16px; background: color-mix(in srgb, var(--p300-category, var(--p300-accent)) 6%, var(--p300-panel)); }
.p300-entry .p300-blog-signature > a { display: block; color: var(--p300-copy); text-decoration: none; }
.p300-entry .p300-blog-signature__photo { display: block; width: 112px; height: 112px; max-width: 100%; margin: 0; border-radius: 10px; object-fit: cover; }
.p300-blog-signature a:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 4px; border-radius: 10px; }
@media (max-width: 600px) {
  .p300-entry > .p300-blog-signature { float: none; width: fit-content; margin: 0 0 20px; padding: 8px; border-radius: 13px; }
  .p300-entry .p300-blog-signature__photo { width: 48px; height: 48px; border-radius: 8px; }
}
.p300-standings { margin: 0 0 34px; padding: 16px; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-standings__list { display: flex; gap: 16px; margin: 10px 0 0; padding: 0; overflow-x: auto; list-style: none; }
.p300-standings__list li { min-width: 150px; padding-right: 15px; border-right: 1px solid var(--p300-line); font-size: .75rem; font-weight: 700; }
.p300-standings__list strong { display: block; color: var(--p300-accent); font-size: 1.15rem; }

.p300-comments { margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--p300-line); }
.p300-comments__title { margin: 0 0 18px; color: var(--p300-copy); font-size: clamp(1.55rem, 2vw, 2.25rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.p300-comments .comment-respond { padding: 20px; border: 1px solid var(--p300-line); border-radius: var(--p300-radius); background: var(--p300-panel); }
.p300-comments :where(textarea, input:not([type="checkbox"]):not([type="radio"])) { width: 100%; padding: 12px; border: 1px solid #3a4350; border-radius: 10px; background: #0d1118; color: #fff; font: inherit; }
.p300-comments a { color: var(--p300-accent); text-underline-offset: 3px; }
.p300-comments a:hover, .p300-comments a:focus-visible { text-decoration: underline; }
.p300-comments .logged-in-as { line-height: 1.65; overflow-wrap: anywhere; }
.p300-comments .p300-comment-required-note { margin: 8px 0 18px; color: var(--p300-muted); font-size: .8rem; }
.p300-comments .submit { width: auto; min-height: 44px; padding: 12px 18px; border: 0; background: var(--p300-accent); color: #111; cursor: pointer; font: 600 .9rem/1.3 "Georama", Arial, sans-serif; letter-spacing: normal; }

.p300-footer { flex: 0 0 auto; border-top: 1px solid var(--p300-line); background: #080b10; }
.p300-footer__inside { display: grid; grid-template-columns: 1.15fr 1.4fr 1fr 1.1fr; gap: 28px; padding: 38px 0 28px; color: var(--p300-muted); font-size: .8rem; line-height: 1.65; }
.p300-footer h2 { margin: 0 0 10px; color: var(--p300-accent); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.p300-footer p { margin: 0 0 7px; }
.p300-footer a { color: var(--p300-copy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb,var(--p300-copy) 35%,transparent); }
.p300-footer a:hover, .p300-footer a:focus-visible { color: var(--p300-accent); text-decoration-color: currentColor; }
.p300-footer__brand img { margin-bottom: 16px; }
.p300-footer__brand p { max-width: 27ch; font-size: .78rem; }
.p300-footer__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding: 20px 0 28px; border-top: 1px solid var(--p300-line); color: var(--p300-muted); font-size: .75rem; }
.p300-footer__bottom p { margin: 0; }
.p300-footer__policies { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.p300-updates-page { padding-block: 30px 54px; }
.p300-updates-heading h1 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.p300-updates-heading p { margin: 0 0 24px; color: var(--p300-muted); line-height: 1.6; }
.p300-updates-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding: 18px; border: 1px solid var(--p300-line); border-radius: 12px; background: var(--p300-panel); }
.p300-updates-filters fieldset { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; border: 0; }
.p300-updates-filters fieldset label { position: relative; cursor: pointer; }
.p300-updates-filters input[type="radio"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.p300-updates-filters fieldset span, .p300-updates-filters button, .p300-updates-more, .p300-updates-new { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 18px; border: 1px solid var(--p300-line); border-radius: 7px; background: var(--p300-panel); color: var(--p300-copy); font: 600 .85rem/1.3 Georama,sans-serif; cursor: pointer; }
.p300-updates-filters input:checked + span { border-color: var(--p300-accent); background: var(--p300-panel-soft); }
.p300-updates-filters input:focus-visible + span, .p300-updates-row a:focus-visible, .p300-updates-flash summary:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 3px; }
.p300-updates-category { display: grid; flex: 1 1 230px; gap: 6px; font-size: .75rem; color: var(--p300-muted); }
.p300-updates-category select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid var(--p300-line); border-radius: 7px; background: var(--p300-page); color: var(--p300-copy); font: 500 .9rem Georama,sans-serif; }
.p300-updates-access { padding: 14px 18px; border: 1px solid var(--p300-line); border-radius: 8px; font-size: .85rem; line-height: 1.5; color: var(--p300-muted); }
.p300-updates-access a, .p300-updates-actions a { color: var(--p300-accent); text-decoration: underline; text-underline-offset: 3px; }
.p300-updates-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; font-size: .85rem; }
.p300-updates-new { border-color: var(--p300-accent); }
.p300-updates-status { min-height: 1.3em; margin: 10px 0; color: var(--p300-muted); font-size: .8rem; }
.p300-updates-day { margin-top: 24px; }
.p300-updates-day h2 { margin: 0; padding: 0 0 12px; border-bottom: 1px solid var(--p300-line); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.p300-updates-row { position: relative; display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 18px; padding: 18px 12px; border-bottom: 1px solid var(--p300-line); border-radius: 6px; }
.p300-updates-row:hover { background: color-mix(in srgb,var(--p300-panel) 65%,transparent); }
.p300-updates-row > time { padding-top: 2px; font-size: .88rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.p300-updates-row__body { min-width: 0; }
.p300-updates-row__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 8px; }
.p300-updates-row__meta .p300-chip { font-size: .8rem; }
.p300-updates-kind { color: var(--p300-muted); font-size: .66rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.p300-updates-row--flash .p300-updates-kind { color: #a999ff; }
html[data-p300-theme="light"] .p300-updates-row--flash .p300-updates-kind { color: #6541b5; }
.p300-updates-row h3 { margin: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.45; overflow-wrap: anywhere; }
.p300-updates-row__link { color: var(--p300-copy); }
.p300-updates-row__link::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }
.p300-updates-flash__text { margin: 0; color: var(--p300-copy); white-space: pre-line; font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.p300-updates-flash summary { list-style: none; cursor: pointer; font-size: .95rem; line-height: 1.6; }
.p300-updates-flash summary::-webkit-details-marker { display: none; }
.p300-updates-flash__open, .p300-updates-flash__close { display: block; margin-top: 6px; color: var(--p300-accent); font-size: .8rem; }
.p300-updates-flash__close, .p300-updates-flash[open] .p300-updates-flash__open, .p300-updates-flash[open] .p300-updates-flash__excerpt { display: none; }
.p300-updates-flash[open] .p300-updates-flash__close { display: block; margin: 0 0 8px; }
.p300-updates-more { margin-top: 28px; }
.p300-updates-empty { color: var(--p300-muted); line-height: 1.6; }
.p300-updates-page [hidden] { display: none !important; }
@media(max-width:560px) {
  .p300-updates-page { padding-block: 24px 36px; }
  .p300-updates-filters { padding: 12px; gap: 12px; }
  .p300-updates-filters fieldset { flex: 1 0 100%; }
  .p300-updates-filters button { padding-inline: 12px; }
  .p300-updates-category { flex-basis: 170px; }
  .p300-updates-row { grid-template-columns: 42px minmax(0,1fr); gap: 10px; padding: 16px 0; }
  .p300-updates-row h3 { font-size: 1rem; }
  .p300-updates-row > time { font-size: .8rem; }
  .p300-updates-more { width: 100%; }
}
.p300-footer-partners { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; padding-block: 34px; border-bottom: 1px solid var(--p300-line); }
.p300-footer .p300-footer-partners h2 { margin: 0 0 18px; color: var(--p300-copy); font: 600 1.2rem/1.25 var(--p300-font, "Georama"), sans-serif; letter-spacing: -.025em; text-transform: none; }
.p300-footer-partners__group { min-width: 0; }
.p300-footer-partners__logos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.p300-footer-partners__group[data-partner-group="support"] .p300-footer-partners__logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
.p300-footer-partners__logos li { min-width: 0; }
.p300-footer-partners--single { grid-template-columns: 1fr; }
.p300-partner-filter { position: absolute; overflow: hidden; pointer-events: none; }
.p300-footer-partners .p300-partner-logo--light { display: none; }
html[data-p300-theme="light"] .p300-footer-partners .p300-partner-logo--dark { display: none; }
html[data-p300-theme="light"] .p300-footer-partners .p300-partner-logo--light { display: block; }
html[data-p300-theme="light"] .p300-footer-partners .p300-partner-logo--ink { filter: url(#p300-partner-dark-ink); }
html[data-p300-theme="light"] .p300-footer .p300-footer-partners__logos a { background: var(--p300-partner-background-light,#f7f8fa); border-color: var(--p300-line); }
html[data-p300-theme="light"] .p300-footer .p300-footer-partners__logos a:hover { background: color-mix(in srgb,var(--p300-partner-background-light,#f7f8fa) 94%,#151b25); border-color: #a7b0bd; }

.p300-footer .p300-footer-partners__logos a { display: flex; align-items: center; justify-content: center; min-height: 94px; height: 100%; padding: 14px 10px; border: 1px solid #303845; border-radius: 10px; background: var(--p300-partner-background-dark,var(--p300-panel)); transition: border-color .2s ease, background .2s ease; }
.p300-footer .p300-footer-partners__logos a:hover { border-color: #76818e; background: color-mix(in srgb,var(--p300-partner-background-dark,var(--p300-panel)) 94%,white); }
.p300-footer .p300-footer-partners__logos a:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 3px; }
.p300-footer-partners__logos img { display: block; width: auto; max-width: 100%; height: auto; max-height: 62px; object-fit: contain; filter: none; }
@media (max-width: 900px) {
  .p300-footer-partners { grid-template-columns: 1fr; gap: 26px; }
  .p300-footer-partners__group[data-partner-group="support"] .p300-footer-partners__logos { max-width: 480px; }
}
@media (max-width: 560px) {
  .p300-footer-partners { padding-block: 26px; }
  .p300-footer-partners__logos { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Scorrimento coerente con l'interfaccia, anche per classifiche e ticker. */
* { scrollbar-width: thin; scrollbar-color: #697384 #10151d; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: #10151d; border-radius: 99px; }
*::-webkit-scrollbar-thumb { border: 2px solid #10151d; border-radius: 99px; background: linear-gradient(180deg, #7d8797, #3d4654); }
*::-webkit-scrollbar-thumb:hover { background: var(--p300-accent); }
/* Più spazio per afferrare le barre verticali, senza ingrossare i ticker. */
html, body, .p300-sidebar, .p300-portal-menu__panel { scrollbar-width: auto; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .p300-sidebar::-webkit-scrollbar, .p300-portal-menu__panel::-webkit-scrollbar { width: 16px; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, .p300-sidebar::-webkit-scrollbar-thumb, .p300-portal-menu__panel::-webkit-scrollbar-thumb { border-width: 3px; }

.p300-portal-menu { position: fixed; z-index: 45; inset: 0; }
.p300-portal-menu[hidden] { display: none; }
.p300-portal-menu__backdrop { position: absolute; inset: 0; background: rgba(1, 3, 6, .7); backdrop-filter: blur(4px); }
.p300-portal-menu__panel { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(1240px, calc(100% - 48px)); height: min(850px, calc(100dvh - 48px)); margin: 24px auto; overflow: hidden; border: 1px solid var(--p300-line); border-radius: 22px; background: var(--p300-panel); box-shadow: 0 24px 80px rgba(0,0,0,.55); }
.p300-portal-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 26px; border-bottom: 1px solid var(--p300-line); color: var(--p300-copy); background: linear-gradient(110deg, color-mix(in srgb, var(--p300-accent) 7%, transparent), transparent 65%); }
.p300-portal-menu__top small, .p300-menu-eyebrow { display: block; color: var(--p300-accent); font-size: .62rem; font-weight: 650; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.p300-portal-menu__top h2 { margin: 5px 0 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.p300-portal-menu__top button { flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--p300-line); border-radius: 10px; background: var(--p300-panel); color: var(--p300-copy); cursor: pointer; font-size: 1.45rem; line-height: 1; }
.p300-portal-menu__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 0; }
.p300-portal-menu__personal { display: grid; align-content: start; gap: 22px; min-width: 0; padding: 24px; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--p300-line); background: color-mix(in srgb, var(--p300-panel-soft) 50%, var(--p300-panel)); }
.p300-portal-menu__archives { min-width: 0; padding: 24px 28px; overflow-y: auto; overscroll-behavior: contain; }
.p300-portal-menu__personal, .p300-portal-menu__archives { scrollbar-width: auto; }
.p300-portal-menu__personal::-webkit-scrollbar, .p300-portal-menu__archives::-webkit-scrollbar, .p300-portal-menu__layout::-webkit-scrollbar { width: 14px; }
.p300-menu-account__identity { display: flex; align-items: center; gap: 12px; }
.p300-menu-account__identity > div:last-child { min-width: 0; }
.p300-menu-account__identity strong { display: block; margin: 3px 0 5px; color: var(--p300-copy); font-size: 1.05rem; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.p300-menu-account__avatar { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--p300-line); border-radius: 50%; background: var(--p300-panel); }
.p300-menu-account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.p300-menu-account__avatar svg { width: 28px; height: 28px; fill: none; stroke: var(--p300-muted); stroke-width: 1.5; }
.p300-menu-account__status { display: block; color: var(--p300-muted); font-size: .65rem; line-height: 1.5; }
.p300-menu-account__status.is-logged { color: #48c995; }
html[data-p300-theme="light"] .p300-menu-account__status.is-logged { color: #087b46; }
.p300-menu-account__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.p300-menu-account__actions a { padding: 8px 11px; border: 1px solid var(--p300-line); border-radius: 8px; color: var(--p300-copy); font-size: .72rem; font-weight: 550; }
.p300-menu-account__actions a:first-child { border-color: color-mix(in srgb, var(--p300-accent) 55%, var(--p300-line)); background: color-mix(in srgb, var(--p300-accent) 9%, transparent); }
.p300-menu-language { padding-top: 20px; border-top: 1px solid var(--p300-line); }
.p300-menu-language select { display: block; width: 100%; min-height: 42px; margin: 8px 0; padding: 8px 12px; border: 1px solid var(--p300-line); border-radius: 9px; background: var(--p300-panel); color: var(--p300-copy); font: inherit; font-size: .85rem; cursor: pointer; }
.p300-menu-language p { margin: 0 0 6px; color: var(--p300-copy); font-size: .72rem; line-height: 1.5; }
.p300-menu-language > small { display: block; color: var(--p300-muted); font-size: .65rem; line-height: 1.6; }
.p300-language-retry { margin: 2px 0 8px; padding: 6px 9px; border: 1px solid var(--p300-line); border-radius: 6px; background: var(--p300-panel); color: var(--p300-copy); cursor: pointer; font: inherit; font-size: .7rem; }
.p300-menu-links h3 { margin: 0 0 12px; color: var(--p300-copy); font-size: 1.05rem; font-weight: 600; }
.p300-menu-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.p300-menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 36px; padding: 6px 0; border-bottom: 1px solid var(--p300-line); color: var(--p300-copy); font-size: .69rem; line-height: 1.4; }
.p300-menu-links a span { color: var(--p300-muted); }
.p300-menu-links a:hover, .p300-menu-account__actions a:hover { color: var(--p300-accent); }
.p300-portal-menu__archive-heading { margin-bottom: 24px; }
.p300-portal-menu__archive-heading h3 { margin: 5px 0 0; color: var(--p300-copy); font-size: 1.6rem; font-weight: 600; letter-spacing: -.035em; }
.p300-portal-menu__groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; }
.p300-menu-column { display: grid; align-content: start; gap: 24px; min-width: 0; }
.p300-menu-column > section { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; padding: 0 0 20px; border-bottom: 1px solid var(--p300-line); }
.p300-menu-column > section:last-child { padding-bottom: 0; border-bottom: 0; }
.p300-portal-menu__groups h3 { margin: 0; padding: 0; color: var(--p300-copy); font-size: 1.2rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.p300-menu-area-link { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--p300-copy) 24%, transparent); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.p300-menu-area-link:hover { color: inherit; text-decoration-color: var(--p300-category, var(--p300-accent)); }
.p300-menu-area-link:focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 4px; border-radius: 3px; }
.p300-portal-menu__groups ul { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; margin: 0; padding: 0; overflow: visible; list-style: none; }
.p300-menu-column > section > ul > li { position: relative; flex: 0 1 auto; max-width: 100%; }
.p300-portal-menu__groups .p300-chip { min-height: 26px; margin: 0; padding: 5px 2px 5px 21px; font-size: .875rem; letter-spacing: -0.025rem; transition: transform .18s ease; }
.p300-portal-menu__groups .p300-chip:hover { color: var(--p300-copy); transform: translateY(-1px); }
.p300-portal-menu__groups summary { cursor: pointer; }
.p300-portal-menu__groups summary::marker { content: ""; }
.p300-portal-menu__groups summary a { color: inherit; }
.p300-menu-subarrow { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; margin: -4px 0 -4px 8px; border: 1px solid var(--p300-line); border-radius: 5px; background: var(--p300-panel-soft); color: var(--p300-accent); }
.p300-menu-subarrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.p300-portal-menu__groups details[open] .p300-menu-subarrow svg { transform: rotate(180deg); }
.p300-menu-subarrow:hover { color: var(--p300-accent); border-color: var(--p300-accent); }
.p300-portal-menu__subitems { display: flex !important; flex-wrap: wrap; gap: 2px !important; max-width: 520px; margin: 3px 0 6px !important; padding: 6px !important; border: 1px solid var(--p300-line); border-radius: 8px; background: var(--p300-page); }
.p300-portal-menu__groups details:not([open]) > .p300-portal-menu__subitems { display: none !important; }
.p300-portal-menu__subitems a { display: block; padding: 4px 6px; border-radius: 5px; color: var(--p300-muted); font-size: .78rem; font-weight: 650; line-height: 1.25; }
.p300-portal-menu__subitems a:hover { background: #202a37; color: #fff; }
.p300-portal-menu__preferences { padding: 0; }
.p300-portal-menu__preferences .p300-home-preferences { margin: 0; }
.p300-portal-menu__preferences .p300-home-preferences > summary { padding: 13px 12px; font-size: .75rem; font-weight: 550; }
.p300-portal-menu__preferences .p300-home-preferences > div { padding: 0 12px 14px; font-size: .7rem; line-height: 1.6; }
.p300-portal-menu__preferences .p300-home-preferences__options { display: grid; gap: 8px; }
.p300-menu-box { min-width: 0; border: 1px solid var(--p300-line); border-radius: 12px; background: var(--p300-panel); }
.p300-menu-box > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; cursor: pointer; list-style: none; }
.p300-menu-box > summary::marker { content: ""; }
.p300-menu-box > summary::after { content: "+"; color: var(--p300-muted); font-size: 1.1rem; line-height: 1; }
.p300-menu-box[open] > summary::after { content: "−"; }
.p300-menu-box__body { display: grid; gap: 20px; min-width: 0; padding: 0 14px 14px; }
.p300-menu-box:not([open]) > .p300-menu-box__body { display: none; }
.p300-menu-box .p300-menu-language { padding: 0; border: 0; }
.p300-menu-box .p300-menu-language > label { color: var(--p300-copy); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.p300-portal-menu :focus-visible { outline: 2px solid var(--p300-accent); outline-offset: 3px; }
.p300-google-translate, .p300-translation-notice[hidden] { display: none; }
.p300-translation-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--p300-line); border-radius: 10px; background: var(--p300-panel); color: var(--p300-muted); font-size: .75rem; line-height: 1.5; }
.p300-translation-notice button { flex-shrink: 0; padding: 6px 9px; border: 1px solid var(--p300-line); border-radius: 6px; background: transparent; color: var(--p300-copy); cursor: pointer; font: inherit; }
html[data-p300-translated] body { top: 0 !important; }
html[data-p300-translated] body > .skiptranslate { display: none !important; }

@media (max-width: 900px) {
  .p300-portal-menu__panel { width: calc(100% - 24px); height: calc(100dvh - 24px); max-height: none; margin: 12px auto; border-radius: 16px; }
  .p300-portal-menu__top { padding: 17px 18px; }
  .p300-portal-menu__top h2 { font-size: 1.35rem; }
  .p300-portal-menu__layout { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .p300-portal-menu__personal { overflow: visible; padding: 20px; border-right: 0; border-bottom: 1px solid var(--p300-line); }
  .p300-portal-menu__archives { overflow: visible; padding: 24px 20px; }
}

.p300-taskbar { position: fixed; z-index: 35; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 8px 14px; border: 1px solid #303844; border-radius: 15px; background: rgba(9, 13, 19, .96); box-shadow: 0 8px 25px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.p300-taskbar button, .p300-taskbar a { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #e4e8ef; cursor: pointer; line-height: 1; text-decoration: none; }
.p300-taskbar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.p300-taskbar button:hover, .p300-taskbar a:hover { background: #1a222d; color: var(--p300-accent); }
.p300-taskbar button:disabled { color: #3a4350; cursor: default; }
.p300-taskbar button:disabled:hover { background: transparent; }
.p300-taskbar__preview { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); padding: 14px 16px; border: 1px solid var(--p300-line); border-radius: 12px; background: var(--p300-panel); color: var(--p300-copy); box-shadow: 0 10px 30px rgba(0,0,0,.22); text-align: left; line-height: 1.4; overflow-wrap: anywhere; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(5px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.p300-taskbar__preview small { display: block; margin-bottom: 5px; color: var(--p300-accent); font-size: .62rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.p300-taskbar__preview strong { display: block; color: var(--p300-copy); font-size: .84rem; font-weight: 600; }
.p300-taskbar__article:hover .p300-taskbar__preview,
.p300-taskbar__article:focus-visible .p300-taskbar__preview { opacity: 1; visibility: visible; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .p300-taskbar__preview { transition: none; } }
.p300-taskbar__account { color: #ff6472 !important; }
.p300-taskbar__account.is-logged { color: #40d889 !important; }
.p300-taskbar__notice { color: #ffca28 !important; }

/* Un peso tipografico più leggero per tutti i titoli editoriali. */
.p300-hero__title,
.p300-card .p300-card__title,
.p300-section-heading,
.p300-simple-heading h1,
.p300-simple-heading h2,
.p300-area-heading h2,
.p300-widget__heading,
.p300-ticker__heading strong,
.p300-list strong,
.p300-standings__heading strong,
.p300-portal-menu__top strong,
.p300-portal-menu__groups h2,
.p300-search-panel__heading h2,
.p300-footer h2,
.p300-comments :is(h1, h2, h3, h4, h5, h6),
.p300-entry :is(h1, h2, h3, h4, h5, h6) { font-weight: 600; }
.p300-article__title { font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .p300-main { animation: p300-page-enter .36s cubic-bezier(.2,.8,.2,1) both; }
  .p300-championship-section[open] .p300-championship-section__content,
  details.p300-widget[open] > :not(summary) { animation: p300-reveal .24s ease-out both; }
  .p300-championship-section > summary::after,
  details.p300-widget .p300-widget__heading::after { transition: transform .2s ease, background .2s ease; }
  .p300-championship-section > summary:hover::after { transform: rotate(90deg); background: #1a222d; }
  details.p300-widget .p300-widget__heading:hover::after { transform: translateY(-50%) rotate(90deg); background: #1a222d; }
  @keyframes p300-page-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes p300-reveal { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
}

/* Un solo layout per le classifiche di home e articoli. */
.p300-standings.p300-standings--compact { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; padding: 0; overflow: hidden; }
.p300-standings--compact .p300-standings__heading { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; margin: 0; padding: 11px 18px; border-right: 1px solid var(--p300-line); }
.p300-standings--compact .p300-standings__list { min-width: 0; margin: 0; gap: 0; overflow-x: auto; border: 0; border-radius: 0; }
.p300-standings--compact .p300-standings__list li { position: static; display: grid; grid-template-columns: minmax(20px, max-content) minmax(max-content, 1fr) minmax(32px, max-content); grid-template-rows: auto auto; align-items: baseline; align-content: start; column-gap: 12px; row-gap: 4px; flex: 0 0 auto; width: max-content; min-width: 210px; min-height: 66px; padding: 12px 14px; border-right: 1px solid var(--p300-line); font-size: inherit; font-weight: inherit; }
.p300-standings--hypercar-manufacturers .p300-standings__list li { align-content: center; }
.p300-standings--compact .p300-standings__list strong { display: block; grid-column: 1; grid-row: 1; align-self: baseline; color: var(--p300-accent); font-size: .95rem; line-height: 1.1; }
.p300-standings--compact .p300-standings__list span { display: contents; }
.p300-standings--compact .p300-standings__list span b { grid-column: 2; grid-row: 1; align-self: baseline; min-width: max-content; overflow: visible; color: var(--p300-copy); font-size: .80rem; font-weight: 700; line-height: 1.1; text-overflow: clip; white-space: nowrap; }
.p300-standings--compact .p300-standings__list span small { grid-column: 2 / 4; grid-row: 2; align-self: start; width: 0; min-width: 100%; max-width: 100%; color: var(--p300-muted); font-size: .57rem; font-weight: 600; line-height: 1.1; white-space: normal; overflow-wrap: anywhere; }
.p300-standings--compact .p300-standings__list em { position: static; grid-column: 3; grid-row: 1; align-self: baseline; color: var(--p300-copy); font-size: .95rem; font-style: normal; font-weight: 700; line-height: 1.1; white-space: nowrap; }

html[data-p300-theme="light"] { --p300-page: #f3f5f8; --p300-panel: #fff; --p300-panel-soft: #e8ecf1; --p300-line: #d2d8e1; --p300-copy: #151b25; --p300-muted: #546174; --p300-accent: #be4c00; color-scheme: light; }
html[data-p300-theme="light"] :is(h1,h2,h3,h4,h5,h6,.p300-hero__title,.p300-kicker,.p300-widget__heading,.p300-ticker__heading strong) { text-shadow: none; }
html[data-p300-theme="light"] .p300-hero { --p300-hero-paper: #eceef1; --p300-panel: var(--p300-hero-paper); background: var(--p300-hero-paper); }
html[data-p300-theme="light"] .p300-hero::after { background: linear-gradient(90deg,var(--p300-hero-paper) 0%,var(--p300-hero-paper) 30%,color-mix(in srgb,var(--p300-hero-paper) 92%,transparent) 40%,transparent 68%); }
html[data-p300-theme="light"] .p300-card { box-shadow: 0 2px 8px rgba(23,35,55,.04); }
html[data-p300-theme="light"] .p300-ticker__items a { background: var(--p300-page); border-color: var(--p300-line); }
html[data-p300-theme="light"] .p300-ticker__items a:hover { background: var(--p300-panel-soft); border-color: var(--p300-accent); color: var(--p300-copy); }
html[data-p300-theme="light"] :is(.p300-ticker__thumb,.p300-card__image) { background: var(--p300-panel-soft); }
html[data-p300-theme="light"] .p300-comments textarea,
html[data-p300-theme="light"] .p300-comments input:not(.submit) { background: var(--p300-page); border-color: var(--p300-line); }
html[data-p300-theme="light"] .p300-championship-section > summary:hover::after,
html[data-p300-theme="light"] details.p300-widget .p300-widget__heading:hover::after { background: var(--p300-panel-soft); }
html[data-p300-theme="light"] .p300-footer { background: #fff; }
html[data-p300-theme="light"] .p300-header__menu a, html[data-p300-theme="light"] .p300-standings__heading strong, html[data-p300-theme="light"] .p300-card__title, html[data-p300-theme="light"] .p300-simple-heading h2, html[data-p300-theme="light"] .p300-area-heading h2, html[data-p300-theme="light"] .p300-ticker__heading strong { color: #151b25; }
html[data-p300-theme="light"] .p300-card, html[data-p300-theme="light"] .p300-championship-section .p300-standings, html[data-p300-theme="light"] .p300-widget { background: #fff; }
html[data-p300-theme="light"] .p300-taskbar { background: rgba(255,255,255,.95); }
html[data-p300-theme="light"] .p300-header__brand img,
html[data-p300-theme="light"] .p300-footer__inside img { filter: invert(1); }
html[data-p300-theme="light"] .p300-entry h2,
html[data-p300-theme="light"] .p300-entry h3,
html[data-p300-theme="light"] .p300-section-heading,
html[data-p300-theme="light"] .p300-list strong,
html[data-p300-theme="light"] .p300-portal-menu__top,
html[data-p300-theme="light"] .p300-portal-menu__groups h2 { color: var(--p300-copy); }
html[data-p300-theme="light"] .p300-article__excerpt { color: #465469; }
html[data-p300-theme="light"] .p300-icon-button:not(.p300-header__account),
html[data-p300-theme="light"] .p300-taskbar a,
html[data-p300-theme="light"] .p300-taskbar button { border-color: var(--p300-line); color: var(--p300-copy); }
html[data-p300-theme="light"] .p300-header__account { color: #be2444; }
html[data-p300-theme="light"] .p300-header__account.is-logged { color: #087b46; }
html[data-p300-theme="light"] .p300-header-search,
html[data-p300-theme="light"] .p300-portal-menu__panel,
html[data-p300-theme="light"] .p300-portal-menu__subitems,
html[data-p300-theme="light"] .p300-home-preferences,
html[data-p300-theme="light"] .p300-comments .comment-respond { background: var(--p300-panel); border-color: var(--p300-line); }
html[data-p300-theme="light"] .p300-header-search input,
html[data-p300-theme="light"] .p300-comments textarea,
html[data-p300-theme="light"] .p300-comments input:not(.submit),
html[data-p300-theme="light"] .p300-ticker__items a,
html[data-p300-theme="light"] .p300-portal-menu__subitems a,
html[data-p300-theme="light"] .p300-home-preferences > summary,
html[data-p300-theme="light"] .p300-home-preferences label,
html[data-p300-theme="light"] .p300-ticker__items strong { color: var(--p300-copy); }
html[data-p300-theme="light"] .p300-ticker__items time { color: color-mix(in srgb, var(--p300-category, #ff9900) 45%, #151b25); }
html[data-p300-theme="light"] .p300-taskbar button:hover,
html[data-p300-theme="light"] .p300-taskbar a:hover,
html[data-p300-theme="light"] .p300-portal-menu__subitems a:hover,
html[data-p300-theme="light"] .p300-header__menu a:hover { background: #e8ecf1; }
html[data-p300-theme="light"] .p300-portal-menu__groups > section,
html[data-p300-theme="light"] .p300-widget__heading,
html[data-p300-theme="light"] .p300-footer { border-color: var(--p300-line); }
html[data-p300-theme="light"] * { scrollbar-color: #8b95a4 #e2e7ee; }
html[data-p300-theme="light"] *::-webkit-scrollbar-track { background: #e2e7ee; }
html[data-p300-theme="light"] *::-webkit-scrollbar-thumb { border-color: #e2e7ee; background: #8b95a4; }
html[data-p300-theme="light"] .p300-comments .submit,
html[data-p300-theme="light"] .p300-header-search button { color: #fff; }
html[data-p300-theme="light"] .p300-taskbar button:disabled { color: #9aa4b2; }

@media (min-width: 901px) and (max-width: 1150px) {
  .p300-championship-layout { grid-template-columns: minmax(0, 1fr); height: auto; }
  .p300-championship-feature .p300-card__image { aspect-ratio: 1.75; }
  .p300-championship-list { grid-template-rows: none; }
  .p300-championship-list .p300-card { min-height: 160px; }
}

@media (max-width: 900px) {
  :root { --p300-container: min(100% - 30px, 720px); --p300-header-height: 76px; --p300-header-inline-padding: 10px; }
  .p300-header__inside { min-height: 66px; gap: 15px; }
  .p300-header { --p300-header-logo-width: 145px; }
  .p300-header__menu { display: flex; min-height: 56px; padding-block: 11px; }
  .p300-header__menu ul { gap: clamp(4px, 1.5vw, 18px); font-size: clamp(.66rem, 1.7vw, .82rem); letter-spacing: .015em; }
  .p300-header__menu a { padding: 9px 6px; }
  .p300-header__inside { gap: 8px; }
  .p300-header__actions, .p300-header__leading { gap: 0; padding: 2px; }
  .p300-header__inside .p300-icon-button { width: 32px; height: 34px; border-radius: 10px; }
  .p300-header .p300-menu-toggle, .p300-header .p300-header__search { width: auto; min-width: 34px; padding: 0 10px; }
  .p300-hero, .p300-hero.p300-hero--secondary { display: flex; flex-direction: column; min-height: 0; }
  .p300-hero .p300-hero__label { position: static; align-self: flex-start; max-width: calc(100% - 44px); margin: 20px 22px 12px; }
  .p300-hero__label .p300-chip, .p300-hero--secondary .p300-hero__label .p300-chip { min-height: 26px; padding: 3px 2px 3px 21px; }
  .p300-hero__image { position: relative; inset: auto; display: block; width: calc(100% - 28px); height: auto; flex: 0 0 auto; margin: 0 14px; border-radius: 6px; }
  .p300-hero__image > img { display: block; width: 100%; height: auto; max-width: none; max-height: none; object-fit: contain; mask-image: none; }
  .p300-hero::after, .p300-hero--secondary::after { display: none; }
  .p300-hero__content { justify-content: start; width: 100%; min-height: 0; height: auto; padding: 18px 22px 24px; }
  .p300-hero__title { max-width: none; margin-bottom: 16px; font-size: var(--p300-title-hero-mobile, 28px); line-height: 1.12; text-shadow: none; }
  .p300-top-grid, .p300-card-grid { grid-template-columns: 1fr; }
  .p300-hero--secondary .p300-hero__content { width: 100%; min-height: 0; height: auto; padding: 16px 22px 22px; }
  .p300-hero--secondary .p300-hero__title { font-size: var(--p300-title-secondary-mobile, 20px); line-height: 1.15; text-shadow: none; }
  .p300-latest-news__grid { grid-template-columns: 1fr; }
  .p300-ticker { grid-template-columns: 1fr; gap: 13px; }
  .p300-championship-layout { grid-template-columns: 1fr; height: auto; }
  .p300-championship-feature .p300-card__image { aspect-ratio: 1.75; }
  .p300-championship-list { grid-template-rows: none; }
  .p300-championship-list .p300-card { min-height: 0; }
  .p300-home-layout, .p300-article-layout { grid-template-columns: 1fr; }
  .p300-article-layout { gap: 24px; }
  .p300-sidebar { position: static; order: 2; max-height: none; overflow: visible; scrollbar-gutter: auto; padding-right: 0; }
  .p300-footer__inside { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .p300-footer__bottom { padding-bottom: 82px; }
  .p300-portal-menu__groups { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .p300-footer__inside { grid-template-columns: 1fr; }
  :root { --p300-header-inline-padding: 6px; }
  .p300-header__control-label { display: none; }
  .p300-header .p300-menu-toggle, .p300-header .p300-header__search { width: 32px; min-width: 0; padding: 0; }
  .p300-hero__label { top: 20px; left: 20px; max-width: calc(100% - 40px); }
  .p300-hero::before { inset: 10px; border-radius: calc(var(--p300-radius) - 9px); }
  .p300-search-form { flex-direction: column; }
  .p300-search-form button { min-height: 44px; }
  .p300-header { --p300-header-logo-width: 128px; }
  .p300-championship-section > summary { min-height: 88px; padding: 16px 0; }
  .p300-portal-menu__groups { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .p300-portal-menu__groups > section { grid-template-columns: 1fr; gap: 12px; }
  .p300-portal-menu__groups h2 { padding-top: 18px; }
  .p300-portal-menu__preferences { padding: 0; }
  .p300-taskbar { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); padding: 5px 7px; }
  .p300-taskbar button, .p300-taskbar a { width: 31px; height: 31px; font-size: 1.18rem; }
  .p300-standings.p300-standings--compact { grid-template-columns: minmax(0, 1fr); }
  .p300-standings--compact .p300-standings__heading { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--p300-line); }
  .p300-standings--compact .p300-standings__list { overflow-x: auto; }
  .p300-standings--compact .p300-standings__list li { flex-basis: auto; min-width: 210px; }
}

@media (max-width: 400px) {
  .p300-header { --p300-header-logo-width: 112px; }
  :root { --p300-header-inline-padding: 2px; }
  .p300-header__inside { gap: 4px; }
}
@media (max-width: 360px) {
  .p300-header { --p300-header-logo-width: 96px; }
  .p300-header__inside .p300-icon-button { width: 28px; }
  .p300-header__language img { width: 22px; height: 22px; }
}

/* Native WordPress login, presented as a centered dialog. */
html.p300-login-open{overflow:hidden}
.p300-login-overlay{border:1px solid #374254;border-top:3px solid #ffa21a;border-radius:16px;background:#111821;color:#edf1f7;padding:0;width:min(440px,calc(100% - 24px));max-width:calc(100% - 8px);max-height:calc(100dvh - 24px);margin:auto;overflow:auto;box-shadow:0 24px 80px #0008}
.p300-login-overlay:not([open]){display:none}
.p300-login-overlay::backdrop{background:#000b;backdrop-filter:blur(6px)}
.p300-login-panel{padding:22px;box-sizing:border-box}
.p300-login-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.p300-login-heading h2{font-size:1.45rem;margin:0;font-weight:650;letter-spacing:-.025em;color:#f4f6fa}
.p300-login-panel p{font-size:.85rem;line-height:1.5;color:#b7c3d3;margin:10px 0}
.p300-login-panel iframe{border:0;width:100%;height:440px;display:block;color-scheme:dark}
.p300-login-fallback a{color:#ffb547}
@media(max-width:360px){.p300-login-overlay{width:calc(100% - 8px)}.p300-login-panel{padding:12px 2px}.p300-login-panel iframe{height:460px}}

/* Editorial navigation and reading layout. */
:root { --p300-adminbar-height: 0px; }
body.admin-bar { --p300-adminbar-height: 32px; }
.p300-header { top: calc(var(--p300-adminbar-height, 0px) + 8px); }
.p300-sidebar { top: calc(var(--p300-adminbar-height, 0px) + var(--p300-header-height) + 16px); max-height: calc(100dvh - var(--p300-adminbar-height, 0px) - var(--p300-header-height) - 36px); }
.p300-area-heading__copy { display: flex; flex-direction: column; gap: 8px; }
.p300-championship-section .p300-area-heading__copy { gap: 5px; }
.p300-area-heading__copy h2 { margin: 0; }
.p300-declarations .p300-simple-heading h2 { margin-top: 0; }
.p300-declarations .p300-simple-heading > .p300-kicker, .p300-ticker__heading > .p300-kicker { display: block; margin-top: 8px; }
.p300-section-more { display: flex; justify-content: flex-end; margin-top: 18px; }
.p300-section-more a, .p300-sidebar-toolbar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 13px; border: 1px solid var(--p300-line); border-radius: 8px; background: var(--p300-panel); color: var(--p300-copy); font: 600 .78rem/1.3 Georama,sans-serif; }
.p300-section-more a:hover, .p300-sidebar-toolbar button:hover { border-color: var(--p300-accent); background: var(--p300-panel-soft); }
.p300-section-more a span { color: var(--p300-accent); }
.p300-section-more__group { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--p300-line); border-radius: 8px; background: var(--p300-panel); }
.p300-section-more--categories .p300-section-more__all { min-height: 28px; padding: 0; border: 0; background: transparent; }
.p300-section-more__categories { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; max-width: 100%; padding-inline-start: 12px; border-inline-start: 1px solid var(--p300-line); }
.p300-section-more__categories:empty { display: none; }
.p300-section-more__categories a.p300-chip { min-height: 28px; padding: 4px 2px 4px 21px; border: 0; border-radius: 0; background: transparent; font-size: .75rem; font-style: oblique 6deg; font-weight: 700; line-height: 1; }
.p300-section-more__categories a.p300-chip:hover { color: var(--p300-copy); text-decoration: underline; text-underline-offset: 3px; }
.p300-home-layout[data-p300-home-sections] > .p300-sidebar { margin-top: var(--p300-home-sidebar-offset,0px); }
.p300-ticker__heading .p300-section-more { justify-content: flex-start; margin-top: 10px; }
.p300-ticker__heading .p300-section-more a { padding: 4px 0; border: 0; min-height: 28px; font-size: .68rem; background: transparent; }
.p300-sidebar-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.p300-sidebar-toolbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.p300-sidebar-controls { position: relative; }
.p300-sidebar-controls > .p300-sidebar-toolbar { position: absolute; top: calc(var(--p300-home-sidebar-offset, 0px) - 50px); right: 8px; width: auto; margin: 0; z-index: 3; }
.p300-article-layout.p300-sidebar-controls, .p300-home-layout--no-sections.p300-sidebar-controls { margin-top: 50px; }
.p300-sidebar-toolbar[hidden] { display: none; }
.p300-taskbar__sidebar [data-p300-sidebar-label] { display: none; }
[data-p300-sidebar-slot] { display: contents; }
.p300-taskbar { bottom: max(var(--p300-taskbar-bottom, 16px), env(safe-area-inset-bottom)); }
@media(max-width:560px) { .p300-taskbar { bottom: max(var(--p300-taskbar-bottom, 10px), env(safe-area-inset-bottom)); } }
.p300-taskbar .p300-taskbar__sidebar { color: var(--p300-accent); }
.p300-sidebar-hint { position: absolute; right: 0; bottom: calc(100% + 14px); display: flex; align-items: flex-start; gap: 12px; width: min(310px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--p300-line); border-top: 2px solid var(--p300-accent); border-radius: 12px; background: var(--p300-panel); color: var(--p300-copy); box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: p300-sidebar-hint-enter .25s ease both; }
.p300-sidebar-hint[hidden] { display: none; }
.p300-sidebar-hint p { margin: 0; font: 500 .82rem/1.5 Georama,sans-serif; }
.p300-sidebar-hint [data-p300-sidebar-hint-close] { flex: 0 0 24px; width: 24px; height: 24px; font-size: 20px; }
@keyframes p300-sidebar-hint-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:900px) {
 .p300-sidebar-controls > .p300-sidebar-toolbar { position: static; order: 1; margin-bottom: -22px; }
 .p300-article-layout.p300-sidebar-controls > .p300-sidebar-toolbar { margin-bottom: -12px; }
 .p300-article-layout.p300-sidebar-controls, .p300-home-layout--no-sections.p300-sidebar-controls { margin-top: 0; }
}
@media(prefers-reduced-motion:reduce) { .p300-sidebar-hint { animation: none; } }
.p300-sidebar-hidden:not(.p300-sidebar-transition) .p300-sidebar { display: none !important; }
.p300-sidebar-hidden .p300-home-layout, .p300-sidebar-hidden .p300-article-layout { grid-template-columns: minmax(0,1fr) minmax(0,0px); gap: 0; }
.p300-sidebar-hidden .p300-article__title { max-width: none; }
.p300-sidebar-transition :is(.p300-home-layout, .p300-article-layout) { transition: grid-template-columns .32s cubic-bezier(.2,.7,.2,1), gap .32s cubic-bezier(.2,.7,.2,1); }
.p300-sidebar-transition .p300-sidebar { overflow-x: hidden; transition: opacity .22s ease; }
.p300-sidebar-hidden .p300-sidebar { opacity: 0; pointer-events: none; }
.p300-sidebar-standings { margin: 0; padding: 0; list-style: none; }
.p300-sidebar-standings li { display: grid; grid-template-columns: 22px minmax(0,1fr) max-content; align-items: baseline; gap: 4px 8px; padding: 13px 15px; border-top: 1px solid var(--p300-line); font-size: .82rem; }
.p300-sidebar-standings li:first-child { border-top: 0; }
.p300-sidebar-standings li[hidden] { display: none; }
.p300-sidebar-standings__position { grid-column: 1; grid-row: 1; font-weight: 700; color: var(--p300-accent); }
.p300-sidebar-standings__name { display: contents; }
.p300-sidebar-standings__name strong { grid-column: 2; grid-row: 1; min-width: 0; display: block; overflow-wrap: anywhere; font-size: .86rem; font-weight: 650; }
.p300-sidebar-standings__name small { grid-column: 2 / 4; grid-row: 2; display: block; min-width: 0; overflow-wrap: anywhere; white-space: normal; font-size: .65rem; line-height: 1.25; color: var(--p300-muted); }
.p300-sidebar-standings li > b { grid-column: 3; grid-row: 1; }
.p300-standings__list > li.is-champion, .p300-sidebar-standings > li.is-champion { background: linear-gradient(110deg, rgb(224 168 30 / 27%), rgb(224 168 30 / 13%)); box-shadow: inset 0 0 0 1px rgb(224 168 30 / 43%); }
html[data-p300-theme="light"] .p300-standings__list > li.is-champion, html[data-p300-theme="light"] .p300-sidebar-standings > li.is-champion { background: linear-gradient(110deg, rgb(224 168 30 / 23%), rgb(224 168 30 / 12%)); box-shadow: inset 0 0 0 1px rgb(174 126 21 / 38%); }
.p300-standings--compact .p300-standings__list .p300-champion-label, .p300-sidebar-standings .p300-champion-label { display: block; grid-column: 2 / 4; grid-row: 3; width: auto; min-width: 0; max-width: 100%; margin-top: 1px; color: var(--p300-champion-copy, #efc65a); font-size: .65rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.p300-standings--compact .p300-standings__list .p300-champion-label--no-team, .p300-sidebar-standings .p300-champion-label--no-team { grid-row: 2; }
html[data-p300-theme="light"] .p300-champion-label { --p300-champion-copy: #815800; }
.p300-widget--standings .p300-widget__heading > .p300-chip { display: flex; margin-bottom: 8px; font-size: .8rem; }
.p300-widget--standings .p300-widget__heading > strong { display: block; font: inherit; }
.p300-standings-expand { display: block; width: 100%; padding: 12px; border: 0; border-top: 1px solid var(--p300-line); background: var(--p300-panel-soft); color: var(--p300-copy); font: 600 .75rem/1.4 Georama,sans-serif; }
.p300-standings-expand:hover { color: var(--p300-accent); }
.p300-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; }
.p300-pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; min-width: 42px; min-height: 42px; padding: 9px 12px; border: 1px solid var(--p300-line); border-radius: 8px; background: var(--p300-panel); color: var(--p300-copy); font-size: .9rem; font-weight: 600; }
.p300-pagination .current, .p300-pagination a:hover { border-color: var(--p300-accent); background: var(--p300-panel-soft); }
.p300-pagination .dots { min-width: 22px; border: 0; background: transparent; padding-inline: 0; color: var(--p300-muted); }
.p300-archive-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.p300-archive-grid > .p300-card { grid-column: span 2; }
.p300-archive-grid > .p300-card:nth-last-child(2):nth-child(3n+1), .p300-archive-grid > .p300-card:last-child:nth-child(3n+2) { grid-column: span 3; }
.p300-archive-grid > .p300-card:last-child:nth-child(3n+1) { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.p300-archive-grid > .p300-card:last-child:nth-child(3n+1) .p300-card__image { height: 100%; min-height: 190px; max-height: 280px; aspect-ratio: auto; }
@media(max-width:900px) {
 .p300-sidebar { max-height: none; }
 .p300-home-layout[data-p300-home-sections] > .p300-sidebar { margin-top: 0; }
 .p300-sidebar-hidden .p300-home-layout, .p300-sidebar-hidden .p300-article-layout { grid-template-columns: minmax(0,1fr); }
 .p300-archive-grid { grid-template-columns: 1fr; }
 .p300-archive-grid > .p300-card, .p300-archive-grid > .p300-card:nth-last-child(2):nth-child(3n+1), .p300-archive-grid > .p300-card:last-child:nth-child(3n+2), .p300-archive-grid > .p300-card:last-child:nth-child(3n+1) { grid-column: 1; display: block; }
 .p300-archive-grid > .p300-card:last-child:nth-child(3n+1) .p300-card__image { height: auto; min-height: 0; max-height: none; aspect-ratio: 1.9/1; }
}
@media(max-width:782px) { body.admin-bar { --p300-adminbar-height: 46px; } }
@media(prefers-reduced-motion:reduce) { .p300-sidebar-transition :is(.p300-home-layout,.p300-article-layout,.p300-sidebar) { transition: none; } }

/* One 35px gap at every banner boundary, including the grid spacing in sidebars. */
.p300-sidebar > .p300-banner[data-p300-banner] { grid-column: 1 / -1; margin-block: calc(var(--p300-banner-space) - var(--p300-sidebar-gap)); }
.p300-sidebar > .p300-banner[data-p300-banner]:first-child { margin-top: var(--p300-banner-space); }
.p300-sidebar > .p300-banner[data-p300-banner]:last-child { margin-bottom: var(--p300-banner-space); }
@media (min-width: 901px) {
  .p300-shell :not(.p300-banner):not(.p300-banner-wrap):has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--mobile-only)) { margin-bottom: 0; }
  .p300-shell :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--mobile-only) + :not(.p300-banner):not(.p300-banner-wrap) { margin-top: 0; }
  .p300-shell .p300-entry:has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--mobile-only)) > :last-child, .p300-shell .p300-home-layout:has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--mobile-only)) .p300-home-sections > :last-child { margin-bottom: 0; }
  .p300-shell > .p300-main:has(+ .p300-banner-wrap[data-p300-banner-wrap="footer"]:not(.p300-banner--mobile-only)) { padding-bottom: 0; }
  .p300-shell > .p300-main:has(> .p300-container > .p300-banner[data-p300-banner="home_after_sections"]:not(.p300-banner--mobile-only):last-child) { padding-bottom: 0; }
  .p300-shell > .p300-main:has(+ .p300-banner-wrap[data-p300-banner-wrap="footer"]:not(.p300-banner--mobile-only)) :is(.p300-container, .p300-home-sections, .p300-article, .p300-entry) > :last-child { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .p300-shell :not(.p300-banner):not(.p300-banner-wrap):has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--desktop-only)) { margin-bottom: 0; }
  .p300-shell :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--desktop-only) + :not(.p300-banner):not(.p300-banner-wrap) { margin-top: 0; }
  .p300-shell .p300-entry:has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--desktop-only)) > :last-child, .p300-shell .p300-home-layout:has(+ :is(.p300-banner[data-p300-banner], .p300-banner-wrap):not(.p300-banner--desktop-only)) .p300-home-sections > :last-child { margin-bottom: 0; }
  .p300-shell > .p300-main:has(+ .p300-banner-wrap[data-p300-banner-wrap="footer"]:not(.p300-banner--desktop-only)) { padding-bottom: 0; }
  .p300-shell > .p300-main:has(> .p300-container > .p300-banner[data-p300-banner="home_after_sections"]:not(.p300-banner--desktop-only):last-child) { padding-bottom: 0; }
  .p300-shell > .p300-main:has(+ .p300-banner-wrap[data-p300-banner-wrap="footer"]:not(.p300-banner--desktop-only)) :is(.p300-container, .p300-home-sections, .p300-article, .p300-entry) > :last-child { margin-bottom: 0; }
}
