:root {
    --kh-bg: #f5f9ff;
    --kh-surface: #ffffff;
    --kh-surface-soft: #eef5ff;
    --kh-primary: #203864;
    --kh-primary-hover: #294b82;
    --kh-accent: #ffca3a;
    --kh-accent-hover: #f2b900;
    --kh-coral: #ef6c4d;
    --kh-text: #334155;
    --kh-muted: #64748b;
    --kh-border: #dce6f2;
    --kh-border-strong: #c8d6e7;
    --kh-radius-small: 10px;
    --kh-radius: 16px;
    --kh-radius-large: 24px;
    --kh-shadow: 0 12px 32px rgba(32, 56, 100, .09);
    --kh-shadow-hover: 0 16px 38px rgba(32, 56, 100, .14);
}

.ah-home-template,
.ah-home-template *,
.ah-home-template *::before,
.ah-home-template *::after {
    box-sizing: border-box;
}

.ah-home-template .kh-home-grid-section {
    margin: 0;
}

.ah-home-template .kh-home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ah-home-template .kh-archive-card-body {
    padding: 18px;
}

.ah-home-template .kh-archive-card p {
    display: none;
}

.ah-home-template .kh-archive-pagination {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .ah-home-template .kh-home-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .ah-home-template .kh-home-grid {
        grid-template-columns: 1fr;
    }
}

.kh-main {
    min-height: 70vh;
    overflow: hidden;
    background: var(--kh-bg);
    color: var(--kh-text);
}

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

.kh-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.kh-main h1,
.kh-main h2,
.kh-main h3 {
    color: var(--kh-primary);
}

.kh-main p,
.kh-main li {
    color: var(--kh-text);
}

.kh-hero,
.kh-landing-hero {
    padding: 38px 0 56px;
    background: var(--kh-bg);
}

.kh-hero-panel,
.kh-landing-hero-panel {
    border-radius: 28px;
    background: var(--kh-primary);
    box-shadow: var(--kh-shadow);
    color: #fff;
}

.kh-hero-panel {
    padding: clamp(30px, 5vw, 56px);
}

.kh-landing-hero-panel {
    max-width: 1180px;
    padding: clamp(40px, 6vw, 65px) clamp(24px, 5vw, 50px);
    text-align: center;
}

.kh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    align-items: center;
    gap: clamp(32px, 5vw, 58px);
}

.kh-hero-icon {
    margin-bottom: 14px;
    font-size: 48px;
    line-height: 1;
}

.kh-landing-hero-panel .kh-hero-icon {
    margin-bottom: 20px;
    font-size: 54px;
}

.kh-hero-theme-image {
    display: block;
    width: 96px;
    height: 96px;
    margin-inline: auto;
    object-fit: contain;
}

.kh-hero-content .kh-hero-theme-image {
    margin-inline: 0;
}

.kh-hero-icon .kh-subpage-symbol {
    width: 54px;
    height: 54px;
    margin-inline: auto;
}

.kh-hero-content .kh-subpage-symbol {
    margin-inline: 0;
}

.kh-eyebrow,
.kh-section-kicker {
    display: block;
    color: var(--kh-accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.kh-eyebrow {
    margin-bottom: 12px;
}

.kh-hero h1,
.kh-landing-hero h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    text-transform: uppercase;
}

.kh-hero h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

.kh-landing-hero h1 {
    max-width: 900px;
    margin-inline: auto;
    font-size: clamp(2.1rem, 4.5vw, 3rem);
}

.kh-intro {
    max-width: 760px;
    margin: 0 0 26px;
    color: #dce8ff !important;
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.kh-landing-hero .kh-intro {
    margin-inline: auto;
}

.kh-taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.kh-landing-hero .kh-taxonomy-list {
    justify-content: center;
}

.kh-chip {
    display: inline-flex;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: .88rem;
    text-decoration: none;
}

.kh-chip:hover {
    background: rgba(255, 255, 255, .18);
}

.kh-chip span {
    color: #dce8ff;
}

.kh-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.kh-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(32, 56, 100, .15);
}

.kh-button-primary {
    background: var(--kh-accent);
    color: var(--kh-primary) !important;
}

.kh-button-primary:hover {
    background: var(--kh-accent-hover);
}

.kh-button-secondary {
    background: var(--kh-primary);
    color: #fff !important;
}

.kh-button-secondary:hover {
    background: var(--kh-primary-hover);
}

.kh-button-light {
    border: 1px solid rgba(255, 255, 255, .55);
    background: #fff;
    color: var(--kh-primary) !important;
}

.kh-button-light:hover {
    background: var(--kh-surface-soft);
}

.kh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kh-preview-card {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 22px 55px rgba(9, 22, 48, .22);
}

.kh-preview-image,
.kh-preview-placeholder {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #fff;
}

.kh-preview-image {
    height: auto;
}

.kh-preview-placeholder {
    display: grid;
    min-height: 340px;
    place-content: center;
    gap: 8px;
    color: var(--kh-text);
    text-align: center;
}

.kh-breadcrumbs {
    margin-bottom: 24px;
    font-size: .88rem;
}

.kh-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kh-breadcrumbs li:not(:last-child)::after {
    margin-left: 8px;
    color: #91a0b4;
    content: '/';
}

.kh-breadcrumbs a,
.kh-breadcrumbs span {
    color: var(--kh-muted);
    text-decoration: none;
}

.kh-breadcrumbs a:hover {
    color: var(--kh-primary);
}

.kh-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
    padding: 0 0 52px;
}

.kh-content-card,
.kh-side-card,
.kh-solution,
.kh-benefit-card,
.kh-archive-card,
.kh-related-card {
    border: 1px solid var(--kh-border);
    background: var(--kh-surface);
    box-shadow: var(--kh-shadow);
}

.kh-content-card,
.kh-side-card {
    border-radius: var(--kh-radius-large);
}

.kh-content-card {
    padding: clamp(24px, 4vw, 40px);
}

.kh-side-card {
    position: sticky;
    top: 96px;
    padding: 28px;
}

.kh-content-card > h2,
.kh-side-card > h2,
.kh-related-section h2 {
    margin-top: 0;
}

.kh-entry-content {
    color: var(--kh-text);
    font-size: 1.03rem;
    line-height: 1.8;
}

.kh-ad-section {
    padding: 8px 0 64px;
    text-align: center;
}

.kh-ad-label {
    display: block;
    margin-bottom: 9px;
    color: var(--kh-muted);
    font-size: .7rem;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.kh-ad-slot {
    display: grid;
    width: 100%;
    min-width: 0;
    place-items: center;
    overflow: hidden;
}

.kh-ad-slot .widget {
    width: 100%;
    margin: 0;
}

.kh-download-section {
    padding: 0 0 64px;
}

.kh-download-area {
    scroll-margin-top: 5px;
}

.kh-download-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
    padding: 26px;
    border: 1px solid #f3d989;
    border-radius: 18px;
    background: #fff4d8;
}

.kh-download-section .kh-download-box {
    margin-top: 0;
}

.kh-download-box h2 {
    margin: 0 0 6px;
}

.kh-download-box p {
    margin: 0;
    color: #6f6137;
}

.kh-download-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

.kh-steps {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: khsteps;
}

.kh-steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 12px;
    counter-increment: khsteps;
}

.kh-steps li::before {
    display: grid;
    width: 36px;
    height: 36px;
    place-content: center;
    border-radius: 50%;
    background: var(--kh-surface-soft);
    color: var(--kh-primary);
    font-weight: 900;
    content: counter(khsteps);
}

.kh-solution-section {
    padding-bottom: 52px;
}

.kh-solution {
    overflow: hidden;
    border-radius: var(--kh-radius-large);
}

.kh-solution summary {
    padding: 24px 28px;
    cursor: pointer;
    color: var(--kh-primary);
    font-size: 1.1rem;
    font-weight: 800;
}

.kh-solution-content {
    display: grid;
    gap: 22px;
    padding: 0 28px 28px;
}

.kh-solution-image {
    width: 100%;
    max-width: 760px;
    height: auto;
    border: 1px solid var(--kh-border);
    border-radius: 14px;
}

.kh-related-section {
    padding: 52px 0 72px;
    border-top: 1px solid var(--kh-border);
    background: var(--kh-surface-soft);
}

.kh-ad-before-related {
    padding-top: 12px;
}

.kh-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.kh-related-card {
    overflow: hidden;
    border-radius: 18px;
    color: var(--kh-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.kh-related-card:hover,
.kh-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--kh-shadow-hover);
}

.kh-related-thumb {
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    place-content: center;
    background: var(--kh-surface-soft);
}

.kh-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kh-related-card h3 {
    margin: 0;
    padding: 18px;
    font-size: 1rem;
    line-height: 1.4;
}

.kh-landing-content {
    padding-top: 0;
    padding-bottom: 78px;
}

.kh-landing-content > section:not(.kh-archive-section) {
    max-width: 920px;
    margin: 0 auto 54px;
}

.kh-landing-content h2 {
    margin: 0 0 18px;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.kh-landing-content p,
.kh-landing-content li {
    font-size: 1.04rem;
    line-height: 1.8;
}

.kh-editorial-intro {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--kh-border);
    border-radius: var(--kh-radius-large);
    background: var(--kh-surface);
    box-shadow: var(--kh-shadow);
}

.kh-archive-section {
    margin: 0 0 68px;
    transition: opacity .16s ease;
}

.kh-archive-section.is-loading {
    opacity: .55;
    pointer-events: none;
}

.kh-landing-content > .kh-subpage-section {
    max-width: none;
    margin-bottom: 58px;
    text-align: center;
}

.kh-subpage-section h2 {
    margin-bottom: 26px;
}

.kh-subpage-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    text-align: left;
}

.kh-subpage-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 20px;
    border: 1px solid var(--kh-border);
    border-radius: 18px;
    background: var(--kh-surface);
    box-shadow: var(--kh-shadow);
    color: var(--kh-primary);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.kh-subpage-card:hover {
    transform: translateY(-3px);
    border-color: var(--kh-border-strong);
    box-shadow: var(--kh-shadow-hover);
    color: var(--kh-primary);
}

.kh-subpage-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-content: center;
    border-radius: 13px;
    background: #fff4d8;
    color: #1682a8;
}

.kh-subpage-symbol {
    display: block;
    width: 32px;
    height: 32px;
}

.kh-subpage-theme-image {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.kh-subpage-card strong,
.kh-subpage-card small {
    display: block;
}

.kh-subpage-card strong {
    margin-bottom: 3px;
    font-size: 1.03rem;
}

.kh-subpage-card small {
    color: var(--kh-muted);
    font-size: .86rem;
}

.kh-subpage-arrow {
    color: #287ba3;
    font-size: 1.3rem;
    font-weight: 800;
}

.kh-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.kh-section-kicker {
    margin-bottom: 7px;
    color: var(--kh-coral);
}

.kh-section-heading h2 {
    margin: 0;
}

.kh-result-count {
    padding: 8px 12px;
    border: 1px solid var(--kh-border);
    border-radius: 999px;
    background: #fff;
    color: var(--kh-muted);
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
}

.kh-difficulty-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: -6px 0 28px;
    padding: 16px;
    border: 1px solid var(--kh-border);
    border-radius: 16px;
    background: var(--kh-surface-soft);
    scroll-margin-top: 28px;
}

.kh-filter-label {
    margin-right: 2px;
    color: var(--kh-primary);
    font-size: .92rem;
    font-weight: 800;
}

.kh-filter-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid var(--kh-border-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--kh-primary);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.kh-filter-option > span {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    place-content: center;
    border-radius: 999px;
    background: var(--kh-surface-soft);
    color: var(--kh-muted);
    font-size: .75rem;
}

.kh-filter-option:hover {
    transform: translateY(-1px);
    border-color: var(--kh-primary);
    color: var(--kh-primary);
}

.kh-filter-option.is-active {
    border-color: var(--kh-primary);
    background: var(--kh-primary);
    color: #fff;
}

.kh-filter-option.is-active > span {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

.kh-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.kh-archive-pagination {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.kh-load-more[aria-busy="true"] {
    cursor: wait;
    opacity: .7;
}

.kh-archive-card {
    overflow: hidden;
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kh-archive-thumb {
    display: grid;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    place-content: center;
    background: var(--kh-surface-soft);
    color: var(--kh-primary);
    font-weight: 800;
    text-decoration: none;
}

.kh-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kh-archive-card-body {
    padding: 20px;
}

.kh-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--kh-muted);
    font-size: .78rem;
}

.kh-archive-card h3 {
    margin: 10px 0;
    font-size: 1.08rem;
    line-height: 1.4;
}

.kh-archive-card h3 a {
    color: var(--kh-primary);
    text-decoration: none;
}

.kh-archive-card p {
    margin: 0 0 14px;
    color: var(--kh-muted);
    font-size: .9rem;
    line-height: 1.55;
}

.kh-card-link {
    color: #287ba3;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.kh-card-link:hover {
    color: var(--kh-primary);
}

.kh-empty-state {
    padding: 42px;
    border: 1px dashed var(--kh-border-strong);
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.kh-empty-state p {
    margin: 8px 0 0;
}

.kh-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.kh-benefit-card {
    padding: 26px 22px;
    border-radius: 18px;
    text-align: center;
}

.kh-benefit-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.kh-benefit-card p {
    margin: 0;
    color: var(--kh-muted);
    font-size: .94rem;
    line-height: 1.65;
}

.kh-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.kh-related-links a {
    display: inline-flex;
    padding: 9px 13px;
    border: 1px solid var(--kh-border);
    border-radius: 10px;
    background: #fff;
    color: #287ba3;
    font-weight: 700;
    text-decoration: none;
}

.kh-related-links a:hover {
    border-color: var(--kh-primary);
    color: var(--kh-primary);
}

.kh-faq {
    display: grid;
    gap: 10px;
}

.kh-faq details {
    border: 1px solid var(--kh-border);
    border-radius: 14px;
    background: #fff;
}

.kh-faq summary {
    padding: 17px 18px;
    cursor: pointer;
    color: var(--kh-primary);
    font-weight: 800;
}

.kh-faq p {
    margin: 0;
    padding: 0 18px 18px;
    font-size: .96rem;
}

.kh-search-hero {
    padding: 38px 0 24px;
}

.kh-search-hero-panel {
    padding: clamp(30px, 5vw, 52px);
    border-radius: var(--kh-radius-large);
    background: var(--kh-primary);
    box-shadow: var(--kh-shadow);
}

.kh-search-hero-panel h1 {
    margin: 10px 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.kh-search-hero-panel p {
    max-width: 780px;
    margin: 0;
    color: #dce8ff;
    font-size: 1.08rem;
    line-height: 1.7;
}

.kh-search-content {
    padding-bottom: 76px;
}

.kh-search-form {
    margin-bottom: 54px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--kh-border);
    border-radius: var(--kh-radius-large);
    background: var(--kh-surface);
    box-shadow: var(--kh-shadow);
}

.kh-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.kh-search-row input,
.kh-search-filter select {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--kh-border-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--kh-text);
    font: inherit;
}

.kh-search-row input {
    padding: 10px 16px;
    font-size: 1rem;
}

.kh-search-row input:focus,
.kh-search-filter select:focus {
    border-color: var(--kh-primary);
    outline: 3px solid rgba(32, 56, 100, .12);
    outline-offset: 1px;
}

.kh-search-row .kh-button {
    min-height: 48px;
    border: 0;
    cursor: pointer;
}

.kh-search-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.kh-search-filter > span {
    display: block;
    margin-bottom: 7px;
    color: var(--kh-primary);
    font-size: .82rem;
    font-weight: 800;
}

.kh-search-filter select {
    padding: 9px 34px 9px 12px;
}

.kh-search-actions {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    color: var(--kh-muted);
    font-size: .85rem;
}

.kh-search-actions a {
    color: #287ba3;
    font-weight: 800;
    text-decoration: none;
}

.kh-search-filter-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kh-search-filter-buttons .kh-button {
    min-height: 40px;
    padding: 9px 16px;
    cursor: pointer;
}

.kh-search-results {
    min-height: 320px;
}

.kh-pagination {
    margin-top: 38px;
}

.kh-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kh-pagination a,
.kh-pagination span {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    place-content: center;
    border: 1px solid var(--kh-border);
    border-radius: 10px;
    background: #fff;
    color: var(--kh-primary);
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.kh-pagination .current {
    border-color: var(--kh-primary);
    background: var(--kh-primary);
    color: #fff;
}

@media (max-width: 920px) {
    .kh-hero-grid,
    .kh-content-grid {
        grid-template-columns: 1fr;
    }

    .kh-side-card {
        position: static;
    }

    .kh-archive-grid,
    .kh-related-grid,
    .kh-subpage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kh-benefit-grid {
        grid-template-columns: 1fr;
    }

    .kh-search-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .kh-container {
        width: min(100% - 24px, 1180px);
    }

    .kh-hero,
    .kh-landing-hero {
        padding: 22px 0 38px;
    }

    .kh-hero-panel,
    .kh-landing-hero-panel {
        border-radius: 20px;
    }

    .kh-hero-panel {
        padding: 26px 20px;
    }

    .kh-landing-hero-panel {
        padding: 38px 20px;
    }

    .kh-breadcrumbs {
        margin-bottom: 18px;
    }

    .kh-preview-card {
        padding: 10px;
    }

    .kh-download-box,
    .kh-section-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .kh-download-box .kh-button {
        width: 100%;
    }

    .kh-hero-actions .kh-button {
        width: 100%;
    }

    .kh-download-actions {
        width: 100%;
    }

    .kh-search-hero {
        padding-top: 22px;
    }

    .kh-search-row,
    .kh-search-filters {
        grid-template-columns: 1fr;
    }

    .kh-search-row .kh-button {
        width: 100%;
    }

    .kh-search-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .kh-search-filter-buttons {
        flex-wrap: wrap;
    }

    .kh-difficulty-filter {
        align-items: stretch;
    }

    .kh-filter-label {
        flex-basis: 100%;
    }

    .kh-archive-grid,
    .kh-related-grid,
    .kh-subpage-grid {
        grid-template-columns: 1fr;
    }

    .kh-landing-content {
        padding-bottom: 54px;
    }
}

.ah-ausmalbild .kh-preview-card {
    background: #fff;
}

.ah-ausmalbild .kh-preview-image,
.kh-archive-thumb img,
.kh-related-thumb img {
    object-fit: contain;
    background: #fff;
}

.ah-ausmalbild .kh-preview-image {
    width: 100%;
    aspect-ratio: 3 / 2;
}

.ah-landing-copy {
    margin-bottom: 32px;
}
.ah-beta-badge { display:inline-flex; align-items:center; margin-left:5px; padding:2px 7px; border-radius:999px; background:#facc15; color:#172554; font-size:.68em; font-weight:900; line-height:1.35; text-transform:uppercase; }
