/* =========================================================
   PAGINA VIDEO - STUDIO GRAFFITI
   File: style-sg-video.css
========================================================= */

.sg-video-page {
    --sg-video-red: #dc2d17;
    --sg-video-black: #111111;
    --sg-video-dark: #171717;
    --sg-video-dark-soft: #202020;
    --sg-video-white: #ffffff;
    --sg-video-grey: #777777;

    background: var(--sg-video-black);
    color: var(--sg-video-white);
    overflow: hidden;
}

.sg-video-page *,
.sg-video-page *::before,
.sg-video-page *::after {
    box-sizing: border-box;
}

.sg-video-page a {
    text-decoration: none;
}


/* =========================================================
   ELEMENTI COMUNI
========================================================= */

.sg-video-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--sg-video-red);
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.sg-video-kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: currentColor;
}


/* =========================================================
   BOTTONI
========================================================= */

.sg-video-btn,
.sg-video-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 17px 28px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-align: center;
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.sg-video-btn:hover,
.sg-video-inline-btn:hover {
    transform: translateY(-3px);
}

.sg-video-btn-primary,
.sg-video-inline-btn {
    background: var(--sg-video-red);
    color: #ffffff !important;
}

.sg-video-btn-primary:hover,
.sg-video-inline-btn:hover {
    background: #ffffff;
    color: #111111 !important;
}

.sg-video-btn-light,
.sg-video-btn-white {
    background: #ffffff;
    color: #111111 !important;
}

.sg-video-btn-light:hover,
.sg-video-btn-white:hover {
    background: var(--sg-video-red);
    color: #ffffff !important;
}

.sg-video-btn-dark {
    background: #111111;
    color: #ffffff !important;
}

.sg-video-btn-dark:hover {
    background: #ffffff;
    color: #111111 !important;
}


/* =========================================================
   HERO
========================================================= */

.sg-video-hero {
    position: relative;
    padding: 190px 0 120px;
    background:
        radial-gradient(
            circle at 82% 12%,
            rgba(220, 45, 23, .32),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 255, 255, .06),
            transparent 30%
        ),
        #111111;
    overflow: hidden;
}

.sg-video-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: -230px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
}

.sg-video-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1250px;
}

.sg-video-hero h1 {
    max-width: 1250px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(56px, 8.6vw, 140px);
    line-height: .84;
    font-weight: 900;
    letter-spacing: -.075em;
}

.sg-video-hero h1 span {
    display: block;
    color: var(--sg-video-red);
}

.sg-video-hero p {
    max-width: 800px;
    margin: 38px 0 0;
    color: rgba(255, 255, 255, .72);
    font-size: 21px;
    line-height: 1.65;
}

.sg-video-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}


/* =========================================================
   VIDEO ISTITUZIONALE
========================================================= */

.sg-video-featured-section {
    padding: 110px 0;
    background: #ffffff;
    color: #111111;
}

.sg-video-featured-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 68px;
    align-items: center;
}

.sg-video-featured-media {
    position: relative;
}

.sg-video-featured-media::before {
    content: "";
    position: absolute;
    top: -22px;
    left: -22px;
    width: 130px;
    height: 130px;
    border-radius: 30px;
    background: var(--sg-video-red);
}

.sg-video-embed {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background: #000000;
    border-radius: 34px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .20);
}

.sg-video-embed-landscape {
    aspect-ratio: 16 / 9;
}

.sg-video-embed iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.sg-video-featured-content h2 {
    margin: 0 0 28px;
    color: #111111;
    font-size: clamp(42px, 5vw, 76px);
    line-height: .94;
    font-weight: 900;
    letter-spacing: -.06em;
}

.sg-video-featured-content h2 span {
    color: var(--sg-video-red);
}

.sg-video-featured-content > p {
    margin: 0 0 18px;
    color: #595959;
    font-size: 17px;
    line-height: 1.75;
}

.sg-video-featured-content .sg-video-lead {
    color: #222222;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 700;
}

.sg-video-featured-points {
    display: grid;
    gap: 11px;
    margin: 30px 0;
}

.sg-video-featured-points > div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 18px;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 18px;
    background: #f6f6f6;
}

.sg-video-featured-points span {
    flex: 0 0 38px;
    color: var(--sg-video-red);
    font-size: 14px;
    font-weight: 900;
}

.sg-video-featured-points p {
    margin: 0;
    color: #292929;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}


/* =========================================================
   INTRODUZIONE LUNGO IL TEVERE
========================================================= */

.sg-video-reel-intro {
    padding: 105px 0;
    background: var(--sg-video-red);
    color: #ffffff;
}

.sg-video-reel-intro .sg-video-kicker {
    color: #ffffff;
}

.sg-video-reel-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.sg-video-reel-intro h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 6.5vw, 100px);
    line-height: .87;
    font-weight: 900;
    letter-spacing: -.07em;
}

.sg-video-reel-intro h2 span {
    display: block;
    color: #111111;
}

.sg-video-reel-intro p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .87);
    font-size: 20px;
    line-height: 1.65;
}


/* =========================================================
   SECTION REEL
========================================================= */

.sg-video-reels-section {
    padding: 110px 0;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(220, 45, 23, .18),
            transparent 30%
        ),
        #111111;
}

.sg-video-section-head {
    max-width: 960px;
    margin-bottom: 55px;
}

.sg-video-section-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(46px, 6vw, 94px);
    line-height: .9;
    font-weight: 900;
    letter-spacing: -.065em;
}

.sg-video-section-head h2 span {
    display: block;
    color: var(--sg-video-red);
}

.sg-video-section-head p {
    max-width: 760px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   CAROSELLO REEL
========================================================= */

.sg-reels-carousel {
    position: relative;
    width: 100%;
}

.sg-reels-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sg-reels-track {
    --reels-gap: 20px;

    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: var(--reels-gap);
    width: max-content;
    transform: translate3d(0, 0, 0);
    transition: transform .55s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.sg-reels-track .sg-video-reel-card {
    flex: 0 0 calc((1320px - 60px) / 4) !important;
    width: calc((1320px - 60px) / 4) !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
}


/* =========================================================
   CARD REEL
========================================================= */

.sg-video-reel-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 32px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .075),
            rgba(255, 255, 255, .025)
        );
    transition:
        transform .35s ease,
        border-color .35s ease,
        background-color .35s ease;
}

.sg-video-reel-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 45, 23, .70);
    background-color: #1d1d1d;
}

.sg-video-reel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #000000;
}

.sg-video-reel-media iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.sg-video-reel-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.sg-video-reel-content > span {
    display: block;
    margin-bottom: 13px;
    color: var(--sg-video-red);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

.sg-video-reel-content h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.035em;
}

.sg-video-reel-content p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .66);
    font-size: 15px;
    line-height: 1.6;
}

.sg-video-reel-content a {
    position: relative;
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding-bottom: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.sg-video-reel-content a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--sg-video-red);
    transform: scaleX(.35);
    transform-origin: left;
    transition: transform .3s ease;
}

.sg-video-reel-content a:hover {
    color: #ffffff;
}

.sg-video-reel-content a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   FRECCE CAROSELLO
========================================================= */

.sg-reels-arrow {
    position: absolute;
    top: 42%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--sg-video-red);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .32);
    transition:
        color .3s ease,
        background-color .3s ease,
        transform .3s ease,
        opacity .3s ease;
}

.sg-reels-arrow:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-50%) scale(1.06);
}

.sg-reels-arrow:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

.sg-reels-arrow svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-reels-arrow-prev {
    left: -29px;
}

.sg-reels-arrow-next {
    right: -29px;
}


/* =========================================================
   PROGRESS BAR CAROSELLO
========================================================= */

.sg-reels-progress {
    width: 100%;
    height: 3px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}

.sg-reels-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--sg-video-red);
    transition: width .4s ease;
}


/* =========================================================
   SECTION CANALE YOUTUBE
========================================================= */

.sg-video-channel-section {
    padding: 105px 0;
    background: #ffffff;
    color: #111111;
}

.sg-video-channel-box {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
    padding: 55px;
    border-radius: 40px;
    background:
        radial-gradient(
            circle at right top,
            rgba(220, 45, 23, .24),
            transparent 35%
        ),
        #111111;
}

.sg-video-channel-box h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 78px);
    line-height: .92;
    font-weight: 900;
    letter-spacing: -.06em;
}

.sg-video-channel-box h2 span {
    color: var(--sg-video-red);
}

.sg-video-channel-box p {
    max-width: 760px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .70);
    font-size: 18px;
    line-height: 1.65;
}

.sg-video-channel-action {
    display: flex;
    justify-content: flex-end;
}


/* =========================================================
   CTA FINALE
========================================================= */

.sg-video-cta {
    padding: 110px 0;
    background: var(--sg-video-red);
    color: #ffffff;
}

.sg-video-cta .sg-video-kicker {
    color: #ffffff;
}

.sg-video-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.sg-video-cta h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(48px, 6.5vw, 100px);
    line-height: .87;
    font-weight: 900;
    letter-spacing: -.07em;
}

.sg-video-cta h2 span {
    display: block;
    color: #111111;
}

.sg-video-cta p {
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .88);
    font-size: 20px;
    line-height: 1.65;
}


/* =========================================================
   DESKTOP MEDIO
========================================================= */

@media (max-width: 1399px) {

    .sg-reels-track .sg-video-reel-card {
        flex-basis: calc((100vw - 120px) / 4) !important;
        width: calc((100vw - 120px) / 4) !important;
    }

    .sg-reels-arrow-prev {
        left: -12px;
    }

    .sg-reels-arrow-next {
        right: -12px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .sg-video-featured-grid,
    .sg-video-reel-intro-grid,
    .sg-video-channel-box,
    .sg-video-cta-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .sg-video-channel-action {
        justify-content: flex-start;
    }

    .sg-reels-track .sg-video-reel-card {
        flex-basis: calc((100vw - 90px) / 2) !important;
        width: calc((100vw - 90px) / 2) !important;
    }

    .sg-reels-arrow-prev {
        left: 0;
    }

    .sg-reels-arrow-next {
        right: 0;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sg-video-hero {
        padding: 120px 0 75px;
    }

    .sg-video-hero h1 {
        font-size: clamp(47px, 15vw, 72px);
        line-height: .89;
    }

    .sg-video-hero p {
        font-size: 18px;
    }

    .sg-video-hero-actions {
        flex-direction: column;
    }

    .sg-video-btn,
    .sg-video-inline-btn {
        width: 100%;
    }

    .sg-video-featured-section,
    .sg-video-reel-intro,
    .sg-video-reels-section,
    .sg-video-channel-section,
    .sg-video-cta {
        padding: 72px 0;
    }

    .sg-video-featured-grid,
    .sg-video-reel-intro-grid,
    .sg-video-cta-grid {
        gap: 35px;
    }

    .sg-video-featured-media::before {
        top: -10px;
        left: -10px;
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }

    .sg-video-embed {
        border-radius: 24px;
    }

    .sg-video-featured-content h2 {
        font-size: 42px;
    }

    .sg-video-reel-intro h2 {
        font-size: 48px;
    }

    .sg-reels-track {
        --reels-gap: 14px;
    }

    .sg-reels-track .sg-video-reel-card {
        flex-basis: calc(86vw - 30px) !important;
        width: calc(86vw - 30px) !important;
    }

    .sg-reels-arrow {
        top: 39%;
        width: 48px;
        height: 48px;
    }

    .sg-reels-arrow-prev {
        left: 4px;
    }

    .sg-reels-arrow-next {
        right: 4px;
    }

    .sg-video-channel-box {
        padding: 30px;
        border-radius: 28px;
    }

    .sg-video-channel-box h2 {
        font-size: 42px;
    }

    .sg-video-cta h2 {
        font-size: 48px;
    }
}


/* =========================================================
   SMARTPHONE PICCOLI
========================================================= */

@media (max-width: 420px) {

    .sg-video-hero h1 {
        font-size: 45px;
    }

    .sg-video-section-head h2,
    .sg-video-reel-intro h2,
    .sg-video-cta h2 {
        font-size: 42px;
    }

    .sg-video-featured-content h2 {
        font-size: 38px;
    }

    .sg-video-reel-content {
        padding: 22px;
    }

    .sg-reels-track .sg-video-reel-card {
        flex-basis: calc(88vw - 30px) !important;
        width: calc(88vw - 30px) !important;
    }
}

/* Fix posizione frecce carosello reel */

.sg-reels-carousel {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #111111;
}

.sg-reels-carousel > .container.large {
    position: relative;
}

.sg-reels-arrow {
    top: 50%;
    z-index: 20;
}

.sg-reels-arrow-prev {
    left: 12px !important;
}

.sg-reels-arrow-next {
    right: 12px !important;
}

.sg-reels-viewport {
    position: relative;
    z-index: 1;
    margin: 0 74px;
}

.sg-reels-progress {
    max-width: 1320px;
    margin: 30px auto 0;
}

@media (max-width: 1199px) {
    .sg-reels-viewport {
        margin: 0 62px;
    }

    .sg-reels-arrow-prev {
        left: 8px !important;
    }

    .sg-reels-arrow-next {
        right: 8px !important;
    }
}

@media (max-width: 767px) {
    .sg-reels-carousel {
        padding: 72px 0;
    }

    .sg-reels-viewport {
        margin: 0 42px;
    }

    .sg-reels-arrow {
        width: 44px;
        height: 44px;
    }

    .sg-reels-arrow-prev {
        left: 2px !important;
    }

    .sg-reels-arrow-next {
        right: 2px !important;
    }
}