/* Home results only. Root adds the explicit marker and header wrapper. */
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 28px 36px;
  margin: 0 0 28px;
}
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-opening {
  display: block;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
}
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header .dn-section-intro { max-width: 75ch; }
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 21px;
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 24px 0 0;
}
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  width: auto;
  max-width: 100%;
  margin: 0;
  white-space: nowrap;
}
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] {
  position: relative;
  min-width: 0;
}
@media (max-width: 1100px) {
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 10px;
    margin: -6px 0 -10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scroll-behavior: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track]::-webkit-scrollbar { display: none; }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] > .work-card,
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] > .work-card:last-child {
    flex: 0 0 calc((100% - 80px) / 2);
    grid-column: auto;
    justify-self: auto;
    width: auto;
    min-width: 0;
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"][data-home-results-ready="1"] .work-grid[data-home-results-track] { cursor: grab; }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track][data-home-results-dragging="true"] {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
    -webkit-user-select: none;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track][data-home-results-dragging="true"] a { cursor: grabbing; }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] > .work-card:focus-within {
    outline: 3px solid #0b1d3a;
    outline-offset: -3px;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track]:focus-visible {
    outline: 3px solid #0b1d3a;
    outline-offset: 4px;
    border-radius: 4px;
  }
}
@media (max-width: 700px) {
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    margin-bottom: 23px;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] { gap: 14px; }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] > .work-card,
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] > .work-card:last-child { flex-basis: calc(100% - 28px); }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions { gap: 11px 20px; }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions > .button {
    min-height: 46px;
    width: auto;
    padding: 12px 18px;
    font-size: 12px;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .home-results-header > .dn-section-actions > .text-link { min-height: 44px; font-size: 12px; }
}
@media (max-width: 380px) {
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] .case-card-result {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] .case-card-result > div {
    grid-column: 1;
    grid-row: 2;
  }
}
@media print {
  .home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses[data-home-results-carousel="1"] .work-grid[data-home-results-track] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
    margin: 0;
    scroll-snap-type: none;
  }
}

.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses .home-results-header .dn-section-actions>.button{background:#0b1d3a;color:#f5f2e9;border:1px solid #0b1d3a;padding:12px 20px}
.home-story[data-home-compact="1"] #main#main #see-the-work-and-results-for-real-businesses .home-results-header .dn-section-actions>.button:hover{background:#23465e;border-color:#23465e;color:#fffdf8}
