@media (max-width: 480px) {
    main .container {
        padding: 0;
    }
}
a {
    text-decoration: underline !important;
}
.navigation a {
    text-decoration: none !important;
}

.cv-body main.cv-page {
    padding-top: 2.5rem;
}

.cv-body header .container {
    margin-bottom: 2rem;
}

.cv-page .cv-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

html.light-theme .cv-page .cv-content {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.1);
}

.cv-download-wrap {
    margin-bottom: 2rem;
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #079e7b;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(7, 158, 123, 0.35);
    text-decoration: none !important;
}

.cv-download-btn:hover {
    background: #06b38a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7, 158, 123, 0.4);
}

.cv-download-btn:focus {
    outline: 2px solid #079e7b;
    outline-offset: 2px;
}

html.light-theme .cv-download-btn {
    color: #fff;
}

.cv-download-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.cv-page .cv-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html.light-theme .cv-page .cv-hero {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

.cv-page .cv-photo {
    flex-shrink: 0;
}

.cv-page .cv-photo img {
    width: 200px;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cv-page .cv-meta {
    flex: 1;
    min-width: 200px;
}

.cv-page .cv-meta h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: #079e7b;
}

.cv-page .cv-meta p {
    margin: 0.4em 0;
    line-height: 1.5;
}

.cv-page .cv-meta a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cv-page .cv-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cv-page .cv-section:last-of-type {
    margin-bottom: 0;
}

html.light-theme .cv-page .cv-section {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.cv-page .cv-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #079e7b;
}

html.light-theme .cv-page .cv-section h2 {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

.cv-page .cv-section ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.cv-page .cv-section li {
    margin: 0.45em 0;
    line-height: 1.5;
}

.cv-page .cv-job {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

html.light-theme .cv-page .cv-job {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.cv-page .cv-job:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cv-page .cv-job-title {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.35em;
    color: #079e7b;
}

.cv-page .cv-job-meta {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 0.4em;
}

.cv-page .cv-job-stack {
    font-size: 1.05rem;
    margin-bottom: 0.5em;
}

.cv-page .cv-job-stack a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cv-page .cv-job > p {
    font-size: 1.05rem;
    margin: 0.4em 0;
}

.cv-page .cv-job ul {
    margin-top: 0.5em;
    font-size: 0.92em;
}

.cv-page .cv-intro {
    margin-bottom: 1.5rem;
}

.cv-page .cv-intro p:first-of-type strong {
    display: block;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.35em;
    color: #079e7b;
}

.cv-page .cv-intro p {
    margin: 0.5em 0;
    line-height: 1.6;
}

.cv-page .cv-links {
    margin: 0.75em 0 0;
}

.cv-page .cv-cta {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.05rem;
}

.cv-page .cv-section ul ul {
    margin-top: 0.35em;
    margin-bottom: 0.5em;
    padding-left: 1.5rem;
    list-style: circle;
}

@media (max-width: 600px) {
    .cv-page .cv-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cv-page .cv-photo img {
        width: 100%;
        height: auto;
    }

    .cv-page .cv-content,
    .cv-page .cv-section,
    .cv-page .cv-hero {
        padding: 0.5rem;
    }
}