.tme-editorial-index { display: none; }

.tme-search-card .tme-search-card-media {
    align-self: stretch;
    aspect-ratio: 1 / 1;
    background: radial-gradient(ellipse at center, #253243, #111923);
    min-height: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.tme-search-card .tme-search-card-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: contain;
    object-position: center;
}

html[data-tme-design="bas"] body {
    --tme-editorial-art: url('collage/radio-surrealistisch.webp');
    --tme-editorial-paper: #fffaf1;
    --tme-editorial-wash: #f8e9f4;
    --tme-editorial-ink: #17213c;
    --tme-editorial-accent: #2739a7;
    --tme-editorial-line: #17213c;
    --tme-editorial-label: #f4ff61;
    --tme-editorial-title: #ff62b8;
    --tme-editorial-shadow: 4px 5px 0 #17213c;
    --tme-editorial-radius: 5px;
    --tme-editorial-display: 'Montserrat', system-ui, sans-serif;
}

html[data-tme-design="piet"] body {
    --tme-editorial-art: url('piet/platen-en-columns.webp');
    --tme-editorial-paper: #fffaf0;
    --tme-editorial-wash: #f3e6cd;
    --tme-editorial-ink: #282f25;
    --tme-editorial-accent: #355344;
    --tme-editorial-line: #b8a281;
    --tme-editorial-label: #edc878;
    --tme-editorial-title: #f5dc9e;
    --tme-editorial-shadow: 0 6px 22px #5240241a;
    --tme-editorial-radius: 8px;
    --tme-editorial-display: 'DM Serif Display', Georgia, serif;
}

/* Bas in calm mode uses the same Customizer background as Original. */
html[data-tme-design="bas"][data-tme-background-mode="busy"] body,
html[data-tme-design="bas"][data-tme-background-mode="busy"] body.custom-background {
    background: #262ca0 var(--tme-editorial-art) center / cover fixed no-repeat !important;
}

html[data-tme-design="piet"][data-tme-background-mode="calm"] body,
html[data-tme-design="piet"][data-tme-background-mode="calm"] body.custom-background {
    background: radial-gradient(ellipse at top left, #f5d294, #f3ece0 66%) fixed !important;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) > :is(.tme-content, .tme-classic-content, .tme-category-page) {
    --tme-blue: var(--tme-editorial-accent);
    --tme-orange: var(--tme-editorial-accent);
    min-width: 0;
    color: var(--tme-editorial-ink);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(
    .tme-static-page:not(.tme-static-page--clean-embed, .tme-static-page--discografie),
    .tme-single-post:not(.tme-single-post--discografie),
    .tme-category-page
) {
    background: var(--tme-editorial-wash);
    border: 1px solid var(--tme-editorial-line);
    border-radius: var(--tme-editorial-radius);
    box-shadow: none;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(
    .tme-post, .tme-static-page-image, .tme-static-page-content:not(.tme-static-page-content--clean-embed),
    .tme-static-page-extra, .tme-single-author-card, .tme-single-audio-card, .tme-single-content,
    .tme-single-nav, .tme-search-filter, .tme-search-summary, .tme-search-empty, .tme-search-card,
    .tme-category-card, .tme-category-empty
) {
    background: var(--tme-editorial-paper);
    color: var(--tme-editorial-ink);
    border: 1px solid var(--tme-editorial-line);
    border-radius: var(--tme-editorial-radius);
    box-shadow: none;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-editorial-header, .tme-static-page-title, .tme-single-title-card, .tme-category-header, .tme-search-hero) {
    display: block;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(18px, 4vw, 36px);
    padding-top: calc(clamp(100px, 15vw, 205px) + 20px);
    margin-bottom: 12px;
    background: var(--tme-editorial-title);
    border: 1px solid var(--tme-editorial-line);
    border-radius: var(--tme-editorial-radius);
    color: var(--tme-editorial-ink);
    box-shadow: var(--tme-editorial-shadow);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-editorial-header, .tme-static-page-title, .tme-single-title-card, .tme-category-header, .tme-search-hero)::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    width: 100%;
    height: clamp(100px, 15vw, 205px);
    opacity: 1;
    transform: none;
    border: 0;
    border-bottom: 2px solid var(--tme-editorial-line);
    border-radius: 0;
    background: var(--tme-editorial-art) center / cover no-repeat;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-editorial-header, .tme-static-page-title, .tme-single-title-card, .tme-category-header, .tme-search-hero) :is(h1, p, .tme-kicker) {
    color: var(--tme-editorial-ink);
    text-shadow: none;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-editorial-header, .tme-static-page-title, .tme-single-title-card, .tme-category-header, .tme-search-hero) h1 {
    font-family: var(--tme-editorial-display);
    font-size: clamp(30px, 4.4vw, 56px);
    line-height: 1.06;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(
    .tme-category-copy h2, .tme-search-card h2, .tme-post h2,
    .tme-entry-content h2, .tme-entry-content h3, .tme-entry-content h4
) {
    color: var(--tme-editorial-accent);
    font-family: var(--tme-editorial-display);
    text-shadow: none;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(
    .tme-single-category, .tme-search-type, .tme-category-label span, .tme-post-meta span
) {
    background: var(--tme-editorial-label);
    color: var(--tme-editorial-ink);
    text-shadow: none;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(
    .tme-search-filter button, .tme-search-pagination .current, .tme-pagination .current,
    .tme-read-more, .tme-single-nav a
) {
    background: var(--tme-editorial-accent);
    color: #fff;
    border-color: var(--tme-editorial-accent);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-entry-content, .tme-category-copy p, .tme-search-card p) {
    color: var(--tme-editorial-ink);
}

html[data-tme-design="piet"] main.tme-shell:where(:not(#tme-collage)) .tme-single-content {
    line-height: 1.78;
}

html[data-tme-design="piet"] main.tme-shell:where(:not(#tme-collage)) .tme-single-content > p:first-of-type::first-letter {
    color: #963f26;
    font: 2em/.8 'DM Serif Display', Georgia, serif;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) .tme-page-slug-de-discografie-van #ddv-overview {
    --ddv-ink: var(--tme-editorial-ink);
    --ddv-paper: var(--tme-editorial-paper);
    --ddv-gold: var(--tme-editorial-accent);
    --ddv-gold2: var(--tme-editorial-label);
    background: var(--tme-editorial-wash);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) .tme-page-slug-de-discografie-van #ddv-overview .ddv-hero {
    background: linear-gradient(90deg, #121525f5, #121525ba), var(--tme-editorial-art) center / cover;
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) :is(.tme-footer, .tme-footer-widgets > div) {
    background: var(--tme-editorial-paper);
    border-radius: var(--tme-editorial-radius);
    color: var(--tme-editorial-ink);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) .tme-mobile-app-nav {
    --tme-blue: var(--tme-editorial-accent);
    --tme-orange: var(--tme-editorial-label);
}

html:is([data-tme-design="bas"], [data-tme-design="piet"]) #tme-collage .tme-now-grid p .tme-br6-wordmark {
    display: inline;
    margin: 0;
}

html[data-tme-design="piet"] #tme-collage .tme-now-grid article:nth-child(3)::after {
    content: '';
    background: var(--tme-editorial-art) right center / cover;
}

@media (max-width: 600px) {
    html:is([data-tme-design="bas"], [data-tme-design="piet"]) main.tme-shell:where(:not(#tme-collage)) :is(.tme-editorial-header, .tme-static-page-title, .tme-single-title-card, .tme-category-header, .tme-search-hero) {
        padding-inline: 17px;
    }
    html:is([data-tme-design="bas"], [data-tme-design="piet"])[data-tme-background-mode="busy"] body.custom-background,
    html:is([data-tme-design="bas"], [data-tme-design="piet"])[data-tme-background-mode="busy"] body {
        background-attachment: scroll !important;
    }
}