﻿
:root {
  --mythtv-bg: #181b20;
  --mythtv-surface: #151b26;
  --mythtv-surface-card: #20242a;
  --mythtv-surface-hover: #292e35;
  --mythtv-border: #334155;
  --mythtv-border-light: #475569;
  --mythtv-gold: #f5a623;
  --mythtv-gold-hover: #e09415;
  --mythtv-gold-glow: rgba(245, 166, 35, 0.15);
  --mythtv-green: #10b981;
  --mythtv-green-hover: #059669;
  --mythtv-text: #cbd5e1;
  --mythtv-text-muted: #aeb8c5;
  --mythtv-text-dim: #8995a3;
}

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

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--mythtv-bg);
  color: var(--mythtv-text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.mythtv-site#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.mythtv-site-content#content {
  flex: 1 0 auto;
  width: 100%;
}

.mythtv-site-header#masthead,
.mythtv-site-footer#colophon {
  flex-shrink: 0;
  width: 100%;
}

.mythtv-site-header {
  background-color: #fcfb00;
  border-bottom: 0;
  position: relative;
  z-index: 999;
}

.mythtv-nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mythtv-logo-wrap {
  display: flex;
  align-items: center;
  border-radius: 6px;
  overflow: hidden;
  background: #181b20;
  text-decoration: none;
}

.mythtv-logo-wrap img {
  height: 48px;
  width: 270px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mythtv-footer-logo {
  display: block;
  width: 220px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.mythtv-menu-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mythtv-menu-nav a {
  color: #181b20;
  text-decoration: none;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  transition: color 0.2s ease;
  position: relative;
}

.mythtv-menu-nav a:hover,
.mythtv-menu-nav a.mythtv-active {
  color: #181b20;
}

.mythtv-menu-nav a.mythtv-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: #181b20;
}

.mythtv-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(24, 27, 32, .45);
  color: #181b20;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.mythtv-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 570px;
  background: #181b20 url("../images/group-438.webp") center center / cover no-repeat;
  padding: 100px 20px;
  border-bottom: 0;
  overflow: hidden;
}

.mythtv-hero-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  display: block;
}

.mythtv-hero-copy {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.mythtv-hero-lead {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: #fcfb00;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.mythtv-hero-title {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  text-wrap: pretty;
}

.mythtv-hero-desc {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0 0 32px;
  margin-left: auto;
  margin-right: auto;
}

.mythtv-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mythtv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mythtv-btn-primary {
  background-color: #fcfb00;
  color: #181b20;
  border: 2px solid #fcfb00;
  border-radius: 8px;
  text-transform: uppercase;
}

.mythtv-btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

.mythtv-btn-outline {
  background-color: transparent;
  color: #fcfb00;
  border: 2px solid #fcfb00;
  border-radius: 8px;
  text-transform: uppercase;
}

.mythtv-btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.mythtv-hero-card {
  background-color: var(--mythtv-surface);
  border: 1px solid var(--mythtv-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mythtv-hero-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .mythtv-hero-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .mythtv-hero-title {
    font-size: 32px;
  }
}

.mythtv-section {
  padding: 70px 20px;
  border-bottom: 0;
  background-color: #181b20;
}

.mythtv-section-alt {
  background-color: #181b20;
}

.mythtv-container {
  max-width: 1600px;
  margin: 0 auto;
}

.mythtv-section-header {
  margin-bottom: 40px;
}

.mythtv-section-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.05;
  text-transform: uppercase;
}

.mythtv-section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mythtv-text-muted);
  max-width: 760px;
  margin: 0;
}

.mythtv-table-wrap {
  max-width: 100%;
  overflow-x: clip;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  margin: 24px 0;
}

.mythtv-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.mythtv-table th {
  background-color: #1e293b;
  color: var(--mythtv-gold);
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 14px;
  border: 1px solid var(--mythtv-border);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.mythtv-table td {
  padding: 12px 14px;
  border: 1px solid var(--mythtv-border);
  color: #cbd5e1;
  background-color: var(--mythtv-surface);
  overflow-wrap: anywhere;
}

.mythtv-table tr:last-child td {
  border-bottom: none;
}

.mythtv-table tr:hover td {
  background-color: rgba(245, 166, 35, 0.02);
}

.mythtv-article-page {
  padding: 40px 20px 80px;
}

.mythtv-article-container {
  max-width: 1180px;
  margin: 0 auto;
}

.mythtv-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--mythtv-text-dim);
  margin-bottom: 24px;
}

.mythtv-breadcrumbs a {
  color: var(--mythtv-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mythtv-breadcrumbs a:hover {
  color: var(--mythtv-gold);
}

.mythtv-breadcrumbs .mythtv-breadcrumb-separator {
  color: var(--mythtv-border-light);
}

.mythtv-breadcrumbs .mythtv-breadcrumb-current {
  color: var(--mythtv-gold);
}

.mythtv-article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mythtv-border);
}

.mythtv-article-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(34px, 4.4vw, 38px);
  line-height: 1.05;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .mythtv-article-title {
    font-size: 28px;
  }
}

.mythtv-article-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--mythtv-text);
  font-weight: 400;
  margin: 0;
}

.mythtv-article-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--mythtv-text);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.mythtv-article-content-narrow {
  max-width: 980px;
  margin: 0 auto;
}

.mythtv-article-content h2 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: #ffffff;
  margin: 40px 0 16px;
  padding-bottom: 0;
  border-bottom: 0;
  text-transform: uppercase;
}

.mythtv-article-content h3 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--mythtv-gold);
  margin: 28px 0 12px;
  text-transform: uppercase;
}

.mythtv-article-content p {
  margin: 0 0 20px;
  font-weight: 400;
}

.mythtv-article-content ul,
.mythtv-article-content ol {
  margin: 0 0 22px 24px;
  padding: 0;
}

.mythtv-article-content li {
  margin-bottom: 10px;
}

.mythtv-article-content strong {
  color: #d1d5db;
}

.mythtv-article-content em {
  color: var(--mythtv-gold);
  font-style: normal;
}

.mythtv-article-content a {
  color: var(--mythtv-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mythtv-article-content a:hover {
  color: #ffffff;
}

.mythtv-article-figure {
  margin: 28px 0;
  border: 1px solid var(--mythtv-border);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--mythtv-surface);
}

.mythtv-article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.mythtv-article-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--mythtv-text-muted);
  background-color: #121822;
  border-top: 1px solid var(--mythtv-border);
}

.mythtv-callout {
  background-color: var(--mythtv-surface);
  border: 0;
  border-radius: 6px;
  padding: 18px 20px;
  margin: 26px 0;
}

.mythtv-callout h4 {
  font-size: 16px;
  color: var(--mythtv-gold);
  margin: 0 0 8px;
  font-weight: 700;
}

.mythtv-callout p {
  margin: 0;
  font-size: 16px;
  color: var(--mythtv-text-muted);
}

.mythtv-cat-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

@media (max-width: 991px) {
  .mythtv-cat-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mythtv-cat-articles-grid {
    grid-template-columns: 1fr;
  }
}

.mythtv-article-card {
  position: relative;
  background-color: #151b26;
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.25s ease;
}

.mythtv-article-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.mythtv-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0d1117;
}

.mythtv-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mythtv-article-card:hover .mythtv-card-thumb {
  transform: scale(1.04);
}

.mythtv-card-body {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(84, 89, 95, .72);
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transition: opacity .35s ease;
}

.mythtv-article-card:hover .mythtv-card-body,
.mythtv-article-card:focus-visible .mythtv-card-body {
  opacity: 1;
}

@media (hover: none) {
  .mythtv-article-card .mythtv-card-body {
    opacity: 1;
    background: rgba(24, 27, 32, .68);
  }
}

.mythtv-card-title {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.mythtv-card-excerpt {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 14px;
}

.mythtv-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #fcfb00;
  text-transform: uppercase;
}

.mythtv-read-more {
  color: #fcfb00;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mythtv-site-footer {
  background-color: #000000;
  border-top: 0;
  padding: 64px 20px 30px;
  margin-top: auto;
}

.mythtv-footer-wrap {
  max-width: 1600px;
  margin: 0 auto;
}

.mythtv-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--mythtv-border);
}

@media (max-width: 991px) {
  .mythtv-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .mythtv-footer-top {
    grid-template-columns: 1fr;
  }
}

.mythtv-footer-about h4,
.mythtv-footer-col h4 {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fcfb00;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mythtv-footer-about p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mythtv-text-muted);
  margin: 0 0 16px;
}

.mythtv-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mythtv-footer-links a {
  color: var(--mythtv-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mythtv-footer-links a:hover {
  color: var(--mythtv-gold);
}

.mythtv-footer-disclaimer {
  padding: 24px 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mythtv-text-dim);
  border-bottom: 1px solid var(--mythtv-border);
}

.mythtv-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--mythtv-text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

.mythtv-footer-bottom a {
  color: var(--mythtv-text-muted);
  text-decoration: none;
}

.mythtv-footer-bottom a:hover {
  color: var(--mythtv-gold);
}

.mythtv-site-footer a {
  color: #ffffff;
}

.mythtv-site-footer a:hover,
.mythtv-site-footer a:focus-visible {
  color: #fcfb00;
}

.mythtv-site-main-navigation {
  margin-left: auto;
}

.mythtv-menu-nav > li {
  position: relative; display: flex; align-items: center; gap: 4px;
}

.mythtv-menu-nav > li > a {
  display: inline-flex; align-items: center; min-height: 42px;
}

.mythtv-menu-submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #181b20;
  background: transparent;
  cursor: pointer;
}

.mythtv-menu-submenu-toggle:hover,
.mythtv-menu-submenu-toggle[aria-expanded="true"] {
  color: #181b20; border-color: rgba(24, 27, 32, .4);
}

.mythtv-site-submenu {
  display: none;
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  min-width: 250px;
  max-width: min(360px, 90vw);
  max-height: min(70vh, 560px);
  overflow: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid #292929;
  border-radius: 0;
  background: #000000;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
}

.mythtv-menu-item-has-children:hover > .mythtv-site-submenu,
.mythtv-menu-item-has-children:focus-within > .mythtv-site-submenu,
.mythtv-menu-item-has-children.mythtv-submenu-open > .mythtv-site-submenu {
  display: block;
}

.mythtv-site-submenu a {
  display: block;
  padding: 9px 11px;
  border-radius: 4px;
  color: #999999;
  font: 500 14px/1.45 'Roboto', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.mythtv-site-submenu a:hover,
.mythtv-site-submenu a[aria-current="page"] {
  color: #fcfb00; background: #181b20;
}

.mythtv-category-list {
  padding: 34px 20px 72px;
}

.mythtv-category-list .mythtv-container {
  max-width: 1280px;
}

.mythtv-category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: start;
  gap: 32px;
}

.mythtv-category-main {
  min-width: 0;
}

.mythtv-category-sidebar {
  position: sticky;
  top: 24px;
  padding: 24px 18px;
  border: 1px solid #38404a;
  border-radius: 12px;
  background: #20242a;
}

.mythtv-category-sidebar h2 {
  margin: 0 0 16px 10px;
  color: #fff;
  font: 800 17px/1.25 'Inter', Arial, sans-serif;
}

.mythtv-category-sidebar ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mythtv-category-sidebar li + li {
  border-top: 1px dashed rgba(203, 213, 225, .34);
}

.mythtv-category-sidebar a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--mythtv-text);
  font: 600 15px/1.4 'Inter', Arial, sans-serif;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}

.mythtv-category-sidebar a:hover,
.mythtv-category-sidebar a:focus-visible {
  color: #fff;
  background: #30363e;
}

.mythtv-category-sidebar a[aria-current="page"] {
  color: #fcfb00;
  background: rgba(252, 251, 0, .1);
}

@media (max-width: 991px) {
  .mythtv-category-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .mythtv-category-sidebar {
    position: static;
  }
}

.mythtv-category-list .mythtv-section-title {
  margin: 0 0 30px;
}

.mythtv-category-list .mythtv-cat-articles-grid {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  gap: 30px;
  margin-top: 0;
}

.mythtv-category-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid #38404a;
  border-radius: 12px;
  background: #20242a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.mythtv-category-card-title {
  margin: 0 0 20px;
  font: 800 clamp(23px, 2.5vw, 32px)/1.22 'Inter', Arial, sans-serif;
  text-wrap: pretty;
}

.mythtv-category-card-title a {
  color: #fff;
  text-decoration: none;
}

.mythtv-category-card-title a:hover,
.mythtv-category-card-title a:focus-visible {
  color: #fcfb00;
}

.mythtv-category-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.2 / 1;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #151b26;
}

.mythtv-category-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.mythtv-category-card-image:hover img {
  transform: scale(1.025);
}

.mythtv-category-card-excerpt {
  max-width: 72ch;
  margin: 0 0 22px;
  color: var(--mythtv-text);
  font-size: 17px;
  line-height: 1.65;
}

.mythtv-category-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fcfb00;
  color: #181b20;
  font: 800 14px/1 'Inter', Arial, sans-serif;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.mythtv-category-card-link:hover,
.mythtv-category-card-link:focus-visible {
  background: #e7e600;
  color: #181b20;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .mythtv-category-card {
    padding: 18px;
  }

  .mythtv-category-card-title {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .mythtv-category-card-image {
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
  }

  .mythtv-category-card-excerpt {
    font-size: 16px;
  }
}

.mythtv-cat-articles-grid {
  align-items: stretch; grid-auto-rows: 1fr; margin-top: 0;
}

.mythtv-article-card {
  min-width: 0; height: auto;
}

.mythtv-card-thumb-wrap {
  height: auto; aspect-ratio: 16 / 10;
}

.mythtv-card-thumb {
  display: block; width: 100%; height: 100%; object-fit: cover;
}

.mythtv-card-body {
  min-height: 215px;
}

.mythtv-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  min-height: 2.7em;
}

.mythtv-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: 4.65em;
}

.mythtv-card-footer {
  margin-top: auto;
}

.mythtv-section-alt .mythtv-cat-articles-grid,
.mythtv-related .mythtv-cat-articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mythtv-article-content p.mythtv-article-lead {
  margin: 0 0 20px;
  color: inherit;
  font: inherit;
}

.mythtv-article-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 26px auto;
  float: none;
}

.mythtv-article-content figure.mythtv-article-figure {
  width: min(100%, 900px);
  margin: 30px auto;
  float: none;
}

.mythtv-article-figure img {
  width: 100%;
}

.mythtv-article-content [style*="float"] {
  float: none !important;
}

.mythtv-article-content h2 {
  text-wrap: pretty;
}

.mythtv-article-content h3 {
  text-wrap: pretty;
}

.mythtv-table-wrap {
  max-width: 100%;
  margin: 24px 0;
  overflow-x: clip;
}

.mythtv-table {
  min-width: 0;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.mythtv-table th {
  white-space: normal;
  overflow-wrap: anywhere;
}

.mythtv-article-content ul,
.mythtv-article-content ol {
  padding-left: 1.5rem;
}

.mythtv-article-content li {
  padding-left: .2rem;
}

.mythtv-article-content li::marker {
  color: var(--mythtv-gold);
}

.mythtv-article-page {
  padding-top: 30px;
}

.mythtv-article-header {
  margin-top: 0;
}

.mythtv-related {
  margin-top: 54px;
  padding-top: 32px;
  border-top: 1px solid var(--mythtv-border);
}

.mythtv-related h2 {
  margin-top: 0;
}

.mythtv-source-notes {
  margin-top: 36px;
  padding: 22px 24px;
  background: var(--mythtv-surface);
}

.mythtv-source-notes h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.mythtv-source-notes ul {
  margin: 0;
  padding-left: 1.25rem;
}

.mythtv-source-notes li + li {
  margin-top: 7px;
}

.mythtv-source-notes a {
  color: var(--mythtv-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mythtv-article-lead {
  color: inherit; font-size: inherit; line-height: inherit;
}

.mythtv-contact-panel {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--mythtv-border);
  border-radius: 4px;
  background: var(--mythtv-surface);
}

.mythtv-contact-form {
  display: grid; gap: 10px;
}

.mythtv-contact-form label {
  margin-top: 10px; color: var(--mythtv-text); font-weight: 700;
}

.mythtv-contact-form label span {
  color: var(--mythtv-text-muted); font-weight: 400;
}

.mythtv-contact-form input,
.mythtv-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mythtv-border-light);
  border-radius: 5px;
  color: var(--mythtv-text);
  background: #0d1117;
  font: inherit;
}

.mythtv-contact-form input:focus,
.mythtv-contact-form textarea:focus {
  outline: 2px solid var(--mythtv-gold);
  outline-offset: 2px;
}

.mythtv-contact-form textarea {
  resize: vertical;
}

.mythtv-contact-form button {
  justify-self: start; margin-top: 14px;
}

.mythtv-contact-note,
.mythtv-contact-status {
  margin: 10px 0 0; color: var(--mythtv-text-muted); font-size: 14px; line-height: 1.6;
}

.mythtv-contact-status {
  padding: 12px 14px; background: var(--mythtv-surface-card);
}

.mythtv-policy-date {
  color: var(--mythtv-text-muted); font-size: 14px;
}

@media (max-width: 991px) {
  .mythtv-card-body {
    min-height: 0;
  }

  .mythtv-hero-title {
    font-size: clamp(42px, 8vw, 64px);
  }
}

@media (max-width: 640px) {
  .mythtv-category-list {
    padding: 26px 16px 52px;
  }

  .mythtv-contact-panel {
    padding: 20px 16px;
  }

  .mythtv-article-title {
    font-size: 34px;
  }

  .mythtv-table {
    min-width: 0;
    font-size: 13px;
  }

  .mythtv-table th,
  .mythtv-table td {
    padding: 8px 6px;
  }

  .mythtv-hero-section {
    min-height: 500px;
    padding: 86px 18px;
    background-position: 58% center;
  }

  .mythtv-hero-actions {
    gap: 10px;
  }

  .mythtv-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .mythtv-article-card .mythtv-card-body {
    opacity: 1;
    background: rgba(24, 27, 32, .68);
  }

  .mythtv-card-title {
    font-size: 17px;
  }

  .mythtv-card-excerpt {
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .mythtv-section-alt .mythtv-cat-articles-grid,
  .mythtv-related .mythtv-cat-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mythtv-section-alt .mythtv-cat-articles-grid,
  .mythtv-related .mythtv-cat-articles-grid {
    grid-template-columns: 1fr;
  }
}

.mythtv-menu-nav {
  gap: 16px;
}

.mythtv-menu-nav a {
  font-size: 14px; letter-spacing: 0;
}

.mythtv-menu-nav > li {
  gap: 1px;
}

.mythtv-menu-submenu-toggle {
  width: 19px; height: 28px; font-size: 10px;
}

@media (max-width: 1399px) {
  .mythtv-site-main-navigation {
    position: static;
  }

  .mythtv-menu-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--mythtv-border);
    background: #fcfb00;
    z-index: 1000;
  }

  .mythtv-menu-nav.mythtv-is-open {
    display: flex;
  }

  .mythtv-mobile-toggle {
    display: block;
  }

  .mythtv-menu-nav > li {
    width: 100%; flex-wrap: wrap;
  }

  .mythtv-menu-nav > li > a {
    flex: 1; min-height: 36px; font-size: 14px;
  }

  .mythtv-site-submenu {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    max-height: 260px;
    margin: 3px 0 5px;
    overflow-x: clip;
    box-shadow: none;
  }

  .mythtv-menu-item-has-children:hover > .mythtv-site-submenu,
  .mythtv-menu-item-has-children:focus-within > .mythtv-site-submenu {
    display: none;
  }

  .mythtv-menu-item-has-children.mythtv-submenu-open > .mythtv-site-submenu {
    display: block;
  }
}

#topics .mythtv-card-body,
.mythtv-section-alt .mythtv-card-body,
.mythtv-related .mythtv-card-body {
  inset: auto 0 0;
  min-height: 0;
  padding: 18px 20px 16px;
  align-items: flex-start;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 17, 23, .18) 20%, rgba(13, 17, 23, .9) 100%);
  text-align: left;
  opacity: 1;
}

#topics .mythtv-card-title,
.mythtv-section-alt .mythtv-card-title,
.mythtv-related .mythtv-card-title {
  max-width: 100%;
  min-height: 0;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: left;
  text-transform: none;
}

#topics .mythtv-card-excerpt,
#topics .mythtv-card-footer,
.mythtv-section-alt .mythtv-card-excerpt,
.mythtv-section-alt .mythtv-card-footer,
.mythtv-related .mythtv-card-excerpt,
.mythtv-related .mythtv-card-footer {
  display: none;
}

#topics .mythtv-article-card:hover .mythtv-card-body,
#topics .mythtv-article-card:focus-visible .mythtv-card-body,
.mythtv-section-alt .mythtv-article-card:hover .mythtv-card-body,
.mythtv-section-alt .mythtv-article-card:focus-visible .mythtv-card-body,
.mythtv-related .mythtv-article-card:hover .mythtv-card-body,
.mythtv-related .mythtv-article-card:focus-visible .mythtv-card-body {
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 27, 32, .86);
  text-align: center;
}

#topics .mythtv-article-card:hover .mythtv-card-title,
#topics .mythtv-article-card:focus-visible .mythtv-card-title,
.mythtv-section-alt .mythtv-article-card:hover .mythtv-card-title,
.mythtv-section-alt .mythtv-article-card:focus-visible .mythtv-card-title,
.mythtv-related .mythtv-article-card:hover .mythtv-card-title,
.mythtv-related .mythtv-article-card:focus-visible .mythtv-card-title {
  margin-bottom: 8px;
  text-align: center;
}

#topics .mythtv-article-card:hover .mythtv-card-excerpt,
#topics .mythtv-article-card:focus-visible .mythtv-card-excerpt,
.mythtv-section-alt .mythtv-article-card:hover .mythtv-card-excerpt,
.mythtv-section-alt .mythtv-article-card:focus-visible .mythtv-card-excerpt,
.mythtv-related .mythtv-article-card:hover .mythtv-card-excerpt,
.mythtv-related .mythtv-article-card:focus-visible .mythtv-card-excerpt {
  display: block;
}

#topics .mythtv-article-card:hover .mythtv-card-footer,
#topics .mythtv-article-card:focus-visible .mythtv-card-footer,
.mythtv-section-alt .mythtv-article-card:hover .mythtv-card-footer,
.mythtv-section-alt .mythtv-article-card:focus-visible .mythtv-card-footer,
.mythtv-related .mythtv-article-card:hover .mythtv-card-footer,
.mythtv-related .mythtv-article-card:focus-visible .mythtv-card-footer {
  display: flex;
}
