.source-page-hero {
  margin-top: 80px;
  background: #102849;
}

.source-page-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.source-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-carousel { position: relative; margin-top: var(--header-height); background: #102849; }
.carousel-slides { display: grid; }
.carousel-slide { grid-area: 1 / 1; min-width: 0; margin: 0; }
.carousel-slide[inert] { visibility: hidden; }
.carousel-slide:focus-visible { outline: 3px solid #1760a5; outline-offset: -4px; }
.banner-art { display: grid; place-items: center; }
.banner-wide { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-hero .carousel-slides {
  height: min(26.04167vw, 74svh);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}
.home-hero .carousel-slide { min-height: 0; }
.home-hero .banner-art { grid-template-rows: minmax(0, 1fr); }
.home-hero .banner-wide { min-height: 0; }
.banner-palm { background: #e7ebef; }
.banner-3568 { background: #14253a; }
.banner-compact { display: none; }
.banner-rv1126, .banner-brand { display: grid; align-items: center; }
.banner-rv1126 { background: #eef1f5 url('../images/hero/home-rv1126-bg.webp') center/cover; color: #1c2633; }
.banner-brand { background: #040f29 url('../images/hero/home-brand.webp') center 65%/cover; color: #fff; }
.banner-board, .banner-brand-copy { width: min(1120px, calc(100% - 64px)); margin: 0 auto 36px; }
.banner-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: center; }
.banner-board img { display: block; width: 100%; height: auto; max-height: min(270px, 19vw); object-fit: contain; }
.banner-board h2, .banner-brand h2 { font-size: 36px; line-height: 1.2; margin-bottom: 8px; overflow-wrap: anywhere; }
.banner-specs { margin-top: 8px; font-size: 14px; }
.banner-brand-copy { text-shadow: 0 2px 8px #040f29; }
.solution-hero .banner-wide { height: auto; max-height: 74svh; }
.solution-hero figcaption { display: none; }
.carousel-controls {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  border-radius: 8px;
  background: rgba(12, 25, 41, .83);
}
.carousel-controls[hidden] { display: none; }
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  border: 0;
  background: none;
  border-radius: 4px;
  color: #fff;
  font: 600 16px/1 system-ui, sans-serif;
  cursor: pointer;
}
.carousel-controls button[data-carousel-prev], .carousel-controls button[data-carousel-next] { font-size: 27px; }
.carousel-controls button[data-carousel-dot] { width: 28px; }
.carousel-controls [data-carousel-dot]::before { content: ''; width: 8px; height: 8px; border-radius: 10px; background: #adb9c7; }
.carousel-controls [data-carousel-dot][aria-current]::before { width: 17px; background: #fff; }
.carousel-controls button:hover { background: rgba(255, 255, 255, .15); }
.carousel-controls button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }

.solution-image, .sol-page-item .sol-page-image {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.solution-image > .source-solution-image,
.sol-page-item .sol-page-image .source-solution-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  padding: 12px;
  object-fit: contain;
  transition: none;
}
.solution-image:hover > .source-solution-image { transform: none; }
.source-solution-image.is-scene { padding: 0; }

@media (max-width: 767px) {
  .home-hero .banner-wide { display: none; }
  .home-hero .carousel-slides { height: 250px; }
  .banner-compact, .banner-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    align-items: center;
    gap: 14px;
    width: min(520px, calc(100% - 32px));
    margin-bottom: 42px;
    color: #1c2633;
  }
  .banner-3568 .banner-compact { color: #fff; }
  .banner-compact img { width: 100%; height: auto; max-height: 158px; object-fit: contain; }
  .banner-board img { max-height: 128px; }
  .banner-compact h2, .banner-board h2 { font-size: 20px; line-height: 1.3; margin-bottom: 6px; overflow-wrap: anywhere; }
  .banner-compact p, .banner-board p { font-size: 14px; line-height: 1.6; }
  .banner-brand-copy { width: calc(100% - 40px); }
  .banner-brand h2 { font-size: 26px; }
  .solution-hero figcaption {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px 50px;
    color: #fff;
    text-align: center;
    font-size: 14px;
  }
}

.source-figure {
  max-width: 900px;
  margin: 24px auto;
}

.source-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
  margin-inline: auto;
}

.source-figure figcaption {
  margin-top: 8px;
  text-align: center;
  color: var(--text-secondary, #555);
  font-size: 14px;
}

.market-figure {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
}

.source-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
  margin: 24px 0 32px;
}

.source-gallery .source-figure { margin: 0; }

.source-gallery a {
  display: grid;
  height: 100%;
  padding: 10px;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.source-gallery a:focus-visible,
#news .news-card:focus-visible { outline: 2px solid var(--primary, #bd2f25); outline-offset: 3px; }

#news .news-card { display: block; }
.partners-logos .partner-logo { min-width: 0; }
.partners-logos .partner-logo img { max-width: 100%; max-height: 48px; object-fit: contain; }

.category-tabs { flex-wrap: wrap; max-width: 100%; }
.category-tabs .cat-tab {
  display: block;
  padding: 12px 24px;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  scroll-margin-top: calc(var(--header-height) * 2 + 12px);
}
.category-tabs .cat-tab.active { color: var(--primary); border-bottom-color: currentColor; }
#productsGrid .product-card[hidden] { display: none; }

.product-info-top > .product-summary { min-width: 0; }
.product-summary .btn-more { white-space: normal; }
.product-detail-main .detail-table { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .product-detail-main .product-info-top { flex-direction: column; gap: 24px !important; }
  .product-info-top > .product-gallery { flex: auto !important; width: 100%; }
  .product-summary > div:has(> .btn-more) { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .partners-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-logos .partner-logo { padding: 10px; }
}
