/* =============================================
   THEME 38 - CYBER TERMINAL DIRECTORY
   Dark tech catalog with neon accents & glow
   ============================================= */

:root {
  --primary-color: #00F0FF;
  --primary-color-hover: #00C8D6;
  --secondary-color: #B8FF00;
  --accent-color: #FF2D6B;
  --font-color: #E4E8F1;
  --font-light-color: #8892A8;
  --font-lighter-color: #9BA3B5;
  --background-color: #0A0E17;
  --background-light-color: #0F1420;
  --background-card-color: #141A28;
  --border-color: #1E2738;
  --hover-color: #1A2235;
  --footer-background-color: #060912;
  --footer-text-color: #C8CDD8;
  --glow-color: #00F0FF;
  --font-family: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 4px;
  --glow-sm: 0 0 10px rgba(0,240,255,0.15);
  --glow-md: 0 0 20px rgba(0,240,255,0.2);
  --glow-lg: 0 0 40px rgba(0,240,255,0.25);
  --transition: all 0.25s ease;
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-family);
  color: var(--font-color);
  background-color: var(--background-color);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(0,240,255,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(184,255,0,0.02) 0%, transparent 50%);
  background-attachment: fixed;
}

::selection {
  background: var(--primary-color);
  color: var(--background-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(0,240,255,0.3);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--font-color);
  letter-spacing: -0.02em;
}

img { max-width: 100%; height: auto; }

/* =============================================
   UTILITIES
   ============================================= */
.bg-primary-custom { background-color: var(--primary-color); }
.bg-secondary-custom { background-color: var(--secondary-color); }
.bg-background-light { background-color: var(--background-light-color); }
.text-primary-custom { color: var(--primary-color); }
.text-secondary-custom { color: var(--secondary-color); }
.text-font-color { color: var(--font-color); }
.text-font-light { color: var(--font-light-color); }
.text-accent { color: var(--accent-color); }
.border-custom { border-color: var(--border-color) !important; }

.font-mono { font-family: var(--font-mono); }

.neon-text {
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(0,240,255,0.4), 0 0 40px rgba(0,240,255,0.15);
}

.label-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  opacity: 0.7;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '//';
  opacity: 0.5;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-desc {
  color: var(--font-light-color);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 2.5rem 0;
  position: relative;
}
.divider::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--glow-color);
}

/* Buttons */
.btn-neon {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}
.btn-neon:hover {
  color: var(--background-color);
  box-shadow: var(--glow-md);
}
.btn-neon:hover::before {
  opacity: 1;
}

.btn-solid-neon {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--background-color);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-solid-neon:hover {
  background: var(--primary-color-hover);
  border-color: var(--primary-color-hover);
  color: var(--background-color);
  box-shadow: var(--glow-md);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--font-color);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0,240,255,0.05);
}

/* =============================================
   SCANLINE DECORATION (optional subtle overlay)
   ============================================= */
.scanline-bg {
  position: relative;
}
.scanline-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  background: rgba(10,14,23,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1050;
}

.header-inner {
  padding: 0.75rem 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-logo .logo-text {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--font-color);
  letter-spacing: -0.5px;
}
.header-logo .logo-dot {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link-custom {
  color: var(--font-light-color);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--primary-color);
  border-color: var(--border-color);
  background: var(--hover-color);
}

.header-search {
  position: relative;
  width: 220px;
}
.header-search input {
  width: 100%;
  background: var(--background-light-color);
  border: 1px solid var(--border-color);
  color: var(--font-color);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.45rem 0.85rem 0.45rem 2.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.header-search input::placeholder {
  color: var(--font-light-color);
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm);
}
.header-search .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--font-lighter-color);
  font-size: 0.8rem;
  pointer-events: none;
}

/* Nav toggle mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--font-color);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: var(--transition);
}

@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .header-nav { display: none; }
  .header-nav.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background-card-color);
    border: 1px solid var(--border-color);
    border-top: none;
    padding: 0.75rem;
    z-index: 999;
  }
  .header-search { width: 100%; margin-top: 0.5rem; }
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumb-bar {
  background: var(--background-light-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.55rem 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.breadcrumb-bar .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
}
.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--font-color);
}
.breadcrumb-bar .breadcrumb-item a {
  color: var(--font-color);
}
.breadcrumb-bar .breadcrumb-item a:hover {
  color: var(--primary-color);
}
.breadcrumb-bar .breadcrumb-item.active {
  color: var(--font-color);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: var(--background-color);
}
.hero.has-bg {
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,23,0.92), rgba(10,14,23,0.8));
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero-content h1 span {
  color: var(--primary-color);
  text-shadow: 0 0 30px rgba(0,240,255,0.3);
}
.hero-content p {
  color: var(--font-light-color);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-search-box {
  max-width: 500px;
  position: relative;
}
.hero-search-box input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--font-color);
  font-size: 1rem;
  padding: 0.9rem 1.25rem;
  padding-right: 3.5rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.hero-search-box input::placeholder { color: var(--font-light-color); }
.hero-search-box input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-md);
}
.hero-search-box button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  border: none;
  color: var(--background-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
}
.hero-search-box button:hover {
  box-shadow: var(--glow-md);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.hero-stat-val {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,240,255,0.2);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--font-lighter-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.3rem;
}

@media (max-width: 767px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-val { font-size: 1.3rem; }
}

/* =============================================
   CARDS - Company Directory
   ============================================= */
.dir-card {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dir-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 12px var(--glow-color);
}
.dir-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.dir-card:hover::before {
  opacity: 1;
}

.dir-card .card-inner {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dir-card .card-logo-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--background-light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.dir-card .card-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.dir-card .card-logo-placeholder {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.dir-card .card-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.dir-card .card-name a {
  color: var(--font-color);
}
.dir-card .card-name a:hover {
  color: var(--primary-color);
  text-shadow: none;
}

.dir-card .card-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--font-lighter-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.5rem;
}

.dir-card .card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  border: 1px solid;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.dir-card .card-tag.tag-new {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  background: rgba(184,255,0,0.08);
}
.dir-card .card-tag.tag-promo {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: rgba(255,45,107,0.08);
}

.dir-card .card-bottom {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}
.dir-card .card-bottom a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-color);
}
.dir-card .card-bottom a:hover {
  text-shadow: 0 0 8px rgba(0,240,255,0.4);
}

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-card {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm), 0 8px 32px rgba(0,0,0,0.3);
}
.blog-card .blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
  filter: brightness(0.85) saturate(0.9);
  transition: filter 0.3s ease;
}
.blog-card:hover .blog-thumb {
  filter: brightness(1) saturate(1);
}
.blog-card .blog-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .blog-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}
.blog-card .blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.blog-card .blog-title a {
  color: var(--font-color);
}
.blog-card .blog-title a:hover {
  color: var(--primary-color);
  text-shadow: none;
}
.blog-card .blog-excerpt {
  font-size: 0.88rem;
  color: var(--font-light-color);
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card .blog-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--font-lighter-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

/* =============================================
   CATEGORY TILES (homepage - hexagonal grid feel)
   ============================================= */
.cat-tile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-tile::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--glow-color);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cat-tile:hover {
  border-color: var(--primary-color);
  background: var(--hover-color);
  transform: translateX(4px);
}
.cat-tile:hover::after {
  opacity: 1;
}
.cat-tile-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.cat-tile:hover .cat-tile-icon {
  background: var(--primary-color);
  color: var(--background-color);
  box-shadow: var(--glow-sm);
}
.cat-tile-name {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--font-color);
}
.cat-tile:hover .cat-tile-name {
  color: var(--primary-color);
}

/* Subcategory chips */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--font-light-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}
.chip:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0,240,255,0.05);
}
.chip.active {
  border-color: var(--primary-color);
  color: var(--background-color);
  background: var(--primary-color);
  box-shadow: var(--glow-sm);
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Tag items (locations etc) */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--font-light-color);
  text-decoration: none;
  transition: var(--transition);
}
.tag-pill:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background: rgba(184,255,0,0.05);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.pagination-wrap .pagination {
  gap: 0.25rem;
}
.pagination-wrap .page-link {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  color: var(--font-light-color);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  transition: var(--transition);
}
.pagination-wrap .page-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--hover-color);
}
.pagination-wrap .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--background-color);
  box-shadow: var(--glow-sm);
}
.pagination-wrap .page-item.disabled .page-link {
  color: var(--font-lighter-color);
  background: var(--background-light-color);
  border-color: var(--border-color);
}
.pagination-info {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--font-lighter-color);
}

/* =============================================
   COMPANY PAGE
   ============================================= */
.company-banner {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.company-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 0 15px var(--glow-color);
}
.company-logo-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  background: var(--background-light-color);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sidebar-panel {
  position: sticky;
  top: 70px;
}

.panel-card {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.panel-header {
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--font-light-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--background-light-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}
.panel-header:hover {
  color: var(--primary-color);
}
.panel-header .chevron {
  transition: transform 0.25s ease;
  font-size: 0.7rem;
}
.panel-header[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.panel-body {
  padding: 1rem;
}

.data-row {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
}
.data-row:last-child { border-bottom: none; }
.data-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--font-lighter-color);
  margin-bottom: 0.15rem;
}
.data-value {
  font-size: 0.92rem;
  color: var(--font-color);
  word-break: break-word;
}

.content-block {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Screenshot */
.screenshot-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}
.screenshot-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 1;
}
.screenshot-wrap img { width: 100%; display: block; }

/* Voting */
.vote-section {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.star-row {
  display: inline-flex;
  gap: 3px;
}
.star-icon {
  width: 22px;
  height: 22px;
  color: var(--border-color);
  transition: color 0.15s ease;
  cursor: pointer;
}
.star-icon.filled {
  color: var(--secondary-color);
  filter: drop-shadow(0 0 4px rgba(184,255,0,0.3));
}
.star-icon:hover { color: var(--secondary-color); }

.vote-bar-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--font-lighter-color);
}
.vote-bar {
  flex: 1;
  height: 6px;
  background: var(--background-light-color);
  border-radius: 3px;
  overflow: hidden;
}
.vote-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0,240,255,0.2);
  transition: width 0.5s ease;
}

/* Location */
.loc-card {
  background: var(--background-light-color);
  border-left: 3px solid var(--primary-color);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  box-shadow: -3px 0 8px rgba(0,240,255,0.05);
}
.loc-card .map-embed {
  margin-top: 0.75rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.loc-card .map-embed iframe {
  width: 100%;
  height: 200px;
  border: none;
  filter: brightness(0.8) contrast(1.1);
}

/* =============================================
   BLOG POST - FEATURED HERO BANNER
   ============================================= */
.post-hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}
.post-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,23,0.85) 0%, rgba(10,14,23,0.2) 60%, rgba(10,14,23,0.3) 100%);
  z-index: 1;
}
.post-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,240,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}
.post-hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}
.post-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.post-hero .post-meta {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .post-hero { padding: 2.5rem 0 2rem; min-height: 240px; }
  .post-hero-content h1 { font-size: 1.5rem; }
}

/* =============================================
   BLOG POST
   ============================================= */
.post-wrapper {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.post-featured {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.post-inner {
  padding: 2rem;
}
.post-inner h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--font-lighter-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.post-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--font-color);
}
.post-content img {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
}
.post-content h2, .post-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.post-content a {
  border-bottom: 1px dashed var(--primary-color);
}
.post-content blockquote {
  border-left: 3px solid var(--primary-color);
  background: var(--background-light-color);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--font-light-color);
}
.post-content code {
  font-family: var(--font-mono);
  background: var(--background-light-color);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  color: var(--secondary-color);
}

/* Author */
.author-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--background-light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}
.author-avatar-ph {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.author-info p {
  font-size: 0.88rem;
  color: var(--font-light-color);
  margin-bottom: 0.5rem;
}
.author-links {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--footer-background-color);
  color: var(--footer-text-color);
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
}
.footer-main {
  padding: 3rem 0 2rem;
}
.footer-brand {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--font-color);
  margin-bottom: 0.75rem;
}
.footer-brand .f-dot {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--glow-color);
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--footer-text-color);
  line-height: 1.6;
  max-width: 280px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--font-color);
  margin-bottom: 1rem;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 0.4rem; }
.footer-nav a {
  color: var(--footer-text-color);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-nav a:hover {
  color: var(--primary-color);
  padding-left: 4px;
  text-shadow: 0 0 8px rgba(0,240,255,0.2);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--footer-text-color);
}

.footer-search input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--font-color);
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.footer-search input::placeholder { color: var(--footer-text-color); }
.footer-search input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm);
}
.footer-search .btn {
  margin-top: 0.5rem;
  width: 100%;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  font-size: 0.9rem;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  border-color: var(--primary-color);
  box-shadow: var(--glow-md);
  transform: translateY(-3px);
}

/* =============================================
   FORMS
   ============================================= */
.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  display: block;
  color: var(--font-light-color);
}
.form-group .required { color: var(--accent-color); }
.form-group .form-control {
  background: var(--background-light-color);
  border: 1px solid var(--border-color);
  color: var(--font-color);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  transition: var(--transition);
}
.form-group .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm);
  outline: none;
}
.form-group .form-control::placeholder {
  color: var(--font-light-color);
}
.form-check-input {
  background-color: var(--background-light-color);
  border-color: var(--border-color);
}
.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.alert-success {
  background: rgba(0,230,118,0.1);
  border-color: rgba(0,230,118,0.2);
  color: var(--success-color, #00E676);
}
.alert-danger {
  background: rgba(255,23,68,0.1);
  border-color: rgba(255,23,68,0.2);
  color: var(--danger-color, #FF1744);
}

/* =============================================
   ERROR PAGE
   ============================================= */
.error-page {
  text-align: center;
  padding: 5rem 1rem;
}
.error-code {
  font-family: var(--font-mono);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
  text-shadow: 0 0 60px rgba(0,240,255,0.3), 0 0 120px rgba(0,240,255,0.1);
}
.error-msg {
  font-size: 1.15rem;
  color: var(--font-light-color);
  margin: 1rem 0 2rem;
}

/* =============================================
   SITEMAP
   ============================================= */
.sitemap-block {
  margin-bottom: 2rem;
}
.sitemap-block h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.sitemap-block h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--primary-color);
  box-shadow: 0 0 6px var(--glow-color);
}
.sitemap-block ul {
  list-style: none;
  padding: 0;
}
.sitemap-block ul ul {
  padding-left: 1.5rem;
  margin-top: 0.25rem;
}
.sitemap-block li {
  margin-bottom: 0.3rem;
}
.sitemap-block a {
  color: var(--font-light-color);
  font-size: 0.9rem;
}
.sitemap-block a:hover {
  color: var(--primary-color);
}

.letters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.letter-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--font-lighter-color);
  text-decoration: none;
  transition: var(--transition);
  pointer-events: none;
}
.letter-link.active {
  pointer-events: auto;
  color: var(--primary-color);
  border-color: rgba(0,240,255,0.3);
  background: rgba(0,240,255,0.05);
}
.letter-link.active:hover {
  background: var(--primary-color);
  color: var(--background-color);
  box-shadow: var(--glow-sm);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   STATUS BOX - last updated
   ============================================= */
.status-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--font-light-color);
  margin-bottom: 0.75rem;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success-color, #00E676);
  box-shadow: 0 0 6px var(--success-color, #00E676);
  flex-shrink: 0;
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.status-label {
  color: var(--font-light-color);
  font-size: 0.75rem;
}
.status-date {
  color: var(--primary-color);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

/* =============================================
   VOTE SIDEBAR (compact in panel)
   ============================================= */
.panel-card-accent {
  border-color: rgba(0,240,255,0.15);
  box-shadow: 0 0 12px rgba(0,240,255,0.04);
}
.vote-sidebar-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.vote-sidebar-avg {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--secondary-color);
  text-shadow: 0 0 15px rgba(184,255,0,0.2);
}
.star-icon-sm {
  width: 16px;
  height: 16px;
}
.vote-sidebar-bars {
  margin-bottom: 0.5rem;
}
.vote-sidebar-bars .vote-bar-row {
  margin-bottom: 0.2rem;
}

/* =============================================
   POPULAR COMPANIES - NEON SLIDER
   ============================================= */
.popular-section {
  padding: 3rem 0;
  background: var(--background-light-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.popular-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  box-shadow: 0 0 15px var(--glow-color);
}

.slider-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  color: var(--font-light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}
.slider-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--glow-sm);
}

.pop-slider-wrap {
  overflow: hidden;
  margin: 0 -0.5rem;
}
.pop-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pop-slider::-webkit-scrollbar { display: none; }

.pop-slide {
  flex: 0 0 260px;
  min-width: 260px;
}

.pop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pop-card-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.pop-card:hover .pop-card-glow {
  opacity: 0.15;
}
.pop-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--glow-sm), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.pop-card-rank {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-size: 0.65rem;
  color: var(--font-lighter-color);
  letter-spacing: 1px;
  opacity: 0.5;
}

.pop-card-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--background-light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}
.pop-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.pop-card-ph {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pop-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.pop-card:hover .pop-card-title {
  color: var(--primary-color);
}

.pop-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--font-lighter-color);
  margin-bottom: 0.75rem;
}
.pop-card-meta i {
  margin-right: 0.2rem;
}
.pop-card-rating {
  color: var(--secondary-color);
}

.pop-card-arrow {
  margin-top: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--font-lighter-color);
  transition: var(--transition);
}
.pop-card:hover .pop-card-arrow {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0,240,255,0.08);
  box-shadow: var(--glow-sm);
}

.slider-progress {
  height: 2px;
  background: var(--border-color);
  border-radius: 1px;
  margin-top: 1.25rem;
  overflow: hidden;
}
.slider-progress-bar {
  height: 100%;
  width: 0;
  background: var(--primary-color);
  box-shadow: 0 0 8px var(--glow-color);
  border-radius: 1px;
  transition: width 0.15s ease;
}

/* =============================================
   BLOG SIDEBAR
   ============================================= */
.blog-sidebar {
  position: sticky;
  top: 70px;
}

.sidebar-widget {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.sidebar-widget-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--background-light-color);
}
.sidebar-widget-body {
  padding: 1rem;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--font-light-color);
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-cat-list li {
  border-bottom: 1px solid var(--border-color);
}
.sidebar-cat-list li:last-child {
  border-bottom: none;
}
.sidebar-cat-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--font-light-color);
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-cat-list a:hover,
.sidebar-cat-list a.active {
  color: var(--primary-color);
  background: var(--hover-color);
  text-shadow: none;
}
.sidebar-cat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--font-lighter-color);
  flex-shrink: 0;
  transition: var(--transition);
}
.sidebar-cat-list a:hover .sidebar-cat-dot,
.sidebar-cat-list a.active .sidebar-cat-dot {
  background: var(--primary-color);
  box-shadow: 0 0 6px var(--glow-color);
}
.sidebar-cat-count {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--font-lighter-color);
}

/* =============================================
   CONTENT BOX (for wysiwyg text areas)
   ============================================= */
.content-box {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* =============================================
   POLAND MAP
   ============================================= */
.poland-map-section {
  overflow: hidden;
}
.poland-map-svg-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.poland-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.poland-map-svg .map-region {
  transition: all 0.25s ease;
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--background-card-color);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
  box-shadow: var(--glow-sm), 0 4px 16px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.map-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
.map-tooltip-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--font-color);
}
.map-tooltip-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-color);
}

/* Legend */
.map-legend {
  background: var(--background-card-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}
.map-legend-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--background-light-color);
}
.map-legend-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 420px;
  overflow-y: auto;
}
.map-legend-list li {
  border-bottom: 1px solid var(--border-color);
}
.map-legend-list li:last-child {
  border-bottom: none;
}
.map-legend-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--font-light-color);
  text-decoration: none;
  transition: var(--transition);
}
.map-legend-list a:hover {
  color: var(--primary-color);
  background: var(--hover-color);
  text-shadow: none;
}
.map-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  flex-shrink: 0;
  transition: var(--transition);
}
.map-legend-list a:hover .map-legend-dot {
  box-shadow: 0 0 8px var(--glow-color);
}
.map-legend-name {
  flex: 1;
}
.map-legend-count {
  font-size: 0.72rem;
  color: var(--font-lighter-color);
}
.map-legend-list a:hover .map-legend-count {
  color: var(--primary-color);
}

/* Scrollbar for legend */
.map-legend-list::-webkit-scrollbar {
  width: 4px;
}
.map-legend-list::-webkit-scrollbar-track {
  background: var(--background-light-color);
}
.map-legend-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 2px;
}
.map-legend-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 767px) {
  .section-title { font-size: 1.35rem; }
  .company-banner { padding: 1.25rem; }
  .post-inner { padding: 1.25rem; }
  .post-inner h1 { font-size: 1.5rem; }
  .author-block { flex-direction: column; align-items: center; text-align: center; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .pop-slide { flex: 0 0 220px; min-width: 220px; }
  .pop-card { padding: 1.25rem 1rem; }
  .slider-nav { display: none !important; }
  .poland-map-svg-wrap { max-width: 320px; }
  .map-legend-list { max-height: 300px; }
}
