:root {

  --v2-bg: #2d2d2d;
  --v2-bg2: #12121a;
  --v2-bg3: #1a1a26;
  --v2-accent: #8ab4f8;
  --v2-accent2: #aac8fb;
  --v2-accent3: #5c91e0;
  --v2-gold: #e07820;
  --v2-green: #3ab870;
  --v2-black: #1a1a1a;
  --v2-brand: #c56600;
  --v2-button-hover: #1db954;
  --v2-text: #e2e8f0;
  --v2-text-muted: #94a3b8;
  --v2-border: #2d2d44;
  --v2-radius: 12px;
}

.linktag, .linktag:visited {
  color: var(--v2-accent3);
  text-decoration: underline;
  margin-right:4px;
}


.hero-top-media {
  position: relative;
  width: 100%;
  line-height: 0;
  background: var(--v2-bg3);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Text-only variant — no video/image */
.hero-top-media.no-video {
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
  line-height: 1.2;
}

.hero-top-media.no-video .hero-top-media-title,
.hero-top-media.no-video .hero-top-media-byline {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  text-align: center;
}

.hero-top-media-video {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
}

.hero-top-media-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 72px;           /* raised slightly to keep clean gap above byline */
  margin: 0;
  width: max-content;     /* shrink-wrap short titles… */
  max-width: min(90%, 1100px); /* …but break long ones before they hit the edge */
  white-space: normal;
  text-align: center;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-top-media-byline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  margin: 0;
  width: max-content;
  max-width: min(90%, 900px);
  white-space: normal;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 1;
  background: var(--v2-bg3);
}

.hero-top-media-byline .highlight {
  color: var(--v2-brand);
}

/* V2 shared sections and components (only styles not covered by main.css). */
.hero {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 2rem 2rem;

  overflow: hidden;
  background: var(--v2-bg3);
}

.hero::before {
  content: none;
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h2 {
  color: #fff;
}

.hero .highlight {
  color: var(--color-blue-link);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--v2-text);
  max-width: 780px;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-align: center;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin-right:18px;
  background: var(--v2-brand);
  color:var(--v2-text) !important;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-standard);
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1 !important;
  animation: none !important;

}

.product-btn:hover {
  background: var(--v2-button-hover);
  color:var(--v2-text) !important;
}

.blue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  margin-right:18px;
  background: var(--v2-accent3);
  color:var(--v2-text) !important;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-standard);
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1 !important;
  animation: none !important;

}

.blue-btn:hover {
  background: var(--v2-button-hover);
  color:var(--v2-text) !important;
}





.section {
  padding: 3rem 2rem;
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
}

.section-alt {
  background: var(--v2-bg2);
}

.section-inner {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v2-accent2);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.section-byline {
  color: var(--v2-text);
  font-size: clamp(1.11rem, 1.85vw, 1.61rem);
  font-weight: 200;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--v2-text-muted);

  margin-bottom: 3rem;
  line-height: 1.8;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Flex variant — cards stretch to fill all available width in each row */
.cards-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  width: 100%;
}

.cards-flex > .card {
  flex: 1 1 260px;   /* grow + shrink freely; 260px is the comfortable min width */
}

.card {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--v2-accent);
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card p {
  font-size: 0.9rem;
  color: var(--v2-text-muted);
  line-height: 1.7;
}

.product-block {
  display: grid;
  grid-template-columns: 1fr 1.618fr;
  align-items: stretch;
  width: 100%;          /* override main.css width: 96% */
  margin-left: 0;       /* override main.css margin: 8px 8px */
  margin-right: 0;
  margin-bottom: 4rem;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  overflow: hidden;
  box-sizing: border-box;
}

.product-block.reverse {
  direction: rtl;
}

.product-block.reverse > * {
  direction: ltr;
}

.product-info {
  padding: 2rem 2.5rem;
}

/* Product 1: product-info is the RIGHT column — trim the outer right side */
.product-block:not(.reverse) .product-info {
  padding-right: 0.75rem;
}

/* Product 2 (reversed): product-info is the LEFT column — trim the outer left side */
.product-block.reverse .product-info {
  padding-left: 0.75rem;
}

.product-info h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.product-info p {
  color: var(--v2-text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Feature cards inside product-links */
.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card {
  background: var(--v2-bg2);
  border: 1px solid var(--v2-border);
  border-left: 3px solid var(--v2-accent3);
  border-radius: var(--v2-radius);
  padding: 1.25rem 1.5rem 1rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

/* Alternating backgrounds — mirrors the section / section-alt odd/even rhythm */
.feature-cards .feature-card:nth-child(odd) {
  background: #0f1928;                  /* dark navy — echoes blue left-border */
  border-left-color: var(--v2-accent3); /* #5c91e0 blue */
}

.feature-cards .feature-card:nth-child(even) {
  background: #0a1a0e;                  /* deep dark green */
  border-left-color: var(--v2-green);   /* #3ab870 matching green accent */
}

.feature-card:hover {
  border-color: var(--v2-accent);
  border-left-color: var(--v2-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(90, 145, 224, 0.12);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--v2-text-muted);
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

.feature-card .linktag-row {
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
  color: var(--v2-text-muted);
}

/* Tag cloud layout */
.linktag-row.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  line-height: 1.6;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 1rem 1.25rem;
  box-sizing: border-box;
}

/* Tag cloud size variants */
.linktag-row.tagcloud .linktag {
  display: inline-block;
  text-decoration: none;
  margin-right: 0;
  transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.linktag-row.tagcloud .linktag:hover {
  transform: scale(1.08);
  color: var(--v2-accent);
  opacity: 1 !important;
}

/* Tag bounce animation (triggered by JS on idle clouds) */
@keyframes tagBounce {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.22); }
  65%  { transform: scale(0.94); }
  82%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.tag-bouncing {
  animation: tagBounce 0.75s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Invisible full-width spacer injected by JS to force row breaks */
.tagcloud-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
  overflow: hidden;
}

.linktag-row.tagcloud .linktag.size-xl {
  font-size: 1.65rem;
  font-weight: 800;
  opacity: 1;
}

.linktag-row.tagcloud .linktag.size-l {
  font-size: 1.35rem;
  font-weight: 700;
  opacity: 0.95;
}

.linktag-row.tagcloud .linktag.size-m {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.88;
}

.linktag-row.tagcloud .linktag.size-s {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

.linktag-row.tagcloud .linktag.size-xs {
  font-size: 0.82rem;
  font-weight: 400;
  opacity: 0.7;
}

.feature-card .blue-btn {
  margin-right: 0;
  padding: 8px 18px;
  font-size: 0.85rem;
}

.rotation-wrap {
  position: relative;
  width: 100%;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  overflow: hidden;
  min-height: 280px;
}

/* Slide container — overflow is enforced in CSS so it works before JS sets the
   inline style (e.g. on bfcache restoration before rAF fires). */
.rotation-slide-area {
  position: relative;
  overflow: hidden;
}

.rotation-slide {
  display: none;
  grid-template-columns: 1fr 1.618fr; /* col 1 (smaller) = image | col 2 (bigger) = text */
  align-items: start;   /* each column is only as tall as its own content */
  min-height: 320px;
}

.rotation-slide.active {
  display: grid;
}

.rotation-slide-content {
  padding: 2.5rem;
  align-self: center;   /* keep text vertically centred within the row */
}

.rotation-slide-img-wrapper {
  order: -1;            /* image always in the first (smaller) column */
  position: relative;
  line-height: 0;
}

.rotation-slide-img {
  display: block;
  width: 100%;          /* fill the smaller column */
  height: auto;         /* proportional — full image, no cropping */
  max-width: 100%;
}

/* Whole card is an <a> — reset link appearance, add hover affordance */
a.rotation-slide {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.rotation-slide:hover .rotation-slide-read-more,
a.rotation-slide:focus .rotation-slide-read-more {
  background: var(--v2-accent);
  color: #fff;
}

.rotation-slide-overlay-mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1rem;
  background: linear-gradient(to top, rgba(26, 26, 38, 0.9) 0%, rgba(26, 26, 38, 0.4) 70%, transparent 100%);
  z-index: 2;
  line-height: normal;
}

.rotation-slide-overlay-mobile .rotation-slide-group,
.rotation-slide-overlay-mobile .rotation-slide-title {
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.rotation-slide-overlay-mobile .rotation-slide-title {
  font-size: 1.2rem;
}

.rotation-slide-group {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--v2-accent2);
  margin-bottom: 0.6rem;
}

.rotation-slide-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.rotation-slide-text {
  font-size: 0.95rem;
  color: var(--v2-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.rotation-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1rem 1rem 1.25rem;
}

.rotation-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #4b5563;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.rotation-dot.active {
  background: var(--v2-gold);
  transform: scale(1.15);
}

.rotation-footer {
  display: flex;
  justify-content: flex-end;
  padding: 0 1.25rem 1.25rem;
}

/* ── Use-case prev / next navigation (ucNextPrev.njk) ─────────────────── */
.uc-nextprev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.uc-nextprev-card {
  display: block;
  text-decoration: none;
  background: var(--v2-bg2);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 1.5rem 1.75rem;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.uc-nextprev-card:hover {
  border-color: var(--v2-accent);
  transform: translateY(-3px);
}

.uc-nextprev-dir {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--v2-accent2);
  margin-bottom: 0.5rem;
}

.uc-nextprev-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.uc-nextprev-text {
  font-size: 0.875rem;
  color: var(--v2-text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .uc-nextprev-grid {
    grid-template-columns: 1fr;
  }
  .uc-nextprev-prev {
    display: none;   /* mobile shows next only */
  }
}

/* ── Use Case Teaser (ucTeaser.njk) ──────────────────────────────────────── */

/* Outer container visually groups the label, "show all" link, and card block */
.uc-teaser {
  margin-top: 1.5rem;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 0.875rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

/* Header row: label left, "Show all" link right */
.uc-teaser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.uc-teaser-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v2-accent2);
}

.uc-teaser-all-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--v2-accent);
  text-decoration: none;
  white-space: nowrap;
}

.uc-teaser-all-link:hover {
  text-decoration: underline;
  color: var(--v2-accent2);
}

/* Slider viewport — JS positions cards inside */
.uct-viewport {
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

/* Card is an <a> tag — full-width clickable, hover changes border + shadow */
.uct-card {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 1.25rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  /* Hover transitions restored by JS after each slide settles */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uct-card:hover {
  border-color: var(--v2-accent);
  box-shadow: 0 4px 20px rgba(90, 145, 224, 0.18);
}

.uc-teaser-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.uc-teaser-text {
  font-size: 0.85rem;
  color: var(--v2-text-muted);
  line-height: 1.6;
  margin: 0;
}


/* ── Desktop: image (left, smaller col) shows at full width, natural height ── */
@media (min-width: 993px) {
  .rotation-slide-img-wrapper {
    display: flex;
    align-items: center;
  }

  /* Full image visible — width fills the column, height follows aspect ratio */
  .rotation-slide-img {
    width: 100%;
    height: auto;
    object-fit: initial;
  }

  /* ── Homepage solutions rotation: taller layout (70 vh), full-bleed image ── */
  #solutions-rotation .rotation-slide {
    min-height: 70vh;
    align-items: stretch;   /* restore: both columns fill the tall fixed row */
  }

  #solutions-rotation .rotation-slide-img-wrapper {
    overflow: hidden;       /* clip image to its stretched cell */
  }

  #solutions-rotation .rotation-slide-img {
    height: 100%;
    object-fit: contain;    /* full image visible within the tall cell */
  }
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.plan-card {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 2.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  border-color: var(--v2-gold, #e67e00);
}

/* Wrapper anchor — reset link decoration so the card looks normal */
.plan-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.tech-card {
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  padding: 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.card-btn-wrap {
  margin-top: auto;
  padding-top: 1.5rem;
}

.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.content-page h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
}

.content-page p,
.content-page li {
  color: var(--v2-text-muted);
  line-height: 1.8;
}

.cta-strip-solutions {
  background: linear-gradient(135deg, rgba(138, 180, 248, 0.18) 0%, rgba(92, 145, 224, 0.12) 100%);
  border: 1px solid rgba(138, 180, 248, 0.3);
  border-radius: var(--v2-radius);
  padding: 3rem;
  text-align: center !important;

  align-items: center !important;
  margin: 16px;
}



.solutions-block-96-head {

  margin: 16px;
  width: 96%;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 48px;

}

.solutions-block-96-basic {

  margin: 16px;
  width: 96%;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 48px;

}

.solutions-block-96 {
  background: #222;
  border: 2px solid #444;
  margin: 16px;
  width: 96%;
  border-radius: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 48px;

}

.solutions-group {
  margin-bottom: 4rem;
}

.solutions-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v2-accent2);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--v2-border);
}

.solution-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  margin-bottom: 1rem;
}

/* Keep solution preview images fluid within their grid column. */
.solution-row img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Main hero images on solution detail pages scale to container width. */
.solutions-content .content-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.solution-row:hover {
  border-color: var(--v2-accent);
}

@media (max-width: 992px) {
  .rotation-slide.active {
    grid-template-columns: 1fr;
    position: relative;
  }

  .rotation-slide-img {
    min-height: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  /* Overlay group and title over the image on mobile */
  .rotation-slide-content {
    padding: 1.5rem;
  }

  .rotation-slide-header-mobile {
    display: none;
  }
}

@media (max-width: 992px) {
  .rotation-slide {
    display: none;
    flex-direction: column;
  }

  .rotation-slide.active {
    display: flex;
  }

  .rotation-slide-img-wrapper {
    width: 100%;
  }

  .rotation-slide-overlay-mobile {
    display: flex;
  }

  /* Hide the original header in the text content area on mobile */
  .rotation-slide-content .rotation-slide-group,
  .rotation-slide-content .rotation-slide-title {
    display: none;
  }

  .rotation-slide-read-more {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding-left: 0;
    padding-right: 0;
  }

  .section-inner {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }

  .section-label,
  .section-title,
  .section-byline {
    margin-left: 0;
    margin-right: 0;
  }

  .product-info {
    padding-left: 4px;
    padding-right: 4px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Override the higher-specificity desktop rules that re-add large padding */
  .product-block:not(.reverse) .product-info,
  .product-block.reverse .product-info {
    padding-left: 4px;
    padding-right: 4px;
  }

  /* Cap product-icon-area height on mobile and zoom video to fill */
  .product-icon-area {
    max-height: 70vh;
    overflow: hidden;
    min-height: 0;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .product-icon-area a {
    height: 100%;
  }

  .product-icon-area video {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center center;
    margin-bottom: 0;
    display: block;
  }

  /* Remove the outer border/radius on mobile so the block fills edge-to-edge */
  .product-block {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
    border-radius: 0;
    margin-left: -16px;   /* cancel section-inner's own 16px side margins */
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .product-block.reverse {
    direction: ltr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .solution-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hide the second button on mobile when btn-group has 3 buttons */
  .hero-content .btn-group > *:nth-child(2):not(:last-child),
  .cta-strip-solutions .btn-group > *:nth-child(2):not(:last-child) {
    display: none;
  }
}

@media (max-width: 992px) {

  .hero-top-media {
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding-bottom: 1.25rem;
  }

  .hero-top-media-video {
    width: 100%;
    max-height: none;
  }

  .hero-top-media-title {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    font-size: 2rem !important;
    white-space: normal;
    color: var(--v2-text, #fff);
    text-shadow: none;
    padding: 1rem 1rem 0;
    line-height: 1.3;
  }

  .hero-top-media-byline {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    font-size: 1.1rem !important;
    white-space: normal;
    color: var(--v2-text, #fff);
    text-shadow: none;
    padding: 0.4rem 1rem 0;
    line-height: 1.4;
    background: none;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    min-height: auto;
  }

  .rotation-slide.active {
    grid-template-columns: 1fr;
    position: relative;
  }

  .rotation-slide-img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  /* Overlay group and title over the image on mobile */
  .rotation-slide-content {
    padding: 1.5rem;
  }

  .rotation-slide-header-mobile {
    display: none;
  }
}

.product-icon-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  background: none;
  min-height: 240px;
}

.product-icon-area a {
  display: block;
  width: 100%;
  line-height: 0;
}

.product-icon-area img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 0;
  margin-bottom:16px;
}

.product-icon-area video {
  width: 100%;
  display: block;
  margin-bottom:16px;
  object-fit: cover;
  margin-top: 0;
}

.product-icon-area .icon-text-wrapper {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: calc(100% - 32px);
}

.product-icon-area .icon-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin: 0;
}

.product-icon-area .icon-subtitle {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--v2-brand);
  background: var(--v2-black);
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 0.4rem;
  text-shadow: none;
}

/* ── Products Banner component ──────────────────────────────────────────── */
.products-banner {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.products-banner-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.products-banner-block:hover {
  border-color: var(--v2-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}

.products-banner-video-wrap {
  position: relative;
  line-height: 0;
  background: var(--v2-black);
}

.products-banner-video-wrap video,
.products-banner-video-wrap img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

.products-banner-video-wrap .icon-text-wrapper {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: calc(100% - 32px);
  line-height: normal; /* reset line-height:0 inherited from .products-banner-video-wrap */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.products-banner-video-wrap .icon-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  margin: 0;
}

.products-banner-video-wrap .icon-subtitle {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--v2-brand);
  background: var(--v2-black);
  padding: 3px 10px;
  border-radius: 4px;
  text-shadow: none;
}

.products-banner-text {
  padding: 1.5rem 1.75rem 0.75rem;
}

.products-banner-byline {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--v2-accent2);
  margin-bottom: 0.5rem;
}

.products-banner-text h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.products-banner-text p {
  font-size: 0.95rem;
  color: var(--v2-text-muted);
  line-height: 1.6;
  margin: 0;
}

.products-banner-btn {
  padding: 1rem 1.75rem 1.75rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .products-banner {
    flex-direction: column;
  }

  .products-banner-video-wrap video,
  .products-banner-video-wrap img {
    width: 100%;
    height: 70vh;
    object-fit: contain;
  }
}

/* Utility: visible on desktop only, hidden below 992px */
.desktop-only {
  display: inline;
}

@media (max-width: 992px) {
  .desktop-only {
    display: none;
  }
}

/* ── Overview Media Cards ─────────────────────────────────────────────── */
.overview-media-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.overview-media-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--v2-radius);
  overflow: hidden;
  background: var(--v2-bg3);
  border: 1px solid var(--v2-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.overview-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border-color: var(--v2-accent);
}

.overview-media-card-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.overview-media-card-wrap video,
.overview-media-card-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient so the title remains readable over the video */
.overview-media-card-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 38%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* h3 centered at the golden-cut line: 61.8% from top = 38.2% from bottom */
.overview-media-card-title {
  position: absolute;
  top: 61.8%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 1rem;
  text-align: center;
  transform: translateY(-50%);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  z-index: 1;
}

.overview-media-card > p {
  padding: 1.25rem 1.5rem;
  margin: 0;
  color: var(--v2-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.card-text-pad {
  margin:16px;
}

/* Full-width text card sitting below a two-column overview-media-cards row */
.overview-full-card {
  display: block;
  margin-top: 1.5rem;
}

@media (max-width: 767px) {
  .overview-media-cards {
    grid-template-columns: 1fr;
  }
}
/* ── end Overview Media Cards ─────────────────────────────────────────── */

/* Detail page image — respects natural proportions */
.detailImage {
  display: block;
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  margin: 2rem auto;
  border-radius: var(--v2-radius);
}

@media (max-width: 767px) {
  .detailImage {
    width: 100%;
    height: auto;
    max-height: none;
  }
}
