.montoport-single-post {
  width: 100%;
  background: #fff;
  padding: 0 0 80px;
}

.montoport-single-post__banner-wrap {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.montoport-single-post__banner {
  height: clamp(520px, 68vh, 760px);
  max-height: 760px;
}

.montoport-single-post__banner--no-image {
  background: #54585a;
}

.montoport-single-post__banner .overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.42) 45%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

.montoport-single-post__banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(92vw, 820px);
  padding: 0 24px;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-sizing: border-box;
}

/* Post page only: override mix-hero h1 positioning and typography */
body.single-post .montoport-single-post .mix-hero .slide h1 {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.3px;
  text-align: center;
  pointer-events: none;
}

.montoport-single-post__banner-date {
  margin: 0 0 28px;
  color: #fff;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 10px;
  font-weight: 350;
  line-height: normal;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.montoport-single-post__article {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 0;
  box-sizing: border-box;
}

/* Content area */
.montoport-single-post__content-wrap {
  width: 100%;
  padding: 0 0 48px;
  box-sizing: border-box;
}

.montoport-single-post__content {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  color: #54585a;
  text-align: left;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 14px;
  font-weight: 350;
  line-height: 1.7;
}

/* Sections */
.montoport-single-post__section {
  margin: 0 0 40px;
}

.montoport-single-post__section-subtitle {
  margin: 0 0 12px;
  color: #98a4ae;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.montoport-single-post__section-title {
  margin: 0 0 20px;
  color: #00617f;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-weight: 400;
}

.montoport-single-post__section-title--h2 {
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
}

.montoport-single-post__section-title--h3,
.montoport-single-post__section-title--h4 {
  font-size: 20px;
  line-height: 1.3;
  text-align: left;
}

.montoport-single-post__section-media {
  margin: 0 0 24px;
}

.montoport-single-post__section-media img {
  display: block;
  width: 100%;
  height: auto;
}

.montoport-single-post__section-copy,
.montoport-single-post__description {
  color: #54585a;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.montoport-single-post__section-copy p,
.montoport-single-post__description p,
.montoport-single-post__content p {
  margin: 0 0 18px;
}

.montoport-single-post__section-copy ul,
.montoport-single-post__description ul,
.montoport-single-post__content ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.montoport-single-post__section-copy li,
.montoport-single-post__description li,
.montoport-single-post__content li {
  margin-bottom: 8px;
}

/* Table of contents */
.montoport-single-post__toc {
  margin: 0 0 32px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #bec0c1;
  box-sizing: border-box;
}

.montoport-single-post__toc-title {
  display: block;
  margin: 0 0 20px;
  color: #00617f;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.33;
}

.montoport-single-post__toc-list {
  margin: 0;
  padding-left: 20px;
  color: #54585a;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.montoport-single-post__toc-link {
  color: #00617f;
  text-decoration: underline;
}

.montoport-single-post__toc-link:hover {
  color: #54585a;
}

/* Typography inside content */
.montoport-single-post__content h2,
.montoport-single-post__section-copy h2 {
  margin: 36px 0 16px;
  color: #00617f;
  text-align: center;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.montoport-single-post__content h3,
.montoport-single-post__section-copy h3,
.montoport-single-post__content h4,
.montoport-single-post__section-copy h4 {
  margin: 28px 0 14px;
  color: #00617f;
  text-align: left;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

.montoport-single-post__content a,
.montoport-single-post__section-copy a,
.montoport-single-post__description a {
  color: #00617f;
  text-decoration: underline;
}

.montoport-single-post__content a:hover,
.montoport-single-post__section-copy a:hover,
.montoport-single-post__description a:hover {
  color: #54585a;
}

.montoport-single-post__content blockquote,
.montoport-single-post__section-copy blockquote {
  text-align: left;
}

/* Related articles */
.montoport-single-post__related {
  margin-top: 64px;
  padding: 0;
  box-sizing: border-box;
}

.montoport-single-post__related-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.montoport-single-post__related-title {
  margin: 0 0 30px;
  color: #00617f;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.montoport-single-post__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.montoport-single-post__related-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.montoport-single-post__related-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.14;
  position: relative;
}

.montoport-single-post__related-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}

.montoport-single-post__related-body {
  padding-top: 20px;
}

.montoport-single-post__related-card-title {
  margin: 0 0 10px;
  color: #2a2a2a;
  font-family: "Berlingske Serif", "Times New Roman", Times, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

.montoport-single-post__related-card-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.montoport-single-post__related-card-title a:hover {
  color: #00617f;
}

.montoport-single-post__related-excerpt {
  margin: 0 0 14px;
  color: #6b6b6b;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 13px;
  font-weight: 325;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.montoport-single-post__related-cta {
  display: inline-flex;
  margin-top: 8px;
  padding: 13px 28px;
  background: #00617a;
  color: #fff;
  text-decoration: none;
  font-family: "Gotham", "Ghotam", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.montoport-single-post__related-cta:hover {
  background: #98a4ae;
  color: #fff;
}

@media (max-width: 1024px) {
  .montoport-single-post__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .montoport-single-post__article {
    padding: 40px 16px 0;
  }

  .montoport-single-post__banner {
    height: clamp(360px, 62vw, 520px);
    max-height: 520px;
  }

  .montoport-single-post__banner-text {
    width: min(94vw, 640px);
    padding: 0 16px;
  }

  .montoport-single-post__banner-date {
    margin-bottom: 20px;
  }

  body.single-post .montoport-single-post .mix-hero .slide h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .montoport-single-post__section-title--h2 {
    font-size: 22px;
  }

  .montoport-single-post__related-grid {
    grid-template-columns: 1fr;
  }
}
