/* ==========================================================================
   DARKNEW.LIVE - Neumorphism (#e0e0e0) Design System
   Inspired by dark.fail & neumorphism.io
   Pure Vanilla CSS, Zero Framework Dependencies, High Performance
   ========================================================================== */

:root {
  /* Light Neumorphic Palette (Default: #e0e0e0) */
  --bg: #e0e0e0;
  --bg-convex: linear-gradient(145deg, #f0f0f0, #cacaca);
  --bg-concave: linear-gradient(145deg, #cacaca, #f0f0f0);
  
  --shadow-light: #ffffff;
  --shadow-dark: #bebebe;
  
  /* Standard Extruded Shadows */
  --shadow-flat: 7px 7px 14px var(--shadow-dark), -7px -7px 14px var(--shadow-light);
  --shadow-hover: 10px 10px 20px var(--shadow-dark), -10px -10px 20px var(--shadow-light);
  --shadow-sm: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
  
  /* Inset / Debossed Shadows */
  --shadow-inset: inset 4px 4px 8px var(--shadow-dark), inset -4px -4px 8px var(--shadow-light);
  --shadow-inset-sm: inset 2px 2px 5px var(--shadow-dark), inset -2px -2px 5px var(--shadow-light);
  --shadow-pressed: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);

  /* Typography & Accents */
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-muted: #a0aec0;
  --accent-green: #2ecc71;
  --accent-green-glow: rgba(46, 204, 113, 0.45);
  --accent-red: #e74c3c;
  --accent-red-glow: rgba(231, 76, 60, 0.4);
  --accent-amber: #f39c12;
  --accent-blue: #3182ce;
  --accent-primary: #5a67d8;
  
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --border-radius-sm: 8px;
  --border-radius-pill: 999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Neumorphic Palette */
[data-theme="dark"] {
  --bg: #1e2025;
  --bg-convex: linear-gradient(145deg, #202228, #1b1d21);
  --bg-concave: linear-gradient(145deg, #1b1d21, #202228);
  
  --shadow-light: #25282f;
  --shadow-dark: #17181c;
  
  --shadow-flat: 6px 6px 14px var(--shadow-dark), -6px -6px 14px var(--shadow-light);
  --shadow-hover: 9px 9px 18px var(--shadow-dark), -9px -9px 18px var(--shadow-light);
  --shadow-sm: 4px 4px 8px var(--shadow-dark), -4px -4px 8px var(--shadow-light);
  
  --shadow-inset: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
  --shadow-inset-sm: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
  --shadow-pressed: inset 3px 3px 5px var(--shadow-dark), inset -3px -3px 5px var(--shadow-light);

  --text-primary: #e2e8f0;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --accent-green: #38a169;
  --accent-green-glow: rgba(56, 161, 105, 0.35);
  --accent-red: #e53e3e;
  --accent-red-glow: rgba(229, 62, 62, 0.35);
}

/* Base Reset & Document Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  padding: 32px 24px 100px;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 1220px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

/* Neumorphic Cards */
.neu-card {
  background: var(--bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat);
  padding: 26px 30px;
  transition: var(--transition);
  position: relative;
}

.neu-card:hover {
  box-shadow: var(--shadow-hover);
}

.neu-inset {
  background: var(--bg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-inset);
}

/* Header Area */
.site-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-convex);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-green);
  user-select: none;
  overflow: hidden;
  padding: 4px;
}

.brand-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(136, 14, 79, 0.25));
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-wrapper:hover .brand-logo-img {
  transform: rotate(-8deg) scale(1.1);
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.neu-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.neu-btn-icon:active {
  box-shadow: var(--shadow-pressed);
}

.header-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.status-counts {
  display: flex;
  gap: 14px;
  align-items: center;
}

.badge-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.header-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

.header-links a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* Security Alert Box */
.alert-card {
  border-left: 5px solid var(--accent-red);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.alert-icon {
  font-size: 22px;
  color: var(--accent-red);
  line-height: 1;
  padding-top: 2px;
}

.alert-content p {
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.alert-content p:last-child {
  margin-bottom: 0;
}

/* Clearnet & PGP Advisory */
.advisory-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.advisory-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.onion-highlight-box {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.onion-code-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
  overflow-x: auto;
}

code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-primary);
  user-select: all;
  -webkit-user-select: all;
  letter-spacing: -0.01em;
  word-break: break-all;
}

.btn-copy {
  border: none;
  background: var(--bg-convex);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  padding: 7px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-copy:hover {
  box-shadow: var(--shadow-hover);
}

.btn-copy:active, .btn-copy.copied {
  box-shadow: var(--shadow-pressed);
  background: var(--bg);
  color: var(--accent-green);
}

.advisory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Search & Filter Controls */
.controls-card {
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-box {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
}

.search-icon {
  color: var(--text-muted);
  font-size: 16px;
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: none;
  display: inline-block;
  text-decoration: none;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  color: var(--text-primary);
}

.filter-pill.active {
  box-shadow: var(--shadow-pressed);
  color: var(--accent-blue);
  font-weight: 700;
}

/* Section Dividers & Headers */
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: -10px;
  padding: 0 6px;
}

.section-counter {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Services Grid & Cards */
.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(540px, 1fr));
  gap: 24px;
}

@media (max-width: 850px) {
  .site-grid {
    grid-template-columns: 1fr;
  }
}

.site-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
}

.site-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-category {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  color: var(--text-secondary);
}

/* ==========================================================================
   NEUMORPHIC LED SWITCH INDICATOR (Lighted Green for Online, Lighted Red for Offline)
   ========================================================================== */
.neu-switch-status {
  display: inline-flex;
  align-items: center;
  user-select: none;
  cursor: default;
}

.neu-switch-status .status-text {
  display: none !important;
}

/* Switch Container */
.neu-switch-status .switch-container {
  position: relative;
  width: 60px;
  height: 28px;
  background: var(--bg);
  border-radius: 50px;
  box-shadow:
    inset -3px -3px 6px var(--shadow-light),
    inset 3px 3px 6px var(--shadow-dark);
  display: flex;
  align-items: center;
  padding: 3px;
  box-sizing: border-box;
}

/* Toggle Slider Button */
.neu-switch-status .toggle-btn {
  position: absolute;
  width: 28px;
  height: 22px;
  background: linear-gradient(145deg, #f0f0f0, #cacaca);
  border-radius: 50px;
  top: 3px;
  left: 3px;
  box-shadow:
    -2px -2px 4px var(--shadow-light),
    2px 2px 4px var(--shadow-dark);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .neu-switch-status .toggle-btn {
  background: linear-gradient(145deg, #25282f, #1b1d21);
}

/* LED Light Dot */
.neu-switch-status .led-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: all 0.35s ease-in-out;
}

/* ONLINE (Switch ON, Lighted Glowing Green LED) */
.neu-switch-status.status-online .toggle-btn {
  left: 29px;
  background: linear-gradient(145deg, #f5f5f5, #d0d0d0);
  box-shadow:
    -2px -2px 4px var(--shadow-light),
    2px 2px 4px var(--shadow-dark);
}

[data-theme="dark"] .neu-switch-status.status-online .toggle-btn {
  background: linear-gradient(145deg, #2a2e36, #1e2025);
}

.neu-switch-status.status-online .led-light {
  background: #00e676;
  box-shadow:
    0 0 8px 2px #00e676,
    0 0 16px 4px rgba(0, 230, 118, 0.7);
  animation: pulse-green-led 2s infinite ease-in-out;
}

/* OFFLINE (Switch OFF, Lighted Glowing Red LED) */
.neu-switch-status.status-offline .toggle-btn {
  left: 3px;
  background: linear-gradient(145deg, #f0f0f0, #cacaca);
  box-shadow:
    -2px -2px 4px var(--shadow-light),
    2px 2px 4px var(--shadow-dark);
}

.neu-switch-status.status-offline .led-light {
  background: #ff334b;
  box-shadow:
    0 0 8px 2px #ff334b,
    0 0 16px 4px rgba(255, 51, 75, 0.65);
  animation: pulse-red-led 2s infinite ease-in-out;
}

/* UNSTABLE (Switch Mid, Lighted Glowing Amber LED) */
.neu-switch-status.status-unstable .toggle-btn {
  left: 16px;
}

.neu-switch-status.status-unstable .led-light {
  background: #f39c12;
  box-shadow:
    0 0 8px 2px #f39c12,
    0 0 14px 3px rgba(243, 156, 18, 0.6);
  animation: pulse-amber-led 2s infinite ease-in-out;
}

@keyframes pulse-green-led {
  0% { box-shadow: 0 0 6px 2px #00e676, 0 0 12px 3px rgba(0, 230, 118, 0.5); }
  50% { box-shadow: 0 0 12px 3px #00e676, 0 0 20px 5px rgba(0, 230, 118, 0.85); }
  100% { box-shadow: 0 0 6px 2px #00e676, 0 0 12px 3px rgba(0, 230, 118, 0.5); }
}

@keyframes pulse-red-led {
  0% { box-shadow: 0 0 6px 2px #ff334b, 0 0 12px 3px rgba(255, 51, 75, 0.5); }
  50% { box-shadow: 0 0 12px 3px #ff334b, 0 0 20px 5px rgba(255, 51, 75, 0.85); }
  100% { box-shadow: 0 0 6px 2px #ff334b, 0 0 12px 3px rgba(255, 51, 75, 0.5); }
}

@keyframes pulse-amber-led {
  0% { box-shadow: 0 0 6px 2px #f39c12, 0 0 12px 3px rgba(243, 156, 18, 0.5); }
  50% { box-shadow: 0 0 12px 3px #f39c12, 0 0 18px 4px rgba(243, 156, 18, 0.8); }
  100% { box-shadow: 0 0 6px 2px #f39c12, 0 0 12px 3px rgba(243, 156, 18, 0.5); }
}

.site-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   ONION ADDRESS BOX & COPY BUTTON (Single Line & Compact)
   ========================================================================== */
.onion-address-box,
.site-address-box {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: var(--border-radius-md);
  overflow: hidden !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.onion-address-box .onion-url,
.onion-url {
  display: inline-block !important;
  font-family: var(--font-mono) !important;
  font-size: 0.70rem !important;
  letter-spacing: -0.03em !important;
  color: var(--text-primary) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: keep-all !important;
  word-wrap: normal !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 36px) !important;
  user-select: all !important;
  -webkit-user-select: all !important;
  line-height: 1.2 !important;
}

.btn-copy-sm {
  border: none !important;
  background: var(--bg-convex) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--text-primary) !important;
  width: 28px !important;
  height: 26px !important;
  min-width: 28px !important;
  border-radius: var(--border-radius-sm) !important;
  font-size: 0.78rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--transition) !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.btn-copy-sm:hover {
  box-shadow: var(--shadow-hover) !important;
  transform: translateY(-1px);
}

.btn-copy-sm:active, .btn-copy-sm.copied {
  box-shadow: var(--shadow-pressed) !important;
  background: var(--bg) !important;
  color: var(--accent-green) !important;
  transform: translateY(0);
}

/* Alternative Mirrors Dropdown */
.mirrors-details {
  margin-top: -6px;
}

.mirrors-details summary {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  user-select: none;
  list-style: none;
}

.mirrors-details summary::-webkit-details-marker {
  display: none;
}

.mirrors-details summary:hover {
  color: var(--text-primary);
}

.mirrors-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.mirror-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  white-space: nowrap;
}

.mirror-row code {
  font-family: var(--font-mono);
  font-size: 0.70rem;
  letter-spacing: -0.025em;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  flex-grow: 1;
  min-width: 0;
  user-select: all;
  -webkit-user-select: all;
}

.site-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0 4px;
}

/* Offline Group Styling (Subdued) */
.offline-group {
  opacity: 0.9;
}

/* Philosophy & Footer Documentation */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.crypto-box {
  padding: 14px 18px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crypto-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.crypto-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.footer-credits {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
}

/* Fixed Phishing Alert Banner */
.phishnotice-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 800px;
  padding: 12px 18px;
  background: var(--bg);
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-hover);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 9999;
}

.phishnotice-banner.active {
  display: flex;
}

.phish-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  body {
    padding: 16px 12px 60px;
  }
  
  .neu-card {
    padding: 18px 16px;
  }
  
  .header-top {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .brand-title {
    font-size: 1.35rem;
  }
  
  .site-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-copy {
    width: 100%;
    justify-content: center;
  }
  
  .header-status-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ADMIN DASHBOARD EXTENSIONS
   ========================================================================== */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 18px 14px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
}

.admin-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  border: none;
  background: var(--bg-convex);
  box-shadow: var(--shadow-sm);
  color: var(--accent-primary);
  padding: 10px 20px;
  border-radius: var(--border-radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary:hover {
  box-shadow: var(--shadow-hover);
  color: var(--text-primary);
}

.btn-primary:active {
  box-shadow: var(--shadow-pressed);
}

.btn-danger {
  color: var(--accent-red);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.8rem;
}

/* Neumorphic Form Controls */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border: none;
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  border-radius: var(--border-radius-sm);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  box-shadow: var(--shadow-inset);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Admin Sites Table */
.admin-table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  padding: 12px 14px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.admin-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(0, 0, 0, 0.015);
}

.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Progress bar for batch audit */
.audit-progress-container {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.audit-progress-bar-bg {
  width: 100%;
  height: 14px;
  border-radius: var(--border-radius-pill);
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  overflow: hidden;
}

.audit-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-green));
  border-radius: var(--border-radius-pill);
  transition: width 0.3s ease;
}

.audit-log-box {
  max-height: 140px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 10px 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Crypto Donation Cards & Priority Review */
.crypto-card {
  padding: 16px;
  border-radius: var(--border-radius-md);
  margin-bottom: 14px;
  transition: var(--transition);
}

.crypto-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.crypto-badge.xmr {
  color: #ff6600;
}

.crypto-badge.btc {
  color: #f7931a;
}

.crypto-address-box {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.crypto-address-input {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  width: 100%;
  background: var(--bg);
  border: none;
  box-shadow: var(--shadow-inset-sm);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  user-select: all;
}

.priority-banner {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(90, 103, 216, 0.12));
  border-left: 4px solid #ff6600;
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.priority-banner h4 {
  color: #ff6600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--border-radius-pill);
  margin-left: 6px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.sub-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 10px 0;
  font-size: 0.84rem;
}

.sub-meta-item {
  padding: 8px 10px;
  border-radius: var(--border-radius-sm);
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
}

.sub-meta-item strong {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   BOOKMARK GUIDANCE POPUP & BANNER (Neumorphic)
   ========================================================================== */
.bookmark-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-flat);
  padding: 20px 24px;
  border-left: 5px solid var(--accent-blue);
  animation: slideDownBanner 0.4s ease-out;
  position: relative;
}

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

.bookmark-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.bookmark-banner-icon {
  font-size: 2rem;
  line-height: 1;
  padding: 10px;
  background: var(--bg);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bookmark-banner-text h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bookmark-banner-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.bookmark-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-primary);
}

.shortcut-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  padding: 5px 10px;
  border-radius: var(--border-radius-sm);
}

kbd, .kbd-key {
  display: inline-block;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  border: 1px solid rgba(120, 120, 120, 0.15);
  line-height: 1.3;
}

.bookmark-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* Floating / Modal Bookmark Instructions */
.bookmark-instructions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0;
}

.instruction-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  border-radius: var(--border-radius-md);
}

.step-num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(49, 130, 206, 0.4);
}

.step-info-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.step-info-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   SUBMISSION FOOTER BACKLINK REQUIREMENT CARD & SNIPPETS
   ========================================================================== */
.backlink-guidance-card {
  background: linear-gradient(145deg, rgba(46, 204, 113, 0.08), rgba(49, 130, 206, 0.08));
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: var(--border-radius-md);
  padding: 18px 20px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}

.backlink-guidance-card h4 {
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 6px;
}

.backlink-guidance-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.backlink-code-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.backlink-code-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.backlink-code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
}

.backlink-code-box code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: nowrap;
  user-select: all;
  flex: 1;
}

.backlink-benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  padding: 3px 8px;
  border-radius: var(--border-radius-pill);
}

@media (max-width: 768px) {
  .bookmark-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .bookmark-banner-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .bookmark-banner-actions {
    flex-direction: row;
    justify-content: center;
  }
  .bookmark-shortcuts {
    justify-content: center;
  }
}

/* ==========================================================================
   SPONSORED BANNER ADS & PROMOTION PLACEMENTS
   ========================================================================== */

.sponsored-banners-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
}

.banner-grid-standard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
}

.banner-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  width: 100%;
}

.banner-slot-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  overflow: hidden;
  height: 106px;
  box-shadow: var(--shadow-flat);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: var(--bg);
  position: relative;
}

[data-theme="dark"] .banner-slot-card {
  border-color: rgba(255, 255, 255, 0.06);
}

.banner-slot-wide {
  height: 126px;
}

.banner-slot-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-primary);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.banner-img-wide {
  object-fit: cover;
}

/* Authentic Darknet Placeholders Matching Screenshot 3 */
.banner-placeholder {
  background: linear-gradient(135deg, #d8dce2 0%, #eaedf2 50%, #d0d5dc 100%);
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.8), inset -1px -1px 3px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

[data-theme="dark"] .banner-placeholder {
  background: linear-gradient(135deg, #181a1f 0%, #22252c 50%, #1a1c22 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 1px 1px 3px rgba(255, 255, 255, 0.05), inset -1px -1px 3px rgba(0, 0, 0, 0.4);
}

.placeholder-bracket-box {
  text-align: center;
  font-family: var(--font-mono);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.placeholder-title {
  display: block;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #000000;
  font-family: var(--font-mono);
}

[data-theme="dark"] .placeholder-title {
  color: #f1f5f9;
}

.placeholder-subtitle {
  display: block;
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: #334155;
  font-family: var(--font-mono);
  text-transform: uppercase;
  margin-top: 3px;
}

[data-theme="dark"] .placeholder-subtitle {
  color: #94a3b8;
}

.banner-placeholder:hover {
  border-color: var(--accent-primary);
}

.banner-placeholder:hover .placeholder-title {
  color: var(--accent-primary);
}

.banner-placeholder:hover .placeholder-subtitle {
  color: var(--accent-green);
}

/* Alert Boxes for Promotions Portal */
.alert-success-card {
  border-left: 4px solid var(--accent-green);
  background: rgba(46, 204, 113, 0.08);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
}

.alert-error-card {
  border-left: 4px solid var(--accent-red);
  background: rgba(231, 76, 60, 0.08);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  color: var(--accent-red);
}

/* Responsive Banner Adjustments */
@media (max-width: 992px) {
  .banner-grid-standard {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .banner-grid-standard,
  .banner-grid-wide {
    grid-template-columns: 1fr;
  }
  .banner-slot-card {
    height: 96px;
  }
  .banner-slot-wide {
    height: 104px;
  }
  .placeholder-title {
    font-size: 0.92rem;
  }
  .placeholder-subtitle {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   SECURITY INTELLIGENCE, GUIDES & ARTICLE ENGINE STYLES
   ========================================================================== */

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.article-breadcrumb a:hover {
  color: var(--accent-primary);
}

.article-container {
  padding: 36px 40px;
  border-radius: var(--border-radius-lg);
  max-width: 920px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
}

[data-theme="dark"] .article-header {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.article-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 8px 0 16px;
  letter-spacing: -0.02em;
}

.article-meta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.article-body p.article-p {
  margin-bottom: 1.25rem;
}

.article-body h2.article-h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 2.2rem 0 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 6px;
}

[data-theme="dark"] .article-body h2.article-h2 {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.article-body h3.article-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.8rem 0 0.8rem;
  color: var(--text-primary);
}

.article-body h4.article-h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 1.4rem 0 0.6rem;
  color: var(--text-primary);
}

.article-body blockquote.article-quote {
  margin: 1.5rem 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent-primary);
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-body hr.article-hr {
  border: none;
  height: 2px;
  background: rgba(0, 0, 0, 0.06);
  margin: 2rem 0;
}

[data-theme="dark"] .article-body hr.article-hr {
  background: rgba(255, 255, 255, 0.06);
}

.article-body ul.article-ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.article-body li.article-li {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.article-code-block {
  background: #181a1f;
  color: #abb2bf;
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.55;
  overflow-x: auto;
  margin: 1.4rem 0;
  box-shadow: var(--shadow-inset);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-inline-code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  color: var(--accent-primary);
  border: 1px solid rgba(120, 120, 120, 0.15);
}

.article-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  margin: 32px 0 20px;
  border-left: 4px solid var(--accent-green);
  flex-wrap: wrap;
}

/* Featured Cover Hero Image (Single Article) */
.article-featured-hero-box {
  margin: 0 0 28px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  padding: 6px;
  background: var(--bg);
}

.article-featured-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.article-hero-credit {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: right;
  padding: 8px 6px 2px;
}

.article-hero-credit a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
}

.article-hero-credit a:hover {
  color: var(--accent-primary);
}

/* Articles Grid & Hub Card Previews */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.article-card-preview {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: var(--border-radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.article-card-preview:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-thumb-wrapper {
  width: 100%;
  height: 175px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  display: block;
  margin-bottom: 6px;
  box-shadow: var(--shadow-inset-sm);
  background: #1a1a1a;
}

.article-card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.article-card-preview:hover .article-card-thumb-img {
  transform: scale(1.05);
}

/* Admin Pexels Image Search & Picker */
.pexels-search-box {
  background: var(--bg);
  box-shadow: var(--shadow-inset-sm);
  border-radius: var(--border-radius-sm);
  padding: 14px;
  margin: 10px 0 16px;
}

.pexels-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 10px;
  padding: 4px;
}

.pexels-picker-card {
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  background: #111;
  position: relative;
}

.pexels-picker-card:hover {
  transform: scale(1.03);
  border-color: var(--accent-primary);
}

.pexels-picker-card img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

.pexels-picker-credit {
  font-size: 0.65rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
  padding: 2px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.pexels-selected-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-inset-sm);
  margin-top: 8px;
}

.pexels-selected-preview img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .article-container {
    padding: 24px 18px;
  }
  .article-title {
    font-size: 1.4rem;
  }
  .article-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .article-featured-hero-img {
    max-height: 240px;
  }
}


/* ===== Table of Contents (SEO jump links) ===== */
.article-toc { padding: 16px 20px; margin: 0 0 24px; border-radius: var(--border-radius-md); border-left: 4px solid var(--accent-primary); }
.article-toc-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 10px; }
.article-toc-list { margin: 0; padding-left: 20px; }
.article-toc-list li { margin: 5px 0; font-size: 0.9rem; }
.article-toc-list a { color: var(--accent-primary); text-decoration: none; }
.article-toc-list a:hover { text-decoration: underline; }
.article-h2, .article-h3 { scroll-margin-top: 20px; }

/* ===== Related Guides ===== */
.related-guides { margin-top: 24px; }
.related-guides-title { font-size: 1.2rem; margin: 0 0 16px; }
.related-guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-guide-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--border-radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); background: var(--bg); padding: 0 0 12px; }
.related-guide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.related-guide-img { width: 100%; height: 120px; object-fit: cover; }
.related-guide-cat { font-size: 0.7rem; font-weight: 700; color: var(--accent-primary); padding: 10px 12px 0; text-transform: uppercase; letter-spacing: 0.03em; }
.related-guide-title { font-size: 0.9rem; font-weight: 700; padding: 4px 12px 0; line-height: 1.35; }
@media (max-width: 768px) { .related-guides-grid { grid-template-columns: 1fr; } }
