/* Pressmare — base condivisa. CSS esterno riutilizzabile per home e articolo. */
:root {
    --pm-blue: #1F6FB2;
    --pm-cyan: #3496E3;
    --pm-purple: #28215A;
}

body {
    margin: 0;
    color: #1F1F24;
    font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
}
body.pm-page-home { background: #020106; }
body.pm-page-article { background: #FFFFFF; }
a { color: #1F1F24; text-decoration: none; }
a:hover { color: #1F6FB2; text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #3496E3;
    outline-offset: 2px;
}

/* Navigazione del prototipo, mantenuta per compatibilità se presente. */
.proto-nav {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 100;
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 24px;
    background: #28215A;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    font: 600 13px system-ui,sans-serif;
}
.proto-nav a { color:#fff; padding:8px 12px; border-radius:18px; text-decoration:none; }
.proto-nav a:hover, .proto-nav a[aria-current] { background:#3496E3; color:#fff; }

/* Regole condivise estratte dal markup desktop. */
:is(body.pm-page-home, body.pm-page-article) .pm-text-on-dark {
    color: #FFFFFF;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-nav-link {
    padding: 14px 8px;
    color: #FFFFFF;
    font: 600 17px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.02em;
}

:is(body.pm-page-home, body.pm-page-article) .pm-ad-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-text-meta {
    font-size: 14px;
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-text-strong {
    font-weight: 700;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-block-link {
    display: block;
}

:is(body.pm-page-home, body.pm-page-article) .pm-ad-leaderboard-image {
    display: block;
    width: 728px;
    height: 90px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-flex-gap8 {
    display: flex;
    gap: 8px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-manchette-image {
    display: block;
    width: 300px;
    height: 250px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-stack-gap8 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-language-link {
    height: 32px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

:is(body.pm-page-home, body.pm-page-article) .pm-ad-panel {
    margin: 32px 24px;
    padding: 12px 0 16px;
    background: #EEF3F8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-site-surface {
    position: relative;
    z-index: 1;
    margin: 99px 0 0 420px;
    width: 1080px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
}

:is(body.pm-page-home, body.pm-page-article) .pm-footer-logo-image {
    display: block;
    width: 152px;
    height: 40px;
    object-fit: cover;
}

:is(body.pm-page-home, body.pm-page-article) .pm-wallpaper-image {
    display: block;
    width: 1920px;
    height: 794px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-logo-image {
    display: block;
    width: 362px;
    height: 95px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-footer-toprow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-footer-social-links {
    display: flex;
    gap: 16px;
    font-size: 15px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-social-row {
    display: flex;
    gap: 18px;
    align-items: center;
}

:is(body.pm-page-home, body.pm-page-article) .pm-footer-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-language-options {
    display: flex;
    gap: 6px;
    align-items: center;
}

:is(body.pm-page-home, body.pm-page-article) .pm-footer-logo-wrap {
    display: flex;
    padding: 8px 12px;
    border-radius: 6px;
    background: #FFFFFF;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-email {
    flex-grow: 1;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #FFFFFF;
    font: 400 16px 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    color: #1F1F24;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-label {
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-google-link {
    font-weight: 600;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-tagline {
    font: 600 16px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-language-active {
    height: 32px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    background: #28215A;
    color: #FFFFFF;
    font-weight: 700;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-topbar {
    height: 44px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-submit {
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: #1F6FB2;
    color: #FFFFFF;
    font: 700 16px 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    cursor: pointer;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-mainnav {
    height: 56px;
    padding: 0 12px;
    background: #28215A;
    border-bottom: 4px solid #3496E3;
    display: flex;
    align-items: center;
    gap: 2px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-gradient {
    height: 6px;
    background: linear-gradient(90deg, #2F83E6, #3FBAE3);
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-brandlink {
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-search-button {
    margin-left: auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-section {
    margin-top: 32px;
    padding: 32px 24px;
    background: #28215A;
    color: #FFFFFF;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 24px;
    align-items: end;
}

:is(body.pm-page-home, body.pm-page-article) .pm-site-footer {
    margin-top: auto;
    padding: 28px 24px;
    background: #0D0D0D;
    color: #B8BCC2;
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 13px;
    line-height: 1.5;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-description {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #E4E2F3;
}

:is(body.pm-page-home, body.pm-page-article) .pm-newsletter-title {
    margin: 0;
    font: 700 32px/1.05 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #FFFFFF;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-manchettes {
    padding: 8px 24px 16px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: center;
}

:is(body.pm-page-home, body.pm-page-article) .pm-wallpaper-link {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 1920px;
    height: 794px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-site-shell-article {
    width: 1920px;
    height: auto;
    position: relative;
    background: #020106;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
}

:is(body.pm-page-home, body.pm-page-article) .pm-site-shell-home {
    width: 1920px;
    height: auto;
    position: relative;
    background: #020106;
    overflow: hidden;
    font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-divider {
    width: 1px;
    height: 16px;
    background: #D5D9DE;
}

:is(body.pm-page-home, body.pm-page-article) .pm-header-menu-button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #FFFFFF;
    cursor: pointer;
}
