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

.dmm-post-hero {
  position: relative;
  overflow: hidden;
  padding: 135px 0 118px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.15) 0 2px, transparent 3px),
    linear-gradient(128deg, #076aa9 0%, #128fd2 52%, #54bce8 100%);
  background-size: 92px 92px, 100% 100%;
}

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

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

.dmm-post-bubble-one {
  width: 560px;
  height: 560px;
  right: -210px;
  top: -270px;
  box-shadow: inset 0 0 0 58px rgba(255, 255, 255, 0.025), inset 0 0 0 118px rgba(255, 255, 255, 0.025);
}

.dmm-post-bubble-two {
  width: 270px;
  height: 270px;
  left: -135px;
  bottom: -150px;
  box-shadow: inset 0 0 0 35px rgba(255, 255, 255, 0.03);
}

.dmm-post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
}

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

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

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

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

.dmm-post-category-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
}

.dmm-post-category-list a,
.dmm-post-category-list span {
  padding: 6px 11px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dmm-page .dmm-post-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(39px, 5vw, 64px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -2.7px;
  text-transform: none;
}

.dmm-post-lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 15px;
  line-height: 1.75;
}

.dmm-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 27px;
}

.dmm-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(6, 68, 108, 0.2);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
}

.dmm-post-meta svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dmm-post-featured-wrap {
  position: relative;
  z-index: 3;
  max-width: 1020px;
  margin-top: -66px;
}

.dmm-post-featured {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  margin: 0;
  background: #dceef8;
  border: 8px solid #fff;
  border-radius: 26px;
  box-shadow: 0 24px 65px rgba(18, 69, 102, 0.18);
}

.dmm-post-featured img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dmm-post-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: 65px;
  padding-top: 75px;
  padding-bottom: 105px;
}

.dmm-post-layout-no-image {
  padding-top: 92px;
}

.dmm-post-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 24px;
}

.dmm-post-toc {
  overflow: hidden;
  background: #f5fbff;
  border: 1px solid #dcecf6;
  border-radius: 16px;
}

.dmm-post-toc[hidden] {
  display: none;
}

.dmm-toc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 17px;
  color: var(--dmm-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.dmm-toc-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dmm-toc-toggle i {
  color: var(--dmm-blue);
  font-size: 13px;
  font-style: normal;
}

.dmm-toc-toggle b {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--dmm-blue-dark);
  background: #fff;
  border-radius: 50%;
  font-size: 14px;
}

.dmm-post-toc nav {
  max-height: 410px;
  overflow: auto;
  padding: 0 17px 17px;
  border-top: 1px solid #e3eff7;
}

.dmm-post-toc.is-collapsed nav {
  display: none;
}

.dmm-post-toc ol {
  display: grid;
  gap: 3px;
  margin: 13px 0 0;
  padding: 0;
  counter-reset: dmm-toc;
  list-style: none;
}

.dmm-post-toc li {
  margin: 0;
  counter-increment: dmm-toc;
}

.dmm-post-toc a {
  position: relative;
  display: block;
  padding: 7px 6px 7px 25px;
  color: #5f7585 !important;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.dmm-post-toc a::before {
  content: counter(dmm-toc) ".";
  position: absolute;
  left: 5px;
  color: #9aabb7;
}

.dmm-post-toc li.is-h3 a {
  padding-left: 37px;
  font-weight: 550;
}

.dmm-post-toc li.is-h3 a::before {
  left: 18px;
}

.dmm-post-toc a:hover,
.dmm-post-toc a.is-active {
  color: var(--dmm-blue-dark) !important;
  background: #fff;
}

.dmm-post-side-movies {
  padding: 20px 18px 13px;
  background: #fff;
  border: 1px solid var(--dmm-line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 70, 105, 0.07);
}

.dmm-page .dmm-post-side-movies h2 {
  margin: 3px 0 13px;
  color: var(--dmm-navy);
  font-size: 21px;
  letter-spacing: -0.6px;
  text-transform: none;
}

.dmm-post-side-movies > a {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #eef3f6;
}

.dmm-post-side-movies img,
.dmm-side-movie-placeholder {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  object-fit: cover;
  color: #fff;
  background: linear-gradient(145deg, #0d82c9, #61c4e9);
  border-radius: 10px;
}

.dmm-side-movie-placeholder svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.dmm-post-side-movies a > span:last-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.dmm-post-side-movies b {
  overflow: hidden;
  color: var(--dmm-navy);
  font-size: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dmm-post-side-movies small {
  color: #8a9aa6;
  font-size: 8px;
}

.dmm-post-article {
  min-width: 0;
}

.dmm-post-content {
  color: #465f72;
  font-size: 16px;
  line-height: 1.85;
}

.dmm-post-content > *:first-child {
  margin-top: 0;
}

.dmm-post-content p {
  margin: 0 0 21px;
}

.dmm-page .dmm-post-content h2,
.dmm-page .dmm-post-content h3,
.dmm-page .dmm-post-content h4 {
  scroll-margin-top: 25px;
  color: var(--dmm-navy);
  text-transform: none;
}

.dmm-page .dmm-post-content h2 {
  margin: 47px 0 19px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dmm-line);
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.25;
  letter-spacing: -1px;
}

.dmm-page .dmm-post-content h3 {
  margin: 34px 0 14px;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.dmm-page .dmm-post-content h4 {
  margin: 27px 0 12px;
  font-size: 19px;
}

.dmm-post-content a {
  color: var(--dmm-blue-dark) !important;
  text-decoration: underline;
  text-decoration-color: #9bcce9;
  text-underline-offset: 3px;
}

.dmm-post-content strong {
  color: #263f52;
}

.dmm-post-content ul,
.dmm-post-content ol {
  margin: 0 0 24px;
  padding-left: 25px;
}

.dmm-post-content li {
  margin-bottom: 9px;
  padding-left: 3px;
}

.dmm-post-content img {
  height: auto;
  margin: 15px 0 24px;
  border-radius: 17px;
}

.dmm-post-content figure {
  max-width: 100%;
  margin: 27px 0;
}

.dmm-post-content figcaption {
  margin-top: -13px;
  color: #8a9aa6;
  font-size: 10px;
  font-style: italic;
  text-align: center;
}

.dmm-post-content blockquote {
  position: relative;
  margin: 30px 0;
  padding: 23px 25px 23px 29px;
  color: var(--dmm-navy);
  background: #f0f9fe;
  border: 0;
  border-left: 4px solid var(--dmm-blue);
  border-radius: 0 14px 14px 0;
  font-size: 15px;
  font-style: normal;
}

.dmm-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.dmm-post-content table {
  width: 100%;
  margin: 27px 0;
  overflow: hidden;
  border: 1px solid #dbe8ef;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  font-size: 13px;
}

.dmm-post-content th,
.dmm-post-content td {
  padding: 12px 14px;
  border: 0;
  border-right: 1px solid #e4edf2;
  border-bottom: 1px solid #e4edf2;
  text-align: left;
}

.dmm-post-content th {
  color: var(--dmm-navy);
  background: #eef8fe;
  font-weight: 800;
}

.dmm-post-content tr:last-child td,
.dmm-post-content tr:last-child th {
  border-bottom: 0;
}

.dmm-post-content tr > *:last-child {
  border-right: 0;
}

.dmm-post-content .wp-block-button__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 19px;
  color: #fff !important;
  background: var(--dmm-blue);
  border-radius: 10px;
  text-decoration: none;
}

.dmm-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 45px;
  padding-top: 24px;
  border-top: 1px solid var(--dmm-line);
  color: #7c8e9b;
  font-size: 10px;
}

.dmm-post-tags strong {
  margin-right: 3px;
  color: var(--dmm-navy);
}

.dmm-post-tags a {
  padding: 6px 9px;
  color: var(--dmm-blue-dark) !important;
  background: #eff9ff;
  border-radius: 999px;
}

.dmm-post-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  padding: 17px 19px;
  background: #f7fbfd;
  border: 1px solid #e3edf3;
  border-radius: 13px;
}

.dmm-post-share > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dmm-navy);
  font-size: 11px;
  font-weight: 800;
}

.dmm-post-share svg {
  width: 17px;
  fill: none;
  stroke: var(--dmm-blue);
  stroke-width: 1.8;
}

.dmm-post-share > div {
  display: flex;
  gap: 6px;
}

.dmm-post-share a,
.dmm-post-share button {
  padding: 7px 10px;
  color: #607484 !important;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 7px;
  cursor: pointer;
  font-size: 9px;
  font-weight: 750;
}

.dmm-post-share a:hover,
.dmm-post-share button:hover,
.dmm-post-share button.is-copied {
  color: #fff !important;
  background: var(--dmm-blue);
  border-color: var(--dmm-blue);
}

.dmm-post-author {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 45px;
  padding: 23px;
  background: linear-gradient(135deg, #edf9ff, #f9fdff);
  border: 1px solid #dceef7;
  border-radius: 17px;
}

.dmm-post-author img {
  width: 78px;
  height: 78px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(17, 83, 124, 0.13);
}

.dmm-post-author span {
  color: var(--dmm-blue);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dmm-page .dmm-post-author h2 {
  margin: 3px 0 6px;
  color: var(--dmm-navy);
  font-size: 20px;
  letter-spacing: -0.5px;
  text-transform: none;
}

.dmm-post-author p {
  margin: 0;
  color: #687e8e;
  font-size: 11px;
  line-height: 1.6;
}

.dmm-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.dmm-post-navigation a {
  min-height: 97px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 17px;
  background: #fff;
  border: 1px solid var(--dmm-line);
  border-radius: 13px;
}

.dmm-post-navigation a:last-child {
  text-align: right;
}

.dmm-post-navigation a:hover {
  border-color: #a9d7ef;
  box-shadow: 0 9px 25px rgba(17, 89, 132, 0.08);
}

.dmm-post-navigation span {
  color: var(--dmm-blue);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.dmm-post-navigation b {
  overflow: hidden;
  color: var(--dmm-navy);
  font-size: 11px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dmm-post-related {
  padding: 88px 0 95px;
  background: #f4faff;
}

.dmm-post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.dmm-post-related-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfebf2;
  border-radius: 17px;
  box-shadow: 0 12px 35px rgba(15, 78, 116, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dmm-post-related-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15, 78, 116, 0.12);
}

.dmm-related-post-image {
  height: 188px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88) !important;
  background: linear-gradient(145deg, #0e82c8, #65c7ea);
}

.dmm-related-post-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dmm-post-related-grid article:hover .dmm-related-post-image img {
  transform: scale(1.035);
}

.dmm-related-post-image svg {
  width: 49px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.dmm-post-related-grid article > div {
  padding: 20px;
}

.dmm-post-related-grid article > div > span {
  color: #8b9ba8;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.dmm-post-related-grid p {
  min-height: 51px;
  margin: 0 0 14px;
  color: #748896;
  font-size: 10px;
  line-height: 1.65;
}

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

.dmm-post-comments {
  padding: 85px 0;
  background: #fff;
}

.dmm-post-comments .comments-area {
  max-width: 780px;
  margin: 0 auto;
}

.dmm-post-comments .comments-title,
.dmm-post-comments .comment-reply-title {
  color: var(--dmm-navy);
  font-size: 27px;
  text-transform: none;
}

.dmm-post-comments .comment-list {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.dmm-post-comments .comment-body {
  margin-bottom: 15px;
  padding: 19px;
  background: #f8fbfd;
  border: 1px solid var(--dmm-line);
  border-radius: 13px;
}

.dmm-post-comments textarea,
.dmm-post-comments input[type="text"],
.dmm-post-comments input[type="email"],
.dmm-post-comments input[type="url"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8e5ec;
  border-radius: 10px;
  box-shadow: none;
}

.dmm-post-comments input[type="submit"] {
  padding: 11px 18px;
  color: #fff;
  background: var(--dmm-blue);
  border: 0;
  border-radius: 9px;
}

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

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

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

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

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

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

@media (max-width: 980px) {
  .dmm-post-layout {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 38px;
  }

  .dmm-post-related-grid {
    gap: 15px;
  }
}

@media (max-width: 760px) {
  .dmm-post-hero {
    padding: 112px 0 92px;
  }

  .dmm-page .dmm-post-hero h1 {
    font-size: 39px;
    letter-spacing: -1.7px;
  }

  .dmm-post-lead {
    font-size: 13px;
  }

  .dmm-post-featured-wrap {
    margin-top: -45px;
  }

  .dmm-post-featured {
    border-width: 5px;
    border-radius: 18px;
  }

  .dmm-post-layout,
  .dmm-post-layout-no-image {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 55px;
    padding-bottom: 75px;
  }

  .dmm-post-sidebar {
    position: static;
  }

  .dmm-post-side-movies {
    display: none;
  }

  .dmm-post-toc nav {
    max-height: none;
  }

  .dmm-post-content {
    font-size: 15px;
  }

  .dmm-page .dmm-post-content h2 {
    font-size: 28px;
  }

  .dmm-post-related-grid {
    grid-template-columns: 1fr;
  }

  .dmm-post-related-grid article {
    display: grid;
    grid-template-columns: 190px 1fr;
  }

  .dmm-related-post-image {
    height: 100%;
    min-height: 210px;
  }

  .dmm-page .dmm-post-related-grid h3,
  .dmm-post-related-grid p {
    min-height: 0;
  }

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

@media (max-width: 520px) {
  .dmm-post-hero {
    padding-top: 105px;
  }

  .dmm-post-breadcrumb {
    justify-content: flex-start;
  }

  .dmm-page .dmm-post-hero h1 {
    font-size: 34px;
  }

  .dmm-post-lead {
    line-height: 1.65;
  }

  .dmm-post-meta {
    gap: 6px;
  }

  .dmm-post-meta span {
    padding: 7px 8px;
    font-size: 8px;
  }

  .dmm-post-featured {
    aspect-ratio: 16 / 10.5;
  }

  .dmm-post-layout {
    gap: 27px;
  }

  .dmm-page .dmm-post-content h2 {
    margin-top: 39px;
    font-size: 25px;
  }

  .dmm-page .dmm-post-content h3 {
    font-size: 20px;
  }

  .dmm-post-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .dmm-post-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .dmm-post-share > div {
    width: 100%;
    flex-wrap: wrap;
  }

  .dmm-post-author {
    grid-template-columns: 62px 1fr;
    align-items: start;
    padding: 18px;
  }

  .dmm-post-author img {
    width: 62px;
    height: 62px;
  }

  .dmm-post-navigation {
    grid-template-columns: 1fr;
  }

  .dmm-post-navigation > span {
    display: none;
  }

  .dmm-post-navigation a:last-child {
    text-align: left;
  }

  .dmm-post-related {
    padding: 67px 0 72px;
  }

  .dmm-post-related-grid article {
    display: block;
  }

  .dmm-related-post-image {
    height: 185px;
    min-height: 0;
  }

  .dmm-post-comments {
    padding: 65px 0;
  }

  .dmm-post-cta {
    padding: 53px 0;
  }

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