/*
Theme Name: TVOTT Hillbilly News
Theme URI: https://tvotthillbillynews.com
Author: TVOTT
Description: Editorial news theme inspired by TVOTT Hillbilly News layout.
Version: 1.5.0
License: GNU General Public License v2 or later
Text Domain: tvott-hillbilly-news
*/

:root{
  --container: 1180px;
  --border: #e7e7e7;
  --text: #111;
  --muted:#666;
  --bg:#fff;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --radius: 14px;

  --red:#e66a73;
  --news:#2b6bf3;
  --invest:#ff7a00;
  --fact:#00b341;
  --media:#8b46ff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}

.container{max-width:var(--container);margin:0 auto;padding:0 18px}
.hr{height:1px;background:var(--border);width:100%}

.site-header{
  position:sticky;top:0;z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.header-row{
  display:flex;align-items:center;gap:18px;
  padding:14px 0;
}
.brand{
  display:flex;align-items:center;gap:12px;min-width:240px;
}
.brand-mark{
  width:44px;height:44px;border-radius:8px;
  background:#d10016;
  display:grid;place-items:center;
  color:#fff;font-weight:800;
  font-family: ui-sans-serif, system-ui;
  letter-spacing:.5px;
}
.brand-title{
  display:flex;flex-direction:column;line-height:1.1;
}
.brand-title strong{font-size:18px}
.brand-title span{color:var(--muted);font-weight:600;font-size:14px;margin-top:3px}

.primary-nav{flex:1;display:flex;justify-content:center}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px;align-items:center}
.primary-nav a{font-weight:600;color:#222;font-size:14px}
.header-actions{display:flex;align-items:center;gap:14px;min-width:140px;justify-content:flex-end}
.icon-btn{
  width:40px;height:40px;border-radius:10px;
  border:1px solid var(--border);
  display:grid;place-items:center;
  background:#fff;cursor:pointer;
}
.icon-btn:hover{box-shadow:0 6px 18px rgba(0,0,0,.07)}
.icon{width:18px;height:18px;display:block}

.mobile-toggle{display:none}
.mobile-drawer{display:none;border-top:1px solid var(--border)}
.mobile-drawer ul{list-style:none;margin:0;padding:12px 18px;display:flex;flex-direction:column;gap:10px}
.mobile-drawer a{font-weight:700}

@media (max-width: 920px){
  .primary-nav{display:none}
  .brand{min-width:unset}
  .header-actions{min-width:unset}
  .mobile-toggle{display:grid}
  .mobile-drawer{display:block}
  .mobile-drawer[hidden]{display:none}
}

.breaking{
  background:var(--red);
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
  padding:10px 0;
  text-transform:uppercase;
  font-size:13px;
}
.breaking .wrap{display:flex;align-items:center;gap:10px}
.breaking .dot{
  width:10px;height:10px;border-radius:100px;background:#fff;opacity:.9
}

.hero{
  padding:22px 0 16px;
}
.featured-box{
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:#fff;
  min-height:360px;
  padding:18px;
  display:flex;
}
.featured-grid{display:grid;grid-template-columns: 2fr 1fr;gap:16px;width:100%}
@media(max-width: 920px){
  .featured-grid{grid-template-columns:1fr}
}
.featured-main{
  border-radius:12px;border:1px solid var(--border);
  padding:16px;display:flex;flex-direction:column;gap:10px;
}
.featured-side{
  display:flex;flex-direction:column;gap:12px;
}
.featured-card{
  border:1px solid var(--border);border-radius:12px;padding:12px;
}
.empty-state{
  margin:auto;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:var(--muted);
  text-align:center;
}
.empty-state .badge{
  width:44px;height:44px;border-radius:999px;border:2px solid #999;
  display:grid;place-items:center;font-weight:900;color:#666;
}

.section-tiles{
  padding:16px 0 8px;
}
.tiles{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
@media(max-width: 920px){ .tiles{grid-template-columns:1fr 1fr} }
@media(max-width: 520px){ .tiles{grid-template-columns:1fr} }

.tile{
  border:1px solid var(--border);
  border-radius:10px;
  padding:18px;
  text-align:center;
  background:#fff;
}
.pill{
  display:inline-block;
  padding:6px 12px;
  border-radius:8px;
  color:#fff;
  font-weight:900;
  font-size:12px;
  margin-bottom:10px;
}
.pill.news{background:var(--news)}
.pill.invest{background:var(--invest)}
.pill.fact{background:var(--fact)}
.pill.media{background:var(--media)}
.tile .sub{color:var(--muted);font-weight:600}

.section{
  padding:22px 0;
}
.section-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  margin-bottom:14px;
}
.section-title{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:56px;
  margin:0;
  letter-spacing:-.7px;
}
@media(max-width: 920px){ .section-title{font-size:40px} }
.view-all{font-weight:800;color:#111}
.grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
}
@media(max-width: 920px){ .grid{grid-template-columns:1fr 1fr} }
@media(max-width: 520px){ .grid{grid-template-columns:1fr} }
.card{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}
.card .thumb{aspect-ratio:16/9;background:#f3f3f3}
.card .body{padding:14px}
.meta{color:var(--muted);font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.3px}
.card h3{margin:8px 0 0;font-size:18px;line-height:1.25}
.excerpt{margin:8px 0 0;color:#444}

.cta{
  margin-top:22px;
  background:linear-gradient(180deg,#111,#1f1f1f);
  color:#fff;
  padding:64px 0;
  text-align:center;
}
.cta h2{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size:56px;margin:0 0 10px;
}
@media(max-width: 920px){ .cta h2{font-size:40px} }
.cta p{max-width:720px;margin:0 auto 18px;color:#e8e8e8;font-weight:600}
.btn{
  display:inline-block;
  background:#2a2a2a;
  border:1px solid #333;
  color:#fff;
  padding:12px 18px;
  border-radius:10px;
  font-weight:900;
}
.btn:hover{text-decoration:none;filter:brightness(1.08)}

.site-footer{
  background:#151515;color:#fff;
  padding:48px 0 18px;
  border-top:3px solid #1e88e5;
}
.footer-grid{
  display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:26px;
}
@media(max-width: 920px){ .footer-grid{grid-template-columns:1fr 1fr} }
@media(max-width: 520px){ .footer-grid{grid-template-columns:1fr} }
.footer-title{
  font-weight:900;margin:0 0 12px;font-size:18px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
}
.footer p{color:#d7d7d7;margin:0;max-width:340px}
.footer a{color:#fff}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;color:#d7d7d7}
.footer small{color:#bdbdbd}
.socials{display:flex;gap:10px;align-items:center}
.socials a{
  width:34px;height:34px;border-radius:10px;border:1px solid #2c2c2c;
  display:grid;place-items:center;background:#1b1b1b
}
.socials a:hover{filter:brightness(1.15);text-decoration:none}
.footer-bottom{
  margin-top:26px;border-top:1px solid #2a2a2a;padding-top:14px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap
}

.notice{
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px;
  background:#fff;
  box-shadow:var(--shadow);
}

.form{
  max-width:720px;margin:0 auto;
}
.form label{display:block;font-weight:900;margin:14px 0 6px}
.form input,.form textarea, .form select{
  width:100%;padding:12px 12px;border-radius:10px;border:1px solid var(--border);
  font:inherit;
}
.form textarea{min-height:140px}
.form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width: 520px){ .form .row{grid-template-columns:1fr} }
.form .help{color:var(--muted);font-weight:600;font-size:13px;margin-top:6px}
.form .actions{margin-top:14px}


/* Fact Check verdict badges */
.verdict-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  border:1px solid var(--border);
  background:#fff;
}
.verdict-dot{
  width:10px;height:10px;border-radius:999px;
  background:var(--muted);
}
.verdict-true .verdict-dot{ background:#16a34a; }
.verdict-mostly-true .verdict-dot{ background:#22c55e; }
.verdict-mixed .verdict-dot{ background:#f59e0b; }
.verdict-mostly-false .verdict-dot{ background:#f97316; }
.verdict-false .verdict-dot{ background:#ef4444; }
.verdict-unverified .verdict-dot{ background:#64748b; }
/* Fact Check hero banner */
.fact-hero{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  margin-bottom:16px;
  background:linear-gradient(135deg, #0b0b0c 0%, #141416 45%, #0f0f10 100%);
  color:#fff;
}
.fact-hero-inner{
  padding:28px 26px;
}
.fact-hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.fact-hero h1{
  color:#fff;
  margin:14px 0 0;
  font-size:44px;
  line-height:1.08;
}
.fact-hero .kicker{
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  font-size:12px;
}
.fact-hero .claimline{
  margin-top:12px;
  color:rgba(255,255,255,.9);
  font-size:16px;
  line-height:1.45;
  max-width:920px;
}
.fact-hero .verdict-badge{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
.fact-hero .verdict-badge span{
  color:#fff;
}
.fact-evidence li{ margin:8px 0; }
.fact-meta-mini{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:14px;
  color:rgba(255,255,255,.75);
  font-size:13px;
}
.fact-meta-mini strong{ color:#fff; }

.fact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
@media (max-width: 920px){
  /* Fact Check hero banner */
.fact-hero{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 18px 50px rgba(0,0,0,.08);
  margin-bottom:16px;
  background:linear-gradient(135deg, #0b0b0c 0%, #141416 45%, #0f0f10 100%);
  color:#fff;
}
.fact-hero-inner{
  padding:28px 26px;
}
.fact-hero-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.fact-hero h1{
  color:#fff;
  margin:14px 0 0;
  font-size:44px;
  line-height:1.08;
}
.fact-hero .kicker{
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  font-size:12px;
}
.fact-hero .claimline{
  margin-top:12px;
  color:rgba(255,255,255,.9);
  font-size:16px;
  line-height:1.45;
  max-width:920px;
}
.fact-hero .verdict-badge{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
  color:#fff;
}
.fact-hero .verdict-badge span{
  color:#fff;
}
.fact-evidence li{ margin:8px 0; }
.fact-meta-mini{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:14px;
  color:rgba(255,255,255,.75);
  font-size:13px;
}
.fact-meta-mini strong{ color:#fff; }

.fact-grid{ grid-template-columns:1fr; }
}
.fact-box{
  border:1px solid var(--border);
  background:#fafafa;
  border-radius:14px;
  padding:14px;
}
.fact-box h2{
  margin:0 0 8px;
  font-size:18px;
}
.fact-box .meta{
  margin:0 0 6px;
}


/* --- TVOTT Custom News Manager plugin integration --- */
.tvott-news-latest-wrap .tvott-news-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:18px;
}
@media (max-width: 980px){
  .tvott-news-latest-wrap .tvott-news-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
}
@media (max-width: 640px){
  .tvott-news-latest-wrap .tvott-news-grid{grid-template-columns: 1fr;}
}
.tvott-news-latest-wrap .tvott-news-card{
  border:1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  background:#fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  padding:0;
}
.tvott-news-latest-wrap .tvott-news-image img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.tvott-news-latest-wrap .tvott-news-card h3{
  font-size: 18px;
  line-height: 1.25;
  margin: 14px 14px 0 14px;
}
.tvott-news-latest-wrap .tvott-news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin: 10px 14px 0 14px;
}
.tvott-news-category-pill{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background:#fff;
}
.tvott-news-excerpt{
  color: var(--muted);
  margin: 10px 14px 0 14px;
  font-size: 14px;
}
.tvott-news-readmore{
  margin: 12px 14px 16px 14px;
  font-weight:800;
}
.tvott-news-readmore a{text-decoration:none}
.tvott-news-readmore a:hover{text-decoration:underline}

/* Make plugin badges blend with theme */
.tvott-badge{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
}


/* TVOTT Core module cards (DB-backed) */
.tvott-grid-posts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
@media(max-width: 920px){ .tvott-grid-posts{grid-template-columns:1fr 1fr} }
@media(max-width: 520px){ .tvott-grid-posts{grid-template-columns:1fr} }

.tvott-card-post{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}
.tvott-card-link{display:block;text-decoration:none}
.tvott-card-img{aspect-ratio:16/9;background:#f3f3f3}
.tvott-card-img img{width:100%;height:100%;object-fit:cover;display:block}
.tvott-card-body{padding:14px}
.tvott-card-body h3{margin:8px 0 0;font-size:18px;line-height:1.25}
.tvott-card-body p{margin:8px 0 0;color:var(--muted)}
.tvott-empty{
  border:1px dashed var(--border);
  border-radius:14px;
  padding:22px;
  text-align:center;
  color:var(--muted);
}
.tvott-archive-head{margin:10px 0 14px}
.tvott-single .tvott-hero-img img{width:100%;height:auto;border-radius:14px}
.tvott-single .tvott-excerpt{color:var(--muted);font-weight:600}
/* Core Pages Centering */
.tvott-core-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Main content container */
.tvott-core-container {
    width: 100%;
    max-width: 1100px;   /* adjust if you want wider */
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Live Radio card centering */
.tvott-live-radio,
.tvott-radio-player,
.tvott-radio-wrapper {
    margin: 0 auto;
}
.tvott-radio-wrapper {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 2rem;
}
@media (max-width: 768px) {
    .tvott-core-container {
        padding: 1.25rem;
    }
}
.site-logo {
    height: 48px;
    width: auto;
    display: block;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}
