/* ============================================================
   CV — Base Layout & Typography
============================================================ */

#cv {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    line-height: 1.6;
    color: #fff;
}

/* Intro paragraph (desktop only; overridden on mobile) */
#cv .cv-intro {
    max-width: 55rem;
    margin-bottom: 1rem;
}

/* Title */
#cv h2.major {
    margin-bottom: 0.75rem;
    text-align: left;
}

/* Section headers */
#cv h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Paragraph + list spacing */
#cv ul,
#cv p {
    margin-bottom: 1.25rem;
}

#cv li {
    margin-bottom: 0.35rem;
}

/* Soft divider line */
.cv-section-separator {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 1.75rem 0;
}


/* ============================================================
   TWO COLUMN DESKTOP GRID (≥1025px)
============================================================ */

.cv-columns {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 1025px) {

    .cv-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        position: relative;
        padding: 0 1rem;
    }

    /* Vertical divider */
    .cv-columns::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 0;
        width: 1px;
        height: 100%;
        background: rgba(255,255,255,0.08);
    }

    .cv-col {
        padding: 0 1rem;
    }
}


/* ============================================================
   MOBILE + TABLET (≤1024px)
   — ONE COLUMN, FULL WIDTH INCLUDING INTRO
============================================================ */

@media screen and (max-width: 1024px) {

    #cv {
        max-width: 100%;
        width: 100%;
        padding: 1rem 0.75rem;
    }

    /* Intro paragraph should become full width */
    #cv .cv-intro {
        max-width: 100% !important;
    }

    /* Full-width columns */
    .cv-columns,
    .cv-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Remove desktop vertical divider */
    .cv-columns::after {
        display: none !important;
    }
}


/* ============================================================
   DOWNLOAD BUTTON
============================================================ */

.cv-download-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.cv-download-wrapper .button {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-download-wrapper .button:hover {
    transform: translateY(-0.15rem);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
