/*
Theme Name: TheTVApp Today
Theme URI: https://thetvapp.today
Author: TheTVApp Today
Description: A clean, simple WordPress theme for thetvapp.today. Content-focused layout with full-width homepage, sidebar blog, and strong readability. Works with Yoast SEO Free.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: thetvapp-today
Tags: blog, full-width-template, right-sidebar, custom-menu, featured-images
*/

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; font-size: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #1a1a1a;
  background: #f7f7f7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c0392b; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }

/* =============================================
   LAYOUT
   ============================================= */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* top-bar removed */

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: #fff;
  border-bottom: 3px solid #c0392b;
  padding: 0 20px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.site-branding { flex-shrink: 0; }
.site-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  margin: 0;
}
.site-title a { color: #1a1a1a; }
.site-title a span { color: #c0392b; }
.site-description { display: none; }

/* Nav */
.main-navigation { margin-left: auto; }
.main-navigation ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 0;
  align-items: center;
}
.main-navigation a {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  padding: 8px 15px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.main-navigation a:hover { background: #fdf2f2; color: #c0392b; }
.main-navigation .current-menu-item > a { color: #c0392b; }
.main-navigation .nav-cta > a {
  background: #c0392b;
  color: #fff;
  margin-left: 6px;
}
.main-navigation .nav-cta > a:hover { background: #a93226; color: #fff; }

/* Dropdown */
.main-navigation li { position: relative; }
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: 3px solid #c0392b;
  border-radius: 0 0 6px 6px;
  min-width: 190px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.09);
  padding: 6px;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul a { font-size: 0.855rem; padding: 8px 12px; border-radius: 4px; white-space: nowrap; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 7px 10px;
  cursor: pointer;
  margin-left: auto;
  font-size: 1.1rem;
  color: #333;
}
@media (max-width: 780px) {
  .menu-toggle { display: block; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-top: 3px solid #c0392b;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 20px 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    z-index: 300;
  }
  .main-navigation.toggled { display: block; }
  .main-navigation ul { flex-direction: column; gap: 3px; }
  .main-navigation ul ul { position: static; box-shadow: none; border: none; padding-left: 14px; display: flex; }
  .main-navigation .nav-cta > a { margin-left: 0; margin-top: 4px; text-align: center; }
}

/* =============================================
   HERO - HOMEPAGE
   ============================================= */
.hero-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 60px 20px 52px;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: center;
}
@media (max-width: 820px) { .hero-content { grid-template-columns: 1fr; gap: 28px; } }

/* Hero image */
.hero-image-wrap {
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-image-placeholder {
  background: linear-gradient(135deg, #fdf2f2, #fff0f0);
  border: 2px dashed #f5c6c6;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  margin-top: 32px;
  color: #c0392b;
  font-size: 0.88rem;
}
.hero-image-placeholder .placeholder-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.hero-image-placeholder p { margin: 0; color: #999; font-size: 0.82rem; }

.hero-left {}
.hero-tag {
  display: inline-block;
  background: #fdf2f2;
  color: #c0392b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
  border-left: 3px solid #c0392b;
}
.hero-left h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.hero-left h1 span { color: #c0392b; }
.hero-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.72;
  margin-bottom: 26px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-primary {
  background: #c0392b;
  color: #fff;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 11px 24px;
  border-radius: 5px;
  display: inline-block;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: #a93226; text-decoration: none; color: #fff; }
.btn-secondary {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
  font-size: 0.93rem;
  padding: 11px 22px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  display: inline-block;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { background: #ebebeb; text-decoration: none; color: #333; }

/* Hero right - quick stats box */
.hero-right {}
.stats-box {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 26px 24px;
  color: #fff;
}
.stats-box-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.88rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-row .label { color: rgba(255,255,255,0.6); }
.stat-row .value { font-weight: 700; color: #fff; }
.stat-row .value.green { color: #4ade80; }
.stat-row .value.red { color: #f87171; }

/* Trust bar */
.trust-bar {
  background: #1a1a1a;
  padding: 10px 20px;
}
.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.81rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-inner span { display: flex; align-items: center; gap: 5px; }
.tcheck { color: #4ade80; font-weight: 700; }

/* =============================================
   HOME SECTIONS
   ============================================= */
.home-section { padding: 58px 20px; }
.bg-white { background: #fff; }
.bg-light { background: #f7f7f7; }
.bg-dark { background: #1a1a1a; }

.sec-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #c0392b;
  margin-bottom: 8px;
}
.sec-title {
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 800;
  color: #111;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.sec-sub {
  font-size: 0.97rem;
  color: #666;
  line-height: 1.68;
  max-width: 560px;
}
.sec-head { margin-bottom: 38px; }
.sec-head.centered { text-align: center; }
.sec-head.centered .sec-sub { margin: 0 auto; }

/* What is section - two column */
.what-is-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .what-is-layout { grid-template-columns: 1fr; gap: 28px; } }
.what-is-text p {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.78;
  margin-bottom: 16px;
}
.what-is-text p:last-child { margin-bottom: 0; }
.what-is-aside {}
.aside-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 16px;
}
.aside-card:last-child { margin-bottom: 0; }
.aside-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.aside-card p {
  font-size: 0.855rem;
  color: #666;
  line-height: 1.62;
  margin: 0;
}

/* Features - 3 col grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) and (min-width: 761px) { .feat-grid { grid-template-columns: 1fr 1fr; } }

.feat-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 22px;
  border-top: 3px solid #c0392b;
  transition: box-shadow 0.2s;
}
.feat-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.feat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e8e8e8;
  line-height: 1;
  margin-bottom: 10px;
}
.feat-item h3 { font-size: 0.97rem; font-weight: 700; color: #111; margin-bottom: 6px; }
.feat-item p { font-size: 0.855rem; color: #666; line-height: 1.62; margin: 0; }

/* Sports channels */
.sports-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 760px) { .sports-channels-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) and (min-width: 761px) { .sports-channels-grid { grid-template-columns: repeat(3, 1fr); } }

.channel-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: background 0.15s;
}
.channel-item:hover { background: rgba(255,255,255,0.1); }
.channel-icon { font-size: 1.2rem; flex-shrink: 0; }

/* Sports section image */
.sports-image-wrap {
  margin-top: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.sports-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.sports-image-placeholder {
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  margin-top: 28px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}
.sports-image-placeholder .placeholder-icon { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 8px;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 22px; left: 8%; right: 8%;
  height: 2px;
  background: #e8e8e8;
  z-index: 0;
}
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr 1fr; } .steps-grid::before { display: none; } }
@media (max-width: 380px) { .steps-grid { grid-template-columns: 1fr; } }

.step-box { text-align: center; padding: 16px 10px; position: relative; z-index: 1; }
.step-circle {
  width: 44px; height: 44px;
  background: #c0392b;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 3px solid #fff;
  outline: 2px solid #c0392b;
}
.step-box h3 { font-size: 0.88rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.step-box p { font-size: 0.79rem; color: #777; line-height: 1.5; margin: 0; }

/* Comparison table */
.table-outer {
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-top: 8px;
}
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.comp-table thead th {
  background: #f5f5f5;
  padding: 11px 14px;
  text-align: left;
  font-weight: 700;
  color: #333;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #e5e5e5;
}
.comp-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  vertical-align: middle;
}
.comp-table tbody tr:last-child td { border-bottom: none; }
.comp-table tbody tr:hover td { background: #fafafa; }
.comp-table tbody tr.highlight-row td { background: #fdf2f2; font-weight: 500; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 0.71rem; font-weight: 700; }
.b-green { background: #dcfce7; color: #15803d; }
.b-amber { background: #fef9c3; color: #a16207; }
.b-red { background: #fee2e2; color: #b91c1c; }

/* Pros Cons */
.proscons-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 580px) { .proscons-wrap { grid-template-columns: 1fr; } }
.pros-card { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 20px; }
.cons-card { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 20px; }
.pros-card h4 { color: #15803d; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.cons-card h4 { color: #b91c1c; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.pros-card ul, .cons-card ul { list-style: none; padding: 0; }
.pros-card li, .cons-card li { font-size: 0.875rem; padding: 4px 0 4px 20px; position: relative; color: #333; border-bottom: 1px solid rgba(0,0,0,0.05); }
.pros-card li:last-child, .cons-card li:last-child { border: none; }
.pros-card li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.cons-card li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* Devices */
.devices-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .devices-row { grid-template-columns: 1fr 1fr; } }
.device-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 18px 12px;
  text-align: center;
  transition: border-color 0.15s;
}
.device-box:hover { border-color: #c0392b; }
.device-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.device-box span { font-size: 0.81rem; font-weight: 600; color: #333; }

/* FAQ */
.faq-wrap { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8e8e8; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
  user-select: none;
  gap: 14px;
}
.faq-arrow {
  width: 24px; height: 24px;
  background: #fdf2f2;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c0392b;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
.faq-item.open .faq-arrow { background: #c0392b; color: #fff; }
.faq-a { display: none; padding-bottom: 16px; font-size: 0.92rem; color: #555; line-height: 1.72; }
.faq-item.open .faq-a { display: block; }

/* Info box */
.info-box {
  background: #fdf2f2;
  border-left: 4px solid #c0392b;
  border-radius: 0 6px 6px 0;
  padding: 15px 18px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.65;
}
.info-box strong { color: #c0392b; }

/* CTA section */
.cta-section {
  background: #c0392b;
  padding: 58px 20px;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn-white-solid {
  background: #fff;
  color: #c0392b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 5px;
  display: inline-block;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-white-solid:hover { background: #fdf2f2; text-decoration: none; color: #c0392b; }
.btn-white-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.5);
  display: inline-block;
  margin-left: 10px;
  transition: border-color 0.15s;
  text-decoration: none;
}
.btn-white-outline:hover { border-color: #fff; text-decoration: none; color: #fff; }

/* =============================================
   BLOG LOOP (index.php)
   ============================================= */
.blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) { .blog-wrap { grid-template-columns: 1fr; } .sidebar-area { display: none; } }

.loop-article {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  transition: box-shadow 0.2s;
}
.loop-article:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.loop-thumb { height: 195px; overflow: hidden; background: #fdf2f2; display: flex; align-items: center; justify-content: center; }
.loop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.loop-body { padding: 20px 22px; }
.loop-cat { font-size: 0.7rem; font-weight: 700; color: #c0392b; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 7px; }
.loop-title { font-size: 1.2rem; font-weight: 700; color: #111; line-height: 1.35; margin-bottom: 9px; }
.loop-title a { color: #111; }
.loop-title a:hover { color: #c0392b; text-decoration: none; }
.loop-excerpt { font-size: 0.91rem; color: #666; line-height: 1.65; margin-bottom: 14px; }
.loop-meta { font-size: 0.79rem; color: #aaa; display: flex; gap: 14px; flex-wrap: wrap; }
.loop-readmore { font-size: 0.84rem; font-weight: 700; color: #c0392b; margin-top: 12px; display: inline-block; }

.pagination { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px;
  border: 1px solid #e5e5e5; border-radius: 5px;
  font-size: 0.88rem; color: #333; font-weight: 500;
  text-decoration: none; transition: background 0.15s, border-color 0.15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: #c0392b; border-color: #c0392b; color: #fff; }

/* =============================================
   SINGLE POST
   ============================================= */
.single-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 820px) { .single-wrap { grid-template-columns: 1fr; } .sidebar-area { display: none; } }

.entry-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid #f0f0f0; }
.entry-cat {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.entry-title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; color: #111; line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 12px; }
.entry-meta { font-size: 0.81rem; color: #999; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.entry-meta a { color: #c0392b; }

.entry-content { font-size: 1rem; line-height: 1.78; color: #2d2d2d; }
.entry-content h2 { font-size: 1.45rem; font-weight: 800; color: #111; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #f0f0f0; letter-spacing: -0.2px; }
.entry-content h3 { font-size: 1.15rem; font-weight: 700; color: #111; margin: 26px 0 9px; }
.entry-content h4 { font-size: 1rem; font-weight: 700; color: #111; margin: 20px 0 7px; }
.entry-content p { margin-bottom: 17px; }
.entry-content ul, .entry-content ol { margin-bottom: 17px; }
.entry-content li { margin-bottom: 5px; }
.entry-content blockquote { border-left: 4px solid #c0392b; padding: 13px 18px; background: #fdf2f2; border-radius: 0 5px 5px 0; margin: 20px 0; font-style: italic; color: #444; }
.entry-content a { color: #c0392b; text-decoration: underline; }
.entry-content img { border-radius: 7px; margin: 18px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.91rem; }
.entry-content table th { background: #f5f5f5; padding: 10px 13px; text-align: left; font-weight: 700; border-bottom: 2px solid #e5e5e5; }
.entry-content table td { padding: 10px 13px; border-bottom: 1px solid #f0f0f0; }
.entry-content table tr:hover td { background: #fafafa; }
.entry-content .info-box a { color: #c0392b; }

/* Post nav */
.post-nav { margin-top: 36px; padding-top: 20px; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.post-nav a { font-size: 0.87rem; font-weight: 700; color: #c0392b; max-width: 48%; }

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar-area { position: sticky; top: 80px; }
.widget {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.widget ul { list-style: none; padding: 0; }
.widget ul li { font-size: 0.875rem; padding: 6px 0; border-bottom: 1px solid #f5f5f5; }
.widget ul li:last-child { border: none; }
.widget ul li a { color: #c0392b; }
.widget ul li a:hover { text-decoration: underline; }
.widget p { font-size: 0.875rem; color: #666; line-height: 1.65; }

/* =============================================
   PAGE (static pages)
   ============================================= */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 44px 20px 60px;
}
.page-wrap .entry-title { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: #111; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #f0f0f0; }

/* =============================================
   404
   ============================================= */
.not-found-wrap { text-align: center; padding: 80px 20px; max-width: 500px; margin: 0 auto; }
.not-found-wrap h1 { font-size: 5rem; font-weight: 800; color: #e8e8e8; line-height: 1; }
.not-found-wrap h2 { font-size: 1.4rem; font-weight: 700; color: #111; margin: 12px 0; }
.not-found-wrap p { color: #777; margin-bottom: 22px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #111; color: #999; padding: 48px 20px 24px; }
.footer-wrap { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #222;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo span { color: #c0392b; }
.footer-about { font-size: 0.84rem; color: #666; line-height: 1.65; max-width: 230px; }
.footer-col h4 { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #fff; margin-bottom: 12px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { font-size: 0.84rem; color: #666; transition: color 0.15s; text-decoration: none; }
.footer-col a:hover { color: #fff; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.79rem; color: #444; }
.footer-bottom a { color: #666; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-disc { font-size: 0.74rem; color: #333; max-width: 700px; margin: 14px auto 0; line-height: 1.6; text-align: center; }
