/* ================================
   RIGS PAGE BASE
   ================================ */

.ilsr-main {
  margin-top: var(--ils-header-height);
}

.ilsr-section {
  position: relative;
}

/* ================================
   SECTION 1 – RIG STUDIO HERO
   ================================ */

.ilsr-hero {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 35%, #020617 100%);
  padding-top: 3.6rem;
  padding-bottom: 3.6rem;
}

.ilsr-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.ilsr-hero-copy {
  max-width: 30rem;
}

.ilsr-hero-title {
  margin: 0 0 0.8rem;
  font-size: 1.9rem;
  line-height: 1.2;
}

.ilsr-hero-text {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  color: var(--ils-text-muted);
}

.ilsr-hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.ilsr-hero-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem;
  align-items: flex-start;
}

.ilsr-hero-dot {
  width: 9px;
  height: 9px;
  margin-top: 0.3rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--ils-amber), var(--ils-ice-cyan));
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.9);
}

.ilsr-hero-item-text {
  margin: 0;
  font-size: 0.87rem;
  color: #e5f0ff;
}

/* mosaic */

.ilsr-hero-mosaic {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.ilsr-hero-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.24s ease, border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.ilsr-hero-figure--primary {
  transform-origin: center;
}

.ilsr-hero-figure--side {
  margin-left: 1.6rem;
}

.ilsr-hero-figure--detail {
  margin-left: 0.8rem;
}

.ilsr-hero-figure:hover {
  transform: translateY(-6px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 1);
}

.ilsr-hero-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 2 – RIG LAYOUT LANES
   ================================ */

.ilsr-layouts {
  background:
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-layouts-inner {
  display: grid;
  gap: 2.1rem;
}

.ilsr-layouts-header {
  max-width: 38rem;
}

.ilsr-layouts-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-layouts-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-layouts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.ilsr-layout-card {
  padding: 1rem 1rem 0.9rem;
  border-radius: 24px;
  background: radial-gradient(
      circle at top,
      rgba(103, 232, 249, 0.14),
      transparent 70%
    ),
    rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.98);
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 0.65rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.ilsr-layout-card:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 1);
}

.ilsr-layout-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.ilsr-layout-tag {
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #020617;
  background: linear-gradient(130deg, var(--ils-ice-cyan), var(--ils-violet));
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

.ilsr-layout-tag--solo {
  background: linear-gradient(130deg, var(--ils-amber), var(--ils-ice-cyan));
}

.ilsr-layout-tag--tripod {
  background: linear-gradient(130deg, var(--ils-violet), var(--ils-amber));
}

.ilsr-layout-name {
  margin: 0;
  font-size: 1.02rem;
}

.ilsr-layout-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ils-text-muted);
}

.ilsr-layout-list {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 0.86rem;
  color: #e5f0ff;
}

.ilsr-layout-list li {
  margin-bottom: 0.2rem;
}

.ilsr-layout-figure {
  margin: 0;
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

/* ================================
   SECTION 3 – LIGHTING CONE LAB
   ================================ */

.ilsr-lighting {
  background:
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-lighting-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.ilsr-lighting-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-lighting-text {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-lighting-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-lighting-list li {
  margin-bottom: 0.25rem;
}

/* cards */

.ilsr-lighting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ilsr-lighting-card {
  margin: 0;
  padding: 0.45rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.ilsr-lighting-card:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 1);
}

.ilsr-lighting-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   RESPONSIVE – RIGS 1–3
   ================================ */

@media (max-width: 1024px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .ilsr-layouts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-lighting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-hero-mosaic {
    max-width: 360px;
  }

  .ilsr-layouts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-lighting-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .ilsr-hero {
    padding-top: 3.1rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-layouts {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-lighting {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-hero-mosaic {
    max-width: 320px;
  }
}
/* ================================
   SECTION 4 – CABLE ROUTING MAP
   ================================ */

.ilsr-cables {
  background:
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-cables-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.4rem;
  align-items: center;
}

.ilsr-cables-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-cables-text {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-cables-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-cables-list li {
  margin-bottom: 0.25rem;
}

/* board figures as staggered stack */

.ilsr-cables-board {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
}

.ilsr-cables-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-cables-figure--top {
  position: relative;
  z-index: 2;
}

.ilsr-cables-figure--bottom {
  position: relative;
  margin-top: -1.4rem;
  margin-left: 1.8rem;
  z-index: 1;
}

.ilsr-cables-figure:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 1);
}

.ilsr-cables-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 5 – POWER BLOCKS
   ================================ */

.ilsr-power {
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-power-inner {
  display: grid;
  gap: 2.1rem;
}

.ilsr-power-header {
  max-width: 40rem;
}

.ilsr-power-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-power-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-power-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.ilsr-power-card {
  padding: 0.9rem 0.9rem 0.85rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.98);
  display: grid;
  gap: 0.6rem;
}

.ilsr-power-card--image {
  padding: 0.45rem;
}

.ilsr-power-name {
  margin: 0;
  font-size: 0.98rem;
}

.ilsr-power-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ils-text-muted);
}

.ilsr-power-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: #e5f0ff;
}

.ilsr-power-list li {
  margin-bottom: 0.2rem;
}

.ilsr-power-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}

.ilsr-power-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 6 – MOUNTS & CLAMPS
   ================================ */

.ilsr-mounts {
  background:
    radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-mounts-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.ilsr-mounts-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-mounts-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

/* small gallery strip */

.ilsr-mounts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ilsr-mount-card {
  margin: 0;
  padding: 0.45rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-mount-card:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 1);
}

.ilsr-mount-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}
/* ================================
   SECTION 7 – GRIPS & HANDLES
   ================================ */

.ilsr-handles {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-handles-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.ilsr-handles-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-handles-text {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-handles-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-handles-list li {
  margin-bottom: 0.25rem;
}

/* vertical strip of handle photos */

.ilsr-handles-strip {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 360px;
  margin-inline: auto;
}

.ilsr-handles-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-handles-figure:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 1);
}

.ilsr-handles-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 8 – SCREEN POSITIONS
   ================================ */

.ilsr-screens {
  background:
    radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-screens-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-screens-header {
  max-width: 40rem;
}

.ilsr-screens-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-screens-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

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

.ilsr-screens-card {
  padding: 0.9rem 0.9rem 0.85rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  display: grid;
  gap: 0.55rem;
}

.ilsr-screens-figure {
  margin: 0;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.ilsr-screens-name {
  margin: 0;
  font-size: 0.98rem;
}

.ilsr-screens-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 9 – FIELD TEST STRIP
   ================================ */

.ilsr-tests {
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-tests-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-tests-header {
  max-width: 40rem;
}

.ilsr-tests-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-tests-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

/* horizontal scroll strip */

.ilsr-tests-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x mandatory;
}

.ilsr-tests-strip::-webkit-scrollbar {
  height: 4px;
}

.ilsr-tests-strip::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.9);
}

.ilsr-tests-strip::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.7);
  border-radius: 999px;
}

.ilsr-test-card {
  min-width: 230px;
  max-width: 260px;
  flex: 0 0 auto;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.98);
  scroll-snap-align: start;
  overflow: hidden;
  display: grid;
  gap: 0.55rem;
}

.ilsr-test-figure {
  margin: 0;
  padding: 0.35rem;
}

.ilsr-test-name {
  margin: 0 0 0.1rem;
  padding-inline: 0.75rem;
  font-size: 0.96rem;
}

.ilsr-test-desc {
  margin: 0 0 0.6rem;
  padding-inline: 0.75rem 0.85rem;
  font-size: 0.86rem;
  color: var(--ils-text-muted);
}
/* ================================
   SECTION 10 – RIG PRESET RECIPES
   ================================ */

.ilsr-recipes {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-recipes-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-recipes-header {
  max-width: 40rem;
}

.ilsr-recipes-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-recipes-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-recipes-list {
  display: grid;
  gap: 1rem;
}

.ilsr-recipe {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 1.4rem;
  padding: 0.9rem 0.9rem 0.9rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
}

.ilsr-recipe-copy {
  display: grid;
  gap: 0.45rem;
}

.ilsr-recipe-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #020617;
  background: linear-gradient(130deg, var(--ils-ice-cyan), var(--ils-amber));
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.7);
}

.ilsr-recipe-name {
  margin: 0;
  font-size: 1.02rem;
}

.ilsr-recipe-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ils-text-muted);
}

.ilsr-recipe-bullets {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: #e5f0ff;
}

.ilsr-recipe-bullets li {
  margin-bottom: 0.2rem;
}

.ilsr-recipe-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.ilsr-recipe-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 11 – SHELTER FOOTPRINTS
   ================================ */

.ilsr-footprints {
  background:
    radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-footprints-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.ilsr-footprints-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-footprints-text {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-footprints-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-footprints-list li {
  margin-bottom: 0.25rem;
}

/* footprints gallery */

.ilsr-footprints-gallery {
  display: grid;
  gap: 0.9rem;
  max-width: 360px;
  margin-inline: auto;
}

.ilsr-footprints-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-footprints-figure:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 1);
}

.ilsr-footprints-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 12 – SWITCH MODES
   ================================ */

.ilsr-switch {
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-switch-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-switch-header {
  max-width: 40rem;
}

.ilsr-switch-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-switch-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

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

.ilsr-switch-card {
  padding: 0.9rem 0.9rem 0.85rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  display: grid;
  gap: 0.55rem;
}

.ilsr-switch-name {
  margin: 0;
  font-size: 0.98rem;
}

.ilsr-switch-figure {
  margin: 0;
  padding: 0.35rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.ilsr-switch-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ils-text-muted);
}

.ilsr-switch-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: #e5f0ff;
}

.ilsr-switch-list li {
  margin-bottom: 0.2rem;
}
/* ================================
   SECTION 13 – FINE-TUNE STRIP
   ================================ */

.ilsr-tweak {
  background:
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-tweak-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-tweak-header {
  max-width: 36rem;
}

.ilsr-tweak-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-tweak-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-tweak-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ilsr-tweak-card {
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  padding: 0.8rem 0.9rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.ilsr-tweak-thumb {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.5);
}

.ilsr-tweak-thumb .ils-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ilsr-tweak-body {
  display: grid;
  gap: 0.25rem;
}

.ilsr-tweak-name {
  margin: 0;
  font-size: 0.98rem;
}

.ilsr-tweak-desc {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 14 – COLD CARE ROUTINE
   ================================ */

.ilsr-care {
  background:
    radial-gradient(circle at top left, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-care-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.ilsr-care-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-care-text {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-care-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-care-list li {
  margin-bottom: 0.25rem;
}

/* gallery */

.ilsr-care-gallery {
  display: grid;
  gap: 0.9rem;
  max-width: 360px;
  margin-inline: auto;
}

.ilsr-care-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-care-figure:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 1);
}

.ilsr-care-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 15 – FROM RIG TO STORY
   ================================ */

.ilsr-bridge {
  background:
    radial-gradient(circle at bottom, rgba(251, 191, 36, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.8rem;
}

.ilsr-bridge-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.ilsr-bridge-title {
  margin: 0 0 0.7rem;
  font-size: 1.8rem;
}

.ilsr-bridge-text {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* two simple stacked images */

.ilsr-bridge-gallery {
  display: grid;
  gap: 0.8rem;
  max-width: 340px;
  margin-inline: auto;
}

.ilsr-bridge-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
}
/* ================================
   RESPONSIVE – RIGS 1–15
   ================================ */

@media (max-width: 1024px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .ilsr-layouts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-lighting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-power-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-mounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-recipes-list {
    gap: 0.9rem;
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-switch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-care-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-bridge-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-tweak-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-hero-mosaic {
    max-width: 360px;
  }

  .ilsr-layouts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-lighting-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-cables-board {
    max-width: 320px;
  }

  .ilsr-cables-figure--bottom {
    margin-top: 0.7rem;
    margin-left: 0;
  }

  .ilsr-power-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-mounts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-handles-strip {
    max-width: 320px;
  }

  .ilsr-screens-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipes-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipe {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-footprints-gallery {
    max-width: 320px;
  }

  .ilsr-switch-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-care-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-care-gallery,
  .ilsr-bridge-gallery {
    max-width: 320px;
  }

  .ilsr-bridge-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-tweak-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .ilsr-hero {
    padding-top: 3.1rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-layouts,
  .ilsr-lighting,
  .ilsr-cables,
  .ilsr-power,
  .ilsr-mounts,
  .ilsr-handles,
  .ilsr-screens,
  .ilsr-tests,
  .ilsr-recipes,
  .ilsr-footprints,
  .ilsr-switch,
  .ilsr-tweak,
  .ilsr-care,
  .ilsr-bridge {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-hero-mosaic,
  .ilsr-cables-board,
  .ilsr-handles-strip,
  .ilsr-footprints-gallery,
  .ilsr-care-gallery,
  .ilsr-bridge-gallery {
    max-width: 320px;
  }

  .ilsr-tests-strip {
    padding-inline: 0.2rem;
  }

  .ilsr-test-card {
    min-width: 220px;
    max-width: 250px;
  }
}
/* ================================
   RESPONSIVE – RIGS 1–12
   ================================ */

@media (max-width: 1024px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .ilsr-layouts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-lighting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-power-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-mounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-recipes-list {
    gap: 0.9rem;
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-switch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-hero-mosaic {
    max-width: 360px;
  }

  .ilsr-layouts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-lighting-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-cables-board {
    max-width: 320px;
  }

  .ilsr-cables-figure--bottom {
    margin-top: 0.7rem;
    margin-left: 0;
  }

  .ilsr-power-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-mounts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-handles-strip {
    max-width: 320px;
  }

  .ilsr-screens-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipes-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipe {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-footprints-gallery {
    max-width: 320px;
  }

  .ilsr-switch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .ilsr-hero {
    padding-top: 3.1rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-layouts,
  .ilsr-lighting,
  .ilsr-cables,
  .ilsr-power,
  .ilsr-mounts,
  .ilsr-handles,
  .ilsr-screens,
  .ilsr-tests,
  .ilsr-recipes,
  .ilsr-footprints,
  .ilsr-switch {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-hero-mosaic,
  .ilsr-cables-board,
  .ilsr-handles-strip,
  .ilsr-footprints-gallery {
    max-width: 320px;
  }

  .ilsr-tests-strip {
    padding-inline: 0.2rem;
  }

  .ilsr-test-card {
    min-width: 220px;
    max-width: 250px;
  }
}
/* ================================
   SECTION 16 – RIG SHELF
   ================================ */

.ilsr-shelf {
  background:
    radial-gradient(circle at top center, rgba(56, 189, 248, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-shelf-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.ilsr-shelf-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-shelf-text {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-shelf-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-shelf-list li {
  margin-bottom: 0.25rem;
}

/* before/after pair */

.ilsr-shelf-pair {
  display: grid;
  gap: 0.9rem;
  max-width: 360px;
  margin-inline: auto;
}

.ilsr-shelf-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ilsr-shelf-figure:hover {
  transform: translateY(-5px);
  border-color: var(--ils-ice-cyan);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 1);
}

.ilsr-shelf-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 17 – LABELS & MARKING
   ================================ */

.ilsr-labels {
  background:
    radial-gradient(circle at bottom right, rgba(94, 234, 212, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 30%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.6rem;
}

.ilsr-labels-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.ilsr-labels-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-labels-text {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

.ilsr-labels-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.ilsr-label-chip {
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #020617;
  background: linear-gradient(130deg, var(--ils-ice-cyan), var(--ils-violet));
  box-shadow: 0 0 16px rgba(103, 232, 249, 0.7);
}

.ilsr-labels-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: #e5f0ff;
}

.ilsr-labels-list li {
  margin-bottom: 0.25rem;
}

/* gallery */

.ilsr-labels-gallery {
  display: grid;
  gap: 0.9rem;
  max-width: 360px;
  margin-inline: auto;
}

.ilsr-labels-figure {
  margin: 0;
  padding: 0.45rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
}

.ilsr-labels-caption {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--ils-text-muted);
}

/* ================================
   SECTION 18 – PACKING ROW
   ================================ */

.ilsr-pack {
  background:
    radial-gradient(circle at top, rgba(251, 191, 36, 0.22), transparent 60%),
    linear-gradient(to bottom, #020617, #020918 35%, #020617 100%);
  padding-top: 3.4rem;
  padding-bottom: 3.8rem;
}

.ilsr-pack-inner {
  display: grid;
  gap: 2rem;
}

.ilsr-pack-header {
  max-width: 40rem;
}

.ilsr-pack-title {
  margin: 0 0 0.7rem;
  font-size: 1.7rem;
}

.ilsr-pack-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ils-text-muted);
}

/* strip of two packing cards */

.ilsr-pack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ilsr-pack-card {
  flex: 1 1 260px;
  max-width: 320px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.98);
  padding: 0.8rem 0.9rem 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.ilsr-pack-figure {
  margin: 0;
  padding: 0.35rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.ilsr-pack-name {
  margin: 0;
  font-size: 0.98rem;
}

.ilsr-pack-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ils-text-muted);
}
/* ================================
   RESPONSIVE – RIGS 1–18
   ================================ */

@media (max-width: 1024px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .ilsr-layouts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-lighting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-power-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .ilsr-mounts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-screens-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-recipes-list {
    gap: 0.9rem;
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-switch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-care-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-bridge-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-tweak-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ilsr-shelf-inner,
  .ilsr-labels-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .ilsr-pack-card {
    flex: 1 1 260px;
  }
}

@media (max-width: 768px) {
  .ilsr-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-hero-mosaic {
    max-width: 360px;
  }

  .ilsr-layouts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-lighting-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-lighting-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-cables-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-cables-board {
    max-width: 320px;
  }

  .ilsr-cables-figure--bottom {
    margin-top: 0.7rem;
    margin-left: 0;
  }

  .ilsr-power-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-mounts-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-mounts-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-handles-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-handles-strip {
    max-width: 320px;
  }

  .ilsr-screens-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipes-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-recipe {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-footprints-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-footprints-gallery {
    max-width: 320px;
  }

  .ilsr-switch-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-care-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-care-gallery,
  .ilsr-bridge-gallery {
    max-width: 320px;
  }

  .ilsr-bridge-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-tweak-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .ilsr-shelf-inner,
  .ilsr-labels-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .ilsr-shelf-pair,
  .ilsr-labels-gallery {
    max-width: 320px;
  }

  .ilsr-pack-strip {
    justify-content: flex-start;
  }

  .ilsr-pack-card {
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .ilsr-hero {
    padding-top: 3.1rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-layouts,
  .ilsr-lighting,
  .ilsr-cables,
  .ilsr-power,
  .ilsr-mounts,
  .ilsr-handles,
  .ilsr-screens,
  .ilsr-tests,
  .ilsr-recipes,
  .ilsr-footprints,
  .ilsr-switch,
  .ilsr-tweak,
  .ilsr-care,
  .ilsr-bridge,
  .ilsr-shelf,
  .ilsr-labels,
  .ilsr-pack {
    padding-top: 3rem;
    padding-bottom: 3.2rem;
  }

  .ilsr-hero-mosaic,
  .ilsr-cables-board,
  .ilsr-handles-strip,
  .ilsr-footprints-gallery,
  .ilsr-care-gallery,
  .ilsr-bridge-gallery,
  .ilsr-shelf-pair,
  .ilsr-labels-gallery {
    max-width: 320px;
  }

  .ilsr-tests-strip {
    padding-inline: 0.2rem;
  }

  .ilsr-test-card {
    min-width: 220px;
    max-width: 250px;
  }
}
