/*
 Theme Name: The Voice Of The Truth
 Theme URI: https://thevoiceofthetruth.org
 Author: The Voice Of The Truth
 Author URI: https://thevoiceofthetruth.org
 Description: A clean, no-nonsense news & opinion theme for The Voice Of The Truth.
 Version: 1.0.0
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: thevoiceofthetruth
*/

:root {
  --tvott-bg: #050816;
  --tvott-bg-alt: #0c1220;
  --tvott-accent: #fbb040;
  --tvott-accent-soft: rgba(251, 176, 64, 0.12);
  --tvott-text: #f5f5f5;
  --tvott-muted: #a0aec0;
  --tvott-border: #1f2937;
  --tvott-danger: #f56565;
  --tvott-link: #63b3ed;
  --tvott-max-width: 1200px;
  --tvott-radius: 0.75rem;
  --tvott-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --tvott-shadow-sm: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000000 100%);
  color: var(--tvott-text);
  line-height: 1.6;
}

a {
  color: var(--tvott-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.tvott-site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tvott-inner {
  width: 100%;
  max-width: var(--tvott-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.tvott-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3,7,18,0.98), rgba(3,7,18,0.92), rgba(3,7,18,0.85) 70%, transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.tvott-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem 0.75rem;
}

.tvott-brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tvott-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f9fafb;
}

.tvott-brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tvott-muted);
}

.tvott-nav-toggle {
  display: none;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  color: var(--tvott-muted);
  background: rgba(15, 23, 42, 0.9);
}

.tvott-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.tvott-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0.65rem 1.5rem 0.9rem;
}

.tvott-nav li a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.26);
  color: var(--tvott-muted);
  text-decoration: none;
}

.tvott-nav li.current-menu-item a,
.tvott-nav li.current-cat a,
.tvott-nav li a:hover {
  border-color: var(--tvott-accent);
  color: #fefce8;
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.12), rgba(15,23,42,0.96));
}

/* Layout */

.tvott-main {
  flex: 1;
  padding: 2rem 0 3rem;
}

.tvott-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.tvott-hero {
  padding: 2.25rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, rgba(251,191,36,0.14), transparent 45%), linear-gradient(135deg, #020617 0%, #020617 35%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--tvott-shadow-soft);
  position: relative;
  overflow: hidden;
}

.tvott-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0.32;
  background: radial-gradient(circle at top, rgba(59,130,246,0.25), transparent 60%);
  mix-blend-mode: screen;
}

.tvott-hero-inner {
  position: relative;
  z-index: 1;
}

.tvott-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: var(--tvott-muted);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tvott-hero-kicker-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,0.3);
}

.tvott-hero-title {
  margin: 0.9rem 0 0.5rem;
  font-size: 2.45rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tvott-hero-subtitle {
  max-width: 34rem;
  font-size: 1.02rem;
  color: var(--tvott-muted);
}

.tvott-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.tvott-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
}

.tvott-btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #111827;
  box-shadow: 0 12px 30px rgba(251,191,36,0.4);
}

.tvott-btn-primary:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.tvott-btn-ghost {
  background: rgba(15,23,42,0.85);
  border-color: rgba(148,163,184,0.5);
  color: var(--tvott-muted);
}

.tvott-btn-ghost:hover {
  border-color: var(--tvott-accent);
  color: #fefce8;
  text-decoration: none;
}

/* Sections */

.tvott-section {
  margin-top: 2.5rem;
}

.tvott-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tvott-section-title {
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tvott-section-kicker {
  font-size: 0.8rem;
  color: var(--tvott-muted);
}

.tvott-card {
  border-radius: var(--tvott-radius);
  border: 1px solid var(--tvott-border);
  background: radial-gradient(circle at top, rgba(148,163,184,0.1), transparent 50%), rgba(15,23,42,0.96);
  box-shadow: var(--tvott-shadow-sm);
  padding: 1.5rem;
}

.tvott-card h2,
.tvott-card h3 {
  margin-top: 0;
}

/* Latest posts grid */

.tvott-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.tvott-post-card {
  border-radius: var(--tvott-radius);
  border: 1px solid rgba(31,41,55,1);
  background: radial-gradient(circle at top, rgba(59,130,246,0.09), transparent 60%), rgba(15,23,42,0.96);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tvott-post-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tvott-muted);
}

.tvott-post-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.tvott-post-excerpt {
  font-size: 0.8rem;
  color: var(--tvott-muted);
}

/* Category tiles */

.tvott-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.tvott-category-tile {
  position: relative;
  border-radius: var(--tvott-radius);
  border: 1px solid rgba(55,65,81,1);
  background: radial-gradient(circle at top, rgba(251,191,36,0.12), transparent 55%), rgba(15,23,42,0.98);
  padding: 1.4rem 1.4rem 1.6rem;
  overflow: hidden;
}

.tvott-category-tile h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.tvott-category-tile p {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--tvott-muted);
}

.tvott-category-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* Sidebar */

.tvott-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tvott-sidebar-widget {
  border-radius: var(--tvott-radius);
  border: 1px solid var(--tvott-border);
  background: rgba(15,23,42,0.96);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--tvott-shadow-sm);
}

.tvott-sidebar-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tvott-muted);
}

/* Generic content styles */

.tvott-content {
  border-radius: var(--tvott-radius);
  border: 1px solid var(--tvott-border);
  background: rgba(15,23,42,0.96);
  padding: 2rem 2.25rem;
  box-shadow: var(--tvott-shadow-soft);
}

.tvott-content h1,
.tvott-content h2,
.tvott-content h3,
.tvott-content h4 {
  color: #f9fafb;
}

.tvott-content h1 {
  margin-top: 0;
  font-size: 1.9rem;
}

.tvott-content h2 {
  font-size: 1.3rem;
}

.tvott-content p {
  color: var(--tvott-muted);
}

.tvott-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--tvott-muted);
  margin-bottom: 1.25rem;
}

/* Archive & blog list */

.tvott-archive-header {
  margin-bottom: 1.75rem;
}

.tvott-archive-title {
  margin: 0;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tvott-archive-description {
  margin-top: 0.5rem;
  color: var(--tvott-muted);
}

.tvott-archive-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tvott-archive-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(31, 41, 55, 1);
}

.tvott-archive-item:last-child {
  border-bottom: none;
}

.tvott-archive-item-title {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.tvott-archive-item-meta {
  font-size: 0.75rem;
  color: var(--tvott-muted);
  margin-bottom: 0.4rem;
}

.tvott-archive-item-excerpt {
  font-size: 0.9rem;
  color: var(--tvott-muted);
}

/* Pagination */

.tvott-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.tvott-pagination .page-numbers {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(55,65,81,1);
  background: rgba(15,23,42,0.92);
}

.tvott-pagination .page-numbers.current {
  border-color: var(--tvott-accent);
  background: var(--tvott-accent-soft);
}

/* Footer */

.tvott-footer {
  border-top: 1px solid rgba(31,41,55,1);
  padding: 1.5rem 0 2rem;
  margin-top: auto;
  background: radial-gradient(circle at bottom, rgba(15,23,42,0.8), rgba(3,7,18,1));
  font-size: 0.85rem;
  color: var(--tvott-muted);
}

.tvott-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Responsive */

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

  .tvott-hero {
    padding: 1.75rem 1.5rem;
  }

  .tvott-content {
    padding: 1.75rem 1.5rem;
  }

  .tvott-header-bar {
    padding-inline: 1rem;
  }

  .tvott-nav ul {
    padding-inline: 1rem;
  }
}

@media (max-width: 720px) {
  .tvott-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }

  .tvott-nav {
    display: none;
  }

  .tvott-nav.tvott-nav-open {
    display: block;
  }

  .tvott-nav ul {
    flex-direction: column;
  }

  .tvott-hero-title {
    font-size: 1.85rem;
  }
}
