/*
 * Mandale Magazine 2026 — stylesheet
 * Version: 1.0.3
 * Loaded only on posts tagged "editorial-luxury" via mandale-magazine-2026.php
 * See: C:\Users\Alex\Desktop\estilo Mandale-Magazine.md
 *
 * MANUAL:
 *   - dorado primario: var(--gold)        #C5A059
 *   - dorado editor:   var(--gold-text)   #8A6A2F
 *   - dorado piloto:   var(--gold-pilot)  #BB9A6C
 *   - marfil:          var(--ivory)       #FAF7F1
 *   - tipografia:      Bodoni Moda (titulos) + Archivo (cuerpo)
 */

:root {
  --ink: #111111;
  --paper: #FFFFFF;
  --black: #0D0D0D;
  --ivory: #FAF7F1;
  --gold: #C5A059;
  --gold-text: #8A6A2F;
  --gold-pilot: #BB9A6C;
  --hair: rgba(17, 17, 17, .16);
  --gray: #8a8a8a;
  --bodoni: 'Bodoni Moda', Georgia, serif;
  --archivo: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.magazine-2026,
body.magazine-2026 .entry-content,
body.magazine-2026 .site-content {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--archivo);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== Reading progress ===== */
.mm-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--gold-pilot);
  z-index: 99; pointer-events: none;
}

/* ===== Top bar (opcional, presente en el piloto) ===== */
.mm-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4vw;
  transition: background .4s ease, box-shadow .4s ease;
}
.mm-topbar.solid {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--hair);
}
.mm-brand {
  font-family: var(--bodoni);
  font-size: 21px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #fff;
  transition: color .4s ease;
}
.mm-brand span {
  display: block;
  font-family: var(--archivo);
  font-weight: 300;
  font-size: 9px;
  letter-spacing: .5em;
  color: var(--gold-pilot);
  margin-top: 3px;
}
.mm-topbar.solid .mm-brand { color: var(--ink); }
.mm-nav {
  display: flex; gap: 26px;
  font-size: 10px; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  transition: color .4s ease;
}
.mm-topbar.solid .mm-nav { color: var(--ink); }
.mm-nav a { position: relative; padding-bottom: 4px; }
.mm-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold-pilot);
  transition: width .35s ease;
}
.mm-nav a:hover::after { width: 100%; }
@media (max-width: 820px) { .mm-nav { display: none; } }

/* ===== HERO: foto completa con texto a la izquierda ===== */
.mm-hero {
  position: relative;
  background: var(--black);
}
.mm-hero > img {
  width: 100%;
  height: auto;
}
.mm-hero .mm-shade {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 4, 6, .78),
    rgba(4, 4, 6, .42) 38%,
    transparent 62%
  );
}
.mm-hero-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5vw;
  max-width: 600px;
  color: #fff;
  padding-right: 4vw;
}
.mm-hero-kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.mm-hero-kicker i {
  font-style: normal;
  color: var(--gold-pilot);
  margin-right: 12px;
}
.mm-hero-text h1 {
  font-family: var(--bodoni);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  margin-bottom: 26px;
  color: #fff;
}
.mm-hero-text h1 em { font-style: italic; }
.mm-hero-dek {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 2.1;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 26px;
  max-width: 44ch;
}
.mm-hero-lede {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .88);
  max-width: 56ch;
}
.mm-hero-by {
  margin-top: 30px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.mm-hero-by b { font-weight: 400; color: #fff; }
.mm-hero-by i {
  font-style: normal;
  color: var(--gold-pilot);
  margin: 0 10px;
}

@media (max-width: 900px) {
  .mm-hero > img {
    min-height: 56vh;
    height: 56vh;
    object-fit: cover;
  }
  .mm-hero .mm-shade {
    background: linear-gradient(
      to top,
      rgba(4, 4, 6, .92),
      rgba(4, 4, 6, .3) 60%,
      transparent
    );
  }
  .mm-hero-text {
    position: static;
    transform: none;
    max-width: none;
    padding: 34px 6vw 44px;
    background: var(--black);
  }
  .mm-hero-lede { display: none; }
}

/* ===== Share ===== */
.mm-share {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px 30px;
  padding: 36px 6vw;
  font-size: 9.5px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gray);
}
.mm-share a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: .3s;
}
.mm-share a:hover { color: var(--gold-pilot); border-color: var(--gold-pilot); }

/* ===== Cuerpo ===== */
.mm-copy {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 6vw;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.95;
}
.mm-copy p { margin: 0 0 1.6em; }

/* Drop cap: aplica tanto si el .dc es hijo directo como si esta dentro de .mm-copy */
.mm-copy p.dc::first-letter,
p.mm-dc::first-letter {
  font-family: var(--bodoni);
  font-weight: 500;
  font-size: 4.4em;
  float: left;
  line-height: .82;
  padding: 8px 16px 0 0;
}

/* ===== Statement (cita editorial) ===== */
.mm-statement {
  max-width: 860px;
  margin: 56px auto;
  padding: 0 6vw;
  text-align: center;
}
.mm-statement .mm-rule {
  width: 64px;
  height: 1px;
  background: var(--gold-pilot);
  margin: 0 auto 28px;
}
.mm-statement p {
  font-family: var(--bodoni);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.32;
}
.mm-statement em { font-style: italic; }
.mm-statement .mm-attr {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ===== Section head ===== */
.mm-secthead {
  display: flex; align-items: center; gap: 26px;
  max-width: 860px;
  margin: 64px auto 18px;
  padding: 0 6vw;
}
.mm-secthead::before,
.mm-secthead::after {
  content: ""; flex: 1; height: 1px;
  background: var(--hair);
}
.mm-secthead span {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-pilot);
  white-space: nowrap;
}
.mm-sechead-title {
  font-family: var(--bodoni);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
  padding: 0 6vw;
  line-height: 1.15;
}
.mm-sechead-title em { font-style: italic; }

/* ===== Figuras ===== */
figure { margin: 0; }
.mm-copy + figure,
.mm-statement + figure { margin-top: 0; }
.mm-full figcaption,
.mm-duo figcaption,
.mm-quad figcaption,
.mm-banner figcaption {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 12px 6vw 0;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}
.mm-full figcaption .credit,
.mm-duo figcaption .credit,
.mm-banner figcaption .credit {
  letter-spacing: .22em;
  white-space: nowrap;
}

/* ===== Composiciones ===== */
.mm-full {
  width: 100%;
  margin: 56px 0;
}
.mm-full img { width: 100%; height: auto; }

.mm-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3vw;
  padding: 0 3vw;
  margin: 56px 0;
  align-items: start;
}
.mm-duo figcaption {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 720px) {
  .mm-duo { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .mm-duo figcaption { padding-left: 6vw; padding-right: 6vw; }
}

.mm-quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  margin: 56px 0;
}
.mm-quad figure {
  display: flex; flex-direction: column;
}
.mm-quad img {
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  object-fit: cover;
}
.mm-quad figcaption {
  padding: 10px 8px 0;
  justify-content: center;
  text-align: center;
}
@media (max-width: 900px) { .mm-quad { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mm-quad { grid-template-columns: 1fr; } }

.mm-show-label {
  text-align: center;
  font-size: 10px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-pilot);
  margin: 64px 0 16px;
}

.mm-banner {
  position: relative;
  width: 100%;
  margin: 56px 0;
}
.mm-banner img { width: 100%; height: auto; }
.mm-banner .mm-bveil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 4, 6, .72), transparent 42%);
}
.mm-banner figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 5vw 26px;
  color: rgba(255, 255, 255, .92);
}

/* ===== Divisor negro ===== */
.mm-divider {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 84px 6vw;
  margin: 64px 0 0;
}
.mm-divider .mm-outline {
  font-family: var(--bodoni);
  font-weight: 500;
  font-size: clamp(54px, 10vw, 150px);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .85);
  line-height: 1;
}
.mm-divider .mm-rule {
  width: 64px;
  height: 1px;
  background: var(--gold-pilot);
  margin: 30px auto 22px;
}
.mm-divider .mm-sub {
  font-family: var(--bodoni);
  font-size: clamp(20px, 2.4vw, 30px);
  font-style: italic;
}
.mm-divider .mm-copy-dark {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .82);
}

/* ===== Visiting card ===== */
.mm-visit {
  max-width: 860px;
  margin: 72px auto;
  border-top: 2px solid var(--gold-pilot);
  border-bottom: 2px solid var(--gold-pilot);
  padding: 52px clamp(20px, 5vw, 70px);
}
.mm-kicker {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-pilot);
}
.mm-visit .mm-kicker { display: block; text-align: center; }
.mm-visit h3 {
  font-family: var(--bodoni);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px);
  text-align: center;
  margin: 16px 0 32px;
}
.mm-visit .mm-rows {
  border-top: 1px solid var(--hair);
}
.mm-visit .mm-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13.5px;
}
.mm-visit .mm-row b {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gray);
  padding-top: 3px;
}
@media (max-width: 640px) {
  .mm-visit { margin: 56px 5vw; }
  .mm-visit .mm-row { grid-template-columns: 1fr; gap: 6px; }
}
.mm-btnrow { text-align: center; margin-top: 40px; }
.mm-btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  padding: 16px 42px 15px;
  border: 1px solid var(--ink);
  transition: .4s;
}
.mm-btn:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ===== Readmore / Newsletter / Related / Footer ===== */
.mm-readmore {
  max-width: 660px;
  margin: 64px auto;
  padding: 0 6vw;
  text-align: center;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.mm-readmore a {
  color: var(--gold-text);
  border-bottom: 1px solid var(--gold-text);
  padding-bottom: 4px;
}

.mm-news {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 80px 6vw;
  margin-top: 72px;
}
.mm-news h4 {
  font-family: var(--bodoni);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
}
.mm-news h4 em { font-style: italic; }
.mm-news p {
  max-width: 520px;
  margin: 18px auto 36px;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .75);
}
.mm-news .mm-btn {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.mm-news .mm-btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.mm-related {
  padding: 72px 5vw 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.mm-related .mm-secthead { padding: 0; }
.mm-related .mm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 44px;
}
@media (max-width: 820px) { .mm-related .mm-grid { grid-template-columns: 1fr; } }
.mm-card img { margin-bottom: 16px; }
.mm-card .cat {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-pilot);
}
.mm-card h5 {
  font-family: var(--bodoni);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
  margin-top: 9px;
}
.mm-card h5 em { font-style: italic; }

/* ===== Reveal on scroll ===== */
.mm-rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s ease, transform 1s ease;
}
.mm-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mm-rv { opacity: 1; transform: none; transition: none; }
}

/* Posts 2481, 2483, 2488 and 2503: readable scale for the full-bleed layout. */
body.postid-2481 .mm-copy,
body.postid-2483 .mm-copy,
body.postid-2488 .mm-copy,
body.postid-2503 .mm-copy {
  max-width: 860px;
  padding-left: 5vw;
  padding-right: 5vw;
  font-size: clamp(18px, 1.42vw, 20px);
  line-height: 1.8;
}
body.postid-2481 .mandale-quick-answer p,
body.postid-2483 .mandale-quick-answer p,
body.postid-2488 .mandale-quick-answer p,
body.postid-2503 .mandale-quick-answer p {
  font-size: 20px !important;
  line-height: 1.75 !important;
}
body.postid-2481 .mm-visit p,
body.postid-2481 .mm-visit li,
body.postid-2481 .mm-visit td,
body.postid-2481 .mm-visit th,
body.postid-2483 .mm-visit p,
body.postid-2483 .mm-visit li,
body.postid-2483 .mm-visit td,
body.postid-2483 .mm-visit th,
body.postid-2488 .mm-visit p,
body.postid-2488 .mm-visit li,
body.postid-2488 .mm-visit td,
body.postid-2488 .mm-visit th,
body.postid-2503 .mm-visit p,
body.postid-2503 .mm-visit li,
body.postid-2503 .mm-visit td,
body.postid-2503 .mm-visit th {
  font-size: 18px;
  line-height: 1.75;
}
body.postid-2481 .mm-hero-lede,
body.postid-2483 .mm-hero-lede,
body.postid-2488 .mm-hero-lede,
body.postid-2503 .mm-hero-lede { font-size: 17px; }
body.postid-2481 .mm-hero-dek,
body.postid-2483 .mm-hero-dek,
body.postid-2488 .mm-hero-dek,
body.postid-2503 .mm-hero-dek { font-size: 13px; }
body.postid-2481 figure figcaption,
body.postid-2483 figure figcaption,
body.postid-2488 figure figcaption,
body.postid-2503 figure figcaption {
  font-size: 11.5px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  body.postid-2481 .mm-copy,
  body.postid-2483 .mm-copy,
  body.postid-2488 .mm-copy,
  body.postid-2503 .mm-copy {
    padding-left: 6vw;
    padding-right: 6vw;
    font-size: 18px;
    line-height: 1.78;
  }
  body.postid-2481 .mandale-quick-answer p,
  body.postid-2483 .mandale-quick-answer p,
  body.postid-2488 .mandale-quick-answer p,
  body.postid-2503 .mandale-quick-answer p {
    font-size: 19px !important;
  }
}
