.trending-page {
  background: var(--home-section-bg);
  color: var(--white);
}

.trending-page .trending-main {
  background: var(--home-section-bg);
}

.trending-page .trending-container {
  max-width: 1360px;
}

.trending-page .navbar-bg .container {
  max-width: 1360px;
}

.trending-page .trending-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
}

.trending-page .trending-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: .55rem .95rem;
  border: 1px solid rgba(255, 111, 97, .36);
  border-radius: 100px;
  color: var(--highlight-light);
  background: rgba(8, 29, 56, .68);
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.trending-page .trending-hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: 'Antonio', sans-serif !important;
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
  overflow: visible !important;
}

.trending-page .trending-hero h1 span {
  color: var(--highlight-light);
  font-family: inherit;
}

.trending-page .trending-intro {
  max-width: 570px;
  margin: 1.55rem 0 0;
  color: #bac8d9;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem) !important;
  line-height: 1.7;
}

.trending-page .trending-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2.2rem;
}

.trending-page .trending-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .78rem 1.45rem;
  border: 2px solid var(--highlight-light);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.trending-page .trending-button:hover,
.trending-page .trending-button:focus-visible {
  text-decoration: none;
  transform: translateY(-2px);
}

.trending-page .trending-button:focus-visible,
.trending-page .trending-feature:focus-visible,
.trending-page .just-added a:focus-visible,
.trending-page .service-links a:focus-visible,
.trending-page .guide-controls button:focus-visible,
.trending-page .guide-search:focus-visible,
.trending-page .guide-list a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.trending-page .trending-button--primary {
  color: #051426;
  background: var(--highlight-light);
  box-shadow: 0 14px 28px rgba(255, 111, 97, .14);
}

.trending-page .trending-button--primary:hover,
.trending-page .trending-button--primary:focus-visible {
  color: #051426;
  background: #ff867b;
}

.trending-page .trending-button--secondary {
  color: #f7f8fc;
  background: rgba(8, 29, 56, .52);
}

.trending-page .trending-button--secondary:hover,
.trending-page .trending-button--secondary:focus-visible {
  color: #051426;
  background: var(--highlight-light);
}

.trending-page .trending-button .material-icons {
  font-size: 1.1rem;
}

.trending-page .trending-feature {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(143, 176, 205, .27);
  border-radius: 26px;
  background: var(--surface-card);
  color: #fff;
  box-shadow: 0 25px 65px rgba(0, 0, 0, .26);
  text-decoration: none;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.trending-page .trending-feature:hover,
.trending-page .trending-feature:focus-visible {
  border-color: rgba(255, 111, 97, .65);
  color: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .34);
  text-decoration: none;
  transform: translateY(-5px);
}

.trending-page .trending-feature img {
  display: block;
  width: 100%;
  height: clamp(285px, 30vw, 390px);
  object-fit: cover;
  object-position: center 34%;
  transition: transform 500ms ease;
}

.trending-page .trending-feature:hover img,
.trending-page .trending-feature:focus-visible img {
  transform: scale(1.035);
}

.trending-page .trending-feature__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 112px;
  padding: 1.15rem 1.5rem 1.3rem;
}

.trending-page .trending-feature__label {
  display: block;
  margin-bottom: .3rem;
  color: var(--highlight-light);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.trending-page .trending-feature__title {
  display: block;
  color: #fff;
  font-family: 'Antonio', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.trending-page .trending-feature__arrow {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 111, 97, .15);
  color: var(--highlight-light);
}

.trending-page .trending-feature__arrow .material-icons {
  font-size: 1.35rem;
}

.trending-page .trending-section {
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

.trending-page .trending-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.45rem;
}

.trending-page .trending-section-heading h2 {
  margin: 0;
  font-family: 'Antonio', sans-serif !important;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.2;
  overflow: visible !important;
}

.trending-page #just-added-title {
  scroll-margin-top: 110px;
}

.trending-page .trending-section-heading p {
  margin: .35rem 0 0;
  color: #98acc3;
  font-size: .94rem !important;
  line-height: 1.5;
}

.trending-page .rail-buttons {
  display: flex;
  gap: .5rem;
}

.trending-page .rail-buttons button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(143, 176, 205, .28);
  border-radius: 50%;
  background: var(--surface-card);
  color: #d8e2ef;
  cursor: pointer;
}

.trending-page .rail-buttons button[hidden] {
  display: none;
}

.trending-page .rail-buttons button:hover {
  border-color: var(--highlight-light);
  color: var(--highlight-light);
}

.trending-page .rail-buttons button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.trending-page .just-added {
  display: grid;
  grid-auto-columns: clamp(180px, 15vw, 240px);
  grid-auto-flow: column;
  gap: 1rem;
  overflow-x: auto;
  padding: 2px 2px 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: #47607c transparent;
}

.trending-page .just-added--marquee {
  scroll-behavior: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.trending-page .just-added--marquee::-webkit-scrollbar {
  display: none;
}

.trending-page .just-added__item {
  min-width: 0;
  scroll-snap-align: start;
}

.trending-page .just-added__item a {
  display: block;
  color: #f4f7fb;
  text-decoration: none;
}

.trending-page .just-added__item a:hover {
  color: var(--highlight-light);
  text-decoration: none;
}

.trending-page .just-added__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(143, 176, 205, .26);
  border-radius: 16px;
  background: var(--surface-card);
}

.trending-page .just-added__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.trending-page .just-added__item a:hover img,
.trending-page .just-added__item a:focus-visible img {
  transform: scale(1.045);
}

.trending-page .just-added__badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  padding: .3rem .55rem;
  border-radius: 5px;
  background: var(--highlight-light);
  color: #071425;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trending-page .just-added__title {
  display: block;
  margin-top: .8rem;
  font-size: .91rem;
  font-weight: 800;
  line-height: 1.35;
}

.trending-page .just-added__date {
  display: block;
  margin-top: .25rem;
  color: #9cafc2;
  font-size: .75rem;
}

.trending-page .service-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .65rem;
  padding: 1.3rem 15px 3.9rem;
}

.trending-page .service-links__track {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: .65rem;
  overflow-x: auto;
  scrollbar-color: #47607c transparent;
  scroll-snap-type: x proximity;
}

.trending-page .service-links__label {
  flex: none;
  margin-right: .5rem;
  color: #91a5bc;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}

.trending-page .service-links__label:hover {
  color: #cbd6ff;
  text-decoration: none;
}

.trending-page .service-links a:not(.service-links__label) {
  flex: none;
  scroll-snap-align: start;
  padding: .55rem .86rem;
  border: 1px solid rgba(143, 176, 205, .26);
  border-radius: 999px;
  color: #c7d4e2;
  font-size: .79rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.trending-page .service-links a:not(.service-links__label):hover {
  border-color: var(--app-accent);
  background: rgba(85, 112, 190, .14);
  color: #f1f4ff;
  text-decoration: none;
}

.trending-page .service-links__next {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(143, 176, 205, .38);
  border-radius: 50%;
  background: var(--surface-card);
  color: #cbd6ff;
  cursor: pointer;
}

.trending-page .service-links__next:hover {
  border-color: var(--app-accent);
  color: #fff;
}

.trending-page .service-links__next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.trending-page .service-links__next[hidden] {
  display: none;
}

.trending-page .service-links__next .material-icons {
  font-size: 1.1rem;
}

.trending-page .guide-library {
  padding-bottom: 6rem;
  scroll-margin-top: 110px;
}

.trending-page .guide-library .trending-section-heading {
  margin-bottom: 1.6rem;
}

.trending-page .guide-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.trending-page .guide-search-wrap {
  position: relative;
  flex: 1 1 290px;
}

.trending-page .guide-search-wrap .material-icons {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: #9fb3c8;
  font-size: 1.3rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.trending-page .guide-search {
  width: 100%;
  min-height: 48px;
  padding: .7rem 1rem .7rem 2.9rem;
  border: 1px solid rgba(143, 176, 205, .3);
  border-radius: 10px;
  background: var(--surface-card);
  color: #fff;
  font-size: .9rem;
}

.trending-page .guide-search::placeholder {
  color: #a7b7ca;
  opacity: 1;
}

.trending-page .guide-controls__group {
  display: inline-flex;
  gap: .25rem;
  padding: .25rem;
  border: 1px solid rgba(143, 176, 205, .26);
  border-radius: 10px;
  background: var(--surface-card);
}

.trending-page .guide-controls button {
  min-height: 38px;
  padding: .4rem .85rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #bccbdb;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.trending-page .guide-controls button[aria-pressed='true'] {
  background: var(--highlight-light);
  color: #061629;
}

.trending-page .guide-controls button:hover:not([aria-pressed='true']) {
  background: rgba(255, 255, 255, .07);
  color: #fff;
}

.trending-page .guide-count {
  margin-left: auto;
  color: #9fb1c7;
  font-size: .79rem;
  font-weight: 800;
  white-space: nowrap;
}

.trending-page .guide-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(143, 176, 205, .2);
}

.trending-page .guide-list .show-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  height: auto;
  min-width: 0;
  overflow: visible;
  padding: .45rem .85rem;
  border: 0;
  border-bottom: 1px solid rgba(143, 176, 205, .2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  transition: background-color 170ms ease;
}

.trending-page .guide-list .show-card[hidden] {
  display: none !important;
}

.trending-page .guide-list .show-card:hover,
.trending-page .guide-list .show-card:focus-within {
  background: rgba(85, 112, 190, .12);
  box-shadow: none;
  transform: none;
}

.trending-page .guide-list .show-card > img {
  display: block;
  width: 42px;
  height: 56px;
  border: 0;
  border-radius: 6px;
  object-fit: cover;
}

.trending-page .guide-list .show-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 32px;
  grid-template-rows: 1fr;
  align-items: center;
  column-gap: 1rem;
  min-height: 56px;
  padding: 0;
}

.trending-page .guide-list .show-card-body h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-family: 'Raleway', sans-serif !important;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.35;
  overflow: visible !important;
}

.trending-page .guide-list .show-meta {
  display: contents;
}

.trending-page .guide-list .show-badge,
.trending-page .guide-list .show-desc {
  display: none;
}

.trending-page .guide-list .show-date {
  grid-column: 2;
  grid-row: 1;
  color: #9fb2c5;
  font-size: .78rem;
  white-space: nowrap;
  opacity: 1;
}

.trending-page .guide-list .show-cta {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

.trending-page .guide-list .show-cta::before {
  position: absolute;
  inset: 0;
  content: '';
}

.trending-page .guide-list .show-cta::after {
  color: var(--app-accent);
  content: 'arrow_forward';
  font-family: 'Material Icons';
  font-size: 1.25rem;
  line-height: 1;
}

.trending-page .guide-list .show-card:hover .show-cta::after {
  color: var(--highlight-light);
}

.trending-page .guide-list--posters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  border: 0;
}

.trending-page .guide-list--posters .show-card {
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(143, 176, 205, .23);
  border-radius: 14px;
  background: var(--surface-card);
}

.trending-page .guide-list--posters .show-card:hover,
.trending-page .guide-list--posters .show-card:focus-within {
  border-color: rgba(255, 111, 97, .55);
  transform: translateY(-3px);
}

.trending-page .guide-list--posters .show-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 0;
}

.trending-page .guide-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.trending-page .guide-show-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .65rem 1.25rem;
  border: 1px solid rgba(143, 176, 205, .38);
  border-radius: 10px;
  background: var(--surface-card);
  color: #f2f6ff;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.trending-page .guide-show-more:hover {
  border-color: var(--app-accent);
  background: rgba(85, 112, 190, .2);
}

.trending-page .guide-show-more:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.trending-page .guide-show-more[hidden] {
  display: none;
}

.trending-page .guide-show-more .material-icons {
  font-size: 1.25rem;
}

.trending-page .guide-list--posters .show-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .42rem;
  min-height: 0;
  padding: .9rem;
}

.trending-page .guide-list--posters .show-card-body h2 {
  font-size: .86rem;
  line-height: 1.4;
}

.trending-page .guide-list--posters .show-date {
  display: block;
  font-size: .72rem;
}

.trending-page .guide-list--posters .show-cta {
  position: absolute;
  right: .75rem;
  bottom: .72rem;
}

.trending-page .guide-empty {
  padding: 3rem 1rem;
  border: 1px solid rgba(143, 176, 205, .25);
  border-radius: 14px;
  background: var(--surface-card);
  color: #c7d4e2;
  text-align: center;
}

.trending-page .guide-empty[hidden] {
  display: none;
}

@media (max-width: 991.98px) {
  .trending-page .trending-hero {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .trending-page .trending-hero h1 {
    font-size: clamp(3rem, 6vw, 4rem);
  }
  .trending-page .guide-list--posters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .trending-page .service-links {
    flex-wrap: wrap;
  }
  .trending-page .service-links__label {
    flex: 1 1 0;
    min-width: 0;
  }
  .trending-page .service-links__track {
    order: 2;
    flex-basis: 100%;
  }
  .trending-page .trending-hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
    padding-bottom: 3.8rem;
  }
  .trending-page .trending-hero h1 {
    max-width: 570px;
    font-size: clamp(3.2rem, 10vw, 4.5rem);
  }
  .trending-page .trending-feature img {
    height: clamp(250px, 58vw, 420px);
  }
  .trending-page .guide-count {
    width: 100%;
    margin: 0;
  }
  .trending-page .guide-list--posters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .trending-page .trending-hero {
    padding-top: 2.5rem;
  }
  .trending-page .trending-hero h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }
  .trending-page .trending-hero-actions {
    flex-direction: column;
  }
  .trending-page .trending-button {
    width: 100%;
  }
  .trending-page .just-added {
    grid-auto-columns: min(56vw, 220px);
  }
  .trending-page .service-links {
    padding-bottom: 3rem;
  }
  .trending-page .guide-search-wrap {
    flex-basis: 100%;
  }
  .trending-page .guide-list .show-card-body {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: .45rem;
    min-height: 68px;
  }
  .trending-page .guide-list .show-card > img {
    width: 42px;
    height: 56px;
  }
  .trending-page .guide-list .show-card-body {
    min-height: 56px;
  }
  .trending-page .guide-list .show-date {
    grid-column: 1;
    grid-row: 2;
    font-size: .7rem;
  }
  .trending-page .guide-list .show-cta {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .trending-page .guide-list--posters .show-card-body {
    display: flex;
  }
  .trending-page .guide-list--posters .show-date {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trending-page *,
  .trending-page *::before,
  .trending-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .trending-page .trending-feature:hover img,
  .trending-page .trending-feature:focus-visible img {
    transform: none;
  }
}
