/* ══════════════════════════════════════════════════════════════════════
   Aluna Blocks — Sistema Global de Diseño
   Tokens de diseño y clases tipográficas reutilizables.

   Encolado en frontend + editor desde aluna-blocks.php.
   REGLA: Nunca redefinir estas reglas en el CSS de un bloque individual.
   Para ajustes de bloque, usar extensión:
     .wp-block-aluna-{slug} .aluna-h2 { margin-bottom: 0; }
   ══════════════════════════════════════════════════════════════════════ */

/* ── Ocultar título de página en posts 58 (Noticias) y 53 (Experiencias) ─── */
/* El título se gestiona desde el hero banner — no debe duplicarse */
.page-id-58 .wp-block-post-title,
.page-id-58 h1.entry-title,
.page-id-58 .page-title,
.page-id-53 .wp-block-post-title,
.page-id-53 h1.entry-title,
.page-id-53 .page-title,
.page-id-52 .wp-block-post-title,
.page-id-52 h1.entry-title,
.page-id-52 .page-title,
.page-id-54 .wp-block-post-title,
.page-id-54 h1.entry-title,
.page-id-54 .page-title,
.page-id-56 .wp-block-post-title,
.page-id-56 h1.entry-title,
.page-id-56 .page-title,
.page-id-55 .wp-block-post-title,
.page-id-55 h1.entry-title,
.page-id-55 .page-title,
.page-id-57 .wp-block-post-title,
.page-id-57 h1.entry-title,
.page-id-57 .page-title {
  display: none !important;
}
/* Eliminar gap entre secciones en páginas de diseño */
.page-id-52 .wp-block-group.alignfull,
.page-id-52 .alignfull,
.page-id-53 .wp-block-group.alignfull,
.page-id-53 .alignfull,
.page-id-58 .wp-block-group.alignfull,
.page-id-58 .alignfull,
.page-id-54 .wp-block-group.alignfull,
.page-id-54 .alignfull,
.page-id-56 .wp-block-group.alignfull,
.page-id-56 .alignfull,
.page-id-55 .wp-block-group.alignfull,
.page-id-55 .alignfull,
.page-id-57 .wp-block-group.alignfull,
.page-id-57 .alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
/* Gap override para bloques custom que no hereden el selector alignfull */
:root :where(.is-layout-flow) > .wp-block-aluna-experiencias,
:root :where(.is-layout-constrained) > .wp-block-aluna-experiencias,
:where(.wp-site-blocks) > .wp-block-aluna-experiencias {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Espacios page rebuilt with nested core blocks */
.aluna-spaces-page.alignfull,
.aluna-spaces-page {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.aluna-spaces-hero {
  overflow: hidden;
}

.aluna-spaces-hero .wp-block-cover__inner-container {
  width: 100%;
}

.aluna-spaces-hero-inner {
  width: min(100%, 1340px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 64px);
}

.aluna-spaces-hero-title {
  font-family: var(--aluna-font-display) !important;
  font-size: var(--aluna-text-hero) !important;
  font-weight: 300 !important;
  line-height: .82 !important;
  letter-spacing: -2px !important;
  color: var(--aluna-cream) !important;
  margin-bottom: 26px !important;
  max-width: 760px;
}

.aluna-spaces-hero-title em {
  color: var(--aluna-sand);
}

.aluna-spaces-hero-sub {
  max-width: 560px;
  margin-bottom: 0 !important;
}

.aluna-spaces-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(254, 252, 248, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--aluna-border);
}

.aluna-spaces-nav-inner {
  width: min(100%, 1340px);
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 64px);
}

.aluna-spaces-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aluna-spaces-nav-item .wp-block-button__link {
  padding: 10px 16px;
  border: 1px solid rgba(139, 126, 112, .16);
  background: rgba(255, 255, 255, .8);
  color: var(--aluna-text-sec);
  font-family: var(--aluna-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}

.aluna-spaces-nav-item .wp-block-button__link:hover {
  border-color: var(--aluna-taupe);
  color: var(--aluna-taupe);
}

.aluna-space-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.aluna-space-columns {
  width: min(100%, 1340px);
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px);
  gap: clamp(28px, 5vw, 72px);
}

.aluna-space-column {
  flex: 1 1 0;
}

.aluna-space-visual,
.aluna-space-copy {
  height: 100%;
}

.aluna-space-featured-image,
.aluna-space-gallery-image {
  margin-bottom: 0 !important;
}

.aluna-space-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.aluna-space-gallery {
  gap: 14px !important;
  margin-top: 16px !important;
}

.aluna-space-gallery > .wp-block-column {
  flex: 1 1 120px !important;
}

.aluna-space-gallery-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.aluna-space-tag {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--aluna-text-muted);
  margin-bottom: 20px !important;
}

.aluna-space-body {
  max-width: 560px;
  margin-bottom: 28px !important;
}

.aluna-space-specs {
  list-style: none;
  padding-left: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.aluna-space-specs li {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--aluna-text-sec);
  padding: 10px 14px;
  border: 1px solid var(--aluna-border-st);
  background: rgba(255, 255, 255, .55);
}

.aluna-space-actions {
  margin-top: 0 !important;
}

.aluna-space-button .wp-block-button__link,
.aluna-packages-cta-button .wp-block-button__link {
  padding: 14px 28px;
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  border: 1px solid var(--aluna-taupe);
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  text-decoration: none;
}

.aluna-space-button .wp-block-button__link:hover,
.aluna-packages-cta-button .wp-block-button__link:hover {
  background: var(--aluna-brown);
  border-color: var(--aluna-brown);
}

.aluna-packages-section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.aluna-packages-shell {
  width: min(100%, 1340px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.aluna-packages-title {
  max-width: 820px;
}

.aluna-packages-intro {
  max-width: 620px;
  margin-bottom: 34px !important;
}

.aluna-packages-grid {
  gap: 22px !important;
  align-items: stretch !important;
}

.aluna-package-column {
  display: flex;
}

.aluna-package-card {
  width: 100%;
  height: 100%;
  padding: 32px 28px;
  border: 1px solid var(--aluna-border);
  background: rgba(255, 255, 255, .82);
  display: flex;
  flex-direction: column;
}

.aluna-package-card--featured {
  background: var(--aluna-black);
  border-color: rgba(242, 230, 208, .18);
}

.aluna-package-badge,
.aluna-package-num {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-bottom: 14px !important;
}

.aluna-package-badge {
  color: var(--aluna-black);
  background: var(--aluna-cream);
  padding: 7px 10px;
  display: inline-block;
}

.aluna-package-num {
  color: var(--aluna-taupe);
}

.aluna-package-title {
  margin-bottom: 18px !important;
}

.aluna-package-list {
  margin: 0 0 28px;
  padding-left: 18px;
}

.aluna-package-list li {
  font-family: var(--aluna-font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--aluna-text-sec);
  margin-bottom: 8px;
}

.aluna-package-actions {
  margin-top: auto !important;
}

.aluna-package-button .wp-block-button__link {
  padding: 12px 22px;
  border: 1px solid var(--aluna-border-st);
  background: transparent;
  color: var(--aluna-text-sec);
  font-family: var(--aluna-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.aluna-package-button .wp-block-button__link:hover {
  border-color: var(--aluna-taupe);
  color: var(--aluna-taupe);
}

.aluna-package-card--featured .aluna-package-num,
.aluna-package-card--featured .aluna-package-title,
.aluna-package-card--featured .aluna-package-list li {
  color: var(--aluna-cream);
}

.aluna-package-card--featured .aluna-package-button .wp-block-button__link {
  background: var(--aluna-cream);
  border-color: var(--aluna-cream);
  color: var(--aluna-black);
}

.aluna-package-card--featured .aluna-package-button .wp-block-button__link:hover {
  background: var(--aluna-white);
  border-color: var(--aluna-white);
}

.aluna-packages-note {
  max-width: 100%;
  margin-top: 32px !important;
  margin-bottom: 24px !important;
}

.aluna-spaces-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1814 0%, #3a2c22 100%);
  padding: clamp(72px, 10vw, 128px) 0;
}

.aluna-spaces-cta::before {
  content: "ALUNA";
  position: absolute;
  right: clamp(20px, 6vw, 64px);
  bottom: clamp(16px, 4vw, 28px);
  font-family: var(--aluna-font-display);
  font-size: clamp(82px, 18vw, 240px);
  line-height: .8;
  color: rgba(242, 230, 208, .05);
  pointer-events: none;
}

.aluna-spaces-cta-shell {
  position: relative;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.aluna-spaces-cta-title {
  max-width: 680px;
}

.aluna-spaces-cta-copy {
  max-width: 520px;
  margin-bottom: 30px !important;
}

.aluna-spaces-cta-button .wp-block-button__link {
  padding: 14px 34px;
  background: var(--aluna-cream);
  color: var(--aluna-black);
  border: 1px solid var(--aluna-cream);
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  text-decoration: none;
}

.aluna-spaces-cta-button .wp-block-button__link:hover {
  background: var(--aluna-white);
  border-color: var(--aluna-white);
}

@media screen and (max-width: 782px) {
  .admin-bar .aluna-spaces-nav-wrap {
    top: 46px;
  }
}

@media screen and (min-width: 783px) {
  .admin-bar .aluna-spaces-nav-wrap {
    top: 32px;
  }
}

@media (max-width: 960px) {
  .aluna-space-columns,
  .aluna-packages-grid {
    flex-wrap: wrap !important;
  }

  .aluna-space-column,
  .aluna-package-column {
    flex-basis: 100% !important;
  }
}

@media (max-width: 700px) {
  .aluna-spaces-nav-wrap {
    position: static;
  }

  .aluna-spaces-nav-inner,
  .aluna-space-columns,
  .aluna-packages-shell,
  .aluna-spaces-cta-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .aluna-spaces-nav {
    gap: 10px;
  }

  .aluna-spaces-nav-item .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .aluna-space-gallery > .wp-block-column {
    flex-basis: calc(50% - 7px) !important;
  }

  .aluna-space-specs li,
  .aluna-space-button .wp-block-button__link,
  .aluna-package-button .wp-block-button__link,
  .aluna-packages-cta-button .wp-block-button__link,
  .aluna-spaces-cta-button .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

/* ── Contención de overflow + normalización de layout ────────────── */
/*
 * Los bloques alignfull usan margin negativo para romper el padding
 * del body (theme.json root padding = clamp(30px, 5vw, 50px)).
 * overflow-x: clip corta el overflow sin crear nuevo scroll container
 * (a diferencia de hidden, que rompería position:sticky).
 */
/* Para Marcas page rebuilt with nested core blocks */
.aluna-brands-hero-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--aluna-black);
}

.aluna-brands-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.aluna-brands-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #1c1814 0%, rgba(28, 24, 20, .7) 60%, rgba(28, 24, 20, .35) 100%);
  z-index: 1;
}

.aluna-brands-hero-image,
.aluna-brands-hero-image img {
  width: 100%;
  height: 100%;
  margin-bottom: 0 !important;
}

.aluna-brands-hero-image img {
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.78) saturate(.9);
}

.aluna-brands-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(72px, 8vw, 116px);
}

.aluna-brands-hero-content {
  max-width: 1152px;
}

.aluna-brands-hero-title {
  max-width: 760px;
}

.aluna-brands-hero-title em {
  color: var(--aluna-sand);
}

.aluna-brands-hero-sub {
  max-width: 520px;
}

.aluna-brands-stats-section {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(72px, 8vw, 116px) * -1) !important;
  padding-top: 0 !important;
  background: var(--aluna-black) !important;
}

.aluna-brands-stats-grid {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .06);
}

.aluna-brand-stat {
  background: var(--aluna-black);
  text-align: center;
  min-height: 236px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.aluna-brand-stat-num sup {
  font-size: 28px;
}

.aluna-brands-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
}


.aluna-brand-partners-title em {
  color: var(--aluna-taupe);
}

.aluna-brand-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 24px;
}

.aluna-brand-card {
  transition: box-shadow .25s ease, transform .25s ease;
  min-height: 391px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.aluna-brand-card:hover {
  box-shadow: 0 8px 40px rgba(139, 126, 112, .12);
  transform: translateY(-2px);
}

.aluna-brand-card-copy {
  margin-bottom: 24px !important;
}

.aluna-brand-card-link {
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.aluna-brand-card-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
  transition: color .2s ease;
}

.aluna-brand-card-link a:hover {
  color: var(--aluna-brown);
}

.aluna-brand-partners-actions {
  justify-content: center;
  margin-top: 44px;
}

.aluna-brand-partners-button .wp-block-button__link {
  padding: 14px 36px;
  border: none;
  border-radius: 0;
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.aluna-brand-partners-button .wp-block-button__link:hover,
.aluna-brand-partners-button .wp-block-button__link:focus {
  background: var(--aluna-brown);
  transform: translateY(-1px);
}

.aluna-brand-card-icon {
  display: block;
  width: 56px;
  height: 56px;
  min-width: 56px;
  max-width: 56px;
  border: 1px solid var(--aluna-border-st);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  background-color: transparent;
  opacity: 1;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
}

.aluna-brand-card-icon--institutions {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M4 21V8l8-5 8 5v13M9 21V15h6v6'/%3E%3C/svg%3E");
}

.aluna-brand-card-icon--companies {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='1'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M12 12v4M10 14h4'/%3E%3C/svg%3E");
}

.aluna-brand-card-icon--producers {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
}

.aluna-brand-card-icon--leagues {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M8 21v-2a4 4 0 0 1 8 0v2'/%3E%3Cpath d='M3 10h4M17 10h4M5 6l2.5 2.5M16.5 8.5 19 6M5 20l2.5-2.5M16.5 17.5 19 20'/%3E%3C/svg%3E");
}

.editor-styles-wrapper .aluna-brands-hero-wrap {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.editor-styles-wrapper .aluna-brands-hero-media {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

.editor-styles-wrapper .aluna-brands-hero-image,
.editor-styles-wrapper .aluna-brands-hero-image img {
  width: 100% !important;
  height: 100% !important;
  margin-bottom: 0 !important;
}

.editor-styles-wrapper .aluna-brands-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px) clamp(72px, 8vw, 116px) !important;
  display: block !important;
}

.editor-styles-wrapper .aluna-brands-hero-content {
  width: 100%;
  max-width: 1152px !important;
}

.editor-styles-wrapper .aluna-brands-hero-title {
  max-width: 760px !important;
}

.editor-styles-wrapper .aluna-brands-hero-sub {
  max-width: 520px !important;
}

.editor-styles-wrapper .aluna-brands-stats-section {
  position: relative;
  z-index: 3;
  margin-top: calc(clamp(72px, 8vw, 116px) * -1) !important;
  padding-top: 0 !important;
  background: var(--aluna-black) !important;
}

@media (max-width: 960px) {
  .aluna-brands-stats-grid,
  .aluna-brand-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .aluna-brands-hero-wrap {
    min-height: 54vh !important;
  }

  .aluna-brands-stats-section,
  .editor-styles-wrapper .aluna-brands-stats-section {
    margin-top: -24px !important;
  }

  .aluna-brands-hero-inner,
  .aluna-brands-shell,
  .aluna-brands-stats-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .aluna-brands-hero-title,
  .aluna-brands-hero-sub {
    max-width: 100%;
  }

  .aluna-brands-hero-inner,
  .editor-styles-wrapper .aluna-brands-hero-inner {
    padding-bottom: 52px !important;
  }

  .aluna-brands-hero-title,
  .editor-styles-wrapper .aluna-brands-hero-title {
    font-size: clamp(34px, 9.5vw, 52px) !important;
    line-height: 1 !important;
    letter-spacing: -.5px !important;
  }

  .aluna-brands-hero-sub,
  .editor-styles-wrapper .aluna-brands-hero-sub {
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
  }

  .aluna-brands-hero-content .aluna-eyebrow,
  .editor-styles-wrapper .aluna-brands-hero-content .aluna-eyebrow {
    font-size: 12px !important;
    letter-spacing: 3px !important;
    margin-bottom: 14px !important;
  }

  .aluna-brands-stats-grid,
  .aluna-brand-cards-grid {
    grid-template-columns: 1fr;
  }

  .aluna-brand-stat-num {
    font-size: 48px !important;
  }

  .aluna-brand-stat {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .aluna-brand-card-link {
    width: 100%;
  }

  .aluna-brand-partners-actions {
    margin-top: 32px;
  }

  .aluna-brand-partners-button,
  .aluna-brand-partners-button .wp-block-button__link {
    width: 100%;
  }

  .aluna-brand-partners-button .wp-block-button__link {
    justify-content: center;
  }
}

html { overflow-x: clip; }
body { overflow-x: clip; }

/*
 * Normalizar el contenedor <main> y wp-block-post-content para que
 * no agreguen padding lateral propio — las secciones internas
 * manejan su propio spacing con clamp().
 */
.wp-block-post-content.is-layout-default,
.wp-block-post-content.is-layout-flow {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Garantizar que el bloque custom noticias-grid sea realmente full-width
 * usando las mismas variables CSS que WordPress usa para alignfull */
.wp-block-aluna-noticias-grid.alignfull {
  margin-left: calc(var(--wp--style--root--padding-left, 0px) * -1);
  margin-right: calc(var(--wp--style--root--padding-right, 0px) * -1);
  width: calc(100% + var(--wp--style--root--padding-left, 0px) + var(--wp--style--root--padding-right, 0px));
  max-width: unset;
}

/* ── Tokens: Paleta ──────────────────────────────────────────────── */
:root {
  --aluna-cream:      #F2E6D0;
  --aluna-cream-lt:   #FBF5EC;
  --aluna-cream-dk:   #E8D8BF;
  --aluna-sand:       #D9C9A8;
  --aluna-taupe:      #8B7E70;
  --aluna-brown:      #6B5C4E;
  --aluna-black:      #1C1814;
  --aluna-white:      #FEFCF8;
  --aluna-text:       #2C2420;
  --aluna-text-sec:   #6B5C4E;
  --aluna-text-muted: #7A6C62;
  --aluna-border:     rgba(139,126,112,.18);
  --aluna-border-st:  rgba(139,126,112,.35);
}

/* ── Tokens: Fuentes ─────────────────────────────────────────────── */
:root {
  --aluna-font-display: 'Cormorant Garamond', serif;
  --aluna-font-body:    'Jost', sans-serif;
}

/* Gutenberg preset utility classes so saved block attributes render consistently. */
.has-aluna-display-font-family { font-family: var(--aluna-font-display) !important; }
.has-aluna-body-font-family { font-family: var(--aluna-font-body) !important; }
.has-aluna-label-font-size { font-size: 11px !important; }
.has-aluna-caption-font-size { font-size: 12px !important; }
.has-aluna-meta-font-size { font-size: 13px !important; }
.has-aluna-body-font-size { font-size: 16px !important; }
.has-aluna-h3-font-size,
.has-aluna-h-3-font-size { font-size: 18px !important; }
.has-aluna-quote-font-size { font-size: 24px !important; }
.has-aluna-lead-font-size { font-size: clamp(19px, 2.4vw, 25px) !important; }
.has-aluna-h2-font-size,
.has-aluna-h-2-font-size { font-size: clamp(25px, 3vw, 34px) !important; }
.has-aluna-pillar-font-size { font-size: 44px !important; }
.has-aluna-text-color { color: var(--aluna-text) !important; }
.has-aluna-text-sec-color { color: var(--aluna-text-sec) !important; }
.has-aluna-text-muted-color { color: var(--aluna-text-muted) !important; }
.has-aluna-black-color { color: var(--aluna-black) !important; }
.has-aluna-white-color { color: var(--aluna-white) !important; }
.has-aluna-taupe-color { color: var(--aluna-taupe) !important; }
.has-aluna-brown-color { color: var(--aluna-brown) !important; }
.has-aluna-black-background-color { background-color: var(--aluna-black) !important; }
.has-aluna-white-background-color { background-color: var(--aluna-white) !important; }
.has-aluna-cream-background-color { background-color: var(--aluna-cream) !important; }
.has-aluna-cream-lt-background-color { background-color: var(--aluna-cream-lt) !important; }

/* ── Tokens: Escala tipográfica ──────────────────────────────────── */
:root {
  --aluna-text-xs:   14px;
  --aluna-text-sm:   16px;
  --aluna-text-md:   20px;
  --aluna-text-lg:   22px;
  --aluna-text-xl:   28px;
  --aluna-text-2xl:  40px;
  --aluna-text-3xl:  60px;
  --aluna-text-hero: clamp(72px, 10.5vw, 150px);
}

/* ── Tokens: Line-heights ────────────────────────────────────────── */
:root {
  --aluna-lh-tight:  1.1;
  --aluna-lh-snug:   1.35;
  --aluna-lh-normal: 1.65;
  --aluna-lh-loose:  1.85;
}


/* ══════════════════════════════════════════════════════════════════════
   JERARQUÍA TIPOGRÁFICA
   ══════════════════════════════════════════════════════════════════════ */

/* ── Eyebrow ─────────────────────────────────────────────────────── */
/* Label sobre el título. Elemento <div> o <p>. Nunca <h*>. */
.aluna-eyebrow {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.aluna-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--aluna-taupe);
  flex-shrink: 0;
}
.aluna-eyebrow--lt              { color: rgba(242,230,208,.80); }
.aluna-eyebrow--lt::before      { background: rgba(242,230,208,.65); }

/* ── H2 — Título de sección ─────────────────────────────────────── */
.aluna-h2 {
  font-family: var(--aluna-font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  line-height: var(--aluna-lh-tight);
  color: var(--aluna-text);
  margin-bottom: 20px;
}
.aluna-h2 em                    { font-style: italic; color: var(--aluna-taupe); }
.aluna-h2.aluna-h2--lt          { color: var(--aluna-cream); }
.aluna-h2.aluna-h2--lt em       { color: var(--aluna-sand); }

/* ── H3 — Título de subsección / tarjeta ────────────────────────── */
.aluna-h3 {
  font-family: var(--aluna-font-display);
  font-size: var(--aluna-text-2xl);
  font-weight: 300;
  line-height: var(--aluna-lh-tight);
  color: var(--aluna-text);
  margin-bottom: 8px;
}
.aluna-h3.aluna-h3--lt          { color: var(--aluna-white); }

/* ── H4 — Título de componente ──────────────────────────────────── */
.aluna-h4 {
  font-family: var(--aluna-font-display);
  font-size: var(--aluna-text-xl);
  font-weight: 400;
  line-height: var(--aluna-lh-snug);
  color: var(--aluna-text);
}
.aluna-h4.aluna-h4--lt          { color: var(--aluna-white); }

/* ── Lead — Subtítulo itálico ────────────────────────────────────── */
.aluna-lead {
  font-family: var(--aluna-font-display);
  font-size: var(--aluna-text-md);
  font-weight: 300;
  font-style: italic;
  color: var(--aluna-text-sec);
  max-width: 560px;
  line-height: var(--aluna-lh-normal);
  margin-bottom: 52px;
}
.aluna-lead.aluna-lead--lt      { color: rgba(242,230,208,.80); }

/* ── Body — Párrafo largo ────────────────────────────────────────── */
.aluna-body {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-md);
  font-weight: 300;
  color: var(--aluna-text-sec);
  line-height: var(--aluna-lh-loose);
  margin-bottom: 40px;
  max-width: 440px;
}

/* ── Desc — Descripción corta de tarjeta ─────────────────────────── */
.aluna-desc {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 300;
  color: var(--aluna-text-muted);
  line-height: var(--aluna-lh-normal);
}

/* Variantes sobre fondo oscuro (hero) */
.aluna-body--lt { color: rgba(242, 230, 208, .85); }
.aluna-desc--lt { color: rgba(242, 230, 208, .70); }


/* ══════════════════════════════════════════════════════════════════════
   BOTONES
   Siempre <a href="…"> o <button>. Nunca <div> ni <span>.
   ══════════════════════════════════════════════════════════════════════ */

.aluna-btn,
.aluna-btn--fill,
.aluna-btn--cream,
.aluna-btn--ghost,
.aluna-btn--solid,
.aluna-btn--lg {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}

.aluna-btn {
  padding: 10px 22px;
  border: 1px solid var(--aluna-border-st);
  color: var(--aluna-text-sec);
  background: transparent;
}
.aluna-btn:hover { border-color: var(--aluna-taupe); color: var(--aluna-taupe); }

.aluna-btn--fill {
  padding: 10px 22px;
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  border: 1px solid var(--aluna-taupe);
}
.aluna-btn--fill:hover { background: var(--aluna-brown); border-color: var(--aluna-brown); }

.aluna-btn--cream {
  padding: 14px 36px;
  background: var(--aluna-cream);
  color: var(--aluna-black);
  border: none;
}
.aluna-btn--cream:hover { background: var(--aluna-white); }

.aluna-btn--ghost {
  padding: 14px 36px;
  background: transparent;
  color: var(--aluna-cream);
  border: 1px solid rgba(242,230,208,.4);
  font-weight: 400;
}
.aluna-btn--ghost:hover { border-color: var(--aluna-cream); }

.aluna-btn--solid {
  padding: 14px 36px;
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  border: none;
}
.aluna-btn--solid:hover { background: var(--aluna-brown); }

.aluna-btn--lg {
  padding: 18px 56px;
  background: var(--aluna-cream);
  color: var(--aluna-black);
  border: none;
}
.aluna-btn--lg:hover { background: var(--aluna-white); }

@media (max-width: 700px) {
  .aluna-btn,
  .aluna-btn--fill,
  .aluna-btn--cream,
  .aluna-btn--ghost,
  .aluna-btn--solid,
  .aluna-btn--lg {
    padding: 10px 22px;
    font-size: 12px;
    letter-spacing: 2px;
  }

  .aluna-eyebrow         { font-size: 11px; letter-spacing: 2px; }
  .aluna-eyebrow::before { display: none; }

  .aluna-lead            { font-size: 16px; }
}


/* ══════════════════════════════════════════════════════════════════════
   NEWSLETTER / SUSCRIPCIÓN  (nsl)
   Prefijo: .nsl-   Fondo: --aluna-cream-dk (#E8D8BF)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Eyebrow centrado en contexto newsletter ─────────────────────── */
.nsl-eyebrow {
  justify-content: center;
  margin-bottom: 28px;
}

/* ── Título de la sección ────────────────────────────────────────── */
.nsl-heading {
  text-align: center;
  margin-bottom: 14px !important;
}

/* ── Subtítulo / descripción ─────────────────────────────────────── */
.nsl-sub {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 300;
  color: var(--aluna-text-muted);
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

/* ── Formulario inline ───────────────────────────────────────────── */
.nsl-form {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
}

.nsl-input {
  flex: 1;
  min-width: 0;
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 300;
  padding: 14px 20px;
  border: 1px solid var(--aluna-border-st);
  border-right: none;
  background: var(--aluna-white);
  color: var(--aluna-text);
  outline: none;
  transition: border-color .2s;
}

.nsl-input::placeholder {
  color: var(--aluna-text-muted);
}

.nsl-input:focus {
  border-color: var(--aluna-taupe);
}

.nsl-btn {
  font-family: var(--aluna-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 14px 28px;
  background: var(--aluna-brown);
  color: var(--aluna-white);
  border: none;
  cursor: pointer;
  transition: background .2s;
  line-height: 1;
}

.nsl-btn:hover {
  background: var(--aluna-black);
}

/* ── Mensaje de confirmación / error ─────────────────────────────── */
.nsl-msg {
  text-align: center;
  margin-top: 14px;
  font-family: var(--aluna-font-body);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--aluna-taupe);
  min-height: 20px;
}

.nsl-msg--ok    { color: var(--aluna-taupe); }
.nsl-msg--error { color: #b94a48; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Heading más contenido en pantallas angostas */
  .nsl-heading.aluna-h2,
  .nsl-heading {
    font-size: clamp(28px, 7.5vw, 44px);
  }

  .nsl-form {
    flex-direction: column;
    gap: 8px;
  }

  .nsl-input {
    border-right: 1px solid var(--aluna-border-st);
  }

  .nsl-btn {
    padding: 14px 24px;
    text-align: center;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   FOOTER — .aluna-ftr
   Estilos globales para el footer del sitio.
   Se aplica al template part "footer" del FSE.
   ══════════════════════════════════════════════════════════════════════ */

.aluna-ftr {
  background: var(--aluna-black) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Main grid: 4 columns (2.2fr 1fr 1fr 1fr) ───────────────────── */
.aluna-ftr-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 64px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 52px;
  border-bottom: 1px solid rgba(242,230,208,.18);
}

/* ── Branding column ─────────────────────────────────────────────── */
.aluna-ftr-name {
  font-family: var(--aluna-font-body);
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--aluna-cream);
  margin: 0 0 3px;
  line-height: 1.3;
}

.aluna-ftr-sub {
  font-family: var(--aluna-font-body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242,230,208,.58);
  margin: 0 0 18px;
}

.aluna-ftr-tag {
  font-family: var(--aluna-font-display);
  font-size: 17px;
  font-style: italic;
  color: rgba(242,230,208,.68);
  margin: 0 0 22px;
}

/* ── Info rows ───────────────────────────────────────────────────── */
.aluna-ftr-info {
  margin: 20px 0 24px;
}

.aluna-ftr-info-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.aluna-ftr-info-lbl {
  font-family: var(--aluna-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(242,230,208,.52);
  margin-bottom: 2px;
}

.aluna-ftr-info-val {
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(242,230,208,.78);
  line-height: 1.4;
}

.aluna-ftr-info-val em {
  font-family: var(--aluna-font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--aluna-taupe);
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

.aluna-ftr-nota {
  font-family: var(--aluna-font-display);
  font-size: 16px;
  font-style: italic;
  color: rgba(242,230,208,.58);
  margin-top: 4px;
}

.aluna-ftr-fontana {
  width: min(100%, 284px);
  margin: 20px 0 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(242,230,208,.14);
  background: linear-gradient(145deg, rgba(242,230,208,.06) 0%, rgba(242,230,208,.015) 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.aluna-ftr-fontana-kicker {
  font-family: var(--aluna-font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242,230,208,.5);
  margin: 0 0 12px;
}

.aluna-ftr-fontana-logo {
  margin: 0 0 12px;
}

.aluna-ftr-fontana-logo a {
  display: inline-flex;
  text-decoration: none;
}

.aluna-ftr-fontana-logo img {
  display: block;
  width: min(100%, 164px);
  height: auto;
  transition: transform .25s ease, opacity .25s ease;
}

.aluna-ftr-fontana-logo a:hover img {
  transform: translateX(2px);
  opacity: .88;
}

.aluna-ftr-fontana-city {
  font-family: var(--aluna-font-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1;
  color: rgba(242,230,208,.92);
  margin: 0;
  text-align: right;
}

.aluna-ftr-email {
  color: rgba(242,230,208,.75) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(242,230,208,.28);
  transition: all .2s;
}
.aluna-ftr-email:hover {
  color: var(--aluna-cream) !important;
  border-color: rgba(242,230,208,.5);
}

/* ── Social icons ────────────────────────────────────────────────── */
.aluna-ftr-social {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.aluna-ftr-social .wp-social-link {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgba(242,230,208,.28) !important;
  background: transparent !important;
  color: rgba(242,230,208,.60) !important;
  border-radius: 0 !important;
  transition: all .25s;
}
.aluna-ftr-social .wp-social-link:hover {
  border-color: rgba(242,230,208,.55) !important;
  color: rgba(242,230,208,.9) !important;
  background: transparent !important;
}
.aluna-ftr-social .wp-social-link svg {
  width: 16px;
  height: 16px;
}

/* ── Nav columns ─────────────────────────────────────────────────── */
.aluna-ftr-col-heading {
  font-family: var(--aluna-font-body) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase;
  color: var(--aluna-cream) !important;
  margin: 0 0 18px !important;
}

.aluna-ftr-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aluna-ftr-links li {
  margin-bottom: 10px;
}

.aluna-ftr-links a {
  font-family: var(--aluna-font-body);
  font-size: 18px;
  font-weight: 300;
  color: rgba(242,230,208,.65) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.aluna-ftr-links a:hover {
  color: var(--aluna-cream) !important;
}

/* ── Bottom bar ──────────────────────────────────────────────────── */
.aluna-ftr-bot {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aluna-ftr-copy {
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 300;
  color: rgba(242,230,208,.40);
  margin: 0;
}

.aluna-ftr-legal {
  display: flex;
  gap: 24px;
}

.aluna-ftr-legal a {
  font-family: var(--aluna-font-body);
  font-size: 14px;
  color: rgba(242,230,208,.40) !important;
  text-decoration: none !important;
  transition: color .2s;
}
.aluna-ftr-legal a:hover {
  color: rgba(242,230,208,.70) !important;
}


/* ── FOOTER RESPONSIVE ───────────────────────────────────────────── */

/* Tablet ≤960px */
@media (max-width: 960px) {
  .aluna-ftr-main {
    padding: 52px 40px 40px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .aluna-ftr-main > *:first-child {
    grid-column: span 2;
  }
  .aluna-ftr-bot {
    padding: 16px 40px;
  }
  .aluna-ftr-fontana {
    width: min(100%, 320px);
  }
}

/* Móvil ≤700px */
@media (max-width: 700px) {
  .aluna-ftr-main {
    padding: 40px 24px 32px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .aluna-ftr-main > *:first-child {
    grid-column: span 2;
  }
  .aluna-ftr-bot {
    padding: 16px 24px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .aluna-ftr-legal {
    justify-content: center;
  }
  .aluna-ftr-col-heading {
    font-size: 14px !important;
  }
  .aluna-ftr-links a {
    font-size: 16px;
  }
  .aluna-ftr-fontana {
    width: 100%;
    max-width: 320px;
  }
}

/* Móvil pequeño ≤460px */
@media (max-width: 460px) {
  .aluna-ftr-main {
    padding: 32px 16px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .aluna-ftr-main > *:first-child {
    grid-column: span 1;
  }
  .aluna-ftr-bot {
    padding: 16px;
  }
  .aluna-ftr-fontana-city {
    text-align: left;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   Manifesto CTA — "En ALUNA ocurrirán cosas grandiosas"
   Prefix: .aluna-mf-   Root: .aluna-mf
   ══════════════════════════════════════════════════════════════════════ */

/* ── Alignfull reset ───────────────────────────────────────────────── */
.aluna-mf.alignfull,
.aluna-mf.alignwide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Root ──────────────────────────────────────────────────────────── */
/* Para cambiar la imagen de fondo, actualizar la URL a continuación   */
.aluna-mf {
  background:
    linear-gradient(rgba(28,24,20,.88), rgba(28,24,20,.88)),
    url('/wireframes-html/img/DSC00459.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 0 !important;
}

/* Decorative floating "ALUNA" text */
.aluna-mf::before {
  content: 'ALUNA';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--aluna-font-display);
  font-size: 220px;
  font-weight: 300;
  letter-spacing: 20px;
  color: rgba(242,230,208,.07);
  pointer-events: none;
  white-space: nowrap;
  animation: aluna-mf-drift 22s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes aluna-mf-drift {
  from { transform: translateX(-50%) translateY(0); }
  to   { transform: translateX(-50%) translateY(-36px); }
}

/* ── Inner columns container ──────────────────────────────────────── */
.aluna-mf .wp-block-columns.aluna-mf-inner {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 64px);
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 0 !important;
}

/* ── Left column ──────────────────────────────────────────────────── */
.aluna-mf .wp-block-column.aluna-mf-left {
  padding-right: 72px;
}

/* ── Decorative horizontal rule ───────────────────────────────────── */
.aluna-mf .aluna-mf-rule.wp-block-separator {
  width: 80px;
  max-width: 80px;
  height: 1px;
  min-height: 0;
  background: rgba(217,201,168,.45);
  margin: 0 0 52px !important;
  border: none !important;
  opacity: 1;
}

/* ── Quote text ───────────────────────────────────────────────────── */
.aluna-mf .aluna-mf-text {
  font-family: var(--aluna-font-display);
  font-size: clamp(32px, 4.5vw, 60px) !important;
  font-weight: 300;
  font-style: italic;
  color: var(--aluna-cream);
  margin: 0 !important;
  line-height: 1.2 !important;
  position: relative;
  z-index: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.16, 1, .3, 1) .1s;
}
.aluna-mf .aluna-mf-text.in {
  clip-path: inset(0 0% 0 0) !important;
}
/* Editor: show text immediately (no JS animation in the editor) */
.editor-styles-wrapper .aluna-mf .aluna-mf-text {
  clip-path: none;
}
.aluna-mf .aluna-mf-text strong {
  font-weight: 400;
  color: var(--aluna-sand);
  font-style: normal;
}

/* ── Right column (with vertical divider) ─────────────────────────── */
.aluna-mf .wp-block-column.aluna-mf-right {
  padding-left: 72px;
  border-left: 1px solid rgba(217,201,168,.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

/* ── Subtitle ─────────────────────────────────────────────────────── */
.aluna-mf .aluna-mf-sub {
  font-family: var(--aluna-font-display);
  font-size: clamp(26px, 2.8vw, 38px) !important;
  font-weight: 300;
  font-style: italic;
  color: var(--aluna-cream);
  margin: 0 !important;
  position: relative;
  z-index: 1;
  letter-spacing: .5px;
}

/* ── Buttons wrapper ──────────────────────────────────────────────── */
.aluna-mf .aluna-mf-btns.wp-block-buttons {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ── Button: Cream (primary CTA) ──────────────────────────────────── */
.aluna-mf .aluna-mf-btn-cream .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm) !important;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 18px 56px;
  background: var(--aluna-cream) !important;
  color: var(--aluna-black) !important;
  border: none;
  border-radius: 0 !important;
  transition: all .2s;
}
.aluna-mf .aluna-mf-btn-cream .wp-block-button__link:hover {
  background: var(--aluna-white) !important;
}

/* ── Button: Ghost (secondary CTA) ────────────────────────────────── */
.aluna-mf .aluna-mf-btn-ghost .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm) !important;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  background: transparent !important;
  color: var(--aluna-cream) !important;
  border: 1px solid rgba(242,230,208,.4);
  border-radius: 0 !important;
  transition: all .2s;
}
.aluna-mf .aluna-mf-btn-ghost .wp-block-button__link:hover {
  border-color: var(--aluna-cream);
}

/* ── Responsive: Tablet ≤960px ────────────────────────────────────── */
@media (max-width: 960px) {
  .aluna-mf .wp-block-columns.aluna-mf-inner {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 28px !important;
    align-items: flex-start;
  }
  .aluna-mf .wp-block-column.aluna-mf-left {
    flex: none !important;
    width: 100% !important;
    flex-basis: 100% !important;
    padding-right: 0;
  }
  .aluna-mf .wp-block-column.aluna-mf-right {
    flex: none !important;
    width: 100% !important;
    flex-basis: 100% !important;
    padding-left: 0;
    border-left: none;
  }
}

/* ── Responsive: Small mobile ≤460px ──────────────────────────────── */
@media (max-width: 460px) {
  .aluna-mf .wp-block-columns.aluna-mf-inner {
    padding: 44px 20px;
    gap: 20px !important;
  }
  .aluna-mf .aluna-mf-btns.wp-block-buttons {
    gap: 10px;
  }
  .aluna-mf .aluna-mf-btn-cream .wp-block-button__link {
    padding: 16px 32px;
  }
}

/* ── Responsive: Button compact ≤700px ────────────────────────────── */
@media (max-width: 700px) {
  .aluna-mf .aluna-mf-btn-cream .wp-block-button__link,
  .aluna-mf .aluna-mf-btn-ghost .wp-block-button__link {
    padding: 10px 22px !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
  }
}


/* ══════════════════════════════════════════════════════════════════════
   Newsletter CTA — "Sé el primero en saber qué viene"
   Prefix: .aluna-news-   Root: .aluna-news
   ══════════════════════════════════════════════════════════════════════ */

/* ── Alignfull reset ───────────────────────────────────────────────── */
.aluna-news.alignfull,
.aluna-news.alignwide {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Root ──────────────────────────────────────────────────────────── */
.aluna-news {
  background: var(--aluna-cream) !important;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) !important;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* ── Title ────────────────────────────────────────────────────────── */
.aluna-news .aluna-news-title {
  font-family: var(--aluna-font-display) !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  font-style: italic;
  color: var(--aluna-text) !important;
  margin: 0 0 8px !important;
}

/* ── Subtitle ─────────────────────────────────────────────────────── */
.aluna-news .aluna-news-sub {
  font-family: var(--aluna-font-body) !important;
  font-size: var(--aluna-text-md) !important;
  font-weight: 300 !important;
  letter-spacing: 1px;
  color: var(--aluna-text-muted) !important;
  margin: 0 0 32px !important;
}

/* ── Form placeholder container ───────────────────────────────────── */
.aluna-news .aluna-news-form-slot {
  max-width: 480px;
  margin: 0 auto;
}

.aluna-news #wpforms-form-378 {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.aluna-news #wpforms-form-378 .wpforms-field-container {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}

.aluna-news #wpforms-form-378 #wpforms-378-field_2-container,
.aluna-news #wpforms-form-378 #wpforms-378-field_3-container,
.aluna-news #wpforms-form-378 .wpforms-field-label {
  display: none !important;
}

.aluna-news #wpforms-form-378 .wpforms-field {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

.aluna-news #wpforms-form-378 .wpforms-field-email {
  flex: 1 1 auto;
  min-width: 0;
}

.aluna-news #wpforms-form-378 #wpforms-378-field_1 {
  width: 100% !important;
  min-width: 0;
  min-height: 52px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(170, 154, 133, 0.4) !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  background: var(--aluna-white) !important;
  box-shadow: none !important;
  font-family: var(--aluna-font-body) !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  letter-spacing: 0.01em;
  color: var(--aluna-text) !important;
}

.aluna-news #wpforms-form-378 #wpforms-378-field_1::placeholder {
  color: rgba(140, 119, 93, 0.8);
  opacity: 1;
}

.aluna-news #wpforms-form-378 #wpforms-378-field_1:focus {
  border-color: rgba(170, 154, 133, 0.8) !important;
  outline: none !important;
}

.aluna-news #wpforms-form-378 .wpforms-submit-container {
  position: relative;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}

.aluna-news #wpforms-form-378 #wpforms-submit-378 {
  min-width: 202px;
  min-height: 52px;
  height: 52px;
  padding: 0 22px;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--aluna-brown) !important;
  box-shadow: none !important;
  color: var(--aluna-white) !important;
  font-family: var(--aluna-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2.6px !important;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s ease, color .2s ease;
}

.aluna-news #wpforms-form-378 #wpforms-submit-378::after {
  content: "\2192";
  font-size: 14px;
  line-height: 1;
}

.aluna-news #wpforms-form-378 #wpforms-submit-378:hover,
.aluna-news #wpforms-form-378 #wpforms-submit-378:focus {
  background: var(--aluna-black) !important;
  color: var(--aluna-white) !important;
}

.aluna-news #wpforms-form-378 .wpforms-submit-spinner {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.aluna-news .aluna-news-form-slot > *:last-child {
  margin-bottom: 0 !important;
}

.aluna-news .aluna-news-form-slot:empty {
  display: none;
}

@media (max-width: 640px) {
  .aluna-news #wpforms-form-378 {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
  }

  .aluna-news #wpforms-form-378 .wpforms-field-container,
  .aluna-news #wpforms-form-378 .wpforms-submit-container {
    width: 100%;
  }

  .aluna-news #wpforms-form-378 #wpforms-378-field_1 {
    border-right: 1px solid rgba(170, 154, 133, 0.4) !important;
    font-size: 16px !important;
  }

  .aluna-news #wpforms-form-378 #wpforms-submit-378 {
    width: 100%;
    min-width: 0;
  }
}

.wp-site-blocks .aluna-news,
.entry-content .aluna-news,
.wp-block-post-content .aluna-news {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-site-blocks .aluna-news + *,
.entry-content .aluna-news + *,
.wp-block-post-content .aluna-news + * {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

body.home .wp-block-template-part,
body.page-id-19 .wp-block-template-part {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}


/* ══════════════════════════════════════════════════════════════════════
   Freq Section Header — .freq-hdr-wrap
   Encabezado "Elige tu experiencia / Cuatro formas de vibrar".
   El wp:group (align:full, layout:default) provee el fondo full-width.
   Las wp:columns internas se centran y limitan a 1280px aquí,
   igual que .freq-hdr en aluna-home-v4.html.
   ══════════════════════════════════════════════════════════════════════ */

.freq-hdr-wrap > .wp-block-columns {
  max-width: 1280px;
  margin: 0 auto !important;
  align-items: flex-end;
  width: 100%;
}

/* Tablet ≤960px: ocultar columna descriptiva derecha */
@media (max-width: 960px) {
  .freq-hdr-wrap > .wp-block-columns .wp-block-column:last-child {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   Page Hero — patrón reutilizable para heroes de páginas internas
   Clase raíz: .aluna-page-hero (en core/cover)
   Portado de wireframes-html/aluna-home-v4.html (.ph sección)
   Overlay: gradiente horizontal izq→der; texto izq, imagen visible a der.
   ══════════════════════════════════════════════════════════════════════ */

/* Flex layout: texto anclado al fondo, como wireframe .ph */
.aluna-page-hero .wp-block-cover__inner-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 5vw, 72px);
  width: 100%;
  min-height: inherit;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Imagen oscurecida — igual al wireframe */
.aluna-page-hero .wp-block-cover__image-background {
  filter: brightness(.4) saturate(.7);
}

/* Contenedor de texto — neutraliza margin:auto del layout constrained/flow */
.aluna-page-hero-content {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Neutraliza block-gap y auto-margins de WP en hijos directos */
.aluna-page-hero-content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left !important;
}

/* H1 del hero */
.aluna-page-hero-content h1 {
  font-family: var(--aluna-font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--aluna-cream);
  margin: 12px 0 20px;
}
.aluna-page-hero-content h1 em {
  font-style: italic;
  color: var(--aluna-sand);
}

/* Párrafos del hero */
.aluna-page-hero .aluna-body--lt,
.aluna-page-hero .aluna-desc--lt {
  font-family: var(--aluna-font-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: none;
}

/* Eyebrow en hero — wireframe .ph-ey: 16px / 600 / 16px mb */
.aluna-page-hero-content .aluna-eyebrow {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}
.aluna-page-hero-content .aluna-eyebrow--lt {
  color: rgba(242,230,208,.55);
}
.aluna-page-hero-content .aluna-eyebrow--lt::before {
  background: rgba(242,230,208,.4);
}
/* Lead en hero — wireframe .ph-sub: 19px / 300 / italic / lh 1.5 / .6 opacity */
.aluna-page-hero-content .aluna-lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0;
  max-width: 520px;
}
.aluna-page-hero-content .aluna-lead--lt {
  color: rgba(242,230,208,.6);
}

@media (max-width: 600px) {
  .aluna-page-hero-content h1 { font-size: clamp(34px, 9.5vw, 52px); line-height: 1; }
  .aluna-page-hero-content .aluna-eyebrow { font-size: 11px; letter-spacing: 2px; }
  .aluna-page-hero-content .aluna-eyebrow::before { display: none; }
  .aluna-page-hero-content .aluna-lead { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 58 — NOTICIAS
   Fuente visual: wireframes-html/aluna-home-v4.html (#noticias)
   La página se versiona como bloques core anidados dentro de page-generator.
   ══════════════════════════════════════════════════════════════════════ */

.aluna-news-page {
  background: var(--aluna-white);
}

.aluna-news-hero-wrap {
  position: relative;
  overflow: hidden;
}

.aluna-news-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.aluna-news-hero-media .wp-block-image,
.aluna-news-hero-media figure {
  margin: 0 !important;
  height: 100%;
}

.aluna-news-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, #1C1814 0%, rgba(28,24,20,.55) 60%, rgba(28,24,20,.15) 100%);
  pointer-events: none;
}

.aluna-news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
  filter: brightness(.4) saturate(.7);
}

.aluna-news-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
}

.aluna-news-hero-inner .aluna-page-hero-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 5vw, 72px);
  box-sizing: border-box;
}

.aluna-news-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}

.aluna-news-page .nws-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px !important;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--aluna-border);
}

.aluna-news-page .nws-copy {
  min-width: 260px;
}

.aluna-news-page .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.aluna-news-page .filters .wp-block-button {
  margin: 0;
}

.aluna-news-page .fp .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid var(--aluna-border);
  background: transparent;
  color: var(--aluna-text-muted);
  cursor: default;
  line-height: 1;
  text-decoration: none;
  border-radius: 0;
  box-shadow: none;
}

.aluna-news-page .fp.fp--on .wp-block-button__link,
.aluna-news-page .fp .wp-block-button__link:hover {
  border-color: var(--aluna-taupe);
  color: var(--aluna-taupe);
  background: rgba(139, 126, 112, .06);
}

.aluna-news-page .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.aluna-news-page .news-grid > * {
  margin: 0 !important;
}

.aluna-news-page .nc {
  background: var(--aluna-white);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}

.aluna-news-page .nc.feat {
  grid-column: span 2;
}

.aluna-news-page .nc:hover {
  border-color: var(--aluna-taupe) !important;
  box-shadow: 0 8px 40px rgba(139, 126, 112, .10);
}

.aluna-news-page .nc-img {
  position: relative;
  overflow: hidden;
}

.aluna-news-page .nc-img .wp-block-image,
.aluna-news-page .nc-img figure,
.aluna-news-page .nc-img a {
  display: block;
  margin: 0 !important;
  height: 100%;
}

.aluna-news-page .nc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
  filter: brightness(.85) saturate(.85);
}

.aluna-news-page .nc:hover .nc-img img {
  transform: scale(1.04);
}

.aluna-news-page .nc-img.lg {
  height: 440px;
}

.aluna-news-page .nc-img.sm {
  height: 220px;
}

.aluna-news-page .nc-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  pointer-events: none;
}

.aluna-news-page .nc-body > *:first-child {
  margin-top: 0 !important;
}

.aluna-news-page .nc-date {
  color: var(--aluna-taupe);
}

.aluna-news-page .nc-title,
.aluna-news-page .nc-title.wp-block-heading {
  font-size: 24px !important;
  color: var(--aluna-text);
}

.aluna-news-page .nc-title a {
  color: inherit;
  text-decoration: none;
}

.aluna-news-page .nc-title a:hover {
  color: var(--aluna-taupe);
}

.aluna-news-page .nc-desc {
  color: var(--aluna-text-muted);
}

.aluna-news-page .nc-link-wrap {
  margin-bottom: 0 !important;
}

.aluna-news-page .nc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aluna-taupe);
  text-decoration: none;
  transition: gap .2s ease;
}

.aluna-news-page .nc-link::after {
  content: '→';
}

.aluna-news-page .nc:hover .nc-link {
  gap: 12px;
}

.aluna-newsletter {
  text-align: center;
}

.aluna-newsletter-shell {
  width: 100%;
}

.aluna-newsletter .news-title {
  text-wrap: balance;
}

.aluna-newsletter .news-sub {
  color: var(--aluna-text-muted);
}

.aluna-newsletter .news-form {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.aluna-newsletter .news-in {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  font-family: var(--aluna-font-body);
  font-size: var(--aluna-text-sm);
  font-weight: 300;
  border-right: none !important;
  color: var(--aluna-text-muted);
}

.aluna-newsletter .news-btn-wrap {
  margin: 0 !important;
}

.aluna-newsletter .news-btn-wrap .wp-block-button__link,
.aluna-newsletter .news-btn .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--aluna-brown);
  color: var(--aluna-white);
  border: none !important;
  min-height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
  line-height: 1;
  text-decoration: none;
}

.aluna-newsletter .news-btn-wrap .wp-block-button__link:hover,
.aluna-newsletter .news-btn .wp-block-button__link:hover {
  background: var(--aluna-black);
}

@media (max-width: 960px) {
  .aluna-news-page .nws-hdr {
    align-items: flex-start;
  }

  .aluna-news-page .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aluna-news-page .nc.feat {
    grid-column: span 1;
  }

  .aluna-news-page .nc-img.lg {
    height: 260px;
  }
}

@media (max-width: 700px) {
  .aluna-news-page .filters {
    gap: 6px;
  }

  .aluna-news-page .fp .wp-block-button__link {
    font-size: 11px;
    padding: 7px 12px;
    letter-spacing: 1.5px;
  }

  .aluna-news-page .news-grid {
    gap: 16px;
  }

  .aluna-news-page .nc-img.sm {
    height: 180px;
  }

  .aluna-news-page .nc-img.lg {
    height: 220px;
  }

  .aluna-news-page .nc-title,
  .aluna-news-page .nc-title.wp-block-heading {
    font-size: 20px !important;
  }

  .aluna-newsletter .news-title {
    font-size: clamp(28px, 7.5vw, 44px) !important;
  }
}

@media (max-width: 460px) {
  .aluna-news-page .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .aluna-news-page .nc.feat {
    grid-column: span 1;
  }

  .aluna-news-page .nc-img.sm {
    height: 220px;
  }

  .aluna-news-page .nc-img.lg {
    height: 240px;
  }

  .aluna-newsletter .news-form {
    flex-direction: column;
    gap: 8px;
  }

  .aluna-newsletter .news-in {
    border-right: 1px solid var(--aluna-border-st) !important;
  }

  .aluna-newsletter .news-btn-wrap,
  .aluna-newsletter .news-btn-wrap .wp-block-button,
  .aluna-newsletter .news-btn-wrap .wp-block-button__link {
    width: 100%;
  }

  .aluna-newsletter .news-btn-wrap .wp-block-button__link,
  .aluna-newsletter .news-btn .wp-block-button__link {
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 52 — QUIÉNES SOMOS
   ══════════════════════════════════════════════════════════════════════ */

/* ── § 2 ¿Qué es ALUNA? — Story section ─────────────────────────── */
.aluna-qs-story.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-qs-story .wp-block-columns {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px);
  align-items: center;
  gap: 80px !important;
}
/* Tipografía editorial — portado de .sh2 y .qs-story-text p del wireframe */
.aluna-qs-story .aluna-h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  margin-bottom: 36px;
}
/* .aluna-qs-p — clase exclusiva de esta sección, evita conflicto con global .aluna-body/.aluna-desc */
.aluna-qs-p {
  font-family: var(--aluna-font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  font-style: normal;
  color: var(--aluna-text);
  line-height: 1.65;
  margin-bottom: 22px;
}
.aluna-qs-story .wp-block-embed__wrapper {
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .aluna-qs-story .wp-block-columns {
    gap: 40px !important;
  }
}

/* ── § 3 Manifiesto — firma tipográfica ─────────────────────────── */
.aluna-mf-firma {
  font-family: var(--aluna-font-display);
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  font-style: italic;
  color: var(--aluna-cream);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

/* ── § 3 Manifiesto — Quiénes Somos (clases propias, sin colisión con CTA) ── */
.aluna-qs-mf.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-qs-mf {
  position: relative;
  overflow: hidden;
}
.aluna-qs-mf::before {
  content: 'ALUNA';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--aluna-font-display);
  font-size: 22vw;
  font-weight: 300;
  color: rgba(139,126,112,.04);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -4px;
  z-index: 0;
}
.aluna-qs-mf > .wp-block-columns {
  gap: 0 !important;
  position: relative;
  z-index: 1;
}
.aluna-qs-mf-img {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  background: rgba(28,24,20,.6);
}
.aluna-qs-mf-img .wp-block-image {
  width: 68% !important;
  max-width: 300px !important;
}
.aluna-qs-mf-img .wp-block-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05);
  display: block;
}
.aluna-qs-mf-text {
  padding: clamp(64px,7vw,110px) clamp(48px,5vw,80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Eyebrow — 11px, línea después del texto */
.aluna-qs-mf .aluna-eyebrow {
  font-size: 11px;
  letter-spacing: 5px;
  margin-bottom: 24px;
}
.aluna-qs-mf .aluna-eyebrow::before {
  display: none;
}
.aluna-qs-mf .aluna-eyebrow::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--aluna-taupe);
  flex-shrink: 0;
}
/* H2 */
.aluna-qs-mf .aluna-h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.05;
  margin-bottom: 36px;
}
/* Lead — line-height 1.75 + margin 18px (wireframe .mf-p) */
.aluna-qs-mf .aluna-lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
  margin-bottom: 18px !important;
}
.aluna-qs-mf .aluna-lead strong {
  font-style: normal;
  font-weight: 500;
  color: var(--aluna-sand);
}
/* Separador */
.aluna-qs-mf .wp-block-separator {
  width: 36px !important;
  max-width: 36px !important;
  height: 1px !important;
  border: none !important;
  margin: 32px 0 !important;
}
/* Tagline — sin línea, 11px peso 400, taupe */
.aluna-qs-mf-tagline {
  font-family: var(--aluna-font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  margin: 0;
}
@media (max-width: 860px) {
  .aluna-qs-mf-img {
    min-height: 300px;
    flex-basis: 100% !important;
  }
  .aluna-qs-mf-text {
    flex-basis: 100% !important;
    padding: 56px 20px;
  }
}
@media (max-width: 600px) {
  .aluna-qs-mf-img { min-height: 180px; padding: 20px; }
  .aluna-qs-mf-text { padding: 36px 20px; }
}

/* ── § 7 Cierre emocional ────────────────────────────────────────── */
.aluna-qs-close.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-qs-close .wp-block-cover__inner-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aluna-qs-close-lead {
  font-family: var(--aluna-font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 300;
  font-style: italic;
  color: rgba(242, 230, 208, .72);
  line-height: 1.35;
  max-width: none;
  margin-bottom: 16px;
}
.aluna-qs-close-lead strong {
  font-style: normal;
  font-weight: 500;
  color: var(--aluna-cream);
}


/* ── § 4 Tres formas de vibrar ─────────────────────────────────── */
.aluna-qs-cats.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-qs-cats {
  padding: clamp(72px, 8vw, 120px) 0;
}
.aluna-qs-cats-hdr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px) 48px;
}
.aluna-qs-cats-hdr .aluna-h2 { margin-bottom: 0; }
.aluna-qs-cats-hdr .aluna-eyebrow--lt::before { background: var(--aluna-sand); }
.aluna-qs-cats-grid.wp-block-columns {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 clamp(20px,5vw,64px);
  gap: 3px !important;
  flex-wrap: nowrap;
  align-items: stretch;
}
.aluna-qs-cats-grid > .wp-block-column { min-width: 0; overflow: hidden; }
.aluna-qs-cats .wp-block-cover__image-background {
  filter: brightness(.5);
  transition: filter .5s, transform .6s;
}
.aluna-qs-cats .wp-block-cover:hover .wp-block-cover__image-background {
  filter: brightness(.65);
  transform: scale(1.04);
}
.aluna-qs-cats .wp-block-cover__inner-container {
  padding: 40px 36px !important;
  width: 100%;
}
.aluna-qs-cat-num {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(242,230,208,.55);
  margin-bottom: 12px;
}
.aluna-qs-cat-title {
  font-family: var(--aluna-font-display);
  font-size: 46px;
  font-weight: 300;
  color: var(--aluna-cream);
  line-height: 1;
  margin-bottom: 8px;
}
.aluna-qs-cat-q {
  font-family: var(--aluna-font-display);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--aluna-sand);
  margin-bottom: 14px;
}
.aluna-qs-cat-desc {
  font-family: var(--aluna-font-body);
  font-size: 15px;
  font-weight: 400;
  color: rgba(242,230,208,.88);
  line-height: 1.65;
  margin-bottom: 20px;
}
.aluna-qs-cat-cta a {
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aluna-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(242,230,208,.5);
  padding-bottom: 3px;
  transition: border-color .2s;
  display: inline-block;
}
.aluna-qs-cat-cta a:hover { border-color: var(--aluna-cream); }
@media (max-width: 860px) {
  .aluna-qs-cats-grid.wp-block-columns { flex-wrap: wrap !important; }
  .aluna-qs-cats-grid > .wp-block-column { flex-basis: calc(50% - 2px) !important; }
}
@media (max-width: 480px) {
  .aluna-qs-cats {
    padding: 56px 0;
  }
  .aluna-qs-cats-grid > .wp-block-column { flex-basis: 100% !important; }
  .aluna-qs-cats-hdr { padding-bottom: 28px; }
}


/* ── Page 52 overrides ──────────────────────────────────────────── */

/* Hero: 100vh, texto centrado verticalmente (igual que wireframe) */
.page-id-52 .aluna-page-hero.wp-block-cover {
  min-height: 100vh !important;
}
.page-id-52 .aluna-page-hero .wp-block-cover__inner-container {
  align-items: center !important;
}
/* Hero imagen: más luminosa — wireframe usa brightness(.6), no .4 */
.page-id-52 .aluna-page-hero .wp-block-cover__image-background {
  filter: brightness(.6) saturate(.85) !important;
}

/* Manifiesto: fondo #2C2420 según wireframe (inline style es #1C1814) */
.page-id-52 .aluna-qs-mf {
  background-color: #2C2420 !important;
}

/* Mosaico: 3 columnas como el wireframe (ocultar slot D) */
.page-id-52 .mgal-mosaic {
  grid-template-columns: repeat(3, 1fr) !important;
}
.page-id-52 .mgal-item--d {
  display: none !important;
}
.page-id-52 .mgal-item--e {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
}
.page-id-52 .mgal--nosotros .mgal-mosaic {
  grid-template-columns: repeat(3, 1fr) !important;
  grid-template-rows: 300px 300px !important;
  gap: 6px !important;
}
.page-id-52 .mgal--nosotros .mgal-item--a {
  grid-row: span 2 !important;
}
.page-id-52 .mgal--nosotros .mgal-item--d {
  display: none !important;
}
.page-id-52 .mgal--nosotros .mgal-item--e {
  grid-column: 2 / 4 !important;
  grid-row: 2 !important;
}

/* Cierre: botones rectangulares cream/ghost (sin border-radius) */
.aluna-qs-close .wp-block-button__link {
  border-radius: 0 !important;
  font-family: var(--aluna-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  padding: 18px 48px !important;
  transition: all .2s !important;
}
.aluna-qs-close .is-style-fill .wp-block-button__link {
  background: var(--aluna-cream) !important;
  color: var(--aluna-text) !important;
  border: none !important;
}
.aluna-qs-close .is-style-fill .wp-block-button__link:hover {
  background: var(--aluna-white) !important;
}
.aluna-qs-close .is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: rgba(242,230,208,.9) !important;
  border: 2px solid rgba(242,230,208,.5) !important;
  padding: 16px 46px !important;
}
.aluna-qs-close .is-style-outline .wp-block-button__link:hover {
  border-color: rgba(242,230,208,.9) !important;
}

/* Story: paragraphs editoriales en Cormorant Garamond */
.page-id-52 .aluna-qs-story .aluna-body,
.page-id-52 .aluna-qs-story .aluna-desc {
  font-family: var(--aluna-font-display);
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  color: var(--aluna-text);
  line-height: 1.65;
  margin-bottom: 22px;
}
.page-id-52 .aluna-page-hero-content {
  max-width: 580px;
}
.page-id-52 .aluna-page-hero-content h1 {
  font-size: clamp(64px, 8.5vw, 108px);
  line-height: .92;
  letter-spacing: -2px;
  margin: 16px 0 36px;
}
.page-id-52 .aluna-page-hero .aluna-body--lt,
.page-id-52 .aluna-page-hero .aluna-desc--lt {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  color: var(--aluna-cream);
}
.page-id-52 .aluna-qs-cats {
  background: #1C1814;
}
.page-id-52 .aluna-qs-cats-grid.wp-block-columns {
  flex-wrap: nowrap !important;
}
.page-id-52 .aluna-qs-esp.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: var(--aluna-white);
  padding: 100px 0;
}
.page-id-52 .aluna-qs-esp-hdr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px) 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.page-id-52 .aluna-qs-esp-hdr > .wp-block-group:first-child {
  margin: 0;
}
.page-id-52 .aluna-qs-esp-hdr .aluna-h2 {
  margin-bottom: 0;
}
.page-id-52 .aluna-qs-esp-desc {
  max-width: 420px;
  font-family: var(--aluna-font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--aluna-text-sec);
  line-height: 1.7;
  text-align: right;
  margin: 0;
}
.page-id-52 .aluna-qs-mosaic {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px,5vw,64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 6px;
}
.page-id-52 .aluna-qs-mosaic-item {
  overflow: hidden;
  cursor: zoom-in;
}
.page-id-52 .aluna-qs-mosaic-item .wp-block-image,
.page-id-52 .aluna-qs-mosaic-item img {
  width: 100%;
  height: 100%;
  margin: 0;
}
.page-id-52 .aluna-qs-mosaic-item img {
  object-fit: cover;
  transition: transform .7s ease;
}
.page-id-52 .aluna-qs-mosaic-item:hover img {
  transform: scale(1.05);
}
.page-id-52 .aluna-qs-mosaic-item--tall {
  grid-row: span 2;
}
.page-id-52 .aluna-qs-mosaic-item--wide {
  grid-column: span 2;
}
.page-id-52 .aluna-qs-esp-actions {
  justify-content: center;
  margin-top: 52px;
}
.page-id-52 .aluna-qs-esp-button .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  border-radius: 0;
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  transition: background .2s;
}
.page-id-52 .aluna-qs-esp-button .wp-block-button__link:hover {
  background: var(--aluna-brown);
}
.page-id-52 .aluna-qs-datos.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  background: #1C1814;
  padding: 100px 64px !important;
}
.page-id-52 .aluna-qs-datos-hdr {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}
.page-id-52 .aluna-qs-datos-hdr .aluna-eyebrow {
  justify-content: center;
  color: var(--aluna-cream);
  opacity: 1;
}
.page-id-52 .aluna-qs-datos-hdr .aluna-eyebrow::before {
  background: var(--aluna-sand);
}
.page-id-52 .aluna-qs-datos-hdr .aluna-h2 {
  color: var(--aluna-cream);
  margin-bottom: 0;
  text-align: center;
}
.page-id-52 .aluna-qs-datos-hdr .aluna-h2 em {
  color: var(--aluna-sand);
}
.page-id-52 .aluna-qs-datos-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(217,201,168,.15);
  border: 1px solid rgba(217,201,168,.15);
}
.page-id-52 .aluna-qs-dato {
  background: #1C1814;
  padding: 52px 56px;
}
.page-id-52 .aluna-qs-dato-num {
  font-family: var(--aluna-font-display);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 300;
  color: var(--aluna-cream);
  line-height: 1;
  margin-bottom: 12px;
}
.page-id-52 .aluna-qs-dato-num sup {
  font-size: .45em;
  vertical-align: super;
  color: var(--aluna-sand);
}
.page-id-52 .aluna-qs-dato-lbl {
  font-family: var(--aluna-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--aluna-sand);
  margin-bottom: 10px;
}
.page-id-52 .aluna-qs-dato-desc {
  font-family: var(--aluna-font-body);
  font-size: 15px;
  font-weight: 400;
  color: rgba(242,230,208,.78);
  line-height: 1.65;
  margin-bottom: 0;
}
.page-id-52 .aluna-qs-close .wp-block-cover__inner-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-id-52 .aluna-qs-close.wp-block-cover {
  min-height: 0 !important;
  padding: 140px 64px !important;
}
.page-id-52 .aluna-qs-close .wp-block-buttons {
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Impact Stats — dark theme para página Quiénes Somos */
.page-id-52 .aimp {
  background: #1C1814;
}
.page-id-52 .aimp-hdr {
  text-align: center;
}
.page-id-52 .aimp-hdr .aluna-eyebrow {
  color: rgba(242,230,208,.55);
  justify-content: center;
}
.page-id-52 .aimp-hdr .aluna-eyebrow::before {
  background: rgba(242,230,208,.4);
}
.page-id-52 .aimp-hdr .aluna-h2 {
  color: var(--aluna-cream);
  text-align: center;
}
.page-id-52 .aimp-hdr .aluna-h2 em {
  color: var(--aluna-sand);
}
.page-id-52 .aimp-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  background: rgba(217,201,168,.15);
  border: 1px solid rgba(217,201,168,.15);
}
.page-id-52 .aimp-item {
  background: #1C1814;
  padding: clamp(32px,4.5vw,52px) clamp(28px,4vw,56px);
}
.page-id-52 .aimp-num {
  font-size: clamp(52px, 6vw, 84px);
  color: var(--aluna-cream);
}
.page-id-52 .aimp-num sup {
  color: var(--aluna-sand);
}
.page-id-52 .aimp-lbl {
  color: var(--aluna-sand);
}
.page-id-52 .aimp-desc {
  color: rgba(242,230,208,.78);
}
@media (max-width: 960px) {
  .page-id-52 .aluna-qs-story .wp-block-columns {
    gap: 40px !important;
  }
  .page-id-52 .aluna-qs-cats-grid.wp-block-columns {
    flex-wrap: wrap !important;
  }
  .page-id-52 .aluna-qs-cats-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .page-id-52 .aluna-qs-cat {
    min-height: 0 !important;
  }
  .page-id-52 .aluna-qs-cat .wp-block-cover__inner-container {
    padding: 28px 32px !important;
  }
  .page-id-52 .aluna-qs-esp-hdr {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .page-id-52 .aluna-qs-esp-desc {
    max-width: 100%;
    text-align: left;
  }
  .page-id-52 .aluna-qs-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, clamp(160px,20vw,260px));
    gap: 0;
  }
  .page-id-52 .aluna-qs-datos.alignfull {
    padding: 72px clamp(20px,5vw,48px) !important;
  }
  .page-id-52 .aluna-qs-datos-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .page-id-52 .aluna-qs-dato {
    padding: 40px clamp(20px,4vw,52px);
  }
  .page-id-52 .mgal--nosotros .mgal-mosaic {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: repeat(3, clamp(160px,20vw,260px)) !important;
    gap: 0 !important;
  }
  .page-id-52 .mgal--nosotros .mgal-item--e {
    grid-column: span 2 !important;
    grid-row: auto !important;
  }
  .page-id-52 .aimp-grid { grid-template-columns: 1fr 1fr; max-width: 100%; }
}
@media (max-width: 480px) {
  .page-id-52 .aluna-page-hero-content h1 {
    font-size: clamp(40px, 11vw, 60px);
    letter-spacing: -1px;
    margin: 10px 0 20px;
  }
  .page-id-52 .aluna-qs-story {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }
  .page-id-52 .aluna-qs-story .aluna-body,
  .page-id-52 .aluna-qs-story .aluna-desc {
    font-size: 18px;
  }
  .page-id-52 .aluna-qs-cats-hdr {
    padding: 0 20px 28px;
  }
  .page-id-52 .aluna-qs-cat .wp-block-cover__inner-container {
    padding: 20px 20px !important;
  }
  .page-id-52 .aluna-qs-esp {
    padding: 52px 0;
  }
  .page-id-52 .aluna-qs-esp-hdr {
    padding: 0 20px 28px;
  }
  .page-id-52 .aluna-qs-datos.alignfull {
    padding: 52px 20px !important;
  }
  .page-id-52 .aluna-qs-datos-grid {
    grid-template-columns: 1fr;
  }
  .page-id-52 .aluna-qs-dato {
    padding: 32px 20px;
  }
  .page-id-52 .aluna-qs-dato-num {
    font-size: clamp(44px, 12vw, 72px);
  }
  .page-id-52 .aluna-qs-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, clamp(130px,28vw,200px));
  }
  .page-id-52 .aluna-qs-mosaic-item--wide {
    grid-column: span 2;
    grid-row: auto;
  }
  .page-id-52 .mgal--nosotros .mgal-mosaic {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .page-id-52 .mgal--nosotros .mgal-item--a,
  .page-id-52 .mgal--nosotros .mgal-item--e {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .page-id-52 .aimp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .page-id-52 .aluna-qs-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .page-id-52 .aluna-qs-mosaic-item {
    min-height: clamp(160px,42vw,220px);
  }
  .page-id-52 .aluna-qs-mosaic-item--wide,
  .page-id-52 .aluna-qs-mosaic-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .page-id-52 .aluna-qs-close .wp-block-button__link {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }
  .page-id-52 .aluna-qs-close.wp-block-cover {
    padding: 72px 20px !important;
  }
}

/* Cierre: ALUNA watermark */
.aluna-qs-close {
  position: relative;
  overflow: hidden;
}
.aluna-qs-close::before {
  content: 'ALUNA';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--aluna-font-display);
  font-size: 200px;
  font-weight: 300;
  letter-spacing: 20px;
  color: rgba(242,230,208,.04);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.aluna-qs-close .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

/* ── Espacios (page 54) ──────────────────────────────────────────── */
.espacios-wrap {
  --black:      #1C1814;
  --white:      #FEFCF8;
  --cream:      #F2E6D0;
  --cream-lt:   #FBF5EC;
  --sand:       #D9C9A8;
  --taupe:      #8B7E70;
  --brown:      #6B5C4E;
  --text:       #2C2420;
  --text-sec:   #6B5C4E;
  --text-muted: #7A6C62;
  --border:     rgba(139,126,112,.18);
  --border-st:  rgba(139,126,112,.35);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
  font-size: 18px;
  display: block;
  width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
.espacios-wrap *,
.espacios-wrap *::before,
.espacios-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }
.espacios-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.espacios-wrap .ph { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.espacios-wrap .ph-img { position: absolute; inset: 0; z-index: 0; }
.espacios-wrap .ph-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.8); }
.espacios-wrap .ph-ov { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--black) 0%, rgba(28,24,20,.55) 60%, rgba(28,24,20,.15) 100%); }
.espacios-wrap .ph-ct { position: relative; z-index: 2; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 64px 72px; }
.espacios-wrap .ph-ey { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(242,230,208,.55); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.espacios-wrap .ph-ey::before { content: ''; width: 28px; height: 1px; background: rgba(242,230,208,.4); flex-shrink: 0; }
.espacios-wrap .ph-h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(48px, 6.5vw, 88px); line-height: .95; color: var(--cream); margin-bottom: 20px; }
.espacios-wrap .ph-h1 em { font-style: italic; color: var(--sand); }
.espacios-wrap .ph-sub { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 300; font-style: italic; color: rgba(242,230,208,.6); max-width: 520px; line-height: 1.5; }

/* Barra de anclaje */
.espacios-wrap .sp-anchor-bar { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; background: var(--white); position: sticky; top: 110px; z-index: 200; scrollbar-width: none; }
.espacios-wrap .sp-anchor-bar::-webkit-scrollbar { display: none; }
.admin-bar .espacios-wrap .sp-anchor-bar { top: calc(110px + var(--wp-admin--admin-bar--height, 32px)); }
.espacios-wrap .sp-anchor-link { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); text-decoration: none; padding: 16px 22px; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; display: block; }
.espacios-wrap .sp-anchor-link:hover,
.espacios-wrap .sp-anchor-link.active { color: var(--taupe); border-bottom-color: var(--taupe); }

/* Secciones */
.espacios-wrap .sp-sec { padding: 0; position: relative; overflow: visible; }
.espacios-wrap .sp-lay { display: grid; grid-template-columns: 55% 45%; align-items: stretch; }
.espacios-wrap .sp-lay.reverse .sp-media { order: 2; }
.espacios-wrap .sp-lay.reverse .sp-content { order: 1; }
.espacios-wrap .sp-media { display: flex; flex-direction: row; min-height: 540px; }
.espacios-wrap .sp-feat-img { flex: 1; position: relative; overflow: hidden; min-height: 400px; }
.espacios-wrap .sp-feat-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.88) saturate(.85); transition: opacity .22s ease, transform .55s ease; }
.espacios-wrap .sp-feat-img img.sp-fading { opacity: 0; }
.espacios-wrap .sp-sec:hover .sp-feat-img img { transform: scale(1.03); }
.espacios-wrap .sp-gallery { width: clamp(120px, 11vw, 180px); flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; }
.espacios-wrap .sp-thumb { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: center; filter: brightness(.6) saturate(.6); cursor: pointer; transition: filter .2s; outline: 2px solid transparent; outline-offset: -2px; display: block; height: auto; }
.espacios-wrap .sp-thumb:hover { filter: brightness(.82) saturate(.82); }
.espacios-wrap .sp-thumb.sp-thumb-active { filter: brightness(1) saturate(1); outline-color: var(--taupe); }
.espacios-wrap .sp-lay.reverse .sp-gallery { order: -1; }
.espacios-wrap .sp-content { padding: 64px 72px 64px 64px; display: flex; flex-direction: column; justify-content: center; background: inherit; }
.espacios-wrap .sp-lay.reverse .sp-content { padding: 64px 64px 64px 72px; }
.espacios-wrap .sp-badge { display: inline-block; font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; }
.espacios-wrap .sp-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 3vw, 50px); font-weight: 400; color: var(--text); margin-bottom: 10px; line-height: 1; }
.espacios-wrap .sp-tag { font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; color: var(--taupe); margin-bottom: 18px; }
.espacios-wrap .sp-desc { font-family: 'Jost', sans-serif; font-size: 16px; font-weight: 300; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.espacios-wrap .sp-specs { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 1px; color: var(--taupe); display: flex; gap: 8px; flex-wrap: wrap; }
.espacios-wrap .btn-sp-cot { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 28px; background: var(--taupe); color: var(--white); border: 1px solid var(--taupe); cursor: pointer; transition: all .25s; margin-top: 28px; display: inline-block; text-decoration: none; }
.espacios-wrap .btn-sp-cot:hover { background: transparent; color: var(--taupe); }

/* Paquetes */
.espacios-wrap .sp-paquetes-sec { background: #FBF5EC; padding: 96px 0; }
.espacios-wrap .sp-paquetes-inner { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
.espacios-wrap .sp-paquetes-hdr { text-align: center; margin-bottom: 52px; }
.espacios-wrap .sp-ey { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--taupe); display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; }
.espacios-wrap .sp-ey::before,
.espacios-wrap .sp-ey::after { content: ''; width: 28px; height: 1px; background: var(--taupe); flex-shrink: 0; }
.espacios-wrap .sp-st { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(40px, 4.5vw, 66px); line-height: 1; color: var(--text); }
.espacios-wrap .sp-st em { font-style: italic; color: var(--taupe); }
.espacios-wrap .pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.espacios-wrap .pkg { background: var(--white); padding: 44px 28px; position: relative; transition: background .25s; }
.espacios-wrap .pkg:hover { background: var(--cream-lt); }
.espacios-wrap .pkg.feat { background: var(--cream); }
.espacios-wrap .pkg-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); font-family: 'Jost', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; padding: 4px 16px; background: var(--taupe); color: var(--white); white-space: nowrap; }
.espacios-wrap .pkg-num { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.espacios-wrap .pkg-title { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--text); margin-bottom: 20px; line-height: 1; }
.espacios-wrap .pkg-list { list-style: none; margin-bottom: 32px; padding: 0; }
.espacios-wrap .pkg-list li { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300; color: var(--text-sec); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: flex-start; }
.espacios-wrap .pkg-list li::before { content: '◆'; color: var(--taupe); font-size: 7px; margin-top: 5px; flex-shrink: 0; }
.espacios-wrap .sp-pkg-nota { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-style: italic; color: var(--text-muted); text-align: center; margin-top: 44px; }
.espacios-wrap .sp-pkg-cta { text-align: center; margin-top: 28px; }

/* CTA Final */
.espacios-wrap .sp-cta-final { background: var(--black); padding: 100px 64px; text-align: center; position: relative; overflow: hidden; }
.espacios-wrap .sp-cta-bg-text { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-family: 'Cormorant Garamond', serif; font-size: 200px; font-weight: 300; letter-spacing: 20px; color: rgba(242,230,208,.03); pointer-events: none; white-space: nowrap; line-height: 1; z-index: 0; }
.espacios-wrap .sp-cta-inner { position: relative; z-index: 1; }
.espacios-wrap .sp-ey-lt { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: rgba(242,230,208,.80); display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.espacios-wrap .sp-ey-lt::before,
.espacios-wrap .sp-ey-lt::after { content: ''; width: 28px; height: 1px; background: rgba(242,230,208,.65); flex-shrink: 0; }
.espacios-wrap .sp-st-lt { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1; color: var(--cream); margin-bottom: 20px; text-align: center; }
.espacios-wrap .sp-st-lt em { font-style: italic; color: var(--sand); }
.espacios-wrap .sp-cta-sub { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: rgba(242,230,208,.55); margin-bottom: 48px; }
.espacios-wrap .sp-cta-btns { display: flex; gap: 16px; justify-content: center; }

/* Botones globales */
.espacios-wrap .btn-cream { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 36px; background: var(--cream); color: var(--black); border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.espacios-wrap .btn-cream:hover { background: var(--white); color: var(--black); }
.espacios-wrap .btn-out { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 24px; border: 1px solid var(--border-st); color: var(--text-sec); background: transparent; cursor: pointer; text-decoration: none; transition: all .2s; display: inline-block; }
.espacios-wrap .btn-out:hover { border-color: var(--taupe); color: var(--taupe); }
.espacios-wrap .btn-fill { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 12px 24px; background: var(--taupe); color: var(--white); border: 1px solid var(--taupe); cursor: pointer; text-decoration: none; transition: all .2s; display: inline-block; }
.espacios-wrap .btn-fill:hover { background: var(--brown); border-color: var(--brown); }
.espacios-wrap .btn-solid { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 36px; background: var(--taupe); color: var(--white); border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.espacios-wrap .btn-solid:hover { background: var(--brown); }

/* Reveal */
.espacios-wrap .rev { transition: opacity .75s ease, transform .75s ease; }
.espacios-wrap .rev-scale { transition: opacity .7s ease, transform .7s ease; }
.espacios-wrap .rev.will-animate { opacity: 0; transform: translateY(30px); }
.espacios-wrap .rev-scale.will-animate { opacity: 0; transform: scale(.97); }
.espacios-wrap .rev.visible,
.espacios-wrap .rev-scale.visible { opacity: 1 !important; transform: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .espacios-wrap .sp-lay { grid-template-columns: 1fr; }
  .espacios-wrap .sp-lay.reverse .sp-media,
  .espacios-wrap .sp-lay.reverse .sp-content { order: 0; }
  .espacios-wrap .sp-media { flex-direction: column; min-height: auto; }
  .espacios-wrap .sp-feat-img { flex: none; height: 300px; min-height: 0; }
  .espacios-wrap .sp-gallery { width: 100%; flex-direction: row; gap: 4px; }
  .espacios-wrap .sp-lay.reverse .sp-gallery { order: 0; }
  .espacios-wrap .sp-thumb { flex: 1; width: auto; height: 68px; min-height: 0; min-width: 0; }
  .espacios-wrap .sp-content,
  .espacios-wrap .sp-lay.reverse .sp-content { padding: 40px 24px; }
  .espacios-wrap .sp-anchor-bar { top: 70px; }
  .admin-bar .espacios-wrap .sp-anchor-bar { top: calc(70px + var(--wp-admin--admin-bar--height, 46px)); }
  .espacios-wrap .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .espacios-wrap .ph-ct { padding: 0 24px 48px; }
  .espacios-wrap .sp-paquetes-inner { padding: 0 24px; }
  .espacios-wrap .sp-cta-final { padding: 72px 24px; }
}
@media (max-width: 600px) {
  .espacios-wrap .sp-feat-img { height: 220px; }
  .espacios-wrap .sp-gallery { overflow-x: auto; flex-wrap: nowrap; }
  .espacios-wrap .sp-gallery::-webkit-scrollbar { display: none; }
  .espacios-wrap .sp-thumb { min-width: 60px; width: 60px; height: 56px; flex: none; }
  .espacios-wrap .sp-anchor-link { font-size: 10px; padding: 12px 14px; }
  .espacios-wrap .pkg-grid { grid-template-columns: 1fr; }
  .espacios-wrap .sp-paquetes-sec { padding: 64px 0; }
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 52 — QUIÉNES SOMOS — eliminar gap superior del tema
   ══════════════════════════════════════════════════════════════════════ */
.page-id-52 .entry-title,
.page-id-52 .wp-block-post-title {
  display: none !important;
}
.page-id-52 .entry-header,
.page-id-52 .wp-block-post-content > .has-post-thumbnail,
.page-id-52 .page-header {
  display: none !important;
}
.page-id-52 .wp-site-blocks > main,
.page-id-52 main.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-52 .wp-block-group.has-global-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-52 .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-52 footer.wp-block-template-part {
  margin-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 53 — EXPERIENCIAS — Quitar espacio superior del tema
   ══════════════════════════════════════════════════════════════════════ */
.page-id-53 .wp-site-blocks > main,
.page-id-53 main.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-53 .wp-block-group.has-global-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-53 .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-53 .entry-title,
.page-id-53 .wp-block-post-title,
.page-id-53 .page-title {
  display: none !important;
}
.page-id-53 footer.wp-block-template-part {
  margin-top: 0 !important;
}

.page-id-53 .aluna-exp-hero.wp-block-cover {
  min-height: 495px !important;
}
/* Hero: imagen más luminosa como el wireframe (0.4→0.6 brightness) */
.page-id-53 .aluna-exp-hero .wp-block-cover__image-background {
  filter: brightness(0.6) saturate(0.8) !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 58 — NOTICIAS — Ajustes vs wireframe
   ══════════════════════════════════════════════════════════════════════ */
.page-id-53 .aluna-exp-hero .wp-block-cover__inner-container {
  width: min(100%, calc(1280px + (2 * clamp(20px, 5vw, 64px)))) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px) 72px !important;
  box-sizing: border-box;
}

.page-id-53 .aluna-exp-hero .aluna-page-hero-content {
  max-width: 600px;
}

.page-id-53 .aluna-exp-hero .aluna-page-hero-content .aluna-lead {
  max-width: 520px;
}

.page-id-53 .xpg {
  padding-top: 80px;
  padding-bottom: 100px;
}

.page-id-53 .xpg-hdr .aluna-h2 {
  max-width: 9.5ch;
}

.editor-styles-wrapper .aluna-exp-hero.wp-block-cover {
  min-height: 495px !important;
}

.editor-styles-wrapper .aluna-exp-hero .wp-block-cover__image-background {
  filter: brightness(0.6) saturate(0.8) !important;
}

.editor-styles-wrapper .aluna-exp-hero .wp-block-cover__inner-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: min(100%, calc(1280px + (2 * clamp(20px, 5vw, 64px))));
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 72px !important;
  box-sizing: border-box;
}

.editor-styles-wrapper .aluna-exp-hero .aluna-page-hero-content {
  max-width: 600px;
}

.editor-styles-wrapper .aluna-exp-hero .aluna-page-hero-content .aluna-lead {
  max-width: 520px;
}

.page-id-58 .wp-site-blocks > main,
.page-id-58 main.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-58 .wp-block-group.has-global-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.page-id-58 .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.page-id-58 .entry-title,
.page-id-58 .wp-block-post-title,
.page-id-58 .page-title {
  display: none !important;
}
/* Hero: imagen más luminosa — wireframe usa brightness(0.6) */
.page-id-58 .wp-block-cover__image-background {
  filter: brightness(0.6) saturate(0.8) !important;
}
/* Newsletter: fondo crema exacto del wireframe (#F2E6D0) */
.page-id-58 .wp-block-group.has-background:last-of-type {
  background-color: var(--aluna-cream) !important;
}
.page-id-58 footer.wp-block-template-part {
  margin-top: 0 !important;
}
.page-id-54 footer.wp-block-template-part {
  margin-top: 0 !important;
}
.page-id-59 footer.wp-block-template-part {
  margin-top: 0 !important;
}
.page-id-59 main > .wp-block-group {
  padding-bottom: 0 !important;
}
.page-id-59 .aluna-cli-inner {
  padding-bottom: 0 !important;
}
.page-id-59 .wp-block-post-content > p:empty {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 59 — CONTACTO — Sección formulario + info
   ══════════════════════════════════════════════════════════════════════ */

/* Ocultar cabecera de página "Contacto" del tema */
.page-id-59 .entry-title,
.page-id-59 .wp-block-post-title {
  display: none !important;
}
.page-id-59 .entry-header,
.page-id-59 .wp-block-post-content > .has-post-thumbnail,
.page-id-59 .page-header {
  display: none !important;
}
.page-id-59 .wp-site-blocks > main,
.page-id-59 main.wp-block-group {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.page-id-59 .wp-block-group.has-global-padding {
  padding-top: 0 !important;
}
.page-id-59 .entry-content {
  margin-top: 0 !important;
}

/* WPForms: campos en 1 columna en mobile */
@media (max-width: 780px) {
  .wpforms-one-half,
  .wpforms-one-half.wpforms-first {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
  }
}

.aluna-contact-sec.alignfull {
  background: var(--aluna-white) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 80px) clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}
.aluna-contact-hero.wp-block-cover {
  min-height: 55vh !important;
  align-items: flex-end !important;
}
.aluna-contact-hero.alignfull,
.aluna-contact-sec.alignfull,
.aluna-cli-sec.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-contact-hero .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 1280px !important;
  flex: 0 0 auto !important;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px) clamp(52px, 5vw, 72px) !important;
  min-height: inherit;
  box-sizing: border-box;
}
.aluna-contact-hero .wp-block-cover__image-background {
  filter: brightness(.72) saturate(.82);
}
.aluna-contact-hero-shell {
  min-height: 0;
  height: auto;
  width: 100%;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}
.aluna-contact-hero-content {
  width: 100%;
  max-width: 515px;
}
.aluna-contact-hero-title {
  max-width: none;
  font-size: clamp(44px, 5.8vw, 80px) !important;
}
.aluna-contact-hero-sub {
  max-width: 515px;
}
.aluna-contact-hero-title em {
  font-style: italic;
  font-weight: 300;
}
.aluna-cf-grid.wp-block-columns {
  gap: clamp(24px, 5vw, 80px) !important;
  align-items: flex-start;
  flex-wrap: nowrap;
}
/* Anuncia bloque-gap WordPress entre columnas */
:root :where(.is-layout-flow) > .aluna-contact-inner,
:root :where(.is-layout-constrained) > .aluna-contact-inner {
  margin-block-start: 0 !important;
}
.aluna-contact-inner > .aluna-cf-grid.wp-block-columns {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.page-id-59 .aluna-contact-inner.wp-block-group.has-global-padding,
.page-id-59 .aluna-cli-inner.wp-block-group.has-global-padding,
.editor-styles-wrapper .aluna-contact-inner.wp-block-group.has-global-padding,
.editor-styles-wrapper .aluna-cli-inner.wp-block-group.has-global-padding {
  padding-top: clamp(56px, 7vw, 80px) !important;
  padding-right: clamp(20px, 5vw, 64px) !important;
  padding-bottom: clamp(56px, 7vw, 80px) !important;
  padding-left: clamp(20px, 5vw, 64px) !important;
}


/* Nota "Respondemos en..." */
.aluna-contact-note {
  font-family: var(--aluna-font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--aluna-text-muted);
  text-align: center;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}
.aluna-contact-form-col .wp-block-shortcode {
  margin: 0 !important;
}
.aluna-contact-form-col #wpforms-300,
.aluna-contact-form-col #wpforms-form-300 {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.aluna-contact-form-col #wpforms-300-field_6-container {
  display: none !important;
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 22px;
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-field {
  margin: 0 !important;
  padding: 0 !important;
}
.aluna-contact-form-col #wpforms-300-field_3-container {
  grid-column: 1 / -1;
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-field-label {
  display: block;
  margin: 0 0 10px !important;
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  line-height: 1.2;
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-required-label {
  color: var(--aluna-taupe);
}
.aluna-contact-form-col #wpforms-form-300 input[type="text"],
.aluna-contact-form-col #wpforms-form-300 input[type="email"],
.aluna-contact-form-col #wpforms-form-300 input[type="tel"],
.aluna-contact-form-col #wpforms-form-300 select,
.aluna-contact-form-col #wpforms-form-300 textarea {
  width: 100% !important;
  min-height: 54px;
  border: 1px solid rgba(139,126,112,.28) !important;
  border-radius: 0 !important;
  background: var(--aluna-white) !important;
  box-shadow: none !important;
  padding: 16px 18px !important;
  font-family: var(--aluna-font-body) !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  color: var(--aluna-text-sec) !important;
  line-height: 1.45 !important;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.aluna-contact-form-col #wpforms-form-300 textarea {
  min-height: 118px;
  resize: vertical;
}
.aluna-contact-form-col #wpforms-form-300 select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--aluna-taupe) 50%),
    linear-gradient(135deg, var(--aluna-taupe) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px !important;
}
.aluna-contact-form-col #wpforms-form-300 ::placeholder {
  color: rgba(107,92,78,.72);
  opacity: 1;
}
.aluna-contact-form-col #wpforms-form-300 input:focus,
.aluna-contact-form-col #wpforms-form-300 select:focus,
.aluna-contact-form-col #wpforms-form-300 textarea:focus {
  border-color: rgba(139,126,112,.58) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(217,201,168,.18) !important;
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-submit-container {
  margin: 12px 0 0 !important;
  padding: 0 !important;
}
.aluna-contact-form-col #wpforms-submit-300 {
  width: 100% !important;
  min-height: 56px;
  border: 1px solid var(--aluna-taupe) !important;
  border-radius: 0 !important;
  background: var(--aluna-taupe) !important;
  color: transparent !important;
  box-shadow: none !important;
  padding: 16px 24px !important;
  position: relative;
  font-size: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: background .2s, border-color .2s, transform .2s;
}
.aluna-contact-form-col #wpforms-submit-300::before {
  content: "Enviar mensaje \2192";
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--aluna-white);
}
.aluna-contact-form-col #wpforms-submit-300:hover,
.aluna-contact-form-col #wpforms-submit-300:focus {
  background: var(--aluna-brown) !important;
  border-color: var(--aluna-brown) !important;
  transform: translateY(-1px);
}
.aluna-contact-form-col #wpforms-form-300 .wpforms-submit-spinner {
  position: absolute;
  right: 18px;
  top: 50%;
  margin-top: -13px;
}

/* ── Info items ─────────────────────────────────────────────────── */
.aluna-cf-info-item { margin-bottom: 28px; }
.aluna-cf-info-item > * { margin-block-start: 0 !important; }
.aluna-cf-info-lbl {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  margin-bottom: 6px !important;
}
.aluna-cf-info-val {
  font-family: var(--aluna-font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--aluna-text-sec);
  line-height: 1.5;
  margin-bottom: 0 !important;
}
.aluna-cf-info-val a {
  color: var(--aluna-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--aluna-sand);
}
.aluna-cf-info-sub {
  font-family: var(--aluna-font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--aluna-taupe);
  margin-bottom: 0 !important;
  margin-top: 4px !important;
}

/* ── Redes sociales ─────────────────────────────────────────────── */
.aluna-contact-social-wrap { margin-top: 36px; }
.aluna-contact-social-wrap .aluna-cf-info-lbl { margin-bottom: 14px !important; }
.aluna-contact-social.wp-block-social-links {
  gap: 10px !important;
  justify-content: flex-start !important;
  margin-top: 0 !important;
}
.aluna-contact-social .wp-social-link {
  width: 40px !important;
  height: 40px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 1px solid var(--aluna-border-st) !important;
  color: var(--aluna-taupe) !important;
  padding: 0 !important;
  transition: background .2s, color .2s;
}
.aluna-contact-social .wp-social-link:hover {
  background: var(--aluna-taupe) !important;
  color: var(--aluna-white) !important;
}
.aluna-contact-social .wp-social-link svg { width: 16px; height: 16px; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .aluna-contact-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .page-id-59 .aluna-contact-inner.wp-block-group.has-global-padding,
  .page-id-59 .aluna-cli-inner.wp-block-group.has-global-padding,
  .editor-styles-wrapper .aluna-contact-inner.wp-block-group.has-global-padding,
  .editor-styles-wrapper .aluna-cli-inner.wp-block-group.has-global-padding {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }
  .aluna-cf-grid.wp-block-columns {
    flex-wrap: wrap !important;
    gap: 42px !important;
  }
  .aluna-cf-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .aluna-contact-hero-shell {
    min-height: 0;
  }
  .aluna-contact-hero-content {
    max-width: 500px;
  }
}

@media (max-width: 780px) {
  .aluna-contact-inner {
    padding: 64px 20px 60px;
  }
  .page-id-59 .aluna-contact-inner.wp-block-group.has-global-padding,
  .page-id-59 .aluna-cli-inner.wp-block-group.has-global-padding,
  .editor-styles-wrapper .aluna-contact-inner.wp-block-group.has-global-padding,
  .editor-styles-wrapper .aluna-cli-inner.wp-block-group.has-global-padding {
    padding: 64px 20px 60px !important;
  }
  .aluna-contact-hero .wp-block-cover__inner-container {
    padding: 0 20px 52px !important;
  }
  .aluna-contact-hero-shell {
    min-height: 0;
  }
  .aluna-contact-hero-content {
    max-width: 100%;
  }
  .aluna-contact-form-col #wpforms-form-300 .wpforms-field-container {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .aluna-contact-form-col #wpforms-300-field_3-container {
    grid-column: span 1;
  }
  .aluna-contact-form-col #wpforms-form-300 input[type="text"],
  .aluna-contact-form-col #wpforms-form-300 input[type="email"],
  .aluna-contact-form-col #wpforms-form-300 input[type="tel"],
  .aluna-contact-form-col #wpforms-form-300 select,
  .aluna-contact-form-col #wpforms-form-300 textarea {
    min-height: 52px;
    padding: 15px 16px !important;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   PÁGINA 59 — CONTACTO — Sección Cómo llegar
   ══════════════════════════════════════════════════════════════════════ */

.aluna-cli-sec.alignfull {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.aluna-cli-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 80px) clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}
.aluna-cli-inner > .aluna-cli-intro,
.aluna-cli-inner > .aluna-cli-map,
.aluna-cli-inner > .aluna-cli-grid.wp-block-columns {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Intro */
.aluna-cli-intro {
  text-align: center;
  margin-bottom: 48px;
}
.aluna-eyebrow--center {
  justify-content: center;
}
.aluna-cli-h2 {
  text-align: center !important;
  margin-bottom: 0;
}

/* Mapa */
.aluna-cli-map {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 40px !important;
}
.aluna-cli-map .wp-block-cover__image-background {
  filter: brightness(.7) saturate(.7);
}
.aluna-cli-map .wp-block-cover__inner-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: inherit;
}
.aluna-cli-map-box {
  background: rgba(28,24,20,.72) !important;
  padding: 28px 44px !important;
  text-align: center;
}
.aluna-cli-map-box > * { margin-block-start: 0 !important; }
.aluna-cli-map-addr {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(20px, 2.2vw, 28px) !important;
  font-weight: 300 !important;
  color: var(--aluna-cream) !important;
  margin-bottom: 8px !important;
}
.aluna-cli-map-lbl {
  font-family: var(--aluna-font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--aluna-taupe) !important;
  margin-bottom: 6px !important;
}
.aluna-cli-map-hrs {
  font-family: var(--aluna-font-display) !important;
  font-size: 18px !important;
  font-style: italic !important;
  color: var(--aluna-taupe) !important;
  margin-bottom: 20px !important;
}
.aluna-cli-map-btn .wp-block-button__link {
  font-family: var(--aluna-font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  padding: 10px 24px !important;
  background: var(--aluna-cream) !important;
  color: var(--aluna-black) !important;
  border: none !important;
  border-radius: 0 !important;
  transition: background .2s !important;
}
.aluna-cli-map-btn .wp-block-button__link:hover {
  background: var(--aluna-white) !important;
}

/* Grid de transporte */
.aluna-cli-grid.wp-block-columns {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 1px solid var(--aluna-border) !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  margin-bottom: 0 !important;
}
.aluna-cli-grid > .wp-block-column {
  padding: 44px 36px !important;
  text-align: center !important;
  border-right: 1px solid var(--aluna-border) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.aluna-cli-grid > .wp-block-column:last-child {
  border-right: none !important;
}
.aluna-cli-card-icon {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  margin: 0 auto 24px;
}
.aluna-cli-icon--carro {
  width: 52px; height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 36' fill='none' stroke='%238B7E70' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20 L14 6 L38 6 L44 20'/%3E%3Crect x='2' y='20' width='48' height='12' rx='2'/%3E%3Ccircle cx='13' cy='32' r='3' fill='%238B7E70' stroke='none'/%3E%3Ccircle cx='39' cy='32' r='3' fill='%238B7E70' stroke='none'/%3E%3Cpath d='M16 20 L14 6 M36 6 L36 20'/%3E%3C/svg%3E");
}
.aluna-cli-icon--bus {
  width: 36px; height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 40' fill='none' stroke='%238B7E70' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='26' height='28' rx='3'/%3E%3Cpath d='M2 12h26M2 22h26'/%3E%3Cpath d='M10 30v4M20 30v4'/%3E%3Ccircle cx='10' cy='36' r='2.5' fill='%238B7E70' stroke='none'/%3E%3Ccircle cx='20' cy='36' r='2.5' fill='%238B7E70' stroke='none'/%3E%3Cpath d='M8 7h5M17 7h5'/%3E%3C/svg%3E");
}
.aluna-cli-icon--bici {
  width: 56px; height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 36' fill='none' stroke='%238B7E70' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='24' r='8'/%3E%3Ccircle cx='46' cy='24' r='8'/%3E%3Cpath d='M10 24 L24 6 L32 6 L46 24'/%3E%3Cpath d='M24 6 L28 24'/%3E%3Ccircle cx='24' cy='6' r='2.5' fill='%238B7E70' stroke='none'/%3E%3Cpath d='M32 6 L36 2 L40 6'/%3E%3C/svg%3E");
}
.aluna-cli-card-div {
  width: 28px;
  height: 1px;
  background: var(--aluna-taupe);
  opacity: .35;
  margin: 0 auto 20px;
}
.aluna-cli-card-title {
  font-family: var(--aluna-font-display) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  color: var(--aluna-text) !important;
  margin-bottom: 10px !important;
}
.aluna-cli-card-desc {
  font-size: 15px !important;
  max-width: 240px;
  margin: 0 auto !important;
  line-height: 1.7 !important;
}

/* Responsive */
@media (max-width: 980px) {
  .aluna-cli-inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

@media (max-width: 780px) {
  .aluna-cli-grid.wp-block-columns { flex-wrap: wrap !important; }
  .aluna-cli-grid > .wp-block-column {
    flex-basis: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--aluna-border) !important;
  }
  .aluna-cli-grid > .wp-block-column:last-child { border-bottom: none !important; }
  .aluna-cli-map-box { padding: 24px 20px !important; }
  .aluna-cli-inner { padding: 64px 20px 60px; }
}

/* ── Single Post Template ──────────────────────────────────────── */

/* Quitar margin-top heredado del tema en posts */
.single .wp-site-blocks > main,
.single main.wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hero — contenido anclado al fondo */
.aluna-ph.wp-block-cover {
  min-height: 60vh !important;
  align-items: flex-end !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.aluna-ph .wp-block-cover__image-background {
  filter: brightness(0.52) saturate(0.75) !important;
}
/* Reemplazar el overlay por el gradiente del wireframe */
.aluna-ph .wp-block-cover__background {
  background: linear-gradient(to top, var(--aluna-black) 0%, rgba(28,24,20,.5) 55%, rgba(28,24,20,.08) 100%) !important;
  opacity: 1 !important;
}
/* Contenedor interno: ancho completo, sin padding extra */
.aluna-ph .wp-block-cover__inner-container {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.aluna-ph-ct {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px) 15px;
}
.aluna-ph-ey {
  margin-bottom: 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: rgba(242,230,208,.55) !important;
}
.aluna-ph-ey::before {
  width: 24px !important;
  height: 1px !important;
  background: rgba(242,230,208,.4) !important;
}
.aluna-ph-ey a { color: inherit !important; text-decoration: none; }
.aluna-ph-h1 {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(38px, 4.8vw, 72px) !important;
  font-weight: 300 !important;
  line-height: 1.05 !important;
  color: var(--aluna-cream) !important;
  margin-bottom: 22px !important;
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
  max-width: 900px;
  text-align: left !important;
}
.aluna-ph-h1 em {
  color: var(--aluna-sand) !important;
  font-style: italic !important;
}
.aluna-ph-meta { gap: 6px 20px !important; align-items: center !important; flex-wrap: wrap !important; }
/* core/post-date no aplica className personalizado — seleccionamos por bloque */
.aluna-ph-meta .wp-block-post-date,
.aluna-ph-meta .wp-block-post-date time,
.aluna-ph-sep {
  font-family: var(--aluna-font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
}
.aluna-ph-meta .wp-block-post-date,
.aluna-ph-meta .wp-block-post-date time { color: rgba(242,230,208,.5) !important; }
.aluna-ph-sep { color: rgba(242,230,208,.25) !important; }
/* Autor — misma línea tipográfica que la fecha */
.aluna-ph-author,
.aluna-ph-author .wp-block-post-author__content,
.aluna-ph-author .wp-block-post-author__name {
  font-family: var(--aluna-font-display) !important;
  font-size: 17px !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(242,230,208,.55) !important;
}
.aluna-ph-author .wp-block-post-author__name::before {
  content: none !important;
}

/* Topbar */
.aluna-art-topbar {
  background: var(--aluna-cream-lt);
  border-bottom: 1px solid var(--aluna-border);
  padding: 14px clamp(20px, 5vw, 72px) !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.aluna-art-topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  gap: 16px;
}
.aluna-art-back {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.aluna-art-back a {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  text-decoration: none;
  transition: gap .2s, color .2s;
}
.aluna-art-back a:hover { color: var(--aluna-brown); }
.aluna-art-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.aluna-art-tag,
.aluna-art-tags a {
  font-family: var(--aluna-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--aluna-border-st);
  background: transparent;
  color: var(--aluna-taupe);
  text-decoration: none;
  display: inline-block;
  line-height: 1.4;
}
.aluna-art-tag { pointer-events: none; }
.aluna-art-tags a:hover {
  background: transparent;
  border-color: var(--aluna-taupe);
  color: var(--aluna-brown);
}

/* Article wrapper */
.aluna-art-outer {
  background: var(--aluna-white);
  padding: 0 !important;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}
.aluna-art-outer > .wp-block-post-content,
.aluna-art-outer .wp-block-post-content {
  padding-top: clamp(48px, 6vw, 72px);
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  padding-bottom: 72px;
}

/* Article content typography */
.aluna-art-outer .wp-block-post-content p {
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--aluna-text-sec);
  line-height: 1.85;
  margin-bottom: 24px;
}
.aluna-art-outer .wp-block-post-content h2 {
  font-family: var(--aluna-font-display);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 400;
  color: var(--aluna-text);
  line-height: 1.15;
  margin-top: 48px;
  margin-bottom: 16px;
}
.aluna-art-outer .wp-block-post-content blockquote {
  padding: 28px 32px;
  border-left: 3px solid var(--aluna-taupe);
  background: var(--aluna-cream-lt);
  margin: 40px 0;
}
.aluna-art-outer .wp-block-post-content blockquote p {
  font-family: var(--aluna-font-display);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--aluna-text);
  line-height: 1.5;
  margin-bottom: 0;
}
.aluna-art-outer .wp-block-post-content blockquote cite {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
}
.aluna-art-outer .wp-block-post-content figure { margin: 40px 0; }
.aluna-art-outer .wp-block-post-content figure img {
  width: 100%;
  height: auto;
  filter: brightness(0.9) saturate(0.85);
  display: block;
}
.aluna-art-outer .wp-block-post-content figcaption {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  color: var(--aluna-text-muted);
  margin-top: 8px;
  text-align: center;
}
.aluna-art-outer .wp-block-post-content strong {
  font-weight: 500;
  color: var(--aluna-text);
}
/* Links dentro del artículo */
.aluna-art-outer .wp-block-post-content a {
  color: var(--aluna-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--aluna-sand);
  transition: color .2s, border-color .2s;
}
.aluna-art-outer .wp-block-post-content a:hover {
  color: var(--aluna-taupe);
  border-color: var(--aluna-taupe);
}
/* H3 y H4 en el artículo */
.aluna-art-outer .wp-block-post-content h3 {
  font-family: var(--aluna-font-body);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aluna-text);
  margin-top: 40px;
  margin-bottom: 12px;
  line-height: 1.4;
}
/* Primer párrafo del artículo como lead */
.aluna-art-outer .wp-block-post-content > p:first-of-type,
.aluna-art-outer .wp-block-post-content .art-lead {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(19px, 2.4vw, 25px) !important;
  font-weight: 300 !important;
  line-height: 1.55 !important;
  color: var(--aluna-text-sec) !important;
  margin-bottom: 32px !important;
}

/* ── Pilares de estadísticas del artículo (wp:columns) ─────── */
.aluna-art-outer .wp-block-columns.art-pillars {
  border: 1px solid var(--aluna-border);
  margin: 44px 0 !important;
  gap: 0 !important;
  flex-wrap: nowrap;
}
.aluna-art-outer .wp-block-columns.art-pillars .wp-block-column {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--aluna-border);
  flex-basis: 0 !important;
  flex-grow: 1 !important;
}
.aluna-art-outer .wp-block-columns.art-pillars .wp-block-column:last-child {
  border-right: none;
}
.aluna-art-outer .art-pillar-num {
  font-family: var(--aluna-font-display) !important;
  font-size: 44px !important;
  font-weight: 300 !important;
  color: var(--aluna-taupe) !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
  text-align: center;
}
.aluna-art-outer .art-pillar-lbl {
  font-family: var(--aluna-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--aluna-text-muted) !important;
  text-align: center;
  margin-bottom: 0 !important;
}
@media (max-width: 600px) {
  .aluna-art-outer .wp-block-columns.art-pillars { flex-wrap: wrap !important; }
  .aluna-art-outer .wp-block-columns.art-pillars .wp-block-column {
    border-right: none;
    border-bottom: 1px solid var(--aluna-border);
    flex-basis: 100% !important;
  }
  .aluna-art-outer .wp-block-columns.art-pillars .wp-block-column:last-child {
    border-bottom: none;
  }
}

/* ── Video embed del artículo ───────────────────────────────── */
.aluna-art-outer .wp-block-post-content .art-video {
  margin: 48px 0;
  position: relative;
  background: var(--aluna-black);
}
.aluna-art-outer .wp-block-post-content .art-video video {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.aluna-art-outer .wp-block-post-content .art-video figcaption {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--aluna-text-muted);
  margin-top: 10px;
  padding-left: 2px;
}

/* ── Byline y fuente del artículo ───────────────────────────── */
.aluna-art-outer .art-byline {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--aluna-border);
  font-family: var(--aluna-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aluna-text-muted);
  line-height: 1.8;
}
.aluna-art-outer .art-source {
  margin-top: 16px;
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--aluna-text-muted);
  line-height: 1.7;
  margin-bottom: 0 !important;
}

/* ── nwg--related: variante "Sigue leyendo" en single post ───── */
.nwg--related.nwg { background: var(--aluna-cream-lt) !important; }
/* Compensar el margin-left negativo del alignfull para alinear
   el contenido con el resto de la página */
.nwg--related .nwg-inner {
  background: var(--aluna-cream-lt) !important;
  box-sizing: border-box !important;
  padding-left: calc(var(--wp--style--root--padding-left, clamp(20px, 5vw, 64px)) * 2) !important;
  padding-right: calc(var(--wp--style--root--padding-right, clamp(20px, 5vw, 64px)) * 2) !important;
}
.nwg--related .nwg-filters { display: none !important; }
.nwg--related .nwg-hdr {
  border-bottom: none !important;
  padding-bottom: 0 !important;
  margin-bottom: 40px !important;
}
.nwg--related .nwg-heading {
  font-size: clamp(28px, 4vw, 44px) !important;
  margin-bottom: 0 !important;
}
/* Grid: 3 columnas iguales, gap del wireframe */
.nwg--related .nwg-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}
.nwg--related .nwg-card--feat { grid-column: span 1 !important; }
/* Imagen: 200px en todos los tamaños */
.nwg--related .nwg-card-img,
.nwg--related .nwg-card-img--lg,
.nwg--related .nwg-card-img--sm { height: 200px !important; }
/* Card body compacto según wireframe */
.nwg--related .nwg-card-body { padding: 22px 20px 18px !important; }
.nwg--related .nwg-title { font-size: 22px !important; }
.nwg--related .nwg-date  { font-size: 12px !important; }
.nwg--related .nwg-link  { font-size: 12px !important; }
.nwg--related .nwg-desc  { display: none !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Hero */
  .aluna-ph.wp-block-cover { min-height: 52vh !important; }
  .aluna-ph-ct { padding-bottom: 12px !important; }
  .aluna-ph-ey { gap: 10px !important; }
  .aluna-ph-ey::before { width: 18px !important; }
  .aluna-ph-h1 em { white-space: normal; }
  .aluna-ph-meta { flex-wrap: wrap !important; gap: 6px 14px !important; }
  .aluna-ph-meta .wp-block-post-date,
  .aluna-ph-meta .wp-block-post-date time,
  .aluna-ph-sep { font-size: 10px !important; letter-spacing: 1.2px !important; }
  .aluna-ph-author,
  .aluna-ph-author .wp-block-post-author__name { font-size: 15px !important; }
  /* Topbar: badges debajo del enlace volver */
  .aluna-art-topbar-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Sigue leyendo: 1 columna */
  .nwg--related .nwg-grid { grid-template-columns: 1fr !important; }
  .nwg--related .nwg-card-img,
  .nwg--related .nwg-card-img--lg,
  .nwg--related .nwg-card-img--sm { height: 180px !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   EDITOR CONTEXT — Gutenberg post editor
   Espeja los estilos de artículo del frontend (.aluna-art-outer) para
   que el editor de posts muestre la misma tipografía que el frontend.
   El prefijo .editor-styles-wrapper está presente en el iframe del
   editor de bloques (WP 6.x+).
   ══════════════════════════════════════════════════════════════════════ */

/* ── Tipografía base del cuerpo del artículo ─────────────────── */
.editor-styles-wrapper p {
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--aluna-text-sec);
  line-height: 1.85;
}

/* ── Lead: primer párrafo en serif ──────────────────────────── */
.editor-styles-wrapper .is-root-container > p:first-of-type,
.editor-styles-wrapper .wp-block-post-content > p:first-of-type,
.editor-styles-wrapper .art-lead {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(19px, 2.4vw, 25px) !important;
  font-weight: 300 !important;
  line-height: 1.55 !important;
  color: var(--aluna-text-sec) !important;
  margin-bottom: 32px !important;
}

/* ── H2 ─────────────────────────────────────────────────────── */
.editor-styles-wrapper h2 {
  font-family: var(--aluna-font-display);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 400;
  color: var(--aluna-text);
  line-height: 1.15;
  margin-top: 48px;
  margin-bottom: 16px;
}

/* ── Blockquote ─────────────────────────────────────────────── */
.editor-styles-wrapper blockquote {
  padding: 28px 32px;
  border-left: 3px solid var(--aluna-taupe);
  background: var(--aluna-cream-lt);
  margin: 40px 0;
}
.editor-styles-wrapper blockquote p {
  font-family: var(--aluna-font-display) !important;
  font-style: italic !important;
  font-size: clamp(19px, 2.4vw, 24px) !important;
  color: var(--aluna-text) !important;
  line-height: 1.5 !important;
  margin-bottom: 0 !important;
}
.editor-styles-wrapper blockquote cite {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--aluna-taupe);
  display: block;
  margin-top: 12px;
}

/* ── Strong ─────────────────────────────────────────────────── */
.editor-styles-wrapper strong {
  font-weight: 500;
  color: var(--aluna-text);
}

/* ── Pilares de estadísticas ────────────────────────────────── */
.editor-styles-wrapper .wp-block-columns.art-pillars {
  border: 1px solid var(--aluna-border);
  gap: 0 !important;
}
.editor-styles-wrapper .wp-block-columns.art-pillars .wp-block-column {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--aluna-border);
}
.editor-styles-wrapper .wp-block-columns.art-pillars .wp-block-column:last-child {
  border-right: none;
}
.editor-styles-wrapper .art-pillar-num {
  font-family: var(--aluna-font-display) !important;
  font-size: 44px !important;
  font-weight: 300 !important;
  color: var(--aluna-taupe) !important;
  line-height: 1 !important;
  text-align: center;
  margin-bottom: 10px !important;
}
.editor-styles-wrapper .art-pillar-lbl {
  font-family: var(--aluna-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: var(--aluna-text-muted) !important;
  text-align: center;
  margin-bottom: 0 !important;
}

/* ── Video embed ──────────────────────────────────────────────── */
.editor-styles-wrapper .art-video {
  margin: 48px 0;
  background: var(--aluna-black);
}
.editor-styles-wrapper .art-video video {
  width: 100%;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.editor-styles-wrapper .art-video figcaption {
  font-family: var(--aluna-font-body);
  font-size: 12px;
  color: var(--aluna-text-muted);
  margin-top: 10px;
}

/* ── Byline y fuente ────────────────────────────────────────── */
.editor-styles-wrapper .art-byline {
  padding-top: 24px;
  border-top: 1px solid var(--aluna-border);
  font-family: var(--aluna-font-body) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: var(--aluna-text-muted) !important;
}
.editor-styles-wrapper .art-source {
  font-family: var(--aluna-font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--aluna-text-muted) !important;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════
   EDITOR + FRONTEND SYNC — PÁGINA 52 / QUIÉNES SOMOS
   El iframe de Gutenberg no tiene .page-id-52, por eso las reglas
   específicas de la página deben duplicarse con clases propias.
   ══════════════════════════════════════════════════════════════════════ */

.aluna-qs-hero.wp-block-cover {
  min-height: 100vh !important;
}

.aluna-qs-hero .wp-block-cover__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center !important;
  padding: 110px clamp(20px, 5vw, 64px) 48px !important;
  width: min(100%, 1280px) !important;
  max-width: none;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.aluna-qs-hero .aluna-page-hero-content {
  max-width: 580px;
}

.aluna-qs-hero .aluna-page-hero-content h1 {
  font-size: clamp(64px, 8.5vw, 108px);
  line-height: .92;
  letter-spacing: -2px;
  margin: 16px 0 36px;
}

.aluna-qs-hero .aluna-body--lt,
.aluna-qs-hero .aluna-desc--lt {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  color: var(--aluna-cream);
}

.aluna-qs-hero .aluna-qs-hero-actions {
  margin-top: 32px;
  gap: 14px;
}

.aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid rgba(242,230,208,.22);
  border-radius: 0;
  background: #F2E6D0;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  color: #1C1814;
  font-family: var(--aluna-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link:hover,
.aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link:focus {
  background: #F8EFE1;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  transform: translateY(-1px);
}

.editor-styles-wrapper .aluna-qs-hero .wp-block-cover__inner-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center !important;
  padding: 110px clamp(20px, 5vw, 64px) 48px !important;
  width: min(100%, 1280px) !important;
  max-width: none;
  margin: 0 auto !important;
  box-sizing: border-box;
}

.editor-styles-wrapper .aluna-qs-hero .aluna-page-hero-content {
  max-width: 580px;
}

.editor-styles-wrapper .aluna-qs-hero .aluna-page-hero-content h1 {
  font-family: var(--aluna-font-display);
  font-size: clamp(64px, 8.5vw, 108px) !important;
  font-weight: 300;
  line-height: .92 !important;
  letter-spacing: -2px;
  margin: 16px 0 36px !important;
  color: var(--aluna-cream);
}

.editor-styles-wrapper .aluna-qs-hero .aluna-page-hero-content .aluna-eyebrow {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px !important;
}

.editor-styles-wrapper .aluna-qs-hero .aluna-body--lt,
.editor-styles-wrapper .aluna-qs-hero .aluna-desc--lt {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(18px, 1.7vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: var(--aluna-cream) !important;
  margin-bottom: 14px !important;
}

.editor-styles-wrapper .aluna-qs-hero .aluna-qs-hero-actions {
  margin-top: 32px !important;
  gap: 14px;
}

.editor-styles-wrapper .aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border: 1px solid rgba(242,230,208,.22);
  border-radius: 0;
  background: #F2E6D0;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  color: #1C1814 !important;
  font-family: var(--aluna-font-body) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 2.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.editor-styles-wrapper .aluna-qs-esp-hdr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  box-sizing: border-box;
}

.editor-styles-wrapper .aluna-qs-esp-hdr > .wp-block-group:first-child {
  margin: 0;
}

.editor-styles-wrapper .aluna-qs-esp-desc {
  max-width: 420px;
  font-family: var(--aluna-font-body) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: var(--aluna-text-sec) !important;
  line-height: 1.7 !important;
  text-align: right;
  margin: 0 !important;
}

.editor-styles-wrapper .aluna-qs-mosaic {
  max-width: 1280px;
  margin: 0 auto !important;
  padding: 0 clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 6px;
  box-sizing: border-box;
}

.editor-styles-wrapper .aluna-qs-mosaic-item {
  overflow: hidden;
  cursor: zoom-in;
  margin: 0 !important;
}

.editor-styles-wrapper .aluna-qs-mosaic-item .wp-block-image,
.editor-styles-wrapper .aluna-qs-mosaic-item figure,
.editor-styles-wrapper .aluna-qs-mosaic-item img {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

.editor-styles-wrapper .aluna-qs-mosaic-item img {
  display: block;
  object-fit: cover !important;
}

.editor-styles-wrapper .aluna-qs-mosaic-item--tall {
  grid-row: span 2;
}

.editor-styles-wrapper .aluna-qs-mosaic-item--wide {
  grid-column: span 2;
}

.editor-styles-wrapper .aluna-qs-datos-hdr {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.editor-styles-wrapper .aluna-qs-datos-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(217,201,168,.15);
  border: 1px solid rgba(217,201,168,.15);
}

.editor-styles-wrapper .aluna-qs-dato {
  background: #1C1814;
  padding: 52px 56px;
}

.editor-styles-wrapper .aluna-qs-dato-num {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(52px, 6vw, 84px) !important;
  font-weight: 300 !important;
  color: var(--aluna-cream) !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
}

.editor-styles-wrapper .aluna-qs-dato-num sup {
  font-size: .45em;
  vertical-align: super;
  color: var(--aluna-sand);
}

.editor-styles-wrapper .aluna-qs-dato-lbl {
  font-family: var(--aluna-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  color: var(--aluna-sand) !important;
  margin-bottom: 10px !important;
}

.editor-styles-wrapper .aluna-qs-dato-desc {
  font-family: var(--aluna-font-body) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: rgba(242,230,208,.78) !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}

.editor-styles-wrapper .aluna-qs-close.wp-block-cover {
  min-height: 0 !important;
  padding: 140px 64px !important;
}

.editor-styles-wrapper .aluna-qs-close .wp-block-cover__inner-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.editor-styles-wrapper .aluna-qs-close-lead {
  font-family: var(--aluna-font-display) !important;
  font-size: clamp(36px, 5.5vw, 72px) !important;
  font-weight: 300 !important;
  font-style: italic !important;
  color: rgba(242,230,208,.72) !important;
  line-height: 1.35 !important;
  max-width: none;
  margin: 0 0 16px !important;
  text-align: center !important;
}

.editor-styles-wrapper .aluna-qs-close strong {
  color: var(--aluna-cream) !important;
}

.editor-styles-wrapper .aluna-qs-close .wp-block-buttons {
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .aluna-qs-hero .wp-block-cover__inner-container,
  .editor-styles-wrapper .aluna-qs-hero .wp-block-cover__inner-container {
    grid-template-columns: 1fr;
  }

  .editor-styles-wrapper .aluna-qs-esp-hdr {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .editor-styles-wrapper .aluna-qs-esp-desc {
    max-width: 100%;
    text-align: left;
  }

  .editor-styles-wrapper .aluna-qs-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, clamp(160px, 20vw, 260px));
    gap: 0;
  }

  .editor-styles-wrapper .aluna-qs-datos-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .editor-styles-wrapper .aluna-qs-dato {
    padding: 40px clamp(20px, 4vw, 52px);
  }
}

@media (max-width: 600px) {
  .aluna-qs-hero .wp-block-cover__inner-container,
  .editor-styles-wrapper .aluna-qs-hero .wp-block-cover__inner-container {
    padding-top: 56px !important;
    padding-bottom: 24px !important;
  }

  .aluna-qs-hero .aluna-page-hero-content h1,
  .editor-styles-wrapper .aluna-qs-hero .aluna-page-hero-content h1 {
    font-size: clamp(40px, 11vw, 60px) !important;
    letter-spacing: -1px;
    margin: 10px 0 20px !important;
  }

  .aluna-qs-hero .aluna-qs-hero-actions,
  .editor-styles-wrapper .aluna-qs-hero .aluna-qs-hero-actions {
    width: 100%;
    margin-top: 24px !important;
  }

  .aluna-qs-hero .aluna-qs-hero-button,
  .editor-styles-wrapper .aluna-qs-hero .aluna-qs-hero-button {
    width: 100%;
  }

  .aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link,
  .editor-styles-wrapper .aluna-qs-hero .aluna-qs-hero-button .wp-block-button__link {
    width: 100%;
    padding: 14px 20px;
  }

  .editor-styles-wrapper .aluna-qs-hero .aluna-page-hero-content .aluna-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .editor-styles-wrapper .aluna-qs-esp-hdr {
    padding: 0 20px 28px;
  }

  .editor-styles-wrapper .aluna-qs-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, clamp(130px, 28vw, 200px));
  }

  .editor-styles-wrapper .aluna-qs-mosaic-item--wide {
    grid-column: span 2;
    grid-row: auto;
  }

  .editor-styles-wrapper .aluna-qs-datos-grid {
    grid-template-columns: 1fr;
  }

  .editor-styles-wrapper .aluna-qs-dato {
    padding: 32px 20px;
  }

  .editor-styles-wrapper .aluna-qs-close.wp-block-cover {
    padding: 72px 20px !important;
  }
}

@media (max-width: 460px) {
  .editor-styles-wrapper .aluna-qs-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .editor-styles-wrapper .aluna-qs-mosaic-item {
    min-height: clamp(160px, 42vw, 220px);
  }

  .editor-styles-wrapper .aluna-qs-mosaic-item--wide,
  .editor-styles-wrapper .aluna-qs-mosaic-item--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Almaluna page */
.aluna-alma-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(24px, 5vw, 64px);
}

.aluna-alma-hero {
  overflow: hidden;
}

.aluna-alma-hero .wp-block-cover__inner-container {
  width: 100%;
}

.aluna-alma-hero .wp-block-cover__image-background {
  filter: brightness(.56) saturate(.88);
}

.aluna-alma-hero-shell {
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(84px, 10vw, 132px);
}

.aluna-alma-hero-content {
  max-width: 640px;
}

.aluna-alma-hero-title em,
.aluna-alma-intro-title em,
.aluna-alma-section-title em {
  font-style: italic;
  color: var(--aluna-sand);
}

.aluna-alma-hero-sub {
  max-width: 560px;
}

.aluna-alma-intro-section {
  position: relative;
}

.aluna-alma-intro-columns {
  gap: clamp(28px, 5vw, 82px);
}

.aluna-alma-intro-media .wp-block-image,
.aluna-alma-intro-media figure {
  margin: 0;
}

.aluna-alma-intro-image img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  display: block;
}

.aluna-alma-intro-copy {
  position: relative;
}

.aluna-alma-intro-numeral {
  pointer-events: none;
}

.aluna-alma-programs-grid,
.aluna-alma-inst-grid {
  display: grid;
  gap: 0;
}

.aluna-alma-programs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aluna-alma-inst-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aluna-alma-program-card,
.aluna-alma-inst-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.aluna-alma-program-card.is-highlight {
  background: #f6eee0 !important;
}

.aluna-alma-program-icon,
.aluna-alma-inst-icon {
  font-size: 32px;
  line-height: 1;
}

.aluna-alma-program-title,
.aluna-alma-inst-title {
  letter-spacing: -.02em;
}

.aluna-alma-program-body,
.aluna-alma-inst-body,
.aluna-alma-body {
  text-wrap: pretty;
}

.aluna-alma-button .wp-block-button__link {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.aluna-alma-button--solid .wp-block-button__link {
  background: var(--aluna-brown);
  color: var(--aluna-white);
}

.aluna-alma-button--solid .wp-block-button__link:hover,
.aluna-alma-button--solid .wp-block-button__link:focus {
  background: var(--aluna-black);
  color: var(--aluna-white);
}

.aluna-alma-button--cream .wp-block-button__link {
  background: var(--aluna-cream);
  color: var(--aluna-black);
}

.aluna-alma-button--cream .wp-block-button__link:hover,
.aluna-alma-button--cream .wp-block-button__link:focus {
  background: #fff9ed;
  color: var(--aluna-black);
}

.aluna-space-detail-button .wp-block-button__link,
.editor-styles-wrapper .aluna-space-detail-button .wp-block-button__link {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.aluna-space-detail-button--solid .wp-block-button__link,
.editor-styles-wrapper .aluna-space-detail-button--solid .wp-block-button__link {
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  border: 1px solid var(--aluna-taupe);
}

.aluna-space-detail-button--solid .wp-block-button__link:hover,
.aluna-space-detail-button--solid .wp-block-button__link:focus,
.editor-styles-wrapper .aluna-space-detail-button--solid .wp-block-button__link:hover,
.editor-styles-wrapper .aluna-space-detail-button--solid .wp-block-button__link:focus {
  background: var(--aluna-brown);
  border-color: var(--aluna-brown);
  color: var(--aluna-white);
}

.aluna-space-detail-button--cream .wp-block-button__link,
.editor-styles-wrapper .aluna-space-detail-button--cream .wp-block-button__link {
  background: var(--aluna-cream);
  color: var(--aluna-black);
  border: 1px solid var(--aluna-cream);
}

.aluna-space-detail-button--cream .wp-block-button__link:hover,
.aluna-space-detail-button--cream .wp-block-button__link:focus,
.editor-styles-wrapper .aluna-space-detail-button--cream .wp-block-button__link:hover,
.editor-styles-wrapper .aluna-space-detail-button--cream .wp-block-button__link:focus {
  background: var(--aluna-white);
  border-color: var(--aluna-white);
  color: var(--aluna-black);
}

.aluna-alma-manifesto-section {
  position: relative;
  overflow: hidden;
  background: var(--aluna-black) !important;
}

.aluna-alma-manifesto-mark {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.aluna-alma-manifesto-inner {
  position: relative;
  z-index: 1;
}

.aluna-alma-manifesto-tags {
  text-wrap: balance;
}

.aluna-alma-inst-link,
.aluna-alma-inst-link a {
  color: var(--aluna-sand);
  text-decoration: none;
}

.aluna-alma-inst-link a:hover,
.aluna-alma-inst-link a:focus {
  color: var(--aluna-brown);
}

.aluna-tech-shell,
.editor-styles-wrapper .aluna-tech-shell {
  width: min(100%, 1280px);
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: clamp(20px, 5vw, 64px);
  padding-right: clamp(20px, 5vw, 64px);
  box-sizing: border-box;
}

.aluna-tech-hero .aluna-page-hero-content,
.editor-styles-wrapper .aluna-tech-hero .aluna-page-hero-content {
  width: min(100%, 560px);
  max-width: 560px;
}

.aluna-tech-hero .wp-block-cover__inner-container,
.editor-styles-wrapper .aluna-tech-hero .wp-block-cover__inner-container {
  width: min(100%, 1280px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: clamp(20px, 5vw, 64px) !important;
  padding-right: clamp(20px, 5vw, 64px) !important;
  padding-bottom: clamp(44px, 5vw, 74px);
}

.aluna-tech-hero-title em,
.aluna-tech-intro-title em,
.aluna-tech-section-title em,
.aluna-tech-institutions-title em {
  color: var(--aluna-taupe);
}

.aluna-tech-hero-title em,
.aluna-tech-institutions-title em {
  color: var(--aluna-sand);
}

.aluna-tech-intro-columns,
.aluna-tech-institutions-columns,
.editor-styles-wrapper .aluna-tech-intro-columns,
.editor-styles-wrapper .aluna-tech-institutions-columns {
  gap: clamp(32px, 4vw, 56px);
}

.aluna-tech-intro-copy,
.editor-styles-wrapper .aluna-tech-intro-copy {
  max-width: 560px;
}

.aluna-tech-institutions-section,
.editor-styles-wrapper .aluna-tech-institutions-section {
  background: var(--aluna-black) !important;
}

.aluna-tech-institutions-copy,
.editor-styles-wrapper .aluna-tech-institutions-copy {
  max-width: 540px;
}

.aluna-tech-institutions-title,
.editor-styles-wrapper .aluna-tech-institutions-title {
  color: var(--aluna-cream) !important;
}

.aluna-tech-inst-body,
.editor-styles-wrapper .aluna-tech-inst-body {
  color: rgba(242, 230, 208, .8) !important;
}

.aluna-tech-inst-list,
.aluna-tech-inst-list li,
.editor-styles-wrapper .aluna-tech-inst-list,
.editor-styles-wrapper .aluna-tech-inst-list li {
  color: rgba(242, 230, 208, .78) !important;
}

.aluna-tech-intro-media .wp-block-image,
.aluna-tech-intro-media figure,
.editor-styles-wrapper .aluna-tech-intro-media .wp-block-image,
.editor-styles-wrapper .aluna-tech-intro-media figure {
  width: 100%;
  margin: 0 !important;
}

.aluna-tech-intro-image img,
.editor-styles-wrapper .aluna-tech-intro-image img {
  width: 100%;
  height: clamp(320px, 40vw, 560px);
  object-fit: cover;
  display: block;
}

.aluna-tech-programs-grid,
.editor-styles-wrapper .aluna-tech-programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aluna-tech-program-card,
.editor-styles-wrapper .aluna-tech-program-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.aluna-tech-program-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(139, 126, 112, .12);
}

.aluna-tech-program-card.is-highlight,
.editor-styles-wrapper .aluna-tech-program-card.is-highlight {
  background: var(--aluna-cream-lt) !important;
}

.aluna-tech-program-icon {
  display: block;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border: 1px solid var(--aluna-border-st);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
}

.aluna-tech-program-icon--robotics {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3'/%3E%3Cpath d='M8 9h8a2 2 0 0 1 2 2v5a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3v-5a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M9 14h.01M15 14h.01'/%3E%3Cpath d='M8 6h8'/%3E%3Cpath d='M4 13h2M18 13h2M9 19v2M15 19v2'/%3E%3C/svg%3E");
}

.aluna-tech-program-icon--print {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17h10'/%3E%3Cpath d='M8 7V4h8v3'/%3E%3Cpath d='M6 9h12a2 2 0 0 1 2 2v4h-3v5H7v-5H4v-4a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M9 13h6'/%3E%3C/svg%3E");
}

.aluna-tech-program-icon--hackathon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2 4 14h6l-1 8 9-12h-6l1-8Z'/%3E%3C/svg%3E");
}

.aluna-tech-program-icon--camp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20 12 4l9 16'/%3E%3Cpath d='M6.5 20 12 11l5.5 9'/%3E%3Cpath d='M12 4v16'/%3E%3C/svg%3E");
}

.aluna-tech-program-icon--steam {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.2 2.2M16.2 16.2l2.2 2.2M18.4 5.6l-2.2 2.2M7.8 16.2l-2.2 2.2'/%3E%3C/svg%3E");
}

.aluna-tech-program-icon--faculty {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7E70' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v10H4z'/%3E%3Cpath d='M8 20h8M12 16v4M7 10h5M15 9h.01M17 9h.01'/%3E%3C/svg%3E");
}

.aluna-tech-program-title,
.aluna-tech-program-body,
.aluna-tech-body,
.aluna-tech-inst-body,
.editor-styles-wrapper .aluna-tech-program-title,
.editor-styles-wrapper .aluna-tech-program-body,
.editor-styles-wrapper .aluna-tech-body,
.editor-styles-wrapper .aluna-tech-inst-body {
  max-width: none;
}

.aluna-tech-button .wp-block-button__link,
.editor-styles-wrapper .aluna-tech-button .wp-block-button__link {
  font-family: var(--aluna-font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: 0 !important;
  padding: 14px 36px;
  transition: all .2s ease;
}

.aluna-tech-button--solid .wp-block-button__link,
.editor-styles-wrapper .aluna-tech-button--solid .wp-block-button__link {
  background: var(--aluna-taupe);
  color: var(--aluna-white);
  border: 1px solid var(--aluna-taupe);
}

.aluna-tech-button--solid .wp-block-button__link:hover,
.aluna-tech-button--solid .wp-block-button__link:focus,
.editor-styles-wrapper .aluna-tech-button--solid .wp-block-button__link:hover,
.editor-styles-wrapper .aluna-tech-button--solid .wp-block-button__link:focus {
  background: var(--aluna-brown);
  border-color: var(--aluna-brown);
  color: var(--aluna-white);
}

.aluna-tech-button--cream .wp-block-button__link,
.editor-styles-wrapper .aluna-tech-button--cream .wp-block-button__link {
  background: var(--aluna-cream);
  color: var(--aluna-black);
  border: 1px solid var(--aluna-cream);
}

.aluna-tech-button--cream .wp-block-button__link:hover,
.aluna-tech-button--cream .wp-block-button__link:focus,
.editor-styles-wrapper .aluna-tech-button--cream .wp-block-button__link:hover,
.editor-styles-wrapper .aluna-tech-button--cream .wp-block-button__link:focus {
  background: var(--aluna-white);
  border-color: var(--aluna-white);
  color: var(--aluna-black);
}

.aluna-tech-inst-list,
.editor-styles-wrapper .aluna-tech-inst-list {
  padding-left: 0;
  list-style: none;
}

.aluna-tech-inst-list li,
.editor-styles-wrapper .aluna-tech-inst-list li {
  padding: 0 0 14px 24px;
  margin: 0 0 14px;
  border-bottom: 1px solid rgba(242, 230, 208, .1);
  position: relative;
}

.aluna-tech-inst-list li::before,
.editor-styles-wrapper .aluna-tech-inst-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(217, 201, 168, .7);
  transform: rotate(45deg);
}

.aluna-tech-stat-stack,
.editor-styles-wrapper .aluna-tech-stat-stack {
  display: grid;
  gap: 1px;
  background: rgba(242, 230, 208, .07);
  border: 1px solid rgba(242, 230, 208, .07);
}

.aluna-tech-stat-card,
.editor-styles-wrapper .aluna-tech-stat-card {
  background: var(--aluna-black);
  padding: 36px 28px;
}

.aluna-tech-cta-shell,
.editor-styles-wrapper .aluna-tech-cta-shell {
  text-align: center;
}

@media (max-width: 960px) {
  .aluna-tech-intro-columns,
  .aluna-tech-institutions-columns,
  .editor-styles-wrapper .aluna-tech-intro-columns,
  .editor-styles-wrapper .aluna-tech-institutions-columns {
    flex-direction: column;
  }

  .aluna-tech-programs-grid,
  .editor-styles-wrapper .aluna-tech-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .aluna-tech-shell,
  .editor-styles-wrapper .aluna-tech-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .aluna-tech-hero .wp-block-cover__inner-container,
  .editor-styles-wrapper .aluna-tech-hero .wp-block-cover__inner-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .aluna-tech-intro-image img,
  .editor-styles-wrapper .aluna-tech-intro-image img {
    height: clamp(240px, 58vw, 340px);
  }

  .aluna-tech-programs-grid,
  .editor-styles-wrapper .aluna-tech-programs-grid {
    grid-template-columns: 1fr;
  }

  .aluna-tech-program-card,
  .editor-styles-wrapper .aluna-tech-program-card {
    min-height: 0;
  }

  .aluna-tech-button,
  .editor-styles-wrapper .aluna-tech-button {
    width: 100%;
  }

  .aluna-tech-button .wp-block-button__link,
  .editor-styles-wrapper .aluna-tech-button .wp-block-button__link {
    width: 100%;
    padding: 12px 22px;
    font-size: 12px;
    letter-spacing: 2px;
  }

  .aluna-tech-stat-card,
  .editor-styles-wrapper .aluna-tech-stat-card {
    padding: 28px 22px;
  }

  .aluna-tech-stat-number,
  .editor-styles-wrapper .aluna-tech-stat-number {
    font-size: 44px !important;
  }
}

.page-id-57 .aluna-alma-programs-section + .wp-block-template-part,
.page-id-57 .aluna-alma-inst-section + .wp-block-template-part {
  margin-top: 0 !important;
}

.editor-styles-wrapper .aluna-alma-shell {
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.editor-styles-wrapper .aluna-alma-hero .wp-block-cover__inner-container {
  width: 100%;
}

.editor-styles-wrapper .aluna-alma-hero-shell {
  padding-top: 64px;
  padding-bottom: 96px;
}

.editor-styles-wrapper .aluna-alma-hero-content {
  max-width: 640px;
}

.editor-styles-wrapper .aluna-alma-intro-columns {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  align-items: center;
  gap: 40px;
}

.editor-styles-wrapper .aluna-alma-intro-media,
.editor-styles-wrapper .aluna-alma-intro-copy {
  width: auto !important;
  margin: 0 !important;
}

.editor-styles-wrapper .aluna-alma-intro-image img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.editor-styles-wrapper .aluna-alma-programs-grid,
.editor-styles-wrapper .aluna-alma-inst-grid {
  display: grid;
}

.editor-styles-wrapper .aluna-alma-programs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editor-styles-wrapper .aluna-alma-inst-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.editor-styles-wrapper .aluna-alma-program-card,
.editor-styles-wrapper .aluna-alma-inst-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.editor-styles-wrapper .aluna-alma-manifesto-section {
  position: relative;
  overflow: hidden;
  background: var(--aluna-black) !important;
}

.editor-styles-wrapper .aluna-alma-manifesto-mark {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .aluna-alma-programs-grid,
  .editor-styles-wrapper .aluna-alma-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aluna-alma-inst-grid,
  .editor-styles-wrapper .aluna-alma-inst-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 781px) {
  .aluna-alma-shell,
  .editor-styles-wrapper .aluna-alma-shell {
    padding-inline: 20px;
  }

  .aluna-alma-hero-shell,
  .editor-styles-wrapper .aluna-alma-hero-shell {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .aluna-alma-hero-content {
    max-width: 100%;
  }

  .aluna-alma-intro-columns,
  .editor-styles-wrapper .aluna-alma-intro-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aluna-alma-intro-image img,
  .editor-styles-wrapper .aluna-alma-intro-image img {
    aspect-ratio: 0.9;
  }

  .aluna-alma-intro-numeral {
    margin-bottom: -8px !important;
  }

  .aluna-alma-programs-grid,
  .aluna-alma-inst-grid,
  .editor-styles-wrapper .aluna-alma-programs-grid,
  .editor-styles-wrapper .aluna-alma-inst-grid {
    grid-template-columns: 1fr;
  }

  .aluna-alma-program-card,
  .aluna-alma-inst-card,
  .editor-styles-wrapper .aluna-alma-program-card,
  .editor-styles-wrapper .aluna-alma-inst-card {
    min-height: 0;
  }

  .aluna-alma-button .wp-block-button__link {
    width: 100%;
    min-height: 54px;
    padding-inline: 24px;
    letter-spacing: 2px;
    font-size: 14px;
  }

  .aluna-space-detail-button,
  .editor-styles-wrapper .aluna-space-detail-button {
    width: 100%;
  }

  .aluna-space-detail-button .wp-block-button__link,
  .editor-styles-wrapper .aluna-space-detail-button .wp-block-button__link {
    width: 100%;
    min-height: 54px;
    padding-inline: 24px;
    letter-spacing: 2px;
    font-size: 12px;
  }

  .aluna-alma-manifesto-mark,
  .editor-styles-wrapper .aluna-alma-manifesto-mark {
    font-size: clamp(88px, 28vw, 180px) !important;
    bottom: 24px;
  }

  .aluna-alma-manifesto-tags {
    letter-spacing: 3px !important;
  }
}
