/**
 * Hope Running Core Performance
 * Archivio storico · 5 anni Hope Running
 * Editorial Layout 1.4.2
 */

.hr-history-5y {
    --h5-yellow:#ffd600;
    --h5-yellow-soft:#fff8cf;
    --h5-dark:#111714;
    --h5-dark-2:#18211c;
    --h5-green:#214b39;
    --h5-green-soft:#edf5f1;
    --h5-white:#ffffff;
    --h5-bg:#f6f8f6;
    --h5-text:#29352f;
    --h5-muted:#66736c;
    --h5-border:#dce5df;

    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:24px 18px 78px;
    color:var(--h5-text);
    font-family:inherit;
}

.hr-history-5y,
.hr-history-5y * {
    box-sizing:border-box;
}

.hr-history-5y p,
.hr-history-5y li {
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
    -webkit-hyphens:auto;
    overflow-wrap:break-word;
}

.hr-history-5y a {
    text-decoration:none;
}

.hr-history-5y a:focus-visible {
    outline:3px solid rgba(255,214,0,.65);
    outline-offset:3px;
}


/* =========================================================
   COMMON
========================================================= */

.hr5-label,
.hr5-kicker {
    display:block;
    color:#817000;
    font-size:9px;
    font-weight:900;
    letter-spacing:1.25px;
    text-transform:uppercase;
}

.hr5-button {
    min-height:46px;
    padding:11px 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    font-size:10.5px;
    font-weight:900;
    line-height:1.2;
}

.hr5-button-yellow {
    background:var(--h5-yellow);
    color:var(--h5-dark) !important;
}


/* =========================================================
   HERO
========================================================= */

.hr5-hero {
    position:relative;
    overflow:hidden;
    border-radius:28px;
    background:
        radial-gradient(circle at 10% 90%,rgba(55,120,88,.15),transparent 29%),
        linear-gradient(135deg,#111714,#1d3026 65%,#214b39);
    box-shadow:0 26px 68px rgba(17,23,20,.14);
}

.hr5-hero-centered {
    display:block;
    min-height:0;
    padding-bottom:34px;
}

.hr5-hero-copy {
    position:relative;
    z-index:2;
    max-width:1000px;
    margin:0 auto;
    padding:clamp(46px,6vw,70px) clamp(26px,6vw,66px) 34px;
    text-align:left;
}

.hr5-kicker {
    margin-bottom:18px;
    color:var(--h5-yellow);
}

.hr5-years {
    position:absolute;
    right:42px;
    top:18px;
    color:rgba(255,255,255,.035);
    font-size:180px;
    font-weight:950;
    line-height:1;
    pointer-events:none;
}

.hr5-hero h1 {
    position:relative;
    z-index:2;
    max-width:780px;
    margin:0;
    color:#fff;
    font-size:clamp(44px,6vw,70px);
    font-weight:950;
    line-height:.99;
    letter-spacing:-2.6px;
}

.hr5-hero h1 span {
    display:block;
    margin-top:4px;
    color:var(--h5-yellow);
}

.hr5-lead {
    position:relative;
    z-index:2;
    max-width:780px;
    margin:23px 0 0;
    color:#d1ddd6;
    font-size:15px;
    line-height:1.78;
}

.hr5-hero-meta {
    position:relative;
    z-index:2;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin-top:25px;
}

.hr5-hero-meta span {
    padding:7px 10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:999px;
    background:rgba(255,255,255,.055);
    color:#bcc8c1;
    font-size:8px;
    font-weight:850;
}


/* Foto centrale con zoom hover */

.hr5-photo-wrap {
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:0 clamp(18px,4vw,34px);
}

.hr5-photo-card {
    position:relative;
    width:min(100%,960px);
    margin:0 auto;
    overflow:hidden;
    border-radius:24px;
    background:#0c120f;
    box-shadow:0 22px 54px rgba(0,0,0,.22);
}

.hr5-photo-img {
    display:block;
    width:100%;
    height:auto;
    max-height:640px;
    object-fit:cover;
    object-position:center center;
    transform:scale(1);
    transform-origin:center center;
    transition:transform .48s cubic-bezier(.2,.7,.2,1);
    will-change:transform;
}

.hr5-photo-card:hover .hr5-photo-img,
.hr5-photo-card:focus-within .hr5-photo-img {
    transform:scale(1.075);
}

.hr5-photo-card figcaption {
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    margin:0;
    padding:24px 18px 14px;
    color:#eef4f0;
    font-size:8.5px;
    font-weight:750;
    line-height:1.4;
    background:linear-gradient(
        to top,
        rgba(17,23,20,.78),
        rgba(17,23,20,0)
    );
    pointer-events:none;
}


/* =========================================================
   FACTS
========================================================= */

.hr5-facts {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:14px 0 62px;
}

.hr5-fact {
    padding:20px 22px;
    display:flex;
    align-items:baseline;
    gap:12px;
    border:1px solid var(--h5-border);
    border-radius:15px;
    background:#fff;
}

.hr5-fact strong {
    color:var(--h5-dark);
    font-size:34px;
    font-weight:950;
    line-height:1;
}

.hr5-fact span {
    color:var(--h5-muted);
    font-size:10px;
    font-weight:800;
}


/* =========================================================
   INTRO
========================================================= */

.hr5-intro {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:60px;
    align-items:start;
    margin-bottom:66px;
}

.hr5-intro-title h2 {
    margin:10px 0 0;
    color:var(--h5-dark);
    font-size:clamp(31px,4.2vw,46px);
    font-weight:950;
    line-height:1.06;
    letter-spacing:-1.45px;
}

.hr5-intro-copy {
    padding-left:24px;
    border-left:4px solid var(--h5-yellow);
}

.hr5-intro-copy p {
    margin:0 0 15px;
    color:#435149;
    font-size:14px;
    line-height:1.82;
}

.hr5-intro-copy p:last-child {
    margin-bottom:0;
}


/* =========================================================
   TIMELINE
========================================================= */

.hr5-timeline {
    margin-bottom:68px;
    border-top:1px solid var(--h5-border);
}

.hr5-timeline-row {
    display:grid;
    grid-template-columns:170px minmax(0,1fr);
    gap:42px;
    padding:45px 0;
    border-bottom:1px solid var(--h5-border);
}

.hr5-timeline-side {
    position:relative;
    align-self:start;
    padding-top:4px;
}

.hr5-step {
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-bottom:14px;
    border-radius:12px;
    background:var(--h5-yellow);
    color:var(--h5-dark);
    font-size:10px;
    font-weight:950;
}

.hr5-timeline-side strong,
.hr5-timeline-side small {
    display:block;
}

.hr5-timeline-side strong {
    color:var(--h5-dark);
    font-size:17px;
    font-weight:950;
}

.hr5-timeline-side small {
    margin-top:3px;
    color:var(--h5-muted);
    font-size:9px;
    font-weight:800;
}

.hr5-timeline-body {
    max-width:830px;
}

.hr5-timeline-body h2 {
    max-width:760px;
    margin:9px 0 17px;
    color:var(--h5-dark);
    font-size:clamp(28px,3.7vw,40px);
    font-weight:950;
    line-height:1.08;
    letter-spacing:-1.15px;
}

.hr5-timeline-body > p {
    margin:0 0 14px;
    color:#4e5b54;
    font-size:13.5px;
    line-height:1.8;
}


/* =========================================================
   AWARDS
========================================================= */

.hr5-awards {
    margin:25px 0 22px;
    padding:20px;
    border-radius:18px;
    background:var(--h5-bg);
}

.hr5-awards-special {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-bottom:10px;
}

.hr5-awards-special > div {
    padding:16px;
    border:1px solid #e1d171;
    border-radius:13px;
    background:var(--h5-yellow-soft);
}

.hr5-awards-special small,
.hr5-awards-special strong,
.hr5-awards-special span {
    display:block;
}

.hr5-awards-special small {
    color:#7a6900;
    font-size:7.5px;
    font-weight:900;
    letter-spacing:.8px;
    text-transform:uppercase;
}

.hr5-awards-special strong {
    margin-top:5px;
    color:var(--h5-dark);
    font-size:12px;
    font-weight:950;
    line-height:1.35;
}

.hr5-awards-special span {
    margin-top:5px;
    color:#6e6850;
    font-size:9px;
    font-weight:750;
}

.hr5-ranking {
    margin:0;
    padding:0;
    list-style:none;
}

.hr5-ranking li {
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:13px 8px;
    border-bottom:1px solid var(--h5-border);
}

.hr5-ranking li:last-child {
    border-bottom:0;
}

.hr5-ranking li > span {
    color:var(--h5-green);
    font-size:14px;
    font-weight:950;
}

.hr5-ranking strong,
.hr5-ranking small {
    display:block;
}

.hr5-ranking strong {
    color:var(--h5-dark);
    font-size:11px;
    font-weight:950;
}

.hr5-ranking small {
    margin-top:3px;
    color:var(--h5-muted);
    font-size:8.5px;
}

.hr5-note {
    margin-top:18px !important;
    padding:13px 15px;
    border-left:4px solid var(--h5-yellow);
    border-radius:0 11px 11px 0;
    background:var(--h5-yellow-soft);
    color:#5a5642 !important;
    font-size:10px !important;
    line-height:1.62 !important;
}


/* =========================================================
   TRAIL
========================================================= */

.hr5-trail {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:34px;
    align-items:center;
    margin-bottom:68px;
    padding:clamp(34px,5vw,50px);
    border-radius:24px;
    background:
        radial-gradient(circle at 92% 8%,rgba(255,214,0,.13),transparent 25%),
        linear-gradient(140deg,#111714,#214b39);
}

.hr5-trail .hr5-label {
    color:var(--h5-yellow);
}

.hr5-trail h2 {
    max-width:650px;
    margin:9px 0 17px;
    color:#fff;
    font-size:clamp(30px,4vw,44px);
    font-weight:950;
    line-height:1.06;
    letter-spacing:-1.35px;
}

.hr5-trail-copy p {
    margin:0 0 13px;
    color:#d1ddd6;
    font-size:12.5px;
    line-height:1.75;
}

.hr5-trail-copy .hr5-button {
    margin-top:8px;
}

.hr5-trail-data {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
}

.hr5-trail-data div {
    min-height:118px;
    padding:17px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    border:1px solid rgba(255,255,255,.12);
    border-radius:15px;
    background:rgba(255,255,255,.055);
}

.hr5-trail-data strong,
.hr5-trail-data span {
    display:block;
}

.hr5-trail-data strong {
    color:var(--h5-yellow);
    font-size:25px;
    font-weight:950;
    line-height:1;
}

.hr5-trail-data span {
    margin-top:7px;
    color:#adbbb3;
    font-size:8.5px;
    font-weight:750;
    line-height:1.4;
}


/* =========================================================
   QUOTE
========================================================= */

.hr5-quote-section {
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    gap:22px;
    margin-bottom:68px;
    padding:clamp(38px,6vw,58px);
    border-radius:24px;
    background:linear-gradient(135deg,var(--h5-yellow),#ffe76b);
}

.hr5-quote-mark {
    align-self:start;
    color:rgba(17,23,20,.10);
    font-family:Georgia,"Times New Roman",serif;
    font-size:155px;
    line-height:.65;
}

.hr5-quote-content .hr5-label {
    color:#6f5f00;
}

.hr5-quote-content blockquote {
    max-width:860px;
    margin:14px 0 0;
    padding:0;
    border:0;
}

.hr5-quote-content blockquote p {
    margin:0 0 13px;
    color:var(--h5-dark);
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(17px,2.5vw,23px);
    font-weight:700;
    line-height:1.48;
}

.hr5-quote-content footer {
    margin-top:18px;
    color:#635700;
    font-size:10px;
    font-weight:900;
}


/* =========================================================
   FINALE
========================================================= */

.hr5-finale {
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:50px;
    align-items:start;
    margin-bottom:22px;
    padding:clamp(31px,5vw,45px);
    border:1px solid var(--h5-border);
    border-radius:21px;
    background:#fff;
}

.hr5-finale h2 {
    margin:9px 0 0;
    color:var(--h5-dark);
    font-size:clamp(29px,3.8vw,41px);
    font-weight:950;
    line-height:1.06;
    letter-spacing:-1.2px;
}

.hr5-finale p {
    margin:0 0 13px;
    color:var(--h5-muted);
    font-size:12.5px;
    line-height:1.75;
}

.hr5-motto {
    display:inline-block;
    margin-top:5px;
    color:var(--h5-green);
    font-size:14px;
    font-weight:950;
}


/* =========================================================
   SHARE
========================================================= */

.hr5-share {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:26px;
    padding:19px 21px;
    border:1px solid var(--h5-border);
    border-radius:17px;
    background:var(--h5-bg);
}

.hr5-share > div:first-child strong {
    display:block;
    margin-bottom:4px;
    color:var(--h5-dark);
    font-size:11.5px;
    font-weight:950;
}

.hr5-share > div:first-child p {
    margin:0;
    color:var(--h5-muted);
    font-size:9px;
    line-height:1.5;
}

.hr5-share-actions {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    flex:0 0 auto;
}

.hr5-share-actions a {
    min-height:36px;
    padding:8px 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--h5-border);
    border-radius:999px;
    background:#fff;
    color:var(--h5-dark) !important;
    font-size:9px;
    font-weight:850;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:920px) {

    .hr5-intro,
    .hr5-trail,
    .hr5-finale {
        grid-template-columns:1fr;
        gap:28px;
    }

    .hr5-quote-section {
        grid-template-columns:100px minmax(0,1fr);
    }

}


@media(max-width:700px) {

    .hr-history-5y {
        padding:10px 9px 58px;
    }

    .hr5-hero {
        border-radius:20px;
    }

    .hr5-hero-copy {
        padding:38px 21px;
    }

    .hr5-hero h1 {
        font-size:40px;
        letter-spacing:-1.7px;
    }


    .hr5-photo-wrap {
        padding:0 12px;
    }

    .hr5-photo-card {
        width:100%;
        border-radius:17px;
    }

    .hr5-photo-img {
        max-height:520px;
    }

    .hr5-photo-card:hover .hr5-photo-img,
    .hr5-photo-card:focus-within .hr5-photo-img {
        transform:scale(1.04);
    }

    .hr5-facts {
        grid-template-columns:1fr;
        margin-bottom:48px;
    }

    .hr5-fact {
        padding:16px 18px;
    }

    .hr5-intro {
        margin-bottom:46px;
    }

    .hr5-intro-copy {
        padding-left:18px;
    }

    .hr5-timeline-row {
        grid-template-columns:1fr;
        gap:18px;
        padding:35px 0;
    }

    .hr5-timeline-side {
        display:grid;
        grid-template-columns:42px auto;
        column-gap:12px;
        align-items:center;
    }

    .hr5-timeline-side .hr5-step {
        grid-row:1/3;
        margin:0;
    }

    .hr5-timeline-side strong,
    .hr5-timeline-side small {
        grid-column:2;
    }

    .hr5-awards-special,
    .hr5-trail-data {
        grid-template-columns:1fr;
    }

    .hr5-trail,
    .hr5-quote-section,
    .hr5-finale {
        padding:26px 20px;
        border-radius:19px;
    }

    .hr5-quote-section {
        grid-template-columns:1fr;
    }

    .hr5-quote-mark {
        font-size:90px;
        height:45px;
    }

    .hr5-share {
        align-items:flex-start;
        flex-direction:column;
    }

    .hr5-share-actions {
        width:100%;
    }

    .hr5-share-actions a {
        flex:1 1 auto;
    }

}


@media(prefers-reduced-motion:reduce) {

    .hr-history-5y *,
    .hr-history-5y *::before,
    .hr-history-5y *::after {
        transition:none !important;
        animation:none !important;
        scroll-behavior:auto !important;
    }

}
