
/* CV */
.cv{
    width:950px;
    max-width: 100%;
    background:#fff;
    display:flex;
    min-width: 0;
    box-shadow:0 0 20px rgba(0,0,0,.15);
}

.left{
    width:33%;
    background:#e4846f;
    color:white;
    padding:35px 25px;
    min-width: 0;
}

.photo{
    width:150px;
    height:150px;
    border-radius:50%;
    overflow:hidden;
    border:6px solid white;
    margin:0 auto 30px;
    background:#fff;
}

.photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.left h3{
    font-size:15px;
    margin-top:25px;
    display:flex;
    align-items:center;
}

.left h3::after{
    content:"";
    flex:1;
    height:1px;
    background:rgba(255,255,255,.7);
    margin-left:10px;
}

.left ul{ padding-left:18px; }

.right{
    width:67%;
    padding:45px;
    min-width: 0;
}

.right h1{font-size:34px;margin:0;}
.right h2{font-size:16px;color:#666;margin-top:5px;}

.section{margin-top:35px;}

.section-title{
    font-size:15px;
    font-weight:bold;
    display:flex;
    align-items:center;
}

.section-title::after{
    content:"";
    flex:1;
    height:2px;
    background:#e4846f;
    margin-left:10px;
}
.experience-education li.date {
    color: #555;          /* dark gray */
    margin: 10px 0 4px 0; /* top bigger, bottom smaller */
    list-style: none;     /* remove bullet */
}
/* =========================
   TABLET (≤ 992px)
========================= */
@media (max-width: 992px) {

    /* CV */
    .cv {
        width: 100%;
        flex-direction: column;
    }

    .left, .right {
        width: 100%;
    }

    .right {
        padding: 30px;
    }

    /* Page layout */
    .page-wrapper {
        margin: 140px auto;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .balance-card {
        align-self: flex-start;
    }

    /* Grid */
    .theme-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 24px;
    }

    .preview-wrapper img {
        height: 300px;
    }
}


/* =========================
   MOBILE (≤ 768px)
========================= */
@media (max-width: 768px) {

    /* CV */
    .cv {
        box-shadow: none;
    }

    .left {
        padding: 25px 20px;
        text-align: center;
    }

    .right {
        padding: 25px 20px;
    }

    .photo {
        width: 120px;
        height: 120px;
    }

    .right h1 {
        font-size: 26px;
    }

    /* Header */
    .title-area h2 {
        font-size: 22px;
    }

    .title-area p {
        font-size: 14px;
    }

    /* Cards */
    .card-footer {
        padding: 18px;
    }

    .card-info h4 {
        font-size: 16px;
    }

    .preview-wrapper img {
        height: 250px;
    }

    .btn-main {
        padding: 10px;
        font-size: 14px;
    }
}


/* =========================
   SMALL MOBILE (≤ 480px)
========================= */
@media (max-width: 480px) {

    /* Page spacing */
    .page-wrapper {
        margin: 120px auto;
        padding: 0 10px;
    }

    /* Grid becomes 1 column */
    .theme-grid {
        grid-template-columns: 1fr;
    }

    /* CV */
    .photo {
        width: 100px;
        height: 100px;
    }

    .right h1 {
        font-size: 22px;
    }

    .right h2 {
        font-size: 14px;
    }

    .section-title {
        font-size: 14px;
    }

    .preview-wrapper img {
        height: 200px;
    }
}
