/* LuckyList global theme overlay
 * Black + Gold + Red palette
 * Loaded after Sigma defaults via head.php
 */

:root {
  --ll-black: #0a0a0a;
  --ll-panel: #1a1a1a;
  --ll-panel-2: #1f1f1f;
  --ll-border: #2a2a2a;
  --ll-text: #f5f5f5;
  --ll-muted: #999;
  --ll-gold: #d4af37;
  --ll-gold-bright: #f0c64a;
  --ll-red: #e60000;
  --ll-red-bright: #ff1a1a;
}

html, body { background: var(--ll-black) !important; color: var(--ll-text) !important; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; }
a { color: var(--ll-text); }
a:hover { color: var(--ll-gold); }
hr { border-color: var(--ll-border); }

/* HEADER */
header, #header, .header, .topbar, .top-bar {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%) !important;
  border-bottom: 2px solid var(--ll-gold) !important;
  color: var(--ll-text) !important;
}
header a, #header a, .header a { color: var(--ll-text) !important; }
header a:hover, #header a:hover, .header a:hover { color: var(--ll-gold) !important; }
.logo, .logo a { color: var(--ll-gold) !important; font-weight: 700; letter-spacing: 1px; }
header .logo h1, header .logo h2, .logo h1, .logo h2 { color: var(--ll-gold) !important; }
header nav a, #navbar a, .nav a, .navbar a { color: var(--ll-text) !important; }
header nav a:hover, #navbar a:hover, .nav a:hover, .navbar a:hover { color: var(--ll-gold) !important; }
.user-actions a, .user-menu a, .login a, .register a { color: var(--ll-text) !important; }
.btn-primary, .btn.publish, a.btn-publish, .post-ad, a.post-ad, .post-an-ad {
  background: var(--ll-red) !important;
  color: #fff !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.btn-primary:hover, .post-ad:hover, .post-an-ad:hover { background: var(--ll-red-bright) !important; }

/* Buttons */
button, .btn, input[type="submit"] {
  background: var(--ll-gold) !important;
  color: var(--ll-black) !important;
  border: none !important;
  font-weight: 700;
  cursor: pointer;
}
button:hover, .btn:hover, input[type="submit"]:hover { background: var(--ll-gold-bright) !important; }
.btn.secondary, .btn-secondary { background: transparent !important; color: var(--ll-gold) !important; border: 1px solid var(--ll-gold) !important; }

/* Form inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], textarea, select {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  color: var(--ll-text) !important;
  border-radius: 4px;
}
input:focus, textarea:focus, select:focus { border-color: var(--ll-gold) !important; outline: none; }
input::placeholder, textarea::placeholder { color: #666; }

/* Page wrappers */
#main, #content, .container, .wrap, .wrapper, .page-content {
  background: var(--ll-black) !important;
  color: var(--ll-text) !important;
}

/* Headings */
h1, h2, h3, h4, h5 { color: var(--ll-gold) !important; }
h1 a, h2 a, h3 a, h4 a, h5 a { color: var(--ll-text) !important; }

/* Search results / listings cards */
.list-default, .list-grid, .listing-grid, .item, .ads, .ad, .listing, .listing-card {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 6px;
  color: var(--ll-text) !important;
}
.list-default li, .list-grid li {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 14px;
  transition: all 0.2s;
}
.list-default li:hover, .list-grid li:hover, .listing:hover, .listing-card:hover {
  border-color: var(--ll-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,175,55,0.15);
}
.item h2 a, .listing h2 a, .listing-card h2 a, .ad-title, .ad-title a {
  color: var(--ll-text) !important;
  font-weight: 600;
}
.item h2 a:hover, .listing h2 a:hover { color: var(--ll-gold) !important; }
.price, .item-price, .ad-price, .listing-price { color: var(--ll-gold) !important; font-weight: 700; }
.location, .item-location, .ad-location, .city { color: var(--ll-muted) !important; }
.date, .item-date, .ad-date { color: #777; font-size: 13px; }

/* Premium/featured listings */
.premium, .featured, .item-premium { border: 1px solid var(--ll-gold) !important; box-shadow: 0 0 12px rgba(212,175,55,0.18); }
.premium-flag, .featured-flag { background: var(--ll-gold) !important; color: var(--ll-black) !important; }

/* Search page filters/sidebar */
.search-sidebar, #search-sidebar, .sidebar, .filter-bar, .filters, .search-filters {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 6px;
  color: var(--ll-text) !important;
}
.sidebar h2, .sidebar h3, .search-sidebar h2, .search-sidebar h3 { color: var(--ll-gold) !important; }
.sidebar a, .search-sidebar a { color: var(--ll-text) !important; }
.sidebar a:hover, .search-sidebar a:hover { color: var(--ll-gold) !important; }

/* Pagination */
.pagination, .pager { display: flex; gap: 6px; }
.pagination a, .pager a, .pagination span, .pager span {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  color: var(--ll-text) !important;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
}
.pagination a:hover, .pager a:hover { background: var(--ll-gold) !important; color: var(--ll-black) !important; border-color: var(--ll-gold) !important; }
.pagination .active, .pagination .current, .pager .active, .pager .current { background: var(--ll-gold) !important; color: var(--ll-black) !important; border-color: var(--ll-gold) !important; }

/* Item detail page */
.item-detail, #item, .detail, .single-listing {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 8px;
  padding: 20px;
}
.item-detail h1, #item h1 { color: var(--ll-gold) !important; }
.item-detail .price, #item .price { color: var(--ll-gold) !important; font-size: 28px; font-weight: 700; }
.item-images img, .gallery img { border-radius: 6px; border: 1px solid var(--ll-border); }
.item-description, .description { color: var(--ll-text); line-height: 1.6; }
.contact-form, .item-contact, .send-friend {
  background: var(--ll-black) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 6px;
  padding: 16px;
}

/* Post-an-ad form */
.publish, #publish, .post-form, .item-post-form {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 8px;
  padding: 24px;
}
.publish label, .publish .label, .item-post-form label {
  color: var(--ll-gold) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.publish input, .publish textarea, .publish select { background: var(--ll-black) !important; }
.publish .button-primary, .publish button[type="submit"] {
  background: var(--ll-red) !important;
  color: #fff !important;
  font-size: 16px;
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.publish .button-primary:hover { background: var(--ll-red-bright) !important; }

/* Footer */
footer, #footer, .footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%) !important;
  border-top: 2px solid var(--ll-gold) !important;
  color: var(--ll-text) !important;
  padding: 36px 20px 24px;
}
footer a, #footer a, .footer a { color: var(--ll-text) !important; text-decoration: none; }
footer a:hover, #footer a:hover, .footer a:hover { color: var(--ll-gold) !important; }
footer h3, footer h4, .footer h3, .footer h4 { color: var(--ll-gold) !important; text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; }
footer .copyright, .footer .copyright { color: #777; font-size: 13px; text-align: center; padding-top: 20px; border-top: 1px solid var(--ll-border); margin-top: 20px; }

/* Breadcrumbs */
.breadcrumb, .breadcrumbs {
  background: transparent !important;
  color: var(--ll-muted) !important;
  padding: 12px 0;
  font-size: 13px;
}
.breadcrumb a, .breadcrumbs a { color: var(--ll-gold) !important; text-decoration: none; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--ll-gold-bright) !important; }

/* Flash messages */
.flash-message, .alert, .message, .notice {
  border-radius: 6px;
  padding: 12px 16px;
  margin: 16px 0;
}
.flash-ok, .alert-success { background: rgba(40,167,69,0.15) !important; border: 1px solid #28a745 !important; color: #d4edda !important; }
.flash-error, .alert-danger { background: rgba(230,0,0,0.15) !important; border: 1px solid var(--ll-red) !important; color: #ffd7d7 !important; }
.flash-warning, .alert-warning { background: rgba(212,175,55,0.15) !important; border: 1px solid var(--ll-gold) !important; color: #fff3cd !important; }
.flash-info, .alert-info { background: rgba(23,162,184,0.15) !important; border: 1px solid #17a2b8 !important; color: #d1ecf1 !important; }

/* User dashboard */
.dashboard, #dashboard, .user-dashboard {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 8px;
  padding: 20px;
}
.dashboard h2, .dashboard h3 { color: var(--ll-gold) !important; }

/* Cards / widgets */
.widget, .card, .panel, .box {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 6px;
  padding: 16px;
}
.widget h3, .card h3, .panel h3, .widget-title { color: var(--ll-gold) !important; text-transform: uppercase; letter-spacing: 1px; font-size: 15px; }

/* Tables */
table { border-collapse: collapse; width: 100%; }
table th { background: var(--ll-panel) !important; color: var(--ll-gold) !important; border: 1px solid var(--ll-border) !important; padding: 10px; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
table td { background: var(--ll-black) !important; color: var(--ll-text) !important; border: 1px solid var(--ll-border) !important; padding: 10px; }
table tr:hover td { background: var(--ll-panel) !important; }

/* Categories list (search sidebar) */
.cats, .categories-list, .category-list { list-style: none; padding: 0; }
.cats li, .categories-list li, .category-list li { border-bottom: 1px solid var(--ll-border); padding: 8px 0; }
.cats li a, .categories-list li a { color: var(--ll-text) !important; display: flex; justify-content: space-between; }
.cats li a:hover { color: var(--ll-gold) !important; }
.cats li a em { color: #666; font-style: normal; }

/* Dropdowns / selects */
select { padding: 10px 14px; padding-right: 36px; }

/* Images */
.no-image, .no-photo {
  background: var(--ll-black) !important;
  border: 1px dashed var(--ll-border) !important;
  color: #444 !important;
}

/* Tags / badges */
.tag, .badge, .label, .chip {
  background: var(--ll-panel) !important;
  color: var(--ll-gold) !important;
  border: 1px solid var(--ll-gold) !important;
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.tag.hot, .badge.hot { background: var(--ll-red) !important; color: #fff !important; border-color: var(--ll-red) !important; }

/* Login / register */
.login-form, .register-form, .auth-form, .form-login, .form-register {
  background: var(--ll-panel) !important;
  border: 1px solid var(--ll-border) !important;
  border-radius: 8px;
  padding: 28px;
  max-width: 480px;
  margin: 40px auto;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ll-black); }
::-webkit-scrollbar-thumb { background: var(--ll-border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--ll-gold); }

/* Selection */
::selection { background: var(--ll-gold); color: var(--ll-black); }

/* Mobile menu */
.mobile-nav, .mobile-menu, .nav-mobile {
  background: var(--ll-black) !important;
  border-top: 1px solid var(--ll-gold) !important;
}
.mobile-nav a, .mobile-menu a { color: var(--ll-text) !important; border-bottom: 1px solid var(--ll-border); padding: 12px 16px; }

/* Body class overrides - prevent CSS framework misfires */
body.error, body.not-found, body.has-searchbox.error, body.has-searchbox.not-found { background: var(--ll-black) !important; color: var(--ll-text) !important; }
body.error h1, body.not-found h1 { color: var(--ll-gold) !important; }
body.error a, body.not-found a { color: var(--ll-gold) !important; }

/* Hero overrides — beat Sigma !important rules */
.ll-hero h1 { color: var(--ll-gold) !important; }
.lp-hero h1 { color: var(--ll-gold) !important; }
.lpe-hero h1 { color: var(--ll-red) !important; }
.ll-feature.personals h3 { color: var(--ll-red) !important; }
.ll-feature.providers h3 { color: var(--ll-gold) !important; }
.lp-section-title { color: var(--ll-gold) !important; }
.lpe-section-title { color: var(--ll-red) !important; }
.ll-section h2 { color: var(--ll-gold) !important; }
#home-cats h2, #home-regs h2 { color: var(--ll-gold) !important; }
.lpe-cat .code { color: var(--ll-gold) !important; }

/* Personals/Providers card buttons - beat Sigma .btn */
.ll-feature.personals .btn { background: var(--ll-red) !important; color: #fff !important; }
.ll-feature.personals:hover .btn { background: var(--ll-red-bright) !important; }
.ll-feature.providers .btn { background: var(--ll-gold) !important; color: var(--ll-black) !important; }
.ll-feature.providers:hover .btn { background: var(--ll-gold-bright) !important; }
.ll-feature.personals { border-color: var(--ll-red) !important; }
.ll-feature.providers { border-color: var(--ll-gold) !important; }
.ll-feature.personals .icon { color: var(--ll-red) !important; }
.ll-feature.providers .icon { color: var(--ll-gold) !important; }
.lp-filter-btn { background: var(--ll-red) !important; color: #fff !important; }
.lp-filter-btn:hover { background: var(--ll-red-bright) !important; }
.lpe-filter-btn { background: var(--ll-gold) !important; color: var(--ll-black) !important; }
.lpe-filter-btn:hover { background: var(--ll-gold-bright) !important; }
.ll-hero button { background: var(--ll-gold) !important; color: var(--ll-black) !important; }
.ll-hero button:hover { background: var(--ll-gold-bright) !important; }
.lp-service.hot .lp-icon { color: var(--ll-red) !important; }
.lp-service .lp-icon { color: var(--ll-gold) !important; }
.lpe-cat .lpe-icon { color: var(--ll-red) !important; }
.lpe-cat.gold .lpe-icon { color: var(--ll-gold) !important; }
.lp-service h3, .lpe-cat h3 { color: var(--ll-text) !important; }
.ll-listing-price { color: var(--ll-gold) !important; }

/* Badge overrides for personals/providers cards */
.lpe-cat .badge { background: var(--ll-gold) !important; color: var(--ll-black) !important; }
.lp-service .badge { background: var(--ll-red) !important; color: #fff !important; }

/* Page-specific body bg overrides */
body.item, body.item-post, body.search, body.user, body.contact, body.login, body.register, body.has-searchbox { background: var(--ll-black) !important; color: var(--ll-text) !important; }
body.item h1, body.item-post h1, body.search h1, body.user h1, body.login h1, body.register h1 { color: var(--ll-gold) !important; }

/* Make Post Ad button red and prominent everywhere */
header a.publishButton, header a[href*="item_add"], a.publish-ad, a.post-ad, .post-ad-btn, header .nav a:last-child { background: var(--ll-red) !important; color: #fff !important; padding: 8px 18px !important; border-radius: 4px !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 1px; }
header a.publishButton:hover, header a[href*="item_add"]:hover, a.publish-ad:hover, a.post-ad:hover { background: var(--ll-red-bright) !important; }

/* Mini polish */
.ll-feature:hover .icon { transform: scale(1.1); transition: transform 0.3s; }
.lp-service:hover .lp-icon, .lpe-cat:hover .lpe-icon { transform: scale(1.08); transition: transform 0.3s; }

/* Replace OSClass/Sigma logo with LUCKYLIST text */
#logo .logo-img { display: none !important; }
#logo .logo-link { text-decoration: none !important; display: inline-block; padding: 18px 0; }
#logo .logo-link::before {
  content: "LUCKYLIST";
  color: var(--ll-gold);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 0 2px 12px rgba(30,64,175,0.55);
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
}
#logo .logo-link:hover::before { color: #2563eb; text-shadow: 0 2px 18px rgba(30,64,175,0.75); }
@media (max-width: 720px) { #logo .logo-link::before { font-size: 24px; letter-spacing: 2px; } }

/* Darken Sigma home-search section (the cream/light box up top) */
body.home .home-search, .home-search {
  background: var(--ll-black) !important;
  border-bottom: 1px solid var(--ll-border) !important;
  padding: 0 !important;
}
body.home .home-search > .box, body.home .home-search .search.box {
  background: var(--ll-black) !important;
  display: none !important;
}
/* Hide the duplicate search section entirely on home page since our hero has search */
body.home .home-search { display: none !important; }

/* Home page mobile-first compact layout */
body.home > section { padding: 0 !important; }
body.home > section > .widget { display: none !important; }
body.home #content { padding: 0 !important; margin: 0 !important; }
body.home #main { padding: 0 !important; }

@media (max-width: 900px) {
  body.home header { padding: 8px 0 !important; }
  body.home #logo .logo-link { padding: 8px 0 !important; }
  body.home #logo .logo-link::before { font-size: 22px !important; letter-spacing: 2px !important; }
  body.home .ll-tag { padding: 10px 12px 6px !important; }
  body.home .ll-tag h2 { font-size: 22px !important; }
  body.home .ll-tag p { font-size: 28px !important; line-height: 1.1 !important; }
  body.home .ll-trio { gap: 8px !important; padding: 0 10px 10px !important; }
  body.home .ll-trio a.tile { padding: 12px 10px !important; min-height: 0 !important; }
  body.home .ll-trio a.tile .icon { font-size: 26px !important; margin-bottom: 4px !important; }
  body.home .ll-trio a.tile h2 { font-size: 15px !important; letter-spacing: 1.5px !important; margin-bottom: 1px !important; }
  body.home .ll-trio a.tile p { font-size: 10px !important; }
}

/* Tagline pump-up - leolist-style compact cards */
.ll-tag p { font-size: 38px !important; font-weight: 800 !important; }
@media (max-width: 900px) { .ll-tag p { font-size: 28px !important; } }
@media (max-width: 480px) { .ll-tag p { font-size: 24px !important; } }

/* Blue logo + solid blue CTA tiles */
#logo .logo-link::before { color: #1e40af !important; text-shadow: 0 2px 12px rgba(30,64,175,0.55) !important; }
#logo .logo-link:hover::before { color: #2563eb !important; text-shadow: 0 2px 18px rgba(30,64,175,0.75) !important; }

.ll-trio a.tile { background: #1e40af !important; border-color: #1e40af !important; color: #ffffff !important; }
.ll-trio a.tile:hover { background: #2563eb !important; border-color: #2563eb !important; box-shadow: 0 8px 22px rgba(30,64,175,0.45) !important; }
.ll-trio a.tile .icon { color: #ffffff !important; }
.ll-trio a.tile h2 { color: #ffffff !important; }
.ll-trio a.tile p { color: #dbeafe !important; }

/* Final blue-CTA overrides with body-scope specificity */
body.home .ll-trio a.tile { background: #1e40af !important; border-color: #1e40af !important; color: #ffffff !important; }
body.home .ll-trio a.tile:hover { background: #2563eb !important; border-color: #2563eb !important; }
body.home .ll-trio a.tile .icon { color: #ffffff !important; }
body.home .ll-trio a.tile h2 { color: #ffffff !important; }
body.home .ll-trio a.tile p { color: #dbeafe !important; }

/* ===== LEOLIST-STYLE PINK TAKEOVER ===== */
:root { --ll-pink: #ec4899; --ll-pink-bright: #f472b6; --ll-pink-deep: #db2777; }
html, body, body.home, body.providers, body.personals, body.swingers, body.search, body.item, body.item-post, body.login, body.register, body.user, body.has-searchbox {
  font-family: "Poppins", "Segoe UI", sans-serif !important;
  background: #0a0a0a !important;
  color: #f5f5f5 !important;
}
h1, h2, h3, h4, h5 { font-family: "Poppins", sans-serif !important; }

/* Logo: bright pink */
#logo .logo-link::before { color: #ec4899 !important; text-shadow: 0 2px 16px rgba(236,72,153,0.6) !important; }
#logo .logo-link:hover::before { color: #f472b6 !important; text-shadow: 0 2px 22px rgba(236,72,153,0.85) !important; }

/* Header & footer borders pink */
header, #header { border-bottom-color: #ec4899 !important; }
footer, .footer { border-top-color: #ec4899 !important; }
footer h4 { color: #ec4899 !important; }

/* Buttons: pink */
button, .btn, input[type="submit"] { background: #ec4899 !important; color: #fff !important; }
button:hover, .btn:hover, input[type="submit"]:hover { background: #f472b6 !important; }

/* Headings pink */
h1, h2, h3, h4, h5 { color: #ec4899 !important; }

/* Form focus rings pink */
input:focus, textarea:focus, select:focus { border-color: #ec4899 !important; }

/* Pagination active state pink */
.pagination .active, .pagination .current, .pager .active, .pager .current { background: #ec4899 !important; color: #fff !important; border-color: #ec4899 !important; }
.pagination a:hover { background: #ec4899 !important; color: #fff !important; border-color: #ec4899 !important; }

/* Listing card hovers pink */
.list-default li:hover, .list-grid li:hover, .listing:hover, .listing-card:hover {
  border-color: #ec4899 !important;
  box-shadow: 0 6px 18px rgba(236,72,153,0.25) !important;
}
.price, .item-price, .ad-price, .listing-price, .ll-listing-price { color: #ec4899 !important; }

/* Selection / scrollbar pink */
::-webkit-scrollbar-thumb:hover { background: #ec4899 !important; }
::selection { background: #ec4899 !important; color: #fff !important; }

/* Nav highlight links — keep readable */
header a:hover, .nav a:hover { color: #ec4899 !important; }

/* Override any leftover gold/red/blue on home tile cards */
body.home .ll-trio a.tile {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%) !important;
  border: 1px solid #2a2a2a !important;
  color: #f5f5f5 !important;
}
body.home .ll-trio a.tile:hover {
  background: linear-gradient(135deg, #1f1f1f 0%, #141414 100%) !important;
  border-color: #ec4899 !important;
  box-shadow: 0 8px 28px rgba(236,72,153,0.35) !important;
  transform: translateY(-2px);
}
body.home .ll-trio a.tile .icon { color: #ec4899 !important; text-shadow: 0 0 16px rgba(236,72,153,0.5) !important; }
body.home .ll-trio a.tile h2 { color: #f5f5f5 !important; }
body.home .ll-trio a.tile p { color: #888 !important; }
body.home .ll-trio a.tile:hover h2 { color: #ec4899 !important; }
body.home .ll-panel { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-width: 900px !important; margin: 0 auto 30px !important; }

/* Tagline pink */
.ll-tag p { color: #ec4899 !important; text-shadow: 0 2px 18px rgba(236,72,153,0.55) !important; }

/* ===== WHITE THEME OVERRIDE ===== */
html, body, body.home, body.providers, body.personals, body.swingers, body.search, body.item, body.item-post, body.login, body.register, body.user, body.has-searchbox, body.error, body.not-found {
  background: #ffffff !important;
  color: #1a1a1a !important;
  font-family: "Poppins", "Segoe UI", sans-serif !important;
}
body a { color: #1e40af; }
body a:hover { color: #2563eb; }

/* Logo BLUE on white header */
header, #header, .header { background: #ffffff !important; border-bottom: 2px solid #1e40af !important; }
header a, #header a { color: #1a1a1a !important; }
header a:hover { color: #1e40af !important; }
#logo .logo-link::before { color: #1e40af !important; text-shadow: 0 2px 12px rgba(30,64,175,0.35) !important; }
#logo .logo-link:hover::before { color: #2563eb !important; }

/* Footer - light too */
footer, #footer, .footer { background: #f8fafc !important; border-top: 2px solid #1e40af !important; color: #1a1a1a !important; }
footer a, .footer a { color: #475569 !important; }
footer a:hover, .footer a:hover { color: #1e40af !important; }
footer h4 { color: #1e40af !important; }
footer .copyright, .footer .copyright { color: #64748b !important; }

/* Headings */
h1, h2, h3, h4, h5 { color: #1e40af !important; }

/* Buttons */
button, .btn, input[type="submit"] { background: #1e40af !important; color: #fff !important; }
button:hover, .btn:hover, input[type="submit"]:hover { background: #2563eb !important; }

/* Form inputs */
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], textarea, select {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1a1a1a !important;
}
input:focus, textarea:focus, select:focus { border-color: #1e40af !important; }
input::placeholder { color: #94a3b8 !important; }

/* Listing cards on light */
.list-default li, .list-grid li, .listing, .listing-card, .ll-listing {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1a1a1a !important;
}
.list-default li:hover, .list-grid li:hover, .listing:hover { border-color: #1e40af !important; box-shadow: 0 6px 18px rgba(30,64,175,0.18) !important; }
.price, .item-price, .ad-price, .ll-listing-price { color: #1e40af !important; }

/* Pagination */
.pagination a, .pager a {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #1a1a1a !important;
}
.pagination a:hover, .pagination .active, .pagination .current { background: #1e40af !important; color: #fff !important; border-color: #1e40af !important; }

/* Sidebar widgets */
.widget, .sidebar { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; color: #1a1a1a !important; }
.widget h3, .sidebar h3 { color: #1e40af !important; }

/* Tagline RED on white */
.ll-tag p { color: #e60000 !important; text-shadow: 0 2px 14px rgba(230,0,0,0.18) !important; }

/* Home tiles on white — light cards with blue border/text */
body.home .ll-trio a.tile {
  background: #ffffff !important;
  border: 2px solid #1e40af !important;
  color: #1a1a1a !important;
}
body.home .ll-trio a.tile:hover {
  background: #1e40af !important;
  border-color: #1e40af !important;
  box-shadow: 0 8px 22px rgba(30,64,175,0.35) !important;
  transform: translateY(-2px);
}
body.home .ll-trio a.tile .icon { color: #1e40af !important; text-shadow: none !important; }
body.home .ll-trio a.tile h2 { color: #1e40af !important; }
body.home .ll-trio a.tile p { color: #64748b !important; }
body.home .ll-trio a.tile .arrow { color: #cbd5e1 !important; }
body.home .ll-trio a.tile:hover .icon, body.home .ll-trio a.tile:hover h2, body.home .ll-trio a.tile:hover p, body.home .ll-trio a.tile:hover .arrow { color: #ffffff !important; }

/* Header nav links (Personals/Providers/Swingers) on white */
header a[href*="personals.php"], header a[href*="providers.php"], header a[href*="swingers.php"] { color: #1e40af !important; }

/* Scrollbar light */
::-webkit-scrollbar-track { background: #f1f5f9 !important; }
::-webkit-scrollbar-thumb { background: #cbd5e1 !important; }
::-webkit-scrollbar-thumb:hover { background: #1e40af !important; }
::selection { background: #1e40af !important; color: #fff !important; }

/* ===== ALL 3 TILES SOLID BLUE — FINAL ===== */
body.home .ll-trio a.tile,
body.home .ll-trio a.tile.providers,
body.home .ll-trio a.tile.personals,
body.home .ll-trio a.tile.swingers {
   background: #1e40af !important;
   border-color: #1e40af !important;
   color: #ffffff !important;
}
body.home .ll-trio a.tile .icon { color: #ffffff !important; text-shadow: none !important; }
body.home .ll-trio a.tile h2 { color: #ffffff !important; }
body.home .ll-trio a.tile p { color: #dbeafe !important; }
body.home .ll-trio a.tile .arrow { color: #ffffff !important; opacity: 0.65; }
body.home .ll-trio a.tile:hover {
   background: #2563eb !important;
   border-color: #2563eb !important;
   box-shadow: 0 8px 26px rgba(30,64,175,0.4) !important;
   transform: translateY(-3px);
}
body.home .ll-trio a.tile:hover .arrow { opacity: 1; }
body.home .ll-trio a.tile:hover .icon, body.home .ll-trio a.tile:hover h2 { color: #ffffff !important; }

/* ===== KILL ALL REMAINING DARK BACKGROUNDS ===== */
.box, header .box, footer .box, body .box {
   background: transparent !important;
   color: #1a1a1a !important;
}
#main, body #main, body.home #main {
   background: #ffffff !important;
   color: #1a1a1a !important;
}
#content, .wrapper, body > section, body > section.home-search {
   background: #ffffff !important;
}
header, header .box, header * { color: #1a1a1a !important; }
header a { color: #1a1a1a !important; }
header a:hover { color: #1e40af !important; }
footer, footer .box, footer * { color: #1a1a1a !important; }
footer a { color: #475569 !important; }
/* Header logo nav links */
header [href*="personals.php"], header [href*="providers.php"], header [href*="swingers.php"] { color: #1e40af !important; }

/* ===== LUCKY CLOVER + UPPERCASE TAGLINE ===== */
#logo .logo-link::before { content: "\01F340  LUCKYLIST" !important; }
.ll-tag p { text-transform: uppercase !important; letter-spacing: 2px !important; }

/* ===== ONE-SCREEN HOMEPAGE FIT ===== */
body.home > section { padding: 0 !important; min-height: 0 !important; }
body.home #content { padding: 0 !important; }
body.home #main { padding: 0 !important; min-height: 0 !important; }

/* Compact header on home */
body.home header { padding: 4px 0 !important; }
body.home #logo .logo-link { padding: 6px 0 !important; }
body.home #logo .logo-link::before { font-size: 26px !important; letter-spacing: 2px !important; }
@media (max-width: 720px) {
  body.home #logo .logo-link::before { font-size: 22px !important; }
}

/* Compact tagline */
body.home .ll-tag { padding: 14px 12px 10px !important; }
body.home .ll-tag p { font-size: 32px !important; }
@media (max-width: 720px) {
  body.home .ll-tag { padding: 10px 12px 6px !important; }
  body.home .ll-tag p { font-size: 22px !important; }
}

/* Compact trio */
body.home .ll-trio { margin: 0 auto 10px !important; padding: 0 12px !important; }
body.home .ll-trio a.tile { padding: 14px 16px !important; }
body.home .ll-trio a.tile .icon { font-size: 28px !important; width: 40px !important; }
body.home .ll-trio a.tile h2 { font-size: 17px !important; margin: 0 0 2px !important; }
body.home .ll-trio a.tile p { font-size: 11px !important; line-height: 1.2 !important; }
@media (max-width: 720px) {
  body.home .ll-trio a.tile { padding: 11px 14px !important; }
  body.home .ll-trio a.tile .icon { font-size: 22px !important; width: 32px !important; }
  body.home .ll-trio a.tile h2 { font-size: 15px !important; }
  body.home .ll-trio a.tile p { font-size: 10px !important; }
}

/* Hide previous big footer block on home */
body.home .ll-footer-block { display: none !important; }

/* Slim footer everywhere */
footer { padding: 0 !important; min-height: 0 !important; }
footer > .ll-footer-min { padding: 10px 16px !important; }

/* ===== HOMEPAGE VERTICAL CENTERING ===== */
body.home { display: flex !important; flex-direction: column !important; min-height: 100vh !important; margin: 0 !important; }
body.home header { flex: 0 0 auto !important; }
body.home footer { flex: 0 0 auto !important; }
body.home > section:not(.home-search) {
   display: flex !important;
   flex-direction: column !important;
   justify-content: center !important;
   flex: 1 1 auto !important;
   padding: 0 !important;
}
body.home #content, body.home #main, body.home #content > #main { width: 100% !important; }

/* ===== KILL HEADER LINE + SWINGERS SIZE FIX ===== */
header, #header, .header { border-bottom: 0 !important; box-shadow: none !important; }

/* Swingers - same width as Providers/Personals (50% of trio panel) */
body.home .ll-trio .tile.swingers,
.ll-trio .tile.swingers {
   width: calc(50% - 7px) !important;
   max-width: calc(50% - 7px) !important;
   grid-column: 1 / -1 !important;
   justify-self: center !important;
   margin: 0 auto !important;
}
@media (max-width: 720px) {
   body.home .ll-trio .tile.swingers,
   .ll-trio .tile.swingers {
      width: 100% !important;
      max-width: 100% !important;
   }
}

/* ===== BIGGER TAGLINE ===== */
body.home .ll-tag p, .ll-tag p {
   font-size: 60px !important;
   line-height: 1.05 !important;
   font-weight: 800 !important;
   letter-spacing: 3px !important;
}
@media (max-width: 900px) {
   body.home .ll-tag p, .ll-tag p { font-size: 42px !important; letter-spacing: 2px !important; }
}
@media (max-width: 600px) {
   body.home .ll-tag p, .ll-tag p { font-size: 32px !important; letter-spacing: 1.5px !important; }
}
body.home .ll-tag, .ll-tag { padding: 18px 16px 22px !important; }

/* ===== NEW WORDMARK LOGO ===== */
/* Hide old fake logo text and image */
#logo .logo-link::before { content: none !important; }
#logo .logo-img { display: none !important; }

#logo .logo-link {
   display: inline-flex !important;
   align-items: center !important;
   gap: 10px !important;
   text-decoration: none !important;
   padding: 6px 0 !important;
   line-height: 1 !important;
}
#logo .ll-clover { width: 38px; height: 42px; flex-shrink: 0; transition: transform 0.4s; }
#logo .logo-link:hover .ll-clover { transform: rotate(-12deg) scale(1.08); }
#logo .ll-brand {
   font-family: "Bebas Neue", "Anton", "Oswald", sans-serif !important;
   font-size: 42px !important;
   font-weight: 400 !important;
   letter-spacing: 2px !important;
   line-height: 1 !important;
   display: inline-flex;
   align-items: baseline;
}
#logo .ll-lucky {
   color: #e60000 !important;
   text-shadow: 0 1px 6px rgba(230,0,0,0.18);
}
#logo .ll-list {
   color: #1e40af !important;
   text-shadow: 0 1px 6px rgba(30,64,175,0.18);
}
@media (max-width: 720px) {
   #logo .ll-brand { font-size: 30px !important; letter-spacing: 1.5px !important; }
   #logo .ll-clover { width: 28px; height: 32px; }
}
@media (max-width: 480px) {
   #logo .ll-brand { font-size: 26px !important; }
   #logo .ll-clover { width: 24px; height: 28px; }
}

/* ===== BIGGER LOGO ===== */
#logo .ll-brand { font-size: 64px !important; letter-spacing: 3px !important; }
#logo .ll-clover { width: 56px !important; height: 62px !important; }
@media (max-width: 720px) {
   #logo .ll-brand { font-size: 44px !important; letter-spacing: 2px !important; }
   #logo .ll-clover { width: 40px !important; height: 44px !important; }
}
@media (max-width: 480px) {
   #logo .ll-brand { font-size: 34px !important; }
   #logo .ll-clover { width: 32px !important; height: 36px !important; }
}

/* ===== PROVIDERS / PERSONALS / SWINGERS PAGES — WHITE THEME OVERRIDE ===== */
body.providers, body.personals, body.swingers { background: #ffffff !important; color: #1a1a1a !important; }

/* Hero h1 — Bebas Neue blue */
body.providers .lp-hero h1, body.personals .lpe-hero h1, body.swingers .lsw-hero h1 {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   font-size: 56px !important;
   font-weight: 400 !important;
   text-shadow: none !important;
}
body.providers .lp-hero p, body.personals .lpe-hero p, body.swingers .lsw-hero p { color: #64748b !important; }

/* Filter bars — white with blue border */
body.providers .lp-filters, body.personals .lpe-filters, body.swingers .lsw-filters {
   background: #ffffff !important;
   border: 2px solid #1e40af !important;
   box-shadow: 0 6px 20px rgba(30,64,175,0.12) !important;
}
body.providers .lp-filter select, body.personals .lpe-filter select, body.swingers .lsw-filter select {
   background: #f8fafc !important;
   border: 1px solid #cbd5e1 !important;
   color: #1a1a1a !important;
   background-image: none !important;
}
body.providers .lp-filter label, body.personals .lpe-filter label, body.swingers .lsw-filter label { color: #1e40af !important; }
body.providers .lp-filter-btn, body.personals .lpe-filter-btn, body.swingers .lsw-filter-btn {
   background: #e60000 !important; color: #ffffff !important;
}

/* Section titles */
body.providers .lp-section-title, body.personals .lpe-section-title, body.swingers .lsw-section-title {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   border-bottom: 2px solid #e2e8f0 !important;
   text-transform: none !important;
}

/* Service / category cards — white with blue border, fill on hover */
body.providers .lp-service, body.personals .lpe-cat, body.swingers .lsw-cat {
   background: #ffffff !important;
   border: 2px solid #1e40af !important;
   color: #1a1a1a !important;
   padding: 16px 14px !important;
   flex-direction: row !important;
   text-align: left !important;
   gap: 12px !important;
}
body.providers .lp-service:hover, body.personals .lpe-cat:hover, body.swingers .lsw-cat:hover {
   background: #1e40af !important;
   border-color: #1e40af !important;
   transform: translateY(-2px);
   box-shadow: 0 6px 18px rgba(30,64,175,0.3) !important;
}
body.providers .lp-service .lp-icon, body.personals .lpe-cat .lpe-icon, body.swingers .lsw-cat .lsw-icon {
   color: #1e40af !important;
   font-size: 26px !important;
   width: 38px !important;
   margin: 0 !important;
   text-align: center !important;
   text-shadow: none !important;
}
body.providers .lp-service:hover .lp-icon, body.personals .lpe-cat:hover .lpe-icon, body.swingers .lsw-cat:hover .lsw-icon { color: #ffffff !important; }
body.providers .lp-service h3, body.personals .lpe-cat h3, body.swingers .lsw-cat h3 {
   color: #1a1a1a !important;
   font-size: 14px !important;
   margin: 0 !important;
   text-transform: none !important;
   letter-spacing: 0.5px !important;
}
body.providers .lp-service:hover h3, body.personals .lpe-cat:hover h3, body.swingers .lsw-cat:hover h3 { color: #ffffff !important; }
body.providers .lp-service p, body.personals .lpe-cat p, body.swingers .lsw-cat p { display: none !important; }

/* Hot/popular cards — red border */
body.providers .lp-service.hot, body.personals .lpe-cat.popular, body.swingers .lsw-cat.popular {
   border-color: #e60000 !important;
}
body.providers .lp-service.hot:hover, body.personals .lpe-cat.popular:hover, body.swingers .lsw-cat.popular:hover {
   background: #e60000 !important;
   border-color: #e60000 !important;
   box-shadow: 0 6px 18px rgba(230,0,0,0.35) !important;
}
body.providers .lp-service.hot .lp-icon, body.personals .lpe-cat.popular .lpe-icon, body.swingers .lsw-cat.popular .lsw-icon { color: #e60000 !important; }
body.providers .lp-service.hot:hover .lp-icon, body.personals .lpe-cat.popular:hover .lpe-icon, body.swingers .lsw-cat.popular:hover .lsw-icon { color: #ffffff !important; }

/* Code (W4M etc) */
body.personals .lpe-cat .code { color: #e60000 !important; font-family: "Bebas Neue", sans-serif !important; }
body.personals .lpe-cat:hover .code { color: #ffe2e2 !important; }

/* Badge */
body.providers .lp-service .badge, body.personals .lpe-cat .badge, body.swingers .lsw-cat .badge {
   background: #e60000 !important;
   color: #ffffff !important;
}

/* City quick links */
body.providers .lp-cities a, body.personals .lpe-cities a, body.swingers .lsw-cities a {
   background: #f8fafc !important;
   border: 1px solid #cbd5e1 !important;
   color: #1e40af !important;
}
body.providers .lp-cities a:hover, body.personals .lpe-cities a:hover, body.swingers .lsw-cities a:hover {
   background: #1e40af !important;
   border-color: #1e40af !important;
   color: #ffffff !important;
}

/* ===== KILL CATEGORY-COLOR LINK OVERRIDES ===== */
/* Sigma applies dark backgrounds to a[href*="/categoryslug"] - undo for our cards */
body.providers a.lp-service[href], body.personals a.lpe-cat[href], body.swingers a.lsw-cat[href],
a.lp-service[href*="providers1"], a.lpe-cat[href*="personals1"], a.lsw-cat[href*="swingers1"],
a.lp-service, a.lpe-cat, a.lsw-cat {
   background: #ffffff !important;
   background-image: none !important;
   border: 2px solid #1e40af !important;
   color: #1a1a1a !important;
}
a.lp-service:hover, a.lpe-cat:hover, a.lsw-cat:hover {
   background: #1e40af !important;
   background-image: none !important;
   border-color: #1e40af !important;
   color: #ffffff !important;
}
a.lp-service.hot, a.lpe-cat.popular, a.lsw-cat.popular {
   border-color: #e60000 !important;
}
a.lp-service.hot:hover, a.lpe-cat.popular:hover, a.lsw-cat.popular:hover {
   background: #e60000 !important;
   border-color: #e60000 !important;
}

/* ===== LEOLIST-STYLE AD LISTINGS (bigger than Leolist) ===== */
.list-default, .list-grid, ul.list-default { list-style: none !important; padding: 0 !important; margin: 24px auto !important; max-width: 1100px !important; }
.list-default > li, .list-grid > li, .listing-card-list .listing-cell, .listing-card-list > li {
   background: #ffffff !important;
   border: 1px solid #cbd5e1 !important;
   border-radius: 10px !important;
   margin: 0 0 14px !important;
   padding: 18px !important;
   display: flex !important;
   gap: 20px !important;
   align-items: stretch !important;
   box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
   transition: all 0.25s !important;
   font-family: "Poppins", sans-serif !important;
}
.list-default > li:hover, .list-grid > li:hover, .listing-card-list > li:hover {
   border-color: #1e40af !important;
   box-shadow: 0 8px 22px rgba(30,64,175,0.18) !important;
   transform: translateY(-2px);
}

/* Listing thumbnail - LARGER than Leolist */
.listing-thumb, .list-default .listing-thumb {
   flex: 0 0 200px !important;
   width: 200px !important;
   height: 200px !important;
   border-radius: 8px !important;
   overflow: hidden !important;
   background: #f1f5f9 !important;
   border: 1px solid #e2e8f0 !important;
}
.listing-thumb img, .listing-thumb a img {
   width: 100% !important;
   height: 100% !important;
   object-fit: cover !important;
   display: block !important;
}
@media (max-width: 720px) {
   .list-default > li, .listing-card-list > li { flex-direction: column !important; gap: 12px !important; padding: 14px !important; }
   .listing-thumb { flex: 0 0 auto !important; width: 100% !important; height: 240px !important; }
}

/* Listing data area */
.listing-detail, .listing-data, .listing-basicinfo {
   flex: 1 !important;
   display: flex !important;
   flex-direction: column !important;
   justify-content: space-between !important;
   color: #1a1a1a !important;
   gap: 8px !important;
}

/* Title - big and bold */
.list-default .title, .list-default h2, .list-default h3, .listing-card-list .title, .listing-card-list h2 {
   margin: 0 !important;
   line-height: 1.25 !important;
   font-family: "Poppins", sans-serif !important;
}
.list-default .title a, .list-default h2 a, .list-default h3 a, .listing-card-list .title a, .listing-card-list h2 a {
   color: #1e40af !important;
   font-size: 22px !important;
   font-weight: 700 !important;
   text-decoration: none !important;
   background: none !important;
   padding: 0 !important;
   border: 0 !important;
}
.list-default .title a:hover, .listing-card-list .title a:hover { color: #2563eb !important; text-decoration: underline !important; }

/* Listing meta (location/date/category) */
.listing-details, .listing-attributes, .listing-data .meta {
   display: flex !important;
   flex-wrap: wrap !important;
   gap: 14px !important;
   font-size: 14px !important;
   color: #64748b !important;
   margin: 6px 0 !important;
}
.list-default .location, .list-default .city { color: #64748b !important; font-size: 14px !important; font-weight: 500; }
.list-default .location:before, .list-default .city:before { content: "📍 " !important; }
.list-default .date { color: #94a3b8 !important; font-size: 13px !important; }
.list-default .category { color: #1e40af !important; font-size: 12px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Description preview */
.list-default .desc, .listing-data .desc {
   color: #475569 !important;
   font-size: 14px !important;
   line-height: 1.5 !important;
   max-height: 60px !important;
   overflow: hidden !important;
   margin: 4px 0 !important;
}

/* Price */
.currency-value, .list-default .price, .price-listing {
   color: #1e40af !important;
   font-size: 24px !important;
   font-weight: 800 !important;
   font-family: "Bebas Neue", sans-serif !important;
   letter-spacing: 1px !important;
}

/* Premium / featured listings — red border */
.premium .listing-thumb, .listing-card-list .premium { border-color: #e60000 !important; }
.list-default .premium, .list-default li.premium {
   border: 2px solid #e60000 !important;
   box-shadow: 0 4px 14px rgba(230,0,0,0.15) !important;
}
.list-default .premium:hover, .list-default li.premium:hover {
   box-shadow: 0 8px 24px rgba(230,0,0,0.25) !important;
}
.premium-flag, .featured-flag {
   background: #e60000 !important;
   color: #fff !important;
   font-size: 11px !important;
   padding: 3px 8px !important;
   border-radius: 3px !important;
   text-transform: uppercase;
   letter-spacing: 1px;
   font-weight: 700;
}

/* ===== FORCE WHITE ON ALL BODY STATES ===== */
html, body { background: #ffffff !important; }
body[class] { background: #ffffff !important; color: #1a1a1a !important; }
body.error, body.not-found, body.has-searchbox.error, body.has-searchbox.not-found, body.search { background: #ffffff !important; color: #1a1a1a !important; }
body.error h1, body.not-found h1 { color: #1e40af !important; font-family: "Bebas Neue", sans-serif !important; }
body.error a, body.not-found a, body.error p, body.not-found p { color: #1e40af !important; }

/* Search results page */
body.search, body.has-searchbox.search { background: #ffffff !important; }
body.search #content, body.search #main { background: #ffffff !important; }
body.search h1, body.search h2 { color: #1e40af !important; font-family: "Bebas Neue", sans-serif !important; }

/* ===== TIGHTEN INNER PAGES — content at top ===== */
/* Hide leftover home_top widget on inner pages */
body.providers > section > .widget,
body.personals > section > .widget,
body.swingers > section > .widget { display: none !important; }

/* Reduce section padding on inner pages */
body.providers > section, body.personals > section, body.swingers > section {
   padding: 0 !important;
   min-height: 0 !important;
}
body.providers #content, body.personals #content, body.swingers #content { padding: 0 !important; margin: 0 !important; }
body.providers #main, body.personals #main, body.swingers #main { padding: 0 !important; margin: 0 !important; }
body.providers .wrapper-flash:empty, body.personals .wrapper-flash:empty, body.swingers .wrapper-flash:empty { display: none !important; }

/* Tighten the location bar padding */
body.providers .lll-loc, body.personals .lll-loc, body.swingers .lll-loc {
   padding: 16px 16px 4px !important;
}
body.providers .lll-pick, body.personals .lll-pick, body.swingers .lll-pick {
   margin: 10px 0 16px !important;
}

/* Hide any duplicate footer */
body > footer ~ footer { display: none !important; }

/* ===== INNER PAGE FIX (body.custom is the actual class) ===== */
body.custom > section > .widget { display: none !important; }
body.custom > section { padding: 0 !important; min-height: 0 !important; }
body.custom #content, body.custom #main { padding: 0 !important; margin: 0 !important; }
body.custom .wrapper-flash:empty { display: none !important; }
body.custom .lll-loc { padding: 18px 16px 4px !important; }
body.custom .lll-pick { margin: 10px 0 14px !important; }

/* Hide duplicate empty footer */
body > footer + footer, body > footer:last-child:not(:first-of-type) { display: none !important; }

/* ===== SEARCH PAGE LAYOUT — listings + cities sidebar ===== */
body.search > section { padding: 16px 0 !important; min-height: 0 !important; }
body.search > section > .widget { display: none !important; }
body.search #content { padding: 0 !important; margin: 0 !important; }
body.search #main { padding: 0 !important; margin: 0 !important; }

.ll-search-wrap {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 16px;
   display: grid;
   grid-template-columns: 1fr 280px;
   gap: 24px;
   align-items: start;
}
@media (max-width: 900px) { .ll-search-wrap { grid-template-columns: 1fr; gap: 16px; } }

.ll-search-listings { min-width: 0; }
.ll-search-side { position: sticky; top: 16px; }
@media (max-width: 900px) { .ll-search-side { position: static; } }

/* Cities sidebar - leolist style */
.ll-city-side {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 10px;
   padding: 18px 20px;
   font-family: "Poppins", sans-serif;
   box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.ll-city-side h3 {
   font-family: "Bebas Neue", sans-serif !important;
   font-size: 24px !important;
   color: #1e40af !important;
   margin: 0 0 14px !important;
   letter-spacing: 1px;
   font-weight: 400;
}
.ll-city-list {
   display: flex;
   flex-direction: column;
   gap: 4px;
   max-height: 420px;
   overflow-y: auto;
   padding-right: 4px;
}
.ll-city-row {
   display: flex;
   align-items: center;
   gap: 10px;
   padding: 8px 10px;
   border-radius: 6px;
   cursor: pointer;
   font-size: 14px;
   color: #475569;
   transition: background 0.15s;
}
.ll-city-row:hover { background: #f1f5f9; color: #1e40af; }
.ll-city-row.active { background: #eff6ff; color: #1e40af; font-weight: 600; }
.ll-city-row input[type=checkbox] {
   width: 18px;
   height: 18px;
   accent-color: #1e40af;
   cursor: pointer;
   flex-shrink: 0;
}
.ll-city-help {
   margin-top: 14px;
   padding-top: 12px;
   border-top: 1px solid #e2e8f0;
   font-size: 13px;
   color: #64748b;
}
.ll-city-help a { color: #1e40af; font-weight: 600; text-decoration: none; }
.ll-city-help a:hover { text-decoration: underline; }

/* Style scrollbar in city list */
.ll-city-list::-webkit-scrollbar { width: 6px; }
.ll-city-list::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.ll-city-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.ll-city-list::-webkit-scrollbar-thumb:hover { background: #1e40af; }

/* ===== KILL SIGMA CATEGORY-COLOR OVERRIDES ON LLL-GRID ===== */
.lll-grid a, .lll-grid a[href], .lll-grid a[href*="/providers"], .lll-grid a[href*="/personals"], .lll-grid a[href*="/swingers"], .lll-grid a[href*="providers1"], .lll-grid a[href*="personals1"], .lll-grid a[href*="swingers1"] {
   background: #1e40af !important;
   background-image: none !important;
   color: #ffffff !important;
}
.lll-grid a:hover { background: #2563eb !important; }
.lll-grid a.popular, .lll-grid a.hot { background: #e60000 !important; }
.lll-grid a.popular:hover, .lll-grid a.hot:hover { background: #ff1a1a !important; }
.lll-grid a .lbl, .lll-grid a .code { color: #ffffff !important; }
.lll-grid a i { color: rgba(255,255,255,0.95) !important; }

/* Hide breadcrumbs / extra stuff on search page below header */
body.search .breadcrumb { background: transparent !important; padding: 8px 16px !important; font-size: 13px !important; max-width: 1200px; margin: 0 auto; color: #94a3b8 !important; list-style: none; }
body.search .breadcrumb li { color: #94a3b8 !important; }
body.search .breadcrumb a { color: #1e40af !important; text-decoration: none; }
body.search .breadcrumb a:hover { text-decoration: underline; }
body.search .wrapper-flash:empty { display: none !important; }

/* ===== LLL-GRID CLEAN BOXES — readable, no FA dependency ===== */
.lll-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; max-width: 980px !important; }
@media (max-width: 720px) { .lll-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .lll-grid { grid-template-columns: 1fr !important; } }
.lll-grid a {
   aspect-ratio: auto !important;
   min-height: 100px !important;
   padding: 22px 18px !important;
   gap: 4px !important;
   text-align: center !important;
   line-height: 1.15 !important;
}
/* Hide FontAwesome icon (since it renders as empty) — text alone */
.lll-grid a > i.fas, .lll-grid a > i.far { display: none !important; }

/* Make label HUGE and easy to read */
.lll-grid a .lbl {
   font-family: "Bebas Neue", "Poppins", sans-serif !important;
   font-size: 26px !important;
   font-weight: 400 !important;
   letter-spacing: 1.5px !important;
   color: #ffffff !important;
   line-height: 1.05 !important;
   text-transform: uppercase !important;
}
@media (max-width: 720px) {
   .lll-grid a .lbl { font-size: 22px !important; letter-spacing: 1px !important; }
   .lll-grid a { min-height: 80px !important; padding: 18px 14px !important; }
}
/* Personals W4M/M4W code on top */
.lll-grid a .code {
   font-family: "Bebas Neue", sans-serif !important;
   font-size: 13px !important;
   color: rgba(255,255,255,0.7) !important;
   letter-spacing: 3px !important;
   margin: 0 0 -2px !important;
   font-weight: 400 !important;
}
/* Better badge positioning */
.lll-grid a .badge {
   position: absolute;
   top: 8px;
   right: 8px;
   background: #ffffff !important;
   color: #e60000 !important;
   font-size: 9px !important;
   font-weight: 700 !important;
   padding: 3px 8px !important;
   border-radius: 3px !important;
   letter-spacing: 1.5px !important;
   font-family: "Poppins", sans-serif !important;
}
.lll-grid a:not(.popular):not(.hot) .badge { color: #1e40af !important; }

/* ===== BREADCRUMB CONTRAST FIX (was near-white on white) ===== */
.wrapper-flash, .breadcrumb, .breadcrumb li, .breadcrumb span, .breadcrumb a, body .breadcrumb, body .wrapper-flash {
   color: #475569 !important;
   background: transparent !important;
}
.breadcrumb { padding: 12px 16px !important; font-size: 13px !important; max-width: 1200px; margin: 0 auto !important; }
.breadcrumb a { color: #1e40af !important; text-decoration: none !important; font-weight: 600; }
.breadcrumb a:hover { color: #2563eb !important; text-decoration: underline !important; }
.breadcrumb li, .breadcrumb span { color: #64748b !important; font-weight: 500; }
.breadcrumb li.last-child span, .breadcrumb .last-child { color: #1a1a1a !important; font-weight: 700 !important; }

/* ===== KILL HEAVY TEXT-SHADOWS (cause of blurry headings on white) ===== */
body h1, body h2, body h3, body h4, body h5, body h6 { text-shadow: none !important; }
body.search h1, body.search h2, body.search h3 { text-shadow: none !important; color: #1e40af !important; font-family: "Bebas Neue", sans-serif !important; }
body.has-searchbox h1 { text-shadow: none !important; }
/* Listing titles & related category text — clean */
body strong, body p { text-shadow: none !important; }
/* Keep small soft glow ONLY on the LuckyList logo (those are intentional) */
#logo .ll-lucky { text-shadow: 0 1px 2px rgba(230,0,0,0.10) !important; }
#logo .ll-list { text-shadow: 0 1px 2px rgba(30,64,175,0.10) !important; }

/* ===== REGION-GROUPED CITIES SIDEBAR ===== */
.ll-region-side {
   background: #ffffff;
   border: 1px solid #e2e8f0;
   border-radius: 10px;
   padding: 18px 18px;
   font-family: "Poppins", sans-serif;
   box-shadow: 0 2px 8px rgba(0,0,0,0.04);
   max-height: calc(100vh - 80px);
   overflow-y: auto;
}
.ll-region-side h3 {
   font-family: "Bebas Neue", sans-serif !important;
   font-size: 24px !important;
   color: #1e40af !important;
   margin: 0 0 14px !important;
   letter-spacing: 1px;
   font-weight: 400;
   text-shadow: none !important;
}
.ll-region-side a.ll-all {
   display: block;
   padding: 8px 12px;
   background: #f1f5f9;
   color: #1e40af;
   border-radius: 6px;
   font-weight: 700;
   font-size: 13px;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   text-decoration: none !important;
   margin-bottom: 12px;
   text-align: center;
}
.ll-region-side a.ll-all:hover { background: #1e40af; color: #ffffff; }
.ll-region-side a[data-active] { background: #1e40af !important; color: #ffffff !important; }

.ll-region {
   border-bottom: 1px solid #e2e8f0;
   padding: 0;
}
.ll-region:last-of-type { border-bottom: 0; }
.ll-region summary {
   list-style: none;
   padding: 10px 4px;
   font-size: 14px;
   font-weight: 600;
   color: #1a1a1a;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: space-between;
   transition: color 0.15s;
}
.ll-region summary::-webkit-details-marker { display: none; }
.ll-region summary::after { content: "+"; color: #94a3b8; font-weight: 400; font-size: 18px; line-height: 1; }
.ll-region[open] summary::after { content: "−"; color: #1e40af; }
.ll-region summary:hover { color: #1e40af; }
.ll-region-cities {
   display: flex;
   flex-direction: column;
   gap: 2px;
   padding: 4px 0 10px 12px;
}
.ll-region-cities a {
   display: block;
   padding: 6px 10px;
   font-size: 13px;
   color: #475569 !important;
   text-decoration: none !important;
   border-radius: 5px;
   transition: background 0.15s;
}
.ll-region-cities a:hover { background: #f1f5f9; color: #1e40af !important; }
.ll-region-cities a[data-active] { background: #eff6ff !important; color: #1e40af !important; font-weight: 700 !important; }

.ll-city-help {
   margin-top: 14px;
   padding-top: 12px;
   border-top: 1px solid #e2e8f0;
   font-size: 13px;
   color: #64748b;
}
.ll-city-help a { color: #1e40af !important; font-weight: 600; text-decoration: none !important; }
.ll-city-help a:hover { text-decoration: underline !important; }

/* Hide old simple cities sidebar if present */
.ll-city-side { display: none !important; }

/* Sidebar scroll style */
.ll-region-side::-webkit-scrollbar { width: 6px; }
.ll-region-side::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.ll-region-side::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.ll-region-side::-webkit-scrollbar-thumb:hover { background: #1e40af; }

/* ===== SIGMA FILTERS SIDEBAR — light theme ===== */
.filters, body .filters, .search-sidebar .filters, .search-sidebar, #search-sidebar {
   background: #ffffff !important;
   color: #1a1a1a !important;
   border: 1px solid #e2e8f0 !important;
   border-radius: 10px !important;
   padding: 16px !important;
   box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
   font-family: "Poppins", sans-serif !important;
}
.filters fieldset, .filters legend { background: transparent !important; color: #1a1a1a !important; border: 0 !important; padding: 0 0 12px !important; margin: 0 0 8px !important; border-bottom: 1px solid #f1f5f9 !important; }
.filters fieldset:last-child { border-bottom: 0 !important; }
.filters legend { font-family: "Bebas Neue", sans-serif !important; color: #1e40af !important; font-size: 18px !important; letter-spacing: 1px !important; padding: 0 0 8px !important; font-weight: 400 !important; }
.filters label { color: #475569 !important; font-size: 14px !important; padding: 4px 0 !important; display: flex !important; align-items: center !important; gap: 8px !important; }
.filters input[type=text], .filters input[type=number], .filters select {
   background: #f8fafc !important;
   border: 1px solid #cbd5e1 !important;
   color: #1a1a1a !important;
   padding: 8px 10px !important;
   border-radius: 6px !important;
   font-size: 14px !important;
   font-family: "Poppins", sans-serif !important;
   width: 100% !important;
}
.filters input:focus, .filters select:focus { border-color: #1e40af !important; outline: none; }
.filters .row { padding: 6px 0 !important; }
.filters .row.first { padding-top: 0 !important; }
.filters .price-slice { display: flex; gap: 8px; }
.filters .actions, .filters .btn-primary, .filters button[type=submit] {
   background: #e60000 !important;
   color: #ffffff !important;
   border: none !important;
   padding: 10px 22px !important;
   font-weight: 700 !important;
   text-transform: uppercase;
   letter-spacing: 1px;
   border-radius: 6px !important;
   font-size: 13px !important;
   cursor: pointer;
   width: 100%;
   margin-top: 8px;
}
.filters .actions:hover, .filters .btn-primary:hover { background: #ff1a1a !important; }
.filters .refine { color: #1e40af !important; font-weight: 600; }
.filters input[type=checkbox] { accent-color: #1e40af; width: 16px; height: 16px; }

/* Hide Sigma fixed-layout / fixed-close mobile filter overlay if not needed */
.filters.fixed-layout { background: #ffffff !important; }

/* ===== CITY DROPDOWNS - BIGGER + DARKER + BOLDER ===== */
.ll-region summary {
   font-size: 16px !important;
   font-weight: 700 !important;
   color: #0f172a !important;
   padding: 12px 6px !important;
   font-family: "Poppins", sans-serif !important;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
.ll-region summary::after { font-size: 22px !important; font-weight: 700 !important; color: #1e40af !important; }
.ll-region-cities a {
   font-size: 15px !important;
   font-weight: 600 !important;
   color: #1a1a1a !important;
   padding: 8px 12px !important;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}
.ll-region-cities a:hover { background: #eff6ff !important; color: #1e40af !important; }
.ll-region-cities a[data-active] { background: #1e40af !important; color: #ffffff !important; font-weight: 700 !important; }

.ll-region-side h3 { font-size: 28px !important; }
.ll-region-side a.ll-all { font-size: 14px !important; padding: 12px !important; }

/* Force crisp font rendering everywhere on white pages */
body { -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; }
body, body * { text-rendering: optimizeLegibility !important; }

/* ===== NUKE ALL DARK BG IN SIDEBAR / DROPDOWNS ===== */
.ll-region-side, .ll-region-side *,
.ll-region, .ll-region *,
.ll-region summary, .ll-region details,
.ll-region-cities, .ll-region-cities *,
.filters, .filters *,
details, details summary {
   background-color: transparent !important;
   background-image: none !important;
}
/* Re-apply our intended backgrounds */
.ll-region-side { background: #ffffff !important; }
.ll-region-side a.ll-all { background: #f1f5f9 !important; color: #1e40af !important; }
.ll-region-side a.ll-all:hover { background: #1e40af !important; color: #ffffff !important; }
.ll-region-side a[data-active] { background: #1e40af !important; color: #ffffff !important; }
.ll-region-cities a:hover { background: #eff6ff !important; }
.filters { background: #ffffff !important; }
.filters input[type=text], .filters input[type=number], .filters select { background: #f8fafc !important; }
.filters .actions, .filters .btn-primary, .filters button[type=submit] { background: #e60000 !important; color: #ffffff !important; }

/* Force visible region heading text */
.ll-region summary, .ll-region summary * { color: #0f172a !important; opacity: 1 !important; }
.ll-region-cities a { color: #1a1a1a !important; opacity: 1 !important; }

/* ===== FORCE LIGHT COLOR SCHEME (kills browser dark mode auto-styling) ===== */
html, body { color-scheme: light !important; }
input, select, textarea, button, details, summary, option {
   color-scheme: light !important;
   background-color: #ffffff !important;
   color: #1a1a1a !important;
}
/* Re-allow our region-side specific elements */
.ll-region-side details, .ll-region-side details summary { background-color: transparent !important; }
.ll-region-side a { background-color: transparent !important; color: #1a1a1a !important; }
.ll-region-side a.ll-all { background-color: #f1f5f9 !important; }
.ll-region-side a:hover { background-color: #eff6ff !important; color: #1e40af !important; }
.ll-region-side a[data-active] { background-color: #1e40af !important; color: #ffffff !important; }
/* Native select option dropdowns - force light */
option { background: #ffffff !important; color: #1a1a1a !important; }

/* Hide "All Canada" button per user request */
.ll-region-side a.ll-all { display: none !important; }

/* ===== ITEM DETAIL PAGE (when someone clicks an ad) ===== */
body.item { background: #ffffff !important; color: #1a1a1a !important; font-family: "Poppins", sans-serif !important; }
body.item > section > .widget { display: none !important; }
body.item > section { padding: 16px 0 !important; }
body.item #content, body.item #main { padding: 0 !important; max-width: 1200px; margin: 0 auto !important; }

.item-detail, #item, .single-listing, body.item .container {
   background: #ffffff !important;
   border: 1px solid #e2e8f0 !important;
   border-radius: 12px !important;
   padding: 24px !important;
   margin: 16px;
   box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body.item h1 {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   font-size: 36px !important;
   font-weight: 400 !important;
   letter-spacing: 1px !important;
   margin: 0 0 12px !important;
   text-shadow: none !important;
}
body.item h2, body.item h3 { font-family: "Bebas Neue", sans-serif !important; color: #1e40af !important; }
body.item .price, body.item .currency-value {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   font-size: 32px !important;
   font-weight: 400 !important;
   letter-spacing: 1px;
}
body.item .description, body.item .desc, body.item .item-description {
   color: #1a1a1a !important;
   line-height: 1.7 !important;
   font-size: 15px !important;
}
body.item .meta, body.item .item-meta, body.item .location, body.item .city, body.item .date {
   color: #64748b !important;
   font-size: 14px;
}
body.item .item-images img, body.item .gallery img {
   border-radius: 8px;
   border: 1px solid #e2e8f0;
   max-width: 100%;
}
body.item .contact-form, body.item .item-contact, body.item .send-friend {
   background: #f8fafc !important;
   border: 1px solid #e2e8f0 !important;
   border-radius: 8px;
   padding: 18px;
   margin-top: 20px;
}

/* ===== POST AN AD FORM ===== */
body.item-post, body.item.item-post { background: #ffffff !important; color: #1a1a1a !important; font-family: "Poppins", sans-serif !important; }
body.item-post > section > .widget { display: none !important; }
body.item-post #content, body.item-post #main { max-width: 900px; margin: 0 auto !important; padding: 16px !important; }
body.item-post h1, body.item-post h2 {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   font-weight: 400 !important;
   letter-spacing: 1px;
   text-shadow: none !important;
}
body.item-post .publish, body.item-post .item-post-form, body.item-post form, body.item-post fieldset {
   background: #ffffff !important;
   border: 1px solid #e2e8f0 !important;
   border-radius: 10px;
   padding: 24px;
   color: #1a1a1a !important;
   margin-bottom: 16px;
}
body.item-post legend, body.item-post .label, body.item-post label {
   color: #1e40af !important;
   font-weight: 700 !important;
   font-size: 12px !important;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   margin-bottom: 6px !important;
   display: block;
   font-family: "Poppins", sans-serif !important;
}
body.item-post input[type=text], body.item-post input[type=email], body.item-post input[type=tel], body.item-post input[type=number], body.item-post input[type=url], body.item-post select, body.item-post textarea {
   background: #f8fafc !important;
   border: 1px solid #cbd5e1 !important;
   color: #1a1a1a !important;
   padding: 12px 14px !important;
   border-radius: 6px !important;
   font-size: 15px !important;
   width: 100% !important;
   font-family: "Poppins", sans-serif !important;
   margin-bottom: 12px;
}
body.item-post input:focus, body.item-post select:focus, body.item-post textarea:focus {
   border-color: #1e40af !important; outline: none;
   box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
}
body.item-post .button, body.item-post button[type=submit], body.item-post input[type=submit], body.item-post .button-primary {
   background: #e60000 !important;
   color: #ffffff !important;
   border: none !important;
   padding: 14px 30px !important;
   font-size: 15px !important;
   font-weight: 700 !important;
   text-transform: uppercase !important;
   letter-spacing: 1.5px !important;
   border-radius: 8px !important;
   cursor: pointer;
   font-family: "Poppins", sans-serif !important;
}
body.item-post .button:hover, body.item-post button[type=submit]:hover { background: #ff1a1a !important; }

/* ===== LOGIN / REGISTER / FORGOT / DASHBOARD ===== */
body.login, body.register, body.user, body.user-dashboard, body.contact {
   background: #ffffff !important;
   color: #1a1a1a !important;
   font-family: "Poppins", sans-serif !important;
}
body.login > section > .widget, body.register > section > .widget, body.user > section > .widget, body.contact > section > .widget { display: none !important; }
body.login #content, body.register #content, body.user #content, body.contact #content { max-width: 1100px; margin: 0 auto !important; padding: 24px 16px !important; }
body.login form, body.register form, body.contact form, .login-form, .register-form, .auth-form, .form-login, .form-register {
   background: #ffffff !important;
   border: 1px solid #e2e8f0 !important;
   border-radius: 10px;
   padding: 32px;
   max-width: 480px;
   margin: 24px auto !important;
   box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
body.login h1, body.register h1, body.user h1, body.contact h1 {
   font-family: "Bebas Neue", sans-serif !important;
   color: #1e40af !important;
   font-size: 36px !important;
   font-weight: 400 !important;
   text-align: center;
   margin-bottom: 16px;
   text-shadow: none !important;
}
body.login label, body.register label, body.user label, body.contact label {
   color: #1e40af !important;
   font-weight: 700 !important;
   font-size: 12px !important;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   margin-bottom: 6px !important;
   display: block;
}
body.login input, body.register input, body.user input, body.contact input, body.login select, body.register select, body.user textarea, body.contact textarea, body.user input {
   background: #f8fafc !important;
   border: 1px solid #cbd5e1 !important;
   color: #1a1a1a !important;
   padding: 12px 14px !important;
   border-radius: 6px !important;
   font-size: 15px !important;
   width: 100% !important;
   margin-bottom: 14px !important;
}
body.login input:focus, body.register input:focus, body.user input:focus, body.contact input:focus, body.contact textarea:focus { border-color: #1e40af !important; outline: none; box-shadow: 0 0 0 3px rgba(30,64,175,0.15); }
body.login button[type=submit], body.register button[type=submit], body.user button[type=submit], body.contact button[type=submit], body.login input[type=submit], body.register input[type=submit] {
   background: #e60000 !important; color: #ffffff !important;
   width: 100% !important;
   padding: 14px !important;
   font-size: 15px !important;
   font-weight: 700 !important;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   border-radius: 8px !important;
   border: none !important;
   cursor: pointer;
   margin-top: 8px;
}
body.login button[type=submit]:hover, body.register button[type=submit]:hover { background: #ff1a1a !important; }

/* User dashboard sidebar */
body.user .user-sidebar, body.user-dashboard .user-sidebar { background: #f8fafc !important; border: 1px solid #e2e8f0 !important; border-radius: 10px; padding: 16px; }
body.user .user-sidebar h3 { color: #1e40af !important; font-family: "Bebas Neue", sans-serif !important; }
body.user .user-sidebar a { color: #475569 !important; padding: 8px 12px; display: block; border-radius: 6px; text-decoration: none !important; font-weight: 500; }
body.user .user-sidebar a:hover { background: #eff6ff; color: #1e40af !important; }
body.user .user-sidebar a.active, body.user .user-sidebar .current { background: #1e40af !important; color: #ffffff !important; }

/* Province city counts */
.ll-region .ll-count { color: #94a3b8; font-weight: 400; font-size: 12px; margin-left: 4px; }

/* Hide auto-injected Latest Listings on homepage */
body.home .home-latest, body.home .latestItems, body.home .listing-card-list.latestItems { display: none !important; }

/* ===== LISTING OVERFLOW FIX — kill negative margins on search ===== */
body.search .ll-search-listings { overflow: hidden; }
body.search .ll-search-listings > div, body.search .ll-search-listings ul { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; box-sizing: border-box !important; }
body.search .listing-card-list, body.search ul.listing-card-list, body.search .listing-card-list.listing-list, body.search .listing-card-list.listing-grid {
   margin: 0 !important;
   padding: 0 !important;
   width: 100% !important;
   max-width: 100% !important;
   list-style: none !important;
   box-sizing: border-box !important;
}
body.search .listing-card-list > li, body.search .listing-cell {
   margin: 0 0 14px 0 !important;
   width: 100% !important;
   max-width: 100% !important;
   box-sizing: border-box !important;
   float: none !important;
}
/* For grid view if Sigma uses one */
body.search .listing-card-list.listing-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important; gap: 14px !important; }
body.search .listing-card-list.listing-list { display: flex !important; flex-direction: column !important; gap: 14px !important; }

/* ===== FULL-WIDTH SEARCH LAYOUT — listings span screen, cities flush right ===== */
.ll-search-wrap {
   max-width: none !important;
   width: 100% !important;
   padding: 0 20px !important;
   gap: 28px !important;
   grid-template-columns: 1fr 300px !important;
   box-sizing: border-box;
}
@media (max-width: 900px) { .ll-search-wrap { grid-template-columns: 1fr !important; padding: 0 12px !important; gap: 16px !important; } }

.ll-search-listings {
   width: 100% !important;
   max-width: 100% !important;
}

.ll-search-side {
   width: 300px !important;
   max-width: 300px !important;
}

/* Make Sigma section full-width on search */
body.search section, body.search > section { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.search .wrapper, body.search #content, body.search #main {
   max-width: 100% !important;
   margin-left: 0 !important;
   margin-right: 0 !important;
}

/* Wider individual ad cards */
body.search .listing-card-list > li, body.search .listing-cell {
   width: 100% !important;
   max-width: 100% !important;
}

/* Override Sigma fixed 980px wrapper on search page */
body.search .wrapper, body.search #content.wrapper, body.search .wrapper#content {
   width: 100% !important;
   max-width: 100% !important;
   margin: 0 !important;
   padding: 0 !important;
}
body.search > section { width: 100% !important; max-width: 100% !important; padding: 0 !important; }

/* ===== PROVIDER PHASE 1 ===== */
.ll-prov-link { transition: all 0.2s; }
.ll-prov-link:hover { background: #e60000 !important; color: #ffffff !important; }
.ll-provider-badge { display: inline-flex; align-items: center; justify-content: center; background: #e60000; color: #ffffff; font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 11px; padding: 2px 7px; border-radius: 3px; letter-spacing: 1.5px; margin-left: 6px; vertical-align: middle; }
.ll-provider-badge:before { content: "P "; }