/* Callid.gr — public app styles (brand blue) */
:root {
  --brand: #0d6efd;
  --brand-hover: #0b5ed7;
  --brand-deep: #084298;
  --brand-soft: #e8f1ff;
  --brand-mid: #4d9fff;
  --brand-light: #93c5fd;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --page-grad: linear-gradient(145deg, #eef4fb 0%, #e2eaf5 42%, #f7fafc 100%);
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 28px rgba(13, 110, 253, 0.12);
  --shadow-lg: 0 12px 40px rgba(13, 110, 253, 0.18);
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --safe: #198754;
  --useful: #0dcaf0;
  --neutral: #6c757d;
  --annoying: #ffc107;
  --dangerous: #dc3545;
  --nav-height: 64px;
}

html.dm-preload body,
body.dark-mode {
  --surface: #23272b;
  --surface-muted: #1a1e22;
  --page-grad: linear-gradient(135deg, #14181c 0%, #1e2429 100%);
  --text: #e9ecef;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background: var(--page-grad);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-x pan-y;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-content {
  flex: 1 0 auto;
}

/* —— Navbar / header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
}

.site-navbar.navbar {
  background: linear-gradient(105deg, #084298 0%, #0b5ed7 38%, #0d6efd 72%, #3d8bfd 100%) !important;
  box-shadow: 0 8px 28px rgba(8, 66, 152, 0.28);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-navbar-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  min-width: 0;
}

.site-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: 0.5rem;
  padding: 0.2rem 0;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-navbar .navbar-brand:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.navbar-brand-logo {
  height: 2.5rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
}

.navbar-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.navbar-brand-domain {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.78;
  letter-spacing: 0.02em;
}

.site-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .site-navbar-actions {
    margin-left: 0.5rem;
  }
}

.site-navbar .navbar-collapse {
  flex-basis: auto;
  flex-grow: 1;
  gap: 0.75rem 1.25rem;
}

.site-nav-links {
  gap: 0.2rem;
}

.site-navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.92) !important;
  border-radius: 999px;
  padding: 0.45rem 0.9rem !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-navbar .nav-link i {
  font-size: 0.85em;
  opacity: 0.9;
}

.site-navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.site-navbar .nav-link.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-nav-tools {
  gap: 0.45rem;
  margin-left: 0.35rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.site-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-nav-ghost,
.btn-nav-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  line-height: 1.2;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-nav-ghost {
  color: #fff !important;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-nav-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-nav-solid {
  color: var(--brand-deep) !important;
  background: #fff;
  border: 1.5px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-nav-solid:hover {
  background: #f0f6ff;
  color: var(--brand-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.btn-nav-icon {
  width: 2.45rem;
  height: 2.45rem;
  min-height: 2.45rem !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-size: 1rem !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-nav-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.site-toggler {
  width: 2.45rem;
  height: 2.45rem;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  box-shadow: none;
}

.site-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.site-toggler-bar {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-admin {
  color: #ffe08a !important;
  font-weight: 700 !important;
}

.site-nav-admin:hover {
  background: rgba(255, 224, 138, 0.16) !important;
  color: #fff3cd !important;
}

.site-nav-user {
  gap: 0.5rem !important;
  padding-right: 0.75rem !important;
}

.site-nav-avatar {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.site-nav-username {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-user-menu {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  min-width: 11rem;
}

.site-user-menu .dropdown-item {
  border-radius: 0.55rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
}

.language-switcher {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-switcher:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}

.language-switcher-caret {
  font-size: 0.65rem;
  opacity: 0.75;
}

.language-switcher::after {
  display: none !important;
}

.site-nav-user.dropdown-toggle::after {
  margin-left: 0.15rem;
  opacity: 0.7;
}

.dark-mode .site-navbar.navbar {
  background: linear-gradient(105deg, #12151a 0%, #1a1f24 55%, #23282e 100%) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dark-mode .site-nav-tools {
  border-left-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .btn-nav-solid {
  color: #0f172a !important;
}

/* —— Footer —— */
.site-footer {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid var(--border);
  padding: 1.35rem 0;
  backdrop-filter: blur(8px);
}

.site-footer-links a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.75rem;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

.site-footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dark-mode .site-footer {
  background: rgba(24, 28, 31, 0.92);
  color: var(--text);
}

.dark-mode .site-footer-links a {
  color: var(--brand-light);
}

/* —— Language —— */
.fi {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
}

.fi:before {
  content: '';
  background: inherit;
  position: absolute;
  inset: 0;
}

.fi-gr { background-image: url('https://cdn.jsdelivr.net/npm/flag-icons@6.6.6/flags/4x3/gr.svg'); }
.fi-gb { background-image: url('https://cdn.jsdelivr.net/npm/flag-icons@6.6.6/flags/4x3/gb.svg'); }
.fi-it { background-image: url('https://cdn.jsdelivr.net/npm/flag-icons@6.6.6/flags/4x3/it.svg'); }
.fi-fr { background-image: url('https://cdn.jsdelivr.net/npm/flag-icons@6.6.6/flags/4x3/fr.svg'); }
.fi-de { background-image: url('https://cdn.jsdelivr.net/npm/flag-icons@6.6.6/flags/4x3/de.svg'); }

.language-switcher .fi {
  margin-right: 0;
}

.dropdown-menu.language-menu {
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  min-width: 11rem;
}

.dropdown-item.language-option,
.language-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.55rem;
}

.dropdown-item.language-option.active,
.language-option.active {
  background: var(--brand-soft);
  color: var(--brand-hover);
  font-weight: 600;
}

.dark-mode .dropdown-item.language-option:hover,
.dark-mode .site-user-menu .dropdown-item:hover {
  background-color: #2c3338;
}

/* —— Offcanvas —— */
.site-offcanvas.offcanvas {
  background: linear-gradient(180deg, #084298 0%, #0b5ed7 42%, #156ef5 100%);
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  max-width: min(22rem, 92vw);
  z-index: 1300;
}

/* Keep backdrop above sticky chrome / floating search (z ~1180–1200) */
body:has(#mobileNav.show) .offcanvas-backdrop {
  z-index: 1290;
}

.site-offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 1.15rem;
  padding-top: max(1rem, env(safe-area-inset-top));
}

.site-offcanvas .offcanvas-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.site-offcanvas .offcanvas-body {
  padding: 1.15rem 1.15rem max(1.75rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
  .site-navbar.navbar {
    padding: 0.45rem 0;
  }

  .navbar-brand-logo {
    height: 2.15rem;
  }

  .navbar-brand-name {
    font-size: 1.05rem;
  }
}

.offcanvas-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  margin: 0 0 0.45rem 0.35rem;
}

.offcanvas-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.offcanvas-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  align-items: stretch;
}

.offcanvas-auth .btn {
  width: 100%;
  height: 100%;
  min-height: 2.75rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.offcanvas-link {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  color: #fff !important;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.8rem 0.9rem !important;
  border-radius: 0.85rem;
  margin: 0;
  transition: background 0.2s ease;
}

.offcanvas-link i {
  width: 1.15rem;
  text-align: center;
  opacity: 0.9;
}

.offcanvas-link:hover,
.offcanvas-link:focus,
.offcanvas-link.active {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

.offcanvas-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 0.75rem 0;
}

.offcanvas-langs {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.offcanvas-lang {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.85rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.offcanvas-lang:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.offcanvas-lang.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    display: none !important;
  }
}

.dark-mode .site-offcanvas.offcanvas {
  background: linear-gradient(180deg, #12151a 0%, #1a1f24 55%, #23282e 100%);
}

/* —— Page heroes (inner pages) —— */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 42%, #4d9fff 78%, #93c5fd 100%);
  color: #fff;
  padding: 2.25rem 0 2rem;
  text-align: center;
  border-radius: 0 0 2rem 2rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% -30%, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.95;
  max-width: 36rem;
  margin: 0 auto;
}

.page-breadcrumb {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.page-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

/* —— Home hero —— */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #084298 0%, #0b5ed7 28%, #0d6efd 55%, #4d9fff 82%, #93c5fd 100%);
  color: #fff;
  padding: 3rem 0 4.5rem;
  text-align: center;
  border-radius: 0 0 2.5rem 2.5rem;
  box-shadow: 0 10px 48px rgba(13, 110, 253, 0.32);
  margin-bottom: 0;
  animation: heroFade 0.7s ease both;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -30%, rgba(255, 255, 255, 0.38), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-brand img {
  height: clamp(2.25rem, 5vw, 3.25rem);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.hero-section h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-section p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: 0;
  margin-top: 0.65rem;
  opacity: 0.95;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popin {
  0% { transform: scale(0.96) translateY(24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-enter {
  animation: pageEnter 0.45s ease both;
}

/* —— Search —— */
.search-card {
  max-width: 540px;
  margin: -3.25rem auto 1.5rem auto;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(13, 110, 253, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 2.25rem 2rem 1.85rem;
  z-index: 10;
  position: relative;
  animation: popin 0.65s cubic-bezier(.23, 1.12, .32, 1) 1;
}

.search-box form {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.search-input-group {
  position: relative;
}

#phone {
  font-size: 1.5rem;
  padding: 0.9rem 1.5rem 0.9rem 2.7rem;
  height: 3.2rem;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.13);
  border-radius: 0.7rem;
  transition: box-shadow 0.2s, border 0.2s;
  background: var(--surface);
  color: var(--text);
}

#phone:focus {
  border: 2px solid var(--brand-hover);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.18);
}

.iti { width: 100%; }
.iti__flag-container {
  height: 100%;
  top: 0;
  left: 0;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
}
.iti__flag {
  transform: scale(1.3);
  margin-right: 0.5rem;
}

.search-box label { font-size: 1.1rem; }
.search-box .form-text { font-size: 1rem; color: var(--text-muted); }

.search-card button.btn {
  font-size: 1.15rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.7rem;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.search-card button.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.btn, .form-control, .search-input-group input {
  min-height: 48px;
  font-size: 1.05rem;
}

.navbar .btn,
.site-offcanvas .btn,
.btn-nav-ghost,
.btn-nav-solid,
.btn-sm,
.comment-vote-btn {
  min-height: auto;
}

/* —— Home discovery (hottest / recent / comments) —— */
.home-discovery {
  position: relative;
  padding: 1.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13, 110, 253, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(245, 158, 11, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(238, 244, 251, 0.35) 0%, transparent 100%);
}

.home-discovery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .home-discovery__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .home-discovery__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

.home-panel {
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 1.15rem;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  min-height: 100%;
}

.home-panel--hot {
  border-color: rgba(245, 158, 11, 0.28);
  background:
    linear-gradient(165deg, rgba(255, 247, 237, 0.85) 0%, var(--surface) 42%);
}

.home-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.home-panel__icon {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff7ed;
  color: #ea580c;
  font-size: 1.05rem;
}

.home-panel__icon--history {
  background: var(--brand-soft);
  color: var(--brand);
}

.home-panel__icon--comments {
  background: #eff6ff;
  color: #2563eb;
}

.home-panel__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.home-panel__lead {
  margin: 0.2rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.home-panel__empty {
  margin: 0;
  padding: 1.25rem 0.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .home-collapsible-list:not(.is-expanded) > li:nth-child(n+6) {
    display: none;
  }
}

.home-list-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px dashed rgba(13, 110, 253, 0.28);
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.04);
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-list-expand:hover {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.4);
}

.home-list-expand__label-less { display: none; }
.home-list-expand.is-expanded .home-list-expand__label-more { display: none; }
.home-list-expand.is-expanded .home-list-expand__label-less { display: inline; }
.home-list-expand__chevron {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.home-list-expand.is-expanded .home-list-expand__chevron {
  transform: rotate(180deg);
}

.home-panel--hot .home-list-expand {
  border-color: rgba(234, 88, 12, 0.3);
  background: rgba(234, 88, 12, 0.05);
  color: #c2410c;
}

.home-panel--hot .home-list-expand:hover {
  background: rgba(234, 88, 12, 0.1);
  border-color: rgba(234, 88, 12, 0.45);
}

/* —— Add to Home Screen prompt —— */
.a2hs-prompt {
  position: fixed;
  inset: 0;
  z-index: 1085;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0.85rem 5.25rem;
  background: rgba(11, 94, 215, 0.48);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.a2hs-prompt.a2hs-prompt--visible {
  opacity: 1;
  pointer-events: auto;
}

.a2hs-prompt__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 24rem;
  padding: 1.15rem 1.15rem 1.2rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 48%, #3d8bfd 100%);
  color: #fff;
  box-shadow: 0 22px 50px rgba(8, 66, 152, 0.45);
  overflow: hidden;
  transform: translateY(1.1rem);
  transition: transform 0.28s ease;
}

.a2hs-prompt.a2hs-prompt--visible .a2hs-prompt__inner {
  transform: translateY(0);
}

.a2hs-prompt__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.a2hs-prompt__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.a2hs-prompt__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.a2hs-prompt__icon {
  position: relative;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.a2hs-prompt--android .a2hs-prompt__icon {
  background: rgba(52, 211, 153, 0.28);
}

.a2hs-prompt__copy {
  position: relative;
  z-index: 1;
  padding-right: 1.5rem;
}

.a2hs-prompt__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.a2hs-prompt__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.94;
}

.a2hs-prompt__btn {
  position: relative;
  z-index: 1;
  align-self: stretch;
  border-radius: 999px;
  font-weight: 650;
  color: #0b5ed7;
  border: 0;
}

@media (min-width: 576px) {
  .a2hs-prompt {
    align-items: center;
    padding: 1.25rem;
  }
}

@media (min-width: 992px) {
  .a2hs-prompt { display: none !important; }
}

.home-rank-list,
.home-phone-list,
.home-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-rank-list__item,
.home-phone-list > li {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.home-rank-list__item:first-child,
.home-phone-list > li:first-child {
  border-top: none;
}

.home-rank-list__item {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.62rem 0.1rem;
}

.home-rank-list__pos {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  background: #fff7ed;
  color: #c2410c;
}

.home-rank-list__item:nth-child(1) .home-rank-list__pos {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
}
.home-rank-list__item:nth-child(2) .home-rank-list__pos {
  background: #e2e8f0;
  color: #475569;
}
.home-rank-list__item:nth-child(3) .home-rank-list__pos {
  background: #ffedd5;
  color: #9a3412;
}

.home-rank-list__phone {
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-rank-list__phone:hover {
  color: var(--brand);
}

.home-rank-list__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c2410c;
  white-space: nowrap;
}

.home-phone-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.15rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  border-radius: 0.5rem;
}

.home-phone-row:hover {
  background: rgba(13, 110, 253, 0.04);
}

.home-phone-row__num {
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: -0.01em;
}

.home-phone-row:hover .home-phone-row__num {
  color: var(--brand);
}

.home-phone-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.home-phone-row__count {
  font-weight: 600;
  color: #64748b;
}

.home-comments-band {
  margin-top: 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.1);
  border-radius: 1.15rem;
  padding: 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.home-comments-band__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.home-comments-band__titles {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.home-comments-band__nav {
  display: none;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .home-comments-band__nav { display: inline-flex; }
}

.home-comments-nav {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: #fff;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.home-comments-nav:hover {
  background: var(--brand-soft);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.home-comments-scroller {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.15rem 0.1rem 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-comments-scroller::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.home-comments-scroller:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.home-quote {
  flex: 0 0 min(86vw, 300px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 1rem;
  padding: 1.15rem 1.1rem 1rem;
  background:
    linear-gradient(160deg, rgba(13, 110, 253, 0.06) 0%, transparent 42%),
    var(--surface-muted);
  border: 1px solid rgba(13, 110, 253, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
}

@media (min-width: 768px) {
  .home-quote { flex-basis: 300px; }
}

.home-quote__mark {
  position: absolute;
  top: 0.35rem;
  right: 0.85rem;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(13, 110, 253, 0.14);
  pointer-events: none;
}

.home-quote__text {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text);
  flex: 1;
}

.home-quote__foot {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
}

.home-quote__who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.home-quote__user {
  font-weight: 750;
  font-size: 0.88rem;
  color: var(--text);
}

.home-quote__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--brand);
  text-decoration: none;
}

.home-quote__phone:hover {
  text-decoration: underline;
}

.home-quote__time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.home-cat {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.home-cat--safe { background: #dcfce7; color: #166534; }
.home-cat--useful { background: #e0f2fe; color: #075985; }
.home-cat--annoying { background: #fef3c7; color: #92400e; }
.home-cat--dangerous { background: #fee2e2; color: #991b1b; }
.home-cat--neutral { background: #f1f5f9; color: #475569; }

.dark-mode .home-discovery {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(13, 110, 253, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(245, 158, 11, 0.08), transparent 50%),
    transparent;
}

.dark-mode .home-panel {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-mode .home-panel--hot {
  background: linear-gradient(165deg, rgba(120, 53, 15, 0.28) 0%, var(--surface) 48%);
  border-color: rgba(245, 158, 11, 0.22);
}

.dark-mode .home-panel__icon {
  background: rgba(245, 158, 11, 0.15);
  color: #fb923c;
}

.dark-mode .home-panel__icon--history,
.dark-mode .home-panel__icon--comments {
  background: rgba(13, 110, 253, 0.18);
  color: #93c5fd;
}

.dark-mode .home-rank-list__item,
.dark-mode .home-phone-list > li {
  border-color: rgba(255, 255, 255, 0.07);
}

.dark-mode .home-rank-list__phone,
.dark-mode .home-quote__user,
.dark-mode .home-quote__text {
  color: #e8eaed;
}

.dark-mode .home-phone-row__num {
  color: #93c5fd;
}

.dark-mode .home-phone-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.dark-mode .home-rank-list__pos {
  background: rgba(245, 158, 11, 0.18);
  color: #fdba74;
}

.dark-mode .home-comments-band {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-mode .home-comments-nav {
  background: #2b2f33;
  border-color: rgba(255, 255, 255, 0.12);
  color: #93c5fd;
}

.dark-mode .home-quote {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .home-quote__mark {
  color: rgba(147, 197, 253, 0.2);
}

/* —— Home tips CTA —— */
.home-tips-cta {
  padding: 0.5rem 0 2.75rem;
}

.home-tips-cta__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background:
    linear-gradient(125deg, rgba(11, 94, 215, 0.95) 0%, rgba(13, 110, 253, 0.92) 48%, rgba(61, 139, 253, 0.9) 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(8, 66, 152, 0.28);
  position: relative;
  overflow: hidden;
}

.home-tips-cta__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.home-tips-cta__icon,
.home-tips-cta__copy,
.home-tips-cta__btn {
  position: relative;
  z-index: 1;
}

.home-tips-cta__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.2rem;
}

.home-tips-cta__title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-tips-cta__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.94;
  max-width: 36rem;
}

.home-tips-cta__btn {
  align-self: stretch;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
  background: #fff;
  color: #0b5ed7;
  border: 0;
}

.home-tips-cta__btn:hover {
  background: #f8fafc;
  color: #084298;
}

@media (min-width: 720px) {
  .home-tips-cta__card {
    flex-direction: row;
    align-items: center;
    gap: 1.15rem 1.35rem;
    padding: 1.5rem 1.6rem;
  }

  .home-tips-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .home-tips-cta__btn {
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.dark-mode .home-tips-cta__card {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* —— Tips page —— */
.tips-hero.page-hero,
.tips-hero {
  padding: 2.25rem 0 2.5rem;
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 45%, #4d9fff 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.tips-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.tips-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.tips-hero .page-breadcrumb,
.tips-hero .page-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.tips-hero__badge {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
  margin: 0.85rem 0 1rem;
}

.tips-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.tips-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.94;
  max-width: 34rem;
}

.tips-page {
  padding: 2rem 0 3.25rem;
}

.tips-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.tips-page__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .tips-page__item {
    grid-template-columns: 5.5rem 1fr;
    gap: 1.25rem 1.5rem;
    padding: 1.6rem 1.6rem 1.7rem;
  }

  .tips-page__item--alt {
    background:
      linear-gradient(135deg, rgba(13, 110, 253, 0.04), transparent 40%),
      var(--surface);
  }
}

.tips-page__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.tips-page__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d6efd, #4d9fff);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.28);
}

.tips-page__item-title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
}

.tips-page__item-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 48rem;
}

.tips-page__outro {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.45rem 1.3rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(13, 110, 253, 0.16);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(13, 110, 253, 0.1), transparent 55%),
    var(--surface);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.tips-page__outro-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.tips-page__outro-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.tips-page__outro-btn {
  align-self: stretch;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.25rem;
}

@media (min-width: 720px) {
  .tips-page__outro {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem 1.75rem;
  }

  .tips-page__outro-copy {
    flex: 1 1 auto;
  }

  .tips-page__outro-btn {
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.dark-mode .tips-page__item,
.dark-mode .tips-page__outro {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-mode .tips-page__item--alt {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), transparent 40%), var(--surface);
}

/* —— Monthly top 20 —— */
.mtop-hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 2.6rem;
  margin-bottom: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, #0a4bb8 0%, #0d6efd 42%, #3d8bfd 78%, #f0b429 160%);
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow: 0 16px 40px rgba(8, 66, 152, 0.28);
}

.mtop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 100% -10%, rgba(255, 255, 255, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(240, 180, 41, 0.22), transparent 55%);
  pointer-events: none;
}

.mtop-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.mtop-hero__badge {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mtop-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.mtop-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.mtop-hero__lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  opacity: 0.94;
  max-width: 36rem;
}

.mtop-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
  justify-content: flex-end;
}

.mtop-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 7.5rem;
  padding: 0.7rem 0.95rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mtop-hero__stat--primary {
  min-width: 11rem;
}

.mtop-hero__stat--primary strong {
  font-size: 1.55rem;
}

.mtop-hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex: 0 1 auto;
  margin-left: auto;
}

.mtop-hero__lead {
  max-width: 36rem;
}

.mtop-hero__stat strong {
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.mtop-hero__stat span {
  font-size: 0.75rem;
  opacity: 0.9;
}

.mtop-filters {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: 1.15rem;
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.12);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.container.mtop-page {
  max-width: 960px;
}

@media (min-width: 720px) {
  .mtop-filters {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
  }
}

.mtop-filters__field {
  flex: 1 1 auto;
  min-width: 0;
}

.mtop-filters__field--grow {
  flex: 1.4 1 auto;
}

.mtop-filters__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.mtop-filters__select {
  border-radius: 0.75rem;
  border-color: rgba(13, 110, 253, 0.18);
  font-weight: 600;
}

.mtop-filters__btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
}

.mtop-empty {
  text-align: center;
  padding: 3rem 1.25rem;
  border-radius: 1.25rem;
  background: var(--surface);
  border: 1px dashed rgba(13, 110, 253, 0.22);
  color: var(--text-muted);
}

.mtop-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand);
  font-size: 1.25rem;
}

.mtop-podium {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .mtop-podium {
    grid-template-columns: 1fr 1.15fr 1fr;
    align-items: end;
    gap: 1rem;
  }

  .mtop-podium__card--gold {
    order: 2;
    transform: translateY(-0.65rem);
  }

  .mtop-podium__card--silver { order: 1; }
  .mtop-podium__card--bronze { order: 3; }
}

.mtop-podium__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.15rem 1.2rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.12);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.mtop-podium__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  color: inherit;
  text-decoration: none;
}

.mtop-podium__card--gold {
  background:
    linear-gradient(165deg, rgba(255, 215, 0, 0.18) 0%, transparent 42%),
    var(--surface);
  border-color: rgba(240, 180, 41, 0.45);
}

.mtop-podium__card--silver {
  background:
    linear-gradient(165deg, rgba(148, 163, 184, 0.18) 0%, transparent 42%),
    var(--surface);
  border-color: rgba(148, 163, 184, 0.4);
}

.mtop-podium__card--bronze {
  background:
    linear-gradient(165deg, rgba(205, 127, 50, 0.16) 0%, transparent 42%),
    var(--surface);
  border-color: rgba(205, 127, 50, 0.4);
}

.mtop-podium__place {
  position: absolute;
  top: 0.85rem;
  right: 0.95rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.mtop-podium__card--gold .mtop-podium__place {
  background: linear-gradient(145deg, #ffd700, #f0b429);
  color: #1a1a1a;
}

.mtop-podium__card--silver .mtop-podium__place {
  background: linear-gradient(145deg, #e2e8f0, #94a3b8);
  color: #1a1a1a;
}

.mtop-podium__card--bronze .mtop-podium__place {
  background: linear-gradient(145deg, #d97706, #b45309);
  color: #fff;
}

.mtop-podium__crown {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.mtop-podium__card--gold .mtop-podium__crown {
  background: rgba(240, 180, 41, 0.2);
  color: #b8860b;
}

.mtop-podium__card--silver .mtop-podium__crown {
  background: rgba(100, 116, 139, 0.15);
  color: #64748b;
}

.mtop-podium__card--bronze .mtop-podium__crown {
  background: rgba(180, 83, 9, 0.15);
  color: #b45309;
}

.mtop-podium__phone {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  word-break: break-all;
  line-height: 1.25;
  padding-right: 2rem;
}

.mtop-podium__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--text-muted);
}

.mtop-podium__meta i {
  color: var(--brand);
  margin-right: 0.2rem;
}

.mtop-podium__bar {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.1);
  overflow: hidden;
}

.mtop-podium__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6efd, #4d9fff);
}

.mtop-podium__card--gold .mtop-podium__bar > span {
  background: linear-gradient(90deg, #f0b429, #ffd700);
}

.mtop-podium__cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
}

.mtop-list__heading {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mtop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mtop-list__item {
  margin: 0;
}

.mtop-list__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid rgba(13, 110, 253, 0.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.mtop-list__link:hover {
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.1);
  transform: translateY(-1px);
  color: inherit;
  text-decoration: none;
}

@media (min-width: 640px) {
  .mtop-list__link {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
}

.mtop-list__rank {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.mtop-list__phone {
  display: block;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
  word-break: break-all;
}

.mtop-list__bar {
  display: block;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.08);
  overflow: hidden;
}

.mtop-list__bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0d6efd, #6ea8fe);
}

.mtop-list__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  grid-column: 2;
}

@media (min-width: 640px) {
  .mtop-list__stats {
    grid-column: auto;
    justify-content: flex-end;
  }
}

.mtop-list__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.mtop-list__stat--views {
  color: var(--brand);
}

.dark-mode .mtop-filters,
.dark-mode .mtop-empty,
.dark-mode .mtop-podium__card,
.dark-mode .mtop-list__link {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-mode .mtop-podium__card--gold {
  background: linear-gradient(165deg, rgba(240, 180, 41, 0.16) 0%, transparent 42%), var(--surface);
}

.dark-mode .mtop-podium__card--silver {
  background: linear-gradient(165deg, rgba(148, 163, 184, 0.14) 0%, transparent 42%), var(--surface);
}

.dark-mode .mtop-podium__card--bronze {
  background: linear-gradient(165deg, rgba(205, 127, 50, 0.14) 0%, transparent 42%), var(--surface);
}

/* —— Carousels —— */
.carousel-wrapper {
  overflow: hidden;
  position: relative;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
}

.carousel-inner {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease-out;
  padding: 0.5rem 0;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 1;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(238, 244, 251, 0.95), rgba(238, 244, 251, 0.3), transparent);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(238, 244, 251, 0.95), rgba(238, 244, 251, 0.3), transparent);
}

.dark-mode .carousel-wrapper::before {
  background: linear-gradient(to right, rgba(20, 24, 28, 0.95), rgba(20, 24, 28, 0.3), transparent);
}

.dark-mode .carousel-wrapper::after {
  background: linear-gradient(to left, rgba(20, 24, 28, 0.95), rgba(20, 24, 28, 0.3), transparent);
}

.carousel-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 2px 10px rgba(13, 110, 253, 0.18);
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--brand);
}

.carousel-nav-button:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.28);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav-button.prev { left: -8px; }
.carousel-nav-button.next { right: -8px; }

.dark-mode .carousel-nav-button {
  background: rgba(35, 39, 43, 0.95);
  color: #fff;
}

.search-number-card {
  display: inline-block;
  min-width: 220px;
  max-width: 250px;
  margin-right: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.2rem;
  vertical-align: top;
  word-break: break-word;
  white-space: normal;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-number-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 110, 253, 0.2);
}

.search-number-card:last-child { margin-right: 0; }
.search-number-card .fa-search { color: var(--brand); }

/* —— Result page —— */
.phone-info, .comment { box-shadow: none; border-radius: var(--radius); }

.phone-info {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.phone-info.result-page {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1), 0 0 0 1px var(--border);
  animation: pageEnter 0.4s ease both;
}

.result-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.result-stack__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.result-stack__card--stats {
  padding: 0;
}

.result-stack__card--widget {
  padding: 0;
}

.dark-mode .result-stack__card {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.result-hero {
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 40%, #4d9fff 100%);
  color: #fff;
  padding: 1.65rem 1.35rem;
  position: relative;
}

.result-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.result-hero--caution {
  background: linear-gradient(125deg, #9a1f2e 0%, #c82333 45%, #e35d6a 100%);
}

.result-hero-inner { position: relative; z-index: 1; }

.result-phone-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.92;
  margin-bottom: 0.4rem;
}

.result-phone-number {
  font-size: clamp(1.25rem, 4.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 0;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  line-height: 1.25;
  /* Prevent mobile dialer on long-press / auto-link */
  -webkit-touch-callout: none;
  user-select: text;
  pointer-events: auto;
}

/* Block accidental tel: links (OS auto-detection) on phone pages */
a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 991.98px) {
  a[href^="tel:"] {
    pointer-events: none !important;
  }
}

.result-hero .verified-badge { font-size: 0.82rem !important; vertical-align: middle; }

.result-hero .btn-favorite-hero {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.result-hero .btn-favorite-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.result-jump-comments-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0 0.65rem 0 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  font-variant-numeric: tabular-nums;
}

.result-jump-comments-btn .result-jump-comments-count {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.result-jump-comments-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
  border-color: #fff;
  transform: scale(1.06);
}

.result-jump-comments-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.result-tips-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.65rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.result-tips-hero-btn:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
  border-color: #fff;
  transform: scale(1.04);
}

.result-tips-hero-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .result-tips-hero-btn__label {
    /* keep label visible but compact */
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* —— Safety tips modal —— */
.safety-tips-modal .modal-content {
  border: none;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.safety-tips-modal__header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem 1.1rem;
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 48%, #4d9fff 100%);
  color: #fff;
  position: relative;
}

.safety-tips-modal__header-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.safety-tips-modal__header-copy {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 1.5rem;
}

.safety-tips-modal__title {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.safety-tips-modal__lead {
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0.92;
}

.safety-tips-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.safety-tips-modal__body {
  padding: 1.1rem 1.15rem 0.5rem;
  background: var(--surface, #fff);
}

.safety-tips-modal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.safety-tips-modal__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 0.75rem;
  align-items: start;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(13, 110, 253, 0.12);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.safety-tips-modal__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  margin-top: 0.05rem;
}

.safety-tips-modal__item-title {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text);
  line-height: 1.3;
}

.safety-tips-modal__item-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.safety-tips-modal__footer {
  padding: 0.85rem 1.15rem 1.15rem;
  background: #f8fafc;
  border-top: 1px solid var(--border, #e5e7eb);
  display: flex;
  justify-content: flex-end;
}

.safety-tips-modal__btn {
  border-radius: 999px;
  font-weight: 650;
  padding: 0.55rem 1.25rem;
}

.dark-mode .safety-tips-modal__body {
  background: #23272b;
}

.dark-mode .safety-tips-modal__item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .safety-tips-modal__icon {
  background: rgba(13, 110, 253, 0.18);
  color: #93c5fd;
}

.dark-mode .safety-tips-modal__footer {
  background: #1a1f24;
  border-top-color: #3d4449;
}

@media (max-width: 575.98px) {
  .safety-tips-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
}

#comments-section,
#comment-form-section {
  scroll-margin-top: 5.5rem;
}

.result-body {
  padding: 1.35rem 1.25rem 1.75rem;
}

@media (min-width: 768px) {
  .result-body { padding: 1.6rem 1.85rem 2.1rem; }
  .result-hero { padding: 1.85rem; }
}

.result-stat-tile {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 0.65rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dark-mode .result-stat-tile {
  background: linear-gradient(180deg, #2c3136 0%, #23272b 100%);
}

.result-stat-tile:hover {
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 8px 22px rgba(13, 110, 253, 0.12);
  transform: translateY(-2px);
}

.result-stat-tile__icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  font-size: 1.25rem;
}

.result-stat-tile__icon--danger { background: rgba(220, 53, 69, 0.12); color: #dc3545; }
.result-stat-tile__icon--star { background: rgba(255, 193, 7, 0.18); color: #b8860b; }
.result-stat-tile__icon--cal { background: rgba(13, 110, 253, 0.12); color: #0d6efd; }
.result-stat-tile__icon--eye { background: rgba(13, 202, 240, 0.14); color: #0aa2c0; }
.result-stat-tile__icon--clock { background: rgba(108, 117, 125, 0.14); color: #5c636a; }

.result-stat-tile__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.result-stat-tile__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.result-panel {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1rem;
  margin-bottom: 1.35rem;
}

.dark-mode .result-panel {
  background: rgba(0, 0, 0, 0.22);
}

.result-panel__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.result-search-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 110, 253, 0.1);
  color: #084298;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.dark-mode .result-search-count {
  background: rgba(13, 110, 253, 0.22);
  color: #9ec5fe;
}

.claim-banner {
  background: linear-gradient(135deg, #e8f4ff 0%, #f4f9ff 100%);
  border: 1px solid rgba(13, 110, 253, 0.18);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}

.dark-mode .claim-banner {
  background: linear-gradient(135deg, #1a2838 0%, #23272b 100%);
  border-color: rgba(13, 110, 253, 0.35);
  color: #e9ecef;
}

.claim-banner__btn { width: 100%; }
@media (min-width: 768px) {
  .claim-banner__btn { width: auto; }
}

/* —— Claim & Verify modal —— */
.claim-modal .modal-content {
  border: none;
  border-radius: 1.1rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  max-height: min(92dvh, 92vh);
}
.claim-modal__header {
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
  padding: 1.15rem 1.25rem 1rem;
  border-bottom: none;
  border-radius: 1.1rem 1.1rem 0 0;
}
.claim-modal__header .modal-title { font-size: 1.15rem; letter-spacing: -0.02em; }
.claim-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 1rem;
}
.claim-modal__body {
  padding: 1.15rem 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.claim-modal__footer {
  padding: 0.85rem 1.25rem 1.05rem;
  border-top: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 0 0 1.1rem 1.1rem;
}
.claim-modal__footer .btn { min-height: auto !important; }
.claim-modal__number-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 110, 253, 0.1);
  color: #084298;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}
.claim-modal__section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.55rem;
}
.claim-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4.25rem;
  padding: 0.85rem 0.65rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  background: #fff;
}
.claim-type-card i { font-size: 1.25rem; color: #0d6efd; }
.btn-check:checked + .claim-type-card {
  border-color: #0d6efd;
  background: rgba(13, 110, 253, 0.08);
  box-shadow: 0 0 0 1px #0d6efd;
}
.btn-check:checked + .claim-type-card--company {
  border-color: #6610f2;
  background: rgba(102, 16, 242, 0.08);
  box-shadow: 0 0 0 1px #6610f2;
}
.btn-check:checked + .claim-type-card--company i { color: #6610f2; }
.claim-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .claim-upload-grid { grid-template-columns: 1fr 1fr; }
  .claim-upload-grid .claim-company-only:not([hidden]) { grid-column: 1 / -1; }
}
.claim-upload-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem;
  border: 1.5px dashed rgba(13, 110, 253, 0.35);
  border-radius: 0.9rem;
  background: #f8fbff;
  cursor: pointer;
  margin: 0;
}
.claim-upload-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
  margin-bottom: 0.25rem;
}
.claim-upload-card__title { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.claim-upload-card__hint { font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; }
.dark-mode .claim-modal__footer { background: #1a1f24; border-top-color: #3d4449; }
.dark-mode .claim-type-card { background: #1e2226; border-color: #3d4449; color: #e9ecef; }
.dark-mode .claim-upload-card { background: #1a1f24; border-color: rgba(77, 159, 255, 0.35); }
.dark-mode .claim-modal__number-chip { background: rgba(13, 110, 253, 0.22); color: #9ec5fe; }
.dark-mode .claim-modal .modal-content { background: #23272b; color: #e9ecef; }
@media (max-width: 767.98px) {
  .claim-modal .modal-dialog { margin: 0.5rem; max-width: calc(100% - 1rem); }
  .claim-modal .modal-content { max-height: calc(100dvh - 1rem); }
}

.comment-cta-banner {
  border-radius: var(--radius);
  border: none !important;
  background: linear-gradient(135deg, #cff4fc 0%, #e8f6fa 100%) !important;
}

.dark-mode .comment-cta-banner {
  background: linear-gradient(135deg, #1a333d 0%, #23272b 100%) !important;
  color: #e9ecef !important;
}

.result-section-title {
  font-size: 1.28rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.25);
  color: var(--text);
}

.result-widget-card {
  border-radius: var(--radius);
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.result-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.result-flow__comments .result-section-title {
  margin-top: 0;
}

.result-stats-table {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface, #fff);
  box-shadow: none;
}

.result-stats-table__caption {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  background: linear-gradient(105deg, #0b5ed7 0%, #0d6efd 50%, #3d8bfd 100%);
  color: #fff;
  border-bottom: 1px solid rgba(8, 66, 152, 0.25);
}

.result-stats-table__caption-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.05rem;
}

.result-stats-table__title {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.result-stats-table__lead {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  opacity: 0.92;
}

.result-stats-table__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

@media (min-width: 992px) {
  .result-stats-table__metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.result-stats-table__cell {
  text-align: center;
  padding: 1rem 0.7rem 1.05rem;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  min-width: 0;
}

.result-stats-table__metrics .result-stats-table__cell:nth-child(2n) {
  border-right: none;
}

@media (min-width: 992px) {
  .result-stats-table__metrics .result-stats-table__cell {
    border-bottom: none;
  }
  .result-stats-table__metrics .result-stats-table__cell:nth-child(2n) {
    border-right: 1px solid rgba(15, 23, 42, 0.08);
  }
  .result-stats-table__metrics .result-stats-table__cell:last-child {
    border-right: none;
  }
}

.result-stats-table__cell .result-stat-tile__icon {
  margin-left: auto;
  margin-right: auto;
}

.result-stats-table__section {
  padding: 1.1rem 1.15rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
}

.result-stats-table__section--last {
  background: #fff;
}

.result-stats-table__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(13, 110, 253, 0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.result-stats-table__foot i {
  color: var(--brand);
}

.dark-mode .result-stats-table {
  background: #23272b;
  border-color: transparent;
  box-shadow: none;
}

.dark-mode .result-stats-table__metrics,
.dark-mode .result-stats-table__cell {
  background: #23272b;
}

.dark-mode .result-stats-table__cell {
  border-color: rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
  .dark-mode .result-stats-table__metrics .result-stats-table__cell:nth-child(2n) {
    border-right-color: rgba(255, 255, 255, 0.08);
  }
}

.dark-mode .result-stats-table__section {
  background: #1a1f24;
  border-top-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .result-stats-table__section--last {
  background: #23272b;
}

.dark-mode .result-stats-table__foot {
  background: rgba(13, 110, 253, 0.14);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #adb5bd;
}

.result-panel__chart {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.result-panel__chart canvas {
  max-width: 100%;
}

.result-stat-tile__value--date {
  font-size: 0.9rem;
  word-break: break-word;
  hyphens: auto;
}

.result-widget-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.06), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.2rem 1.35rem;
}

.result-stack__card--widget .result-widget-cta {
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.result-widget-cta__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.12);
  color: var(--brand);
  flex-shrink: 0;
}

.result-widget-cta__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.result-widget-cta__lead {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.result-widget-cta__btn {
  align-self: stretch;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  text-align: center;
}

@media (min-width: 576px) {
  .result-widget-cta {
    flex-direction: row;
    align-items: center;
    gap: 1rem 1.25rem;
  }

  .result-widget-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .result-widget-cta__btn {
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.dark-mode .result-widget-cta {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.14), transparent 42%),
    #23272b;
}

@media (max-width: 991.98px) {
  .phone-info.result-page {
    border-radius: var(--radius);
  }

  .result-body {
    padding: 1.1rem 0.95rem 1.4rem;
  }

  .result-hero {
    padding: 1.25rem 1rem;
  }

  .result-stat-tile {
    padding: 0.85rem 0.45rem;
  }

  .result-stat-tile__label {
    font-size: 0.65rem;
  }

  .result-stat-tile__value {
    font-size: 0.95rem;
  }

  .result-stat-tile__icon {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
  }

  .result-panel {
    padding: 1rem 0.85rem 0.85rem;
  }

  .result-section-title {
    font-size: 1.15rem;
  }

  .result-comment-form {
    padding: 1.1rem 0.95rem;
  }

  .phone-info .comment {
    padding: 0.9rem !important;
  }

  .claim-banner {
    padding: 1rem;
  }

  .claim-banner__btn {
    width: 100%;
  }

  .result-hero .btn-favorite-hero {
    width: 100%;
  }
}

/* —— Comment success feedback modal —— */
.success-feedback-modal .modal-content {
  border: none;
  border-radius: 1.25rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.success-feedback-modal__body {
  position: relative;
  text-align: center;
  padding: 2.1rem 1.6rem 1.75rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(25, 135, 84, 0.16), transparent 60%),
    var(--surface, #fff);
}

.success-feedback-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.success-feedback-modal__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #198754 0%, #20c997 100%);
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 10px 24px rgba(25, 135, 84, 0.35);
  animation: successFeedbackPop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-feedback-modal__title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
  color: var(--text);
}

.success-feedback-modal__text {
  margin: 0 auto 1.45rem;
  max-width: 22rem;
  color: var(--text-muted, #6c757d);
  font-size: 1rem;
  line-height: 1.5;
}

.success-feedback-modal__btn {
  min-width: 8.5rem;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
}

.dark-mode .success-feedback-modal__body {
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(25, 135, 84, 0.22), transparent 60%),
    #23272b;
}

.dark-mode .success-feedback-modal .modal-content {
  background: #23272b;
}

@keyframes successFeedbackPop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.phone-info .comment {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.result-comment-form {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  margin-top: 0.5rem;
}

.dark-mode .result-comment-form {
  background: #2a2f34;
}

.phone-info .card.shadow-sm {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
}

.phone-info .card.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}

.container.mb-4 > h4 { color: var(--text); }

.comment {
  background: #f8f9fa;
  border-left: 4px solid var(--brand);
}

.comment--featured {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 45%, #f8fafc 100%);
  border: 2px solid #10b981;
  border-left: 6px solid #059669;
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.15);
}

.comment--featured .comment-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #047857;
  background: rgba(16, 185, 129, 0.18);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.5rem;
}

.comment-vote {
  display: inline-flex;
  align-items: stretch;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.comment-vote.is-busy {
  opacity: 0.65;
  pointer-events: none;
}

.comment-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: var(--surface, #fff);
  color: var(--text-muted, #6c757d);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  min-height: auto !important;
}

.comment-vote-btn:hover {
  border-color: rgba(13, 110, 253, 0.35);
  color: var(--text, #212529);
  text-decoration: none;
}

.comment-vote-btn--helpful.is-active {
  background: rgba(13, 110, 253, 0.12);
  border-color: var(--brand, #0d6efd);
  color: var(--brand, #0d6efd);
}

.comment-vote-btn--unhelpful.is-active {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.45);
  color: #dc3545;
}

.comment-vote-count {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 575.98px) {
  .comment-vote-label {
    display: none;
  }
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.cat-safe { background-color: var(--safe) !important; color: #fff !important; }
.cat-useful { background-color: var(--useful) !important; color: #212529 !important; }
.cat-neutral { background-color: var(--neutral) !important; color: #fff !important; }
.cat-annoying { background-color: var(--annoying) !important; color: #212529 !important; }
.cat-dangerous { background-color: var(--dangerous) !important; color: #fff !important; }
#category { font-weight: bold; transition: background 0.2s, color 0.2s; }

/* —— Autocomplete —— */
.autocomplete-suggestions {
  position: absolute;
  z-index: 9999;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 0.7rem 0.7rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
}

.autocomplete-suggestion {
  padding: 0.7em 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1em;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: background 0.15s;
}

.autocomplete-suggestion:last-child { border-bottom: none; }
.autocomplete-suggestion.active,
.autocomplete-suggestion:hover { background: var(--brand-soft); }

.autocomplete-number { font-weight: 600; font-size: 1.1em; color: var(--brand); }
.autocomplete-score { font-size: 0.95em; margin-left: auto; }
.autocomplete-views { font-size: 0.95em; color: var(--text-muted); margin-left: 1em; }

/* —— Floating search —— */
.floating-search-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1200;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 6px 24px rgba(13, 110, 253, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: background 0.2s, transform 0.15s;
}

.floating-search-btn:hover {
  transform: scale(1.05);
}

.floating-search-btn:active,
.floating-search-btn:focus {
  background: var(--brand-hover);
  outline: none;
}

@media (min-width: 768px) {
  .floating-search-btn { display: none !important; }
}

/* —— Cookie consent —— */
#cookieConsent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  pointer-events: none;
}

#cookieConsent .cookie-banner {
  margin: 0 auto 2.5rem auto;
  max-width: 420px;
  background: rgba(34, 40, 49, 0.78);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.18);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  color: #fff;
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  pointer-events: auto;
  position: relative;
  animation: popin 0.7s cubic-bezier(.23, 1.12, .32, 1);
}

#cookieConsent .cookie-banner .cookie-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.2rem;
  display: block;
}

#cookieConsent .cookie-banner .cookie-text {
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #fff;
}

#cookieConsent .cookie-banner .cookie-link {
  color: #ffd600;
  text-decoration: underline;
  font-weight: 500;
  margin-left: 0.2em;
}

#cookieConsent .cookie-banner .cookie-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
  justify-content: center;
  width: 100%;
}

#cookieConsent .cookie-banner .cookie-accept {
  background: linear-gradient(90deg, #ffd600 0%, #ffb300 100%);
  color: #222;
  border: none;
  border-radius: 2em;
  padding: 0.7em 2.2em;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 214, 0, 0.13);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

#cookieConsent .cookie-banner .cookie-accept:hover {
  background: linear-gradient(90deg, #ffb300 0%, #ffd600 100%);
  color: #111;
  box-shadow: 0 4px 16px rgba(255, 214, 0, 0.18);
}

#cookieConsent .cookie-banner .cookie-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#cookieConsent .cookie-banner .cookie-close:hover { opacity: 1; }

@media (max-width: 600px) {
  #cookieConsent .cookie-banner {
    max-width: 98vw;
    padding: 1.2rem 0.7rem 1rem;
  }
}

/* —— Experience invite —— */
.experience-invite-banner {
  position: fixed;
  z-index: 1180;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(120%);
  width: min(32rem, calc(100% - 1.75rem));
  pointer-events: none;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.23, 1.12, .32, 1), opacity 0.35s ease;
}

.experience-invite-banner.experience-invite-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.experience-invite-banner__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.15rem 1.35rem 1.15rem 1.15rem;
  border-radius: 1.1rem;
  background: linear-gradient(125deg, #0b5ed7 0%, #0d6efd 45%, #4d9fff 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(13, 110, 253, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.experience-invite-banner__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 255, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.experience-invite-banner__close {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.experience-invite-banner__close:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.experience-invite-banner__icon {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.experience-invite-banner__copy {
  position: relative;
  z-index: 1;
  flex: 1 1 12rem;
  min-width: 0;
}

.experience-invite-banner__headline {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.experience-invite-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  opacity: 0.95;
}

.experience-invite-banner__cta {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
  .experience-invite-banner { bottom: 5.25rem; }
  .experience-invite-banner__inner { padding-top: 2.25rem; }
  .experience-invite-banner__cta { width: 100%; text-align: center; }
  .hero-section {
    padding: 2.25rem 0 3.5rem;
  }
  .hero-section h1 {
    font-size: 1.25rem;
    line-height: 1.3;
  }
  .search-card {
    margin-top: -2.5rem;
    padding: 1.35rem 1rem;
  }
  .search-number-card { min-width: 80vw; max-width: 90vw; }
}

/* —— Auth —— */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
  min-height: calc(100vh - var(--nav-height) - 100px);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(13, 110, 253, 0.06);
  padding: 2rem 1.75rem;
  animation: popin 0.55s cubic-bezier(.23, 1.12, .32, 1);
}

.auth-card .auth-logo {
  text-align: center;
  margin-bottom: 1.25rem;
}

.auth-card .auth-logo img {
  height: 56px;
  width: auto;
}

.auth-card h1,
.auth-card h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.auth-card .form-control {
  border-radius: 0.65rem;
  border-color: rgba(13, 110, 253, 0.2);
}

.auth-card .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.auth-card .btn-primary {
  border-radius: 0.65rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

.auth-card .auth-footer-link {
  text-align: center;
  margin-top: 1.15rem;
  color: var(--text-muted);
}

.auth-oauth {
  margin-bottom: 1.15rem;
}

.auth-oauth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-oauth__divider::before,
.auth-oauth__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(13, 110, 253, 0.15);
}

a.btn-google,
.btn.btn-google,
.auth-card a.btn-google,
.auth-wizard a.btn-google,
.auth-oauth a.btn-google {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1.1rem !important;
  border: 2px solid #dadce0 !important;
  border-radius: 0.75rem !important;
  background: #fff !important;
  color: #3c4043 !important;
  font-weight: 700 !important;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

a.btn-google:hover,
.btn.btn-google:hover,
.auth-card a.btn-google:hover,
.auth-wizard a.btn-google:hover,
.auth-oauth a.btn-google:hover {
  background: #f7f8fa !important;
  border-color: #c2c6cc !important;
  color: #1a73e8 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.16);
  transform: translateY(-1px);
}

a.btn-google:focus-visible,
.btn.btn-google:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.35);
}

.btn-google__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.dark-mode a.btn-google,
.dark-mode .btn.btn-google,
.dark-mode .auth-card a.btn-google,
.dark-mode .auth-wizard a.btn-google {
  background: #2b2f33 !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #e8eaed !important;
  box-shadow: none;
}

.dark-mode a.btn-google:hover,
.dark-mode .btn.btn-google:hover {
  background: #353a40 !important;
  color: #8ab4f8 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.dark-mode .auth-oauth__divider::before,
.dark-mode .auth-oauth__divider::after {
  background: rgba(255, 255, 255, 0.12);
}

/* —— Register wizard —— */
.auth-page--wizard {
  align-items: flex-start;
  padding-top: 1.75rem;
}

.auth-wizard {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(13, 110, 253, 0.07);
  padding: 1.75rem 1.5rem 1.85rem;
  animation: popin 0.55s cubic-bezier(.23, 1.12, .32, 1);
}

.auth-wizard__brand {
  text-align: center;
  margin-bottom: 1.15rem;
}

.auth-wizard__brand img {
  height: 52px;
  width: auto;
}

.auth-wizard__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.auth-wizard__step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-wizard__step-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.08);
  color: var(--brand);
  font-size: 0.85rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.auth-wizard__step.is-active {
  color: var(--text);
}

.auth-wizard__step.is-active .auth-wizard__step-num {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06);
}

.auth-wizard__step.is-done .auth-wizard__step-num {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.auth-wizard__rail {
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.35), rgba(13, 110, 253, 0.12));
  border-radius: 2px;
}

.auth-wizard__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.auth-wizard__lead {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.98rem;
}

.auth-wizard__panel {
  display: none;
}

.auth-wizard__panel.is-visible {
  display: block;
  animation: wizardIn 0.35s ease;
}

@keyframes wizardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-benefit {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  animation: benefitIn 0.45s ease both;
  animation-delay: var(--delay, 0s);
}

@keyframes benefitIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

.auth-benefit__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.14), rgba(13, 110, 253, 0.04));
  color: var(--brand);
}

.auth-benefit strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.auth-benefit p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.auth-wizard__footer {
  text-align: center;
  margin: 1.15rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-wizard .form-control {
  border-radius: 0.65rem;
  border-color: rgba(13, 110, 253, 0.2);
}

.auth-wizard .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.auth-wizard .auth-oauth {
  margin-top: 0.75rem;
}

.auth-wizard .btn-primary + .auth-oauth,
.auth-wizard .auth-wizard__next + .auth-oauth {
  margin-top: 0.85rem;
}

.auth-wizard .btn-primary,
.auth-wizard .btn-outline-secondary {
  border-radius: 0.65rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

@media (max-width: 575.98px) {
  .auth-wizard__step-label {
    display: none;
  }
  .auth-wizard {
    padding: 1.35rem 1.1rem 1.5rem;
  }
}

.dark-mode .auth-wizard {
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dark-mode .auth-benefit__icon {
  background: linear-gradient(145deg, rgba(13, 110, 253, 0.28), rgba(13, 110, 253, 0.08));
}

.otp-box {
  width: 2.75rem !important;
  font-size: 1.75rem !important;
  border-radius: 0.65rem !important;
  border: 2px solid rgba(13, 110, 253, 0.25) !important;
}

.otp-box:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18) !important;
}

/* —— Content panels —— */
.content-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.5rem;
  animation: pageEnter 0.4s ease both;
}

.profile-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(13, 110, 253, 0.2);
}

.faq-hero,
.faq-hero.page-hero,
.wg-hero.page-hero {
  text-align: left;
}

.faq-hero {
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 55%;
  width: min(28rem, 70vw);
  height: min(28rem, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 0.25rem 0.5rem;
}

.faq-hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0.75rem 0 0.65rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.faq-hero__title,
.faq-hero-title,
.faq-hero h1,
.wg-hero h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.faq-hero__lead,
.faq-hero-lead,
.wg-hero-lead {
  opacity: 0.95;
  max-width: 40rem;
  margin-top: 0.45rem;
  line-height: 1.55;
}

.faq-content-wrap {
  animation: pageEnter 0.4s ease both;
  margin-top: -0.75rem;
}

.faq-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.faq-search {
  position: relative;
}

.faq-search__icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

.faq-search__input {
  padding-left: 2.55rem;
  border-radius: 999px !important;
  border: 1px solid rgba(13, 110, 253, 0.18);
  background: #fff;
  min-height: 2.85rem;
  box-shadow: 0 8px 24px rgba(15, 40, 80, 0.06);
}

.faq-search__input:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.faq-cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.faq-cat {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(13, 110, 253, 0.16);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-cat i {
  font-size: 0.78rem;
  opacity: 0.85;
}

.faq-cat:hover {
  border-color: rgba(13, 110, 253, 0.35);
  color: var(--brand-deep);
}

.faq-cat.is-active {
  background: linear-gradient(135deg, #0d6efd, #3d8bfd);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.28);
}

.faq-empty {
  text-align: center;
  color: #6c757d;
  padding: 2rem 1rem;
  background: rgba(13, 110, 253, 0.04);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.faq-shell {
  border-radius: calc(var(--radius) + 4px) !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.08);
  box-shadow: 0 14px 36px rgba(15, 40, 80, 0.07);
}

.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(15, 40, 80, 0.08);
  background: transparent;
}

.faq-accordion .accordion-item:last-child {
  border-bottom: 0;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  font-family: var(--font);
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: #fff;
  color: #0f172a;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.02));
  color: var(--brand-deep);
}

.faq-item__icon {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-size: 0.95rem;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-item__icon {
  background: #0d6efd;
  color: #fff;
}

.faq-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
  text-align: left;
}

.faq-item__cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.faq-item__title {
  font-size: 0.98rem;
  line-height: 1.4;
}

.faq-accordion .accordion-body.faq-item__body,
.faq-item__body {
  padding: 1rem 1.25rem 1.35rem;
  padding-left: calc(1.25rem + 2.35rem + 0.85rem);
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item__body p {
  margin-bottom: 0.85rem;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .faq-accordion .accordion-body.faq-item__body,
  .faq-item__body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

.faq-item__body a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}

.faq-item__body a:hover {
  text-decoration: underline;
}

.faq-cta {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.02));
  border: 1px solid rgba(13, 110, 253, 0.14);
}

.faq-cta__title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: var(--brand-deep);
}

.faq-cta__text {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.faq-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .faq-cta {
    grid-template-columns: 1fr auto;
    padding: 1.25rem 1.4rem;
  }
}

.dark-mode .faq-search__input,
.dark-mode .faq-cat,
.dark-mode .faq-shell {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  box-shadow: none;
}

.dark-mode .faq-search__icon {
  color: #94a3b8;
}

.dark-mode .faq-cat:hover {
  color: #9ec5fe;
}

.dark-mode .faq-accordion .accordion-button {
  background: transparent;
  color: #e2e8f0;
}

.dark-mode .faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(13, 110, 253, 0.18);
  color: #9ec5fe;
}

.dark-mode .faq-item__icon {
  background: rgba(13, 110, 253, 0.22);
  color: #9ec5fe;
}

.dark-mode .faq-item__cat {
  color: #94a3b8;
}

.dark-mode .faq-item__body {
  color: #cbd5e1;
}

.dark-mode .faq-cta {
  background: rgba(13, 110, 253, 0.14);
  border-color: rgba(13, 110, 253, 0.28);
}

.dark-mode .faq-cta__title {
  color: #9ec5fe;
}

.dark-mode .faq-cta__text,
.dark-mode .faq-empty {
  color: #cbd5e1;
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  color: var(--brand-deep);
}

.dark-mode .legal-content h2 {
  color: var(--brand-light);
}

.error-page {
  text-align: center;
  padding: 4rem 1rem;
}

.error-page .error-code,
.error-page-hero .error-code {
  font-size: clamp(4rem, 18vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page .error-code {
  background: linear-gradient(125deg, #0b5ed7, #4d9fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page-hero .error-code {
  color: #fff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  background: none;
}

.error-page-logo {
  height: 3.25rem;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.error-page-panel {
  margin-top: -0.5rem;
}

.top-rank-table {
  border-radius: var(--radius);
  overflow: hidden;
}

.widget-preview-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* —— Dark mode surfaces —— */
.dark-mode .search-card,
.dark-mode .phone-info,
.dark-mode .search-number-card,
.dark-mode .card,
.dark-mode .modal-content,
.dark-mode .auth-card,
.dark-mode .content-panel {
  background: #23272b !important;
  color: #e9ecef !important;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.25);
}

.dark-mode .form-control,
.dark-mode .form-select {
  background: #23272b !important;
  color: #e9ecef !important;
  border-color: #444 !important;
}

.dark-mode .form-control:focus,
.dark-mode .form-select:focus {
  background: #23272b !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

.dark-mode .list-group-item {
  background: #23272b !important;
  color: #e9ecef !important;
}

.dark-mode .bg-light,
.dark-mode .footer,
.dark-mode .alert-info,
.dark-mode .alert-success,
.dark-mode .alert-danger {
  background: #23272b !important;
  color: #e9ecef !important;
}

.dark-mode .autocomplete-suggestions {
  background: #23272b !important;
  color: #e9ecef !important;
  border-color: #444 !important;
}

.dark-mode .autocomplete-suggestion.active,
.dark-mode .autocomplete-suggestion:hover {
  background: #181c1f !important;
}

.dark-mode .btn-outline-primary,
.dark-mode .btn-outline-light {
  color: #e9ecef !important;
  border-color: #e9ecef !important;
}

.dark-mode .btn-outline-primary:hover,
.dark-mode .btn-outline-light:hover {
  background: var(--brand) !important;
  color: #fff !important;
}

.dark-mode .floating-search-btn {
  background: #23272b !important;
  color: #fff !important;
  border: 1px solid #444;
}

.dark-mode .search-card button.btn,
.dark-mode .btn-primary {
  background: var(--brand) !important;
  color: #fff !important;
  border: none;
}

.dark-mode .search-card button.btn:hover,
.dark-mode .btn-primary:hover {
  background: #0a58ca !important;
}

.dark-mode .badge.bg-success,
.dark-mode .badge.bg-primary,
.dark-mode .badge.bg-danger,
.dark-mode .badge.bg-warning,
.dark-mode .badge.bg-info,
.dark-mode .badge.bg-secondary {
  color: #fff !important;
}

.dark-mode .form-text,
.dark-mode .text-muted,
.dark-mode .small {
  color: #b0b8be !important;
}

.dark-mode .comment:not(.comment--featured) {
  background: #23272b !important;
  color: #e9ecef !important;
  border-left: 4px solid var(--brand) !important;
}

.dark-mode .comment--featured {
  background: linear-gradient(135deg, #14231f 0%, #1a2e28 50%, #23272b 100%) !important;
  border-color: #34d399 !important;
  border-left-color: #10b981 !important;
  color: #e9ecef !important;
}

.dark-mode .comment--featured .comment-featured-badge {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.22);
}

.dark-mode .comment-vote-btn {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #adb5bd;
}

.dark-mode .comment-vote-btn--helpful.is-active {
  background: rgba(13, 110, 253, 0.25);
  color: #93c5fd;
  border-color: #3b82f6;
}

.dark-mode .comment-vote-btn--unhelpful.is-active {
  background: rgba(220, 53, 69, 0.2);
  color: #f1aeb5;
  border-color: rgba(220, 53, 69, 0.5);
}

.dark-mode .comment p,
.dark-mode .comment strong,
.dark-mode .comment small {
  color: #e9ecef !important;
}

.dark-mode .claim-banner .text-muted {
  color: #adb5bd !important;
}

/* —— Partner units (neutral selectors) —— */
.su-host {
  display: block;
  position: relative;
  margin: 0.85rem auto 0;
  width: min(100%, var(--su-max-w, 350px));
  max-width: var(--su-max-w, 350px);
  line-height: 0;
  overflow: visible;
}

.su-host .su-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.su-host .su-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--su-max-h, 250px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0.65rem;
  background: transparent;
}

.su-host .su-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--su-max-h, 250px);
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  background: transparent;
}

.su-host .su-beacon {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.su-host--horizontal {
  position: relative;
}

.su-host--header {
  position: relative;
  flex: 0 0 auto;
  width: min(var(--su-max-w, 350px), 100%);
  max-width: var(--su-max-w, 350px);
  margin: 0.5rem 0 0;
  align-self: flex-start;
}

.su-host--rail {
  display: none;
}

.faq-hero__row,
.mtop-hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
}

.faq-hero__copy,
.mtop-hero__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

@media (max-width: 767.98px) {
  .mtop-hero__aside {
    width: 100%;
    align-items: stretch;
  }

  .mtop-hero__stats {
    justify-content: flex-start;
  }

  .mtop-hero__row {
    align-items: flex-start;
  }
}

.su-host[data-sslot="home_under_search"] {
  width: min(100%, var(--su-max-w, 350px));
  max-width: var(--su-max-w, 350px);
  margin: 0.75rem auto 0.25rem;
}

.su-host[data-sslot="home_under_search"] .su-img {
  width: 100%;
  max-height: var(--su-max-h, 250px);
}

.su-host[data-sslot="home_under_search"] .su-frame {
  height: var(--su-max-h, 250px);
}

.su-host[data-sslot="home_after_tips"] {
  max-width: var(--su-max-w, 350px);
  margin: 1rem auto 1.5rem;
  padding: 0 1rem;
}

.su-host[data-sslot="result_between"] {
  width: min(100%, var(--su-max-w, 350px));
  max-width: var(--su-max-w, 350px);
  margin: 0.85rem auto;
}

.su-host[data-sslot="result_between"] .su-img,
.su-host[data-sslot="widget_under_preview"] .su-img {
  width: 100%;
  max-height: var(--su-max-h, 250px);
}

.su-host[data-sslot="widget_under_preview"] {
  width: min(100%, var(--su-max-w, 350px));
  max-width: var(--su-max-w, 350px);
  margin: 1rem auto 0;
}

.su-host[data-sslot="widget_under_preview"] .su-frame,
.su-host[data-sslot="result_between"] .su-frame {
  height: var(--su-max-h, 250px);
}

@media (min-width: 1200px) {
  .su-host--rail {
    display: block;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    width: var(--su-max-w, 160px);
    max-width: var(--su-max-w, 160px);
    margin: 0;
  }

  .su-host--rail .su-img,
  .su-host--rail .su-frame {
    max-height: min(var(--su-max-h, 600px), 70vh);
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .su-host--rail .su-frame {
    height: min(var(--su-max-h, 600px), 70vh);
  }

  .su-host[data-sslot="rail_left"] {
    left: 0.75rem;
  }

  .su-host[data-sslot="rail_right"] {
    right: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .su-host--header {
    width: 100%;
    max-width: min(100%, var(--su-max-w, 350px));
  }
}

/* �� Blog / news �� */
.home-blog {
  padding: 0.25rem 0 2.25rem;
}

.home-blog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.home-blog__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--text, #1a1d21);
}

.home-blog__lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted, #6c757d);
  font-size: 0.98rem;
  line-height: 1.45;
}

.home-blog__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-shrink: 0;
  min-height: 2.7rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.home-blog__more i {
  font-size: 0.85rem;
  transition: transform 0.18s ease;
}

.home-blog__more:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.34);
}

.home-blog__more:hover i {
  transform: translateX(3px);
}

.home-blog__more:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(13, 110, 253, 0.26);
}

@media (max-width: 575.98px) {
  .home-blog__head {
    flex-direction: column;
    align-items: stretch;
  }

  .home-blog__more {
    width: 100%;
  }
}

.blog-cards {
  display: grid;
  gap: 1rem;
}

.blog-cards--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-cards--result {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  border: 1px solid rgba(13, 110, 253, 0.12);
  background: var(--surface, #fff);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8f1ff, #f8fafc);
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1.1rem;
  flex: 1;
}

.blog-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  text-transform: uppercase;
}

.blog-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text, #1a1d21);
}

.blog-card__excerpt {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--muted, #6c757d);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cards--result .blog-card {
  flex-direction: row;
  align-items: stretch;
  border-radius: 0.85rem;
}

.blog-cards--result .blog-card__media {
  flex: 0 0 118px;
  width: 118px;
  aspect-ratio: auto;
  min-height: 88px;
}

.blog-cards--result .blog-card__body {
  padding: 0.75rem 0.9rem;
  justify-content: center;
}

.blog-cards--result .blog-card__excerpt {
  -webkit-line-clamp: 2;
  font-size: 0.85rem;
}

.blog-cards--result .blog-card__title {
  font-size: 0.95rem;
}

.result-stack__card--blog {
  padding: 1rem 1.05rem 1.1rem;
}

.result-blog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.result-blog__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.result-blog__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--brand);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.result-blog__more i {
  font-size: 0.75rem;
  transition: transform 0.15s ease;
}

.result-blog__more:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.result-blog__more:hover i {
  transform: translateX(2px);
}

/* —— Blog story / index heroes —— */
.blog-story-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a4bb8 0%, #0d6efd 48%, #5ba8ff 100%);
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.18);
  margin-bottom: 0;
  min-height: 16rem;
}

.blog-story-hero--cover {
  min-height: clamp(22rem, 58vh, 30rem);
  background: #0b1220;
}

.blog-story-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.blog-story-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.blog-story-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 40, 0.55) 0%, rgba(8, 18, 40, 0.72) 42%, rgba(8, 18, 40, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(77, 159, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.blog-story-hero:not(.blog-story-hero--cover) .blog-story-hero__shade {
  background:
    radial-gradient(ellipse 80% 70% at 100% -10%, rgba(255, 255, 255, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(8, 66, 152, 0.35), transparent 60%);
}

.blog-story-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding-top: 2rem;
  padding-bottom: 2.75rem;
  text-align: left;
}

.blog-story-hero--cover .blog-story-hero__inner {
  padding-top: 3rem;
  padding-bottom: 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(20rem, 52vh, 28rem);
}

.blog-story-hero__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.blog-story-hero__crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.blog-story-hero__crumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.blog-story-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
}

.blog-story-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
}

.blog-story-hero__badge--solid {
  margin-bottom: 0.85rem;
}

.blog-story-hero__date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.blog-story-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.blog-story-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.blog-index-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0a4bb8 0%, #0d6efd 48%, #5ba8ff 100%);
  border-radius: 0 0 1.75rem 1.75rem;
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.18);
  margin-bottom: 1.75rem;
}

.blog-index-hero::before {
  content: '';
  position: absolute;
  inset: -30% auto auto 60%;
  width: min(26rem, 65vw);
  height: min(26rem, 65vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.blog-index-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding-top: 2.1rem;
  padding-bottom: 2.4rem;
  text-align: left;
}

.blog-index-hero__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.blog-index-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.blog-list-wrap {
  margin-top: 0.25rem;
}

.blog-list-wrap .blog-cards--home {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.blog-article__wrap {
  margin-top: -1.75rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 3;
}

.blog-article__panel {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.6rem 1.35rem 1.75rem;
  background: var(--surface, #fff);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.blog-article__body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text, #212529);
}

.blog-article__body > *:first-child {
  margin-top: 0;
}

.blog-article__body h2,
.blog-article__body h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.blog-article__body p,
.blog-article__body ul,
.blog-article__body ol {
  margin-bottom: 1.05rem;
}

.blog-article__body a {
  color: var(--brand);
  font-weight: 600;
}

.blog-article__body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 0.35rem 0 0.75rem;
}

.blog-article__body blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft, #e8f1ff);
  border-radius: 0 0.65rem 0.65rem 0;
  color: var(--brand-deep, #084298);
}

.blog-article__source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-top: 1.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: 0.85rem;
  background: rgba(13, 110, 253, 0.05);
  border: 1px solid rgba(13, 110, 253, 0.12);
  font-size: 0.92rem;
}

.blog-article__source-label {
  font-weight: 700;
  color: var(--brand-deep, #084298);
}

.blog-article__source a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  word-break: break-word;
}

.blog-article__source a:hover {
  text-decoration: underline;
}

.blog-share {
  margin-top: 1.75rem;
  padding: 1.1rem 1.05rem 1.15rem;
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(13, 110, 253, 0.06), rgba(13, 110, 253, 0.02));
  border: 1px solid rgba(13, 110, 253, 0.14);
}

.blog-share__head {
  margin-bottom: 0.85rem;
}

.blog-share__title {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text, #0f172a);
}

.blog-share__lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted, #64748b);
  line-height: 1.4;
}

.blog-share__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.blog-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #334155;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.blog-share__btn:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.blog-share__btn:active {
  transform: translateY(0);
}

.blog-share__btn i {
  font-size: 1.05rem;
}

.blog-share__btn--native {
  background: linear-gradient(135deg, #0d6efd, #4d9fff);
  grid-column: 1 / -1;
}

.blog-share__btn--whatsapp { background: #25d366; }
.blog-share__btn--viber { background: #7360f2; }
.blog-share__btn--facebook { background: #1877f2; }
.blog-share__btn--messenger { background: #0084ff; }
.blog-share__btn--telegram { background: #229ed9; }
.blog-share__btn--x { background: #111827; }
.blog-share__btn--copy {
  background: #fff;
  color: var(--brand-deep, #084298);
  border-color: rgba(13, 110, 253, 0.25);
}

.blog-share__btn--copy:hover {
  color: var(--brand-deep, #084298);
  background: var(--brand-soft, #e8f1ff);
}

.blog-share__btn--copy.is-copied {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.dark-mode .blog-share {
  background: rgba(77, 159, 255, 0.08);
  border-color: rgba(147, 197, 253, 0.2);
}

.dark-mode .blog-share__title {
  color: #f1f5f9;
}

.dark-mode .blog-share__lead {
  color: #94a3b8;
}

.dark-mode .blog-share__btn--copy {
  background: transparent;
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.35);
}

@media (min-width: 576px) {
  .blog-share__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-share__btn--native {
    grid-column: auto;
  }
}

@media (min-width: 768px) {
  .blog-share__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.blog-article__footer {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.7rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.blog-article__back i {
  transition: transform 0.18s ease;
}

.blog-article__back:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.34);
}

.blog-article__back:hover i {
  transform: translateX(-3px);
}

.dark-mode .blog-card {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.dark-mode .blog-card:hover {
  border-color: rgba(147, 197, 253, 0.35);
}

.dark-mode .blog-card__title,
.dark-mode .home-blog__title,
.dark-mode .result-blog__title {
  color: #f1f5f9;
}

.dark-mode .blog-card__excerpt,
.dark-mode .home-blog__lead {
  color: #94a3b8;
}

.dark-mode .blog-article__panel {
  background: var(--surface, #1a1f24);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dark-mode .blog-article__body {
  color: #e2e8f0;
}

.dark-mode .blog-article__body blockquote {
  background: rgba(77, 159, 255, 0.12);
  color: #bfdbfe;
}

.dark-mode .blog-article__source {
  background: rgba(77, 159, 255, 0.08);
  border-color: rgba(147, 197, 253, 0.2);
}

.dark-mode .blog-article__source-label {
  color: #93c5fd;
}

.dark-mode .blog-article__footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .home-blog__more,
.dark-mode .blog-article__back {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.dark-mode .result-blog__more {
  background: rgba(77, 159, 255, 0.16);
  color: #93c5fd;
}

.dark-mode .result-blog__more:hover {
  background: #0d6efd;
  color: #fff;
}

.dark-mode .blog-article__back {
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
  border: none;
}

.dark-mode .blog-article__back:hover {
  background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 55%, #4d9fff 100%);
  color: #fff;
}

@media (max-width: 991.98px) {
  .blog-cards--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-article__wrap {
    margin-top: -1.25rem;
  }
}

@media (max-width: 575.98px) {
  .blog-cards--home {
    grid-template-columns: 1fr;
  }

  .blog-cards--result .blog-card {
    flex-direction: column;
  }

  .blog-cards--result .blog-card__media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .blog-story-hero__inner,
  .blog-index-hero__inner {
    padding-top: 1.65rem;
    padding-bottom: 2rem;
    padding-left: max(1rem, var(--bs-gutter-x, 1.5rem) / 2);
    padding-right: max(1rem, var(--bs-gutter-x, 1.5rem) / 2);
  }

  .blog-story-hero--cover .blog-story-hero__inner {
    min-height: 18rem;
    padding-bottom: 2.25rem;
  }

  .blog-article__wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .blog-article__panel {
    padding: 1.25rem 1.1rem 1.35rem;
    border-radius: 1rem;
  }

  .blog-story-hero__title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem);
  }

  .blog-story-hero__lead {
    font-size: 0.98rem;
  }
}
