/* Victoria Moretti – Sitemap (Editorial Index · weiss / Rose) */

.mr-sm-hero,
.mr-sm-body {
  --mr-sm-white: #ffffff;
  --mr-sm-rose: #b88992;
  --mr-sm-rose-soft: rgba(184, 137, 146, 0.45);
  --mr-sm-ink: #1a2a32;
  --mr-sm-text: #24343c;
  --mr-sm-text-muted: #4a5a62;
  --mr-sm-max: min(1120px, 92vw);
  --mr-sm-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --mr-sm-sans: "Montserrat", "Segoe UI", sans-serif;
  --mr-sm-script: "Great Vibes", "Segoe Script", cursive;
  color: var(--mr-sm-text);
  font-family: var(--mr-sm-sans);
}

/*
 * Seitenhintergrund: Theme nutzt global Elfenbein (#faf7f2).
 * Auf der Sitemap alles weiß – Header, Body, Elementor-Rahmen.
 */
body.mr-sitemap-page,
body:has(.mr-sm-hero),
body:has(.mr-sm-body) {
  background: #ffffff !important;
  background-image: none !important;
}

body.mr-sitemap-page .site-header,
body:has(.mr-sm-hero) .site-header,
body:has(.mr-sm-body) .site-header,
body.mr-sitemap-page #page,
body.mr-sitemap-page .site,
body.mr-sitemap-page .site-content,
body.mr-sitemap-page #content,
body.mr-sitemap-page .content-area,
body.mr-sitemap-page main,
body.mr-sitemap-page .elementor,
body.mr-sitemap-page .elementor-section,
body.mr-sitemap-page .elementor-container,
body.mr-sitemap-page .elementor-element,
body.mr-sitemap-page .elementor-widget-wrap,
body.mr-sitemap-page .elementor-widget-container,
body:has(.mr-sm-hero) .elementor-section,
body:has(.mr-sm-body) .elementor-section,
body:has(.mr-sm-hero) .elementor-container,
body:has(.mr-sm-body) .elementor-container,
body:has(.mr-sm-hero) .elementor-widget-wrap,
body:has(.mr-sm-body) .elementor-widget-wrap {
  background-color: #ffffff !important;
  background-image: none !important;
}

/* —— Hero (zentriert, ohne Bild / ohne Boxen) —— */

.mr-sm-hero {
  position: relative;
  background: var(--mr-sm-white);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.mr-sm-hero__content {
  position: relative;
  z-index: 1;
  width: min(46rem, 100%);
  margin: 0 auto;
  min-height: 0;
  padding: 0;
}

.mr-sm-hero__label {
  display: none;
}

.mr-sm-hero__title {
  margin: 0;
  font-family: var(--mr-sm-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mr-sm-ink);
}

.mr-sm-hero__sub {
  margin: 1rem auto 0;
  max-width: 42rem;
  font-family: var(--mr-sm-sans);
  font-size: clamp(0.62rem, 0.55rem + 0.2vw, 0.74rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--mr-sm-rose);
}

.mr-sm-hero__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(28rem, 88%);
  margin: 1.55rem auto 1.65rem;
  height: auto;
  background: none;
}

.mr-sm-hero__rule::before,
.mr-sm-hero__rule::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--mr-sm-rose);
  opacity: 0.85;
}

.mr-sm-hero__mono {
  flex: 0 0 auto;
  font-family: var(--mr-sm-serif);
  font-size: clamp(1.15rem, 1rem + 0.45vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--mr-sm-rose);
}

.mr-sm-hero__intro {
  margin: 0 auto;
  max-width: 44rem;
  font-family: var(--mr-sm-serif);
  font-size: clamp(1rem, 0.92rem + 0.28vw, 1.18rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--mr-sm-text-muted);
}

/* Legacy: Hero-Bild ausblenden (neues Editorial ohne Foto) */
.mr-sm-hero__image {
  display: none !important;
}

/* —— Raster —— */

.mr-sm-body {
  background: var(--mr-sm-white);
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem);
}

.mr-sm-grid {
  width: var(--mr-sm-max);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.75rem, 3.5vw, 3.25rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.mr-sm-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  box-shadow: none;
}

.mr-sm-card__head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--mr-sm-rose);
}

.mr-sm-card__no {
  display: inline;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--mr-sm-serif);
  font-size: clamp(1.55rem, 1.3rem + 0.55vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--mr-sm-ink);
  flex-shrink: 0;
}

.mr-sm-card__no::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 0.7rem;
  vertical-align: -0.08em;
  background: var(--mr-sm-rose);
}

.mr-sm-card__title {
  margin: 0;
  font-family: var(--mr-sm-sans);
  font-size: clamp(0.68rem, 0.62rem + 0.15vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--mr-sm-ink);
}

.mr-sm-group-title {
  margin: 0.95rem 0 0.4rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mr-sm-rose);
}

.mr-sm-group-title:first-child {
  margin-top: 0;
}

.mr-sm-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mr-sm-links li + li {
  margin-top: 0.28rem;
}

.mr-sm-link,
.mr-sm-text {
  display: inline-block;
  font-size: clamp(0.78rem, 0.74rem + 0.1vw, 0.86rem);
  line-height: 1.45;
  color: var(--mr-sm-text-muted);
}

.mr-sm-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.mr-sm-link:hover {
  color: var(--mr-sm-rose);
}

.mr-sm-brand {
  width: var(--mr-sm-max);
  max-width: 100%;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  text-align: center;
}

.mr-sm-brand__name {
  margin: 0;
  font-family: var(--mr-sm-serif);
  font-size: clamp(1.35rem, 1.1rem + 0.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mr-sm-ink);
}

.mr-sm-brand__script {
  margin: 0.55rem 0 0;
  font-family: var(--mr-sm-script);
  font-size: clamp(1.45rem, 1.2rem + 0.55vw, 1.95rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--mr-sm-rose);
}

.mr-sm-footer {
  width: var(--mr-sm-max);
  max-width: 100%;
  margin: 1.5rem auto 0;
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  font-size: 0.78rem;
  color: var(--mr-sm-text-muted);
  text-align: center;
}

/* Keine blauen Browser-Standardlinks */
.mr-sm-body a,
.mr-sm-hero a {
  color: inherit;
}

/* —— Responsive —— */

@media (max-width: 1100px) {
  .mr-sm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mr-sm-hero {
    padding-top: 2.5rem;
  }

  .mr-sm-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .mr-sm-card__head {
    gap: 0.55rem;
  }
}
