/* Page-specific styles for Model Release Management */

.mrm-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

/* Typography */
.mrm-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #03213D;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.mrm-hero__eyebrow {
  font-size: 1.25rem;
  color: #425d6c;
  font-weight: 600;
  margin-bottom: 2rem;
}

.mrm-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  color: #03213D;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.mrm-body-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #03213D;
  margin-bottom: 2rem;
}

.mrm-body-text p {
  margin-bottom: 1.25rem;
}

/* CTA Styling */
.mrm-cta {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mrm-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hero Section */
.mrm-hero {
  padding: 5rem 0;
  background-color: #FFFFFF;
}

.mrm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 4rem;
  align-items: center;
}

.mrm-hero__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #03213D;
}

.mrm-hero__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Split Section */
.mrm-split {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.mrm-split__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem;
  align-items: center;
}

.mrm-split__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* Full Width Section */
.mrm-full-width {
  padding: 6rem 0;
  background-color: #E2EEF4;
}

.mrm-full-width__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mrm-full-width__action {
  margin-top: 2.5rem;
}

/* PW-05: bounded copy/link alignment, not a replacement page layout. */
main .mrm-hero__title, main .mrm-heading { overflow-wrap: anywhere; hyphens: auto; }
main .mrm-hero__content, main .mrm-split__content { min-width: 0; }
main .mrm-related-link { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 8px 0; color: #03213D; font-weight: 600; line-height: 1.6; text-underline-offset: 4px; }
main .mrm-full-width__action { display: flex; flex-direction: column; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  main .mrm-cta { transition: none; }
  main .mrm-cta:hover { transform: none; }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .mrm-hero__grid,
  .mrm-split__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mrm-hero__content {
    order: 1;
  }

  .mrm-hero__media {
    order: 2;
  }

  .mrm-split__media {
    order: 2;
  }

  .mrm-split__content {
    order: 1;
  }

  .mrm-hero__title {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {

  .mrm-hero, .mrm-split, .mrm-full-width {
    padding: 4rem 0;
  }

  .mrm-hero__title {
    font-size: 2rem;
  }

  .mrm-heading {
    font-size: 1.75rem;
  }
}
