:root {
    --qh-yellow: #ffde42;
    --qh-cyan: #53cbf3;
    --qh-blue: #5478ff;
    --qh-navy: #111fa2;
    --qh-ink: #0c1240;
    --qh-white: #ffffff;
    --qh-cream: #f4f7ff;
    --qh-radius-sm: 12px;
    --qh-radius-md: 20px;
    --qh-radius-lg: 28px;
    --qh-radius-blob: 32% 68% 65% 35% / 42% 38% 62% 58%;
    --qh-shadow-cyan: 0 12px 40px rgba(83, 203, 243, 0.35);
    --qh-shadow-yellow: 0 14px 36px rgba(255, 222, 66, 0.45);
    --qh-shadow-navy: 0 20px 50px rgba(17, 31, 162, 0.35);
    --qh-font-ui: "Figtree", system-ui, sans-serif;
    --qh-font-quote: "Source Serif 4", Georgia, "Times New Roman", serif;
    --qh-page-bg: #e6e8ee;
    --qh-page-elevated: #f7f8fa;
    --qh-card-border: #d8dce6;
    --qh-card-shadow: 0 1px 2px rgba(17, 31, 162, 0.05), 0 10px 28px rgba(17, 31, 162, 0.07);
    --qh-card-shadow-hover: 0 4px 12px rgba(17, 31, 162, 0.1), 0 18px 40px rgba(17, 31, 162, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body.qh-site {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    font-family: var(--qh-font-ui);
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--qh-ink);
    background: var(--qh-page-bg);
    overflow-x: hidden;
}

/* Decorative layer disabled: main area uses light page background; header/footer keep brand chrome */
.qh-bg {
    display: none;
}

.qh-bg__grain {
    display: none;
}

.qh-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
.qh-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    backdrop-filter: blur(14px);
    background: rgba(17, 31, 162, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.qh-header__inner {
    --qh-header-pad-x: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 0.65rem;
    padding-bottom: 0.75rem;
    padding-left: var(--qh-header-pad-x);
    padding-right: var(--qh-header-pad-x);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    box-sizing: border-box;
    position: relative;
}

.qh-header__brand-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.qh-header__brand-row .qh-logo {
    justify-content: center;
}

.qh-header__brand-row .qh-logo__type {
    text-align: center;
    justify-content: center;
}

.qh-header__nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    position: relative;
    min-height: 2.65rem;
}

.qh-header__nav-scroll {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.qh-header__share-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.qh-sharebar__label {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.qh-sharebar__actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.qh-sharebar__btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.qh-sharebar__btn iconify-icon {
    font-size: 1.1rem;
}

.qh-sharebar__btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.48);
}

.qh-sharebar__btn--copy {
    font: inherit;
    padding: 0;
}

.qh-header__nav-scroll {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.qh-header.qh-header--share-mode .qh-header__nav-scroll {
    opacity: 0;
    pointer-events: none;
}

.qh-header.qh-header--share-mode .qh-header__share-row {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Animated logo: fan cards + orbit + wordmark ---- */
.qh-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--qh-white);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.qh-logo:hover {
    transform: scale(1.02);
}

.qh-logo__visual {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.qh-logo__fan {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.qh-logo__fan-card {
    position: absolute;
    width: 28px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    animation: qh-fan-wiggle 5s ease-in-out infinite;
}

.qh-logo__fan-card--1 {
    background: linear-gradient(145deg, var(--qh-yellow), #ffe566);
    transform: rotate(-14deg) translate(-4px, 2px);
    animation-delay: 0s;
    z-index: 1;
}

.qh-logo__fan-card--2 {
    background: linear-gradient(145deg, var(--qh-cyan), #8edcf9);
    transform: rotate(4deg) translate(2px, -2px);
    animation-delay: 0.15s;
    z-index: 2;
}

.qh-logo__fan-card--3 {
    background: linear-gradient(145deg, var(--qh-blue), #7a9cff);
    transform: rotate(18deg) translate(8px, 4px);
    animation-delay: 0.3s;
    z-index: 3;
}

@keyframes qh-fan-wiggle {
    0%,
    100% {
        transform: rotate(var(--qh-r, 0deg)) translate(var(--qh-x, 0), var(--qh-y, 0));
    }
    50% {
        transform: rotate(calc(var(--qh-r, 0deg) + 6deg)) translate(var(--qh-x, 0), calc(var(--qh-y, 0) - 3px));
    }
}

.qh-logo__fan-card--1 {
    --qh-r: -14deg;
    --qh-x: -4px;
    --qh-y: 2px;
}
.qh-logo__fan-card--2 {
    --qh-r: 4deg;
    --qh-x: 2px;
    --qh-y: -2px;
}
.qh-logo__fan-card--3 {
    --qh-r: 18deg;
    --qh-x: 8px;
    --qh-y: 4px;
}

.qh-logo__orbit-ring {
    position: absolute;
    inset: 2px;
    border: 2px dashed rgba(255, 222, 66, 0.55);
    border-radius: 50%;
    animation: qh-orbit-spin 16s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(83, 203, 243, 0.2);
}

.qh-logo__orbit-ring::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--qh-yellow);
    top: -1px;
    left: 50%;
    margin-left: -3.5px;
    box-shadow: 0 0 10px var(--qh-yellow);
}

@keyframes qh-orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

.qh-logo__type {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.06em;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

.qh-logo__quotes {
    font-family: var(--qh-font-ui);
    font-weight: 800;
    font-size: clamp(0.82rem, 2.8vw, 1.05rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--qh-cyan), var(--qh-white), var(--qh-yellow));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: qh-shimmer 4s linear infinite;
}

@keyframes qh-shimmer {
    to {
        background-position: 200% center;
    }
}

.qh-logo__hill {
    font-family: var(--qh-font-quote);
    font-weight: 700;
    font-size: clamp(1.05rem, 3.5vw, 1.45rem);
    font-style: italic;
    color: var(--qh-white);
    letter-spacing: -0.03em;
}

.qh-logo__com {
    display: inline-block;
    font-family: var(--qh-font-ui);
    font-size: clamp(0.52rem, 1.8vw, 0.62rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.18rem 0.4rem 0.2rem;
    margin-left: 0.12em;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--qh-yellow), #fff4a8);
    color: var(--qh-navy);
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(17, 31, 162, 0.35), 0 6px 18px rgba(255, 222, 66, 0.45);
    animation: qh-com-pop 2.8s ease-in-out infinite;
    transform-origin: center bottom;
    vertical-align: baseline;
    position: relative;
    top: -0.05em;
}

@keyframes qh-com-pop {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg) scale(1);
    }
    50% {
        transform: translateY(-3px) rotate(4deg) scale(1.06);
    }
}

.qh-logo--drawer {
    transform: scale(0.92);
    transform-origin: left center;
}

.qh-logo--drawer .qh-logo__visual {
    width: 44px;
    height: 44px;
}

.qh-logo--drawer .qh-logo__fan-card {
    width: 22px;
    height: 30px;
}

.qh-logo--drawer .qh-logo__quotes {
    font-size: 0.82rem;
}

.qh-logo--drawer .qh-logo__hill {
    font-size: 1.15rem;
}

.qh-logo--drawer .qh-logo__com {
    font-size: 0.52rem;
    padding: 0.12rem 0.35rem;
}

.ql-mdrawer__brand--qh {
    flex: 1;
    min-width: 0;
    align-items: center;
}

.ql-mdrawer__brand--qh .qh-logo {
    width: 100%;
}

.qh-nav__lbl--desktop {
    display: none;
}

.qh-nav__lbl--mobile {
    display: inline;
}

@media (min-width: 900px) {
    .qh-nav__lbl--desktop {
        display: inline;
    }

    .qh-nav__lbl--mobile {
        display: none;
    }
}

.qh-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
    -webkit-padding-start: 0;
    -webkit-padding-end: 0;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
    min-height: 2.65rem;
}

.qh-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qh-header__nav-scroll nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.qh-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.qh-nav a:not(.qh-nav__plus) {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

@media (min-width: 900px) {
    .qh-nav a:not(.qh-nav__plus) {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

.qh-nav a:hover {
    background: rgba(255, 222, 66, 0.2);
    color: var(--qh-yellow);
    box-shadow: 0 0 0 1px rgba(255, 222, 66, 0.35);
}

.qh-nav a.is-active {
    background: rgba(255, 222, 66, 0.28);
    color: var(--qh-yellow);
    box-shadow: 0 0 0 2px rgba(255, 222, 66, 0.45);
}

.qh-nav__cta {
    background: linear-gradient(120deg, var(--qh-yellow), #ffe566) !important;
    color: var(--qh-navy) !important;
    box-shadow: var(--qh-shadow-yellow);
}

.qh-nav__cta:hover {
    filter: brightness(1.05);
    color: var(--qh-navy) !important;
}

.qh-nav__plus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    padding: 0 !important;
    border-radius: 50% !important;
    background: linear-gradient(145deg, var(--qh-yellow), #ffe566) !important;
    color: var(--qh-navy) !important;
    font-weight: 800 !important;
    border: 2px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 6px 20px rgba(84, 120, 255, 0.35);
}

@media (min-width: 900px) {
    .qh-nav__plus {
        width: auto;
        min-width: 2.5rem;
        height: 2.5rem;
        padding: 0 1rem !important;
        border-radius: 999px !important;
    }

    .qh-nav__lbl--submit {
        font-size: 0.88rem;
        font-weight: 800;
    }
}

.qh-nav__plus:hover {
    filter: brightness(1.06);
    color: var(--qh-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(84, 120, 255, 0.42);
}

.qh-nav a iconify-icon,
.qh-nav__plus iconify-icon {
    font-size: 1.45rem;
    vertical-align: 0;
}

@media (max-width: 1024px) {
    .qh-nav a:not(.qh-nav__plus) {
        font-size: 0.8rem;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .qh-nav {
        gap: 0.2rem;
    }

    .qh-nav__plus {
        width: 2.35rem;
        height: 2.35rem;
        min-width: 2.35rem;
    }

    .qh-nav__plus iconify-icon {
        font-size: 1.35rem;
    }

    .qh-logo__hill {
        font-size: 1.2rem;
    }
}

@media (min-width: 1025px) {
    .qh-nav {
        gap: 1.35rem;
    }
}

.ql-mdrawer__link--submit {
    background: linear-gradient(120deg, rgba(255, 222, 66, 0.35), rgba(83, 203, 243, 0.25)) !important;
    border-color: rgba(255, 222, 66, 0.45) !important;
    font-weight: 800 !important;
}

/* Main column: desktop centered column ~70% width; mobile full width + 2.5% side padding */
.qh-site .site-main {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 1.5rem 2.5% 4rem;
    background: transparent;
}

@media (min-width: 769px) {
    .qh-site .site-main {
        max-width: 70%;
        padding: 1.5rem 0 4rem;
    }
}

/* Hero */
.qh-hero {
    text-align: center;
    padding: 2rem 1rem 1.75rem;
    margin-bottom: 1.75rem;
}

.qh-hero h1 {
    font-family: var(--qh-font-quote);
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 650;
    line-height: 1.12;
    color: var(--qh-navy);
    margin: 0 0 1rem;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.qh-hero__lead {
    max-width: none;
    width: 100%;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: rgba(12, 18, 64, 0.72);
}

.qh-hero__body {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    color: rgba(12, 18, 64, 0.78);
    font-size: 0.98rem;
}

.qh-hero__body p {
    margin: 0 0 0.85rem;
}

.qh-hero__link {
    color: var(--qh-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(84, 120, 255, 0.35);
}

.qh-hero__link:hover {
    color: var(--qh-navy);
    border-bottom-color: var(--qh-navy);
}

/* Latest / hub listing strip (home, nav-hub) */
.qh-hub-listing,
.qh-collections {
    margin-bottom: 2.5rem;
}

.qh-hub-listing__head,
.qh-collections__head {
    text-align: center;
    margin-bottom: 1.25rem;
}

.qh-hub-listing__title,
.qh-collections__title {
    font-family: var(--qh-font-quote);
    font-size: 1.65rem;
    color: var(--qh-navy);
    margin: 0;
}

.qh-hub-listing__sub,
.qh-collections__sub {
    margin: 0.35rem 0 0;
    color: rgba(12, 18, 64, 0.62);
    font-size: 0.95rem;
}

.qh-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem;
}

.qh-collection-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.35rem 1.25rem 1.2rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    animation: qh-pop-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.qh-collection-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--qh-yellow), var(--qh-cyan), var(--qh-blue));
    pointer-events: none;
}

.qh-collection-card:nth-child(1) {
    animation-delay: 0.05s;
}
.qh-collection-card:nth-child(2) {
    animation-delay: 0.1s;
}
.qh-collection-card:nth-child(3) {
    animation-delay: 0.15s;
}
.qh-collection-card:nth-child(4) {
    animation-delay: 0.2s;
}
.qh-collection-card:nth-child(5) {
    animation-delay: 0.25s;
}
.qh-collection-card:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes qh-pop-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.qh-collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--qh-card-shadow-hover);
}

.qh-collection-card h3 {
    font-family: var(--qh-font-quote);
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
    color: var(--qh-navy);
    position: relative;
    z-index: 1;
}

.qh-collection-card p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(12, 18, 64, 0.72);
    position: relative;
    z-index: 1;
}

.qh-collection-card__arrow {
    margin-top: 0.75rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--qh-blue);
    position: relative;
    z-index: 1;
}

/* Topic chips (reuse ql-chip) */
body.qh-site .ql-topics-strip {
    margin-bottom: 2rem;
}

body.qh-site .ql-topics-strip__title {
    color: var(--qh-navy);
    font-family: var(--qh-font-quote);
}

body.qh-site .ql-chip {
    background: #fff;
    border: 1px solid var(--qh-card-border);
    color: var(--qh-navy);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.qh-site .ql-chip:hover {
    background: var(--qh-navy);
    color: var(--qh-white);
    border-color: var(--qh-navy);
    transform: translateY(-1px);
}

/* Masonry quote grid */
.qh-masonry {
    column-count: 1;
    column-gap: 1.15rem;
}

@media (min-width: 560px) {
    .qh-masonry {
        column-count: 2;
    }
}

@media (min-width: 900px) {
    .qh-masonry {
        column-count: 3;
    }
}

.qh-masonry .quote-card {
    break-inside: avoid;
    margin-bottom: 1.15rem;
}

/* Quote cards (unified editorial tile) */
body.qh-site .quotes-grid.qh-masonry {
    display: block;
    width: 100%;
    text-align: left;
}

body.qh-site .quote-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
    padding: 0 1.2rem 1.15rem;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

body.qh-site .quote-card::before {
    content: "";
    display: block;
    height: 3px;
    margin: 0 -1.2rem 1rem;
    width: calc(100% + 2.4rem);
    background: linear-gradient(90deg, var(--qh-yellow), var(--qh-cyan), var(--qh-blue));
}

body.qh-site .quote-card-top--category {
    justify-content: flex-start;
    margin-bottom: 0.65rem;
}

body.qh-site .quote-card blockquote {
    font-family: var(--qh-font-quote);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
    color: var(--qh-ink);
    font-weight: 500;
}

body.qh-site .quote-card__bodylink {
    text-decoration: none;
    color: inherit;
}

body.qh-site .quote-card__bodylink:hover blockquote,
body.qh-site .quote-card__bodylink:focus-visible blockquote {
    color: var(--qh-navy);
}

body.qh-site .quote-author {
    margin-top: 0.9rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--qh-blue);
}

body.qh-site .quote-card__media {
    margin: 0 0 0.9rem;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(216, 220, 230, 0.9);
}

body.qh-site .quote-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.qh-site .quote-badge--category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--qh-page-elevated);
    color: var(--qh-navy);
    border: 1px solid var(--qh-card-border);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
}

body.qh-site .quote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--qh-card-shadow-hover);
    z-index: 2;
}

/* Section titles */
.qh-section-title {
    color: var(--qh-navy) !important;
    font-family: var(--qh-font-quote) !important;
}

.qh-section-intro {
    color: rgba(12, 18, 64, 0.68) !important;
}

body.qh-site .spotlight-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto 0.75rem;
    padding: 0;
    font-family: var(--qh-font-quote);
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 650;
    color: var(--qh-navy);
    text-align: center;
    line-height: 1.2;
}

body.qh-site .spotlight-label iconify-icon {
    color: var(--qh-blue);
    font-size: 1.1em;
    vertical-align: -0.12em;
}

.qh-feed-section {
    margin-bottom: 2.5rem;
}

/* Pagination */
body.qh-site .ql-pagination {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

body.qh-site .ql-page-link {
    background: #fff;
    color: var(--qh-navy);
    border-radius: 12px;
    border: 1px solid var(--qh-card-border);
    box-shadow: 0 1px 2px rgba(17, 31, 162, 0.04);
}

body.qh-site .ql-page-link:hover,
body.qh-site .ql-page-link.is-active {
    background: var(--qh-navy);
    color: var(--qh-white);
    border-color: var(--qh-navy);
}

/* Empty state */
.qh-empty {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    background: var(--qh-page-elevated);
    border: 1px dashed var(--qh-card-border);
    color: rgba(12, 18, 64, 0.75);
    margin: 1rem 0 2rem;
}

.qh-empty code {
    font-size: 0.88em;
    padding: 0.12rem 0.35rem;
    border-radius: 6px;
    background: rgba(17, 31, 162, 0.06);
}

/* Footer (full width; inner text capped for reading) */
.qh-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 2.75rem 1.25rem 3rem;
    text-align: center;
    background: linear-gradient(165deg, #0a1040 0%, #111fa2 42%, #0d1548 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.qh-footer__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 222, 66, 0.08), transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(83, 203, 243, 0.1), transparent 50%);
    pointer-events: none;
}

.qh-footer__inner {
    position: relative;
    z-index: 1;
    max-width: min(40rem, 92vw);
    margin: 0 auto;
}

.qh-footer__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 0 1.35rem;
}

.qh-footer__ornament-line {
    flex: 1;
    max-width: 4rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 222, 66, 0.55), transparent);
}

.qh-footer__ornament-icon {
    font-size: 1.35rem;
    color: var(--qh-yellow);
    opacity: 0.9;
}

.qh-footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    margin: 0 0 1.25rem;
    padding: 0.65rem 0.5rem;
    border-radius: var(--qh-radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qh-footer__nav a {
    font-family: var(--qh-font-ui);
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255, 222, 66, 0.95);
    text-decoration: none;
    padding: 0.2rem 0.35rem;
    border-radius: 8px;
}

.qh-footer__nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.qh-footer__attribution {
    margin: 0 0 2rem;
    font-family: var(--qh-font-quote);
    font-size: clamp(0.95rem, 2.1vw, 1.05rem);
    line-height: 1.72;
    font-style: italic;
    color: rgba(255, 255, 255, 0.82);
    text-wrap: pretty;
}

.qh-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.qh-footer__brand-line {
    margin: 0 0 0.35rem;
    font-family: var(--qh-font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.qh-footer__brand-link {
    color: var(--qh-yellow);
    text-decoration: none;
}

.qh-footer__brand-link:hover {
    text-decoration: underline;
    color: #fff4a8;
}

.qh-footer__dot {
    margin: 0 0.35rem;
    color: rgba(255, 255, 255, 0.35);
}

.qh-footer__years {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.qh-footer__tagline {
    margin: 0;
    font-family: var(--qh-font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(83, 203, 243, 0.75);
}

/* Breadcrumbs (hub loads qh-hub only - need full base styles) */
body.qh-site .breadcrumbs {
    margin: -25px auto 1.35rem;
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
    color: rgba(12, 18, 64, 0.62);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--qh-card-border);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 999px;
    border-bottom-right-radius: 999px;
    box-shadow: 0 8px 28px rgba(17, 31, 162, 0.06);
    max-width: 42rem;
}

body.qh-site .breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
}

body.qh-site .breadcrumbs__item {
    display: inline-flex;
    align-items: center;
}

body.qh-site .breadcrumbs__item:not(:last-child)::after {
    content: "/";
    margin: 0 0.55rem;
    color: rgba(12, 18, 64, 0.35);
    font-weight: 500;
    speak: never;
}

body.qh-site .breadcrumbs__link {
    color: var(--qh-blue);
    font-weight: 700;
    text-decoration: none;
}

body.qh-site .breadcrumbs__link:hover {
    text-decoration: underline;
    color: var(--qh-navy);
}

body.qh-site .breadcrumbs__current {
    color: var(--qh-navy);
    font-weight: 700;
}

/* ---- Hub wall pages (topic / explore tag): mast + quotes + people also read ---- */
.qh-wall-page {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem) 1.25rem;
    box-sizing: border-box;
}

.qh-wall-page__mast {
    margin-bottom: 2.75rem;
    border-radius: var(--qh-radius-lg);
    border: 1px solid rgba(17, 31, 162, 0.12);
    background: linear-gradient(165deg, #ffffff 0%, #f5f7ff 55%, #eef2ff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        var(--qh-card-shadow);
    overflow: hidden;
}

.qh-wall-page__intro {
    text-align: center;
    padding: 2.35rem clamp(1.25rem, 4.5vw, 2.5rem) 2rem;
}

.qh-wall-page__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(84, 120, 255, 0.88);
}

.qh-wall-page__intro--has-guide {
    padding-bottom: 1.65rem;
    border-bottom: 1px solid rgba(17, 31, 162, 0.08);
}

.qh-wall-page__intro--topic {
    padding-bottom: 2.35rem;
}

.qh-wall-page__intro.ql-hero {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.qh-wall-page__h1,
.qh-wall-page__intro .ql-paa-question {
    font-family: var(--qh-font-quote);
    font-size: clamp(1.85rem, 4.8vw, 2.75rem);
    font-weight: 650;
    line-height: 1.12;
    color: var(--qh-navy);
    margin: 0 0 0.9rem;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.qh-wall-page__intro .qh-collection-hero__title {
    margin-bottom: 0.9rem;
}

.qh-wall-page__lead,
.qh-wall-page__intro .ql-lead,
.qh-wall-page__intro .qh-collection-hero__lead {
    max-width: 38rem;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.62;
    color: rgba(12, 18, 64, 0.76);
}

.qh-wall-page__meta-lede {
    max-width: 32rem;
    margin: 0.85rem auto 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(12, 18, 64, 0.62);
}

.qh-wall-page__snapshot {
    margin: 0 auto;
    padding: 0 1.5rem 1.4rem;
    max-width: 42rem;
    text-align: center;
}

.qh-wall-page__snapshot-title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(17, 31, 162, 0.64);
}

.qh-wall-page__snapshot-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
}

.qh-wall-page__snapshot-list li {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 31, 162, 0.12);
    background: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--qh-navy);
}

.qh-wall-page__guide {
    padding: 2rem clamp(1.35rem, 4.5vw, 2.75rem) 2.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, #ffffff 42%);
}

.qh-wall-page__guide-card {
    margin: 0 0 2.2rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 1.7rem;
    border-radius: var(--qh-radius-md);
    border: 1px solid rgba(17, 31, 162, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--qh-card-shadow);
}

.qh-wall-page__guide-inner {
    max-width: 38rem;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 1.68;
    color: rgba(12, 18, 64, 0.88);
}

.qh-wall-page__guide-inner h2,
.qh-wall-page__guide-inner h3 {
    font-family: var(--qh-font-quote);
    color: var(--qh-navy);
    margin: 1.65rem 0 0.65rem;
    line-height: 1.25;
}

.qh-wall-page__guide-inner h2:first-child,
.qh-wall-page__guide-inner h3:first-child {
    margin-top: 0;
}

.qh-wall-page__guide-inner p {
    margin: 0 0 1rem;
}

.qh-wall-page__guide-inner p:last-child {
    margin-bottom: 0;
}

.qh-wall-page .ql-empty {
    margin: 0 0 2.5rem;
    padding: 2.25rem 1.75rem;
    border-radius: var(--qh-radius-md);
    background: #fff;
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
}

.qh-people-read {
    margin-top: 0.5rem;
    padding: 2rem clamp(1.25rem, 4vw, 2.25rem) 2.35rem;
    border-radius: var(--qh-radius-lg);
    border: 1px solid rgba(17, 31, 162, 0.12);
    background: linear-gradient(155deg, #ffffff 0%, #f4f6ff 45%, #eef3ff 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        var(--qh-card-shadow);
}

.qh-people-read__head {
    text-align: center;
    margin: 0 auto 1.65rem;
    max-width: 36rem;
}

.qh-people-read__eyebrow {
    display: block;
    font-family: var(--qh-font-ui);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(84, 120, 255, 0.85);
    margin-bottom: 0.45rem;
}

.qh-people-read__title {
    font-family: var(--qh-font-quote);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 650;
    color: var(--qh-navy);
    margin: 0 0 0.45rem;
    letter-spacing: -0.02em;
}

.qh-people-read__lede {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(12, 18, 64, 0.62);
}

.qh-people-read__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
    gap: 1rem 1.15rem;
}

.qh-people-read__cell {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
}

.qh-people-read__card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    width: 100%;
    min-height: 5.5rem;
    padding: 1.15rem 1.1rem 1.15rem 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(17, 31, 162, 0.1);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none !important;
    color: var(--qh-navy) !important;
    font-family: var(--qh-font-quote);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.42;
    box-shadow: 0 4px 18px rgba(17, 31, 162, 0.06);
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.25s ease,
        border-color 0.2s ease;
}

.qh-people-read__card:hover {
    transform: translateY(-3px);
    border-color: rgba(84, 120, 255, 0.35);
    box-shadow: 0 10px 32px rgba(17, 31, 162, 0.12);
}

.qh-people-read__card-text {
    flex: 1;
    min-width: 0;
}

.qh-people-read__card-go {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.1rem;
    color: var(--qh-blue);
    font-size: 1.35rem;
    opacity: 0.85;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.qh-people-read__card:hover .qh-people-read__card-go {
    transform: translateX(3px);
    color: var(--qh-navy);
}

/* Collection page hero (no eyebrow / tag row) */
.qh-collection-hero {
    background: #fff;
    border: 1px solid var(--qh-card-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--qh-card-shadow);
    text-align: center;
}

.qh-collection-hero__title {
    font-family: var(--qh-font-quote);
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    font-weight: 650;
    line-height: 1.15;
    color: var(--qh-navy);
    margin: 0 0 0.85rem;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.qh-collection-hero__lead {
    max-width: 40rem;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(12, 18, 64, 0.76);
}

/* Collection / guide quote wall (topic.php, tag.php hub) */
.qh-wall {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: none;
    margin: 0 auto 2.75rem;
    padding: 0;
}

.qh-wall-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 10.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f6f8ff 55%, #f0f3ff 100%);
    border: 1px solid rgba(17, 31, 162, 0.11);
    border-radius: var(--qh-radius-md);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        var(--qh-card-shadow);
    overflow: hidden;
}

.qh-wall-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--qh-navy), var(--qh-blue), var(--qh-cyan));
    border-radius: var(--qh-radius-md) 0 0 var(--qh-radius-md);
}

.qh-wall-card__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.1rem;
    padding: clamp(1.35rem, 3.5vw, 2rem) clamp(1.25rem, 3.5vw, 2rem) clamp(1.35rem, 3.5vw, 2rem) clamp(1.45rem, 3.5vw, 2.1rem);
}

@media (min-width: 720px) {
    .qh-wall-card--has-media .qh-wall-card__inner {
        flex-direction: row;
        align-items: stretch;
        gap: 1.75rem;
    }
}

.qh-wall-card__media {
    flex-shrink: 0;
    margin: 0;
    align-self: center;
}

@media (min-width: 720px) {
    .qh-wall-card--has-media .qh-wall-card__media {
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.qh-wall-card__img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(17, 31, 162, 0.14);
}

@media (min-width: 720px) {
    .qh-wall-card__img {
        max-width: 220px;
    }
}

.qh-wall-card__body {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qh-wall-card__mark {
    display: block;
    font-family: var(--qh-font-quote);
    font-size: 2.75rem;
    line-height: 0.85;
    color: rgba(84, 120, 255, 0.22);
    margin-bottom: 0.15rem;
    user-select: none;
}

.qh-wall-card__quote {
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--qh-font-quote);
    font-size: clamp(1.18rem, 2.4vw, 1.42rem);
    line-height: 1.52;
    font-weight: 600;
    color: var(--qh-ink);
}

.qh-wall-card__quote p {
    margin: 0;
}

.qh-wall-card__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    font-family: var(--qh-font-ui);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--qh-blue);
}

.qh-wall-card__author-line {
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--qh-yellow), var(--qh-cyan));
    border-radius: 2px;
}

.qh-wall-card__vote {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(17, 31, 162, 0.08);
}

.qh-wall-card__vote-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qh-wall-vote__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 31, 162, 0.14);
    background: rgba(255, 255, 255, 0.92);
    color: var(--qh-navy);
    font-family: var(--qh-font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 14px rgba(17, 31, 162, 0.06);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease,
        color 0.2s ease;
}

.qh-wall-vote__btn:hover {
    border-color: rgba(84, 120, 255, 0.45);
    color: var(--qh-blue);
    transform: translateY(-1px);
}

.qh-wall-vote__btn.is-active {
    background: linear-gradient(120deg, rgba(255, 222, 66, 0.45), rgba(83, 203, 243, 0.2));
    border-color: rgba(84, 120, 255, 0.35);
    color: var(--qh-navy);
}

.qh-wall-vote__btn iconify-icon {
    font-size: 1.15rem;
    color: var(--qh-blue);
}

.qh-wall-vote__n {
    min-width: 1.25rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Pagination on hub (topic, tag, shared ql-pagination) */
body.qh-site .ql-pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem auto 2.75rem;
    max-width: none;
    width: 100%;
    padding: 0.65rem 0 0;
}

body.qh-site .ql-page-link {
    font-family: var(--qh-font-ui);
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid var(--qh-card-border);
    padding: 0.45rem 0.85rem;
    background: #fff;
    color: var(--qh-navy);
    text-decoration: none;
    box-shadow: var(--qh-card-shadow);
}

body.qh-site .ql-page-link:hover {
    border-color: rgba(84, 120, 255, 0.45);
    color: var(--qh-blue);
}

body.qh-site .ql-page-link.is-active {
    background: linear-gradient(120deg, var(--qh-navy), #1e2fb8);
    color: #fff;
    border-color: transparent;
}

/* Reveal on scroll (skip hero: avoids CLS when async CSS + font swap) */
.qh-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

section.qh-hero.qh-reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

.qh-reveal.qh-reveal--in {
    opacity: 1;
    transform: translateY(0);
}

body.qh-site .ql-hero {
    background: #fff;
    border: 1px solid var(--qh-card-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--qh-card-shadow);
}

body.qh-site .ql-hero h1,
body.qh-site .ql-hero--simple h1 {
    color: var(--qh-navy);
    font-family: var(--qh-font-quote);
}

body.qh-site .qh-wall-page__intro.ql-hero {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 2.35rem clamp(1.25rem, 4.5vw, 2.5rem) 2rem;
}

body.qh-site .ql-eyebrow {
    color: var(--qh-blue);
}

body.qh-site .ql-lead,
body.qh-site .ql-hero__meta {
    color: rgba(12, 18, 64, 0.72);
}

body.qh-site .ql-pill {
    background: rgba(255, 222, 66, 0.22);
    color: var(--qh-navy);
    border: 1px solid rgba(255, 222, 66, 0.45);
}

/* --- Mobile drawer (minimal shell; matches surface.js toggles) --- */

.ql-mnav-backdrop.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    background: rgba(8, 12, 48, 0.55);
    backdrop-filter: blur(8px);
}

body.mobile-drawer-open .ql-mnav-backdrop.mobile-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ql-mdrawer.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 130;
    width: min(20.5rem, calc(100vw - 10px));
    max-height: 100dvh;
    height: 100%;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}

body.mobile-drawer-open .ql-mdrawer.mobile-drawer {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    visibility: visible;
}

.ql-mdrawer__chrome {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100dvh;
    margin-left: 6px;
    border-radius: 18px 0 0 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-right: none;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
}

.ql-mdrawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ql-mdrawer__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ql-mdrawer__title {
    margin: 0;
    font-family: var(--qh-font-quote);
    font-size: 1.05rem;
    color: var(--qh-white);
}

.ql-mdrawer__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--qh-cyan);
}

.ql-mdrawer__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.65rem 0.85rem 1.25rem;
}

.ql-mdrawer__section {
    margin: 0.85rem 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.ql-mdrawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ql-mdrawer__list li {
    margin: 0 0 0.4rem;
}

.ql-mdrawer__link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.ql-mdrawer__link:hover {
    background: rgba(255, 222, 66, 0.12);
    border-color: rgba(255, 222, 66, 0.35);
}

.ql-mdrawer__link.is-active {
    background: rgba(255, 222, 66, 0.18);
    border-color: rgba(255, 222, 66, 0.4);
}

.ql-mdrawer__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: rgba(83, 203, 243, 0.2);
    color: var(--qh-cyan);
}

.ql-mdrawer__chev {
    margin-left: auto;
    opacity: 0.4;
}

.ql-mdrawer__close {
    border: none;
    border-radius: 12px;
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--qh-white);
    cursor: pointer;
}

@media (min-width: 881px) {
    .ql-mdrawer.mobile-drawer,
    .ql-mnav-backdrop.mobile-drawer-backdrop {
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ---- Hub preview cards (A-Z / trending / most liked) ---- */
.qh-preview-grid--pro {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.qh-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.qh-preview-card--pro.qh-preview-card--linked {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: var(--qh-radius-lg);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.qh-preview-card__shell {
    height: 100%;
    min-height: 300px;
    padding: 0;
    border-radius: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f3f6ff 55%, #eef3ff 100%);
    border: 1px solid rgba(17, 31, 162, 0.12);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        var(--qh-card-shadow);
}

.qh-preview-card__shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 80% at 10% 0%, rgba(255, 222, 66, 0.14), transparent 45%),
        radial-gradient(100% 60% at 100% 20%, rgba(83, 203, 243, 0.12), transparent 50%);
    pointer-events: none;
}

.qh-preview-card--pro.qh-preview-card--linked:hover {
    transform: translateY(-6px) scale(1.01);
    z-index: 2;
}

.qh-preview-card--pro.qh-preview-card--linked:hover .qh-preview-card__shell {
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        var(--qh-card-shadow-hover);
    border-color: rgba(84, 120, 255, 0.28);
}

.qh-preview-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1rem 1.15rem 0.35rem;
    position: relative;
    z-index: 1;
}

.qh-preview-card__kind {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(17, 31, 162, 0.55);
}

.qh-preview-card__metric {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--qh-navy);
    background: rgba(255, 222, 66, 0.35);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 222, 66, 0.6);
    white-space: nowrap;
}

.qh-preview-card__title {
    font-family: var(--qh-font-quote);
    font-size: clamp(1.2rem, 2.4vw, 1.45rem);
    margin: 0;
    padding: 0 1.15rem;
    line-height: 1.2;
    color: var(--qh-navy);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.qh-preview-card__visual {
    margin: 0.85rem 1.15rem 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(17, 31, 162, 0.05);
    border: 1px solid rgba(17, 31, 162, 0.08);
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qh-preview-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qh-preview-card__excerpt {
    margin: 0.85rem 1.15rem 0;
    padding: 0;
    border: none;
    font-family: var(--qh-font-quote);
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(12, 18, 64, 0.82);
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
}

.qh-preview-card__ldquo {
    color: rgba(84, 120, 255, 0.35);
    font-size: 1.15em;
    margin-right: 0.08em;
}

.qh-preview-card__byline {
    margin: 0.5rem 1.15rem 5px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--qh-blue);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    position: relative;
    z-index: 1;
}

.qh-preview-card__byline-mark {
    width: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--qh-cyan), var(--qh-blue));
    border-radius: 2px;
}

.qh-preview-card__empty {
    margin: 0.75rem 1.15rem 0;
    font-size: 0.88rem;
    color: rgba(12, 18, 64, 0.5);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.qh-preview-card__foot {
    margin-top: auto;
    padding: 1rem 1.15rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: linear-gradient(180deg, transparent, rgba(17, 31, 162, 0.04));
    border-top: 1px solid rgba(17, 31, 162, 0.08);
    position: relative;
    z-index: 1;
}

.qh-preview-card__foot-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--qh-navy);
}

.qh-preview-card__foot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    flex-shrink: 0;
    color: var(--qh-blue);
    transition: transform 0.3s ease, color 0.2s ease;
}

.qh-preview-card__foot-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.qh-preview-card--pro.qh-preview-card--linked:hover .qh-preview-card__foot-icon {
    transform: translateX(4px);
    color: var(--qh-navy);
}

@media (max-width: 900px) {
    .qh-preview-card__shell {
        height: auto;
        min-height: 0;
    }
}

.qh-crosslinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin: 0 auto 1.75rem;
    padding: 0.85rem 1rem;
    max-width: 100%;
    border-radius: var(--qh-radius-md);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
}

.qh-crosslinks__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(12, 18, 64, 0.45);
    margin-right: 0.25rem;
}

.qh-crosslinks__a {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--qh-blue);
    text-decoration: none;
    padding: 0.25rem 0.45rem;
    border-radius: 8px;
}

.qh-crosslinks__a:hover {
    background: rgba(84, 120, 255, 0.12);
    color: var(--qh-navy);
}

.qh-crosslinks__a--accent {
    color: var(--qh-navy);
    background: rgba(255, 222, 66, 0.35);
    border: 1px solid rgba(255, 222, 66, 0.55);
}

.qh-hub-pager {
    margin: 2rem auto 0;
    max-width: 24rem;
}

.qh-hub-pager__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.qh-hub-pager__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--qh-navy);
    background: #fff;
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

a.qh-hub-pager__btn:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 31, 162, 0.35);
}

.qh-hub-pager__btn--disabled {
    opacity: 0.38;
    cursor: not-allowed;
    box-shadow: none;
}

.qh-submit-panel {
    position: relative;
    max-width: 36rem;
    margin: 0 auto 3rem;
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--qh-card-border);
    box-shadow: var(--qh-card-shadow);
    color: rgba(12, 18, 64, 0.88);
}

.qh-submit-panel__text {
    margin: 0 0 1rem;
    line-height: 1.55;
}

.qh-submit-panel__mail {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    background: linear-gradient(120deg, var(--qh-yellow), #fff4a8);
    color: var(--qh-navy) !important;
    text-decoration: none !important;
    box-shadow: var(--qh-shadow-yellow);
}

.qh-submit-panel__mail:hover {
    filter: brightness(1.06);
}

.qh-submit-panel code {
    font-size: 0.85em;
    padding: 0.1rem 0.35rem;
    border-radius: 6px;
    background: var(--qh-page-elevated);
    border: 1px solid var(--qh-card-border);
}

.qh-submit-success {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 16px;
    background: rgba(83, 203, 243, 0.12);
    border: 1px solid rgba(83, 203, 243, 0.35);
    color: var(--qh-navy);
}

.qh-submit-success__title {
    margin: 0 0 0.5rem;
    font-family: var(--qh-font-quote);
    font-size: 1.35rem;
    font-weight: 650;
}

.qh-submit-success__text {
    margin: 0 0 0.75rem;
    line-height: 1.55;
    color: rgba(12, 18, 64, 0.82);
}

.qh-submit-success__sub {
    margin: 0;
    font-size: 0.95rem;
}

.qh-submit-errors {
    max-width: 36rem;
    margin: 0 auto 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: 14px;
    background: rgba(220, 80, 80, 0.08);
    border: 1px solid rgba(200, 60, 60, 0.28);
    color: var(--qh-navy);
}

.qh-submit-errors__title {
    margin: 0 0 0.45rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.qh-submit-errors__list {
    margin: 0;
    padding-left: 1.15rem;
    line-height: 1.5;
}

.qh-submit-form {
    margin: 0;
}

.qh-submit-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qh-submit-form__field {
    margin-bottom: 1.15rem;
}

.qh-submit-form__field--captcha {
    border-top: 1px dashed var(--qh-card-border);
    margin-top: 1.25rem;
    padding-top: 1rem;
}

.qh-submit-form__label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--qh-navy);
}

.qh-submit-form__hint {
    font-weight: 500;
    color: rgba(12, 18, 64, 0.5);
    font-size: 0.85rem;
}

.qh-submit-form__captcha-q {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: rgba(12, 18, 64, 0.85);
}

.qh-submit-form__input,
.qh-submit-form__textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--qh-card-border);
    font-family: var(--qh-font-ui);
    font-size: 1rem;
    color: var(--qh-ink);
    background: #fff;
    box-sizing: border-box;
}

.qh-submit-form__textarea {
    resize: vertical;
    min-height: 8rem;
    line-height: 1.5;
}

.qh-submit-form__input:focus,
.qh-submit-form__textarea:focus {
    outline: none;
    border-color: var(--qh-blue);
    box-shadow: 0 0 0 3px rgba(84, 120, 255, 0.2);
}

.qh-submit-form__input--narrow {
    max-width: 8rem;
}

.qh-submit-form__actions {
    margin-top: 1.35rem;
}

.qh-submit-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 999px;
    font-family: var(--qh-font-ui);
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    background: linear-gradient(120deg, var(--qh-navy), #1e2fb8);
    color: #fff;
    box-shadow: var(--qh-card-shadow);
}

.qh-submit-form__btn:hover {
    filter: brightness(1.08);
}

.qh-submit-form__btn:focus-visible {
    outline: 2px solid var(--qh-yellow);
    outline-offset: 3px;
}

/* Guides hub (guides.php) */
.qh-guides-grid {
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 1rem;
}

.qh-guides-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.2rem;
    min-height: 5.5rem;
    border-radius: var(--qh-radius-md);
    border: 1px solid var(--qh-card-border);
    background: var(--qh-page-elevated);
    box-shadow: var(--qh-card-shadow);
    text-decoration: none;
    color: var(--qh-navy);
    font-family: var(--qh-font-ui);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.qh-guides-card:hover {
    border-color: rgba(84, 120, 255, 0.35);
    box-shadow: var(--qh-card-shadow-hover);
    transform: translateY(-2px);
}

.qh-guides-card__label {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--qh-ink);
}

.qh-guides-card__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(84, 120, 255, 0.12);
    color: var(--qh-navy);
    font-size: 1.1rem;
}

body.qh-site .ql-explore-body-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: min(52rem, 100%);
    border-radius: var(--qh-radius-md);
    border: 1px solid var(--qh-card-border);
    background: var(--qh-page-elevated);
    box-shadow: var(--qh-card-shadow);
}

body.qh-site .ql-explore-body {
    color: var(--qh-ink);
}

body.qh-site .ql-explore-body__p {
    color: rgba(12, 18, 64, 0.82);
}

body.qh-site .ql-hero--explore-guide .ql-lead {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.qh-quote-carousel {
    margin: 1.2rem 0 0;
    padding: 1rem 0 0.25rem;
}

.qh-quote-carousel__head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.35rem;
}

.qh-quote-carousel__title {
    margin: 0;
    font-family: var(--qh-font-quote);
    font-size: 1.25rem;
    color: var(--qh-navy);
    text-align: center;
}

.qh-quote-carousel__intro {
    margin: 0 0 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(12, 18, 64, 0.7);
}

.qh-quote-carousel__track {
    display: flex;
    align-items: stretch;
    gap: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.05rem 0.55rem;
    scrollbar-width: thin;
}

.qh-quote-carousel__item {
    display: block;
    flex: 0 0 auto;
    width: min(34vw, 180px);
    text-decoration: none;
}

.qh-quote-carousel__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 9 / 16;
}

.qh-reels-page {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    padding: 0;
}

.qh-reels-page__hint {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
    border-radius: 999px;
    background: rgba(17, 31, 162, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.qh-reels-page__hint.is-dismissed {
    opacity: 0;
    pointer-events: none;
}

.qh-reels-page__arrow {
    font-size: 0.92rem;
}

.qh-reels-feed {
    height: calc(100dvh - 6.8rem);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.qh-reels-slide {
    min-height: calc(100dvh - 6.8rem);
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25rem 0;
}

.qh-reels-slide__imglink {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.qh-reels-slide__img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .qh-reels-feed,
    .qh-reels-slide {
        height: calc(100dvh - 7.4rem);
        min-height: calc(100dvh - 7.4rem);
    }
}
