/* Hojas de las plantillas y de las páginas montadas: entrada, archivos, 404, paginación y rejillas del
   diseño. Se encola con core/post-content, core/query y core/cover (BlockStyles::PAGE_SHEET_BLOCKS). */
.dpm-main--canvas{padding-top:0}
.dpm-single__hero .wp-block-cover__inner-container>*{margin-block:0}
.dpm-single__hero .wp-block-cover__inner-container{display:flex;flex-direction:column;gap:14px;padding-top:calc(var(--wp--custom--header--height) + 24px)}
.dpm-single__terms{color:rgba(255,255,255,.78)}
.dpm-single__meta{gap:14px;font-size:var(--wp--preset--font-size--small);color:rgba(255,255,255,.85)}
.dpm-single__meta a{color:var(--wp--preset--color--white)}
.dpm-single__body{padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--60)}
.dpm-single__columns{gap:clamp(24px,4vw,56px)}
.dpm-single__columns>.wp-block-column{min-width:0}
.dpm-single__content>*+*{margin-top:var(--wp--preset--spacing--30)}
.dpm-404-card h3 a{text-decoration:none;color:var(--wp--preset--color--primary)}
.dpm-404-card+.dpm-404-card{margin-top:16px}
.dpm-pagination{margin-top:var(--wp--preset--spacing--40);font-weight:500}
.dpm-pagination .page-numbers{padding:8px 12px;border-radius:var(--wp--custom--radius--xs);color:var(--wp--preset--color--primary)}
.dpm-pagination .page-numbers.current{background:var(--wp--preset--color--surface)}
/* Hero del diseño: cover a pie de página (align flex-end), contenedor 1360 alineado a la izquierda,
   degradado en vez de capa uniforme y CTA de 60px. La tira de islas (portada) es el último hijo. */
:is(.is-style-dpm-hero,.dpm-hero).wp-block-cover{min-height:min(92svh,900px)!important;padding:0;align-items:flex-end}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__background{background:linear-gradient(180deg,rgba(3,38,55,.62) 0%,rgba(3,38,55,.28) 34%,rgba(3,38,55,.52) 66%,rgba(3,38,55,.9) 100%)!important;opacity:1!important}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container{width:100%;max-width:1360px;margin:0 auto;padding:clamp(140px,16vh,200px) clamp(20px,4vw,40px) clamp(48px,7vh,76px);display:flex;flex-direction:column;align-items:flex-start;gap:clamp(16px,2.4vw,24px)}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container>*{max-width:820px;margin:0!important}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container>:is(.dpm-breadcrumb,.wp-block-dpm-breadcrumb){max-width:none}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container>.wp-block-dpm-locations-strip{max-width:none;width:100%;margin-top:clamp(18px,3.6vw,40px)!important}
:is(.is-style-dpm-hero,.dpm-hero) .dpm-btn{min-height:60px;padding:0 clamp(24px,3vw,34px);gap:12px;font-size:clamp(17px,1.5vw,19px);font-weight:600;box-shadow:var(--wp--preset--shadow--on-media)}
@media (max-width:1199px){
:is(.is-style-dpm-hero,.dpm-hero).wp-block-cover{min-height:min(100svh,900px)!important}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container{padding:116px 20px calc(44px + 76px + env(safe-area-inset-bottom))}
}
@media (max-width:1199px){.dpm-single .dpm-single__columns.wp-block-columns{flex-direction:column;flex-wrap:nowrap!important}.dpm-single__aside{flex-basis:auto!important;order:1}.dpm-single__content{order:2}}

/* Páginas montadas con scripts/build-pages.php: rejillas y filas del diseño */
.dpm-chips{margin-top:18px}
.dpm-course-grid,.dpm-value-grid,.dpm-404-grid{gap:24px}
.dpm-course-row+.dpm-course-row{margin-top:var(--wp--preset--spacing--40)}
.dpm-course-row .wp-block-image img{width:100%}
.dpm-contact-card .wp-block-button,.dpm-contact-card .dpm-btn{margin-top:12px}
.dpm-gallery.wp-block-gallery{margin-top:var(--wp--preset--spacing--30)}
.dpm-gallery.wp-block-gallery .wp-block-image img{border-radius:var(--wp--custom--radius--sm)}

/* ---- Plan 7: fidelidad al diseño en páginas internas ---- */
/* Aire: los bloques con padding propio (FAQ, equipo) no suman el de la sección que los envuelve. */
.is-style-dpm-section>.dpm-faq,.is-style-dpm-section>.wp-block-dpm-faq{padding-top:0;padding-bottom:0}
.dpm-main--canvas{padding-bottom:0}
.dpm-main--canvas>.wp-block-post-content{margin-bottom:0}
.dpm-main--canvas>.wp-block-post-content>.alignfull+.alignfull{margin-block-start:0}
/* Hero en móvil: badge de 12px y menos aire arriba. */
@media (max-width:1199px){
:is(.is-style-dpm-hero,.dpm-hero) p.is-style-dpm-chip{padding:7px 12px;font-size:12px}
:is(.is-style-dpm-hero,.dpm-hero)>.wp-block-cover__inner-container{padding-top:96px}
}
/* Hubs de curso: chips de la intro como anclas (borde, sin fondo), selector como franja propia. */
.dpm-chip-link--outline{background:transparent;border:1.5px solid #dcebf5;color:var(--wp--preset--color--primary);min-height:0;padding:11px 18px}
.dpm-chip-link--outline:hover{background:var(--wp--preset--color--surface);border-color:#dcebf5;color:var(--wp--preset--color--primary)}
.dpm-chips.wp-block-group{gap:8px;margin-top:4px}
.dpm-course-grid{gap:clamp(16px,2vw,24px)}
.dpm-dest-selector{scroll-margin-top:80px}
/* Blog: destacado en dos columnas, temas en fila, tarjetas del diseño; todo sobre azul claro. */
.dpm-blog-top{padding-bottom:0}
.dpm-blog-grid{padding-top:clamp(28px,3.6vw,48px)}
.dpm-main>.dpm-blog-grid{margin-block-start:0}
.dpm-blog-top>.wp-block-query{margin-bottom:clamp(28px,3.6vw,48px)}
.dpm-post-card--featured.is-style-dpm-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);grid-template-rows:minmax(clamp(24px,3.4vw,48px),1fr) auto auto auto minmax(clamp(24px,3.4vw,48px),1fr);gap:0;padding:0;border:0;border-radius:26px;box-shadow:0 4px 30px rgba(0,90,135,.1)}
.dpm-post-card--featured>.wp-block-post-featured-image{grid-row:1/6;grid-column:1}
.dpm-post-card--featured>.wp-block-post-featured-image img{aspect-ratio:4/3;height:100%}
.dpm-post-card--featured>:not(.wp-block-post-featured-image){grid-column:2;padding-inline:clamp(24px,3.4vw,48px)}
.dpm-post-card--featured>.is-style-dpm-badge{grid-column:1;top:16px;left:16px;padding-inline:14px}
.dpm-post-card--featured>.dpm-post-card__terms{grid-row:2}
.dpm-post-card--featured>.wp-block-post-title{grid-row:3}
.dpm-post-card--featured>.wp-block-post-excerpt{grid-row:4}
.dpm-post-card.dpm-post-card--featured .wp-block-post-title{font-size:clamp(24px,3.2vw,36px);line-height:1.18}
.dpm-post-card--featured .wp-block-post-excerpt__excerpt{-webkit-line-clamp:4;font-size:clamp(16px,1.6vw,19px);line-height:1.6}
.dpm-post-card--featured .wp-block-post-excerpt__more-link{display:inline-flex;align-items:center;gap:9px;margin-top:8px;font-size:16px;font-weight:500;color:var(--wp--preset--color--primary)}
.dpm-post-card--featured .wp-block-post-excerpt__more-link::after{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--dpm-arrow) center/18px 18px no-repeat;mask:var(--dpm-arrow) center/18px 18px no-repeat}
.dpm-topics p.is-style-dpm-eyebrow{margin:0 0 14px}
.dpm-topics__row.wp-block-group{gap:10px}
.dpm-post-card{border-radius:20px;border:0;box-shadow:var(--wp--preset--shadow--rest)}
.dpm-post-card .wp-block-post-featured-image img{aspect-ratio:16/10}
.dpm-post-card__terms{font-size:12px;letter-spacing:.1em;color:var(--wp--preset--color--accent)}
.dpm-post-card .wp-block-post-title{font-size:clamp(18px,1.8vw,21px);line-height:1.3}
.dpm-post-card .wp-block-post-excerpt__excerpt{line-height:1.6}
.dpm-blog-grid .wp-block-post-template{gap:clamp(16px,2vw,26px)}
@media (max-width:1199px){
.dpm-post-card--featured.is-style-dpm-card{grid-template-columns:1fr}
.dpm-post-card--featured>.wp-block-post-featured-image{grid-row:1;grid-column:1}
.dpm-post-card--featured>.wp-block-post-featured-image img{aspect-ratio:16/10}
.dpm-post-card--featured>:not(.wp-block-post-featured-image){grid-column:1}
.dpm-post-card--featured.is-style-dpm-card{grid-template-rows:auto 22px auto auto auto 22px}
.dpm-post-card--featured>.dpm-post-card__terms{grid-row:3}
.dpm-post-card--featured>.wp-block-post-title{grid-row:4}
.dpm-post-card--featured>.wp-block-post-excerpt{grid-row:5}
.dpm-topics__row.wp-block-group{flex-wrap:nowrap;overflow-x:auto;margin-inline:-20px;padding:0 20px 6px;scrollbar-width:none}
.dpm-topics__row .dpm-chip-link{flex:0 0 auto}
}
/* Entrada: tipografía y bloques del cuerpo (diseño: <article> de DPM Post). */
.dpm-single__content .wp-block-post-content>p{font-size:clamp(16px,1.6vw,19px);line-height:1.72}
.dpm-single__content .wp-block-post-content>p:first-child{font-size:clamp(18px,1.9vw,22px);line-height:1.6;font-weight:400;color:var(--wp--preset--color--text-strong)}
.dpm-single__content .wp-block-post-content>h2{font-size:clamp(24px,3.1vw,34px);line-height:1.2;letter-spacing:-.01em;scroll-margin-top:96px}
.dpm-single__content .wp-block-post-content>h3{font-size:clamp(20px,2.2vw,24px);line-height:1.25}
.dpm-single__content .wp-block-post-content p a,.dpm-single__content .wp-block-post-content li a{text-decoration:underline;text-decoration-color:#a9d8f1;text-underline-offset:3px}
.dpm-single__content .wp-block-image img{border-radius:20px}
.dpm-single__content .wp-block-image figcaption{margin:9px 0 0;font-size:14px;color:#6f97a8;text-align:left}
.dpm-single__content .wp-block-post-content>ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:10px}
.dpm-single__content .wp-block-post-content>ul>li{position:relative;padding-left:18px;font-size:clamp(16px,1.6vw,19px);line-height:1.72}
.dpm-single__content .wp-block-post-content>ul>li::before{content:"";position:absolute;left:0;top:11px;width:7px;height:7px;border-radius:999px;background:var(--wp--preset--color--accent)}
.dpm-single__content .wp-block-post-content>ol{padding-left:22px;display:flex;flex-direction:column;gap:12px;font-size:15px;line-height:1.6}
/* Tablas del cuerpo: como .is-style-dpm-table sin depender de la variante. */
.dpm-single__content .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--wp--preset--color--border);border-radius:16px}
.dpm-single__content .wp-block-table table{width:100%;min-width:560px;margin:0;border-collapse:collapse;font-size:16px}
.dpm-single__content .wp-block-table thead tr{background:var(--wp--preset--color--surface)}
.dpm-single__content .wp-block-table th,.dpm-single__content .wp-block-table td{padding:14px 16px;border:0;text-align:left;vertical-align:top}
.dpm-single__content .wp-block-table thead th{font-weight:600;color:var(--wp--preset--color--primary)}
.dpm-single__content .wp-block-table tbody tr{border-top:1px solid var(--dpm-hairline,#e9f3f9)}
.dpm-single__content .wp-block-table tbody td:first-child{font-weight:500;color:var(--wp--preset--color--text-strong)}
.dpm-single__content .wp-block-table tbody td{color:var(--wp--preset--color--text-body)}
/* FAQ de Rank Math en el cuerpo: Admin::faq_details lo convierte en <details> (DomainFaqDetails); aqui el aspecto
   del diseno (mismo que .is-style-dpm-faq-item de patterns.css, que no se carga en entradas). */
.dpm-single__content .rank-math-block .rank-math-list{display:flex;flex-direction:column;gap:12px}
.dpm-single__content details.rank-math-faq-item{margin:0;padding:6px 4px;border:1px solid var(--wp--preset--color--border);border-radius:18px;background:var(--wp--preset--color--surface-soft)}
.dpm-single__content details.rank-math-faq-item>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:56px;padding:16px 20px;cursor:pointer;list-style:none}
.dpm-single__content details.rank-math-faq-item>summary::-webkit-details-marker{display:none}
.dpm-single__content details.rank-math-faq-item>summary::after{content:"";flex:0 0 auto;width:34px;height:34px;border-radius:999px;background:var(--wp--preset--color--surface)}
.dpm-single__content details.rank-math-faq-item>summary::before{content:"";position:absolute;right:30px;top:50%;margin-top:-4.5px;width:14px;height:9px;color:var(--wp--preset--color--accent);background:currentColor;-webkit-mask:var(--dpm-chevron) center/14px 9px no-repeat;mask:var(--dpm-chevron) center/14px 9px no-repeat;transition:transform .2s}
.dpm-single__content details.rank-math-faq-item[open]>summary::before{transform:rotate(180deg)}
.dpm-single__content details.rank-math-faq-item .rank-math-question{margin:0;font-size:clamp(17px,1.8vw,20px);font-weight:500;line-height:1.3;color:var(--wp--preset--color--primary)}
.dpm-single__content details.rank-math-faq-item .rank-math-answer{padding:0 20px 20px;font-size:clamp(16px,1.6vw,19px);line-height:1.72;color:var(--wp--preset--color--text-body)}
.dpm-single__content details.rank-math-faq-item .rank-math-answer p{margin:0}
:root{--dpm-chevron:url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 11 7%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M1 1.2 5.5 5.6 10 1.2%22/%3E%3C/svg%3E')}
/* CTA de entrada (patrón seowolf-dpm/post-cta): tarjeta azul del diseño. */
.dpm-post-cta{display:flex;flex-direction:column;gap:14px;padding:clamp(20px,2.4vw,28px);border-radius:22px;background:var(--wp--preset--color--primary);color:#fff;margin:clamp(8px,1vw,16px) 0}
.dpm-post-cta>*{margin:0!important;max-width:none}
.dpm-post-cta p.is-style-dpm-eyebrow{font-size:12px;color:rgba(255,255,255,.72)}
.dpm-post-cta h2{color:#fff;font-size:clamp(21px,2.3vw,26px);line-height:1.22}
.dpm-post-cta>p:not(.is-style-dpm-eyebrow){font-size:16px;line-height:1.6;color:rgba(255,255,255,.9);font-weight:300}
.dpm-post-cta__actions.wp-block-group{gap:10px;padding-top:2px}
.dpm-post-cta .dpm-btn{min-height:52px;padding:0 22px;font-size:16px}
.dpm-post-cta .wp-block-button.is-style-dpm-ghost-on-dark>.wp-block-button__link{min-height:52px;padding:0 22px;font-size:16px;font-weight:500}
/* Contacto: tarjetas de canal y fila por escuela. */
.dpm-contact-columns{gap:clamp(26px,3.4vw,48px)}
.dpm-contact-left{display:flex;flex-direction:column;gap:16px}
.dpm-contact-card{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:22px 24px;border-radius:20px}
.dpm-contact-card>*{margin:0!important}
.dpm-contact-card>.wp-block-group{flex:1 1 200px;min-width:0}
.dpm-contact-card h3{margin:0 0 2px!important;font-size:19px}
.dpm-contact-card p{margin:0!important;font-size:15px;line-height:1.5}
.dpm-contact-card .dpm-icon{width:52px;height:52px;border-radius:16px}
.dpm-contact-card--wa{background:var(--wp--preset--color--whatsapp);color:#fff}
.dpm-contact-card--wa h3,.dpm-contact-card--wa p{color:#fff}
.dpm-contact-card--wa .dpm-icon{background:rgba(255,255,255,.18);color:#fff}
.dpm-contact-card--wa .dpm-btn{flex:0 0 100%;min-height:46px;padding:0 18px;font-size:15px;background:#fff;color:var(--wp--preset--color--primary);box-shadow:none;justify-content:center}
.dpm-contact-card--ig{background:var(--wp--preset--color--surface)}
.dpm-contact-card--ig .dpm-icon{background:#fff}
.dpm-contact-card--ig h3{color:var(--wp--preset--color--primary)}
.dpm-contact-card--ig .wp-block-buttons{flex:0 0 100%}
.dpm-contact-card--ig .wp-block-button.is-style-dpm-outline>.wp-block-button__link{min-height:46px;padding:0 18px;font-size:15px}
.dpm-contact-card--before{flex-direction:column;align-items:stretch;gap:12px;padding:24px;border:1px solid var(--wp--preset--color--border)}
.dpm-contact-card--before h2{font-size:19px;margin:0!important}
.dpm-contact-card--before ul{margin:0!important;padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.dpm-contact-card--before li{position:relative;padding-left:15px;font-size:16px;line-height:1.5;color:var(--wp--preset--color--text-body)}
.dpm-contact-card--before li::before{content:"";position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:999px;background:var(--wp--preset--color--accent)}
.dpm-school-rows{padding:clamp(24px,3vw,36px)!important;border-radius:24px!important}
.dpm-school-rows>h2{font-size:clamp(23px,2.6vw,30px);line-height:1.2;margin:0 0 8px}
.dpm-school-rows>p{font-size:16px;line-height:1.6;margin:0 0 18px}
.dpm-school-rows .dpm-school-row{margin:0;padding:16px 18px;border:1px solid var(--wp--preset--color--border);border-radius:16px;background:#fff;gap:12px}
.dpm-school-rows .dpm-school-row+.dpm-school-row{margin-top:10px}
.dpm-school-row h3{font-size:18px;color:var(--wp--preset--color--text-strong)}
.dpm-school-row p.is-style-dpm-eyebrow{font-size:14px;font-weight:300;letter-spacing:0;text-transform:none;color:#6f97a8}
.dpm-school-row .dpm-btn{min-height:46px;padding:0 18px;font-size:15px;box-shadow:none}
/* Sobre nosotros: intro con WhatsApp, datos 2x2, equipo a 3 columnas, galería a 4. */
.dpm-about-intro .dpm-btn{margin-top:6px}
.dpm-fact-grid{gap:clamp(12px,1.6vw,16px)}
.is-style-dpm-fact-card.dpm-fact-card--stat{gap:4px;padding:clamp(20px,2.2vw,26px);border:0;border-radius:20px;background:var(--wp--preset--color--surface)}
.is-style-dpm-fact-card.dpm-fact-card--stat h3{margin:0;font-size:clamp(28px,3.2vw,38px);line-height:1;color:var(--wp--preset--color--primary)}
.is-style-dpm-fact-card.dpm-fact-card--stat p{margin:0;font-size:15px;line-height:1.5}
.dpm-team-grid__eyebrow{display:flex;align-items:center;gap:12px;font-weight:600;letter-spacing:.16em;color:var(--wp--preset--color--accent)}
.dpm-team-grid__eyebrow::before{content:"";width:34px;height:2px;background:var(--wp--preset--color--accent)}
.is-style-dpm-section .dpm-team-grid{padding-top:0;padding-bottom:0}
.dpm-team-grid .dpmloc-instructors{grid-template-columns:repeat(3,1fr);gap:clamp(20px,2.6vw,32px) clamp(16px,2vw,24px)}
.dpm-team-grid .dpmloc-instructor-photo{border-radius:20px;box-shadow:0 3px 18px rgba(0,90,135,.1)}
.dpm-team-grid .dpmloc-instructor-name{font-size:clamp(19px,1.9vw,21px);font-weight:600}
.dpm-team-grid .dpmloc-instructor-ig{width:36px;height:36px;min-height:0;margin:0;padding:0;justify-content:center;border-radius:11px;background:#fff;color:var(--wp--preset--color--primary)}
.dpm-team-grid .dpmloc-instructor-ig:hover{background:var(--wp--preset--color--accent);color:#fff;text-decoration:none}
.dpm-team-grid .dpmloc-instructor-ig-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dpm-gallery.wp-block-gallery{gap:clamp(10px,1.4vw,14px)}
.dpm-gallery.wp-block-gallery .wp-block-image img{border-radius:16px;aspect-ratio:1/1}
@media (max-width:1199px){
.dpm-team-grid .dpmloc-instructors{grid-template-columns:1fr}
.dpm-contact-left{order:1}
}
/* Itinerario por días (patrón itinerary-days; diseño: Open Water itinerary). */
.dpm-days{gap:clamp(14px,1.8vw,20px)}
.dpm-day{display:flex;flex-direction:column;gap:10px;padding:clamp(22px,2.4vw,28px);border-radius:20px;background:var(--wp--preset--color--surface)}
.dpm-day>*{margin:0!important}
.dpm-day__number{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:var(--wp--preset--color--primary);color:#fff;font-size:18px;font-weight:600}
.dpm-day__text{font-size:17px;line-height:1.55;font-weight:400;color:var(--wp--preset--color--text-strong)}

/* ---- Plan 9: altura del hero por tipo de página (heroMin del diseño), hero de entrada, 404 ---- */
:is(.is-style-dpm-hero,.dpm-hero).wp-block-cover{min-height:var(--dpm-hero-min,min(92svh,900px))!important}
.dpm-hero--hub{--dpm-hero-min:min(76svh,720px);--dpm-hero-min-m:78svh}
.dpm-hero--divemaster{--dpm-hero-min:min(84svh,820px);--dpm-hero-min-m:84svh}
.dpm-hero--about{--dpm-hero-min:min(72svh,680px);--dpm-hero-min-m:74svh}
.dpm-hero--contact{--dpm-hero-min:min(56svh,520px);--dpm-hero-min-m:62svh}
.dpm-hero--blog{--dpm-hero-min:min(60svh,560px);--dpm-hero-min-m:66svh}
.dpm-hero--post,.dpm-single__hero{--dpm-hero-min:min(72svh,660px);--dpm-hero-min-m:78svh}
.dpm-hero--404{--dpm-hero-min:min(80svh,760px);--dpm-hero-min-m:86svh}
.dpm-hero--page{--dpm-hero-min:min(70svh,660px);--dpm-hero-min-m:74svh}
/* Padding del hero interno (heroPad del diseño para páginas internas). */
:is(.is-style-dpm-hero,.dpm-hero):not(.dpm-hero--home)>.wp-block-cover__inner-container{padding:clamp(130px,15vh,180px) clamp(20px,4vw,40px) clamp(44px,6vh,68px)}
@media (max-width:1199px){
:is(.is-style-dpm-hero,.dpm-hero).wp-block-cover{min-height:min(var(--dpm-hero-min-m,100svh),900px)!important}
:is(.is-style-dpm-hero,.dpm-hero):not(.dpm-hero--home)>.wp-block-cover__inner-container{padding:112px 20px 40px}
}
/* Hero de entrada: categorías como chips, H1 del diseño, contenedor 1240. */
.dpm-single__hero>.wp-block-cover__inner-container{max-width:1240px}
.dpm-single__hero>.wp-block-cover__inner-container>*{max-width:900px}
.dpm-single__hero .wp-block-post-title{font-size:clamp(34px,5.6vw,62px);line-height:1.06}
.dpm-single__terms{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px}

.dpm-term-chip{display:inline-flex;align-items:center;padding:6px 13px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#fff}
/* 404: acciones y tarjetas de enlace. */
.dpm-404__actions.wp-block-group{gap:12px;padding-top:6px}
.dpm-404__actions .wp-block-button.is-style-dpm-white>.wp-block-button__link,.dpm-404__actions .dpm-btn{min-height:58px;padding:0 28px;font-size:17px;font-weight:600}
.dpm-404>h2{font-size:clamp(24px,3.2vw,34px);line-height:1.2;max-width:680px}
.dpm-404>p{max-width:680px;font-size:clamp(16px,1.5vw,19px);line-height:1.6}
.dpm-404-grid{gap:clamp(12px,1.6vw,16px);margin-top:clamp(24px,3vw,36px)}
.dpm-404-card{display:flex;align-items:center;gap:16px;padding:18px 20px;border-radius:18px;background:#fff;box-shadow:0 2px 16px rgba(0,90,135,.07);text-decoration:none;transition:box-shadow .25s}
.dpm-404-card:hover{box-shadow:0 14px 34px rgba(0,90,135,.16)}
.dpm-404-card .dpm-icon{width:52px;height:52px;border-radius:14px}
.dpm-404-card__text{display:flex;flex-direction:column;gap:3px}
.dpm-404-card__title{font-size:18px;font-weight:600;color:var(--wp--preset--color--primary)}
.dpm-404-card__desc{font-size:15px;color:var(--wp--preset--color--text-body)}
@media (max-width:1199px){.dpm-404-grid{grid-template-columns:1fr!important}}
/* Cierre en blanco de hubs, divemaster y about (diseño): h2 centrado, texto y dos botones de 60px. */
.dpm-cta-light{text-align:center}
.dpm-cta-light>*{margin-left:auto;margin-right:auto}
.dpm-cta-light>h2{max-width:900px;font-size:clamp(26px,3.6vw,38px);line-height:1.2}
.dpm-cta-light>p{max-width:900px;font-size:clamp(17px,1.6vw,20px);line-height:1.6}
.dpm-cta-light .dpm-btn,.dpm-cta-light .wp-block-button[class*="is-style-dpm-"]>.wp-block-button__link{min-height:60px;padding:0 30px;font-size:18px}
.dpm-cta-light>.wp-block-group{justify-content:center;gap:12px;margin-top:8px}
/* Hubs (diseño): fila de datos dentro de la intro, cabecera de la parrilla de cursos. */
.dpm-fact-grid--row{margin-top:clamp(28px,3.6vw,44px)}
.dpm-fact-grid--row .is-style-dpm-fact-card.dpm-fact-card--stat{gap:6px;padding:clamp(22px,2.4vw,28px)}
/* Franquicias (2026-10-18): pasos 01-04 como tarjetas blancas con número, título y texto (diseño "How it works"). */
.is-style-dpm-fact-card.dpm-fact-card--stat.dpm-fr-step{background:#fff;border:1px solid #d6eaf6;border-radius:18px}
.is-style-dpm-fact-card.dpm-fact-card--stat.dpm-fr-step h3{color:var(--wp--preset--color--accent,#169cdc)}
.is-style-dpm-fact-card.dpm-fact-card--stat.dpm-fr-step h4{margin:4px 0 0;font-size:19px;font-weight:600;color:var(--wp--preset--color--primary)}
.is-style-dpm-fact-card.dpm-fact-card--stat.dpm-fr-step p{color:#2c5566}
.dpm-fact-grid--row .is-style-dpm-fact-card.dpm-fact-card--stat h3{font-size:clamp(30px,3.4vw,40px)}
.dpm-fact-grid--row .is-style-dpm-fact-card.dpm-fact-card--stat p{font-size:16px}
.dpm-section-head{max-width:820px;margin-bottom:clamp(26px,3.4vw,40px)}
.dpm-section-head>h2{font-size:clamp(26px,3.6vw,38px);line-height:1.18;margin:0 0 12px}
.dpm-section-head>p{font-size:clamp(17px,1.6vw,20px);line-height:1.6;margin:0}
@media (max-width:1199px){.dpm-fact-grid--row{grid-template-columns:1fr!important}}
/* Plan 12: hubs de país y páginas genéricas de curso. */
.dpm-hero--country{--dpm-hero-min:min(78svh,740px);--dpm-hero-min-m:80svh}
.dpm-hero--course{--dpm-hero-min:min(72svh,680px);--dpm-hero-min-m:76svh}
.dpm-card-grid{gap:clamp(16px,2vw,24px)}
.dpm-place-card,.dpm-guide-card,.dpm-family-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:22px;overflow:hidden}
.dpm-place-card>.wp-block-image,.dpm-guide-card>.wp-block-image{margin:0}
.dpm-place-card>.wp-block-image img,.dpm-guide-card>.wp-block-image img{border-radius:0;width:100%}
.dpm-place-card__body,.dpm-guide-card__body,.dpm-family-card__body{display:flex;flex-direction:column;gap:12px;padding:22px 24px 26px;flex:1 1 auto}
.dpm-place-card__body>h3,.dpm-guide-card__body>h3,.dpm-family-card__body>h3{margin:0;font-size:var(--wp--preset--font-size--h-3)}
.dpm-place-card__body>p,.dpm-guide-card__body>p,.dpm-family-card__body>p{margin:0}
.dpm-place-card__body>.wp-block-buttons,.dpm-family-card__body>.wp-block-buttons,.dpm-guide-card__body>.wp-block-buttons{margin-top:auto;padding-top:6px}
.dpm-highlights{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.dpm-highlights li{position:relative;padding-left:26px;font-size:15px;line-height:1.5}
.dpm-highlights li::before{content:"";position:absolute;left:0;top:.35em;width:16px;height:16px;border-radius:50%;background:var(--wp--preset--color--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230070a5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7'/%3E%3C/svg%3E") center/10px no-repeat}
.dpm-family-card__body>.dpm-family-card__country{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--text-muted);font-weight:600}
.dpm-next-band{border-radius:26px;background:var(--wp--preset--color--surface);padding:clamp(28px,4vw,48px)}
.dpm-next-band h2{margin-top:0}
.dpm-requirements.is-style-dpm-table tbody th{font-weight:600;white-space:nowrap;text-align:left}
/* Plan 14: la tarjeta de sede enlaza también desde la imagen y el título. */
.dpm-place-card h3 a{color:inherit;text-decoration:none}
.dpm-place-card h3 a:hover{color:var(--wp--preset--color--accent);text-decoration:underline;text-underline-offset:4px}
.dpm-place-card>.wp-block-image a{display:block}
/* Franquicias v2 (2026-10-19): app Mareaviva (tarjeta oscura con tres capturas), inversión (dos tarjetas + nota + botón) y 5 pasos. */
.dpm-fr-app{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;padding:clamp(28px,4vw,56px);border-radius:28px;background:var(--wp--preset--color--primary,#0a1d2a);color:#fff}
.dpm-fr-app .dpm-eyebrow,.dpm-fr-app h2,.dpm-fr-app p{color:#fff}
.dpm-fr-app .dpm-eyebrow{color:#7fd3ff}
.dpm-fr-app h2{font-size:clamp(26px,3.4vw,38px);line-height:1.18;margin:0 0 14px}
.dpm-fr-app p{font-size:clamp(16px,1.5vw,18px);line-height:1.6;opacity:.92}
.dpm-fr-app__note{font-weight:500;opacity:1!important}
.dpm-fr-app__shots{display:flex;gap:clamp(10px,1.6vw,18px);justify-content:center;align-items:flex-end}
.dpm-fr-app__shot{width:min(30%,170px);height:auto;border-radius:18px;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.dpm-fr-app__shot:nth-child(2){transform:translateY(-18px)}
.dpm-fr-invest{display:block}
.dpm-fr-invest__grid{margin-top:clamp(20px,2.6vw,32px)}
.dpm-fr-invest__card{gap:10px}
.dpm-fr-invest__tag{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0;font-size:14px;font-weight:500;color:#6f97a8}
.dpm-fr-invest__tag strong{font-size:14px;font-weight:600;color:var(--wp--preset--color--primary,#0070a5)}
.dpm-fr-invest__bar{display:block;height:12px;margin:0 0 6px;border-radius:999px;background:#dcebf5;overflow:hidden}
.dpm-fr-invest__bar>i{display:block;height:100%;border-radius:999px;background:var(--wp--preset--color--accent,#169cdc)}
.dpm-fr-invest__card .dpm-eyebrow{margin:0}
.dpm-fr-invest__card h3{margin:0}
.dpm-fr-invest__foot{margin-top:clamp(20px,2.6vw,32px);gap:16px 24px;align-items:center}
.dpm-fr-invest__foot>p{margin:0;max-width:640px;color:#2c5566}
.dpm-fr-steps--5 .is-style-dpm-fact-card.dpm-fact-card--stat h4{font-size:18px}
@media (max-width:1199px){.dpm-fr-steps--5{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:1023px){.dpm-fr-brings{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:1039px){.dpm-fr-app{grid-template-columns:1fr}.dpm-fr-app__shots{justify-content:flex-start}}
@media (max-width:767px){.dpm-fr-steps--5,.dpm-fr-brings,.dpm-fr-invest__grid{grid-template-columns:1fr!important}.dpm-fr-app__shot{width:30%}.dpm-fr-app__shot:nth-child(2){transform:none}}

/* §10 (2026-10-20): hubs de país, "Best places to dive in …" (tarjetas de valor con zona, nombre, texto y época · nivel). */
.dpm-country-best .dpm-eyebrow{margin:0}
.dpm-country-best h3{margin:0}
.dpm-country-best h3 a{color:inherit;text-decoration:none}
.dpm-country-best h3 a:hover{color:var(--wp--preset--color--accent,#169cdc)}
.dpm-country-best__card>p:last-child{margin:0}
.dpm-country-best__meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:auto 0 0;font-size:14px;color:#2c5566}
.dpm-country-best__meta span+span::before{content:"·";margin-right:14px;color:#6f97a8}
