/* =========================================
   1. Base / Global
========================================= */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050505;
    color: #f5f5f5;
}

/* Hyperlinks */
a {
    color: #58a6ff;
}

a:hover {
    color: #8cc4ff;
}


/* =========================================
   2. Layout Shell (Starlane)
========================================= */

.starlane-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    border-bottom: 1px solid #333;
    padding: 0.75rem 2rem 0.5rem;
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-logo {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

/* Main two-column shell (sidebar + content) */
.starlane-shell {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    max-height: calc(100vh - 60px); /* header height approximation */
}

/* Sidebar */
.starlane-sidebar {
    border-right: 1px solid #333;
    overflow-y: auto;
    background: #050505;
}

.starlane-sidebar-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
}

.sidebar-block {
    margin-bottom: 2rem;
}

.starlane-sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

/* Main content column */
.starlane-main {
    overflow-y: auto;
    padding: 2rem;
}


/* =========================================
   3. Navigation & Breadcrumbs
========================================= */

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: #ddd;
    text-decoration: none;
}

.primary-nav .is-current a {
    color: #fff;
    border-bottom: 2px solid #fff;
}

.breadcrumb-bar {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

.page-breadcrumb {
    font-size: 0.8rem;
    color: #888;
}

.page-breadcrumb a {
    color: #ccc;
    text-decoration: none;
}

.page-breadcrumb a:hover {
    color: #fff;
}


/* =========================================
   4. Homepage Sections
========================================= */

/* Hero */
.hero {
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #aaa;
}

.hero h1 {
    font-size: 2.6rem;
    margin: 0.4rem 0;
}

.hero-subtitle {
    max-width: 40rem;
}

.hero-tags {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}

.hero-image {
    border: 1px dashed #555;
    min-height: 180px;
}

/* Work History */
.work-history {
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.work-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.work-card {
    border: 1px solid #333;
    padding: 1rem;
    background: #111;
}

.work-years {
    font-size: 0.85rem;
    color: #aaa;
}

/* Latest Posts */
.latest-posts {
    margin-top: 2rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.post-card {
    border: 1px solid #333;
    padding: 0.75rem;
    background: #111;
}


/* =========================================
   5. Newsletter (Global + Archive Page)
========================================= */

/* Global newsletter block (bottom of every page) */
.starlane-newsletter-global {
    border-top: 1px dashed #333;
    margin-top: 3rem;
    padding-top: 2rem;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2rem;
}

/* Signup form */
.starlane-signup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.starlane-signup-input-row {
    display: flex;
    gap: 0.5rem;
}

.starlane-signup-input-row input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #555;
    background: #050505;
    color: #f5f5f5;
}

.starlane-signup-input-row button {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid #f5f5f5;
    background: transparent;
    color: #f5f5f5;
    cursor: pointer;
}

/* Recent newsletters list (global section) */
.newsletter-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.newsletter-recent-list li + li {
    margin-top: 0.5rem;
}

.newsletter-recent-list a {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    text-decoration: none;
    color: #ddd;
}

.newsletter-recent-list time {
    font-size: 0.85rem;
    color: #999;
}


/* ===== Newsletters Page (Archive) ===== */

.page-newsletters {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-newsletters-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hero header for newsletters */
.page-newsletters-hero {
    position: relative;
    border: 1px solid #444;
    overflow: hidden;
    min-height: 180px;
}

.page-newsletters-hero img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    filter: grayscale(0.2);
}

.page-newsletters-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.page-newsletters-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 40%);
}

.page-newsletters-hero-overlay h1 {
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

/* Featured carousel */
.newsletters-featured h2 {
    margin-bottom: 0.75rem;
}

.newsletters-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.newsletters-carousel::-webkit-scrollbar {
    height: 6px;
}

.newsletters-carousel::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 999px;
}

/* Sort box */
.newsletters-sort {
    margin-top: 0.5rem;
    align-self: flex-end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.newsletters-sort select {
    background: #111;
    color: #eee;
    border: 1px solid #555;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* All newsletters grid */
.newsletters-all h2 {
    margin-bottom: 0.5rem;
}

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

/* Shared card styles (featured + all) */
.newsletter-card {
    border: 1px solid #444;
    background: #111;
    display: flex;
    flex-direction: column;
}

.newsletter-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.newsletter-card-image {
    border-bottom: 1px solid #333;
    aspect-ratio: 16 / 9;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-card-image-placeholder {
    font-size: 0.85rem;
    color: #777;
}

.newsletter-card-body {
    padding: 0.9rem 1rem 1rem;
}

.newsletter-card-body h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.newsletter-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.newsletter-excerpt {
    font-size: 0.85rem;
    color: #ccc;
}


/* =========================================
   6. Post Layouts & Elements
========================================= */

/* Shared post layout */
.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1.2fr);
    gap: 2rem;
}

.post-right-sidebar {
    border-left: 1px solid #333;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Comments panel (sidebar or bottom) */
.post-comments-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border: 1px solid #333;
    padding: 0 1rem;
}

.post-comments-panel.is-open {
    padding: 1rem;
    max-height: 400px; /* adjust as needed */
}

.post-comments-panel-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
}

/* Icon buttons (comments/share) */
.icon-btn {
    background: transparent;
    border: 1px solid #f5f5f5;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    color: #f5f5f5;
}

/* Table of Contents */
.post-on-this-page ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.post-on-this-page li + li {
    margin-top: 0.25rem;
}

.post-on-this-page a {
    color: #ccc;
    text-decoration: none;
}

.post-on-this-page a:hover {
    color: #fff;
}

/* Common tag + related styles (used across post types) */
.tag-pill {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid #555;
    border-radius: 999px;
    text-decoration: none;
    color: #ccc;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag-pill:hover,
.tag-pill-small:hover {
    border-color: #f5f5f5;
    color: #f5f5f5;
}

.post-related {
    border: 1px dashed #333;
    padding: 1.5rem;
    margin-top: 2rem;
}

.post-related h2 {
    margin-top: 0;
}

.post-related a {
    display: block;
    margin-top: 0.5rem;
}

/* Author components */
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-card {
    border: 1px solid #333;
    padding: 1rem;
    background: #111;
}

.author-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ===== Full Post Type ===== */

.starlane-post-full .post-tags {
    margin-bottom: 1rem;
}

.post-featured-image-large {
    margin-top: 1.5rem;
}

.post-featured-image-large figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.post-tags-excerpt-card {
    border: 1px solid #333;
    padding: 1rem;
    background: #111;
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.tag-pill-small {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid #555;
    border-radius: 999px;
    text-decoration: none;
    color: #ccc;
}

.sidebar-excerpt {
    font-size: 0.85rem;
    color: #aaa;
}

/* ===== Big Image Post Type ===== */

.starlane-post-big-image .post-hero-image {
    width: 100%;
    margin: 0 0 2rem;
}

.post-hero-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.post-hero-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.post-author-inline {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 2rem 0;
    padding: 1rem;
    border: 1px solid #333;
    background: #111;
}

.author-info-inline {
    flex: 1;
}

.author-social-inline {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.post-on-this-page-inline {
    border: 1px solid #333;
    padding: 1rem;
    background: #111;
    margin-bottom: 2rem;
}

.post-layout-single-column {
    max-width: 800px;
}

.post-inline-signup {
    border: 1px solid #333;
    padding: 1.5rem;
    margin-top: 2rem;
    background: #111;
}


/* ===== Split Layout Post Type ===== */

.post-split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.post-featured-image-split {
    margin: 0;
}

.post-featured-image-split img {
    width: 100%;
    height: auto;
}

.post-split-left .post-tags {
    margin-top: 1rem;
}

/* Koenig editor required width helpers */

.kg-width-wide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.kg-width-full {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full img,
.kg-width-wide img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   7. Generic Carousels (homepage etc.)
========================================= */

.carousel-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.carousel-row::-webkit-scrollbar {
    height: 6px;
}

.carousel-row::-webkit-scrollbar-track {
    background: #111;
}

.carousel-row::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 999px;
}

.carousel-card {
    min-width: 240px;
    border: 1px solid #333;
    background: #111;
    padding: 0.75rem;
}

.featured-carousel {
    margin-top: 2rem;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.carousel-item {
    min-width: 220px;
    border: 1px solid #333;
    padding: 0.75rem;
    background: #111;
}

.carousel-thumb,
.post-thumb {
    width: 100%;
    padding-top: 56.25%;
    background-size: cover;
    background-position: center;
    margin-bottom: 0.5rem;
}


/* =========================================
   8. Footer
========================================= */

.site-footer {
    border-top: 1px solid #333;
    padding: 1rem 2rem;
    margin-top: auto;
    font-size: 0.85rem;
    color: #888;
}

/* =========================================
   9. Responsive Tweaks
========================================= */

/* Medium screens (tablets / small laptops) */
@media (max-width: 1024px) {
    /* Shell: give sidebar less space */
    .starlane-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .hero-inner {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    }

    .post-layout {
        grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1.3fr);
    }

    .newsletters-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Small screens (phones) */
@media (max-width: 768px) {
    /* Stack sidebar above content */
    .starlane-shell {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .starlane-sidebar {
        border-right: none;
        border-bottom: 1px solid #333;
        max-height: none;
    }

    .starlane-main {
        padding: 1.5rem 1.25rem 2rem;
    }

    /* Hero stacks */
    .hero-inner {
        grid-template-columns: 1fr;
    }

    /* Work history / posts already use auto-fit, just tighten gap */
    .work-timeline,
    .posts-grid {
        gap: 1rem;
    }

    /* Post layout: main above sidebar */
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-right-sidebar {
        border-left: none;
        border-top: 1px solid #333;
        padding-left: 0;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    /* Split post: also stack */
    .post-split-layout {
        grid-template-columns: 1fr;
    }

    /* Newsletter global layout: stack sign‑up and recent list */
    .newsletter-layout {
        grid-template-columns: 1fr;
    }

    /* Newsletter cards: single column on very small screens */
    .newsletters-grid {
        grid-template-columns: 1fr;
    }

    /* Page hero: reduce height on phones */
    .page-newsletters-hero {
        min-height: 140px;
    }

    .page-newsletters-hero-overlay h1 {
        font-size: 1.6rem;
    }

    /* Sort dropdown: align left instead of right for space */
    .newsletters-sort {
        align-self: flex-start;
    }

    /* Sidebar/footer padding */
    .site-header,
    .site-footer {
        padding-inline: 1.25rem;
    }
}

/* Extra‑small screens (narrow phones) */
@media (max-width: 480px) {
    .site-header-inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .primary-nav ul {
        flex-wrap: wrap;
        row-gap: 0.25rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .post-layout-single-column {
        max-width: 100%;
    }
}

/* =========================================
   10. Authors Page & Author Profile
========================================= */

/* Authors index (Meet the Authors) */

.page-authors {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-authors-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Hero header (same pattern as newsletters) */
.page-authors-hero {
    position: relative;
    border: 1px solid #444;
    overflow: hidden;
    min-height: 180px;
}

.page-authors-hero img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    filter: grayscale(0.2);
}

.page-authors-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

.page-authors-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent 40%);
}

.page-authors-hero-overlay h1 {
    font-size: 2.2rem;
    letter-spacing: 0.03em;
}

/* Author summary blocks */

.authors-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-summary {
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
}

.author-summary-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.author-summary-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-summary-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-summary-name {
    margin: 0;
    font-size: 1.3rem;
}

.author-summary-name a {
    color: inherit;
    text-decoration: none;
}

.author-summary-name a:hover {
    text-decoration: underline;
}

.author-summary-stats {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0.25rem 0 0.5rem;
}

.author-summary-bio {
    margin: 0;
    color: #ccc;
}

/* Author's recent posts carousel */

.author-summary-posts-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.author-summary-posts-carousel::-webkit-scrollbar {
    height: 6px;
}

.author-summary-posts-carousel::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 999px;
}

.author-summary-post-card {
    min-width: 220px;
    max-width: 220px;
    border: 1px solid #333;
    background: #111;
    flex-shrink: 0;
}

.author-summary-post-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.author-summary-post-image {
    border-bottom: 1px solid #333;
    aspect-ratio: 16 / 9;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-summary-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-summary-post-placeholder {
    font-size: 0.85rem;
    color: #777;
}

.author-summary-post-body {
    padding: 0.75rem 0.9rem 0.9rem;
}

.author-summary-post-body h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.author-summary-post-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Extra dashed blocks at bottom */

.authors-extra {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.authors-extra-block {
    border: 1px dashed #333;
    padding: 1.25rem;
    background: #050505;
}

/* Author profile page */

.page-author {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page-author-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-author-hero {
    position: relative;
    border: 1px solid #444;
    overflow: hidden;
    min-height: 160px;
}

.page-author-hero img {
    width: 100%;
    height: 100%;
    max-height: 240px;
    object-fit: cover;
    filter: grayscale(0.2);
}

.page-author-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%);
}

.page-author-hero-overlay h1 {
    margin: 0;
    font-size: 2rem;
}

.page-author-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid #333;
    background: #111;
    padding: 1.25rem 1.5rem;
}

.page-author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.page-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-author-info {
    flex: 1;
}

.page-author-stats {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0 0 0.5rem;
}

.page-author-bio {
    margin: 0 0 0.75rem;
    color: #ddd;
}

.page-author-links a {
    font-size: 0.85rem;
    margin-right: 0.75rem;
}

/* Author posts grid */

.page-author-posts h2 {
    margin-bottom: 0.75rem;
}

.page-author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.author-post-card {
    border: 1px solid #333;
    background: #111;
}

.author-post-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.author-post-image {
    border-bottom: 1px solid #333;
    aspect-ratio: 16 / 9;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-post-placeholder {
    font-size: 0.85rem;
    color: #777;
}

.author-post-body {
    padding: 0.9rem 1rem 1rem;
}

.author-post-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.author-post-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 0.4rem;
}

.author-post-excerpt {
    font-size: 0.85rem;
    color: #ccc;
}

/* Responsive tweaks for authors page */
@media (max-width: 768px) {
    .author-summary-header,
    .page-author-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-author-hero-overlay {
        padding-inline: 1.25rem;
    }
}

/* =========================================
   11. Static Page Styles
========================================= */

.starlane-page {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.page-hero {
    margin: 2rem 0;
    border: 1px solid #333;
    background: #111;
    overflow: hidden;
}

.page-hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #333;
}

.page-hero-content {
    padding: 2rem;
}

.page-title {
    margin: 0;
    font-size: 2.5rem;
}

.page-excerpt {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #aaa;
}

.page-content-body {
    line-height: 1.6;
    font-size: 1.1rem;
    color: #eee;
}

/* Ensure images and embeds inside pages don't overflow */
.page-content-body img {
    max-width: 100%;
    height: auto;
}