/* =========================================================
   CASE HISTORY STUDIO GRAFFITI
   Pagina: /progetto-sito-web-studio-graffiti
   ========================================================= */

.sg-case-history {
    --sg-primary: #69704a;
    --sg-primary-dark: #3f452d;
    --sg-primary-darker: #2f3421;
    --sg-primary-light: #e8eadf;
    --sg-bg-light: #f6f4ed;
    --sg-bg-soft: #eeece3;
    --sg-white: #ffffff;
    --sg-text: #252820;
    --sg-text-light: #666a60;
    --sg-border: rgba(37, 40, 32, 0.14);
    --sg-border-light: rgba(255, 255, 255, 0.18);
    --sg-shadow: 0 24px 70px rgba(36, 40, 27, 0.13);

    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: var(--sg-white);
    color: var(--sg-text);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   RESET INTERNO
   Evita conflitti con Bootstrap o con il tema principale
   ========================================================= */

.sg-case-history *,
.sg-case-history *::before,
.sg-case-history *::after {
    box-sizing: border-box;
}

.sg-case-history section,
.sg-case-history article,
.sg-case-history nav,
.sg-case-history div {
    min-width: 0;
}

.sg-case-history h1,
.sg-case-history h2,
.sg-case-history h3,
.sg-case-history p,
.sg-case-history figure {
    margin-top: 0;
}

.sg-case-history h1,
.sg-case-history h2,
.sg-case-history h3 {
    font-family: inherit;
    text-transform: none;
}

.sg-case-history img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sg-case-history a {
    text-decoration: none;
}

.sg-case-history a,
.sg-case-history button,
.sg-case-history summary {
    -webkit-tap-highlight-color: transparent;
}

.sg-case-history #il-progetto {
    scroll-margin-top: 100px;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.sg-case-container {
    position: relative;
    z-index: 2;
    width: calc(100% - 40px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.sg-case-container-small {
    max-width: 900px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.sg-case-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: var(--sg-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sg-case-eyebrow::before {
    content: "";
    display: block;
    flex: 0 0 38px;
    width: 38px;
    height: 1px;
    background: currentColor;
}


/* =========================================================
   HERO
   ========================================================= */

.sg-case-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: 52px 0 112px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(255, 255, 255, 0.14) 0,
            rgba(255, 255, 255, 0) 34%
        ),
        linear-gradient(
            135deg,
            var(--sg-primary-darker) 0%,
            var(--sg-primary-dark) 48%,
            var(--sg-primary) 100%
        );
    color: var(--sg-white);
}

.sg-case-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -270px;
    right: -200px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.sg-case-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 8%;
    bottom: -270px;
    width: 470px;
    height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}


/* Breadcrumb */

.sg-case-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 0 64px;
    padding: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.5;
}

.sg-case-breadcrumb a {
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.25s ease;
}

.sg-case-breadcrumb a:hover {
    color: var(--sg-white);
}

.sg-case-breadcrumb span {
    color: rgba(255, 255, 255, 0.55);
}


/* Griglia hero */

.sg-case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 78px;
    align-items: center;
    width: 100%;
}

.sg-case-hero-content {
    width: 100%;
}

.sg-case-hero .sg-case-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.sg-case-hero-content h1 {
    max-width: 820px;
    margin: 0 0 30px;
    color: var(--sg-white);
    font-size: clamp(44px, 5.6vw, 78px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.sg-case-lead {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.75;
}


/* Pulsanti */

.sg-case-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 42px;
}

.sg-case-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.sg-case-btn:hover {
    transform: translateY(-2px);
}

.sg-case-btn-primary {
    border-color: var(--sg-white);
    background: var(--sg-white);
    color: var(--sg-primary-dark);
}

.sg-case-btn-primary:hover {
    border-color: var(--sg-bg-light);
    background: var(--sg-bg-light);
    color: var(--sg-primary-dark);
}

.sg-case-btn-outline {
    border-color: rgba(255, 255, 255, 0.44);
    background: transparent;
    color: var(--sg-white);
}

.sg-case-btn-outline:hover {
    border-color: var(--sg-white);
    background: var(--sg-white);
    color: var(--sg-primary-dark);
}


/* Card Studio Graffiti nella hero */

.sg-case-hero-card {
    position: relative;
    width: 100%;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 60px rgba(16, 20, 10, 0.2);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.sg-case-card-label {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sg-case-hero-card > a {
    display: inline-block;
    max-width: 100%;
}

.sg-case-studio-logo {
    width: 250px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;

    /* Trasforma in bianco un logo SVG scuro caricato con img */
}

.sg-case-hero-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.sg-case-highlights {
    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: -40px;
}

.sg-case-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    background: var(--sg-white);
    box-shadow: var(--sg-shadow);
}

.sg-case-highlight {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    padding: 34px 30px;
    border-right: 1px solid var(--sg-border);
    background: var(--sg-white);
}

.sg-case-highlight:last-child {
    border-right: 0;
}

.sg-case-highlight strong {
    display: block;
    margin: 0 0 9px;
    color: var(--sg-primary);
    font-size: 31px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.sg-case-highlight span {
    display: block;
    color: var(--sg-text-light);
    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   SEZIONI GENERALI
   ========================================================= */

.sg-case-section {
    position: relative;
    width: 100%;
    padding: 120px 0;
    background: var(--sg-white);
}

.sg-case-section-light {
    background: var(--sg-bg-light);
}

.sg-case-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 96px;
    align-items: center;
    width: 100%;
}

.sg-case-two-columns-top {
    align-items: start;
}

.sg-case-section-heading {
    width: 100%;
}

.sg-case-section-heading h2,
.sg-case-heading-center h2,
.sg-case-seo-content h2,
.sg-case-result h2,
.sg-case-credits-content h2 {
    margin: 0;
    color: var(--sg-text);
    font-size: clamp(35px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.sg-case-section-heading > p,
.sg-case-heading-center > p {
    max-width: 760px;
    margin: 27px 0 0;
    color: var(--sg-text-light);
    font-size: 18px;
    line-height: 1.78;
}

.sg-case-section-copy {
    width: 100%;
}

.sg-case-section-copy p {
    margin: 0 0 23px;
    color: var(--sg-text-light);
    font-size: 18px;
    line-height: 1.85;
}

.sg-case-section-copy p:last-child {
    margin-bottom: 0;
}


/* Titolo centrato */

.sg-case-heading-center {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 64px;
    text-align: center;
}

.sg-case-heading-center .sg-case-eyebrow {
    justify-content: center;
}

.sg-case-heading-center > p {
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   CARD OBIETTIVI
   ========================================================= */

.sg-case-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
}

.sg-case-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 305px;
    margin: 0;
    padding: 39px 33px;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    background: var(--sg-white);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.sg-case-service-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(105, 112, 74, 0.13);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.sg-case-service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(105, 112, 74, 0.45);
    box-shadow: 0 22px 50px rgba(39, 43, 31, 0.1);
}

.sg-case-service-card:hover::after {
    transform: scale(1.2);
}

.sg-case-number {
    display: block;
    margin: 0 0 48px;
    color: var(--sg-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.sg-case-service-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 16px;
    color: var(--sg-text);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.sg-case-service-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--sg-text-light);
    font-size: 15px;
    line-height: 1.76;
}


/* =========================================================
   ATTIVITÀ REALIZZATE
   ========================================================= */

.sg-case-check-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.sg-case-check-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    padding: 28px 0;
    border-bottom: 1px solid var(--sg-border);
}

.sg-case-check-item:first-child {
    padding-top: 0;
}

.sg-case-check-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sg-case-check-item > span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--sg-primary-light);
    color: var(--sg-primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.sg-case-check-item h3 {
    margin: 0 0 8px;
    color: var(--sg-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.sg-case-check-item p {
    margin: 0;
    color: var(--sg-text-light);
    font-size: 15px;
    line-height: 1.72;
}


/* =========================================================
   SEZIONE SEO E AI
   ========================================================= */

.sg-case-seo-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--sg-primary-darker) 0%,
            var(--sg-primary-dark) 100%
        );
    color: var(--sg-white);
}

.sg-case-seo-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -280px;
    right: -190px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.sg-case-seo-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -210px;
    left: -150px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.sg-case-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 95px;
    align-items: center;
    width: 100%;
}

.sg-case-eyebrow-light,
.sg-case-seo-section .sg-case-eyebrow {
    color: rgba(255, 255, 255, 0.66);
}

.sg-case-seo-content {
    width: 100%;
}

.sg-case-seo-content h2 {
    color: var(--sg-white);
}

.sg-case-seo-content p {
    max-width: 720px;
    margin: 27px 0 0;
    color: rgba(255, 255, 255, 0.73);
    font-size: 17px;
    line-height: 1.82;
}

.sg-case-seo-list {
    width: 100%;
    border-top: 1px solid var(--sg-border-light);
}

.sg-case-seo-list > div {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    width: 100%;
    min-height: 67px;
    padding: 20px 0;
    border-bottom: 1px solid var(--sg-border-light);
}

.sg-case-seo-list strong {
    display: block;
    color: rgba(255, 255, 255, 0.43);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.sg-case-seo-list span {
    display: block;
    color: var(--sg-white);
    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   RISULTATO
   ========================================================= */

.sg-case-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 96px;
    align-items: end;
    width: 100%;
}

.sg-case-result > div {
    width: 100%;
}

.sg-case-result p {
    margin: 0 0 20px;
    color: var(--sg-text-light);
    font-size: 18px;
    line-height: 1.82;
}

.sg-case-result p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   CREDIT STUDIO GRAFFITI
   ========================================================= */

.sg-case-credits {
    position: relative;
    width: 100%;
    padding: 0 0 120px;
    background: var(--sg-white);
}

.sg-case-credits-box {
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 72px;
    align-items: center;
    width: 100%;
    padding: 68px;
    background: var(--sg-bg-light);
}

.sg-case-credits-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding-right: 60px;
    border-right: 1px solid var(--sg-border);
}

.sg-case-credits-logo > span {
    display: block;
    margin: 0 0 29px;
    color: var(--sg-text-light);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sg-case-credits-logo > a {
    display: inline-block;
    max-width: 100%;
}

.sg-case-credits-logo img {
    width: 280px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.sg-case-credits-content {
    width: 100%;
}

.sg-case-credits-content h2 {
    margin-bottom: 23px;
    font-size: clamp(36px, 4vw, 46px);
}

.sg-case-credits-content p {
    max-width: 700px;
    margin: 0 0 29px;
    color: var(--sg-text-light);
    font-size: 17px;
    line-height: 1.82;
}

.sg-case-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--sg-primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.sg-case-text-link span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.sg-case-text-link:hover {
    color: var(--sg-primary);
}

.sg-case-text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   FAQ
   ========================================================= */

.sg-case-faq {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.sg-case-faq details {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid var(--sg-border);
    background: var(--sg-white);
}

.sg-case-faq summary {
    position: relative;
    display: block;
    width: 100%;
    padding: 27px 66px 27px 30px;
    color: var(--sg-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.sg-case-faq summary::-webkit-details-marker {
    display: none;
}

.sg-case-faq summary::marker {
    display: none;
    content: "";
}

.sg-case-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    color: var(--sg-primary);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
}

.sg-case-faq details[open] summary::after {
    content: "−";
}

.sg-case-faq details p {
    margin: 0;
    padding: 0 30px 30px;
    color: var(--sg-text-light);
    font-size: 16px;
    line-height: 1.78;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .sg-case-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
        gap: 50px;
    }

    .sg-case-two-columns,
    .sg-case-seo-grid,
    .sg-case-result {
        gap: 65px;
    }

    .sg-case-credits-box {
        gap: 55px;
        padding: 55px;
    }

    .sg-case-credits-logo {
        padding-right: 45px;
    }

}


/* =========================================================
   TABLET VERTICALE
   ========================================================= */

@media (max-width: 991px) {

    .sg-case-hero {
        padding: 40px 0 90px;
    }

    .sg-case-breadcrumb {
        margin-bottom: 44px;
    }

    .sg-case-hero-grid,
    .sg-case-two-columns,
    .sg-case-seo-grid,
    .sg-case-result,
    .sg-case-credits-box {
        grid-template-columns: minmax(0, 1fr);
    }

    .sg-case-hero-grid {
        gap: 52px;
    }

    .sg-case-hero-content {
        max-width: 800px;
    }

    .sg-case-hero-card {
        max-width: 560px;
    }

    .sg-case-highlights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-case-highlight:nth-child(2) {
        border-right: 0;
    }

    .sg-case-highlight:nth-child(1),
    .sg-case-highlight:nth-child(2) {
        border-bottom: 1px solid var(--sg-border);
    }

    .sg-case-section {
        padding: 90px 0;
    }

    .sg-case-two-columns,
    .sg-case-seo-grid,
    .sg-case-result {
        gap: 50px;
    }

    .sg-case-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-case-credits {
        padding-bottom: 90px;
    }

    .sg-case-credits-box {
        gap: 42px;
        padding: 50px;
    }

    .sg-case-credits-logo {
        min-height: auto;
        padding: 0 0 42px;
        border-right: 0;
        border-bottom: 1px solid var(--sg-border);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .sg-case-container,
    .sg-case-container-small {
        width: calc(100% - 30px);
    }

    .sg-case-hero {
        padding: 30px 0 74px;
    }

    .sg-case-breadcrumb {
        margin-bottom: 34px;
        font-size: 13px;
    }

    .sg-case-hero-grid {
        gap: 40px;
    }

    .sg-case-hero-content h1 {
        margin-bottom: 24px;
        font-size: clamp(38px, 11vw, 49px);
        line-height: 1.08;
    }

    .sg-case-lead {
        font-size: 17px;
        line-height: 1.72;
    }

    .sg-case-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 34px;
    }

    .sg-case-btn {
        width: 100%;
    }

    .sg-case-hero-card {
        max-width: none;
        padding: 30px;
    }

    .sg-case-card-label {
        margin-bottom: 24px;
    }

    .sg-case-hero-card p {
        margin-top: 25px;
    }

    .sg-case-highlights {
        margin-top: 0;
    }

    .sg-case-highlights > .sg-case-container {
        width: 100%;
        max-width: none;
    }

    .sg-case-highlights-grid {
        box-shadow: none;
    }

    .sg-case-highlight {
        min-height: 125px;
        padding: 27px 20px;
    }

    .sg-case-highlight strong {
        font-size: 27px;
    }

    .sg-case-section {
        padding: 74px 0;
    }

    .sg-case-eyebrow {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .sg-case-section-heading h2,
    .sg-case-heading-center h2,
    .sg-case-seo-content h2,
    .sg-case-result h2 {
        font-size: clamp(33px, 9vw, 41px);
        line-height: 1.17;
    }

    .sg-case-section-heading > p,
    .sg-case-heading-center > p,
    .sg-case-section-copy p,
    .sg-case-result p {
        font-size: 16px;
    }

    .sg-case-heading-center {
        margin-bottom: 44px;
    }

    .sg-case-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sg-case-service-card {
        min-height: auto;
        padding: 33px 28px;
    }

    .sg-case-number {
        margin-bottom: 34px;
    }

    .sg-case-check-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 16px;
    }

    .sg-case-check-item h3 {
        font-size: 18px;
    }

    .sg-case-seo-grid {
        gap: 48px;
    }

    .sg-case-seo-content p {
        font-size: 16px;
    }

    .sg-case-seo-list > div {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
    }

    .sg-case-credits {
        padding-bottom: 74px;
    }

    .sg-case-credits-box {
        gap: 36px;
        padding: 35px 25px;
    }

    .sg-case-credits-logo {
        padding-bottom: 35px;
    }

    .sg-case-credits-content h2 {
        font-size: 36px;
    }

    .sg-case-credits-content p {
        font-size: 16px;
    }

    .sg-case-faq summary {
        padding: 24px 58px 24px 22px;
        font-size: 16px;
    }

    .sg-case-faq summary::after {
        right: 22px;
    }

    .sg-case-faq details p {
        padding: 0 22px 25px;
        font-size: 15px;
    }

}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 480px) {

    .sg-case-hero-content h1 br {
        display: none;
    }

    .sg-case-highlights-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sg-case-highlight {
        border-right: 0;
        border-bottom: 1px solid var(--sg-border);
    }

    .sg-case-highlight:nth-child(2) {
        border-right: 0;
    }

    .sg-case-highlight:last-child {
        border-bottom: 0;
    }

    .sg-case-hero-card {
        padding: 26px 22px;
    }

    .sg-case-service-card {
        padding: 30px 24px;
    }

    .sg-case-check-item {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 13px;
    }

    .sg-case-check-item > span {
        width: 30px;
        height: 30px;
    }

    .sg-case-credits-box {
        padding: 30px 21px;
    }

}


/* =========================================================
   ACCESSIBILITÀ E ANIMAZIONI
   ========================================================= */

.sg-case-history a:focus-visible,
.sg-case-history summary:focus-visible {
    outline: 3px solid rgba(105, 112, 74, 0.45);
    outline-offset: 4px;
}

.sg-case-hero a:focus-visible,
.sg-case-seo-section a:focus-visible {
    outline-color: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {

    .sg-case-history *,
    .sg-case-history *::before,
    .sg-case-history *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}