/* Home partners and campaign examples share one uninterrupted light surface. */
.home-page .brand-section {
  padding-block: 36px 24px;
  background: linear-gradient(118deg, #f1f7fc 0%, #fcfefe 60%, #f3fcf8 100%);
}

.home-page .brand-heading {
  margin-bottom: 18px;
}

.home-page .brand-marquee {
  padding-block: 2px;
}

.home-page .brand-heading .eyebrow {
  margin-top: 0;
  margin-bottom: 18px;
}

.home-page .brand-section .centered .button {
  min-width: 205px;
  min-height: 48px;
  margin-top: 14px;
  padding: 12px 27px;
  border: 1px solid #0dccb550;
  border-radius: 999px;
  box-shadow: 0 5px 20px #0dccb516;
  font-size: 12px;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.social-campaigns {
  padding-top: 26px;
}

.social-campaigns > .wrap {
  width: min(1320px, calc(100% - var(--gutter) * 2));
}

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

.social-campaign-carousel {
  position: relative;
}

.social-campaign-rail {
  --post-gap: 22px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--post-gap) * 3) / 4);
  gap: var(--post-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 3px 0 8px;
  border-radius: 22px;
}

.social-campaign-rail::-webkit-scrollbar {
  display: none;
}

.social-campaign-rail:focus-visible {
  outline: 2px solid var(--green-ink);
  outline-offset: 7px;
}

.social-campaign-card {
  min-width: 0;
  padding: 0 11px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #e9eff3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 9px #0a294303;
}

.social-campaign-header {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 61px;
  padding: 9px 3px;
}

.social-campaign-avatar {
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid #e6ecef;
  border-radius: 50%;
  object-fit: cover;
  object-position: var(--post-focus);
}

.social-campaign-account {
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  font-size: clamp(10px, .86vw, 13px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-campaign-options {
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #667789;
}

.social-campaign-options svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.social-campaign-media {
  height: clamp(255px, 24vw, 360px);
  overflow: hidden;
  border-radius: 13px;
  background: #e6edf2;
}

.social-campaign-poster {
  position: relative;
  width: 100%;
  height: 100%;
}

.social-campaign-poster > img,
.social-campaign-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--post-focus);
}

.social-campaign-poster > img {
  filter: saturate(.78) contrast(1.025);
}

.social-campaign-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #ffffff16;
  border-radius: 50%;
  background: #10253886;
  color: #fff;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.social-campaign-play svg {
  width: 31px;
  height: 31px;
  margin-left: 4px;
  fill: currentColor;
  stroke: none;
}

.social-campaign-pending {
  position: absolute;
  bottom: 11px;
  left: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #041e3fcc;
  color: #fff;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .02em;
}

.social-campaign-brand {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 90px;
  padding: 13px 12px 16px;
  background: #fff;
}

.social-campaign-brand > span {
  color: #81909d;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .15em;
}

.social-campaign-brand img {
  width: 140px;
  height: 42px;
  object-fit: contain;
}

.campaign-nav {
  position: absolute;
  top: 45%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #e7edf2;
  border-radius: 50%;
  background: #ffffffdf;
  box-shadow: 0 6px 18px #041e3f07;
  color: var(--navy);
  transform: translateY(-50%);
  transition: border-color .2s, opacity .2s;
}

.campaign-nav:hover:not(:disabled) {
  border-color: var(--green);
}

.campaign-nav:disabled {
  opacity: .35;
}

.campaign-nav--previous {
  left: -60px;
}

.campaign-nav--previous svg {
  transform: rotate(180deg);
}

.campaign-nav--next {
  right: -60px;
}

.campaign-showcase-note {
  max-width: 700px;
  margin: 12px auto 0;
  color: #788797;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1400px) {
  .campaign-nav { width: 36px; height: 36px; padding: 8px; }
  .campaign-nav--previous { left: -43px; }
  .campaign-nav--next { right: -43px; }
}

@media (max-width: 1050px) {
  .social-campaign-rail { grid-auto-columns: calc((100% - var(--post-gap) * 2) / 3); }
  .social-campaign-account { font-size: 11px; }
  .social-campaign-media { height: 300px; }
  .social-campaign-header { gap: 8px; }
  .social-campaign-avatar { width: 32px; height: 32px; }
}

@media (max-width: 760px) {
  .home-page .brand-section { padding-block: 32px 30px; }
  .home-page .brand-heading { margin-bottom: 19px; }
  .home-page .brand-section .centered .button { min-width: 185px; min-height: 45px; margin-top: 16px; }
  .social-campaigns { padding-top: 30px; }
  .social-campaign-rail { --post-gap: 17px; grid-auto-columns: 44%; border-radius: 18px; }
  .social-campaign-card { border-radius: 18px; padding-inline: 9px; }
  .social-campaign-header { min-height: 55px; }
  .social-campaign-media { height: 310px; border-radius: 11px; }
  .social-campaign-account { font-size: 11px; }
  .social-campaign-brand { min-height: 84px; }
  .campaign-nav { top: auto; bottom: -53px; width: 36px; height: 36px; transform: none; }
  .campaign-nav--previous { left: calc(50% - 44px); }
  .campaign-nav--next { right: calc(50% - 44px); }
  .campaign-showcase-note { max-width: 420px; padding-top: 50px; margin-top: 15px; font-size: 9px; }
}

@media (max-width: 480px) {
  .social-campaign-rail { grid-auto-columns: 82%; }
  .social-campaign-account { font-size: 12px; }
  .social-campaign-media { height: clamp(285px, 83vw, 330px); }
  .social-campaign-header { gap: 10px; }
  .social-campaign-avatar { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .social-campaign-rail { scroll-behavior: auto; }
}
