/*
Theme Name: de Muziek Experts
Theme URI: https://demuziekexperts.nl/
Author: Kat bijt Muis / BR6
Description: Losstaand WordPress theme voor het radioprogramma de Muziek Experts op BR6.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: de-muziek-experts
*/

:root {
    --tme-blue: #214c6e;
    --tme-orange: #f28c00;
    --tme-white: #ffffff;
    --tme-black: #111111;
    --tme-line: rgba(33, 76, 110, 0.16);
    --tme-soft: #f4f8fb;
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(242, 140, 0, 0.28), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(33, 76, 110, 0.18), transparent 24%),
        linear-gradient(135deg, #eef5f9 0%, #ffffff 38%, #fff7ed 100%);
    color: var(--tme-black);
    font-family: "Montserrat", Arial, sans-serif;
    margin: 0;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

.tme-page {
    min-height: 100vh;
    padding: 16px;
}

.tme-navbar {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(242, 140, 0, 0.18), transparent 32%),
        linear-gradient(135deg, #173a56, var(--tme-blue) 62%, #2a678c);
    border-bottom: 4px solid var(--tme-orange);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(24, 59, 88, 0.18);
    display: flex;
    gap: 18px;
    justify-content: flex-start;
    margin: 0 auto 16px;
    max-width: 1240px;
    padding: 10px 14px;
    position: relative;
    z-index: 30;
}

.tme-brand {
    align-items: center;
    color: var(--tme-white);
    display: inline-flex;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
    min-width: 0;
}

.tme-brand img,
.tme-brand .custom-logo,
.custom-logo-link img {
    display: block;
    height: auto;
    max-height: 46px;
    max-width: 118px;
    object-fit: contain;
    width: auto;
}

.tme-brand-mark {
    align-items: center;
    background: var(--tme-white);
    border-radius: 8px;
    color: var(--tme-blue);
    display: inline-flex;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    width: 62px;
}

.tme-brand-text {
    display: none;
}

.tme-live-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: var(--tme-white);
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.tme-live-badge span {
    background: var(--tme-orange);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 8px;
    text-transform: uppercase;
}

.tme-live-badge strong,
.tme-live-badge small {
    font-size: 13px;
    font-weight: 800;
}

.tme-brand-text {
    display: none;
    line-height: 1.05;
}

.tme-brand-text strong {
    font-size: 18px;
}

.tme-brand-text small {
    color: var(--tme-orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tme-navlinks {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    min-width: 0;
}

.tme-menu {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tme-navlinks li {
    list-style: none;
    position: relative;
}

.tme-navlinks a {
    border-radius: 6px;
    color: var(--tme-white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 10px;
    text-decoration: none;
}

.tme-navlinks a::before {
    color: var(--tme-orange);
    content: "♪";
    font-weight: 900;
}

.tme-navlinks a[href*="uitspraak" i]::before {
    content: "☻";
}

.tme-navlinks a[href*="cultuur" i]::before {
    content: "◐";
}

.tme-navlinks a[href*="audio" i]::before {
    content: "♫";
}

.tme-navlinks a[href*="speciaal" i]::before,
.tme-navlinks a[href*="special" i]::before {
    content: "✦";
}

.tme-navlinks a[href*="archief" i]::before {
    content: "▤";
}

.tme-navlinks a[href*="contact" i]::before {
    content: "✉";
}

.tme-menu .menu-item-has-children > a::after {
    content: "⌄";
    font-size: 12px;
    font-weight: 900;
    margin-left: 2px;
}

.tme-navlinks a:hover,
.tme-navlinks a:focus {
    background: var(--tme-orange);
}

.tme-menu .sub-menu {
    background: #ffffff;
    border: 1px solid rgba(33, 76, 110, 0.18);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(24, 59, 88, 0.2);
    display: none;
    left: 0;
    list-style: none;
    margin: 0;
    min-width: 210px;
    padding: 8px;
    position: absolute;
    top: 100%;
    z-index: 20;
}

.tme-menu .sub-menu::before {
    content: "";
    display: block;
    height: 10px;
    left: 0;
    position: absolute;
    right: 0;
    top: -10px;
}

.tme-menu .sub-menu .sub-menu {
    left: calc(100% + 8px);
    top: 0;
}

.tme-menu li:hover > .sub-menu,
.tme-menu li:focus-within > .sub-menu {
    display: grid;
    gap: 4px;
}

.tme-menu .sub-menu a {
    color: var(--tme-blue);
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.tme-menu .sub-menu a:hover,
.tme-menu .sub-menu a:focus {
    color: var(--tme-white);
}

.tme-shell {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
    margin: 0 auto;
    max-width: 1240px;
}

.tme-panel,
.tme-section,
.tme-feature,
.tme-hero,
.tme-post {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.1);
    position: relative;
}

.tme-panel::before,
.tme-section::before,
.tme-feature::before,
.tme-hero::before,
.tme-post::before {
    background: linear-gradient(90deg, var(--tme-orange), rgba(242, 140, 0, 0), var(--tme-blue));
    border-radius: 8px 8px 0 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.tme-panel {
    margin-bottom: 12px;
    padding: 16px;
}

.tme-panel h2,
.tme-panel h3,
.tme-section h2,
.tme-feature h2,
.tme-feature h3,
.tme-hero h1,
.tme-post h1,
.tme-post h2 {
    color: var(--tme-blue);
    line-height: 1.12;
    margin: 0 0 10px;
}

.tme-section h2,
.tme-feature h2,
.tme-post h1,
.tme-post h2 {
    text-shadow: 0 2px 0 rgba(242, 140, 0, 0.12);
}

.tme-kicker {
    color: var(--tme-orange);
    font-size: 12px;
    font-weight: 800;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.tme-onair {
    background:
        linear-gradient(135deg, rgba(242, 140, 0, 0.18), transparent 45%),
        var(--tme-blue);
    color: var(--tme-white);
}

.tme-onair h2 {
    color: var(--tme-white);
}

.tme-mini-schedule {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.tme-mini-schedule span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
}

.tme-audio-card {
    border-top: 1px solid var(--tme-line);
    display: grid;
    gap: 8px;
    padding: 12px 0 0;
}

.tme-audio-card + .tme-audio-card {
    margin-top: 12px;
}

.tme-audio-card audio {
    width: 100%;
}

.tme-audio-card small {
    color: #555;
    font-size: 11px;
}

.tme-clock-widget {
    background: var(--tme-orange);
    border-color: var(--tme-orange);
    color: var(--tme-white);
    padding: 12px;
}

.tme-clock-widget * {
    color: inherit;
}

.tme-spotify-embed {
    border: 0;
    border-radius: 12px;
    display: block;
    width: 100%;
}

.tme-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tme-link-list li + li {
    border-top: 1px solid var(--tme-line);
}

.tme-link-list a {
    color: var(--tme-black);
    display: block;
    font-weight: 700;
    padding: 10px 0;
    text-decoration: none;
}

.tme-link-list a:hover {
    color: var(--tme-orange);
}

.tme-ticker {
    align-items: center;
    background: linear-gradient(90deg, #f28c00, #ffb13d 48%, #214c6e);
    border-radius: 8px;
    color: var(--tme-white);
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 10px 14px;
}

.tme-ticker > span {
    flex: 0 0 auto;
    font-weight: 800;
}

.tme-ticker-mask {
    overflow: hidden;
    width: 100%;
}

.tme-ticker-track {
    animation: tme-ticker-slide 28s linear infinite;
    display: flex;
    gap: 10px 18px;
    white-space: nowrap;
    width: max-content;
}

.tme-ticker-track a {
    color: var(--tme-white);
    font-weight: 700;
    text-decoration: none;
}

.tme-ticker-track a::before {
    content: "•";
    margin-right: 8px;
}

@keyframes tme-ticker-slide {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.tme-hero {
    background:
        radial-gradient(circle at 8% 10%, rgba(242, 140, 0, 0.42), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(135deg, rgba(33, 76, 110, 0.98), rgba(33, 76, 110, 0.82)),
        var(--tme-blue);
    color: var(--tme-white);
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 22px;
}

.tme-hero::after {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    content: "";
    height: 180px;
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
}

.tme-hero h1 {
    color: var(--tme-white);
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 12px;
    white-space: nowrap;
    text-shadow: 0 4px 0 rgba(242, 140, 0, 0.35), 0 16px 30px rgba(0, 0, 0, 0.24);
}

.tme-lead {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 720px;
    color: #fff3df;
}

.tme-hero .tme-kicker {
    color: var(--tme-orange);
}

.tme-hero-copy > p:not(.tme-kicker):not(.tme-lead) {
    line-height: 1.58;
    margin: 0 0 12px;
    max-width: 920px;
}

.tme-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tme-meta span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--tme-white);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
}

.tme-meta span:nth-child(1) {
    background: rgba(255, 255, 255, 0.15);
}

.tme-meta span:nth-child(2) {
    background: rgba(242, 140, 0, 0.92);
    border-color: rgba(242, 140, 0, 0.95);
}

.tme-meta span:nth-child(3) {
    background: rgba(255, 255, 255, 0.2);
}

.tme-meta span:nth-child(4) {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--tme-blue);
}

.tme-topic-cloud {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tme-topic-cloud span {
    background: var(--tme-white);
    border-radius: 999px;
    color: var(--tme-blue);
    font-size: 12px;
    font-weight: 900;
    padding: 8px 10px;
    text-transform: uppercase;
}

.tme-hosts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 580px;
}

.tme-hosts figure {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.tme-hosts img {
    aspect-ratio: 1 / 1;
    display: block;
    height: 230px;
    object-fit: cover;
    object-position: center 16%;
    width: 100%;
}

.tme-hosts figcaption {
    background: linear-gradient(90deg, rgba(242, 140, 0, 0.96), rgba(33, 76, 110, 0.94));
    bottom: 0;
    color: var(--tme-white);
    font-weight: 800;
    left: 0;
    padding: 8px 10px;
    position: absolute;
    right: 0;
}

.tme-now-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.tme-now-grid article {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 50%),
        var(--tme-blue);
    border-radius: 8px;
    color: var(--tme-white);
    padding: 18px;
    box-shadow: 0 12px 26px rgba(33, 76, 110, 0.16);
}

.tme-now-grid article:nth-child(2) {
    background: linear-gradient(135deg, #f28c00, #ffb13d);
}

.tme-now-grid article:nth-child(3) {
    background:
        linear-gradient(135deg, rgba(242, 140, 0, 0.22), transparent),
        #183b58;
}

.tme-now-grid span {
    display: block;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.tme-now-grid strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
}

.tme-now-grid p {
    line-height: 1.5;
    margin: 0;
}

.tme-section,
.tme-post {
    margin-bottom: 12px;
    padding: 20px;
}

.tme-section p,
.tme-post p {
    line-height: 1.65;
}

.tme-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.tme-spinoff {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.24), transparent 28%),
        linear-gradient(135deg, rgba(242, 140, 0, 0.98), rgba(255, 177, 61, 0.92) 54%, rgba(33, 76, 110, 0.92));
    border-radius: 8px;
    color: var(--tme-white);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    margin-bottom: 12px;
    padding: 22px;
}

.tme-spinoff h2,
.tme-spinoff .tme-kicker {
    color: var(--tme-white);
}

.tme-spinoff h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    margin: 0 0 10px;
    text-shadow: 0 4px 0 rgba(33, 76, 110, 0.28);
}

.tme-spinoff p {
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.tme-spinoff-logo {
    align-self: center;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    display: block;
    max-height: 230px;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.tme-feature {
    background:
        linear-gradient(180deg, rgba(242, 140, 0, 0.07), transparent 36%),
        var(--tme-white);
    padding: 18px;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.tme-feature:hover,
.tme-post-card a:hover {
    box-shadow: 0 16px 34px rgba(33, 76, 110, 0.16);
    transform: translateY(-2px);
}

.tme-feature p {
    line-height: 1.6;
    margin: 0;
}

.tme-checklist {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tme-checklist li {
    border-left: 4px solid var(--tme-orange);
    background: rgba(242, 140, 0, 0.07);
    border-radius: 0 6px 6px 0;
    line-height: 1.45;
    padding: 8px 10px;
}

.tme-playlist {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tme-playlist li {
    align-items: center;
    background: var(--tme-soft);
    border: 1px solid var(--tme-line);
    border-radius: 6px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr);
    padding: 10px 12px;
}

.tme-playlist span {
    color: var(--tme-blue);
    font-weight: 800;
}

.tme-post-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tme-post-card a {
    background:
        linear-gradient(180deg, rgba(242, 140, 0, 0.08), transparent 44%),
        var(--tme-soft);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    color: var(--tme-black);
    display: grid;
    gap: 10px;
    height: 100%;
    overflow: hidden;
    padding-bottom: 12px;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.tme-post-card-image {
    align-items: center;
    background: var(--tme-blue);
    color: var(--tme-white);
    display: flex;
    font-weight: 900;
    justify-content: center;
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
    text-align: center;
}

.tme-post-card img {
    aspect-ratio: 1 / 1;
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.tme-post-card strong {
    color: var(--tme-blue);
    display: block;
    font-size: 15px;
    line-height: 1.25;
    padding: 0 12px;
}

.tme-footer {
    color: var(--tme-blue);
    font-size: 13px;
    font-weight: 700;
    margin: 20px auto 0;
    max-width: 1180px;
    text-align: center;
}

.tme-footer a {
    color: var(--tme-blue);
    text-decoration-color: var(--tme-orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.tme-classic-content {
    min-width: 0;
}

.tme-page-article {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.1);
    padding: 26px;
}

.tme-page-article h1 {
    color: var(--tme-blue);
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.1;
    margin: 0 0 18px;
}

.tme-entry-content {
    color: var(--tme-black);
    font-size: 16px;
    line-height: 1.68;
}

.tme-entry-content > *:first-child {
    margin-top: 0;
}

.tme-entry-content > *:last-child {
    margin-bottom: 0;
}

.tme-entry-content a {
    color: var(--tme-blue);
    text-decoration-color: var(--tme-orange);
    text-underline-offset: 3px;
}

.tme-entry-content img,
.tme-entry-content iframe {
    max-width: 100%;
}

.tme-entry-content table {
    border-collapse: collapse;
    width: 100%;
}

.tme-entry-content th,
.tme-entry-content td {
    border-bottom: 1px solid var(--tme-line);
    padding: 10px;
    text-align: left;
}

.tme-meta-block {
    background: linear-gradient(135deg, rgba(33, 76, 110, 0.96), rgba(33, 76, 110, 0.84));
    border-left: 6px solid var(--tme-orange);
    border-radius: 8px;
    color: var(--tme-white);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 16px 18px;
}

.tme-meta-title {
    font-size: 20px;
    font-weight: 900;
}

.tme-meta-date {
    font-weight: 600;
}

.tme-table-shell {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.08);
    margin: 18px 0;
    overflow: hidden;
}

.tme-table-header,
.tme-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) minmax(160px, 1fr);
}

.tme-table-header {
    background: var(--tme-blue);
    color: var(--tme-white);
    font-weight: 900;
}

.tme-col {
    padding: 13px 16px;
}

.tme-row {
    color: var(--tme-black);
    text-decoration: none;
}

.tme-row:nth-child(even) {
    background: #f4f8fb;
}

.tme-row:hover,
.tme-row:focus {
    background: rgba(242, 140, 0, 0.12);
    color: var(--tme-blue);
}

.tme-col-number {
    font-weight: 900;
}

.tme-widget {
    margin: 0 0 14px;
}

.tme-widget:last-child {
    margin-bottom: 0;
}

.tme-widget-title {
    color: var(--tme-blue);
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.tme-dynamic-widgets {
    display: grid;
    gap: 12px;
}

.tme-after-content-widgets {
    border-top: 1px solid var(--tme-line);
    display: grid;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
}

.tme-footer-widgets {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 24px auto 0;
    max-width: 1240px;
}

.tme-footer-widgets > div {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.08);
    padding: 16px;
}

.tme-category-page {
    background: #eef4fa;
    border: 1px solid rgba(33, 76, 110, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.08);
    min-width: 0;
    padding: 18px;
}

.tme-category-header {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.1);
    margin-bottom: 18px;
    padding: 24px 28px;
}

.tme-category-header h1 {
    color: var(--tme-blue);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.05;
    margin: 0 0 8px;
}

.tme-category-header p:last-child {
    color: #6d7f99;
    line-height: 1.6;
    margin: 0;
}

.tme-category-timeline {
    display: grid;
    gap: 28px;
    position: relative;
}

.tme-category-timeline::before {
    background: rgba(33, 76, 110, 0.16);
    bottom: 24px;
    content: "";
    left: 22px;
    position: absolute;
    top: 24px;
    width: 2px;
}

.tme-category-item {
    display: grid;
    gap: 8px 18px;
    grid-template-columns: 46px minmax(0, 1fr);
    position: relative;
}

.tme-category-avatar {
    align-items: center;
    align-self: end;
    background: var(--tme-white);
    border: 3px solid var(--tme-white);
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(33, 76, 110, 0.18);
    display: flex;
    grid-column: 1;
    grid-row: 2;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    width: 44px;
    z-index: 1;
}

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

.tme-category-avatar span {
    color: var(--tme-blue);
    font-size: 22px;
    font-weight: 900;
}

.tme-category-date {
    color: #7891ad;
    font-size: 13px;
    grid-column: 2;
    padding-left: 14px;
}

.tme-category-card {
    align-items: center;
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.1);
    display: grid;
    gap: 18px;
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) 112px;
    min-height: 168px;
    padding: 26px 24px 22px 30px;
    position: relative;
}

.tme-category-item:nth-child(even) .tme-category-card {
    background: #e6edf6;
}

.tme-category-card::before {
    border-color: transparent var(--tme-white) transparent transparent;
    border-style: solid;
    border-width: 16px 18px 16px 0;
    bottom: -1px;
    content: "";
    left: -16px;
    position: absolute;
}

.tme-category-item:nth-child(even) .tme-category-card::before {
    border-right-color: #e6edf6;
}

.tme-category-copy h2 {
    color: #001a44;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 12px;
}

.tme-category-copy h2 a {
    text-decoration: none;
}

.tme-category-copy p {
    color: #8295b3;
    font-size: 16px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.tme-read-more {
    background: var(--tme-blue);
    border-radius: 8px;
    color: var(--tme-orange);
    display: inline-flex;
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none;
}

.tme-read-more:hover,
.tme-read-more:focus {
    background: var(--tme-orange);
    color: var(--tme-white);
}

.tme-category-thumb {
    align-items: center;
    background: var(--tme-blue);
    border: 6px solid var(--tme-white);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(33, 76, 110, 0.18);
    color: var(--tme-white);
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 112px;
    justify-content: center;
    margin-right: -64px;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    width: 112px;
}

.tme-category-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tme-category-label {
    color: #7891ad;
    display: flex;
    font-size: 14px;
    gap: 6px;
    grid-column: 2;
    justify-content: flex-end;
    padding-right: 8px;
}

.tme-category-label span::before {
    content: "□";
    margin-right: 6px;
}

.tme-pagination,
.tme-category-empty {
    background: var(--tme-white);
    border: 1px solid var(--tme-line);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 76, 110, 0.1);
    margin-top: 24px;
    padding: 18px;
}

.tme-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tme-pagination a,
.tme-pagination span {
    border-radius: 8px;
    padding: 8px 12px;
}

.tme-pagination a {
    background: var(--tme-blue);
    color: var(--tme-white);
    text-decoration: none;
}

.tme-pagination .current {
    background: var(--tme-orange);
    color: var(--tme-white);
}

@media (prefers-reduced-motion: reduce) {
    .tme-ticker-track {
        animation: none;
        white-space: normal;
        width: auto;
    }
}

@media (max-width: 900px) {
    .tme-navbar,
    .tme-shell,
    .tme-hero,
    .tme-grid {
        grid-template-columns: 1fr;
    }

    .tme-now-grid {
        grid-template-columns: 1fr;
    }

    .tme-spinoff,
    .tme-post-grid {
        grid-template-columns: 1fr;
    }

    .tme-navbar {
        align-items: flex-start;
        display: grid;
    }

    .tme-navlinks {
        justify-content: flex-start;
    }

    .tme-menu {
        justify-content: flex-start;
    }

    .tme-menu .sub-menu,
    .tme-menu .sub-menu .sub-menu {
        left: auto;
        position: static;
        top: auto;
        width: 100%;
    }

    .tme-category-card {
        grid-template-columns: minmax(0, 1fr);
        padding-right: 24px;
    }

    .tme-footer-widgets {
        grid-template-columns: 1fr;
    }

    .tme-category-thumb {
        height: 96px;
        margin: 0;
        width: 96px;
    }
}

@media (max-width: 560px) {
    .tme-page {
        padding: 8px;
    }

    .tme-ticker {
        align-items: flex-start;
        display: grid;
    }

    .tme-ticker-track {
        animation: none;
        flex-wrap: wrap;
        white-space: normal;
        width: auto;
    }

    .tme-hosts,
    .tme-playlist li {
        grid-template-columns: 1fr;
    }

    .tme-hero h1 {
        font-size: 34px;
        white-space: normal;
    }

    .tme-category-timeline::before {
        display: none;
    }

    .tme-category-item {
        grid-template-columns: 1fr;
    }

    .tme-category-avatar,
    .tme-category-date,
    .tme-category-card,
    .tme-category-label {
        grid-column: 1;
    }

    .tme-category-avatar {
        display: none;
    }

    .tme-category-card::before {
        display: none;
    }
}
