/*
Theme Name: Televizori.eu — TV Гид
Theme URI: https://televizori.eu/
Author: Televizori.eu
Description: Самостоятелна Gutenberg блокова тема за телевизионен информационен портал. Дизайн на начална страница, статии и архиви.
Version: 0.7.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: televizori-eu
Tags: blog, news, full-site-editing, block-patterns, custom-colors
*/

:root{--tv-ink:#111827;--tv-muted:#637086;--tv-navy:#0b1124;--tv-violet:#7c3aed;--tv-purple:#a985ff;--tv-line:#e7e9f3;--tv-card:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--tv-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}a:hover{color:var(--tv-violet)}
.wp-site-blocks{overflow:hidden}
.tv-container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-left:auto!important;margin-right:auto!important}
.tv-header{position:relative;z-index:30;background:#0b1124;color:#fff;border-bottom:1px solid rgba(255,255,255,.09)}
.tv-header .tv-nav-row{min-height:78px;display:flex;align-items:center;gap:36px;justify-content:space-between}
.tv-brand-group{margin:0!important;flex-shrink:0;gap:11px!important}
.tv-brand{font-size:23px!important;line-height:1.1!important;font-weight:850;letter-spacing:-.04em;margin:0!important;color:#fff}
.tv-brand a{color:#fff}.tv-brand a:hover{color:#fff}
.tv-brand-accent{color:#b69cff}
.tv-brand-mark{width:40px;height:37px;border:2px solid #ad91ff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;position:relative;color:#b89aff;font-size:23px;line-height:1;font-weight:900;transform:rotate(-4deg);margin-right:9px;vertical-align:middle;box-shadow:0 0 22px rgba(127,83,239,.16)}
.tv-tagline{font-size:10px!important;letter-spacing:.012em;margin:2px 0 0 49px!important;color:#d2d6e8!important}
.tv-navigation{margin-left:auto!important;margin-right:0!important;font-size:14px;font-weight:650}
.tv-navigation a{color:#f6f5ff!important}.tv-navigation a:hover{color:#bfaaff!important}
.tv-navigation .wp-block-navigation-item{white-space:nowrap}
.tv-navigation .wp-block-navigation__responsive-container.is-menu-open{background:#10152a!important;color:#fff!important;padding:22px!important}
.tv-navigation .wp-block-navigation__responsive-container-open,.tv-navigation .wp-block-navigation__responsive-container-close{color:#fff!important}
.tv-navigation .wp-block-navigation__container{gap:26px!important}
.tv-header-search{margin:0!important;flex-shrink:0}.tv-header-search .wp-block-search__inside-wrapper{max-width:175px;border:1px solid rgba(255,255,255,.21);border-radius:10px;padding:2px;background:rgba(255,255,255,.045)}
.tv-header-search .wp-block-search__input{display:block!important;width:128px!important;min-width:0;background:transparent!important;color:#fff!important;border:0!important;padding:7px 8px!important;box-shadow:none!important;font-size:12px!important}.tv-header-search .wp-block-search__button{margin:0!important;border:0;background:transparent;color:#fff;padding:8px!important;border-radius:50%}.tv-header-search .wp-block-search__button svg{width:24px;height:24px}
.tv-header-search .wp-block-search__button:hover{background:#25213e}
/* Hero */
.tv-hero{background:radial-gradient(ellipse at 82% 15%,rgba(90,62,168,.36),transparent 48%),linear-gradient(115deg,#0a1125 0%,#0a1125 56%,#1c1836 100%);color:#fff;padding:0!important}
.tv-hero .tv-hero-grid{display:grid!important;grid-template-columns:1fr 1.07fr;align-items:stretch;min-height:408px;gap:0!important;position:relative}
.tv-hero-copy{align-self:center;padding:55px 18px 60px 0;position:relative;z-index:2;margin:0!important}
.tv-hero-kicker{display:inline-block;background:rgba(124,58,237,.15);border:1px solid rgba(167,139,250,.3);color:#cbb8ff;font-size:12px!important;font-weight:800!important;letter-spacing:.12em;padding:7px 12px;border-radius:999px;margin:0 0 20px!important;text-transform:uppercase}
.tv-hero-title{font-size:clamp(38px,3.8vw,54px)!important;line-height:1.11!important;letter-spacing:-.044em!important;font-weight:850!important;margin:0 0 18px!important;color:#fff!important;max-width:630px}
.tv-highlight{color:#a78bfa}
.tv-hero-desc{font-size:16px!important;line-height:1.72!important;color:#d5d9e9!important;margin:0 0 28px!important;max-width:510px}
.tv-actions{gap:14px!important;display:flex;flex-wrap:wrap;margin:0!important}
.tv-button-primary .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(115deg,#9d79ff,#762cdd)!important;color:white!important;font-weight:750;border-radius:13px;padding:16px 24px;box-shadow:0 12px 24px rgba(85,37,176,.3);border:1px solid rgba(255,255,255,.1)}
.tv-button-primary .wp-block-button__link:hover{filter:brightness(1.11)}
.tv-button-outline .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;background:transparent!important;color:#fff!important;border:1.5px solid #e9e5ff!important;border-radius:13px;padding:15px 22px;font-weight:750}
.tv-button-outline .wp-block-button__link:hover{background:rgba(255,255,255,.1)!important}
.tv-hero-art{background-image:linear-gradient(90deg,#0b1227 0%,rgba(11,18,39,0) 20%),url('assets/hero-tv.webp');background-size:cover;background-position:center 55%;min-height:408px;height:100%;margin:0!important;position:relative}
.tv-hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,17,36,.12),transparent 35%)}
/* value row */
.tv-value-band{background:linear-gradient(105deg,#172033,#26213f 65%,#1d2035);padding:25px 0!important;color:#fff}
.tv-value-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important}
.tv-value-item{display:flex!important;gap:13px!important;align-items:flex-start!important;min-width:0;margin:0!important}
.tv-value-icon{color:#c3b0ff!important;font-size:29px!important;line-height:1!important;margin:0!important;flex-shrink:0}
.tv-value-title{font-size:14px!important;font-weight:800!important;color:#fff!important;margin:0 0 5px!important}
.tv-value-desc{font-size:12px!important;line-height:1.5!important;color:#c9ccdd!important;margin:0!important}
/* home */
.tv-main{padding:42px 0 50px!important}
.tv-section{margin:0 0 43px!important}
.tv-section-heading-row{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 22px!important;gap:20px}
.tv-section-heading{font-size:29px!important;font-weight:850!important;letter-spacing:-.04em!important;line-height:1.15!important;margin:0!important;color:#11131e!important;position:relative;padding-bottom:14px}
.tv-section-heading:after{content:"";position:absolute;bottom:0;left:0;width:57px;height:4px;background:linear-gradient(90deg,#8a43ed,#b58aff);border-radius:8px}
.tv-more{font-size:14px!important;font-weight:750!important;color:#7039db!important;white-space:nowrap}
.tv-topic-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px!important}
.tv-topic-card{border:1px solid var(--tv-line);border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 6px 16px rgba(39,40,84,.045);margin:0!important;transition:transform .2s ease,box-shadow .2s ease}
.tv-topic-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(40,42,100,.14)}
.tv-topic-visual{height:135px;margin:0!important;background-position:center;background-repeat:no-repeat;background-size:cover}
.tv-topic-visual-1{background-image:url('assets/topic-1.webp')}
.tv-topic-visual-2{background-image:url('assets/topic-2.webp')}
.tv-topic-visual-3{background-image:url('assets/topic-3.webp')}
.tv-topic-visual-4{background-image:url('assets/topic-4.webp')}
.tv-topic-visual-5{background-image:url('assets/topic-5.webp')}
.tv-topic-copy{padding:15px 14px 17px!important;margin:0!important}
.tv-topic-title{font-size:16px!important;line-height:1.28!important;letter-spacing:-.02em!important;color:#171923!important;font-weight:800!important;margin:0 0 7px!important}
.tv-topic-title a:hover{color:var(--tv-violet)!important}
.tv-topic-desc{font-size:12px!important;line-height:1.45!important;color:#6b758a!important;margin:0!important}
.tv-post-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px!important;list-style:none;margin:0!important;padding:0!important}
.tv-post-grid>li{overflow:hidden;border:1px solid var(--tv-line);border-radius:15px;background:var(--tv-card);box-shadow:0 6px 18px rgba(39,40,84,.05);margin:0!important;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s}
.tv-post-grid>li:hover{box-shadow:0 15px 34px rgba(40,42,100,.13);transform:translateY(-3px)}
.tv-post-grid .wp-block-post-featured-image{height:155px;overflow:hidden;margin:0!important;background:linear-gradient(135deg,#142e59,#7e39ac)}
.tv-post-grid .wp-block-post-featured-image img{width:100%;height:155px;object-fit:cover;transition:transform .3s}
.tv-post-grid>li:hover .wp-block-post-featured-image img{transform:scale(1.04)}
.tv-post-grid .tv-post-body{padding:14px 15px 16px!important;margin:0!important;flex:1;display:flex;flex-direction:column}
.tv-post-grid .wp-block-post-terms{margin:0 0 9px!important;font-size:11px!important;color:#fff!important}
.tv-post-grid .wp-block-post-terms a{background:linear-gradient(125deg,#9760fc,#733de4);border-radius:8px;padding:4px 9px;color:#fff!important;font-size:11px;font-weight:750;display:inline-block}
.tv-post-grid .wp-block-post-terms__separator{display:none}
.tv-post-grid .wp-block-post-title{font-size:17px!important;letter-spacing:-.024em!important;line-height:1.34!important;font-weight:800!important;margin:0 0 13px!important;color:#151923!important}
.tv-post-grid .wp-block-post-title a:hover{color:var(--tv-violet)!important}
.tv-post-grid .tv-post-meta{display:flex!important;gap:8px!important;margin-top:auto!important;color:#637086;font-size:12px!important}
.tv-post-grid .wp-block-post-date{font-size:12px!important;color:#66728b!important;margin:0!important}
/* guide bottom CTA */
.tv-bottom-cta{background:linear-gradient(107deg,#252958,#7d3ed2 68%,#6b2ec2);color:#fff;min-height:140px;padding:27px 36px!important;border-radius:17px;box-shadow:0 12px 30px rgba(78,45,141,.16);display:flex!important;gap:28px!important;align-items:center!important;justify-content:space-between!important}
.tv-bottom-cta .tv-cta-symbol{font-size:55px!important;line-height:1!important;margin:0!important;color:#e5d5ff}
.tv-bottom-cta .tv-cta-copy{flex:1;margin:0!important}
.tv-bottom-cta .tv-cta-title{font-size:25px!important;line-height:1.2!important;font-weight:800!important;margin:0 0 7px!important;color:#fff!important;letter-spacing:-.025em}
.tv-bottom-cta .tv-cta-text{font-size:14px!important;line-height:1.5!important;color:#e4def5!important;margin:0!important}
.tv-bottom-cta .tv-cta-button{margin:0!important;flex-shrink:0}
.tv-bottom-cta .tv-cta-button .wp-block-button__link{background:#fff!important;color:#26134c!important;border-radius:12px;font-size:14px;font-weight:800;padding:14px 21px}
.tv-bottom-cta .tv-cta-button .wp-block-button__link:hover{background:#ede4ff!important}
.tv-footer{background:#0c1224;color:#cad2e4;padding:36px 0!important}
.tv-footer-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px}
.tv-footer .tv-footer-brand{color:#fff!important;font-weight:800!important;font-size:18px!important;margin:0 0 5px!important}
.tv-footer p{font-size:12px!important;color:#a6afc6!important;margin:0!important}
.tv-footer a{color:#c6b3ff!important}
/* Content templates */
.tv-content-area{padding:54px 0 70px!important}
.tv-page-title{font-size:clamp(28px,4vw,43px)!important;line-height:1.19!important;font-weight:850!important;letter-spacing:-.04em!important;color:#111827!important;margin:0 0 20px!important}
.tv-article-width{max-width:850px!important;margin-left:auto!important;margin-right:auto!important}
.tv-single-meta{display:flex!important;gap:20px!important;margin:0 0 20px!important;color:#68768d;font-size:14px!important}
.tv-single-meta p,.tv-single-meta time{margin:0!important}
.tv-content-area .wp-block-post-featured-image{margin:10px 0 30px!important}
.tv-content-area .wp-block-post-featured-image img{border-radius:15px;max-height:460px;object-fit:cover}
.tv-content-area .entry-content{font-size:17px;line-height:1.85}
.tv-content-area .entry-content h2,.tv-content-area .entry-content h3{line-height:1.3;margin-top:1.8em}
.tv-content-area .entry-content p{margin-bottom:1.2em}
.tv-content-area .entry-content a{text-decoration:underline;text-decoration-color:#a58ae5;text-underline-offset:3px}
.tv-listing .tv-post-grid{margin-top:28px!important}
.tv-pagination{margin-top:32px!important}
.tv-pagination .page-numbers,.tv-pagination a{padding:9px 12px;background:#eeeaf9;border-radius:7px}
.tv-404-desc{font-size:18px!important;color:#637086!important}
.tv-content-area .wp-block-post-content{word-wrap:break-word}
/* responsive */
@media (max-width:1100px){.tv-header-search{display:none!important}.tv-navigation .wp-block-navigation__container{gap:14px!important}.tv-hero-title{font-size:43px!important}.tv-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tv-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-value-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px!important}}
@media (max-width:780px){.tv-container{width:min(100% - 34px,1180px)}.tv-header .tv-nav-row{min-height:70px;gap:14px}.tv-brand{font-size:20px!important}.tv-brand-mark{width:35px;height:32px;font-size:19px}.tv-tagline{margin-left:45px!important}.tv-navigation{margin-left:auto!important}.tv-header-search{display:none}.tv-hero .tv-hero-grid{grid-template-columns:1fr;min-height:0}.tv-hero-copy{padding:40px 4px 29px}.tv-hero-title{font-size:clamp(35px,8vw,48px)!important}.tv-hero-art{min-height:270px;height:270px;background-position:center 53%;background-image:linear-gradient(0deg,#0b1227 0%,rgba(11,18,39,0) 35%),url('assets/hero-tv.webp')}.tv-hero-kicker{margin-bottom:16px!important}.tv-hero-desc{font-size:15px!important}.tv-main{padding:35px 0!important}.tv-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-bottom-cta{align-items:flex-start!important;flex-wrap:wrap;gap:13px!important;padding:24px!important}.tv-bottom-cta .tv-cta-copy{flex-basis:calc(100% - 70px)}.tv-bottom-cta .tv-cta-button{margin-left:0!important}.tv-footer-row{flex-direction:column;align-items:flex-start!important}.tv-section-heading{font-size:25px!important}}
@media (max-width:480px){.tv-container{width:calc(100% - 28px)}.tv-header .tv-nav-row{gap:3px}.tv-hero-copy{padding:33px 0 23px}.tv-hero-title{font-size:37px!important}.tv-hero-desc{font-size:14px!important}.tv-button-primary,.tv-button-outline{width:100%}.tv-button-primary .wp-block-button__link,.tv-button-outline .wp-block-button__link{width:100%;text-align:center;padding:13px 16px}.tv-hero-art{height:215px;min-height:215px}.tv-value-band{padding:24px 0!important}.tv-value-grid{gap:17px!important}.tv-value-item{gap:8px!important}.tv-value-icon{font-size:22px!important}.tv-value-title{font-size:12px!important}.tv-value-desc{font-size:11px!important}.tv-topic-grid{gap:11px!important}.tv-topic-visual{height:102px}.tv-topic-copy{padding:12px 10px 14px!important}.tv-topic-title{font-size:14px!important}.tv-topic-desc{font-size:11px!important}.tv-post-grid{grid-template-columns:1fr}.tv-post-grid .wp-block-post-featured-image,.tv-post-grid .wp-block-post-featured-image img{height:198px}.tv-bottom-cta .tv-cta-symbol{font-size:40px!important}.tv-bottom-cta .tv-cta-copy{flex-basis:calc(100% - 60px)}.tv-bottom-cta .tv-cta-title{font-size:20px!important}.tv-bottom-cta .tv-cta-text{font-size:13px!important}.tv-bottom-cta .tv-cta-button{width:100%;margin-top:4px!important}.tv-bottom-cta .tv-cta-button .wp-block-button__link{display:block}.tv-more{font-size:12px!important}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* v0.2.0: Use the full 1180px content area on the homepage.
   Core's constrained layout otherwise caps nested sections at contentSize (850px),
   leaving an empty strip on the right despite the outer container being wide. */
.tv-main > .tv-section,
.tv-main > .tv-bottom-cta,
.tv-section > .tv-section-heading-row,
.tv-section > .tv-topic-grid,
.tv-section > .tv-query {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* v0.3.0 — compact, balanced hero: two-line headline and side-by-side CTAs. */
@media (min-width: 781px) {
  .tv-hero .tv-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    min-height: 395px;
  }
  .tv-hero .tv-hero-copy {
    padding: 34px 12px 36px 0;
    min-width: 0;
  }
  .tv-hero .tv-hero-title {
    font-size: clamp(37px, 3.15vw, 45px) !important;
    line-height: 1.12 !important;
    max-width: none;
    margin-bottom: 16px !important;
  }
  .tv-hero .tv-hero-kicker { margin-bottom: 14px !important; }
  .tv-hero .tv-hero-desc {
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
    max-width: 530px;
  }
  .tv-hero .tv-hero-art { min-height: 395px; }
  .tv-hero .tv-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
    max-width: none !important;
  }
  .tv-hero .tv-actions > .wp-block-button {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 !important;
    white-space: nowrap;
  }
  .tv-hero .tv-actions .wp-block-button__link {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
    padding: 14px 16px !important;
    white-space: nowrap;
  }
}
/* On mid-size screens, avoid clipping when the hero's text column shrinks. */
@media (min-width: 781px) and (max-width: 950px) {
  .tv-hero .tv-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tv-hero .tv-actions { flex-wrap: wrap !important; }
  .tv-hero .tv-hero-title { font-size: 36px !important; }
}
@media (max-width: 780px) {
  .tv-hero .tv-actions { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; }
  .tv-hero .tv-hero-copy { min-width: 0; }
}
@media (max-width: 480px) {
  .tv-hero .tv-actions { flex-direction: column !important; align-items: stretch !important; }
  .tv-hero .tv-actions > .wp-block-button { width: 100%; }
  .tv-hero .tv-actions .wp-block-button__link { width: 100%; }
}


/* v0.4.0 — editorial article cards. Scope: WP Query Loop cards only. */
.tv-post-grid {
  align-items: stretch !important;
  gap: 20px !important;
}
.tv-post-grid > li {
  min-width: 0;
  height: 100%;
  border-radius: 16px;
  border-color: #e8e9f2;
  box-shadow: 0 8px 24px rgba(19, 25, 52, .055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tv-post-grid > li:is(:hover,:focus-within) {
  transform: translateY(-4px);
  border-color: #d9ccff;
  box-shadow: 0 20px 38px rgba(48, 34, 99, .135);
}
.tv-post-grid .wp-block-post-featured-image {
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  margin: 0 !important;
  background: linear-gradient(130deg, #0f2e56, #6842ae);
}
.tv-post-grid .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.tv-post-grid .wp-block-post-featured-image img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform .35s ease;
}
.tv-post-grid > li:is(:hover,:focus-within) .wp-block-post-featured-image img {
  transform: scale(1.055);
}
.tv-post-grid .tv-post-body {
  width: 100%;
  min-width: 0;
  min-height: 183px;
  flex: 1 1 auto;
  padding: 0 17px 16px !important;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
.tv-post-grid .wp-block-post-terms {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-self: flex-start;
  flex-wrap: nowrap;
  max-width: 100%;
  min-height: 26px;
  margin: -13px 0 13px !important;
  line-height: 1 !important;
}
.tv-post-grid .wp-block-post-terms a {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  border-radius: 7px;
  padding: 7px 11px !important;
  line-height: 1.1 !important;
  box-shadow: 0 3px 10px rgba(65, 28, 132, .18);
  background: linear-gradient(110deg, #a16aff, #7435db) !important;
}
.tv-post-grid .wp-block-post-terms a:not(:first-of-type) { display: none; }
.tv-post-grid .wp-block-post-title {
  font-size: 17px !important;
  line-height: 1.38 !important;
  font-weight: 800 !important;
  letter-spacing: -.025em !important;
  color: #171a29 !important;
  margin: 0 0 16px !important;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
.tv-post-grid .wp-block-post-title a {
  color: inherit !important;
  text-decoration: none !important;
}
.tv-post-grid .wp-block-post-title a:hover,
.tv-post-grid .wp-block-post-title a:focus-visible { color: #7136d4 !important; }
.tv-post-grid .tv-post-meta,
.tv-post-grid .tv-post-body > .wp-block-post-date {
  width: 100%;
  margin: auto 0 0 !important;
  border-top: 1px solid #edf0f6;
  padding-top: 13px;
  line-height: 1.4 !important;
  color: #69758a !important;
  font-size: 12px !important;
}
.tv-post-grid .tv-post-meta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: space-between;
  gap: 8px !important;
}
.tv-post-grid .wp-block-post-date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #69758a !important;
  font-size: 12px !important;
  margin: 0 !important;
}
.tv-post-grid .wp-block-post-date::before,
.tv-post-grid .tv-post-meta::before {
  content: "";
  display: inline-block;
  flex: 0 0 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23838aa0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18'/%3E%3C/svg%3E") center / 14px 14px no-repeat;
}
/* On the homepage the calendar belongs to the date row, not a second icon. */
.tv-post-grid .tv-post-meta::before { display: none; }
/* Graceful layout when an older article does not have a featured image. */
.tv-post-grid > li:not(:has(.wp-block-post-featured-image)) .tv-post-body { padding-top: 20px !important; }
.tv-post-grid > li:not(:has(.wp-block-post-featured-image)) .wp-block-post-terms { margin-top: 0 !important; }
@media (max-width: 780px) {
  .tv-post-grid { gap: 15px !important; }
  .tv-post-grid .tv-post-body { min-height: 170px; }
}
@media (max-width: 480px) {
  .tv-post-grid .wp-block-post-featured-image,
  .tv-post-grid .wp-block-post-featured-image img {
    height: auto !important;
  }
  .tv-post-grid .wp-block-post-featured-image img { height: 100% !important; }
  .tv-post-grid .tv-post-body { padding: 0 16px 17px !important; min-height: 165px; }
  .tv-post-grid .wp-block-post-title { font-size: 18px !important; -webkit-line-clamp: 3; line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .tv-post-grid > li,
  .tv-post-grid .wp-block-post-featured-image img { transition: none !important; }
}

/* Archive/search pages should not be limited to the 850px article text column. */
.tv-content-area > .tv-listing,
.tv-content-area > .tv-listing > .tv-post-grid {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* v0.5.0 — editorial single article experience. All selectors are single-template scoped. */
.tv-reading-progress{height:3px;width:0;background:linear-gradient(90deg,#a986ff,#7438df);position:fixed;top:0;left:0;z-index:200;pointer-events:none;transition:width .09s linear}
.tv-article-shell{padding:38px 0 78px!important;background:linear-gradient(180deg,#f7f6ff 0px,#fff 285px)}
.tv-article-shell > .tv-article-wrap{width:min(1120px,calc(100% - 48px));max-width:1120px!important;margin-inline:auto!important}
.tv-article-breadcrumb{font-size:13px!important;line-height:1.4;color:#8790a5!important;margin:0 0 30px!important}
.tv-article-breadcrumb a{color:#685d94;font-weight:650}
.tv-article-breadcrumb a:hover{text-decoration:underline}
.tv-article-breadcrumb span{padding:0 10px;color:#b4b6c7}
.tv-article-head{max-width:970px!important;margin:0 0 29px!important}
.tv-article-head .wp-block-post-terms{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 17px!important;font-size:12px!important;font-weight:800!important}
.tv-article-head .wp-block-post-terms a{background:#e9dfff;color:#6735b1!important;padding:7px 12px;border:1px solid #dfcfff;border-radius:999px;line-height:1.25;transition:background .2s}
.tv-article-head .wp-block-post-terms a:hover{background:#d8c3ff}
.tv-article-head .wp-block-post-terms__separator{display:none}
.tv-article-head .wp-block-post-title{max-width:100%;font-size:clamp(35px,4vw,54px)!important;line-height:1.13!important;letter-spacing:-.046em!important;font-weight:850!important;margin:0 0 22px!important;color:#111729!important;overflow-wrap:break-word}
.tv-article-head .tv-article-meta{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:18px!important;color:#778099;font-size:13px!important;font-weight:600!important;line-height:1.4!important;margin:0!important}
.tv-article-meta .wp-block-post-date{display:inline-flex;align-items:center;gap:7px;margin:0!important}
.tv-article-meta .wp-block-post-date:before{content:'◷';font-size:19px;color:#926ee4;line-height:1}
.tv-article-meta .tv-reading-time{margin:0!important;display:none;align-items:center;gap:7px}
.tv-article-meta .tv-reading-time[data-ready='true']{display:inline-flex}
.tv-reading-time:before{content:'◴';font-size:19px;line-height:1;color:#926ee4}
.tv-article-feature{width:100%;max-width:none!important;margin:0 0 45px!important;overflow:hidden;border-radius:22px;background:linear-gradient(120deg,#14294e,#6041a2);box-shadow:0 22px 55px rgba(31,34,72,.14)}
.tv-article-feature img{display:block;width:100%;max-height:490px;aspect-ratio:2.22/1;object-fit:cover;border-radius:0!important}
.tv-article-feature figcaption{margin:0;padding:11px 16px;background:#f5f3fa;font-size:12px;color:#68748a}
.tv-article-grid{width:100%;max-width:none!important;display:grid!important;grid-template-columns:minmax(0,750px) minmax(250px,1fr);gap:46px!important;align-items:start;margin:0!important}
.tv-article-main{min-width:0;width:100%;max-width:none!important;margin:0!important}
.tv-article-main .entry-content{font-size:17.5px!important;line-height:1.88!important;color:#323849;max-width:none!important;margin:0!important;word-wrap:break-word;overflow-wrap:break-word}
.tv-article-main .entry-content > *{max-width:100%}
.tv-article-main .entry-content > :first-child{margin-top:0!important}
.tv-article-main .entry-content p{margin:0 0 1.35em!important}
.tv-article-main .entry-content :is(h2,h3,h4){scroll-margin-top:28px;color:#161b2c;font-weight:820;letter-spacing:-.03em;overflow-wrap:break-word}
.tv-article-main .entry-content h2{font-size:clamp(25px,2.2vw,30px)!important;line-height:1.28!important;margin:1.95em 0 .75em!important;padding-bottom:13px;border-bottom:1px solid #e8e8f1}
.tv-article-main .entry-content h3{font-size:22px!important;line-height:1.35!important;margin:1.65em 0 .72em!important}
.tv-article-main .entry-content h4{font-size:19px!important;margin:1.4em 0 .5em!important}
.tv-article-main .entry-content :is(ul,ol){padding-left:25px;margin:0 0 1.45em!important}
.tv-article-main .entry-content li{margin-bottom:.5em;padding-left:4px}
.tv-article-main .entry-content li::marker{color:#7c3aed}
.tv-article-main .entry-content a{color:#6c35c9;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;text-decoration-color:#b9a1e8}
.tv-article-main .entry-content a:hover{color:#4c1ba1}
.tv-article-main .entry-content :is(img,video){max-width:100%;height:auto;border-radius:11px}
.tv-article-main .entry-content .wp-block-image{margin:23px 0 27px!important}
.tv-article-main .entry-content figcaption{color:#7b8499;font-size:13px;text-align:left;margin-top:7px}
.tv-article-main .entry-content blockquote{border-left:4px solid #8f5dea;background:#f8f5ff;padding:20px 25px;margin:27px 0!important;border-radius:0 13px 13px 0;color:#31254a;font-size:18px}
.tv-article-main .entry-content blockquote p:last-child{margin-bottom:0!important}
.tv-article-main .entry-content :is(.wp-block-table,figure:has(>table)){width:100%;overflow-x:auto;max-width:100%;margin:28px 0!important;border-radius:13px;border:1px solid #e6e8f1}
.tv-article-main .entry-content table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.55;min-width:490px}
.tv-article-main .entry-content table :is(th,td){border:0!important;border-bottom:1px solid #e9ebf3!important;padding:14px 16px!important;text-align:left;vertical-align:top}
.tv-article-main .entry-content table th{background:#f1ecff;color:#262046;font-weight:780}
.tv-article-main .entry-content table tr:nth-child(even) td{background:#fafaff}
.tv-article-main .entry-content :is(pre,.wp-block-code){overflow-x:auto;max-width:100%;border-radius:11px;background:#11172a;color:#f4f0ff;font-size:13px;padding:18px}
.tv-article-main .entry-content .wp-block-separator{margin:32px 0!important;border-color:#e4e5ef}
.tv-article-main .entry-content .wp-block-buttons{margin:20px 0!important}
.tv-article-main .entry-content .wp-block-button__link{background:#713ddd;color:white!important;border-radius:10px;padding:13px 19px}
.tv-article-aside{min-width:0;width:100%;max-width:none!important;margin:0!important}
.tv-article-aside-inner{position:sticky;top:22px;display:grid;gap:19px}
.tv-article-toc{display:none;border:1px solid #eceaf6;border-radius:17px;box-shadow:0 9px 24px rgba(25,26,69,.05);background:#fff;padding:21px 19px 18px}
.tv-article-toc.tv-toc-ready{display:block}
.tv-article-toc-title{font-size:15px;font-weight:830;color:#111729;margin:0 0 12px;padding:0;display:flex;align-items:center;gap:9px}
.tv-article-toc-title:before{content:'☷';font-size:19px;color:#7e48d6}
.tv-article-toc-list{margin:0;padding:0 0 0 4px!important;list-style:none;overflow:auto;max-height:min(52vh,450px);scrollbar-color:#d5c5fa transparent;scrollbar-width:thin}
.tv-article-toc-list li{margin:0;padding:0}
.tv-article-toc-list a{display:block;padding:8px 10px 8px 15px;font-size:12.5px;line-height:1.45;color:#697387;border-left:2px solid transparent;border-radius:0 7px 7px 0;transition:background .15s,color .15s}
.tv-article-toc-list a:hover{background:#f5f1ff;color:#6329b9}
.tv-article-toc-list a.is-active{border-left-color:#8d5af0;background:#f6f2ff;color:#6030bb;font-weight:760}
.tv-article-help{border:1px solid #e2d7ff;border-radius:17px;background:linear-gradient(140deg,#1a2044,#4f3191);color:#fff;padding:22px 21px;box-shadow:0 12px 27px rgba(42,33,101,.14)}
.tv-article-help .tv-article-help-icon{font-size:26px!important;margin:0 0 11px!important;color:#cbb5ff}
.tv-article-help h3{color:#fff!important;font-size:18px!important;line-height:1.25!important;font-weight:800!important;margin:0 0 9px!important}
.tv-article-help p{color:#e2ddf1!important;font-size:13px!important;line-height:1.58!important;margin:0 0 17px!important}
.tv-article-help .wp-block-button__link{display:block;width:100%;text-align:center;background:#fff!important;color:#51308c!important;border-radius:10px;padding:11px 13px!important;font-size:12px!important;font-weight:800!important;line-height:1.5!important}
.tv-article-help .wp-block-button__link:hover{background:#efe7ff!important}
.tv-article-share{margin:44px 0 0!important;padding:18px 0;border-top:1px solid #e7e9f3;border-bottom:1px solid #e7e9f3;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tv-article-share-label{font-size:14px;font-weight:750;color:#32374c}
.tv-article-share-button{font:inherit;cursor:pointer;border-radius:10px;border:1px solid #d9cdf5;background:#f9f6ff;padding:10px 15px;color:#6530c2;font-weight:750;font-size:13px}
.tv-article-share-button:hover,.tv-article-share-button:focus-visible{background:#eee5ff}
.tv-article-share-message{color:#337c52;font-size:12px;min-height:1em}
.tv-article-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important;margin:24px 0 0!important;max-width:none!important}
.tv-article-nav > .wp-block-post-navigation-link{display:flex;align-items:center;min-width:0}
.tv-article-nav .wp-block-post-navigation-link a{display:block;width:100%;border:1px solid #e6e3f1;border-radius:13px;padding:17px 18px;font-size:14px;line-height:1.5;font-weight:750;color:#403557;background:#fff;overflow-wrap:anywhere}
.tv-article-nav .wp-block-post-navigation-link a:hover{border-color:#b49afb;color:#642bb9;background:#f9f7ff}
.tv-article-related{padding:45px 0 0!important;margin:56px 0 0!important;border-top:1px solid #e9e9f2;width:100%;max-width:none!important}
.tv-article-related h2{font-size:28px!important;line-height:1.2!important;font-weight:840!important;letter-spacing:-.035em!important;margin:0 0 23px!important;color:#151b2a}
.tv-related-grid{margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none}
.tv-related-card{display:flex;min-width:0;flex-direction:column;border:1px solid #e5e7f1;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 7px 21px rgba(31,26,71,.065);transition:transform .2s,box-shadow .2s}
.tv-related-card:hover,.tv-related-card:focus-within{transform:translateY(-3px);box-shadow:0 17px 32px rgba(36,27,75,.12)}
.tv-related-card-art{display:block;aspect-ratio:16/9;background:linear-gradient(120deg,#252a60,#7c3aed);overflow:hidden;color:#fff}
.tv-related-card-art img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}
.tv-related-card:hover img{transform:scale(1.045)}
.tv-related-card-no-image{height:100%;display:grid;place-items:center;font-size:36px;color:#d9c6ff}
.tv-related-card-body{padding:16px 17px 18px;display:flex;flex:1;flex-direction:column;gap:8px}
.tv-related-card-tag{font-size:11px;font-weight:780;color:#8251d3;line-height:1.3}
.tv-related-card-title{font-size:17px;line-height:1.38;letter-spacing:-.02em;font-weight:800;color:#181b2c;margin:0;overflow-wrap:break-word}
.tv-related-card-title a{color:inherit;text-decoration:none}
.tv-related-card-title a:hover{color:#6e33cb}
.tv-related-card-date{font-size:12px;color:#7c8498;margin-top:auto;padding-top:12px}
.tv-article-main a:focus-visible,.tv-article-aside a:focus-visible,.tv-related-card a:focus-visible{outline:3px solid #ad86ff;outline-offset:3px}
@media(max-width:1050px){
 .tv-article-grid{grid-template-columns:minmax(0,1fr) 245px;gap:26px!important}
 .tv-article-shell > .tv-article-wrap{width:min(100% - 44px,1120px)}
}
@media(max-width:800px){
 .tv-article-grid{grid-template-columns:1fr;gap:28px!important}
 .tv-article-aside{grid-row:1}
 .tv-article-aside-inner{position:static;display:block}
 .tv-article-toc{margin-bottom:15px}
 .tv-article-toc-list{max-height:235px}
 .tv-article-help{display:none}
 .tv-article-feature{margin-bottom:29px!important;border-radius:16px}
 .tv-article-feature img{aspect-ratio:16/9}
 .tv-article-shell{padding-top:25px!important}
 .tv-article-breadcrumb{margin-bottom:24px!important}
 .tv-article-related{margin-top:40px!important;padding-top:32px!important}
}
@media(max-width:620px){
 .tv-article-shell > .tv-article-wrap{width:calc(100% - 30px)}
 .tv-article-head .wp-block-post-title{font-size:clamp(29px,8vw,39px)!important;line-height:1.16!important;margin-bottom:15px!important}
 .tv-article-head{margin-bottom:24px!important}
 .tv-article-breadcrumb{margin-bottom:20px!important}
 .tv-article-head .tv-article-meta{gap:12px!important}
 .tv-article-main .entry-content{font-size:16px!important;line-height:1.81!important}
 .tv-article-main .entry-content h2{font-size:24px!important;margin-top:1.6em!important}
 .tv-article-main .entry-content h3{font-size:20px!important}
 .tv-article-main .entry-content blockquote{font-size:16px;padding:14px 17px}
 .tv-article-feature img{aspect-ratio:1.7/1}
 .tv-article-nav{grid-template-columns:1fr}
 .tv-related-grid{grid-template-columns:1fr;gap:15px}
 .tv-related-card{flex-direction:row}
 .tv-related-card-art{width:38%;flex:0 0 38%;aspect-ratio:1/1}
 .tv-related-card-body{padding:13px;min-width:0}
 .tv-related-card-title{font-size:14px}
 .tv-related-card-date{font-size:11px;padding-top:0}
 .tv-article-related h2{font-size:24px!important}
}
@media(prefers-reduced-motion:reduce){.tv-reading-progress,.tv-related-card,.tv-related-card-art img{transition:none!important}}

/* v0.6 — WordPress block layout & TOC plugin compatibility, scoped to article pages. */
/* The previous global overflow:hidden prevented position:sticky from functioning. */
body.single-post .wp-site-blocks { overflow: visible; }
.tv-article-grid > .tv-article-main,
.tv-article-grid > .tv-article-aside { width:100%!important; max-width:none!important; min-width:0; margin:0!important; }
.tv-article-main > .entry-content.wp-block-post-content { width:100%!important; max-width:none!important; }
.tv-article-main .entry-content > :not(.alignwide):not(.alignfull) { max-width:100%!important; }
.tv-article-aside-inner { align-self:start; }
.tv-article-toc .tv-toc-subitem a { padding-left:26px; font-size:12px; }
.tv-article-main .entry-content .tv-legacy-toc-suppressed { display:none!important; }
@media (min-width: 1060px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr) 290px!important; gap:42px!important; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-aside { grid-column:2;grid-row:1; }
}
@media (min-width: 801px) and (max-width:1059px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr) 250px!important; gap:26px!important; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-aside { grid-column:2;grid-row:1; }
}
@media (max-width:800px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr)!important; }
  .tv-article-grid > .tv-article-aside { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:2; }
}

/* v0.6 — WordPress block layout & TOC plugin compatibility, scoped to article pages. */
/* The previous global overflow:hidden prevented position:sticky from functioning. */
body.single-post .wp-site-blocks { overflow: visible; }
.tv-article-grid > .tv-article-main,
.tv-article-grid > .tv-article-aside { width:100%!important; max-width:none!important; min-width:0; margin:0!important; }
.tv-article-main > .entry-content.wp-block-post-content { width:100%!important; max-width:none!important; }
.tv-article-main .entry-content > :not(.alignwide):not(.alignfull) { max-width:100%!important; }
.tv-article-grid > .tv-article-aside { align-self:stretch; }
.tv-article-aside-inner { align-self:start; }
.tv-article-toc .tv-toc-subitem a { padding-left:26px; font-size:12px; }
.tv-article-main .entry-content .tv-legacy-toc-suppressed { display:none!important; }
@media (min-width: 1060px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr) 290px!important; gap:42px!important; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-aside { grid-column:2;grid-row:1; }
}
@media (min-width: 801px) and (max-width:1059px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr) 250px!important; gap:26px!important; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-aside { grid-column:2;grid-row:1; }
}
@media (max-width:800px) {
  .tv-article-grid { grid-template-columns:minmax(0,1fr)!important; }
  .tv-article-grid > .tv-article-aside { grid-column:1;grid-row:1; }
  .tv-article-grid > .tv-article-main { grid-column:1;grid-row:2; }
}


/* v0.7.0 — category archives and curated rankings hub. */
.tv-archive-shell,.tv-ranking-shell{padding:0!important;background:linear-gradient(180deg,#f6f5fd 0,#fff 320px)}
.tv-archive-wrap,.tv-ranking-wrap{padding-top:38px!important;padding-bottom:78px!important}
.tv-archive-wrap > .wp-block-shortcode,.tv-archive-wrap > .wp-block-group,
.tv-ranking-wrap > .wp-block-shortcode{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
.tv-archive-head{background:radial-gradient(circle at 94% 11%,rgba(167,139,250,.24),transparent 39%),linear-gradient(113deg,#0b1227,#202142 74%,#3c2a68);border-radius:23px;padding:39px 44px 35px;color:#fff;position:relative;overflow:hidden;box-shadow:0 18px 40px rgba(28,31,79,.14)}
.tv-archive-head::after{content:'◌';font-size:210px;line-height:1;position:absolute;right:20px;top:-46px;color:rgba(196,174,255,.09);font-weight:800;pointer-events:none}
.tv-archive-breadcrumb{font-size:12px;color:#c6c5e1;margin:0 0 19px;position:relative;z-index:1}
.tv-archive-breadcrumb a{color:#c7b5ff;text-decoration:none}.tv-archive-breadcrumb a:hover{color:#fff;text-decoration:underline}
.tv-archive-kicker{font-size:11px!important;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:#bd9aff!important;margin:0 0 11px!important}
.tv-archive-title{font-size:clamp(31px,3.5vw,49px)!important;line-height:1.12!important;letter-spacing:-.045em!important;font-weight:860!important;color:#fff!important;margin:0 0 15px!important;max-width:780px;position:relative;z-index:1}
.tv-archive-desc{font-size:15px!important;line-height:1.72!important;max-width:670px;margin:0 0 17px!important;color:#d9d9ee!important;position:relative;z-index:1}
.tv-archive-count{display:inline-flex;gap:8px;align-items:center;padding:8px 11px;border:1px solid rgba(205,196,255,.24);border-radius:999px;color:#dbd5f5;background:rgba(255,255,255,.06);font-size:12px;font-weight:650;position:relative;z-index:1}
.tv-archive-browse{margin:25px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.tv-archive-browse-label{color:#576078;font-size:12px;font-weight:750;margin-right:7px}
.tv-archive-chip{display:inline-flex;align-items:center;min-height:34px;padding:8px 13px;border-radius:999px;border:1px solid #e3def1;background:#fff;color:#4c4566;font-size:12px;font-weight:750;transition:background .16s,border-color .16s,color .16s}
.tv-archive-chip:hover,.tv-archive-chip:focus-visible{background:#f1eaff;border-color:#ae90f1;color:#5e2cbb}
.tv-archive-chip.is-current{background:#7c3aed;color:#fff;border-color:#7c3aed}
.tv-archive-wrap .tv-archive-results{max-width:none!important;width:100%!important;margin:36px 0 0!important}
.tv-archive-results-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;margin:0 0 20px!important;max-width:none!important}
.tv-archive-results-title{color:#161a2d!important;font-size:27px!important;line-height:1.25!important;letter-spacing:-.03em!important;font-weight:850!important;margin:0!important}
.tv-archive-results-sub{color:#707a91!important;font-size:13px!important;margin:0!important}
.tv-archive-results .tv-post-grid{margin:0!important;max-width:none!important;width:100%!important}
.tv-archive-results .tv-pagination{display:flex;align-items:center;justify-content:center;gap:8px;max-width:none!important;margin:36px 0 0!important;flex-wrap:wrap}
.tv-archive-results .tv-pagination .page-numbers,.tv-archive-results .tv-pagination a{border:1px solid #e5def6;background:#fff;border-radius:10px;min-width:40px;min-height:40px;padding:9px 12px;color:#52466f;font-size:13px;font-weight:720}
.tv-archive-results .tv-pagination .current{background:#7c3aed;color:#fff!important;border-color:#7c3aed}
.tv-ranking-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:30px;align-items:center;color:#fff;background:radial-gradient(circle at 84% 21%,rgba(199,154,255,.35),transparent 36%),linear-gradient(115deg,#0b1124,#242147 64%,#54328a);padding:45px 48px;border-radius:24px;box-shadow:0 18px 42px rgba(19,21,67,.16)}
.tv-ranking-head .tv-archive-breadcrumb{margin-bottom:19px}
.tv-ranking-head .tv-archive-kicker{margin-bottom:10px!important}
.tv-ranking-title{font-size:clamp(34px,4vw,54px)!important;line-height:1.08!important;letter-spacing:-.047em!important;font-weight:850!important;color:#fff!important;margin:0 0 16px!important}
.tv-ranking-desc{font-size:15px!important;color:#dbdbef!important;line-height:1.7!important;max-width:650px;margin:0!important}
.tv-ranking-visual{position:relative;min-height:210px;display:grid;place-items:center}
.tv-ranking-visual:before{content:'';display:block;position:absolute;width:240px;height:154px;border:7px solid #a886fa;box-shadow:0 0 0 10px rgba(177,119,255,.11),0 0 70px rgba(174,87,255,.48);border-radius:12px;background:linear-gradient(129deg,#1a6ab8,#5b3fc0 42%,#e18aa5 77%,#feac7c);transform:rotate(-9deg)}
.tv-ranking-visual:after{content:'';position:absolute;width:104px;height:14px;bottom:8px;left:calc(50% - 52px);background:#aea1e7;box-shadow:0 -14px 0 -5px #807bd0;clip-path:polygon(0 75%,42% 75%,45% 0,55% 0,58% 75%,100% 75%,100% 100%,0 100%)}
.tv-ranking-visual span{font-size:54px;color:#fff;text-shadow:0 3px 19px #29225d;position:relative;z-index:1;font-weight:830;transform:rotate(-9deg)}
.tv-ranking-section{margin:35px 0 0}
.tv-ranking-section-top{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:18px}
.tv-ranking-section h2{font-size:29px!important;font-weight:850!important;line-height:1.25!important;letter-spacing:-.04em!important;color:#151827!important;margin:0!important}
.tv-ranking-section-top p{color:#7b8297;margin:0;font-size:13px}
.tv-ranking-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tv-ranking-card{min-width:0;overflow:hidden;border:1px solid #e5e6f1;background:#fff;border-radius:17px;display:flex;flex-direction:column;box-shadow:0 9px 24px rgba(26,27,79,.065);transition:transform .2s,box-shadow .2s}
.tv-ranking-card:is(:hover,:focus-within){transform:translateY(-4px);box-shadow:0 20px 36px rgba(31,28,81,.13)}
.tv-ranking-card-media{height:210px;display:block;position:relative;overflow:hidden;background:linear-gradient(125deg,#132349,#543c9d 52%,#b56cb0)}
.tv-ranking-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.tv-ranking-card:hover .tv-ranking-card-media img{transform:scale(1.045)}
.tv-ranking-card-media:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(0deg,rgba(6,13,35,.35),transparent);pointer-events:none}
.tv-ranking-card-index{position:absolute;top:14px;left:14px;z-index:1;padding:7px 10px;border-radius:9px;background:#fff;color:#683cc9;font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(21,18,55,.15)}
.tv-ranking-card-empty{font-size:56px;color:#d4c8ff;display:grid;place-items:center;height:100%}
.tv-ranking-card-copy{padding:20px 21px 22px;display:flex;flex-direction:column;flex:1;gap:10px}
.tv-ranking-card-eyebrow{color:#8453d1;font-size:11px;font-weight:820;text-transform:uppercase;letter-spacing:.08em}
.tv-ranking-card h3{font-size:21px!important;line-height:1.33!important;font-weight:840!important;letter-spacing:-.03em!important;color:#171b2d!important;margin:0!important;overflow-wrap:anywhere}
.tv-ranking-card h3 a:hover{color:#7135d3}
.tv-ranking-card-date{font-size:12px;color:#818aa1;margin-top:auto;padding-top:6px}
.tv-ranking-card-link{font-size:13px;color:#7036c9;font-weight:800;margin-top:8px}
.tv-ranking-tip{display:flex;gap:17px;align-items:flex-start;padding:22px 25px;margin-top:32px;background:#f7f4ff;border:1px solid #e4ddfb;border-radius:15px}
.tv-ranking-tip-icon{font-size:28px;color:#7447d2;line-height:1}
.tv-ranking-tip h3{margin:0 0 5px!important;font-size:16px!important;color:#201d3a!important;font-weight:820!important}
.tv-ranking-tip p{font-size:13px;color:#63677e;line-height:1.6;margin:0!important}
.tv-ranking-tip a{text-decoration:underline;text-underline-offset:2px;color:#6533ba}
@media(max-width:900px){.tv-ranking-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tv-ranking-head{grid-template-columns:minmax(0,1fr) 210px;padding:35px}.tv-ranking-visual:before{width:180px;height:115px}.tv-ranking-visual{min-height:175px}.tv-ranking-visual span{font-size:40px}}
@media(max-width:620px){.tv-archive-wrap,.tv-ranking-wrap{padding-top:19px!important;padding-bottom:43px!important}.tv-archive-head{border-radius:17px;padding:30px 22px}.tv-archive-title{font-size:35px!important}.tv-archive-head::after{font-size:135px;right:-10px;top:0}.tv-archive-browse{gap:8px;margin-top:19px}.tv-archive-chip{font-size:11px;min-height:33px;padding:8px 11px}.tv-archive-browse-label{flex-basis:100%}.tv-archive-wrap .tv-archive-results{margin-top:29px!important}.tv-archive-results-head{align-items:flex-start!important;flex-direction:column;gap:5px!important}.tv-archive-results-title{font-size:23px!important}.tv-ranking-head{grid-template-columns:1fr;padding:30px 23px;border-radius:17px;gap:0}.tv-ranking-title{font-size:37px!important}.tv-ranking-visual{display:none}.tv-ranking-cards{grid-template-columns:1fr;gap:16px}.tv-ranking-card-media{height:190px}.tv-ranking-section h2{font-size:24px!important}.tv-ranking-section-top{display:block}.tv-ranking-section-top p{margin-top:4px}.tv-ranking-tip{padding:18px 17px;gap:11px}.tv-ranking-tip-icon{font-size:23px}}
@media(prefers-reduced-motion:reduce){.tv-ranking-card,.tv-ranking-card-media img,.tv-archive-chip{transition:none!important}}
