/* ==========================================================================
   Optomentors — component styles (tokens come from theme.json)
   ========================================================================== */

:root {
	--om-navy: var(--wp--preset--color--navy);
	--om-deep: var(--wp--preset--color--navy-deep);
	--om-teal: var(--wp--preset--color--teal);
	--om-teal-dark: var(--wp--preset--color--teal-dark);
	--om-ink: var(--wp--preset--color--ink);
	--om-muted: var(--wp--preset--color--muted);
	--om-line: var(--wp--preset--color--line);
	--om-mist: var(--wp--preset--color--mist);
	--om-r-sm: var(--wp--custom--radius--sm, 8px);
	--om-r-md: var(--wp--custom--radius--md, 14px);
	--om-r-lg: var(--wp--custom--radius--lg, 22px);
	--om-ease: cubic-bezier(.2, .7, .2, 1);
	--om-header-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--om-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: rgba(76, 191, 200, .35); color: var(--om-deep); }
img { height: auto; }
:where(a) { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--om-teal); outline-offset: 3px; border-radius: 4px; }

.skip-link.screen-reader-text:focus { background: #fff; color: var(--om-navy); padding: 12px 18px; z-index: 100000; }

/* ---------- Header ---------- */
/* The whole header template part sticks; the top bar (38px) scrolls away. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: -38px; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: -6px; }
@media (max-width: 781px) { .wp-site-blocks > header.wp-block-template-part { top: 0; } }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.wp-site-blocks > * { margin-block-start: 0; }
.om-topbar { height: 38px; box-sizing: border-box; display: flex; align-items: center; }
.om-topbar > * { width: 100%; }
.om-header {
	background: #fff;
	border-bottom: 1px solid var(--om-line);
}
.om-header__inner { min-height: var(--om-header-h); }
.om-topbar { font-size: var(--wp--preset--font-size--xs); letter-spacing: .01em; }
.om-topbar a { color: inherit; text-decoration: none; }
.om-topbar a:hover { color: var(--om-teal); }
.om-topbar .om-dot { display: none; }

.om-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--om-navy); }
.om-brand img { width: 40px; height: 40px; }
.om-brand__name { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; }
.om-brand__name span { color: var(--om-teal-dark); }
.om-brand__sub { display: block; font-family: var(--wp--preset--font-family--body); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--om-muted); margin-top: 5px; }

.om-header .wp-block-navigation a { text-decoration: none; }
.om-header .wp-block-navigation .wp-block-navigation-item__content { padding: .5rem .2rem; position: relative; }
.om-header .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--om-teal-dark); }
.om-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content { color: var(--om-teal-dark); text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.om-header .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.om-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.35rem; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }

/* ---------- Eyebrows & helpers ---------- */
.is-style-eyebrow, .om-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: var(--wp--preset--font-size--sm) !important; font-weight: 600 !important;
	letter-spacing: 0 !important; text-transform: none; color: var(--om-teal-dark);
	margin-bottom: .25rem;
}
.om-on-dark .is-style-eyebrow, .om-on-dark .om-eyebrow { color: var(--om-teal); }
.om-on-dark, .om-on-dark :where(h1, h2, h3, h4, h5, h6) { color: #fff; }
.om-on-dark p { color: rgba(255, 255, 255, .78); }
.om-on-dark a:not(.wp-block-button__link) { color: #fff; }
.om-lead { font-size: var(--wp--preset--font-size--lg); color: var(--om-muted); line-height: 1.6; }
.om-on-dark .om-lead { color: rgba(255, 255, 255, .8); }
.om-gradient-text { color: var(--om-teal); }
.om-muted { color: var(--om-muted); }
.om-section { position: relative; }
.om-relative { position: relative; }
.om-overflow-hidden { overflow: hidden; }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: background-color .15s, box-shadow .15s, color .15s; }
.wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--om-navy); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--om-teal); color: var(--om-deep); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255, 255, 255, .08); }
.wp-block-button.is-style-outline .wp-block-button__link { color: var(--om-navy); border: 1.5px solid var(--om-line); background: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--om-navy); }
.om-btn-teal .wp-block-button__link { background: var(--om-teal); color: var(--om-deep); }
.om-btn-teal .wp-block-button__link:hover { background: #6fd3da; color: var(--om-deep); }
.om-link-arrow { font-weight: 600; text-decoration: underline; }

/* ---------- Hero ---------- */
.om-hero { position: relative; isolation: isolate; overflow: hidden; }
.om-hero__orbit { display: none; }
.om-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: 1.05; letter-spacing: -.025em; font-weight: 700; }
.om-hero__media { position: relative; }
.om-hero__media .wp-block-image img { border-radius: var(--om-r-sm); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.om-hero__badge {
	position: absolute; left: -22px; bottom: 28px; max-width: 250px;
	background: rgba(255, 255, 255, .96); color: var(--om-ink); border-radius: var(--om-r-md);
	padding: 14px 16px; box-shadow: var(--wp--preset--shadow--lift); display: flex; gap: 12px; align-items: center;
	font-size: var(--wp--preset--font-size--xs); line-height: 1.35;
}
.om-hero__badge strong { display: block; color: var(--om-navy); font-size: .95rem; }
.om-hero__badge .om-pulse { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--om-mist); display: grid; place-items: center; }
.om-hero__badge .om-pulse::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--om-teal); }
.om-hero__badge--top { left: auto; right: -18px; top: 26px; bottom: auto; }
@keyframes om-pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 191, 200, .6); } 70% { box-shadow: 0 0 0 12px rgba(76, 191, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 191, 200, 0); } }
@media (max-width: 781px) {
	.om-hero__badge { left: 12px; bottom: 12px; }
	.om-hero__badge--top { display: none; }
}

/* Page hero (inner pages) */
.om-page-hero { position: relative; overflow: hidden; isolation: isolate; }
.om-page-hero .wp-block-cover__background { z-index: 0; }
.om-breadcrumbs { font-size: var(--wp--preset--font-size--xs); color: rgba(255, 255, 255, .7); }
.om-breadcrumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }

/* ---------- Trust bar ---------- */
.om-trust { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.om-trust__item { font-weight: 600; color: var(--om-muted); font-size: 1rem; white-space: nowrap; }

/* ---------- Stats ---------- */
.om-stat { border-left: 2px solid var(--om-teal); padding-left: 1.1rem; }
.om-stat__num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: var(--wp--preset--font-size--xxl); line-height: 1; color: var(--om-navy); letter-spacing: -.03em; margin: 0 0 .35rem; }
.om-on-dark .om-stat__num { color: #fff; }
.om-stat p:last-child { font-size: var(--wp--preset--font-size--sm); margin: 0; }

/* ---------- Cards ---------- */
.wp-block-group.is-style-card {
	background: #fff; border: 1px solid var(--om-line); border-radius: var(--om-r-lg);
	padding: clamp(1.4rem, 2.5vw, 2rem); height: 100%;
}
.wp-block-group.is-style-glass {
	background: #052f42; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--om-r-lg);
	padding: clamp(1.4rem, 2.5vw, 2rem); height: 100%;
}
.om-icon {
	width: 32px; height: 32px; display: grid; place-items: center; margin-bottom: 1rem;
	color: var(--om-teal-dark);
}
.om-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.om-on-dark .om-icon { color: var(--om-teal); }
.is-style-card h3, .is-style-glass h3 { font-size: var(--wp--preset--font-size--lg); margin-bottom: .5rem; }
.is-style-card p { color: var(--om-muted); font-size: var(--wp--preset--font-size--sm); }
.wp-block-columns.om-equal > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns.om-equal > .wp-block-column > * { flex: 1; }

/* Photo card with overlay text */
.om-photo-card { border-radius: var(--om-r-lg); overflow: hidden; min-height: 380px; }

/* Images */
.wp-block-image.is-style-frame img { border-radius: var(--om-r-lg); box-shadow: var(--wp--preset--shadow--lift); }
.om-img-cover img { width: 100%; height: 100%; object-fit: cover; }
.om-ratio-43 img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.om-ratio-11 img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.om-ratio-45 img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.om-mosaic { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.om-mosaic > figure { margin: 0 !important; }
.om-mosaic > figure:first-child { grid-row: span 2; }
.om-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--om-r-md); }
.om-mosaic > figure:first-child img { aspect-ratio: 3 / 4; }
.om-mosaic > figure:not(:first-child) img { aspect-ratio: 4 / 3; }

/* ---------- Lists ---------- */
ul.is-style-check { list-style: none; padding-left: 0; }
ul.is-style-check li { position: relative; padding-left: 2rem; margin-bottom: .65rem; }
ul.is-style-check li::before {
	content: ""; position: absolute; left: 0; top: .25em; width: 1.1rem; height: 1.1rem;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b7a84' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.om-on-dark ul.is-style-check li::before { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234cbfc8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.om-on-dark ul.is-style-check li { color: rgba(255, 255, 255, .85); }

/* ---------- Method / steps ---------- */
.om-steps { counter-reset: om-step; }
.om-step { padding-top: 1rem; border-top: 1px solid var(--om-line); }
.om-on-dark .om-step { border-top-color: rgba(255, 255, 255, .2); }

/* ---------- Testimonials ---------- */
.om-quote { position: relative; }
.om-quote .om-quote__text { font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--lg); line-height: 1.55; color: var(--om-navy); margin: 0 0 1rem; }
.om-quote--lead .om-quote__text { font-size: var(--wp--preset--font-size--xl); line-height: 1.35; }
.om-quote__who { font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); margin: 0; }
.om-quote__who strong { color: var(--om-ink); font-weight: 600; }
.om-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--wp--preset--gradient--teal-navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--wp--preset--font-family--heading); flex: none; }

/* ---------- Instagram grid ---------- */
.om-ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.om-ig-grid a { position: relative; display: block; overflow: hidden; border-radius: var(--om-r-sm); aspect-ratio: 1; }
.om-ig-grid img { width: 100%; height: 100%; object-fit: cover; }
.om-ig-grid a:hover img { opacity: .9; }
@media (max-width: 781px) { .om-ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Map & contact ---------- */
.om-map { border-radius: var(--om-r-lg); overflow: hidden; border: 1px solid var(--om-line); line-height: 0; background: var(--om-mist); }
.om-map iframe { width: 100%; height: 420px; border: 0; filter: saturate(.85); }
.om-contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.25rem; }
.om-contact-item .om-icon { width: 24px; height: 24px; margin: 2px 0 0; flex: none; }
.om-contact-item .om-icon svg { width: 22px; height: 22px; }
.om-contact-item strong { display: block; color: var(--om-navy); }
.om-contact-item a { color: inherit; }

/* ---------- FAQ (details) ---------- */
.wp-block-details { border: 1px solid var(--om-line); border-radius: var(--om-r-md); padding: 1.1rem 1.35rem; background: #fff; transition: box-shadow .2s; }
.wp-block-details + .wp-block-details { margin-top: .75rem; }
.wp-block-details[open] { box-shadow: var(--wp--preset--shadow--soft); }
.wp-block-details summary { font-weight: 600; color: var(--om-navy); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 0; top: -.15rem; font-size: 1.5rem; font-weight: 400; color: var(--om-teal-dark); transition: transform .2s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--om-muted); margin-top: .75rem; }

/* ---------- CTA band ---------- */
.om-cta { border-radius: var(--om-r-lg); overflow: hidden; position: relative; isolation: isolate; }

/* ---------- Footer ---------- */
.om-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.om-footer a:hover { color: var(--om-teal); }
.om-footer h2, .om-footer h3 { font-size: var(--wp--preset--font-size--sm) !important; letter-spacing: 0; color: #fff; font-family: var(--wp--preset--font-family--body); font-weight: 600; margin-bottom: .9rem; }
.om-footer ul { list-style: none; padding: 0; margin: 0; }
.om-footer li { margin-bottom: .55rem; font-size: var(--wp--preset--font-size--sm); }
.om-footer p { color: rgba(255, 255, 255, .7); font-size: var(--wp--preset--font-size--sm); }
.om-footer .om-brand { color: #fff; }
.om-footer .om-brand__name span { color: var(--om-teal); }
.om-footer .om-brand__sub { color: rgba(255, 255, 255, .55); }
.om-social { display: flex; gap: 10px; }
.om-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: all .2s; }
.om-social a:hover { background: var(--om-teal); border-color: var(--om-teal); color: var(--om-deep); }
.om-social svg { width: 18px; height: 18px; }
.om-family { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.om-family a { font-weight: 600; }

/* ---------- Floating WhatsApp ---------- */
.om-wa-fab {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4);
	transition: background-color .15s;
}
.om-wa-fab:hover { background: #1fb959; color: #fff; }
.om-wa-fab svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Blog ---------- */
/* Note cards: see "Blog (2026-11-12)" at the end of this file. */
.om-prose { font-size: 1.1rem; }
.om-prose h2 { font-size: var(--wp--preset--font-size--xl); margin-top: 2.5rem; }
.om-prose h3 { font-size: var(--wp--preset--font-size--lg); margin-top: 2rem; }

/* (removed: fade-in on scroll) */

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.om-hide-mobile { display: none !important; }
	.om-hero h1 { font-size: 2.55rem; }
	.om-mosaic { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 782px) { .om-hide-desktop { display: none !important; } }


/* ---------- Course page ---------- */
.om-course-hero .wp-block-post-terms.is-style-eyebrow a, .om-eyebrow a { color: inherit; text-decoration: none; }
.om-course-areas a { display: inline-block; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: #fff !important; text-decoration: none; padding: .3rem .7rem; border-radius: 3px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); margin: 0 .25rem .35rem 0; }
.om-course-areas .wp-block-post-terms__separator { display: none; }
.om-prose ul.is-style-check { margin-bottom: 1.5rem; }
.om-campus-card .wp-block-cover__background { background: linear-gradient(180deg, rgba(3, 32, 46, 0) 20%, rgba(3, 32, 46, .88) 100%) !important; opacity: 1 !important; }
.om-campus-card h2 { color: #fff; }
.om-on-dark a.om-hero__badge, .om-hero__badge { color: var(--om-ink) !important; }
.om-hero__badge strong { color: var(--om-navy) !important; }
.is-style-eyebrow, .om-eyebrow { display: block; }
.om-on-dark .om-contact-item strong { color: rgba(255, 255, 255, .6); font-size: var(--wp--preset--font-size--sm); font-weight: 600; }
.om-on-dark .om-contact-item, .om-on-dark .om-contact-item a { color: #fff; }
.om-footer .om-brand img { background: #fff; border-radius: 50%; padding: 3px; box-sizing: border-box; }
@media (max-width: 781px) {
	.om-campus-card .wp-block-cover__background { background: linear-gradient(180deg, rgba(3, 32, 46, .55) 0%, rgba(3, 32, 46, .92) 55%) !important; }
	.om-campus-card { min-height: 0 !important; }
}
/* Page-header intro: left-aligned with the title, readable line length (max ~760px of text).
   The % in padding is the width of the hero (the whole screen), not of the paragraph, so it is capped
   at the content width (1240px): with plain 100% the text collapsed to a sliver on screens over ~2000px. */
.om-page-hero > p.om-lead { padding-right: max(0px, calc(min(100%, 1240px) - 760px)); box-sizing: border-box; }

/* ---------- Layout guards: tablets and small laptops (measured 2026-11-11) ---------- */
/* Logo + menu + button need ~1240px. Below that the menu wrapped onto two rows: use the menu button instead. */
@media (min-width: 600px) and (max-width: 1279px) {
	.om-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.om-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.om-header .wp-block-button__link { white-space: nowrap; }
/* Top strip is one 38px line: below 1200px tagline + contacts no longer fit (it wrapped and was cut). Keep the contacts. */
@media (max-width: 1199px) {
	.om-topbar > div > span:first-child { display: none; }
	.om-topbar > div { justify-content: flex-end !important; }
}
/* Columns side by side only from 1024px: between 782 and 1023 the workshop info box and 3-up rows were ~170px wide. */
@media (min-width: 782px) and (max-width: 1023px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-wrap: wrap !important; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}
/* Rows of 4 cards (Alianzas, Nosotros…): 2 × 2 until there is room for 4 readable columns. */
@media (min-width: 782px) and (max-width: 1099px) {
	.wp-block-columns:has(> .wp-block-column:nth-child(4)) { flex-wrap: wrap !important; }
	.wp-block-columns:has(> .wp-block-column:nth-child(4)) > .wp-block-column { flex-basis: calc(50% - 1rem) !important; flex-grow: 0; }
}
/* Blog grid: 2 columns on tablets instead of 3 narrow ones. */
@media (min-width: 600px) and (max-width: 1023px) {
	.wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ---------- Feature list (home "Por qué"): text in columns, hairline on top ---------- */
.om-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 4rem; }
.om-features > div { border-top: 1px solid var(--om-line); padding-top: 1.25rem; }
.om-features h3 { font-size: var(--wp--preset--font-size--lg); margin: 0 0 .5rem; }
.om-features p { margin: 0; color: var(--om-muted); }
@media (max-width: 781px) { .om-features { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Testimonials (home): one lead quote, two below ---------- */
.om-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; }
.om-quotes .om-quote { margin: 0; }
.om-quotes .om-quote--lead { grid-column: 1 / -1; max-width: 52rem; padding-left: 1.5rem; border-left: 3px solid var(--om-teal); }
.om-quotes .om-quote:not(.om-quote--lead) { border-top: 1px solid var(--om-line); padding-top: 1.25rem; }
@media (max-width: 781px) { .om-quotes { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Related workshops under blog notes ---------- */
.om-related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--om-line); max-width: min(1040px, 100%) !important; }
.om-related h2 { font-size: var(--wp--preset--font-size--xl); margin-bottom: .5rem; }
.om-related > p { color: var(--om-muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   Page heroes (2026-11-12, inc/heroes.php): one layout per kind of page, each around a real campus photo.
   inmersiva (Eventos) · catalogo (Talleres) · diptico (Tecnología) · mosaico (Campus) · editorial (Nosotros).
   Same rules as the rest of the site: flat colour, 4–6px radii, no hover lifts or zooms, no scroll animation.
   ========================================================================== */
:root { --om-gutter: clamp(1.25rem, 4vw, 2.5rem); --om-wrap: 1240px; }
.om-ph { position: relative; isolation: isolate; }
.om-ph figure { margin: 0; }
.om-ph__media { overflow: hidden; } /* an aspect-ratio box grows to fit a taller image unless it clips */
.om-ph__wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--om-wrap) + 2 * var(--om-gutter)); margin-inline: auto; padding-inline: var(--om-gutter); }
.om-ph__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.om-ph__crumbs { font-size: var(--wp--preset--font-size--xs); color: var(--om-muted); margin: 0 0 1.5rem; }
.om-ph__crumbs a { color: inherit; text-decoration: none; }
.om-ph__crumbs a:hover { text-decoration: underline; }
.om-ph__crumbs span[aria-hidden] { margin: 0 .3rem; opacity: .6; }
.om-ph__eyebrow { font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--om-teal-dark); margin: 0 0 .75rem; }
.om-ph__title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: clamp(2.35rem, 4.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.025em; color: var(--om-navy); margin: 0; text-wrap: balance; }
.om-ph__lead { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); line-height: 1.6; color: var(--om-muted); margin: 1.25rem 0 0; max-width: 40rem; text-wrap: pretty; }
.om-ph__rule { display: block; width: 56px; height: 3px; background: var(--om-teal); margin-top: 1.5rem; }
.om-ph__rule + .om-ph__lead { margin-top: 1.25rem; }
.om-ph__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.om-ph__caption { font-size: var(--wp--preset--font-size--xs); line-height: 1.45; }

/* Buttons used inside heroes and bands (outside the block editor) */
.om-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; padding: .8rem 1.5rem; border-radius: 4px; font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--sm); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
.om-btn--teal { background: var(--om-teal); color: var(--om-deep); }
.om-btn--teal:hover { background: #6fd3da; color: var(--om-deep); }
.om-btn--navy { background: var(--om-navy); color: #fff; }
.om-btn--navy:hover { background: var(--om-deep); color: #fff; }
.om-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.om-btn--ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.om-btn--line { background: #fff; color: var(--om-navy); box-shadow: inset 0 0 0 1.5px var(--om-line); }
.om-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--om-navy); color: var(--om-navy); }
.om-ph__link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 600; color: var(--om-teal-dark); text-decoration: underline; text-underline-offset: .25em; }
.om-ph__link:hover { color: var(--om-navy); }
@media (max-width: 599px) { .om-ph__actions .om-btn { flex: 1 1 100%; } }

/* Dark heroes: breadcrumbs, eyebrow, title, lead in light colours */
.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico { background: var(--om-navy); color: #fff; }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__crumbs { color: rgba(255, 255, 255, .72); }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__eyebrow { color: var(--om-teal); }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__title { color: #fff; }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__lead { color: rgba(255, 255, 255, .82); }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__link { color: #fff; }
:is(.om-ph--inmersiva, .om-ph--catalogo, .om-ph--diptico) .om-ph__link:hover { color: var(--om-teal); }

/* --- Inmersiva (Eventos): full-bleed photo, navy veil from the bottom-left, text anchored at the bottom --- */
.om-ph--inmersiva { display: flex; align-items: flex-end; min-height: clamp(560px, 78vh, 800px); overflow: hidden; background: var(--om-deep); }
.om-ph--inmersiva .om-ph__media { position: absolute; inset: 0; z-index: -2; }
.om-ph--inmersiva::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(0deg, rgba(3, 32, 46, .95) 0%, rgba(3, 32, 46, .82) 30%, rgba(3, 32, 46, .35) 60%, rgba(3, 32, 46, .08) 100%),
		linear-gradient(90deg, rgba(3, 32, 46, .6) 0%, rgba(3, 32, 46, 0) 65%); }
.om-ph--inmersiva .om-ph__wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; padding-top: clamp(8rem, 22vh, 14rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.om-ph--inmersiva .om-ph__copy { max-width: 48rem; }
.om-ph--inmersiva .om-ph__title { font-size: clamp(2.35rem, 4.6vw, 4.5rem); }
.om-ph--inmersiva .om-ph__caption { flex: 0 0 17rem; margin: 0 0 .4rem; color: rgba(255, 255, 255, .72); text-align: right; border-right: 2px solid var(--om-teal); padding-right: .9rem; }
@media (max-width: 1199px) {
	.om-ph--inmersiva .om-ph__wrap { flex-direction: column; align-items: flex-start; }
	.om-ph--inmersiva .om-ph__caption { flex: none; text-align: left; border-right: 0; border-left: 2px solid var(--om-teal); padding: 0 0 0 .75rem; }
}
@media (max-width: 781px) {
	.om-ph--inmersiva { min-height: 640px; }
	.om-ph--inmersiva .om-ph__wrap { padding-top: 13rem; }
}

/* --- Catálogo (Talleres): navy text column, photo filling the right 46% of the screen --- */
.om-ph--catalogo { display: flex; align-items: center; min-height: clamp(540px, 64vh, 700px); overflow: hidden; }
.om-ph--catalogo .om-ph__wrap { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.om-ph--catalogo .om-ph__copy { width: 52%; padding-right: 2.5rem; box-sizing: border-box; }
.om-ph--catalogo .om-ph__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.om-ph--catalogo .om-ph__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(3, 32, 46, .7), rgba(3, 32, 46, 0)); pointer-events: none; }
.om-ph--catalogo .om-ph__caption { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; z-index: 1; color: rgba(255, 255, 255, .88); }
@media (max-width: 1023px) {
	.om-ph--catalogo { flex-direction: column; align-items: stretch; min-height: 0; }
	.om-ph--catalogo .om-ph__media { position: relative; order: -1; width: 100%; aspect-ratio: 16 / 9; }
	.om-ph--catalogo .om-ph__copy { width: 100%; padding-right: 0; }
	.om-ph--catalogo .om-ph__wrap { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--60); }
}
@media (max-width: 599px) { .om-ph--catalogo .om-ph__media { aspect-ratio: 4 / 3; } }

/* --- Díptico (Tecnología): title + lead side by side, two linked photo panels that overlap the next section --- */
.om-ph--diptico { background: linear-gradient(180deg, var(--om-navy) 0, var(--om-navy) calc(100% - clamp(70px, 9vw, 130px)), #fff calc(100% - clamp(70px, 9vw, 130px))); }
.om-ph--diptico.om-ph--nopanels { background: var(--om-navy); padding-bottom: var(--wp--preset--spacing--60); }
.om-ph--diptico .om-ph__wrap { padding-top: clamp(3rem, 6vw, 5rem); }
.om-ph--diptico .om-ph__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.om-ph--diptico .om-ph__head .om-ph__lead { margin-top: 0; }
.om-ph--diptico .om-ph__head .om-ph__actions { margin-top: 1rem; }
.om-ph__panels { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 1.5vw, 1.25rem); }
.om-ph__panel { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--om-deep); color: #fff; text-decoration: none; box-shadow: 0 1px 3px rgba(6, 58, 81, .1), 0 18px 40px -24px rgba(6, 58, 81, .45); }
.om-ph__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 32, 46, .94) 0%, rgba(3, 32, 46, .72) 26%, rgba(3, 32, 46, .2) 50%, rgba(3, 32, 46, 0) 66%); transition: opacity .2s; }
.om-ph__panel:hover::after { opacity: .85; }
.om-ph__panel-text { position: absolute; left: clamp(1rem, 2.2vw, 1.75rem); right: clamp(1rem, 2.2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.5rem); z-index: 1; display: flex; flex-direction: column; gap: .3rem; }
.om-ph__panel-kicker { font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--om-teal); }
.om-ph__panel-label { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.om-ph__panel:hover .om-ph__panel-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.om-ph__panel:focus-visible { outline-offset: 4px; }
@media (max-width: 1023px) { .om-ph--diptico .om-ph__head { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .om-ph__panels { grid-template-columns: 1fr; } .om-ph__panel { aspect-ratio: 16 / 10; } }

/* --- Mosaico (Campus): title | intro, then an asymmetric grid of four rooms --- */
.om-ph--mosaico { background: #fff; }
.om-ph--mosaico .om-ph__wrap { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.om-ph--mosaico .om-ph__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.om-ph--mosaico .om-ph__intro .om-ph__lead { margin-top: 0; }
.om-ph--mosaico .om-ph__actions { margin-top: 1.5rem; }
.om-ph__place { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0 0; font-size: var(--wp--preset--font-size--sm); color: var(--om-ink); }
.om-ph__place svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--om-teal-dark); }
.om-ph__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, clamp(190px, 17vw, 290px)); gap: clamp(.5rem, 1vw, .875rem); }
.om-ph__tile { position: relative; overflow: hidden; border-radius: 6px; background: var(--om-mist); }
.om-ph__tile--1 { grid-row: 1 / span 2; }
.om-ph__tile--2 { grid-column: 2 / span 2; }
.om-ph--n3 .om-ph__tile--3 { grid-column: 2 / span 2; }
.om-ph__tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .75rem; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: #fff; background: linear-gradient(0deg, rgba(3, 32, 46, .72), rgba(3, 32, 46, 0)); }
@media (max-width: 1023px) { .om-ph--mosaico .om-ph__head { grid-template-columns: 1fr; } }
@media (max-width: 781px) {
	.om-ph__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
	.om-ph__tile { aspect-ratio: 1; }
	.om-ph__tile--1, .om-ph__tile--2 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
	.om-ph__tile--2 { aspect-ratio: 16 / 9; }
}

/* --- Editorial (Nosotros): light band, title over the faded left edge of a photo that bleeds to the right --- */
.om-ph--editorial { display: flex; align-items: center; overflow: hidden; background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--om-line); min-height: clamp(560px, calc(62vw / var(--om-ph-ratio, 1.6)), 800px); }
.om-ph--editorial .om-ph__media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1; }
.om-ph--editorial .om-ph__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f7fafb 0%, rgba(247, 250, 251, .94) 18%, rgba(247, 250, 251, .6) 40%, rgba(247, 250, 251, 0) 66%); }
.om-ph--editorial .om-ph__wrap { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.om-ph--editorial .om-ph__copy { width: min(56%, 46rem); }
.om-ph--editorial .om-ph__title { font-size: clamp(2.6rem, 5vw, 4.75rem); }
@media (max-width: 1023px) {
	.om-ph--editorial { flex-direction: column; align-items: stretch; min-height: 0; }
	.om-ph--editorial .om-ph__media { position: relative; order: -1; width: 100%; aspect-ratio: var(--om-ph-ratio, 1.6); z-index: 0; }
	.om-ph--editorial .om-ph__media::after { background: linear-gradient(0deg, #f7fafb 0%, rgba(247, 250, 251, 0) 28%); }
	.om-ph--editorial .om-ph__copy { width: 100%; }
	.om-ph--editorial .om-ph__wrap { padding-top: var(--wp--preset--spacing--30); padding-bottom: var(--wp--preset--spacing--60); }
}

/* ---------- Eventos: past sessions ---------- */
.om-past { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.75rem; margin-top: var(--wp--preset--spacing--50); }
.om-past__item { margin: 0; }
.om-past__media { margin: 0 0 1rem; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--om-mist); }
.om-past__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.om-past__when { margin: 0 0 .35rem; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--om-teal-dark); }
.om-past__title { margin: 0 0 .4rem; font-size: var(--wp--preset--font-size--lg); line-height: 1.25; }
.om-past__text { margin: 0; font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); }
@media (max-width: 1099px) { .om-past { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .om-past { grid-template-columns: 1fr; } }

/* ---------- Campus: four points in a row ---------- */
.om-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; }
@media (max-width: 1099px) { .om-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .om-features--4 { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog (2026-11-12): light intro with topics, newest note as the lead story, the rest in a grid.
   ========================================================================== */
.om-blog-intro { background: var(--wp--preset--color--paper); border-bottom: 1px solid var(--om-line); }
.om-blog-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 2.5rem 5rem; align-items: end; padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.om-blog-intro .om-ph__title { font-size: clamp(2.35rem, 4.2vw, 4rem); }
.om-blog-intro__note { margin: 1rem 0 0; font-size: var(--wp--preset--font-size--xs); color: var(--om-muted); }
.om-topics__title { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--sm); font-weight: 600; color: var(--om-navy); }
.om-topics ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--om-line); }
.om-topics li { border-bottom: 1px solid var(--om-line); }
.om-topics a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: .55rem 0; font-size: var(--wp--preset--font-size--sm); font-weight: 500; color: var(--om-ink); text-decoration: none; }
.om-topics a:hover { color: var(--om-teal-dark); }
.om-topics a[aria-current] { color: var(--om-navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--om-teal); padding-left: .85rem; }
.om-topics__n { font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--om-muted); min-width: 1.75rem; text-align: right; }
@media (max-width: 1023px) {
	.om-blog-intro__grid { grid-template-columns: 1fr; align-items: start; }
	.om-topics ul { display: flex; flex-wrap: wrap; gap: .5rem; border: 0; }
	.om-topics li { border: 0; }
	.om-topics a { min-height: 40px; padding: .4rem .85rem; border: 1px solid var(--om-line); border-radius: 4px; background: #fff; gap: .6rem; }
	.om-topics a[aria-current] { box-shadow: none; padding-left: .85rem; background: var(--om-navy); border-color: var(--om-navy); color: #fff; }
	.om-topics a[aria-current] .om-topics__n { color: rgba(255, 255, 255, .7); }
}

/* Grid of notes */
.om-blog .wp-block-post-template.om-blog-grid { gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.25rem) !important; }
.om-post-card { display: flex; flex-direction: column; height: 100%; margin: 0; }
.om-post-card .om-post-card__media { margin: 0 0 1.1rem; }
.om-post-card .om-post-card__media a { display: block; }
.om-post-card .om-post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.om-post-card__body > * { margin-block: 0; }
.om-post-card__body > * + * { margin-top: .6rem; }
.om-post-meta { gap: .25rem .9rem !important; font-size: var(--wp--preset--font-size--xs); color: var(--om-muted); align-items: baseline; }
.om-post-meta > * { margin: 0 !important; }
.om-post-meta__cat a { font-weight: 600; color: var(--om-teal-dark); text-decoration: none; }
.om-post-meta__cat a:hover { text-decoration: underline; }
.om-post-meta__cat .wp-block-post-terms__separator { color: var(--om-muted); }
.om-post-meta__time::before { content: "·"; margin-right: .9rem; color: var(--om-line); font-weight: 700; }
.om-post-meta__time::after { content: " de lectura"; }
.om-post-meta__date::before { content: "·"; margin-right: .9rem; color: var(--om-line); font-weight: 700; }
.om-post-card .om-post-meta__time { display: none; }
.om-post-card__title { font-size: var(--wp--preset--font-size--lg) !important; line-height: 1.3 !important; letter-spacing: -.01em; }
.om-post-card__title a { color: var(--om-navy); text-decoration: none; }
.om-post-card__title a:hover { color: var(--om-teal-dark); text-decoration: underline; text-decoration-thickness: 1px; }
.om-post-card__excerpt, .om-post-card__excerpt p { font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); line-height: 1.6; }
.om-post-card__excerpt p { margin: 0; }
.om-post-card__body > .om-post-card__title { margin-top: .7rem; }
.om-post-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.om-post-card__more { display: none; }

/* Lead story: the newest note on the first page, image and text side by side */
body:not(.paged) .om-blog-grid > li:first-child { grid-column: 1 / -1; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(2.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--om-line); }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__media { margin: 0; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__title { font-size: var(--wp--preset--font-size--xxl) !important; line-height: 1.12 !important; letter-spacing: -.02em; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__excerpt, body:not(.paged) .om-blog-grid > li:first-child .om-post-card__excerpt p { font-size: var(--wp--preset--font-size--md); }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__body > * + * { margin-top: .9rem; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-meta__time { display: block; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__more { display: inline-flex; align-items: center; min-height: 44px; margin-top: .75rem; font-weight: 600; color: var(--om-teal-dark); text-decoration: underline; text-underline-offset: .25em; }
body:not(.paged) .om-blog-grid > li:first-child .om-post-card__more::after { content: " →"; white-space: pre; }
@media (max-width: 781px) {
	body:not(.paged) .om-blog-grid > li:first-child .om-post-card { grid-template-columns: 1fr; }
	body:not(.paged) .om-blog-grid > li:first-child .om-post-card__title { font-size: var(--wp--preset--font-size--xl) !important; }
}
.om-blog .wp-block-query-pagination { font-weight: 600; gap: .5rem 1rem; }
.om-blog .wp-block-query-pagination a { text-decoration: none; }

/* From the blog to the workshops */
.om-blog-cta { background: var(--om-mist); }
.om-blog-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.om-blog-cta__inner > div:first-child { flex: 1 1 28rem; }
.om-blog-cta__title { margin: 0 0 .5rem; font-size: var(--wp--preset--font-size--xl); }
.om-blog-cta__text { margin: 0; color: var(--om-muted); max-width: 40rem; }
.om-blog-cta .om-ph__actions { margin-top: 0; }

/* ---------- Comunidad y Actualidad (2026-11-23) ---------- */
.om-comunidad h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.om-comunidad .is-style-check li { margin-bottom: .45rem; }
.om-comunidad__sub { margin-top: .25rem; color: rgba(255, 255, 255, .7); font-size: var(--wp--preset--font-size--sm); }
.om-comunidad-total { margin-top: 1.25rem; color: rgba(255, 255, 255, .8); }
.om-comunidad-total strong { color: var(--om-teal); }
.om-sections { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 2rem; }
.om-sections a { padding: .45rem .9rem; border: 1px solid var(--om-line); border-radius: 999px; color: var(--om-navy); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.om-sections a:hover { border-color: var(--om-navy); }
.om-topics__title--2 { margin-top: 1.5rem; }
.om-fuente { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 3px solid var(--om-teal); background: var(--om-mist); border-radius: 0 var(--om-r-sm) var(--om-r-sm) 0; overflow-wrap: anywhere; }
.om-header .om-btn-line .wp-block-button__link { padding-inline: 1rem; }
@media (max-width: 1180px) { .om-header .om-btn-line { display: none; } }

/* EssilorLuxottica equipment */
.om-essilor { background: var(--om-mist); }
.om-essilor__grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.om-essilor__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--om-line); border-radius: var(--om-r-md); overflow: hidden; }
.om-essilor__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.om-essilor__name { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 1.5rem; background: var(--om-navy); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.5rem; text-align: center; }
.om-essilor__body { padding: 1.1rem 1.25rem 1.35rem; }
.om-essilor__body h3 { margin: .15rem 0 .4rem; font-size: var(--wp--preset--font-size--lg); }
.om-essilor__body p { margin: 0; color: var(--om-muted); font-size: var(--wp--preset--font-size--sm); }
.om-essilor__body .om-essilor__kicker { color: var(--om-teal-dark); font-weight: 600; margin-bottom: .1rem; }

/* Members-only articles, sign-in link, languages (2026-11-23) */
.om-comunidad__fine { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--sm); color: rgba(255, 255, 255, .75); }
.om-comunidad__fine a { color: var(--om-teal); }
.om-gated { position: relative; }
.om-gated::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.5rem; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.om-gate { margin: 2rem 0; padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--om-line); border-top: 3px solid var(--om-teal); border-radius: var(--om-r-md); background: #fff; }
.om-gate__eyebrow { margin: 0 0 .35rem; color: var(--om-teal-dark); font-weight: 600; font-size: var(--wp--preset--font-size--sm); }
.om-gate__title { margin: 0 0 .6rem; font-size: var(--wp--preset--font-size--xl); }
.om-gate .om-btn { margin-top: .25rem; }
.om-acceso { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--om-line); }
.om-acceso label { display: block; font-weight: 600; color: var(--om-navy); margin-bottom: .5rem; }
.om-acceso__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.om-acceso__row input { flex: 1 1 14rem; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--om-line); border-radius: var(--om-r-sm); font: inherit; }
.om-acceso__row button { padding: .7rem 1.2rem; border: 0; border-radius: var(--om-r-sm); background: var(--om-navy); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.om-acceso__row button:hover { background: var(--om-deep); }
.om-acceso__sent { margin: 0 0 .75rem; padding: .7rem .9rem; background: var(--om-mist); border-radius: var(--om-r-sm); }
.om-acceso-band { padding-top: 1.25rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--om-line); }
.om-acceso-band .om-acceso { max-width: 40rem; margin-top: 0; border-top: 0; }
.om-lang { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin: 0 0 1.5rem; font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); }
.om-lang a { color: var(--om-navy); font-weight: 600; text-decoration: none; }
.om-lang a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.om-lang__note { margin-top: -1rem; font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); font-style: italic; }
.om-member-bar { margin-top: 2rem; font-size: var(--wp--preset--font-size--sm); color: var(--om-muted); }
.om-nav-lang .wp-block-navigation-item__content { font-size: .875rem; opacity: .85; }
.om-actualidad-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.om-actualidad-list__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--om-r-sm); margin-bottom: 1rem; }
.om-actualidad-list .om-post-card__title { font-size: var(--wp--preset--font-size--lg); margin: .25rem 0 .5rem; }
.om-actualidad-list .om-post-card__title a { color: var(--om-navy); text-decoration: none; }
