/* Ansico CV Blocks — LinkedIn-inspired visual system */
:root {
    --cv-blue: #0a66c2;
    --cv-blue-dark: #004182;
    --cv-blue-soft: #e8f3ff;
    --cv-ink: #1f1f1f;
    --cv-muted: #666666;
    --cv-subtle: #8c8c8c;
    --cv-canvas: #f3f2ef;
    --cv-card: #ffffff;
    --cv-border: #e0dfdc;
    --cv-border-strong: #c9c8c5;
    --cv-radius: 12px;
    --cv-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    --cv-shadow-lifted: 0 8px 26px rgba(0, 0, 0, 0.08);
    --cv-max-width: 1180px;
}

/* Shared card language */
.cv-profileheader,
.cv-contentblock,
.cv-container,
.cv-profile,
.cv-page-frame-container {
    box-sizing: border-box;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius);
    background: var(--cv-card);
    box-shadow: var(--cv-shadow);
}

.cv-contentblock,
.cv-container,
.cv-profile,
.cv-profileheader,
.cv-page-frame-container {
    margin-bottom: 18px;
}

.cv-contentblock,
.cv-container,
.cv-profileheader,
.cv-profile,
.cv-page-frame-container {
    transition: border-color .18s ease, box-shadow .18s ease;
}

/* Compact LinkedIn-like application bar */
.cv-topnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    width: 100%;
    min-height: 64px;
    margin: 0 0 24px;
    padding: 8px max(18px, calc((100vw - var(--cv-max-width)) / 2));
    display: flex;
    align-items: center;
    gap: 26px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--cv-border);
    box-shadow: 0 1px 0 rgba(0,0,0,.04);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    text-align: left;
}

.admin-bar .cv-topnav { top: 32px; }

.cv-topnav-home-link {
    flex: 0 1 auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cv-ink);
    text-decoration: none;
}

.cv-topnav-home-link::before {
    content: none;
    display: none;
}

.cv-topnav-name {
    max-width: 390px;
    margin: 0;
    overflow: hidden;
    color: var(--cv-ink);
    font-family: inherit;
    font-size: clamp(1.12rem, 1.35vw, 1.28rem);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.08;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
    transition: color .16s ease, transform .16s ease;
}

.cv-topnav-home-link:hover .cv-topnav-name,
.cv-topnav-home-link:focus-visible .cv-topnav-name {
    color: var(--cv-blue);
}

.cv-topnav-home-link:focus-visible {
    outline: 3px solid rgba(10,102,194,.18);
    outline-offset: 4px;
    border-radius: 4px;
}

.cv-topnav-nav {
    min-width: 0;
    margin: 0 0 0 auto;
}

.cv-topnav-nav ul {
    display: flex;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.cv-topnav-nav ul::-webkit-scrollbar { display: none; }

.cv-topnav-nav li { margin: 0; }

.cv-topnav-nav a {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 0 11px;
    border-radius: 6px;
    color: #5e5e5e;
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

.cv-topnav-nav a:hover,
.cv-topnav-nav a:focus-visible {
    background: #f4f4f4;
    color: var(--cv-ink);
    text-decoration: none;
}

.cv-topnav-nav a.is-current,
.cv-topnav-nav a[aria-current="page"] {
    color: var(--cv-ink);
}

.cv-topnav-nav a.is-current::after,
.cv-topnav-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: -8px;
    left: 10px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--cv-blue);
}

.cv-topnav-line { display: none; }

/* Full profile header */
.cv-profileheader {
    position: relative;
    overflow: hidden;
}

.cv-profileheader-cover {
    position: relative;
    width: 100%;
    height: clamp(170px, 23vw, 235px);
    background-color: #91b6d7;
    background-image: linear-gradient(125deg, #0a66c2 0%, #4d93d1 48%, #b6d5ee 100%);
    background-position: center;
    background-size: cover;
}

.cv-profileheader-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.08) 100%);
    pointer-events: none;
}

.cv-profileheader-avatar-container {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin: -78px 0 0 28px;
}

.cv-profileheader-avatar,
.cv-profileheader-avatar.placeholder {
    display: flex;
    width: 152px;
    height: 152px;
    box-sizing: border-box;
    margin: 0;
    align-items: center;
    justify-content: center;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #e8e8e8;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
    object-fit: cover;
}

.cv-profileheader-avatar.placeholder {
    color: var(--cv-muted);
    font-weight: 700;
}

.cv-profileheader-info {
    padding: 12px 28px 24px;
}

.cv-profileheader-name {
    margin-bottom: 3px;
    color: var(--cv-ink);
    font-size: clamp(1.65rem, 2.5vw, 2rem);
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.cv-profileheader-title {
    margin-bottom: 5px;
    color: #333;
    font-size: 1.08rem;
    line-height: 1.35;
}

.cv-profileheader-company {
    color: var(--cv-muted);
    font-size: .96rem;
}

.cv-profileheader-nav {
    padding: 0 20px;
    border-top: 1px solid var(--cv-border);
}

.cv-profileheader-nav ul {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
}

.cv-profileheader-nav a {
    display: block;
    padding: 13px 10px 11px;
    border-bottom: 3px solid transparent;
    color: var(--cv-muted);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.cv-profileheader-nav a:hover {
    border-bottom-color: var(--cv-blue);
    color: var(--cv-blue);
    text-decoration: none;
}


/* Profile header actions */
.cv-profileheader-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cv-download-button {
    appearance: none;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 17px;
    border: 1px solid var(--cv-blue);
    border-radius: 999px;
    background: var(--cv-blue);
    color: #fff;
    font: inherit;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cv-download-button::before {
    content: "↓";
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.cv-download-button:hover {
    border-color: var(--cv-blue-dark);
    background: var(--cv-blue-dark);
    color: #fff;
    box-shadow: 0 2px 7px rgba(10, 102, 194, .22);
    transform: translateY(-1px);
}

.cv-download-button:active {
    transform: translateY(0);
}

.cv-download-button:focus-visible {
    outline: 3px solid rgba(10, 102, 194, .28);
    outline-offset: 3px;
}

.block-editor-block-list__block .cv-download-button[disabled] {
    opacity: 1;
    cursor: default;
}

/* Content cards */
.cv-contentblock,
.cv-toc {
    padding: 26px 28px;
}

.cv-contentblock-heading,
.cv-page-framed-title {
    position: relative;
    margin: 0 0 20px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--cv-border);
    color: var(--cv-ink);
    font-size: 1.32rem;
    font-weight: 750;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.cv-contentblock-heading::after,
.cv-page-framed-title::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: var(--cv-blue);
}

.cv-contentblock-inner {
    color: #3c3c3c;
    line-height: 1.55;
}

.cv-contentblock-inner > * { margin-top: 0; margin-bottom: 1rem; }
.cv-contentblock-inner > *:last-child { margin-bottom: 0; }

.cv-container {
    padding: 22px 24px;
}

.cv-container-inner > * { margin-top: 0; margin-bottom: 1rem; }
.cv-container-inner > *:last-child { margin-bottom: 0; }

/* Experience timeline */
.cv-company {
    position: relative;
    margin: 0 0 24px;
    padding: 0 0 22px 58px;
    border-bottom: 1px solid #ededeb;
}

.cv-company:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cv-company::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid #bcd5ec;
    border-radius: 8px;
    background: linear-gradient(145deg, #eef7ff, #d6eaff);
    box-shadow: inset 0 0 0 10px #fff;
}

.cv-company::after {
    content: "";
    position: absolute;
    top: 52px;
    bottom: 19px;
    left: 21px;
    width: 2px;
    background: #e3e3e1;
    z-index: 0;
}

.cv-company--has-logo::before {
    display: none;
}

.cv-company-logo {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 3px;
    border: 1px solid var(--cv-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    object-fit: contain;
}

.cv-company-name {
    color: var(--cv-ink);
    font-size: 1.14rem;
    font-weight: 750;
    line-height: 1.25;
}

.cv-company-dates,
.cv-position-dates,
.cv-education-dates {
    color: var(--cv-muted);
    font-size: .91rem;
}

.cv-company-dates { margin: 3px 0 14px; }

.cv-position {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 0 2px;
}

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

.cv-position::before {
    content: "";
    position: absolute;
    top: .42rem;
    left: -43px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--cv-blue);
    box-shadow: 0 0 0 1px #bfd4e8;
    z-index: 2;
}

.cv-position-title {
    color: var(--cv-ink);
    font-weight: 700;
    line-height: 1.3;
}

.cv-position-department {
    margin-top: 2px;
    color: #454545;
    font-style: normal;
    line-height: 1.35;
}

.cv-position-dates { margin: 3px 0 7px; }
.cv-position .wp-block-list { margin-top: 7px; margin-bottom: 0; }
.cv-position p { margin-top: 5px; margin-bottom: 5px; }

/* Education entries */
.cv-education {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 20px 48px;
    border-bottom: 1px solid #ededeb;
}

.cv-education:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.cv-education::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 34px;
    height: 34px;
    border: 1px solid #c9d9e7;
    border-radius: 50%;
    background: radial-gradient(circle at center, #fff 0 30%, var(--cv-blue-soft) 31% 100%);
}

.cv-education-degree {
    color: var(--cv-ink);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.3;
}

.cv-education-institution {
    margin: 3px 0;
    color: #414141;
    font-style: normal;
}


.cv-education--has-course-link {
    padding-right: 40px;
}

.cv-education-course-link {
    position: absolute;
    top: 1px;
    right: 0;
    display: inline-flex;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbdbe8;
    border-radius: 9px;
    background: #f2f7fb;
    color: var(--cv-blue);
    text-decoration: none !important;
    box-shadow: 0 1px 1px rgba(0,0,0,.025);
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.cv-education-course-link:hover {
    border-color: #9dc0de;
    background: #e9f3fb;
    color: #075aa9;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(10,102,194,.12);
}

.cv-education-course-link svg {
    width: 18px;
    height: 18px;
}

.cv-education-course-link--editor {
    cursor: default;
}

/* Compact course-page overview ------------------------------------------ */
.cv-course-overview-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.cv-course-overview-inner > .cv-profile-section-intro {
    grid-column: 1 / -1;
    margin-bottom: .15rem;
}

.cv-course-overview-inner > .cv-course-link-card {
    margin: 0 !important;
}

.cv-course-link-card {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    gap: .68rem;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
    padding: .72rem .78rem;
    border: 1px solid #e0e6eb;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.025);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

a.cv-course-link-card:hover {
    border-color: #b7cee2;
    background: #fbfdff;
    color: inherit;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.055);
}

.cv-course-link-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf5fb;
    color: var(--cv-blue);
}

.cv-course-link-icon svg {
    width: 20px;
    height: 20px;
}

.cv-course-link-content {
    display: block;
    min-width: 0;
}

.cv-course-link-title {
    display: block;
    margin: 0;
    color: var(--cv-ink);
    font-size: .91rem;
    font-weight: 730;
    line-height: 1.3;
}

.cv-course-link-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .12rem .38rem;
    margin-top: .16rem;
    color: #69737d;
    font-size: .75rem;
    line-height: 1.35;
}

.cv-course-link-context:not(:empty) + .cv-course-link-period:not(:empty)::before {
    content: "·";
    margin-right: .38rem;
    color: #a0a8b0;
}

.cv-course-link-arrow {
    color: #7da6c9;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    transition: transform .15s ease, color .15s ease;
}

a.cv-course-link-card:hover .cv-course-link-arrow {
    color: var(--cv-blue);
    transform: translateX(2px);
}

@media (max-width: 760px) {
    .cv-course-overview-inner { grid-template-columns: minmax(0, 1fr); }
}

/* Seven physician roles / competency matrix */
.cv-physician-roles-inner {
    position: relative;
}

.cv-physician-roles-intro {
    max-width: 780px;
    margin: -2px 0 18px !important;
    color: var(--cv-muted);
    font-size: .96rem;
    line-height: 1.55;
}

.cv-physician-roles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.cv-physician-role {
    --cv-role-accent: var(--cv-blue);
    --cv-role-soft: var(--cv-blue-soft);
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 17px 18px 16px;
    border: 1px solid #dcdedc;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--cv-role-soft) 0 4px, #fff 4px 100%);
    box-shadow: 0 1px 1px rgba(0,0,0,.035);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cv-physician-role:hover {
    border-color: #c7d4df;
    box-shadow: 0 4px 15px rgba(0,0,0,.065);
    transform: translateY(-1px);
}

.cv-role-tone--core {
    --cv-role-accent: #08689a;
    --cv-role-soft: #eaf4fa;
}

.cv-role-tone--practice {
    --cv-role-accent: #13886f;
    --cv-role-soft: #eaf7f3;
}

.cv-role-tone--society {
    --cv-role-accent: #5f8fc3;
    --cv-role-soft: #edf4fb;
}

.cv-role-tone--professional {
    --cv-role-accent: #4d8f77;
    --cv-role-soft: #eef7f3;
    grid-column: 1 / -1;
}

.cv-physician-role-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}

.cv-physician-role-number {
    display: inline-flex;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cv-role-accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1;
}

.cv-physician-role-title {
    margin: 0 !important;
    color: var(--cv-ink);
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.cv-physician-role-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.cv-physician-role-list li {
    position: relative;
    margin: 0 !important;
    padding: 6px 0 6px 18px;
    border-top: 1px solid #f0f0ee;
    color: #3d3d3d;
    font-size: .94rem;
    line-height: 1.43;
}

.cv-physician-role-list li:first-child {
    border-top: 0;
    padding-top: 2px;
}

.cv-physician-role-list li::before {
    content: "";
    position: absolute;
    top: .78em;
    left: 2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cv-role-accent);
}

.cv-physician-role-list li:first-child::before {
    top: .53em;
}


/* Teaching experience dashboard */
.cv-teaching-intro {
    max-width: 820px;
    margin: -2px 0 18px !important;
    color: var(--cv-muted);
    font-size: .96rem;
    line-height: 1.55;
}

.cv-teaching-summary:empty { display: none; }

.cv-teaching-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.cv-teaching-stat {
    min-width: 0;
    padding: 15px 13px 13px;
    border: 1px solid #d9dedd;
    border-radius: 10px;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 58%);
    box-shadow: 0 1px 2px rgba(0,0,0,.035);
}

.cv-teaching-stat strong {
    display: block;
    margin-bottom: 3px;
    color: var(--cv-blue);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.1;
}

.cv-teaching-stat span {
    display: block;
    color: var(--cv-muted);
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.3;
}

.cv-teaching-subheading {
    margin: 20px 0 10px !important;
    color: var(--cv-ink);
    font-size: 1.03rem;
    font-weight: 760;
    letter-spacing: -.01em;
}

.cv-teaching-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cv-teaching-category-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 15px 16px 14px 18px;
    border: 1px solid #dcdedc;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.cv-teaching-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--cv-blue);
}

.cv-teaching-category-kicker {
    margin-bottom: 4px;
    color: var(--cv-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.cv-teaching-category-title {
    margin: 0 !important;
    color: var(--cv-ink);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.25;
}

.cv-teaching-category-meta {
    margin-top: 5px;
    color: var(--cv-muted);
    font-size: .78rem;
}

.cv-teaching-category-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.cv-teaching-chip {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #edf4fa;
    color: #315b78;
    font-size: .74rem;
    font-weight: 650;
    line-height: 1.25;
}

.cv-teaching-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cv-teaching-featured-card {
    padding: 15px 16px;
    border: 1px solid #dcdedc;
    border-radius: 10px;
    background: #fff;
}

.cv-teaching-featured-label {
    margin-bottom: 4px;
    color: var(--cv-muted);
    font-size: .75rem;
    font-weight: 700;
}

.cv-teaching-featured-title {
    margin: 0 !important;
    color: var(--cv-ink);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.3;
}

.cv-teaching-featured-meta {
    margin-top: 5px;
    color: #555;
    font-size: .82rem;
    line-height: 1.4;
}

.cv-teaching-featured-description {
    margin: 8px 0 0 !important;
    color: #444;
    font-size: .9rem;
    line-height: 1.45;
}

/* Activity records are source data on the public page. The visitor sees the
   generated summary/cards instead of a date-by-date log. */
.cv-teaching-activity-source { display: none; }

@media (max-width: 760px) {
    .cv-teaching-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv-teaching-category-grid,
    .cv-teaching-featured-grid { grid-template-columns: 1fr; }
}

/* Sidebar profile summary with a cover treatment */
.cv-profile {
    position: relative;
    overflow: hidden;
    padding: 98px 22px 24px;
    text-align: center;
}

.cv-profile::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 78px;
    background:
        radial-gradient(circle at 82% 25%, rgba(255,255,255,.22) 0 16px, transparent 17px),
        linear-gradient(130deg, #0a66c2 0%, #357fbe 58%, #a4cae8 100%);
}

.cv-profile-avatar-container {
    position: relative;
    z-index: 1;
    margin: -62px 0 12px;
}

.cv-profile-avatar,
.cv-profile-avatar.placeholder {
    display: flex;
    width: 118px;
    height: 118px;
    box-sizing: border-box;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    object-fit: cover;
}

.cv-profile-avatar.placeholder {
    color: var(--cv-muted);
    font-weight: 700;
}

.cv-profile-name {
    margin-bottom: 11px;
    color: var(--cv-ink);
    font-size: 1.18rem;
    font-weight: 750;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.cv-profile-social-container {
    display: flex;
    justify-content: center;
    margin: 0 0 15px;
    padding: 12px 0;
    border-top: 1px solid #f0efed;
    border-bottom: 1px solid #f0efed;
}

.cv-profile-social-container .wp-block-social-links {
    justify-content: center;
    gap: 7px;
}

.cv-profile-social-container .wp-social-link {
    transform: scale(.92);
}

.cv-profile-titles {
    color: var(--cv-muted);
    font-size: .94rem;
    line-height: 1.48;
}

.cv-profile-titles p,
.cv-profile-titles div { margin: 0 0 10px !important; padding: 0; }
.cv-profile-titles p:last-child,
.cv-profile-titles div:last-child { margin-bottom: 0 !important; }
.cv-profile-titles br { display: block; content: ""; margin-bottom: 9px; }

/* Table of contents */
.cv-toc { display: none; }

.cv-toc-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: -4px 0 0;
    padding: 0;
    list-style: none;
}

.cv-toc-list a {
    position: relative;
    display: block;
    padding: 9px 28px 9px 10px;
    border-radius: 7px;
    color: #505050;
    font-size: .94rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease;
}

.cv-toc-list a::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 10px;
    color: #9b9b9b;
    font-size: 1.25rem;
    transform: translateY(-52%);
}

.cv-toc-list a:hover,
.cv-toc-list a.is-current {
    background: var(--cv-blue-soft);
    color: var(--cv-blue-dark);
    text-decoration: none;
}

.cv-toc-list a:hover::after,
.cv-toc-list a.is-current::after { color: var(--cv-blue); }

.cv-contentblock[id] { scroll-margin-top: 86px; }

/* Contact form */
.cv-contactform .cv-form-group { margin-bottom: 18px; }

.cv-contactform label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: .92rem;
    font-weight: 650;
}

.cv-contactform input,
.cv-contactform textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 13px;
    border: 1px solid var(--cv-border-strong);
    border-radius: 7px;
    background: #fff;
    color: var(--cv-ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.cv-contactform input:hover,
.cv-contactform textarea:hover { border-color: #a7a7a7; }

.cv-contactform input:focus,
.cv-contactform textarea:focus {
    border-color: var(--cv-blue);
    outline: none;
    box-shadow: 0 0 0 1px var(--cv-blue);
}

.cv-contactform textarea { resize: vertical; }

.cv-contactform-button {
    min-height: 42px;
    padding: 9px 22px;
    border: 1px solid var(--cv-blue);
    border-radius: 999px;
    background: var(--cv-blue);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .96rem;
    font-weight: 700;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cv-contactform-button:hover {
    background: var(--cv-blue-dark);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.cv-contactform-button:active { transform: translateY(1px); }
.cv-contactform-button:disabled { background: #7b9cb8; border-color: #7b9cb8; cursor: not-allowed; }

.cv-success-msg {
    padding: 14px 16px;
    border: 1px solid #a6d8b1;
    border-radius: 8px;
    background: #e9f7ec;
    color: #215d2d;
    font-weight: 650;
    text-align: center;
}

/* Page settings */
.ansico-cv-hide-title h1.entry-title,
.ansico-cv-hide-title .wp-block-post-title,
.ansico-cv-hide-title header.entry-header h1,
.ansico-cv-hide-title .page-title,
.ansico-cv-frame-design h1.entry-title,
.ansico-cv-frame-design .wp-block-post-title,
.ansico-cv-frame-design header.entry-header h1,
.ansico-cv-frame-design .page-title {
    display: none !important;
}

.cv-page-frame-container {
    margin-top: 0;
    padding: 28px;
}

.cv-page-frame-inner > :first-child { margin-top: 0; }
.cv-page-frame-inner > :last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
    .cv-topnav { gap: 14px; }
    .cv-topnav-name { max-width: 260px; }
    .cv-topnav-nav a { padding-right: 8px; padding-left: 8px; font-size: .82rem; }
}

@media (max-width: 782px) {
    .admin-bar .cv-topnav { top: 46px; }

    .cv-topnav {
        position: relative;
        top: auto;
        display: block;
        padding: 10px 12px 0;
        overflow: hidden;
    }

    .cv-topnav-home-link { margin-bottom: 7px; }
    .cv-topnav-name { max-width: calc(100vw - 32px); font-size: 1.16rem; }
    .cv-topnav-nav { margin: 0 -12px; border-top: 1px solid #efefed; }
    .cv-topnav-nav ul { padding: 0 8px; }
    .cv-topnav-nav a { min-height: 43px; padding: 0 9px; }

    .cv-topnav-nav a.is-current::after,
    .cv-topnav-nav a[aria-current="page"]::after { bottom: 0; }

    .cv-profileheader-cover { height: 150px; }
    .cv-profileheader-avatar-container { margin-top: -60px; margin-left: 20px; }
    .cv-profileheader-avatar,
    .cv-profileheader-avatar.placeholder { width: 118px; height: 118px; }
    .cv-profileheader-info { padding: 10px 20px 20px; }
    .cv-profileheader-name { font-size: 1.55rem; }

    .cv-contentblock,
    .cv-toc,
    .cv-container,
    .cv-page-frame-container { padding: 20px; }

    .cv-company { padding-left: 52px; }
    .cv-company::before,
    .cv-company-logo { width: 40px; height: 40px; }
    .cv-company::after { top: 48px; left: 19px; }
    .cv-position::before { left: -39px; }

    .cv-physician-roles-grid { grid-template-columns: 1fr; }
    .cv-role-tone--professional { grid-column: auto; }
}

@media (max-width: 480px) {
    .cv-profileheader-cover { height: 125px; }
    .cv-profileheader-avatar-container { margin-top: -50px; margin-left: 16px; }
    .cv-profileheader-avatar,
    .cv-profileheader-avatar.placeholder { width: 98px; height: 98px; border-width: 4px; }
    .cv-profileheader-info { padding: 9px 16px 18px; }
    .cv-profileheader-nav { padding: 0 8px; }

    .cv-contentblock,
    .cv-toc,
    .cv-container,
    .cv-page-frame-container { padding: 18px; }

    .cv-profile { padding-right: 18px; padding-left: 18px; }
}


@media print {
    .cv-download-button,
    .cv-profileheader-actions,
    .cv-profileheader-nav,
    .cv-profileheader-nav-editor,
    .cv-contactform,
    .cv-print-exclude,
    .cv-contentblock:has(.cv-contactform) {
        display: none !important;
    }

    .cv-position,
    .cv-education,
    .cv-physician-role {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .cv-contentblock-heading,
    .cv-company-name,
    .cv-education-degree {
        break-after: avoid;
        page-break-after: avoid;
    }
}

/* PDF generation state */
.cv-download-button.is-generating {
    cursor: progress;
    opacity: .72;
    transform: none;
}


/* Collapsible experience details (front end enhancement) */
.cv-position-summary {
    position: relative;
    margin: -5px -8px 0;
    padding: 5px 34px 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color .18s ease, box-shadow .18s ease;
}

.cv-position-summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #6b6f73;
    border-bottom: 2px solid #6b6f73;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .2s ease, border-color .18s ease;
}

.cv-position-summary:hover {
    background: #f3f7fb;
}

.cv-position-summary:focus-visible {
    outline: 2px solid var(--cv-blue);
    outline-offset: 2px;
    background: #f3f7fb;
}

.cv-position--expanded > .cv-position-summary::after {
    transform: translateY(-35%) rotate(225deg);
    border-color: var(--cv-blue);
}

.cv-position > .cv-position-details {
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(-3px);
    transition: max-height .28s ease, opacity .2s ease, transform .2s ease, margin-top .2s ease;
}

.cv-position--expanded > .cv-position-details {
    margin-top: 7px;
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .cv-position-summary,
    .cv-position-summary::after,
    .cv-position > .cv-position-details {
        transition: none;
    }
}

/* Teaching profile v1.9 --------------------------------------------------- */
.cv-teaching-overview:empty { display: none; }

.cv-teaching-group {
    margin-top: 24px;
}

.cv-teaching-group:first-of-type {
    margin-top: 18px;
}

.cv-teaching-group-heading {
    margin: 0 0 11px !important;
    color: var(--cv-ink);
    font-size: 1.06rem;
    font-weight: 780;
    letter-spacing: -.012em;
}

.cv-teaching-course-grid,
.cv-teaching-topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cv-teaching-course,
.cv-teaching-topic {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px 17px;
    border: 1px solid #dcdedc;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

.cv-teaching-course::before,
.cv-teaching-topic::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    border-radius: 11px 0 0 11px;
    background: var(--cv-blue);
}

.cv-teaching-topic::before { background: #4f8fc8; }

.cv-teaching-course-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

.cv-teaching-course-title,
.cv-teaching-topic-title,
.cv-teaching-event-title {
    margin: 0 !important;
    color: var(--cv-ink);
    font-size: 1rem;
    font-weight: 770;
    line-height: 1.28;
}

.cv-teaching-hours-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #e8f3fc;
    color: var(--cv-blue);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.cv-teaching-course-provider {
    margin-top: 5px;
    color: #4f4f4f;
    font-size: .84rem;
    font-weight: 650;
}

.cv-teaching-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 7px;
    color: var(--cv-muted);
    font-size: .79rem;
}

.cv-teaching-course-audience:not(:first-child)::before {
    content: "•";
    margin-right: 10px;
    color: #a4a4a4;
}

.cv-teaching-course-description,
.cv-teaching-topic-description,
.cv-teaching-event-description {
    margin: 10px 0 0 !important;
    color: #444;
    font-size: .9rem;
    line-height: 1.5;
}

.cv-teaching-topic {
    padding-top: 14px;
    padding-bottom: 14px;
}

.cv-teaching-event-list {
    overflow: hidden;
    border: 1px solid #dcdedc;
    border-radius: 11px;
    background: #fff;
}

.cv-teaching-event {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 15px 17px;
    border-top: 1px solid #e7e7e5;
}

.cv-teaching-event:first-child { border-top: 0; }

.cv-teaching-event-place {
    margin-top: 4px;
    color: var(--cv-muted);
    font-size: .8rem;
    font-weight: 650;
}

.cv-teaching-event-date {
    color: var(--cv-blue);
    font-size: .82rem;
    font-weight: 780;
    white-space: nowrap;
}

.cv-teaching-legacy-notice {
    padding: 10px 12px;
    border: 1px dashed #c8c8c6;
    border-radius: 8px;
    background: #fafaf9;
    color: #666;
    font-size: .85rem;
}

@media (max-width: 760px) {
    .cv-teaching-course-grid,
    .cv-teaching-topic-grid { grid-template-columns: 1fr; }
    .cv-teaching-event { grid-template-columns: 1fr; gap: 6px; }
    .cv-teaching-event-date { grid-row: 1; }
}

/* Teaching profile v1.9.2: no summary stat cards; empty groups are hidden on the public view. */
.cv-teaching-experience .cv-teaching-overview { display: none; }
.cv-teaching-experience .cv-teaching-group[hidden] { display: none !important; }


/* Kurser & efteruddannelse ----------------------------------------------- */

/* Continuing education v1.10.1: the block has no visible top title.
   The heading remains in the saved markup for backwards compatibility and TOC metadata. */
.cv-continuing-education > .cv-continuing-education-heading { display: none; }

.cv-continuing-education-intro {
    margin: 0 0 1.25rem;
    color: #5f6670;
    line-height: 1.6;
}

.cv-course-category {
    margin: 0 0 1.6rem;
}

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

.cv-course-category-header {
    margin: 0 0 .75rem;
}

.cv-course-category-heading {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1f2328;
}

.cv-course-category-description {
    margin: .28rem 0 0;
    color: #66707a;
    font-size: .9rem;
    line-height: 1.5;
}

.cv-course-category-items {
    display: grid;
    gap: .65rem;
}

.cv-course-item {
    display: block;
    margin: 0;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.cv-course-item:hover {
    border-color: #c7d1dc;
    box-shadow: 0 3px 12px rgba(0,0,0,.055);
}

.cv-course-item[open] {
    border-color: #b9cbdc;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.cv-course-item-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.cv-course-item-summary::-webkit-details-marker { display: none; }
.cv-course-item-summary::marker { display: none; content: ''; }

.cv-course-item-main { min-width: 0; }

.cv-course-item-title {
    margin: 0;
    color: #1f2328;
    font-size: .98rem;
    line-height: 1.3;
    font-weight: 700;
}

.cv-course-item-organizer {
    margin-top: .18rem;
    color: #5f6670;
    font-size: .86rem;
    line-height: 1.35;
}

.cv-course-item-side {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: .35rem .5rem;
    max-width: 18rem;
    text-align: right;
}

.cv-course-item-type,
.cv-course-item-ects,
.cv-course-item-days {
    display: inline-flex;
    align-items: center;
    min-height: 1.55rem;
    padding: .14rem .5rem;
    border-radius: 999px;
    background: #eaf3fb;
    color: #0a66c2;
    font-size: .72rem;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.cv-course-item-ects,
.cv-course-item-days {
    background: #eef1f4;
    color: #4d5660;
}

.cv-course-item-period {
    color: #606770;
    font-size: .82rem;
    line-height: 1.3;
    white-space: nowrap;
}

.cv-course-item-chevron {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    color: #5f6670;
    font-size: 1.05rem;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform .18s ease;
}

.cv-course-item[open] .cv-course-item-chevron { transform: rotate(180deg); }

.cv-course-item-details {
    padding: 0 1rem .95rem;
    border-top: 1px solid #edf0f2;
    background: #fbfcfd;
}

.cv-course-item-description {
    margin: .8rem 0 0;
    color: #40464d;
    font-size: .9rem;
    line-height: 1.55;
}

.cv-course-item-link {
    display: inline-flex;
    margin-top: .65rem;
    color: #0a66c2;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
}

.cv-course-item-link:hover { text-decoration: underline; }

.cv-course-item--static .cv-course-item-summary { cursor: default; }
.cv-course-item--static .cv-course-item-chevron { display: none; }

/* Gutenberg: keep course descriptions visible while editing. */
.cv-course-item--editor {
    padding: .9rem 1rem;
    border: 1px solid #dfe3e8;
    border-radius: 10px;
    background: #fff;
}
.cv-course-item--editor .cv-course-item-summary { padding: 0; cursor: default; }
.cv-course-item--editor .cv-course-item-description { margin-bottom: 0; }
.cv-course-item-editor-link {
    margin-top: .55rem;
    color: #66707a;
    font-size: .78rem;
    overflow-wrap: anywhere;
}
.cv-course-category--editor {
    padding: .8rem;
    border: 1px dashed #cbd3dc;
    border-radius: 12px;
}

@media (max-width: 700px) {
    .cv-course-item-summary {
        grid-template-columns: 1fr;
        gap: .6rem;
    }
    .cv-course-item-side {
        justify-content: flex-start;
        max-width: none;
        text-align: left;
    }
}

/* Continuing education v1.10.5 ------------------------------------------ */
/* This block sits naturally in the page flow rather than inside an outer
   card; individual course cards retain their own LinkedIn-like treatment. */
.cv-continuing-education.cv-contentblock {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.cv-continuing-education .cv-contentblock-inner {
    padding: 0;
}

.cv-course-view-switcher {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin: 0 0 1.05rem;
    padding: .22rem;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #f5f7f9;
}

.cv-course-view-label {
    padding: 0 .45rem 0 .55rem;
    color: #69727c;
    font-size: .76rem;
    font-weight: 650;
}

.cv-course-view-button {
    appearance: none;
    min-height: 2rem;
    padding: .35rem .72rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #4d5660;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.cv-course-view-button:hover {
    background: #e9eef3;
    color: #0a66c2;
}

.cv-course-view-button.is-active {
    background: #0a66c2;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.cv-course-year-view[hidden],
.cv-course-type-view[hidden] { display: none !important; }

.cv-course-year-group {
    margin: 0 0 1.6rem;
}

.cv-course-year-group:last-child { margin-bottom: 0; }

.cv-course-year-heading {
    margin: 0 0 .7rem;
    color: #1f2328;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.3;
}

.cv-course-year-heading::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: .38rem;
    border-radius: 2px;
    background: #0a66c2;
}

.cv-course-year-items {
    display: grid;
    gap: .65rem;
}

/* Keep the Gutenberg editor visually separated while editing, even though
   the public block deliberately has no outer frame. */
.block-editor-block-list__block .cv-continuing-education.cv-contentblock {
    padding: .65rem;
    border: 1px dashed #cbd3dc;
    border-radius: 12px;
}


/* Type-grouped continuing education view */
.cv-course-type-group {
    margin: 0 0 1.6rem;
}

.cv-course-type-group:last-child { margin-bottom: 0; }

.cv-course-type-heading {
    margin: 0 0 .7rem;
    color: #1f2328;
    font-size: 1.02rem;
    font-weight: 750;
    line-height: 1.3;
}

.cv-course-type-heading::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: .38rem;
    border-radius: 2px;
    background: #0a66c2;
}

.cv-course-type-items {
    display: grid;
    gap: .65rem;
}


/* Languages v1.11.0 ----------------------------------------------------- */
.cv-languages-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
}

.cv-language-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 0;
    padding: .85rem .95rem;
    border: 1px solid #e1e5e9;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.025);
}

.cv-language-flag {
    display: flex;
    flex: 0 0 2.65rem;
    width: 2.65rem;
    height: 2.65rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e5e9;
    border-radius: 50%;
    background: #f7f9fb;
    font-size: 1.55rem;
    line-height: 1;
    overflow: hidden;
}

.cv-language-copy { min-width: 0; }

.cv-language-name {
    color: #1f2328;
    font-size: .98rem;
    line-height: 1.3;
    font-weight: 720;
}

.cv-language-level {
    margin-top: .16rem;
    color: #626b75;
    font-size: .82rem;
    line-height: 1.35;
}

.cv-language-item--editor {
    margin-bottom: .55rem;
}

.block-editor-block-list__block[data-type="cv/language"] {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .cv-languages-inner { grid-template-columns: 1fr; }
}


/* Professional profile sections v1.12.0 --------------------------------- */
.cv-profile-section-intro {
    margin: 0 0 1rem;
    color: #5f6670;
    font-size: .92rem;
    line-height: 1.55;
}

.cv-licenses-inner,
.cv-projects-inner,
.cv-organizations-inner,
.cv-trust-positions-inner,
.cv-skills-inner { display: grid; gap: .7rem; }

.cv-profile-card {
    display: flex;
    gap: .85rem;
    min-width: 0;
    padding: .9rem 1rem;
    border: 1px solid #e1e5e9;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.025);
}
.cv-profile-card:hover { border-color: #cbd5df; box-shadow: 0 3px 12px rgba(0,0,0,.045); }
.cv-profile-card-main { min-width: 0; flex: 1; }
.cv-profile-card-icon {
    display: flex; flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem;
    align-items: center; justify-content: center;
    border: 1px solid #cfe0ef; border-radius: 8px;
    background: #eef6fc; color: #0a66c2; font-size: 1.15rem; font-weight: 800;
}
.cv-profile-card-icon--letters { font-size: .65rem; letter-spacing: .04em; }
.cv-profile-card h3 { margin: 0; color: #1f2328; font-size: .98rem; line-height: 1.3; font-weight: 730; }
.cv-profile-card-kicker {
    margin: 0 0 .28rem; color: #0a66c2; font-size: .69rem; line-height: 1.2;
    font-weight: 750; letter-spacing: .025em; text-transform: uppercase;
}
.cv-profile-card-meta { display: flex; flex-wrap: wrap; gap: .2rem .65rem; margin-top: .3rem; color: #65707b; font-size: .79rem; line-height: 1.35; }
.cv-profile-card-meta > * + *::before { content: '·'; margin-right: .65rem; color: #9aa3ac; }
.cv-profile-card p { margin: .48rem 0 0; color: #424950; font-size: .88rem; line-height: 1.55; }
.cv-profile-card-link { display: inline-flex; margin-top: .5rem; color: #0a66c2; font-size: .82rem; font-weight: 700; text-decoration: none; }
.cv-profile-card-link:hover { text-decoration: underline; }
.cv-license-issuer, .cv-organization-role, .cv-trust-organization { margin-top: .16rem; color: #505963; font-size: .86rem; line-height: 1.4; }
.cv-license-id, .cv-project-collaborators { margin-top: .38rem; color: #6c757d; font-size: .78rem; line-height: 1.4; }
.cv-license-id:not(:empty)::before { content: 'ID: '; font-weight: 650; }
.cv-project-collaborators:not(:empty)::before { content: 'Samarbejde: '; font-weight: 650; }

.cv-skill-group { padding: .2rem 0 .45rem; border: 0; border-radius: 0; background: transparent; }
.cv-skill-group-heading { margin: 0 0 .65rem; color: #1f2328; font-size: .94rem; line-height: 1.3; font-weight: 720; }
.cv-skill-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.cv-skill-chip {
    display: inline-flex; align-items: center; min-height: 1.9rem; padding: .32rem .7rem;
    border: 1px solid #cfe0ef; border-radius: 999px; background: #eef6fc;
    color: #095aa9; font-size: .8rem; line-height: 1.15; font-weight: 680;
}
.cv-skill-group--editor { border: 0; }
.block-editor-block-list__block[data-type="cv/skill-item"] { display: inline-block; width: auto; margin: .15rem; }

@media (min-width: 760px) {
    .cv-licenses-inner > .cv-profile-card,
    .cv-organizations-inner > .cv-profile-card { min-height: 5.2rem; }
}


/* Compact license / certification grid v1.12.1 ------------------------- */
.cv-licenses-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}
.cv-licenses-inner > .cv-license-item {
    min-height: 0;
    padding: .72rem .78rem;
    gap: .65rem;
    align-items: flex-start;
}
.cv-licenses-inner > .cv-license-item .cv-profile-card-icon {
    flex-basis: 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1rem;
}
.cv-licenses-inner > .cv-license-item h3 {
    font-size: .9rem;
    line-height: 1.25;
}
.cv-licenses-inner > .cv-license-item .cv-license-issuer {
    font-size: .8rem;
    line-height: 1.3;
}
.cv-licenses-inner > .cv-license-item .cv-profile-card-meta,
.cv-licenses-inner > .cv-license-item .cv-license-id {
    font-size: .73rem;
}
.cv-licenses-inner > .cv-license-item .cv-profile-card-link {
    margin-top: .38rem;
    font-size: .76rem;
}

@media (max-width: 980px) {
    .cv-licenses-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cv-licenses-inner { grid-template-columns: 1fr; }
    .cv-licenses-inner > .cv-license-item { padding: .82rem .88rem; }
}

/* Compact organizations / memberships grid v1.12.2 ---------------------- */
.cv-organizations-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}
.cv-organizations-inner > .cv-organization-item {
    min-height: 0;
    padding: .72rem .78rem;
    gap: .65rem;
    align-items: flex-start;
}
.cv-organizations-inner > .cv-organization-item .cv-profile-card-icon {
    flex: 0 0 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
}
.cv-organizations-inner > .cv-organization-item h3 {
    font-size: .9rem;
    line-height: 1.25;
}
.cv-organizations-inner > .cv-organization-item .cv-profile-card-kicker {
    margin-bottom: .2rem;
    font-size: .64rem;
}
.cv-organizations-inner > .cv-organization-item .cv-organization-role {
    font-size: .8rem;
    line-height: 1.3;
}
.cv-organizations-inner > .cv-organization-item .cv-profile-card-meta {
    margin-top: .22rem;
    font-size: .73rem;
}
.cv-organizations-inner > .cv-organization-item .cv-organization-description {
    margin-top: .38rem;
    font-size: .8rem;
    line-height: 1.42;
}
.cv-organizations-inner > .cv-organization-item .cv-profile-card-link {
    margin-top: .38rem;
    font-size: .76rem;
}
.cv-organization-logo-wrap {
    overflow: hidden;
    padding: .18rem;
    border-color: #dfe3e7;
    background: #fff;
}
.cv-organization-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}
.cv-organization-logo-preview {
    display: flex;
    width: 72px;
    height: 72px;
    margin: 0 0 .7rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    background: #fff;
}
.cv-organization-logo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 980px) {
    .cv-organizations-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cv-organizations-inner { grid-template-columns: 1fr; }
    .cv-organizations-inner > .cv-organization-item { padding: .82rem .88rem; }
}
/* Compact trust positions / committees grid v1.12.3 ---------------------- */
.cv-trust-positions-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}
.cv-trust-positions-inner > .cv-trust-position-item {
    min-height: 0;
    padding: .72rem .78rem;
    gap: .6rem;
    align-items: flex-start;
}
.cv-trust-positions-inner > .cv-trust-position-item h3 {
    font-size: .9rem;
    line-height: 1.25;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-profile-card-kicker {
    margin-bottom: .2rem;
    font-size: .64rem;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-trust-organization {
    font-size: .8rem;
    line-height: 1.3;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-profile-card-meta {
    margin-top: .22rem;
    gap: .14rem .48rem;
    font-size: .73rem;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-profile-card-meta > * + *::before {
    margin-right: .48rem;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-trust-duration {
    color: #3f7c6b;
    font-weight: 720;
}
.cv-trust-positions-inner > .cv-trust-position-item .cv-trust-description {
    margin-top: .38rem;
    font-size: .8rem;
    line-height: 1.42;
}

@media (max-width: 980px) {
    .cv-trust-positions-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cv-trust-positions-inner { grid-template-columns: 1fr; }
    .cv-trust-positions-inner > .cv-trust-position-item { padding: .82rem .88rem; }
}


/* Trust positions grid robustness v1.12.4 -------------------------------- */
.cv-trust-positions.cv-contentblock .cv-contentblock-inner.cv-trust-positions-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .65rem;
    align-items: stretch;
}
.cv-trust-positions.cv-contentblock .cv-trust-positions-inner > .cv-profile-section-intro {
    grid-column: 1 / -1;
}
.cv-trust-positions.cv-contentblock .cv-trust-positions-inner > .cv-trust-position-item {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
}
@media (max-width: 980px) {
    .cv-trust-positions.cv-contentblock .cv-contentblock-inner.cv-trust-positions-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .cv-trust-positions.cv-contentblock .cv-contentblock-inner.cv-trust-positions-inner {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Compact projects grid v1.12.5 ----------------------------------------- */
.cv-projects.cv-contentblock .cv-contentblock-inner.cv-projects-inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .65rem;
    align-items: stretch;
}
.cv-projects.cv-contentblock .cv-projects-inner > .cv-profile-section-intro {
    grid-column: 1 / -1;
}
.cv-projects.cv-contentblock .cv-projects-inner > .cv-project-item {
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: .72rem .78rem;
    gap: .6rem;
    align-items: flex-start;
}
.cv-projects-inner > .cv-project-item h3 {
    font-size: .9rem;
    line-height: 1.25;
}
.cv-projects-inner > .cv-project-item .cv-profile-card-kicker {
    margin-bottom: .2rem;
    font-size: .64rem;
}
.cv-projects-inner > .cv-project-item .cv-profile-card-meta {
    margin-top: .22rem;
    gap: .14rem .48rem;
    font-size: .73rem;
}
.cv-projects-inner > .cv-project-item .cv-profile-card-meta > * + *::before {
    margin-right: .48rem;
}
.cv-projects-inner > .cv-project-item .cv-project-description {
    margin-top: .38rem;
    font-size: .8rem;
    line-height: 1.42;
}
.cv-projects-inner > .cv-project-item .cv-project-collaborators {
    margin-top: .32rem;
    font-size: .73rem;
    line-height: 1.35;
}
.cv-projects-inner > .cv-project-item .cv-profile-card-link {
    margin-top: .38rem;
    font-size: .76rem;
}
@media (max-width: 980px) {
    .cv-projects.cv-contentblock .cv-contentblock-inner.cv-projects-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .cv-projects.cv-contentblock .cv-contentblock-inner.cv-projects-inner {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .cv-projects-inner > .cv-project-item { padding: .82rem .88rem; }
}


/* Expandable projects + publications v1.12.6 ---------------------------- */
.cv-project-item--collapsible {
    position: relative;
    cursor: pointer;
    padding-right: 2.2rem !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.cv-project-item--collapsible::after {
    content: '⌄';
    position: absolute;
    top: .72rem;
    right: .78rem;
    color: #6b7785;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    transform-origin: center;
    transition: transform .18s ease, color .18s ease;
}
.cv-project-item--collapsible:hover::after,
.cv-project-item--collapsible:focus-visible::after { color: #0a66c2; }
.cv-project-item--collapsible:focus-visible {
    outline: 2px solid rgba(10,102,194,.28);
    outline-offset: 2px;
}
.cv-project-item--expanded::after { transform: rotate(180deg); }
.cv-project-item--expanded { border-color: #c8d9e8; box-shadow: 0 4px 14px rgba(0,0,0,.055); }
.cv-project-detail[hidden] { display: none !important; }
.cv-project-context,
.cv-project-supervisor {
    margin-top: .34rem;
    color: #59636e;
    font-size: .75rem;
    line-height: 1.4;
}
.cv-project-context:not(:empty)::before { content: 'Sammenhæng: '; font-weight: 700; color: #3f4852; }
.cv-project-supervisor:not(:empty)::before { content: 'Vejleder: '; font-weight: 700; color: #3f4852; }

.cv-projects.cv-contentblock .cv-projects-inner > .cv-publication-item {
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: .72rem .78rem;
    gap: .6rem;
    align-items: flex-start;
}
.cv-publication-reference {
    color: #252a30;
    font-size: .84rem;
    line-height: 1.43;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.cv-publication-item .cv-profile-card-link { margin-top: .42rem; font-size: .76rem; }
@media (max-width: 640px) {
    .cv-projects-inner > .cv-publication-item { padding: .82rem .88rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cv-project-item--collapsible,
    .cv-project-item--collapsible::after { transition: none; }
}


/* Publications list below project cards v1.12.8 -------------------------- */
.cv-projects.cv-contentblock .cv-projects-inner > .cv-publications-section {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: .55rem;
    padding-top: .8rem;
    border-top: 1px solid #e2e5e8;
}
.cv-publications-heading {
    margin: 0 0 .45rem;
    color: #1f2328;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}
.cv-publications-list {
    margin: 0;
    padding-left: 1.25rem;
}
.cv-publications-list-item {
    margin: .28rem 0;
    padding-left: .1rem;
    color: #4f5964;
}
.cv-publications-list-item::marker { color: #0a66c2; }
.cv-publications-list .cv-publication-item {
    display: block;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cv-publications-list .cv-publication-item .cv-profile-card-main { display: block; }
.cv-publications-list .cv-publication-type {
    display: inline;
    margin: 0 .35rem 0 0;
    color: #687480;
    font-size: .71rem;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}
.cv-publications-list .cv-publication-type::after { content: ' ·'; }
.cv-publications-list .cv-publication-reference {
    display: inline;
    color: #252a30;
    font-size: .84rem;
    line-height: 1.45;
    font-weight: 500;
}
.cv-publications-list .cv-publication-link {
    display: inline;
    margin: 0 0 0 .35rem;
    font-size: .78rem;
    white-space: nowrap;
}

/* Media profile / chronological timeline ------------------------------ */
/* The media timeline is designed as an inner content block: no outer card or visible section heading. */
.cv-media.cv-contentblock {
    margin-bottom: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.cv-media.cv-contentblock > .cv-media-heading {
    display: none;
}
.cv-media.cv-contentblock .cv-contentblock-inner.cv-media-inner {
    display: block;
}
.cv-media.cv-contentblock .cv-media-inner > .cv-media-intro {
    margin-bottom: .75rem;
}
.cv-media-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0 0 1rem;
}
.cv-media-filter {
    border: 1px solid #d7dde3;
    border-radius: 999px;
    background: #fff;
    color: #4b5560;
    padding: .38rem .75rem;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}
.cv-media-filter:hover { border-color: #aebbc7; color: #0a66c2; }
.cv-media-filter.is-active { background: #eaf3fb; border-color: #9fc4e5; color: #075aab; }

.cv-media-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.cv-media-year-group {
    display: grid;
    grid-template-columns: 4.7rem minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
}
.cv-media-year-group[hidden] { display: none !important; }
.cv-media-year {
    margin: .05rem 0 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #24323f;
    text-align: right;
    letter-spacing: -.015em;
}
.cv-media-year-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding-left: 1.25rem;
}
.cv-media-year-items::before {
    content: '';
    position: absolute;
    left: .28rem;
    top: .7rem;
    bottom: .7rem;
    width: 2px;
    border-radius: 2px;
    background: #dbe5ee;
}
.cv-media-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .72rem;
    padding: .85rem .9rem;
    min-width: 0;
    border-color: #dfe5ea;
}
.cv-media-year-items > .cv-media-item::before {
    content: '';
    position: absolute;
    left: -1.17rem;
    top: 1.22rem;
    width: .62rem;
    height: .62rem;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #0a66c2;
    box-sizing: border-box;
    z-index: 1;
}
.cv-media-item[hidden] { display: none !important; }
.cv-media-badge {
    flex: 0 0 2.35rem;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: .55rem;
    display: grid;
    place-items: center;
    background: #edf3f8;
    border: 1px solid #dce6ef;
    color: #0a66c2;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
}
.cv-media-label-row { display: flex; flex-wrap: wrap; gap: .38rem; margin-bottom: .34rem; }
.cv-media-relation,
.cv-media-format {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: .12rem .43rem;
    border-radius: 999px;
    font-size: .67rem;
    line-height: 1.2;
    font-weight: 760;
}
.cv-media-relation { background: #eaf3fb; color: #075aab; }
.cv-media-format { background: #f1f3f5; color: #58616a; }
.cv-media-item h3 { font-size: .94rem; line-height: 1.32; }
.cv-media-meta { margin-top: .35rem; }
.cv-media-description { margin: .55rem 0 0 !important; }
.cv-media-detail { margin-top: .2rem; }
.cv-media-item--collapsible { cursor: pointer; padding-right: 2.2rem; }
.cv-media-item--collapsible::after {
    content: '⌄';
    position: absolute;
    right: .8rem;
    top: .8rem;
    color: #697582;
    font-size: 1.05rem;
    line-height: 1;
    transition: transform .18s ease, color .18s ease;
}
.cv-media-item--collapsible:hover::after,
.cv-media-item--collapsible:focus-visible::after { color: #0a66c2; }
.cv-media-item--expanded::after { transform: rotate(180deg); }
.cv-media-item--expanded { border-color: #c8d9e8; box-shadow: 0 4px 14px rgba(0,0,0,.055); }
.cv-media-detail[hidden] { display: none !important; }

@media (max-width: 720px) {
    .cv-media-year-group {
        grid-template-columns: 1fr;
        row-gap: .5rem;
    }
    .cv-media-year {
        text-align: left;
        padding-left: .1rem;
        font-size: 1rem !important;
    }
    .cv-media-year-items { padding-left: 1.05rem; }
    .cv-media-year-items::before { left: .18rem; }
    .cv-media-year-items > .cv-media-item::before { left: -1.02rem; }
    .cv-media-item { padding: .8rem .82rem; }
    .cv-media-badge { flex-basis: 2.15rem; width: 2.15rem; height: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cv-media-item--collapsible::after { transition: none; }
}
/* Profile header social icons — based on WordPress core Social Icons proportions and brand colors. */
.cv-profileheader-socials {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.cv-profileheader-social-link {
    box-sizing: border-box;
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9999px;
    background: #eef1f4;
    color: #344054;
    text-decoration: none !important;
    line-height: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.08);
    overflow: hidden;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.cv-profileheader-social-link:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,.16);
    transform: scale(1.08);
    filter: brightness(1.04);
}

.cv-profileheader-social-link:focus-visible {
    outline: 3px solid rgba(10,102,194,.25);
    outline-offset: 2px;
}

.cv-profileheader-social-link svg {
    display: block;
    width: 24px;
    height: 24px;
    color: currentColor;
    fill: currentColor;
}

/* WordPress core Social Icon brand colors. */
.cv-profileheader-social-link--linkedin { background: #0d66c2; color: #fff; }
.cv-profileheader-social-link--bluesky { background: #0a7aff; color: #fff; }
/* Mastodon: use a WordPress-style Mastodon icon image so it matches the core Social Icons look.
   CSS-only to preserve saved Hero Header markup. */
.cv-profileheader-social-link--mastodon {
    background: transparent;
    color: #fff;
    position: relative;
}

.cv-profileheader-social-link--mastodon svg {
    display: none;
}

.cv-profileheader-social-link--mastodon::before {
    content: "";
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("data:image/png;base64,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");
}

.cv-profileheader-social-link--threads { background: #000; color: #fff; }
.cv-profileheader-social-link--x { background: #000; color: #fff; }
.cv-profileheader-social-link--instagram { background: #f00075; color: #fff; }
.cv-profileheader-social-link--facebook { background: #0866ff; color: #fff; }
.cv-profileheader-social-link--github { background: #24292d; color: #fff; }
.cv-profileheader-social-link--youtube { background: #f00; color: #fff; }
.cv-profileheader-social-link--website { background: #eef1f4; color: #344054; }

/* Custom networks keep their supplied round artwork. */
.cv-profileheader-social-link--eurosky,
.cv-profileheader-social-link--wsocial {
    background: #fff;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

.cv-profileheader-social-link img.cv-social-badge {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    object-fit: cover;
}

.cv-social-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 520px) {
    .cv-profileheader-actions { gap: 8px; }
    .cv-profileheader-social-link {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .cv-profileheader-social-link svg {
        width: 22px;
        height: 22px;
    }
    .cv-profileheader-social-link img.cv-social-badge {
        width: 36px;
        height: 36px;
    }
}

/* Expandable CV introduction */
.cv-intro-short,
.cv-intro-expanded-content {
    color: #3c3c3c;
    line-height: 1.62;
}

/* Treat Enter-separated RichText lines as normal paragraphs. */
.cv-intro-short p,
.cv-intro-expanded-content p {
    margin: 0 0 .78em;
}

.cv-intro-short p:last-child,
.cv-intro-expanded-content p:last-child {
    margin-bottom: 0;
}

/* On the public page, the expanded version replaces the short version. */
.cv-introduction.is-expanded:not(.cv-introduction--editor) .cv-intro-short {
    display: none;
}

.cv-intro-short > :first-child,
.cv-intro-expanded-content > :first-child { margin-top: 0; }
.cv-intro-short > :last-child,
.cv-intro-expanded-content > :last-child { margin-bottom: 0; }

.cv-intro-expanded {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows .24s ease, opacity .2s ease, margin-top .24s ease;
}

.cv-intro-expanded-inner {
    min-height: 0;
    overflow: hidden;
}

.cv-introduction.is-expanded .cv-intro-expanded {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 0;
}

.cv-intro-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    padding: 7px 13px;
    border: 1px solid #b7cee6;
    border-radius: 999px;
    background: #fff;
    color: var(--cv-blue);
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.cv-intro-toggle:hover {
    border-color: var(--cv-blue);
    background: var(--cv-blue-soft);
    color: var(--cv-blue-dark);
}

.cv-intro-toggle:focus-visible {
    outline: 3px solid rgba(10,102,194,.24);
    outline-offset: 2px;
}

.cv-intro-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .2s ease;
}

.cv-introduction.is-expanded .cv-intro-toggle-icon {
    transform: rotate(180deg) translateY(1px);
}

/* Keep both fields clearly visible while editing. */
.cv-introduction--editor .cv-intro-expanded {
    display: block;
    opacity: 1;
    margin-top: 0;
}

.cv-intro-editor-field + .cv-intro-editor-field {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--cv-border);
}

.cv-intro-editor-label {
    margin: 0 0 7px;
    color: var(--cv-muted);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.cv-introduction--editor .cv-intro-short,
.cv-introduction--editor .cv-intro-expanded-content {
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid var(--cv-border);
    border-radius: 8px;
    background: #fff;
}

.cv-introduction--editor .cv-intro-toggle {
    pointer-events: none;
    opacity: .72;
}

@media (prefers-reduced-motion: reduce) {
    .cv-intro-expanded,
    .cv-intro-toggle-icon,
    .cv-intro-toggle { transition: none; }
}


/* Råd & udvalg – compact committee/workgroup list v1.15.0 -------------- */
.cv-councils-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.45rem;
    row-gap: 0;
}

.cv-councils-inner > .cv-profile-section-intro {
    grid-column: 1 / -1;
    margin-bottom: .3rem;
}


.cv-councils-inner > .cv-councils-filter {
    grid-column: 1 / -1;
    display: inline-flex;
    flex-wrap: wrap;
    gap: .38rem;
    margin: 0 0 .5rem;
}

.cv-councils-filter-button {
    appearance: none;
    border: 1px solid #d0dae4;
    background: #fff;
    color: #5d6874;
    border-radius: 999px;
    padding: .38rem .72rem;
    font-size: .78rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.cv-councils-filter-button:hover {
    border-color: #b8c7d6;
    color: #27445f;
    background: #f8fbfd;
}

.cv-councils-filter-button.is-active {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.cv-council-item[hidden] {
    display: none !important;
}


.cv-councils-inner > .cv-council-item {
    margin: 0 !important;
}

.cv-council-item {
    display: grid;
    grid-template-columns: 5.6rem minmax(0, 1fr);
    gap: .7rem;
    min-width: 0;
    padding: .66rem 0 .7rem;
    border-bottom: 1px solid #e8ebee;
}

.cv-council-period {
    min-width: 0;
    padding-top: .12rem;
    color: #536170;
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.35;
    white-space: normal;
}

.cv-council-body {
    position: relative;
    min-width: 0;
    padding-left: .82rem;
    border-left: 2px solid #dfe6ec;
}

.cv-council-body::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: .34rem;
    left: -5px;
    width: 6px;
    height: 6px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--cv-blue);
    box-shadow: 0 0 0 1px #bdd3e6;
}

.cv-council-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .28rem .45rem;
    min-width: 0;
}

.cv-council-name {
    min-width: 0;
    margin: 0;
    color: var(--cv-ink);
    font-size: .93rem;
    font-weight: 720;
    line-height: 1.3;
}

.cv-council-role {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: .12rem .42rem;
    border-radius: 999px;
    background: #edf5fb;
    color: #0a66c2;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .01em;
    line-height: 1.35;
}

.cv-council-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .2rem .42rem;
    margin-top: .16rem;
    color: #68717b;
    font-size: .77rem;
    line-height: 1.38;
}

.cv-council-type {
    color: #5a7892;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cv-council-organization:not(:empty)::before {
    content: "·";
    margin-right: .42rem;
    color: #a0a8b0;
}

.cv-council-description {
    margin: .34rem 0 0;
    color: #59616a;
    font-size: .8rem;
    line-height: 1.45;
}

.cv-council-item:hover .cv-council-name {
    color: #0a5ca9;
}

@media (max-width: 900px) {
    .cv-councils-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .cv-council-item { grid-template-columns: 4.8rem minmax(0, 1fr); gap: .55rem; }
    .cv-council-body { padding-left: .7rem; }
    .cv-council-name { font-size: .9rem; }
}


/* Editor preview only: filter controls are injected dynamically on frontend. */
.cv-councils-filter--editor .cv-councils-filter-button {
    cursor: default;
    pointer-events: none;
}


/* Udvalgte webprojekter v1.16.0 --------------------------------------- */
.cv-webportfolio-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.cv-webportfolio-inner > .cv-profile-section-intro {
    grid-column: 1 / -1;
    margin-bottom: .05rem;
}

.cv-webportfolio-inner > .cv-webproject-item {
    margin: 0 !important;
}

.cv-webproject-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe3e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.035);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.cv-webproject-item:hover {
    transform: translateY(-1px);
    border-color: #c8d6e3;
    box-shadow: 0 5px 16px rgba(0,0,0,.07);
}

.cv-webproject-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(145deg, #f1f5f8, #e7edf2);
    border-bottom: 1px solid #e6e9ec;
}

.cv-webproject-link,
.cv-webproject-image-button {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cv-webproject-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .22s ease, filter .22s ease;
}

.cv-webproject-link:hover .cv-webproject-image,
.cv-webproject-item:hover .cv-webproject-image {
    transform: scale(1.012);
    filter: saturate(1.03);
}

.cv-webproject-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 0;
    background: #eef3f7;
    color: #667789;
    font-size: .84rem;
    font-weight: 650;
    cursor: pointer;
}

.cv-webproject-image-placeholder--saved { cursor: default; }
.cv-webproject-image-placeholder .dashicons { width: 24px; height: 24px; font-size: 24px; }

.cv-webproject-content {
    padding: .78rem .88rem .86rem;
}

.cv-webproject-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .24rem .48rem;
    margin-bottom: .3rem;
    color: #65717d;
    font-size: .73rem;
    line-height: 1.35;
}

.cv-webproject-period {
    font-weight: 700;
    color: #4d6376;
}

.cv-webproject-role:not(:empty)::before {
    content: "·";
    margin-right: .48rem;
    color: #a1aab2;
}

.cv-webproject-title {
    margin: 0;
    color: var(--cv-ink);
    font-size: 1rem;
    font-weight: 760;
    line-height: 1.3;
}

.cv-webproject-description {
    margin: .34rem 0 0;
    color: #59616a;
    font-size: .83rem;
    line-height: 1.48;
}

.cv-webproject-textlink {
    display: inline-flex;
    margin-top: .52rem;
    color: var(--cv-blue);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.cv-webproject-textlink:hover { text-decoration: underline; }

@media (max-width: 760px) {
    .cv-webportfolio-inner { grid-template-columns: minmax(0, 1fr); }
}


/* Sociale profiler / link directory v1.18.0 ---------------------------- */
.cv-social-directory-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .48rem;
}

.cv-social-directory-inner > .cv-profile-section-intro {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: .2rem;
}

.cv-social-directory-inner > .cv-social-directory-item {
    margin: 0 !important;
}

.cv-social-directory-item {
    box-sizing: border-box;
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: .42rem;
    padding: .45rem .68rem;
    border: 1px solid #d9e0e7;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: .82rem;
    font-weight: 680;
    line-height: 1.15;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
    transition: transform .14s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease, color .14s ease;
}

.cv-social-directory-item:hover {
    border-color: #a9c9e7;
    background: #f7fbff;
    color: #0a5ca9;
    box-shadow: 0 3px 9px rgba(15,23,42,.08);
    transform: translateY(-1px);
}

.cv-social-directory-item:focus-visible {
    outline: 3px solid rgba(10,102,194,.22);
    outline-offset: 2px;
}

.cv-social-directory-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    line-height: 0;
}

.cv-social-directory-icon svg,
.cv-social-directory-icon img {
    display: block;
    width: 18px;
    height: 18px;
    max-width: 18px;
    max-height: 18px;
    object-fit: contain;
}

.cv-social-directory-item--linkedin .cv-social-directory-icon { color: #0a66c2; }
.cv-social-directory-item--bluesky .cv-social-directory-icon { color: #087ef5; }
.cv-social-directory-item--mastodon .cv-social-directory-icon { color: #6364ff; }
.cv-social-directory-item--threads .cv-social-directory-icon,
.cv-social-directory-item--x .cv-social-directory-icon,
.cv-social-directory-item--github .cv-social-directory-icon { color: #111; }
.cv-social-directory-item--instagram .cv-social-directory-icon { color: #d62976; }
.cv-social-directory-item--facebook .cv-social-directory-icon { color: #1877f2; }
.cv-social-directory-item--youtube .cv-social-directory-icon { color: #f00; }
.cv-social-directory-item--wordpress .cv-social-directory-icon { color: #21759b; }
.cv-social-directory-item--reddit .cv-social-directory-icon { color: #ff4500; }
.cv-social-directory-item--tiktok .cv-social-directory-icon { color: #111; }
.cv-social-directory-item--telegram .cv-social-directory-icon { color: #229ed9; }
.cv-social-directory-item--tumblr .cv-social-directory-icon { color: #35465c; }
.cv-social-directory-item--medium .cv-social-directory-icon { color: #111; }

.cv-social-directory-item--eurosky .cv-social-directory-icon,
.cv-social-directory-item--wsocial .cv-social-directory-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.cv-social-directory-item--eurosky .cv-social-directory-icon img,
.cv-social-directory-item--wsocial .cv-social-directory-icon img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.cv-social-directory-name {
    min-width: 0;
    white-space: nowrap;
}

.cv-social-directory-arrow {
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1;
    transition: color .14s ease, transform .14s ease;
}

.cv-social-directory-item:hover .cv-social-directory-arrow {
    color: #0a66c2;
    transform: translate(1px,-1px);
}

.cv-social-directory--no-icons .cv-social-directory-icon {
    display: none;
}

.cv-social-directory-item--editor {
    cursor: default;
}

@media (max-width: 520px) {
    .cv-social-directory-inner { gap: .42rem; }
    .cv-social-directory-item { padding: .43rem .62rem; font-size: .8rem; }
}


/* Activity and LinkedIn-inspired WordPress posts v2.1.0 ----------------- */
.cv-activity-inner { padding: 0; }
.cv-activity-list { display: grid; gap: 0; }
.cv-activity .cv-social-post-card--compact {
    border: 0;
    border-bottom: 1px solid #e8ebee;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}
.cv-activity .cv-social-post-card--compact:last-child { border-bottom: 0; }
.cv-activity-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-top: .55rem;
    padding: .55rem .75rem .1rem;
    color: #0a66c2;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none !important;
}
.cv-activity-all:hover { color: #004182; }
.cv-social-post-card {
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cv-border);
    border-radius: var(--cv-radius);
    background: var(--cv-card);
    box-shadow: var(--cv-shadow);
}
.cv-social-post-card--compact { padding: .78rem 0 .88rem; }
.cv-social-post-header {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem 1.1rem .58rem;
}
.cv-social-post-card--compact .cv-social-post-header { padding: 0 0 .45rem; gap: .58rem; }
.cv-social-post-avatar {
    display: block;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border-radius: 50%;
    background: #eef1f4;
}
.cv-social-post-card--compact .cv-social-post-avatar { width: 34px; height: 34px; }
.cv-social-post-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-social-post-author { display: grid; min-width: 0; line-height: 1.2; }
.cv-social-post-author strong { color: var(--cv-ink); font-size: .88rem; font-weight: 720; }
.cv-social-post-author time { margin-top: .16rem; color: #737b84; font-size: .73rem; }
.cv-social-post-copy { padding: 0 1.1rem .9rem; }
.cv-social-post-card--compact .cv-social-post-copy { padding: 0; }
.cv-social-post-title { margin: 0 0 .36rem; color: var(--cv-ink); font-size: 1.03rem; font-weight: 740; line-height: 1.32; }
.cv-social-post-card:not(.cv-social-post-card--compact) .cv-social-post-title { font-size: 1.12rem; }
.cv-social-post-title a { color: inherit; text-decoration: none !important; }
.cv-social-post-title a:hover { color: #0a66c2; }
.cv-social-post-excerpt { margin: 0; color: #40464d; font-size: .88rem; line-height: 1.52; }
.cv-social-post-card--compact .cv-social-post-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: .82rem;
    line-height: 1.45;
}
.cv-post-url-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    color: inherit !important;
    background: #f4f6f8;
    border-top: 1px solid #e2e6ea;
    text-decoration: none !important;
    overflow: hidden;
}
.cv-post-url-preview-image { display: block; aspect-ratio: 1.91 / 1; overflow: hidden; background: #e8ebee; }
.cv-post-url-preview-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .18s ease; }
.cv-post-url-preview:hover .cv-post-url-preview-image img { transform: scale(1.012); }
.cv-post-url-preview-copy { display: grid; gap: .13rem; padding: .68rem 2.5rem .72rem .95rem; min-width: 0; }
.cv-post-url-preview-domain { color: #6b747d; font-size: .7rem; line-height: 1.2; }
.cv-post-url-preview-title { color: #252a2f; font-size: .88rem; line-height: 1.3; }
.cv-post-url-preview-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #606870;
    font-size: .76rem;
    line-height: 1.36;
}
.cv-post-url-preview-arrow { position: absolute; right: .9rem; bottom: .72rem; color: #0a66c2; font-size: .9rem; font-weight: 700; }
.cv-post-url-preview--compact {
    grid-template-columns: minmax(0,1fr);
    margin-top: .62rem;
    border: 1px solid #e0e5ea;
    border-radius: 8px;
    background: #f7f8f9;
}
.cv-post-url-preview--compact.cv-post-url-preview--has-image { grid-template-columns: 82px minmax(0,1fr); }
.cv-post-url-preview--compact .cv-post-url-preview-image { aspect-ratio: auto; min-height: 62px; }
.cv-post-url-preview--compact .cv-post-url-preview-copy { align-content: center; padding: .47rem 2rem .47rem .65rem; }
.cv-post-url-preview--compact .cv-post-url-preview-title {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    font-size: .77rem;
}
.cv-post-url-preview--compact .cv-post-url-preview-domain { font-size: .65rem; }
.cv-post-url-preview--compact .cv-post-url-preview-arrow { right: .65rem; bottom: .48rem; font-size: .75rem; }
.cv-social-post-featured { display: block; overflow: hidden; background: #eef1f4; }
.cv-social-post-featured img { width: 100%; height: auto; max-height: 520px; display: block; object-fit: cover; }
.cv-social-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem 1.1rem;
    border-top: 1px solid #e7eaed;
}
.cv-social-post-readmore { color: #0a66c2; font-size: .8rem; font-weight: 700; text-decoration: none !important; }
.cv-social-post-categories { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.cv-social-post-categories span { padding: .15rem .45rem; border-radius: 999px; background: #eef3f7; color: #65717c; font-size: .67rem; font-weight: 650; }
.cv-blog-feed { width: 100%; min-width: 0; }
.cv-blog-feed-title { margin: 0 0 1rem; color: var(--cv-ink); font-size: 1.55rem; line-height: 1.2; font-weight: 760; }
.cv-social-post-feed { display: grid; gap: 1rem; }
.cv-blog-feed-empty { padding: 1.2rem; border: 1px solid var(--cv-border); border-radius: var(--cv-radius); background: #fff; color: var(--cv-muted); }
.cv-blog-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .38rem; margin: 1.3rem 0 1.8rem; }
.cv-blog-pagination a, .cv-blog-pagination .current {
    display: inline-flex;
    min-width: 36px;
    min-height: 36px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: .38rem .65rem;
    border: 1px solid var(--cv-border);
    border-radius: 999px;
    background: #fff;
    color: #4d5964;
    font-size: .77rem;
    font-weight: 680;
    text-decoration: none !important;
}
.cv-blog-pagination .current { border-color: #0a66c2; background: #0a66c2; color: #fff; }
.cv-blog-feed-editor-note, .cv-activity-editor-placeholder {
    padding: 1rem;
    border: 1px dashed #b8c7d6;
    border-radius: 8px;
    background: #f7fafc;
    color: #4d5964;
}
.cv-blog-feed-editor-note p { margin: .3rem 0 0; }
@media (max-width: 520px) {
    .cv-social-post-header { padding: .88rem .9rem .52rem; }
    .cv-social-post-copy { padding: 0 .9rem .8rem; }
    .cv-social-post-footer { padding: .65rem .9rem; align-items: flex-start; flex-direction: column; }
    .cv-social-post-categories { justify-content: flex-start; }
    .cv-post-url-preview--compact.cv-post-url-preview--has-image { grid-template-columns: 68px minmax(0,1fr); }
}
