/* Review adjustment: replace top borders with calm, low-contrast elevation. */
.hero-event small {
  border-top: 0;
  box-shadow: 0 7px 16px rgb(17 24 25 / 8%);
}

.recommend-grid article {
  border-top: 0;
  box-shadow: 0 8px 20px rgb(24 92 96 / 9%);
}

.recommend-grid article {
  min-height: 154px;
  padding: 19px 20px 34px;
}

.recommend-grid p {
  margin-top: 0;
}

.description {
  border-top: 0;
  box-shadow: 0 -4px 14px rgb(24 92 96 / 7%);
}

.session-card .description {
  box-shadow: none;
}

.pitch-card .description,
.overview-table > div:first-child,
.overview-table dd {
  box-shadow: none;
}

.timeline .static-card,
.timeline .expand-toggle,
.timeline .detail-panel section,
.timeline .break-card,
.timeline .networking-card,
.timeline .networking-feature,
.timeline .networking-photo,
.timeline .individual-item {
  border-radius: 8px;
}

.networking-photo {
  background: transparent;
}

.networking-photo img {
  border-radius: 8px;
}

.brand--image {
  display: block;
}

.brand--image img {
  display: block;
  width: 152px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.site-footer .brand--image img {
  width: 168px;
  max-height: 54px;
}

.hubspot-target {
  min-height: 0;
  margin: 0;
  padding: 0 24px 24px;
  border: 0;
  background: transparent;
}

.logo-marquee {
  overflow: hidden;
  padding: 20px 0;
  background: #fff;
}

.logo-marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.logo-marquee__track,
.logo-marquee__group {
  display: flex;
  align-items: center;
}

.logo-marquee__track {
  width: max-content;
  animation: logo-marquee-scroll 42s linear infinite;
  will-change: transform;
}

.logo-marquee__group {
  flex: 0 0 auto;
  gap: clamp(34px, 5vw, 72px);
  padding-right: clamp(34px, 5vw, 72px);
}

.logo-marquee__group img {
  display: block;
  flex: 0 0 112px;
  width: 112px;
  height: 44px;
  object-fit: contain;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

@keyframes logo-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.pitch-thumbnail,
.pitch-logo {
  grid-column: 1;
  overflow: hidden;
}

.pitch-thumbnail {
  grid-row: 1;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #e8f6f6;
}

.pitch-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.pitch-logo {
  display: grid;
  grid-row: 2;
  width: 132px;
  height: 61px;
  place-items: center;
  border: 1px dashed #74bbbe;
  background: #fff;
}

.pitch-logo img {
  display: block;
  width: calc(100% - 16px);
  height: calc(100% - 14px);
  object-fit: contain;
}

.session-card .logo-slot,
.pitch-logo {
  border: 0 !important;
  background: transparent;
}

.session-card .logo-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.session-card .logo-slot::before,
.session-card .logo-slot span {
  display: none;
}

.session-card .logo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.session-card .speaker-portraits {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 160px;
  height: 160px;
  place-items: center;
  overflow: hidden;
}

.session-card .speaker-portraits img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.session-card .speaker-portraits--multiple {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.session-card .speaker-portraits--multiple img {
  width: 63px;
  height: 63px;
}

.session-card--stacked .session-main:has(.speaker-portraits--multiple) {
  grid-template-rows: auto auto;
}

.session-card--stacked .speaker-portraits--multiple {
  display: grid;
  width: 160px;
  height: auto;
  grid-template-columns: 1fr;
  gap: 6px;
}

.session-card--stacked .speaker-portraits--multiple img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.session-card:not(.session-card--stacked):has(.speaker-portraits) .session-main {
  grid-template-columns: 170px minmax(0, 1fr);
  grid-template-rows: 160px auto;
}

.session-card:not(.session-card--stacked):has(.speaker-portraits) .logo-slot {
  width: 160px;
}

.session-card--icon-hidden .session-main {
  grid-template-rows: 61px;
}

.session-card--icon-hidden .logo-slot,
.session-card--icon-hidden .session-copy {
  grid-row: 1;
}

.session-card .logo-slot--multiple {
  display: flex;
  height: 126px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.session-card .logo-slot--multiple img {
  height: calc((100% - 6px) / 2);
}

@media (max-width: 760px) {
  .logo-marquee {
    padding: 15px 0;
  }

  .logo-marquee__track {
    animation-duration: 32s;
  }

  .logo-marquee__group {
    gap: 31px;
    padding-right: 31px;
  }

  .logo-marquee__group img {
    flex-basis: 84px;
    width: 84px;
    height: 34px;
  }

  .brand--image img {
    width: 122px;
    max-height: 39px;
  }

  .site-footer .brand--image img {
    width: 142px;
    max-height: 46px;
  }

  .recommend-grid article {
    min-height: 0;
    padding: 17px 17px 31px;
  }

  .pitch-thumbnail {
    width: 94px;
    height: 94px;
  }

  .pitch-logo {
    width: 94px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .hubspot-target {
    padding: 0 18px 18px;
  }

  .session-card .logo-slot--multiple {
    height: 102px;
    gap: 4px;
  }

  .session-card .logo-slot--multiple img {
    height: calc((100% - 4px) / 2);
  }

  .session-card .speaker-portraits {
    width: 110px;
    height: 110px;
  }

  .session-card--stacked .speaker-portraits--multiple {
    width: 110px;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .session-card--stacked .speaker-portraits--multiple img {
    width: 100%;
    height: auto;
  }

  .session-card:not(.session-card--stacked):has(.speaker-portraits) .session-main {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: 110px auto;
  }

  .session-card:not(.session-card--stacked):has(.speaker-portraits) .logo-slot {
    width: 110px;
  }
}

/* This rule follows the legacy overview shadow declaration and is intentionally final. */
.overview-table > div:first-child,
.overview-table dd {
  box-shadow: none !important;
}

@media (max-width: 1400px) and (min-width: 761px) {
  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .benefit-list {
    grid-template-columns: 1fr;
  }
}

.networking-lead {
  max-width: none;
  text-align: left;
  font-weight: 400;
}

.detail-panel section {
  border-top: 0;
  box-shadow: 0 7px 18px rgb(24 92 96 / 9%);
}

.overview-table > div:first-child,
.overview-table dd {
  border-top: 0;
  box-shadow: 0 -3px 13px rgb(24 92 96 / 7%);
}

.networking-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 760px) {
  .networking-feature-grid {
    grid-template-columns: 1fr;
  }
}

.session-title {
  font-size: 30px;
}

@media (max-width: 760px) {
  .session-title {
    font-size: 25px;
  }
}

.timeline-simple .timeline-content {
  display: grid;
  gap: 8px;
}

.timeline-note {
  display: block;
  max-width: 620px;
  color: #4d6c6e;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .timeline-note {
    font-size: 12px;
  }
}
