/*
Theme Name: Link Sonar
Theme URI: https://linksonar.io/blog
Author: Link Sonar
Author URI: https://linksonar.io
Description: Official blog theme for Link Sonar — the AI-powered link building platform. Matches the public marketing pages of linksonar.io exactly.
Template: generatepress
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linksonar-child
*/

/* ============================================================
   LINK SONAR CHILD THEME v2.0
   Exact match to linksonar.io public marketing pages.

   Design tokens (converted from oklch via canvas):
     --ls-bg:         #0d111b  (body background)
     --ls-bg-card:    #141822  (card / elevated surfaces)
     --ls-bg-header:  rgba(13,17,27,0.80) + blur (sticky header)
     --ls-primary:    #3b6df4  (electric blue — primary actions)
     --ls-green:      #00fa80  (lime green — secondary accent)
     --ls-text:       #ffffff
     --ls-text-muted: #9b9ea5
     --ls-border:     #292e38
     --ls-font:       Inter (Google Fonts)
   ============================================================ */

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

/* ---- CSS Variables ---- */
:root {
  --ls-bg:           #0d111b;
  --ls-bg-card:      #141822;
  --ls-bg-elevated:  #1e2433;
  --ls-primary:      #3b6df4;
  --ls-primary-hover:#2a5ce0;
  --ls-green:        #00fa80;
  --ls-text:         #ffffff;
  --ls-text-muted:   #9b9ea5;
  --ls-text-subtle:  #5a5f6b;
  --ls-border:       #292e38;
  --ls-border-faint: rgba(255,255,255,0.06);
  --ls-radius:       0.5rem;
  --ls-font:         'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ls-header-h:     80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--ls-bg) !important;
  color: var(--ls-text) !important;
  font-family: var(--ls-font) !important;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

/* ---- Hide GeneratePress default header/footer so ours takes over ---- */
.site-header,
#masthead,
.site-footer,
#colophon,
.generate-back-to-top {
  display: none !important;
}

/* ============================================================
   HEADER
   Matches MarketingHeader.tsx:
   - sticky, backdrop-blur, border-b border-border/40
   - container mx-auto px-4 py-4 flex items-center justify-between
   ============================================================ */
.ls-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(13, 17, 27, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(41, 46, 56, 0.40);
  height: var(--ls-header-h);
}

.ls-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* ---- Logo ---- */
.ls-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  flex-shrink: 0;
}

.ls-logo-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.ls-logo-text {
  font-family: var(--ls-font) !important;
  font-size: 1.875rem !important; /* text-3xl — matches the visual weight on the site */
  font-weight: 700 !important;
  letter-spacing: -0.025em;
  color: var(--ls-text) !important;
  line-height: 1;
  white-space: nowrap;
}

/* ---- Desktop nav ---- */
.ls-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ls-nav-link {
  font-family: var(--ls-font) !important;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ls-text-muted) !important;
  text-decoration: none !important;
  padding: 0.375rem 0.75rem;
  border-radius: var(--ls-radius);
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.ls-nav-link:hover {
  color: var(--ls-text) !important;
  text-decoration: none !important;
}

/* ---- Header CTA buttons ---- */
.ls-header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Ghost / Sign In button */
.ls-btn-ghost {
  font-family: var(--ls-font) !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ls-text) !important;
  background: transparent;
  border: none;
  padding: 0.5rem 0.875rem;
  border-radius: var(--ls-radius);
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.ls-btn-ghost:hover {
  background-color: rgba(255,255,255,0.06);
  color: var(--ls-text) !important;
  text-decoration: none !important;
}

/* Primary / Get Started button */
.ls-btn-primary {
  font-family: var(--ls-font) !important;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff !important;
  background-color: var(--ls-primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--ls-radius);
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.ls-btn-primary:hover {
  background-color: var(--ls-primary-hover);
  color: #ffffff !important;
  text-decoration: none !important;
}

.ls-btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Full-width variant for mobile */
.ls-btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- Mobile hamburger ---- */
.ls-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  cursor: pointer;
  padding: 0;
}

.ls-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ls-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ls-mobile-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ls-mobile-toggle--open span:nth-child(2) { opacity: 0; }
.ls-mobile-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile nav drawer ---- */
.ls-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--ls-border);
  background-color: rgba(13, 17, 27, 0.97);
}

.ls-mobile-nav--open {
  display: flex;
}

.ls-mobile-link {
  font-family: var(--ls-font) !important;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ls-text-muted) !important;
  text-decoration: none !important;
  padding: 0.625rem 0.5rem;
  border-radius: var(--ls-radius);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.ls-mobile-link:hover {
  color: var(--ls-text) !important;
  background-color: rgba(255,255,255,0.04);
}

.ls-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ls-border);
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.site-content,
#content {
  background-color: var(--ls-bg) !important;
}

.content-area,
#primary {
  background-color: var(--ls-bg) !important;
}

/* GeneratePress wraps content in .inside-article, .content-area etc.
   Override the container to match linksonar.io's max-width 1280px */
.site-main,
#main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background-color: var(--ls-bg) !important;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ls-font) !important;
  color: var(--ls-text) !important;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: var(--ls-text-muted);
  margin-bottom: 1.5rem;
}

strong, b { color: var(--ls-text); font-weight: 600; }
em, i     { color: var(--ls-text-muted); }

a {
  color: var(--ls-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--ls-primary-hover);
  text-decoration: underline;
}

/* ============================================================
   BLOG POST CARDS (archive / home)
   ============================================================ */
.post,
article.post {
  background-color: var(--ls-bg-card) !important;
  border: 1px solid var(--ls-border-faint);
  border-radius: var(--ls-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post:hover,
article.post:hover {
  border-color: rgba(59, 109, 244, 0.30);
  transform: translateY(-2px);
}

.entry-title,
.entry-title a {
  color: var(--ls-text) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.3;
}

.entry-title a:hover {
  color: var(--ls-primary) !important;
  text-decoration: none !important;
}

.entry-meta,
.posted-on,
.byline,
.cat-links,
.tags-links {
  color: var(--ls-text-subtle) !important;
  font-size: 0.875rem;
}

.entry-meta a { color: var(--ls-text-subtle) !important; }
.entry-meta a:hover { color: var(--ls-primary) !important; }

.entry-content,
.entry-summary {
  color: var(--ls-text-muted) !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--ls-text) !important;
}

.entry-content p { color: var(--ls-text-muted); line-height: 1.8; }
.entry-content a { color: var(--ls-primary); }
.entry-content a:hover { color: var(--ls-primary-hover); }

/* ---- Single post ---- */
.single .entry-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ls-border);
}

.single .entry-title {
  font-size: 2.25rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem;
}

.post-thumbnail img,
.wp-post-image {
  width: 100%;
  height: auto;
  border-radius: var(--ls-radius);
  margin-bottom: 2rem;
}

/* ---- Read more link ---- */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--ls-primary) !important;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none !important;
}

.more-link:hover {
  color: var(--ls-primary-hover) !important;
  text-decoration: underline !important;
}

/* ============================================================
   BLOCKQUOTE / CODE / TABLES
   ============================================================ */
blockquote {
  border-left: 4px solid var(--ls-primary);
  background: var(--ls-bg-elevated);
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--ls-radius) var(--ls-radius) 0;
}

blockquote p {
  color: var(--ls-text) !important;
  font-style: italic;
  margin-bottom: 0;
}

code, kbd, samp {
  background: var(--ls-bg-elevated);
  color: var(--ls-primary);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

pre {
  background: var(--ls-bg-elevated);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code { background: none; padding: 0; color: var(--ls-text-muted); }

table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
th {
  background: var(--ls-bg-elevated);
  color: var(--ls-text);
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ls-border);
}
td {
  color: var(--ls-text-muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ls-border);
}
tr:hover td { background: rgba(255,255,255,0.02); }

hr {
  border: none;
  border-top: 1px solid var(--ls-border);
  margin: 2rem 0;
}

/* ============================================================
   CATEGORY / TAG BADGES
   ============================================================ */
.cat-links a,
.tags-links a {
  display: inline-block;
  background: rgba(59, 109, 244, 0.12);
  color: var(--ls-primary) !important;
  border: 1px solid rgba(59, 109, 244, 0.25);
  border-radius: 9999px;
  padding: 0.2em 0.75em;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.cat-links a:hover,
.tags-links a:hover {
  background: rgba(59, 109, 244, 0.22);
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget-area,
#secondary {
  background: transparent;
}

.widget {
  background: var(--ls-bg-card);
  border: 1px solid var(--ls-border-faint);
  border-radius: var(--ls-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  color: var(--ls-text) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ls-border);
}

.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--ls-border-faint);
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--ls-text-muted) !important; font-size: 0.9375rem; }
.widget ul li a:hover { color: var(--ls-primary) !important; }

/* ---- Search form ---- */
.search-form input[type="search"] {
  background: var(--ls-bg-elevated);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  color: var(--ls-text);
  padding: 0.625rem 1rem;
  font-family: var(--ls-font);
  width: 100%;
}

.search-form input[type="search"]::placeholder { color: var(--ls-text-subtle); }
.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--ls-primary);
  box-shadow: 0 0 0 3px rgba(59, 109, 244, 0.15);
}

/* ---- Buttons ---- */
.wp-block-button__link,
.button,
input[type="submit"] {
  background-color: var(--ls-primary) !important;
  color: #ffffff !important;
  border: none;
  border-radius: var(--ls-radius);
  padding: 0.625rem 1.25rem;
  font-family: var(--ls-font);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-decoration: none !important;
}

.wp-block-button__link:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: var(--ls-primary-hover) !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.nav-links {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 3rem 0;
}

.page-numbers,
.nav-links a,
.nav-links span {
  background: var(--ls-bg-card);
  border: 1px solid var(--ls-border);
  color: var(--ls-text-muted) !important;
  border-radius: var(--ls-radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.page-numbers:hover,
.nav-links a:hover {
  border-color: var(--ls-primary);
  color: var(--ls-primary) !important;
}

.page-numbers.current {
  background: var(--ls-primary);
  border-color: var(--ls-primary);
  color: #ffffff !important;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comment-list .comment {
  background: var(--ls-bg-card);
  border: 1px solid var(--ls-border-faint);
  border-radius: var(--ls-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.comment-author .fn { color: var(--ls-text) !important; font-weight: 600; }
.comment-meta a { color: var(--ls-text-subtle) !important; font-size: 0.875rem; }
.comment-content p { color: var(--ls-text-muted); }

.comment-form input,
.comment-form textarea {
  background: var(--ls-bg-elevated);
  border: 1px solid var(--ls-border);
  border-radius: var(--ls-radius);
  color: var(--ls-text);
  padding: 0.625rem 1rem;
  font-family: var(--ls-font);
  width: 100%;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--ls-primary);
  box-shadow: 0 0 0 3px rgba(59, 109, 244, 0.15);
}

/* ============================================================
   FOOTER
   Matches MarketingFooter.tsx exactly:
   - border-t border-border/40 mt-20
   - 4-column grid: logo+tagline | Product | Company | Legal
   - Trust badges row
   - Copyright
   ============================================================ */
.ls-footer {
  background-color: var(--ls-bg-card);
  border-top: 1px solid rgba(41, 46, 56, 0.40);
  margin-top: 5rem;
}

.ls-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* 4-column grid */
.ls-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Brand column */
.ls-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ls-footer-tagline {
  font-size: 0.875rem;
  color: var(--ls-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Nav columns */
.ls-footer-heading {
  font-family: var(--ls-font) !important;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ls-text) !important;
  margin: 0 0 1rem 0;
}

.ls-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ls-footer-links li a {
  font-size: 0.875rem;
  color: var(--ls-text-muted) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.ls-footer-links li a:hover {
  color: var(--ls-text) !important;
  text-decoration: none !important;
}

/* Trust badges + copyright */
.ls-footer-bottom {
  border-top: 1px solid rgba(41, 46, 56, 0.40);
  padding-top: 2rem;
}

.ls-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.ls-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ls-text-muted);
}

.ls-trust-badge svg {
  flex-shrink: 0;
  color: var(--ls-text-muted);
}

.ls-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: var(--ls-text-muted);
  margin: 0;
}

/* ============================================================
   STICKY POST BADGE
   ============================================================ */
.sticky .entry-title::before {
  content: 'Featured';
  display: inline-block;
  background: var(--ls-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 9999px;
  margin-right: 0.75rem;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   GUTENBERG BLOCKS
   ============================================================ */
.wp-block-separator { border-color: var(--ls-border) !important; margin: 2rem 0; }

.wp-block-pullquote {
  border-color: var(--ls-primary) !important;
  background: var(--ls-bg-elevated);
  border-radius: var(--ls-radius);
  padding: 2rem;
}

.wp-block-pullquote blockquote { border: none; background: none; padding: 0; }
.wp-block-pullquote p { color: var(--ls-text) !important; font-size: 1.25rem; }

.entry-content ul,
.entry-content ol {
  color: var(--ls-text-muted);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content ul li,
.entry-content ol li { margin-bottom: 0.5rem; }
.entry-content ul li::marker { color: var(--ls-primary); }

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .ls-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ls-header { top: 46px; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ls-nav { display: none; }
  .ls-header-cta { display: none; }
  .ls-mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .ls-header-inner { padding: 0 1rem; }

  .site-main, #main { padding: 2rem 1rem; }

  /* ---- MOBILE LAYOUT: stack content + sidebar vertically ---- */
  /* GeneratePress uses display:flex on .site-content; on mobile we
     must switch to column so the sidebar drops below the post body
     instead of sitting beside it and squeezing the content column. */
  .site-content,
  #content {
    flex-direction: column !important;
  }

  /* Content area takes full width on mobile */
  .content-area,
  #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* Sidebar drops below content and takes full width */
  .widget-area,
  #secondary,
  .sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-top: 2rem;
  }

  /* Prevent any fixed pixel widths on the inner article wrapper */
  .inside-article,
  .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Ensure images and embeds don't overflow on mobile */
  .entry-content img,
  .entry-content iframe,
  .entry-content video,
  .entry-content table {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Table overflow: allow horizontal scroll instead of breaking layout */
  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ls-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .ls-footer-brand {
    grid-column: 1 / -1;
  }

  .ls-trust-badges { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .ls-footer-grid {
    grid-template-columns: 1fr;
  }

  .ls-footer-brand { grid-column: auto; }
}

/* ============================================================
   GENERATEPRESS CSS VARIABLE OVERRIDES
   GeneratePress defines --base-3: #ffffff and uses it for
   .sidebar .widget { background: var(--base-3) } which paints
   all sidebar widgets white. We override the GP variable here
   and also add a direct background rule with higher specificity
   to ensure the dark theme is always applied.

   DO NOT REMOVE — removing this block will make sidebar widgets
   and any other GP components that use --base-2 / --base-3
   render with a white background again.
   ============================================================ */
:root {
  --base-2: var(--ls-bg-card);
  --base-3: var(--ls-bg-card);
}

/* Belt-and-suspenders: override GP's .sidebar .widget rule directly */
.sidebar .widget,
.widget-area .widget,
#secondary .widget,
.widget.inner-padding {
  background: var(--ls-bg-card) !important;
  color: var(--ls-text) !important;
}
