:root {
    --ws-gold: #c89a2b;
    --ws-navy: #1f2b3f;
    --ws-navy-deep: #111a2a;
    --ws-shell: #f5f4f0;
    --wp--style--global--wide-size: 1400px;

    /* ── Typography tokens matching frontend ──────────────────────── */
    --ws-font-display: "Epilogue", system-ui, sans-serif;
    --ws-font-body: "Lora", Georgia, serif;

    /* Shadow utilities */
    --ws-shadow-soft: 0 4px 20px -4px hsl(210, 20%, 70%, 0.15);
    --ws-shadow-card: 0 8px 30px -8px hsl(210, 20%, 60%, 0.12);
    --ws-shadow-elevated: 0 20px 50px -15px hsl(210, 20%, 50%, 0.18);
    --ws-shadow-gold: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
    --ws-shadow-slate: 0 8px 30px -8px hsl(210, 25%, 45%, 0.25);

    /* Gradient utilities */
    --ws-gradient-hero: linear-gradient(
        180deg,
        hsl(40, 25%, 97%) 0%,
        hsl(40, 33%, 95%) 100%
    );
    --ws-gradient-section: linear-gradient(
        180deg,
        hsl(40, 33%, 98%) 0%,
        hsl(40, 25%, 96%) 100%
    );
}

body {
    font-family: var(--ws-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ws-font-display);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.ws-shadow-soft {
    box-shadow: var(--ws-shadow-soft);
}

.ws-shadow-card {
    box-shadow: var(--ws-shadow-card);
}

.ws-shadow-elevated {
    box-shadow: var(--ws-shadow-elevated);
}

.ws-shadow-gold {
    box-shadow: var(--ws-shadow-gold);
}

.ws-bg-gradient-section {
    background: var(--ws-gradient-section);
}

.ws-site-header {
    background: transparent;
    color: #fff;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        backdrop-filter 0.25s ease;
    z-index: 80;
}
body.admin-bar .ws-site-header {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .ws-site-header {
        top: 46px;
    }
    body.admin-bar .ws-site-header.is-scrolled {
        top: 0;
    }
}

/* Prevent root block-gap from creating a visible strip below the transparent fixed header. */
.wp-site-blocks > .wp-block-template-part:first-child + * {
    margin-block-start: 0 !important;
    margin-top: 0 !important;
}

.wp-site-blocks .ws-site-header *:focus {
    outline-width: 0;
}

.ws-site-header::after {
    border-bottom: 1px solid transparent;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

.ws-site-header.is-scrolled {
    backdrop-filter: blur(6px);
    background: rgba(17, 26, 42, 0.92);
    box-shadow: 0 8px 24px rgba(17, 26, 42, 0.26);
}

.ws-site-header.is-scrolled::after {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ws-site-header__inner {
    padding: 1.1rem 1rem;
    position: relative;
    transition: padding 0.25s ease;
}

.ws-site-header.is-scrolled .ws-site-header__inner {
    padding-bottom: 0.65rem;
    padding-top: 0.65rem;
}

.ws-site-header__desktop {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: stretch;
}

.ws-site-header .ws-main-nav {
    min-width: 0;
}
.ws-site-header__desktop > a {
    margin-block-start: 0;
}
.ws-site-header__desktop > nav {
    margin-block-start: 1rem !important;
}
.ws-site-header__desktop > * {
    flex: 1 1 0;
    min-width: 0;
}
.ws-site-header .ws-main-nav--left .wp-block-navigation {
    justify-content: flex-end;
}

.ws-site-header .ws-main-nav--right .wp-block-navigation {
    justify-content: flex-start;
}

.ws-site-header .wp-block-navigation,
.ws-site-header .wp-block-navigation__container {
    column-gap: 1.4rem;
}

.ws-site-header .wp-block-navigation-item__label,
.ws-site-header .wp-block-navigation-item a {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--ws-font-display);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.ws-site-header .wp-block-navigation-item a::after {
    background: var(--ws-gold);
    bottom: -2px;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    width: 100%;
}
.ws-site-header a:hover .wp-block-navigation-item__label {
    color: var(--ws-gold);
}

.ws-site-header .wp-block-navigation-item.current-menu-item > a,
.ws-site-header
    .wp-block-navigation-item.current-menu-item
    > a
    .wp-block-navigation-item__label,
.ws-site-header
    .wp-block-navigation-item.current-menu-item
    > .wp-block-navigation-item__content,
.ws-site-header
    .wp-block-navigation-item.current-menu-item
    > .wp-block-navigation-item__content
    .wp-block-navigation-item__label,
.ws-site-header .wp-block-navigation-item a:hover,
.ws-site-header .wp-block-navigation-item a:focus-visible {
    color: var(--ws-gold);
}

.ws-site-header .wp-block-navigation-item a:hover::after,
.ws-site-header .wp-block-navigation-item a:focus-visible::after {
    transform: scaleX(1);
}

.ws-site-header__brand {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 3rem;
    position: relative;
    text-decoration: none;
}

.ws-site-header__logo-full,
.ws-site-header__logo-icon {
    display: block;
    height: auto;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.ws-site-header__logo-full {
    max-height: 80px;
    opacity: 1;
    visibility: visible;
}

.ws-site-header__logo-icon {
    left: 50%;
    max-height: 48px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    visibility: hidden;
}

.ws-site-header.is-scrolled .ws-site-header__logo-full {
    opacity: 0;
    visibility: hidden;
}

.ws-site-header.is-scrolled .ws-site-header__logo-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.ws-site-header .ws-site-header__mobile-bar {
    display: none;
}

@media (max-width: 1024px) {
    .ws-site-header .ws-site-header__mobile-bar {
        display: flex;
    }
}

.ws-site-header__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 44px;
}

.ws-site-header__toggle .ws-site-header__icon {
    align-items: center;
    display: inline-flex;
    inset: 0;
    justify-content: center;
    position: absolute;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.ws-site-header__icon--close {
    opacity: 0;
    transform: scale(0.85);
    visibility: hidden;
}

.ws-site-header.is-open .ws-site-header__icon--menu {
    opacity: 0;
    transform: scale(0.85);
    visibility: hidden;
}

.ws-site-header.is-open .ws-site-header__icon--close {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.ws-site-header__mobile-panel {
    background: #f5f4f0;
    border-top: 1px solid rgba(17, 26, 42, 0.08);
    box-shadow: 0 18px 34px rgba(17, 26, 42, 0.2);
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 0.7rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    /* transform: translateY(-10px); */
    transition:
        max-height 0.28s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
    width: 100vw;
}

.ws-site-header.is-open .ws-site-header__mobile-panel {
    max-height: 72vh;
    opacity: 1;
    pointer-events: auto;
    /* transform: translateY(0); */
}

.ws-site-header__mobile-panel .ws-main-nav--mobile {
    padding: 0.75rem 1rem;
}

.ws-site-header__mobile-panel .ws-main-nav--mobile ul {
    margin-block: 0;
    padding-block: 0;
}
.ws-site-header__mobile-panel .ws-main-nav--mobile + .ws-main-nav--mobile {
    margin-top: -1.5rem;
}

.ws-site-header__mobile-panel .wp-block-navigation,
.ws-site-header__mobile-panel .wp-block-navigation__container {
    row-gap: 0.2rem;
}

.ws-site-header__mobile-panel .wp-block-navigation-item__label,
.ws-site-header__mobile-panel .wp-block-navigation-item a {
    color: #222d40;
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.ws-page-header {
    /* background:
        linear-gradient(180deg, rgba(17, 26, 42, 0.82), rgba(17, 26, 42, 0.58)),
        radial-gradient(
            circle at 22% 18%,
            rgba(200, 154, 43, 0.26),
            transparent 42%
        ),
        linear-gradient(120deg, #1f2b3f, #2b3750 58%, #202d42); */
    background: linear-gradient(
        rgba(34, 44, 57, 0.8),
        rgba(34, 44, 57, 0.7),
        rgba(34, 44, 57, 0.4)
    );
    overflow: hidden;
    position: relative;
}

.ws-page-header__bg-video {
    height: auto;
    left: 0;
    max-width: 100%;
    opacity: 0.65;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: 0;
}

.ws-page-header__content {
    padding-bottom: 5.75rem;
    padding-top: 10.5rem;
    position: relative;
    z-index: 1;
}

.ws-page-header__title {
    color: #fff;
    font-family: var(--ws-font-display);
    font-size: clamp(2.1rem, 4.5vw, 4.1rem);
    font-weight: 700;
    line-height: 1.08;
    margin: 0;
}

.ws-page-header__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2.1vw, 1.15rem);
    margin: 1.2rem auto 0;
    max-width: 760px;
}

.home .ws-home-main {
    background: var(--ws-shell);
}

.ws-home-kicker {
    color: var(--ws-gold);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ws-home-hero .wp-block-cover__background {
    background: radial-gradient(
        circle at 30% 20%,
        rgba(200, 154, 43, 0.14),
        rgba(17, 26, 42, 0.92)
    );
}

.ws-home-hero .wp-block-cover__inner-container {
    max-width: 920px;
}

.ws-home-hero-title {
    color: #fff;
    font-family: var(--ws-font-display);
    font-size: clamp(2.2rem, 4.3vw, 4.05rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0.7rem 0 0;
}

.ws-home-hero-copy {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    margin: 1.2rem auto 0;
    max-width: 680px;
}

.ws-home-hero-buttons {
    margin-top: 1.5rem;
}

.ws-home-hero-buttons .wp-block-button__link,
.ws-btn-gold .wp-block-button__link {
    background: var(--ws-gold);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.5rem;
    text-transform: uppercase;
}

.ws-btn-outline-light .wp-block-button__link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.5rem;
    text-transform: uppercase;
}

.ws-home-stats {
    background: linear-gradient(90deg, var(--ws-navy) 0%, #2d3851 100%);
    color: #fff;
    padding: 2rem 0 1.6rem;
}

.ws-home-stats h3 {
    color: var(--ws-gold);
    font-family: var(--ws-font-display);
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.ws-home-stats p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    margin: 0;
}

.ws-home-section {
    padding: 5.4rem 0;
}

.ws-home-surface {
    background: linear-gradient(180deg, #f8f7f4 0%, #f0efeb 100%);
}

.ws-home-section h2 {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
}

.ws-home-section > .wp-block-group > p {
    color: #5d6472;
}

.ws-book-grid,
.ws-team-grid,
.ws-author-grid {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.ws-book-card,
.ws-team-card,
.ws-author-card,
.ws-feature-card {
    background: #fff;
    border: 1px solid rgba(17, 26, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(17, 26, 42, 0.08);
    height: 100%;
    padding: 1rem;
}

.ws-book-card .wp-block-post-featured-image img,
.ws-team-card .wp-block-post-featured-image img,
.ws-author-card .wp-block-post-featured-image img {
    border-radius: 8px;
    display: block;
    width: 100%;
    height: auto;
}

.ws-book-card .wp-block-post-title a,
.ws-team-card .wp-block-post-title a,
.ws-author-card .wp-block-post-title a {
    color: var(--ws-navy);
    text-decoration: none;
}

.ws-book-card .wp-block-post-title,
.ws-team-card .wp-block-post-title,
.ws-author-card .wp-block-post-title {
    margin: 0.7rem 0 0.2rem;
}

.ws-feature-card h4 {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    margin-bottom: 0.45rem;
}

.ws-feature-card p {
    color: #596070;
    font-size: 0.95rem;
    margin: 0;
}

.ws-resource-cta {
    background: #ece6da;
    border-radius: 14px;
    margin-bottom: 4.5rem;
    margin-top: 1rem;
    padding: 2.3rem;
}

.ws-resource-cta h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.6rem);
    margin-top: 0;
}

.ws-resource-image img {
    background: #fff;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 180px;
    padding: 2.5rem;
}

.ws-final-cta {
    background: linear-gradient(90deg, var(--ws-navy-deep) 0%, #2b3850 100%);
    color: #fff;
    padding: 5rem 0;
}

.ws-final-cta h2,
.ws-final-cta p {
    color: #fff;
}

footer.wp-block-template-part {
    margin-top: 0;
}
.ws-site-footer {
    background: #f7f6f3;
    border-top: 1px solid #e4e2dc;
    color: #2f3543;
    padding-top: 3.25rem;
}

.ws-site-footer .wp-block-site-title,
.ws-site-footer h4,
.ws-site-footer h5 {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.ws-site-footer .wp-block-columns {
    gap: 2rem;
}

.ws-site-footer .ws-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ws-footer-logo-link {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.ws-footer-icon {
    height: 3rem;
    width: auto;
}

.ws-site-footer .ws-footer-brand p {
    color: #596070;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.ws-site-footer .wp-block-navigation-item__label,
.ws-site-footer .wp-block-navigation-item a {
    color: #424a5c;
    font-family: var(--ws-font-body);
    font-size: 0.92rem;
    text-decoration: none;
}

.ws-site-footer .ws-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.ws-site-footer .ws-footer-nav .wp-block-navigation-item {
    margin: 0;
}

.ws-site-footer .ws-footer-nav .wp-block-navigation-item a,
.ws-site-footer .ws-footer-nav .wp-block-navigation-item__label {
    color: #596070;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.ws-site-footer .ws-footer-nav .wp-block-navigation-item a:hover,
.ws-site-footer .ws-footer-nav .wp-block-navigation-item a:focus-visible {
    color: var(--ws-gold);
    text-decoration: none;
}

.ws-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ws-footer-contact-list li {
    align-items: flex-start;
    color: #596070;
    display: flex;
    font-family: var(--ws-font-body);
    font-size: 0.875rem;
    gap: 0.5rem;
    line-height: 1.5;
}

.ws-footer-contact-list svg {
    color: var(--ws-gold);
    flex-shrink: 0;
    height: 1rem;
    margin-top: 0.15rem;
    width: 1rem;
}

.ws-footer-contact-list a {
    color: #596070;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ws-footer-contact-list a:hover,
.ws-footer-contact-list a:focus-visible {
    color: var(--ws-gold);
}

.ws-site-footer .ws-footer-social {
    margin-top: 0.75rem;
}

.ws-site-footer .ws-footer-social .wp-social-link {
    background: rgba(200, 154, 43, 0.12);
    color: #596070;
    transition: all 0.3s ease;
}

.ws-site-footer .ws-footer-social .wp-social-link:hover,
.ws-site-footer .ws-footer-social .wp-social-link:focus-within {
    background: var(--ws-gold);
    color: #fff;
}

.ws-site-footer-bottom {
    background: #0f172a;
    border-top: 0;
    margin-top: 2.5rem;
    padding-block: 1rem;
}

.ws-site-footer-bottom .has-small-font-size {
    color: #cbd5e1;
    font-size: 0.75rem;
}

.ws-site-footer .ws-footer-legal {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: flex-end;
}

.ws-site-footer .ws-footer-legal .wp-block-navigation-item {
    margin: 0;
}

.ws-site-footer .ws-footer-legal .wp-block-navigation-item a,
.ws-site-footer .ws-footer-legal .wp-block-navigation-item__label {
    color: #cbd5e1;
    font-family: var(--ws-font-body);
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.ws-site-footer .wp-block-navigation-item a:hover,
.ws-site-footer .wp-block-navigation-item a:focus-visible {
    color: #fff;
    text-decoration: none;
}

.ws-author-meta {
    border-top: 1px solid var(--wp--preset--color--accent);
    margin-top: var(--wp--preset--spacing--20);
    padding-top: var(--wp--preset--spacing--20);
}

.ws-author-meta-label {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 0.45rem;
    text-transform: uppercase;
}

.ws-author-meta-value {
    margin: 0;
}

.ws-author-social ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ws-author-social a {
    border: 1px solid var(--wp--preset--color--contrast-3);
    border-radius: 999px;
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.3rem 0.7rem;
    text-decoration: none;
}

.ws-author-social a:hover,
.ws-author-social a:focus-visible {
    border-color: var(--wp--preset--color--contrast);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .ws-site-header__desktop {
        display: none;
    }

    .ws-site-header__inner {
        padding: 0.8rem 1rem;
    }

    .ws-site-header .ws-site-header__brand {
        justify-content: flex-start;
        min-height: 2.8rem;
    }

    .ws-site-header .ws-site-header__logo-full {
        max-width: 132px;
    }

    .ws-site-header .ws-site-header__logo-icon {
        left: 0;
        max-width: 34px;
        transform: translateY(-50%) scale(0.9);
    }

    .ws-site-header.is-scrolled .ws-site-header__logo-icon {
        transform: translateY(-50%) scale(1);
    }

    .ws-page-header__content {
        padding-bottom: 4.3rem;
        padding-top: 8.2rem;
    }

    .ws-page-header__subtitle {
        margin-top: 0.95rem;
    }

    .ws-home-section {
        padding: 3.5rem 0;
    }

    .ws-home-stats {
        padding-top: 1.5rem;
    }

    .ws-resource-cta {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.6rem;
    }

    .ws-site-footer .wp-block-columns {
        gap: 1.5rem;
    }

    .ws-site-footer {
        padding-top: 2.5rem;
    }

    .ws-site-footer .ws-footer-legal {
        justify-content: flex-start;
        width: 100%;
    }
}

/* ── Single Book Detail ─────────────────────────────────────────────── */

.ws-book-back-strip {
    background: #f5f4f0;
    border-bottom: 1px solid #e4e2dc;
    padding: 0.75rem 1.5rem;
}

.ws-book-back-link {
    align-items: center;
    color: #5d6472;
    display: inline-flex;
    font-size: 0.875rem;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ws-book-back-link svg {
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
}

.ws-book-back-link:hover,
.ws-book-back-link:focus-visible {
    color: var(--ws-navy);
    text-decoration: underline;
}

.ws-book-detail-section {
    background: linear-gradient(180deg, #f5f4f0 0%, #faf9f7 100%);
    padding: 3.5rem 1.5rem;
}

.ws-book-detail-wrap {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Left column: cover */

.ws-book-cover-col {
    flex: 0 0 auto;
    width: 33.333%;
}

@media (min-width: 1024px) {
    .ws-book-cover-col {
        width: 25%;
    }
}

.ws-book-cover-frame {
    aspect-ratio: 2 / 3;
    background: #e8e5df;
    border-radius: 12px;
    box-shadow:
        0 16px 48px rgba(17, 26, 42, 0.14),
        0 4px 12px rgba(17, 26, 42, 0.08);
    overflow: hidden;
}

.ws-book-cover-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Right column: meta */

.ws-book-meta-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 !important;
}

.ws-book-meta-col > * {
    max-width: none !important;
}

.ws-book-title {
    color: var(--ws-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.ws-book-authors {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.ws-book-author-link {
    color: var(--ws-gold);
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.ws-book-author-link:hover,
.ws-book-author-link:focus-visible {
    text-decoration: underline;
}

.ws-book-year-row {
    align-items: center;
    color: #5d6472;
    display: flex;
    font-size: 0.9rem;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.ws-book-meta {
    color: #5d6472;
    font-size: 0.9rem;
}

.ws-book-genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ws-book-genre-chip {
    background: rgba(200, 154, 43, 0.12);
    border-radius: 999px;
    color: var(--ws-gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
}

/* Excerpt and Content Toggle */

.ws-read-more-excerpt,
.ws-book-excerpt-wrapper {
    margin-bottom: 1.75rem;
}

.ws-read-more-excerpt-text,
.ws-book-excerpt {
    color: #5d6472;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    margin-top: 0;
}

.ws-read-more-trigger,
.ws-book-read-more-btn {
    float: inline-end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--ws-gold);
    cursor: pointer;
    letter-spacing: 0.04em;
    padding: 0;
    transition: color 0.2s ease;
}
.ws-read-more-trigger svg,
.ws-book-read-more-btn svg {
    width: 1rem;
    height: 1rem;
}

.ws-read-more-trigger:hover,
.ws-read-more-trigger:focus-visible,
.ws-book-read-more-btn:hover,
.ws-book-read-more-btn:focus-visible {
    color: var(--ws-navy);
    outline: none;
}

.ws-read-more-content,
.ws-book-content-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}

.ws-read-more-content.is-visible,
.ws-book-content-wrapper.is-visible {
    max-height: 2000px;
    opacity: 1;
}

.ws-read-more-content .wp-block-post-content,
.ws-read-more-content p,
.ws-book-content-wrapper .wp-block-post-content,
.ws-book-content-wrapper p {
    color: #5d6472;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    margin-top: 0;
}

/* CTA button */

a.ws-book-cta-btn {
    align-items: center;
    background: var(--ws-gold);
    border: 2px solid var(--ws-gold);
    border-radius: 999px;
    box-shadow: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.5rem;
    height: 3.5rem;
    justify-content: center;
    letter-spacing: 0.05em;
    padding: 0 2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

a.ws-book-cta-btn:hover {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    text-decoration: none;
    transform: scale(1.05);
}

a.ws-book-cta-btn:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    outline: 2px solid var(--ws-gold);
    outline-offset: 3px;
    text-decoration: none;
    transform: scale(1.05);
}

a.ws-book-cta-btn svg {
    flex-shrink: 0;
    height: 1rem;
    pointer-events: none;
    width: 1rem;
}

.ws-book-cta-btn--disabled {
    background: #c8c4bc;
    border-color: #c8c4bc;
    box-shadow: none;
    cursor: default;
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive: single column on small screens */

@media (max-width: 700px) {
    .ws-book-detail-wrap {
        flex-direction: column;
        gap: 1.75rem;
    }

    .ws-book-cover-col {
        width: 100%;
        /* CTA button */

        .ws-book-cta-btn {
            align-items: center;
            background: var(--ws-gold);
            border: 2px solid var(--ws-gold);
            border-radius: 999px;
            box-shadow: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
            color: #fff;
            cursor: pointer;
            display: inline-flex;
            font-size: 0.875rem;
            font-weight: 600;
            gap: 0.5rem;
            height: 3.5rem;
            justify-content: center;
            letter-spacing: 0.05em;
            padding: 0 2rem;
            text-decoration: none;
            text-transform: uppercase;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .ws-book-cta-btn:hover {
            background: transparent;
            box-shadow: none;
            color: var(--ws-gold);
            text-decoration: none;
            transform: scale(1.05);
        }

        .ws-book-cta-btn:focus-visible {
            background: transparent;
            box-shadow: none;
            color: var(--ws-gold);
            outline: 2px solid var(--ws-gold);
            outline-offset: 3px;
            text-decoration: none;
            transform: scale(1.05);
        }

        .ws-book-cta-btn svg {
            flex-shrink: 0;
            height: 1rem;
            pointer-events: none;
            width: 1rem;
        }

        .ws-book-cta-btn--disabled {
            background: #c8c4bc;
            border-color: #c8c4bc;
            box-shadow: none;
            cursor: default;
            opacity: 0.5;
            pointer-events: none;
        }
    }
}

/* ── Single Author Detail ───────────────────────────────────────────── */

.ws-author-back-strip {
    background: #f5f4f0;
    border-bottom: 1px solid #e4e2dc;
    padding: 0.75rem 1.5rem;
}

.ws-author-back-link {
    align-items: center;
    color: #5d6472;
    display: inline-flex;
    font-size: 0.875rem;
    gap: 0.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ws-author-back-link svg {
    flex-shrink: 0;
    height: 1rem;
    width: 1rem;
}

.ws-author-back-link:hover,
.ws-author-back-link:focus-visible {
    color: var(--ws-navy);
    text-decoration: underline;
}

.ws-author-detail-section {
    background: linear-gradient(180deg, #f5f4f0 0%, #faf9f7 100%);
    padding: 3.5rem 1.5rem;
}

.ws-author-detail-wrap {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Left column: photo */

.ws-author-photo-col {
    flex: 0 0 auto;
    width: 25%;
}

.ws-author-photo-frame {
    aspect-ratio: 1 / 1;
    background: #e8e5df;
    border-radius: 12px;
    box-shadow:
        0 16px 48px rgba(17, 26, 42, 0.14),
        0 4px 12px rgba(17, 26, 42, 0.08);
    overflow: hidden;
}

.ws-author-photo-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Right column: meta */

.ws-author-meta-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 !important;
}

.ws-author-meta-col > * {
    max-width: none !important;
}

.ws-author-title {
    color: var(--ws-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

/* Genre chips + Collaborator badge */

.ws-author-genre-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.ws-author-genre-chip {
    background: rgba(200, 154, 43, 0.12);
    border-radius: 999px;
    color: var(--ws-gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
}

.ws-author-collaborator-badge {
    background: var(--wp--preset--color--accent, #c89a2b);
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
}

.ws-author-speaker-badge {
    background: #6b5b95;
    border-radius: 999px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
}

/* Bio */

.ws-author-bio-wrapper {
    margin-bottom: 1.75rem;
}

.ws-author-bio-wrapper .wp-block-post-content,
.ws-author-bio-wrapper p {
    color: #5d6472;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
    margin-top: 0;
}
.ws-author-bio-wrapper p {
    margin-bottom: 1.75rem;
}

/* Social links */

.ws-author-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.ws-author-social-link {
    align-items: center;
    border: 1px solid #c8c4bc;
    border-radius: 999px;
    color: #5d6472;
    display: inline-flex;
    font-size: 0.875rem;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.ws-author-social-link svg {
    flex-shrink: 0;
}

.ws-author-social-link:hover,
.ws-author-social-link:focus-visible {
    border-color: var(--ws-navy);
    color: var(--ws-navy);
    text-decoration: none;
}

/* CTA button */

.ws-author-cta-wrap {
    margin-top: 0.5rem;
}

a.ws-author-cta-btn {
    align-items: center;
    background: var(--ws-gold);
    border: 2px solid var(--ws-gold);
    border-radius: 999px;
    box-shadow: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.5rem;
    height: 3.5rem;
    justify-content: center;
    letter-spacing: 0.05em;
    padding: 0 2rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

a.ws-author-cta-btn svg {
    flex-shrink: 0;
    height: 1rem;
    pointer-events: none;
    width: 1rem;
}

a.ws-author-cta-btn:hover {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    text-decoration: none;
    transform: scale(1.05);
}

a.ws-author-cta-btn:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    outline: 2px solid var(--ws-gold);
    outline-offset: 3px;
    text-decoration: none;
    transform: scale(1.05);
}

/* Books by this author section */

.ws-author-books-wrap {
    border-top: 1px solid #e4e2dc;
    padding: 3.5rem 1.5rem;
}

.ws-author-books-section {
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.ws-author-books-heading {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ws-author-books-heading svg {
    color: var(--ws-gold);
    flex-shrink: 0;
}

.ws-author-books-title {
    color: var(--ws-navy);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    margin: 0;
}

.ws-author-books-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(4, 1fr);
}

.ws-author-book-card {
    background: #fff;
    border: 1px solid #e4e2dc;
    border-radius: 12px;
    color: inherit;
    display: block;
    overflow: hidden;
    text-decoration: none;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.ws-author-book-card:hover,
.ws-author-book-card:focus-visible {
    box-shadow:
        0 16px 48px rgba(17, 26, 42, 0.14),
        0 4px 12px rgba(17, 26, 42, 0.08);
    text-decoration: none;
    transform: translateY(-2px);
}

.ws-author-book-card-cover {
    aspect-ratio: 2 / 3;
    background: #e8e5df;
    display: block;
    overflow: hidden;
}

.ws-author-book-card-img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.ws-author-book-card:hover .ws-author-book-card-img {
    transform: scale(1.05);
}

.ws-author-book-card-body {
    display: block;
    padding: 1rem;
}

.ws-author-book-card-title {
    color: var(--ws-navy);
    display: -webkit-box;
    font-family: var(--ws-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 0.4rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.2s ease;
}

.ws-author-book-card:hover .ws-author-book-card-title {
    color: var(--ws-gold);
}

.ws-author-book-card-year {
    color: #5d6472;
    display: block;
    font-size: 0.85rem;
    margin: 0;
}

/* Author Details Section */

.ws-author-details-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e4e2dc;
}

.ws-author-details-heading {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.ws-author-detail-item {
    margin-bottom: 1.75rem;
}

.ws-author-detail-item:last-child {
    margin-bottom: 0;
}

.ws-author-detail-title {
    align-items: center;
    color: var(--ws-navy);
    display: flex;
    font-family: var(--ws-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.ws-author-detail-title svg {
    color: var(--ws-gold);
    flex-shrink: 0;
}

.ws-author-detail-content {
    color: #5d6472;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Empty state */

.ws-author-books-section--empty .ws-author-books-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    text-align: center;
}

.ws-author-books-section--empty .ws-author-books-empty svg {
    color: #c8c4bc;
    margin-bottom: 1rem;
}

.ws-author-books-empty-title {
    color: var(--ws-navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.ws-author-books-empty-message {
    color: #5d6472;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive */

@media (max-width: 1023px) {
    .ws-author-books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .ws-author-detail-wrap {
        flex-direction: column;
        gap: 1.75rem;
    }

    .ws-author-photo-col {
        width: 100%;
    }

    .ws-author-photo-frame {
        max-width: 260px;
    }

    .ws-author-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ws-author-books-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Authors Archive ────────────────────────────────────────────────────────── */

/* Hero */

.ws-authors-hero {
    background: linear-gradient(
        160deg,
        var(--ws-navy-deep) 0%,
        #263347 60%,
        #1c2d42 100%
    );
    color: #fff;
    overflow: hidden;
    padding: 7rem 1.5rem 5.5rem;
    position: relative;
    text-align: center;
}

.ws-authors-hero-overlay {
    background: radial-gradient(
        ellipse at 60% 0%,
        rgba(200, 154, 43, 0.18) 0%,
        transparent 65%
    );
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.ws-authors-hero-inner {
    margin: 0 auto;
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.ws-authors-hero-kicker {
    color: var(--ws-gold);
    font-family: var(--ws-font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 1rem;
    text-transform: uppercase;
}

.ws-authors-hero-title {
    color: #fff;
    font-family: var(--ws-font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin: 0 0 1.2rem;
}

.ws-authors-hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--ws-font-body);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 620px;
}

/* Filter bar */

.ws-authors-filter-bar {
    background: #f5f4f0;
    border-bottom: 1px solid #e4e2dc;
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 30;
    margin-block-start: 0;
}

.ws-authors-filter-bar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin: 0 auto;
    max-width: 1240px;
}

.ws-authors-filter-label {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ws-authors-filter-select {
    appearance: none;
    background-color: #f5f4f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f2b3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.65rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    border: 1px solid #d4d1cb;
    border-radius: 8px;
    color: var(--ws-navy);
    cursor: pointer;
    font-family: var(--ws-font-body);
    font-size: 0.875rem;
    padding: 0.45rem 2.2rem 0.45rem 0.75rem;
    transition: border-color 0.2s ease;
}

.ws-authors-filter-select:hover,
.ws-authors-filter-select:focus-visible {
    border-color: var(--ws-gold);
    outline: none;
}

.ws-authors-count {
    color: #7a8196;
    font-size: 0.85rem;
    margin-left: auto;
    white-space: nowrap;
}

/* Grid section */

.ws-authors-grid-section {
    background: linear-gradient(
        180deg,
        hsl(40, 25%, 95%) 0%,
        hsl(40, 20%, 92%) 100%
    );
    padding: 3.5rem 1.5rem 4rem;
    margin-block-start: 0;
}

.ws-archive-authors-grid {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 auto;
    max-width: 1240px;
}

/* Archive author card */

.ws-archive-author-card {
    background: #fff;
    border: 1px solid rgba(17, 26, 42, 0.08);
    border-radius: 14px;
    box-shadow: var(--ws-shadow-card);
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.ws-archive-author-card:hover {
    border-color: rgba(200, 154, 43, 0.4);
    box-shadow: var(--ws-shadow-elevated);
    transform: translateY(-4px);
}

.ws-archive-author-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.ws-archive-author-img-wrap {
    aspect-ratio: 1 / 1;
    background: #e8e5df;
    display: block;
    overflow: hidden;
}

.ws-archive-author-img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.ws-archive-author-card:hover .ws-archive-author-img {
    transform: scale(1.04);
}

.ws-archive-author-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.1rem 1.2rem;
    /* span — needs block context */
    width: 100%;
}

.ws-archive-author-name {
    color: var(--ws-navy);
    display: block;
    font-family: var(--ws-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.ws-archive-author-genres {
    color: #8a91a0;
    display: block;
    font-family: var(--ws-font-body);
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.ws-archive-author-bio {
    color: #5d6472;
    display: block;
    font-family: var(--ws-font-body);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

/* Empty state */

.ws-authors-empty-state {
    color: #7a8196;
    font-size: 1rem;
    margin: 2rem auto;
    max-width: 480px;
    text-align: center;
}

.ws-authors-none {
    color: #7a8196;
    margin: 3rem auto;
    max-width: 480px;
    text-align: center;
}

/* Load More button */

.ws-authors-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 2.5rem auto 0;
    max-width: 1240px;
}

.ws-authors-load-more {
    align-items: center;
    background: var(--ws-gold);
    border: 2px solid var(--ws-gold);
    border-radius: 999px;
    box-shadow: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--ws-font-display);
    font-size: 0.875rem;
    font-weight: 700;
    gap: 0.5rem;
    height: 3rem;
    justify-content: center;
    letter-spacing: 0.08em;
    padding: 0 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ws-authors-load-more svg {
    flex-shrink: 0;
    height: 1rem;
    pointer-events: none;
    width: 1rem;
}

.ws-authors-load-more:hover,
.ws-authors-load-more:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    outline: none;
    transform: scale(1.05);
}

/* Collaborators section */

.ws-collaborators-section {
    background-color: #fff;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 4px,
        rgba(17, 26, 42, 0.03) 4px,
        rgba(17, 26, 42, 0.03) 5px
    );
    border-top: 1px solid #e4e2dc;
    padding: 4.5rem 1.5rem 5rem;
    margin-block-start: 0;
}

.ws-collaborators-inner {
    margin: 0 auto;
    max-width: 1240px;
}

.ws-collaborators-heading {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 auto 0.75rem;
    text-align: center;
}

.ws-collaborators-intro {
    color: #5d6472;
    font-family: var(--ws-font-body);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 auto 2.5rem;
    max-width: 760px;
    text-align: center;
}

.ws-collaborators-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, 1fr);
}

.ws-collab-card {
    align-items: start;
    background: #faf9f7;
    border: 1px solid #e4e2dc;
    border-radius: 14px;
    color: inherit;
    display: grid;
    gap: 0.9rem 1rem;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 1.4rem;
    text-decoration: none;
    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ws-collab-card:hover,
.ws-collab-card:focus-visible {
    border-color: rgba(200, 154, 43, 0.34);
    box-shadow: var(--ws-shadow-card);
    outline: none;
}

.ws-collab-avatar {
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    height: 64px;
    overflow: hidden;
    width: 64px;
}

.ws-collab-avatar-img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.ws-collab-head {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.ws-collab-name {
    color: var(--ws-navy);
    display: block;
    font-family: var(--ws-font-display);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    transition: color 0.2s ease;
}

.ws-collab-card:hover .ws-collab-name,
.ws-collab-card:focus-visible .ws-collab-name {
    color: var(--ws-gold);
}

.ws-collab-label {
    align-items: center;
    color: var(--ws-gold);
    display: inline-flex;
    font-family: var(--ws-font-display);
    font-size: 0.75rem;
    font-weight: 400;
    gap: 0.35rem;
    letter-spacing: 0.08em;
    text-transform: none;
}

.ws-collab-label svg {
    flex-shrink: 0;
    height: 0.75rem;
    width: 0.75rem;
}

.ws-collab-bio {
    color: #5d6472;
    display: block;
    font-family: var(--ws-font-body);
    font-size: 0.875rem;
    grid-column: 1 / -1;
    line-height: 1.55;
    margin: 0;
}

/* Responsive — archive */

@media (max-width: 1100px) {
    .ws-archive-authors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ws-archive-authors-grid {
        gap: 1.25rem;
        grid-template-columns: repeat(2, 1fr);
    }

    .ws-collaborators-grid {
        grid-template-columns: 1fr;
    }

    .ws-authors-count {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ws-authors-hero {
        padding: 5rem 1.25rem 4rem;
    }

    .ws-archive-authors-grid {
        grid-template-columns: 1fr;
    }
}

/* Books Archive */

.ws-books-hero {
    background: linear-gradient(
        160deg,
        var(--ws-navy-deep) 0%,
        #263347 60%,
        #1c2d42 100%
    );
    color: #fff;
    overflow: hidden;
    padding: 7rem 1.5rem 5.5rem;
    position: relative;
    text-align: center;
}

.ws-books-hero-overlay {
    background: radial-gradient(
        ellipse at 60% 0%,
        rgba(200, 154, 43, 0.18) 0%,
        transparent 65%
    );
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.ws-books-hero-inner {
    margin: 0 auto;
    max-width: 780px;
    position: relative;
    z-index: 1;
}

.ws-books-hero-title {
    color: #fff;
    font-family: var(--ws-font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.06;
    margin: 0 0 1.2rem;
}

.ws-books-hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--ws-font-body);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 700px;
}

.ws-books-filter-bar {
    background: #f5f4f0;
    border-bottom: 1px solid #e4e2dc;
    margin-block-start: 0;
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 30;
}

.ws-books-filter-bar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0 auto;
    max-width: 1320px;
}

.ws-books-filter-label {
    color: var(--ws-navy);
    font-family: var(--ws-font-display);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ws-books-filter-select {
    appearance: none;
    background-color: #f5f4f0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f2b3f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.65rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    border: 1px solid #d4d1cb;
    border-radius: 8px;
    color: var(--ws-navy);
    cursor: pointer;
    font-family: var(--ws-font-body);
    font-size: 0.875rem;
    min-width: 10.5rem;
    padding: 0.45rem 2.2rem 0.45rem 0.75rem;
    transition: border-color 0.2s ease;
}

.ws-books-filter-select:hover,
.ws-books-filter-select:focus-visible {
    border-color: var(--ws-gold);
    outline: none;
}

.ws-books-count {
    color: #7a8196;
    font-size: 0.85rem;
    margin-left: auto;
    white-space: nowrap;
}

.ws-books-grid-section {
    background: linear-gradient(
        180deg,
        hsl(40, 25%, 95%) 0%,
        hsl(40, 20%, 92%) 100%
    );
    margin-block-start: 0;
    padding: 3rem 1.25rem 4rem;
}

.ws-archive-books-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1320px;
}

.ws-archive-book-card {
    background: #fff;
    border: 1px solid rgba(17, 26, 42, 0.08);
    border-radius: 12px;
    box-shadow: var(--ws-shadow-card);
    overflow: hidden;
    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.ws-archive-book-card:hover,
.ws-archive-book-card:focus-within {
    border-color: rgba(200, 154, 43, 0.4);
    box-shadow: var(--ws-shadow-elevated);
    transform: translateY(-4px);
}

.ws-archive-book-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.ws-archive-book-img-wrap {
    aspect-ratio: 3 / 4;
    background: #e8e5df;
    display: block;
    overflow: hidden;
}

.ws-archive-book-img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.ws-archive-book-img-placeholder {
    align-items: center;
    color: #6f7482;
    display: flex;
    font-family: var(--ws-font-display);
    font-size: 0.85rem;
    height: 100%;
    justify-content: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
}

.ws-archive-book-card:hover .ws-archive-book-img,
.ws-archive-book-card:focus-within .ws-archive-book-img {
    transform: scale(1.06);
}

.ws-archive-book-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem;
}

.ws-archive-book-title {
    color: var(--ws-navy);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--ws-font-display);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
    overflow: hidden;
}

.ws-archive-book-author {
    color: #5d6472;
    display: block;
    font-family: var(--ws-font-body);
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0;
}

.ws-archive-book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.1rem;
}

.ws-archive-book-tag {
    color: var(--ws-gold);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
}

.ws-books-empty-state,
.ws-books-none {
    color: #7a8196;
    font-size: 1rem;
    margin: 2rem auto;
    max-width: 560px;
    text-align: center;
}

.ws-books-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 2.5rem auto 0;
    max-width: 1320px;
}

.ws-books-load-more {
    align-items: center;
    background: var(--ws-gold);
    border: 2px solid var(--ws-gold);
    border-radius: 999px;
    box-shadow: 0 8px 30px -8px hsl(38, 70%, 45%, 0.25);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: var(--ws-font-display);
    font-size: 0.875rem;
    font-weight: 700;
    gap: 0.5rem;
    height: 3rem;
    justify-content: center;
    letter-spacing: 0.08em;
    padding: 0 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ws-books-load-more svg {
    flex-shrink: 0;
    height: 1rem;
    pointer-events: none;
    width: 1rem;
}

.ws-books-load-more:hover,
.ws-books-load-more:focus-visible {
    background: transparent;
    box-shadow: none;
    color: var(--ws-gold);
    outline: none;
    transform: scale(1.05);
}

@media (min-width: 640px) {
    .ws-archive-books-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .ws-archive-books-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .ws-archive-books-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .ws-archive-books-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ws-books-filter-bar {
        top: 0;
    }

    .ws-books-filter-bar-inner {
        gap: 0.65rem;
    }

    .ws-books-filter-select {
        min-width: 9rem;
    }

    .ws-books-count {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ws-books-hero {
        padding: 5rem 1.25rem 4rem;
    }

    .ws-books-grid-section {
        padding-inline: 0.9rem;
    }

    .ws-archive-book-info {
        padding: 0.8rem;
    }

    .ws-books-load-more {
        width: 100%;
    }
}
