/* =========================================================
   CASA DI LILLY
   BLOG SYSTEM
   SELF-CONTAINED ARTICLE STYLES
========================================================= */

:root {

    --primary: #0A2E73;
    --secondary: #00AEEF;
    --accent: #2563EB;

    --dark: #081B33;
    --text: #243B53;
    --muted: #64748B;

    --white: #FFFFFF;
    --light: #F8FAFC;

    --border: rgba(10,46,115,.10);

    --shadow:
        0 20px 60px rgba(8,27,51,.08);

    --shadow-large:
        0 30px 80px rgba(8,27,51,.12);

    --radius:
        22px;

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    font-family:
        'Inter',
        Arial,
        sans-serif;

    color:
        var(--text);

    line-height:
        1.7;

    background:

        radial-gradient(
            circle at 8% 5%,
            rgba(0,174,239,.09),
            transparent 28%
        ),

        radial-gradient(
            circle at 92% 25%,
            rgba(37,99,235,.07),
            transparent 30%
        ),

        linear-gradient(
            180deg,
            #F8FBFF 0%,
            #FFFFFF 45%,
            #F8FBFF 100%
        );

    overflow-x:
        hidden;

}


body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(37,99,235,.025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(37,99,235,.025) 1px,
            transparent 1px
        );

    background-size:
        80px 80px;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.5),
            transparent 80%
        );

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.5),
            transparent 80%
        );

    z-index:
        -1;

}


img {

    display:
        block;

    max-width:
        100%;

}


a {

    color:
        inherit;

    text-decoration:
        none;

}


button,
input,
textarea,
select {

    font:
        inherit;

}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {

    margin:
        0;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    color:
        var(--dark);

    line-height:
        1.15;

}


/* =========================================================
   CONTAINER
========================================================= */

.container {

    width:
        min(
            1200px,
            92%
        );

    margin:
        0 auto;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position:
        sticky;

    top:
        0;

    left:
        0;

    width:
        100%;

    z-index:
        9999;

    background:
        rgba(255,255,255,.92);

    border-bottom:
        1px solid
        rgba(10,46,115,.07);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

}


.navbar .container {

    min-height:
        76px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

}


.navbar .logo {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    color:
        var(--primary);

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    font-size:
        1.35rem;

    font-weight:
        700;

    text-decoration:
        none;

}


.navbar nav {

    display:
        flex;

    align-items:
        center;

    gap:
        28px;

}


.navbar nav a {

    color:
        var(--text);

    font-family:
        'Inter',
        Arial,
        sans-serif;

    font-size:
        .9rem;

    font-weight:
        500;

    text-decoration:
        none;

    transition:
        color .25s ease;

}


.navbar nav a:hover {

    color:
        var(--secondary);

}


.navbar .btn {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        13px 22px;

    border-radius:
        999px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );

    color:
        #FFFFFF;

    font-family:
        'Inter',
        Arial,
        sans-serif;

    font-size:
        .88rem;

    font-weight:
        600;

    text-decoration:
        none;

    box-shadow:
        0 10px 28px
        rgba(37,99,235,.20);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.navbar .btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 35px
        rgba(37,99,235,.30);

}


/* =========================================================
   ARTICLE HERO
========================================================= */

.article-hero {

    position:
        relative;

    padding:
        100px 0 70px;

    text-align:
        center;

    overflow:
        hidden;

}


.article-hero::before {

    content:
        "";

    position:
        absolute;

    width:
        700px;

    height:
        700px;

    top:
        -430px;

    left:
        50%;

    transform:
        translateX(-50%);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(0,174,239,.15),
            transparent 70%
        );

    pointer-events:
        none;

}


.article-category {

    position:
        relative;

    z-index:
        2;

    display:
        inline-flex;

    align-items:
        center;

    padding:
        8px 16px;

    margin-bottom:
        22px;

    border:
        1px solid
        rgba(0,174,239,.22);

    border-radius:
        999px;

    background:
        rgba(0,174,239,.06);

    color:
        var(--secondary);

    font-size:
        .72rem;

    font-weight:
        800;

    letter-spacing:
        .1em;

}


.article-hero h1 {

    position:
        relative;

    z-index:
        2;

    max-width:
        950px;

    margin:
        0 auto 24px;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    font-size:
        clamp(
            2.5rem,
            5.5vw,
            4.8rem
        );

    line-height:
        1.05;

    letter-spacing:
        -.04em;

}


.article-intro {

    position:
        relative;

    z-index:
        2;

    max-width:
        760px;

    margin:
        0 auto 25px;

    color:
        var(--muted);

    font-size:
        1.1rem;

    line-height:
        1.8;

}


.article-meta {

    position:
        relative;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-wrap:
        wrap;

    gap:
        10px;

    color:
        #7A8BA3;

    font-size:
        .82rem;

}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.article-featured-image {

    padding:
        10px 0 90px;

}


.article-featured-image img {

    width:
        100%;

    height:
        540px;

    object-fit:
        cover;

    border-radius:
        28px;

    border:
        1px solid
        rgba(10,46,115,.08);

    box-shadow:
        var(--shadow-large);

}


/* =========================================================
   ARTICLE MAIN AREA
========================================================= */

.article-content {

    padding:
        10px 0 110px;

}


.article-layout {

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        260px;

    gap:
        60px;

    align-items:
        start;

}


/* =========================================================
   ARTICLE BODY
========================================================= */

.article-content article {

    width:
        100%;

    min-width:
        0;

}


.article-content p {

    margin:
        0 0 20px;

    color:
        var(--text);

    font-size:
        1rem;

    line-height:
        1.85;

}


.article-content .article-lead {

    font-size:
        1.17rem;

    color:
        var(--dark);

}


.article-content h2 {

    margin:
        0 0 20px;

    font-size:
        clamp(
            1.85rem,
            3vw,
            2.55rem
        );

    line-height:
        1.18;

}


.article-content h3 {

    margin:
        30px 0 12px;

    font-size:
        1.2rem;

}


.article-content strong {

    color:
        var(--dark);

}


/* =========================================================
   ALTERNATING SECTIONS
========================================================= */

.article-split {

    width:
        100%;

    display:
        grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(0,1fr);

    gap:
        55px;

    align-items:
        center;

    margin-bottom:
        105px;

}


/* CRITICAL:
   .reverse switches the columns
*/

.article-split.reverse
.article-split-content {

    order:
        2;

}


.article-split.reverse
.article-split-image {

    order:
        1;

}


/* =========================================================
   TEXT SIDE
========================================================= */

.article-split-content {

    width:
        100%;

}


.article-split-content .section-label {

    display:
        inline-block;

    margin-bottom:
        14px;

    color:
        var(--secondary);

    font-size:
        .72rem;

    font-weight:
        800;

    letter-spacing:
        .12em;

}


/* =========================================================
   IMAGE SIDE
========================================================= */

.article-split-image {

    position:
        relative;

    width:
        100%;

}


.article-split-image::before {

    content:
        "";

    position:
        absolute;

    width:
        120px;

    height:
        120px;

    top:
        -20px;

    right:
        -20px;

    border-radius:
        50%;

    background:
        rgba(0,174,239,.09);

    z-index:
        -1;

}


.article-split.reverse
.article-split-image::before {

    right:
        auto;

    left:
        -20px;

}


.article-split-image img {

    display:
        block;

    width:
        100%;

    height:
        410px;

    object-fit:
        cover;

    border-radius:
        25px;

    border:
        1px solid
        rgba(10,46,115,.08);

    box-shadow:
        var(--shadow);

    transition:
        transform .45s ease,
        box-shadow .45s ease;

}


.article-split-image:hover img {

    transform:
        translateY(-5px);

    box-shadow:
        0 30px 75px
        rgba(8,27,51,.13);

}


/* =========================================================
   HIGHLIGHT
========================================================= */

.article-highlight {

    margin:
        28px 0;

    padding:
        25px 28px;

    border:
        1px solid
        rgba(0,174,239,.15);

    border-left:
        4px solid
        var(--secondary);

    border-radius:
        0 18px 18px 0;

    background:
        linear-gradient(
            135deg,
            rgba(0,174,239,.07),
            rgba(10,46,115,.04)
        );

}


.article-highlight strong {

    display:
        block;

    margin-bottom:
        6px;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

}


.article-highlight p {

    margin:
        0;

}


/* =========================================================
   WEBSITE TYPE VISUAL
========================================================= */

.website-types-visual {

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    gap:
        14px;

    min-height:
        410px;

    padding:
        25px;

    border-radius:
        28px;

    background:
        linear-gradient(
            145deg,
            #081B33,
            #0A2E73
        );

    box-shadow:
        var(--shadow-large);

}


.website-type-card {

    padding:
        20px;

    border:
        1px solid
        rgba(255,255,255,.11);

    border-radius:
        16px;

    background:
        rgba(255,255,255,.07);

}


.website-type-card.featured {

    border-color:
        rgba(0,174,239,.5);

    background:
        rgba(0,174,239,.12);

}


.website-type-card span {

    display:
        block;

    margin-bottom:
        7px;

    color:
        #66D8FF;

    font-size:
        .68rem;

    font-weight:
        800;

}


.website-type-card strong {

    display:
        block;

    color:
        #FFFFFF;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

}


.website-type-card small {

    color:
        rgba(255,255,255,.65);

    font-size:
        .75rem;

}


/* =========================================================
   FEATURE LIST
========================================================= */

.feature-list {

    display:
        grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        14px;

    margin:
        25px 0;

}


.feature-list > div {

    padding:
        20px;

    border:
        1px solid
        var(--border);

    border-radius:
        16px;

    background:
        rgba(255,255,255,.8);

    box-shadow:
        0 10px 30px
        rgba(8,27,51,.035);

}


.feature-list strong {

    display:
        block;

    margin-bottom:
        5px;

}


.feature-list p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        .84rem;

}


/* =========================================================
   CASA DI LILLY SECTION
========================================================= */

.casa-article-section {

    margin:
        40px 0 100px;

    padding:
        60px;

    border:
        1px solid
        rgba(0,174,239,.12);

    border-radius:
        30px;

    background:

        radial-gradient(
            circle at top right,
            rgba(0,174,239,.12),
            transparent 35%
        ),

        linear-gradient(
            145deg,
            #F8FBFF,
            #FFFFFF
        );

    box-shadow:
        var(--shadow);

}


.casa-article-section h2 {

    max-width:
        760px;

    font-size:
        clamp(
            1.9rem,
            3vw,
            2.7rem
        );

    margin-bottom:
        20px;

}


.casa-services-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        15px;

    margin-top:
        35px;

}


.casa-service {

    padding:
        23px;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    background:
        rgba(255,255,255,.85);

}


.service-number {

    display:
        block;

    margin-bottom:
        8px;

    color:
        var(--secondary);

    font-size:
        .7rem;

    font-weight:
        800;

    letter-spacing:
        .1em;

}


.casa-service h3 {

    margin:
        0 0 7px;

    font-size:
        1rem;

}


.casa-service p {

    margin:
        0;

    color:
        var(--muted);

    font-size:
        .85rem;

}


/* =========================================================
   GEO / LOCAL SECTION
========================================================= */

.local-growth-section {

    display:
        grid;

    grid-template-columns:
        minmax(0,1fr)
        260px;

    gap:
        40px;

    align-items:
        center;

    margin-bottom:
        100px;

    padding:
        45px;

    border-radius:
        27px;

    background:
        linear-gradient(
            135deg,
            #081B33,
            #0A2E73
        );

    box-shadow:
        var(--shadow-large);

}


.local-growth-content h2 {

    margin-bottom:
        18px;

    color:
        #FFFFFF;

    font-size:
        clamp(
            1.8rem,
            3vw,
            2.5rem
        );

}


.local-growth-content p {

    color:
        rgba(255,255,255,.72);

}


.local-growth-stat {

    min-height:
        210px;

    display:
        flex;

    flex-direction:
        column;

    justify-content:
        center;

    padding:
        25px;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius:
        20px;

    background:
        rgba(255,255,255,.06);

}


.local-growth-stat span {

    margin-bottom:
        10px;

    color:
        #66D8FF;

    font-size:
        .68rem;

    font-weight:
        800;

    letter-spacing:
        .1em;

}


.local-growth-stat strong {

    color:
        #FFFFFF;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    font-size:
        1.4rem;

    line-height:
        1.3;

}


/* =========================================================
   FAQ
========================================================= */

.article-faq {

    margin-bottom:
        100px;

}


.article-faq h2 {

    max-width:
        760px;

    margin-bottom:
        30px;

}


.article-faq details {

    margin-bottom:
        10px;

    border:
        1px solid
        var(--border);

    border-radius:
        16px;

    background:
        rgba(255,255,255,.85);

    overflow:
        hidden;

}


.article-faq summary {

    padding:
        20px 23px;

    cursor:
        pointer;

    list-style:
        none;

    font-family:
        'Poppins',
        Arial,
        sans-serif;

    font-size:
        .94rem;

    font-weight:
        600;

    color:
        var(--dark);

}


.article-faq summary::-webkit-details-marker {

    display:
        none;

}


.article-faq summary::after {

    content:
        "+";

    float:
        right;

    color:
        var(--secondary);

    font-size:
        1.2rem;

}


.article-faq details[open]
summary::after {

    content:
        "−";

}


.article-faq details p {

    margin:
        0;

    padding:
        0 23px 22px;

    color:
        var(--muted);

    font-size:
        .9rem;

}


/* =========================================================
   CTA
========================================================= */

.article-cta {

    position:
        relative;

    overflow:
        hidden;

    margin-bottom:
        90px;

    padding:
        60px;

    border-radius:
        30px;

    background:
        radial-gradient(
            circle at top right,
            rgba(0,174,239,.20),
            transparent 36%
        ),

        linear-gradient(
            135deg,
            #081B33,
            #0A2E73
        );

    box-shadow:
        var(--shadow-large);

}


.article-cta h2 {

    max-width:
        750px;

    margin-bottom:
        17px;

    color:
        #FFFFFF;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

}


.article-cta p {

    max-width:
        700px;

    color:
        rgba(255,255,255,.72);

}


.article-cta .section-label {

    color:
        #66D8FF;

}


.article-cta .btn {

    display:
        inline-flex;

    margin-top:
        10px;

    padding:
        13px 23px;

    border-radius:
        999px;

    background:
        #FFFFFF;

    color:
        var(--primary);

    font-weight:
        700;

}


/* =========================================================
   RELATED INSIGHTS
========================================================= */

.related-insights {

    margin-bottom:
        20px;

}


.related-insights h2 {

    margin-bottom:
        25px;

}


.related-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        16px;

}


.related-card {

    display:
        block;

    padding:
        28px;

    border:
        1px solid
        var(--border);

    border-radius:
        20px;

    background:
        #FFFFFF;

    box-shadow:
        0 12px 35px
        rgba(8,27,51,.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.related-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(0,174,239,.25);

    box-shadow:
        var(--shadow);

}


.related-card span {

    color:
        var(--secondary);

    font-size:
        .68rem;

    font-weight:
        800;

    letter-spacing:
        .1em;

}


.related-card h3 {

    margin:
        10px 0;

    font-size:
        1.12rem;

}


.related-card p {

    margin-bottom:
        13px;

    color:
        var(--muted);

    font-size:
        .84rem;

}


.related-card strong {

    color:
        var(--primary);

    font-size:
        .85rem;

}


/* =========================================================
   SIDEBAR
========================================================= */

.article-sidebar {

    position:
        sticky;

    top:
        100px;

}


.sidebar-card {

    margin-bottom:
        18px;

    padding:
        23px;

    border:
        1px solid
        var(--border);

    border-radius:
        18px;

    background:
        rgba(255,255,255,.88);

    box-shadow:
        0 12px 35px
        rgba(8,27,51,.05);

}


.sidebar-card h3 {

    margin-bottom:
        12px;

    font-size:
        1rem;

}


.sidebar-card a:not(.btn) {

    display:
        block;

    padding:
        10px 0;

    border-bottom:
        1px solid
        rgba(8,27,51,.06);

    color:
        var(--muted);

    font-size:
        .82rem;

    text-decoration:
        none;

}


.sidebar-card a:not(.btn):hover {

    color:
        var(--secondary);

}


.sidebar-cta {

    background:
        linear-gradient(
            145deg,
            #081B33,
            #0A2E73
        );

}


.sidebar-cta h3 {

    color:
        #FFFFFF;

}


.sidebar-cta p {

    color:
        rgba(255,255,255,.70);

    font-size:
        .84rem;

}


.sidebar-cta .btn {

    background:
        #FFFFFF;

    color:
        var(--primary);

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background:
        #061A32;

    padding:
        35px 0;

}


footer .container {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

}


footer p {

    margin:
        0;

    color:
        rgba(255,255,255,.60);

    font-size:
        .82rem;

}


footer a {

    color:
        #FFFFFF;

    text-decoration:
        none;

    font-weight:
        600;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .navbar nav {

        gap:
            16px;

    }


    .navbar nav a {

        font-size:
            .82rem;

    }


    .article-layout {

        grid-template-columns:
            minmax(0,1fr);

    }


    .article-sidebar {

        position:
            static;

        display:
            grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:
            15px;

    }


    .sidebar-card {

        margin:
            0;

    }


    .article-split {

        gap:
            35px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .navbar .container {

        min-height:
            68px;

    }


    .navbar nav {

        display:
            none;

    }


    .navbar .btn {

        padding:
            10px 15px;

        font-size:
            .75rem;

    }


    .article-hero {

        padding:
            75px 0 55px;

    }


    .article-hero h1 {

        font-size:
            clamp(
                2rem,
                10vw,
                3.2rem
            );

    }


    .article-intro {

        font-size:
            .98rem;

    }


    .article-featured-image {

        padding-bottom:
            55px;

    }


    .article-featured-image img {

        height:
            320px;

        border-radius:
            20px;

    }


    /* 
       MOBILE:
       The alternating layout becomes
       a readable vertical article.
    */

    .article-split,
    .article-split.reverse {

        display:
            flex;

        flex-direction:
            column;

        gap:
            26px;

        margin-bottom:
            70px;

    }


    .article-split-content {

        order:
            1 !important;

    }


    .article-split-image {

        order:
            2 !important;

    }


    .article-split-image img {

        height:
            290px;

        border-radius:
            20px;

    }


    .feature-list {

        grid-template-columns:
            1fr;

    }


    .casa-article-section {

        padding:
            38px 25px;

        border-radius:
            22px;

    }


    .casa-services-grid {

        grid-template-columns:
            1fr;

    }


    .local-growth-section {

        grid-template-columns:
            1fr;

        padding:
            35px 25px;

    }


    .article-cta {

        padding:
            40px 25px;

        border-radius:
            22px;

    }


    .related-grid {

        grid-template-columns:
            1fr;

    }


    .article-sidebar {

        display:
            grid;

        grid-template-columns:
            1fr;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {

        width:
            92%;

    }


    .navbar .logo {

        font-size:
            1.05rem;

    }


    .article-featured-image img {

        height:
            250px;

    }


    .article-split-image img {

        height:
            245px;

    }


    .article-content p {

        font-size:
            .95rem;

    }


    .article-content .article-lead {

        font-size:
            1.05rem;

    }


    .website-types-visual {

        min-height:
            330px;

        padding:
            18px;

        border-radius:
            20px;

    }


    .casa-article-section {

        padding:
            30px 20px;

    }


    .local-growth-section {

        padding:
            30px 20px;

    }


    .article-cta {

        padding:
            32px 20px;

    }


    footer .container {

        flex-direction:
            column;

        text-align:
            center;

    }

}