/* Author Hub Starter — cinematic visual layer */
.author-hub-single-book .site-content,
.author-hub-single-book .content-area,
.author-hub-single-book .inside-article,
.author-hub-single-author .site-content,
.author-hub-single-author .content-area,
.author-hub-single-author .inside-article {
    max-width: none;
    padding: 0;
}

.author-hub-single-book .entry-header,
.author-hub-single-book .entry-title,
.author-hub-single-book .featured-image,
.author-hub-single-book .post-image,
.author-hub-single-author .entry-header,
.author-hub-single-author .entry-title,
.author-hub-single-author .featured-image,
.author-hub-single-author .post-image {
    display: none !important;
}

.author-hub-single-book .site-main,
.author-hub-single-author .site-main {
    margin: 0;
}

.author-hub-cinematic-book {
    background: #070a11;
    color: #f7f7fb;
    overflow: hidden;
}

.author-hub-cinematic-book a {
    color: inherit;
}

.author-hub-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: radial-gradient(circle at 20% 10%, rgba(110, 163, 255, .25), transparent 32%), #070a11;
}

.author-hub-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(1.15);
    transform: scale(1.08);
    opacity: .38;
    z-index: -3;
}

.author-hub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,10,17,.98) 0%, rgba(7,10,17,.78) 42%, rgba(7,10,17,.95) 100%),
                linear-gradient(0deg, #070a11 0%, rgba(7,10,17,.25) 38%, rgba(7,10,17,.75) 100%);
    z-index: -2;
}

.author-hub-hero-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: 4rem 0;
}

.author-hub-hero-cover img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.12);
}

.author-hub-kicker {
    display: inline-flex;
    width: max-content;
    padding: .35rem .7rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #bcd3ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.author-hub-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 6vw, 5.2rem);
    line-height: .96;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.author-hub-hero-subtitle {
    margin: 1rem 0 0;
    max-width: 760px;
    color: #dbe6ff;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    line-height: 1.45;
}

.author-hub-hero-author {
    margin: 1rem 0 0;
    color: #fff;
    font-size: 1.06rem;
}

.author-hub-link-intro {
    margin: 1.4rem 0 .7rem;
    color: #eaf0ff;
    font-weight: 800;
}

.author-hub-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin: .5rem 0 0;
}

.author-hub-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .01em;
    box-shadow: 0 16px 34px rgba(0,0,0,.28);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.author-hub-button:hover {
    transform: translateY(-2px);
    opacity: .94;
}

.author-hub-primary-button {
    background: linear-gradient(135deg, #ffb347, #ff6b35);
    color: #130b05 !important;
}

.author-hub-secondary-button {
    background: linear-gradient(135deg, #7c5cff, #2bd4ff);
    color: #05070b !important;
}

.author-hub-main-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
}

.author-hub-story-card,
.author-hub-premium-panel,
.author-hub-final-cta,
.author-hub-related {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.author-hub-story-card {
    padding: clamp(1.25rem, 3vw, 2.4rem);
    margin-bottom: 1.25rem;
}

.author-hub-story-card h2,
.author-hub-premium-panel h2,
.author-hub-final-cta h2,
.author-hub-related h2 {
    margin-top: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    letter-spacing: -.02em;
}

.author-hub-description,
.author-hub-extract {
    color: #e7eaf3;
    font-size: 1.08rem;
    line-height: 1.78;
}

.author-hub-description p:last-child,
.author-hub-extract p:last-child {
    margin-bottom: 0;
}

.author-hub-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.25rem 0;
}

.author-hub-premium-panel {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    min-height: 260px;
}

.author-hub-premium-panel::before {
    content: '';
    position: absolute;
    inset: -80px -80px auto auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(77, 171, 247, .28);
    filter: blur(4px);
}

.author-hub-video-panel::before {
    background: rgba(255, 78, 78, .25);
}

.author-hub-embed iframe,
.author-hub-embed video,
.author-hub-embed audio {
    max-width: 100%;
    width: 100%;
    border-radius: 16px;
}

.author-hub-media-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(38, 66, 115, .8), rgba(12, 17, 28, .95));
    color: #fff;
}

.author-hub-media-video {
    background: linear-gradient(135deg, rgba(95, 31, 31, .85), rgba(12, 17, 28, .95));
}

.author-hub-media-icon {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    font-size: 2.5rem;
    line-height: 1;
    flex: 0 0 78px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.13);
}

.author-hub-media-copy {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.author-hub-media-copy strong {
    font-size: 1.25rem;
}

.author-hub-media-copy span {
    color: #d9e2f4;
}

.author-hub-media-button {
    display: inline-flex;
    width: max-content;
    margin-top: .4rem;
    padding: .62rem .95rem;
    border-radius: 999px;
    background: #fff;
    color: #080b12 !important;
    text-decoration: none;
    font-weight: 900;
}

.author-hub-final-cta {
    margin-top: 1.5rem;
    padding: clamp(1.35rem, 3vw, 2.35rem);
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(255, 179, 71, .18), transparent 42%), rgba(255,255,255,.055);
}

.author-hub-final-cta p {
    margin: .25rem 0 .8rem;
    color: #eaf0ff;
    font-weight: 800;
}

.author-hub-final-cta .author-hub-buttons {
    justify-content: center;
}

.author-hub-related {
    margin-top: 1.5rem;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.author-hub-related-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.author-hub-related-card {
    padding: .75rem;
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}

.author-hub-related-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(0,0,0,.28);
}

.author-hub-related-card h3 {
    margin: .75rem 0 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.author-hub-related-card a {
    text-decoration: none;
}

.author-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.author-hub-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 1rem;
    background: #fff;
}

.author-hub-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: .75rem;
}

.author-hub-card h3 {
    margin: .25rem 0 .5rem;
}

.author-hub-card a {
    text-decoration: none;
}

@media (max-width: 780px) {
    .author-hub-hero {
        min-height: auto;
    }
    .author-hub-hero-inner {
        grid-template-columns: 1fr;
        padding: 2.3rem 0;
    }
    .author-hub-hero-cover {
        max-width: 260px;
        margin: 0 auto;
    }
    .author-hub-hero-copy {
        text-align: center;
    }
    .author-hub-kicker,
    .author-hub-buttons {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .author-hub-media-grid {
        grid-template-columns: 1fr;
    }
    .author-hub-media-card {
        flex-direction: column;
        text-align: center;
    }
    .author-hub-media-button {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Author Hub Starter — page shortcode visual layer */
.author-hub-home-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 2rem;
    padding: clamp(3rem, 8vw, 6rem) 1.25rem;
    border-radius: 28px;
    background: radial-gradient(circle at 18% 12%, rgba(63, 139, 255, .34), transparent 34%),
                radial-gradient(circle at 86% 18%, rgba(255, 91, 91, .22), transparent 32%),
                linear-gradient(135deg, #080b13, #111827 55%, #05070b);
    color: #fff;
    box-shadow: 0 28px 80px rgba(0,0,0,.25);
}
.author-hub-home-hero-inner { width: min(980px, 100%); margin: 0 auto; text-align: center; }
.author-hub-home-hero h1 { margin: .2rem 0 1rem; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.055em; color: #fff; }
.author-hub-home-hero p { max-width: 760px; margin: 0 auto 1.5rem; color: #e4ebff; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; }
.author-hub-section-heading { margin: 2rem 0 1rem; }
.author-hub-section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.author-hub-section-heading p { margin: .25rem 0 0; color: #667085; }
.author-hub-featured-grid, .author-hub-book-grid, .author-hub-person-grid, .author-hub-term-grid {
    display: grid;
    gap: 1.15rem;
    margin: 1rem 0 2rem;
}
.author-hub-featured-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.author-hub-book-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.author-hub-person-grid, .author-hub-term-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.author-hub-showcase-card, .author-hub-person-card, .author-hub-term-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 24, 40, .10);
    text-decoration: none;
}
.author-hub-showcase-card { display: flex; flex-direction: column; }
.author-hub-featured-card { background: linear-gradient(180deg, #101827, #070a11); color: #fff; border-color: rgba(255,255,255,.12); }
.author-hub-showcase-cover { display: block; background: #111827; }
.author-hub-showcase-cover img { display: block; width: 100%; aspect-ratio: 2 / 3; height: auto; object-fit: cover; }
.author-hub-cover-placeholder { aspect-ratio: 2 / 3; display:flex; align-items:center; justify-content:center; color:#fff; font-weight:900; background:linear-gradient(135deg,#1d2939,#111827); }
.author-hub-showcase-copy, .author-hub-person-card { padding: 1.05rem; }
.author-hub-showcase-copy h3, .author-hub-person-card h3 { margin: .2rem 0 .45rem; font-size: 1.18rem; line-height: 1.18; }
.author-hub-showcase-copy h3 a, .author-hub-person-card h3 a { color: inherit; text-decoration: none; }
.author-hub-card-kicker { display: inline-flex; padding:.25rem .55rem; border-radius:999px; background:rgba(255,255,255,.12); color:#bcd3ff; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.09em; margin-bottom:.6rem; }
.author-hub-card-subtitle, .author-hub-card-excerpt, .author-hub-person-card p { color: #667085; margin: .25rem 0 .7rem; }
.author-hub-featured-card .author-hub-card-subtitle, .author-hub-featured-card .author-hub-card-excerpt { color: #dbe6ff; }
.author-hub-card-author { font-weight: 800; color: inherit; margin: .25rem 0 .65rem; }
.author-hub-text-link { display:inline-flex; margin-top:.25rem; font-weight:900; color:#2563eb; text-decoration:none; }
.author-hub-featured-card .author-hub-text-link { color:#9ec5ff; }
.author-hub-person-image img { display:block; width:96px; height:96px; border-radius:50%; object-fit:cover; margin-bottom:.8rem; }
.author-hub-term-card { display:flex; flex-direction:column; gap:.25rem; padding:1.2rem; color:#101828; }
.author-hub-term-card span { font-size:1.2rem; font-weight:900; }
.author-hub-term-card small { color:#667085; font-weight:700; }
@media (max-width: 640px) { .author-hub-home-hero { border-radius: 20px; } }


/* Author landing pages */
.author-hub-author-profile {
    background: #070a11;
    color: #f7f7fb;
    overflow: hidden;
}
.author-hub-author-profile a { color: inherit; }
.author-hub-author-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: radial-gradient(circle at 18% 10%, rgba(124, 92, 255, .28), transparent 32%), #070a11;
}
.author-hub-author-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.15);
    transform: scale(1.08);
    opacity: .30;
    z-index: -3;
}
.author-hub-author-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,10,17,.98), rgba(7,10,17,.75), rgba(7,10,17,.96));
    z-index: -2;
}
.author-hub-author-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: 4rem 0;
}
.author-hub-author-avatar img,
.author-hub-avatar-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.16);
}
.author-hub-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d2939, #111827);
    color: #fff;
    font-size: 5rem;
    font-weight: 900;
}
.author-hub-author-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 5rem);
    line-height: .98;
    letter-spacing: -.05em;
}
.author-hub-author-tagline {
    margin: 1rem 0 0;
    max-width: 740px;
    color: #dbe6ff;
    font-size: clamp(1.08rem, 2vw, 1.4rem);
    line-height: 1.5;
}
.author-hub-author-count {
    display: inline-flex;
    margin: 1.1rem 0 0;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 900;
}
.author-hub-author-main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 0 5rem;
}
.author-hub-author-books .author-hub-section-heading h2,
.author-hub-author-books .author-hub-section-heading p { color: #fff; }
.author-hub-author-books .author-hub-section-heading p { color: #dbe6ff; }

@media (max-width: 780px) {
    .author-hub-author-hero { min-height: auto; }
    .author-hub-author-inner { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 0; }
    .author-hub-author-avatar img, .author-hub-avatar-placeholder { width: 170px; height: 170px; margin: 0 auto; }
    .author-hub-author-copy .author-hub-kicker, .author-hub-author-count { margin-left: auto; margin-right: auto; }
}
