.marko-private-house-montage-page .entry-content,
.marko-private-house-montage-page .site-main,
.marko-private-house-montage-page main {
  overflow: visible;
}

.marko-private-montage {
  --pm-blue: #165582;
  --pm-action: #1e79b7;
  --pm-dark: #102f49;
  --pm-text: #172432;
  --pm-muted: #526b7d;
  --pm-soft: #eef6fb;
  --pm-border: #c9dbe7;
  --pm-focus: #b46200;
  box-sizing: border-box;
  width: min(1120px, calc(100% - 40px));
  margin: 24px auto 72px;
  color: var(--pm-text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
}

.marko-private-montage *,
.marko-private-montage *::before,
.marko-private-montage *::after {
  box-sizing: border-box;
}

.marko-private-montage :where(h1, h2, h3, p, ul, ol, figure) {
  margin-top: 0;
}

.marko-private-montage h1,
.marko-private-montage h2,
.marko-private-montage h3,
.marko-private-montage [role="heading"] {
  color: var(--pm-dark);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  text-wrap: balance;
}

.marko-private-montage h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.marko-private-montage h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.marko-private-montage h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
}

.marko-private-montage p:last-child,
.marko-private-montage li:last-child,
.marko-private-montage figure:last-child {
  margin-bottom: 0;
}

.marko-private-montage a,
.marko-private-montage a:visited {
  color: var(--pm-blue);
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.marko-private-montage a:hover,
.marko-private-montage a:focus,
.marko-private-montage a:active {
  color: var(--pm-action);
}

.marko-private-montage :where(a, [tabindex]):focus-visible {
  outline: 3px solid var(--pm-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.marko-private-montage__eyebrow {
  margin-bottom: 12px;
  color: var(--pm-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.marko-private-montage__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--pm-border);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfe 52%, #eaf4fa 100%);
  box-shadow: 0 18px 48px rgba(16, 47, 73, 0.1);
}

.marko-private-montage__hero-copy {
  align-self: center;
}

.marko-private-montage__lead {
  max-width: 770px;
  margin: 24px 0 16px;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.marko-private-montage__hero-note {
  align-self: stretch;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: var(--pm-dark);
  color: #fff;
}

.marko-private-montage__hero-note .marko-private-montage__eyebrow {
  color: #9fd9ff;
}

.marko-private-montage__note-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.marko-private-montage__hero-note ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.marko-private-montage__hero-note li {
  position: relative;
  padding-left: 28px;
}

.marko-private-montage__hero-note li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #65b5e5;
  content: "";
}

.marko-private-montage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.marko-private-montage__button,
.marko-private-montage__button:visited {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--pm-blue);
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.marko-private-montage a.marko-private-montage__button--primary,
.marko-private-montage a.marko-private-montage__button--primary:visited {
  background: var(--pm-blue);
  color: #fff;
}

.marko-private-montage a.marko-private-montage__button--primary:hover,
.marko-private-montage a.marko-private-montage__button--primary:focus,
.marko-private-montage a.marko-private-montage__button--primary:active {
  border-color: var(--pm-action);
  background: var(--pm-action);
  color: #fff;
}

.marko-private-montage a.marko-private-montage__button--secondary,
.marko-private-montage a.marko-private-montage__button--secondary:visited {
  background: #fff;
  color: var(--pm-blue);
}

.marko-private-montage a.marko-private-montage__button--secondary:hover,
.marko-private-montage a.marko-private-montage__button--secondary:focus,
.marko-private-montage a.marko-private-montage__button--secondary:active {
  border-color: var(--pm-action);
  color: var(--pm-action);
}

.marko-private-montage__section,
.marko-private-montage .marko-seo-cluster-links {
  margin-top: clamp(52px, 7vw, 84px);
}

.marko-private-montage__section--soft {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  background: var(--pm-soft);
}

.marko-private-montage__prose {
  max-width: 850px;
}

.marko-private-montage__variant-grid,
.marko-private-montage__proof-grid,
.marko-private-montage__related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.marko-private-montage__variant-grid article,
.marko-private-montage__preflight-grid article,
.marko-private-montage__process-grid li,
.marko-private-montage__faq-item,
.marko-private-montage__proof-grid a,
.marko-private-montage__related-grid a {
  border: 1px solid var(--pm-border);
  border-radius: 14px;
  background: #fff;
}

.marko-private-montage__variant-grid article {
  position: relative;
  min-height: 210px;
  padding: 28px;
}

.marko-private-montage__variant-grid [role="heading"],
.marko-private-montage__preflight-grid [role="heading"] {
  margin-bottom: 10px;
  padding-right: 42px;
  font-size: 21px;
  line-height: 1.3;
}

.marko-private-montage__index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--pm-action);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.marko-private-montage__inline-cta {
  margin-top: 24px;
}

.marko-private-montage__inline-cta a,
.marko-private-montage__inline-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 800;
}

.marko-private-montage__preflight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.marko-private-montage__preflight-grid article {
  min-height: 180px;
  padding: 24px;
}

.marko-private-montage__process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.marko-private-montage__process-grid li {
  min-height: 286px;
  padding: 22px;
}

.marko-private-montage__process-grid li > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--pm-blue);
  color: #fff;
  font-weight: 800;
}

.marko-private-montage__process-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--pm-dark);
  font-size: 19px;
  line-height: 1.35;
}

.marko-private-montage__scope-wrap {
  max-width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--pm-border);
  border-radius: 14px;
  background: #fff;
  scrollbar-gutter: stable;
}

.marko-private-montage__scope table {
  width: 100%;
  min-width: 700px;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.marko-private-montage__scope th,
.marko-private-montage__scope td {
  padding: 17px 20px;
  border: 0;
  border-bottom: 1px solid var(--pm-border);
  text-align: left;
  vertical-align: top;
}

.marko-private-montage__scope th:first-child,
.marko-private-montage__scope td:first-child {
  width: 31%;
  color: var(--pm-dark);
  font-weight: 800;
}

.marko-private-montage__scope th {
  background: var(--pm-dark);
  color: #fff;
  font-size: 16px;
}

.marko-private-montage__scope tbody tr:last-child td {
  border-bottom: 0;
}

.marko-private-montage__inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
}

.marko-private-montage__case {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--pm-border);
  border-radius: 18px;
  background: #f7fbfe;
}

.marko-private-montage__media-feature,
.marko-private-montage__media-grid figure {
  overflow: hidden;
  border: 1px solid var(--pm-border);
  border-radius: 14px;
  background: #fff;
}

.marko-private-montage__media-feature {
  margin-top: 28px;
}

.marko-private-montage__media-feature a,
.marko-private-montage__media-grid a {
  display: block;
  color: inherit;
}

.marko-private-montage__media-feature img,
.marko-private-montage__media-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.marko-private-montage__media-feature p,
.marko-private-montage__media-grid figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: var(--pm-muted);
  font-size: 15px;
  line-height: 1.5;
}

.marko-private-montage__media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.marko-private-montage__media-grid figure {
  margin-bottom: 0;
}

.marko-private-montage__proof-grid a,
.marko-private-montage__related-grid a {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  color: var(--pm-blue);
  text-decoration: none;
}

.marko-private-montage__proof-grid a strong,
.marko-private-montage__related-grid a strong {
  color: inherit;
  font-size: 20px;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.marko-private-montage__proof-grid a span,
.marko-private-montage__related-grid a span {
  margin-top: 7px;
  color: var(--pm-muted);
}

.marko-private-montage__proof-grid a:hover,
.marko-private-montage__proof-grid a:focus,
.marko-private-montage__proof-grid a:active,
.marko-private-montage__related-grid a:hover,
.marko-private-montage__related-grid a:focus,
.marko-private-montage__related-grid a:active {
  border-color: var(--pm-action);
  color: var(--pm-action);
}

.marko-private-montage__proof-grid a:hover strong,
.marko-private-montage__proof-grid a:focus strong,
.marko-private-montage__related-grid a:hover strong,
.marko-private-montage__related-grid a:focus strong {
  text-decoration-color: currentColor;
}

.marko-private-montage__faq-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.marko-private-montage__faq-item {
  padding: 24px 26px;
}

.marko-private-montage__final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(52px, 7vw, 84px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: 18px;
  background: var(--pm-dark);
  color: #fff;
}

.marko-private-montage__final h2,
.marko-private-montage__final .marko-private-montage__eyebrow {
  color: #fff;
}

.marko-private-montage__final .marko-private-montage__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.marko-private-montage a.marko-private-montage__button--light,
.marko-private-montage a.marko-private-montage__button--light:visited {
  border-color: #fff;
  background: #fff;
  color: var(--pm-dark);
}

.marko-private-montage a.marko-private-montage__button--ghost,
.marko-private-montage a.marko-private-montage__button--ghost:visited {
  border-color: #fff;
  background: transparent;
  color: #fff;
}

.marko-private-montage a.marko-private-montage__button--light:hover,
.marko-private-montage a.marko-private-montage__button--light:focus,
.marko-private-montage a.marko-private-montage__button--light:active,
.marko-private-montage a.marko-private-montage__button--ghost:hover,
.marko-private-montage a.marko-private-montage__button--ghost:focus,
.marko-private-montage a.marko-private-montage__button--ghost:active {
  border-color: #9fd9ff;
  background: #9fd9ff;
  color: var(--pm-dark);
}

@media (max-width: 1199px) {
  .marko-private-montage__hero,
  .marko-private-montage__final {
    grid-template-columns: 1fr;
  }

  .marko-private-montage__preflight-grid,
  .marko-private-montage__process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marko-private-montage__process-grid li {
    min-height: 230px;
  }

  .marko-private-montage__final .marko-private-montage__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 639px) {
  .marko-private-montage {
    width: min(100% - 24px, 1120px);
    margin-top: 14px;
    margin-bottom: 52px;
    font-size: 16px;
  }

  .marko-private-montage h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .marko-private-montage__hero,
  .marko-private-montage__section--soft,
  .marko-private-montage__case,
  .marko-private-montage__final {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .marko-private-montage__hero-note,
  .marko-private-montage__variant-grid article,
  .marko-private-montage__preflight-grid article,
  .marko-private-montage__process-grid li,
  .marko-private-montage__faq-item,
  .marko-private-montage__proof-grid a,
  .marko-private-montage__related-grid a {
    padding: 20px;
  }

  .marko-private-montage__variant-grid,
  .marko-private-montage__preflight-grid,
  .marko-private-montage__process-grid,
  .marko-private-montage__proof-grid,
  .marko-private-montage__related-grid,
  .marko-private-montage__media-grid {
    grid-template-columns: 1fr;
  }

  .marko-private-montage__variant-grid article,
  .marko-private-montage__preflight-grid article,
  .marko-private-montage__process-grid li {
    min-height: 0;
  }

  .marko-private-montage__actions {
    flex-direction: column;
  }

  .marko-private-montage__button {
    width: 100%;
  }

  .marko-private-montage__inline-links {
    flex-direction: column;
  }

  .marko-private-montage__scope-wrap {
    margin-right: -2px;
    margin-left: -2px;
  }
}

.marko-private-montage__final .marko-private-montage__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  width: min(100%, 320px);
  min-width: 280px;
}

.marko-private-montage__final .marko-private-montage__button {
  width: 100%;
}

@media (max-width: 1199px) {
  .marko-private-montage__final .marko-private-montage__actions {
    width: min(100%, 320px);
    min-width: 0;
  }
}

@media (max-width: 639px) {
  .marko-private-montage__final .marko-private-montage__actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marko-private-montage *,
  .marko-private-montage *::before,
  .marko-private-montage *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
