/**
 * Profile Detail Page Styles (pro-defence-theme)
 * Clean BEM architecture matching Figma 05.2 Kompetenceprofiler (Node ID: 40:34 / 46:4)
 */

/* ==========================================================================
   Sektion 1: Hero & Profil-header (Node ID: 46:17)
   Background: Hvid (#ffffff)
   ========================================================================== */
.profile-hero {
    background-color: #ffffff;
    padding-top: 32px;
    padding-bottom: 64px;
}

.profile-hero__back-wrapper {
    margin-bottom: 32px;
}

.profile-hero__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-teal-500, #00a0a2);
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-hero__back-link:hover,
.profile-hero__back-link:focus-visible {
    color: #00898b;
    text-decoration: underline;
}

.profile-hero__back-arrow {
    font-size: 1rem;
}

.profile-hero__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 64px;
    align-items: start;
}

@media (max-width: 991px) {
    .profile-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.profile-hero__eyebrow::before {
    content: "// ";
}

.profile-hero__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    line-height: 1.2;
    margin-bottom: 20px;
}

.profile-hero__profile-card {
    width: 100%;
    max-width: 30rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.05);
}

.profile-hero__profile-card .profile-hero__badges {
    margin-bottom: 0;
}

.profile-hero__profile-card + .profile-hero__actions {
    margin-top: 2rem;
}

.profile-hero__description {
    font-size: 1.125rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 720px;
}

.profile-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.profile-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 4px;
    display: inline-block;
}

.profile-badge--dark {
    background-color: #16253c;
    color: #ffffff;
}

.profile-badge--light {
    background-color: var(--color-bg-light, #eef3fa);
    color: var(--color-navy-900, #0f1c2e);
}

.profile-hero__actions {
    display: flex;
    gap: 16px;
}

.profile-hero__actions .button--outline {
    border: 1.5px solid var(--color-navy-900, #0f1c2e);
    color: var(--color-navy-900, #0f1c2e);
    background-color: transparent;
}

.profile-hero__actions .button--outline:hover,
.profile-hero__actions .button--outline:focus-visible {
    background-color: var(--color-navy-900, #0f1c2e);
    color: #ffffff;
}

@media (max-width: 640px) {
    .profile-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-hero__actions .button {
        width: 100%;
    }
}

/* Abstract Secured Ring Graphic */
.profile-hero__graphic-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    padding: clamp(1rem, 2vw, 1.5rem);
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.05);
    justify-self: center;
}

.profile-hero__graphic-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    background-color: var(--color-bg-light, #eef3fa);
    border-radius: var(--radius-md, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (max-width: 540px) {
    .profile-hero__graphic-card {
        width: 100%;
        height: auto;
    }
}

.profile-hero__ring-outer {
    width: 200px;
    height: 200px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px rgba(15, 28, 46, 0.06);
}

.profile-hero__ring-polygon {
    width: 100px;
    height: 100px;
    background-color: #0f1c2e;
    border-radius: 20px;
    transform: rotate(45deg);
}

.profile-hero__pulse-dot {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: #00a0a2;
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(0, 160, 162, 0.25);
}


/* ==========================================================================
   Sektion 2: Profilen er særligt relevant til (Node ID: 46:44)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.profile-relevant {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 80px;
    padding-bottom: 80px;
}

.profile-relevant__header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-relevant__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-relevant__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .profile-relevant__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-relevant__grid {
        grid-template-columns: 1fr;
    }
}

.profile-relevant__card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 138px;
}

.profile-relevant__icon-wrapper {
    width: 32px;
    height: 32px;
    background-color: var(--color-bg-light, #eef3fa);
    border-radius: 6px;
    color: var(--color-teal-500, #00a0a2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-relevant__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    line-height: 1.35;
    margin: 0;
}


/* ==========================================================================
   Sektion 3: Kernekompetence-cloud (Node ID: 46:63)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.profile-competences {
    background-color: #ffffff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.profile-competences__header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-competences__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-competences__cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.profile-competences__tag {
    background-color: var(--color-bg-light, #eef3fa);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-navy-900, #0f1c2e);
}


/* ==========================================================================
   Sektion 4: Erfaring (Node ID: 46:90)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.profile-experience {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 80px;
    padding-bottom: 80px;
}

.profile-experience__header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-experience__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-experience__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-experience__card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-experience__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.profile-experience__period {
    color: var(--color-slate-500, #525f70);
    font-weight: 500;
}

.profile-experience__org {
    color: var(--color-teal-500, #00a0a2);
    font-weight: 600;
}

.profile-experience__card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-experience__card-description {
    font-size: 0.9375rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
    margin: 0;
}

.profile-experience__details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    color: var(--color-slate-500, #525f70);
    font-size: 0.875rem;
}


/* ==========================================================================
   Sektion 5: Uddannelse & Certificeringer (Node ID: 46:111)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.profile-education {
    background-color: #ffffff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.profile-education__header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-education__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-education__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .profile-education__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.profile-education__col-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin-bottom: 24px;
}

.profile-education__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-education__list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9375rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
}

.profile-education__item-title,
.profile-education__item-meta,
.profile-education__item-description {
    display: block;
}

.profile-education__item-title {
    color: var(--color-navy-900, #0f1c2e);
    font-weight: 700;
}

.profile-education__item-meta {
    margin-top: 0.25rem;
}

.profile-education__item-description {
    margin-top: 0.5rem;
}

.profile-education__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.profile-education__list--navy li::before {
    background-color: var(--color-navy-900, #0f1c2e);
}

.profile-education__list--teal li::before {
    background-color: var(--color-teal-500, #00a0a2);
}


/* ==========================================================================
   Sektion 6: Sådan kan profilen indgå (Node ID: 46:144)
   Background: Lys blå-grå (#eef3fa)
   ========================================================================== */
.profile-engagement {
    background-color: var(--color-bg-light, #eef3fa);
    padding-top: 80px;
    padding-bottom: 80px;
}

.profile-engagement__header {
    text-align: center;
    margin-bottom: 48px;
}

.profile-engagement__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-engagement__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .profile-engagement__grid {
        grid-template-columns: 1fr;
    }
}

.profile-engagement__card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 125px;
}

.profile-engagement__icon {
    width: 28px;
    height: 28px;
    background-color: var(--color-teal-500, #00a0a2);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-engagement__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}


/* ==========================================================================
   Sektion 7: Profile CTA Section (Node ID: 46:159)
   Background: Mørk Navy (#0f1c2e)
   ========================================================================== */
.profile-cta {
    background-color: var(--color-navy-900, #0f1c2e);
    padding-top: 100px;
    padding-bottom: 100px;
    color: #ffffff;
}

.profile-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.profile-cta__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}

.profile-cta__description {
    font-size: 1.0625rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 32px;
    text-align: center;
}

.profile-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.profile-cta .button--outline-light {
    border: 1.5px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}

.profile-cta .button--outline-light:hover,
.profile-cta .button--outline-light:focus-visible {
    background-color: #ffffff;
    color: var(--color-navy-900, #0f1c2e);
}

@media (max-width: 640px) {
    .profile-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-cta__actions .button {
        width: 100%;
    }
}


/* ==========================================================================
   Sektion 8: Related Profiles Section (Node ID: 46:168)
   Background: Ren Hvid (#ffffff)
   ========================================================================== */
.profile-related {
    background-color: #ffffff;
    padding-top: 100px;
    padding-bottom: 100px;
}

.profile-related__header {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
    margin-bottom: 48px;
}

.profile-related__title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin: 0;
}

.profile-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .profile-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .profile-related__grid {
        grid-template-columns: 1fr;
    }
}

.profile-card {
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 259px;
}

.profile-card__header-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.profile-card__avatar-placeholder {
    width: 40px;
    height: 40px;
    background-color: var(--color-bg-light, #eef3fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal-500, #00a0a2);
}

.profile-card__badge {
    background-color: var(--color-bg-light, #eef3fa);
    color: var(--color-navy-900, #0f1c2e);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.profile-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-navy-900, #0f1c2e);
    margin-bottom: 8px;
}

.profile-card__description {
    font-size: 0.8125rem;
    color: var(--color-slate-500, #525f70);
    line-height: 1.5;
    margin-bottom: 20px;
}

.profile-card__footer {
    border-top: 1px solid #dde8f4;
    padding-top: 16px;
}

.profile-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    background-color: var(--color-bg-light, #eef3fa);
    border-radius: 6px;
    color: var(--color-navy-900, #0f1c2e);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-card__button:hover,
.profile-card__button:focus-visible {
    background-color: var(--color-navy-900, #0f1c2e);
    color: #ffffff;
}

.profile-related__footer {
    text-align: center;
    margin-top: 48px;
}

.profile-related__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-teal-500, #00a0a2);
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-related__back-link:hover,
.profile-related__back-link:focus-visible {
    color: #00898b;
    text-decoration: underline;
}

.profile-related__back-arrow {
    font-size: 1.125rem;
}

/* ==========================================================================
   Dynamic public profile detail
   Reuses the established profile sections with real public profile data.
   ========================================================================== */
.site-main--profile-detail .profile-section-eyebrow::before {
    content: "// ";
}

.profile-hero--dynamic {
    padding-top: clamp(1.5rem, 3vw, 2rem);
    padding-bottom: clamp(2.5rem, 5vw, 3rem);
}

.profile-hero--dynamic .profile-hero__back-wrapper {
    margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.profile-hero--dynamic .profile-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.site-main .profile-hero--dynamic .profile-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-hero--dynamic .profile-hero__eyebrow::before {
    content: none;
}

.profile-hero--dynamic .profile-hero__content {
    min-width: 0;
    max-width: 42rem;
}

.profile-hero--dynamic .profile-hero__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.profile-hero--dynamic .profile-hero__description {
    max-width: 65ch;
    margin-bottom: 0;
    font-size: 1rem;
    overflow-wrap: break-word;
}

.profile-hero--dynamic .profile-hero__description p {
    margin-block: 0 1rem;
}

.profile-hero--dynamic .profile-hero__description > :last-child {
    margin-bottom: 0;
}

.profile-hero--dynamic .profile-hero__badges {
    margin: 1.5rem 0 0;
}

.profile-hero--dynamic .profile-badge--dark {
    background-color: var(--color-primary, #0F1C2E);
    color: var(--color-white, #FFFFFF);
}

.profile-hero--dynamic .profile-hero__actions {
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.profile-hero--dynamic .profile-hero__graphic-wrapper {
    max-width: 320px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background-color: transparent;
    box-shadow: none;
}

.profile-hero--dynamic .profile-hero__graphic-card {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

.profile-hero--dynamic .profile-hero__ring-outer {
    width: 140px;
    height: 140px;
}

.profile-hero--dynamic .profile-hero__ring-polygon {
    width: 70px;
    height: 70px;
}

.profile-hero--dynamic .profile-hero__pulse-dot {
    width: 20px;
    height: 20px;
}

.profile-competences--dynamic,
.profile-experience--dynamic,
.profile-education--dynamic {
    padding-block: clamp(4rem, 8vw, 6.25rem);
}

.profile-competences--dynamic {
    background-color: var(--color-bg-light, #eef3fa);
}

.profile-competences--dynamic .profile-competences__header,
.profile-experience--dynamic .profile-experience__header,
.profile-education--dynamic .profile-education__header {
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.profile-competences--dynamic .profile-competences__header,
.profile-experience--dynamic .profile-experience__header,
.profile-education--dynamic .profile-education__header {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
}

.profile-competences--dynamic .profile-competences__tag {
    padding: 0.625rem 1rem;
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 999px;
    box-shadow: 0 8px 20px -14px rgba(15, 28, 46, 0.35);
    font-weight: 600;
}

.profile-experience--dynamic {
    background-color: #ffffff;
}

.profile-experience--dynamic .profile-experience__list {
    max-width: 72rem;
    gap: 1.25rem;
}

.profile-experience--dynamic .profile-experience__card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background-color: var(--color-bg-light, #eef3fa);
    border-color: #dde8f4;
    box-shadow: 0 14px 30px -24px rgba(15, 28, 46, 0.4);
}

.profile-experience--dynamic .profile-experience__meta {
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.profile-experience--dynamic .profile-experience__period {
    color: var(--color-teal-500, #00a0a2);
    font-weight: 700;
}

.profile-experience--dynamic .profile-experience__org {
    margin-left: auto;
    text-align: right;
    color: var(--color-slate-500, #525f70);
}

.profile-experience--dynamic .profile-experience__card-title {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.35;
}

.profile-experience--dynamic .profile-experience__card-description {
    max-width: 75ch;
    font-size: 1rem;
    line-height: 1.65;
}

.profile-education--dynamic {
    background-color: var(--color-bg-light, #eef3fa);
}

.profile-education--dynamic .profile-education__grid {
    max-width: 72rem;
    gap: clamp(2rem, 5vw, 4rem);
}

.profile-education--dynamic .profile-education__grid--single {
    grid-template-columns: minmax(0, 36rem);
    justify-content: center;
}

.profile-education--dynamic .profile-education__col-title {
    margin: 0 0 1.25rem;
}

.profile-education--dynamic .profile-education__list {
    gap: 1rem;
}

.profile-education--dynamic .profile-education__item {
    min-height: 100%;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background-color: #ffffff;
    border: 1px solid #dde8f4;
    border-radius: 8px;
    box-shadow: 0 14px 30px -24px rgba(15, 28, 46, 0.4);
}

.profile-education--dynamic .profile-education__item::before {
    top: 2rem;
    left: 1rem;
}

.profile-education--dynamic .profile-education__item-title {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.4;
}

.profile-education--dynamic .profile-education__item-meta,
.profile-education--dynamic .profile-education__item-date,
.profile-education--dynamic .profile-education__item-description {
    margin-bottom: 0;
}

.profile-education--dynamic .profile-education__item-meta {
    color: var(--color-navy-900, #0f1c2e);
    font-weight: 600;
}

.profile-education--dynamic .profile-education__item-date {
    margin-top: 0.375rem;
    color: var(--color-teal-500, #00a0a2);
    font-size: 0.875rem;
    font-weight: 700;
}

.profile-education--dynamic .profile-education__item-description {
    margin-top: 0.75rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .profile-hero--dynamic .profile-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-hero--dynamic .profile-hero__content {
        max-width: 46rem;
        margin-inline: auto;
    }

    .profile-hero--dynamic .profile-hero__graphic-wrapper {
        width: min(100%, 320px);
    }
}

@media (max-width: 640px) {
    .profile-hero--dynamic .profile-hero__grid {
        gap: 2.5rem;
    }

    .profile-experience--dynamic .profile-experience__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-education--dynamic .profile-education__grid {
        gap: 2.5rem;
    }
}

.profile-hero__back-link:focus-visible,
.profile-related__back-link:focus-visible,
.profile-card__button:focus-visible {
    outline: 2px solid var(--color-teal-500, #00a0a2);
    outline-offset: 3px;
}
