/*
 * Randagismo Trasparente
 * copyright (c) Lomazzi Federico 2026
 */


:root {
    --rt-bg: #111715;
    --rt-bg-soft: #18201d;
    --rt-panel: #1c2622;
    --rt-panel-2: #202c27;

    --rt-text: #f4f3ed;
    --rt-muted: #aeb9b3;

    --rt-accent: #d6ff4b;
    --rt-accent-dark: #b7de32;

    --rt-danger: #ff624f;
    --rt-orange: #f9a441;

    --rt-border: rgba(255, 255, 255, .11);
    --rt-border-strong: rgba(255, 255, 255, .22);

    --rt-shadow:
        0 30px 80px rgba(0, 0, 0, .24);

    --rt-radius: 1.4rem;
    --rt-radius-lg: 2.2rem;
}


[data-bs-theme="light"] {
    --rt-bg: #f4f5ef;
    --rt-bg-soft: #ffffff;
    --rt-panel: #ffffff;
    --rt-panel-2: #e9eee8;

    --rt-text: #131916;
    --rt-muted: #5e6b64;

    --rt-accent: #627b00;
    --rt-accent-dark: #4e6200;

    --rt-border: rgba(0, 0, 0, .10);
    --rt-border-strong: rgba(0, 0, 0, .20);

    --rt-shadow:
        0 30px 70px rgba(19, 30, 23, .10);
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    background: var(--rt-bg);
    color: var(--rt-text);

    font-family:
        "Manrope",
        system-ui,
        -apple-system,
        sans-serif;

    font-size: 1rem;
    line-height: 1.72;

    overflow-x: hidden;
}


a {
    color: inherit;
}


img {
    max-width: 100%;
}


::selection {
    background: var(--rt-accent);
    color: #111;
}


/* accessibilità */

.skip-link {
    position: fixed;
    z-index: 10000;

    left: 1rem;
    top: -10rem;

    padding: .8rem 1rem;

    background: var(--rt-accent);
    color: #111;

    font-weight: 800;

    border-radius: .7rem;
}


.skip-link:focus {
    top: 1rem;
}


/* barra lettura */

.reading-progress {
    position: fixed;
    z-index: 9999;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    pointer-events: none;
}


#readingProgress {
    width: 0;
    height: 100%;

    background: var(--rt-accent);

    transition: width .08s linear;
}


/* header */

.site-header {
    background:
        color-mix(
            in srgb,
            var(--rt-bg) 82%,
            transparent
        );

    border-bottom:
        1px solid var(--rt-border);

    backdrop-filter: blur(18px);
}


.navbar {
    min-height: 78px;
}


.navbar-brand {
    text-decoration: none;
}


.brand-mark {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    background: var(--rt-accent);
    color: #121612;

    border-radius: 50%;

    font-size: .82rem;
    font-weight: 900;
}


.brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.brand-copy strong {
    font-size: .88rem;
    letter-spacing: .055em;
}


.brand-copy small {
    margin-top: .22rem;

    color: var(--rt-muted);

    font-size: .68rem;
    font-weight: 700;

    letter-spacing: .18em;
}


.nav-link {
    position: relative;

    color: var(--rt-muted);

    font-size: .87rem;
    font-weight: 700;

    margin: 0 .18rem;

    transition:
        color .2s ease,
        background .2s ease;
}


.nav-link:hover,
.nav-link.active {
    color: var(--rt-text);
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: .5rem;
    right: .5rem;
    bottom: .15rem;

    height: 2px;

    background: var(--rt-accent);
}


.btn-theme {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    padding: 0;

    color: var(--rt-text);
    background: transparent;

    border:
        1px solid var(--rt-border);

    border-radius: 50%;
}


.navbar-toggler {
    border-color: var(--rt-border);
}


/* bottoni */

.btn-primary-rt {
    padding:
        .87rem 1.3rem;

    background: var(--rt-accent);
    color: #121711;

    border:
        1px solid var(--rt-accent);

    border-radius: .85rem;

    font-weight: 800;

    box-shadow:
        0 10px 30px
        color-mix(
            in srgb,
            var(--rt-accent) 17%,
            transparent
        );

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.btn-primary-rt:hover {
    background: var(--rt-accent-dark);
    color: #111;

    border-color: var(--rt-accent-dark);

    transform: translateY(-2px);
}


.btn-outline-rt {
    padding:
        .87rem 1.3rem;

    color: var(--rt-text);

    background: transparent;

    border:
        1px solid var(--rt-border-strong);

    border-radius: .85rem;

    font-weight: 800;
}


.btn-outline-rt:hover {
    color: var(--rt-text);

    background:
        color-mix(
            in srgb,
            var(--rt-text) 7%,
            transparent
        );
}


/* hero */

.hero {
    position: relative;
    overflow: hidden;
}


.min-vh-75 {
    min-height: 75vh;
}


.hero-home {
    border-bottom:
        1px solid var(--rt-border);
}


.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.035) 1px,
            transparent 1px
        );

    background-size:
        52px 52px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );
}


.hero-glow {
    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: .09;
}


.hero-glow-one {
    top: -180px;
    right: -80px;

    background: var(--rt-accent);
}


.hero-glow-two {
    left: -200px;
    bottom: -300px;

    background: var(--rt-danger);
}


.eyebrow,
.kicker,
.article-label,
.protocol-version {
    display: flex;
    align-items: center;
    gap: .6rem;

    color: var(--rt-accent);

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .18em;

    text-transform: uppercase;
}

/* autore nella hero */

.hero-author {
    display: flex;
    align-items: center;

    gap: .95rem;

    margin-top: 1.5rem;
    margin-bottom: .5rem;
}


.hero-author-photo {
    position: relative;

    display: block;

    flex: 0 0 72px;

    width: 72px;
    height: 72px;

    border-radius: 50%;

    padding: 3px;

    background:
        linear-gradient(
            135deg,
            var(--rt-accent),
            color-mix(
                in srgb,
                var(--rt-accent) 18%,
                transparent
            )
        );

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .20);

    text-decoration: none;
}


.hero-author-photo img {
    display: block;

    width: 66px;
    height: 66px;

    object-fit: cover;
    object-position: center 25%;

    border-radius: 50%;

    background: var(--rt-panel);
}


.hero-author-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}


.hero-author-copy span {
    margin-bottom: .18rem;

    color: var(--rt-muted);

    font-size: .62rem;
    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}


.hero-author-copy strong {
    color: var(--rt-text);

    font-size: 1rem;
    font-weight: 800;
}


.hero-author-copy small {
    margin-top: .18rem;

    color: var(--rt-muted);

    font-size: .72rem;
}


.pulse-dot {
    display: inline-block;

    width: 8px;
    height: 8px;

    background: var(--rt-danger);

    border-radius: 50%;

    box-shadow:
        0 0 0 7px
        rgba(255, 98, 79, .10);
}


.hero-title {
    max-width: 870px;

    margin:
        1.4rem 0 1.4rem;

    font-size:
        clamp(
            3.4rem,
            7vw,
            7.6rem
        );

    line-height: .94;

    letter-spacing: -.065em;

    font-weight: 800;
}


.hero-title span {
    color: var(--rt-accent);
}


.hero-lead {
    max-width: 790px;

    margin-bottom: 2rem;

    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size:
        clamp(1.22rem, 2vw, 1.55rem);

    line-height: 1.55;
}


.hero-lead strong {
    color: var(--rt-text);
}


/* scheda caso */

.case-signal {
    position: relative;

    padding: 1.7rem;

    background:
        linear-gradient(
            145deg,
            var(--rt-panel),
            color-mix(
                in srgb,
                var(--rt-panel) 70%,
                #000
            )
        );

    border:
        1px solid var(--rt-border);

    border-radius: var(--rt-radius-lg);

    box-shadow: var(--rt-shadow);
}


.case-signal::before {
    content: "";

    position: absolute;

    top: 0;
    left: 2rem;

    width: 34%;
    height: 3px;

    background: var(--rt-danger);
}


.case-signal-head {
    display: flex;
    justify-content: space-between;

    color: var(--rt-muted);

    font-size: .7rem;
    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.case-signal-title {
    margin:
        2rem 0 1.7rem;

    font-size:
        clamp(2rem, 6vw, 4.1rem);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -.06em;
}


.case-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: .7rem;
}


.case-stats > div {
    padding: 1rem .5rem;

    border-top:
        1px solid var(--rt-border);
}


.case-stats strong {
    display: block;

    color: var(--rt-accent);

    font-size: 1.8rem;
    line-height: 1;
}


.case-stats span {
    display: block;

    margin-top: .45rem;

    color: var(--rt-muted);

    font-size: .72rem;
}


.case-warning {
    display: flex;
    gap: .8rem;

    margin: 1.4rem 0;

    padding: 1rem;

    background:
        rgba(255, 98, 79, .08);

    border:
        1px solid rgba(255, 98, 79, .22);

    border-radius: 1rem;

    color: var(--rt-muted);

    font-size: .78rem;
}


.case-warning i {
    color: var(--rt-danger);

    font-size: 1.25rem;
}


.case-warning strong {
    color: var(--rt-text);
}


/* source */

.source-small {
    color: var(--rt-muted);

    font-size: .72rem;
}


.source-link {
    color: var(--rt-text);

    text-decoration:
        underline;

    text-decoration-color:
        color-mix(
            in srgb,
            var(--rt-accent) 65%,
            transparent
        );

    text-underline-offset: .2em;
}


.source-link:hover {
    color: var(--rt-accent);
}


/* principio */

.principle-band {
    background: var(--rt-accent);
    color: #111;
}


.principle-inner {
    display: grid;
    grid-template-columns:
        auto 1fr auto;

    gap: 1.4rem;

    align-items: center;

    min-height: 120px;
}


.principle-number {
    font-size: 2.7rem;
    font-weight: 900;

    opacity: .32;
}


.principle-inner small {
    display: block;

    margin-bottom: .25rem;

    font-size: .67rem;
    font-weight: 900;

    letter-spacing: .15em;
}


.principle-inner strong {
    font-size:
        clamp(
            1.2rem,
            3vw,
            2rem
        );

    letter-spacing: -.03em;
}


.principle-arrow {
    font-size: 2.2rem;
}


/* sezioni */

.section-space {
    padding:
        clamp(5rem, 9vw, 9rem)
        0;
}


.section-heading {
    max-width: 880px;

    margin-bottom: 3.2rem;
}


.section-heading h2,
.display-section {
    margin:
        .8rem 0 1.2rem;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.9rem
        );

    line-height: 1.02;

    letter-spacing: -.055em;

    font-weight: 800;
}


.section-heading p {
    max-width: 760px;

    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.2rem;
}


/* meccanismo */

.mechanism-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 1rem;
}


.mechanism-card {
    min-height: 280px;

    padding: 1.5rem;

    background: var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: var(--rt-radius);

    transition:
        transform .22s ease,
        border-color .22s ease;
}


.mechanism-card:hover {
    transform:
        translateY(-5px);

    border-color:
        var(--rt-border-strong);
}


.mechanism-icon {
    margin-bottom: 4rem;

    color: var(--rt-muted);

    font-size: .75rem;
    font-weight: 900;
}


.mechanism-card h3 {
    margin-bottom: .7rem;

    font-size: 1.35rem;
    font-weight: 800;
}


.mechanism-card p {
    color: var(--rt-muted);

    font-size: .88rem;
}


.danger-card {
    border-color:
        rgba(255, 98, 79, .28);

    background:
        linear-gradient(
            145deg,
            rgba(255, 98, 79, .09),
            var(--rt-panel)
        );
}


.editorial-note {
    display: flex;
    gap: 1rem;

    max-width: 900px;

    margin-top: 2rem;

    padding: 1.3rem 1.5rem;

    background:
        color-mix(
            in srgb,
            var(--rt-panel) 80%,
            transparent
        );

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.editorial-note i {
    color: var(--rt-accent);

    font-size: 1.4rem;
}


.editorial-note p {
    margin: .35rem 0 0;

    color: var(--rt-muted);
}


/* sezione scura */

.section-dark-panel {
    background:
        var(--rt-bg-soft);

    border-top:
        1px solid var(--rt-border);

    border-bottom:
        1px solid var(--rt-border);
}


.lead-soft {
    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.25rem;
}


.text-link {
    display: inline-flex;
    align-items: center;
    gap: .6rem;

    margin-top: 1rem;

    color: var(--rt-accent);

    font-weight: 800;

    text-decoration: none;
}


.zoomafia-data {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);

    gap: 1rem;

    padding: 2rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);
}


.zoomafia-big {
    padding-bottom: 1.2rem;

    border-bottom:
        1px solid var(--rt-border);
}


.zoomafia-big strong {
    display: block;

    color: var(--rt-accent);

    font-size:
        clamp(3rem, 7vw, 5.8rem);

    line-height: 1;

    letter-spacing: -.07em;
}


.zoomafia-big span {
    color: var(--rt-muted);

    font-size: .82rem;
}


.zoomafia-data p,
.zoomafia-data > div:last-child {
    grid-column: 1 / -1;
}


.zoomafia-data p {
    margin: .8rem 0 0;

    color: var(--rt-muted);

    font-size: .85rem;
}


/* chain */

.data-chain {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: .65rem;

    padding: 1.4rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.data-chain span {
    padding:
        .5rem .7rem;

    background:
        color-mix(
            in srgb,
            var(--rt-text) 5%,
            transparent
        );

    border-radius: .5rem;

    font-size: .67rem;
    font-weight: 900;

    letter-spacing: .07em;
}


.data-chain b {
    color: var(--rt-accent);
}


/* cards soluzione */

.solution-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 1rem;
}


.solution-card {
    position: relative;

    min-height: 310px;

    padding: 1.5rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius);

    overflow: hidden;
}


.solution-card > i {
    display: block;

    margin:
        2.3rem 0 2.5rem;

    color: var(--rt-accent);

    font-size: 2rem;
}


.card-index {
    position: absolute;

    right: 1.3rem;
    top: 1rem;

    color: var(--rt-muted);

    font-size: .65rem;
    font-weight: 900;
}


.solution-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
}


.solution-card p {
    color: var(--rt-muted);

    font-size: .82rem;
}


/* simulatore */

.calculator-section {
    background:
        linear-gradient(
            130deg,
            var(--rt-bg-soft),
            var(--rt-bg)
        );
}


.calculator-card {
    padding: 2rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);

    box-shadow: var(--rt-shadow);
}


.form-label {
    color: var(--rt-muted);

    font-size: .75rem;
    font-weight: 800;
}


.form-control {
    padding: .85rem 1rem;

    background:
        color-mix(
            in srgb,
            var(--rt-bg) 75%,
            transparent
        );

    color: var(--rt-text);

    border:
        1px solid var(--rt-border);

    border-radius: .75rem;
}


.form-control:focus {
    color: var(--rt-text);

    background:
        color-mix(
            in srgb,
            var(--rt-bg) 75%,
            transparent
        );

    border-color: var(--rt-accent);

    box-shadow:
        0 0 0 .2rem
        color-mix(
            in srgb,
            var(--rt-accent) 12%,
            transparent
        );
}


.calculator-results {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: .8rem;

    margin-top: 2rem;
}


.calculator-results > div {
    padding: 1.1rem;

    background:
        color-mix(
            in srgb,
            var(--rt-text) 4%,
            transparent
        );

    border-radius: .8rem;
}


.calculator-results span {
    display: block;

    color: var(--rt-muted);

    font-size: .68rem;
}


.calculator-results strong {
    display: block;

    margin-top: .35rem;

    font-size: 1.25rem;
}


.saving-result strong {
    color: var(--rt-accent);
}


/* legge */

.law-callout {
    display: grid;
    grid-template-columns:
        auto 1fr;

    gap: 2rem;

    align-items: center;

    max-width: 1050px;

    padding: 2rem;

    background: var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);
}


.law-number {
    color: var(--rt-accent);

    font-size:
        clamp(
            4rem,
            11vw,
            8rem
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: -.08em;
}


.law-callout h3 {
    font-size: 1.7rem;
    font-weight: 800;
}


.law-callout p {
    color: var(--rt-muted);
}


/* accordion */

.rt-accordion .accordion-item {
    background:
        transparent;

    border:
        0;

    border-bottom:
        1px solid var(--rt-border);
}


.rt-accordion .accordion-button {
    padding:
        1.5rem 0;

    background:
        transparent;

    color: var(--rt-text);

    font-size: 1.1rem;
    font-weight: 800;

    box-shadow: none;
}


.rt-accordion .accordion-button:not(.collapsed) {
    color: var(--rt-accent);
}


.rt-accordion .accordion-body {
    max-width: 820px;

    padding:
        0 0 1.7rem;

    color: var(--rt-muted);
}


/* autore strip */

.author-strip {
    padding: 4rem 0;

    border-top:
        1px solid var(--rt-border);
}


.author-strip-inner {
    display: grid;
    grid-template-columns:
        auto 1fr auto;

    gap: 1.5rem;

    align-items: center;
}


.author-monogram,
.author-avatar {
    display: grid;
    place-items: center;

    background: var(--rt-accent);
    color: #111;

    border-radius: 50%;

    font-weight: 900;
}


.author-monogram {
    width: 72px;
    height: 72px;

    font-size: 1.2rem;
}


.author-strip h2 {
    margin: .2rem 0;

    font-size: 1.7rem;
    font-weight: 800;
}


.author-strip p {
    margin: 0;

    color: var(--rt-muted);
}


/* article */

.article-hero {
    padding:
        clamp(5rem, 10vw, 9rem)
        0
        clamp(3rem, 6vw, 5rem);

    border-bottom:
        1px solid var(--rt-border);
}


.compact-hero {
    padding-bottom: 4rem;
}


.article-hero h1 {
    max-width: 1050px;

    margin:
        .8rem 0 1.4rem;

    font-size:
        clamp(
            3.3rem,
            8vw,
            7rem
        );

    line-height: .98;

    letter-spacing: -.065em;

    font-weight: 800;
}


.article-deck {
    max-width: 830px;

    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size:
        clamp(
            1.25rem,
            2.4vw,
            1.65rem
        );
}


.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;

    margin-top: 2rem;

    color: var(--rt-muted);

    font-size: .78rem;
}


.article-meta a {
    color: var(--rt-text);
}


.article-container {
    max-width: 1040px;

    padding-top: 4rem;
    padding-bottom: 6rem;
}


.article-image-placeholder {
    margin-bottom: 4rem;
}


.article-image-placeholder img {
    display: block;

    width: 100%;
    max-height: 650px;

    object-fit: cover;

    border-radius:
        var(--rt-radius-lg);
}


.article-image-placeholder figcaption {
    margin-top: .8rem;

    color: var(--rt-muted);

    font-size: .72rem;
}


.article-warning {
    display: flex;
    gap: 1rem;

    margin-bottom: 4rem;

    padding: 1.4rem;

    background:
        rgba(255, 98, 79, .08);

    border:
        1px solid rgba(255, 98, 79, .28);

    border-radius: 1rem;
}


.article-warning i {
    color: var(--rt-danger);

    font-size: 1.5rem;
}


.article-warning p {
    margin: .35rem 0 0;

    color: var(--rt-muted);
}


.article-section {
    max-width: 820px;

    margin:
        0 auto 5rem;
}


.article-section h2 {
    margin-bottom: 1.4rem;

    font-size:
        clamp(
            2rem,
            4vw,
            3.4rem
        );

    line-height: 1.08;

    letter-spacing: -.045em;

    font-weight: 800;
}


.article-section p,
.article-intro {
    color:
        color-mix(
            in srgb,
            var(--rt-text) 83%,
            var(--rt-muted)
        );

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.2rem;
}


.article-intro {
    font-size:
        clamp(
            1.3rem,
            2vw,
            1.55rem
        );
}


.article-sources {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem;

    margin-top: 1.5rem;

    font-size: .78rem;
}


.article-highlight {
    max-width: 950px;

    padding: 2.2rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);
}


.mini-timeline {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 1rem;

    margin:
        2rem 0;
}


.mini-timeline > div {
    padding-top: 1rem;

    border-top:
        2px solid var(--rt-accent);
}


.mini-timeline strong,
.mini-timeline span {
    display: block;
}


.mini-timeline strong {
    color: var(--rt-accent);
}


.mini-timeline span {
    margin-top: .4rem;

    color: var(--rt-muted);

    font-size: .78rem;
}


.rt-quote {
    margin:
        2rem 0;

    padding:
        1rem 0
        1rem 1.5rem;

    border-left:
        4px solid var(--rt-accent);

    font-family:
        "Source Serif 4",
        serif;

    font-size:
        clamp(
            1.5rem,
            3vw,
            2.3rem
        );

    font-weight: 600;

    line-height: 1.35;
}


/* formula */

.formula-card {
    margin:
        2rem 0;

    padding: 2rem;

    text-align: center;

    background: var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius);
}


.formula-card span {
    display: block;

    color: var(--rt-muted);

    font-size: .7rem;
    font-weight: 900;

    letter-spacing: .15em;
}


.formula-card strong {
    display: block;

    margin-top: .8rem;

    color: var(--rt-accent);

    font-size:
        clamp(
            1.6rem,
            4vw,
            3rem
        );
}


/* ciclo */

.vicious-cycle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: .7rem;

    margin-top: 2rem;
}


.vicious-cycle > div {
    flex:
        1 1 130px;

    min-height: 125px;

    padding: 1rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.vicious-cycle span {
    display: block;

    margin-bottom: 1.4rem;

    color: var(--rt-danger);

    font-size: .7rem;
    font-weight: 900;
}


.vicious-cycle strong {
    font-size: .88rem;
}


.vicious-cycle > i {
    color: var(--rt-accent);
}


/* rischi */

.risk-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 1rem;

    margin-top: 2rem;
}


.risk-item {
    min-height: 150px;

    padding: 1.2rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.risk-item i {
    display: block;

    margin-bottom: 1.6rem;

    color: var(--rt-accent);

    font-size: 1.4rem;
}


.risk-item strong {
    font-size: .86rem;
}


/* next */

.next-chapter {
    margin-top: 5rem;

    padding: 3rem;

    text-align: center;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);
}


.next-chapter span {
    color: var(--rt-accent);

    font-size: .7rem;
    font-weight: 900;

    letter-spacing: .15em;
}


.next-chapter h2 {
    margin:
        1rem 0 2rem;

    font-size:
        clamp(
            2rem,
            5vw,
            4rem
        );

    letter-spacing: -.05em;
}


/* protocol */

.protocol-hero {
    padding:
        clamp(6rem, 12vw, 10rem)
        0;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(214,255,75,.14),
            transparent 35%
        );

    border-bottom:
        1px solid var(--rt-border);
}


.protocol-hero h1 {
    max-width: 1000px;

    margin:
        1rem 0 1.5rem;

    font-size:
        clamp(
            3.4rem,
            9vw,
            8rem
        );

    line-height: .92;

    letter-spacing: -.07em;

    font-weight: 900;
}


.protocol-hero h1 span {
    color: var(--rt-accent);
}


.protocol-hero > .container > p {
    max-width: 760px;

    margin-bottom: 2rem;

    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.35rem;
}


.protocol-manifesto {
    padding: 2rem 0;

    background: var(--rt-accent);
    color: #111;
}


.manifesto-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: .65rem;

    font-size: .72rem;
    font-weight: 900;

    letter-spacing: .06em;
}


.protocol-pillar {
    display: grid;
    grid-template-columns:
        90px 1fr;

    gap: 1.5rem;

    max-width: 1000px;

    padding: 2rem 0;

    border-bottom:
        1px solid var(--rt-border);
}


.pillar-number {
    color: var(--rt-accent);

    font-size: 1rem;
    font-weight: 900;
}


.protocol-pillar h3 {
    margin-bottom: .8rem;

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.6rem
        );

    letter-spacing: -.04em;

    font-weight: 800;
}


.protocol-pillar p {
    max-width: 760px;

    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.1rem;
}


.kpi-section {
    background:
        var(--rt-bg-soft);

    border-top:
        1px solid var(--rt-border);

    border-bottom:
        1px solid var(--rt-border);
}


.protocol-table {
    --bs-table-bg:
        transparent;

    --bs-table-color:
        var(--rt-text);

    --bs-table-border-color:
        var(--rt-border);
}


.protocol-table thead th {
    color: var(--rt-muted);

    font-size: .7rem;
    font-weight: 900;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.protocol-table tbody td {
    padding:
        1rem .7rem;
}


.implementation-timeline {
    display: grid;
    grid-template-columns:
        repeat(5, 1fr);

    gap: 1rem;
}


.implementation-timeline > div {
    padding:
        1.4rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.implementation-timeline strong {
    display: block;

    color: var(--rt-accent);

    font-size: 2rem;
    line-height: 1;
}


.implementation-timeline span {
    color: var(--rt-muted);

    font-size: .65rem;
}


.implementation-timeline p {
    margin:
        2rem 0 0;

    color: var(--rt-muted);

    font-size: .75rem;
}


.download-section {
    padding:
        1rem 0 7rem;
}


.download-card {
    display: grid;
    grid-template-columns:
        1fr auto;

    align-items: center;

    gap: 2rem;

    padding:
        2.5rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);
}


.download-card h2 {
    margin:
        .6rem 0;

    font-size: 2.2rem;
    font-weight: 800;
}


.download-card p {
    max-width: 650px;

    margin: 0;

    color: var(--rt-muted);
}


/* fonti */

.method-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);

    gap: 1rem;
}


.method-grid article {
    padding: 1.5rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.method-grid span {
    color: var(--rt-accent);

    font-size: .7rem;
    font-weight: 900;
}


.method-grid h2 {
    margin:
        2rem 0 .5rem;

    font-size: 1.4rem;
    font-weight: 800;
}


.method-grid p {
    color: var(--rt-muted);

    font-size: .82rem;
}


.sources-list {
    border-top:
        1px solid var(--rt-border);
}


.source-card {
    display: grid;
    grid-template-columns:
        1fr auto;

    gap: 2rem;

    align-items: center;

    padding:
        1.7rem 0;

    border-bottom:
        1px solid var(--rt-border);
}


.source-type {
    color: var(--rt-accent);

    font-size: .65rem;
    font-weight: 900;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.source-card h2 {
    margin:
        .4rem 0;

    font-size: 1.15rem;
}


.source-card p {
    margin: 0;

    color: var(--rt-muted);

    font-size: .76rem;
}


.source-card > a {
    display: grid;
    place-items: center;

    width: 45px;
    height: 45px;

    border:
        1px solid var(--rt-border);

    border-radius: 50%;

    text-decoration: none;
}


.source-card > a:hover {
    color: #111;
    background: var(--rt-accent);
}


/* autore */

.author-hero {
    padding:
        clamp(5rem, 10vw, 9rem)
        0;

    border-bottom:
        1px solid var(--rt-border);
}


.author-profile {
    display: grid;
    grid-template-columns:
        auto 1fr;

    gap: 2rem;

    align-items: center;
}


.author-avatar {
    width: 150px;
    height: 150px;

    font-size: 2.2rem;
}


.author-profile h1 {
    margin:
        .5rem 0;

    font-size:
        clamp(
            3rem,
            7vw,
            6rem
        );

    line-height: 1;

    letter-spacing: -.065em;

    font-weight: 800;
}


.author-profile p {
    color: var(--rt-muted);
}


.author-contacts {
    display: flex;
    flex-wrap: wrap;

    gap: 1rem;
}


.author-contacts a {
    display: flex;
    gap: .5rem;

    align-items: center;

    color: var(--rt-text);

    font-size: .82rem;

    text-decoration: none;
}


.narrow-container {
    max-width: 820px;
}


.narrow-container h2 {
    margin:
        2.5rem 0 1rem;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 800;

    letter-spacing: -.04em;
}


.narrow-container > p {
    color: var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.16rem;
}


.author-topics {
    display: flex;
    flex-wrap: wrap;

    gap: .6rem;

    margin-top: 2rem;
}


.author-topics span {
    padding:
        .5rem .8rem;

    border:
        1px solid var(--rt-border);

    border-radius: 100px;

    color: var(--rt-muted);

    font-size: .72rem;
}


.copyright-box {
    margin-top: 4rem;

    padding: 1.5rem;

    background:
        var(--rt-panel);

    border:
        1px solid var(--rt-border);

    border-radius: 1rem;
}


.copyright-box p {
    margin:
        .4rem 0;

    color: var(--rt-muted);
}


/* 404 */

.error-page {
    display: grid;
    place-items: center;

    min-height: 65vh;
}


.error-code {
    color: var(--rt-accent);

    font-size:
        clamp(
            6rem,
            18vw,
            14rem
        );

    line-height: .9;

    font-weight: 900;

    letter-spacing: -.09em;
}


.error-page h1 {
    margin:
        1rem 0;

    font-weight: 800;
}


.error-page p {
    color: var(--rt-muted);
}


/* footer */

.site-footer {
    padding:
        4rem 0 2rem;

    background:
        color-mix(
            in srgb,
            var(--rt-bg) 90%,
            #000
        );

    border-top:
        1px solid var(--rt-border);
}


.footer-top {
    display: grid;
    grid-template-columns:
        2fr 1fr 1fr;

    gap: 3rem;
}


.footer-brand {
    font-size: 1.15rem;
    font-weight: 900;

    letter-spacing: .04em;
}


.footer-brand span {
    color: var(--rt-accent);
}


.footer-statement {
    max-width: 460px;

    margin-top: 1rem;

    color: var(--rt-muted);
}


.footer-label {
    margin-bottom: 1rem;

    color: var(--rt-accent);

    font-size: .67rem;
    font-weight: 900;

    letter-spacing: .1em;

    text-transform: uppercase;
}


.footer-top p {
    margin: .4rem 0;

    color: var(--rt-muted);

    font-size: .8rem;
}


.footer-top a {
    text-decoration: none;
}


.footer-top a:hover {
    color: var(--rt-accent);
}


.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 3rem;
    padding-top: 1.4rem;

    border-top:
        1px solid var(--rt-border);

    color: var(--rt-muted);

    font-size: .68rem;
}


/* reveal */

.reveal {
    opacity: 0;

    transform:
        translateY(24px);

    transition:
        opacity .65s ease,
        transform .65s ease;
}


.reveal-visible {
    opacity: 1;

    transform: none;
}


/* responsive */

@media (max-width: 1199.98px) {

    .solution-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .implementation-timeline {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 991.98px) {

    .navbar-collapse {
        padding:
            1rem 0 1.5rem;
    }

    .nav-link {
        padding:
            .8rem 0;
    }

    .nav-link.active::after {
        display: none;
    }

    .mechanism-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .method-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .risk-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .author-strip-inner {
        grid-template-columns:
            auto 1fr;
    }

    .author-strip-inner .btn {
        grid-column:
            1 / -1;
    }

    .footer-top {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-top > div:first-child {
        grid-column:
            1 / -1;
    }

}


@media (max-width: 767.98px) {
	
	.hero-author-photo {
    flex-basis: 62px;

    width: 62px;
    height: 62px;
	
	}
	
	
	.protocol-cover img {
        height: 320px;
    }

    .protocol-cover figcaption {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;

        font-size: .78rem;
    }


.hero-author-photo img {
    width: 56px;
    height: 56px;
}


.hero-author-copy small {
    font-size: .66rem;
}

    .hero-title {
        font-size:
            clamp(
                3.3rem,
                17vw,
                5.5rem
            );
    }

    .case-stats {
        grid-template-columns:
            1fr;
    }

    .mechanism-grid,
    .solution-grid,
    .calculator-results,
    .zoomafia-data,
    .method-grid,
    .risk-grid,
    .mini-timeline,
    .implementation-timeline {
        grid-template-columns:
            1fr;
    }

    .law-callout {
        grid-template-columns:
            1fr;
    }

    .author-profile {
        grid-template-columns:
            1fr;
    }

    .author-avatar {
        width: 105px;
        height: 105px;
    }

    .protocol-pillar {
        grid-template-columns:
            45px 1fr;
    }

    .download-card {
        grid-template-columns:
            1fr;
    }

    .footer-top {
        grid-template-columns:
            1fr;
    }

    .footer-top > div:first-child {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .principle-inner {
        grid-template-columns:
            auto 1fr;
    }

    .principle-arrow {
        display: none;
    }

}


@media (
    prefers-reduced-motion: reduce
) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}

/* immagine protocollo */

.protocol-cover-section {
    padding: 3rem 0 0;
}


.protocol-cover {
    position: relative;

    margin: 0;

    overflow: hidden;

    border:
        1px solid var(--rt-border);

    border-radius:
        var(--rt-radius-lg);

    box-shadow:
        var(--rt-shadow);
}


.protocol-cover img {
    display: block;

    width: 100%;
    height:
        clamp(
            300px,
            42vw,
            580px
        );

    object-fit: cover;
    object-position: center;
}


.protocol-cover::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(10, 15, 13, .72) 0%,
            rgba(10, 15, 13, .08) 45%,
            transparent 70%
        );
}


.protocol-cover figcaption {
    position: absolute;
    z-index: 2;

    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.35rem;

    max-width: 820px;

    margin: 0;

    color: rgba(255, 255, 255, .90);

    font-family:
        "Source Serif 4",
        serif;

    font-size: .9rem;
    line-height: 1.5;
}


/* =========================================================
   PRESA IN CARICO RANDAGIO
========================================================= */

.entry-hero {
    padding:
        clamp(5rem, 10vw, 9rem)
        0
        4rem;
}


.entry-title {
    max-width: 1050px;

    margin:
        1.3rem
        0
        1.8rem;

    font-family:
        "Manrope",
        sans-serif;

    font-size:
        clamp(
            3rem,
            7vw,
            6.4rem
        );

    font-weight: 800;

    line-height: .94;

    letter-spacing: -.055em;
}


.entry-title span {
    display: block;

    color:
        var(--rt-accent);
}


.entry-lead {
    max-width: 850px;

    color:
        var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size:
        clamp(
            1.15rem,
            2vw,
            1.55rem
        );

    line-height: 1.65;
}


.entry-lead strong {
    color:
        var(--rt-text);
}


.entry-thesis {
    display: flex;

    align-items: center;

    gap: 1.2rem;

    max-width: 760px;

    margin-top: 2.3rem;

    padding: 1.25rem 1.4rem;

    border:
        1px solid
        var(--rt-border);

    border-radius: 1.2rem;

    background:
        rgba(255, 255, 255, .025);
}


.entry-thesis > i {
    flex: 0 0 auto;

    color:
        var(--rt-accent);

    font-size: 2.3rem;
}


.entry-thesis div {
    display: flex;

    flex-direction: column;

    gap: .15rem;
}


.entry-thesis strong {
    font-size: 1.05rem;
}


.entry-thesis span {
    color:
        var(--rt-muted);

    font-size: .9rem;
}


/* risposta */

.entry-answer {
    padding:
        0
        0
        5rem;
}


.answer-panel {
    padding:
        clamp(
            1.8rem,
            4vw,
            3.5rem
        );

    border:
        1px solid
        var(--rt-border);

    border-left:
        4px solid
        var(--rt-accent);

    border-radius:
        var(--rt-radius-lg);

    background:
        var(--rt-panel);
}


.answer-panel h2 {
    max-width: 850px;

    margin:
        .7rem
        0
        1.5rem;

    font-size:
        clamp(
            1.8rem,
            4vw,
            3rem
        );

    font-weight: 800;
}


.answer-panel p {
    max-width: 900px;

    color:
        var(--rt-muted);

    font-size: 1.04rem;

    line-height: 1.8;
}


.answer-panel strong {
    color:
        var(--rt-text);
}


/* sezioni */

.entry-section {
    padding:
        clamp(
            4.5rem,
            8vw,
            8rem
        )
        0;
}


.entry-section-dark {
    background:
        rgba(255, 255, 255, .018);

    border-top:
        1px solid
        var(--rt-border);

    border-bottom:
        1px solid
        var(--rt-border);
}


.section-kicker {
    color:
        var(--rt-accent);

    font-size: .7rem;

    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;
}


.section-heading {
    max-width: 850px;

    margin-bottom: 3rem;
}


.section-heading h2 {
    margin:
        .7rem
        0
        1rem;

    font-size:
        clamp(
            2rem,
            4.5vw,
            3.8rem
        );

    font-weight: 800;

    letter-spacing: -.035em;
}


.section-heading p {
    color:
        var(--rt-muted);

    font-size: 1.04rem;

    line-height: 1.75;
}


/* flusso */

.entry-flow {
    display: grid;

    grid-template-columns:
        repeat(
            13,
            auto
        );

    align-items: stretch;

    gap: .65rem;

    overflow-x: auto;

    padding:
        1rem
        0
        1.5rem;

    scrollbar-width: thin;
}


.entry-step {
    position: relative;

    width: 190px;

    min-height: 250px;

    padding:
        1.3rem;

    border:
        1px solid
        var(--rt-border);

    border-radius: 1.1rem;

    background:
        var(--rt-panel);
}


.entry-step-accent {
    border-color:
        rgba(174, 255, 47, .38);

    box-shadow:
        0 0 35px
        rgba(174, 255, 47, .06);
}


.entry-step-number {
    display: block;

    margin-bottom: 1.3rem;

    color:
        var(--rt-muted);

    font-size: .7rem;

    font-weight: 800;
}


.entry-step > i {
    display: block;

    margin-bottom: .8rem;

    color:
        var(--rt-accent);

    font-size: 1.8rem;
}


.entry-step h3 {
    font-size: 1rem;

    font-weight: 800;
}


.entry-step p {
    margin: 0;

    color:
        var(--rt-muted);

    font-size: .78rem;

    line-height: 1.55;
}


.entry-flow-arrow {
    display: flex;

    align-items: center;

    color:
        var(--rt-accent);

    font-size: 1.15rem;
}


.entry-method-note {
    max-width: 920px;

    margin-top: 2rem;

    padding:
        1rem
        1.2rem;

    border-left:
        2px solid
        var(--rt-accent);

    color:
        var(--rt-muted);

    font-size: .85rem;

    line-height: 1.65;
}


.entry-method-note i {
    margin-right: .5rem;

    color:
        var(--rt-accent);
}


/* prova microchip */

.proof-card {
    height: 100%;

    padding:
        clamp(
            1.6rem,
            4vw,
            2.7rem
        );

    border:
        1px solid
        var(--rt-border);

    border-radius:
        var(--rt-radius-lg);

    background:
        var(--rt-panel);
}


.proof-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 2rem;

    border-radius: 50%;

    font-size: 1.3rem;
}


.proof-card-yes .proof-icon {
    color:
        var(--rt-accent);

    background:
        rgba(174, 255, 47, .09);
}


.proof-card-no .proof-icon {
    color:
        #ff8a7a;

    background:
        rgba(255, 100, 80, .09);
}


.proof-card > span {
    color:
        var(--rt-muted);

    font-size: .65rem;

    font-weight: 800;

    letter-spacing: .12em;
}


.proof-card h3 {
    margin:
        .5rem
        0
        1rem;

    font-size:
        clamp(
            1.7rem,
            3vw,
            2.5rem
        );

    font-weight: 800;
}


.proof-card p {
    color:
        var(--rt-muted);

    line-height: 1.7;
}


.origin-equation {
    display: flex;

    align-items: center;
    justify-content: center;

    gap:
        clamp(
            1rem,
            3vw,
            2.5rem
        );

    margin-top: 4rem;

    padding: 2rem;

    border-top:
        1px solid
        var(--rt-border);

    border-bottom:
        1px solid
        var(--rt-border);
}


.origin-equation div {
    display: flex;

    flex-direction: column;
}


.origin-equation span {
    color:
        var(--rt-accent);

    font-size: .64rem;

    font-weight: 800;

    letter-spacing: .14em;
}


.origin-equation strong {
    margin-top: .2rem;

    font-size: .9rem;
}


.origin-equation > i {
    color:
        var(--rt-muted);
}


.origin-result strong {
    color:
        var(--rt-accent);
}


/* controlli esistenti */

.existing-controls {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 1.25rem;
}


.control-card {
    position: relative;

    padding: 2rem;

    border:
        1px solid
        var(--rt-border);

    border-radius:
        var(--rt-radius-lg);

    background:
        var(--rt-panel);
}


.control-number {
    position: absolute;

    top: 1.2rem;
    right: 1.3rem;

    color:
        var(--rt-muted);

    font-size: .7rem;

    font-weight: 800;
}


.control-card > i {
    display: block;

    margin-bottom: 1.5rem;

    color:
        var(--rt-accent);

    font-size: 2rem;
}


.control-card h3 {
    font-size: 1.25rem;

    font-weight: 800;
}


.control-card p {
    color:
        var(--rt-muted);

    font-size: .88rem;

    line-height: 1.7;
}


.control-card strong {
    color:
        var(--rt-text);

    font-size: .82rem;

    line-height: 1.55;
}


/* criticità */

.entry-critical-section {
    border-top:
        1px solid
        var(--rt-border);

    border-bottom:
        1px solid
        var(--rt-border);

    background:
        rgba(255, 255, 255, .018);
}


.critical-list {
    border-top:
        1px solid
        var(--rt-border);
}


.critical-item {
    display: grid;

    grid-template-columns:
        90px
        minmax(0, 1fr);

    gap: 2rem;

    padding:
        2.7rem
        0;

    border-bottom:
        1px solid
        var(--rt-border);
}


.critical-index {
    color:
        var(--rt-accent);

    font-family:
        "Manrope",
        sans-serif;

    font-size: 2.2rem;

    font-weight: 800;

    opacity: .7;
}


.critical-item span {
    color:
        var(--rt-muted);

    font-size: .65rem;

    font-weight: 800;

    letter-spacing: .13em;
}


.critical-item h3 {
    max-width: 800px;

    margin:
        .4rem
        0
        1rem;

    font-size:
        clamp(
            1.5rem,
            3vw,
            2.35rem
        );

    font-weight: 800;
}


.critical-item p {
    max-width: 850px;

    color:
        var(--rt-muted);

    line-height: 1.75;
}


.critical-item strong {
    color:
        var(--rt-text);
}


/* nuova catena evento */

.event-chain {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: .7rem;

    overflow-x: auto;

    padding:
        2rem
        0
        2.5rem;
}


.event-node {
    flex:
        0
        0
        145px;

    display: flex;

    flex-direction: column;

    align-items: center;

    min-height: 165px;

    padding: 1.3rem .8rem;

    text-align: center;

    border:
        1px solid
        var(--rt-border);

    border-radius: 1rem;

    background:
        var(--rt-panel);
}


.event-node-first {
    border-color:
        var(--rt-accent);
}


.event-node i {
    margin-bottom: .7rem;

    color:
        var(--rt-accent);

    font-size: 1.55rem;
}


.event-node span {
    color:
        var(--rt-muted);

    font-size: .58rem;

    font-weight: 800;
}


.event-node strong {
    margin:
        .35rem
        0;

    font-size: .85rem;
}


.event-node small {
    color:
        var(--rt-muted);

    font-size: .68rem;

    line-height: 1.4;
}


.event-chain > i {
    flex: 0 0 auto;

    color:
        var(--rt-accent);
}


.event-explanation {
    display: grid;

    grid-template-columns:
        70px
        minmax(0, 1fr);

    gap: 1.5rem;

    margin-top: 2rem;

    padding:
        clamp(
            1.5rem,
            4vw,
            3rem
        );

    border:
        1px solid
        rgba(174, 255, 47, .25);

    border-radius:
        var(--rt-radius-lg);

    background:
        rgba(174, 255, 47, .035);
}


.event-explanation > div:first-child i {
    color:
        var(--rt-accent);

    font-size: 2.5rem;
}


.event-explanation h3 {
    font-size:
        clamp(
            1.4rem,
            3vw,
            2.2rem
        );

    font-weight: 800;
}


.event-explanation p {
    max-width: 850px;

    color:
        var(--rt-muted);

    line-height: 1.75;
}


.event-explanation strong {
    color:
        var(--rt-text);
}


/* conclusione */

.entry-conclusion {
    padding:
        clamp(
            5rem,
            10vw,
            9rem
        )
        0;
}


.entry-conclusion h2 {
    margin:
        .8rem
        0
        2rem;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4.3rem
        );

    font-weight: 800;

    letter-spacing: -.04em;
}


.entry-conclusion p {
    color:
        var(--rt-muted);

    font-family:
        "Source Serif 4",
        serif;

    font-size: 1.1rem;

    line-height: 1.8;
}


.entry-conclusion strong {
    color:
        var(--rt-text);
}


.final-chain {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: .8rem;

    margin:
        2rem
        0;

    padding:
        1.25rem;

    color:
        var(--rt-accent);

    font-size: .78rem;

    font-weight: 800;

    letter-spacing: .07em;

    border-top:
        1px solid
        var(--rt-border);

    border-bottom:
        1px solid
        var(--rt-border);
}


/* fonti */

.entry-sources {
    padding:
        5rem
        0;

    border-top:
        1px solid
        var(--rt-border);

    background:
        rgba(255, 255, 255, .018);
}


.entry-sources h2 {
    margin:
        .5rem
        0
        2rem;

    font-size: 2rem;

    font-weight: 800;
}


.entry-source-list {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: .8rem;
}


.entry-source-list a {
    position: relative;

    display: flex;

    flex-direction: column;

    padding:
        1.2rem
        3rem
        1.2rem
        1.2rem;

    color:
        var(--rt-text);

    text-decoration: none;

    border:
        1px solid
        var(--rt-border);

    border-radius: .9rem;

    background:
        var(--rt-panel);

    transition:
        transform .2s ease,
        border-color .2s ease;
}


.entry-source-list a:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(174, 255, 47, .35);
}


.entry-source-list strong {
    margin-bottom: .25rem;

    font-size: .82rem;
}


.entry-source-list span {
    color:
        var(--rt-muted);

    font-size: .75rem;

    line-height: 1.45;
}


.entry-source-list i {
    position: absolute;

    top: 1.2rem;
    right: 1.2rem;

    color:
        var(--rt-accent);
}


.source-disclaimer {
    max-width: 900px;

    margin-top: 2rem;

    color:
        var(--rt-muted);

    font-size: .76rem;

    line-height: 1.6;
}


/* mobile */

@media (max-width: 991.98px) {

    .existing-controls {
        grid-template-columns:
            1fr;
    }


    .entry-source-list {
        grid-template-columns:
            1fr;
    }


    .origin-equation {
        align-items: flex-start;

        flex-direction: column;
    }


    .origin-equation > i {
        transform:
            rotate(90deg);
    }

}


@media (max-width: 767.98px) {

    .entry-title {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4.5rem
            );
    }


    .critical-item {
        grid-template-columns:
            1fr;

        gap: .6rem;
    }


    .critical-index {
        font-size: 1.4rem;
    }


    .event-explanation {
        grid-template-columns:
            1fr;
    }


    .event-explanation > div:first-child i {
        font-size: 2rem;
    }

}