/* #last edited 2026-08-03T00:24:29.3021548+01:00 */

.tld-author-box,
.tld-author-profile {
    --tld-author-ink: #252522;
    --tld-author-line: rgba(37, 37, 34, 0.2);
    --tld-author-accent: #9dbdd4;
    color: var(--tld-author-ink);
}

.tld-author-box {
    display: grid;
    grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
    width: min(100% - 32px, 1160px);
    margin: clamp(56px, 8vw, 104px) auto 0;
    padding: clamp(28px, 4vw, 52px) 0;
    border-block: 1px solid var(--tld-author-line);
}

.tld-author-box--no-image {
    grid-template-columns: minmax(0, 760px);
}

.tld-author-box__portrait {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f3f5f8;
}

.tld-author-box__portrait img,
.tld-author-profile__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.82) contrast(1.02);
    transition: transform 500ms ease, filter 500ms ease;
}

.tld-author-box__portrait:hover img,
.tld-author-profile__portrait:hover img {
    transform: scale(1.025);
    filter: saturate(1) contrast(1.02);
}

.tld-author-box__eyebrow,
.tld-author-profile__eyebrow {
    margin: 0 0 10px;
    color: #577991;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tld-author-box__name {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.05;
}

.tld-author-box__name a,
.tld-author-box__link,
.tld-author-profile__link {
    color: inherit;
    text-decoration: none;
}

.tld-author-box__role,
.tld-author-profile__role {
    margin: 8px 0 20px;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

.tld-author-box__bio {
    max-width: 68ch;
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.tld-author-box__link,
.tld-author-profile__link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    font-weight: 700;
    transition: gap 180ms ease, color 180ms ease;
}

.tld-author-box__link:hover,
.tld-author-profile__link:hover {
    gap: 15px;
    color: #577991;
}

.tld-author-profile {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    min-height: calc(100svh - 112px);
    border-bottom: 1px solid var(--tld-author-line);
    background: #fff;
}

.tld-author-profile--no-image {
    grid-template-columns: minmax(0, 820px);
    justify-content: center;
    min-height: auto;
}

.tld-author-profile__portrait {
    min-height: 640px;
    overflow: hidden;
    background: #f3f5f8;
    animation: tld-author-image-in 700ms ease both;
}

.tld-author-profile__content {
    align-self: center;
    max-width: 780px;
    padding: clamp(56px, 8vw, 128px) clamp(28px, 7vw, 112px);
    animation: tld-author-copy-in 650ms 100ms ease both;
}

.tld-author-profile__content > h1 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.045em;
}

.tld-author-profile__bio {
    max-width: 66ch;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.75;
}

.tld-author-profile__bio p:last-child,
.tld-author-profile__credentials p:last-child {
    margin-bottom: 0;
}

.tld-author-profile__credentials,
.tld-author-profile__expertise {
    margin-top: clamp(28px, 4vw, 48px);
    padding-top: 24px;
    border-top: 1px solid var(--tld-author-line);
}

.tld-author-profile__credentials h2,
.tld-author-profile__expertise h2,
.tld-author-articles__heading {
    margin: 0 0 16px;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.tld-author-profile__expertise ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tld-author-profile__expertise li::before {
    content: '—';
    margin-right: 8px;
    color: var(--tld-author-accent);
}

.tld-author-profile__link {
    margin-top: 32px;
}

.tld-author-articles {
    width: min(100% - 32px, 1440px);
    margin-inline: auto;
    padding-block: clamp(56px, 8vw, 112px);
}

.tld-author-articles .wp-block-post-template {
    gap: clamp(28px, 4vw, 56px);
}

.tld-author-articles .wp-block-post {
    border-top: 1px solid var(--tld-author-line);
    padding-top: 18px;
    transition: transform 220ms ease;
}

.tld-author-articles .wp-block-post:hover {
    transform: translateY(-4px);
}

@keyframes tld-author-image-in {
    from { opacity: 0; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes tld-author-copy-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
    .tld-author-box,
    .tld-author-profile {
        grid-template-columns: 1fr;
    }

    .tld-author-box {
        gap: 24px;
        margin-top: 48px;
    }

    .tld-author-box__portrait {
        width: min(58vw, 220px);
    }

    .tld-author-profile {
        min-height: auto;
    }

    .tld-author-profile__portrait {
        min-height: 0;
        aspect-ratio: 4 / 4.6;
    }

    .tld-author-profile__content {
        padding: 48px 20px 64px;
    }

    .tld-author-profile__content > h1 {
        max-width: 100%;
        font-size: clamp(3rem, 16vw, 5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tld-author-profile__portrait,
    .tld-author-profile__content {
        animation: none;
    }

    .tld-author-box__portrait img,
    .tld-author-profile__portrait img,
    .tld-author-articles .wp-block-post {
        transition: none;
    }
}
