.yh-author-articles {
    --aa-ink: var(--brand-secondary, #163e32);
    --aa-accent: var(--brand-primary, #b08b47);
    --aa-muted: color-mix(in srgb, var(--aa-ink) 62%, white);
    --aa-line: color-mix(in srgb, var(--aa-ink) 14%, transparent);
    position: relative;
    isolation: isolate;
    padding: clamp(48px, 5vw, 76px) 0;
    overflow: hidden;
    color: var(--aa-ink);
    background: color-mix(in srgb, var(--brand-surface, #f5f2e8) 30%, white);
}

.yh-author-articles::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--aa-ink) 0 54%, var(--brand-line, #b08b47) 54% 61%, var(--aa-accent) 61%);
    opacity: .8;
}

.yh-author-articles::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-end: -145px;
    inset-block-start: 70px;
    width: 360px;
    height: 360px;
    border: 1px solid var(--aa-line);
    border-radius: 50% 50% 6px 6px;
    transform: rotate(45deg);
    opacity: .5;
    pointer-events: none;
}

.yh-author-articles__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 23px;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--aa-line);
}

.yh-author-articles__heading {
    max-width: 760px;
}

.yh-author-articles__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--aa-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.yh-author-articles__eyebrow i {
    width: 26px;
    height: 1px;
    background: currentColor;
}

.yh-author-articles__head h2 {
    margin: 9px 0 0;
    color: var(--aa-ink);
    font-size: clamp(2rem, 3.9vw, 3.65rem);
    font-weight: 800;
    line-height: 1.2;
}

.yh-author-articles__head p {
    margin: 10px 0 0;
    color: var(--aa-muted);
    font-size: 14px;
    line-height: 1.8;
}

.yh-author-articles__all {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    padding: 10px 0;
    color: var(--aa-ink);
    border-bottom: 1px solid var(--aa-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.yh-author-articles__all:hover,
.yh-author-articles__all:focus-visible {
    color: var(--aa-accent);
}

.yh-author-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.yh-author-article {
    display: grid;
    grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
    min-width: 0;
    min-height: 220px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--aa-line);
    transition: border-color .25s ease, transform .25s ease;
}

.yh-author-article:hover {
    border-color: color-mix(in srgb, var(--aa-accent) 55%, transparent);
    transform: translateY(-3px);
}

.yh-author-article__portrait-wrap {
    position: relative;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    background: color-mix(in srgb, var(--brand-surface, #f5f2e8) 72%, white);
}

.yh-author-article__portrait-wrap::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid color-mix(in srgb, var(--aa-ink) 18%, transparent);
    border-radius: 120px 120px 0 0;
    pointer-events: none;
}

.yh-author-article__ornament {
    position: absolute;
    inset: auto -40px -75px auto;
    width: 120px;
    height: 120px;
    border: 1px solid color-mix(in srgb, var(--aa-accent) 25%, transparent);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.yh-author-article__portrait,
.yh-author-article__portrait img {
    display: block;
    width: 100%;
    height: 100%;
}

.yh-author-article__portrait img {
    object-fit: cover;
    object-position: center 24%;
    filter: saturate(.82);
    transition: transform .6s ease;
}

.yh-author-article:hover .yh-author-article__portrait img {
    transform: scale(1.04);
}

.yh-author-article__initial {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--aa-ink);
    background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--aa-accent) 16%, transparent), transparent 64%);
    font-size: clamp(3.4rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.yh-author-article__index {
    position: absolute;
    z-index: 2;
    inset-block-start: 17px;
    inset-inline-start: 18px;
    color: var(--aa-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.yh-author-article__copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: clamp(15px, 1.4vw, 21px);
}

.yh-author-article__category {
    align-self: flex-start;
    margin-bottom: 8px;
    color: var(--aa-accent);
    font-size: 11px;
    font-weight: 800;
}

.yh-author-article__category::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 1px;
    margin-inline-end: 7px;
    vertical-align: middle;
    background: currentColor;
}

.yh-author-article h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: clamp(1.02rem, 1.25vw, 1.25rem);
    font-weight: 800;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.yh-author-article h3 a {
    color: var(--aa-ink);
    text-decoration: none;
}

.yh-author-article h3 a:hover,
.yh-author-article h3 a:focus-visible {
    color: var(--aa-accent);
}

.yh-author-article__byline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid var(--aa-line);
}

.yh-author-article__byline-mark {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: var(--aa-accent);
    border: 1px solid var(--aa-line);
    border-radius: 50%;
    font-size: 12px;
}

.yh-author-article__byline small,
.yh-author-article__byline em {
    display: block;
    color: var(--aa-muted);
    font-size: 10px;
    font-style: normal;
    line-height: 1.5;
}

.yh-author-article__byline a,
.yh-author-article__byline strong {
    display: block;
    color: var(--aa-ink);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yh-author-article__byline a:hover {
    color: var(--aa-accent);
}

.yh-author-article__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 9px;
}

.yh-author-article__foot a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--aa-accent);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.yh-author-article__foot a:hover,
.yh-author-article__foot a:focus-visible {
    color: var(--aa-ink);
}

@media (max-width: 1199.98px) {
    .yh-author-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .yh-author-articles__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .yh-author-articles {
        padding: 44px 0;
    }

    .yh-author-articles__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .yh-author-article {
        grid-template-columns: minmax(95px, 31%) minmax(0, 1fr);
        min-height: 190px;
    }

    .yh-author-article__copy {
        padding: 15px;
    }

    .yh-author-article h3 {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
        -webkit-line-clamp: 3;
    }

    .yh-author-article__byline {
        margin-top: 10px;
    }

    .yh-author-article__foot a span {
        display: none;
    }

    .yh-author-article__portrait-wrap::after {
        inset: 8px;
        border-radius: 70px 70px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yh-author-article,
    .yh-author-article__portrait img {
        transition: none;
    }
}
