/* ============================================================
   AIToolBunch Platform — Public CSS  (matches aitoolbunch.com)
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
.atb-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a1f36; line-height: 1.6; }

/* ── CSS Vars ── */
:root {
  --atb-blue:    #1a73e8;
  --atb-blue2:   #0d47a1;
  --atb-blue3:   #42a5f5;
  --atb-dark:    #1a1f36;
  --atb-muted:   #5f6c8a;
  --atb-light:   #f8faff;
  --atb-border:  #e2e8f0;
  --atb-white:   #ffffff;
  --atb-grad:    linear-gradient(135deg, #0d47a1 0%, #1a73e8 60%, #42a5f5 100%);
  --atb-radius:  12px;
  --atb-shadow:  0 4px 24px rgba(26,115,232,.10);
}

/* ── Full-width — plugin pages use PHP to hide theme header/footer ── */
.atb-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  padding-top: 64px; /* offset for fixed navbar */
}
.admin-bar .atb-wrap { padding-top: 96px; } /* 64px navbar + 32px admin bar */
@media screen and (max-width: 782px) { .admin-bar .atb-wrap { padding-top: 110px; } }

/* Hide the theme's own page title when our wrap is present */
.entry-title:has(~ .atb-wrap),
.page-header:has(~ .atb-wrap) { display: none !important; }

/* ── Navbar ── */
.atb-navbar {
  background: #fff;
  border-bottom: 1px solid var(--atb-border);
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 99990; width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.admin-bar .atb-navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .atb-navbar { top: 46px; } }

.atb-navbar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px; gap: 16px;
}

/* Logo */
.atb-nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.atb-nav-logo svg { width: 36px; height: 36px; }
.atb-nav-logo-text { font-size: 20px; font-weight: 800; letter-spacing: -.3px; color: #1a1f36; }
.atb-nav-logo-text span { color: var(--atb-blue); }

/* Desktop nav links */
.atb-nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
/* Force nav visible on desktop screens regardless of theme CSS */
@media (min-width: 901px) {
  .atb-nav-links { display: flex !important; }
  .atb-hamburger { display: none !important; }
}
.atb-nav-links a {
  color: #1a1f36; text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.atb-nav-links a:hover { background: var(--atb-light); color: var(--atb-blue); }

/* SEO Dropdown */
.atb-nav-dropdown { position: relative; }
.atb-nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 4px; }
.atb-nav-dropdown > a::after { content: "▾"; font-size: 10px; }
.atb-nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius);
  min-width: 220px; box-shadow: 0 8px 32px rgba(0,0,0,.12); padding: 8px; z-index: 10000;
}
.atb-nav-dropdown:hover .atb-nav-dropdown-menu,
.atb-nav-dropdown.open .atb-nav-dropdown-menu { display: block; }
.atb-nav-dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 13px; white-space: nowrap; color: #1a1f36; text-decoration: none;
}
.atb-nav-dropdown-menu a:hover { background: var(--atb-light); color: var(--atb-blue); }

/* Submit button */
.atb-nav-submit {
  background: var(--atb-grad) !important; color: #fff !important;
  border-radius: 8px !important; font-weight: 600 !important;
  padding: 9px 18px !important; font-size: 14px !important;
  white-space: nowrap; flex-shrink: 0; text-decoration: none !important;
  display: inline-block;
}
.atb-nav-submit:hover { opacity: .9 !important; color: #fff !important; }

/* Hamburger - mobile only */
.atb-hamburger {
  display: none; background: none; border: 1px solid var(--atb-border);
  border-radius: 8px; cursor: pointer; font-size: 20px; color: #1a1f36;
  padding: 6px 10px; line-height: 1; flex-shrink: 0;
}
.atb-hamburger:hover { background: var(--atb-light); }

/* Mobile submit - hidden on desktop */
.atb-nav-submit-mobile { display: none !important; }

/* ── Mobile Nav ── */
@media (max-width: 900px) {
  .atb-hamburger { display: flex; align-items: center; justify-content: center; }
  .atb-nav-submit-desktop { display: none !important; }

  .atb-nav-links {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px; gap: 4px; z-index: 99998;
    border-bottom: 2px solid var(--atb-border);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .admin-bar .atb-nav-links { top: 96px; }
  .atb-nav-links.atb-nav-open { display: flex !important; }
  .atb-nav-links > a, .atb-nav-dropdown > a {
    padding: 13px 16px !important; font-size: 15px !important;
    border-radius: 8px; color: #1a1f36 !important;
    border-bottom: 1px solid var(--atb-border);
  }
  .atb-nav-links > a:last-child { border-bottom: none; }
  .atb-nav-dropdown { position: static; }
  .atb-nav-dropdown > a::after { content: " ▾"; }
  .atb-nav-dropdown-menu {
    display: block !important; position: static !important;
    box-shadow: none !important; border: none !important;
    background: var(--atb-light) !important; border-radius: 8px !important;
    padding: 4px 8px !important; margin: 4px 0 8px 16px !important;
    min-width: auto !important;
  }
  .atb-nav-submit-mobile {
    display: block !important; background: var(--atb-grad) !important;
    color: #fff !important; text-align: center !important; margin-top: 8px !important;
    font-weight: 700 !important; border-radius: 10px !important; padding: 14px !important;
    font-size: 15px !important;
  }
}

/* ── Hero ── */
.atb-hero {
  background: var(--atb-grad);
  padding: 64px 24px 64px;
  text-align: center; color: #fff;
}
.atb-hero-badge {
  display: inline-block; background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3); border-radius: 20px;
  padding: 4px 16px; font-size: 13px; margin-bottom: 20px;
}
.atb-hero h1 { font-size: clamp(32px,5vw,56px); font-weight: 800; margin: 0 0 16px; line-height: 1.1; }
.atb-hero h1 em { font-style: normal; color: #93c5fd; }
.atb-hero p { font-size: 18px; opacity: .9; max-width: 600px; margin: 0 auto 32px; }
.atb-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.atb-btn-primary {
  background: #fff; color: var(--atb-blue2);
  padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700;
  text-decoration: none; display: inline-block; transition: transform .15s, box-shadow .15s;
}
.atb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--atb-blue2); }
.atb-btn-outline {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6);
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; display: inline-block; transition: background .15s;
}
.atb-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Stats strip */
.atb-hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.atb-hero-stat { text-align: center; }
.atb-hero-stat-num { font-size: 28px; font-weight: 800; display: block; }
.atb-hero-stat-lbl { font-size: 12px; opacity: .75; text-transform: uppercase; letter-spacing: .5px; }

/* ── Container ── */
.atb-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.atb-section { padding: 64px 0; }
.atb-section-title { font-size: 13px; font-weight: 700; color: var(--atb-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.atb-section-heading { font-size: clamp(24px,3vw,36px); font-weight: 800; margin: 0 0 12px; }
.atb-section-sub { color: var(--atb-muted); font-size: 16px; max-width: 520px; margin: 0 0 40px; }

/* ── Feature Cards (home) ── */
.atb-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.atb-feature-card {
  background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius);
  padding: 28px; text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: block;
}
.atb-feature-card:hover { transform: translateY(-3px); box-shadow: var(--atb-shadow); border-color: var(--atb-blue3); color: inherit; }
.atb-feature-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.atb-feature-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.atb-feature-card p { font-size: 14px; color: var(--atb-muted); margin: 0 0 14px; }
.atb-feature-card .atb-feature-link { font-size: 13px; font-weight: 600; color: var(--atb-blue); }

/* ── SEO Tools Section ── */
.atb-seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.atb-seo-card {
  background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius);
  padding: 24px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.atb-seo-card:hover { transform: translateY(-3px); box-shadow: var(--atb-shadow); color: inherit; }
.atb-seo-card-icon { font-size: 24px; }
.atb-seo-card h3 { font-size: 15px; font-weight: 700; margin: 0; }
.atb-seo-card p { font-size: 13px; color: var(--atb-muted); margin: 0; flex: 1; }
.atb-seo-card-tag { font-size: 11px; font-weight: 700; color: var(--atb-blue); background: #eff6ff; border-radius: 6px; padding: 3px 8px; align-self: flex-start; }

/* ── Directory Tool Grid ── */
.atb-filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
}
.atb-filter-bar select, .atb-filter-bar input[type="text"] {
  border: 1px solid var(--atb-border); border-radius: 8px;
  padding: 9px 14px; font-size: 14px; color: var(--atb-dark); background: #fff;
  outline: none;
}
.atb-filter-bar select:focus, .atb-filter-bar input:focus { border-color: var(--atb-blue); }
.atb-filter-count { font-size: 13px; color: var(--atb-muted); margin-left: auto; }
#atb-search-input { flex: 1; min-width: 200px; }
.atb-btn-clear { background: none; border: 1px solid var(--atb-border); border-radius: 8px; padding: 9px 14px; font-size: 13px; cursor: pointer; color: var(--atb-muted); }
.atb-btn-clear:hover { border-color: var(--atb-blue); color: var(--atb-blue); }

.atb-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 20px; }
.atb-tool-card {
  background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius);
  padding: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.atb-tool-card:hover { transform: translateY(-3px); box-shadow: var(--atb-shadow); border-color: var(--atb-blue3); color: inherit; }
.atb-tool-card-header { display: flex; align-items: center; gap: 12px; }
.atb-tool-logo {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--atb-light); border: 1px solid var(--atb-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.atb-tool-logo img { width: 32px; height: 32px; object-fit: contain; }
.atb-tool-name { font-size: 15px; font-weight: 700; }
.atb-tool-cat { font-size: 12px; color: var(--atb-muted); }
.atb-tool-desc { font-size: 13px; color: var(--atb-muted); flex: 1; }
.atb-tool-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.atb-tool-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.atb-pricing-badge {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px;
}
.atb-pricing-free    { background: #dcfce7; color: #166534; }
.atb-pricing-freemium{ background: #dbeafe; color: #1e40af; }
.atb-pricing-paid    { background: #fef3c7; color: #92400e; }
.atb-pricing-enterprise{ background: #f3e8ff; color: #6b21a8; }
.atb-rating { font-size: 12px; color: #f59e0b; }
.atb-badge-featured { background: var(--atb-blue); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.atb-badge-trending { background: #f97316; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 5px; white-space: nowrap; }

/* Pagination */
.atb-pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; }
.atb-page-btn {
  border: 1px solid var(--atb-border); background: #fff; border-radius: 8px;
  padding: 7px 13px; font-size: 14px; cursor: pointer; color: var(--atb-dark);
  transition: background .15s, border-color .15s;
}
.atb-page-btn:hover, .atb-page-btn.active { background: var(--atb-blue); border-color: var(--atb-blue); color: #fff; }

/* ── Loading ── */
.atb-loading { text-align: center; padding: 60px 0; color: var(--atb-muted); }
.atb-spinner {
  width: 36px; height: 36px; border: 3px solid var(--atb-border);
  border-top-color: var(--atb-blue); border-radius: 50%;
  animation: atb-spin .7s linear infinite; margin: 0 auto 12px;
}
@keyframes atb-spin { to { transform: rotate(360deg); } }
.atb-empty { text-align: center; padding: 60px 20px; color: var(--atb-muted); font-size: 15px; }

/* ── Submit Form ── */
.atb-submit-wrap { max-width: 640px; margin: 0 auto; }
.atb-submit-hero { background: var(--atb-grad); color: #fff; border-radius: var(--atb-radius); padding: 36px; text-align: center; margin-bottom: 32px; }
.atb-submit-hero h2 { font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.atb-submit-hero p { opacity: .85; margin: 0; }
.atb-submit-steps { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.atb-step { flex: 1; background: var(--atb-light); border-radius: 10px; padding: 16px; text-align: center; min-width: 120px; }
.atb-step-num { width: 32px; height: 32px; background: var(--atb-blue); color: #fff; border-radius: 50%; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.atb-step h4 { font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.atb-step p { font-size: 12px; color: var(--atb-muted); margin: 0; }
.atb-form { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 32px; }
.atb-form-row { margin-bottom: 18px; }
.atb-form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--atb-dark); }
.atb-form-row input, .atb-form-row select, .atb-form-row textarea {
  width: 100%; border: 1px solid var(--atb-border); border-radius: 8px;
  padding: 10px 14px; font-size: 14px; color: var(--atb-dark); outline: none;
  transition: border-color .15s;
}
.atb-form-row input:focus, .atb-form-row select:focus, .atb-form-row textarea:focus { border-color: var(--atb-blue); }
.atb-form-row textarea { min-height: 100px; resize: vertical; }
.atb-submit-btn {
  width: 100%; background: var(--atb-grad); color: #fff; border: none;
  border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: opacity .15s;
}
.atb-submit-btn:hover { opacity: .9; }
.atb-form-success { background: #dcfce7; border: 1px solid #86efac; border-radius: 10px; padding: 20px; text-align: center; color: #166534; font-weight: 600; display: none; }

/* ── Audit Tools ── */
.atb-audit-wrap { max-width: 760px; margin: 0 auto; }
.atb-audit-hero { background: var(--atb-grad); color: #fff; border-radius: var(--atb-radius); padding: 40px; text-align: center; margin-bottom: 32px; }
.atb-audit-hero h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.atb-audit-hero p { opacity: .85; margin: 0; font-size: 15px; }
.atb-audit-form { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 28px; margin-bottom: 24px; }
.atb-audit-input-row { display: flex; gap: 10px; }
.atb-audit-input-row input { flex: 1; border: 1px solid var(--atb-border); border-radius: 8px; padding: 12px 16px; font-size: 15px; outline: none; }
.atb-audit-input-row input:focus { border-color: var(--atb-blue); }
.atb-audit-btn { background: var(--atb-grad); color: #fff; border: none; border-radius: 8px; padding: 12px 24px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.atb-audit-btn:hover { opacity: .9; }
.atb-audit-result { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 28px; display: none; }
.atb-score-header { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.atb-score-ring { position: relative; width: 110px; height: 110px; flex-shrink: 0; }
.atb-score-ring svg { transform: rotate(-90deg); }
.atb-score-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: var(--atb-dark); }
.atb-score-info h3 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.atb-score-info p { font-size: 14px; color: var(--atb-muted); margin: 0; }
.atb-checks-list { display: flex; flex-direction: column; gap: 8px; }
.atb-check-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 8px; background: var(--atb-light); font-size: 14px; }
.atb-check-item.pass { background: #f0fdf4; }
.atb-check-item.fail { background: #fef2f2; }
.atb-check-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.atb-check-label { font-weight: 600; }
.atb-check-note { font-size: 12px; color: var(--atb-muted); margin-top: 2px; }
.atb-tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; margin-top: 24px; }
.atb-tip-card { background: var(--atb-light); border-radius: 10px; padding: 18px; }
.atb-tip-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.atb-tip-card p { font-size: 12px; color: var(--atb-muted); margin: 0; }

/* ── Schema / Meta Generators ── */
.atb-gen-wrap { max-width: 820px; margin: 0 auto; }
.atb-gen-header { text-align: center; margin-bottom: 32px; }
.atb-gen-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.atb-gen-header p { color: var(--atb-muted); margin: 0; }
.atb-schema-tabs { display: flex; gap: 4px; background: var(--atb-light); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.atb-schema-tab { flex: 1; text-align: center; padding: 9px 4px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--atb-muted); border: none; background: none; transition: background .15s, color .15s; }
.atb-schema-tab.active { background: #fff; color: var(--atb-blue); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.atb-schema-panel { display: none; }
.atb-schema-panel.active { display: block; }
.atb-gen-form { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 24px; margin-bottom: 20px; }
.atb-gen-form-row { margin-bottom: 14px; }
.atb-gen-form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.atb-gen-form-row input, .atb-gen-form-row select, .atb-gen-form-row textarea {
  width: 100%; border: 1px solid var(--atb-border); border-radius: 8px; padding: 9px 12px; font-size: 14px; outline: none;
}
.atb-gen-form-row input:focus, .atb-gen-form-row select:focus, .atb-gen-form-row textarea:focus { border-color: var(--atb-blue); }
.atb-gen-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.atb-generate-btn { background: var(--atb-grad); color: #fff; border: none; border-radius: 8px; padding: 12px 24px; font-size: 15px; font-weight: 700; cursor: pointer; }
.atb-generate-btn:hover { opacity: .9; }
.atb-output-box { background: #1a1f36; border-radius: var(--atb-radius); padding: 20px; }
.atb-output-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.atb-output-header span { color: #93c5fd; font-size: 13px; font-weight: 600; }
.atb-copy-btn { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 6px; padding: 5px 12px; font-size: 12px; cursor: pointer; }
.atb-copy-btn:hover { background: rgba(255,255,255,.2); }
#atb-schema-output, #atb-meta-output { color: #e2e8f0; font-size: 13px; font-family: monospace; white-space: pre-wrap; word-break: break-all; margin: 0; max-height: 340px; overflow-y: auto; }

/* Meta Generator Preview */
.atb-meta-preview { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 20px; margin-bottom: 20px; }
.atb-preview-label { font-size: 12px; font-weight: 700; color: var(--atb-muted); text-transform: uppercase; margin-bottom: 10px; }
.atb-google-preview { border: 1px solid var(--atb-border); border-radius: 8px; padding: 16px; }
#atb-preview-url { color: #202124; font-size: 12px; }
#atb-preview-title { color: #1a0dab; font-size: 18px; font-weight: 400; margin: 2px 0; cursor: pointer; }
#atb-preview-title:hover { text-decoration: underline; }
#atb-preview-desc { color: #4d5156; font-size: 13px; }

/* ── Bookmarks ── */
.atb-login-gate { text-align: center; padding: 60px 24px; }
.atb-login-gate p { color: var(--atb-muted); margin-bottom: 16px; }
.atb-login-gate a.atb-btn-primary { display: inline-block; }

/* ── Single Tool ── */
.atb-single-tool { max-width: 1100px; margin: 0 auto; padding: 40px 24px; }
.atb-single-grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.atb-single-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.atb-single-logo { width: 72px; height: 72px; border-radius: 16px; background: var(--atb-light); border: 1px solid var(--atb-border); display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; }
.atb-single-logo img { width: 100%; border-radius: 16px; }
.atb-single-title { font-size: 28px; font-weight: 800; margin: 0 0 4px; }
.atb-single-tagline { color: var(--atb-muted); font-size: 15px; }
.atb-single-body { font-size: 15px; line-height: 1.7; color: var(--atb-dark); }
.atb-single-sidebar-card { background: #fff; border: 1px solid var(--atb-border); border-radius: var(--atb-radius); padding: 20px; margin-bottom: 16px; }
.atb-sidebar-label { font-size: 12px; font-weight: 700; color: var(--atb-muted); text-transform: uppercase; margin-bottom: 12px; }
.atb-sidebar-info-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--atb-border); font-size: 14px; }
.atb-sidebar-info-row:last-child { border-bottom: none; }
.atb-visit-btn { display: block; background: var(--atb-grad); color: #fff; text-align: center; padding: 12px; border-radius: 8px; font-weight: 700; text-decoration: none; margin-top: 12px; }
.atb-visit-btn:hover { opacity: .9; color: #fff; }
.atb-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.atb-pros, .atb-cons { border-radius: 10px; padding: 16px; }
.atb-pros { background: #f0fdf4; }
.atb-cons { background: #fef2f2; }
.atb-pros h4 { color: #166534; margin: 0 0 10px; font-size: 14px; }
.atb-cons h4 { color: #991b1b; margin: 0 0 10px; font-size: 14px; }
.atb-pros li, .atb-cons li { font-size: 13px; margin-bottom: 6px; }

/* ── Footer ── */
.atb-footer { background: var(--atb-dark); color: #e2e8f0; padding: 40px 24px 24px; margin-top: 0; }
.atb-footer-inner { max-width: 1200px; margin: 0 auto; }
.atb-footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.atb-footer-logo { font-size: 18px; font-weight: 800; color: #fff; }
.atb-footer-logo span { color: var(--atb-blue3); }
.atb-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.atb-footer-links a { color: #94a3b8; font-size: 14px; text-decoration: none; }
.atb-footer-links a:hover { color: #fff; }
.atb-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.atb-footer-bottom p { color: #64748b; font-size: 13px; margin: 0; }
.atb-footer-legal { display: flex; gap: 16px; }
.atb-footer-legal a { color: #64748b; font-size: 13px; text-decoration: none; }
.atb-footer-legal a:hover { color: #fff; }

/* ── Breadcrumb ── */
.atb-breadcrumb { font-size: 13px; color: var(--atb-muted); margin-bottom: 20px; }
.atb-breadcrumb a { color: var(--atb-blue); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .atb-single-grid { grid-template-columns: 1fr; }
  .atb-pros-cons { grid-template-columns: 1fr; }
  .atb-gen-row2 { grid-template-columns: 1fr; }
  .atb-audit-input-row { flex-direction: column; }
  .atb-hero h1 { font-size: 28px; }
  .atb-hero-stats { gap: 20px; }
}

/* ── Compare ── */
.atb-compare-table-wrap { overflow-x: auto; }
.atb-compare-table { width: 100%; border-collapse: collapse; }
.atb-compare-table th, .atb-compare-table td { padding: 12px 16px; border: 1px solid var(--atb-border); font-size: 14px; }
.atb-compare-table th { background: var(--atb-light); font-weight: 700; }
.atb-compare-table tr:hover td { background: var(--atb-light); }
.atb-compare-selects { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.atb-compare-selects select { flex: 1; min-width: 180px; border: 1px solid var(--atb-border); border-radius: 8px; padding: 10px 14px; font-size: 14px; }

/* ── Notices ── */
.atb-notice { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin: 12px 0; }
.atb-notice-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.atb-notice-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Standalone template body ── */
body.atb-standalone {
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
body.atb-standalone .atb-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  padding-top: 64px !important;
}
body.atb-standalone.admin-bar .atb-wrap { padding-top: 96px !important; }
