/* Netsy home featured stories — compact, swipeable Google-style editorial rail. */
.ns-feature-section { overflow: visible; }
.ns-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}
.ns-feature-heading .ns-section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
  color: #5f6368 !important;
}
.ns-feature-heading .ns-section-kicker span:first-child { color: #1967d2 !important; }
.ns-feature-heading-meta {
  color: #5f6368;
  font-size: 10px;
  letter-spacing: .09em;
}
.ns-home-carousel-controls { display: flex; align-items: center; gap: 8px; }
.ns-home-carousel-control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #dadce0;
  border-radius: 50%;
  background: #fff;
  color: #202124;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.ns-home-carousel-control:hover:not(:disabled) {
  border-color: #a8c7fa;
  background: #f1f6fe;
  color: #1967d2;
}
.ns-home-carousel-control:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 3px;
}
.ns-home-carousel-control:disabled { opacity: .38; cursor: default; }
.ns-home-carousel-control svg { width: 18px; height: 18px; }
.ns-home-carousel-viewport {
  --ns-carousel-gutter: max(calc(50vw - 819px), clamp(21px, 4.2vw, 65px));
  width: calc(100vw - var(--ns-carousel-gutter) - var(--ns-carousel-gutter));
  margin-left: calc(50% - 50vw + var(--ns-carousel-gutter));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.ns-home-carousel-viewport::-webkit-scrollbar { display: none; }
.ns-home-carousel-track {
  display: flex;
  width: 100%;
  gap: 14px;
  align-items: stretch;
}
.ns-home-slide {
  display: grid;
  flex: 0 0 82%;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 10px;
  height: clamp(330px, 31vw, 440px);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.ns-home-slide-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 36px);
  overflow: hidden;
  border-radius: 22px;
  background: #e8f0fe;
  color: #202124;
}
.ns-home-slide-copy .ns-card-kicker {
  margin: 0 0 15px !important;
  color: #1967d2 !important;
  font-size: 10px !important;
  letter-spacing: .11em !important;
}
.ns-home-slide-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 13px !important;
  color: #17336d !important;
  font: 600 clamp(25px, 2.45vw, 39px)/1.17 var(--ns-font) !important;
  letter-spacing: -.045em !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ns-home-slide-copy h3 a { color: inherit !important; }
.ns-home-slide-copy h3 a:hover { color: #1967d2 !important; }
.ns-home-slide-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 !important;
  color: #3c4043 !important;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.62 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ns-home-slide-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  margin-top: auto;
  padding-top: 18px;
}
.ns-home-slide-byline {
  margin: 0 !important;
  color: #3c4043 !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}
.ns-home-slide-byline span { padding: 0 4px; color: #70757a; }
.ns-home-slide-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 43px;
  padding: 0 17px;
  border: 1px solid #202124;
  border-radius: 999px;
  background: transparent;
  color: #202124 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.ns-home-slide-action:hover {
  border-color: #1967d2;
  background: #1967d2;
  color: #fff !important;
}
.ns-home-slide-action span { font-size: 18px; line-height: 1; }
.ns-home-slide-action--muted {
  border-color: #7d8ba1;
  color: #334155 !important;
}
.ns-home-slide-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #174ea6;
  isolation: isolate;
}
.ns-home-slide-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.24), transparent 34%, transparent 72%, rgba(0,0,0,.14));
  content: "";
  pointer-events: none;
}
.ns-home-slide-media > img,
.ns-home-slide-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.ns-home-slide-media:hover > img { transform: scale(1.025); }
.ns-home-slide-media-label {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 22px;
  color: #fff;
  font: 700 10px/1.4 var(--ns-font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ns-home-slide-media-caption {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  left: 22px;
  color: rgba(255,255,255,.8);
  font: 700 9px/1.4 var(--ns-font);
  letter-spacing: .15em;
}
.ns-home-slide-media--art.ns-art-workflow {
  background: radial-gradient(circle at 56% 44%, #bdfaf2, #a2e4ed 33%, #d3f0f3 67%, #e8f9f8);
}
.ns-home-slide-media--art.ns-art-connections {
  background: radial-gradient(circle at 62% 42%, #90b9e4, #bcd6ef 32%, #e9f0fa 77%);
}
.ns-home-slide-media--art .ns-illustration-symbol {
  position: relative;
  z-index: 2;
  font-size: clamp(92px, 13vw, 180px);
}
.ns-home-slide-media--art .ns-art-small {
  z-index: 2;
  bottom: 20px;
  left: 22px;
}
.ns-home-slide-media--art.ns-art-workflow .ns-illustration-symbol { color: #158e90; }
.ns-home-slide-media--art.ns-art-connections .ns-illustration-symbol { color: #5f8bc4; }
.ns-home-slide-art {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 67% 54%, #4285f4 0, #174ea6 36%, #0b1f43 100%);
}
.ns-home-slide-art::before,
.ns-home-slide-art::after {
  position: absolute;
  width: 48%;
  aspect-ratio: 1.45;
  top: 50%;
  left: 57%;
  border: 1px solid rgba(232,240,254,.55);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(-25deg);
}
.ns-home-slide-art::after {
  width: 31%;
  border-style: dashed;
  opacity: .7;
}
.ns-home-slide-art .ns-core {
  position: absolute;
  top: 50%;
  left: 57%;
  width: clamp(82px, 12vw, 150px);
  height: clamp(82px, 12vw, 150px);
  border-radius: 42%;
  background: radial-gradient(circle at 25% 20%, #e8f0fe, #8ab4f8 35%, #4285f4 66%, #174ea6 100%);
  box-shadow: 0 0 70px rgba(138,180,248,.52);
  transform: translate(-50%, -50%) rotate(-24deg);
}
.ns-home-slide-art .ns-dot {
  position: absolute;
  z-index: 2;
  top: 23%;
  right: 19%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbc04;
  box-shadow: 0 0 22px rgba(251,188,4,.7);
}
html[data-netsy-theme="dark"] .ns-home-slide-copy {
  background: #19344b;
  color: #f1f5fb;
}
html[data-netsy-theme="dark"] .ns-home-slide-copy h3 { color: #f1f5fb !important; }
html[data-netsy-theme="dark"] .ns-home-slide-summary,
html[data-netsy-theme="dark"] .ns-home-slide-byline { color: #d0dae6 !important; }
html[data-netsy-theme="dark"] .ns-home-slide-action {
  border-color: #a9c7ed;
  color: #f1f5fb !important;
}
html[data-netsy-theme="dark"] .ns-home-slide-action:hover {
  border-color: #8ab4f8;
  background: #8ab4f8;
  color: #10213c !important;
}
html[data-netsy-theme="dark"] .ns-home-carousel-control {
  border-color: #40556b;
  background: #19344b;
  color: #f1f5fb;
}
html[data-netsy-theme="dark"] .ns-home-carousel-control:hover:not(:disabled) {
  border-color: #8ab4f8;
  background: #263f5a;
  color: #a8c7fa;
}
html[data-netsy-theme="dark"] .ns-home-carousel-viewport:focus-visible {
  outline-color: #8ab4f8;
}
@media (max-width: 850px) {
  .ns-home-slide { height: clamp(300px, 41vw, 380px); }
  .ns-home-slide-copy { padding: 23px; }
  .ns-home-slide-copy h3 { font-size: clamp(25px, 3.4vw, 34px) !important; }
}
@media (max-width: 600px) {
  .ns-feature-heading { margin-bottom: 16px; }
  .ns-feature-heading .ns-section-kicker { gap: 9px; font-size: 9px; }
  .ns-feature-heading-meta { font-size: 8px; }
  .ns-home-carousel-controls { gap: 6px; }
  .ns-home-carousel-control { width: 36px; height: 36px; }
  .ns-home-carousel-control svg { width: 16px; height: 16px; }
  .ns-home-carousel-viewport { --ns-carousel-gutter: clamp(20px, 5vw, 26px); }
  .ns-home-carousel-track { gap: 10px; }
  .ns-home-slide {
    flex-basis: 82%;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 8px;
    height: 220px;
  }
  .ns-home-slide-copy { padding: 14px; border-radius: 18px; }
  .ns-home-slide-copy .ns-card-kicker {
    margin-bottom: 8px !important;
    font-size: 8px !important;
    letter-spacing: .08em !important;
  }
  .ns-home-slide-copy h3 {
    margin-bottom: 0 !important;
    font-size: clamp(17px, 4.8vw, 21px) !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 3;
  }
  .ns-home-slide-summary,
  .ns-home-slide-byline { display: none; }
  .ns-home-slide-meta { padding-top: 0; gap: 0; }
  .ns-home-slide-action { min-height: 34px; gap: 9px; padding: 0 11px; font-size: 11px; }
  .ns-home-slide-action span { font-size: 15px; }
  .ns-home-slide-media,
  .ns-home-slide-copy { border-radius: 18px; }
  .ns-home-slide-media-label { top: 12px; left: 12px; font-size: 8px; }
  .ns-home-slide-media-caption { bottom: 11px; left: 12px; font-size: 7px; }
  .ns-home-slide-media--art .ns-illustration-symbol { font-size: 94px; }
  .ns-home-slide-media--art .ns-art-small { bottom: 12px; left: 12px; font-size: 7px; }
  .ns-home-slide-art .ns-core { width: 82px; height: 82px; }
  .ns-feature-heading .ns-section-kicker span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-home-carousel-viewport { scroll-behavior: auto; }
  .ns-home-slide-media > img,
  .ns-home-slide-action,
  .ns-home-carousel-control { transition: none; }
}
