/* Pressmare — pagina articolo. Nessun breakpoint aggiunto in questa fase. */
:is(body.pm-page-home, body.pm-page-article) .pm-article-latest-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #DDE3EA;
}

:is(body.pm-page-home, body.pm-page-article) .pm-time-primary {
    font-size: 13px;
    font-weight: 700;
    color: #1F6FB2;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-latest-title {
    font: 600 18px/1.18 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #1F1F24;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-share-button {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #C9D2DC;
    border-radius: 6px;
    background: #FFFFFF;
    color: #28215A;
    font: 600 14px 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    cursor: pointer;
}

:is(body.pm-page-home, body.pm-page-article) .pm-text-muted {
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-sidebar-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-pager-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-pager-title {
    font: 700 20px/1.15 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-sidebar-image {
    display: block;
    width: 300px;
    height: 250px;
    object-fit: cover;
}

:is(body.pm-page-home, body.pm-page-article) .pm-flex-gap12 {
    display: flex;
    align-items: center;
    gap: 12px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-halfpage-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 600px;
    box-sizing: border-box;
    border: 1px dashed #9AA6B2;
    background: #FFFFFF;
    font: 600 13px 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 19px;
    line-height: 1.65;
    color: #1F1F24;
}

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

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

:is(body.pm-page-home, body.pm-page-article) .pm-article-author-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 16px;
    line-height: 1.5;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-page-nav-prev {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #DDE3EA;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-page-nav-next {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #DDE3EA;
    text-align: right;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-author-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 8px;
    background: #F4F7FA;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #4F5B66;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-pager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-author-avatar-lg {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #28215A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 22px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
}

:is(body.pm-page-home, body.pm-page-article) .pm-text-size16 {
    font-size: 16px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-link-accent-bold {
    font-weight: 700;
    color: #1F6FB2;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-kicker {
    font: 700 16px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1F6FB2;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-author-name {
    font: 700 22px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-byline-bar {
    margin-top: 6px;
    padding: 14px 0;
    border-top: 1px solid #DDE3EA;
    border-bottom: 1px solid #DDE3EA;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-cover-figure {
    margin: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-sidebar-title {
    margin: 0;
    font: 700 20px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-deck {
    margin: 0;
    max-width: 880px;
    font-size: 21px;
    line-height: 1.5;
    color: #3A4652;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-title {
    margin: 0;
    max-width: 960px;
    font: 700 58px/1.0 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #28215A;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-sidebar-heading-rule {
    padding-bottom: 8px;
    border-bottom: 3px solid #3496E3;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-heading-block {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-sidebar-panel {
    padding: 16px 18px;
    border-radius: 8px;
    background: #F4F7FA;
    display: flex;
    flex-direction: column;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-content-layout {
    padding: 36px 24px 0;
    display: grid;
    grid-template-columns: minmax(0, 680px) 300px;
    gap: 52px;
}

:is(body.pm-page-home, body.pm-page-article) .pm-article-author-avatar-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #28215A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 700 18px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
}

/*
 * Correzione struttura articolo desktop:
 * colonna editoriale da 680px e sidebar news da 300px.
 * Le regole sulle immagini si applicano SOLTANTO all'HTML libero di TinyMCE,
 * non alla scheda del giornalista, al pager o alla sidebar.
 */
body.pm-page-article .pm-article-content-layout {
    grid-template-columns: minmax(0, 680px) minmax(0, 300px);
    align-items: start;
}

body.pm-page-article .pm-article-body,
body.pm-page-article .pm-article-richtext,
body.pm-page-article .pm-article-sidebar {
    min-width: 0;
    max-width: 100%;
}

body.pm-page-article .pm-article-body {
    width: 100%;
    box-sizing: border-box;
}

body.pm-page-article .pm-article-richtext {
    width: 100%;
    display: flow-root;
    overflow-wrap: break-word;
}

body.pm-page-article .pm-article-richtext > * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.pm-page-article .pm-article-richtext figure {
    width: auto;
    min-width: 0;
    max-width: 100%;
    margin: 16px 0;
    box-sizing: border-box;
}

body.pm-page-article .pm-article-richtext :where(img, picture, video, svg, canvas) {
    max-width: 100%;
    height: auto;
}

body.pm-page-article .pm-article-richtext img {
    display: block;
}

body.pm-page-article .pm-article-richtext :where(iframe, embed, object, table, pre) {
    max-width: 100%;
}

body.pm-page-article .pm-article-richtext figcaption {
    margin-top: 8px;
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Blocchi al termine dell'articolo, fuori dall'HTML di TinyMCE. */
body.pm-page-article .pm-article-author-card,
body.pm-page-article .pm-article-pager-grid {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
}

body.pm-page-article .pm-article-author-copy,
body.pm-page-article .pm-article-page-nav-prev,
body.pm-page-article .pm-article-page-nav-next {
    min-width: 0;
    overflow-wrap: break-word;
}

body.pm-page-article .pm-article-page-nav-prev,
body.pm-page-article .pm-article-page-nav-next {
    box-sizing: border-box;
}

/* Sidebar destra: le news non devono allargare la griglia editoriale. */
body.pm-page-article .pm-article-sidebar {
    width: 300px;
    align-self: start;
    box-sizing: border-box;
}

body.pm-page-article .pm-article-sidebar-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

body.pm-page-article .pm-article-latest-link,
body.pm-page-article .pm-article-latest-title {
    min-width: 0;
    overflow-wrap: break-word;
}

/* Leggi anche: tre schede a tutta larghezza sotto la griglia articolo. */
body.pm-page-article .pm-article-related {
    padding: 40px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.pm-page-article .pm-article-related-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 3px solid #3496E3;
}

body.pm-page-article .pm-article-related-square {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: #3496E3;
    border-radius: 3px;
}

body.pm-page-article .pm-article-related-title {
    margin: 0;
    font: 700 24px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #28215A;
}

body.pm-page-article .pm-article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

body.pm-page-article .pm-article-related-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.pm-page-article .pm-article-related-image {
    display: block;
    width: 100%;
    aspect-ratio: 328 / 190;
    object-fit: cover;
    border-radius: 8px;
}

body.pm-page-article .pm-article-related-category {
    font: 700 15px 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1F6FB2;
}

body.pm-page-article .pm-article-related-card-title {
    margin: 0;
    font: 700 23px/1.1 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
    color: #28215A;
}

body.pm-page-article .pm-article-related-meta {
    font-size: 14px;
    color: #4F5B66;
}

/* Placeholder leaderboard finale, prima della newsletter. */
body.pm-page-article .pm-article-banner-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 728px);
    height: 90px;
    box-sizing: border-box;
    border: 1px dashed #9AA6B2;
    background: #FFFFFF;
    color: #4F5B66;
    font: 600 13px 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, sans-serif;
}
