/*
Theme Name: AppsDora
Theme URI: https://appsdora.com
Author: AppsDora Team
Author URI: https://appsdora.com
Description: A modern, affiliate-ready tech review WordPress theme with dark mode, glassmorphism UI, comparison tables, and full Elementor compatibility.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: appsdora
Tags: blog, custom-logo, dark-mode, editor-style, featured-images, one-column, two-columns, translation-ready
*/

/* ===== CSS Variables ===== */
:root {
  --ad-primary: #2563EB;
  --ad-primary-hover: #1d4ed8;
  --ad-accent: #7C3AED;
  --ad-bg: #FFFFFF;
  --ad-bg-card: #FFFFFF;
  --ad-bg-secondary: #F8FAFC;
  --ad-text: #111827;
  --ad-text-muted: #6B7280;
  --ad-border: #E5E7EB;
  --ad-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --ad-shadow-hover: 0 4px 12px rgba(0,0,0,0.1), 0 8px 32px rgba(0,0,0,0.06);
  --ad-glass-bg: rgba(255,255,255,0.7);
  --ad-glass-border: rgba(255,255,255,0.3);
  --ad-gradient: linear-gradient(135deg, #2563EB, #7C3AED);
  --ad-gradient-hero: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
  --ad-radius: 12px;
  --ad-radius-lg: 16px;
}

.dark-mode {
  --ad-bg: #0B1220;
  --ad-bg-card: #111827;
  --ad-bg-secondary: #1E293B;
  --ad-text: #E5E7EB;
  --ad-text-muted: #9CA3AF;
  --ad-border: #1F2937;
  --ad-shadow-card: 0 1px 3px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.15);
  --ad-shadow-hover: 0 4px 12px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
  --ad-glass-bg: rgba(17,24,39,0.7);
  --ad-glass-border: rgba(31,41,55,0.3);
  --ad-gradient-hero: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12));
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ad-bg);
  color: var(--ad-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--ad-glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--ad-glass-border);
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--ad-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg { background: var(--ad-gradient); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--ad-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--ad-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

.btn-affiliate {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-affiliate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ad-border);
  color: var(--ad-text);
}
.btn-outline:hover {
  border-color: var(--ad-primary);
  color: var(--ad-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--ad-text);
  padding: 0.5rem;
}
.btn-ghost:hover { background: rgba(37,99,235,0.05); }

.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 1rem; font-size: 0.8125rem; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: transform 0.3s ease;
}
.site-header.hidden-up { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) { .desktop-nav { display: flex; } }

.desktop-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ad-text);
  opacity: 0.8;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.desktop-nav a:hover {
  opacity: 1;
  color: var(--ad-primary);
  background: rgba(37,99,235,0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle { display: flex; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.header-spacer { height: 4rem; }
@media (min-width: 1024px) { .header-spacer { height: calc(4rem + 90px + 1rem); } }

/* Mobile menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--ad-border);
  padding: 0.75rem 1rem;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ad-text);
  opacity: 0.8;
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.mobile-nav a:hover {
  color: var(--ad-primary);
  background: rgba(37,99,235,0.05);
}

/* Search */
.search-bar {
  display: none;
  padding: 0 1rem 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.search-bar.open { display: block; }

.search-bar input {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--ad-radius);
  background: var(--ad-bg-secondary);
  border: 1px solid var(--ad-border);
  color: var(--ad-text);
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow 0.2s;
}
.search-bar input:focus { box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 3rem;
  background: var(--ad-gradient-hero);
  text-align: center;
}
@media (min-width: 1024px) { .hero { padding: 8rem 0 4rem; } }

.hero-blob {
  position: absolute;
  width: 24rem; height: 24rem;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.hero-blob-1 { top: -10rem; right: -10rem; background: rgba(37,99,235,0.1); }
.hero-blob-2 { bottom: -10rem; left: -10rem; background: rgba(124,58,237,0.1); animation-delay: 1.5s; }

.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

.hero p {
  font-size: 1.125rem;
  color: var(--ad-text-muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== Review Card ===== */
.review-card {
  background: var(--ad-bg-card);
  border-radius: var(--ad-radius-lg);
  box-shadow: var(--ad-shadow-card);
  overflow: hidden;
  border: 1px solid var(--ad-border);
  transition: all 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ad-shadow-hover);
}

.review-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.review-card:hover .review-card-image img { transform: scale(1.1); }

.review-card-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.review-card:hover .review-card-image .overlay { opacity: 1; }

.review-card-image .category-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--ad-primary);
  color: #fff;
}

.review-card-body { padding: 1.25rem; }

.star-rating { display: flex; align-items: center; gap: 0.125rem; margin-bottom: 0.5rem; }
.star-rating .star { width: 1rem; height: 1rem; color: #D1D5DB; }
.star-rating .star.filled { color: #FBBF24; }
.star-rating span { margin-left: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--ad-text-muted); }

.review-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.review-card:hover .review-card-body h3 { color: var(--ad-primary); }

.review-card-body p {
  font-size: 0.875rem;
  color: var(--ad-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* ===== Sections ===== */
.section { padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 5rem 0; } }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
@media (min-width: 1024px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p { color: var(--ad-text-muted); }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-5 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

/* ===== Categories ===== */
.category-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--ad-radius-lg);
  transition: all 0.3s;
  cursor: pointer;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--ad-shadow-hover); }

.category-card .icon {
  width: 2.5rem; height: 2.5rem;
  margin: 0 auto 0.75rem;
  transition: transform 0.3s;
}
.category-card:hover .icon { transform: scale(1.1); }

.category-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }
.category-card p { font-size: 0.875rem; color: var(--ad-text-muted); }

/* ===== Comparison Table ===== */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  text-align: left;
  padding: 1rem;
  font-weight: 600;
  background: var(--ad-bg-secondary);
}
.comparison-table th:first-child { border-radius: var(--ad-radius) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--ad-radius) 0 0; }

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--ad-border);
}
.comparison-table tr:hover { background: rgba(37,99,235,0.02); }
.comparison-table tr.best-pick { outline: 2px solid rgba(37,99,235,0.2); background: rgba(37,99,235,0.03); }

.best-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--ad-gradient);
  color: #fff;
  margin-right: 0.5rem;
}

/* ===== Blog Post Cards ===== */
.post-card {
  background: var(--ad-bg-card);
  border-radius: var(--ad-radius-lg);
  box-shadow: var(--ad-shadow-card);
  overflow: hidden;
  border: 1px solid var(--ad-border);
  transition: all 0.3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--ad-shadow-hover); }

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .post-card-image img { transform: scale(1.1); }

.post-card-body { padding: 1.25rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ad-text-muted);
  margin-bottom: 0.5rem;
}
.post-card-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.post-card:hover .post-card-body h3 { color: var(--ad-primary); }

/* ===== Ad Placeholders ===== */
.ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--ad-border);
  border-radius: var(--ad-radius);
  color: var(--ad-text-muted);
  font-size: 0.875rem;
  background: rgba(248,250,252,0.5);
}
.dark-mode .ad-placeholder { background: rgba(30,41,59,0.5); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--ad-border); background: var(--ad-bg-card); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand p { font-size: 0.875rem; color: var(--ad-text-muted); margin-top: 0.75rem; line-height: 1.6; }

.footer-links h4 { font-weight: 700; margin-bottom: 1rem; }
.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: var(--ad-text-muted);
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ad-primary); }

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--ad-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--ad-text-muted);
}

/* ===== Sidebar ===== */
.category-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 280px;
  z-index: 40;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 1rem;
  padding-top: 5rem;
}
.category-sidebar.open { transform: translateX(0); }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 39;
  display: none;
}
.sidebar-overlay.open { display: block; }

.sidebar-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 41;
  padding: 0.75rem 0.5rem;
  border-radius: 0 var(--ad-radius) var(--ad-radius) 0;
  font-size: 0.75rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--ad-shadow-card);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s;
  pointer-events: none;
  cursor: pointer;
  border: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(37,99,235,0.4);
}

/* ===== Language Switcher ===== */
.lang-switcher {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
}
.lang-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--ad-shadow-card);
  cursor: pointer;
  border: none;
  font-size: 1.25rem;
  transition: all 0.3s;
}
.lang-btn:hover { transform: scale(1.1); box-shadow: var(--ad-shadow-hover); }

.lang-dropdown {
  display: none;
  position: absolute;
  bottom: 3.5rem;
  left: 0;
  border-radius: var(--ad-radius);
  box-shadow: var(--ad-shadow-hover);
  padding: 0.5rem;
  min-width: 140px;
  animation: fadeInUp 0.2s ease;
}
.lang-dropdown.open { display: block; }

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: none;
  background: none;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--ad-text);
  transition: all 0.2s;
}
.lang-dropdown button:hover { background: rgba(37,99,235,0.1); color: var(--ad-primary); }

/* ===== Reading Progress ===== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 100;
  background: var(--ad-gradient);
  transition: width 0.1s linear;
}

/* ===== Single Post ===== */
.post-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) { .post-layout { flex-direction: row; } }

.post-content { flex: 1; max-width: 48rem; }
.post-sidebar { width: 100%; flex-shrink: 0; }
@media (min-width: 1024px) { .post-sidebar { width: 20rem; } }

.post-sidebar .sticky-widget {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.summary-box {
  padding: 1.5rem;
  border-radius: var(--ad-radius-lg);
  border: 1px solid rgba(37,99,235,0.2);
}

.toc {
  background: var(--ad-bg-secondary);
  border-radius: var(--ad-radius-lg);
  padding: 1.5rem;
}
.toc h3 { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.75rem; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  color: var(--ad-primary);
  font-size: 0.875rem;
  display: block;
  padding: 0.25rem 0;
}
.toc a:hover { text-decoration: underline; }
.toc a::before { content: counter(toc) ". "; }

.post-section { margin-bottom: 2.5rem; }
.post-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--ad-primary);
}

.pros-cons { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .pros-cons { grid-template-columns: 1fr 1fr; } }

.pros-box, .cons-box {
  border-radius: var(--ad-radius-lg);
  padding: 1.25rem;
}
.pros-box { background: rgba(37,99,235,0.05); }
.cons-box { background: rgba(239,68,68,0.05); }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ad-text-muted);
  padding: 0.375rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  text-align: center;
  padding: 1rem;
  border-radius: var(--ad-radius);
  background: var(--ad-bg-secondary);
}
.price-card h4 { font-weight: 700; margin-bottom: 0.25rem; }
.price-card .price { font-size: 1.5rem; font-weight: 800; color: var(--ad-primary); margin-bottom: 0.5rem; }
.price-card p { font-size: 0.75rem; color: var(--ad-text-muted); }

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WordPress Defaults ===== */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--ad-text-muted); margin-top: 0.5rem; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }

/* ===== Responsive table ===== */
.table-wrap { overflow-x: auto; }

/* ===== WordPress pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border-radius: var(--ad-radius);
  border: 1px solid var(--ad-border);
  font-size: 0.875rem;
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--ad-primary); color: var(--ad-primary); }
.pagination .current {
  background: var(--ad-primary);
  color: #fff;
  border-color: var(--ad-primary);
}

/* ===== Comments ===== */
.comment-list { list-style: none; }
.comment-body {
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: var(--ad-radius);
  background: var(--ad-bg-secondary);
}
.comment-meta { font-size: 0.875rem; color: var(--ad-text-muted); margin-bottom: 0.75rem; }
.comment-content p { line-height: 1.7; }

/* ===== Widget ===== */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ad-primary);
}
