.featured-posts-section.essay-spotlight {
    position: relative;
    display: block !important;
    overflow: hidden;
    min-height: 100svh;
    padding: 0;
}

.featured-posts-section.essay-spotlight .vertical-lines {
    z-index: 0;
}

.featured-posts-section.essay-spotlight .wide-container {
    position: relative;
    z-index: 2;
}

.featured-posts-section.essay-spotlight .essay-spotlight-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    pointer-events: none;
}

.featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-top: 34px;
    padding-right: max(56px, 4.2vw);
}

.featured-posts-section.essay-spotlight .essay-spotlight-kicker {
    margin: 0;
    opacity: 0.9;
}

.featured-posts-section.essay-spotlight .essay-spotlight-counter {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.12em;
    min-width: 4.8ch;
    padding-right: 10px;
    text-align: right;
    white-space: nowrap;
    opacity: 0.72;
    line-height: 1;
}

.featured-posts-section.essay-spotlight .essay-spotlight-grid {
    position: relative;
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);
    column-gap: clamp(52px, 4vw, 84px);
    align-items: center;
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 92px;
}

.featured-posts-section.essay-spotlight .essay-copy-column,
.featured-posts-section.essay-spotlight .essay-stage-column {
    position: relative;
    min-height: calc(100svh - 184px);
    display: flex;
    align-items: center;
}

.featured-posts-section.essay-spotlight .essay-copy-column {
    padding: 0 0 96px 0;
    z-index: 3;
}

.featured-posts-section.essay-spotlight .essay-copy-item {
    position: absolute;
    inset: 50% 0 auto 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 8px));
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.featured-posts-section.essay-spotlight .essay-copy-item.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
}

.featured-posts-section.essay-spotlight .essay-copy-title {
    margin: 0 0 22px;
    max-width: 8ch;
    font-size: clamp(56px, 5vw, 84px);
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.featured-posts-section.essay-spotlight .essay-copy-excerpt {
    margin: 0 0 42px;
    max-width: 37ch;
    opacity: 0.72;
    line-height: 1.55;
}

.featured-posts-section.essay-spotlight .essay-copy-meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.featured-posts-section.essay-spotlight .essay-meta-group {
    max-width: 37ch;
}

.featured-posts-section.essay-spotlight .essay-meta-label {
    margin: 0 0 10px;
}

.featured-posts-section.essay-spotlight .essay-meta-value {
    margin: 0;
    opacity: 1;
    color: color-mix(in srgb, var(--text-color) 60%, var(--background-color));
}

.featured-posts-section.essay-spotlight .essay-meta-value a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.featured-posts-section.essay-spotlight .essay-author-link {
    display: inline-flex;
}

.featured-posts-section.essay-spotlight .essay-author-link:hover,
.featured-posts-section.essay-spotlight .essay-author-link:hover .scramble-main {
    color: var(--text-color) !important;
}

.featured-posts-section.essay-spotlight .essay-copy-cta {
    margin-top: 36px;
}

.featured-posts-section.essay-spotlight .essay-spotlight-navigation {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    gap: 12px;
    z-index: 5;
}

.featured-posts-section.essay-spotlight .essay-stage-column {
    justify-content: stretch;
}

.featured-posts-section.essay-spotlight .essay-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    overflow: visible;
    --essay-active-left: 50%;
    --essay-wing-one-x: 230px;
    --essay-wing-two-x: 390px;
    --essay-wing-one-y: 10px;
    --essay-wing-two-y: 22px;
}

.featured-posts-section.essay-spotlight .essay-stage-card {
    position: absolute;
    top: 50%;
    left: var(--essay-active-left);
    width: min(31vw, 560px);
    aspect-ratio: 2 / 3;
    display: block;
    color: currentColor;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transform-origin: center center;
    transition: transform 0.55s var(--expo-transition), opacity 0.35s ease, filter 0.35s ease;
    z-index: 1;
}

.featured-posts-section.essay-spotlight .essay-stage-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--background-color) 72%, transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.featured-posts-section.essay-spotlight .essay-stage-card-inner,
.featured-posts-section.essay-spotlight .essay-stage-card picture,
.featured-posts-section.essay-spotlight .essay-stage-card img,
.featured-posts-section.essay-spotlight .essay-stage-placeholder {
    width: 100%;
    height: 100%;
}

.featured-posts-section.essay-spotlight .essay-stage-card-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 76px rgba(0, 0, 0, 0.12);
}

.featured-posts-section.essay-spotlight .essay-stage-card img {
    display: block;
    object-fit: cover;
}

.featured-posts-section.essay-spotlight .essay-stage-placeholder {
    background: rgba(0, 0, 0, 0.08);
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
    transform: translate(-50%, -50%) scale(1);
    filter: none;
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-next {
    opacity: 1;
    pointer-events: auto;
    z-index: 4;
    transform: translate(calc(-50% + var(--essay-wing-one-x)), calc(-50% + var(--essay-wing-one-y))) scale(0.9);
    filter: saturate(0.88) brightness(0.92);
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-next::after {
    opacity: 0.4;
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-far-next {
    opacity: 1;
    pointer-events: auto;
    z-index: 3;
    transform: translate(calc(-50% + var(--essay-wing-two-x)), calc(-50% + var(--essay-wing-two-y))) scale(0.8);
    filter: saturate(0.72) brightness(0.86);
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-far-next::after {
    opacity: 0.58;
}

.featured-posts-section.essay-spotlight .essay-stage-card.is-hidden {
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: translate(calc(-50% + var(--essay-wing-two-x) + 60px), calc(-50% + var(--essay-wing-two-y) + 24px)) scale(0.76);
}

.featured-posts-section.essay-spotlight .essay-stage-card:not(.is-active) {
    cursor: pointer;
}

@media screen and (max-width: 1380px) {
    .featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
        padding-right: max(52px, 4.8vw);
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-grid {
        grid-template-columns: 390px 1fr;
        column-gap: 44px;
    }

    .featured-posts-section.essay-spotlight .essay-copy-title {
        font-size: clamp(50px, 4.5vw, 74px);
    }

    .featured-posts-section.essay-spotlight .essay-stage {
        --essay-wing-one-x: 200px;
        --essay-wing-two-x: 330px;
    }
}

@media screen and (max-width: 1080px) {
    .featured-posts-section.essay-spotlight {
        min-height: auto;
        padding: 110px 0 48px;
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-top {
        top: 0;
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
        padding-top: 26px;
        padding-right: max(24px, 1.67vw);
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-grid {
        grid-template-columns: 1fr;
        row-gap: 34px;
        min-height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .featured-posts-section.essay-spotlight .essay-copy-column,
    .featured-posts-section.essay-spotlight .essay-stage-column {
        min-height: auto;
        display: block;
    }

    .featured-posts-section.essay-spotlight .essay-copy-column {
        order: 2;
        padding: 0 0 88px;
    }

    .featured-posts-section.essay-spotlight .essay-copy-item {
        position: relative;
        inset: auto;
        transform: translateY(8px);
    }

    .featured-posts-section.essay-spotlight .essay-copy-item.active {
        transform: translateY(0);
    }

    .featured-posts-section.essay-spotlight .essay-copy-title,
    .featured-posts-section.essay-spotlight .essay-copy-excerpt,
    .featured-posts-section.essay-spotlight .essay-meta-group {
        max-width: none;
    }

    .featured-posts-section.essay-spotlight .essay-stage-column {
        order: 1;
        min-height: 72vw;
    }

    .featured-posts-section.essay-spotlight .essay-stage {
        min-height: 72vw;
        --essay-active-left: 50%;
        --essay-wing-one-x: 16vw;
        --essay-wing-two-x: 28vw;
        --essay-wing-one-y: 2vw;
        --essay-wing-two-y: 4vw;
    }

    .featured-posts-section.essay-spotlight .essay-stage-card {
        width: min(56vw, 460px);
    }
}

@media screen and (max-width: 767px) {
    .featured-posts-section.essay-spotlight {
        padding: 102px 0 36px;
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
        padding-top: 18px;
    }

    .featured-posts-section.essay-spotlight .essay-spotlight-counter {
        min-width: 4.4ch;
        padding-right: 2px;
    }

    .featured-posts-section.essay-spotlight .essay-stage-column,
    .featured-posts-section.essay-spotlight .essay-stage {
        min-height: 98vw;
    }

    .featured-posts-section.essay-spotlight .essay-stage-card {
        width: 68vw;
    }

    .featured-posts-section.essay-spotlight .essay-stage {
        --essay-wing-one-x: 12vw;
        --essay-wing-two-x: 22vw;
        --essay-wing-one-y: 2vw;
        --essay-wing-two-y: 4vw;
    }

    .featured-posts-section.essay-spotlight .essay-copy-title {
        font-size: clamp(44px, 14vw, 64px);
    }

    .featured-posts-section.essay-spotlight .essay-copy-excerpt {
        margin-bottom: 32px;
    }
}


.essay-spotlight-top-inner .essay-spotlight-counter{
    margin-right:max(24px,1.67vw);
}

.essay-read-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.essay-read-link-icon{
    order:-1;
}

@media(max-width:767px){
    .essay-spotlight-top-inner .essay-spotlight-counter{
        margin-right:16px;
    }
}

/* Homepage alignment adjustments: keep section height positions unchanged while aligning the counter with the homepage header action margin. */
.featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
    padding-right: max(24px, 1.67vw);
}

.featured-posts-section.essay-spotlight .essay-spotlight-counter {
    padding-right: 0;
}

.essay-spotlight-top-inner .essay-spotlight-counter {
    margin-right: 0;
}

@media screen and (max-width: 767px) {
    .featured-posts-section.essay-spotlight .essay-spotlight-top-inner {
        padding-right: 18px;
    }

    .essay-spotlight-top-inner .essay-spotlight-counter {
        margin-right: 0;
    }
}

/* Hide slider arrows when the Published Works section has only one essay. */
.featured-posts-section[data-total-slides="1"] .essay-spotlight-navigation {
    display: none;
}

/* Keely 1.18.5 fix: Published Works contributor and meta links match the site-wide dimmed link treatment. */
.featured-posts-section.essay-spotlight .essay-meta-value {
    opacity: 1;
    color: var(--text-color);
}

.featured-posts-section.essay-spotlight .essay-meta-value a,
.featured-posts-section.essay-spotlight .essay-author-link,
.featured-posts-section.essay-spotlight .essay-meta-link {
    color: var(--text-color) !important;
    opacity: .6;
    transition: opacity .2s ease;
}

.featured-posts-section.essay-spotlight .essay-meta-value a .scramble-main,
.featured-posts-section.essay-spotlight .essay-author-link .scramble-main,
.featured-posts-section.essay-spotlight .essay-meta-link .scramble-main {
    color: currentColor !important;
    opacity: 1 !important;
}

.featured-posts-section.essay-spotlight .essay-meta-value a:hover,
.featured-posts-section.essay-spotlight .essay-author-link:hover,
.featured-posts-section.essay-spotlight .essay-meta-link:hover {
    color: var(--text-color) !important;
    opacity: 1;
}

.featured-posts-section.essay-spotlight .essay-meta-value a:hover .scramble-main,
.featured-posts-section.essay-spotlight .essay-author-link:hover .scramble-main,
.featured-posts-section.essay-spotlight .essay-meta-link:hover .scramble-main {
    color: currentColor !important;
    opacity: 1 !important;
}

/* Keely 1.33.0: align mobile Published Works copy under the active essay image while keeping text left-aligned. */
@media screen and (max-width: 767px) {
    .featured-posts-section.essay-spotlight .essay-copy-column {
        width: 68vw;
        margin-right: auto;
        margin-left: auto;
    }
}
