/* assets/css/banner-v33.css */
/* Keep live banner copy independent from the artwork and tied to its content frame. */
:root {
  --konic-banner-copy-width: min(1440px, calc(100vw - 64px));
  --konic-banner-card-inset: 32px;
}
/* Full-width Home banners follow the same outer column as the page content. */
html[data-konic-context="home"] body .subhero .subhero-content {
  box-sizing: border-box;
  width: var(--konic-banner-copy-width) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
/* Banners already inside a rounded content card keep a consistent inner margin. */
html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-editorial-hero .subhero-content {
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: var(--konic-banner-card-inset) !important;
}
html[data-konic-context="office"] .x-route-active .is-office-catalog .x-office-catalog-hero .x-hero-copy,
html[data-konic-context="office"] .x-route-active :is(.x-company-hero, .x-support-hero) > article {
  padding-inline-start: var(--konic-banner-card-inset) !important;
}
html[data-konic-context="office"] .hero-grid .hero-panel .hero-content,
html[data-konic-context="office"] .hero-grid .hero-panel .hero-proof {
  left: var(--konic-banner-card-inset) !important;
}
html[data-konic-context="home"] .subhero .subhero-copy,
html[data-konic-context="office"] .x-route-active :is(.x-company-hero, .x-support-hero) > article,
html[data-konic-context="office"] .x-route-active .x-office-catalog-hero .x-hero-copy {
  text-align: left;
}
@media (max-width: 960px) {
  html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-news-hero .subhero-media {
    object-position: 70% center;
  }
}
@media (max-width: 720px) {
  html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-news-hero .subhero-copy {
    max-width: 40% !important;
  }
}
@media (max-width: 340px) {
  html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-news-hero .subhero-media {
    object-position: 71% center;
  }
  html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-news-hero .subhero-copy {
    max-width: 36% !important;
  }
  html[data-konic-context="home"] body.konic-home-secondary .subhero.konic-news-hero .subhero-copy h1 {
    font-size: 24px !important;
  }
}
/* The legacy Smart Living landing page uses a separate split-hero structure. */
html[data-konic-context="home"] .smart-showcase .smart-copy {
  padding-inline-start: max(32px, calc((100vw - 1440px) / 2)) !important;
}
@media (max-width: 960px) {
  :root {
    --konic-banner-copy-width: calc(100vw - 48px);
    --konic-banner-card-inset: 12px;
  }
  html[data-konic-context="home"] .smart-showcase .smart-copy {
    padding-inline-start: 24px !important;
  }
}
@media (min-width: 961px) {
  /* Leave room for the longest live carousel heading without changing its type scale. */
  html[data-konic-context="office"] .hero-grid .hero-panel .hero-content {
    right: 32px !important;
    width: auto !important;
    max-width: 560px !important;
  }
  html[data-konic-context="office"] .hero-grid .hero-panel .hero-content > h1 {
    max-width: 100% !important;
  }
}

/* assets/css/card-arrows-v35.css */
/* Keep small navigation arrows proportionate across fonts and display densities. */
html .arrow {
  width: 14px;
  height: 10px;
  flex-shrink: 0;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px 10px no-repeat;
}
html .arrow::before,
html .arrow::after { display: none !important; }
html .arrow.konic-arrow-glyph { font-size:0 !important; line-height:0 !important; }

html[data-konic-context="home"] .support-card > b,
html[data-konic-context="home"] .konic-support-index .feature-card > b {
  display: block;
  height: var(--card-arrow-size);
  width: var(--card-arrow-size);
  flex-shrink: 0;
  color: var(--red);
  font-size: 0 !important;
  line-height: 0 !important;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20 20 4M6 4h14v14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20 20 4M6 4h14v14' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-konic-context="home"] .support-card > b { --card-arrow-size: 24px; }
html[data-konic-context="home"] .konic-support-index .feature-card > b { --card-arrow-size: 16px; }

/* assets/css/hover-v36.css */
/* These Home cards already switch to a dark panel on hover. Keep every text level readable. */
html[data-konic-context="home"] :is(.feature-card, .support-card):is(a[href], button, [role="button"]):is(:hover, :focus-visible) {
  background: var(--ink);
  color: #fff;
}

html[data-konic-context="home"] :is(.feature-card, .support-card):is(a[href], button, [role="button"]):is(:hover, :focus-visible) > :is(h2, h3, strong) {
  color: #fff !important;
}

html[data-konic-context="home"] :is(.feature-card, .support-card):is(a[href], button, [role="button"]):is(:hover, :focus-visible) > :is(small, .eyebrow, p) {
  color: #d6d0c8 !important;
}

html[data-konic-context="home"] :is(.feature-card, .support-card):is(a[href], button, [role="button"]):is(:hover, :focus-visible) > :is(b, .arrow) {
  color: var(--red) !important;
}
