/* Ad Specifications | Valnet */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: #f5f5f5;
  color: #111;
}

button {
  font-family: inherit;
  background: none;
  border: none;
}

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  height: 102px;
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 40px;
  text-decoration: none;
}

.nav-logo img { height: 40px; width: auto; display: block;filter: invert(100%);}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-links a:hover { color: #1b699f; }

.nav-links .btn-contact {
  color: #111;
  border: 1.5px solid #111;
  border-radius: 6px;
  padding: 6px 25px;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.nav-links .btn-contact:hover {
  color: #111;
  background: #f5f5f5;
  border-color: #111;
}

.nav-links .btn-contact.is-active {
  color: #111;
  background: #f5f5f5;
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  background-color: #000;
  min-height: 415px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/ad-specs/bg-page-header.jpg') center / cover no-repeat;
  pointer-events: none;
}

.hero::after,
.unit-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 120% at 0% 100%, rgba(30, 116, 175, 0.75) 0%, transparent 70%),
    radial-gradient(ellipse 50% 120% at 100% 100%, rgba(30, 116, 175, 0.75) 0%, transparent 70%),
    linear-gradient(to top, #000 0%, transparent 35%);
}

.hero-sweep {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-sweep::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent,
    transparent 35%,
    hsla(0, 0%, 100%, 0.06) 45%,
    hsla(0, 0%, 100%, 0.1) 50%,
    hsla(0, 0%, 100%, 0.06) 55%,
    transparent 65%,
    transparent
  );
  animation: hero-light-sweep 13s linear infinite;
}

@keyframes hero-light-sweep {
  0%, 75% {
    transform: translate3d(-120%, 0, 0);
  }
  100% {
    transform: translate3d(120%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sweep::after {
    animation: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 32px 72px;
  max-width: 920px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

.hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 36px;
  opacity: 0.88;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 3px solid #1e74af;
  border-radius: 100px;
  padding: 5px 5px 5px 28px;
  max-width: 700px;
  margin: 0 auto;
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.search-bar input::placeholder { color: rgba(255, 255, 255, 0.6); }

.search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e74af;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}

.search-btn:hover { background: #1a62a0; }
.search-btn svg { width: 16px; height: 16px; fill: #fff; }

/* ─── MAIN LAYOUT ─────────────────────────────────── */
.main-content {
  max-width: 1824px;
  margin: 0 auto;
  padding: 40px 103px 0 88px;
}

.content-wrapper {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.sidebar-col {
  width: 306px;
  flex-shrink: 0;
  position: sticky;
  top: 122px;
}

.sidebar-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
  padding-left: 2px;
}

.sidebar-title--mobile {
  display: none;
}

/* ─── FILTER SIDEBAR ──────────────────────────────── */
.filter-panel {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  overflow: hidden;
}

.filter-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
  padding: 18px 20px;
  border-bottom: 1px solid #e6e6e6;
  line-height: 1.2;
}

.filter-sidebar {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.filter-section { border-bottom: 1px solid #e6e6e6; }
.filter-section:last-child { border-bottom: none; }

.filter-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0;
  text-align: left;
  transition: background-color 0.2s;
}

.filter-section-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

details.filter-section[open] .chevron { transform: rotate(180deg); }

summary.filter-section-header {
  list-style: none;
  background: none;
  border: none;
  font-family: inherit;
}

summary.filter-section-header::-webkit-details-marker {
  display: none;
}

.filter-chips-wrap {
  overflow: hidden;
}

.filter-chips {
  padding: 4px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: 0;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.chip:hover {
  background: #ebebeb;
  border-color: transparent;
  color: #111;
}

.chip.active {
  background: #e8f2fa;
  border: 1px solid #1e74af;
  border-radius: 999px;
  color: #111;
  font-weight: 600;
}

/* ─── BRAND FILTER ────────────────────────────────── */
.filter-brands-wrap {
  padding: 4px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-brand-search {
  position: relative;
}

.filter-brand-search input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f5f5f5;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #111;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.filter-brand-search input::placeholder {
  color: #999;
}

.filter-brand-search input:focus {
  border-color: #1e74af;
  background: #fff;
}

.filter-brand-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #888;
  pointer-events: none;
}

.filter-brand-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 310px;
  overflow-y: auto;
  padding-right: 4px;
}

.filter-brand-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.filter-brand-item.is-filtered {
  display: none;
}

.filter-brand-checkbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.filter-brand-box {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid #cbcbcb;
  border-radius: 3px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, border-color 0.15s;
}

.filter-brand-item:has(.filter-brand-checkbox:checked) .filter-brand-box {
  background: #1e74af;
  border-color: #1e74af;
}

.filter-brand-item:has(.filter-brand-checkbox:checked) .filter-brand-box::after {
  content: '';
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.filter-brand-label {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}

.filter-brands-wrap:not(:has(#brands-expand:checked)) #brand-list .filter-brand-item:nth-child(n+6) {
  display: none;
}

.filter-brands-wrap:not(:has(#brands-expand:checked)) #brand-list .filter-brand-item:nth-child(n+6).is-filtered {
  display: none;
}

.filter-brand-show-more {
  display: inline-block;
  color: #1b699f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
  transition: color 0.15s;
}

.filter-brand-show-more:hover {
  color: #1560a0;
}

.filter-brand-show-more--collapse {
  display: none;
}

#brands-expand:checked ~ .filter-brand-show-more--expand {
  display: none;
}

#brands-expand:checked ~ .filter-brand-show-more--collapse {
  display: inline-block;
}

.filter-brands-wrap.is-searching .filter-brand-show-more {
  display: none !important;
}

.filter-brands-wrap.is-short-list .filter-brand-show-more {
  display: none !important;
}

/* ─── UNIT GRID ───────────────────────────────────── */
.unit-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding-bottom: 60px;
  min-width: 0;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #999;
  font-size: 16px;
  font-weight: 500;
}

.no-results svg {
  display: block;
  margin: 0 auto 14px;
  opacity: 0.3;
}

/* ─── UNIT TILE (listing cards) ───────────────────── */
.card-preview {
  background: #eef2f7;
  height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 12px;
}

.card-preview img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.card-type {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.type-icon {
  width: auto;
  height: 12px;
  flex-shrink: 0;
  display: block;
}

.type-high-impact { color: #f09a2b; }
.type-iab-standard { color: #1e74af; }
.type-video { color: #ad4bdf; }
.type-sponsored-content { color: #16a34a; }

.card-name {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.card-size-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #f2f2f2;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #8b8b8b;
  max-width: 100%;
  min-width: 0;
  width: fit-content;
  cursor: help;
}

.card-size-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.size-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px 12px;
  border-radius: 8px;
  background: #1f2937;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.size-tooltip.is-visible {
  opacity: 1;
}

.size-tooltip::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -4px;
  width: 10px;
  height: 10px;
  background: #1f2937;
  transform: rotate(45deg);
}

.size-tooltip.is-below::after {
  bottom: auto;
  top: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .size-tooltip {
    transition: none;
  }
}

.size-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  display: block;
}

.card-desc {
  font-size: 13px;
  font-weight: 400;
  color: #7F7F7F;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-divider {
  border: none;
  border-top: 1px solid #ebebeb;
  margin: 2px 0;
}

.card-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.tag-brands {
  padding: 0;
  background: none;
  font-size: 12px;
  font-weight: 400;
  color: #999;
  margin-right: auto;
}

.tag-region {
  font-size: 10px;
  font-weight: 600;
  color: #999;
  background: #f2f2f2;
  border-radius: 4px;
  padding: 3px 7px;
  min-width: 25px;
  text-align: center;
  line-height: 1.2;
}

/* ─── WIREFRAME MOCKS ─────────────────────────────── */
.mock {
  position: relative;
}

.mock--mobile {
  width: 70px;
  background: #fff;
  border: 1px solid rgba(218, 218, 218, 0.68);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  padding: 6px 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock--mobile.mock--small { transform: scale(0.92); }

.mock--desktop {
  width: 222px;
  background: #fff;
  border: 1px solid rgba(218, 218, 218, 0.68);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.mock--dual {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock__arrow {
  font-size: 14px;
  color: #1e74af;
  font-weight: 700;
  transform: rotate(-90deg);
}

.mock__browser-bar {
  height: 8px;
  background: #e6ecf2;
  border-bottom: 1px solid #dadada;
}

.mock__content {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock__lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock__lines span {
  display: block;
  height: 2px;
  background: #e6ecf2;
  border-radius: 40px;
}

.mock__lines span:nth-child(1) { width: 100%; }
.mock__lines span:nth-child(2) { width: 75%; }
.mock__lines span:nth-child(3) { width: 55%; }
.mock__lines span:nth-child(4) { width: 40%; }
.mock__lines span:nth-child(5) { width: 65%; }

.mock__lines--col span { width: 100% !important; }

.mock__ad {
  background: #bfdbfe;
  border: 0.5px solid #2563eb;
  border-radius: 1px;
  flex-shrink: 0;
}

.mock__ad--strip { height: 11px; width: 100%; }
.mock__ad--medium { height: 66px; width: 100%; }
.mock__ad--half { height: 53px; width: 100%; }
.mock__ad--tall { height: 70px; width: 100%; position: relative; }

.mock--mobile > .mock__ad:not(.mock__ad--strip):not(.mock__ad--half):not(.mock__ad--tall) {
  height: 53px;
  width: 100%;
}

.mock__ad--wide { width: 100%; height: 40px; }
.mock__ad--short { height: 20px; }
.mock__ad--grow { height: 55px; }
.mock__ad--full { width: 100%; }
.mock__ad--header { height: 20px; margin-bottom: 2px; }
.mock__ad--leader { height: 14px; }
.mock__ad--billboard { height: 36px; }
.mock__ad--sidebar { width: 42px; flex-shrink: 0; height: 51px; }
.mock__ad--square { height: 44px; }
.mock__ad--tall { height: 70px; }

.mock__ad--countdown {
  height: 47px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.mock__countdown-label {
  font-size: 5px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.3px;
}

.mock__countdown-time {
  font-size: 9px;
  font-weight: 800;
  color: #1e40af;
  letter-spacing: 1px;
}

.mock__ad--video,
.mock__ad--video-inline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock__ad--video { height: 80px; }
.mock__ad--video-inline { height: 44px; }

.mock__ad--sponsored { height: 36px; }

.mock__play {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  position: relative;
}

.mock__play::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #2563eb;
}

.mock__play--lg {
  width: 22px;
  height: 22px;
}

.mock__play--lg::after {
  left: 8px;
  top: 5px;
  border-width: 6px 0 6px 10px;
}

.mock__sidebar-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.mock__sidebar-row .mock__lines { flex: 1; }

.mock__label,
.mock__sponsored-label {
  font-size: 5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.3;
}

.mock__sponsored-label {
  color: #16a34a;
  text-align: left;
  margin-bottom: 2px;
}

.mock--wallpaper {
  display: flex;
  width: 222px;
  height: 100px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mock__wall-left,
.mock__wall-right {
  width: 28px;
  background: #93c5fd;
  border: 0.5px solid #2563eb;
  flex-shrink: 0;
}

.mock__wall-center {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(218, 218, 218, 0.68);
  border-radius: 2px;
  overflow: hidden;
}

/* ─── UNIT DETAIL PAGE ────────────────────────────── */

/* Hero */
.unit-hero {
  position: relative;
  min-height: 435px;
  display: flex;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}

.unit-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/ad-specs/bg-page-header.jpg') center / cover no-repeat;
  pointer-events: none;
}

.unit-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
}

.unit-hero-left {
  flex: 1;
  min-width: 0;
}

.unit-hero-right {
  width: 300px;
  flex-shrink: 0;
}

/* Badge */
.unit-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.unit-badge.type-high-impact { color: #f9a12f; }

.unit-badge-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* Title */
.unit-title {
  font-size: 58px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

/* Platform indicator */
.unit-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

.unit-platform-icon {
  display: block;
  width: 15px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Description */
.unit-description {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 28px;
  max-width: 514px;
}

/* Specs row */
.unit-specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 0;
  margin-bottom: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  max-width: 100%;
}

.unit-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
  max-width: 100%;
}

.unit-spec-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}

.unit-spec-sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 18px;
  flex-shrink: 0;
}

/* CTA buttons */
.unit-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.specs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 0 22px;
  height: 41px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}

.specs-btn--primary {
  background: #1b699f;
  color: #fff;
}

.specs-btn--primary:hover {
  background: #155680;
}

.specs-btn--secondary {
  background: #040c26;
  color: #eee;
  border: 1px solid #aeaeae;
}

.specs-btn--secondary:hover {
  background: #0a1535;
}

/* Meta card (glassmorphism) */
.unit-meta-card {
  /*background: rgba(4, 12, 37, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);*/
  background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 8px 24px 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 26px #040e2487;
}

.unit-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
}

.unit-meta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.meta-label {
  font-size: 12px;
  font-weight: 400;
  color: #d3d3d3;
  line-height: 1.4;
  margin-bottom: 4px;
}

.meta-value {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.unit-meta-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hide lead time on IAB Standard and Video unit pages */
#unit-page-content[data-detail-ready="true"] #unit-placeholder-notice {
  display: none;
}

#video-spec-section:not(:has(#video-spec-tbody tr)) {
  display: none;
}

summary.specs-card__hd {
  list-style: none;
}

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

@media (min-width: 769px) {
  .page-unit details.unit-accordion {
    overflow: visible;
  }

  .page-unit details.unit-accordion > summary {
    pointer-events: none;
    cursor: default;
  }

  .page-unit details.unit-accordion .chevron {
    display: none;
  }

  /* Force body visible even when details lacks [open] (desktop-only) */
  .page-unit details.unit-accordion:not([open]) > .specs-card__bd,
  .page-unit details.unit-accordion[open] > .specs-card__bd {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 22px 24px !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}

@supports selector(details::details-content) {
  @media (min-width: 769px) {
    .page-unit details.unit-accordion::details-content {
      display: block !important;
      content-visibility: visible !important;
    }
  }
}
#unit-page-content:has(.unit-badge.type-iab-standard) #unit-leadtime,
#unit-page-content:has(.unit-badge.type-video) #unit-leadtime {
  display: none;
}

#unit-page-content:has(.unit-badge.type-iab-standard) .unit-meta-row:has(#meta-lead-time),
#unit-page-content:has(.unit-badge.type-video) .unit-meta-row:has(#meta-lead-time) {
  display: none;
}

#unit-page-content:has(.unit-badge.type-iab-standard) .unit-meta-row:has(#meta-lead-time) + .unit-meta-divider,
#unit-page-content:has(.unit-badge.type-video) .unit-meta-row:has(#meta-lead-time) + .unit-meta-divider {
  display: none;
}

/* ─── SHARED PAGE + CARD ──────────────────────────── */
.specs-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.specs-card {
  background: #fff;
  /*border: 1px solid #e6e6e6;*/
  border-radius: 12px;
}

.specs-card--shadow {
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);*/
}

.specs-card--flush {
  overflow: hidden;
}

.specs-card--padded {
  padding: 40px 48px;
}

.specs-card--tile {
  border: 1px solid #e5e5e5;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.specs-card--tile .specs-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.specs-card--interactive:hover {
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.specs-card__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Manrope', sans-serif;
  color: inherit;
}

.specs-card__hd--static {
  cursor: default;
}

.specs-card__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.specs-card__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #111;
}

.specs-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}

.specs-card .chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #111;
  transition: transform 0.22s ease;
  transform: rotate(0deg);
}

.specs-card__bd {
  padding: 0 22px 24px;
}

.specs-card__sub {
  font-size: 13px;
  color: #474747;
  line-height: 24px;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .specs-page--muted {
    padding: 18px 16px 40px;
    background: #f2f2f2;
  }

  .specs-card {
    border-radius: 8px;
  }

  .specs-card--padded {
    padding: 24px 20px;
  }

  .specs-card__hd {
    padding: 15px 18px;
  }

  .specs-card__title {
    font-size: 14px;
  }

  .specs-card__bd--always-open {
    max-height: none !important;
    padding: 0 22px 24px !important;
    overflow: visible !important;
  }
}

/* ─── UNIT MAIN CONTENT ───────────────────────────── */
.unit-content-grid {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.unit-col-left {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.unit-col-right {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 122px;
}

.unit-preview-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ─── UNIT PREVIEW ────────────────────────────────── */
.unit-preview-area {
  background: #f8fafe;
  border-radius: 8px;
  min-height: 340px;
  max-height: 520px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  overflow: hidden;
}

.unit-preview-area--media {
  align-items: center;
  justify-content: center;
  min-height: 490px;
  max-height: 525px;
  padding: 20px 24px;
}

.unit-preview-area--slider {
  position: relative;
  padding-left: 44px;
  padding-right: 44px;
}

#unit-preview-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.unit-preview-area--media #unit-preview-media {
  align-self: stretch;
  min-height: 0;
}

.unit-preview-area--slider #unit-preview-media {
  align-self: stretch;
  width: 100%;
  min-height: 0;
}

.preview-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
}

.preview-nav.is-hidden {
  display: none;
}

.preview-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.preview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: none;
  background: none;
  color: #111;
  cursor: pointer;
  transition: color 0.2s;
}

.preview-arrow--prev {
  left: 12px;
}

.preview-arrow--next {
  right: 12px;
}

.preview-arrow svg {
  width: 22px;
  height: 22px;
}

.preview-arrow:hover {
  color: #1e74af;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d9d9;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
}

.preview-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
}

.preview-dot--active {
  background: #1e74af;
}

.unit-preview-track {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unit-preview-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.unit-preview-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.unit-preview-media {
  max-height: 163px;
  max-width: 50%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(2);
  transform-origin: center center;
}

.unit-preview-media--fill {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: none;
}

.unit-examples {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}

.unit-examples-title {
  font-size: 13px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.unit-examples-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unit-examples-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1b699f;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
  cursor: pointer;
}

.unit-examples-list a:hover {
  color: #1560a0;
  text-decoration: underline;
}

/* ─── SPEC TABLE ──────────────────────────────────── */
.spec-group-title {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  padding-top: 22px;
  padding-bottom: 16px;
  margin: 0;
}

.spec-group-title--video { padding-top: 28px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 24px;
}

.spec-table td {
  padding: 13px 0;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
}

.spec-table td:nth-child(even) {
  padding-left: 22px;
}

.spec-table tr:first-child td {
  border-top: 1px solid #e6e6e6;
}

.spec-table tr:last-child td {
  border-bottom: 1px solid #e6e6e6;
}

.spec-label {
  width: 35%;
  font-weight: 400;
  color: #111;
  border-right: 1px solid #e6e6e6;
  padding-right: 22px;
}

.spec-value {
  font-weight: 800;
  color: #111;
}

/* ─── SITE AVAILABILITY ───────────────────────────── */
.site-logos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.site-logo-tile {
  background: #f8fafe;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  overflow: hidden;
}

a.site-logo-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

a.site-logo-tile:hover {
  background: #eef4fb;
  border-color: #d4e4f4;
  box-shadow: 0 2px 8px rgba(27, 105, 159, 0.08);
}

.site-logos-wrap:not(:has(#sites-expand:checked)) .site-logo-tile:nth-child(n+13) {
  display: none;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1b699f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 24px;
  transition: color 0.15s;
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
}

.view-all-link:hover { color: #1560a0; }

.view-all-link.view-all-link--collapse {
  display: none;
}

#sites-expand:checked ~ .view-all-link--expand {
  display: none;
}

#sites-expand:checked ~ .view-all-link.view-all-link--collapse {
  display: inline-flex;
}

#sites-expand:checked ~ .view-all-link--collapse svg {
  transform: rotate(-90deg);
}

.view-all-link svg {
  transition: transform 0.2s ease;
}

.site-logo-img {
  display: block;
  width: 100%;
  max-width: 100px;
  height: 22px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  transform: scale(var(--logo-scale, 1));
  transform-origin: center center;
}

/* Region tags (extends .tag-region already in styles.css) */
.region-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ─── LEAD TIME ───────────────────────────────────── */
.lead-time-row {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.lead-time-row:last-child { border-bottom: none; }

.lead-time-label {
  font-size: 12px;
  font-weight: 400;
  color: #111;
  line-height: 24px;
  margin-bottom: 1px;
}

.lead-time-val {
  font-size: 17px;
  font-weight: 700;
  color: #1b699f;
  line-height: 24px;
}

/* ─── NEED HELP ───────────────────────────────────── */
.unit-help-text {
  font-size: 13px;
  color: #474747;
  line-height: 20px;
  margin-bottom: 20px;
}

/* ─── UNIT PAGE RESPONSIVE ────────────────────────── */
@media (max-width: 1400px) {
  .unit-col-right { width: 340px; }
}

@media (max-width: 1100px) {
  .unit-hero-inner {
    padding: 56px 24px;
  }
  .unit-hero-right { width: 264px; }
  .specs-page { padding: 40px 24px 60px; }
}

@media (max-width: 900px) {
  .unit-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .unit-hero-right { width: 100%; max-width: 440px; }
  .unit-content-grid { flex-direction: column; }
  .unit-col-left,
  .unit-col-right {
    width: 100%;
    flex: none;
    position: static;
  }
}

/* ─── UNIT PAGE MOBILE (≤768px) ───────────────────── */
@media (max-width: 768px) {
  .unit-hero {
    min-height: 0;
    overflow-x: hidden;
  }

  .unit-hero-left {
    width: 100%;
    min-width: 0;
  }

  .unit-hero-inner {
    padding: 36px 24px 40px;
    gap: 28px;
  }

  .unit-hero-right {
    max-width: 100%;
  }

  .unit-title {
    font-size: 40px;
    margin-bottom: 14px;
  }

  .unit-description {
    max-width: none;
    margin-bottom: 22px;
  }

  .unit-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    overflow: visible;
    padding-bottom: 0;
    width: 100%;
  }

  .unit-spec-sep {
    display: none;
  }

  .unit-spec-item {
    white-space: normal;
    font-size: 13px;
    min-width: 0;
  }

  .unit-actions { gap: 12px; }
  .specs-btn { font-size: 13px; padding: 0 16px; }

  /* Main layout */
  .page-unit .specs-page {
    padding: 0;
    max-width: none;
    background: #f2f2f2;
  }

  .unit-content-grid {
    flex-direction: column;
    gap: 0;
    padding: 18px 16px 80px;
  }

  .unit-col-left,
  .unit-col-right {
    gap: 16px;
    position: static;
    width: 100%;
  }

  .unit-col-right { margin-top: 16px; }

  /* Accordion chevrons via native details */
  .page-unit details.unit-accordion .chevron {
    display: block;
  }

  details.unit-accordion .chevron { transform: rotate(180deg); }
  details.unit-accordion[open] .chevron { transform: rotate(0deg); }
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  border-top: 1px solid #e6e6e6;
  background: #fff;
  padding: 17px 20px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  font-weight: 500;
  color: #909090;
}

.footer a {
  color: rgba(30, 116, 175, 0.89);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }

/* ─── POLICIES PAGE ───────────────────────────────── */
.hero--compact {
  min-height: 320px;
}

.hero--compact .hero-content {
  padding: 60px 32px 64px;
}

.hero--compact .hero-subtitle {
  margin-bottom: 0;
}

.hero--contact .hero-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.policies-section {
  margin-bottom: 32px;
}

.policies-section:last-of-type {
  margin-bottom: 0;
}

.policies-section h2 {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin-bottom: 16px;
}

.policies-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.policies-section li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #474747;
}

.policies-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #111;
  font-weight: 700;
}

.policies-section a {
  color: #1b699f;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.policies-section a:hover {
  color: #155680;
  text-decoration: underline;
}

.policies-contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e6e6e6;
  text-align: center;
}

.policies-contact-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.policies-contact-text {
  font-size: 14px;
  color: #474747;
  line-height: 1.65;
}

.policies-contact-text a {
  color: #1b699f;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s;
}

.policies-contact-text a:hover {
  color: #155680;
  text-decoration: underline;
}

.nav-links a.is-active,
.mobile-nav a.is-active {
  color: #1b699f;
}

@media (max-width: 768px) {
  .hero--compact {
    min-height: 260px;
  }

  .hero--compact .hero-content {
    padding: 42px 26px 48px;
  }

  .hero--compact h1 {
    font-size: 39px;
    margin-bottom: 12px;
  }

  .hero--compact .hero-subtitle {
    font-size: 16px;
  }

  .policies-section h2 {
    font-size: 15px;
  }

  .policies-contact {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* ─── CONTACT PAGE ────────────────────────────────── */
.contact-enquiries {
  text-align: center;
  padding-bottom: 40px;
}

.contact-enquiries-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #474747;
  margin-bottom: 16px;
}

.contact-enquiries-email {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #1b699f;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.15s;
}

.contact-enquiries-email:hover {
  color: #155680;
}

.contact-enquiries-note {
  font-size: 14px;
  color: #474747;
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-publications {
  padding-top: 40px;
  border-top: 1px solid #e6e6e6;
}

.contact-publications h2 {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
}

.contact-publications .site-logos-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .contact-enquiries {
    padding-bottom: 28px;
  }

  .contact-enquiries-email {
    font-size: 22px;
    word-break: break-all;
  }

  .contact-publications {
    padding-top: 28px;
  }

  .contact-publications h2 {
    font-size: 15px;
  }

  .contact-publications .site-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── MOBILE NAV & FILTER UI (hidden on desktop) ─── */
.nav-toggle,
.mobile-nav,
.nav-backdrop,
.mobile-filter-bar,
.filter-backdrop,
.filter-panel-header {
  display: none;
}

/* ─── RESPONSIVE GRID ─────────────────────────────── */
@media (max-width: 1400px) {
  .unit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .main-content { padding: 40px 48px 0; }
  .nav-inner { padding: 0 24px; }
  .unit-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 992px) {
  .content-wrapper { flex-direction: column; }
  .sidebar-col { width: 100%; position: static; }
  .unit-grid { width: 100%; }
}

/* ─── MOBILE (Figma Homepage Mobile 226:172) ─────── */
@media (max-width: 768px) {
  body {
    min-width: 0;
    padding-bottom: 96px;
  }

  /* Nav */
  .nav {
    height: auto;
    min-height: 85px;
  }

  .nav-inner {
    padding: 25px 26px;
    max-width: none;
  }

  .nav-logo img {
    height: 35px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    padding: 0;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1),
  #nav-open:checked ~ .nav-inner .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2),
  #nav-open:checked ~ .nav-inner .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3),
  #nav-open:checked ~ .nav-inner .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e6e6e6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    z-index: 199;
  }

  .mobile-nav.is-open,
  #nav-open:checked ~ .mobile-nav {
    max-height: 260px;
  }

  .mobile-nav a {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    padding: 16px 26px;
    border-bottom: 1px solid #f0f0f0;
  }

  .mobile-nav a.btn-contact {
    display: inline-flex;
    align-self: flex-start;
    margin: 12px 26px 16px;
    padding: 6px 25px;
    border: 1.5px solid #111;
    border-radius: 6px;
    border-bottom: 1.5px solid #111;
    color: #111;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 198;
    cursor: pointer;
  }

  #nav-open:checked ~ .nav-backdrop {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: 347px;
  }

  .hero-content {
    padding: 42px 26px 48px;
  }

  .hero-badge {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .hero-badge-dot {
    background: #1e74af;
    box-shadow: 0 0 6px rgba(30, 116, 175, 0.6);
  }

  .hero h1 {
    font-size: 39px;
    margin-bottom: 12px;
    letter-spacing: 0;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 28px;
    max-width: 342px;
    margin-left: auto;
    margin-right: auto;
  }

  .search-bar {
    max-width: none;
    margin: 0;
    padding: 5px 5px 5px 20px;
    min-height: 54px;
  }

  /* Main layout */
  .main-content {
    padding: 0;
    max-width: none;
    background: #f2f2f2;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 0;
    padding: 18px 24px 32px;
  }

  .sidebar-col {
    width: 100%;
    position: static;
    order: 1;
  }

  .sidebar-title--mobile {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-left: 2px;
  }

  .filter-panel-title {
    display: none;
  }

  .filter-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 400;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.15);
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    visibility: hidden;
  }

  .filter-panel.is-open,
  body:has(#filter-open:checked) .filter-panel {
    transform: translateY(0);
    visibility: visible;
  }

  .filter-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .filter-panel-header h3 {
    font-size: 17px;
    font-weight: 800;
  }

  .filter-panel-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111;
  }

  .filter-panel-close svg {
    width: 14px;
    height: 14px;
  }

  .filter-sidebar {
    border: none;
    border-radius: 0;
  }

  .unit-grid {
    order: 2;
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 24px;
    width: 100%;
  }

  /* Cards */
  .specs-card--tile {
    border-color: #e6e6e6;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  }

  .specs-card--interactive:hover {
    transform: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  }

  .card-preview {
    height: 179px;
    background: #f8fafe;
    border-bottom: 1px solid #e6e6e6;
    padding: 16px;
  }

  .card-body {
    padding: 16px 18px 18px;
    gap: 8px;
  }

  .card-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
  }

  .type-high-impact {
    color: #f9a12f;
  }

  .card-name {
    font-size: 17px;
    font-weight: 800;
  }

  .card-size-pill,
  .card-desc {
    display: none;
  }

  .card-divider {
    margin: 8px 0 4px;
  }

  /* Sticky filter bar */
  .mobile-filter-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 350;
    background: #fff;
    border-top: 1px solid #dcdcdc;
    box-shadow: 0 0 29px rgba(0, 0, 0, 0.15);
    padding: 12px 25px 20px;
  }

  .mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 45px;
    border: 1px solid #cbcbcb;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    cursor: pointer;
  }

  .mobile-filter-btn .filter-icon {
    width: 15px;
    height: 16px;
  }

  .filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 390;
    cursor: pointer;
  }

  body:has(#filter-open:checked) .filter-backdrop {
    display: block;
  }

  body:has(#filter-open:checked) {
    overflow: hidden;
  }

  body:has(#filter-open:checked) .mobile-filter-bar {
    z-index: 380;
  }

  /* Footer */
  .footer {
    padding: 16px 20px 20px;
  }
}

/* ─── UNIT PAGE OVERRIDES (mobile) ───────────────── */
@media (max-width: 768px) {
  body.page-unit,
  body.page-contact,
  body.page-policies {
    padding-bottom: 0;
    min-width: 0;
  }
}

/* ─── V2: placeholders + not found ─────────────── */
  background: #f8fafe;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #474747;
  line-height: 1.5;
  margin-bottom: 20px;
}

.unit-not-found {
  max-width: 1300px;
  margin: 80px auto;
  padding: 40px 24px;
  text-align: center;
}

.unit-not-found h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.unit-not-found p {
  color: #474747;
  margin-bottom: 24px;
}
