/* CV page specific styles - minimal, clean design */

/* CV Header */
/* .cv-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
} */

.cv-header {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cv-header-left {
    flex: 1;
}

.cv-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.cv-date {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.cv-actions {
    display: flex;
    align-items: flex-start;
    margin-top: 35px;
}

.view-resume-btn {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.view-resume-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Contact information - minimal style */
.contact-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 40px;
    border-left: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 25px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 1rem;
}

.contact-item {
    color: #666;
    line-height: 1.4;
}

.contact-item strong {
    color: #333;
    font-weight: 500;
    margin-right: 8px;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* CV sections - clean, minimal style */
.cv-section {
    margin-bottom: 50px;
}

.cv-section:last-child {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

/* Experience/Education items - two-column layout */
.cv-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    margin-bottom: 25px;
    align-items: start;
}

.cv-item:last-child {
    margin-bottom: 0;
}

.cv-date-range {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
    text-align: left;
    padding-top: 2px;
}

.cv-content {
    min-height: 0; /* Prevents grid issues */
}

.cv-title-line {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cv-subtitle {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.cv-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.cv-description ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

.cv-description li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Skills section - different layout */
.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.skill-category {
    margin-bottom: 0;
}

.skill-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.skill-list {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Publications - special styling */
.publication-item {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border-left: none;
    margin-bottom: 20px;
}

.publication-item:last-child {
    margin-bottom: 0;
}

.publication-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
}

.publication-authors {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 4px;
}

.publication-venue {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Objective section */
.objective-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Remove page header styling for CV */
.page-header {
    display: none;
}

/* Download section */
.download-section {
    text-align: left;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cv-title {
        font-size: 2.2rem;
    }
    
    .cv-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .cv-date-range {
        font-size: 0.9rem;
        color: #888;
        margin-bottom: 8px;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 12px;
    }
    
    .skills-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 512px) {
    .cv-title {
        font-size: 1.8rem;
    }
    
    .contact-details {
        gap: 8px;
    }
}