.dmm-topic-page {
  background: #fff;
}

.dmm-topic-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 105px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.17) 0 2px, transparent 3px),
    linear-gradient(128deg, #075f9d 0%, #1188cb 52%, #55bce7 100%);
  background-size: 95px 95px, 100% 100%;
}

.dmm-topic-hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -54px;
  height: 83px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 55% 55% 0 0;
}

.dmm-topic-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.dmm-topic-orbit-one {
  width: 600px;
  height: 600px;
  right: -250px;
  top: -250px;
  box-shadow: inset 0 0 0 62px rgba(255, 255, 255, 0.025), inset 0 0 0 125px rgba(255, 255, 255, 0.025);
}

.dmm-topic-orbit-two {
  width: 290px;
  height: 290px;
  left: -150px;
  bottom: -165px;
  box-shadow: inset 0 0 0 37px rgba(255, 255, 255, 0.025);
}

.dmm-topic-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 80px;
}

.dmm-topic-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  white-space: nowrap;
}

.dmm-topic-breadcrumb a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.dmm-topic-breadcrumb a:hover {
  color: #fff !important;
}

.dmm-topic-breadcrumb strong {
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
}

.dmm-topic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--dmm-yellow);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.dmm-topic-kicker::before {
  content: "✦";
}

.dmm-page .dmm-topic-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 5.3vw, 68px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -3px;
  text-transform: none;
}

.dmm-page .dmm-topic-hero h1 strong {
  color: var(--dmm-yellow);
  font-weight: inherit;
}

.dmm-topic-hero-copy > p {
  max-width: 700px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.78;
}

.dmm-topic-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.dmm-topic-stats span {
  min-width: 115px;
  display: grid;
  gap: 2px;
  padding: 11px 13px;
  background: rgba(6, 63, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
}

.dmm-topic-stats b {
  color: #fff;
  font-size: 18px;
  font-weight: 850;
}

.dmm-topic-stats small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 8px;
}

.dmm-topic-hero-symbol {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 35px;
  color: #fff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.035), 0 35px 70px rgba(0, 51, 88, 0.21);
  text-align: center;
  backdrop-filter: blur(8px);
}

.dmm-topic-hero-symbol::before,
.dmm-topic-hero-symbol::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.dmm-topic-hero-symbol::after {
  inset: 52px;
  border-style: solid;
}

.dmm-topic-hero-symbol i,
.dmm-topic-hero-symbol span,
.dmm-topic-hero-symbol small {
  position: relative;
  z-index: 2;
}

.dmm-topic-hero-symbol i {
  color: var(--dmm-yellow);
  font-size: 71px;
  font-style: normal;
  line-height: 1;
}

.dmm-topic-hero-symbol span {
  max-width: 210px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.15;
}

.dmm-topic-hero-symbol small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.dmm-topic-movies {
  padding-top: 100px;
  padding-bottom: 110px;
}

.dmm-topic-page-count {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--dmm-blue-dark);
  background: #edf8fe;
  border: 1px solid #d7ebf7;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.dmm-topic-movie-grid {
  margin-top: 38px;
}

.dmm-topic-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.dmm-topic-pagination .page-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dmm-topic-pagination li {
  margin: 0;
}

.dmm-topic-pagination a,
.dmm-topic-pagination span {
  min-width: 39px;
  height: 39px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  color: #627888 !important;
  background: #fff;
  border: 1px solid #dfeaf0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.dmm-topic-pagination a:hover,
.dmm-topic-pagination .current {
  color: #fff !important;
  background: var(--dmm-blue);
  border-color: var(--dmm-blue);
}

.dmm-topic-pagination .prev,
.dmm-topic-pagination .next {
  min-width: 70px;
}

.dmm-topic-empty {
  display: grid;
  justify-items: center;
  margin-top: 35px;
  padding: 70px 25px;
  text-align: center;
  background: #f4faff;
  border: 1px dashed #c8dfea;
  border-radius: 20px;
}

.dmm-topic-empty > span {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--dmm-blue);
  border-radius: 50%;
}

.dmm-topic-empty svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.dmm-page .dmm-topic-empty h2 {
  margin: 17px 0 7px;
  color: var(--dmm-navy);
  font-size: 27px;
  text-transform: none;
}

.dmm-topic-empty p {
  max-width: 550px;
  margin: 0 0 20px;
  color: var(--dmm-muted);
  font-size: 12px;
}

.dmm-topic-intro {
  padding: 88px 0;
  background: #f3f9fd;
}

.dmm-topic-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 95px;
}

.dmm-page .dmm-topic-intro h2 {
  max-width: 450px;
  margin: 8px 0 0;
  color: var(--dmm-navy);
  font-size: clamp(31px, 3.5vw, 43px);
  line-height: 1.18;
  letter-spacing: -1.5px;
  text-transform: none;
}

.dmm-topic-description {
  color: #5e7687;
  font-size: 14px;
  line-height: 1.82;
}

.dmm-topic-description p {
  margin: 0 0 17px;
}

.dmm-topic-description p:last-child {
  margin-bottom: 0;
}

.dmm-topic-description a {
  color: var(--dmm-blue-dark) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dmm-other-topics {
  padding-top: 100px;
  padding-bottom: 105px;
}

.dmm-other-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 37px;
}

.dmm-other-topic-grid a {
  min-height: 185px;
  display: grid;
  align-content: end;
  padding: 22px;
  color: #fff !important;
  background: linear-gradient(145deg, #0c79bd, #4ab8e5);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 92, 140, 0.13);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dmm-other-topic-grid a:nth-child(4n + 2) { background: linear-gradient(145deg, #4d51a6, #838ad9); }
.dmm-other-topic-grid a:nth-child(4n + 3) { background: linear-gradient(145deg, #147a71, #52bd9c); }
.dmm-other-topic-grid a:nth-child(4n + 4) { background: linear-gradient(145deg, #df825b, #f2b96e); }

.dmm-other-topic-grid a:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 92, 140, 0.2);
}

.dmm-other-topic-grid a > span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 30px;
}

.dmm-other-topic-grid strong {
  font-size: 18px;
  line-height: 1.25;
}

.dmm-other-topic-grid small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
}

.dmm-other-topic-grid b {
  margin-top: 14px;
  font-size: 9px;
}

.dmm-topic-news {
  padding: 88px 0 95px;
  background: #f5faff;
}

.dmm-topic-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.dmm-topic-news-grid article {
  padding: 23px;
  background: #fff;
  border: 1px solid #dfebf2;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(15, 75, 112, 0.06);
}

.dmm-topic-news-grid article > span {
  color: var(--dmm-blue);
  font-size: 8px;
  font-weight: 800;
}

.dmm-page .dmm-topic-news-grid h3 {
  min-height: 50px;
  margin: 8px 0 9px;
  color: var(--dmm-navy);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.35px;
  text-transform: none;
}

.dmm-topic-news-grid p {
  min-height: 51px;
  margin: 0 0 14px;
  color: #758a98;
  font-size: 10px;
  line-height: 1.65;
}

.dmm-topic-news-grid article > a {
  color: var(--dmm-blue-dark) !important;
  font-size: 9px;
  font-weight: 800;
}

.dmm-topic-cta {
  padding: 61px 0;
  color: #fff;
  background: linear-gradient(115deg, #075c9b, #138ed1);
}

.dmm-topic-cta .dmm-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.dmm-topic-cta span {
  color: var(--dmm-yellow);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.dmm-page .dmm-topic-cta h2 {
  margin: 6px 0 7px;
  color: #fff;
  font-size: 30px;
  letter-spacing: -1px;
  text-transform: none;
}

.dmm-topic-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.dmm-topic-cta .dmm-primary-button {
  flex: 0 0 auto;
}

@media (max-width: 980px) {
  .dmm-topic-hero-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 45px;
  }

  .dmm-topic-hero-symbol {
    padding: 25px;
  }

  .dmm-topic-intro-grid {
    gap: 55px;
  }

  .dmm-other-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dmm-topic-hero {
    padding: 110px 0 85px;
  }

  .dmm-topic-hero-grid {
    grid-template-columns: 1fr;
  }

  .dmm-topic-breadcrumb {
    margin-bottom: 24px;
  }

  .dmm-page .dmm-topic-hero h1 {
    font-size: 45px;
    letter-spacing: -2px;
  }

  .dmm-topic-hero-symbol {
    width: min(260px, 78vw);
    justify-self: center;
  }

  .dmm-topic-movies {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .dmm-topic-intro {
    padding: 70px 0;
  }

  .dmm-topic-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dmm-other-topics {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .dmm-topic-news-grid {
    grid-template-columns: 1fr;
  }

  .dmm-topic-news-grid article {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .dmm-page .dmm-topic-news-grid h3,
  .dmm-topic-news-grid p {
    min-height: 0;
  }

  .dmm-topic-news-grid article > span {
    grid-row: 1 / span 3;
  }

  .dmm-topic-news-grid article > a {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  .dmm-topic-cta .dmm-shell {
    display: grid;
  }
}

@media (max-width: 520px) {
  .dmm-topic-breadcrumb {
    justify-content: flex-start;
  }

  .dmm-page .dmm-topic-hero h1 {
    font-size: 38px;
  }

  .dmm-topic-hero-copy > p {
    font-size: 13px;
  }

  .dmm-topic-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .dmm-topic-stats span {
    min-width: 0;
  }

  .dmm-topic-page-count {
    display: none;
  }

  .dmm-topic-pagination .prev,
  .dmm-topic-pagination .next {
    min-width: 39px;
    overflow: hidden;
    font-size: 0;
  }

  .dmm-topic-pagination .prev::before {
    content: "←";
    font-size: 12px;
  }

  .dmm-topic-pagination .next::before {
    content: "→";
    font-size: 12px;
  }

  .dmm-page .dmm-topic-intro h2 {
    font-size: 31px;
  }

  .dmm-other-topic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dmm-other-topic-grid a {
    min-height: 165px;
    padding: 17px;
  }

  .dmm-other-topic-grid strong {
    font-size: 15px;
  }

  .dmm-topic-news {
    padding: 68px 0 73px;
  }

  .dmm-topic-news-grid article {
    display: block;
  }

  .dmm-page .dmm-topic-news-grid h3 {
    margin-top: 7px;
  }

  .dmm-topic-news-grid article > span,
  .dmm-topic-news-grid article > a {
    grid-row: auto;
    grid-column: auto;
  }

  .dmm-topic-cta {
    padding: 52px 0;
  }

  .dmm-page .dmm-topic-cta h2 {
    font-size: 27px;
  }
}

.dmm-topic-index-list {
  padding-top: 100px;
  padding-bottom: 108px;
}

.dmm-topic-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.dmm-topic-index-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  color: #fff !important;
  background: linear-gradient(145deg, #0876b8, #43b7e5);
  border-radius: 19px;
  box-shadow: 0 14px 35px rgba(15, 92, 140, 0.13);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dmm-topic-index-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -75px;
  top: -75px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.035);
}

.dmm-topic-index-card:nth-child(6n + 2) { background: linear-gradient(145deg, #5051a7, #8588dd); }
.dmm-topic-index-card:nth-child(6n + 3) { background: linear-gradient(145deg, #14796f, #54bd9c); }
.dmm-topic-index-card:nth-child(6n + 4) { background: linear-gradient(145deg, #dc7f59, #f0b76c); }
.dmm-topic-index-card:nth-child(6n + 5) { background: linear-gradient(145deg, #174b83, #3f86c8); }
.dmm-topic-index-card:nth-child(6n) { background: linear-gradient(145deg, #7a4d91, #ba7fc5); }

.dmm-topic-index-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 21px 42px rgba(15, 92, 140, 0.2);
}

.dmm-topic-index-icon {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  font-size: 25px;
}

.dmm-topic-index-card > small {
  position: absolute;
  z-index: 2;
  top: 29px;
  right: 25px;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(0, 50, 84, 0.16);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.dmm-topic-index-card > strong {
  position: relative;
  z-index: 2;
  font-size: 21px;
  line-height: 1.25;
}

.dmm-topic-index-card > p {
  position: relative;
  z-index: 2;
  margin: 9px 0 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.65;
}

.dmm-topic-index-card > b {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-size: 9px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dmm-topic-index-card > b span {
  display: inline-block;
  margin-left: 3px;
  transition: transform 0.2s ease;
}

.dmm-topic-index-card:hover > b span {
  transform: translateX(4px);
}

.dmm-topic-index-intro {
  padding: 86px 0;
  background: #f3f9fd;
}

.dmm-topic-index-movies {
  padding-top: 100px;
  padding-bottom: 108px;
}

.dmm-topic-index-movie-grid {
  margin-top: 38px;
}

@media (max-width: 980px) {
  .dmm-topic-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .dmm-topic-index-list,
  .dmm-topic-index-movies {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .dmm-topic-index-intro {
    padding: 70px 0;
  }
}

@media (max-width: 560px) {
  .dmm-topic-index-grid {
    grid-template-columns: 1fr;
  }

  .dmm-topic-index-card {
    min-height: 235px;
    padding: 21px;
  }

  .dmm-topic-index-card > small {
    top: 25px;
    right: 21px;
  }
}
