/*
Theme Name: Twenty Twenty-Five Child
Description: Child theme for Enigma Desarrollo Humano
Author: descubre-tu-enigma
Template: twentytwentyfive
Version: 2.8
*/
.page .wp-block-post-title { display: none; } :root {   --enigma-blue: #12324a;   --enigma-green: #1f5b58;   --enigma-sand: #d8c4a3;   --enigma-cream: #f7f4ee;   --enigma-ink: #1d252c; } body {   background: var(--enigma-cream);   color: var(--enigma-ink); } .wp-site-blocks {   font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } .enigma-page {   max-width: 1120px;   margin: 0 auto;   padding: 48px 22px 72px; } .enigma-page.narrow {   max-width: 820px; } .enigma-hero {   min-height: 68vh;   display: grid;   align-content: center;   padding: 72px 28px;   border-radius: 0;   background: linear-gradient(130deg, rgba(18,50,74,.95), rgba(31,91,88,.92)), radial-gradient(circle at 80% 20%, rgba(216,196,163,.5), transparent 34%);   color: #fff; } .enigma-kicker {   color: var(--enigma-sand);   font-weight: 700;   letter-spacing: .08em;   text-transform: uppercase;   font-size: .82rem;   margin-bottom: 18px; } .enigma-hero h1, .enigma-page h1 {   font-size: clamp(2.35rem, 6vw, 5.2rem);   line-height: 1.02;   margin: 0 0 24px;   letter-spacing: 0; } .enigma-page h2 {   font-size: clamp(1.55rem, 3vw, 2.2rem);   line-height: 1.15; } .enigma-lead {   font-size: clamp(1.18rem, 2vw, 1.45rem);   line-height: 1.55;   max-width: 780px; } .enigma-actions {   display: flex;   flex-wrap: wrap;   gap: 12px;   margin-top: 28px; } .enigma-button {   display: inline-flex;   align-items: center;   justify-content: center;   min-height: 44px;   padding: 10px 18px;   background: var(--enigma-sand);   color: var(--enigma-blue);   text-decoration: none;   font-weight: 700;   border-radius: 4px; } .enigma-button.secondary {   background: transparent;   color: #fff;   border: 1px solid rgba(255,255,255,.55); } .enigma-band {   display: grid;   grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);   gap: 28px;   align-items: center;   margin: 46px 0;   padding: 36px;   background: #fff;   border-left: 6px solid var(--enigma-green); } .enigma-note, .enigma-contact-box {   background: #eef5f2;   border-left: 4px solid var(--enigma-green);   padding: 22px; } .enigma-services-grid, .enigma-detail-grid {   display: grid;   grid-template-columns: repeat(4, minmax(0, 1fr));   gap: 16px;   margin: 42px 0; } .enigma-detail-grid {   grid-template-columns: repeat(2, minmax(0, 1fr)); } .enigma-services-grid article, .enigma-detail-grid article {   background: #fff;   border: 1px solid rgba(18,50,74,.12);   padding: 22px; } .enigma-services-grid span {   color: var(--enigma-green);   font-weight: 800; } .enigma-services-grid h3, .enigma-detail-grid h2 {   color: var(--enigma-blue); } .enigma-sessions {   background: var(--enigma-blue);   color: #fff;   padding: 34px;   margin-top: 44px; } .enigma-sessions li {   margin-bottom: 8px; } .enigma-poster img {   width: min(100%, 360px);   height: auto;   display: block;   margin: 0 auto;   box-shadow: 0 18px 44px rgba(18,50,74,.25); } .enigma-band.avoa {   border-left-color: #8b6d45;   background: #fbf7ef; } .enigma-small {   font-size: .95rem;   opacity: .78; } @media (max-width: 850px) {   .enigma-band,   .enigma-services-grid,   .enigma-detail-grid {     grid-template-columns: 1fr;   }   .enigma-hero {     min-height: 60vh;     padding: 48px 20px;   } } .wp-site-blocks &gt; main, .wp-block-post-content { margin-block-start: 0 !important; } .enigma-page { padding-top: 18px; }  .visual-lab .visual-hero {   display: grid;   grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);   gap: 24px;   align-items: end;   background: #102f45;   color: #fff;   padding: 48px;   margin-bottom: 32px; } .visual-lab .visual-hero h1 { margin: 0 0 16px; } .visual-summary { background: rgba(255,255,255,.12); border-left: 4px solid #d8c4a3; padding: 18px; } .visual-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .style-tile { background: #fff; border: 1px solid rgba(18,50,74,.12); padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 560px; } .tile-head { display: flex; gap: 12px; align-items: baseline; } .tile-head span { color: #1f5b58; font-weight: 800; } .tile-head h2 { margin: 0; color: #12324a; } .palette { display: flex; gap: 8px; } .palette i { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); } .fake-hero { min-height: 220px; color: white; background: linear-gradient(135deg,#12324a,#1f5b58); padding: 24px; display: grid; align-content: center; gap: 14px; } .fake-hero small { color:#d8c4a3; font-weight: 800; letter-spacing: .08em; } .fake-hero strong { font-size: 2rem; line-height: 1.05; font-weight: 500; } .fake-hero em { color:#f7f4ee; font-style: normal; } .organic-card { min-height: 220px; background: radial-gradient(circle at top right,#d9a85c55,transparent 40%), linear-gradient(145deg,#fffaf1,#dfe7d5); padding: 24px; display:grid; align-content:end; color:#2c3b2f; } .organic-card strong { font-size: 2rem; line-height: 1.05; } .poster-card { min-height: 220px; background: linear-gradient(150deg,#16a7b5,#7b42d6); color:white; padding:24px; display:grid; align-content:center; gap:12px; } .poster-card small { color:#ffdc8a; font-weight:800; letter-spacing:.08em; } .poster-card strong { font-size:2.2rem; line-height:1; } .poster-card span { background:#ffb84d; color:#1d252c; padding:8px 10px; width:max-content; font-weight:800; } .visual-recommendation { margin: 34px 0; padding: 28px; background:#eef5f2; border-left: 6px solid #1f5b58; } .visual-refs { margin-top: 36px; } .visual-refs img { max-width: 100%; height: auto; display: block; border: 1px solid rgba(18,50,74,.18); } @media (max-width: 980px) { .visual-grid, .visual-lab .visual-hero { grid-template-columns: 1fr; } .style-tile { min-height: auto; } } .visual-comfy { margin-top: 42px; padding: 28px; background: #fff; border: 1px solid rgba(18,50,74,.12); } .comfy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .comfy-grid figure { margin: 0; background: #f7f4ee; padding: 12px; } .comfy-grid img { width: 100%; height: 280px; object-fit: cover; display: block; } .comfy-grid figcaption { font-size: .95rem; margin-top: 10px; color: #1d252c; } .comfy-grid .muted { opacity: .72; } @media (max-width: 820px) { .comfy-grid { grid-template-columns: 1fr; } }  .selected-visual-line {   background:     linear-gradient(90deg, rgba(247,244,238,.94), rgba(247,244,238,.86)),     url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat; } .selected-visual-line .comfy-grid figure {   background: rgba(255,250,241,.92);   border: 1px solid rgba(18,50,74,.12); } .selected-visual-line .comfy-grid img {   background: #f2ead8; }  /* ENIGMA global editorial plant background */ body {   background:     linear-gradient(90deg, rgba(247,244,238,.96), rgba(247,244,238,.9)),     url('/wp-content/uploads/enigma-comfy/lienzo-organico-suave.png') center top / cover fixed no-repeat,     var(--enigma-cream); } .wp-site-blocks {   background: rgba(247,244,238,.42); } .enigma-page {   background: rgba(247,244,238,.34); } .enigma-hero {   background:     linear-gradient(130deg, rgba(18,50,74,.96), rgba(31,91,88,.9)),     url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat; }  /* ENIGMA newsletter model */ .newsletter-lab { max-width: 1180px; } .newsletter-hero {   display: grid;   grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr);   gap: 28px;   align-items: end;   padding: 54px 48px;   color: #fff;   background:     linear-gradient(130deg, rgba(16,35,63,.94), rgba(7,90,102,.86)),     url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat;   margin-bottom: 34px; } .newsletter-hero h1 { margin: 0 0 18px; } .newsletter-hero aside {   background: rgba(255,250,242,.13);   border-left: 4px solid #d8c4a3;   padding: 22px;   display: grid;   gap: 10px; } .newsletter-hero aside strong { color: #d8c4a3; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; } .newsletter-canvas { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 26px; align-items: start; } .newsletter-sheet {   background: #fffaf2;   border: 1px solid rgba(18,50,74,.14);   box-shadow: 0 22px 64px rgba(16,35,63,.16); } .newsletter-sheet header {   display: grid;   grid-template-columns: 170px minmax(0,1fr);   gap: 24px;   align-items: stretch;   background: #10233f;   color: #fff;   min-height: 220px; } .newsletter-sheet header img { width: 100%; height: 100%; object-fit: cover; } .newsletter-sheet header div { padding: 32px 34px; display: grid; align-content: center; } .newsletter-sheet header p { color: #d8c4a3; font-weight: 800; letter-spacing: .12em; font-size: .8rem; margin: 0 0 16px; } .newsletter-sheet header h2 { color: #fff; margin: 0; font-size: clamp(2rem,4vw,3.4rem); } .newsletter-body { padding: 38px 44px; } .newsletter-body .issue { color: #075a66; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; } .newsletter-body h3 { font-size: clamp(1.55rem,3vw,2.45rem); line-height: 1.12; margin: 10px 0 18px; color: #10233f; } .newsletter-body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 5px solid #d8bd94; background: rgba(216,189,148,.18); font-size: 1.16rem; color: #10233f; } .newsletter-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; } .newsletter-columns div { background: #f7f1e7; padding: 20px; border-top: 4px solid #075a66; } .newsletter-columns h4 { margin: 0 0 8px; color: #10233f; } .newsletter-sheet footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding: 20px 44px; border-top: 1px solid rgba(18,50,74,.14); color: #59636c; } .newsletter-sheet footer a { background: #075a66; color: #fff; text-decoration: none; padding: 10px 16px; font-weight: 800; } .newsletter-side, .newsletter-form-demo { background: rgba(255,250,242,.9); border: 1px solid rgba(18,50,74,.14); padding: 28px; } .newsletter-side h2, .newsletter-form-demo h2 { margin-top: 0; color: #10233f; } .newsletter-side li { margin-bottom: 10px; } .newsletter-form-demo { margin-top: 30px; display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); gap: 28px; align-items: center; } .newsletter-form-demo form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; } .newsletter-form-demo input { min-height: 46px; border: 1px solid rgba(18,50,74,.22); padding: 0 12px; background: #fff; } .newsletter-form-demo button { border: 0; background: #10233f; color: #fff; font-weight: 800; padding: 0 18px; min-height: 46px; } @media (max-width: 920px) {   .newsletter-hero, .newsletter-canvas, .newsletter-form-demo { grid-template-columns: 1fr; }   .newsletter-sheet header { grid-template-columns: 1fr; }   .newsletter-sheet header img { height: 220px; }   .newsletter-columns, .newsletter-form-demo form { grid-template-columns: 1fr; } }  /* ENIGMA softer organic canvas pass */ .enigma-band, .enigma-services-grid article, .enigma-detail-grid article, .visual-comfy, .newsletter-side, .newsletter-form-demo {   background-color: rgba(255,250,242,.88);   backdrop-filter: blur(1px); }  /* ENIGMA canvas visibility override */ html, body {   background-color: #f7f1e7 !important; } .wp-site-blocks {   position: relative !important;   isolation: isolate !important;   background: transparent !important;   overflow: hidden; } .wp-site-blocks::before {   content: "";   position: fixed;   inset: 0;   z-index: 0;   pointer-events: none;   background:     linear-gradient(90deg, rgba(247,241,231,.68), rgba(247,241,231,.58)),     url('/wp-content/uploads/enigma-comfy/lienzo-organico-suave.png') center top / cover no-repeat; } .wp-site-blocks &gt; * {   position: relative;   z-index: 1; } .wp-block-post-content, .wp-block-group, main.wp-block-group, .enigma-page {   background: transparent !important; } .enigma-band, .enigma-services-grid article, .enigma-detail-grid article, .visual-comfy, .newsletter-side, .newsletter-form-demo {   background-color: rgba(255,250,242,.82) !important; }  /* ENIGMA continuous organic invasion */ .enigma-hero, .newsletter-hero {   position: relative;   overflow: hidden;   background:     linear-gradient(130deg, rgba(16,35,63,.88), rgba(7,90,102,.72)),     url('/wp-content/uploads/enigma-comfy/lienzo-organico-suave.png') center top / cover fixed no-repeat !important; } .enigma-hero::before, .newsletter-hero::before {   content: "";   position: absolute;   inset: -18% -10% -22% 42%;   z-index: 0;   pointer-events: none;   background: url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat;   opacity: .22;   mix-blend-mode: screen;   transform: rotate(-2deg); } .enigma-hero &gt; *, .newsletter-hero &gt; * {   position: relative;   z-index: 1; } .enigma-band, .visual-recommendation, .newsletter-sheet {   position: relative;   overflow: hidden; } .enigma-band::after, .visual-recommendation::after, .newsletter-sheet::after {   content: "";   position: absolute;   inset: auto -12% -34% 52%;   height: 260px;   z-index: 0;   pointer-events: none;   background: url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat;   opacity: .09;   mix-blend-mode: multiply; } .enigma-band &gt; *, .visual-recommendation &gt; *, .newsletter-sheet &gt; * {   position: relative;   z-index: 1; }  /* ENIGMA hero organic bridge refinement */ .enigma-hero, .newsletter-hero {   overflow: visible !important;   box-shadow: 0 28px 80px rgba(16,35,63,.08); } .enigma-hero::before, .newsletter-hero::before {   inset: -18% -22% -24% 54% !important;   opacity: .18 !important;   mix-blend-mode: screen; } .enigma-hero::after, .newsletter-hero::after {   content: "";   position: absolute;   z-index: 0;   pointer-events: none;   left: -170px;   bottom: -155px;   width: 520px;   height: 520px;   background: url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat;   opacity: .12;   mix-blend-mode: screen;   transform: rotate(4deg); } .enigma-hero &gt; *, .newsletter-hero &gt; * {   position: relative;   z-index: 2; }  /* ENIGMA background trial: canvas only, flat content blocks */ .wp-site-blocks::before {   background:     linear-gradient(90deg, rgba(247,241,231,.78), rgba(247,241,231,.64)),     url('/wp-content/uploads/enigma-comfy/lienzo-organico-suave.png') center top / cover no-repeat !important;   animation: enigmaCanvasCycle 42s infinite step-end; } @keyframes enigmaCanvasCycle {   0%, 24% {     background:       linear-gradient(90deg, rgba(247,241,231,.78), rgba(247,241,231,.64)),       url('/wp-content/uploads/enigma-comfy/lienzo-organico-suave.png') center top / cover no-repeat;   }   25%, 49% {     background:       linear-gradient(90deg, rgba(247,241,231,.82), rgba(247,241,231,.68)),       url('/wp-content/uploads/enigma-comfy/planta-piedra-herbario-editorial.png') center center / cover no-repeat;   }   50%, 74% {     background:       linear-gradient(90deg, rgba(247,241,231,.80), rgba(247,241,231,.66)),       url('/wp-content/uploads/enigma-comfy/planta-editorial-fondo-pagina.png') center center / cover no-repeat;   }   75%, 100% {     background:       linear-gradient(90deg, rgba(247,241,231,.84), rgba(247,241,231,.72)),       url('/wp-content/uploads/enigma-comfy/herbario-san-xoan-libro.png') right center / cover no-repeat;   } } .enigma-hero::before, .enigma-hero::after, .newsletter-hero::before, .newsletter-hero::after, .enigma-band::after, .visual-recommendation::after, .newsletter-sheet::after {   content: none !important;   display: none !important; } .enigma-hero, .newsletter-hero {   overflow: hidden !important;   background: linear-gradient(130deg, rgba(16,35,63,.96), rgba(7,90,102,.88)) !important;   box-shadow: 0 28px 80px rgba(16,35,63,.08); } .enigma-band, .enigma-services-grid article, .enigma-detail-grid article, .visual-comfy, .visual-recommendation, .newsletter-sheet, .newsletter-side, .newsletter-form-demo, .style-tile, .comfy-grid figure {   background-image: none !important;   background-color: rgba(255,250,242,.86) !important;   backdrop-filter: blur(1px); } .enigma-note, .enigma-contact-box, .newsletter-columns div {   background-image: none !important;   background-color: rgba(238,245,242,.86) !important; } .fake-hero, .organic-card, .poster-card {   background-image: none !important; } .fake-hero {   background-color: #12324a !important; } .organic-card {   background-color: #eef2e7 !important; } .poster-card {   background-color: #075a66 !important; } @media (prefers-reduced-motion: reduce) {   .wp-site-blocks::before { animation: none !important; } }  /* ENIGMA selected lichen backgrounds */ .wp-site-blocks::before {   background:     linear-gradient(90deg, rgba(247,241,231,.76), rgba(247,241,231,.60)),     url('/wp-content/uploads/enigma-comfy/fondo-liquen-09.png') center top / cover no-repeat !important;   animation: enigmaLichenCycle 30s infinite step-end !important; } @keyframes enigmaLichenCycle {   0%, 32% {     background:       linear-gradient(90deg, rgba(247,241,231,.76), rgba(247,241,231,.60)),       url('/wp-content/uploads/enigma-comfy/fondo-liquen-09.png') center top / cover no-repeat;   }   33%, 65% {     background:       linear-gradient(90deg, rgba(247,241,231,.76), rgba(247,241,231,.60)),       url('/wp-content/uploads/enigma-comfy/fondo-liquen-03.png') center top / cover no-repeat;   }   66%, 100% {     background:       linear-gradient(90deg, rgba(247,241,231,.76), rgba(247,241,231,.60)),       url('/wp-content/uploads/enigma-comfy/fondo-liquen-08.png') center top / cover no-repeat;   } } .enigma-hero, .newsletter-hero {   background: linear-gradient(130deg, rgba(16,35,63,.96), rgba(7,90,102,.88)) !important; } .enigma-hero::before, .enigma-hero::after, .newsletter-hero::before, .newsletter-hero::after, .enigma-band::after, .visual-recommendation::after, .newsletter-sheet::after {   content: none !important;   display: none !important; } @media (prefers-reduced-motion: reduce) {   .wp-site-blocks::before { animation: none !important; } } 
/* ENIGMA translucent flat blocks over canvas */
.enigma-hero,
.newsletter-hero {
  background: linear-gradient(130deg, rgba(16,35,63,.88), rgba(7,90,102,.74)) !important;
  backdrop-filter: blur(1px);
}
.enigma-band {
  background: linear-gradient(135deg, rgba(255,250,242,.78), rgba(238,245,242,.68)) !important;
}
.enigma-services-grid article,
.enigma-detail-grid article,
.style-tile,
.visual-comfy,
.visual-recommendation,
.newsletter-sheet,
.newsletter-side,
.newsletter-form-demo,
.comfy-grid figure {
  background: rgba(255,250,242,.74) !important;
  backdrop-filter: blur(1.5px);
}
.enigma-note,
.enigma-contact-box,
.newsletter-columns div {
  background: rgba(238,245,242,.68) !important;
  backdrop-filter: blur(1.5px);
}
.enigma-sessions {
  background: linear-gradient(135deg, rgba(18,50,74,.86), rgba(7,90,102,.76)) !important;
  backdrop-filter: blur(1px);
}
.fake-hero {
  background: linear-gradient(135deg, rgba(18,50,74,.84), rgba(31,91,88,.72)) !important;
}
.organic-card {
  background: linear-gradient(145deg, rgba(255,250,241,.76), rgba(223,231,213,.68)) !important;
}
.poster-card {
  background: linear-gradient(150deg, rgba(7,90,102,.82), rgba(16,35,63,.72)) !important;
}
.newsletter-sheet header {
  background: linear-gradient(130deg, rgba(16,35,63,.92), rgba(7,90,102,.82)) !important;
}

/* enigma-post-layout-recovery-2026-09-09 */
/* The theme supplies a post title; Enigma posts already contain the editorial H1. */
body.single-post .wp-block-post-title,
body.single-post .wp-block-post-author,
body.single-post .wp-block-post-date {
	display: none;
}

/* One compact, left-aligned editorial title for every Cuaderno entry. */
body.single-post main.enigma-page &gt; h1 {
	max-width: 22ch;
	margin: 0 0 0.55rem;
	font-size: clamp(2.15rem, 4vw, 3.25rem);
	font-weight: 500;
	line-height: 1.08;
	text-align: left;
}

/* enigma-post-layout-refinement-2026-09-09 */
/* Remove the theme's byline block that follows its suppressed title. */
body.single-post .wp-block-post-title + * {
	display: none !important;
}

/* The only visible H1 is the editorial title inside the article content. */
body.single-post main h1:not(.wp-block-post-title) {
	max-width: 22ch !important;
	margin: 0 0 0.6rem !important;
	font-size: clamp(2.25rem, 4vw, 3rem) !important;
	font-weight: 500 !important;
	line-height: 1.1 !important;
	text-align: left !important;
}

/* enigma-post-meta-cleanup-2026-09-09 */
/* Metadata is carried by the Cuaderno kicker; suppress the theme duplicate. */
body.single-post .entry-meta,
body.single-post .byline,
body.single-post .wp-block-post-author,
body.single-post .wp-block-post-author-name,
body.single-post .wp-block-post-author-biography,
body.single-post .wp-block-post-date,
body.single-post .wp-block-post-terms {
	display: none !important;
}

body.single-post main h1:not(.wp-block-post-title) {
	font-size: clamp(2rem, 3.4vw, 2.7rem) !important;
	line-height: 1.08 !important;
}

/* Enigma editorial kicker: legible over the organic cream canvas. */
body:not(.home) .enigma-kicker {
	color: #075a66 !important;
	font-weight: 800;
}

/* A compact photographic pause: editorial, not a second hero. */
.enigma-photo-triptych {
	display: grid;
	grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: center;
	margin: 2.75rem 0 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid rgba(18, 50, 74, .2);
}

.enigma-photo-triptych h2 {
	margin: .3rem 0 .55rem;
	color: var(--enigma-blue);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.enigma-photo-triptych p:last-child {
	margin: 0;
}

.enigma-photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .7rem;
}

.enigma-photo-grid figure {
	margin: 0;
	height: 10rem;
	overflow: hidden;
	background: #e8e2d7;
}

.enigma-photo-grid img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .35s ease;
}

.enigma-photo-grid figure:nth-child(2) img { object-position: center 58%; }
.enigma-photo-grid figure:nth-child(3) img { object-position: center 62%; }
.enigma-photo-grid figure:hover img { transform: scale(1.035); }

@media (max-width: 720px) {
	.enigma-photo-triptych { grid-template-columns: 1fr; }
	.enigma-photo-grid figure { height: 8.5rem; }
}

/* The photographic pause is a full editorial section, not a thumbnail strip. */
.enigma-photo-feature {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(20rem, .92fr);
	gap: clamp(1.75rem, 4vw, 3.5rem);
	align-items: center;
	margin: clamp(3rem, 7vw, 6rem) 0;
	padding: clamp(2rem, 4vw, 3.5rem);
	background: #12324a;
	color: #fff;
}

.enigma-photo-feature > * {
	position: relative;
	z-index: 1;
}

.enigma-photo-feature h2 {
	margin: 0 0 1rem;
	color: #fff;
	max-width: none !important;
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: .01em;
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.enigma-photo-feature p {
	max-width: 34rem;
	margin: 0;
	font-size: clamp(1rem, 1.35vw, 1.15rem);
	line-height: 1.55;
}

.enigma-photo-feature a {
	display: inline-block;
	margin-top: 1.45rem;
	padding: .55rem 0 .45rem;
	border-bottom: 1px solid #dfc6a1;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.enigma-photo-feature a:hover { color: #dfc6a1; }

.enigma-photo-feature figure {
	min-height: clamp(15rem, 26vw, 23rem);
	margin: 0;
	border: 1px solid rgba(255, 255, 255, .45);
	box-shadow: .8rem .8rem 0 rgba(223, 198, 161, .22);
	overflow: hidden;
}

.enigma-photo-feature figure img {
	width: 100%;
	height: 100%;
	min-height: inherit;
	display: block;
	object-fit: cover;
	object-position: center 52%;
}

@media (max-width: 760px) {
	.enigma-photo-feature { grid-template-columns: 1fr; }
	.enigma-photo-feature h2 { white-space: normal; }
	.enigma-photo-feature figure { min-height: 19rem; }
}

/* The three-part motto is a quiet signature below the primary site name. */
header.wp-block-template-part .wp-block-site-title {
	margin-bottom: 0;
}

header.wp-block-template-part .wp-block-site-title a::after {
	content: "Espacio · método · calma";
	display: block;
	margin-top: .22rem;
	color: #12324a;
	font-family: inherit;
	font-size: .9rem;
	font-weight: 650;
	letter-spacing: .015em;
	line-height: 1.2;
	text-transform: none;
	white-space: nowrap;
}

@media (max-width: 640px) {
	header.wp-block-template-part .wp-block-site-title a::after {
		font-size: .78rem;
		letter-spacing: .01em;
	}
}

/* Footer: navigation and closing signature must remain legible over the canvas. */
footer.wp-block-template-part .wp-block-site-title a {
	color: #12324a;
	font-size: clamp(1.55rem, 2.1vw, 2.15rem);
	font-weight: 700;
	line-height: 1.1;
}

footer.wp-block-template-part .wp-block-site-tagline {
	color: #304452;
	font-size: 1rem;
	font-weight: 500;
}

footer.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content {
	color: #12324a !important;
	font-size: 1.05rem;
	font-weight: 650;
	line-height: 1.35;
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

footer.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #075a66 !important;
	text-decoration: underline;
}

footer.wp-block-template-part .wp-block-group.alignfull > .has-small-font-size {
	color: #12324a;
	font-size: 1rem !important;
	font-weight: 650;
	letter-spacing: .015em;
	opacity: 1;
}

/* Main navigation and Cuaderno reading links: clear, present, still quiet. */
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content {
	color: #12324a !important;
	font-size: 1.05rem;
	font-weight: 620;
	letter-spacing: .005em;
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
}

header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: #075a66 !important;
	text-decoration: underline;
}

.enigma-band a {
	color: #075a66;
	font-size: 1.04rem;
	font-weight: 620;
	line-height: 1.45;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

.enigma-band a:hover {
	color: #12324a;
}

/* Servicios: una sola fotografía atraviesa el conjunto; las tarjetas dejan respirar la orla. */
body.page-id-8 .enigma-detail-grid article {
	position: relative;
	z-index: 1;
	background-color: rgba(247,244,238,.76) !important;
	border: 1px solid rgba(18,50,74,.42) !important;
	text-shadow: 0 1px 0 rgba(255,250,242,.38);
}

body.page-id-8 .enigma-detail-grid {
	position: relative;
	isolation: isolate;
	gap: clamp(1.35rem, 2.6vw, 2.35rem);
	margin: 3.5rem 0;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	background: transparent;
}

body.page-id-8 .enigma-detail-grid::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: -2.25rem;
	right: calc((100vw - 100%) / -2);
	bottom: -2.25rem;
	left: calc((100vw - 100%) / -2);
	background:
		linear-gradient(rgba(247,244,238,.84), rgba(247,244,238,.84)),
		url("https://descubretuenigma.com/wp-content/uploads/2026/09/2.jpeg") center / cover no-repeat;
}

body.page-id-8 .enigma-detail-grid article::before {
	content: none;
}

.enigma-services-contact {
	margin: 3.5rem 0 0;
	padding: clamp(1.7rem, 4vw, 3rem);
	border-top: 2px solid #1f5b58;
	background: rgba(255,250,242,.78);
}

.enigma-services-contact .enigma-kicker {
	margin: 0 0 .45rem;
	color: #075a66;
}

.enigma-services-contact h2 {
	margin: 0 0 .75rem;
	color: #12324a;
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.enigma-services-contact p:not(.enigma-kicker) {
	max-width: 43rem;
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.55;
}

.enigma-services-contact-link {
	display: inline-block;
	margin-top: 1.2rem;
	padding-bottom: .35rem;
	border-bottom: 1px solid #075a66;
	color: #075a66;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}

.enigma-services-contact-link:hover { color: #12324a; }

/* Espacios afines: profesionales independientes, fuera de los servicios de Enigma. */
.enigma-affiliates .enigma-lead {
	max-width: 48rem;
	margin-bottom: 2rem;
	color: #355360;
}

.enigma-affiliate-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.enigma-affiliate-card {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid rgba(18,50,74,.28);
	border-top: 4px solid #1f5b58;
	background: rgba(247,244,238,.82);
}

.enigma-affiliate-card .enigma-kicker {
	margin: 0 0 .45rem;
	color: #075a66;
}

.enigma-affiliate-card h2 {
	margin: 0 0 .8rem;
	color: #12324a;
}

.enigma-affiliate-card p:not(.enigma-kicker) {
	margin: 0;
	line-height: 1.55;
}

.enigma-affiliate-card a {
	display: inline-block;
	margin-top: 1.25rem;
	padding-bottom: .25rem;
	border-bottom: 1px solid currentColor;
	color: #075a66;
	font-weight: 700;
	text-decoration: none;
}

.enigma-affiliate-card a:hover { color: #12324a; }

.enigma-affiliate-context {
	max-width: 45rem;
	margin: 2rem 0 0;
	color: #355360;
	font-size: .96rem;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.enigma-affiliate-grid { grid-template-columns: 1fr; }
}

/* Avoa Pipa: orientación complementaria, no una quinta disciplina principal. */
.enigma-avoa {
	margin: 3.5rem 0 0;
	padding: clamp(1.7rem, 4vw, 3rem);
	border-left: 5px solid #8b6d45;
	background: rgba(251,247,239,.84);
}

.enigma-avoa .enigma-kicker {
	margin: 0 0 .5rem;
	color: #765b39;
}

.enigma-avoa h2 {
	margin: 0 0 .75rem;
	color: #12324a;
}

.enigma-avoa p:last-child { margin-bottom: 0; }

/* Cartas de Enigma: lectura editorial, no maqueta de campaña. */
.enigma-letters .enigma-lead {
	max-width: 46rem;
	margin-bottom: 2rem;
	color: #355360;
}

.enigma-letter-feature {
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	border-left: 5px solid #075a66;
	background: rgba(255,250,242,.82);
}

.enigma-letter-feature .enigma-kicker {
	margin: 0 0 .5rem;
	color: #075a66;
}

.enigma-letter-feature h2,
.enigma-letters-context h2 {
	margin: 0 0 .75rem;
	color: #12324a;
}

.enigma-letter-feature blockquote {
	margin: 1.4rem 0;
	padding: .35rem 0 .35rem 1rem;
	border-left: 2px solid #d8c4a3;
	color: #355360;
	font-size: 1.12rem;
	line-height: 1.5;
}

.enigma-letter-feature a {
	display: inline-block;
	margin-top: .35rem;
	padding-bottom: .25rem;
	border-bottom: 1px solid currentColor;
	color: #075a66;
	font-weight: 700;
	text-decoration: none;
}

.enigma-letters-context {
	max-width: 46rem;
	margin: 2.25rem 0 0;
}
