/* Homepage Sun Living 20ED campaign — fully scoped and content-height driven. */
.sl20-banner {
  --sl20-blue: #009cde;
  --sl20-blue-dark: #006a9a;
  --sl20-ink: #05354e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  background: var(--sl20-blue);
  color: #fff;
  font: 400 18px/1.5 Arial, Helvetica, sans-serif;
  color-scheme: light;
}

.sl20-banner * { box-sizing: border-box; }
.sl20-banner h2,
.sl20-banner p { margin: 0; }
.sl20-banner a { color: inherit; text-decoration: none; }
.sl20-banner :is(a, button):focus-visible { outline: 3px solid #052e47; outline-offset: 4px; }

.sl20-inner { position: relative; max-width: 1328px; margin: 0 auto; padding: 44px 24px 28px; }
.sl20-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 40px;
  align-items: center;
  min-height: 490px;
}
.sl20-copy { position: relative; z-index: 2; max-width: 560px; padding: 8px 0 34px; }
.sl20-logo-frame {
  position: relative;
  width: 136px;
  height: 56px;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: 4px;
  background: #fff;
}
.sl20-official-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.sl20-eyebrow {
  margin-bottom: 14px !important;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.sl20-banner h2 {
  color: var(--sl20-ink);
  font-size: clamp(44px, 4.1vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.sl20-banner h2 > span { font-size: 1.14em; }
.sl20-intro {
  position: relative;
  max-width: 430px;
  margin-top: 22px !important;
  color: #fff;
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}
.sl20-intro strong { display: block; margin-bottom: 4px; font-weight: 700; }
.sl20-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  margin-top: 24px;
}
.sl20-actions a {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  min-height: 48px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.sl20-actions a > span { font-size: 22px; font-weight: 400; }
.sl20-cta { padding: 13px 20px; border-radius: 4px; background: #fff; color: #005d89 !important; }
.sl20-cta:hover { background: #e5f6ff; transform: translateY(-2px); }
.sl20-secondary { border-bottom: 1px solid rgba(255, 255, 255, .5); }
.sl20-secondary:hover { border-color: #fff; }

.sl20-showcase { min-width: 0; min-height: 490px; }
.sl20-edition { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.sl20-backdrop {
  position: absolute;
  top: 0;
  right: calc((1328px - 100vw) / 2);
  width: 82vw;
  max-width: 1350px;
  height: 590px;
  object-fit: cover;
  object-position: center 67%;
}
.sl20-edition::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #009cde 0%, #009cde 28%, rgba(0, 156, 222, .92) 36%, rgba(0, 156, 222, .2) 60%, rgba(0, 156, 222, 0) 76%),
    linear-gradient(0deg, #009cde 0%, #009cde 10%, rgba(0, 156, 222, 0) 43%);
}
.sl20-caption {
  position: absolute;
  top: 455px;
  right: 24px;
  color: #fff;
  font-size: 12px;
  text-align: right;
  text-shadow: 0 1px 5px #003348;
}
.sl20-caption > span:first-child { display: none; }

.sl20-bottom { position: relative; z-index: 2; width: 100%; margin-top: 22px; }
.sl20-picker-title {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sl20-picker-title > span:first-child { font-size: 22px; font-weight: 700; letter-spacing: -.025em; }
.sl20-picker-title > span:last-child { font-size: 12px; }
.sl20-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sl20-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 146px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 74, 105, .12);
  color: var(--sl20-ink) !important;
  text-align: left;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.sl20-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--sl20-blue-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.sl20-card:hover,
.sl20-card.is-hovered,
.sl20-card:focus-visible {
  border-color: rgba(0, 106, 154, .55);
  background: #f6fcff;
  box-shadow: 0 18px 38px rgba(0, 63, 97, .24);
  transform: translateY(-6px);
}
.sl20-card:hover::before,
.sl20-card.is-hovered::before,
.sl20-card:focus-visible::before { transform: scaleX(1); }
.sl20-type {
  display: block;
  min-height: 31px;
  padding-right: 24px;
  color: #527080;
  font-size: 12px;
  line-height: 1.3;
}
.sl20-model { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.sl20-location { display: block; margin-top: 4px; color: #527080; font-size: 11px; }
.sl20-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
}
.sl20-capacity { color: #527080; font-size: 11px; font-weight: 400; }
.sl20-card-arrow {
  position: absolute;
  top: 13px;
  right: 14px;
  color: #007ab0;
  font-size: 20px;
  transition: transform .22s ease;
}
.sl20-card:hover .sl20-card-arrow,
.sl20-card.is-hovered .sl20-card-arrow,
.sl20-card:focus-visible .sl20-card-arrow { transform: translate(3px, -3px); }
.sl20-fineprint {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
  color: #fff;
  font-size: 11px;
}
.sl20-fineprint > span:last-child { max-width: 510px; text-align: right; }
.sl20-noscript { font-size: 13px; }
.sl20-noscript a { text-decoration: underline; }

@media (max-width: 1328px) {
  .sl20-backdrop { right: -24px; }
  .sl20-caption { right: 24px; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .sl20-inner { padding: 36px 28px 26px; }
  .sl20-top { grid-template-columns: 1.1fr 1fr; gap: 20px; min-height: 500px; }
  .sl20-copy { padding-bottom: 24px; }
  .sl20-banner h2 { font-size: 46px; }
  .sl20-intro { max-width: 350px; font-size: 16px; }
  .sl20-actions { gap: 10px 16px; }
  .sl20-actions a { gap: 12px; font-size: 14px; }
  .sl20-card { min-height: 142px; padding: 15px; }
  .sl20-model { font-size: 19px; }
  .sl20-type { min-height: 31px; font-size: 11px; }
  .sl20-card-foot { font-size: 13px; }
  .sl20-picker-title > span:last-child { max-width: 260px; text-align: right; }
}

@media (max-width: 900px) {
  .sl20-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .sl20-inner { padding: 28px 18px 24px; }
  .sl20-top { display: block; min-height: 650px; }
  .sl20-copy { max-width: 490px; padding: 0; }
  .sl20-logo-frame { width: 116px; height: 46px; margin-bottom: 20px; }
  .sl20-official-logo { width: 128px; }
  .sl20-eyebrow { margin-bottom: 12px !important; font-size: 11px; }
  .sl20-banner h2 { font-size: 42px; line-height: 1.04; }
  .sl20-banner h2 > span { font-size: 1.08em; }
  .sl20-intro { max-width: 340px; margin-top: 18px !important; font-size: 16px; line-height: 1.5; }
  .sl20-actions { gap: 12px 18px; margin-top: 20px; }
  .sl20-actions a { gap: 14px; font-size: 14px; }
  .sl20-showcase { min-height: 0; }
  .sl20-backdrop {
    top: 380px;
    right: -18px;
    width: calc(100% + 36px);
    max-width: none;
    height: 310px;
    object-position: center;
  }
  .sl20-edition::after {
    background: linear-gradient(180deg, #009cde 0%, #009cde 31%, rgba(0, 156, 222, 0) 44%, rgba(0, 156, 222, 0) 55%, #009cde 92%);
  }
  .sl20-caption { display: none; }
  .sl20-bottom { margin-top: 16px; }
  .sl20-picker-title { display: block; margin-bottom: 14px; }
  .sl20-picker-title > span { display: block; }
  .sl20-picker-title > span:first-child { font-size: 22px; }
  .sl20-picker-title > span:last-child { margin-top: 5px; font-size: 12px; }
  .sl20-card { min-height: 136px; padding: 15px; }
  .sl20-model { font-size: 20px; }
  .sl20-type { min-height: 28px; font-size: 11px; }
  .sl20-card-foot { padding-top: 9px; }
  .sl20-fineprint { flex-direction: column; gap: 6px; margin-top: 16px; font-size: 11px; }
  .sl20-fineprint > span:last-child { text-align: left; }
}

@media (max-width: 480px) {
  .sl20-top { min-height: 655px; }
  .sl20-cards { grid-template-columns: 1fr; gap: 10px; }
  .sl20-card { min-height: 122px; padding: 14px 16px; }
  .sl20-type { min-height: 0; font-size: 11px; }
  .sl20-model { margin-top: 3px; font-size: 20px; }
  .sl20-location { margin-top: 2px; }
  .sl20-card-foot { padding-top: 7px; }
  .sl20-banner h2 { font-size: 40px; }
  .sl20-actions { gap: 10px 18px; }
  .sl20-actions a { font-size: 13px; }
  .sl20-cta { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sl20-banner *,
  .sl20-banner *::before,
  .sl20-banner *::after { animation: none !important; transition: none !important; }
  .sl20-card:hover,
  .sl20-card.is-hovered,
  .sl20-card:focus-visible,
  .sl20-cta:hover { transform: none; }
}
