/*
 * KnowThePerch - State Birds hub layout layer
 * Adapted from the v5 hub component system and scoped to the state birds hub.
 */

body.ktp-state-birds-hub-page {
    --ktp-hub-max-width: 1080px;
}

@keyframes ktpSbhFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ktp-sbh-fade { animation: ktpSbhFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.ktp-sbh-fade-d1 { animation-delay: 0.1s; }
.ktp-sbh-fade-d2 { animation-delay: 0.25s; }

.ktp-state-birds-hub-page .site-inner,
.ktp-state-birds-hub-page .content-sidebar-wrap,
.ktp-state-birds-hub-page .entry {
    max-width: none;
}

.ktp-state-birds-hub-page .entry {
    padding: 0;
    border: none;
    margin: 0;
}

.ktp-sbh-hero {
    display: flex;
    min-height: 360px;
}

.ktp-sbh-hero__text {
    width: 45%;
    background: var(--ktp-parchment);
    border-right: 1px solid rgba(45, 74, 62, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 48px 0;
}

.ktp-sbh-hero__text-inner {
    max-width: 420px;
    padding: 0 48px 0 32px;
}

.ktp-sbh-hero__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ktp-sbh-hero__label img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.ktp-sbh-hero__label span {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ktp-sbh-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--ktp-forest);
    margin: 0 0 12px;
    line-height: 1.1;
}

.ktp-sbh-hero p {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    color: var(--ktp-bark);
    margin: 0 0 20px;
    line-height: 1.7;
    max-width: 48ch;
}

.ktp-sbh-hero__stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.ktp-sbh-hero__stats strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ktp-forest);
}

.ktp-sbh-hero__stats span {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    color: var(--ktp-stone);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.ktp-sbh-hero__image {
    width: 55%;
    position: relative;
    overflow: hidden;
    background: rgba(45, 74, 62, 0.08);
}

.ktp-sbh-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ktp-sbh-hero__fade {
    display: none;
}

.ktp-sbh-content {
    max-width: var(--ktp-hub-max-width);
    margin: 0 auto;
    padding: 0 32px 80px;
}

.ktp-sbh-section {
    padding-top: 80px;
}

.ktp-sbh-section__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 24px;
}

.ktp-sbh-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ktp-forest);
    margin: 0;
    line-height: 1.2;
}

.ktp-sbh-section__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.ktp-sbh-section__art {
    width: 320px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    background: var(--ktp-sand);
    border: 1px solid rgba(45, 74, 62, 0.08);
}

.ktp-sbh-section__art img {
    width: 100%;
    display: block;
}

.ktp-sbh-section__body {
    flex: 1;
}

.ktp-sbh-label {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.ktp-sbh-row {
    background: var(--ktp-parchment);
    border-left: 3px solid var(--ktp-canopy);
    padding: 14px 20px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-left-color 0.2s, background 0.2s;
}

.ktp-sbh-row:hover {
    border-left-color: var(--ktp-amber);
    background: var(--ktp-white);
}

.ktp-sbh-row--amber {
    border-left-color: var(--ktp-amber);
}

.ktp-sbh-row--stack {
    flex-direction: column;
    align-items: stretch;
}

.ktp-sbh-row__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.ktp-sbh-row__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ktp-forest);
}

.ktp-sbh-row__title--flex {
    flex: 1;
}

.ktp-sbh-row__meta {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    color: var(--ktp-canopy);
    font-weight: 600;
}

.ktp-sbh-row__meta--amber {
    color: var(--ktp-amber);
}

.ktp-sbh-row__desc {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 13px;
    color: var(--ktp-bark);
    line-height: 1.6;
    margin: 4px 0 8px;
    max-width: 50ch;
}

.ktp-sbh-row__bird {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 13px;
    color: var(--ktp-bark);
    flex: 1;
}

.ktp-sbh-row__year {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 11px;
    color: var(--ktp-stone);
    flex-shrink: 0;
}

.ktp-sbh-row svg {
    color: var(--ktp-stone);
    opacity: 0.4;
    flex-shrink: 0;
}

.ktp-sbh-row__chevron {
    color: var(--ktp-stone);
    opacity: 0.5;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.ktp-sbh-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 11px 20px;
    background: var(--ktp-parchment);
    border-radius: 6px;
    border: 1px solid var(--ktp-sand);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin: 0 8px 8px 0;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    color: var(--ktp-canopy);
    font-weight: 500;
}

.ktp-sbh-tag:hover {
    border-color: rgba(74, 124, 92, 0.4);
    background: var(--ktp-white);
}

.ktp-sbh-tag--small {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    margin: 0 4px 4px 0;
    border-color: rgba(74, 124, 92, 0.15);
}

.ktp-sbh-state-abbr {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ktp-canopy);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.ktp-sbh-region-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ktp-sbh-region-group {
    margin-bottom: 40px;
}

.ktp-sbh-region-group__header {
    border-top: 3px solid var(--ktp-canopy);
    padding-top: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ktp-sbh-region-group__header img {
    border-radius: 5px;
}

.ktp-sbh-region-group__name {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--ktp-forest);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ktp-sbh-region-group__count {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 11px;
    color: var(--ktp-stone);
}

.ktp-sbh-pill {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid var(--ktp-sand);
    background: var(--ktp-parchment);
    color: var(--ktp-bark);
    font-size: 11px;
    font-family: 'Alegreya Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ktp-sbh-pill--active,
.ktp-sbh-pill:hover {
    border-color: var(--ktp-canopy);
    background: var(--ktp-canopy);
    color: var(--ktp-white);
    font-weight: 600;
}

.ktp-sbh-pill:focus-visible,
a.ktp-sbh-quiet:focus-visible .ktp-sbh-row {
    outline: 2px solid var(--ktp-amber);
    outline-offset: 3px;
}

a.ktp-sbh-quiet:focus-visible {
    border-radius: 8px;
}

.ktp-sbh-callout {
    padding-top: 20px;
    max-width: 560px;
    margin: 20px 0 0;
}

.ktp-sbh-callout--amber {
    border-top: 2px solid var(--ktp-amber);
}

.ktp-sbh-callout__label {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    color: var(--ktp-amber);
}

.ktp-sbh-callout p {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    color: var(--ktp-ink);
    line-height: 1.7;
    margin: 0;
}

a.ktp-sbh-quiet {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ktp-sbh-lift {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ktp-sbh-lift:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .ktp-sbh-hero {
        flex-direction: column;
    }

    .ktp-sbh-hero__text,
    .ktp-sbh-hero__image {
        width: 100%;
    }

    .ktp-sbh-hero__text {
        justify-content: flex-start;
        padding: 32px 0;
    }

    .ktp-sbh-hero__text-inner {
        padding: 0 20px;
    }

    .ktp-sbh-hero__image {
        min-height: 200px;
    }

    .ktp-sbh-hero__fade {
        display: none;
    }

    .ktp-sbh-hero h1 {
        font-size: 32px;
    }

    .ktp-sbh-content {
        padding: 0 20px 56px;
    }

    .ktp-sbh-section {
        padding-top: 48px;
    }

    .ktp-sbh-section__layout {
        flex-direction: column;
    }

    .ktp-sbh-section__art {
        width: 100%;
    }

    .ktp-sbh-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ktp-sbh-hero__stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .ktp-sbh-row {
        padding: 12px 16px;
    }

    .ktp-sbh-row__bird,
    .ktp-sbh-row__year {
        display: none;
    }
}

/*
 * Shared editorial hubs: /birds/, /families/, /birds-in/, /compare/, /guides/, /blog/, /attract/
 * This layer modernizes the older shared hub runtime without changing its content contract.
 */

body.ktp-hub-editorial {
    --ktp-hub-shell-width: 1100px;
}

.ktp-hub-editorial .ktp-hub-editorial-hero {
    margin: 0;
    background: var(--ktp-sand);
}

.ktp-hub-editorial .ktp-hub-hero-inner {
    max-width: none;
    display: flex;
    min-height: 420px;
    padding: 0;
    gap: 0;
}

.ktp-hub-editorial .ktp-hub-hero-copy {
    width: 45%;
    background: var(--ktp-parchment);
    border-right: 1px solid rgba(45, 74, 62, 0.12);
    padding: 56px 40px 56px max(24px, calc((100vw - var(--ktp-hub-shell-width)) / 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ktp-hub-editorial .ktp-hub-hero-copy h1 {
    max-width: 9ch;
    font-size: 46px;
    line-height: 1.04;
    margin: 18px 0 14px;
}

.ktp-hub-editorial .ktp-hub-hero-copy p {
    max-width: 48ch;
}

.ktp-hub-editorial .ktp-hub-review-badge {
    margin-top: 28px;
    width: fit-content;
}

.ktp-hub-editorial .ktp-hub-feature-art {
    width: 55%;
    margin: 0;
    border-radius: 0;
    min-height: 420px;
    box-shadow: none;
    background: rgba(45, 74, 62, 0.08);
}

.ktp-hub-editorial .ktp-hub-feature-art img {
    height: 100%;
    object-fit: cover;
}

.ktp-hub-editorial .ktp-hub-feature-art::after {
    display: none;
}

.ktp-hub-editorial .ktp-hub-feature-art figcaption {
    right: 24px;
    bottom: 24px;
}

.ktp-hub-editorial .ktp-hub-shell {
    max-width: var(--ktp-hub-shell-width);
    margin: 0 auto;
    padding: 56px 32px 88px;
    gap: 32px;
}

.ktp-hub-editorial .ktp-hub-main {
    gap: 28px;
}

.ktp-hub-editorial .ktp-hub-proof-strip {
    background: transparent;
    gap: 18px;
}

.ktp-hub-editorial .ktp-hub-proof-strip div,
.ktp-hub-editorial .ktp-hub-job-list article,
.ktp-hub-editorial .ktp-hub-quality-grid article {
    background: var(--ktp-parchment);
    border: 1px solid rgba(45, 74, 62, 0.08);
    border-left: 3px solid var(--ktp-canopy);
    border-radius: 0;
    box-shadow: none;
}

.ktp-hub-editorial .ktp-hub-editorial-panel,
.ktp-hub-editorial .ktp-hub-module,
.ktp-hub-editorial .ktp-hub-field-guide,
.ktp-hub-editorial .ktp-hub-gateway-desk,
.ktp-hub-editorial .ktp-hub-taxonomy-atlas,
.ktp-hub-editorial .ktp-hub-place-navigator,
.ktp-hub-editorial .ktp-hub-decision-cockpit,
.ktp-hub-editorial .ktp-hub-editorial-desk,
.ktp-hub-editorial .ktp-hub-decision-table,
.ktp-hub-editorial .ktp-hub-related-box,
.ktp-hub-editorial .ktp-hub-report-error,
.ktp-hub-editorial .ktp-hub-quality-grid {
    border-radius: 0;
    box-shadow: none;
}

.ktp-hub-editorial .ktp-hub-module,
.ktp-hub-editorial .ktp-hub-field-guide,
.ktp-hub-editorial .ktp-hub-quality-grid,
.ktp-hub-editorial .ktp-hub-gateway-desk,
.ktp-hub-editorial .ktp-hub-taxonomy-atlas,
.ktp-hub-editorial .ktp-hub-place-navigator,
.ktp-hub-editorial .ktp-hub-decision-cockpit,
.ktp-hub-editorial .ktp-hub-editorial-desk {
    background: var(--ktp-parchment);
}

.ktp-hub-editorial .ktp-hub-module-card,
.ktp-hub-editorial .ktp-hub-related-grid a {
    border-radius: 0;
    border: 1px solid rgba(45, 74, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ktp-hub-editorial .ktp-hub-module-card:hover,
.ktp-hub-editorial .ktp-hub-related-grid a:hover {
    transform: none;
    background: var(--ktp-white);
    border-color: rgba(74, 124, 92, 0.32);
    box-shadow: none;
}

.ktp-hub-editorial .ktp-hub-table-row {
    border-left: 3px solid var(--ktp-canopy);
    border-radius: 0;
    box-shadow: none;
}

.ktp-hub-editorial .ktp-hub-table-row:hover {
    border-left-color: var(--ktp-amber);
}

.ktp-hub-editorial .ktp-hub-rail .ktp-sidebar-box,
.ktp-hub-editorial .ktp-editor-card {
    border-radius: 0;
    box-shadow: none;
}

.ktp-hub-editorial .ktp-hub-rail-link {
    border-radius: 0;
}

.ktp-hub-editorial .ktp-hub-module-card:focus-visible,
.ktp-hub-editorial .ktp-hub-related-grid a:focus-visible,
.ktp-hub-editorial .ktp-hub-table-row:focus-visible,
.ktp-hub-editorial .ktp-hub-gateway-stack a:focus-visible,
.ktp-hub-editorial .ktp-hub-place-grid a:focus-visible {
    outline: 2px solid var(--ktp-amber);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .ktp-hub-editorial .ktp-hub-hero-inner {
        flex-direction: column;
        min-height: 0;
    }

    .ktp-hub-editorial .ktp-hub-hero-copy,
    .ktp-hub-editorial .ktp-hub-feature-art {
        width: 100%;
    }

    .ktp-hub-editorial .ktp-hub-hero-copy {
        padding: 36px 20px;
    }

    .ktp-hub-editorial .ktp-hub-hero-copy h1 {
        max-width: none;
        font-size: 34px;
    }

    .ktp-hub-editorial .ktp-hub-feature-art {
        min-height: 220px;
    }

    .ktp-hub-editorial .ktp-hub-feature-art::after {
        display: none;
    }

    .ktp-hub-editorial .ktp-hub-shell {
        padding: 40px 20px 60px;
    }
}

/*
 * Shared hub refresh: real owner-template redesign for ktp-hub.php.
 */

body.ktp-shh-page {
    --ktp-shh-max-width: 1100px;
}

.ktp-v5-page-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.ktp-v5-page-shell .ktp-v5-section {
    background: transparent;
    border: 0;
    padding: 80px 0 0;
}

.ktp-v5-page-shell .ktp-v5-section__header {
    padding-top: 20px;
    margin-bottom: 24px;
}

.ktp-v5-section {
    background: var(--ktp-parchment);
    border: 1px solid rgba(45, 74, 62, 0.08);
    padding: 28px;
}

.ktp-v5-section__header {
    border-top: 3px solid var(--ktp-canopy);
    padding-top: 18px;
    margin-bottom: 22px;
}

.ktp-v5-section__header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 31px;
    line-height: 1.14;
    color: var(--ktp-forest);
    margin: 0 0 10px;
    max-width: 24ch;
}

.ktp-v5-section__header .ktp-hub-lead {
    max-width: 56ch;
}

.ktp-v5-row-stack {
    display: grid;
    gap: 2px;
}

.ktp-v5-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: var(--ktp-parchment);
    border: 0;
    border-left: 3px solid var(--ktp-canopy);
    text-decoration: none;
    color: inherit;
    transition: border-left-color 0.2s ease, background 0.2s ease;
}

.ktp-v5-row__icon {
    flex: 0 0 auto;
}

.ktp-v5-row:hover,
.ktp-v5-row:focus-visible {
    background: var(--ktp-white);
    border-left-color: var(--ktp-amber);
}

.ktp-v5-row--amber {
    border-left-color: var(--ktp-amber);
}

.ktp-v5-row--olive {
    border-left-color: #8b7a32;
}

.ktp-v5-row--blue {
    border-left-color: #4a6fa5;
}

.ktp-v5-row__main {
    display: grid;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
}

.ktp-v5-row__main strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    line-height: 1.12;
    color: var(--ktp-forest);
}

.ktp-v5-row__main span {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ktp-bark);
}

.ktp-v5-row__meta {
    flex: 0 0 auto;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--ktp-canopy);
}

.ktp-v5-count-label,
.ktp-v5-feature__meta {
    color: var(--ktp-stone);
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    margin: 6px 0 0;
}

.ktp-v5-block {
    display: flex;
    align-items: center;
    gap: 28px;
    background: var(--ktp-parchment);
    border: 1px solid var(--ktp-sand);
    color: inherit;
    margin-bottom: 14px;
    padding: 26px 28px;
    text-decoration: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ktp-v5-block:hover,
.ktp-v5-block:focus-visible {
    background: var(--ktp-white);
    border-color: rgba(74, 124, 92, 0.35);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.ktp-v5-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.ktp-v5-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 9px 14px;
    background: var(--ktp-parchment);
    border: 1px solid var(--ktp-sand);
    color: var(--ktp-canopy);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ktp-v5-tag:hover,
.ktp-v5-tag:focus-visible {
    background: var(--ktp-white);
    border-color: rgba(74, 124, 92, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ktp-v5-tag strong {
    color: var(--ktp-forest);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 16px;
}

.ktp-v5-tag span {
    color: var(--ktp-canopy);
}

.ktp-v5-order + .ktp-v5-order,
.ktp-v5-region + .ktp-v5-region,
.ktp-v5-guide-category + .ktp-v5-guide-category {
    margin-top: 34px;
}

.ktp-v5-order__header,
.ktp-v5-region__header {
    border-top: 3px solid var(--ktp-canopy);
    padding-top: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.ktp-v5-category-title {
    align-items: center;
    display: flex;
    gap: 10px;
}

.ktp-v5-category-title__icon {
    flex: 0 0 auto;
}

.ktp-v5-order__header h3 {
    color: var(--ktp-forest);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    line-height: 1.12;
    margin: 0;
}

.ktp-v5-order__header span,
.ktp-v5-region__header span {
    color: var(--ktp-stone);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
}

.ktp-v5-order__header strong,
.ktp-v5-region__header strong {
    color: var(--ktp-forest);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ktp-v5-order > p {
    color: var(--ktp-bark);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 16px;
    max-width: 64ch;
}

.ktp-v5-profile-search {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 560px;
}

.ktp-v5-profile-search label {
    display: grid;
    gap: 6px;
}

.ktp-v5-profile-search label span {
    color: var(--ktp-canopy);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ktp-v5-profile-search input {
    background: var(--ktp-white);
    border: 1px solid var(--ktp-sand);
    color: var(--ktp-ink);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    min-width: 0;
    padding: 12px 14px;
}

.ktp-v5-profile-search button {
    background: var(--ktp-amber);
    border: 0;
    color: var(--ktp-white);
    cursor: pointer;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 900;
    min-height: 42px;
    padding: 0 18px;
    text-transform: uppercase;
}

.ktp-v5-profile-search button:hover,
.ktp-v5-profile-search button:focus-visible {
    background: var(--ktp-canopy);
}

.ktp-v5-route-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ktp-v5-route-grid .ktp-v5-block {
    align-items: flex-start;
    margin-bottom: 0;
}

.ktp-v5-route-copy {
    display: grid;
    gap: 6px;
}

.ktp-v5-route-copy strong {
    color: var(--ktp-forest);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    line-height: 1.14;
}

.ktp-v5-route-copy > span:last-child {
    color: var(--ktp-bark);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.ktp-v5-profile-popular .ktp-v5-row {
    justify-content: flex-start;
}

.ktp-v5-profile-popular .ktp-v5-row__meta {
    margin-left: auto;
}

.ktp-v5-compare-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: end;
}

.ktp-v5-compare-search label {
    display: grid;
    gap: 6px;
}

.ktp-v5-compare-search label span,
.ktp-v5-kicker {
    color: var(--ktp-canopy);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ktp-v5-compare-search input {
    background: var(--ktp-white);
    border: 1px solid var(--ktp-sand);
    color: var(--ktp-ink);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    min-width: 0;
    padding: 12px 14px;
}

.ktp-v5-compare-search > strong,
.ktp-v5-pair__names span {
    align-items: center;
    background: var(--ktp-amber);
    color: var(--ktp-white);
    display: inline-flex;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 900;
    justify-content: center;
    min-height: 30px;
    min-width: 30px;
}

.ktp-v5-pair {
    justify-content: flex-start;
}

.ktp-v5-pair--reverse {
    flex-direction: row-reverse;
}

.ktp-v5-pair__names {
    display: grid;
    flex: 0 0 210px;
    gap: 8px;
    justify-items: center;
    text-align: center;
}

.ktp-v5-pair__names strong,
.ktp-v5-feature strong {
    color: var(--ktp-forest);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    line-height: 1.14;
}

.ktp-v5-pair__names em {
    color: var(--ktp-stone);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
}

.ktp-v5-pair__copy p,
.ktp-v5-feature p {
    color: var(--ktp-bark);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    max-width: 52ch;
}

.ktp-v5-feature {
    justify-content: space-between;
}

.ktp-v5-feature > div:first-child {
    display: grid;
    gap: 10px;
}

.ktp-v5-feature__media {
    flex: 0 0 320px;
    min-height: 190px;
}

.ktp-v5-editorial-note {
    border-top: 2px solid var(--ktp-sage);
    margin-top: 60px;
    max-width: 480px;
    padding-top: 20px;
}

.ktp-v5-editorial-note span {
    color: var(--ktp-canopy);
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ktp-v5-editorial-note p {
    color: var(--ktp-ink);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.ktp-v5-location-search {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 560px;
}

.ktp-v5-location-search label {
    display: grid;
    gap: 6px;
}

.ktp-v5-location-search label span {
    color: var(--ktp-canopy);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.ktp-v5-location-search input {
    background: var(--ktp-white);
    border: 1px solid var(--ktp-sand);
    color: var(--ktp-ink);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    min-width: 0;
    padding: 12px 14px;
}

.ktp-v5-location-search button {
    background: var(--ktp-amber);
    border: 0;
    color: var(--ktp-white);
    cursor: pointer;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    font-weight: 900;
    min-height: 42px;
    padding: 0 18px;
    text-transform: uppercase;
}

.ktp-v5-location-search button:hover,
.ktp-v5-location-search button:focus-visible {
    background: var(--ktp-canopy);
}

.ktp-v5-location-art-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.ktp-v5-location-art {
    flex: 0 0 340px;
    min-height: 240px;
}

.ktp-shh-hero {
    display: flex;
    min-height: 420px;
    border-top: 1px solid rgba(45, 74, 62, 0.08);
    border-bottom: 1px solid rgba(45, 74, 62, 0.12);
    background: var(--ktp-sand);
}

.ktp-shh-hero__copy {
    width: 45%;
    background: var(--ktp-parchment);
    border-right: 1px solid rgba(45, 74, 62, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 56px 0;
}

.ktp-shh-hero__copy-inner {
    max-width: 430px;
    padding: 0 40px 0 32px;
}

.ktp-shh-hero__copy-inner .ktp-hub-hero-icon {
    margin-bottom: 18px;
}

.ktp-shh-page .ktp-hero-badge {
    border: 1px solid rgba(45, 74, 62, 0.12);
    font-weight: 800;
}

.ktp-shh-page .ktp-hero-badge-state {
    background: #efd4b6;
    color: #5c3516;
}

.ktp-shh-page .ktp-hero-badge-iucn {
    background: #c7e6df;
    color: #17463c;
}

.ktp-shh-hero__copy-inner h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    line-height: 1.06;
    margin: 16px 0 14px;
    color: var(--ktp-forest);
}

.ktp-shh-hero__copy-inner > p {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ktp-bark);
    margin: 0;
    max-width: 46ch;
}

.ktp-shh-hero__copy-inner .ktp-hub-review-badge {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin-top: 28px;
    padding: 0;
}

.ktp-shh-page .ktp-hub-review-badge span {
    color: #4b3a2d;
}

.ktp-shh-page .ktp-hub-review-badge strong {
    color: #38634c;
}

.ktp-shh-hero__art {
    width: 55%;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: rgba(45, 74, 62, 0.08);
}

.ktp-shh-hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ktp-shh-hero__art figcaption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    max-width: 260px;
    background: rgba(250, 249, 246, 0.94);
    color: var(--ktp-forest);
    border: 1px solid rgba(45, 74, 62, 0.12);
    padding: 12px 14px;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 12px;
    line-height: 1.55;
}

.ktp-shh-hero__art figcaption span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ktp-canopy);
    margin-bottom: 4px;
}

.ktp-shh-shell {
    max-width: var(--ktp-shh-max-width);
    margin: 0 auto;
    padding: 56px 32px 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
}

.ktp-shh-main {
    display: grid;
    gap: 28px;
}

.ktp-shh-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ktp-shh-metric,
.ktp-shh-section,
.ktp-shh-rail__card {
    background: var(--ktp-parchment);
    border: 1px solid rgba(45, 74, 62, 0.08);
    box-shadow: none;
}

.ktp-shh-metric {
    padding: 18px 20px;
    border-left: 3px solid var(--ktp-canopy);
}

.ktp-shh-metric__icon {
    margin-bottom: 10px;
}

.ktp-shh-metric span {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ktp-canopy);
    margin-bottom: 6px;
}

.ktp-shh-metric strong {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    line-height: 1.1;
    color: var(--ktp-forest);
}

.ktp-shh-section {
    padding: 26px 28px;
}

.ktp-shh-section__header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 31px;
    line-height: 1.14;
    margin: 0 0 10px;
    color: var(--ktp-forest);
}

.ktp-shh-section__header .ktp-hub-lead {
    margin: 0 0 12px;
}

.ktp-shh-callout {
    margin: 20px 0 0;
    padding: 18px 20px 0;
    border-top: 2px solid var(--ktp-amber);
}

.ktp-shh-callout span {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktp-amber);
    margin-bottom: 6px;
}

.ktp-shh-callout p {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    line-height: 1.25;
    color: var(--ktp-forest);
}

.ktp-shh-section__split {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.ktp-shh-note {
    padding: 18px 18px 0;
    border-top: 2px solid var(--ktp-canopy);
}

.ktp-shh-note span {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ktp-canopy);
    margin-bottom: 8px;
}

.ktp-shh-note p {
    margin: 0;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ktp-bark);
}

.ktp-shh-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ktp-shh-card-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ktp-shh-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ktp-parchment);
    border: 1px solid rgba(45, 74, 62, 0.08);
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ktp-shh-card:hover {
    transform: none;
    background: var(--ktp-white);
    border-color: rgba(74, 124, 92, 0.28);
    box-shadow: none;
}

.ktp-shh-card--static:hover {
    transform: none;
}

.ktp-shh-card__media {
    min-height: 156px;
    background: rgba(139, 175, 126, 0.10);
}

.ktp-shh-card__body {
    padding: 18px 18px 20px;
}

.ktp-shh-card__kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ktp-shh-card__icon {
    flex-shrink: 0;
}

.ktp-shh-card__kicker span {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ktp-canopy);
}

.ktp-shh-card strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    line-height: 1.16;
    color: var(--ktp-forest);
    margin-bottom: 8px;
}

.ktp-shh-card p {
    margin: 0;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ktp-bark);
}

.ktp-shh-decision-list {
    display: grid;
    gap: 10px;
}

.ktp-shh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: var(--ktp-parchment);
    border-left: 3px solid var(--ktp-canopy);
    text-decoration: none;
    color: inherit;
    transition: border-left-color 0.2s ease, background 0.2s ease;
}

.ktp-shh-row:hover {
    border-left-color: var(--ktp-amber);
    background: var(--ktp-white);
}

.ktp-shh-row__lead {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ktp-shh-row__icon {
    flex-shrink: 0;
}

.ktp-shh-row__copy span {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ktp-canopy);
    margin-bottom: 4px;
}

.ktp-shh-row__copy strong {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    line-height: 1.12;
    color: var(--ktp-forest);
    margin-bottom: 4px;
}

.ktp-shh-row__copy p {
    margin: 0;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ktp-bark);
}

.ktp-shh-row__chevron {
    color: var(--ktp-stone);
    opacity: 0.55;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.ktp-shh-prose {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ktp-ink);
}

.ktp-shh-prose > *:first-child {
    margin-top: 0;
}

.ktp-shh-prose > *:last-child {
    margin-bottom: 0;
}

.ktp-shh-section--report .ktp-shh-section__split {
    align-items: center;
}

.ktp-shh-report-action {
    display: flex;
    justify-content: flex-end;
}

.ktp-shh-rail {
    display: grid;
    gap: 20px;
    align-content: start;
}

.ktp-shh-rail .ktp-sidebar-box,
.ktp-shh-rail .ktp-editor-card {
    box-shadow: 0 12px 28px rgba(30, 39, 34, 0.06);
}

.ktp-shh-card:focus-visible,
.ktp-shh-row:focus-visible,
.ktp-hub-rail-link:focus-visible {
    outline: 2px solid var(--ktp-amber);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .ktp-shh-shell {
        grid-template-columns: 1fr;
    }

    .ktp-shh-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ktp-shh-hero {
        flex-direction: column;
        min-height: 0;
    }

    .ktp-shh-hero__copy,
    .ktp-shh-hero__art {
        width: 100%;
    }

    .ktp-shh-hero__copy {
        justify-content: flex-start;
        padding: 36px 0;
    }

    .ktp-shh-hero__copy-inner {
        padding: 0 20px;
    }

    .ktp-shh-hero__copy-inner h1 {
        font-size: 34px;
    }

    .ktp-shh-hero__art {
        min-height: 220px;
    }

    .ktp-shh-hero__art::before {
        display: none;
    }

    .ktp-shh-shell {
        padding: 40px 20px 60px;
    }

    .ktp-v5-page-shell {
        padding: 0 20px 60px;
    }

    .ktp-v5-page-shell .ktp-v5-section {
        padding-top: 52px;
    }

    .ktp-shh-metrics,
    .ktp-v5-profile-search,
    .ktp-v5-route-grid,
    .ktp-v5-compare-search,
    .ktp-shh-card-grid,
    .ktp-shh-card-grid--compact,
    .ktp-shh-rail {
        grid-template-columns: 1fr;
    }

    .ktp-v5-section {
        padding: 22px 20px;
    }

    .ktp-v5-block,
    .ktp-v5-pair,
    .ktp-v5-pair--reverse,
    .ktp-v5-feature {
        flex-direction: column;
        align-items: stretch;
    }

    .ktp-v5-pair__names,
    .ktp-v5-feature__media {
        flex-basis: auto;
    }

    .ktp-v5-order__header,
    .ktp-v5-region__header,
    .ktp-v5-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .ktp-v5-profile-popular .ktp-v5-row__meta {
        margin-left: 0;
    }

    .ktp-shh-section__split {
        grid-template-columns: 1fr;
    }

    .ktp-shh-row {
        align-items: flex-start;
    }

    .ktp-shh-row__lead {
        flex: 1;
    }

    .ktp-v5-location-art-layout {
        flex-direction: column;
    }

    .ktp-v5-location-art {
        flex-basis: auto;
        width: 100%;
    }

    .ktp-v5-location-search {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   Hub v3 layout layer — ktp-hub-v3-* prefix
   Replaces ktp-shh-hero and ktp-sbh-hero with parchment-centered text hero.
   Appended 2026-04-29 for KTP_VERSION 1.0.59.
   ============================================================================= */

/* Override shell wrappers to be transparent full-width containers */
main.ktp-v5-page-shell {
    max-width: none;
    margin: 0;
    padding: 0;
}

main.ktp-shh-shell {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Hero */
.ktp-hub-v3-hero {
    background: var(--ktp-parchment);
    border-bottom: 1px solid var(--ktp-sand);
    padding: 64px 24px;
    text-align: center;
}

.ktp-hub-v3-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.ktp-hub-v3-eyebrow {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.ktp-hub-v3-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--ktp-forest);
    line-height: 1.1;
    margin: 0 0 14px;
}

.ktp-hub-v3-hero-desc {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
    color: var(--ktp-bark);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 52ch;
}

/* Stats bar */
.ktp-hub-v3-stats {
    background: var(--ktp-forest);
    display: flex;
    justify-content: center;
}

.ktp-hub-v3-stat {
    padding: 20px 48px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.ktp-hub-v3-stat:last-child {
    border-right: none;
}

.ktp-hub-v3-stat-value {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.ktp-hub-v3-stat-label {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

/* Shell */
.ktp-hub-v3-shell {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Section wrapper */
.ktp-hub-v3-section {
    padding-top: 56px;
}

.ktp-hub-v3-section-header {
    margin-bottom: 24px;
}

.ktp-hub-v3-section-eyebrow {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.ktp-hub-v3-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ktp-forest);
    margin: 0;
    line-height: 1.2;
}

/* Silo grid (Browse / module cards) */
.ktp-hub-v3-silo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ktp-hub-v3-silo-card {
    background: var(--ktp-parchment);
    border: 1px solid rgba(45, 74, 62, 0.1);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ktp-hub-v3-silo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: rgba(74, 124, 92, 0.3);
}

.ktp-hub-v3-silo-label {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.ktp-hub-v3-silo-title {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--ktp-forest);
    line-height: 1.2;
    margin-bottom: 8px;
}

.ktp-hub-v3-silo-desc {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    color: var(--ktp-bark);
    line-height: 1.65;
}

.ktp-hub-v3-silo-arrow {
    display: block;
    margin-top: 16px;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ktp-canopy);
}

/* Related routes list */
.ktp-hub-v3-related-list {
    display: flex;
    flex-direction: column;
}

.ktp-hub-v3-related-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--ktp-sand);
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.ktp-hub-v3-related-item:first-child {
    border-top: 1px solid var(--ktp-sand);
}

.ktp-hub-v3-related-item:hover .ktp-hub-v3-related-title {
    color: var(--ktp-canopy);
}

.ktp-hub-v3-related-label {
    display: block;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: var(--ktp-canopy);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}

.ktp-hub-v3-related-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ktp-forest);
    line-height: 1.2;
    transition: color 0.2s;
}

.ktp-hub-v3-related-arrow {
    color: var(--ktp-stone);
    font-size: 22px;
    flex-shrink: 0;
    padding-left: 16px;
}

/* Restyle v5 route module sections inside v3 shell */
.ktp-hub-v3-shell .ktp-v5-section {
    background: transparent;
    border: 0;
    padding: 56px 0 0;
}

.ktp-hub-v3-shell .ktp-v5-page-shell .ktp-v5-section:first-child {
    padding-top: 56px;
}

.ktp-hub-v3-shell .ktp-v5-section__header {
    border-top: none;
    padding-top: 0;
    margin-bottom: 28px;
}

.ktp-hub-v3-shell .ktp-v5-section__header h2 {
    max-width: none;
}

/* Corrections band */
.ktp-hub-v3-corrections-band {
    background: var(--ktp-forest);
    margin: 64px -24px 0;
    padding: 48px 24px;
    text-align: center;
}

.ktp-hub-v3-corrections-inner {
    max-width: 560px;
    margin: 0 auto;
}

.ktp-hub-v3-corrections-band p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px;
    line-height: 1.2;
}

.ktp-hub-v3-corrections-cta {
    display: inline-block;
    background: var(--ktp-amber);
    color: #fff;
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    text-decoration: none;
    transition: background 0.2s;
}

.ktp-hub-v3-corrections-cta:hover {
    background: var(--ktp-canopy);
}

/* Responsive */
@media (max-width: 760px) {
    .ktp-hub-v3-hero {
        padding: 44px 20px;
    }

    .ktp-hub-v3-hero-title {
        font-size: 30px;
    }

    .ktp-hub-v3-silo-grid {
        grid-template-columns: 1fr;
    }

    .ktp-hub-v3-shell {
        padding: 0 20px 60px;
    }

    .ktp-hub-v3-corrections-band {
        margin: 48px -20px 0;
        padding: 40px 20px;
    }
}

@media (max-width: 600px) {
    .ktp-hub-v3-stats {
        flex-wrap: wrap;
    }

    .ktp-hub-v3-stat {
        padding: 16px 32px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        min-width: 50%;
    }

    .ktp-hub-v3-stat:last-child {
        border-bottom: none;
    }
}
