/*
Theme Name: TVComparePro OLED
Description: An independent display and gaming publication on Blocksy Free.
Author: TVComparePro
Template: blocksy
Version: 1.7.4
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tvcomparepro-oled
*/

:root {
    --tvcp-ink: #10111a;
    --tvcp-text: #27272a;
    --tvcp-muted: #55535e;
    --tvcp-violet: #6d28d9;
    --tvcp-brand: #7c3aed;
    --tvcp-pink: #be185d;
    --tvcp-magenta: #db2777;
    --tvcp-line: #e4e4e7;
    --tvcp-soft: #f5f3ff;
    --tvcp-paper: #fff;
    --tvcp-night: #181821;
    --tvcp-glow: #c084fc;
    --tvcp-rose: #f9a8d4;
    --tvcp-gradient: linear-gradient(100deg, #7c3aed, #db2777);
    --tvcp-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --tvcp-gutter: clamp(16px, 3.2vw, 40px);
    --tvcp-frame: min(calc(100% - 2 * var(--tvcp-gutter)), 1280px);
    --tvcp-radius: 8px;
}

.tvcp-frame { width: var(--tvcp-frame); margin-inline: auto; min-width: 0; }
:is(.tvcp-home, .tvcp-post, .tvcp-post-rail) { color: var(--tvcp-text); font-family: var(--tvcp-sans); }
:is(.tvcp-home, .tvcp-post, .tvcp-post-rail) h1,
:is(.tvcp-home, .tvcp-post, .tvcp-post-rail) h2,
:is(.tvcp-home, .tvcp-post, .tvcp-post-rail) h3 { color: var(--tvcp-ink); }
:is(.tvcp-home, .tvcp-post, .tvcp-post-rail, .tvcp-masthead, .tvcp-footer) :focus-visible {
    outline: 2px solid var(--tvcp-violet);
    outline-offset: 4px;
}

/* Masthead and native disclosure controls. */
.tvcp-masthead, .tvcp-footer {
    --theme-link-initial-color: #f5f3ff;
    --theme-link-hover-color: var(--tvcp-rose);
    color: #e8e5ee;
    background: var(--tvcp-ink);
    font-family: var(--tvcp-sans);
}
.tvcp-masthead { border-bottom: 2px solid transparent; border-image: var(--tvcp-gradient) 1; position: relative; z-index: 5; }
.tvcp-brand-row { display: flex; gap: 20px; align-items: center; padding-block: 16px; min-width: 0; }
.tvcp-wordmark {
    color: #fff;
    font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: 1.05;
    text-decoration: none;
    white-space: nowrap;
}
.tvcp-wordmark span { color: #d8b4fe; }
.tvcp-wordmark b { color: var(--tvcp-rose); font-weight: inherit; }
.tvcp-tagline { color: #c8c4d1; font-size: .84rem; padding-inline-start: 17px; border-inline-start: 1px solid #51485f; }
.tvcp-search {
    --theme-form-field-height: 44px;
    margin: 0 0 0 auto;
    display: flex;
    width: min(100%, 280px);
    border: 1px solid #736885;
    border-radius: 8px;
    background: var(--tvcp-night);
}
.tvcp-search input[type="search"] {
    --theme-form-field-background-initial-color: transparent;
    --theme-form-field-background-focus-color: transparent;
    min-width: 0;
    border: 0;
    color: #fff;
    padding-inline: 12px;
    font: inherit;
    font-size: .88rem;
}
.tvcp-search input::placeholder { color: #c8c4d1; opacity: 1; }
.tvcp-search button, .tvcp-menu-button {
    border: 0; min-width: 44px; min-height: 44px; padding: 0 12px;
    background: var(--tvcp-violet); color: #fff;
    border-radius: 0 7px 7px 0; font: 650 .88rem/1 var(--tvcp-sans);
}
.tvcp-masthead > .tvcp-frame { position: relative; }
.tvcp-menu-button {
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
    min-height: 35px; border-radius: 7px; position: absolute; inset: 10px 0 auto auto;
}
.tvcp-menu-button::-webkit-details-marker { display: none; }
.tvcp-menu-shell[open] > .tvcp-menu-button .tvcp-chevron { transform: translateY(2px) rotate(225deg); }
@supports selector(details::details-content) {
    @media (min-width: 761px) {
        .tvcp-menu-shell::details-content { content-visibility: visible; }
        .tvcp-menu-shell > .tvcp-menu-button { display: none; }
    }
}
.tvcp-search button:hover, .tvcp-menu-button:hover { background: var(--tvcp-pink); }
:is(.tvcp-masthead, .tvcp-footer) :focus-visible { outline-color: var(--tvcp-rose); }

nav.tvcp-primary { position: relative; border-top: 1px solid #393445; }
.tvcp-primary ul, .tvcp-footer ul, .tvcp-brand-strip ul, .tvcp-desk-links,
.tvcp-post .tvcp-byline { margin: 0; padding: 0; list-style: none; }
.tvcp-nav-list { display: flex; flex-wrap: wrap; gap: 0 24px; }
.tvcp-nav-list li { min-width: 0; overflow-wrap: anywhere; margin: 0; }
.tvcp-nav-list > li { display: flex; align-items: center; gap: 1px; }
.tvcp-nav-list a, .tvcp-dropdown summary {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    color: #f6f2ff; text-decoration: none; line-height: 1.25; font-size: .92rem; font-weight: 650;
}
.tvcp-nav-list a:hover, .tvcp-nav-list a[aria-current="page"], .tvcp-dropdown summary:hover { color: var(--tvcp-rose); }
.tvcp-nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.tvcp-dropdown summary { cursor: pointer; list-style: none; padding: 0 6px; }
.tvcp-dropdown summary::-webkit-details-marker { display: none; }
.tvcp-chevron { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin: 0 3px; }
.tvcp-dropdown[open] > summary .tvcp-chevron { transform: translateY(2px) rotate(225deg); }
.tvcp-nav-list > li > details > ul {
    position: absolute; inset: 100% auto auto 0; z-index: 8;
    width: min(100%, 350px); padding: 10px 16px;
    max-height: min(64vh, 520px); overflow-y: auto;
    border: 1px solid #685781; border-top: 2px solid var(--tvcp-glow); border-radius: 0 0 9px 9px;
    background: #201929; box-shadow: 0 12px 24px #10111a30;
}
.tvcp-nav-list > .tvcp-mega > details > ul { width: min(100%, 640px); }
.tvcp-nav-list > .tvcp-mega > details[open] > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.tvcp-sub-list li { border-bottom: 1px solid #473c54; }
.tvcp-sub-list a { padding: 5px 3px; }
.tvcp-sub-list details { display: inline; }
.tvcp-sub-list details summary { min-width: 32px; justify-content: center; }
.tvcp-sub-list details ul { padding-inline-start: 12px; margin-block-end: 6px; border-inline-start: 1px solid #685781; }
.tvcp-sub-list details li:last-child { border-bottom: 0; }

/* A static lead and two independently flowing columns. */
.tvcp-home { margin-block: clamp(21px, 3vw, 40px) 36px; }
.tvcp-home-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 14px; }
.tvcp-home-heading h1 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 3.1rem);
    letter-spacing: -.055em; line-height: 1.07; font-weight: 820; margin: 0;
}
.tvcp-tool-link {
    display: inline-flex; align-items: center; min-height: 44px; padding: 7px 14px;
    color: #fff; background: var(--tvcp-violet); border-radius: 7px; font-weight: 720; font-size: .9rem;
}
.tvcp-tool-link:hover { color: #fff; background: var(--tvcp-pink); }
.tvcp-brand-strip {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px;
    border-block: 1px solid var(--tvcp-line); margin-bottom: 24px;
}
.tvcp-brand-strip span, .tvcp-story-topic {
    font-size: .71rem; line-height: 1.3; text-transform: uppercase;
    letter-spacing: .065em; color: var(--tvcp-violet); font-weight: 780;
}
.tvcp-brand-strip span { color: var(--tvcp-muted); }
.tvcp-brand-strip ul { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; }
.tvcp-brand-strip a { display: inline-flex; align-items: center; min-height: 37px; color: var(--tvcp-text); font-size: .88rem; font-weight: 690; }
.tvcp-brand-strip a:hover { color: var(--tvcp-violet); text-decoration: underline; }

.tvcp-desk { display: grid; gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.tvcp-desk-with-rail { grid-template-columns: minmax(0, 2.45fr) minmax(240px, 1fr); }
.tvcp-desk-main, .tvcp-desk-rail, .tvcp-support { min-width: 0; }
.tvcp-desk-main, .tvcp-desk-rail { display: grid; gap: 25px; }
.tvcp-desk-rail { padding-inline-start: clamp(15px, 2vw, 26px); border-inline-start: 1px solid var(--tvcp-line); }
.tvcp-section-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
    border-top: 2px solid var(--tvcp-brand); padding-block: 10px; margin-bottom: 8px;
}
.tvcp-desk-rail .tvcp-section-head { border-color: var(--tvcp-magenta); }
.tvcp-section-head h2 {
    font-size: clamp(1.18rem, 1.02rem + .55vw, 1.62rem);
    font-weight: 800; letter-spacing: -.035em; line-height: 1.14; margin: 0;
}
.tvcp-section-head a, .tvcp-desk-links a { color: var(--tvcp-violet); font-size: .82rem; font-weight: 730; padding-block: 5px; }
.tvcp-section-head a:hover, .tvcp-desk-links a:hover { color: var(--tvcp-pink); text-decoration: underline; }
.tvcp-spotlight { display: grid; gap: 18px; align-items: start; }
.tvcp-has-support { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); }
.tvcp-support { border-inline-start: 1px solid var(--tvcp-line); padding-inline-start: 16px; }
.tvcp-story { min-width: 0; margin: 0; }
.tvcp-story-link { display: block; color: var(--tvcp-ink); text-decoration: none; }
.tvcp-story-link:hover :is(h3,h4) { color: var(--tvcp-violet); text-decoration: underline; text-underline-offset: 2px; }
.tvcp-story-image { aspect-ratio: 16 / 9; background: #efedf4; border-radius: var(--tvcp-radius); overflow: hidden; min-width: 0; }
.tvcp-story-image img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tvcp-story-copy { min-width: 0; padding-top: 8px; overflow-wrap: anywhere; }
.tvcp-story-copy h3, .tvcp-story-copy h4 { font-size: .99rem; margin: 3px 0; line-height: 1.3; font-weight: 750; letter-spacing: -.016em; color: var(--tvcp-ink); }
.tvcp-story-copy time { color: var(--tvcp-muted); font-size: .71rem; }
.tvcp-story-lead .tvcp-story-link { padding-bottom: 12px; }
.tvcp-story-lead h3 { font-size: clamp(1.45rem, 1rem + 1.5vw, 2.25rem); line-height: 1.1; letter-spacing: -.04em; margin-block: 4px 8px; }
.tvcp-story-lead .tvcp-story-image { background: #1a1923; }
.tvcp-story-lead .tvcp-story-copy { padding-top: 12px; }
.tvcp-lead-deck { font-size: .91rem; color: var(--tvcp-muted); margin: 0 0 8px; line-height: 1.58; }
.tvcp-story-compact, .tvcp-story-row { padding: 10px 0; border-bottom: 1px solid var(--tvcp-line); }
.tvcp-story-compact:first-child { padding-top: 0; }
.tvcp-story-compact:last-child { border-bottom: 0; }
.tvcp-story-compact:not(.tvcp-story-text) .tvcp-story-link, .tvcp-story-row:not(.tvcp-story-text) .tvcp-story-link {
    display: grid; gap: 11px; align-items: start; grid-template-columns: minmax(0, 32%) minmax(0, 1fr);
}
.tvcp-story-row:not(.tvcp-story-text) .tvcp-story-link { gap: 16px; grid-template-columns: minmax(0, 155px) minmax(0, 1fr); }
.tvcp-story-row .tvcp-story-copy, .tvcp-story-compact .tvcp-story-copy { padding-top: 0; }
.tvcp-story-compact :is(h3,h4) { font-size: .86rem; }
.tvcp-story-row :is(h3,h4) { font-size: clamp(1rem, .88rem + .5vw, 1.3rem); }
.tvcp-desk-rail .tvcp-story-tile { padding-bottom: 12px; border-bottom: 1px solid var(--tvcp-line); }
.tvcp-feed-day {
    margin: 10px 0 0; border-start-start-radius: 5px; padding: 7px 10px;
    color: var(--tvcp-ink); background: var(--tvcp-soft); font-size: .77rem; line-height: 1.35; font-weight: 720;
}
.tvcp-desk-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.tvcp-home .pagination { margin: 20px 0 0; }
.tvcp-home .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.tvcp-home .page-numbers { padding: 8px 11px; display: inline-flex; align-items: center; min-height: 44px; color: var(--tvcp-violet); border: 1px solid var(--tvcp-line); border-radius: 6px; font-weight: 680; }
.tvcp-home .page-numbers.current { color: #fff; background: var(--tvcp-violet); }
.tvcp-archive-picks { margin-top: 24px; }
.tvcp-pick-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tvcp-home-ad { text-align: center; padding-block: 10px; margin-block: 16px; }
.tvcp-home > .tvcp-home-ad { width: 100%; margin-block: 18px; }
.tvcp-home-ad > p { color: var(--tvcp-muted); margin: 0 0 8px; font-size: .72rem; }

/* Keep the native Blocksy archive, search, and pagination; soften its visual rhythm. */
:is(body.archive, body.search, body.blog) .entries .entry-card {
    min-width: 0; border: 1px solid var(--tvcp-line); border-radius: var(--tvcp-radius);
    box-shadow: none; overflow-wrap: anywhere; background: var(--tvcp-paper);
}
:is(body.archive, body.search, body.blog) .entries .entry-title a { color: var(--tvcp-ink); }
:is(body.archive, body.search, body.blog) .entries .entry-title a:hover { color: var(--tvcp-violet); text-decoration: underline; }
:is(body.archive, body.search, body.blog) .entries .ct-media-container img { object-fit: contain; background: #efedf4; }

/* One width owner for the article and rail, including Blocksy's narrow container. */
#main > :is(.ct-container-full, .ct-container, .ct-container-narrow):has(> .tvcp-post) {
    width: min(calc(100% - 2 * var(--tvcp-gutter)), 1120px);
    max-width: none;
    margin-inline: auto;
    padding-block: clamp(26px, 3.8vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
    align-items: start;
    gap: 30px;
    --theme-content-vertical-spacing: 0;
}
#main > :is(.ct-container-full, .ct-container, .ct-container-narrow):has(> .tvcp-post + .tvcp-post-rail) {
    grid-template-columns: minmax(0, 780px) minmax(235px, 285px);
}
#main .tvcp-post, #main .tvcp-post-rail, #main .tvcp-post .entry-content {
    grid-column: auto; grid-row: auto; width: 100%; max-width: 100%; min-width: 0; margin-inline: 0;
    --theme-block-max-width: 100%;
    --theme-block-wide-max-width: 100%;
    --wp--style--global--content-size: 100%;
    --wp--style--global--wide-size: 100%;
}
.tvcp-post-header { padding-bottom: 18px; }
.tvcp-post-header h1.page-title {
    color: var(--tvcp-ink); font-family: var(--tvcp-sans); font-size: clamp(2rem, 1.35rem + 2.3vw, 3.55rem);
    font-weight: 830; letter-spacing: -.052em; line-height: 1.08; margin: 6px 0 15px; overflow-wrap: anywhere;
}
.tvcp-post-path, .tvcp-post-header .rank-math-breadcrumb { color: var(--tvcp-muted); font-size: .82rem; font-weight: 650; margin: 0 0 9px; }
.tvcp-post-path a, .tvcp-post-header .rank-math-breadcrumb a { color: var(--tvcp-violet); text-decoration: underline; text-underline-offset: 3px; }
.tvcp-post-header .rank-math-breadcrumb p { margin: 0; }
.tvcp-post .tvcp-byline { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: .79rem; color: var(--tvcp-muted); text-transform: none; }
.tvcp-post .tvcp-byline li { display: flex; align-items: center; gap: 5px; margin: 0; }
.tvcp-post .tvcp-byline .tvcp-byline-author { gap: 8px; flex-wrap: wrap; }
.tvcp-byline-author > a[rel="author"] { display: inline-flex; gap: 8px; align-items: center; color: var(--tvcp-text); font-weight: 700; min-height: 34px; }
.tvcp-byline-author img.avatar { border-radius: 50%; width: 33px; height: 33px; object-fit: cover; filter: none; }
.single-post a.tvcp-x-blocksy {
    display: inline-flex; gap: 5px; align-items: center; padding: 5px 9px; min-height: 28px; border-radius: 6px;
    color: #fff; background: var(--tvcp-violet); font: 730 .72rem/1 var(--tvcp-sans); text-transform: none;
}
.single-post a.tvcp-x-blocksy:hover { color: #fff; background: var(--tvcp-pink); }
.tvcp-post-image { margin: 0 0 24px; }
.tvcp-post-image img { display: block; width: 100%; height: auto; border-radius: var(--tvcp-radius); }
.tvcp-post figcaption { color: var(--tvcp-muted); font-size: .83rem; }
#main .tvcp-post .entry-content { display: flow-root; line-height: 1.72; font-size: clamp(1rem, .96rem + .19vw, 1.13rem); overflow-wrap: anywhere; }
.tvcp-post .entry-content :is(h2,h3,h4) { line-height: 1.23; letter-spacing: -.023em; }
.tvcp-post .entry-content :is(p,li) > a:not([class]):not([rel~="sponsored"]) { color: var(--tvcp-violet); text-decoration: underline; text-underline-offset: .16em; }
.tvcp-post .entry-content :is(p,li) > a:not([class]):not([rel~="sponsored"]):hover { color: var(--tvcp-pink); }
#main .tvcp-post .entry-content :is(.alignwide,.alignfull) { width: 100%; max-width: 100%; margin-inline: 0; inset-inline: auto; }
.tvcp-post .entry-content img { max-width: 100%; height: auto; }
.tvcp-post .entry-content :is(video, embed, canvas, svg, iframe[src*="youtube"], iframe[src*="vimeo"]) { max-width: 100%; }
.tvcp-post .entry-content iframe[src*="youtube"], .tvcp-post .entry-content iframe[src*="vimeo"] { aspect-ratio: 16/9; height: auto; }
.tvcp-post .entry-content :is(.wp-block-table, .table-scroll, .table-wrap, .table-responsive, .tvcp-table-scroll, pre) {
    max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain;
}
.tvcp-post .entry-content table { max-width: 100%; overflow-wrap: anywhere; }
.tvcp-post .entry-content :is(.wp-block-table,.tvcp-table-scroll) table:not(.tablepress) { margin: 0; }
.tvcp-post .entry-content :is(.wp-block-table,.tvcp-table-scroll) table:not(.tablepress) :is(th,td) {
    vertical-align: top; padding: .6em .7em; white-space: normal; font-size: .88em; border: 1px solid var(--tvcp-line); overflow-wrap: anywhere;
}
.tvcp-post .entry-content :is(.wp-block-table,.tvcp-table-scroll) table:not(.tablepress) th { color: var(--tvcp-ink); background: var(--tvcp-soft); }
.tvcp-post .entry-content .tvcp-table-scroll { margin-block: 1.25em; }
.tvcp-post-rail { padding-inline-start: 18px; border-inline-start: 1px solid var(--tvcp-line); }
.tvcp-post-rail > .ct-sidebar { width: 100%; min-width: 0; position: static; margin-block-start: 22px; }
body.tvcp-reading #main .ct-comments {
    --theme-button-background-initial-color: var(--tvcp-violet);
    --theme-button-background-hover-color: var(--tvcp-pink);
}
.tvcp-related-end { margin-block: 28px; }
.tvcp-related-end .tvcp-related-items { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.tvcp-related-end .tvcp-story-compact { padding-top: 0; border: 0; }
.tvcp-related-end .tvcp-story-compact .tvcp-story-link { display: block; }
.tvcp-related-end .tvcp-story-image { margin-bottom: 8px; }

/* A four-column footer with room for existing Blocksy widgets below. */
.tvcp-footer { border-top: 2px solid transparent; border-image: var(--tvcp-gradient) 1; padding-block: 30px 17px; }
.tvcp-footer-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.4fr) repeat(2,minmax(0, 1fr)); gap: 20px 30px; }
.tvcp-footer h2 { color: #fff; font: 760 1rem/1.2 var(--tvcp-sans); margin: 0 0 9px; }
.tvcp-footer-brand p { color: #c9c6d4; max-width: 32ch; margin: 11px 0; font-size: .88rem; line-height: 1.55; }
.tvcp-footer li { min-width: 0; margin: 0; }
.tvcp-footer nav a, .tvcp-footer-x { display: inline-flex; align-items: center; min-height: 28px; color: #ddd9e6; font-size: .86rem; line-height: 1.25; overflow-wrap: anywhere; }
.tvcp-footer nav a:hover, .tvcp-footer-x:hover { color: var(--tvcp-rose); text-decoration: underline; }
.tvcp-footer-x { color: var(--tvcp-rose); }
.tvcp-footer-grid nav:first-of-type ul { columns: 2; column-gap: 10px; }
.tvcp-footer-extra { margin-top: 15px; }
.tvcp-footer-menu { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tvcp-copyright { margin: 20px 0 0; padding-block-start: 14px; border-top: 1px solid #454052; color: #d7d4e2; font-size: .82rem; }
.tvcp-footer > [data-row] { color: #ddd9e6; --theme-text-color: #ddd9e6; --theme-heading-color: #fff; }

@media (max-width: 1000px) {
    .tvcp-has-support { grid-template-columns: minmax(0, 1fr); }
    .tvcp-support { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 13px; border: 0; padding: 0; }
    .tvcp-support .tvcp-story-compact { padding-block: 7px; }
    .tvcp-support .tvcp-story-compact:last-child { border-bottom: 1px solid var(--tvcp-line); }
}
@media (max-width: 900px) {
    #main > :is(.ct-container-full, .ct-container, .ct-container-narrow):has(> .tvcp-post + .tvcp-post-rail) { grid-template-columns: minmax(0,780px); }
    .tvcp-post-rail { border-inline-start: 0; padding-inline-start: 0; }
    .tvcp-related-rail .tvcp-related-items { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
}
@media (max-width: 760px) {
    .tvcp-brand-row { flex-wrap: wrap; padding-block: 12px; gap: 9px 12px; }
    .tvcp-brand-row .tvcp-wordmark { margin-inline-end: 77px; }
    .tvcp-tagline { display: none; }
    .tvcp-search { width: 100%; }
    .tvcp-nav-list { gap: 0; display: block; }
    .tvcp-nav-list > li { flex-wrap: wrap; border-bottom: 1px solid #393445; }
    .tvcp-nav-list > li > details { flex-grow: 1; }
    .tvcp-nav-list > li > details[open] { flex-basis: 100%; }
    .tvcp-nav-list > li > a, .tvcp-nav-list > li > details > summary { padding-inline: 6px; }
    .tvcp-nav-list > li > details > ul { position: static; max-height: none; width: 100%; padding-inline: 8px; box-shadow: none; }
    .tvcp-nav-list > .tvcp-mega > details > ul { width: 100%; }
    .tvcp-desk-with-rail { grid-template-columns: minmax(0, 1fr); }
    .tvcp-desk-rail { border: 0; padding: 0; }
    .tvcp-pick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .tvcp-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 490px) {
    .tvcp-home { margin-top: 23px; }
    .tvcp-brand-strip { margin-bottom: 18px; }
    .tvcp-brand-strip ul { gap: 0 14px; }
    .tvcp-nav-list > .tvcp-mega > details[open] > ul { grid-template-columns: minmax(0, 1fr); }
    .tvcp-story-row:not(.tvcp-story-text) .tvcp-story-link { grid-template-columns: minmax(0, 32%) minmax(0,1fr); gap: 10px; }
    .tvcp-support, .tvcp-related-rail .tvcp-related-items { grid-template-columns: minmax(0,1fr); }
    .tvcp-related-end .tvcp-related-items { grid-template-columns: minmax(0,1fr); }
    .tvcp-related-end .tvcp-story-compact:not(.tvcp-story-text) .tvcp-story-link { display: grid; }
    .tvcp-pick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .tvcp-footer-grid { column-gap: 14px; }
    .tvcp-footer-brand { grid-column: 1/-1; }
    .tvcp-footer-grid nav:first-of-type ul { columns: auto; }
}
@media (prefers-reduced-motion: reduce) {
    :is(.tvcp-masthead,.tvcp-home,.tvcp-post,.tvcp-footer) * { animation-duration: .01ms; transition-duration: .01ms; scroll-behavior: auto; }
}

/* Preserve the parent archive cards and the ordering of their native fields. */
:is(body.archive, body.search) #main .hero-section .page-title {
    color: var(--tvcp-ink);
    font-family: var(--tvcp-sans);
    font-size: clamp(1.85rem, 1.3rem + 2.1vw, 3.05rem);
    letter-spacing: -.05em;
    line-height: 1.12;
}
:is(body.archive, body.search) #main .entries { --grid-columns-gap: 18px; }
:is(body.archive, body.search) #main .entries .entry-card {
    --card-inner-spacing: clamp(13px, 1.65vw, 20px);
    --card-border-radius: var(--tvcp-radius);
}
:is(body.archive, body.search) #main .entries .entry-title { font-weight: 770; letter-spacing: -.025em; }


/* v1.7.1: two-column editorial feed; original WordPress query and pagination. */
.tvcp-home .tvcp-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}
.tvcp-home .tvcp-story-feed-card {
    min-width: 0;
    border: 1px solid var(--tvcp-line);
    border-radius: var(--tvcp-radius);
    background: var(--tvcp-paper);
}
.tvcp-home .tvcp-story-feed-card .tvcp-story-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 12px;
    box-sizing: border-box;
}
.tvcp-home .tvcp-story-feed-card .tvcp-story-image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.tvcp-home .tvcp-story-feed-card .tvcp-story-copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-top: 11px;
}
.tvcp-home .tvcp-story-feed-card.tvcp-story-text .tvcp-story-copy { padding-top: 0; }
.tvcp-home .tvcp-story-feed-card :is(h2,h3) {
    font-size: clamp(1.05rem, .95rem + .4vw, 1.28rem);
    font-weight: 760;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin: 5px 0 10px;
    overflow-wrap: anywhere;
}
.tvcp-home .tvcp-story-feed-card time { margin-top: auto; }
.tvcp-home .tvcp-story-feed-card a:hover :is(h2,h3) {
    color: var(--tvcp-violet);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (hover: hover) {
    .tvcp-home .tvcp-story-feed-card:hover { border-color: #c4b5fd; }
}
@media (max-width: 959px) {
    .tvcp-home .tvcp-feed-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* v1.7.2: independent feed groups, readable editorial side rails.
   No ad loader or ad iframe styles. Empty manual slots emit no markup. */
.tvcp-home .tvcp-feed-stream {
    display: block;
    min-width: 0;
}
.tvcp-home .tvcp-feed-stream > .tvcp-feed-grid + .tvcp-feed-grid {
    margin-block-start: 18px;
}
.tvcp-home .tvcp-feed-grid > :not(.tvcp-story) {
    grid-column: 1 / -1;
    min-width: 0;
}
.tvcp-home .tvcp-feed-ad {
    display: block;
    width: 100%;
    min-width: 0;
    margin-block: 24px;
    padding-block: 10px;
    border-block: 1px solid var(--tvcp-line);
    text-align: center;
}
.tvcp-feed-ad-label {
    margin: 0 0 10px;
    color: var(--tvcp-muted);
    font: 500 .8rem/1.4 var(--tvcp-sans);
}
/* Modest reserved space only for an explicitly configured manual unit. */
.tvcp-feed-ad .tvcp-ad-widget { min-height: 90px; margin: 0 auto; }
/* Maintain 16:9 thumbnails and the original link/heading semantics. */
:is(.tvcp-desk-rail, .tvcp-post-rail, .tvcp-support, .tvcp-related-end, .tvcp-related-widget, .tvcp-archive-picks) .tvcp-story-copy :is(h2,h3,h4) {
    font-size: 1rem;
    line-height: 1.42;
    letter-spacing: -.012em;
    font-weight: 720;
    margin-block: 4px 6px;
}
.tvcp-desk-rail .tvcp-story-tile .tvcp-story-copy :is(h2,h3,h4) { font-size: 1.125rem; }
:is(.tvcp-desk-rail, .tvcp-post-rail, .tvcp-support, .tvcp-related-end, .tvcp-related-widget, .tvcp-archive-picks) .tvcp-story-topic {
    font-size: .8125rem;
    line-height: 1.4;
    letter-spacing: .035em;
}
:is(.tvcp-desk-rail, .tvcp-post-rail, .tvcp-support, .tvcp-related-end, .tvcp-related-widget, .tvcp-archive-picks) .tvcp-story-copy time {
    font-size: .875rem;
    line-height: 1.45;
}
:is(.tvcp-desk-rail, .tvcp-post-rail) .tvcp-section-head h2 { font-size: clamp(1.25rem, 1.1rem + .45vw, 1.55rem); }
.tvcp-desk-rail .tvcp-section-head a, .tvcp-desk-rail .tvcp-desk-links a { font-size: .9rem; }
:is(.tvcp-desk-rail, .tvcp-post-rail, .tvcp-support) .tvcp-story-compact { padding-block: 12px; }
/* Increase readability of native Recent Posts widgets without affecting other widgets/ads. */
.tvcp-post-rail :is(.widget_recent_entries, .wp-block-latest-posts) a { font-size: 1rem; line-height: 1.45; }
.tvcp-post-rail :is(.widget_recent_entries, .wp-block-latest-posts) :is(.post-date, time) { font-size: .875rem; }
@media (max-width: 959px) {
    .tvcp-home .tvcp-feed-stream > .tvcp-feed-grid + .tvcp-feed-grid { margin-block-start: 14px; }
    .tvcp-home .tvcp-feed-ad { margin-block: 20px; }
}

/* v1.7.3 — compact mobile masthead; no changes to desktop or content. */
.tvcp-search-toggle, .tvcp-menu-icon, .tvcp-menu-close { display: none; }
@media (max-width: 760px) {
    .tvcp-masthead .tvcp-brand-row {
        display: grid; grid-template-columns: minmax(0,1fr) 44px 44px;
        align-items: center; gap: 6px; padding-block: 8px; min-height: 60px;
    }
    .tvcp-masthead .tvcp-wordmark {
        grid-column: 1; margin: 0; font-size: clamp(1.2rem, 5.7vw, 1.65rem);
        letter-spacing: -.06em; min-width: 0; justify-self: start;
    }
    .tvcp-masthead .tvcp-search-toggle,
    .tvcp-masthead .tvcp-menu-button {
        width: 44px; height: 44px; min-width: 44px; min-height: 44px;
        padding: 0; margin: 0; align-items: center; justify-content: center;
        border: 1px solid #554861; border-radius: 9px;
        color: #f5f3ff; background: #211c2c; box-shadow: none;
    }
    .tvcp-masthead .tvcp-search-toggle { grid-column: 2; }
    .tvcp-masthead.tvcp-search-ready .tvcp-search-toggle { display: inline-flex; }
    .tvcp-masthead .tvcp-menu-button { display: inline-flex; inset: 8px 0 auto auto; }
    .tvcp-masthead .tvcp-menu-button .tvcp-menu-label,
    .tvcp-masthead .tvcp-menu-button .tvcp-chevron { display: none; }
    .tvcp-masthead .tvcp-menu-icon { display: block; }
    .tvcp-masthead .tvcp-menu-shell[open] > .tvcp-menu-button,
    .tvcp-masthead .tvcp-search-toggle[aria-expanded="true"] {
        color: #f9a8d4; border-color: #c084fc; background: #30213d;
    }
    .tvcp-masthead .tvcp-menu-shell[open] .tvcp-menu-bars { display: none; }
    .tvcp-masthead .tvcp-menu-shell[open] .tvcp-menu-close { display: block; }
    .tvcp-masthead .tvcp-search { grid-column: 1 / -1; width: 100%; margin: 2px 0 4px; }
    .tvcp-masthead.tvcp-search-ready:not(.tvcp-search-open) .tvcp-search { display: none; }
    .tvcp-masthead .tvcp-search input[type="search"] { font-size: 16px; }
    .tvcp-masthead nav.tvcp-primary { padding-block: 3px 8px; }
    .tvcp-masthead .tvcp-nav-list > li { padding-inline: 6px; }
    .tvcp-masthead .tvcp-nav-list a, .tvcp-masthead .tvcp-dropdown summary { font-size: 1rem; min-height: 44px; }
    .tvcp-masthead .tvcp-nav-list > li:last-child { border-bottom: 0; }
}

/* 1.7.4: controls and rotation only in the homepage TV spotlight. */
.tvcp-spotlight-main, .tvcp-spotlight-current { min-width: 0; }
.tvcp-spotlight .tvcp-story-compact .tvcp-lead-deck { display: none; }
.tvcp-rotation-controls[hidden] { display: none; }
.tvcp-rotation-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 6px; }
.tvcp-rotation-count { margin-inline-end: auto; font-size: .875rem; color: var(--tvcp-muted); }
.tvcp-rotation-controls button { min-width: 44px; min-height: 44px; padding: 6px 12px; border: 1px solid #ddd6fe; border-radius: 7px; background: #f5f3ff; color: #6d28d9; font-size: .875rem; font-weight: 700; cursor: pointer; box-shadow: none; }
.tvcp-rotation-controls button:hover { background: #ede9fe; color: #581c87; }
.tvcp-rotation-controls button:focus-visible { outline: 2px solid #6d28d9; outline-offset: 3px; }
