/* Experience Page Specific Styles */

.page-hero {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.download-cv-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--black);
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-weight: 500;
}

.download-cv-btn:hover {
    background-color: var(--black);
    color: var(--white);
}

/* CV Sections */
.cv-section {
    margin-bottom: 6rem;
}

.cv-section:last-child {
    margin-bottom: 4rem;
}

/* Compact sections - for Education, Teaching, Publications, Service, Professional Development */
.cv-section.compact {
    margin-bottom: 4rem;
}

.cv-section.compact .cv-item {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

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

.cv-section.compact .publication-item {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--black);
    padding-bottom: 1rem;
}

/* CV Items */
.cv-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--light-gray);
}

.cv-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.cv-position {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cv-organization {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.cv-organization-sub {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    font-style: italic;
}

.cv-year {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    white-space: nowrap;
    flex-shrink: 0;
}

.cv-detail {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

/* CV Highlights */
.cv-highlights {
    list-style: none;
    margin-top: 1rem;
}

.cv-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
    line-height: 1.7;
}

.cv-highlights li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--black);
}

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

/* Publications */
.publication-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.publication-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.publication-text {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.publication-text strong {
    color: var(--black);
    font-weight: 600;
}

.publication-text em {
    font-style: italic;
}

/* Responsive Design for Experience Page */
@media (max-width: 768px) {
    .hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .download-cv-btn {
        align-self: stretch;
        text-align: center;
    }
    
    .cv-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cv-year {
        align-self: flex-start;
    }
    
    .cv-section {
        margin-bottom: 4rem;
    }
}
