/*
Theme Name: ToolAIReviews
Theme URI: https://toolaireviews.com
Author: Artas
Description: Custom dark tech theme for ToolAIReviews.com
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --accent: #00c8ff;
  --accent2: #6366f1;
  --bg: #070b14;
  --bg2: #0a0f1e;
  --card: #0d1526;
  --card2: #111e35;
  --border: rgba(0,200,255,0.12);
  --text: #e2e8f0;
  --muted: #64748b;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1.2em; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: #f1f5f9; line-height: 1.15; letter-spacing: -0.02em; }

/* =====================
   NAVBAR
   ===================== */
#tar-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7,11,20,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.tar-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tar-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #f8fafc !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tar-logo span {
  color: var(--accent);
}

.tar-nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.tar-nav-menu li a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.02em;
}

.tar-nav-menu li a:hover,
.tar-nav-menu li.current-menu-item a,
.tar-nav-menu li.current_page_item a {
  color: #f1f5f9;
  background: rgba(255,255,255,0.06);
}

.tar-nav-cta a {
  background: var(--accent) !important;
  color: #070b14 !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.tar-nav-cta a:hover {
  opacity: 0.88 !important;
  background: var(--accent) !important;
}

/* Mobile menu toggle */
.tar-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 768px) {
  .tar-menu-toggle { display: flex; align-items: center; }
  .tar-nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(7,11,20,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
  }
  .tar-nav-menu.open { display: flex; }
  .tar-nav-menu li { width: 100%; }
  .tar-nav-menu li a { display: block; width: 100%; }
}

/* =====================
   HERO
   ===================== */
.tar-hero {
  background: linear-gradient(135deg, #070b14 0%, #0d1a36 50%, #070b14 100%);
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.tar-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tar-hero-badge {
  display: inline-block;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.tar-hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  color: #f8fafc;
  margin-bottom: 20px;
}

.tar-hero h1 span {
  background: linear-gradient(90deg, #00c8ff, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tar-hero p {
  font-size: 18px;
  color: #94a3b8;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 300;
}

.tar-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.tar-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.tar-hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.tar-hero-stat span {
  font-size: 13px;
  color: var(--muted);
}

/* =====================
   BUTTONS
   ===================== */
.tar-btn-primary {
  background: var(--accent);
  color: #070b14;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.tar-btn-primary:hover { opacity: 0.88; transform: translateY(-1px); color: #070b14; }

.tar-btn-ghost {
  background: transparent;
  color: #cbd5e1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.tar-btn-ghost:hover {
  border-color: rgba(0,200,255,0.4);
  color: var(--accent);
  transform: translateY(-1px);
}

/* =====================
   SECTION
   ===================== */
.tar-section {
  padding: 72px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.tar-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tar-section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #f1f5f9;
}

.tar-section-header p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 15px;
}

.tar-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.tar-see-all {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* =====================
   COMPARISONS GRID
   ===================== */
.tar-comparisons-bg {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tar-comps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tar-comp-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.tar-comp-card:hover {
  border-color: rgba(0,200,255,0.35);
  background: var(--card2);
  transform: translateY(-2px);
}

.tar-comp-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.18);
  padding: 3px 10px;
  border-radius: 100px;
  width: fit-content;
}

.tar-comp-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tar-vs {
  font-size: 11px;
  font-weight: 700;
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  padding: 2px 7px;
  border-radius: 4px;
}

.tar-comp-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.tar-comp-arrow { font-size: 13px; color: var(--accent); margin-top: 4px; font-weight: 500; }

/* =====================
   CATEGORIES GRID
   ===================== */
.tar-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.tar-cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.tar-cat-card:hover {
  border-color: rgba(0,200,255,0.4);
  background: var(--card2);
  transform: translateY(-2px);
}

.tar-cat-icon { font-size: 28px; margin-bottom: 10px; }
.tar-cat-name { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: #e2e8f0; }
.tar-cat-count { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* =====================
   ARTICLES GRID
   ===================== */
.tar-articles-bg {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.tar-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.tar-article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.tar-article-card:hover {
  border-color: rgba(0,200,255,0.3);
  transform: translateY(-2px);
}

.tar-article-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tar-article-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0d1526 0%, #111e35 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,200,255,0.15);
  font-size: 48px;
}

.tar-article-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tar-article-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.tar-article-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
  margin-bottom: 10px;
}

.tar-article-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tar-article-meta {
  font-size: 12px;
  color: #475569;
  margin-top: 14px;
}

/* =====================
   CTA BAND
   ===================== */
.tar-cta-band {
  background: linear-gradient(135deg, #0d1a36 0%, #111e35 100%);
  border-top: 1px solid var(--border);
  padding: 72px 24px;
  text-align: center;
}

.tar-cta-band h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 14px;
}

.tar-cta-band p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* =====================
   SINGLE POST
   ===================== */
.tar-single-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.tar-single-header {
  margin-bottom: 36px;
}

.tar-single-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.tar-single-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin-bottom: 16px;
}

.tar-single-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.tar-single-featured {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.tar-single-content {
  font-size: 17px;
  line-height: 1.75;
  color: #cbd5e1;
}

.tar-single-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 2em 0 0.6em;
}

.tar-single-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.6em 0 0.5em;
}

.tar-single-content p { margin-bottom: 1.3em; }

.tar-single-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tar-single-content ul, .tar-single-content ol {
  margin: 0 0 1.3em 1.5em;
}

.tar-single-content li { margin-bottom: 0.4em; }

.tar-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}

.tar-single-content th {
  background: var(--card2);
  color: #f1f5f9;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tar-single-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: #94a3b8;
  vertical-align: top;
}

.tar-single-content tr:last-child td { border-bottom: none; }
.tar-single-content tr:hover td { background: rgba(255,255,255,0.02); }

.tar-single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--card);
  border-radius: 0 8px 8px 0;
  color: #94a3b8;
  font-style: italic;
}

.tar-single-content img {
  border-radius: 8px;
  margin: 1em 0;
}

/* =====================
   ARCHIVE / CATEGORY
   ===================== */
.tar-archive-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.tar-archive-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.tar-archive-header h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 8px;
}

.tar-archive-header p {
  color: var(--muted);
  font-size: 16px;
}

/* =====================
   PAGE (About etc.)
   ===================== */
.tar-page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.tar-page-header {
  margin-bottom: 48px;
}

.tar-page-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 12px;
}

.tar-page-header p.subtitle {
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.tar-about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  margin-bottom: 28px;
}

.tar-about-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 28px;
}

.tar-page-content {
  font-size: 17px;
  line-height: 1.75;
  color: #cbd5e1;
}

.tar-page-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 1.8em 0 0.6em;
}

.tar-page-content p { margin-bottom: 1.3em; }

.tar-page-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================
   FOOTER
   ===================== */
#tar-footer {
  background: #040710;
  border-top: 1px solid var(--border);
  padding: 52px 24px 32px;
}

.tar-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.tar-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.tar-footer-brand .tar-logo {
  font-size: 20px;
  margin-bottom: 14px;
  display: inline-flex;
}

.tar-footer-brand p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.tar-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 16px;
}

.tar-footer-col ul { list-style: none; }
.tar-footer-col ul li { margin-bottom: 10px; }
.tar-footer-col ul li a {
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.tar-footer-col ul li a:hover { color: var(--accent); }

.tar-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tar-footer-bottom p {
  font-size: 13px;
  color: #334155;
  margin: 0;
}

.tar-footer-bottom a {
  color: #475569;
  font-size: 13px;
  text-decoration: none;
}

.tar-footer-bottom a:hover { color: var(--accent); }

/* =====================
   LOADING
   ===================== */
.tar-loading {
  text-align: center;
  color: var(--muted);
  padding: 40px;
  font-size: 14px;
}

/* =====================
   PAGINATION
   ===================== */
.tar-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.tar-pagination a, .tar-pagination span {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
}

.tar-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tar-pagination .current {
  background: var(--accent);
  color: #070b14;
  border-color: var(--accent);
}

/* =====================
   404
   ===================== */
.tar-404 {
  text-align: center;
  padding: 100px 24px;
}

.tar-404 .num {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #00c8ff, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.tar-404 h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.tar-404 p {
  color: var(--muted);
  margin-bottom: 32px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .tar-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .tar-hero { padding: 64px 18px 52px; }
  .tar-hero-stats { gap: 24px; }
  .tar-section { padding: 52px 18px; }
}

@media (max-width: 600px) {
  .tar-comps-grid, .tar-articles-grid { grid-template-columns: 1fr; }
  .tar-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .tar-single-featured { height: 220px; }
}

/* =====================
   DROPDOWN
   ===================== */
.tar-has-dropdown {
  position: relative;
}

.tar-caret {
  font-size: 9px;
  opacity: 0.5;
  margin-left: 3px;
  display: inline-block;
  transition: transform 0.2s;
}

.tar-has-dropdown.open .tar-caret {
  transform: rotate(180deg);
}

.tar-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10,15,30,0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  list-style: none;
  z-index: 200;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.tar-has-dropdown:hover .tar-dropdown,
.tar-has-dropdown.open .tar-dropdown {
  display: block;
}

.tar-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #94a3b8 !important;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  background: none !important;
}

.tar-dropdown li a:hover {
  background: rgba(0,200,255,0.08) !important;
  color: #f1f5f9 !important;
}

@media (max-width: 768px) {
  .tar-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 4px 12px;
    margin-top: 4px;
  }
}

/* =====================
   SIDEBAR LAYOUT
   ===================== */
.tar-single-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.tar-single-wrap {
  max-width: 100%;
  padding: 0;
}

.tar-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tar-ad-slot {
  width: 100%;
}

.tar-ad-sticky {
  position: sticky;
  top: 84px;
}

.tar-ad-placeholder {
  width: 100%;
  min-height: 250px;
  background: var(--card);
  border: 1px dashed rgba(0,200,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tar-ad-placeholder span {
  font-size: 12px;
  color: #334155;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .tar-single-outer {
    grid-template-columns: 1fr;
    padding: 40px 18px 60px;
  }
  .tar-sidebar {
    display: none;
  }
}

/* =====================
   TOOLS PAGE
   ===================== */
.tar-tools-category {
  margin-bottom: 52px;
}

.tar-tools-cat-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.tar-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tar-tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.tar-tool-card:hover {
  border-color: rgba(0,200,255,0.35);
  transform: translateY(-2px);
}

.tar-tool-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--accent);
  color: #070b14;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.tar-tool-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.tar-tool-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  background: rgba(0,200,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tar-tool-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: #f1f5f9;
}

.tar-tool-cat {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.tar-tool-tagline {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

.tar-tool-commission {
  font-size: 13px;
  color: #64748b;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
}

.tar-tool-cta {
  display: block;
  background: var(--accent);
  color: #070b14;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  padding: 11px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s;
}

.tar-tool-cta:hover {
  opacity: 0.88;
  color: #070b14;
}

/* =====================
   ARCHIVE OUTER LAYOUT
   ===================== */
.tar-archive-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.tar-archive-main {
  min-width: 0;
}

.tar-archive-outer .tar-archive-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .tar-archive-outer {
    grid-template-columns: 1fr;
    padding: 40px 18px 60px;
  }
  .tar-archive-outer .tar-sidebar {
    display: none;
  }
}

/* =====================
   NEWS SECTION
   ===================== */
.tar-news-bg {
  background: #070b14;
  border-top: 1px solid var(--border);
}

.tar-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.tar-news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s;
}

.tar-news-card:hover {
  border-color: rgba(0,200,255,0.35);
  transform: translateY(-2px);
}

.tar-news-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tar-news-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.35;
}

.tar-news-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tar-news-arrow {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: auto;
}
