/*******************************************************

    polo.gr POLO DNA page (inc/functions/polo-dna.php): artwork + four
    values, the steps as a chain. Header, links and
    page frame: css/polo.page.css.

 *******************************************************/



    .polo-dna-page .polo-dna__heading {
        margin: 0 0 20px;
        color: var( --polo-black );
        font-family: var( --polo-font-gotham );
        font-size: clamp( 22px, 2vw, 28px );
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.2;
        text-align: left;
        text-transform: none;
    }



    /* Artwork + values */

    .polo-dna__hero {
        display: grid;
        grid-template-columns: minmax( 0, 5fr ) minmax( 0, 7fr );
        gap: clamp( 28px, 5vw, 80px );
        align-items: center;
        padding: clamp( 24px, 5vw, 72px );
        border-radius: 8px;
        background-color: var( --polo-page-soft );
    }

    .polo-dna-page .polo-dna__art {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 6px;
        box-shadow: 0 12px 32px -14px rgba( 16, 18, 18, 0.4 );
    }

    .polo-dna-page .polo-dna__values {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .polo-dna__value {
        display: grid;
        grid-template-columns: 56px minmax( 0, 1fr );
        column-gap: 8px;
        margin: 0;
        padding: 22px 0;
        border-top: 1px solid rgba( 16, 18, 18, 0.18 );
    }

    .polo-dna__value:first-child {
        border-top: 0;
    }

    .polo-dna__number {
        grid-row: 1 / span 2;
        color: var( --polo-red );
        font-family: var( --polo-font-zona );
        font-size: 22px;
        font-weight: 800;
        line-height: 1.3;
    }

    .polo-dna-page .polo-dna__value h2 {
        margin: 0 0 8px;
        color: var( --polo-black );
        font-family: var( --polo-font-zona );
        font-size: clamp( 24px, 2.4vw, 34px );
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.1;
        text-align: left;
        text-transform: uppercase;
    }

    .polo-dna-page .polo-dna__value p {
        margin: 0;
        color: #2b2f33;
        font-size: 16px;
        line-height: 1.65;
    }



    /* Steps */

    .polo-dna__steps {
        margin-top: clamp( 48px, 6vw, 88px );
    }

    .polo-dna-page .polo-dna__chain {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 0;
        margin: 0;
        padding: 0;
        list-style: none;
        counter-reset: polo-dna;
    }

    .polo-dna__chain li {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 12px 18px;
        border-radius: 999px;
        background-color: var( --polo-page-soft );
        color: var( --polo-black );
        font-family: var( --polo-font-gotham );
        font-size: 15px;
        font-weight: 700;
        counter-increment: polo-dna;
    }

    .polo-dna__chain li::before {
        margin-right: 8px;
        color: var( --polo-grey );
        font-family: var( --polo-font-zona );
        font-size: 13px;
        font-weight: 800;
        content: counter( polo-dna );
    }

    .polo-dna__chain li + li {
        position: relative;
        margin-left: 30px;
    }

    .polo-dna__chain li + li::after {
        position: absolute;
        top: 50%;
        left: -24px;
        width: 18px;
        height: 2px;
        background-color: var( --polo-red );
        content: "";
    }

    .polo-dna__chain li:last-child {
        background-color: var( --polo-black );
        color: var( --polo-white );
    }

    .polo-dna__chain li:last-child::before {
        color: #9a9ea2;
    }



    .polo-dna__more {
        margin-top: clamp( 48px, 6vw, 88px );
    }

    .polo-dna-page .polo-dna__more .polo-page-links {
        margin-top: 0;
    }



    @media ( max-width: 900px ) {

        .polo-dna__hero {
            grid-template-columns: minmax( 0, 1fr );
        }

        .polo-dna-page .polo-dna__art {
            max-width: 360px;
            margin: 0 auto;
        }

    }

    /* Phones: the chain goes down, one step per line. */
    @media ( max-width: 600px ) {

        .polo-dna-page .polo-dna__chain {
            flex-direction: column;
            align-items: flex-start;
            gap: 18px;
        }

        .polo-dna__chain li + li {
            margin-left: 0;
        }

        .polo-dna__chain li + li::after {
            top: -14px;
            left: 28px;
            width: 2px;
            height: 10px;
        }

    }
