/* SOURCE: /css/app.css */
:root {
  --navy: #404b68;
  --navy-deep: #263456;
  --violet: #433a6f;
  --violet-soft: #625e8b;
  --violet-pale: #706e94;
  --blue: #00577f;
  --blue-mid: #2c7898;
  --blue-pale: #7d9bb8;
  --paper: #ffffff;
  --canvas: #f6f7fb;
  --text: #1b2948;
  --muted: #5e6c85;
  --line: #dce2ee;
  --success: #157558;
  --warning: #a86c10;
  --danger: #b33a45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(39, 51, 82, .13);
  --shadow-soft: 0 8px 20px rgba(39, 51, 82, .08);
  --container: 1160px;
  --font: "Sofia Pro", "Avenir Next", "Montserrat", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); font: 400 16px/1.55 var(--font); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
textarea { resize: vertical; min-height: 122px; }
:focus-visible { outline: 3px solid #76d5ef; outline-offset: 3px; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: 8px; left: 8px; transform: translateY(-140%); padding: .75rem 1rem; color: #fff; background: var(--navy-deep); border-radius: 8px; }
.skip-link:focus { transform: none; }
.eyebrow { margin: 0 0 .5rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow.light { color: #d1effa; }
.muted, .helper-text { color: var(--muted); }
.helper-text { font-size: .87rem; }
.text-link { color: var(--violet); font-weight: 800; }
.text-link:hover { color: var(--blue); text-decoration: underline; }
.text-link.light { color: #fff; }
.block { display: block; margin-top: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .72rem 1.05rem; border: 1px solid var(--violet); border-radius: 10px; color: #fff; background: var(--violet); font-weight: 800; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { color: #fff; background: #332a63; box-shadow: 0 9px 16px rgba(67,58,111,.2); transform: translateY(-1px); }
.button-small { min-height: 35px; padding: .45rem .7rem; font-size: .83rem; }
.button-full { width: 100%; }
.button-light { color: var(--navy-deep); background: #fff; border-color: #fff; }
.button-light:hover { color: var(--navy-deep); background: #eef9fc; }
.button-outline { color: var(--violet); background: #fff; border-color: var(--violet); }
.button-outline:hover { color: #fff; background: var(--violet); }
.button-ghost, .button-ghost-light { color: var(--violet); background: transparent; border-color: var(--line); }
.button-ghost:hover { color: var(--violet); background: #f4f1ff; }
.button-ghost-light { color: #fff; border-color: rgba(255,255,255,.6); }
.button-ghost-light:hover { color: #fff; background: rgba(255,255,255,.13); }
.chip, .status { display: inline-flex; align-items: center; border-radius: 999px; font-size: .75rem; font-weight: 750; line-height: 1; padding: .42rem .65rem; }
.chip { color: var(--violet); background: #f0edfb; }
.chip-row, .tag-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-list span { padding: .35rem .62rem; color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: .75rem; font-weight: 700; }

/* Header: mobile first */
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(30,45,75,.08); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); }
.brand-mark { position: relative; display: inline-block; font-size: 2.65rem; font-weight: 900; line-height: .7; letter-spacing: -.15em; }
.brand-mark span { position: absolute; top: -.22rem; right: -.45rem; color: var(--violet); font-size: .92rem; letter-spacing: 0; }
.brand-copy { display: grid; gap: 0; font-size: .71rem; line-height: .9; }
.brand-copy strong { font-weight: 400; }
.brand-copy b { font-weight: 900; }
.nav-toggle { display: inline-grid; gap: 4px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; width: 100%; background: var(--navy); }
.primary-nav { position: fixed; inset: 70px 16px auto 16px; display: none; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.primary-nav.is-open { display: grid; }
.primary-nav a { padding: .82rem .9rem; border-radius: 9px; font-size: .95rem; font-weight: 750; }
.primary-nav a:not(.nav-cta):hover, .primary-nav a.is-active { color: var(--violet); background: #f1effa; }
.nav-cta { margin-top: .25rem; }

/* footer */
.site-footer { margin-top: 2.5rem; padding-top: 2.4rem; color: rgba(255,255,255,.9); background: linear-gradient(120deg, var(--navy-deep), var(--violet)); }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.25rem; }
.footer-grid p { max-width: 360px; color: #d9e4f0; font-size: .92rem; }
.footer-grid h2 { margin: 0 0 .8rem; color: #fff; font-size: .95rem; }
.footer-grid ul { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: .9rem; color: #fff; }
.footer-brand .brand-mark { font-size: 3.1rem; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand strong { letter-spacing: .04em; }
.footer-brand small { margin-top: .2rem; color: #d9e4f0; }
.footer-sefeco { display: grid; align-content: center; gap: .15rem; padding: 1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; }
.footer-sefeco .seal { font-size: 2rem; }
.footer-sefeco strong { color: #fff; font-size: 1.35rem; }
.footer-sefeco small { color: #d9e4f0; }
.footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.2); color: #d9e4f0; font-size: .82rem; text-align: center; }

/* Messages */
.flash-wrap { margin-top: 1rem; }
.flash { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid; border-radius: 10px; }
.flash p { margin: 0; }
.flash > span { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; font-weight: 900; }
.flash-success { border-color: #b2dfd0; color: #135947; background: #e9f7f1; }.flash-success > span { color: #fff; background: var(--success); }
.flash-error { border-color: #f2c0c6; color: #862535; background: #fff0f1; }.flash-error > span { color: #fff; background: var(--danger); }
.flash-info { border-color: #b9d9e8; color: #1a546d; background: #edf8fc; }.flash-info > span { color: #fff; background: var(--blue-mid); }

/* home */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-home { min-height: 520px; background-image: var(--hero-image); background-position: center; background-size: cover; }
.hero-overlay, .detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,27,58,.96) 0%, rgba(35,41,80,.75) 50%, rgba(61,50,111,.32) 100%); }
.hero-home::after, .page-hero-investment::after { position: absolute; inset: 0; pointer-events: none; content: ""; opacity: .62; background-image: linear-gradient(30deg, transparent 49%, rgba(208,232,245,.28) 50%, transparent 51%), linear-gradient(150deg, transparent 49%, rgba(190,133,247,.26) 50%, transparent 51%); background-size: 110px 96px; }
.hero-content { position: relative; z-index: 1; display: flex; min-height: 520px; flex-direction: column; justify-content: center; padding: 4.5rem 0 3rem; }
.hero h1 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(2.2rem, 7vw, 4.7rem); line-height: 1.04; letter-spacing: -.05em; }
.hero-lead { max-width: 570px; margin: 1.1rem 0 1.4rem; color: #ecf4ff; font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero-search { display: grid; grid-template-columns: 1fr auto; width: 100%; max-width: 650px; margin-top: 2.2rem; padding: .38rem; border: 1px solid rgba(255,255,255,.37); border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-soft); }
.hero-search input { min-width: 0; padding: .72rem .7rem; border: 0; color: var(--text); background: transparent; outline: 0; }
.hero-search button { min-height: 42px; padding: .55rem .85rem; border: 0; border-radius: 8px; color: #fff; background: var(--violet); font-weight: 800; }
.quick-links { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: -1rem; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quick-links a { padding: .9rem .6rem; border-radius: 10px; text-align: center; }
.quick-links a:hover { background: #f4f6fb; }
.quick-links strong, .quick-links small { display: block; }.quick-links strong { margin: .25rem 0; font-size: .81rem; }.quick-links small { color: var(--muted); font-size: .7rem; line-height: 1.25; }.quick-icon { color: var(--violet); font-size: 1.5rem; }
.section { padding: 3.8rem 0; }.section-soft { background: var(--canvas); }.section-dark { color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--violet)); }
.section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.45rem; }.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.55rem); line-height: 1.1; letter-spacing: -.035em; }.section-heading p:not(.eyebrow) { max-width: 600px; margin: .55rem 0 0; color: var(--muted); }.section-heading.compact { margin-bottom: 1rem; }
.cards-grid { display: grid; gap: 1rem; }.cards-tenencias { grid-template-columns: 1fr; }.profiles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.event-grid { grid-template-columns: 1fr; }.program-grid { grid-template-columns: 1fr; }
.image-card, .profile-card, .event-card, .program-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 7px rgba(31,45,73,.04); transition: transform .18s ease, box-shadow .18s ease; }.image-card:hover, .profile-card:hover, .event-card:hover, .program-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.image-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }.image-card > a > div { padding: 1.15rem; }.image-card h2, .image-card h3 { margin: .15rem 0 .6rem; font-size: 1.18rem; }.image-card p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }.image-card span, .card-link { color: var(--violet); font-size: .86rem; font-weight: 800; }
.profile-card img { width: 100%; aspect-ratio: 1.08; object-fit: cover; background: #eef2f8; }.profile-card-body { padding: .85rem; }.profile-card h2, .profile-card h3 { margin: .3rem 0; font-size: 1rem; line-height: 1.2; }.profile-card p { margin: .2rem 0 .6rem; color: var(--muted); font-size: .78rem; }.verified { margin: 0; color: var(--success) !important; font-size: .72rem !important; font-weight: 800; }
.featured-event { overflow: hidden; position: relative; }.featured-event-grid { display: grid; gap: 2rem; align-items: center; }.featured-event h2 { margin: 0 0 .7rem; color: #fff; font-size: clamp(1.9rem, 5vw, 3.3rem); line-height: 1.05; }.featured-event p { color: #dce7f4; }.event-meta { display: grid; gap: .5rem; margin: 1.25rem 0; padding: 0; list-style: none; color: #dce7f4; font-size: .9rem; }.event-meta.large { font-size: .95rem; }.featured-media { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,.25); }.featured-media img { width: 100%; aspect-ratio: 1.1; object-fit: cover; }.play-badge { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; gap: .4rem; align-items: center; padding: .55rem .7rem; border-radius: 99px; color: #fff; background: rgba(16,24,53,.82); font-weight: 800; }.play-badge small { font-size: .72rem; }
.program-card { padding: 1.3rem; }.program-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 14px; color: var(--violet); background: #efecfb; font-size: 1.4rem; }.program-card h2, .program-card h3 { margin: 0 0 .55rem; font-size: 1.12rem; }.program-card p { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }.program-card a { color: var(--violet); font-weight: 800; font-size: .88rem; }

/* page hero, listing, detail */
.page-hero { padding: 4rem 0 3rem; }.page-hero-light { background: linear-gradient(145deg, #f3f5fa, #fff); }.page-hero h1 { max-width: 800px; margin: 0; color: var(--navy-deep); font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 1.05; letter-spacing: -.05em; }.page-hero p:not(.eyebrow):not(.breadcrumbs) { max-width: 680px; margin: .8rem 0 0; color: var(--muted); font-size: 1.05rem; }.page-hero.compact { padding: 3rem 0 2.4rem; }.page-hero-investment { position: relative; overflow: hidden; padding: 5.4rem 0; color: #fff; background: linear-gradient(130deg, var(--navy-deep), var(--blue), var(--violet)); }.page-hero-investment > .container { position: relative; z-index: 1; }.page-hero-investment h1 { color: #fff; }.page-hero-investment p { color: #e6f1fc !important; }
.tenencias-layout { display: grid; gap: 1.25rem; }.map-panel { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }.map-illustration { display: grid; place-content: center; min-height: 210px; margin-bottom: 1rem; border-radius: 14px; color: var(--violet); background: radial-gradient(circle at 45% 38%, #dfd8fa 0 12%, transparent 12.5%), radial-gradient(circle at 67% 70%, #a6d3e3 0 9%, transparent 9.5%), linear-gradient(140deg,#f1effb,#e9f5f9); text-align: center; }.map-illustration span { font-size: 3.5rem; }.map-illustration p { margin: 0; font-size: .85rem; font-weight: 700; }
.filter-bar { display: grid; gap: .75rem; padding: 1rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }.filter-bar label, .main-form label, .admin-form label, .media-upload-form label { display: grid; gap: .35rem; color: var(--text); font-size: .86rem; font-weight: 750; }.filter-bar input, .filter-bar select, .main-form input, .main-form select, .main-form textarea, .admin-form input, .admin-form select, .admin-form textarea, .media-upload-form input { width: 100%; min-height: 44px; padding: .68rem .72rem; border: 1px solid #cdd6e5; border-radius: 9px; color: var(--text); background: #fff; outline: none; }.main-form textarea, .admin-form textarea { min-height: 120px; }.filter-bar input:focus, .filter-bar select:focus, .main-form input:focus, .main-form select:focus, .main-form textarea:focus, .admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus, .media-upload-form input:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(44,120,152,.15); }.directory-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; align-items: center; margin: 1rem 0 1.35rem; }.directory-actions p { margin: 0; color: var(--muted); }
.empty-state { display: grid; justify-items: center; gap: .65rem; padding: 3rem 1rem; border: 1px dashed #bac7d9; border-radius: var(--radius); text-align: center; }.empty-state span { color: var(--violet); font-size: 3rem; }.empty-state h2 { margin: 0; }.empty-state p { margin: 0; color: var(--muted); }
.detail-hero, .event-detail-hero { position: relative; min-height: 420px; overflow: hidden; color: #fff; background-image: var(--detail-image); background-position: center; background-size: cover; }.detail-hero-content { position: relative; z-index: 2; display: flex; min-height: 420px; flex-direction: column; justify-content: flex-end; padding: 5rem 0 3.1rem; }.detail-hero h1, .event-detail-hero h1 { max-width: 770px; margin: 0; font-size: clamp(2.4rem, 8vw, 4.8rem); line-height: 1.02; letter-spacing: -.05em; }.detail-hero-content > p:not(.breadcrumbs):not(.eyebrow) { max-width: 700px; margin: .8rem 0; color: #e8eff7; font-size: 1.05rem; }.breadcrumbs { margin: 0 0 1.15rem; color: #dce7f4; font-size: .83rem; }.breadcrumbs a { text-decoration: underline; }.detail-layout { display: grid; gap: 1.35rem; }.rich-content { min-width: 0; }.rich-content h2 { margin: 0 0 .7rem; font-size: 1.5rem; }.rich-content h2:not(:first-child) { margin-top: 2rem; }.rich-content p, .rich-content li { color: #35435f; }.rich-content a { color: var(--blue); text-decoration: underline; }.detail-side { display: grid; align-content: start; gap: .9rem; }.side-card { padding: 1.15rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }.side-card h2 { margin: 0 0 .65rem; font-size: 1.1rem; }.side-card p { color: var(--muted); }.side-card ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }.side-card.subtle { background: #f4f2fb; }.side-icon, .aside-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .75rem; border-radius: 50%; color: #fff; background: var(--violet); font-size: 1.4rem; }.info-strip { display: grid; gap: .65rem; margin-top: 1.6rem; }.info-strip > div { padding: 1rem; border-radius: 13px; background: #f1f6fa; }.info-strip span { color: var(--violet); font-size: 1.5rem; }.info-strip strong, .info-strip p { display: block; }.info-strip p { margin: .2rem 0 0; color: var(--muted); font-size: .86rem; }.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }.gallery-grid img { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }.media-placeholder { display: flex; gap: 1rem; align-items: center; padding: 1.2rem; border: 1px dashed #b6c6d8; border-radius: var(--radius); }.media-placeholder > span { display: grid; place-items: center; flex: 0 0 50px; height: 50px; border-radius: 50%; color: #fff; background: var(--violet); }.media-placeholder h2, .media-placeholder p { margin: 0; }.media-placeholder p { margin-top: .4rem; color: var(--muted); }
.profile-hero { padding: 3rem 0; background: linear-gradient(150deg,#f5f2fc,#fff); }.profile-hero-grid { display: grid; gap: 1.25rem; align-items: center; }.profile-hero h1 { margin: .4rem 0; font-size: clamp(2rem, 7vw, 3.8rem); line-height: 1.02; letter-spacing: -.04em; }.profile-location { margin: 0 0 .8rem; color: var(--muted); }.profile-hero-grid > img { width: 100%; aspect-ratio: 1.18; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.event-detail-hero { min-height: 480px; }.event-detail-hero .detail-hero-content { min-height: 480px; }
.calendar-banner { display: grid; gap: .8rem; align-items: center; padding: 1.1rem; margin-bottom: 1.2rem; border: 1px solid #c6bdf0; border-radius: var(--radius); background: linear-gradient(130deg,#f0edfb,#f9fbff); }.calendar-banner > span { color: var(--violet); font-size: 2.1rem; }.calendar-banner h2, .calendar-banner p { margin: 0; }.calendar-banner p { color: var(--muted); font-size: .9rem; }.event-card img { width: 100%; aspect-ratio: 1.58; object-fit: cover; background: #ebeff5; }.event-card > a > div { padding: 1rem; }.event-card h2, .event-card h3 { margin: .25rem 0 .5rem; font-size: 1.15rem; line-height: 1.22; }.event-card p { color: var(--muted); font-size: .88rem; }.event-date { margin: 0 !important; color: var(--violet) !important; font-size: .78rem !important; font-weight: 850; text-transform: uppercase; }.event-location { font-size: .82rem !important; }
.employment-layout { display: grid; gap: 1.2rem; }.vacancy-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }.vacancy-list article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }.vacancy-list article:last-child { border: 0; }.vacancy-list h3, .vacancy-list p { margin: 0; }.vacancy-list h3 { font-size: 1rem; }.vacancy-list p { margin-top: .18rem; color: var(--muted); font-size: .85rem; }.vacancy-list span { color: var(--violet); font-size: .76rem; font-weight: 800; }.employment-side { padding: 1.5rem; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg,var(--violet),var(--navy-deep)); }.employment-side h2 { margin: .3rem 0 .8rem; font-size: 1.65rem; line-height: 1.05; }.employment-side ul { display: grid; gap: .5rem; margin: 0 0 1.1rem; padding: 0; list-style: none; color: #dbe9f5; font-size: .9rem; }.metric-strip { display: grid; grid-template-columns: repeat(2,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }.metric-strip div { display: grid; gap: .25rem; padding: 1.1rem .9rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }.metric-strip strong { color: var(--violet); font-size: 1.55rem; }.metric-strip span { color: var(--muted); font-size: .73rem; }

/* forms */
.form-layout { display: grid; gap: 1.25rem; align-items: start; }.main-form { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }.main-form fieldset, .admin-form fieldset { min-width: 0; padding: 0; margin: 0 0 1.25rem; border: 0; }.main-form legend, .admin-form legend { margin-bottom: .75rem; color: var(--navy); font-size: 1.08rem; font-weight: 850; }.form-grid { display: grid; gap: .85rem; margin-bottom: .85rem; }.main-form small { color: var(--muted); font-size: .75rem; font-weight: 500; }.checkline { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: .65rem; margin: .65rem 0; color: var(--muted) !important; font-size: .88rem !important; font-weight: 500 !important; }.checkline input { width: 18px; min-height: 18px; margin-top: .1rem; accent-color: var(--violet); }.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem; }.form-aside { display: grid; align-content: start; gap: .7rem; padding: 1.25rem; border-radius: var(--radius); background: linear-gradient(145deg, var(--navy-deep), var(--violet)); color: #fff; }.form-aside h2 { margin: 0; font-size: 1.4rem; }.form-aside ol { display: grid; gap: .7rem; margin: 0; padding-left: 1.25rem; color: #e0eaf7; }.form-aside .side-card { color: var(--text); }.side-link { padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 750; }

/* video */
.video-frame { overflow: hidden; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); background: #10172e; box-shadow: var(--shadow); }.video-frame iframe { width: 100%; height: 100%; border: 0; }.video-modal[hidden] { display: none; }.video-modal { position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; padding: 1rem; }.video-modal-backdrop { position: absolute; inset: 0; background: rgba(7,11,28,.78); }.video-modal-card { position: relative; z-index: 1; width: min(100%, 940px); aspect-ratio: 16/9; border-radius: 16px; background: #11192e; box-shadow: 0 22px 60px rgba(0,0,0,.4); }.video-modal-card iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; }.video-close { position: absolute; z-index: 2; top: -38px; right: 0; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: transparent; font-size: 1.5rem; }

/* Authentication */
.auth-body { min-height: 100vh; background: radial-gradient(circle at 15% 8%, #eef0ff 0 12%, transparent 12.5%), linear-gradient(145deg, #f7f8fc, #dde4f1); }.auth-main { display: grid; min-height: 100vh; place-items: center; padding: 1.25rem; }.auth-card { width: min(100%, 450px); padding: 1.45rem; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }.auth-brand { margin-bottom: 2rem; }.auth-card h1 { margin: 0 0 .65rem; font-size: 2rem; line-height: 1.08; }.auth-card > p:not(.eyebrow) { margin: 0 0 1.2rem; color: var(--muted); }.auth-card form { display: grid; gap: .9rem; margin: 1.2rem 0; }.auth-card label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 800; }.auth-card input { min-height: 46px; padding: .7rem; border: 1px solid #ccd6e5; border-radius: 9px; }

/* Errors */
.error-main { display: grid; min-height: 62vh; place-items: center; padding: 2rem; text-align: center; }.error-main > div { max-width: 580px; }.error-main h1 { margin: 0; font-size: clamp(2rem,8vw,4rem); line-height: 1.03; letter-spacing: -.05em; }.error-main p:not(.eyebrow) { color: var(--muted); }.error-main .button { margin-top: 1rem; }

/* Admin mobile first */
.admin-body { min-height: 100vh; background: #f4f6fa; }.admin-shell { min-height: 100vh; }.admin-sidebar { position: fixed; z-index: 60; inset: 0 auto 0 0; display: flex; width: min(82vw, 290px); flex-direction: column; gap: 1.3rem; padding: 1rem; transform: translateX(-105%); color: #e8edf7; background: linear-gradient(180deg, var(--navy-deep), var(--violet)); box-shadow: var(--shadow); transition: transform .2s ease; }.admin-sidebar.is-open { transform: translateX(0); }.admin-brand { display: flex; align-items: center; gap: .7rem; padding: .5rem; color: #fff; font-weight: 800; }.admin-brand .brand-mark { font-size: 2.1rem; }.admin-sidebar nav { display: grid; gap: .3rem; }.admin-sidebar nav a { display: flex; gap: .8rem; align-items: center; padding: .75rem .7rem; border-radius: 9px; color: #dce4f4; font-size: .92rem; font-weight: 650; }.admin-sidebar nav a.is-active, .admin-sidebar nav a:hover { color: #fff; background: rgba(255,255,255,.12); }.admin-sidebar nav span { width: 20px; color: #9bcef0; text-align: center; }.admin-logout { margin-top: auto; }.admin-logout button { width: 100%; padding: .7rem; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; color: #fff; background: transparent; font-weight: 750; }.admin-main { min-width: 0; }.admin-header { position: sticky; z-index: 25; top: 0; display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: center; min-height: 74px; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }.admin-header h1 { margin: 0; font-size: 1.25rem; line-height: 1.1; }.admin-header .eyebrow { margin: 0 0 .12rem; font-size: .62rem; }.admin-nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); background: #fff; font-size: 1.2rem; }.admin-user { display: none; }.admin-content { width: min(calc(100% - 24px), 1250px); margin: 0 auto; padding: 1.25rem 0 2rem; }.admin-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }.admin-intro h2 { margin: 0; font-size: 1.6rem; }.admin-intro p:not(.eyebrow) { max-width: 700px; margin: .35rem 0 0; color: var(--muted); }.admin-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: .75rem; margin-bottom: .9rem; }.admin-metrics article { padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-soft); }.admin-metrics span { color: var(--violet); font-size: 1.3rem; }.admin-metrics p { margin: .35rem 0; color: var(--muted); font-size: .75rem; }.admin-metrics strong { display: block; margin-bottom: .35rem; color: var(--navy); font-size: 1.55rem; }.admin-metrics a { color: var(--violet); font-size: .75rem; font-weight: 800; }.admin-grid-two { display: grid; gap: .9rem; margin-bottom: .9rem; }.admin-panel { padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-soft); }.admin-panel header { display: flex; justify-content: space-between; gap: .75rem; align-items: center; margin-bottom: 1rem; }.admin-panel header h2, .admin-panel > h2 { margin: 0; font-size: 1.1rem; }.admin-panel header .eyebrow { margin-bottom: .15rem; font-size: .65rem; }.admin-list { display: grid; gap: .75rem; }.admin-list > div { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }.admin-list > div:last-child { border: 0; padding: 0; }.admin-list strong, .admin-list small { display: block; }.admin-list small { color: var(--muted); font-size: .77rem; }.admin-list a { color: var(--violet); font-size: .8rem; font-weight: 800; }.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--violet); background: #f0edfb; }.chart-placeholder { display: flex; gap: .55rem; align-items: end; height: 160px; padding: 1rem; border-radius: 10px; background: linear-gradient(to top, #f5f7fb, #fff); }.chart-placeholder span { flex: 1; min-height: 20px; border-radius: 7px 7px 2px 2px; background: linear-gradient(to top, var(--violet), var(--blue-mid)); }.table-wrap { overflow-x: auto; }.table-wrap table { width: 100%; min-width: 800px; border-collapse: collapse; }.table-wrap th { padding: .7rem; color: var(--muted); background: #f8f9fc; text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; }.table-wrap td { padding: .75rem; border-top: 1px solid var(--line); font-size: .88rem; vertical-align: top; }.table-wrap strong, .table-wrap small { display: block; }.table-wrap small { margin-top: .2rem; color: var(--muted); }.status { text-transform: capitalize; }.status-draft { color: #5b6473; background: #eceff3; }.status-submitted, .status-in_review { color: #7b5207; background: #fff1d4; }.status-changes_requested { color: #a83d16; background: #ffe6da; }.status-approved, .status-published { color: #126b50; background: #dff5ec; }.status-suspended, .status-archived { color: #9a2938; background: #ffeaed; }.inline-status-form { display: grid; grid-template-columns: minmax(130px,1fr) minmax(180px,1fr) auto; gap: .45rem; min-width: 520px; }.inline-status-form input, .inline-status-form select { min-height: 34px; padding: .4rem; border: 1px solid var(--line); border-radius: 7px; }.tenencia-admin-grid { display: grid; gap: .75rem; }.tenencia-admin-grid article { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--line); }.tenencia-admin-grid article:last-child { border-bottom: 0; }.tenencia-admin-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--violet); background: #eeebfa; font-size: 1.25rem; }.tenencia-admin-grid h2, .tenencia-admin-grid p { margin: 0; }.tenencia-admin-grid h2 { font-size: 1rem; }.tenencia-admin-grid p { margin: .2rem 0 .4rem; color: var(--muted); font-size: .8rem; }.admin-editor-grid { display: grid; gap: .9rem; }.admin-form .admin-panel { min-width: 0; }.file-drop { display: grid !important; justify-items: center; gap: .35rem; padding: 1.5rem 1rem; border: 2px dashed #b9c8db; border-radius: 12px; color: var(--muted) !important; text-align: center; }.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }.file-drop span { color: var(--violet); font-size: 2rem; }.media-upload-form { display: grid; gap: .8rem; }.media-grid { display: grid; gap: .75rem; }.media-grid article { display: grid; grid-template-columns: 90px 1fr; gap: .75rem; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }.media-grid img { width: 90px; height: 90px; object-fit: cover; }.media-grid > article > div:last-child { padding: .65rem .65rem .65rem 0; }.media-grid strong, .media-grid small { display: block; }.media-grid small { color: var(--muted); font-size: .75rem; }.media-grid p { margin: .2rem 0; color: var(--muted); font-size: .78rem; }.media-credit { color: var(--violet) !important; }.media-file-icon { display: grid; place-items: center; width: 90px; height: 90px; color: var(--violet); background: #efecfb; font-size: 2rem; }.check-list { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }.check-list li { color: var(--muted); }.json-cell { max-width: 480px; margin: 0; white-space: pre-wrap; font: .75rem/1.35 ui-monospace, SFMono-Regular, Consolas, monospace; }

@media (min-width: 620px) {
  .container { width: min(calc(100% - 48px), var(--container)); }
  .quick-links { grid-template-columns: repeat(3, 1fr); padding: .9rem; }.quick-links strong { font-size: .87rem; }.quick-links small { font-size: .75rem; }
  .cards-tenencias { grid-template-columns: repeat(2,1fr); }.event-grid { grid-template-columns: repeat(2,1fr); }.program-grid { grid-template-columns: repeat(2,1fr); }.event-grid-large { grid-template-columns: repeat(2,1fr); }.program-grid-large { grid-template-columns: repeat(2,1fr); }
  .info-strip { grid-template-columns: repeat(2,1fr); }.form-grid.two { grid-template-columns: repeat(2,1fr); }.form-grid.three { grid-template-columns: repeat(3,1fr); }.main-form { padding: 1.5rem; }.admin-metrics { grid-template-columns: repeat(4,1fr); }.admin-grid-two { grid-template-columns: repeat(2,1fr); }.admin-editor-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px,.75fr); }.tenencia-admin-grid { grid-template-columns: repeat(2,1fr); }.tenencia-admin-grid article { border: 1px solid var(--line); border-radius: 12px; padding: .9rem; }.media-grid { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 850px) {
  .site-header { position: relative; }.header-inner { min-height: 80px; }.nav-toggle { display: none; }.primary-nav { position: static; display: flex; align-items: center; gap: .1rem; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }.primary-nav a { padding: .5rem .62rem; font-size: .78rem; }.nav-cta { margin-left: .25rem; }.brand-mark { font-size: 3.05rem; }
  .hero-content { min-height: 540px; padding: 4.8rem 0; }.quick-links { grid-template-columns: repeat(6,1fr); margin-top: -45px; }.quick-links a { padding: 1rem .4rem; }.quick-links strong { font-size: .83rem; }.quick-links small { font-size: .7rem; }
  .cards-tenencias { grid-template-columns: repeat(3,1fr); }.profiles-grid { grid-template-columns: repeat(3,1fr); }.event-grid { grid-template-columns: repeat(3,1fr); }.program-grid { grid-template-columns: repeat(3,1fr); }.featured-event-grid { grid-template-columns: 1fr .9fr; }.featured-media img { aspect-ratio: 1.25; }.tenencias-layout { grid-template-columns: 270px 1fr; }.filter-bar { grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; }.detail-layout { grid-template-columns: minmax(0,1fr) 315px; }.profile-hero-grid { grid-template-columns: 1.1fr .9fr; }.profile-hero { padding: 4rem 0; }.calendar-banner { grid-template-columns: auto 1fr auto; }.employment-layout { grid-template-columns: 1fr 350px; }.metric-strip { grid-template-columns: repeat(4,1fr); }.metric-strip div { border-bottom: 0; }.metric-strip div:last-child { border-right: 0; }.form-layout { grid-template-columns: minmax(0,1fr) 320px; }.footer-grid { grid-template-columns: 1.35fr .75fr .75fr 1fr; }.admin-sidebar { position: fixed; width: 260px; transform: none; }.admin-main { margin-left: 260px; }.admin-nav-toggle { display: none; }.admin-header { grid-template-columns: 1fr auto; min-height: 86px; padding: 1rem 1.5rem; }.admin-header h1 { font-size: 1.5rem; }.admin-user { display: flex; gap: .55rem; align-items: center; }.admin-user > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--violet); }.admin-user strong, .admin-user small { display: block; }.admin-user small { color: var(--muted); font-size: .75rem; }.admin-content { width: min(calc(100% - 40px), 1250px); padding-top: 1.6rem; }.admin-panel { padding: 1.25rem; }.tenencia-admin-grid { grid-template-columns: repeat(3,1fr); }.media-grid { grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 1100px) {
  .primary-nav a { padding: .55rem .78rem; font-size: .83rem; }.cards-tenencias { grid-template-columns: repeat(3,1fr); }.profiles-grid { grid-template-columns: repeat(4,1fr); }.event-grid { grid-template-columns: repeat(3,1fr); }.program-grid { grid-template-columns: repeat(4,1fr); }.event-grid-large { grid-template-columns: repeat(3,1fr); }.program-grid-large { grid-template-columns: repeat(4,1fr); }
}


/* v0.2 — entrega de medios demostrativos: la prioridad es móvil y carga progresiva. */
.hero-home { background-image: none; }
.hero-media { position: absolute; inset: 0; display: block; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; transform: scale(1.01); }
.hero-photo-credit { position: absolute; z-index: 4; right: 16px; bottom: 11px; max-width: calc(100% - 32px); padding: .34rem .55rem; color: #fff; background: rgba(18, 25, 51, .64); border-radius: 7px; font-size: .68rem; line-height: 1.2; }
.hero-photo-credit:hover { color: #fff; text-decoration: underline; }
.page-hero-investment { background-image: linear-gradient(90deg, rgba(23, 30, 62, .96), rgba(39, 54, 97, .74), rgba(67, 58, 111, .54)), var(--investment-image); background-position: center; background-size: cover; }
.gallery-grid-featured { grid-template-columns: 1fr; }
.gallery-grid-featured figure { display: grid; gap: .38rem; margin: 0; }
.gallery-grid-featured figcaption { color: var(--muted); font-size: .75rem; line-height: 1.35; }
.credit-list { display: grid; gap: .8rem; margin: 1.25rem 0 2.2rem; }
.credit-list article { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--canvas); }
.credit-list h3 { margin: 0 0 .3rem; font-size: 1rem; }
.credit-list p { margin: 0; color: var(--muted); }
@media (min-width: 620px) {
  .hero-photo-credit { right: 3vw; bottom: 15px; }
  .gallery-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .gallery-grid-featured { grid-template-columns: 1.15fr .85fr .85fr; }
  .gallery-grid-featured figure:first-child { grid-row: span 2; }
  .gallery-grid-featured figure:first-child img { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* v0.3 — ajuste visual integral público: más densidad, mejor jerarquía y menos sensación de plantilla. */
:root {
  --container: 1240px;
  --section-gap: clamp(2.8rem, 7vw, 5.4rem);
  --shell: #f3f5fb;
}
body {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 30%, #f5f7fb 100%);
}
.page-home .section,
.page-list .section,
.page-detail .section {
  padding: var(--section-gap) 0;
}
.section-soft {
  background: linear-gradient(180deg, #f8f9fd 0%, #f1f4fb 100%);
}
.section-dark {
  background: linear-gradient(135deg, #1f2a4c 0%, #27355b 48%, #433a6f 100%);
}
.section-surface {
  position: relative;
  background: linear-gradient(180deg, rgba(242,245,251,.92) 0%, rgba(255,255,255,1) 100%);
}
.section-overlap {
  margin-top: -1.3rem;
}
.header-inner {
  min-height: 84px;
}
.brand {
  gap: .8rem;
}
.brand-mark {
  font-size: 3.2rem;
  line-height: .8;
}
.brand-copy {
  line-height: .95;
}
.brand-copy strong,
.brand-copy b {
  display: block;
}
.brand-copy strong {
  font-size: .82rem;
  text-transform: lowercase;
}
.brand-copy b {
  font-size: .88rem;
  font-weight: 900;
  text-transform: lowercase;
}
.primary-nav a {
  border-radius: 10px;
  font-weight: 800;
}
.primary-nav a.is-active {
  color: var(--violet);
  background: #f0edfb;
}
.hero-home {
  min-height: 640px;
}
.hero-home::before {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,250,253,.92) 100%);
  z-index: 1;
}
.hero-content-home {
  display: grid;
  align-items: end;
  gap: 1.8rem;
  min-height: 640px;
  padding-top: 6rem;
  padding-bottom: 6.5rem;
}
.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-floating-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1rem;
}
.hero-panel-card {
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  color: #fff;
  background: rgba(17, 24, 47, .36);
  box-shadow: 0 18px 34px rgba(16, 21, 40, .20);
  backdrop-filter: blur(8px);
}
.hero-panel-card strong,
.hero-panel-card span,
.hero-panel-card p {
  display: block;
}
.hero-panel-card strong {
  margin: .15rem 0 .35rem;
  font-size: 1.02rem;
}
.hero-panel-card p {
  margin: 0;
  color: #d8e6f7;
  font-size: .84rem;
  line-height: 1.45;
}
.mini-kicker {
  color: #bddaf6;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quick-links {
  gap: .8rem;
  margin-top: -4.5rem;
  padding: 1rem;
  border: 1px solid rgba(217, 226, 239, .96);
  box-shadow: 0 24px 48px rgba(34, 45, 72, .10);
}
.quick-links a {
  padding: 1rem .75rem;
  border: 1px solid transparent;
}
.quick-links a:hover {
  border-color: #e4dff6;
  background: linear-gradient(180deg, #ffffff 0%, #f6f3ff 100%);
}
.quick-links strong {
  font-size: .9rem;
}
.quick-links small {
  font-size: .74rem;
}
.section-heading-wide p:not(.eyebrow) {
  max-width: 700px;
}
.cards-grid {
  gap: 1.2rem;
}
.image-card, .profile-card, .event-card, .program-card {
  border-color: #dde3ef;
  box-shadow: 0 10px 26px rgba(26, 35, 64, .05);
}
.image-card:hover, .profile-card:hover, .event-card:hover, .program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(26, 35, 64, .12);
}
.image-card img {
  aspect-ratio: 1.26;
}
.image-card > a > div,
.event-card > a > div {
  padding: 1.15rem 1.15rem 1.25rem;
}
.image-card h2, .image-card h3,
.event-card h2, .event-card h3 {
  font-size: 1.3rem;
}
.image-card p:not(.eyebrow),
.event-card p,
.program-card p,
.profile-card p {
  line-height: 1.55;
}
.image-card-tenencia .eyebrow,
.event-card .event-date {
  letter-spacing: .12em;
}
.profile-card {
  display: flex;
}
.profile-card > a {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.profile-card img {
  aspect-ratio: 1.18;
}
.profile-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: .45rem;
  padding: 1rem;
}
.profile-card-body .card-link {
  margin-top: auto;
}
.program-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.4rem;
}
.program-card a {
  margin-top: auto;
}
.featured-event {
  position: relative;
  overflow: hidden;
}
.featured-event-grid {
  align-items: center;
  gap: 2rem;
}
.featured-event .event-meta {
  margin: 1rem 0 1.4rem;
}
.featured-media {
  position: relative;
}
.featured-media img {
  width: 100%;
  aspect-ratio: 1.18;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 26px 50px rgba(16, 20, 40, .25);
}
.play-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem .95rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 28, 54, .78);
  font-weight: 800;
}
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.8rem);
}
.page-hero-light {
  background: linear-gradient(180deg, #f5f7fc 0%, #ffffff 100%);
}
.page-hero-grid {
  display: grid;
  gap: 1.4rem;
  align-items: end;
}
.page-hero-grid .narrow-copy {
  max-width: 760px;
}
.hero-summary-panel {
  display: grid;
  gap: .85rem;
}
.hero-summary-panel > div {
  padding: 1rem 1.1rem;
  border: 1px solid #e1e6f1;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 22px rgba(35, 48, 77, .05);
}
.hero-summary-panel strong,
.hero-summary-panel span {
  display: block;
}
.hero-summary-panel strong {
  color: var(--navy-deep);
  font-size: 1rem;
}
.hero-summary-panel span {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .85rem;
}
.tenencias-layout-expanded {
  align-items: start;
}
.map-panel-rich {
  padding: 1.35rem;
}
.side-list {
  display: grid;
  gap: .5rem;
  margin: 1rem 0 1.15rem;
  padding-left: 1rem;
  color: var(--muted);
}
.cards-tenencias-large .image-card p {
  min-height: 4.3em;
}
.filter-bar-rich {
  gap: .9rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.filter-bar-rich button {
  align-self: end;
}
.directory-actions-rich {
  margin: 1.2rem 0 1.5rem;
}
.editorial-feature {
  display: grid;
  gap: 1.2rem;
  margin: 0 0 1.45rem;
  padding: 1.1rem;
  border: 1px solid #dce3ef;
  border-radius: 26px;
  background: linear-gradient(130deg, #ffffff 0%, #f6f4fc 100%);
  box-shadow: 0 18px 38px rgba(33, 47, 76, .08);
}
.editorial-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-feature-copy h2 {
  margin: .2rem 0 .8rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}
.editorial-feature-copy p:not(.eyebrow) {
  color: var(--muted);
}
.editorial-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 20px;
  object-fit: cover;
}
.calendar-banner-rich {
  margin-bottom: 1.45rem;
  padding: 1.15rem 1.2rem;
}
.detail-hero-content-rich {
  min-height: 500px;
  padding-bottom: 3.6rem;
}
.detail-layout-wide {
  gap: 1.6rem;
}
.detail-side-sticky {
  position: relative;
}
.side-card-rich,
.side-card {
  border-color: #dde3ef;
}
.info-strip-rich {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.media-placeholder-large {
  padding: 1.45rem;
  background: #fff;
}
.video-frame {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(30, 41, 66, .12);
}
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.rich-content {
  min-width: 0;
}
.rich-content > p,
.rich-content li {
  font-size: 1rem;
  line-height: 1.8;
}
.employment-side {
  box-shadow: 0 20px 40px rgba(31, 39, 75, .14);
}
.vacancy-list {
  background: #fff;
  box-shadow: 0 12px 28px rgba(30, 42, 70, .05);
}
.metric-strip {
  margin-bottom: 1rem;
  box-shadow: 0 14px 26px rgba(29, 41, 69, .05);
  background: #fff;
}
.footer-grid {
  gap: 1.6rem;
}
.footer-sefeco {
  min-height: 164px;
  display: grid;
  align-content: center;
}
@media (min-width: 760px) {
  .hero-content-home,
  .page-hero-grid,
  .editorial-feature {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  }
  .hero-floating-panel {
    align-self: center;
  }
  .cards-tenencias-large,
  .profiles-grid-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .section-overlap {
    margin-top: -2rem;
  }
  .hero-home {
    min-height: 700px;
  }
  .hero-content-home {
    min-height: 700px;
  }
  .detail-side-sticky {
    position: sticky;
    top: 2rem;
  }
  .tenencias-layout-expanded {
    grid-template-columns: 320px 1fr;
  }
  .cards-tenencias-large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  }
}
@media (min-width: 1100px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }
  .profiles-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .profiles-grid-directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .quick-links {
    padding: 1rem 1.1rem;
  }
  .quick-links a {
    padding: 1.05rem .55rem;
  }
}
@media (max-width: 759px) {
  .hero-home {
    min-height: 700px;
  }
  .hero-content-home {
    min-height: 700px;
  }
  .hero-floating-panel {
    grid-template-columns: 1fr;
  }
  .editorial-feature-copy h2 {
    font-size: 2rem;
  }
}

/* v0.4 — segunda pasada de presentación: favicon, agenda y pulido de composición. */
@supports (inset: 0) {
  .primary-nav { inset: 84px 16px auto 16px; }
}
.hero-media img {
  filter: saturate(1.04) contrast(1.02);
}
.hero-overlay {
  background: linear-gradient(92deg, rgba(18, 25, 55, .96) 0%, rgba(31, 43, 79, .84) 46%, rgba(53, 57, 104, .42) 100%);
}
.hero-home::after {
  opacity: .48;
}
.page-hero-showcase::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #d9e0ee 15%, #d9e0ee 85%, transparent);
}
.page-hero-showcase {
  position: relative;
}
.agenda-grid {
  display: grid;
  gap: 1.2rem;
}
.agenda-side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 1.4rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #243154 0%, #433a6f 100%);
  box-shadow: 0 18px 38px rgba(31, 40, 75, .18);
}
.agenda-side-panel h2 {
  margin: .25rem 0 .75rem;
  font-size: 1.6rem;
  line-height: 1.12;
}
.agenda-side-panel p:not(.eyebrow) {
  margin: 0 0 1.15rem;
  color: #dbe8f7;
}
.agenda-side-panel .text-link {
  margin-top: .95rem;
  color: #fff;
}
.program-card-cta {
  color: #fff;
  background: linear-gradient(145deg, #006080 0%, #433a6f 100%);
  border-color: transparent;
}
.program-card-cta .program-icon {
  color: #fff;
  background: rgba(255,255,255,.16);
}
.program-card-cta h2,
.program-card-cta p {
  color: #fff;
}
.program-card-cta p {
  color: #e4f0f7;
}
.program-card-cta .button {
  margin-top: auto;
}
@media (min-width: 980px) {
  .agenda-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
  }
}
@media (max-width: 849px) {
  .primary-nav { top: 84px; }
}

/* v0.19 — subheroes visuales y medios con rutas opacas. */
.page-hero-visual {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(110deg, rgba(16, 26, 58, .98) 0%, rgba(28, 48, 91, .86) 48%, rgba(77, 67, 126, .62) 100%), var(--page-hero-image);
  background-position: center;
  background-size: cover;
}
.page-hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(circle at 15% 18%, rgba(255,255,255,.18), transparent 26%), radial-gradient(circle at 84% 24%, rgba(190, 216, 255, .18), transparent 25%);
  pointer-events: none;
}
.page-hero-visual .page-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 45, .18), rgba(10, 18, 40, .28));
  pointer-events: none;
}
.page-hero-visual > .container {
  position: relative;
  z-index: 1;
}
.page-hero-visual h1,
.page-hero-visual .page-hero-grid h1 {
  color: #fff;
  text-shadow: 0 14px 32px rgba(0,0,0,.24);
}
.page-hero-visual p:not(.eyebrow):not(.breadcrumbs),
.page-hero-visual .narrow-copy > p:not(.eyebrow) {
  color: #e6edf8;
}
.hero-summary-panel-dark > div {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.hero-summary-panel-dark strong {
  color: #fff;
}
.hero-summary-panel-dark span {
  color: #dce7f5;
}
.section-overlap-soft {
  position: relative;
}
@media (min-width: 900px) {
  .section-overlap-soft {
    margin-top: -1.5rem;
  }
}
.tenencias-layout-editorial {
  align-items: start;
}
.tenencia-spotlight-panel {
  display: grid;
  gap: .9rem;
  padding: 1.15rem;
  border: 1px solid rgba(218, 225, 239, .95);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,249,255,.96));
  box-shadow: 0 20px 44px rgba(30, 43, 71, .09);
}
.tenencia-spotlight-panel h2 {
  margin: 0;
  color: var(--navy-deep);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.tenencia-spotlight-panel > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
}
.mini-tenencia-grid {
  display: grid;
  gap: .72rem;
}
.mini-tenencia-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: .72rem;
  align-items: center;
  overflow: hidden;
  padding: .5rem;
  border: 1px solid #e1e7f1;
  border-radius: 18px;
  color: inherit;
  background: #fff;
  box-shadow: 0 10px 24px rgba(35, 48, 77, .06);
}
.mini-tenencia-card:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(35, 48, 77, .1);
}
.mini-tenencia-card img {
  width: 92px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}
.mini-tenencia-card strong,
.mini-tenencia-card small {
  display: block;
}
.mini-tenencia-card strong {
  color: var(--navy-deep);
  font-size: .94rem;
}
.mini-tenencia-card small {
  margin-top: .15rem;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.35;
}
.cards-tenencias-editorial .image-card img {
  aspect-ratio: 1.42;
}
.cards-tenencias-editorial .image-card a {
  height: 100%;
}
.cards-tenencias-editorial .image-card h2 {
  min-height: 2.3em;
}
@media (min-width: 980px) {
  .tenencias-layout-editorial {
    grid-template-columns: 340px 1fr;
  }
  .tenencia-spotlight-panel {
    position: sticky;
    top: 1.25rem;
  }
}
@media (max-width: 640px) {
  .page-hero-visual {
    padding-top: 3.4rem;
  }
  .mini-tenencia-card {
    grid-template-columns: 84px 1fr;
  }
  .mini-tenencia-card img {
    width: 84px;
    height: 66px;
  }
}

/* v0.24 · Galería ampliable en perfiles de Directorio */
.profile-hero-image-button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); background: transparent; box-shadow: var(--shadow); cursor: zoom-in; overflow: hidden; text-align: left; }
.profile-hero-image-button img { display: block; width: 100%; aspect-ratio: 1.18; object-fit: cover; transition: transform .24s ease; }
.profile-hero-image-button:hover img { transform: scale(1.025); }
.profile-hero-image-button span { position: absolute; right: .8rem; bottom: .8rem; padding: .45rem .7rem; border-radius: 999px; color: #fff; background: rgba(11,18,44,.72); font-size: .78rem; font-weight: 800; backdrop-filter: blur(10px); }
.gallery-intro { margin-top: -.2rem; color: var(--muted); }
.gallery-grid-clickable { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; }
.gallery-item { display: block; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: zoom-in; overflow: hidden; box-shadow: 0 2px 7px rgba(31,45,73,.05); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 1.15; object-fit: cover; transition: transform .22s ease, filter .22s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); filter: brightness(.96); }
.gallery-item:focus-visible { outline: 3px solid rgba(83,65,137,.35); outline-offset: 3px; }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; z-index: 95; inset: 0; display: grid; place-items: center; padding: 1rem; }
.image-lightbox-backdrop { position: absolute; inset: 0; background: rgba(7,11,28,.84); backdrop-filter: blur(4px); }
.image-lightbox-card { position: relative; z-index: 1; width: min(100%, 1040px); margin: 0; }
.image-lightbox-card img { display: block; max-width: 100%; max-height: min(78vh, 760px); margin: 0 auto; border-radius: 18px; object-fit: contain; background: #10172e; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.image-lightbox-card figcaption { margin-top: .75rem; color: #fff; text-align: center; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.image-lightbox-close { position: absolute; top: -42px; right: 0; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 1.55rem; line-height: 1; cursor: pointer; }

@media (min-width: 860px) {
  .profile-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); }
}

/* v0.25 — galería ampliable y video promocional en ficha de evento */
.promo-video-block {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.2rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  border: 1px solid rgba(83, 65, 137, .22);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, #15285d 0%, #443783 58%, #6d3e86 100%);
  box-shadow: 0 20px 50px rgba(31,45,73,.15);
  overflow: hidden;
}
.promo-video-block h2 { margin: 0; color: #fff; }
.promo-video-block p { color: rgba(255,255,255,.84); }
.promo-video-block .eyebrow { color: #bff2ff; }
.promo-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: #10172e;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}
.promo-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.promo-side-card {
  background:
    radial-gradient(circle at top right, rgba(83,65,137,.16), transparent 38%),
    #fff;
}
.promo-side-card .button { margin-top: .75rem; }
@media (min-width: 860px) {
  .promo-video-block { grid-template-columns: 1fr; }
}

/* v0.28 — Modales con entrada tipo Bootstrap: fade + slide desde arriba */
.image-lightbox,
.video-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity .30s ease-out;
}
.image-lightbox.is-open,
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.image-lightbox-backdrop,
.video-modal-backdrop {
  opacity: 0;
  transition: opacity .30s linear, backdrop-filter .30s ease-out;
}
.image-lightbox.is-open .image-lightbox-backdrop,
.video-modal.is-open .video-modal-backdrop {
  opacity: 1;
}
.image-lightbox-card,
.video-modal-card {
  opacity: 0;
  transform: translate(0, -25%);
  transform-origin: center top;
  transition:
    opacity .30s ease-out,
    transform .30s ease-out;
}
.image-lightbox.is-open .image-lightbox-card,
.video-modal.is-open .video-modal-card {
  opacity: 1;
  transform: translate(0, 0);
}
.image-lightbox.is-closing .image-lightbox-card,
.video-modal.is-closing .video-modal-card {
  opacity: 0;
  transform: translate(0, -18%);
}
.image-lightbox.is-preparing,
.video-modal.is-preparing {
  opacity: 0;
}
.image-lightbox-close,
.video-close {
  transition: background .18s ease, border-color .18s ease;
}
.image-lightbox-close:hover,
.video-close:hover,
.image-lightbox-close:focus-visible,
.video-close:focus-visible {
  border-color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.16);
}

/* v0.29 — Reparación de modales Bootstrap y hover estable en galerías */
.image-lightbox,
.video-modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s linear;
}
.image-lightbox.is-preparing,
.video-modal.is-preparing {
  opacity: 0;
}
.image-lightbox.is-open,
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.image-lightbox-backdrop,
.video-modal-backdrop {
  opacity: 0;
  transition: opacity .28s linear;
}
.image-lightbox.is-open .image-lightbox-backdrop,
.video-modal.is-open .video-modal-backdrop {
  opacity: 1;
}
.image-lightbox-card,
.video-modal-card {
  opacity: 0;
  transform: translateY(-54px);
  transform-origin: center top;
  transition: transform .32s ease-out, opacity .32s ease-out;
  will-change: transform, opacity;
}
.image-lightbox.is-open .image-lightbox-card,
.video-modal.is-open .video-modal-card {
  opacity: 1;
  transform: translateY(0);
}
.image-lightbox.is-closing .image-lightbox-card,
.video-modal.is-closing .video-modal-card {
  opacity: 0;
  transform: translateY(-42px);
}
.image-lightbox.is-closing,
.video-modal.is-closing {
  opacity: 0;
}
.image-lightbox-close,
.video-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 48, .62);
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}
.image-lightbox-close::before,
.video-close::before {
  content: '×';
  display: block;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-1px);
}
.image-lightbox-close {
  top: -46px;
  right: -6px;
}
.video-close {
  top: -46px;
  right: -6px;
}
.image-lightbox-close:hover,
.video-close:hover,
.image-lightbox-close:focus-visible,
.video-close:focus-visible {
  border-color: rgba(255,255,255,.92);
  background: rgba(83,65,137,.82);
  outline: none;
}
.profile-hero-image-button img,
.gallery-item img {
  transition: none !important;
  transform: none !important;
}
.profile-hero-image-button:hover img,
.profile-hero-image-button:focus-visible img,
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: none !important;
  filter: none !important;
}
.profile-hero-image-button:hover,
.gallery-item:hover,
.gallery-item:focus-visible {
  box-shadow: 0 10px 28px rgba(31,45,73,.14);
}
@media (max-width: 720px) {
  .image-lightbox-close,
  .video-close {
    top: -44px;
    right: 0;
  }
  .image-lightbox-card,
  .video-modal-card {
    transform: translateY(-38px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .image-lightbox,
  .video-modal,
  .image-lightbox-backdrop,
  .video-modal-backdrop,
  .image-lightbox-card,
  .video-modal-card {
    transition: none !important;
  }
  .image-lightbox-card,
  .video-modal-card,
  .image-lightbox.is-closing .image-lightbox-card,
  .video-modal.is-closing .video-modal-card {
    transform: none !important;
  }
}


/* v0.30 — Modales con animación forzada por WAAPI y galerías sin zoom */
.image-lightbox,
.video-modal {
  opacity: 1 !important;
  pointer-events: none;
}
.image-lightbox.is-open,
.video-modal.is-open {
  pointer-events: auto;
}
.image-lightbox-backdrop,
.video-modal-backdrop {
  opacity: 1;
}
.image-lightbox-card,
.video-modal-card {
  opacity: 1;
  transform: translate3d(0,0,0);
  will-change: transform, opacity;
}
.image-lightbox-close,
.video-close {
  position: absolute;
  z-index: 5;
  top: 12px !important;
  right: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(11,18,44,.72) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(12px);
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
}
.image-lightbox-close::before,
.video-close::before {
  content: '×';
  display: block;
  width: 100%;
  transform: translateY(-1px);
  font-size: 1.72rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.image-lightbox-close:hover,
.video-close:hover,
.image-lightbox-close:focus-visible,
.video-close:focus-visible {
  border-color: rgba(255,255,255,.96) !important;
  background: rgba(83,65,137,.9) !important;
  outline: none;
}
.gallery-item,
.profile-hero-image-button {
  transition: box-shadow .16s ease, border-color .16s ease !important;
}
.gallery-item img,
.profile-hero-image-button img,
.gallery-item:hover img,
.gallery-item:focus-visible img,
.profile-hero-image-button:hover img,
.profile-hero-image-button:focus-visible img {
  transform: none !important;
  transition: none !important;
  filter: none !important;
}
.gallery-item:hover,
.gallery-item:focus-visible,
.profile-hero-image-button:hover,
.profile-hero-image-button:focus-visible {
  box-shadow: 0 10px 28px rgba(31,45,73,.12) !important;
}
@media (max-width: 720px) {
  .image-lightbox-close,
  .video-close {
    top: 10px !important;
    right: 10px !important;
    width: 38px !important;
    height: 38px !important;
  }
}

/* v0.31 — Galerías globales clicables y transición modal reforzada */
.image-lightbox[hidden],
.video-modal[hidden] { display: none !important; }
.image-lightbox,
.video-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(.75rem, 2vw, 1.4rem);
  opacity: 0;
  pointer-events: none;
  z-index: 1100;
}
.image-lightbox.is-open,
.video-modal.is-open,
.image-lightbox.is-closing,
.video-modal.is-closing,
.image-lightbox.is-preparing,
.video-modal.is-preparing {
  opacity: 1;
  pointer-events: auto;
}
.image-lightbox-backdrop,
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(7, 11, 28, .78);
  backdrop-filter: blur(4px);
}
.image-lightbox-card,
.video-modal-card {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translate3d(0,-112px,0);
  will-change: transform, opacity;
}
.image-lightbox-card {
  width: min(100%, 1040px);
  margin: 0;
}
.image-lightbox-card img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 760px);
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  background: #10172e;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.video-modal-card {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #11192e;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.video-modal-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}
.image-lightbox.is-open .image-lightbox-backdrop,
.video-modal.is-open .video-modal-backdrop,
.image-lightbox.is-closing .image-lightbox-backdrop,
.video-modal.is-closing .video-modal-backdrop { opacity: 1; }
.image-lightbox.is-open .image-lightbox-card,
.video-modal.is-open .video-modal-card,
.image-lightbox.is-closing .image-lightbox-card,
.video-modal.is-closing .video-modal-card {
  opacity: 1;
  transform: translate3d(0,0,0);
}
.image-lightbox-close,
.video-close {
  position: absolute;
  z-index: 3;
  top: -46px;
  right: 0;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.26);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  backdrop-filter: blur(10px);
}
.image-lightbox-close::before,
.video-close::before {
  content: '×';
  display: block;
  transform: translateY(-1px);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}
.image-lightbox-close:hover,
.video-close:hover,
.image-lightbox-close:focus-visible,
.video-close:focus-visible {
  border-color: #fff;
  background: rgba(255,255,255,.22);
  outline: none;
}
.gallery-grid-featured .gallery-item-figure,
.gallery-grid-clickable .gallery-item,
.section-gallery .gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  text-align: left;
}
.gallery-grid-featured .gallery-item-figure img,
.gallery-grid-clickable .gallery-item img,
.section-gallery .gallery-item img,
.gallery-grid img,
.gallery-grid-featured img,
.profile-hero-image-button img {
  transform: none !important;
  transition: filter .18s ease, box-shadow .18s ease !important;
}
.gallery-grid-featured .gallery-item-figure:hover img,
.gallery-grid-featured .gallery-item-figure:focus-visible img,
.gallery-grid-clickable .gallery-item:hover img,
.gallery-grid-clickable .gallery-item:focus-visible img,
.section-gallery .gallery-item:hover img,
.section-gallery .gallery-item:focus-visible img,
.profile-hero-image-button:hover img,
.profile-hero-image-button:focus-visible img {
  transform: none !important;
  filter: brightness(.96);
}
.gallery-grid-featured .gallery-item-figure:focus-visible,
.gallery-grid-clickable .gallery-item:focus-visible,
.section-gallery .gallery-item:focus-visible,
.profile-hero-image-button:focus-visible {
  outline: 3px solid rgba(83,65,137,.38);
  outline-offset: 4px;
}
@media (max-width: 640px) {
  .image-lightbox-close,
  .video-close {
    top: -42px;
    right: .25rem;
  }
  .image-lightbox-card img { max-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  .image-lightbox,
  .video-modal,
  .image-lightbox-backdrop,
  .video-modal-backdrop,
  .image-lightbox-card,
  .video-modal-card {
    transition: none !important;
    animation: none !important;
  }
}



/* v0.32 — Cierre de modal alineado al marco real de imagen/video */
.image-lightbox-card {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  width: auto !important;
  max-width: calc(100vw - 2rem) !important;
  margin: 0 !important;
}
.image-lightbox-media-frame {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: min(1040px, calc(100vw - 2rem));
  max-height: min(78vh, 760px);
}
.image-lightbox-media-frame img,
.image-lightbox-card img {
  display: block;
  width: auto !important;
  max-width: min(1040px, calc(100vw - 2rem)) !important;
  max-height: min(78vh, 760px) !important;
  margin: 0 !important;
  object-fit: contain;
}
.image-lightbox-card figcaption {
  width: 100%;
  max-width: min(1040px, calc(100vw - 2rem));
  margin-top: .7rem;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
}
.image-lightbox-media-frame .image-lightbox-close,
.video-modal-card .video-close {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(255,255,255,.58) !important;
  color: #fff !important;
  background: rgba(7,11,28,.58) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.32) !important;
}
.image-lightbox-media-frame .image-lightbox-close:hover,
.image-lightbox-media-frame .image-lightbox-close:focus-visible,
.video-modal-card .video-close:hover,
.video-modal-card .video-close:focus-visible {
  background: rgba(7,11,28,.78) !important;
  border-color: rgba(255,255,255,.9) !important;
}
.gallery-grid-featured .gallery-item-figure img,
.gallery-grid-clickable .gallery-item img,
.section-gallery .gallery-item img,
.gallery-grid img,
.gallery-grid-featured img,
.profile-hero-image-button img,
.gallery-grid-featured .gallery-item-figure:hover img,
.gallery-grid-featured .gallery-item-figure:focus-visible img,
.gallery-grid-clickable .gallery-item:hover img,
.gallery-grid-clickable .gallery-item:focus-visible img,
.section-gallery .gallery-item:hover img,
.section-gallery .gallery-item:focus-visible img,
.profile-hero-image-button:hover img,
.profile-hero-image-button:focus-visible img {
  transform: none !important;
  filter: none !important;
}
@media (max-width: 640px) {
  .image-lightbox-media-frame,
  .image-lightbox-media-frame img,
  .image-lightbox-card img {
    max-width: calc(100vw - 1.25rem) !important;
    max-height: 74vh !important;
  }
  .image-lightbox-media-frame .image-lightbox-close,
  .video-modal-card .video-close {
    top: 8px !important;
    right: 8px !important;
    width: 38px !important;
    height: 38px !important;
  }
}


/* v0.33 — Videos de tenencias + Bolsa de Trabajo con mayor presencia */
.section-tenencia-video {
  background:
    radial-gradient(circle at 8% 12%, rgba(83,65,137,.16), transparent 28%),
    linear-gradient(180deg, #f7f9fd, #eef3f9);
}
.tenencia-video-showcase {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(185,198,219,.72);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(15,27,60,.96), rgba(83,65,137,.92)),
    radial-gradient(circle at 80% 20%, rgba(146,218,235,.22), transparent 26%);
  box-shadow: 0 24px 60px rgba(31,45,73,.15);
}
.tenencia-video-copy {
  color: #fff;
}
.tenencia-video-copy h2 {
  margin: .2rem 0 .75rem;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.tenencia-video-copy p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255,255,255,.82);
}
.tenencia-video-copy .button {
  margin-top: 1rem;
}
.tenencia-video-frame {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0,0,0,.34);
}
.programs-intro-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(146,218,235,.16), transparent 24%),
    linear-gradient(180deg, #f7f9fd, #eef3f9);
}
.program-employment-callout {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,27,60,.97), rgba(83,65,137,.92)),
    radial-gradient(circle at 84% 18%, rgba(146,218,235,.28), transparent 25%);
  box-shadow: 0 24px 60px rgba(31,45,73,.17);
}
.program-employment-callout::after {
  content: '';
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.program-employment-callout h2 {
  margin: .25rem 0 .65rem;
  max-width: 760px;
  font-size: clamp(1.85rem, 4.8vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.program-employment-callout p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255,255,255,.82);
}
.program-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}
.program-employment-steps {
  display: grid;
  gap: .8rem;
  position: relative;
  z-index: 1;
}
.program-employment-steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .75rem;
  align-items: center;
  padding: .85rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 16px;
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(10px);
}
.program-employment-steps span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--navy-deep);
  background: #fff;
  font-weight: 900;
}
.program-employment-steps strong { color: #fff; }
.program-employment-steps small { color: rgba(255,255,255,.78); }
.programs-heading { margin-top: .5rem; }
.program-grid-refresh {
  grid-template-columns: 1fr;
  gap: 1rem;
}
.program-card-rich {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid rgba(196,205,221,.8);
  background:
    radial-gradient(circle at 12% 10%, rgba(83,65,137,.08), transparent 18%),
    #fff;
}
.program-card-rich h2 { margin-top: .8rem; }
.program-card-rich p { flex: 1; }
.program-card-top {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
}
.program-badge {
  display: inline-flex;
  align-items: center;
  max-width: 58%;
  min-height: 30px;
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--violet);
  background: #f0edfb;
  font-size: .72rem;
  font-weight: 850;
  text-transform: capitalize;
}
.program-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}
.program-card-actions .secondary {
  color: var(--blue);
}
.program-card-employment {
  color: #fff;
  border: 0;
  background:
    linear-gradient(135deg, rgba(15,27,60,.97), rgba(83,65,137,.92)),
    radial-gradient(circle at 100% 0%, rgba(146,218,235,.2), transparent 26%);
}
.program-card-employment p,
.program-card-employment .text-link,
.program-card-employment .program-card-actions .secondary {
  color: rgba(255,255,255,.88);
}
.program-card-employment .program-icon,
.program-card-employment .program-badge {
  color: var(--navy-deep);
  background: #fff;
}
.program-card-cta {
  color: var(--text);
  border: 1px dashed rgba(83,65,137,.35);
  background:
    linear-gradient(150deg, #fff, #f5f2ff);
}
.program-card-cta p {
  color: var(--muted) !important;
}
.program-card-cta .button {
  color: #fff;
}
.employment-dashboard-section {
  background: linear-gradient(180deg, #fff, #f4f7fb);
}
.employment-dashboard {
  display: grid;
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 2rem;
}
.employment-main-card,
.employment-side-light,
.employment-guidance-card {
  border: 1px solid rgba(196,205,221,.75);
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(31,45,73,.08);
}
.employment-main-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,27,60,.97), rgba(83,65,137,.92)),
    radial-gradient(circle at 92% 16%, rgba(146,218,235,.24), transparent 26%);
}
.employment-main-card h2 {
  margin: .25rem 0 .7rem;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.employment-main-card p:not(.eyebrow) {
  color: rgba(255,255,255,.82);
}
.employment-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1.25rem;
}
.employment-metrics span {
  display: grid;
  gap: .1rem;
  padding: .75rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.1);
}
.employment-metrics strong {
  color: #fff;
  font-size: 1.4rem;
}
.employment-metrics small {
  color: rgba(255,255,255,.74);
}
.employment-side-light,
.employment-guidance-card {
  padding: 1.2rem;
  background: #fff;
}
.employment-side-light h2,
.employment-guidance-card h2 {
  margin-top: .25rem;
}
.employment-side-light ul,
.employment-guidance-card ol {
  display: grid;
  gap: .65rem;
  margin: 1rem 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.employment-layout-refresh {
  align-items: start;
}
.vacancy-list-rich {
  background: #fff;
  box-shadow: 0 14px 36px rgba(31,45,73,.06);
}
.vacancy-list-rich article > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .1rem .7rem;
  align-items: center;
}
.vacancy-list-rich .vacancy-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--violet);
  background: #f0edfb;
}
.employment-guidance-card {
  align-self: stretch;
}
@media (min-width: 760px) {
  .program-grid-refresh { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-employment-callout,
  .employment-dashboard,
  .employment-layout-refresh {
    grid-template-columns: 1.25fr .75fr;
  }
  .tenencia-video-showcase {
    grid-template-columns: .82fr 1.18fr;
  }
}
@media (min-width: 1080px) {
  .program-grid-refresh { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .employment-metrics { grid-template-columns: 1fr; }
  .program-callout-actions .button,
  .tenencia-video-copy .button {
    width: 100%;
  }
}

/* v0.34 - LAN CSS y programas */

.page-programs-refresh .program-grid-refresh {
  align-items: stretch;
}
.page-programs-refresh .program-card-rich {
  display: flex !important;
  min-height: 238px;
  padding: 1.25rem !important;
  color: var(--text) !important;
  border: 1px solid rgba(196,205,221,.82) !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(83,65,137,.08), transparent 20%),
    linear-gradient(180deg, #fff, #fbfcff) !important;
  box-shadow: 0 14px 32px rgba(31,45,73,.07) !important;
}
.page-programs-refresh .program-card-rich h2,
.page-programs-refresh .program-card-rich p,
.page-programs-refresh .program-card-rich a,
.page-programs-refresh .program-card-rich .text-link {
  position: relative;
  z-index: 1;
}
.page-programs-refresh .program-card-rich h2 {
  margin: .85rem 0 .6rem !important;
  color: var(--text) !important;
  font-size: 1.18rem !important;
  line-height: 1.18 !important;
}
.page-programs-refresh .program-card-rich p {
  color: var(--muted) !important;
  font-size: .92rem !important;
  line-height: 1.55 !important;
}
.page-programs-refresh .program-card-employment {
  border-color: rgba(83,65,137,.22) !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(67,58,111,.14), transparent 24%),
    linear-gradient(145deg, #fff, #f5f7ff) !important;
}
.page-programs-refresh .program-card-employment p,
.page-programs-refresh .program-card-employment .text-link,
.page-programs-refresh .program-card-employment .program-card-actions .secondary {
  color: var(--muted) !important;
}
.page-programs-refresh .program-card-employment .program-icon,
.page-programs-refresh .program-card-employment .program-badge,
.page-programs-refresh .program-card-rich .program-icon,
.page-programs-refresh .program-card-rich .program-badge {
  color: var(--violet) !important;
  background: #f0edfb !important;
}
.page-programs-refresh .program-card-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: auto !important;
}
.page-programs-refresh .program-card-actions .button,
.page-programs-refresh .program-card-cta .button-small {
  min-height: 40px;
  padding: .62rem .8rem;
  font-size: .78rem;
  line-height: 1;
}
.button-small {
  min-height: 40px;
  padding: .62rem .85rem;
  border-radius: 10px;
  font-size: .8rem;
}
.page-programs-refresh .program-card-cta {
  display: flex !important;
  min-height: 238px;
  color: var(--text) !important;
  background: linear-gradient(145deg, #fff, #f8f6ff) !important;
}
@media (max-width: 640px) {
  .page-programs-refresh .program-employment-callout { border-radius: 22px; }
  .page-programs-refresh .program-card-rich { min-height: auto; }
  .page-programs-refresh .program-card-actions .button { width: 100%; }
}


/* SOURCE: /css/mockup-v07.css */
:root {
  --v7-navy: #081f59;
  --v7-navy-2: #0f2a6d;
  --v7-violet: #4c46a2;
  --v7-violet-2: #6d6acc;
  --v7-ink: #23345f;
  --v7-muted: #6a7796;
  --v7-surface: #f4f6fb;
  --v7-line: #d9e0ef;
  --v7-card: #ffffff;
  --v7-shadow: 0 18px 44px rgba(17, 30, 71, .12);
  --v7-radius: 22px;
}

body.page-home-mockup-v7 {
  background: linear-gradient(180deg, #f7f9fd 0%, #eef2f8 100%);
}

/* header */
.site-header-v7 {
  position: sticky !important;
  top: 0;
  z-index: 60;
  background: rgba(8, 25, 78, .92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(7, 14, 35, .18);
}
.site-header-v7 .header-inner {
  min-height: 78px;
}
.brand-v7 {
  gap: .8rem;
  color: #fff;
}
.brand-v7 .brand-mark {
  color: #fff;
  font-size: 2.7rem;
}
.brand-v7 .brand-mark span {
  color: #95a7ff;
}
.brand-v7 .brand-copy {
  color: #fff;
}
.brand-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.22);
}
.brand-product {
  display: grid;
  gap: .05rem;
}
.brand-product strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: .02em;
}
.brand-product small {
  color: rgba(255,255,255,.7);
  font-size: .67rem;
  line-height: 1.15;
}
.site-header-v7 .nav-toggle {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}
.site-header-v7 .nav-toggle span:not(.sr-only) {
  background: #fff;
}
.primary-nav-v7 {
  inset: 76px 16px auto 16px;
  background: rgba(11, 29, 85, .98);
  border-color: rgba(255,255,255,.12);
}
.primary-nav-v7 a {
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}
.primary-nav-v7 a:not(.nav-search):not(.is-active):hover,
.primary-nav-v7 a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.primary-nav-v7 .nav-search {
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 1rem;
}

/* hero */
.portal-home {
  overflow: clip;
}
.portal-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0c1d58;
}
.portal-hero-media,
.portal-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portal-hero-media img {
  object-fit: cover;
  object-position: center;
}
.portal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,18,59,.74) 0%, rgba(9,25,75,.48) 42%, rgba(16,38,97,.12) 100%);
}
.portal-hero-pattern { display: none; }
.portal-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 5.6rem;
}
.portal-hero-copy {
  max-width: 520px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .32);
}
.portal-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.85rem);
  line-height: .98;
  letter-spacing: -.06em;
}
.portal-hero-copy .hero-lead {
  max-width: 470px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.92);
  font-size: 1.04rem;
}
.portal-hero-actions {
  margin-top: 1.2rem;
}
.portal-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  margin-top: 1.7rem;
  padding: .5rem;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--v7-shadow);
}
.portal-search input {
  min-width: 0;
  border: 0;
  background: transparent;
  padding: .95rem 1rem;
  color: var(--v7-ink);
  outline: 0;
}
.portal-search button {
  min-height: 52px;
  padding: .85rem 1.35rem;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #152b74, #2b2d8a);
  font-weight: 800;
}
.portal-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  box-shadow: var(--v7-shadow);
}
.portal-shortcuts a {
  display: grid;
  justify-items: center;
  gap: .2rem;
  min-height: 112px;
  padding: 1rem .75rem;
  color: #fff;
  text-align: center;
  background: rgba(255,255,255,.96);
}
.portal-shortcuts a strong {
  color: var(--v7-ink);
  font-size: .87rem;
  line-height: 1.15;
}
.portal-shortcuts a small {
  color: var(--v7-muted);
  font-size: .72rem;
  line-height: 1.28;
}
.shortcut-icon {
  color: var(--v7-violet);
  font-size: 1.2rem;
  font-weight: 900;
}
.portal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: .8rem;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
}
.portal-stats span {
  display: grid;
  justify-items: center;
  gap: .15rem;
  padding: .85rem .55rem;
  background: rgba(9,25,79,.72);
  text-align: center;
}
.portal-stats strong {
  color: #fff;
  font-size: 1rem;
}
.portal-stats small {
  color: rgba(255,255,255,.78);
  font-size: .72rem;
}

/* page surface */
.portal-surface {
  position: relative;
  margin-top: -2.6rem;
  padding-bottom: 1rem;
}
.portal-main-grid {
  display: grid;
  gap: 1rem;
}
.portal-grid-row {
  display: grid;
  gap: 1rem;
}
.portal-card {
  padding: 1rem;
  border: 1px solid var(--v7-line);
  border-radius: var(--v7-radius);
  background: var(--v7-card);
  box-shadow: 0 10px 30px rgba(25, 38, 78, .05);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  margin-bottom: .9rem;
}
.card-heading h2 {
  margin: 0;
  color: var(--v7-ink);
  font-size: 1.18rem;
  line-height: 1.15;
}
.card-heading a,
.card-summary,
.portal-card > p,
.featured-tenencia-copy p,
.featured-event-copy p,
.job-item small,
.investment-stats small,
.program-card small,
.directory-item-card small,
.tenencia-mini-card small {
  color: var(--v7-muted);
}
.card-heading a,
.featured-tenencia-links a,
.showcase-footer-link,
.portal-card .button + a,
.portal-card .text-link {
  font-weight: 800;
  color: var(--v7-violet);
}
.card-summary {
  margin: .2rem 0 0;
  font-size: .9rem;
}

/* top row */
.tenencias-explorer-layout {
  display: grid;
  gap: 1rem;
}
.tenencias-map-wrap {
  margin: 0;
  border-radius: 18px;
  background: #f6f7fc;
  overflow: hidden;
}
.tenencias-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.tenencia-mini-card {
  display: grid;
  gap: .35rem;
}
.tenencia-mini-card img {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 13px;
  object-fit: cover;
  border: 1px solid var(--v7-line);
}
.tenencia-mini-card strong {
  color: var(--v7-ink);
  font-size: .9rem;
}
.tenencia-mini-card small {
  font-size: .74rem;
  line-height: 1.3;
}

.featured-tenencia-body {
  display: grid;
  gap: 1rem;
}
.featured-tenencia-copy p {
  margin: .85rem 0 1rem;
  font-size: .96rem;
}
.featured-tenencia-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: 1rem 0 1.1rem;
}
.featured-tenencia-metrics span {
  display: grid;
  gap: .1rem;
}
.featured-tenencia-metrics strong {
  color: var(--v7-violet);
  font-size: 1.3rem;
}
.featured-tenencia-metrics small {
  color: var(--v7-muted);
  font-size: .73rem;
}
.featured-tenencia-media {
  display: grid;
  grid-template-columns: 1.45fr .85fr;
  gap: .65rem;
}
.featured-tenencia-media img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}
.featured-main {
  grid-row: span 2;
  min-height: 250px;
}
.featured-side,
.featured-bottom {
  min-height: 120px;
}

/* middle row */
.directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.directory-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .35rem .8rem;
  border: 1px solid var(--v7-line);
  border-radius: 999px;
  color: var(--v7-violet);
  background: #f6f3ff;
  font-size: .76rem;
  font-weight: 800;
}
.directory-filters .is-active {
  color: #fff;
  background: var(--v7-violet);
  border-color: var(--v7-violet);
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.directory-item-card {
  display: grid;
  gap: .45rem;
  padding: .65rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: #fff;
}
.directory-item-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 12px;
}
.directory-item-card strong {
  color: var(--v7-ink);
  font-size: .92rem;
  line-height: 1.2;
}
.directory-item-card small,
.directory-item-card em {
  font-size: .74rem;
  line-height: 1.3;
}
.directory-item-card em {
  color: var(--v7-violet);
  font-style: normal;
  font-weight: 800;
}

.events-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.mini-event-card {
  display: grid;
  gap: .35rem;
  padding: .75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #152b74, #2b2d8a);
}
.mini-event-card strong,
.mini-event-card small,
.mini-event-date {
  color: #fff;
}
.mini-event-card strong {
  font-size: .88rem;
  line-height: 1.2;
}
.mini-event-card small {
  color: rgba(255,255,255,.75);
  font-size: .73rem;
}
.mini-event-date {
  display: inline-grid;
  justify-items: start;
  gap: 0;
}
.mini-event-date span {
  font-size: .7rem;
  letter-spacing: .08em;
}
.mini-event-date b {
  font-size: 1.2rem;
  line-height: 1;
}

.featured-event-body {
  display: grid;
  gap: .9rem;
}
.featured-event-copy h3 {
  margin: 0 0 .55rem;
  color: var(--v7-ink);
  font-size: 1.6rem;
  line-height: 1.02;
}
.featured-event-copy p {
  margin: .25rem 0;
}
.featured-event-body img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  min-height: 220px;
}

/* bottom row */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}
.program-card {
  display: grid;
  gap: .35rem;
  min-height: 120px;
  padding: .9rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: #fff;
}
.program-icon {
  color: var(--v7-violet);
  font-size: 1.2rem;
}
.program-card strong {
  color: var(--v7-ink);
  font-size: .95rem;
}
.program-card small {
  font-size: .76rem;
  line-height: 1.35;
}
.jobs-list {
  display: grid;
  gap: .75rem;
}
.job-item {
  display: grid;
  gap: .18rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--v7-line);
}
.job-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.job-item strong {
  color: var(--v7-ink);
}
.job-item small,
.job-item em {
  font-size: .78rem;
}
.job-item em {
  color: var(--v7-violet);
  font-style: normal;
  font-weight: 800;
}
.investment-stats {
  display: grid;
  gap: .9rem;
}
.investment-stats span {
  display: grid;
  gap: .18rem;
  padding: .85rem;
  border: 1px solid var(--v7-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8f9ff);
}
.investment-stats strong {
  color: var(--v7-ink);
}
.investment-stats small {
  font-size: .78rem;
  line-height: 1.35;
}

/* footer */
.site-footer-v7 {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #10245f 0%, #1e326f 46%, #343680 100%);
}
.footer-grid-v7 {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
.footer-brand-block {
  min-width: 0;
}
.footer-grid-v7 h2 {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: .98rem;
}
.footer-grid-v7 ul {
  gap: .42rem;
}
.footer-grid-v7 .footer-brand {
  margin-bottom: .65rem;
}
.footer-grid-v7 .footer-brand .brand-mark {
  font-size: 3rem;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
}
.footer-socials a:hover {
  background: rgba(255,255,255,.12);
}
.footer-bottom {
  padding-top: .9rem;
  padding-bottom: 1rem;
}

/* responsive */
@media (max-width: 520px) {
  .brand-divider,
  .brand-product small,
  .brand-copy {
    display: none;
  }
  .brand-product strong {
    font-size: .86rem;
  }
  .portal-shortcuts a {
    min-height: 106px;
    padding: .85rem .55rem;
  }
  .portal-shortcuts a strong {
    font-size: .81rem;
  }
}

@media (min-width: 760px) {
  .portal-hero-content {
    padding-top: 4.7rem;
    padding-bottom: 6.2rem;
  }
  .portal-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portal-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .tenencias-explorer-layout,
  .featured-tenencia-body,
  .featured-event-body {
    align-items: start;
  }
  .directory-grid,
  .events-strip,
  .programs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .events-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .footer-grid-v7 {
    grid-template-columns: 1.2fr .75fr .75fr .75fr 1fr;
  }
}

@media (min-width: 980px) {
  .site-header-v7 .header-inner {
    min-height: 84px;
  }
  .primary-nav-v7 {
    position: static;
    display: flex;
    align-items: center;
    gap: .1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    inset: auto;
  }
  .primary-nav-v7 a {
    padding: .5rem .7rem;
    font-size: .81rem;
    border-radius: 10px;
  }
  .portal-shortcuts {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .portal-grid-row--top {
    grid-template-columns: 1.15fr .95fr;
  }
  .tenencias-explorer-layout {
    grid-template-columns: 1.08fr .92fr;
  }
  .portal-grid-row--middle {
    grid-template-columns: 1.25fr .9fr .9fr;
  }
  .portal-grid-row--bottom {
    grid-template-columns: 1.1fr .85fr .85fr;
  }
  .directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .featured-event-body {
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
  }
}

@media (min-width: 1240px) {
  .container {
    width: min(calc(100% - 64px), 1260px);
  }
  .portal-hero-copy {
    max-width: 560px;
  }
  .portal-card {
    padding: 1.15rem;
  }
  .card-heading h2 {
    font-size: 1.25rem;
  }
}


/* SOURCE: /css/mockup-v08.css */
/* v0.8 — navegación con búsqueda funcional y módulos públicos en dos columnas. */

/* ---------- Header / búsqueda ---------- */
.site-header-v8 {
  position: sticky;
  top: 0;
  z-index: 80;
}
.header-inner-v8 {
  gap: .85rem;
}
.header-actions-v8 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.header-search-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-size: 1.2rem;
}
.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,.16);
}
.primary-nav-v8 .nav-search-form {
  display: none;
}
.header-search-panel {
  position: absolute;
  z-index: 79;
  top: 100%;
  right: 0;
  left: 0;
  padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.11);
  background: rgba(8,25,78,.98);
  box-shadow: 0 14px 30px rgba(5,14,43,.22);
}
.header-search-panel[hidden] {
  display: none;
}
.header-search-panel-form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: .45rem;
}
.header-search-panel-form input {
  min-width: 0;
  min-height: 46px;
  padding: .75rem .9rem;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 11px;
  color: var(--v7-ink);
  background: #fff;
  outline: 0;
}
.header-search-panel-form button {
  min-height: 46px;
  padding: .7rem .9rem;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #5d55bd;
  font-weight: 800;
}
.header-search-panel-form .header-search-close {
  width: 46px;
  padding: 0;
  background: rgba(255,255,255,.11);
  font-size: 1.5rem;
}

/* ---------- Home: public cards with two-column rhythm ---------- */
.portal-grid-row--two {
  grid-template-columns: 1fr;
}
.portal-grid-row--two .portal-card {
  min-width: 0;
}
.directory-card-expanded,
.events-card-expanded,
.programs-card-expanded,
.jobs-card-expanded {
  padding: 1.25rem;
}
.directory-card-expanded .card-heading h2,
.events-card-expanded .card-heading h2,
.programs-card-expanded .card-heading h2,
.jobs-card-expanded .card-heading h2 {
  max-width: 540px;
  font-size: clamp(1.35rem, 2.15vw, 1.9rem);
  letter-spacing: -.035em;
}
.directory-grid-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.directory-item-card {
  min-height: 100%;
  padding: .55rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.directory-item-card:hover {
  transform: translateY(-3px);
  border-color: #a9a7dc;
  box-shadow: 0 13px 26px rgba(43,44,125,.12);
}
.directory-item-card > div {
  display: grid;
  gap: .28rem;
  padding: .1rem .1rem .15rem;
}
.directory-item-card img {
  aspect-ratio: 1.35;
}
.directory-item-card strong {
  font-size: .96rem;
}
.verified-mini {
  margin: 0;
  color: #16765c;
  font-size: .68rem;
  font-weight: 800;
}

.events-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
}
.event-visual-card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 215px;
  border-radius: 16px;
  background: #15286b;
}
.event-visual-card::after {
  position: absolute;
  inset: 38% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(8,20,63,.94));
}
.event-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-visual-content {
  position: absolute;
  z-index: 1;
  right: .65rem;
  bottom: .65rem;
  left: .65rem;
  display: grid;
  gap: .3rem;
  color: #fff;
}
.event-visual-content strong {
  font-size: .85rem;
  line-height: 1.15;
}
.event-visual-content small {
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  line-height: 1.25;
}
.event-date-badge {
  display: inline-grid;
  justify-self: start;
  gap: 0;
  min-width: 42px;
  padding: .28rem .4rem;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  color: var(--v7-violet);
  text-align: center;
}
.event-date-badge b {
  font-size: 1rem;
  line-height: 1;
}
.event-date-badge small {
  color: var(--v7-violet);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.events-wide-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  margin-top: .9rem;
  border-radius: 11px;
  color: #fff;
  background: #4b4397;
  font-size: .88rem;
  font-weight: 850;
}
.events-wide-cta:hover {
  background: #393176;
}

.portal-event-feature {
  display: grid;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(120deg, #142764 0%, #293c84 54%, #4b4498 100%);
  box-shadow: 0 18px 42px rgba(20,34,87,.18);
}
.portal-event-feature-media {
  position: relative;
  min-height: 250px;
}
.portal-event-feature-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9,19,55,.12), rgba(8,19,58,.52));
}
.portal-event-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-feature-date {
  position: absolute;
  z-index: 1;
  top: 1rem;
  left: 1rem;
  padding: .45rem .65rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  color: #fff;
  background: rgba(11,22,65,.7);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.portal-event-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.65rem;
}
.portal-event-feature-copy h2 {
  max-width: 620px;
  margin: .1rem 0 .7rem;
  color: #fff;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.portal-event-feature-copy > p:not(.eyebrow) {
  max-width: 630px;
  color: rgba(255,255,255,.82);
}
.event-feature-location {
  margin: .3rem 0 .6rem;
  color: #dbe8ff !important;
  font-weight: 800;
}
.event-feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: .8rem;
}

.programs-grid-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.programs-grid-expanded .program-card {
  min-height: 150px;
  padding: 1rem;
  background: linear-gradient(180deg, #fff 0%, #f6f7ff 100%);
}
.programs-grid-expanded .program-card:hover {
  border-color: #afaade;
  box-shadow: 0 14px 26px rgba(50,48,129,.11);
}
.programs-grid-expanded .program-card em {
  margin-top: auto;
  color: var(--v7-violet);
  font-size: .75rem;
  font-style: normal;
  font-weight: 850;
}
.jobs-expanded-layout {
  display: grid;
  gap: 1rem;
}
.jobs-list-expanded {
  gap: 0;
}
.jobs-list-expanded .job-item {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .8rem 0;
}
.jobs-list-expanded .job-item > div {
  display: grid;
  gap: .15rem;
}
.jobs-list-expanded .job-item em {
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #f0edfb;
  color: var(--v7-violet);
  font-size: .7rem;
}
.job-feature-box {
  padding: 1rem;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #28377e, #5851ae);
}
.job-feature-box h3 {
  margin: .15rem 0 .35rem;
  color: #fff;
  font-size: 1.15rem;
}
.job-feature-box p {
  margin: .3rem 0 .65rem;
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  line-height: 1.45;
}
.job-feature-box a {
  color: #fff;
  font-size: .8rem;
  font-weight: 850;
}
.jobs-footer-button {
  margin-top: 1rem;
}

.investment-card-expanded {
  display: grid;
  gap: 1.25rem;
  padding: 1.45rem;
  border-color: #cbd4ee;
  background:
    radial-gradient(circle at 92% 14%, rgba(125,115,211,.17), transparent 22%),
    linear-gradient(135deg, #fff 0%, #f3f5fe 100%);
}
.investment-card-copy h2 {
  max-width: 580px;
  margin: 0 0 .6rem;
  color: var(--v7-ink);
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.investment-card-copy p:not(.eyebrow) {
  max-width: 600px;
  color: var(--v7-muted);
}
.investment-stats-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.investment-stats-expanded span {
  min-height: 100px;
  justify-content: center;
  border-color: #d8def1;
  background: rgba(255,255,255,.82);
}
.investment-stats-expanded strong {
  color: var(--v7-violet);
  font-size: 1.35rem;
}
.investment-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
}
.investment-routes span {
  padding: .75rem;
  border-radius: 12px;
  color: var(--v7-ink);
  background: rgba(226,231,250,.72);
  font-size: .8rem;
  font-weight: 850;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 760px) {
  .directory-grid-expanded {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .jobs-expanded-layout {
    grid-template-columns: 1.08fr .92fr;
    align-items: stretch;
  }
  .job-feature-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .investment-card-expanded {
    grid-template-columns: 1.05fr 1.25fr;
    align-items: center;
  }
  .investment-routes {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tablet: preserve usable 180px search without squeezing navigation. */
@media (min-width: 850px) and (max-width: 1199px) {
  .site-header-v8 .header-inner-v8 {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-top: .65rem;
    padding-bottom: .65rem;
  }
  .site-header-v8 .header-actions-v8 {
    display: none;
  }
  .site-header-v8 .nav-toggle {
    display: none !important;
  }
  .site-header-v8 .primary-nav-v8 {
    position: static !important;
    grid-column: 1 / -1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: .12rem;
    width: 100%;
    margin-top: .25rem;
    padding: .45rem 0 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.11);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    inset: auto;
  }
  .site-header-v8 .primary-nav-v8 a {
    padding: .42rem .46rem;
    color: rgba(255,255,255,.88);
    font-size: .73rem;
    white-space: nowrap;
  }
  .primary-nav-v8 .nav-search-form {
    display: grid;
    grid-template-columns: 1fr 34px;
    flex: 0 0 184px;
    width: 184px;
    overflow: hidden;
    margin-left: .25rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9px;
    background: rgba(255,255,255,.1);
  }
  .primary-nav-v8 .nav-search-form input {
    min-width: 0;
    height: 32px;
    padding: .35rem .52rem;
    border: 0;
    color: #fff;
    background: transparent;
    outline: 0;
    font-size: .73rem;
  }
  .primary-nav-v8 .nav-search-form input::placeholder {
    color: rgba(255,255,255,.64);
  }
  .primary-nav-v8 .nav-search-form button {
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.16);
    font-size: 1rem;
  }
  .portal-grid-row--two {
    grid-template-columns: 1.05fr .95fr;
  }
}

/* Desktop: one line navigation + a true 220–260px search field. */
@media (min-width: 1200px) {
  .site-header-v8 .header-actions-v8 {
    display: none;
  }
  .site-header-v8 .nav-toggle {
    display: none !important;
  }
  .site-header-v8 .primary-nav-v8 {
    display: flex !important;
    align-items: center;
    gap: .08rem;
  }
  .site-header-v8 .primary-nav-v8 a {
    padding: .45rem .52rem;
    font-size: .77rem;
    white-space: nowrap;
  }
  .primary-nav-v8 .nav-search-form {
    display: grid;
    grid-template-columns: 1fr 38px;
    flex: 0 0 clamp(220px, 15vw, 260px);
    width: clamp(220px, 15vw, 260px);
    overflow: hidden;
    margin-left: .45rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
    background: rgba(255,255,255,.1);
  }
  .primary-nav-v8 .nav-search-form input {
    min-width: 0;
    height: 36px;
    padding: .42rem .65rem;
    border: 0;
    color: #fff;
    background: transparent;
    outline: 0;
    font-size: .78rem;
  }
  .primary-nav-v8 .nav-search-form input::placeholder {
    color: rgba(255,255,255,.66);
  }
  .primary-nav-v8 .nav-search-form button {
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.16);
    font-size: 1rem;
  }
  .portal-grid-row--two {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  }
  .portal-event-feature {
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
    min-height: 330px;
  }
  .portal-event-feature-media {
    min-height: 330px;
  }
  .portal-event-feature-copy {
    padding: 2.1rem 2.35rem;
  }
  .programs-card-expanded,
  .jobs-card-expanded {
    min-height: 430px;
  }
  .investment-card-expanded {
    grid-template-columns: .85fr 1.3fr;
    padding: 1.8rem 2rem;
  }
}

@media (min-width: 1420px) {
  .site-header-v8 .primary-nav-v8 a {
    padding-right: .62rem;
    padding-left: .62rem;
    font-size: .8rem;
  }
}


/* SOURCE: /css/mockup-v09.css */
/* v0.9 — respiración del hero, menú refinado y mapa SVG interactivo de tenencias. */

/* ---------- Hero / surface spacing ---------- */
.page-home-mockup-v9 .portal-hero-content {
  padding-top: clamp(3.75rem, 6vw, 4.8rem);
  padding-bottom: clamp(6.4rem, 9vw, 7.8rem);
}

.page-home-mockup-v9 .portal-hero-copy {
  max-width: 560px;
}

.page-home-mockup-v9 .portal-hero-copy h1 {
  max-width: 610px;
}

.page-home-mockup-v9 .portal-hero-copy .hero-lead {
  max-width: 540px;
  margin-top: 1.1rem;
}

.page-home-mockup-v9 .portal-search {
  margin-top: 1.9rem;
}

.page-home-mockup-v9 .portal-shortcuts {
  margin-top: 1.15rem;
}

.page-home-mockup-v9 .portal-stats {
  margin-top: 1rem;
}

.page-home-mockup-v9 .portal-surface {
  margin-top: 0;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
}

.page-home-mockup-v9 .portal-main-grid {
  gap: 1.2rem;
}

.page-home-mockup-v9 .portal-grid-row {
  gap: 1.2rem;
}

.page-home-mockup-v9 .portal-card {
  box-shadow: 0 12px 34px rgba(23, 33, 77, .06);
}

.page-home-mockup-v9 .portal-grid-row--top {
  align-items: start;
}

/* ---------- Header refinements ---------- */
.site-header-v8 .header-inner-v8 {
  align-items: center;
}

.site-header-v8 .brand-v8 {
  min-width: 0;
}

@media (min-width: 850px) and (max-width: 1199px) {
  .site-header-v8 .primary-nav-v8 {
    gap: .18rem;
  }

  .site-header-v8 .primary-nav-v8 a {
    padding: .42rem .44rem;
    font-size: .72rem;
  }

  .primary-nav-v8 .nav-search-form {
    flex: 0 0 clamp(220px, 24vw, 244px);
    width: clamp(220px, 24vw, 244px);
    border-radius: 10px;
  }

  .primary-nav-v8 .nav-search-form input {
    height: 34px;
    padding: .42rem .62rem;
    font-size: .75rem;
  }

  .primary-nav-v8 .nav-search-form button {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .site-header-v8 .primary-nav-v8 {
    gap: .12rem;
    flex-wrap: nowrap;
  }

  .site-header-v8 .primary-nav-v8 a {
    padding: .46rem .5rem;
    font-size: .76rem;
  }

  .primary-nav-v8 .nav-search-form {
    flex: 0 0 clamp(250px, 18vw, 312px);
    width: clamp(250px, 18vw, 312px);
    margin-left: .55rem;
    border-radius: 11px;
  }

  .primary-nav-v8 .nav-search-form input {
    height: 38px;
    padding: .46rem .74rem;
    font-size: .79rem;
  }

  .primary-nav-v8 .nav-search-form button {
    width: 40px;
    font-size: 1rem;
  }
}

/* ---------- Interactive SVG map ---------- */
.tenencias-map-wrap {
  display: grid;
  margin: 0;
  padding: .25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfcff 0%, #f5f6fd 100%);
}

.tenencias-map-shell {
  display: grid;
  gap: .8rem;
}

.tenencias-map-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.tenencia-map-link {
  cursor: pointer;
}

.tenencia-map-ping {
  fill: rgba(255,255,255,.12);
  opacity: 0;
  transform-origin: center;
  transition: opacity .2s ease, transform .2s ease;
}

.tenencia-map-dot {
  fill: #ffffff;
  stroke: #2e2a63;
  stroke-width: 4.5;
  transition: transform .2s ease, fill .2s ease, stroke .2s ease;
}

.tenencia-map-index {
  fill: #2e2a63;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
}

.tenencia-map-link:hover .tenencia-map-ping,
.tenencia-map-link:focus .tenencia-map-ping,
.tenencia-map-link:focus-visible .tenencia-map-ping {
  opacity: 1;
  transform: scale(1.15);
}

.tenencia-map-link:hover .tenencia-map-dot,
.tenencia-map-link:focus .tenencia-map-dot,
.tenencia-map-link:focus-visible .tenencia-map-dot {
  fill: #ece9ff;
  stroke: #4d46a6;
  transform: scale(1.08);
}

.tenencias-map-callout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  align-items: center;
  padding: .8rem .95rem;
  border: 1px solid #e2e4f4;
  border-radius: 15px;
  background: #fff;
}

.tenencias-map-callout strong {
  display: block;
  color: var(--v7-ink);
  font-size: .9rem;
}

.tenencias-map-callout span {
  color: var(--v7-muted);
  font-size: .77rem;
}

.tenencias-map-callout a {
  color: var(--v7-violet);
  font-size: .78rem;
  font-weight: 800;
}

.tenencias-map-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tenencias-map-legend li {
  min-width: 0;
}

.tenencias-map-legend a {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .38rem .5rem;
  border-radius: 11px;
  color: var(--v7-ink);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.tenencias-map-legend a:hover,
.tenencias-map-legend a:focus-visible {
  background: #eff1fb;
  color: var(--v7-violet);
  transform: translateX(2px);
}

.legend-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: #5b55b8;
  font-size: .72rem;
  font-weight: 800;
}

/* ---------- Top row content polish ---------- */
.page-home-mockup-v9 .tenencias-explorer-layout {
  gap: 1.1rem;
}

.page-home-mockup-v9 .tenencia-mini-grid {
  align-content: start;
  gap: .85rem;
}

.page-home-mockup-v9 .tenencia-mini-card {
  gap: .42rem;
}

.page-home-mockup-v9 .tenencia-mini-card strong {
  font-size: .95rem;
}

.page-home-mockup-v9 .tenencia-mini-card small {
  font-size: .76rem;
}

.page-home-mockup-v9 .featured-tenencia-card {
  padding: 1.35rem;
}

.page-home-mockup-v9 .featured-tenencia-copy p {
  max-width: 42ch;
  line-height: 1.58;
}

.page-home-mockup-v9 .featured-tenencia-metrics {
  margin-top: 1.15rem;
  margin-bottom: 1.2rem;
}

.page-home-mockup-v9 .featured-tenencia-media {
  gap: .75rem;
}

/* ---------- Mid / lower card microspacing ---------- */
.page-home-mockup-v9 .directory-item-card strong,
.page-home-mockup-v9 .event-visual-content strong,
.page-home-mockup-v9 .programs-grid-expanded .program-card strong,
.page-home-mockup-v9 .jobs-list-expanded .job-item strong {
  line-height: 1.22;
}

.page-home-mockup-v9 .directory-item-card small,
.page-home-mockup-v9 .event-visual-content small,
.page-home-mockup-v9 .programs-grid-expanded .program-card small,
.page-home-mockup-v9 .jobs-list-expanded .job-item small {
  line-height: 1.38;
}

.page-home-mockup-v9 .portal-event-feature {
  overflow: hidden;
  min-height: 320px;
}

.page-home-mockup-v9 .portal-event-feature-copy {
  padding: 1.8rem;
}

.page-home-mockup-v9 .investment-card-expanded {
  gap: 1.4rem;
}

@media (max-width: 759px) {
  .page-home-mockup-v9 .portal-hero-content {
    padding-bottom: 5.2rem;
  }

  .page-home-mockup-v9 .portal-surface {
    padding-top: 1rem;
  }

  .tenencias-map-legend {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 760px) {
  .tenencias-map-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .page-home-mockup-v9 .portal-grid-row--top {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  }

  .page-home-mockup-v9 .tenencias-explorer-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .page-home-mockup-v9 .portal-hero-content {
    padding-bottom: 8rem;
  }

  .page-home-mockup-v9 .portal-surface {
    padding-top: 1.75rem;
  }

  .page-home-mockup-v9 .portal-event-feature-copy {
    padding: 2.1rem 2.3rem;
  }
}


/* SOURCE: /css/mockup-v10.css */
/* v0.10 — Mapa territorial de Morelia, interactivo y preparado para crecer. */

.page-home-mockup-v10 .tenencias-explorer-card {
  overflow: hidden;
}

.page-home-mockup-v10 .tenencias-explorer-layout {
  align-items: start;
}

/* La card se queda contenida: el mapa es el foco y la lista se despliega solo si se necesita. */
.page-home-mockup-v10 .tenencias-map-wrap {
  padding: .15rem;
  border: 1px solid #e2e7f3;
  border-radius: 18px;
  background: #fbfcff;
}

.tenencias-map-shell-territorial {
  display: grid;
  gap: .7rem;
}

.tenencias-map-svg-territorial {
  display: block;
  width: 100%;
  min-height: 280px;
  height: auto;
  overflow: visible;
  border-radius: 15px;
  background: #f7f9fe;
}

.municipio-silhouette {
  stroke: #102f76;
  stroke-width: 4;
  stroke-linejoin: round;
}

.municipio-urban-core {
  stroke: #d9e4ff;
  stroke-width: 2;
}

.map-roads {
  stroke-width: 2.6;
  opacity: .82;
}

.map-city-label,
.tenencia-map-label,
.map-north text {
  paint-order: stroke;
  stroke: rgba(255,255,255,.92);
  stroke-width: 3.8px;
  stroke-linejoin: round;
}

.map-city-label {
  fill: #173a83;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
}

.tenencia-map-label {
  fill: #1a3579;
  font-family: Arial, sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  pointer-events: none;
  transition: fill .18s ease, font-size .18s ease;
}

.map-north text {
  fill: #234c9e;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.tenencia-map-link {
  cursor: pointer;
  outline: none;
}

.tenencia-map-ping {
  fill: rgba(255,255,255,.5);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

.tenencia-map-dot {
  fill: #fff;
  stroke: #183c8c;
  stroke-width: 3.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill .18s ease, stroke .18s ease, transform .18s ease, filter .18s ease;
}

.tenencia-map-center {
  fill: #3d42a2;
  transition: fill .18s ease, transform .18s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.tenencia-map-link.is-urban .tenencia-map-dot {
  fill: #f7d66c;
  stroke: #5a449d;
}

.tenencia-map-link:hover .tenencia-map-ping,
.tenencia-map-link:focus .tenencia-map-ping,
.tenencia-map-link:focus-visible .tenencia-map-ping,
.tenencia-map-link.is-active .tenencia-map-ping {
  opacity: .8;
  transform: scale(1.7);
}

.tenencia-map-link:hover .tenencia-map-dot,
.tenencia-map-link:focus .tenencia-map-dot,
.tenencia-map-link:focus-visible .tenencia-map-dot,
.tenencia-map-link.is-active .tenencia-map-dot {
  fill: #f6dc77;
  stroke: #342d83;
  transform: scale(1.22);
  filter: url(#morelia-map-glow);
}

.tenencia-map-link:hover .tenencia-map-center,
.tenencia-map-link:focus .tenencia-map-center,
.tenencia-map-link:focus-visible .tenencia-map-center,
.tenencia-map-link.is-active .tenencia-map-center {
  fill: #2c267f;
  transform: scale(1.25);
}

.tenencia-map-link:hover .tenencia-map-label,
.tenencia-map-link:focus .tenencia-map-label,
.tenencia-map-link:focus-visible .tenencia-map-label,
.tenencia-map-link.is-active .tenencia-map-label {
  fill: #2f2783;
  font-size: 9.3px;
}

.tenencias-map-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .72rem .8rem;
  border: 1px solid #dde3f1;
  border-radius: 13px;
  background: linear-gradient(90deg, #ffffff 0%, #f5f4ff 100%);
}

.map-status-kicker {
  margin: 0 0 .18rem;
  color: #16709c;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tenencias-map-status strong,
.tenencias-map-status span {
  display: block;
}

.tenencias-map-status strong {
  color: var(--v7-ink);
  font-size: .88rem;
}

.tenencias-map-status span {
  margin-top: .16rem;
  color: var(--v7-muted);
  font-size: .74rem;
  line-height: 1.35;
}

.map-status-link {
  flex: 0 0 auto;
  color: var(--v7-violet);
  font-size: .74rem;
  font-weight: 900;
  white-space: nowrap;
}

.tenencias-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  padding: .12rem .2rem 0;
}

.tenencias-map-footer > span {
  max-width: 58ch;
  color: #7380a0;
  font-size: .66rem;
  line-height: 1.35;
}

.map-list-toggle {
  flex: 0 0 auto;
  border: 0;
  padding: .35rem .55rem;
  border-radius: 8px;
  color: var(--v7-violet);
  background: transparent;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.map-list-toggle:hover,
.map-list-toggle:focus-visible {
  background: #eeeefe;
  outline: none;
}

.tenencias-map-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .5rem;
  margin: 0;
  padding: .55rem 0 0;
  border-top: 1px solid #e5e9f3;
  list-style: none;
}

.tenencias-map-legend a {
  display: grid;
  grid-template-columns: 10px 1fr;
  align-items: start;
  gap: .45rem;
  padding: .28rem .35rem;
  border-radius: 8px;
  color: #344770;
  font-size: .71rem;
  line-height: 1.25;
}

.tenencias-map-legend a:hover,
.tenencias-map-legend a:focus-visible {
  color: var(--v7-violet);
  background: #f0f1fe;
  outline: none;
}

.legend-dot {
  width: 8px;
  height: 8px;
  margin-top: .2rem;
  border: 2px solid #173d91;
  border-radius: 999px;
  background: #fff;
}

/* Integra mejor el mapa con las miniaturas adyacentes. */
@media (min-width: 980px) {
  .page-home-mockup-v10 .tenencias-explorer-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr);
  }

  .page-home-mockup-v10 .tenencia-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
  }

  .page-home-mockup-v10 .tenencia-mini-card img {
    aspect-ratio: 1.18;
  }
}

@media (max-width: 680px) {
  .tenencias-map-svg-territorial {
    min-height: 240px;
  }

  .tenencia-map-label,
  .map-city-label {
    display: none;
  }

  .tenencias-map-status {
    align-items: start;
    flex-direction: column;
  }

  .tenencias-map-footer {
    align-items: start;
    flex-direction: column;
  }

  .tenencias-map-legend {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/mockup-v11.css */
/* v0.11 — mapa territorial refinado, información de hover estable y navegación enfocada en el mapa. */

.page-home-mockup-v11 .tenencias-explorer-card {
  overflow: hidden;
}

.page-home-mockup-v11 .tenencias-explorer-layout {
  align-items: start;
}

/* El mapa ocupa el papel principal; la información auxiliar tiene altura fija. */
.page-home-mockup-v11 .tenencias-map-wrap {
  padding: .32rem;
  border: 1px solid #dce4f2;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fe 100%);
}

.tenencias-map-shell-v11 {
  display: grid;
  gap: .72rem;
}

.tenencias-map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f9fe;
}

.tenencias-map-svg-v11 {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 300px;
  border-radius: inherit;
  background: #f7f9fe;
}

.municipio-silhouette {
  stroke: #113276;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.municipio-outline {
  pointer-events: none;
}

.map-primary-route {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4.3;
  opacity: .88;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-roads {
  stroke-width: 2.35;
  opacity: .93;
}

.map-city-label,
.tenencia-map-label,
.map-north text {
  paint-order: stroke;
  stroke: rgba(255,255,255,.98);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-city-label {
  fill: #153678;
  font-family: Arial, sans-serif;
  font-size: 10.2px;
  font-weight: 900;
}

.tenencia-map-label {
  fill: #123476;
  font-family: Arial, sans-serif;
  font-size: 8.8px;
  font-weight: 800;
  letter-spacing: -.03px;
  pointer-events: none;
  transition: fill .15s ease;
}

.map-north text {
  fill: #234c9e;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.tenencia-map-link {
  cursor: pointer;
  outline: none;
}

.tenencia-map-ping {
  fill: rgba(255,255,255,.48);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .15s ease, transform .15s ease;
}

.tenencia-map-dot {
  fill: #ffffff;
  stroke: #173c8d;
  stroke-width: 3.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill .15s ease, stroke .15s ease, transform .15s ease, filter .15s ease;
}

.tenencia-map-center {
  fill: #423fa6;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill .15s ease, transform .15s ease;
}

.tenencia-map-link:hover .tenencia-map-ping,
.tenencia-map-link:focus .tenencia-map-ping,
.tenencia-map-link:focus-visible .tenencia-map-ping,
.tenencia-map-link.is-active .tenencia-map-ping {
  opacity: .82;
  transform: scale(1.65);
}

.tenencia-map-link:hover .tenencia-map-dot,
.tenencia-map-link:focus .tenencia-map-dot,
.tenencia-map-link:focus-visible .tenencia-map-dot,
.tenencia-map-link.is-active .tenencia-map-dot {
  fill: #f7dc77;
  stroke: #332c82;
  transform: scale(1.2);
  filter: url(#morelia-map-glow-v11);
}

.tenencia-map-link:hover .tenencia-map-center,
.tenencia-map-link:focus .tenencia-map-center,
.tenencia-map-link:focus-visible .tenencia-map-center,
.tenencia-map-link.is-active .tenencia-map-center {
  fill: #2b267f;
  transform: scale(1.18);
}

.tenencia-map-link:hover .tenencia-map-label,
.tenencia-map-link:focus .tenencia-map-label,
.tenencia-map-link:focus-visible .tenencia-map-label,
.tenencia-map-link.is-active .tenencia-map-label {
  fill: #2f2783;
}

/* Esta card no cambia de altura entre nombres cortos y largos. */
.tenencias-map-status-fixed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .82rem;
  min-height: 104px;
  height: 104px;
  padding: .82rem .9rem;
  border: 1px solid #dce3f1;
  border-radius: 14px;
  background: linear-gradient(105deg, #ffffff 0%, #f6f4ff 100%);
}

.map-status-copy {
  min-width: 0;
}

.map-status-kicker {
  margin: 0 0 .16rem;
  color: #16709c;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.tenencias-map-status-fixed strong,
.tenencias-map-status-fixed span {
  display: block;
  overflow: hidden;
}

.tenencias-map-status-fixed strong {
  min-height: 2.45em;
  color: var(--v7-ink);
  font-size: .92rem;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tenencias-map-status-fixed span {
  min-height: 2.62em;
  margin-top: .12rem;
  color: var(--v7-muted);
  font-size: .74rem;
  line-height: 1.31;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tenencias-map-status-fixed .map-status-link {
  flex: 0 0 auto;
  max-width: 132px;
  color: var(--v7-violet);
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.32;
  text-align: right;
}

.tenencias-map-note {
  margin: 0;
  padding: 0 .18rem;
  color: #7480a0;
  font-size: .67rem;
  line-height: 1.35;
}

/* Ya no se presenta la lista completa: los 13 nombres viven en el mapa y aparecen en hover/focus. */
.tenencias-map-shell-v11 .tenencias-map-legend,
.tenencias-map-shell-v11 .tenencias-map-footer,
.tenencias-map-shell-v11 .map-list-toggle {
  display: none !important;
}

/* Más detalle de lectura, sin comprimir las miniaturas. */
@media (min-width: 980px) {
  .page-home-mockup-v11 .tenencias-explorer-layout {
    grid-template-columns: minmax(0, 1.24fr) minmax(225px, .76fr);
    gap: .9rem;
  }

  .page-home-mockup-v11 .tenencia-mini-grid {
    gap: .65rem;
  }

  .page-home-mockup-v11 .tenencia-mini-card img {
    aspect-ratio: 1.17;
  }

  .page-home-mockup-v11 .tenencia-mini-card strong {
    font-size: .89rem;
  }

  .page-home-mockup-v11 .tenencia-mini-card small {
    font-size: .72rem;
  }
}

@media (max-width: 680px) {
  .tenencias-map-svg-v11 {
    min-height: 260px;
  }

  .tenencia-map-label,
  .map-city-label {
    display: none;
  }

  .tenencias-map-status-fixed {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 128px;
  }

  .tenencias-map-status-fixed .map-status-link {
    max-width: none;
    text-align: left;
  }
}


/* En inicio las tenencias viven en el mapa: se elimina la repetición de mini-cards. */
.page-home-mockup-v11 .tenencias-explorer-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

.page-home-mockup-v11 .tenencias-mini-grid {
  display: none !important;
}

.page-home-mockup-v11 .tenencias-map-wrap {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

@media (min-width: 980px) {
  .page-home-mockup-v11 .tenencias-map-wrap {
    max-width: 530px;
  }
}


/* SOURCE: /css/mockup-v12.css */
/* v0.12 — corrección de estabilidad del mapa, 14 tenencias y hover sin artefactos. */

/* El componente no modifica su altura al alternar entre tenencias. */
.page-home-mockup-v12 .tenencias-map-wrap {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  padding: .38rem;
  border: 1px solid #dce4f3;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fe 100%);
}

.tenencias-map-shell-v12 {
  display: grid;
  gap: .72rem;
}

.tenencias-map-stage-v12 {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f7f9fe;
}

.tenencias-map-svg-v12 {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: inherit;
  background: #f7f9fe;
}

/* Evita el artefacto negro visto al pasar sobre un punto: no se usan filtros SVG en hover. */
.tenencias-map-svg-v12 .tenencia-map-dot,
.tenencias-map-svg-v12 .tenencia-map-link:hover .tenencia-map-dot,
.tenencias-map-svg-v12 .tenencia-map-link:focus .tenencia-map-dot,
.tenencias-map-svg-v12 .tenencia-map-link:focus-visible .tenencia-map-dot,
.tenencias-map-svg-v12 .tenencia-map-link.is-active .tenencia-map-dot {
  filter: none !important;
}

.tenencias-map-svg-v12 .municipio-silhouette-v12 {
  stroke: #123476;
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.tenencias-map-svg-v12 .municipio-outline-v12 {
  pointer-events: none;
}

.tenencias-map-svg-v12 .map-primary-route-v12 {
  fill: none;
  stroke: #fff;
  stroke-width: 4.1;
  opacity: .9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tenencias-map-svg-v12 .map-roads-v12 {
  stroke-width: 2.25;
  opacity: .93;
}

.tenencias-map-svg-v12 .map-city-label-v12,
.tenencias-map-svg-v12 .tenencia-map-label-v12,
.tenencias-map-svg-v12 .map-north-v12 text {
  paint-order: stroke;
  stroke: rgba(255,255,255,.98);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.tenencias-map-svg-v12 .map-city-label-v12 {
  fill: #143477;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.tenencias-map-svg-v12 .tenencia-map-label-v12 {
  fill: #123476;
  font-family: Arial, sans-serif;
  font-size: 8.45px;
  font-weight: 800;
  letter-spacing: -.04px;
  pointer-events: none;
  transition: fill .15s ease;
}

.tenencias-map-svg-v12 .map-north-v12 text {
  fill: #244b9f;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.tenencias-map-svg-v12 .tenencia-map-link-v12 {
  cursor: pointer;
  outline: none;
}

.tenencias-map-svg-v12 .tenencia-map-ping-v12 {
  fill: #fff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity .16s ease, transform .16s ease;
}

.tenencias-map-svg-v12 .tenencia-map-dot-v12 {
  fill: #fff;
  stroke: #173c8d;
  stroke-width: 3.5;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill .16s ease, stroke .16s ease, transform .16s ease;
}

.tenencias-map-svg-v12 .tenencia-map-center-v12 {
  fill: #423fa6;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill .16s ease, transform .16s ease;
}

.tenencias-map-svg-v12 .tenencia-map-link-v12:hover .tenencia-map-ping-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus .tenencia-map-ping-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus-visible .tenencia-map-ping-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12.is-active .tenencia-map-ping-v12 {
  opacity: .68;
  transform: scale(1.48);
}

.tenencias-map-svg-v12 .tenencia-map-link-v12:hover .tenencia-map-dot-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus .tenencia-map-dot-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus-visible .tenencia-map-dot-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12.is-active .tenencia-map-dot-v12 {
  fill: #f7dc77;
  stroke: #352f85;
  transform: scale(1.14);
}

.tenencias-map-svg-v12 .tenencia-map-link-v12:hover .tenencia-map-center-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus .tenencia-map-center-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus-visible .tenencia-map-center-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12.is-active .tenencia-map-center-v12 {
  fill: #2c267f;
  transform: scale(1.12);
}

.tenencias-map-svg-v12 .tenencia-map-link-v12:hover .tenencia-map-label-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus .tenencia-map-label-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12:focus-visible .tenencia-map-label-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12.is-active .tenencia-map-label-v12 {
  fill: #302982;
}

/* Panel de información: mismo alto y misma grilla en todo momento. */
.tenencias-map-status-v12 {
  display: grid;
  grid-template-rows: auto 2.55em 2.58em;
  gap: .12rem;
  box-sizing: border-box;
  min-height: 126px;
  height: 126px;
  padding: .82rem .92rem;
  border: 1px solid #dce3f1;
  border-radius: 14px;
  background: linear-gradient(105deg, #ffffff 0%, #f6f4ff 100%);
}

.tenencias-map-status-v12 .map-status-kicker {
  margin: 0;
  color: #16709c;
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.1;
  text-transform: uppercase;
}

.tenencias-map-status-v12 strong,
.tenencias-map-status-v12 span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.tenencias-map-status-v12 strong {
  align-self: end;
  color: var(--v7-ink);
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.23;
  -webkit-line-clamp: 2;
}

.tenencias-map-status-v12 span {
  align-self: start;
  color: var(--v7-muted);
  font-size: .74rem;
  line-height: 1.31;
  -webkit-line-clamp: 2;
}

/* Se eliminan los elementos redundantes de la versión previa para dedicar el espacio al contenido útil. */
.tenencias-map-shell-v12 .map-status-link,
.tenencias-map-shell-v12 .tenencias-map-note,
.tenencias-map-shell-v12 .tenencias-map-legend,
.tenencias-map-shell-v12 .tenencias-map-footer,
.tenencias-map-shell-v12 .map-list-toggle {
  display: none !important;
}

@media (min-width: 980px) {
  .page-home-mockup-v12 .tenencias-explorer-layout {
    grid-template-columns: 1fr !important;
  }

  .page-home-mockup-v12 .tenencias-map-wrap {
    max-width: 540px;
  }
}

@media (max-width: 680px) {
  .tenencias-map-svg-v12 {
    min-height: 260px;
  }

  .tenencias-map-svg-v12 .tenencia-map-label-v12,
  .tenencias-map-svg-v12 .map-city-label-v12 {
    display: none;
  }

  .tenencias-map-status-v12 {
    min-height: 132px;
    height: 132px;
  }
}

/* v0.15 — interacción por grupo SVG y microajustes cartográficos. */
.tenencias-map-svg-v12 .tenencia-map-hit-v15 {
  fill: rgba(255,255,255,.001);
  stroke: none;
}

.tenencias-map-svg-v12 .tenencia-map-link-v12 {
  cursor: pointer;
  outline: none;
}

.tenencias-map-svg-v12 .tenencia-map-link-v12 .tenencia-map-label-group-v12,
.tenencias-map-svg-v12 .tenencia-map-link-v12 .tenencia-map-label-v12 {
  user-select: none;
  -webkit-user-select: none;
}


/* SOURCE: /css/mockup-v13.css */
/* v0.13 — mapa sin saltos visuales, panel limpio y cards superiores equilibradas. */

/* ---------- Corrección del panel del mapa ---------- */
.page-home-mockup-v13 .tenencias-map-status-v12 {
  grid-template-columns: 1fr !important;
  grid-template-rows: auto 1.55em 2.8em !important;
  align-content: start;
  gap: .18rem;
  height: 118px;
  min-height: 118px;
  padding: .92rem 1rem;
}

.page-home-mockup-v13 .tenencias-map-status-v12 .map-status-kicker,
.page-home-mockup-v13 .tenencias-map-status-v12 strong,
.page-home-mockup-v13 .tenencias-map-status-v12 span {
  grid-column: 1 / -1;
  max-width: 100%;
}

.page-home-mockup-v13 .tenencias-map-status-v12 strong {
  align-self: center;
  min-height: 0;
  font-size: .98rem;
  line-height: 1.18;
  -webkit-line-clamp: 1;
}

.page-home-mockup-v13 .tenencias-map-status-v12 span {
  align-self: start;
  min-height: 0;
  font-size: .76rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
}

/* ---------- Mapa más limpio ---------- */
.page-home-mockup-v13 .tenencias-map-svg-v12 {
  min-height: 315px;
}

/* Se retira el punto/etiqueta de Morelia para no competir con Santa María de Guido y Morelos. */
.page-home-mockup-v13 .map-city-marker-v12 {
  display: none !important;
}

/* Las rutas quedan como referencia secundaria, no como trazos dominantes. */
.page-home-mockup-v13 .map-primary-route-v12 {
  stroke-width: 2.35 !important;
  opacity: .48 !important;
}

.page-home-mockup-v13 .map-roads-v12 {
  stroke-width: 1.28 !important;
  opacity: .52 !important;
}

.page-home-mockup-v13 .map-hydrology-v12 {
  opacity: .46 !important;
}

.page-home-mockup-v13 .map-contours-v12 {
  opacity: .34 !important;
}

.page-home-mockup-v13 .tenencia-map-label-v12 {
  font-size: 8.05px !important;
  stroke-width: 3.4px !important;
  letter-spacing: -.02px;
}

.page-home-mockup-v13 .tenencia-map-ping-v12 {
  opacity: 0 !important;
}

.page-home-mockup-v13 .tenencia-map-link-v12:hover .tenencia-map-ping-v12,
.page-home-mockup-v13 .tenencia-map-link-v12:focus .tenencia-map-ping-v12,
.page-home-mockup-v13 .tenencia-map-link-v12:focus-visible .tenencia-map-ping-v12,
.page-home-mockup-v13 .tenencia-map-link-v12.is-active .tenencia-map-ping-v12 {
  opacity: .5 !important;
  transform: scale(1.24) !important;
}

.page-home-mockup-v13 .tenencia-map-link-v12:hover .tenencia-map-dot-v12,
.page-home-mockup-v13 .tenencia-map-link-v12:focus .tenencia-map-dot-v12,
.page-home-mockup-v13 .tenencia-map-link-v12:focus-visible .tenencia-map-dot-v12,
.page-home-mockup-v13 .tenencia-map-link-v12.is-active .tenencia-map-dot-v12 {
  transform: scale(1.08) !important;
}

/* ---------- Cards superiores del mismo tamaño ---------- */
@media (min-width: 980px) {
  .page-home-mockup-v13 .portal-grid-row--top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  .page-home-mockup-v13 .portal-grid-row--top > .portal-card {
    height: 100%;
  }

  .page-home-mockup-v13 .tenencias-explorer-card,
  .page-home-mockup-v13 .featured-tenencia-card {
    min-height: 100%;
  }

  .page-home-mockup-v13 .featured-tenencia-card {
    display: flex;
    flex-direction: column;
    padding: 1.45rem;
  }

  .page-home-mockup-v13 .featured-tenencia-card .card-heading {
    margin-bottom: .9rem;
  }

  .page-home-mockup-v13 .featured-tenencia-body {
    display: grid;
    grid-template-rows: auto minmax(300px, 1fr);
    flex: 1 1 auto;
    gap: 1.05rem;
    height: 100%;
  }

  .page-home-mockup-v13 .featured-tenencia-copy {
    display: grid;
    gap: .85rem;
  }

  .page-home-mockup-v13 .featured-tenencia-copy p {
    margin: 0;
    max-width: 56ch;
    line-height: 1.55;
  }

  .page-home-mockup-v13 .featured-tenencia-metrics {
    margin: .1rem 0 .1rem;
  }

  .page-home-mockup-v13 .featured-tenencia-copy .button {
    justify-self: start;
  }

  .page-home-mockup-v13 .featured-tenencia-media {
    align-self: stretch;
    height: 100%;
    min-height: 300px;
  }

  .page-home-mockup-v13 .featured-tenencia-media img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .page-home-mockup-v13 .featured-main {
    min-height: 0;
  }
}

@media (min-width: 1180px) {
  .page-home-mockup-v13 .featured-tenencia-body {
    grid-template-rows: auto minmax(330px, 1fr);
  }

  .page-home-mockup-v13 .featured-tenencia-media {
    min-height: 330px;
  }
}

@media (max-width: 680px) {
  .page-home-mockup-v13 .tenencias-map-status-v12 {
    height: 126px;
    min-height: 126px;
  }
}


/* SOURCE: /css/hotfix-v35.css */
/* v0.35 — Hotfix de cascada: restaura header institucional y fija Programas sin romper LAN. */

/* Header institucional: estos estilos se cargan al final para evitar que app.css/base o mockups viejos
   lo dejen blanco o con elementos invisibles. */
.site-header-v7,
.site-header-v8 {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(8, 25, 78, .94) !important;
  border-bottom: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: 0 6px 24px rgba(7, 14, 35, .18) !important;
  backdrop-filter: blur(14px) !important;
}
.site-header-v7 .header-inner-v8,
.site-header-v8 .header-inner-v8 {
  display: flex !important;
  align-items: center !important;
  gap: .85rem !important;
  min-height: 78px !important;
}
.site-header-v7 .brand,
.site-header-v8 .brand,
.site-header-v7 .brand-v7,
.site-header-v8 .brand-v8 {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  gap: .8rem !important;
  color: #fff !important;
  text-decoration: none !important;
}
.site-header-v7 .brand-mark,
.site-header-v8 .brand-mark,
.site-header-v7 .brand-copy,
.site-header-v8 .brand-copy,
.site-header-v7 .brand-product,
.site-header-v8 .brand-product,
.site-header-v7 .brand-product strong,
.site-header-v8 .brand-product strong {
  color: #fff !important;
}
.site-header-v7 .brand-mark,
.site-header-v8 .brand-mark {
  font-size: 2.7rem !important;
  line-height: .8 !important;
}
.site-header-v7 .brand-mark span,
.site-header-v8 .brand-mark span { color: #95a7ff !important; }
.site-header-v7 .brand-copy strong,
.site-header-v7 .brand-copy b,
.site-header-v8 .brand-copy strong,
.site-header-v8 .brand-copy b { display: block !important; }
.site-header-v7 .brand-product small,
.site-header-v8 .brand-product small { color: rgba(255,255,255,.72) !important; }
.site-header-v7 .brand-divider,
.site-header-v8 .brand-divider {
  display: block !important;
  width: 1px !important;
  height: 36px !important;
  background: rgba(255,255,255,.22) !important;
}
.site-header-v7 .header-actions-v8,
.site-header-v8 .header-actions-v8 {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
  margin-left: auto !important;
}
.site-header-v7 .nav-toggle,
.site-header-v8 .nav-toggle,
.site-header-v7 .header-search-toggle,
.site-header-v8 .header-search-toggle {
  display: inline-grid !important;
  place-items: center !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #fff !important;
  background: rgba(255,255,255,.07) !important;
}
.site-header-v7 .nav-toggle span:not(.sr-only),
.site-header-v8 .nav-toggle span:not(.sr-only) { background: #fff !important; }
.site-header-v7 .primary-nav-v8,
.site-header-v8 .primary-nav-v8,
.site-header-v7 .primary-nav-v7,
.site-header-v8 .primary-nav-v7 {
  color: #fff !important;
  background: rgba(11, 29, 85, .98) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.site-header-v7 .primary-nav a,
.site-header-v8 .primary-nav a {
  color: rgba(255,255,255,.84) !important;
  text-decoration: none !important;
}
.site-header-v7 .primary-nav a:hover,
.site-header-v8 .primary-nav a:hover,
.site-header-v7 .primary-nav a.is-active,
.site-header-v8 .primary-nav a.is-active {
  color: #fff !important;
  background: rgba(255,255,255,.13) !important;
}
.site-header-v7 .nav-search-form,
.site-header-v8 .nav-search-form {
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.12) !important;
}
.site-header-v7 .nav-search-form input,
.site-header-v8 .nav-search-form input {
  color: #fff !important;
  background: transparent !important;
}
.site-header-v7 .nav-search-form input::placeholder,
.site-header-v8 .nav-search-form input::placeholder { color: rgba(255,255,255,.7) !important; }
.site-header-v7 .nav-search-form button,
.site-header-v8 .nav-search-form button {
  color: #fff !important;
  background: rgba(255,255,255,.12) !important;
}
@media (min-width: 850px) {
  .site-header-v7 .header-actions-v8,
  .site-header-v8 .header-actions-v8 { display: none !important; }
  .site-header-v7 .primary-nav-v8,
  .site-header-v8 .primary-nav-v8,
  .site-header-v7 .primary-nav-v7,
  .site-header-v8 .primary-nav-v7 {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: .1rem !important;
    margin-left: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .site-header-v7 .primary-nav a,
  .site-header-v8 .primary-nav a {
    padding: .5rem .58rem !important;
    border-radius: 10px !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }
  .site-header-v7 .primary-nav-v8 .nav-search-form,
  .site-header-v8 .primary-nav-v8 .nav-search-form {
    display: grid !important;
    grid-template-columns: minmax(165px, 1fr) 42px !important;
    min-width: 240px !important;
    margin-left: .45rem !important;
  }
  .site-header-v7 .nav-search-form input,
  .site-header-v8 .nav-search-form input,
  .site-header-v7 .nav-search-form button,
  .site-header-v8 .nav-search-form button {
    min-height: 42px !important;
    border: 0 !important;
  }
}
@media (min-width: 1200px) {
  .site-header-v7 .primary-nav a,
  .site-header-v8 .primary-nav a { padding: .55rem .72rem !important; font-size: .82rem !important; }
  .site-header-v7 .primary-nav-v8 .nav-search-form,
  .site-header-v8 .primary-nav-v8 .nav-search-form { min-width: 310px !important; }
}
@media (max-width: 849px) {
  .site-header-v7 .brand-product,
  .site-header-v8 .brand-product,
  .site-header-v7 .brand-divider,
  .site-header-v8 .brand-divider { display: none !important; }
  .site-header-v7 .primary-nav,
  .site-header-v8 .primary-nav {
    position: fixed !important;
    inset: 84px 16px auto 16px !important;
    display: none !important;
    padding: .75rem !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 16px !important;
    background: rgba(11, 29, 85, .98) !important;
    box-shadow: 0 16px 34px rgba(6,15,42,.32) !important;
  }
  .site-header-v7 .primary-nav.is-open,
  .site-header-v8 .primary-nav.is-open { display: grid !important; }
  .site-header-v7 .primary-nav-v8 .nav-search-form,
  .site-header-v8 .primary-nav-v8 .nav-search-form { display: none !important; }
}

/* Programas: neutraliza pisadas legacy y deja CTAs consistentes. */
.page-programs-refresh .program-grid-refresh {
  display: grid !important;
  gap: 1.1rem !important;
}
.page-programs-refresh .program-card-rich {
  display: flex !important;
  flex-direction: column !important;
  gap: .75rem !important;
  min-height: 240px !important;
  padding: 1.25rem !important;
  color: #15234a !important;
  background: #fff !important;
  border: 1px solid #dce4f2 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(36, 48, 84, .06) !important;
}
.page-programs-refresh .program-card-rich *,
.page-programs-refresh .program-card-rich h2,
.page-programs-refresh .program-card-rich p {
  color: inherit;
  opacity: 1 !important;
  visibility: visible !important;
}
.page-programs-refresh .program-card-rich h2 {
  margin: .4rem 0 .25rem !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
}
.page-programs-refresh .program-card-rich p {
  margin: 0 !important;
  color: #61708e !important;
  font-size: .92rem !important;
  line-height: 1.55 !important;
}
.page-programs-refresh .program-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 1rem !important;
}
.page-programs-refresh .program-icon,
.page-programs-refresh .program-badge {
  display: inline-grid !important;
  place-items: center !important;
  background: #f0edfb !important;
  color: #4f4387 !important;
  opacity: 1 !important;
}
.page-programs-refresh .program-icon {
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  font-size: 1.05rem !important;
}
.page-programs-refresh .program-badge {
  min-height: 28px !important;
  padding: .35rem .65rem !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  text-transform: capitalize !important;
}
.page-programs-refresh .program-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: .5rem !important;
  margin-top: auto !important;
}
.page-programs-refresh .program-card-actions .button,
.page-programs-refresh .program-card-cta > .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: .6rem .8rem !important;
  border-radius: 10px !important;
  font-size: .82rem !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.page-programs-refresh .program-card-employment {
  background: linear-gradient(135deg, #243155 0%, #4d4388 100%) !important;
  color: #fff !important;
}
.page-programs-refresh .program-card-employment h2,
.page-programs-refresh .program-card-employment p { color: #fff !important; }
.page-programs-refresh .program-card-employment .program-icon,
.page-programs-refresh .program-card-employment .program-badge { color: #fff !important; background: rgba(255,255,255,.16) !important; }
.page-programs-refresh .program-card-employment .button-outline { color: #fff !important; border-color: rgba(255,255,255,.45) !important; }
.page-programs-refresh .program-card-cta { background: linear-gradient(180deg, #fff 0%, #f8f7ff 100%) !important; }
@media (min-width: 760px) { .page-programs-refresh .program-grid-refresh { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1080px) { .page-programs-refresh .program-grid-refresh { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) {
  .page-programs-refresh .program-employment-callout { border-radius: 18px !important; }
  .page-programs-refresh .program-card-rich { min-height: auto !important; }
  .page-programs-refresh .program-card-actions .button,
  .page-programs-refresh .program-card-cta > .button { width: 100% !important; }
}


/* SOURCE: /css/hotfix-v36.css */
/* v0.36 — Homologación visual de cards de Programas y estados hover. */

.page-programs-refresh .program-grid-refresh {
  display: grid !important;
  gap: 1.15rem !important;
  align-items: stretch !important;
}

.page-programs-refresh .program-card-rich {
  position: relative !important;
  isolation: isolate !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .75rem !important;
  min-height: 248px !important;
  padding: 1.25rem !important;
  overflow: hidden !important;
  color: #16264b !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(83,65,137,.07), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  border: 1px solid rgba(202, 211, 228, .92) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 32px rgba(31,45,73,.065) !important;
  transform: translateY(0) !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease !important;
}

.page-programs-refresh .program-card-rich::after {
  content: '' !important;
  position: absolute !important;
  inset: auto -58px -72px auto !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 999px !important;
  background: rgba(83,65,137,.055) !important;
  z-index: -1 !important;
  transition: transform .22s ease, opacity .22s ease !important;
}

.page-programs-refresh .program-card-rich:hover,
.page-programs-refresh .program-card-rich:focus-within {
  transform: translateY(-4px) !important;
  border-color: rgba(83,65,137,.32) !important;
  box-shadow: 0 20px 44px rgba(31,45,73,.11) !important;
}

.page-programs-refresh .program-card-rich:hover::after,
.page-programs-refresh .program-card-rich:focus-within::after {
  transform: scale(1.08) !important;
  opacity: .95 !important;
}

.page-programs-refresh .program-card-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin: 0 !important;
}

.page-programs-refresh .program-icon,
.page-programs-refresh .program-badge {
  display: inline-grid !important;
  place-items: center !important;
  color: #534189 !important;
  background: #f0edfb !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.page-programs-refresh .program-icon {
  flex: 0 0 auto !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  font-size: 1.03rem !important;
  font-weight: 900 !important;
  box-shadow: inset 0 0 0 1px rgba(83,65,137,.04) !important;
}

.page-programs-refresh .program-badge {
  max-width: 62% !important;
  min-height: 28px !important;
  padding: .36rem .68rem !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: capitalize !important;
  white-space: nowrap !important;
}

.page-programs-refresh .program-card-rich h2 {
  margin: .45rem 0 .1rem !important;
  color: #16264b !important;
  font-size: 1.16rem !important;
  line-height: 1.18 !important;
  letter-spacing: -.015em !important;
}

.page-programs-refresh .program-card-rich p {
  flex: 1 1 auto !important;
  margin: 0 !important;
  color: #61708e !important;
  font-size: .92rem !important;
  line-height: 1.55 !important;
}

.page-programs-refresh .program-card-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: .55rem !important;
  margin-top: auto !important;
  padding-top: .25rem !important;
}

.page-programs-refresh .program-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: .64rem .88rem !important;
  border-radius: 11px !important;
  font-size: .8rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    color .18s ease !important;
}

.page-programs-refresh .program-action-primary {
  color: #fff !important;
  background: #534189 !important;
  border: 1px solid #534189 !important;
  box-shadow: 0 10px 20px rgba(83,65,137,.15) !important;
}

.page-programs-refresh .program-action-primary:hover,
.page-programs-refresh .program-action-primary:focus-visible {
  color: #fff !important;
  background: #3f326f !important;
  border-color: #3f326f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 26px rgba(83,65,137,.22) !important;
}

.page-programs-refresh .program-action-secondary {
  color: #534189 !important;
  background: #fff !important;
  border: 1px solid rgba(83,65,137,.42) !important;
  box-shadow: none !important;
}

.page-programs-refresh .program-action-secondary:hover,
.page-programs-refresh .program-action-secondary:focus-visible {
  color: #342a60 !important;
  background: #f4f1ff !important;
  border-color: rgba(83,65,137,.68) !important;
  transform: translateY(-1px) !important;
}

/* Card destacada: conserva protagonismo, pero usa la misma estructura y botones. */
.page-programs-refresh .program-card-employment {
  color: #fff !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(146,218,235,.18), transparent 30%),
    linear-gradient(135deg, #243155 0%, #4f4387 100%) !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 18px 46px rgba(32,36,77,.16) !important;
}

.page-programs-refresh .program-card-employment::after {
  background: rgba(255,255,255,.08) !important;
}

.page-programs-refresh .program-card-employment h2,
.page-programs-refresh .program-card-employment p {
  color: #fff !important;
}

.page-programs-refresh .program-card-employment p {
  color: rgba(255,255,255,.82) !important;
}

.page-programs-refresh .program-card-employment .program-icon,
.page-programs-refresh .program-card-employment .program-badge {
  color: #fff !important;
  background: rgba(255,255,255,.15) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

.page-programs-refresh .program-card-employment .program-action-primary {
  color: #15234a !important;
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12) !important;
}

.page-programs-refresh .program-card-employment .program-action-primary:hover,
.page-programs-refresh .program-card-employment .program-action-primary:focus-visible {
  color: #15234a !important;
  background: #f3f5ff !important;
  border-color: #f3f5ff !important;
  box-shadow: 0 16px 30px rgba(0,0,0,.18) !important;
}

.page-programs-refresh .program-card-employment .program-action-secondary {
  color: #fff !important;
  background: rgba(255,255,255,.09) !important;
  border-color: rgba(255,255,255,.28) !important;
}

.page-programs-refresh .program-card-employment .program-action-secondary:hover,
.page-programs-refresh .program-card-employment .program-action-secondary:focus-visible {
  color: #fff !important;
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.46) !important;
}

.page-programs-refresh .program-card-cta {
  border-style: solid !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(146,218,235,.1), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8f6ff 100%) !important;
}

/* Neutraliza estilos viejos de .button dentro de Programas para evitar estados azules/negros inesperados. */
.page-programs-refresh .program-card-rich .button,
.page-programs-refresh .program-card-rich .button-small,
.page-programs-refresh .program-card-rich .button-outline {
  all: unset;
}

@media (min-width: 760px) {
  .page-programs-refresh .program-grid-refresh { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 1080px) {
  .page-programs-refresh .program-grid-refresh { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 640px) {
  .page-programs-refresh .program-card-rich { min-height: auto !important; }
  .page-programs-refresh .program-card-actions { display: grid !important; grid-template-columns: 1fr !important; }
  .page-programs-refresh .program-action { width: auto !important; }
}


/* SOURCE: /css/hotfix-v37.css */
/* v0.37 — Agenda/Eventos: contraste del destacado y superbloque promocional dinámico. */

.page-events .editorial-feature-events {
  position: relative;
  overflow: hidden;
  border-color: rgba(202, 211, 228, .96);
  background:
    radial-gradient(circle at 8% 6%, rgba(83,65,137,.055), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.page-events .editorial-feature-events .editorial-feature-copy {
  min-width: 0;
}

.page-events .editorial-feature-events .editorial-feature-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: #52617d;
  font-size: .98rem;
  line-height: 1.55;
}

.page-events .event-meta-pills {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.25rem 0 1.1rem !important;
  padding: 0 !important;
  list-style: none !important;
  color: #17264b !important;
}

.page-events .event-meta-pills li {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 32px;
  padding: .42rem .68rem;
  color: #243155 !important;
  background: #f2f0fb;
  border: 1px solid rgba(83,65,137,.16);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1;
  opacity: 1 !important;
}

.page-events .event-meta-pills li span {
  color: #534189;
  font-weight: 900;
}

.page-events .editorial-feature-events .button {
  width: min(100%, 100%);
  margin-top: .2rem;
  color: #fff !important;
  background: #534189 !important;
  border-color: #534189 !important;
  box-shadow: 0 12px 24px rgba(83,65,137,.16);
}

.page-events .editorial-feature-events .button:hover,
.page-events .editorial-feature-events .button:focus-visible {
  background: #40316f !important;
  border-color: #40316f !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(83,65,137,.24);
}

.page-events .editorial-feature-media img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.page-events .agenda-side-panel {
  align-self: stretch;
}

.page-events .agenda-side-panel-event {
  padding: 0 !important;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255,255,255,.13);
  background: linear-gradient(145deg, #1b2b5d 0%, #3f367d 58%, #6d578d 100%);
  box-shadow: 0 20px 44px rgba(31,45,73,.16);
}

.page-events .agenda-side-panel-event > .eyebrow {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .34rem .55rem;
  color: #d8f5ff;
  background: rgba(17,31,70,.68);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.page-events .agenda-side-panel-event img {
  display: block;
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.page-events .agenda-side-panel-copy {
  display: grid;
  gap: .65rem;
  padding: 1.1rem;
}

.page-events .agenda-side-panel-event .event-date,
.page-events .agenda-side-panel-event .event-location {
  margin: 0;
  color: #dce8fb;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-events .agenda-side-panel-event h2 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.page-events .agenda-side-panel-event p:not(.eyebrow):not(.event-date):not(.event-location) {
  margin: 0;
  color: rgba(255,255,255,.83);
  line-height: 1.55;
}

.page-events .agenda-side-panel-event .button {
  margin-top: .25rem;
  color: #15234a !important;
  background: #fff !important;
  border-color: #fff !important;
}

.page-events .agenda-side-panel-event .button:hover,
.page-events .agenda-side-panel-event .button:focus-visible {
  background: #f3f5ff !important;
  border-color: #f3f5ff !important;
  transform: translateY(-1px);
}

.page-events .event-card a {
  height: 100%;
}

.page-events .event-card .event-date,
.page-events .event-card .event-location {
  color: #534189;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .page-events .event-meta-pills { display: grid !important; grid-template-columns: 1fr; }
  .page-events .event-meta-pills li { justify-content: flex-start; width: 100%; }
  .page-events .editorial-feature-media img { min-height: 220px; }
}


/* SOURCE: /css/hotfix-v38.css */
/* v0.38 — Eventos: evento principal/recomendado y CTA público. */

.page-events .calendar-banner-rich {
  display: none !important;
}

.page-events .editorial-feature-events .eyebrow::after {
  content: '';
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-left: .45rem;
  border-radius: 999px;
  background: #42c6df;
  vertical-align: .1rem;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 1rem;
  min-height: 430px;
  padding: 1.35rem !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(145deg, #17295c 0%, #40377e 58%, #664f89 100%) !important;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event)::before {
  content: '';
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) > * {
  position: relative;
  z-index: 1;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) .eyebrow {
  color: #8be3f2;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) h2 {
  max-width: 14rem;
  color: #fff;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) p:not(.eyebrow) {
  color: rgba(255,255,255,.86);
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) .button-light {
  width: 100%;
  color: #182654 !important;
  background: #fff !important;
  border-color: #fff !important;
}

.page-events .agenda-side-panel:not(.agenda-side-panel-event) .text-link.light {
  color: #fff !important;
}

.page-events .agenda-side-panel-event > .eyebrow {
  text-transform: uppercase;
}

@media (max-width: 1020px) {
  .page-events .agenda-side-panel:not(.agenda-side-panel-event) {
    min-height: auto;
  }
}


/* SOURCE: /css/hotfix-v39.css */
/* v0.39 — Eventos: superbloque recomendado con imagen full-bleed y overlay editorial. */

.page-events .agenda-side-panel-event {
  position: relative;
  isolation: isolate;
  display: flex;
  align-self: stretch;
  min-height: 100%;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(218, 226, 240, .9);
  border-radius: 26px;
  background: linear-gradient(160deg, #1a2b5b 0%, #43387d 52%, #6a538e 100%);
  box-shadow: 0 22px 46px rgba(29, 41, 77, .16);
}

.page-events .agenda-side-panel-event::before,
.page-events .agenda-side-panel-event::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-events .agenda-side-panel-event::before {
  background-image: var(--recommended-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.025);
}

.page-events .agenda-side-panel-event::after {
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.16), transparent 22%),
    linear-gradient(180deg, rgba(18, 28, 61, .16) 0%, rgba(20, 31, 68, .12) 18%, rgba(28, 40, 83, .58) 54%, rgba(49, 40, 94, .88) 76%, rgba(69, 54, 122, .96) 100%),
    linear-gradient(145deg, rgba(17, 29, 63, .34) 0%, rgba(91, 72, 145, .32) 100%);
}

.page-events .agenda-side-panel-event .agenda-side-panel-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  min-height: 100%;
  padding: 1.05rem;
}

.page-events .agenda-side-panel-event .agenda-side-panel-top {
  display: flex;
  align-items: flex-start;
}

.page-events .agenda-side-panel-event .agenda-side-panel-body {
  display: grid;
  gap: .72rem;
  margin-top: auto;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 25, 56, .08) 0%, rgba(17, 25, 57, .26) 18%, rgba(24, 33, 73, .54) 100%);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.page-events .agenda-side-panel-event .eyebrow {
  margin: 0;
  padding: .42rem .68rem;
  color: #e1fbff;
  background: rgba(14, 25, 58, .56);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(12, 18, 42, .16);
}

.page-events .agenda-side-panel-event .event-date,
.page-events .agenda-side-panel-event .event-location {
  margin: 0;
  color: #f0f5ff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-events .agenda-side-panel-event .event-location {
  color: #d6f1ff;
}

.page-events .agenda-side-panel-event h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.page-events .agenda-side-panel-event p:not(.eyebrow):not(.event-date):not(.event-location) {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}

.page-events .agenda-side-panel-event .button {
  width: 100%;
  margin-top: .15rem;
  color: #1b2b5d !important;
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.96) !important;
  box-shadow: 0 10px 22px rgba(9, 18, 43, .18);
}

.page-events .agenda-side-panel-event .button:hover,
.page-events .agenda-side-panel-event .button:focus-visible {
  color: #172550 !important;
  background: #fff !important;
  border-color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(9, 18, 43, .22);
}

@media (max-width: 1020px) {
  .page-events .agenda-side-panel-event {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .page-events .agenda-side-panel-event {
    min-height: 380px;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    padding: .9rem;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-body {
    padding: .9rem;
  }
}


/* SOURCE: /css/hotfix-v40.css */
/* v0.40 — Eventos permanentes, fechas legibles y detalles editoriales. */

.page-events .event-card .event-date,
.page-events .agenda-side-panel-event .event-date {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .35rem;
  padding: .32rem .55rem;
  color: #392b74 !important;
  background: #f0ecff;
  border: 1px solid rgba(83,65,137,.16);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

.page-events .event-card .event-date::before,
.page-events .agenda-side-panel-event .event-date::before {
  content: '▤';
  color: #534189;
  font-size: .78rem;
}

.page-events .agenda-side-panel-event .event-date {
  color: #fff !important;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.16);
}

.page-events .agenda-side-panel-event .event-date::before {
  color: #e3f9ff;
}

.page-events .event-card-permanent .event-date {
  color: #005f73 !important;
  background: #e9fbff;
  border-color: rgba(0,96,128,.18);
}

.page-events .event-card-permanent .event-date::before {
  content: '∞';
  color: #006080;
}

.page-detail .event-details-panel {
  margin: 1.4rem 0 1.8rem;
  padding: 1.25rem;
  border: 1px solid rgba(83,65,137,.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(83,65,137,.06), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fbfbff 100%);
  box-shadow: 0 16px 34px rgba(31, 42, 80, .08);
}

.page-detail .event-details-panel .eyebrow {
  margin-bottom: .55rem;
}

.page-detail .event-details-panel ul {
  margin: .35rem 0 0;
  padding-left: 1.15rem;
}

.page-detail .event-details-panel li + li {
  margin-top: .35rem;
}

.page-detail .event-meta.large li:first-child {
  font-weight: 850;
}

.admin-form label.checkline + label input[name="scheduleNote"] {
  min-height: 42px;
}


/* SOURCE: /css/hotfix-v41.css */
/* v0.41 — Comunidad productiva: categorías homologadas e interactivas. */

.portal-home .directory-card-expanded .card-heading .eyebrow {
  color: #006080;
}

.portal-home .directory-card-expanded .card-heading > a[data-directory-more] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .45rem .8rem;
  border-radius: 999px;
  color: #534189;
  background: #f5f1ff;
  border: 1px solid rgba(83,65,137,.14);
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.portal-home .directory-card-expanded .card-heading > a[data-directory-more]:hover,
.portal-home .directory-card-expanded .card-heading > a[data-directory-more]:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(83,65,137,.28);
  box-shadow: 0 10px 22px rgba(83,65,137,.12);
}

.portal-home .directory-filters-actionable {
  gap: .5rem;
  margin: 1rem 0 1rem;
}

.portal-home .directory-filters-actionable button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .42rem .86rem;
  border: 1px solid var(--v7-line, #d9e1ee);
  border-radius: 999px;
  color: var(--v7-violet, #534189);
  background: #f7f4ff;
  font: inherit;
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.portal-home .directory-filters-actionable button:hover,
.portal-home .directory-filters-actionable button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(83,65,137,.32);
  background: #fff;
  box-shadow: 0 10px 20px rgba(44,37,114,.1);
}

.portal-home .directory-filters-actionable button.is-active {
  color: #fff;
  background: #534189;
  border-color: #534189;
  box-shadow: 0 10px 20px rgba(83,65,137,.18);
}

.portal-home .directory-panels {
  min-height: 0;
}

.portal-home .directory-panel[hidden] {
  display: none !important;
}

.portal-home .directory-panel.is-active {
  animation: miDirectoryPanelIn 220ms cubic-bezier(.16,1,.3,1) both;
}

@keyframes miDirectoryPanelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-directory .filter-bar-rich label:has(select[name="tipo"]) span::after {
  content: ' de directorio';
}

@media (prefers-reduced-motion: reduce) {
  .portal-home .directory-panel.is-active { animation: none; }
  .portal-home .directory-filters-actionable button,
  .portal-home .directory-card-expanded .card-heading > a[data-directory-more] {
    transition: none;
  }
}

@media (max-width: 760px) {
  .portal-home .directory-card-expanded .card-heading > a[data-directory-more] {
    width: 100%;
  }

  .portal-home .directory-filters-actionable {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-home .directory-filters-actionable button {
    width: 100%;
  }
}


/* SOURCE: /css/hotfix-v42.css */
/* v0.42 — Ajustes editoriales finales: CTA compacto, evento recomendado, bolsa fija y mapa móvil con nombres. */

/* 1) Home / Comunidad productiva: evitar salto raro del CTA */
.portal-home .directory-card-expanded .card-heading > a[data-directory-more] {
  gap: .42rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.portal-home .directory-card-expanded .card-heading > a[data-directory-more] span {
  display: inline-block;
}

/* 2) Home / Bolsa de trabajo: layout estable y botón fijo al fondo */
.portal-home .jobs-card-expanded {
  display: flex;
  flex-direction: column;
}

.portal-home .jobs-expanded-layout {
  flex: 1 1 auto;
  align-items: stretch;
}

.portal-home .jobs-list-expanded {
  display: grid;
  align-content: start;
  grid-auto-rows: minmax(72px, auto);
}

.portal-home .jobs-list-expanded .job-item {
  min-height: 72px;
}

.portal-home .job-feature-box {
  min-height: 100%;
}

.portal-home .jobs-footer-button {
  margin-top: auto;
}

/* 3) Ficha de evento / bloque lateral: evento recomendado en lugar de video */
.page-detail .event-detail-recommended-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-self: stretch;
  min-height: 360px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(218, 226, 240, .9);
  border-radius: 26px;
  background: linear-gradient(160deg, #1a2b5b 0%, #43387d 52%, #6a538e 100%);
  box-shadow: 0 22px 46px rgba(29, 41, 77, .16);
}

.page-detail .event-detail-recommended-card::before,
.page-detail .event-detail-recommended-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-detail .event-detail-recommended-card::before {
  background-image: var(--recommended-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.025);
}

.page-detail .event-detail-recommended-card::after {
  background:
    radial-gradient(circle at 82% 22%, rgba(255,255,255,.16), transparent 22%),
    linear-gradient(180deg, rgba(18, 28, 61, .16) 0%, rgba(20, 31, 68, .12) 18%, rgba(28, 40, 83, .58) 54%, rgba(49, 40, 94, .88) 76%, rgba(69, 54, 122, .96) 100%),
    linear-gradient(145deg, rgba(17, 29, 63, .34) 0%, rgba(91, 72, 145, .32) 100%);
}

.page-detail .event-detail-recommended-card .agenda-side-panel-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  min-height: 100%;
  padding: 1.05rem;
}

.page-detail .event-detail-recommended-card .agenda-side-panel-top {
  display: flex;
  align-items: flex-start;
}

.page-detail .event-detail-recommended-card .agenda-side-panel-body {
  display: grid;
  gap: .72rem;
  margin-top: auto;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 25, 56, .08) 0%, rgba(17, 25, 57, .26) 18%, rgba(24, 33, 73, .54) 100%);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}

.page-detail .event-detail-recommended-card .eyebrow {
  margin: 0;
  padding: .42rem .68rem;
  color: #e1fbff;
  background: rgba(14, 25, 58, .56);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(12, 18, 42, .16);
}

.page-detail .event-detail-recommended-card .event-date,
.page-detail .event-detail-recommended-card .event-location {
  margin: 0;
  color: #f0f5ff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.page-detail .event-detail-recommended-card .event-location {
  color: #d6f1ff;
}

.page-detail .event-detail-recommended-card h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.page-detail .event-detail-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location) {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}

.page-detail .event-detail-recommended-card .button {
  width: 100%;
  margin-top: .15rem;
  color: #1b2b5d !important;
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(255,255,255,.96) !important;
  box-shadow: 0 10px 22px rgba(9, 18, 43, .18);
}

.page-detail .event-detail-recommended-card .button:hover,
.page-detail .event-detail-recommended-card .button:focus-visible {
  color: #172550 !important;
  background: #fff !important;
  border-color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(9, 18, 43, .22);
}

/* 4) Mapa móvil / mostrar nombre de cada tenencia junto a su punto */
@media (max-width: 680px) {
  .tenencias-map-svg-v12 {
    min-height: 300px;
  }

  .tenencias-map-svg-v12 .tenencia-map-label-v12,
  .tenencias-map-svg-v12 .map-city-label-v12 {
    display: block;
  }

  .tenencias-map-svg-v12 .tenencia-map-label-v12 {
    font-size: 6px;
    stroke-width: 3.35px;
    letter-spacing: -.02px;
  }

  .tenencias-map-svg-v12 .map-city-label-v12 {
    font-size: 7px;
    stroke-width: 3.4px;
  }
}

@media (max-width: 760px) {
  .page-detail .event-detail-recommended-card {
    min-height: 380px;
  }

  .page-detail .event-detail-recommended-card .agenda-side-panel-copy {
    padding: .9rem;
  }

  .page-detail .event-detail-recommended-card .agenda-side-panel-body {
    padding: .9rem;
  }
}


/* SOURCE: /css/hotfix-v43.css */
/* v0.43 — Evento recomendado consistente y bolsa de trabajo administrable. */

/* Ficha de evento: acercar el bloque recomendado al tamaño/ritmo de /eventos. */
@media (min-width: 980px) {
  .page-event-detail .detail-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
}

.page-event-detail .event-detail-recommended-card {
  min-height: 520px;
}

.page-event-detail .event-detail-recommended-card .agenda-side-panel-copy {
  padding: 1.08rem;
}

.page-event-detail .event-detail-recommended-card .agenda-side-panel-body {
  padding: 1.05rem;
}

.page-event-detail .event-detail-recommended-card h2 {
  font-size: clamp(1.55rem, 2.45vw, 1.85rem);
}

/* Home / Bolsa de trabajo: jornada 20% más ligera y botón inferior estable. */
.portal-home .jobs-expanded-layout {
  align-items: center;
}

.portal-home .job-feature-box {
  min-height: auto;
  align-self: center;
  padding: 1.15rem 1.2rem;
}

.portal-home .job-feature-box h3 {
  font-size: 1.05rem;
  line-height: 1.22;
}

.portal-home .job-feature-box p {
  margin-bottom: .45rem;
  line-height: 1.4;
}

.portal-home .jobs-list-expanded {
  grid-auto-rows: minmax(64px, auto);
}

.portal-home .jobs-list-expanded .job-item {
  min-height: 64px;
  padding-top: .64rem;
  padding-bottom: .64rem;
}

@media (max-width: 760px) {
  .page-event-detail .event-detail-recommended-card {
    min-height: 420px;
  }

  .portal-home .job-feature-box {
    align-self: stretch;
  }
}


/* SOURCE: /css/hotfix-v44.css */
/* v0.44 — Bolsa de Trabajo con ficha de vacante, postulación y eventos laborales. */

.portal-home .jobs-list-expanded .job-item,
.page-employment-refresh .vacancy-row-link {
  color: inherit;
  text-decoration: none;
}

.portal-home .jobs-list-expanded .job-item {
  display: flex;
  justify-content: space-between;
  gap: .7rem;
  align-items: center;
  padding-bottom: .55rem;
  border-bottom: 1px solid #e5e9f1;
}

.portal-home .jobs-list-expanded .job-item:hover strong,
.page-employment-refresh .vacancy-row-link:hover h3 {
  color: var(--violet);
}

.page-employment-refresh .vacancy-list-rich article {
  display: block;
  padding: 0;
}

.page-employment-refresh .vacancy-row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
}

.page-employment-refresh .employment-side-light ul li {
  line-height: 1.45;
}

.page-job-detail .job-detail-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.page-job-detail .job-detail-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.15rem 0 1.35rem;
}

.page-job-detail .job-detail-metadata span {
  display: grid;
  gap: .22rem;
  padding: .85rem;
  border: 1px solid #dfe6f2;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f6f4ff 100%);
  color: var(--muted);
}

.page-job-detail .job-detail-metadata strong {
  color: var(--navy);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.page-job-detail .compact-form {
  gap: .8rem;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.page-job-detail .job-cv-drop {
  min-height: 138px;
}

.admin-sidebar .admin-subnav a span {
  font-size: .95rem;
}

@media (max-width: 760px) {
  .page-job-detail .job-detail-metadata {
    grid-template-columns: 1fr;
  }

  .page-employment-refresh .vacancy-row-link {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* SOURCE: /css/hotfix-v45.css */
/* v0.45 — Formulario de postulación más amable y respirado. */

.page-job-detail .form-layout {
  gap: 1.6rem;
}

.page-job-detail .job-apply-aside {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(219, 226, 240, .95);
  border-radius: 26px;
  color: var(--text);
  background: #fff;
  box-shadow: 0 24px 54px rgba(23, 36, 78, .16);
}

.page-job-detail .job-apply-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1.35rem 1.35rem 1.2rem;
  color: #fff;
  background:
    radial-gradient(circle at 88% 16%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(145deg, #19285a 0%, #45357f 62%, #6650a5 100%);
}

.page-job-detail .job-apply-header .aside-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.05rem;
}

.page-job-detail .job-apply-header .eyebrow {
  margin: 0 0 .38rem;
  color: #d6fbff;
}

.page-job-detail .job-apply-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.page-job-detail .job-apply-header p:not(.eyebrow) {
  margin: .62rem 0 0;
  color: rgba(255,255,255,.86);
  line-height: 1.55;
}

.page-job-detail .job-application-form {
  display: grid;
  gap: .95rem;
  padding: 1.2rem;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: none;
}

.page-job-detail .job-application-form .form-grid,
.page-job-detail .job-application-form .job-apply-grid {
  gap: .85rem;
  margin: 0;
}

.page-job-detail .job-application-form label:not(.file-drop):not(.checkline) {
  display: grid;
  gap: .42rem;
  color: #172550;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .01em;
}

.page-job-detail .job-application-form input:not([type='file']):not([type='checkbox']),
.page-job-detail .job-application-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .78rem .85rem;
  border: 1px solid #d7e0ee;
  border-radius: 14px;
  color: #172550;
  background: #fff;
  box-shadow: 0 8px 20px rgba(23, 36, 78, .035);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.page-job-detail .job-application-form textarea {
  min-height: 108px;
  resize: vertical;
  line-height: 1.45;
}

.page-job-detail .job-application-form input:not([type='file']):not([type='checkbox']):focus,
.page-job-detail .job-application-form textarea:focus {
  outline: none;
  border-color: #6750b8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(103, 80, 184, .12);
}

.page-job-detail .job-cv-drop {
  min-height: 132px;
  padding: 1.15rem;
  border: 2px dashed #bfb4ef;
  border-radius: 18px;
  color: #40346f !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(103, 80, 184, .1), transparent 36%),
    linear-gradient(180deg, #fbfaff 0%, #f5f2ff 100%);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.page-job-detail .job-cv-drop:hover,
.page-job-detail .job-cv-drop:focus-within {
  border-color: #6650a5;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(75, 59, 137, .13);
}

.page-job-detail .job-cv-drop span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #23346b, #6650a5);
  font-size: 1.25rem;
}

.page-job-detail .job-cv-drop strong {
  color: #1c2d60;
  font-size: .98rem;
}

.page-job-detail .job-cv-drop small {
  color: #6f7890;
}

.page-job-detail .job-privacy-line {
  margin: 0;
  padding: .82rem .9rem;
  border: 1px solid #e2e7f2;
  border-radius: 16px;
  color: #4d5872 !important;
  background: #f8f7ff;
  line-height: 1.45;
}

.page-job-detail .job-privacy-line input {
  flex: 0 0 auto;
}

.page-job-detail .job-submit-button {
  min-height: 52px;
  border-radius: 16px;
  font-size: .95rem;
  box-shadow: 0 14px 28px rgba(51, 41, 110, .16);
}

@media (min-width: 850px) {
  .page-job-detail .form-layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 440px);
  }
}

@media (max-width: 760px) {
  .page-job-detail .job-apply-header {
    grid-template-columns: 1fr;
    padding: 1.15rem;
  }

  .page-job-detail .job-application-form {
    padding: 1rem;
  }

  .page-job-detail .job-apply-grid {
    grid-template-columns: 1fr !important;
  }
}


/* SOURCE: /css/hotfix-v46.css */
/* v0.46 — Compartir social y panel administrativo guiado. */

/* Share sheet global */
.share-sheet[hidden] { display: none !important; }
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 34, .66);
  backdrop-filter: blur(5px);
}
.share-sheet-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(1.1rem, 4vw, 1.55rem);
  border: 1px solid rgba(218,226,240,.82);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #f7f8ff 100%);
  box-shadow: 0 28px 60px rgba(12, 20, 44, .28);
  animation: shareCardIn .24s cubic-bezier(.16,1,.3,1);
}
.share-sheet-close {
  position: absolute;
  top: .8rem;
  right: .8rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  color: #1f2f5d;
  background: #fff;
  font-size: 1.1rem;
  font-weight: 900;
}
.share-sheet-card h2 { margin: .18rem 2.2rem .35rem 0; color: #17244d; font-size: clamp(1.55rem, 4vw, 2rem); }
.share-sheet-subtitle, .share-sheet-note { margin: 0; color: #63708a; line-height: 1.55; }
.share-sheet-note { margin-top: .8rem; font-size: .82rem; }
.share-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .68rem; margin-top: 1.05rem; }
.share-action {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: center;
  min-height: 58px;
  padding: .78rem;
  border: 1px solid #dfe6f2;
  border-radius: 15px;
  color: #17244d;
  background: #fff;
  font: inherit;
  text-align: left;
  box-shadow: 0 10px 24px rgba(24, 36, 77, .06);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.share-action:hover, .share-action:focus-visible {
  color: #17244d;
  border-color: rgba(76, 63, 137, .38);
  background: #fbf9ff;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(24, 36, 77, .12);
}
.share-action span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #293b7a, #5a4690);
  font-weight: 900;
}
.share-action strong, .share-action small { display: block; }
.share-action strong { font-size: .92rem; }
.share-action small { margin-top: .12rem; color: #67738c; font-size: .72rem; line-height: 1.25; }
.share-action-native { grid-column: 1 / -1; background: linear-gradient(135deg, #293b7a, #5a4690); color: #fff; border-color: rgba(255,255,255,.24); }
.share-action-native:hover, .share-action-native:focus-visible { color: #fff; background: linear-gradient(135deg, #22336e, #4b3d83); }
.share-action-native span { color: #293b7a; background: #fff; }
.share-action-native small { color: rgba(255,255,255,.8); }
@keyframes shareCardIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .share-actions { grid-template-columns: 1fr; } .share-sheet { align-items: end; padding: .75rem; } .share-sheet-card { border-radius: 22px 22px 18px 18px; } }

/* Admin UX */
.admin-header-actions { display: flex; align-items: center; gap: .75rem; }
.admin-public-link {
  display: none;
  padding: .58rem .78rem;
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  color: #29336f;
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
}
.admin-subnav { display: grid; gap: .22rem; margin: -.15rem 0 .2rem 2.05rem; }
.admin-subnav a { padding: .45rem .55rem !important; font-size: .78rem !important; opacity: .88; }
.admin-subnav a::before { content: '—'; margin-right: .35rem; opacity: .5; }
.admin-action-row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; }
.admin-hero-guide {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid rgba(218,226,240,.9);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 25%),
    linear-gradient(135deg, #152856 0%, #2f3c80 48%, #5b4690 100%);
  box-shadow: 0 20px 44px rgba(25, 35, 77, .18);
}
.admin-hero-guide h2 { margin: .18rem 0 .35rem; color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.05; }
.admin-hero-guide p:not(.eyebrow) { max-width: 820px; margin: 0; color: rgba(255,255,255,.86); line-height: 1.62; }
.admin-hero-guide .eyebrow { color: #d7fbff; }
.admin-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.admin-hero-actions .button { background: #fff; color: #20306c; border-color: #fff; }
.admin-hero-actions .button-outline, .admin-hero-actions .button-ghost { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.admin-metrics-v46 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.admin-metrics-v46 article { position: relative; overflow: hidden; min-height: 150px; }
.admin-metrics-v46 article::after { content: ''; position: absolute; right: -22px; bottom: -30px; width: 88px; height: 88px; border-radius: 999px; background: rgba(76,63,137,.07); }
.admin-flow-board, .admin-kpi-strip, .admin-helper-panel {
  display: grid;
  gap: .85rem;
  margin-bottom: 1rem;
}
.admin-flow-board { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.admin-flow-board article, .admin-kpi-strip article, .admin-helper-panel {
  padding: 1rem;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 36, 77, .06);
}
.admin-flow-board span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #293b7a, #5a4690);
  font-weight: 900;
}
.admin-flow-board h3 { margin: .65rem 0 .24rem; color: #17244d; }
.admin-flow-board p { margin: 0; color: #68758e; line-height: 1.5; }
.admin-kpi-strip { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.admin-kpi-strip article span, .admin-kpi-strip article small { display: block; color: #68758e; }
.admin-kpi-strip article strong { display: block; margin: .18rem 0; color: #29336f; font-size: 2rem; }
.admin-helper-panel { padding: 1.1rem; background: linear-gradient(135deg, #fff 0%, #f8f6ff 100%); }
.admin-helper-panel h2 { margin: .2rem 0 0; color: #17244d; }
.admin-helper-panel-large { margin-top: .35rem; }
.admin-steps-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: .75rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.admin-steps-inline li { padding: .82rem; border: 1px solid #e5e9f3; border-radius: 14px; background: #fff; }
.admin-steps-inline strong, .admin-steps-inline span { display: block; }
.admin-steps-inline strong { color: #29336f; }
.admin-steps-inline span { margin-top: .18rem; color: #68758e; font-size: .86rem; line-height: 1.45; }
.admin-grid-balanced { align-items: start; }
.admin-list-modern > div { border: 1px solid #edf1f7; border-radius: 14px; padding: .72rem; }
.admin-list-modern > div:last-child { padding: .72rem; border: 1px solid #edf1f7; }
.admin-intro-guide { align-items: center; }
.admin-table-modern .table-wrap table { min-width: 920px; }
.table-actions { display: flex; gap: .5rem; align-items: center; }
.admin-callout-soft, .admin-checklist-card {
  display: grid;
  gap: .25rem;
  margin-bottom: 1rem;
  padding: .9rem;
  border: 1px solid #e5e9f3;
  border-radius: 15px;
  background: #f9f7ff;
  color: #68758e;
}
.admin-callout-soft strong { color: #29336f; }
.admin-checklist-card ul { display: grid; gap: .45rem; margin: .55rem 0 0; padding: 0; list-style: none; color: #68758e; }
.admin-sticky-panel { align-self: start; }
.form-actions-stack { display: grid; justify-content: stretch; }
.form-actions-stack .button-full { width: 100%; text-align: center; }
@media (min-width: 900px) {
  .admin-public-link { display: inline-flex; }
  .admin-hero-guide { grid-template-columns: minmax(0, 1fr) auto; }
  .admin-sticky-panel { position: sticky; top: 108px; }
}
@media (max-width: 680px) {
  .admin-header-actions { justify-content: flex-end; }
  .admin-hero-actions, .admin-action-row { display: grid; width: 100%; }
  .admin-hero-actions .button, .admin-action-row .button { width: 100%; text-align: center; }
}


/* SOURCE: /css/hotfix-v47.css */
/* v0.47 — Compartir profesional, admin editorial y edición visual. */

/* Compartir: iconos SVG reales y mejor consistencia */
.share-action span svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.share-action-whatsapp span { background: linear-gradient(135deg, #128c7e, #25d366); }
.share-action-facebook span { background: linear-gradient(135deg, #29487d, #1877f2); }
.share-action-telegram span { background: linear-gradient(135deg, #1d84c6, #37aee2); }
.share-action-x span { background: #111827; }
.share-action-mail span { background: linear-gradient(135deg, #293b7a, #5a4690); }
.share-action-copy span { background: linear-gradient(135deg, #4b5563, #29336f); }
.share-action-native span svg { fill: #293b7a; }

/* Enlaces pequeños tipo Ver todos / Ver calendario / Ver vacantes */
.portal-home .card-heading > a,
.portal-card .card-heading > a,
.section-heading > a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  white-space: nowrap;
  line-height: 1.15;
}
.portal-home .card-heading > a,
.portal-card .card-heading > a {
  min-height: 42px;
  padding: .62rem .84rem;
  border: 1px solid rgba(94, 74, 156, .16);
  border-radius: 999px;
  color: #4f3f93;
  background: linear-gradient(180deg, #fbf9ff 0%, #f0ecff 100%);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(53, 45, 104, .06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.portal-home .card-heading > a:hover,
.portal-card .card-heading > a:hover {
  color: #382b75;
  border-color: rgba(94, 74, 156, .28);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(53, 45, 104, .1);
}
.portal-home .events-card-expanded,
.portal-home .jobs-card-expanded,
.portal-home .programs-card-expanded {
  display: flex;
  flex-direction: column;
}
.portal-home .events-visual-grid { flex: 1 1 auto; }
.portal-home .events-wide-cta,
.portal-home .jobs-footer-button { margin-top: auto; }

/* Admin dashboard más compacto */
.admin-hero-guide-compact {
  margin-bottom: .85rem;
  padding: clamp(1rem, 2.6vw, 1.35rem);
}
.admin-hero-guide-compact h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
.admin-metrics-v47 {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .72rem;
  margin-bottom: .85rem;
}
.admin-metrics-v47 article {
  min-height: 124px;
  padding: .86rem;
}
.admin-metrics-v47 article strong { font-size: 1.85rem; }
.admin-dashboard-grid-v47 {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}
@media (min-width: 1040px) {
  .admin-dashboard-grid-v47 { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}
.admin-task-list {
  display: grid;
  gap: .65rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}
.admin-task-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .76rem;
  border: 1px solid #edf1f7;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.admin-task-list li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #293b7a, #5a4690);
  font-weight: 900;
}
.admin-task-list strong,
.admin-task-list small { display: block; }
.admin-task-list strong { color: #17244d; }
.admin-task-list small { margin-top: .12rem; color: #68758e; line-height: 1.35; }
.admin-task-list a {
  padding: .48rem .7rem;
  border-radius: 999px;
  color: #4f3f93;
  background: #f1edff;
  font-weight: 900;
}
.admin-list-tight { gap: .48rem; }
.admin-list-tight > div { padding: .6rem !important; }
.admin-mini-separator { height: 1px; margin: .7rem 0; background: #edf1f7; }
.admin-helper-panel-v47 { margin-top: .2rem; }

/* Multimedia guiada */
.admin-media-usage-grid {
  display: grid;
  gap: .75rem;
  margin-bottom: 1rem;
}
@media (min-width: 800px) {
  .admin-media-usage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.admin-media-usage-grid article {
  padding: .95rem;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23,36,78,.055);
}
.admin-media-usage-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: .55rem;
  border-radius: 12px;
  color: #4f3f93;
  background: #f0edff;
  font-weight: 900;
}
.admin-media-usage-grid strong { display: block; color: #17244d; }
.admin-media-usage-grid p { margin: .25rem 0 0; color: #68758e; font-size: .86rem; line-height: 1.45; }
.media-grid-guided article { align-items: start; }

/* Perfiles: flujo SEFECO */
.admin-callout-profile-flow {
  display: grid;
  gap: .25rem;
  margin-bottom: 1rem;
}
.admin-callout-profile-flow span {
  color: #68758e;
  line-height: 1.5;
}
.inline-status-form-friendly {
  display: grid;
  grid-template-columns: minmax(160px, .9fr) minmax(220px, 1.2fr) auto;
  gap: .45rem;
}
@media (max-width: 900px) {
  .inline-status-form-friendly { grid-template-columns: 1fr; }
}

/* Editor visual tipo Word */
.rich-editor-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.rich-editor {
  border: 1px solid #d9e2f0;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 22px rgba(23, 36, 78, .045);
}
.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  padding: .55rem;
  border-bottom: 1px solid #e8edf6;
  background: linear-gradient(180deg, #fbfcff 0%, #f6f7fb 100%);
}
.rich-editor-button {
  min-height: 34px;
  padding: .38rem .58rem;
  border: 1px solid #dfe6f2;
  border-radius: 10px;
  color: #29336f;
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
}
.rich-editor-button:hover,
.rich-editor-button:focus-visible {
  border-color: rgba(79,63,147,.35);
  background: #f1edff;
}
.rich-editor-button-muted { color: #68758e; }
.rich-editor-surface {
  min-height: 220px;
  padding: .95rem;
  color: #17244d;
  line-height: 1.65;
  outline: none;
}
.rich-editor-surface:focus {
  box-shadow: inset 0 0 0 3px rgba(103,80,184,.12);
}
.rich-editor-surface p { margin: 0 0 .8rem; }
.rich-editor-surface h2,
.rich-editor-surface h3 { margin: .9rem 0 .45rem; color: #17244d; line-height: 1.18; }
.rich-editor-surface ul,
.rich-editor-surface ol { margin: .4rem 0 .8rem; padding-left: 1.4rem; }
.rich-editor-surface a { color: #4f3f93; font-weight: 850; text-decoration: underline; }

/* Edición visual de imágenes */
.admin-editor-grid-visual { align-items: start; }
.admin-editor-main .helper-text { max-width: 720px; }
.admin-media-edit-panel { display: grid; gap: 1rem; }
.admin-image-preview-card {
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(23,36,78,.06);
}
.admin-image-preview-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #edf1f7;
}
.admin-image-preview-card p {
  margin: 0;
  padding: .78rem .9rem;
  color: #68758e;
  font-size: .84rem;
  line-height: 1.4;
}
.admin-editor-help-card {
  padding: .9rem;
  border: 1px solid #e2e7f2;
  border-radius: 15px;
  color: #68758e;
  background: #f9f7ff;
}
.admin-editor-help-card strong { color: #29336f; }
.admin-editor-help-card p { margin: .25rem 0 0; line-height: 1.45; }

@media (max-width: 760px) {
  .admin-task-list li { grid-template-columns: auto 1fr; }
  .admin-task-list a { grid-column: 2; justify-self: start; }
}

.admin-edit-profile-link {
  margin-bottom: .45rem;
}
.admin-category-checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}
.admin-category-checks label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .7rem;
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  color: #29336f;
  background: #fbfcff;
  font-weight: 850;
}
.admin-category-checks input {
  width: 16px;
  height: 16px;
}


/* SOURCE: /css/hotfix-v48.css */
/* v0.48 — Agenda local: bajar el CTA inferior y equilibrar el aire del contenedor. */

.portal-home .events-card-expanded {
  padding-bottom: .95rem;
}

.portal-home .events-card-expanded .events-wide-cta {
  margin-top: auto;
  transform: translateY(.45rem);
}

.portal-home .events-card-expanded .events-wide-cta:hover,
.portal-home .events-card-expanded .events-wide-cta:focus-visible {
  transform: translateY(.34rem);
}

@media (max-width: 680px) {
  .portal-home .events-card-expanded {
    padding-bottom: .9rem;
  }

  .portal-home .events-card-expanded .events-wide-cta {
    transform: translateY(.32rem);
  }
}


/* SOURCE: /css/hotfix-v49.css */
/* v0.49 — Correcciones finales de admin, CSRF multipart y bolsa histórica. */

.status-occupied {
  color: #68410b;
  background: #fff0cf;
}

.inline-form {
  display: inline-flex;
  margin: 0;
}

.admin-floating-action-form {
  width: min(calc(100% - 24px), 1250px);
  margin: .85rem auto 0;
  display: flex;
  justify-content: flex-end;
}

.admin-table-modern .table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.admin-job-editor .admin-sticky-panel .form-actions-stack {
  gap: .65rem;
}

.admin-job-editor select option,
.admin-editor-enhanced select option {
  font-weight: 600;
}

.admin-kpi-strip article small {
  min-height: 1.2em;
}

.tenencia-admin-grid .status,
.admin-table-modern .status {
  text-transform: none;
}


/* SOURCE: /css/hotfix-v51.css */
/* v0.51 — Multimedia bajo demanda, inversión administrable y bandeja de contacto */
.admin-panel-header-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.centered-actions { justify-content: center; margin-top: 1.1rem; }
.admin-empty-state {
  padding: 1.2rem;
  border: 1px dashed #cad6eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7f9ff);
  color: #68758e;
}
.admin-empty-state strong { display: block; color: #17244d; margin-bottom: .35rem; }
.media-grid-paged article { align-items: start; }
.media-grid-paged form { margin-top: .55rem; }
.media-grid-paged .button-ghost { border-color: #e2e8f4; background: #fff; color: #4d3f87; }
.media-grid-paged .button-ghost:hover { border-color: #bfcbea; background: #f8f6ff; }
.admin-message-preview {
  max-width: 34rem;
  margin: 0;
  color: #5f6d88;
  line-height: 1.55;
  white-space: pre-wrap;
}
.admin-investment-list {
  display: grid;
  gap: 1rem;
}
.admin-investment-item header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.investment-detail-grid .investment-route-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.investment-route-detail {
  margin-top: .7rem;
  color: #5f6d88;
  line-height: 1.58;
}
.investment-route-detail p { margin: 0 0 .65rem; }
.investment-route-detail ul,
.investment-route-detail ol { margin: .35rem 0 .75rem; padding-left: 1.2rem; }
.investment-route-card .text-link { margin-top: auto; padding-top: .8rem; }
.admin-table-modern .text-link.admin-edit-profile-link {
  display: inline-flex;
  margin-bottom: .5rem;
  padding: .35rem .6rem;
  border: 1px solid #dfe6f3;
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .admin-panel-header-split,
  .admin-investment-item header { flex-direction: column; }
}


/* SOURCE: /css/hotfix-v52.css */
/* v0.52 — Íconos SVG para inversión y submenú de Bolsa de Trabajo ordenado */

.investment-svg-badge svg {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
}

.investment-svg-badge svg .tone-bg {
  opacity: .18;
}

.page-investment .investment-svg-badge {
  color: #5945a2;
  background: radial-gradient(circle at 24% 22%, rgba(255,255,255,.82), transparent 32%), linear-gradient(135deg, #f4efff, #e9f8ff);
  box-shadow: 0 12px 26px rgba(56, 49, 112, .1);
}

.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 18px 34px rgba(56, 49, 112, .18);
}

.admin-investment-item .investment-admin-icon-row {
  grid-template-columns: minmax(180px, 1.05fr) minmax(170px, .75fr) minmax(110px, .55fr) minmax(160px, .8fr);
  align-items: end;
}

.admin-icon-preview-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 56px;
  padding: .7rem .8rem;
  border: 1px solid #dfe6f3;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f6f3ff);
}

.admin-icon-preview-card .investment-svg-badge {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #24366f, #6550a8);
  box-shadow: 0 12px 24px rgba(42, 50, 104, .16);
}

.admin-icon-preview-card small {
  display: block;
  color: #60708c;
  line-height: 1.35;
}

.admin-sidebar .admin-subnav {
  margin: -.2rem 0 .25rem 2.1rem;
  padding: .25rem 0 .35rem .65rem;
  border-left: 1px solid rgba(255,255,255,.18);
}

.admin-sidebar .admin-subnav a {
  min-height: 32px;
  padding: .48rem .65rem;
  border-radius: 9px;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
}

.admin-sidebar .admin-subnav a::before {
  content: '—';
  margin-right: .4rem;
  color: rgba(255,255,255,.38);
}

.admin-sidebar .admin-subnav a.is-active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

@media (max-width: 980px) {
  .admin-investment-item .investment-admin-icon-row {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v53.css */
/* v0.53 — Galería de íconos en Inversión y hover institucional estable */

.investment-svg-badge,
.investment-icon-choice-visual {
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  transform: none !important;
}

.investment-svg-badge svg,
.investment-icon-choice-visual svg {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
}

.investment-svg-badge svg path,
.investment-icon-choice-visual svg path {
  fill: currentColor;
}

.investment-svg-badge svg .tone-bg,
.investment-icon-choice-visual svg .tone-bg {
  fill: currentColor;
  opacity: .16;
}

.page-investment .investment-svg-badge {
  color: #55439d;
  background: radial-gradient(circle at 24% 22%, rgba(255,255,255,.84), transparent 32%), linear-gradient(135deg, #f4efff, #eaf8ff);
  box-shadow: 0 12px 26px rgba(56, 49, 112, .1);
}

.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 18px 34px rgba(56, 49, 112, .18);
}

.page-investment .investment-route-card:hover .investment-svg-badge svg .tone-bg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg .tone-bg {
  opacity: .24;
}

.admin-investment-item .investment-admin-controls {
  grid-template-columns: minmax(120px, .4fr) minmax(220px, .6fr);
  align-items: end;
  margin-bottom: .85rem;
}

.investment-icon-picker {
  margin: .75rem 0 1rem;
  padding: .9rem;
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f8f6ff);
}

.investment-icon-picker legend {
  padding: 0 .35rem;
  color: var(--navy);
  font-weight: 900;
}

.investment-icon-picker p {
  margin: .15rem 0 .75rem;
  color: #60708c;
  font-size: .88rem;
}

.investment-icon-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: .55rem;
  max-height: 330px;
  overflow: auto;
  padding: .15rem .25rem .2rem 0;
}

.investment-icon-choice {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: .55rem;
  align-items: center;
  min-height: 54px;
  padding: .52rem .58rem;
  border: 1px solid #dfe6f3;
  border-radius: 13px;
  background: rgba(255,255,255,.88);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.investment-icon-choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.investment-icon-choice-visual {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #55439d;
  background: linear-gradient(135deg, #f1edff, #eaf8ff);
}

.investment-icon-choice small {
  color: #1d2d55;
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.15;
}

.investment-icon-choice:hover,
.investment-icon-choice:focus-within {
  border-color: rgba(82, 68, 151, .38);
  background: #fff;
  box-shadow: 0 12px 24px rgba(45, 55, 112, .1);
}

.investment-icon-choice:hover .investment-icon-choice-visual,
.investment-icon-choice:focus-within .investment-icon-choice-visual {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 14px 28px rgba(56, 49, 112, .16);
}

.investment-icon-choice input:checked + .investment-icon-choice-visual {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 14px 28px rgba(56, 49, 112, .2);
}

.investment-icon-choice:has(input:checked) {
  border-color: rgba(82, 68, 151, .58);
  background: linear-gradient(135deg, #fff, #f4f1ff);
}

@supports not selector(:has(*)) {
  .investment-icon-choice input:checked + .investment-icon-choice-visual + small {
    color: #514498;
  }
}

.admin-icon-preview-card {
  display: none !important;
}

@media (max-width: 980px) {
  .admin-investment-item .investment-admin-controls {
    grid-template-columns: 1fr;
  }
  .investment-icon-gallery {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    max-height: 290px;
  }
}


/* SOURCE: /css/hotfix-v54.css */
/* v0.54 — Modal limpia para seleccionar íconos de inversión */

.investment-svg-badge,
.investment-icon-current-visual,
.investment-icon-modal-choice-visual {
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
  transform: none !important;
}

.investment-svg-badge svg,
.investment-icon-current-visual svg,
.investment-icon-modal-choice-visual svg {
  width: 1.18rem;
  height: 1.18rem;
  display: block;
}

.investment-svg-badge svg path,
.investment-icon-current-visual svg path,
.investment-icon-modal-choice-visual svg path {
  fill: currentColor;
}

.investment-svg-badge svg .tone-bg,
.investment-icon-current-visual svg .tone-bg,
.investment-icon-modal-choice-visual svg .tone-bg {
  fill: currentColor;
  opacity: .16;
}

.page-investment .investment-svg-badge {
  color: #55439d;
  background: radial-gradient(circle at 24% 22%, rgba(255,255,255,.84), transparent 32%), linear-gradient(135deg, #f4efff, #eaf8ff);
  box-shadow: 0 12px 26px rgba(56, 49, 112, .1);
}

.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 18px 34px rgba(56, 49, 112, .18);
}

.page-investment .investment-route-card:hover .investment-svg-badge svg .tone-bg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg .tone-bg {
  opacity: .24;
}

.admin-investment-item .investment-admin-controls {
  grid-template-columns: minmax(120px, .4fr) minmax(220px, .6fr);
  align-items: end;
  margin-bottom: .85rem;
}

.investment-icon-picker-compact {
  margin: .75rem 0 1rem;
  padding: 1rem;
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #f8f6ff);
}

.investment-icon-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}

.investment-icon-picker-label {
  display: block;
  margin-bottom: .15rem;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 900;
}

.investment-icon-picker-help {
  margin: 0;
  color: #60708c;
  font-size: .88rem;
  line-height: 1.45;
  max-width: 760px;
}

.investment-icon-current {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1rem;
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.investment-icon-current:hover,
.investment-icon-current:focus-visible {
  border-color: rgba(82, 68, 151, .38);
  box-shadow: 0 12px 24px rgba(45, 55, 112, .1);
  background: #fff;
  outline: none;
}

.investment-icon-current-visual {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  color: #55439d;
  background: linear-gradient(135deg, #f1edff, #eaf8ff);
  box-shadow: 0 12px 24px rgba(56, 49, 112, .09);
}

.investment-icon-current-visual svg {
  width: 1.55rem;
  height: 1.55rem;
}

.investment-icon-current-copy {
  display: flex;
  flex-direction: column;
  gap: .12rem;
}

.investment-icon-current-copy small {
  color: #60708c;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.investment-icon-current-copy strong {
  color: #1d2d55;
  font-size: 1rem;
  font-weight: 900;
}

.investment-icon-current-copy span {
  color: #60708c;
  font-size: .85rem;
}

.investment-icon-modal {
  width: min(1020px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  border: none;
  padding: 0;
  border-radius: 22px;
  background: transparent;
  overflow: visible;
}

.investment-icon-modal::backdrop {
  background: rgba(16, 24, 40, .48);
  backdrop-filter: blur(2px);
}

.investment-icon-modal-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  background: #fff;
  border: 1px solid #dfe6f3;
  border-radius: 22px;
  box-shadow: 0 34px 80px rgba(20, 28, 62, .22);
  overflow: hidden;
}

.investment-icon-modal-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1rem;
  border-bottom: 1px solid #edf1f8;
}

.investment-icon-modal-header h3 {
  margin: .15rem 0 .2rem;
  color: var(--navy);
}

.investment-icon-modal-header p:last-child {
  margin: 0;
  color: #60708c;
  font-size: .9rem;
}

.investment-icon-modal-close {
  width: 42px;
  height: 42px;
  border: 1px solid #dfe6f3;
  border-radius: 999px;
  background: #fff;
  color: #514498;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.investment-icon-modal-close:hover,
.investment-icon-modal-close:focus-visible {
  background: #f5f2ff;
  border-color: rgba(82, 68, 151, .35);
  outline: none;
}

.investment-icon-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: .75rem;
  padding: 1rem 1.15rem;
  overflow: auto;
}

.investment-icon-modal-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  min-height: 118px;
  padding: .85rem .55rem .75rem;
  border: 1px solid #dfe6f3;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  text-align: center;
}

.investment-icon-modal-choice:hover,
.investment-icon-modal-choice:focus-visible,
.investment-icon-modal-choice.is-selected {
  border-color: rgba(82, 68, 151, .42);
  background: linear-gradient(135deg, #fff, #f7f3ff);
  box-shadow: 0 14px 28px rgba(45, 55, 112, .11);
  outline: none;
}

.investment-icon-modal-choice-visual {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  color: #55439d;
  background: linear-gradient(135deg, #f1edff, #eaf8ff);
  box-shadow: 0 12px 24px rgba(56, 49, 112, .09);
}

.investment-icon-modal-choice-visual svg {
  width: 1.65rem;
  height: 1.65rem;
}

.investment-icon-modal-choice:hover .investment-icon-modal-choice-visual,
.investment-icon-modal-choice:focus-visible .investment-icon-modal-choice-visual,
.investment-icon-modal-choice.is-selected .investment-icon-modal-choice-visual {
  color: #fff;
  background: linear-gradient(135deg, #514498, #1f7ea8);
  box-shadow: 0 16px 30px rgba(56, 49, 112, .17);
}

.investment-icon-modal-choice-label {
  color: #1d2d55;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1.15;
  text-wrap: balance;
}

.investment-icon-modal-actions {
  display: flex;
  justify-content: flex-end;
  padding: .9rem 1.2rem 1.15rem;
  border-top: 1px solid #edf1f8;
  background: linear-gradient(180deg, rgba(255,255,255,.75), #fff);
}

@media (max-width: 980px) {
  .admin-investment-item .investment-admin-controls,
  .investment-icon-picker-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .investment-icon-modal {
    width: min(100vw - 1rem, 920px);
  }

  .investment-icon-modal-gallery {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
}

@media (max-width: 640px) {
  .investment-icon-current {
    align-items: flex-start;
  }

  .investment-icon-modal-header {
    padding: 1rem;
  }

  .investment-icon-modal-gallery {
    padding: .9rem;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .investment-icon-modal-choice {
    min-height: 108px;
  }
}


/* SOURCE: /css/hotfix-v55.css */
/* v0.55 — Galería Lucide limpia, búsqueda y notificaciones de admin */

/* Íconos públicos de inversión: SVG limpio, sin contenedor interno */
.page-investment .program-icon.investment-svg-badge,
.page-investment .investment-svg-badge {
  width: 68px;
  height: 68px;
  margin-bottom: 1.25rem;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #514498;
  align-items: center;
  justify-content: flex-start;
  transform: none !important;
}

.page-investment .investment-svg-badge svg {
  width: 3.25rem;
  height: 3.25rem;
  filter: drop-shadow(0 14px 20px rgba(56, 49, 112, .10));
}

.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
}

.page-investment .investment-route-card:hover .investment-svg-badge svg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .18));
}

/* Selector compacto: el resumen también muestra el SVG suelto */
.investment-icon-current {
  min-height: 82px;
}

.investment-icon-current-visual {
  width: 70px;
  height: 70px;
  flex-basis: 70px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #514498;
}

.investment-icon-current-visual svg {
  width: 3rem;
  height: 3rem;
  filter: drop-shadow(0 12px 20px rgba(56, 49, 112, .12));
}

.investment-icon-current:hover .investment-icon-current-visual,
.investment-icon-current:focus-visible .investment-icon-current-visual {
  color: #1f7ea8;
}

/* Modal con búsqueda y galería de SVG protagonistas */
.investment-icon-modal-search {
  padding: .9rem 1.15rem 0;
}

.investment-icon-modal-search label {
  display: grid;
  gap: .38rem;
  color: #1d2d55;
  font-size: .78rem;
  font-weight: 900;
}

.investment-icon-modal-search input {
  width: 100%;
  min-height: 46px;
  padding: .7rem .9rem;
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  color: #1d2d55;
  background: #fff;
  font-weight: 750;
}

.investment-icon-modal-search input:focus {
  border-color: rgba(82, 68, 151, .55);
  box-shadow: 0 0 0 4px rgba(82, 68, 151, .10);
  outline: none;
}

.investment-icon-modal-gallery {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: .8rem;
  padding-top: .9rem;
}

.investment-icon-modal-choice {
  min-height: 144px;
  gap: .55rem;
  justify-content: center;
  padding: 1rem .55rem .85rem;
  border-radius: 18px;
}

.investment-icon-modal-choice[hidden] {
  display: none !important;
}

.investment-icon-modal-choice-visual {
  width: 100%;
  height: 78px;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #5b4bbb;
}

.investment-icon-modal-choice-visual svg {
  width: 3.55rem;
  height: 3.55rem;
  filter: drop-shadow(0 16px 22px rgba(56, 49, 112, .11));
}

.investment-icon-modal-choice-label {
  max-width: 100%;
  color: #13234c;
  font-size: .76rem;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.investment-icon-modal-choice:hover,
.investment-icon-modal-choice:focus-visible,
.investment-icon-modal-choice.is-selected {
  background: linear-gradient(135deg, #514498, #1f7ea8);
  border-color: rgba(82, 68, 151, .52);
}

.investment-icon-modal-choice:hover .investment-icon-modal-choice-visual,
.investment-icon-modal-choice:focus-visible .investment-icon-modal-choice-visual,
.investment-icon-modal-choice.is-selected .investment-icon-modal-choice-visual {
  color: #fff;
  background: transparent !important;
  box-shadow: none !important;
}

.investment-icon-modal-choice:hover .investment-icon-modal-choice-label,
.investment-icon-modal-choice:focus-visible .investment-icon-modal-choice-label,
.investment-icon-modal-choice.is-selected .investment-icon-modal-choice-label {
  color: #fff;
}

.investment-icon-modal-empty {
  margin: .3rem 1.15rem 0;
  padding: .85rem 1rem;
  border: 1px dashed #c8d3e8;
  border-radius: 14px;
  color: #60708c;
  background: #f8faff;
  font-weight: 800;
}

/* Notificaciones en menú lateral */
.admin-sidebar nav a {
  position: relative;
  min-width: 0;
}

.admin-sidebar .admin-nav-label {
  width: auto;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-align: left;
}

.admin-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  padding: 0 .42rem;
  border-radius: 999px;
  color: #1d2d55;
  background: #eaf8ff;
  font-size: .72rem;
  font-weight: 950;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 18px rgba(0,0,0,.12);
}

.admin-nav-badge-alert {
  color: #fff;
  background: linear-gradient(135deg, #f36b43, #b93a70);
}

.admin-subnav .admin-nav-badge {
  min-width: 20px;
  height: 20px;
  font-size: .68rem;
}

/* Filas nuevas sin leer */
.table-wrap tr.admin-notification-row.is-unread {
  background: linear-gradient(90deg, rgba(82, 68, 151, .10), rgba(31, 126, 168, .05));
}

.table-wrap tr.admin-notification-row.is-unread td:first-child {
  box-shadow: inset 4px 0 0 #514498;
}

.table-wrap tr.admin-notification-row.is-unread strong {
  color: #1d2d55;
}

.table-wrap tr.admin-notification-row.is-unread small:first-of-type {
  color: #514498;
  font-weight: 900;
}

.metric-attention {
  border-color: rgba(82, 68, 151, .32) !important;
  background: linear-gradient(135deg, #fff, #f7f4ff) !important;
}

.metric-attention span {
  color: #f36b43 !important;
}

@media (max-width: 720px) {
  .investment-icon-modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .investment-icon-modal-choice {
    min-height: 132px;
  }
  .investment-icon-modal-choice-visual svg {
    width: 3rem;
    height: 3rem;
  }
}


/* SOURCE: /css/hotfix-v56.css */
/* v0.56 — Hover refinado en rutas de inversión sin cambiar íconos a blanco */

.page-investment .investment-route-card {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
  will-change: transform;
}

.page-investment .investment-route-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(82, 68, 151, .12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0), rgba(31,126,168,.055));
  transition: opacity .22s ease;
}

.page-investment .investment-route-card > * {
  position: relative;
  z-index: 1;
}

.page-investment .investment-route-card:hover,
.page-investment .investment-route-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(82, 68, 151, .34);
  box-shadow: 0 24px 48px rgba(29, 45, 85, .12);
}

.page-investment .investment-route-card:hover::after,
.page-investment .investment-route-card:focus-within::after {
  opacity: 1;
}

/* El ícono conserva su color institucional; no pasa a blanco en hover. */
.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #514498 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-investment .investment-route-card:hover .investment-svg-badge svg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg {
  filter: drop-shadow(0 18px 26px rgba(56, 49, 112, .14));
}

.page-investment .investment-route-card:hover .investment-svg-badge svg .tone-bg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg .tone-bg {
  opacity: .16 !important;
}

@media (prefers-reduced-motion: reduce) {
  .page-investment .investment-route-card {
    transition: border-color .18s ease, box-shadow .18s ease;
    will-change: auto;
  }
  .page-investment .investment-route-card:hover,
  .page-investment .investment-route-card:focus-within {
    transform: none;
  }
}


/* SOURCE: /css/hotfix-v57.css */
/* v0.57 — Font Awesome local, guardado de íconos y hover público estable */

.investment-fa-svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.investment-fa-svg path {
  fill: currentColor;
}

/* Vista pública: ícono suelto, más claro y sin cambiar a blanco al hover */
.page-investment .program-icon.investment-svg-badge,
.page-investment .investment-svg-badge {
  width: 74px;
  height: 74px;
  margin-bottom: 1.35rem;
  color: #514498 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  align-items: center;
  justify-content: flex-start;
  transform: none !important;
}

.page-investment .investment-svg-badge svg,
.page-investment .investment-svg-badge .investment-fa-svg {
  width: 3.65rem;
  height: 3.65rem;
  opacity: .88;
  filter: drop-shadow(0 14px 20px rgba(56, 49, 112, .10));
  transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}

.page-investment .investment-route-card:hover .investment-svg-badge,
.page-investment .investment-route-card:focus-within .investment-svg-badge {
  color: #514498 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-investment .investment-route-card:hover .investment-svg-badge svg,
.page-investment .investment-route-card:focus-within .investment-svg-badge svg,
.page-investment .investment-route-card:hover .investment-fa-svg,
.page-investment .investment-route-card:focus-within .investment-fa-svg {
  opacity: 1;
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 18px 25px rgba(56, 49, 112, .15));
}

/* Selector administrativo: Font Awesome como protagonista visual */
.investment-icon-current-visual,
.investment-icon-modal-choice-visual {
  color: #514498;
  background: transparent !important;
  box-shadow: none !important;
}

.investment-icon-current-visual svg,
.investment-icon-current-visual .investment-fa-svg {
  width: 3.35rem;
  height: 3.35rem;
  opacity: .9;
}

.investment-icon-current:hover .investment-icon-current-visual,
.investment-icon-current:focus-visible .investment-icon-current-visual {
  color: #1f7ea8;
}

.investment-icon-modal-gallery {
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
}

.investment-icon-modal-choice {
  min-height: 150px;
  padding: 1.05rem .6rem .9rem;
}

.investment-icon-modal-choice-visual {
  height: 82px;
}

.investment-icon-modal-choice-visual svg,
.investment-icon-modal-choice-visual .investment-fa-svg {
  width: 4rem;
  height: 4rem;
  opacity: .88;
  filter: drop-shadow(0 16px 22px rgba(56, 49, 112, .12));
}

.investment-icon-modal-choice-label {
  font-size: .74rem;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.investment-icon-modal-choice:hover,
.investment-icon-modal-choice:focus-visible,
.investment-icon-modal-choice.is-selected {
  background: linear-gradient(135deg, #514498, #1f7ea8);
  border-color: rgba(82, 68, 151, .52);
  box-shadow: 0 18px 36px rgba(37, 49, 98, .14);
}

.investment-icon-modal-choice:hover .investment-icon-modal-choice-visual,
.investment-icon-modal-choice:focus-visible .investment-icon-modal-choice-visual,
.investment-icon-modal-choice.is-selected .investment-icon-modal-choice-visual,
.investment-icon-modal-choice:hover .investment-icon-modal-choice-label,
.investment-icon-modal-choice:focus-visible .investment-icon-modal-choice-label,
.investment-icon-modal-choice.is-selected .investment-icon-modal-choice-label {
  color: #fff;
}

@media (max-width: 760px) {
  .page-investment .investment-svg-badge svg,
  .page-investment .investment-svg-badge .investment-fa-svg {
    width: 3.1rem;
    height: 3.1rem;
  }
  .investment-icon-modal-gallery {
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  }
  .investment-icon-modal-choice-visual svg,
  .investment-icon-modal-choice-visual .investment-fa-svg {
    width: 3.25rem;
    height: 3.25rem;
  }
}


/* SOURCE: /css/hotfix-v60.css */
/* v0.60 — Guardado estable de rutas de inversión y mejor aire del botón final */
.admin-investment-item .form-actions {
  margin-top: 1.15rem;
  padding-top: .65rem;
}

.admin-investment-item > label:last-of-type {
  margin-bottom: .45rem;
}

.admin-investment-item .form-actions .button {
  min-width: 10.5rem;
}

@media (max-width: 760px) {
  .admin-investment-item .form-actions {
    margin-top: 1rem;
    padding-top: .5rem;
  }
  .admin-investment-item .form-actions .button {
    width: 100%;
  }
}


/* SOURCE: /css/hotfix-v61.css */
/* v0.61 — Fichas públicas: evento recomendado, video de perfiles y créditos ocultos. */

.page-profile-detail .detail-side,
.page-tenencia-detail .detail-side {
  align-self: start;
}

.profile-video-block {
  display: grid;
  gap: 1rem;
  margin: 2.1rem 0 1.6rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1e356b 0%, #4d3c8b 55%, #704f8e 100%);
  box-shadow: 0 22px 50px rgba(34, 43, 85, .15);
}

.profile-video-block .eyebrow,
.profile-video-block h2,
.profile-video-block p {
  color: #fff;
}

.profile-video-block .eyebrow {
  color: #a9efff;
}

.profile-video-block > div:first-child p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255,255,255,.88);
}

.profile-video-frame {
  overflow: hidden;
  border-radius: 18px;
  background: #0f1736;
  box-shadow: 0 14px 32px rgba(9, 16, 42, .22);
}

.profile-video-block .button {
  justify-self: stretch;
  color: #1b2b5d !important;
  background: rgba(255,255,255,.97) !important;
  border-color: rgba(255,255,255,.97) !important;
}

.compact-recommended-card,
.tenencia-recommended-card {
  width: 100%;
}

.page-profile-detail .compact-recommended-card {
  min-height: 430px;
}

.page-tenencia-detail .tenencia-recommended-card {
  min-height: 470px;
}

.tenencia-findings-panel {
  margin: 1.45rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(207, 215, 232, .9);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(248,250,255,.96), rgba(244,240,255,.78));
}

.tenencia-findings-panel .eyebrow {
  margin-bottom: .75rem;
}

.tenencia-findings-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.tenencia-findings-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: .45rem .72rem;
  border: 1px solid rgba(89, 76, 151, .16);
  border-radius: 999px;
  color: #3f337f;
  background: #f0ecff;
  font-weight: 800;
  font-size: .82rem;
}

.page-tenencia-detail .gallery-grid-featured figcaption,
.page-detail .gallery-grid-featured figcaption {
  display: none !important;
}

@media (min-width: 980px) {
  .page-profile-detail .detail-layout,
  .page-tenencia-detail .detail-layout-wide {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    min-height: 390px;
  }

  .tenencia-findings-panel span {
    width: 100%;
    justify-content: center;
  }
}


/* SOURCE: /css/hotfix-v62.css */
/* v0.62 — Recomendados compactos, galerías progresivas y ficha pública de perfil más editorial. */

/* Evento recomendado: ya no debe estirarse indefinidamente por la altura del grid. */
.page-events .agenda-side-panel-event {
  align-self: start !important;
  min-height: 0 !important;
  height: clamp(560px, 58vw, 675px);
  max-height: 675px;
}

.page-events .agenda-side-panel-event .agenda-side-panel-copy,
.page-detail .event-detail-recommended-card .agenda-side-panel-copy {
  min-height: 0;
}

.page-events .agenda-side-panel-event .agenda-side-panel-body,
.page-detail .event-detail-recommended-card .agenda-side-panel-body {
  margin-top: auto;
}

.page-events .agenda-side-panel-event h2,
.page-detail .event-detail-recommended-card h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-events .agenda-side-panel-event p:not(.eyebrow):not(.event-date):not(.event-location),
.page-detail .event-detail-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-event-detail .event-detail-recommended-card,
.page-profile-detail .compact-recommended-card,
.page-tenencia-detail .tenencia-recommended-card {
  align-self: start !important;
  min-height: 0 !important;
  height: clamp(390px, 34vw, 460px);
  max-height: 460px;
}

.page-event-detail .event-detail-recommended-card h2,
.page-profile-detail .compact-recommended-card h2,
.page-tenencia-detail .tenencia-recommended-card h2 {
  font-size: clamp(1.18rem, 1.75vw, 1.45rem);
}

.page-event-detail .event-detail-recommended-card .agenda-side-panel-body,
.page-profile-detail .compact-recommended-card .agenda-side-panel-body,
.page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-body {
  gap: .58rem;
  padding: .9rem;
}

/* Separación del botón Compartir respecto a las etiquetas del hero de tenencias y eventos. */
.detail-hero .tag-list + .hero-actions,
.detail-hero-content-rich .tag-list + .hero-actions {
  margin-top: 1rem;
}

.detail-hero .hero-actions,
.event-detail-hero .hero-actions,
.profile-hero-subhero .contact-actions {
  gap: .72rem;
}

/* Perfil público: subhero editorial semejante a fichas de tenencia, sin perder el CTA de contacto. */
.page-profile-detail .profile-hero-subhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background-image:
    linear-gradient(105deg, rgba(17, 26, 59, .96) 0%, rgba(24, 39, 79, .86) 46%, rgba(71, 61, 124, .42) 100%),
    var(--profile-hero-image);
  background-size: cover;
  background-position: center;
}

.page-profile-detail .profile-hero-subhero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  pointer-events: none;
}

.page-profile-detail .profile-hero-subhero .profile-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 450px;
  padding-top: clamp(3.4rem, 8vw, 5.8rem);
  padding-bottom: clamp(3.2rem, 7vw, 5rem);
}

.page-profile-detail .profile-hero-subhero h1,
.page-profile-detail .profile-hero-subhero .breadcrumbs,
.page-profile-detail .profile-hero-subhero .breadcrumbs a,
.page-profile-detail .profile-hero-subhero .profile-location {
  color: #fff;
}

.page-profile-detail .profile-hero-subhero h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  text-wrap: balance;
}

.page-profile-detail .profile-hero-subhero .profile-location {
  opacity: .88;
}

.page-profile-detail .profile-hero-subhero .verified {
  color: #c7ffd8;
}

.page-profile-detail .profile-hero-subhero .chip {
  color: #fff;
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

.page-profile-detail .profile-hero-subhero .button-outline,
.page-profile-detail .profile-hero-subhero .button-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
}

.page-profile-detail .profile-hero-subhero .button-outline:hover,
.page-profile-detail .profile-hero-subhero .button-ghost:hover,
.page-profile-detail .profile-hero-subhero .button-outline:focus-visible,
.page-profile-detail .profile-hero-subhero .button-ghost:focus-visible {
  color: #17244d;
  background: #fff;
  border-color: #fff;
}

.page-profile-detail .profile-hero-subhero .profile-hero-image-button {
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 28px 70px rgba(6, 12, 32, .35);
}

.page-profile-detail .profile-hero-subhero .profile-hero-image-button img {
  min-height: 310px;
}

/* Galerías progresivas: no saturar al usuario; mostrar más solo cuando haga falta. */
.is-gallery-hidden {
  display: none !important;
}

.gallery-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
}

.button-gallery-more {
  min-height: 42px;
  padding-inline: 1rem;
  border-radius: 999px;
  background: #fff;
}

.page-profile-detail .gallery-grid-clickable {
  grid-template-columns: repeat(auto-fill, minmax(150px, 170px));
  justify-content: start;
  align-items: start;
}

.page-profile-detail .gallery-grid-clickable .gallery-item img {
  aspect-ratio: 1.15;
}

.page-tenencia-detail .gallery-grid-featured figure:nth-child(n+6) {
  grid-row: auto;
}

/* Compartir: textos y botones mejor alineados. */
.share-action {
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 68px;
  align-items: center;
  align-content: center;
  gap: .82rem;
}

.share-action span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.share-action strong {
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.share-action small {
  line-height: 1.3;
}

.share-action-native {
  min-height: 84px;
}

.share-action-native small,
.share-action-copy small {
  grid-column: 2;
}

/* Microajustes de cards públicas. */
.page-profile-detail .detail-layout {
  align-items: start;
}

@media (min-width: 980px) {
  .page-profile-detail .detail-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

@media (max-width: 1020px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    height: 420px;
    max-height: none;
  }
}

@media (max-width: 860px) {
  .page-profile-detail .profile-hero-subhero .profile-hero-grid {
    min-height: 0;
  }
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    height: auto;
    min-height: 360px !important;
  }
  .page-profile-detail .gallery-grid-clickable {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .share-action {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .page-profile-detail .profile-hero-subhero .profile-hero-image-button img {
    min-height: 240px;
  }
}


/* SOURCE: /css/hotfix-v63.css */
/* v0.63 — Mini-banner recomendado más protagonista, subhero sin imagen duplicada y admin con eliminación de postulaciones. */

/* Banner recomendado: más grande, con mayor presencia de imagen y copy anclado abajo. */
@media (min-width: 980px) {
  .page-events .agenda-grid {
    grid-template-columns: minmax(0, 1fr) 368px;
  }

  .page-event-detail .detail-layout,
  .page-profile-detail .detail-layout,
  .page-tenencia-detail .detail-layout-wide {
    grid-template-columns: minmax(0, 1fr) 396px;
  }
}

.page-events .agenda-side-panel-event {
  height: clamp(645px, 66vw, 780px);
  max-height: 780px;
}

.page-event-detail .event-detail-recommended-card,
.page-profile-detail .compact-recommended-card,
.page-tenencia-detail .tenencia-recommended-card {
  height: clamp(450px, 38vw, 530px);
  max-height: 530px;
}

.page-events .agenda-side-panel-event .agenda-side-panel-copy,
.page-detail .event-detail-recommended-card .agenda-side-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .78rem;
  padding: .76rem .76rem 1rem;
}

.page-events .agenda-side-panel-event .agenda-side-panel-top,
.page-detail .event-detail-recommended-card .agenda-side-panel-top {
  align-items: flex-start;
}

.page-events .agenda-side-panel-event .agenda-side-panel-body,
.page-detail .event-detail-recommended-card .agenda-side-panel-body {
  margin-top: auto;
  gap: .62rem;
  padding: 1rem 1rem 1.04rem;
  border-radius: 22px;
}

.page-events .agenda-side-panel-event .eyebrow,
.page-detail .event-detail-recommended-card .eyebrow {
  padding: .28rem .54rem;
  font-size: .64rem;
  letter-spacing: .085em;
}

.page-events .agenda-side-panel-event .event-date,
.page-events .agenda-side-panel-event .event-location,
.page-detail .event-detail-recommended-card .event-date,
.page-detail .event-detail-recommended-card .event-location {
  font-size: .74rem;
}

.page-events .agenda-side-panel-event h2,
.page-detail .event-detail-recommended-card h2 {
  line-height: 1.04;
}

.page-events .agenda-side-panel-event .button,
.page-detail .event-detail-recommended-card .button {
  margin-top: .22rem;
}

/* Perfil público: subhero limpio, sin repetir imagen dentro del cuadro lateral. */
.page-profile-detail .profile-hero-subhero .profile-hero-grid.profile-hero-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.page-profile-detail .profile-hero-subhero .profile-hero-grid.profile-hero-grid-single > div:first-child {
  max-width: 760px;
}

/* Admin: acciones compactas dentro de la tabla. */
.table-actions-inline {
  display: flex;
  align-items: center;
  gap: .45rem;
}

.table-actions-inline form {
  margin: 0;
}

.button-destructive {
  color: #fff !important;
  background: #b63a48 !important;
  border-color: #b63a48 !important;
}

.button-destructive:hover,
.button-destructive:focus-visible {
  background: #982f3c !important;
  border-color: #982f3c !important;
}

@media (max-width: 1020px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    height: 440px;
  }
}

@media (max-width: 860px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    height: auto;
    min-height: 380px !important;
  }

  .page-profile-detail .profile-hero-subhero .profile-hero-grid.profile-hero-grid-single > div:first-child {
    max-width: none;
  }
}


/* SOURCE: /css/hotfix-v64.css */
/* v0.64 — Banner recomendado más alto y homogéneo; lightbox sin texto inferior. */

/* Mantener el componente en formato vertical, no más ancho. */
@media (min-width: 980px) {
  .page-events .agenda-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.page-events .agenda-side-panel-event,
.page-event-detail .event-detail-recommended-card,
.page-profile-detail .compact-recommended-card,
.page-tenencia-detail .tenencia-recommended-card {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 8 / 13;
  height: auto !important;
  min-height: 520px !important;
  max-height: none !important;
}

.page-events .agenda-side-panel-event {
  justify-self: stretch;
}

.page-event-detail .event-detail-recommended-card,
.page-profile-detail .compact-recommended-card,
.page-tenencia-detail .tenencia-recommended-card {
  margin-left: auto;
}

.page-events .agenda-side-panel-event .agenda-side-panel-copy,
.page-detail .event-detail-recommended-card .agenda-side-panel-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .8rem;
  padding: .72rem .72rem .92rem;
}

.page-events .agenda-side-panel-event .agenda-side-panel-top,
.page-detail .event-detail-recommended-card .agenda-side-panel-top {
  align-items: flex-start;
  justify-content: flex-start;
}

.page-events .agenda-side-panel-event .eyebrow,
.page-detail .event-detail-recommended-card .eyebrow {
  margin: 0;
  padding: .24rem .52rem;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.page-events .agenda-side-panel-event .agenda-side-panel-body,
.page-detail .event-detail-recommended-card .agenda-side-panel-body,
.page-profile-detail .compact-recommended-card .agenda-side-panel-body,
.page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-body {
  margin-top: auto;
  gap: .58rem;
  padding: .95rem;
  border-radius: 20px;
}

.page-events .agenda-side-panel-event .event-date,
.page-events .agenda-side-panel-event .event-location,
.page-detail .event-detail-recommended-card .event-date,
.page-detail .event-detail-recommended-card .event-location,
.page-profile-detail .compact-recommended-card .event-date,
.page-profile-detail .compact-recommended-card .event-location,
.page-tenencia-detail .tenencia-recommended-card .event-date,
.page-tenencia-detail .tenencia-recommended-card .event-location {
  font-size: .73rem;
}

.page-events .agenda-side-panel-event h2,
.page-detail .event-detail-recommended-card h2,
.page-profile-detail .compact-recommended-card h2,
.page-tenencia-detail .tenencia-recommended-card h2 {
  font-size: clamp(1.28rem, 1.8vw, 1.55rem);
  line-height: 1.04;
}

.page-events .agenda-side-panel-event p:not(.eyebrow):not(.event-date):not(.event-location),
.page-detail .event-detail-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location),
.page-profile-detail .compact-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location),
.page-tenencia-detail .tenencia-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-events .agenda-side-panel-event .button,
.page-detail .event-detail-recommended-card .button,
.page-profile-detail .compact-recommended-card .button,
.page-tenencia-detail .tenencia-recommended-card .button {
  width: 100%;
  margin-top: .18rem;
}

/* Nunca mostrar texto/caption debajo de fotos ampliadas o galerías. */
.image-lightbox-card figcaption,
.gallery-grid-featured figcaption,
.gallery-grid figure figcaption,
.gallery-grid-clickable figure figcaption {
  display: none !important;
}

@media (max-width: 1020px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    max-width: 320px;
    min-height: 500px !important;
  }
}

@media (max-width: 860px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    max-width: none;
    width: 100%;
    aspect-ratio: auto;
    min-height: 430px !important;
  }

  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    margin-left: 0;
  }
}


/* SOURCE: /css/hotfix-v65.css */
/* v0.65 — Banner recomendado ancho parejo en sidebar y prioridad real al evento marcado como recomendado. */

@media (min-width: 980px) {
  .page-event-detail .detail-layout,
  .page-profile-detail .detail-layout,
  .page-tenencia-detail .detail-layout-wide {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }

  .page-events .agenda-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }
}

/* El banner usa todo el ancho disponible del mismo columnado / card lateral. */
.page-events .agenda-side-panel-event,
.page-event-detail .event-detail-recommended-card,
.page-profile-detail .compact-recommended-card,
.page-tenencia-detail .tenencia-recommended-card {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  justify-self: stretch;
  align-self: stretch;
  aspect-ratio: 11 / 14;
  min-height: 540px !important;
}

.page-events .agenda-side-panel-event .agenda-side-panel-copy,
.page-detail .event-detail-recommended-card .agenda-side-panel-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .82rem;
  padding: .72rem .72rem .98rem;
}

.page-events .agenda-side-panel-event .agenda-side-panel-top,
.page-detail .event-detail-recommended-card .agenda-side-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.page-events .agenda-side-panel-event .eyebrow,
.page-detail .event-detail-recommended-card .eyebrow {
  margin: 0;
  padding: .25rem .56rem;
  font-size: .60rem;
  letter-spacing: .085em;
  border-radius: 999px;
}

.page-events .agenda-side-panel-event .agenda-side-panel-body,
.page-detail .event-detail-recommended-card .agenda-side-panel-body,
.page-profile-detail .compact-recommended-card .agenda-side-panel-body,
.page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-body {
  margin-top: auto;
  padding: 1rem;
  gap: .6rem;
  border-radius: 20px;
}

.page-events .agenda-side-panel-event h2,
.page-detail .event-detail-recommended-card h2,
.page-profile-detail .compact-recommended-card h2,
.page-tenencia-detail .tenencia-recommended-card h2 {
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.03;
}

.page-events .agenda-side-panel-event .event-date,
.page-events .agenda-side-panel-event .event-location,
.page-detail .event-detail-recommended-card .event-date,
.page-detail .event-detail-recommended-card .event-location,
.page-profile-detail .compact-recommended-card .event-date,
.page-profile-detail .compact-recommended-card .event-location,
.page-tenencia-detail .tenencia-recommended-card .event-date,
.page-tenencia-detail .tenencia-recommended-card .event-location {
  font-size: .74rem;
}

.page-events .agenda-side-panel-event p:not(.eyebrow):not(.event-date):not(.event-location),
.page-detail .event-detail-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location),
.page-profile-detail .compact-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location),
.page-tenencia-detail .tenencia-recommended-card p:not(.eyebrow):not(.event-date):not(.event-location) {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-events .agenda-side-panel-event .button,
.page-detail .event-detail-recommended-card .button,
.page-profile-detail .compact-recommended-card .button,
.page-tenencia-detail .tenencia-recommended-card .button {
  width: 100%;
  margin-top: .18rem;
}

/* Móvil / tablet: sigue ancho completo y mantiene el bloque de texto abajo. */
@media (max-width: 979px) {
  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    aspect-ratio: auto;
    min-height: 430px !important;
  }
}


/* SOURCE: /css/hotfix-v66.css */
/* v0.66 — Agenda: banner principal más alto, CTA más compacto e imagen con degradado editorial. */

.page-events .editorial-feature-events {
  position: relative;
  min-height: 360px;
  padding: 1.25rem;
  gap: 1rem;
  align-items: stretch;
}

.page-events .editorial-feature-events .editorial-feature-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: .15rem;
}

.page-events .editorial-feature-events .editorial-feature-copy h2 {
  margin-bottom: .9rem;
}

.page-events .editorial-feature-events .event-meta-pills {
  margin-bottom: 1.15rem !important;
}

.page-events .editorial-feature-events .button {
  width: auto !important;
  min-width: 240px;
  align-self: flex-start;
  padding-inline: 1.1rem;
  padding-block: .72rem;
  margin-top: auto;
  border-radius: 14px;
}

.page-events .editorial-feature-events .editorial-feature-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.page-events .editorial-feature-events .editorial-feature-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.78) 18%, rgba(255,255,255,.32) 52%, rgba(255,255,255,0) 100%);
}

.page-events .editorial-feature-events .editorial-feature-media img {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 332px;
  border-radius: 22px;
  object-fit: cover;
}

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    grid-template-columns: minmax(0, 1.32fr) minmax(325px, .88fr);
  }
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events {
    min-height: 0;
  }

  .page-events .editorial-feature-events .button {
    min-width: 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    width: 100%;
    height: 28%;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.22) 44%, rgba(255,255,255,.72) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    min-height: 250px;
  }
}


/* SOURCE: /css/hotfix-v67.css */
/* v0.67 — Corrección estética del hero principal y altura real del banner recomendado. */

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    position: relative;
    display: block;
    min-height: 385px;
    overflow: hidden;
    padding: 1.35rem;
    background: #fff;
  }

  .page-events .editorial-feature-events::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #fff 0%,
      #fff 47%,
      rgba(255,255,255,.94) 55%,
      rgba(255,255,255,.62) 64%,
      rgba(255,255,255,.22) 73%,
      rgba(255,255,255,0) 86%
    );
  }

  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 2;
    width: min(62%, 690px);
    min-height: 335px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: .08rem 0 0;
  }

  .page-events .editorial-feature-events .editorial-feature-copy > p:not(.eyebrow) {
    max-width: 620px;
  }

  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(43%, 392px);
    min-width: 360px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    display: none;
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.08);
    transform-origin: right center;
  }

  .page-events .editorial-feature-events .button {
    width: auto !important;
    min-width: 0;
    max-width: 218px;
    align-self: flex-start;
    margin-top: auto;
    padding: .66rem 1rem;
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1;
  }

  /* Card recomendada: ahora sí crece verticalmente como el alto marcado. */
  .page-events .agenda-side-panel-event {
    min-height: 585px !important;
    height: auto !important;
    aspect-ratio: auto !important;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    min-height: 585px;
  }
}

.page-events .agenda-side-panel-event .agenda-side-panel-body,
.page-detail .event-detail-recommended-card .agenda-side-panel-body,
.page-profile-detail .compact-recommended-card .agenda-side-panel-body,
.page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-body {
  margin-top: auto;
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media img {
    object-position: right center;
  }

  .page-events .editorial-feature-events .button {
    width: auto !important;
    max-width: 230px;
  }
}


/* SOURCE: /css/hotfix-v68.css */
/* v0.68 — Hero con imagen más ancha y degradado real; banner recomendado más alto en agenda. */

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    position: relative;
    display: block;
    min-height: 405px;
    overflow: hidden;
    padding: 1.35rem;
    background: #fff;
  }

  /* Se elimina el overlay global anterior y se lleva el degradado directamente al contenedor de imagen. */
  .page-events .editorial-feature-events::after {
    display: none;
  }

  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 2;
    width: min(52%, 610px);
    min-height: 355px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: .08rem 0 0;
  }

  .page-events .editorial-feature-events .editorial-feature-copy > p:not(.eyebrow) {
    max-width: 520px;
  }

  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(58%, 540px); /* ~35% más ancho que el contenedor previo */
    min-width: 460px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.98) 16%,
      rgba(255,255,255,.86) 40%,
      rgba(255,255,255,.48) 68%,
      rgba(255,255,255,0) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.14);
    transform-origin: right center;
  }

  .page-events .editorial-feature-events .button {
    width: auto !important;
    min-width: 0;
    max-width: 218px;
    align-self: flex-start;
    margin-top: auto;
    padding: .66rem 1rem;
    border-radius: 13px;
    font-size: .86rem;
    line-height: 1;
  }

  /* Banner recomendado con más altura real, para acercarlo al alto solicitado. */
  .page-events .agenda-side-panel-event {
    min-height: 735px !important;
    height: 735px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    min-height: 735px;
    height: 100%;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-body {
    padding: 1.02rem 1rem 1rem;
  }
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    border-radius: 22px;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 28%;
    width: 100%;
    z-index: 2;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.24) 48%,
      rgba(255,255,255,.78) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    transform: scale(1.04);
    border-radius: 22px;
  }
}


/* SOURCE: /css/hotfix-v69.css */
/* v0.69 — Degradado visible en hero y carga progresiva de eventos. */

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    position: relative;
    display: block;
    min-height: 405px;
    overflow: hidden;
    background: #fff;
  }

  /* Degradado aplicado sobre el hero completo para evitar un corte duro entre texto e imagen. */
  .page-events .editorial-feature-events::after {
    display: block !important;
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
      #fff 0%,
      #fff 38%,
      rgba(255,255,255,.98) 45%,
      rgba(255,255,255,.86) 52%,
      rgba(255,255,255,.56) 59%,
      rgba(255,255,255,.22) 67%,
      rgba(255,255,255,0) 76%);
  }

  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 2;
    width: min(51%, 600px);
  }

  /* La imagen invade más el hero, se recarga a la derecha y el fade cubre el cruce. */
  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(68%, 650px);
    min-width: 540px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 35%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.92) 30%,
      rgba(255,255,255,.48) 66%,
      rgba(255,255,255,0) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.16);
    transform-origin: right center;
  }
}

.events-list-wrap {
  display: grid;
  gap: 1rem;
}

.events-more-actions {
  display: flex;
  justify-content: center;
  margin-top: .2rem;
}

.button-events-more {
  min-height: 42px;
  padding-inline: 1rem;
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 30%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.28) 48%,
      rgba(255,255,255,.82) 100%);
  }
}


/* SOURCE: /css/hotfix-v70.css */
/* v0.70 — Hero: difuminar realmente el inicio de la foto para que no se vea su corte. */

@media (min-width: 980px) {
  .page-events .editorial-feature-events {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  /* El copy se mantiene arriba del tratamiento visual. */
  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 3;
    width: min(51%, 600px);
  }

  /* Hacer que la imagen invada más hacia la izquierda para esconder el inicio real de la foto. */
  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    inset: 0 -1px 0 auto;
    z-index: 0;
    width: min(74%, 720px);
    min-width: 590px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  /* En lugar de solo pintar encima, se desvanece la foto misma. */
  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.18);
    transform-origin: right center;
    -webkit-mask-image: linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.08) 10%,
      rgba(0,0,0,.4) 18%,
      rgba(0,0,0,.78) 28%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.08) 10%,
      rgba(0,0,0,.4) 18%,
      rgba(0,0,0,.78) 28%,
      rgba(0,0,0,1) 38%,
      rgba(0,0,0,1) 100%);
  }

  /* Capa suave adicional para mezclar más con el fondo blanco. */
  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.99) 18%,
      rgba(255,255,255,.93) 34%,
      rgba(255,255,255,.78) 50%,
      rgba(255,255,255,.48) 70%,
      rgba(255,255,255,.16) 86%,
      rgba(255,255,255,0) 100%);
  }

  /* Overlay global mucho más sutil, solo para pulir el blend. */
  .page-events .editorial-feature-events::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 33%,
      rgba(255,255,255,.96) 41%,
      rgba(255,255,255,.78) 49%,
      rgba(255,255,255,.34) 58%,
      rgba(255,255,255,0) 67%);
  }
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }
}


/* SOURCE: /css/hotfix-v71.css */
/* v0.71 — Degradado inicial más robusto + banner recomendado homologado en todas las vistas públicas. */

@media (min-width: 980px) {
  /* Hero principal: ocultar mejor dónde empieza la foto. */
  .page-events .editorial-feature-events {
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }

  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative;
    z-index: 3;
    width: min(50%, 590px);
  }

  .page-events .editorial-feature-events .editorial-feature-media {
    position: absolute;
    inset: 0 -1px 0 auto;
    z-index: 0;
    width: min(76%, 760px);
    min-width: 620px;
    height: 100%;
    overflow: hidden;
    border-radius: 0 26px 26px 0;
  }

  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0 26px 26px 0;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.20);
    transform-origin: right center;
    -webkit-mask-image: linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 8%,
      rgba(0,0,0,.04) 14%,
      rgba(0,0,0,.16) 21%,
      rgba(0,0,0,.42) 29%,
      rgba(0,0,0,.74) 38%,
      rgba(0,0,0,.94) 47%,
      rgba(0,0,0,1) 55%,
      rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to right,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0) 8%,
      rgba(0,0,0,.04) 14%,
      rgba(0,0,0,.16) 21%,
      rgba(0,0,0,.42) 29%,
      rgba(0,0,0,.74) 38%,
      rgba(0,0,0,.94) 47%,
      rgba(0,0,0,1) 55%,
      rgba(0,0,0,1) 100%);
  }

  .page-events .editorial-feature-events .editorial-feature-media::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 48%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 20%,
      rgba(255,255,255,.98) 34%,
      rgba(255,255,255,.92) 48%,
      rgba(255,255,255,.76) 63%,
      rgba(255,255,255,.48) 77%,
      rgba(255,255,255,.18) 90%,
      rgba(255,255,255,0) 100%);
  }

  .page-events .editorial-feature-events::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 34%,
      rgba(255,255,255,.99) 41%,
      rgba(255,255,255,.93) 48%,
      rgba(255,255,255,.70) 56%,
      rgba(255,255,255,.34) 64%,
      rgba(255,255,255,.10) 71%,
      rgba(255,255,255,0) 78%);
  }

  /* Resolución/columna homogénea del banner recomendado en eventos, ficha de evento, tenencia y perfil. */
  .page-events .agenda-grid,
  .page-event-detail .detail-layout,
  .page-profile-detail .detail-layout,
  .page-tenencia-detail .detail-layout-wide {
    align-items: start;
  }

  .page-events .agenda-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .page-event-detail .detail-layout,
  .page-profile-detail .detail-layout,
  .page-tenencia-detail .detail-layout-wide {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    width: 100% !important;
    max-width: 360px !important;
    min-width: 360px;
    height: 735px !important;
    min-height: 735px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin-left: 0 !important;
    justify-self: stretch;
    align-self: stretch;
  }

  .page-events .agenda-side-panel-copy,
  .page-event-detail .event-detail-recommended-card .agenda-side-panel-copy,
  .page-profile-detail .compact-recommended-card .agenda-side-panel-copy,
  .page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-copy {
    min-height: 735px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .82rem;
    padding: .72rem .72rem .98rem;
  }

  .page-events .agenda-side-panel-body,
  .page-event-detail .event-detail-recommended-card .agenda-side-panel-body,
  .page-profile-detail .compact-recommended-card .agenda-side-panel-body,
  .page-tenencia-detail .tenencia-recommended-card .agenda-side-panel-body {
    margin-top: auto;
    padding: 1rem;
    gap: .6rem;
    border-radius: 20px;
  }

  .page-events .agenda-side-panel-event h2,
  .page-event-detail .event-detail-recommended-card h2,
  .page-profile-detail .compact-recommended-card h2,
  .page-tenencia-detail .tenencia-recommended-card h2 {
    font-size: clamp(1.3rem, 2vw, 1.62rem);
    line-height: 1.03;
  }
}

@media (max-width: 979px) {
  .page-events .editorial-feature-events .editorial-feature-media img {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .page-events .agenda-side-panel-event,
  .page-event-detail .event-detail-recommended-card,
  .page-profile-detail .compact-recommended-card,
  .page-tenencia-detail .tenencia-recommended-card {
    min-width: 0;
    max-width: none !important;
    width: 100% !important;
  }
}


/* SOURCE: /css/hotfix-v72.css */
/* v0.72 — Admin editorial: heroes, guía de imágenes y bancos de medios por contenido. */

.admin-hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-hero-card {
  display: grid;
  gap: .85rem;
  overflow: hidden;
  padding: .85rem;
  border: 1px solid #dde4f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(31,45,73,.07);
}

.admin-hero-card-media {
  min-height: 132px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(15,27,61,.82), rgba(15,27,61,.22)),
    var(--hero-card-image);
  background-size: cover;
  background-position: center;
}

.admin-hero-card h3 {
  margin: .2rem 0 .35rem;
  color: var(--navy-deep);
  font-size: 1.12rem;
  line-height: 1.15;
}

.admin-hero-card p:not(.eyebrow) {
  margin: 0 0 .75rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}

.admin-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: .5rem 0 .85rem;
}

.admin-hero-meta span {
  display: inline-flex;
  max-width: 100%;
  padding: .32rem .55rem;
  border-radius: 999px;
  color: #3f337f;
  background: #f0ecff;
  font-weight: 800;
  font-size: .72rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-image-preview-wide img {
  aspect-ratio: 2.35 / 1;
}

.hero-summary-editor-row + .hero-summary-editor-row {
  margin-top: .65rem;
}

.resolution-mini-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.resolution-mini-grid article {
  display: grid;
  gap: .2rem;
  padding: .9rem;
  border: 1px solid #dde4f1;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f8f6ff);
}

.resolution-mini-grid strong {
  color: var(--navy-deep);
}

.resolution-mini-grid span {
  color: #534189;
  font-weight: 900;
}

.resolution-mini-grid small {
  color: var(--muted);
}

.admin-guide-compact {
  margin-bottom: 1rem;
}

.admin-guide-flow article span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #534189;
  font-weight: 900;
}

.admin-media-bank-list {
  display: grid;
  gap: .55rem;
  max-height: 360px;
  overflow: auto;
  padding: .25rem;
}

.admin-media-bank-list label {
  display: grid;
  grid-template-columns: auto 62px minmax(0, 1fr);
  gap: .6rem;
  align-items: center;
  padding: .5rem;
  border: 1px solid #dde4f1;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.admin-media-bank-list label.is-selected,
.admin-media-bank-list label:has(input:checked) {
  border-color: rgba(83,65,137,.42);
  background: #f4f1ff;
}

.admin-media-bank-list img {
  width: 62px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
}

.admin-media-bank-list strong,
.admin-media-bank-list small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-media-bank-list strong {
  color: var(--navy-deep);
  font-size: .8rem;
}

.admin-media-bank-list small {
  color: var(--muted);
  font-size: .7rem;
}

@media (max-width: 760px) {
  .admin-media-bank-list label {
    grid-template-columns: auto 54px minmax(0, 1fr);
  }
  .admin-media-bank-list img {
    width: 54px;
    height: 42px;
  }
}


/* SOURCE: /css/hotfix-v76.css */
/* v0.76 — Selector editorial de productores participantes por evento. */

.participant-picker {
  background:
    radial-gradient(circle at top right, rgba(83,65,137,.08), transparent 36%),
    linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.participant-picker-head {
  display: grid;
  gap: .85rem;
  align-items: end;
  margin-bottom: .9rem;
}

.participant-picker-head strong {
  display: inline-flex;
  width: fit-content;
  margin-top: .45rem;
  padding: .32rem .62rem;
  border-radius: 999px;
  color: #483981;
  background: #f1edff;
  font-size: .78rem;
}

.participant-search-label {
  margin: 0;
}

.participant-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: .72rem;
  max-height: 520px;
  overflow: auto;
  padding: .25rem;
}

.participant-select-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .72rem;
  align-items: center;
  min-height: 92px;
  padding: .62rem;
  border: 1px solid #dce4f1;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(34,47,79,.04);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.participant-select-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(34,47,79,.08);
}

.participant-select-card.is-selected,
.participant-select-card:has(input:checked) {
  border-color: rgba(83,65,137,.52);
  background: linear-gradient(135deg, #f7f4ff, #fff);
}

.participant-select-card input {
  width: 18px;
  height: 18px;
  accent-color: #534189;
}

.participant-select-card img {
  width: 68px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  background: #eef2f8;
}

.participant-copy {
  min-width: 0;
}

.participant-copy strong,
.participant-copy small,
.participant-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-copy strong {
  color: var(--navy-deep);
  font-size: .92rem;
}

.participant-copy small {
  margin-top: .12rem;
  color: var(--muted);
  font-size: .74rem;
}

.participant-copy em {
  margin-top: .25rem;
  color: #534189;
  font-size: .68rem;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.participant-check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: #534189;
  font-size: .78rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .18s ease, transform .18s ease;
}

.participant-select-card.is-selected .participant-check,
.participant-select-card:has(input:checked) .participant-check {
  opacity: 1;
  transform: scale(1);
}

.participant-empty {
  margin-top: .8rem;
  padding: .75rem;
  border: 1px dashed #cbd5e5;
  border-radius: 14px;
  text-align: center;
  background: #f8faff;
}

@media (min-width: 980px) {
  .participant-picker-head {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  }
}

@media (max-width: 680px) {
  .participant-card-grid {
    grid-template-columns: 1fr;
  }

  .participant-select-card {
    grid-template-columns: auto 58px minmax(0, 1fr);
  }

  .participant-check {
    display: none;
  }
}


/* SOURCE: /css/hotfix-v77.css */
/* v0.77 — Tu ciudad, sedes múltiples, listas públicas con modal y admin editorial más robusto. */

@media (min-width: 980px) {
  .public-card-grid-4.event-grid,
  .public-card-grid-4.profiles-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-grid-clickable {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-profile-detail .gallery-grid-clickable .gallery-item img,
.page-event-detail .gallery-grid-clickable .gallery-item img {
  min-height: 124px;
}

.button-list-modal {
  align-self: end;
  border-radius: 999px;
  min-height: 42px;
}

.list-modal[hidden] { display: none; }
.list-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.list-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,12,30,.74);
  backdrop-filter: blur(4px);
}
.list-modal-card {
  position: relative;
  z-index: 1;
  width: min(1120px, 96vw);
  max-height: 86vh;
  overflow: auto;
  padding: 1.2rem;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.34);
}
.list-modal-card h2 { margin-top: .2rem; }
.list-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 36px;
  height: 36px;
  border: 1px solid #dce4f1;
  border-radius: 50%;
  color: var(--navy-deep);
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.modal-card-grid { margin-top: 1rem; }

.venue-list-public {
  display: grid;
  gap: .62rem;
  margin-top: 1rem;
}
.venue-list-public > strong {
  color: var(--navy-deep);
}
.venue-list-public article {
  padding: .72rem;
  border: 1px solid #dce4f1;
  border-radius: 16px;
  background: #f8faff;
}
.venue-list-public span {
  display: block;
  color: #006080;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.venue-list-public p { margin: .2rem 0 0; color: var(--navy-deep); font-weight: 850; }
.venue-list-public small { display: block; margin-top: .18rem; color: var(--muted); }

.event-venues-editor {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}
.event-venues-head {
  display: grid;
  gap: .7rem;
  align-items: end;
  padding: .85rem;
  border: 1px solid #e1e7f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f8f6ff 100%);
}
.event-venues-head strong { color: var(--navy-deep); }
.event-venues-list { display: grid; gap: .85rem; }
.event-venue-row {
  padding: .92rem;
  border: 1px solid #dce4f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(34,47,79,.05);
}
.event-venue-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-bottom: .75rem;
}
.venue-primary { margin: 0; }

.participant-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.participant-select-card {
  grid-template-columns: 22px 74px minmax(0, 1fr) 28px;
  min-height: 112px;
  padding: .75rem;
}
.participant-select-card img,
.participant-thumb-fallback {
  width: 74px !important;
  height: 74px !important;
  aspect-ratio: 1 / 1;
  border-radius: 16px !important;
  object-fit: cover;
  background: #eef2f8;
  flex: 0 0 74px;
}
.participant-thumb-fallback {
  display: grid;
  place-items: center;
  color: #534189;
  font-weight: 900;
  font-size: 1.05rem;
}
.participant-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.08;
  min-height: 2.1em;
}
.participant-copy small,
.participant-copy em {
  white-space: nowrap;
}
.participant-copy em {
  max-width: 100%;
}

@media (min-width: 760px) {
  .event-venues-head { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 680px) {
  .participant-select-card { grid-template-columns: 22px 62px minmax(0, 1fr); }
  .participant-select-card img,
  .participant-thumb-fallback { width: 62px !important; height: 62px !important; }
  .public-card-grid-4.event-grid,
  .public-card-grid-4.profiles-grid { grid-template-columns: 1fr; }
}


/* SOURCE: /css/hotfix-v78.css */
/* v0.78 — Pulido admin/público: modales editoriales, navegación compacta, perfiles activos y tablas interactivas. */

/* Navegación pública: Inicio | Tu ciudad | Tenencias | Directorio | Eventos | Más */
.primary-nav .nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.primary-nav .nav-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  padding: .64rem .86rem;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}
.primary-nav .nav-more summary::-webkit-details-marker { display: none; }
.primary-nav .nav-more summary::after { content: "⌄"; font-size: .75rem; opacity: .8; }
.primary-nav .nav-more summary.is-active,
.primary-nav .nav-more[open] summary,
.primary-nav .nav-more summary:hover { background: rgba(255,255,255,.12); }
.nav-more-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 210px;
  display: grid;
  gap: .25rem;
  padding: .55rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(15,27,67,.98);
  box-shadow: 0 20px 45px rgba(0,0,0,.28);
}
.nav-more-menu a { display: block; padding: .72rem .85rem !important; border-radius: 12px; }
.nav-more-menu a:hover,
.nav-more-menu a.is-active { background: rgba(255,255,255,.12); }

/* Hero CTA: más aire entre copy y botón. */
.page-hero-showcase .hero-actions {
  margin-top: 1.35rem;
}

/* Modales públicas: encabezado estable + cards editoriales en tercias. */
.list-modal {
  align-items: center;
  justify-items: center;
}
.list-modal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.32);
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.list-modal-card > .eyebrow,
.list-modal-card > h2 {
  flex: 0 0 auto;
  padding-inline: 1.25rem;
}
.list-modal-card > .eyebrow {
  margin: 1.2rem 0 0;
}
.list-modal-card > h2 {
  margin: .25rem 3.2rem .6rem 0;
  color: var(--navy-deep);
}
.list-modal-close {
  z-index: 3;
  top: 1rem;
  right: 1rem;
}
.modal-card-grid {
  margin-top: 0 !important;
  padding: 1rem 1.25rem 1.25rem;
  overflow: auto;
  max-height: calc(86vh - 118px);
}
@media (min-width: 900px) {
  .modal-card-grid.event-grid,
  .modal-card-grid.profiles-grid,
  .modal-card-grid.public-card-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
.list-modal .event-card,
.list-modal .profile-card {
  min-height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(34,47,79,.08);
}
.list-modal .event-card img,
.list-modal .profile-card img {
  aspect-ratio: 16 / 10;
  height: auto !important;
  min-height: 170px;
  object-fit: cover;
}
.list-modal .event-card h3,
.list-modal .profile-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Admin: cards de heroes parejas. */
.page-heroes-grid,
.admin-hero-grid,
.hero-card-grid {
  align-items: stretch;
}
.admin-hero-card,
.page-hero-admin-card,
.hero-admin-card,
.page-heroes-grid .content-card,
.admin-hero-grid .content-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.admin-hero-card img,
.page-hero-admin-card img,
.hero-admin-card img,
.page-heroes-grid img,
.admin-hero-grid img {
  width: 100%;
  aspect-ratio: 16 / 7;
  height: auto !important;
  object-fit: cover;
  border-radius: 16px;
}
.admin-hero-card h3,
.page-hero-admin-card h3,
.hero-admin-card h3,
.page-heroes-grid h3,
.admin-hero-grid h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.25em;
}
.admin-hero-card p,
.page-hero-admin-card p,
.hero-admin-card p,
.page-heroes-grid p,
.admin-hero-grid p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.admin-hero-card .button,
.page-hero-admin-card .button,
.hero-admin-card .button,
.page-heroes-grid .button,
.admin-hero-grid .button {
  margin-top: auto;
}

/* Guía de imágenes: separar matriz de tarjetas inferiores. */
.page-image-guide .admin-panel + .guide-steps,
.image-guide-steps,
.guide-steps {
  margin-top: 1.6rem !important;
}
.page-image-guide .admin-panel {
  margin-bottom: 1.45rem;
}

/* Admin eventos: consola con búsqueda/filtros. */
.admin-events-console {
  display: grid;
  gap: .85rem;
}
.admin-table-toolbar {
  display: grid;
  gap: .75rem;
  padding: .9rem;
  border: 1px solid #e1e7f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #f8f6ff 100%);
}
.admin-table-toolbar label {
  margin: 0;
}
.admin-table-toolbar input,
.admin-table-toolbar select {
  min-height: 42px;
}
.admin-table-summary {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
}
@media (min-width: 980px) {
  .admin-events-toolbar {
    grid-template-columns: minmax(280px, 1fr) 180px 130px 180px;
    align-items: end;
  }
}

/* Selector admin de participantes: miniaturas y textos estables. */
.participant-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
  align-items: stretch;
}
.participant-select-card {
  grid-template-columns: 24px 78px minmax(0, 1fr) 28px !important;
  min-height: 122px !important;
  align-items: center !important;
}
.participant-select-card img,
.participant-thumb-fallback {
  width: 78px !important;
  height: 78px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  object-fit: cover !important;
}
.participant-copy strong { min-height: 2.1em; }
.participant-copy small,
.participant-copy em {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 760px) {
  .primary-nav .nav-more { display: block; }
  .nav-more-menu { position: static; margin-top: .35rem; box-shadow: none; }
  .modal-card-grid { max-height: calc(86vh - 130px); }
}


/* SOURCE: /css/hotfix-v79.css */
/* v0.79 — Pulido de filtros admin, tabla de perfiles, cards públicas y modales. */

/* Admin eventos: filtros con estilo editorial y mejor alineación. */
.admin-filter-toolbar {
  gap: 1rem !important;
  padding: 1.05rem 1.15rem !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 4% 0%, rgba(83,65,137,.06), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #faf8ff 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 30px rgba(34,47,79,.05);
}

.admin-filter-field {
  display: grid !important;
  gap: .38rem;
  color: #15234a;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .01em;
}

.admin-filter-field > span {
  color: #3d4d70;
  font-size: .74rem;
  font-weight: 850;
}

.admin-filter-field input,
.admin-filter-field select {
  width: 100%;
  min-height: 48px !important;
  padding: .72rem .88rem;
  border: 1px solid #d7e0ee;
  border-radius: 14px;
  background-color: #fff;
  box-shadow: 0 10px 22px rgba(34,47,79,.045);
  color: var(--navy-deep);
  font-weight: 750;
  outline: none;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus {
  border-color: rgba(83,65,137,.58);
  box-shadow: 0 0 0 4px rgba(83,65,137,.10), 0 12px 26px rgba(34,47,79,.06);
}

.admin-filter-search input {
  padding-left: 1rem;
}

@media (min-width: 980px) {
  .admin-events-toolbar.admin-filter-toolbar {
    grid-template-columns: minmax(320px, 1fr) 190px 120px 210px !important;
    align-items: end;
  }
}

/* Admin perfiles: tabla con columnas más claras y acciones menos amontonadas. */
.admin-table-modern table {
  table-layout: fixed;
}

.admin-table-modern th:nth-child(1) { width: 24%; }
.admin-table-modern th:nth-child(2) { width: 23%; }
.admin-table-modern th:nth-child(3) { width: 15%; }
.admin-table-modern th:nth-child(4) { width: 38%; }

.profile-review-main,
.profile-review-contact,
.profile-review-status,
.profile-review-actions {
  vertical-align: top;
}

.profile-review-main strong,
.profile-review-contact strong {
  display: block;
  margin-bottom: .3rem;
}

.profile-review-main small,
.profile-review-contact small {
  display: block;
  margin-top: .22rem;
  color: var(--muted);
  line-height: 1.35;
}

.profile-review-main .admin-edit-profile-link {
  display: inline-flex;
  margin-top: .65rem;
  padding: .35rem .62rem;
  border: 1px solid #dce4f1;
  border-radius: 999px;
  background: #fff;
  font-size: .78rem;
}

.profile-review-status {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
}

.profile-review-form {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) minmax(125px, .8fr);
  gap: .55rem !important;
  align-items: end;
  max-width: 100%;
}

.profile-review-form label {
  display: grid;
  gap: .24rem;
  margin: 0;
  color: #3d4d70;
  font-size: .7rem;
  font-weight: 850;
}

.profile-review-form label span {
  white-space: nowrap;
}

.profile-review-form select,
.profile-review-form input {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  font-size: .86rem;
}

.profile-review-form .profile-review-note {
  grid-column: 1 / -1;
}

.profile-review-form button {
  grid-column: 1 / -1;
  width: min(100%, 260px);
}

@media (max-width: 1120px) {
  .admin-table-modern table,
  .admin-table-modern thead,
  .admin-table-modern tbody,
  .admin-table-modern tr,
  .admin-table-modern th,
  .admin-table-modern td {
    display: block;
  }
  .admin-table-modern thead { display: none; }
  .profile-review-row {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #dce4f1;
    border-radius: 20px;
    background: #fff;
  }
  .profile-review-row td {
    padding: .45rem 0 !important;
    border: 0 !important;
  }
}

/* Tu ciudad y listas principales: máximo 4 visibles con cards parejas. */
.section-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.public-card-grid-4 .profile-card,
.public-card-grid-4 .event-card {
  height: 100%;
  overflow: hidden;
}

.public-card-grid-4 .profile-card > a,
.public-card-grid-4 .event-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.public-card-grid-4 .profile-card img,
.public-card-grid-4 .event-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.public-card-grid-4 .profile-card img { aspect-ratio: 1.36 / 1; }
.public-card-grid-4 .event-card img { aspect-ratio: 1.46 / 1; }

.public-card-grid-4 .profile-card h3,
.public-card-grid-4 .event-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.35em;
}

.public-card-grid-4 .profile-card p:not(.verified),
.public-card-grid-4 .event-card p:not(.event-date):not(.event-location) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Modales: header estable y cards de 3 columnas reales en horizontal. */
.list-modal-card {
  width: min(1180px, 94vw) !important;
  max-height: 88vh;
}

.list-modal-card > .eyebrow,
.list-modal-card > h2 {
  position: relative;
  z-index: 2;
  background: transparent;
}

.modal-card-grid,
.modal-card-grid.event-grid,
.modal-card-grid.profiles-grid,
.modal-card-grid.public-card-grid-4 {
  display: grid !important;
  gap: 1rem !important;
  align-items: stretch;
}

@media (min-width: 920px) {
  .modal-card-grid,
  .modal-card-grid.event-grid,
  .modal-card-grid.profiles-grid,
  .modal-card-grid.public-card-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 620px) and (max-width: 919px) {
  .modal-card-grid,
  .modal-card-grid.event-grid,
  .modal-card-grid.profiles-grid,
  .modal-card-grid.public-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 619px) {
  .modal-card-grid,
  .modal-card-grid.event-grid,
  .modal-card-grid.profiles-grid,
  .modal-card-grid.public-card-grid-4 {
    grid-template-columns: 1fr !important;
  }
}

.list-modal .event-card,
.list-modal .profile-card {
  min-width: 0;
  border-radius: 20px;
}

.list-modal .event-card img,
.list-modal .profile-card img {
  width: 100%;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 1.42 / 1 !important;
  object-fit: cover;
}

.list-modal .event-card > a > div,
.list-modal .profile-card-body {
  padding: .88rem !important;
}

.list-modal .event-card h3,
.list-modal .profile-card h3 {
  font-size: 1rem;
  min-height: 2.25em;
}


/* SOURCE: /css/hotfix-v80.css */
/* v0.80 — Noticias, usuarios operativos, captura de asistentes y pulido editorial. */

.admin-filter-card-polish,
.admin-filter-card {
  align-items: end;
}

.admin-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  margin: .8rem 0 1.2rem;
}

.admin-check-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-check-card {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  min-height: 78px;
  padding: .85rem;
  border: 1px solid #dfe6f3;
  border-radius: 18px;
  background: #fff;
}

.admin-check-card.compact {
  min-height: auto;
  padding: .65rem .75rem;
}

.admin-check-card strong,
.admin-check-card span {
  display: block;
}

.admin-list-scroll {
  display: grid;
  gap: .55rem;
  max-height: 420px;
  overflow: auto;
  padding-right: .3rem;
}

.admin-table-card.embedded {
  padding: 0;
  box-shadow: none;
  border: 0;
}

.news-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.4rem;
}

.news-category-row .chip.is-active {
  color: #fff;
  background: #534189;
  border-color: #534189;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid #dfe6f3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(30,45,80,.08);
}

.news-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card-body {
  display: grid;
  gap: .55rem;
  padding: 1rem;
}

.news-card-body h2,
.news-card-body h3 {
  margin: 0;
  line-height: 1.08;
}

.detail-main-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 24px;
  margin: 1rem 0 1.4rem;
}

.status-muted {
  opacity: .72;
  background: #edf1f8 !important;
  color: #5b6680 !important;
}

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

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v81.css */
/* v0.81 — Noticias editorial: subhero, video, galería, relacionadas y admin refinado. */

.news-hero,
.news-detail-hero {
  min-height: 360px;
}

.news-detail-hero .breadcrumbs.light,
.news-detail-hero .breadcrumbs.light a {
  color: rgba(255,255,255,.82);
}

.news-detail-hero h1 {
  max-width: 900px;
}

.news-detail-layout {
  align-items: start;
}

.news-body-card {
  padding: 0;
}

.news-body-card > p,
.news-body-card > h2,
.news-body-card > h3,
.news-body-card > ul,
.news-body-card > ol,
.news-body-card > blockquote {
  max-width: 780px;
}

.news-video-card {
  margin-top: 1.6rem;
}

.news-gallery-block {
  margin-top: 2rem;
}

.gallery-grid-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}

.gallery-grid-wide .gallery-thumb {
  height: 170px;
}

.related-news-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0;
}

.related-news-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: .7rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
  padding: .62rem;
  border: 1px solid #dfe6f3;
  border-radius: 16px;
  background: #fff;
}

.related-news-item img {
  width: 76px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.related-news-item small,
.related-news-item strong {
  display: block;
}

.related-news-item small {
  color: #00617d;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.related-news-item strong {
  margin-top: .18rem;
  line-height: 1.08;
}

.news-filter-card {
  grid-template-columns: minmax(260px, 1.4fr) minmax(190px, .8fr) minmax(150px, .6fr) auto;
}

.news-editor .admin-editor-main fieldset,
.news-editor .admin-side-panel .admin-card {
  margin-bottom: 1rem;
}

.news-editor .admin-media-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: .8rem;
}

.admin-media-bank-list {
  display: grid;
  gap: .6rem;
  max-height: 360px;
  overflow: auto;
  padding-right: .35rem;
}

.media-bank-option {
  display: grid;
  grid-template-columns: auto 64px 1fr;
  gap: .65rem;
  align-items: center;
  padding: .55rem;
  border: 1px solid #dfe6f3;
  border-radius: 16px;
  background: #fff;
}

.media-bank-option.is-selected,
.admin-check-card.is-selected {
  border-color: #7d65ca;
  background: #f4f0ff;
}

.media-bank-option img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.media-bank-option strong,
.media-bank-option small {
  display: block;
}

.media-bank-option strong {
  line-height: 1.1;
}

.media-bank-option small {
  color: #6d7892;
  font-size: .76rem;
}

.news-related-picker {
  max-height: 300px;
  overflow: auto;
  padding-right: .3rem;
}

.news-admin-table table {
  table-layout: fixed;
}

.news-admin-table th:nth-child(1) { width: 34%; }
.news-admin-table th:nth-child(2) { width: 16%; }
.news-admin-table th:nth-child(3) { width: 20%; }
.news-admin-table th:nth-child(4) { width: 11%; }
.news-admin-table th:nth-child(5) { width: 10%; }
.news-admin-table th:nth-child(6) { width: 9%; }

.news-title-cell strong,
.news-title-cell small {
  display: block;
}

.news-title-cell small {
  margin-top: .25rem;
  color: #68758e;
  line-height: 1.35;
}

.muted-chip {
  background: #f1eefb;
  border-color: #e0d9f5;
}

@media (max-width: 980px) {
  .news-filter-card {
    grid-template-columns: 1fr;
  }
  .gallery-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid-wide {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v82.css */
/* v0.82 — Noticias: editor rico visible, thumbnails relacionadas, tablas homologadas y galería limpia. */

/* Dropdown Más: cerrado al cargar; solo se despliega por interacción. */
.primary-nav .nav-more:not([open]) .nav-more-menu {
  display: none !important;
}
.primary-nav .nav-more[open] .nav-more-menu {
  display: grid !important;
}

/* Tablas admin homologadas con Eventos. */
.admin-news-console,
.admin-attendance-console,
.admin-users-console {
  overflow: hidden;
}
.admin-news-toolbar,
.admin-attendance-toolbar,
.admin-users-toolbar {
  grid-template-columns: minmax(280px, 1.55fr) minmax(190px, .75fr) minmax(120px, .45fr) minmax(180px, .7fr);
}
.admin-news-console table,
.admin-attendance-console table,
.admin-users-console table {
  table-layout: fixed;
}
.admin-news-console th:nth-child(1) { width: 34%; }
.admin-news-console th:nth-child(2) { width: 16%; }
.admin-news-console th:nth-child(3) { width: 20%; }
.admin-news-console th:nth-child(4) { width: 11%; }
.admin-news-console th:nth-child(5) { width: 10%; }
.admin-news-console th:nth-child(6) { width: 9%; }
.admin-attendance-console th:nth-child(1) { width: 34%; }
.admin-attendance-console th:nth-child(2) { width: 20%; }
.admin-attendance-console th:nth-child(3) { width: 15%; }
.admin-attendance-console th:nth-child(4) { width: 10%; }
.admin-attendance-console th:nth-child(5) { width: 13%; }
.admin-attendance-console th:nth-child(6) { width: 8%; }
.admin-users-console th:nth-child(1) { width: 28%; }
.admin-users-console th:nth-child(2) { width: 25%; }
.admin-users-console th:nth-child(3) { width: 15%; }
.admin-users-console th:nth-child(4) { width: 12%; }
.admin-users-console th:nth-child(5) { width: 12%; }
.admin-users-console th:nth-child(6) { width: 8%; }
.admin-news-console td,
.admin-attendance-console td,
.admin-users-console td {
  vertical-align: middle;
}
.admin-news-console td strong,
.admin-attendance-console td strong,
.admin-users-console td strong,
.admin-users-console td small,
.admin-news-console td small {
  display: block;
}
.admin-news-console td small,
.admin-users-console td small {
  margin-top: .25rem;
  color: #68758e;
  line-height: 1.35;
}
.role-cell {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.role-cell .chip {
  max-width: 100%;
  white-space: normal;
  line-height: 1.1;
}

/* Editor tipo Word: que siempre tenga presencia visual en Noticias. */
.news-rich-editor-label + .rich-editor,
.news-rich-editor-label .rich-editor,
.news-editor .rich-editor {
  margin-top: .45rem;
}
.news-editor .rich-editor-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  padding: .55rem;
  border: 1px solid #dfe6f3;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #ffffff, #f7f8fd);
}
.news-editor .rich-editor-surface {
  min-height: 260px;
  border-radius: 0 0 16px 16px;
}
.news-editor .rich-editor-source {
  display: none !important;
}

/* Noticias relacionadas dentro del admin: cards con miniatura real/fallback. */
.news-related-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  max-height: 360px;
  overflow: auto;
  padding-right: .35rem;
}
.news-related-card {
  display: grid !important;
  grid-template-columns: auto 64px minmax(0, 1fr);
  align-items: center !important;
  gap: .55rem !important;
  min-height: 98px !important;
  padding: .6rem !important;
}
.news-related-card img,
.news-related-fallback {
  width: 64px;
  height: 58px;
  border-radius: 13px;
}
.news-related-card img {
  object-fit: cover;
}
.news-related-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf2fb, #f4f0ff);
  color: #534189;
  font-weight: 900;
}
.news-related-card strong {
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.08;
}
.news-related-card small {
  display: block;
  margin-top: .25rem;
  color: #00617d;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

/* Galería pública de noticias: sin outline/borde raro y con grilla uniforme. */
.news-gallery-block .gallery-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.news-gallery-block .gallery-thumb {
  appearance: none;
  display: block;
  width: 100%;
  height: 174px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 26px rgba(31,45,80,.10);
  cursor: zoom-in;
}
.news-gallery-block .gallery-thumb:focus-visible {
  outline: 3px solid rgba(83,65,137,.45);
  outline-offset: 3px;
}
.news-gallery-block .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .22s ease;
}
.news-gallery-block .gallery-thumb:hover img {
  transform: scale(1.035);
}
.news-gallery-block .is-gallery-hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .admin-news-toolbar,
  .admin-attendance-toolbar,
  .admin-users-toolbar,
  .news-related-picker {
    grid-template-columns: 1fr;
  }
  .news-gallery-block .gallery-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .news-gallery-block .gallery-grid-wide {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v83.css */
/* v0.83 — Pulido de asistencias, noticias públicas y demo visual más natural. */

/* Noticias públicas: hero más respirado y listado progresivo. */
.page-news .news-hero {
  padding-block: clamp(4.2rem, 8vw, 6.6rem);
}
.page-news .news-hero-grid {
  align-items: center;
  gap: clamp(1.4rem, 4vw, 2.6rem);
}
.page-news .news-hero h1 {
  max-width: 760px;
  line-height: .98;
  text-wrap: balance;
}
.page-news .news-hero p:not(.eyebrow) {
  max-width: 710px;
  line-height: 1.62;
}
.page-news .hero-side-cards {
  align-self: center;
}
.news-grid-limited .is-news-hidden {
  display: none !important;
}
.news-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}
.button-news-more {
  min-height: 42px;
  padding-inline: 1.05rem;
  border-radius: 999px;
  background: #fff;
}

/* Ficha de noticia: subhero con imagen titular y bloque audiovisual más limpio. */
.page-news-detail .news-detail-hero {
  min-height: clamp(430px, 58vw, 620px);
  display: grid;
  align-items: end;
}
.page-news-detail .news-detail-hero .container.narrow {
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.page-news-detail .news-detail-hero h1 {
  max-width: 890px;
  text-wrap: balance;
  line-height: .98;
}
.page-news-detail .news-video-card {
  margin-top: 2rem;
  padding: clamp(1.05rem, 2vw, 1.35rem);
  border-radius: 24px;
  background: linear-gradient(135deg, #18346a 0%, #4b3b85 60%, #76538e 100%);
  box-shadow: 0 22px 50px rgba(28, 44, 90, .18);
}
.page-news-detail .news-video-card .video-showcase-copy h2 {
  margin: 0 0 .35rem;
  color: #fff;
}
.page-news-detail .news-video-card .video-showcase-copy p {
  color: rgba(255,255,255,.88);
}
.page-news-detail .news-video-open-button {
  justify-self: stretch;
  width: 100%;
  color: #1b2b5d !important;
  background: rgba(255,255,255,.97) !important;
  border-color: rgba(255,255,255,.97) !important;
}
.page-news-detail .news-video-open-button:hover,
.page-news-detail .news-video-open-button:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
}

/* Captura de asistentes: estructura tipo panel operativo. */
.attendance-capture-page {
  display: grid;
  gap: 1.2rem;
}
.attendance-capture-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(208, 218, 237, .9);
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 12%, rgba(83,65,137,.14), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8f6ff 100%);
  box-shadow: 0 18px 42px rgba(35, 48, 86, .08);
}
.attendance-capture-hero h1 {
  max-width: 880px;
  text-wrap: balance;
}
.attendance-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .9rem;
}
.attendance-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: .4rem .65rem;
  border: 1px solid rgba(83,65,137,.14);
  border-radius: 999px;
  color: #3e3478;
  background: #f1edff;
  font-size: .78rem;
  font-weight: 850;
}
.attendance-capture-layout {
  display: grid;
  gap: 1rem;
}
.attendance-form-card,
.attendance-side-column .admin-card {
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(33, 47, 76, .08);
}
.attendance-card-heading {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.attendance-card-heading.compact {
  margin-bottom: .8rem;
}
.attendance-card-heading h2 {
  margin: .05rem 0 .25rem;
}
.attendance-card-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.attendance-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #534189, #006b8a);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(83,65,137,.18);
}
.attendance-step-card {
  display: grid;
  gap: .8rem;
  margin-top: .85rem;
  padding: .9rem;
  border: 1px solid #e1e7f2;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.attendance-step-label {
  margin: 0;
  color: #534189;
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.attendance-submit {
  margin-top: 1rem;
}
.attendance-side-column {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.attendance-venue-list,
.attendance-recent-list {
  display: grid;
  gap: .65rem;
}
.attendance-venue-list div {
  padding: .7rem;
  border: 1px solid #e0e7f3;
  border-radius: 16px;
  background: #fff;
}
.attendance-venue-list strong,
.attendance-venue-list small {
  display: block;
}
.attendance-venue-list small {
  margin-top: .2rem;
  color: var(--muted);
}
.attendance-recent-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding: .65rem;
  border: 1px solid #e1e7f2;
  border-radius: 18px;
  background: #fff;
}
.attendance-recent-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: #fff;
  background: #534189;
  font-weight: 900;
}
.attendance-recent-item strong,
.attendance-recent-item small {
  display: block;
  min-width: 0;
}
.attendance-recent-item strong {
  color: var(--navy-deep);
}
.attendance-recent-item small {
  color: var(--muted);
  line-height: 1.35;
}

@media (min-width: 1060px) {
  .attendance-capture-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: start;
  }
}

@media (max-width: 760px) {
  .attendance-card-heading {
    display: grid;
  }
  .attendance-hero-meta span {
    width: 100%;
    justify-content: center;
  }
}


/* SOURCE: /css/hotfix-v84.css */
/* v0.84 — Pulido visual de admin, accesos de capturistas y noticias más cercanas a producción. */

.admin-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(28, 43, 78, .07);
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

/* Bandeja de perfiles */
.admin-profiles-review .table-wrap table,
.admin-contact-console .table-wrap table {
  border-collapse: separate;
  border-spacing: 0 .9rem;
}

.admin-profiles-review thead th,
.admin-contact-console thead th {
  border-top: 0;
  border-bottom: 1px solid #e5ebf5;
  background: transparent;
}

.admin-profiles-review .profile-review-row td,
.admin-contact-console tbody td {
  background: #fff;
  border-top: 0 !important;
  box-shadow: 0 14px 30px rgba(29, 42, 74, .05);
}

.admin-profiles-review .profile-review-row td:first-child,
.admin-contact-console tbody td:first-child {
  border-radius: 20px 0 0 20px;
}

.admin-profiles-review .profile-review-row td:last-child,
.admin-contact-console tbody td:last-child {
  border-radius: 0 20px 20px 0;
}

.admin-profiles-review .profile-review-status {
  gap: .5rem;
}

.admin-profiles-review .profile-review-form {
  grid-template-columns: minmax(180px, 1fr) minmax(145px, .85fr);
}

.admin-profiles-review .profile-review-form button {
  width: 100%;
}

/* Contacto admin */
.admin-contact-console table {
  table-layout: fixed;
}

.admin-contact-console th:nth-child(1) { width: 21%; }
.admin-contact-console th:nth-child(2) { width: 18%; }
.admin-contact-console th:nth-child(3) { width: 29%; }
.admin-contact-console th:nth-child(4) { width: 10%; }
.admin-contact-console th:nth-child(5) { width: 22%; }

.admin-message-preview {
  display: -webkit-box;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-status-form {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: .55rem !important;
  align-items: end;
}

.contact-status-form label {
  display: grid;
  gap: .25rem;
  margin: 0;
  color: #3d4d70;
  font-size: .72rem;
  font-weight: 850;
}

.contact-status-form select {
  min-height: 42px;
  border-radius: 12px;
}

/* Heroes admin */
.admin-page-heroes .admin-hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.admin-page-heroes .admin-hero-card {
  min-height: 100%;
  padding: 1rem;
}

.admin-page-heroes .admin-hero-card-media {
  min-height: 168px;
}

.admin-page-heroes .admin-hero-card-copy {
  display: grid;
  align-content: start;
  min-height: 100%;
}

.admin-page-heroes .admin-hero-card-copy .button {
  margin-top: auto;
}

/* Editor de usuario */
.admin-user-editor-shell {
  display: grid;
  gap: 1rem;
}

.admin-user-editor-main,
.admin-user-editor-sidebar-card {
  border-radius: 26px;
}

.admin-user-editor-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(214, 223, 238, .9);
  border-radius: 24px;
  background: radial-gradient(circle at 85% 10%, rgba(83,65,137,.14), transparent 26%), linear-gradient(135deg, #ffffff 0%, #f8f6ff 100%);
}

.admin-user-editor-hero h1 {
  margin: .2rem 0 .4rem;
}

.admin-user-editor-hero p:not(.eyebrow) {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-user-editor-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 36px;
  padding: .45rem .8rem;
  border-radius: 999px;
  color: #3e3478;
  background: #efeaff;
  font-size: .78rem;
  font-weight: 900;
}

.admin-form-grid-surface {
  padding: 1rem;
  border: 1px solid #e0e7f3;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.admin-user-editor-section + .admin-user-editor-section {
  margin-top: 1.2rem;
}

.admin-user-section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  align-items: end;
  margin-bottom: .85rem;
}

.admin-user-section-heading h2 {
  margin: .15rem 0 0;
}

.admin-user-section-heading > span {
  color: var(--muted);
  font-size: .84rem;
}

.admin-user-note-inline {
  margin-bottom: .85rem;
}

.admin-user-editor-shell .admin-check-card {
  min-height: 82px;
  border-radius: 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.admin-user-editor-shell .admin-check-card:hover {
  transform: translateY(-2px);
  border-color: rgba(83,65,137,.28);
  box-shadow: 0 14px 28px rgba(33, 47, 76, .07);
}

.admin-user-editor-shell .admin-check-card.is-selected,
.admin-user-editor-shell .admin-check-card:has(input:checked) {
  border-color: rgba(83,65,137,.46);
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ff 100%);
}

.admin-user-editor-shell .admin-check-card input {
  margin-top: .15rem;
}

.admin-checkbox-row {
  margin-top: .35rem;
}

.admin-user-event-mode {
  display: grid;
  gap: .28rem;
  margin: .9rem 0 1rem;
  padding: .9rem 1rem;
  border-radius: 18px;
  border: 1px solid #dfe6f3;
  background: #f8fafc;
}

.admin-user-event-mode strong {
  color: var(--navy-deep);
}

.admin-user-event-mode span {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}

.admin-user-event-mode.is-global {
  border-color: rgba(18, 107, 80, .18);
  background: linear-gradient(180deg, #f3fbf7 0%, #ffffff 100%);
}

.admin-user-event-mode.is-limited {
  border-color: rgba(83,65,137,.2);
  background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 100%);
}

.admin-user-actions {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

/* Noticias públicas */
.page-news .news-hero {
  min-height: clamp(360px, 44vw, 560px);
}

.page-news .news-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
}

.page-news .news-hero-copy {
  max-width: 780px;
}

.page-news .news-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-news .news-hero-side-cards {
  display: grid;
  gap: .8rem;
}

.page-news .news-hero-insight {
  display: grid;
  gap: .22rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(16, 24, 49, .34);
  box-shadow: 0 16px 32px rgba(14, 22, 43, .18);
  backdrop-filter: blur(8px);
}

.page-news .news-hero-insight strong {
  color: #fff;
  font-size: 1rem;
}

.page-news .news-hero-insight span {
  color: rgba(238, 245, 255, .88);
  line-height: 1.45;
  font-size: .88rem;
}

.page-news .news-card-body span:last-child {
  color: #534189;
  font-weight: 850;
}

@media (min-width: 1040px) {
  .admin-user-editor-shell {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: start;
  }

  .admin-user-editor-side {
    position: sticky;
    top: 104px;
  }
}

@media (max-width: 1120px) {
  .admin-profiles-review .table-wrap table,
  .admin-contact-console .table-wrap table {
    border-spacing: 0;
  }

  .admin-profiles-review .profile-review-row td,
  .admin-contact-console tbody td {
    box-shadow: none;
  }

  .admin-profiles-review .profile-review-row td:first-child,
  .admin-profiles-review .profile-review-row td:last-child,
  .admin-contact-console tbody td:first-child,
  .admin-contact-console tbody td:last-child {
    border-radius: 0;
  }
}

@media (max-width: 900px) {
  .contact-status-form {
    grid-template-columns: 1fr;
  }

  .page-news .news-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-news .news-hero-side-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .admin-card {
    padding: 1rem;
  }

  .admin-user-editor-hero,
  .admin-form-grid-surface {
    padding: .95rem;
  }

  .admin-user-section-heading {
    align-items: start;
  }
}


/* SOURCE: /css/hotfix-v86.css */
/* v0.86 — Limpieza de placeholders visibles y rediseño real de captura de asistentes. */

/* Captura de asistentes: formulario más amplio, legible y con campos al 100%. */
.attendance-capture-page-v86 {
  width: min(1180px, 100%);
  margin: 0 auto;
  gap: 1rem;
}

.attendance-capture-hero-v86 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: 28px;
}

.attendance-capture-hero-v86 h1 {
  margin: .25rem 0 .7rem;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.05;
}

.attendance-capture-hero-v86 p:not(.eyebrow) {
  max-width: 920px;
  line-height: 1.62;
}

.attendance-capture-layout-v86 {
  display: grid;
  gap: 1rem;
}

.attendance-form-card-v86 {
  overflow: hidden;
  padding: 0 !important;
  border-radius: 28px !important;
  background: #fff;
}

.attendance-form-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #e5ebf5;
  background: radial-gradient(circle at 92% 10%, rgba(83,65,137,.12), transparent 28%), linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}

.attendance-form-head h2 {
  margin: .15rem 0 .35rem;
  font-size: 1.55rem;
}

.attendance-form-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.attendance-form-section {
  margin: 1rem 1.15rem 0;
  padding: 1rem;
  border: 1px solid #dfe7f3;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.attendance-step-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  margin-bottom: .9rem;
}

.attendance-step-title > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #534189, #006b8a);
  font-weight: 900;
}

.attendance-step-title strong,
.attendance-step-title small {
  display: block;
}

.attendance-step-title strong {
  color: var(--navy-deep);
  font-size: .98rem;
}

.attendance-step-title small {
  color: var(--muted);
  line-height: 1.35;
}

.attendance-fields-grid {
  display: grid;
  gap: .9rem;
}

.attendance-fields-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attendance-field-wide {
  grid-column: 1 / -1;
}

.attendance-form-card-v86 label {
  display: grid !important;
  gap: .38rem;
  color: #25335f;
  font-size: .84rem;
  font-weight: 850;
}

.attendance-form-card-v86 input,
.attendance-form-card-v86 select,
.attendance-form-card-v86 textarea {
  width: 100% !important;
  min-height: 48px;
  padding: .72rem .82rem;
  border: 1px solid #cfdaea;
  border-radius: 14px;
  color: var(--navy-deep);
  background: #fff;
  box-shadow: 0 8px 18px rgba(33, 47, 76, .035);
  outline: none;
}

.attendance-form-card-v86 textarea {
  min-height: 108px;
  resize: none !important;
  line-height: 1.55;
}

.attendance-form-card-v86 input:focus,
.attendance-form-card-v86 select:focus,
.attendance-form-card-v86 textarea:focus {
  border-color: rgba(83,65,137,.55);
  box-shadow: 0 0 0 4px rgba(83,65,137,.10), 0 10px 22px rgba(33, 47, 76, .06);
}

.attendance-form-actions {
  display: grid;
  gap: .55rem;
  padding: 1rem 1.15rem 1.15rem;
}

.attendance-form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.attendance-side-column-v86 {
  gap: 1rem;
}

.attendance-side-card-v86 {
  padding: 1.15rem !important;
  border-radius: 24px !important;
}

.attendance-side-card-v86 h2 {
  margin: .2rem 0 .45rem;
}

.attendance-venue-list div {
  padding: .9rem !important;
}

/* Oculta en selectores admin cualquier placeholder SVG heredado aunque siga existiendo en BD. */
.admin-media-bank-list label:has(img[src*="mi-demo-profile-"][src$=".svg"]),
.admin-media-bank-list label:has(img[src*="mi-demo-event-"][src$=".svg"]),
.admin-media-bank-list label:has(img[src*="mi-demo-news-"][src$=".svg"]),
.news-related-picker label:has(img[src*="mi-demo-profile-"][src$=".svg"]),
.news-related-picker label:has(img[src*="mi-demo-event-"][src$=".svg"]),
.news-related-picker label:has(img[src*="mi-demo-news-"][src$=".svg"]) {
  display: none !important;
}

@media (min-width: 1080px) {
  .attendance-capture-layout-v86 {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    align-items: start;
  }
}

@media (max-width: 760px) {
  .attendance-capture-hero-v86 {
    grid-template-columns: 1fr;
  }

  .attendance-fields-grid.two {
    grid-template-columns: 1fr;
  }

  .attendance-form-head {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v87.css */
/* v0.87 — Revisión de perfiles con miniatura, columnas separadas y hero de noticias sin cajas innecesarias. */

.admin-profiles-review-v87 .table-wrap table {
  min-width: 1180px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0 .7rem;
}

.admin-profiles-review-v87 th:nth-child(1) { width: 27%; }
.admin-profiles-review-v87 th:nth-child(2) { width: 20%; }
.admin-profiles-review-v87 th:nth-child(3) { width: 12%; }
.admin-profiles-review-v87 th:nth-child(4) { width: 15%; }
.admin-profiles-review-v87 th:nth-child(5) { width: 13%; }
.admin-profiles-review-v87 th:nth-child(6) { width: 13%; }

.admin-profiles-review-v87 .profile-review-row td {
  background: #fff;
  border-top: 0 !important;
  box-shadow: 0 10px 24px rgba(29, 42, 74, .04);
}

.admin-profiles-review-v87 .profile-review-row td:first-child {
  border-radius: 18px 0 0 18px;
}

.admin-profiles-review-v87 .profile-review-row td:last-child {
  border-radius: 0 18px 18px 0;
}

.profile-review-with-thumb {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
}

.profile-review-thumb {
  width: 78px;
  height: 66px;
  overflow: hidden;
  border: 1px solid #dfe7f3;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0edff, #eef8fb);
}

.profile-review-thumb img,
.profile-review-thumb span {
  width: 100%;
  height: 100%;
}

.profile-review-thumb img {
  display: block;
  object-fit: cover;
}

.profile-review-thumb span {
  display: grid;
  place-items: center;
  color: #534189;
  font-size: 1rem;
  font-weight: 950;
}

.admin-profiles-review-v87 .profile-review-main strong,
.admin-profiles-review-v87 .profile-review-contact strong {
  line-height: 1.25;
}

.admin-profiles-review-v87 .profile-review-main small,
.admin-profiles-review-v87 .profile-review-contact small {
  line-height: 1.38;
}

.profile-review-control label {
  display: grid;
  gap: .28rem;
  margin: 0;
  color: #3d4d70;
  font-size: .72rem;
  font-weight: 850;
}

.profile-review-control select,
.profile-review-control input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8e1ef;
  border-radius: 12px;
  background: #fff;
  font-size: .84rem;
}

.profile-review-followup {
  display: grid;
  gap: .55rem;
}

.profile-review-followup .button {
  width: 100%;
}

/* Noticias: mantener los textos del hero aireados, sin encerrar cada renglón en tarjetas. */
.page-news .news-hero-side-cards {
  display: grid;
  gap: .62rem;
  max-width: 620px;
  padding-top: .35rem;
}

.page-news .news-hero-insight {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: .65rem;
  align-items: baseline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.page-news .news-hero-insight strong {
  color: #fff;
  font-size: .95rem;
  line-height: 1.25;
}

.page-news .news-hero-insight span {
  color: rgba(238, 245, 255, .88);
  font-size: .95rem;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .admin-profiles-review-v87 .table-wrap table,
  .admin-profiles-review-v87 thead,
  .admin-profiles-review-v87 tbody,
  .admin-profiles-review-v87 tr,
  .admin-profiles-review-v87 th,
  .admin-profiles-review-v87 td {
    display: block;
  }

  .admin-profiles-review-v87 thead {
    display: none;
  }

  .admin-profiles-review-v87 .profile-review-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #dfe7f3;
    border-radius: 22px;
    background: #fff;
  }

  .admin-profiles-review-v87 .profile-review-row td {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .profile-review-with-thumb {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .profile-review-thumb {
    width: 64px;
    height: 58px;
  }

  .page-news .news-hero-insight {
    grid-template-columns: 1fr;
    gap: .1rem;
  }
}


/* SOURCE: /css/hotfix-v89.css */
/* v0.89 — Fila uniforme de revisión de perfiles y hover de selección. */

.admin-profiles-review-v87 .table-wrap {
  padding: .25rem .2rem 1rem;
}

.admin-profiles-review-v87 .table-wrap table {
  min-width: 1440px;
  border-collapse: separate;
  border-spacing: 0 .72rem;
  table-layout: fixed;
}

.admin-profiles-review-v87 th:nth-child(1) { width: 26%; }
.admin-profiles-review-v87 th:nth-child(2) { width: 19%; }
.admin-profiles-review-v87 th:nth-child(3) { width: 11%; }
.admin-profiles-review-v87 th:nth-child(4) { width: 13%; }
.admin-profiles-review-v87 th:nth-child(5) { width: 12%; }
.admin-profiles-review-v87 th:nth-child(6) { width: 19%; }

.admin-profiles-review-v87 thead th {
  padding-inline: .9rem;
}

.admin-profiles-review-v87 .profile-review-row {
  transition: transform .16s ease;
}

.admin-profiles-review-v87 .profile-review-row td {
  position: relative;
  height: 122px;
  padding: .9rem .85rem !important;
  border-top: 1px solid #e6edf7 !important;
  border-bottom: 1px solid #e6edf7;
  background: #fff;
  box-shadow: none !important;
  vertical-align: middle;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.admin-profiles-review-v87 .profile-review-row td:first-child {
  border-left: 1px solid #e6edf7;
  border-radius: 20px 0 0 20px;
}

.admin-profiles-review-v87 .profile-review-row td:last-child {
  border-right: 1px solid #e6edf7;
  border-radius: 0 20px 20px 0;
}

.admin-profiles-review-v87 .profile-review-row:hover td,
.admin-profiles-review-v87 .profile-review-row:focus-within td {
  border-color: rgba(83, 65, 137, .28) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  box-shadow: 0 18px 34px rgba(32, 43, 76, .07) !important;
}

.admin-profiles-review-v87 .profile-review-row:hover td:first-child,
.admin-profiles-review-v87 .profile-review-row:focus-within td:first-child {
  box-shadow: -8px 18px 34px rgba(32, 43, 76, .055) !important;
}

.admin-profiles-review-v87 .profile-review-row:hover td:last-child,
.admin-profiles-review-v87 .profile-review-row:focus-within td:last-child {
  box-shadow: 8px 18px 34px rgba(32, 43, 76, .055) !important;
}

.admin-profiles-review-v87 .profile-review-with-thumb {
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
}

.admin-profiles-review-v87 .profile-review-thumb {
  width: 82px;
  height: 74px;
  border-radius: 18px;
}

.admin-profiles-review-v87 .profile-review-main strong,
.admin-profiles-review-v87 .profile-review-contact strong {
  overflow-wrap: anywhere;
}

.admin-profiles-review-v87 .profile-review-main small,
.admin-profiles-review-v87 .profile-review-contact small {
  overflow-wrap: anywhere;
}

.admin-profiles-review-v87 .profile-review-status {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .5rem;
}

.admin-profiles-review-v87 .profile-review-control {
  vertical-align: middle;
}

.admin-profiles-review-v87 .profile-review-control label {
  gap: .32rem;
}

.admin-profiles-review-v87 .profile-review-control label span {
  white-space: nowrap;
}

.admin-profiles-review-v87 .profile-review-control select,
.admin-profiles-review-v87 .profile-review-control input {
  min-width: 0;
  min-height: 44px;
  padding-inline: .75rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-profiles-review-v87 .profile-review-followup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: .55rem;
  align-items: end;
}

.admin-profiles-review-v87 .profile-review-followup label {
  min-width: 0;
}

.admin-profiles-review-v87 .profile-review-followup input {
  width: 100%;
}

.admin-profiles-review-v87 .profile-review-followup .button {
  width: 100%;
  min-height: 44px;
  padding-inline: .65rem;
}

@media (max-width: 1120px) {
  .admin-profiles-review-v87 .table-wrap table {
    min-width: 0;
  }

  .admin-profiles-review-v87 .profile-review-row:hover td,
  .admin-profiles-review-v87 .profile-review-row:focus-within td,
  .admin-profiles-review-v87 .profile-review-row td {
    height: auto;
    box-shadow: none !important;
  }

  .admin-profiles-review-v87 .profile-review-row {
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
  }

  .admin-profiles-review-v87 .profile-review-row:hover,
  .admin-profiles-review-v87 .profile-review-row:focus-within {
    border-color: rgba(83, 65, 137, .28);
    background: #fbf9ff;
    box-shadow: 0 18px 34px rgba(32, 43, 76, .07);
  }

  .admin-profiles-review-v87 .profile-review-followup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-profiles-review-v87 .profile-review-with-thumb {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .admin-profiles-review-v87 .profile-review-thumb {
    width: 68px;
    height: 62px;
  }
}


/* SOURCE: /css/hotfix-v90.css */
/* v0.90 — Revisión de perfiles como tabla editorial amplia, uniforme y con hover real. */

.admin-content:has(.admin-profiles-review-v90) {
  width: min(calc(100% - 40px), 1580px);
}

.admin-profiles-review-v90 {
  overflow: hidden;
}

.admin-profiles-review-v90 > header {
  margin-bottom: 1rem;
}


.admin-profiles-review-v90 .admin-table-toolbar {
  margin-bottom: .9rem;
}

.admin-profiles-review-v90 .admin-filter-field {
  min-width: 0;
}

.admin-profiles-review-v90 .admin-filter-field input,
.admin-profiles-review-v90 .admin-filter-field select {
  width: 100%;
}

.admin-profiles-toolbar {
  grid-template-columns: minmax(320px, 1.55fr) minmax(190px, .75fr) minmax(120px, .45fr) minmax(190px, .75fr);
  align-items: end;
}

.admin-profiles-review-v90 .admin-table-summary {
  margin: 0 0 .35rem;
}

.profile-review-grid-empty {
  grid-template-columns: 1fr;
  min-height: 0;
}

.profile-review-grid-empty .profile-review-grid-cell {
  padding: 1rem 1.1rem;
}

.profile-review-scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: .25rem .2rem 1rem;
  scrollbar-color: rgba(83, 65, 137, .45) transparent;
}

.profile-review-grid-table {
  display: grid;
  gap: .72rem;
  min-width: 1430px;
}

.profile-review-grid-head,
.profile-review-grid-row {
  display: grid;
  grid-template-columns: minmax(330px, 1.38fr) minmax(240px, .92fr) minmax(130px, .44fr) minmax(190px, .62fr) minmax(170px, .55fr) minmax(285px, .86fr);
  align-items: stretch;
}

.profile-review-grid-head {
  gap: 0;
  padding: 0 .15rem;
  border-bottom: 1px solid #e5ebf5;
  color: #4d5d7b;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.profile-review-grid-head span {
  padding: .75rem .95rem;
  white-space: nowrap;
}

.profile-review-grid-row {
  min-height: 116px;
  border: 1px solid #e4ebf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(29, 42, 74, .04);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.profile-review-grid-row:hover,
.profile-review-grid-row:focus-within {
  transform: translateY(-1px);
  border-color: rgba(83, 65, 137, .34);
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%);
  box-shadow: 0 20px 42px rgba(29, 42, 74, .095);
}

.profile-review-grid-cell {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: .95rem .95rem;
  border-right: 1px solid #edf1f7;
}

.profile-review-grid-cell:last-child {
  border-right: 0;
}

.profile-review-profile-cell {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
}

.profile-review-thumb {
  display: grid;
  place-items: center;
  width: 82px;
  height: 74px;
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f7fb, #ece8ff);
}

.profile-review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-review-thumb span {
  color: #534189;
  font-weight: 950;
  letter-spacing: .04em;
}

.profile-review-main-copy,
.profile-review-contact-cell,
.profile-review-followup-cell label {
  min-width: 0;
}

.profile-review-main-copy strong,
.profile-review-contact-cell strong {
  display: block;
  color: var(--navy-deep);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.profile-review-main-copy small,
.profile-review-contact-cell small {
  display: block;
  margin-top: .22rem;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.profile-review-main-copy .admin-edit-profile-link {
  display: inline-flex;
  width: fit-content;
  margin-top: .58rem;
  padding: .35rem .68rem;
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  background: #fff;
  font-size: .78rem;
  font-weight: 850;
}

.profile-review-status-cell {
  justify-items: start;
  gap: .46rem;
}

.profile-review-field-cell,
.profile-review-followup-cell label {
  gap: .32rem;
}

.profile-review-field-cell > span,
.profile-review-followup-cell label > span {
  color: #34476c;
  font-size: .72rem;
  font-weight: 900;
  white-space: nowrap;
}

.profile-review-field-cell select,
.profile-review-followup-cell input {
  width: 100%;
  min-height: 46px;
  border-radius: 13px;
  font-weight: 800;
}

.profile-review-followup-cell {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: .6rem;
  align-items: end;
}

.profile-review-followup-cell .button {
  width: 100%;
  min-height: 46px;
  padding-inline: .65rem;
}

@media (max-width: 1180px) {
  .admin-profiles-toolbar {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-content:has(.admin-profiles-review-v90) {
    width: min(calc(100% - 24px), 1580px);
  }

  .profile-review-grid-table {
    min-width: 0;
  }

  .profile-review-grid-head {
    display: none;
  }

  .profile-review-grid-row {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: .2rem;
  }

  .profile-review-grid-cell {
    border-right: 0;
    border-bottom: 1px solid #edf1f7;
  }

  .profile-review-grid-cell:last-child {
    border-bottom: 0;
  }

  .profile-review-followup-cell {
    grid-template-columns: 1fr;
  }
}


/* SOURCE: /css/hotfix-v98.css */
/* v0.98 — Tu ciudad como territorio editorial especial administrable. */

.admin-city-hub-panel {
  margin-bottom: 1rem;
  border-color: rgba(83, 65, 137, .25);
  background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%);
}

.admin-city-hub-panel > header {
  align-items: flex-start;
}

.admin-city-hub-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(83, 65, 137, .18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 42, 74, .06);
}

.admin-city-hub-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-deep), var(--violet));
  font-size: 1.5rem;
  font-weight: 950;
}

.admin-city-hub-card strong {
  color: var(--navy-deep);
  font-size: 1.1rem;
}

.admin-city-hub-card p {
  max-width: 760px;
  margin: .35rem 0 .65rem;
  color: var(--muted);
}

.admin-city-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.admin-city-hub-tags span,
.admin-territory-count {
  display: inline-flex;
  padding: .3rem .55rem;
  border-radius: 999px;
  color: var(--violet);
  background: #efebfb;
  font-size: .74rem;
  font-weight: 850;
}

.admin-city-hub-actions {
  display: grid;
  gap: .5rem;
  min-width: 170px;
}

.admin-tenencias-official-panel > header {
  align-items: flex-start;
}

/* Página pública Tu ciudad */
.city-hub-hero {
  min-height: 430px;
}

.city-hub-hero .detail-hero-overlay {
  background: linear-gradient(90deg, rgba(15, 33, 76, .93) 0%, rgba(21, 42, 89, .73) 50%, rgba(20, 34, 72, .26) 100%);
}

.city-hub-hero-content {
  max-width: 780px;
}

.city-hub-hero-content h1 {
  max-width: 760px;
}

.city-hub-intro-section {
  padding-bottom: 2.5rem;
}

.city-hub-rich-content > p {
  color: #43516e;
  font-size: 1rem;
  line-height: 1.78;
}

.city-info-strip > div {
  min-height: 128px;
}

.city-economic-section {
  border-block: 1px solid #e8edf5;
}

.city-economic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.city-economic-grid a {
  display: grid;
  align-content: start;
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid #e1e7f1;
  border-radius: 22px;
  color: var(--navy-deep);
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 42, 74, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.city-economic-grid a:hover,
.city-economic-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(83, 65, 137, .35);
  box-shadow: 0 22px 48px rgba(29, 42, 74, .105);
}

.city-economic-grid a > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 15px;
  color: var(--violet);
  background: #efebfb;
  font-size: 1.4rem;
  font-weight: 900;
}

.city-economic-grid strong {
  font-size: 1.08rem;
}

.city-economic-grid p {
  margin: .55rem 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.city-economic-grid em {
  margin-top: auto;
  color: var(--violet);
  font-style: normal;
  font-weight: 850;
}

.city-events-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .95fr);
  gap: 1rem;
  align-items: stretch;
}

.city-event-featured {
  min-height: 520px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(11, 23, 55, .08), rgba(15, 28, 66, .9)), var(--city-event-image) center/cover no-repeat;
  box-shadow: 0 24px 54px rgba(20, 36, 75, .2);
}

.city-event-featured > a {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  min-height: 520px;
  padding: 1.6rem;
  color: #fff;
}

.city-event-featured-copy {
  max-width: 540px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: rgba(28, 31, 76, .78);
  backdrop-filter: blur(12px);
}

.city-event-featured-copy h3 {
  margin: .35rem 0 .55rem;
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
  line-height: 1.05;
}

.city-event-featured-copy p,
.city-event-featured-copy span {
  color: rgba(255,255,255,.88);
}

.city-event-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.city-event-secondary-grid .event-card:first-child {
  grid-column: 1 / -1;
}

.city-event-secondary-grid .event-card img {
  aspect-ratio: 1.65;
}

.city-gallery-section {
  border-top: 1px solid #e8edf5;
}

.city-news-opportunities-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 1.25rem;
  align-items: stretch;
}

.city-news-list {
  display: grid;
  gap: .75rem;
}

.city-news-list article {
  border: 1px solid #e1e7f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(29, 42, 74, .045);
}

.city-news-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
}

.city-news-list span {
  color: var(--violet);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.city-news-list h3 {
  margin: .25rem 0 .35rem;
  color: var(--navy-deep);
  font-size: 1rem;
}

.city-news-list p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
}

.city-news-list a > strong {
  color: var(--violet);
  white-space: nowrap;
}

.city-opportunities-panel {
  padding: 1.4rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #192f69 0%, #44377c 100%);
  box-shadow: 0 22px 48px rgba(27, 42, 84, .22);
}

.city-opportunities-panel h2 {
  margin: .25rem 0 .55rem;
  color: #fff;
}

.city-opportunities-panel > p:not(.eyebrow) {
  color: rgba(255,255,255,.78);
}

.city-opportunity-links {
  display: grid;
  gap: .65rem;
  margin-top: 1.2rem;
}

.city-opportunity-links a {
  display: grid;
  gap: .2rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.city-opportunity-links span {
  font-size: .78rem;
  color: rgba(255,255,255,.72);
}

.city-opportunity-links strong {
  font-size: .9rem;
}

.city-video-section {
  background: #f7f8fc;
}

.city-final-cta-section {
  padding-top: 0;
}

.city-final-cta {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(120deg, #172e67, #4c3d83);
  box-shadow: 0 24px 52px rgba(27, 42, 84, .2);
}

.city-final-cta h2 {
  margin: .25rem 0 .4rem;
  color: #fff;
}

.city-final-cta p {
  margin: 0;
  color: rgba(255,255,255,.8);
}

.city-final-cta > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

@media (max-width: 1050px) {
  .city-economic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .city-events-showcase,
  .city-news-opportunities-grid {
    grid-template-columns: 1fr;
  }
  .city-event-secondary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .city-event-secondary-grid .event-card:first-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .admin-city-hub-card {
    grid-template-columns: 1fr;
  }
  .admin-city-hub-actions {
    min-width: 0;
  }
  .city-hub-hero {
    min-height: 500px;
  }
  .city-economic-grid,
  .city-event-secondary-grid {
    grid-template-columns: 1fr;
  }
  .city-event-featured,
  .city-event-featured > a {
    min-height: 420px;
  }
  .city-news-list a {
    grid-template-columns: 1fr;
  }
  .city-final-cta {
    display: grid;
  }
}

.admin-city-editor-guide {
  display: grid;
  gap: .45rem;
  margin-bottom: 1rem;
}

.admin-city-editor-guide > div {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}


/* SOURCE: /css/hotfix-v99.css */
/* v0.99 — Flujo intuitivo de solicitudes, alta manual y territorio editorial. */

[data-admin-table-row][hidden],
.profile-review-grid-row[hidden] {
  display: none !important;
}

.admin-profile-requests-console {
  display: grid;
  gap: .9rem;
}

.admin-profile-requests-console > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-profile-requests-toolbar {
  grid-template-columns: minmax(320px, 1.35fr) 220px 130px 210px;
  align-items: end;
}

.admin-profile-requests-console table {
  min-width: 1100px;
}

.admin-profile-requests-console td {
  vertical-align: top;
}

.admin-profile-requests-console td strong,
.admin-profile-requests-console td small {
  display: block;
}

.admin-profile-requests-console td small {
  margin-top: .28rem;
  color: var(--muted);
  line-height: 1.35;
}

.admin-profile-requests-console .table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.admin-request-review-grid {
  align-items: start;
}

.admin-request-summary-grid,
.admin-request-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.admin-request-summary-grid article,
.admin-request-contact-grid > * {
  display: grid;
  gap: .28rem;
  padding: .9rem 1rem;
  border: 1px solid #e2e8f2;
  border-radius: 16px;
  background: #f9fbff;
  text-decoration: none;
}

.admin-request-summary-grid span,
.admin-request-contact-grid span {
  color: var(--muted);
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-request-summary-grid strong,
.admin-request-contact-grid strong {
  color: var(--navy-deep);
  overflow-wrap: anywhere;
}

.admin-request-text {
  padding: .9rem 0;
  border-bottom: 1px solid #e7ecf4;
}

.admin-request-text:last-child {
  border-bottom: 0;
}

.admin-request-text p {
  margin: .45rem 0 0;
  color: var(--text);
  line-height: 1.65;
  white-space: pre-line;
}

.admin-request-workflow-panel form {
  display: grid;
  gap: .8rem;
}

.admin-request-workflow-panel textarea {
  min-height: 150px;
}

.admin-source-request-callout {
  margin-bottom: 1rem;
}

.admin-source-request-callout a {
  font-weight: 850;
}

@media (max-width: 1180px) {
  .admin-profile-requests-toolbar {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-profile-requests-console > header {
    display: grid;
  }

  .admin-profile-requests-toolbar,
  .admin-request-summary-grid,
  .admin-request-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* El evento destacado de Tu ciudad conserva la misma presencia vertical que en las fichas territoriales. */
@media (min-width: 980px) {
  .page-city-hub .city-hub-recommended .tenencia-recommended-card {
    width: 100%;
    max-width: 320px;
    min-height: 520px !important;
    aspect-ratio: 8 / 13;
    margin-left: auto;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-copy {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-body {
    margin-top: auto;
  }
}


/* SOURCE: /css/hotfix-v100.css */
/* v1.00 — Tu ciudad usa el mismo banner vertical del evento recomendado de las fichas territoriales. */

@media (min-width: 980px) {
  .page-city-hub .city-hub-intro-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .page-city-hub .city-hub-recommended {
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    justify-self: end;
    align-self: start;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card {
    width: 100% !important;
    max-width: 360px !important;
    min-width: 360px !important;
    height: 735px !important;
    min-height: 735px !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    margin-left: 0 !important;
    justify-self: stretch;
    align-self: stretch;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-copy {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .82rem;
    padding: .72rem .72rem .98rem;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card .agenda-side-panel-body {
    margin-top: auto;
    padding: 1rem;
    gap: .6rem;
    border-radius: 20px;
  }
}

@media (max-width: 979px) {
  .page-city-hub .city-hub-recommended {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .page-city-hub .city-hub-recommended .tenencia-recommended-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 430px !important;
    aspect-ratio: auto !important;
  }
}


/* SOURCE: /css/hotfix-v101.css */
/* v1.01 — Listas completas de asistentes y soporte operativo para eventos de varios días. */

[data-admin-table-row][hidden] {
  display: none !important;
}

.attendance-overview-intro-v101 {
  align-items: center;
}

.attendance-overview-cards-v101 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.attendance-overview-cards-v101 article {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e1e8f3;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%);
  box-shadow: 0 12px 28px rgba(28, 42, 78, .055);
}

.attendance-overview-cards-v101 article > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #24558d, #59418f);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.attendance-overview-cards-v101 strong,
.attendance-overview-cards-v101 small {
  display: block;
}

.attendance-overview-cards-v101 strong {
  color: var(--navy-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.attendance-overview-cards-v101 small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .82rem;
}

.attendance-list-section-v101 + .attendance-list-section-v101 {
  margin-top: 1.35rem;
}

.attendance-section-heading-v101 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .95rem;
}

.attendance-section-heading-v101 h2 {
  margin: .15rem 0 .3rem;
}

.attendance-table-wrap-v101 {
  overflow-x: auto;
}

.attendance-table-wrap-v101 table {
  min-width: 1040px;
}

.attendance-row-actions-v101 {
  display: flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}

.attendance-page-v101 {
  display: grid;
  gap: 1rem;
}

.attendance-hero-v101,
.attendance-list-hero-v101 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.attendance-hero-actions-v101 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
  min-width: 210px;
}

.attendance-day-picker-v101 {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e1e7f2;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff 0%, #f7f4ff 100%);
}

.attendance-day-picker-v101 h2 {
  margin: .15rem 0 .3rem;
  color: var(--navy-deep);
  font-size: 1.08rem;
}

.attendance-day-picker-v101 p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.attendance-day-chips-v101 {
  display: flex;
  gap: .55rem;
  overflow-x: auto;
  padding: .2rem 0;
}

.attendance-day-chip-v101 {
  flex: 0 0 auto;
  min-width: 155px;
  padding: .68rem .8rem;
  border: 1px solid #dce4f1;
  border-radius: 16px;
  background: #fff;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.attendance-day-chip-v101:hover,
.attendance-day-chip-v101.is-active {
  transform: translateY(-1px);
  border-color: rgba(83, 65, 137, .55);
  box-shadow: 0 12px 24px rgba(43, 40, 92, .1);
}

.attendance-day-chip-v101.is-active {
  background: linear-gradient(135deg, #f8f5ff 0%, #eee8ff 100%);
}

.attendance-day-chip-v101 span,
.attendance-day-chip-v101 strong {
  display: block;
}

.attendance-day-chip-v101 span {
  color: #665695;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.attendance-day-chip-v101 strong {
  margin-top: .18rem;
  font-size: .84rem;
}

.attendance-field-help-v101 {
  display: block;
  margin-top: .3rem;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
}

.attendance-view-list-v101 {
  margin-top: .85rem;
}

.attendance-list-page-v101 {
  display: grid;
  gap: 1.1rem;
}

.attendance-list-hero-v101 {
  padding: 1.25rem 1.35rem;
  border: 1px solid #dde5f1;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #f5f1ff 100%);
  box-shadow: 0 18px 40px rgba(28, 42, 78, .06);
}

.attendance-list-hero-v101 h1 {
  margin: .18rem 0 .45rem;
  color: var(--navy-deep);
  font-size: clamp(1.65rem, 2.5vw, 2.45rem);
  line-height: 1.08;
}

.attendance-list-hero-v101 > div:first-child > p:not(.eyebrow) {
  max-width: 850px;
  color: #42516f;
}

.attendance-day-summary-v101 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .75rem;
}

.attendance-day-summary-card-v101 {
  display: grid;
  gap: .25rem;
  min-height: 128px;
  padding: .9rem 1rem;
  border: 1px solid #e1e7f2;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 42, 78, .045);
}

.attendance-day-summary-card-v101.is-active,
.attendance-day-summary-card-v101.is-total {
  border-color: rgba(83, 65, 137, .4);
  background: linear-gradient(135deg, #fff 0%, #f5f0ff 100%);
}

.attendance-day-summary-card-v101 > span {
  color: #675794;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.attendance-day-summary-card-v101 > strong {
  color: var(--navy-deep);
  font-size: 1.75rem;
  line-height: 1;
}

.attendance-day-summary-card-v101 > small {
  color: var(--muted);
  font-size: .76rem;
}

.attendance-day-summary-card-v101 > a {
  align-self: end;
  width: fit-content;
  margin-top: .35rem;
  color: #49397c;
  font-size: .76rem;
  font-weight: 850;
}

.attendance-list-console-v101 {
  overflow: hidden;
}

.attendance-list-toolbar-v101 {
  grid-template-columns: minmax(290px, 1.25fr) minmax(210px, .8fr) 130px minmax(190px, .7fr);
  align-items: end;
}

.attendance-full-table-wrap-v101 {
  overflow-x: auto;
}

.attendance-full-table-v101 {
  min-width: 1380px;
}

.attendance-full-table-v101 th:nth-child(1) { width: 115px; }
.attendance-full-table-v101 th:nth-child(2) { width: 210px; }
.attendance-full-table-v101 th:nth-child(3) { width: 210px; }
.attendance-full-table-v101 th:nth-child(4) { width: 190px; }
.attendance-full-table-v101 th:nth-child(5) { width: 190px; }
.attendance-full-table-v101 th:nth-child(6) { width: 160px; }
.attendance-full-table-v101 th:nth-child(7) { width: 165px; }
.attendance-full-table-v101 th:nth-child(8) { width: 230px; }

.attendance-full-table-v101 td {
  vertical-align: top;
}

.attendance-full-table-v101 td strong,
.attendance-full-table-v101 td small {
  display: block;
}

.attendance-full-table-v101 td small {
  margin-top: .2rem;
  color: var(--muted);
  line-height: 1.35;
}

.attendance-date-badge-v101 {
  display: inline-flex;
  padding: .32rem .55rem;
  border-radius: 999px;
  background: #eee9ff;
  color: #4d3d81;
  font-size: .75rem;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .attendance-list-toolbar-v101 {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .attendance-day-picker-v101 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .attendance-overview-cards-v101 {
    grid-template-columns: 1fr;
  }

  .attendance-hero-v101,
  .attendance-list-hero-v101 {
    flex-direction: column;
  }

  .attendance-hero-actions-v101 {
    justify-content: flex-start;
    width: 100%;
  }

  .attendance-hero-actions-v101 .button {
    flex: 1 1 180px;
  }

  .attendance-list-toolbar-v101 {
    grid-template-columns: 1fr;
  }

  .attendance-row-actions-v101 {
    flex-direction: column;
    align-items: stretch;
  }
}


/* SOURCE: /css/hotfix-v102.css */
/* v1.02 — Asistencias: contenedores amplios y tablas homologadas por evento y por día. */

.admin-content:has(.attendance-overview-intro-v101) {
  width: min(calc(100% - 32px), 1580px);
}

.attendance-list-section-v101 {
  width: 100%;
  min-width: 0;
}

.attendance-table-wrap-v101 {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

#por-evento .attendance-table-wrap-v101 table,
#por-dia .attendance-table-wrap-v101 table {
  width: 100%;
  min-width: 1100px;
  table-layout: fixed;
}

#por-evento .attendance-table-wrap-v101 th:nth-child(1),
#por-evento .attendance-table-wrap-v101 td:nth-child(1) { width: 25%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(2),
#por-evento .attendance-table-wrap-v101 td:nth-child(2) { width: 14%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(3),
#por-evento .attendance-table-wrap-v101 td:nth-child(3) { width: 16%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(4),
#por-evento .attendance-table-wrap-v101 td:nth-child(4) { width: 8%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(5),
#por-evento .attendance-table-wrap-v101 td:nth-child(5) { width: 10%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(6),
#por-evento .attendance-table-wrap-v101 td:nth-child(6) { width: 10%; }
#por-evento .attendance-table-wrap-v101 th:nth-child(7),
#por-evento .attendance-table-wrap-v101 td:nth-child(7) { width: 17%; }

#por-dia .attendance-table-wrap-v101 th:nth-child(1),
#por-dia .attendance-table-wrap-v101 td:nth-child(1) { width: 14%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(2),
#por-dia .attendance-table-wrap-v101 td:nth-child(2) { width: 30%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(3),
#por-dia .attendance-table-wrap-v101 td:nth-child(3) { width: 18%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(4),
#por-dia .attendance-table-wrap-v101 td:nth-child(4) { width: 10%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(5),
#por-dia .attendance-table-wrap-v101 td:nth-child(5) { width: 10%; }
#por-dia .attendance-table-wrap-v101 th:nth-child(6),
#por-dia .attendance-table-wrap-v101 td:nth-child(6) { width: 18%; }

#por-evento .attendance-table-wrap-v101 th,
#por-evento .attendance-table-wrap-v101 td,
#por-dia .attendance-table-wrap-v101 th,
#por-dia .attendance-table-wrap-v101 td {
  overflow-wrap: anywhere;
}

#por-evento .attendance-row-actions-v101,
#por-dia .attendance-row-actions-v101 {
  justify-content: flex-end;
}

@media (max-width: 980px) {
  .admin-content:has(.attendance-overview-intro-v101) {
    width: min(calc(100% - 24px), 1580px);
  }

  #por-evento .attendance-table-wrap-v101 table,
  #por-dia .attendance-table-wrap-v101 table {
    min-width: 1040px;
  }
}


/* SOURCE: /css/hotfix-v103.css */
/* v1.03 — Jerarquía de eventos, panel lateral estable y accesos administrativos por rol. */

@media (min-width: 980px) {
  .page-events .agenda-grid {
    align-items: start !important;
  }

  .page-events .agenda-side-panel {
    width: 100% !important;
    max-width: 360px !important;
    min-width: 360px;
    height: 735px !important;
    min-height: 735px !important;
    max-height: 735px !important;
    align-self: start !important;
    justify-self: stretch;
    overflow: hidden;
  }

  .page-events .agenda-side-panel:not(.agenda-side-panel-event) {
    justify-content: center;
    padding: 2rem 1.55rem;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    height: 735px !important;
    min-height: 735px !important;
    max-height: 735px !important;
  }
}

@media (max-width: 979px) {
  .page-events .agenda-side-panel {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-self: auto !important;
  }

  .page-events .agenda-side-panel-event .agenda-side-panel-copy {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}


/* SOURCE: /css/hotfix-v105.css */
/* v1.05 · multimedia organizada por contenido */
.entity-media-manager{display:grid;gap:1.1rem;margin:0 0 1.2rem;padding:1.15rem;border:1px solid rgba(31,47,93,.14);border-radius:20px;background:linear-gradient(180deg,#fff,#fbfcff)}
.entity-media-manager-head h2,.entity-media-slot h3,.entity-media-gallery h3{margin:.15rem 0 .4rem}.entity-media-slot-grid{display:grid;gap:1rem}.entity-media-slot,.entity-media-gallery{display:grid;gap:.85rem;padding:1rem;border:1px solid rgba(31,47,93,.13);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,47,93,.055)}
.entity-media-slot-copy p,.entity-media-gallery-head p{margin:.25rem 0;color:#4a5269}.entity-media-slot-copy small,.entity-media-gallery-head small{display:block;color:#687088;line-height:1.45}.entity-media-slot-badge{display:inline-flex;width:max-content;padding:.3rem .55rem;border-radius:999px;background:#eef1fa;color:#1f2f5d;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.entity-media-preview{overflow:hidden;border-radius:14px;background:#eef1f6;aspect-ratio:16/9}.entity-media-slot[data-media-slot-card="thumbnail"] .entity-media-preview{aspect-ratio:18/13}.entity-media-slot[data-media-slot-card="mini_banner"] .entity-media-preview{aspect-ratio:9/14;max-height:390px}.entity-media-preview img{width:100%;height:100%;object-fit:cover;display:block}.entity-media-empty-preview{height:100%;min-height:150px;display:grid;place-content:center;text-align:center;color:#747c90;border:1px dashed #b8bfd0}.entity-media-empty-preview span{font-weight:800}.entity-media-empty-preview small{margin-top:.3rem}
.entity-media-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0}.entity-media-facts div{min-width:0;padding:.55rem .65rem;border-radius:10px;background:#f6f7fb}.entity-media-facts dt{font-size:.7rem;text-transform:uppercase;font-weight:800;color:#737b90}.entity-media-facts dd{margin:.15rem 0 0;font-size:.82rem;overflow-wrap:anywhere}.entity-media-fields{display:grid;gap:.65rem}.entity-media-fields label{display:grid;gap:.35rem}.entity-media-actions{display:flex;gap:.55rem;flex-wrap:wrap}.button-danger-soft{color:#9e2f2f!important}.entity-media-status{min-height:1.2em;margin:0;font-size:.84rem;font-weight:700}.entity-media-status.is-loading{color:#5a6480}.entity-media-status.is-success{color:#177245}.entity-media-status.is-error{color:#a22e2e}.entity-media-legacy-note{margin:0;padding:.65rem;border-radius:10px;background:#fff8e7;color:#6f5818;font-size:.82rem}
.entity-media-gallery-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.entity-media-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.entity-media-gallery-item{margin:0;overflow:hidden;border:1px solid rgba(31,47,93,.13);border-radius:14px;background:#f8f9fc}.entity-media-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.entity-media-gallery-item figcaption{display:grid;gap:.25rem;padding:.65rem}.entity-media-gallery-item strong,.entity-media-gallery-item small{overflow-wrap:anywhere}.entity-media-gallery-item small,.entity-media-gallery-item em{font-size:.75rem;color:#6d7487}.entity-media-empty-gallery{padding:1rem;border:1px dashed #b8bfd0;border-radius:12px;text-align:center;color:#6b7285}.entity-media-save-first{display:grid;gap:.25rem}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.entity-media-gallery-head{display:grid}.entity-media-gallery-grid{grid-template-columns:1fr}.entity-media-facts{grid-template-columns:1fr}.entity-media-manager{padding:.85rem}.entity-media-slot,.entity-media-gallery{padding:.8rem}}
.entity-media-gallery-item figcaption label{display:grid;gap:.25rem;font-size:.72rem;font-weight:800;color:#596176}.entity-media-gallery-item figcaption input{min-width:0;width:100%}.entity-media-gallery-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.25rem}.entity-media-gallery-actions .button{padding:.45rem .55rem;font-size:.72rem}

/* v1.05.1 · editor enriquecido fuera del label implícito para conservar foco */
.admin-form label + .rich-editor{margin:.35rem 0 .85rem}
.admin-form .rich-editor-surface{cursor:text;user-select:text;-webkit-user-select:text}


/* SOURCE: /css/hotfix-v106.css */
/* Morelia Impulsa v1.06 · Qué comprar, cocineras, recetas y proyectos de inversión */

/* Navegación primaria: conserva los nuevos accesos sin comprimir el buscador. */
@media (min-width: 1181px) {
  .site-header-v8 .header-inner-v8 { max-width: 1240px !important; }
  .site-header-v8 .primary-nav-v8 { gap: 10px !important; }
  .site-header-v8 .primary-nav-v8 > a,
  .site-header-v8 .primary-nav-v8 > .nav-more > summary { padding-inline: 9px !important; white-space: nowrap; }
  .site-header-v8 .nav-search-form { width: min(250px, 19vw) !important; min-width: 190px !important; }
}

.shopping-hero,
.recipes-hero,
.cookbooks-hero,
.cooks-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(115, 222, 239, .24), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(129, 87, 186, .35), transparent 34%),
    linear-gradient(128deg, #10275f 0%, #253f85 52%, #5b3f8f 100%);
  padding: clamp(74px, 8vw, 126px) 0 clamp(64px, 7vw, 104px);
}
.shopping-hero::after,
.recipes-hero::after,
.cookbooks-hero::after,
.cooks-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  border: 75px solid rgba(255,255,255,.055);
  pointer-events: none;
}
.shopping-hero .container,
.recipes-hero .container,
.cookbooks-hero .container,
.cooks-hero .container { position: relative; z-index: 1; }
.shopping-hero h1,
.recipes-hero h1,
.cookbooks-hero h1,
.cooks-hero h1 { max-width: 850px; margin: 8px 0 18px; font-size: clamp(2.35rem, 5vw, 4.65rem); line-height: .98; color: #fff; }
.shopping-hero p,
.recipes-hero p,
.cookbooks-hero p,
.cooks-hero p { max-width: 760px; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.45vw, 1.2rem); }

.recipes-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 310px); gap: clamp(28px, 6vw, 80px); align-items: end; }
.recipes-hero-stat { display: grid; place-items: center; text-align: center; min-height: 240px; padding: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 30px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); box-shadow: 0 26px 60px rgba(6,17,53,.24); }
.recipes-hero-stat strong { display: block; font-size: clamp(3.5rem, 7vw, 6.2rem); line-height: .85; color: #fff; }
.recipes-hero-stat span { font-weight: 800; }
.recipes-hero-stat small { display: block; margin-top: 10px; color: rgba(255,255,255,.75); line-height: 1.55; }

.section-heading-wide { gap: 24px; }
.public-card-grid-4,
.recipe-grid,
.cooks-grid,
.cookbook-grid,
.investment-project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.shopping-section-intro { max-width: 850px; margin: -2px 0 24px; color: #5d6780; }
.shopping-profile-card,
.recipe-card,
.cook-card,
.cookbook-card,
.investment-project-card { min-width: 0; border: 1px solid #e2e6f0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 16px 38px rgba(28,42,87,.08); transition: transform .2s ease, box-shadow .2s ease; }
.shopping-profile-card:hover,
.recipe-card:hover,
.cook-card:hover,
.cookbook-card:hover,
.investment-project-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(28,42,87,.14); }
.shopping-profile-card > a,
.recipe-card > a,
.cook-card > a,
.cookbook-card > a,
.investment-project-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.shopping-profile-card img,
.recipe-card img,
.cook-card img,
.cookbook-card img,
.investment-project-card img { width: 100%; aspect-ratio: 18 / 13; object-fit: cover; background: #e9edf6; }
.recipe-card > a > div,
.cook-card > a > div,
.cookbook-card > a > div,
.investment-project-card > a > div { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.recipe-card h2,
.recipe-card h3,
.cook-card h2,
.cookbook-card h2,
.investment-project-card h3 { margin: 5px 0 10px; font-size: 1.2rem; line-height: 1.16; }
.recipe-card p,
.cook-card p,
.cookbook-card p,
.investment-project-card p { color: #68728a; }
.recipe-card .card-link,
.cook-card .card-link,
.cookbook-card .card-link,
.investment-project-card .card-link { margin-top: auto; padding-top: 16px; }
.recipe-card-meta,
.cook-card-meta { display: grid; gap: 5px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #edf0f6; color: #58627a; font-size: .86rem; }

.shopping-empty { padding: 22px; border: 1px dashed #cdd4e4; border-radius: 18px; color: #657089; background: #fafbfe; }
.shopping-modal { width: min(1180px, calc(100vw - 38px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 38px 110px rgba(7,17,49,.38); }
.shopping-modal::backdrop { background: rgba(8,16,45,.7); backdrop-filter: blur(5px); }
.shopping-modal-panel { max-height: min(88vh, 900px); overflow: auto; padding: clamp(24px, 4vw, 46px); }
.shopping-modal-panel > header { position: sticky; top: -1px; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 26px; margin: -12px -12px 26px; padding: 12px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.shopping-modal-panel > header button { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #d9deea; border-radius: 50%; background: #fff; color: #243568; font-size: 1.65rem; cursor: pointer; }
body.has-open-dialog { overflow: hidden; }

.public-filter-panel { display: grid; grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(150px, .75fr)) auto; gap: 14px; align-items: end; margin-bottom: 32px; padding: 20px; border: 1px solid #e2e6f0; border-radius: 22px; background: #fff; box-shadow: 0 12px 30px rgba(28,42,87,.06); }
.public-filter-panel label { display: grid; gap: 7px; color: #26355f; font-size: .82rem; font-weight: 800; }
.public-filter-panel input,
.public-filter-panel select { width: 100%; min-height: 46px; border: 1px solid #d9deea; border-radius: 12px; padding: 0 13px; color: #1d2b51; background: #fff; }

.recipe-detail-hero,
.cookbook-detail-hero,
.investment-project-hero { position: relative; isolation: isolate; min-height: clamp(430px, 58vw, 660px); display: flex; align-items: flex-end; padding: 110px 0 70px; color: #fff; background-position: center; background-size: cover; }
.recipe-detail-hero { background-image: var(--recipe-image); }
.cookbook-detail-hero { background-image: var(--cookbook-image); }
.investment-project-hero { background-image: var(--project-image); }
.recipe-detail-overlay,
.cookbook-detail-overlay,
.investment-project-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,20,56,.93) 0%, rgba(15,30,75,.76) 48%, rgba(15,30,75,.16) 100%), linear-gradient(0deg, rgba(7,15,43,.72), transparent 58%); }
.recipe-detail-hero .container,
.cookbook-detail-hero .container,
.investment-project-hero .container { width: 100%; }
.recipe-detail-hero h1,
.cookbook-detail-hero h1,
.investment-project-hero h1 { max-width: 900px; margin: 10px 0 16px; color: #fff; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .94; }
.recipe-detail-hero p,
.cookbook-detail-hero p,
.investment-project-hero p { max-width: 720px; color: rgba(255,255,255,.87); }
.recipe-author-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.recipe-author-line a { color: #fff; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

.recipe-detail-grid,
.project-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 5vw, 68px); align-items: start; }
.recipe-columns { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 26px; margin-top: 32px; }
.recipe-ingredients,
.recipe-steps,
.recipe-cook-card,
.project-facts-card { border: 1px solid #e1e5ef; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(28,42,87,.07); }
.recipe-ingredients,
.recipe-steps { padding: clamp(22px, 3vw, 34px); }
.recipe-ingredients ul { display: grid; gap: 10px; padding-left: 21px; }
.recipe-steps ol { display: grid; gap: 17px; list-style: none; counter-reset: recipe-step; padding: 0; }
.recipe-steps li { counter-increment: recipe-step; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.recipe-steps li::before { content: counter(recipe-step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #293e87; color: #fff; font-weight: 900; }
.recipe-cook-card { position: sticky; top: 108px; padding: 18px; }
.recipe-cook-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.recipe-cook-card h2 { margin: 5px 0 10px; }

.cookbook-intro { max-width: 900px; margin: 0 auto 48px; padding: 26px 30px; border-left: 5px solid #5b43a0; border-radius: 0 18px 18px 0; background: #f5f2fb; }

.investment-projects-section { padding-top: 44px; }
.investment-project-featured { position: relative; isolation: isolate; min-height: 470px; display: flex; align-items: flex-end; margin-top: 25px; border-radius: 30px; overflow: hidden; background-image: var(--project-card-image); background-size: cover; background-position: center; box-shadow: 0 28px 68px rgba(13,27,72,.19); }
.investment-project-featured-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,27,72,.94), rgba(28,40,91,.7) 58%, rgba(28,40,91,.14)); }
.investment-project-featured-copy { width: min(720px, 100%); padding: clamp(28px, 5vw, 58px); color: #fff; }
.investment-project-featured-copy h2 { margin: 7px 0 14px; color: #fff; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
.investment-project-featured-copy p { color: rgba(255,255,255,.86); }
.project-card-tags,
.project-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.project-card-tags span,
.project-hero-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: rgba(255,255,255,.11); font-size: .82rem; font-weight: 800; }
.investment-project-grid { margin-top: 22px; }
.project-facts-card { position: sticky; top: 108px; padding: 26px; }
.project-facts-card dl { display: grid; gap: 0; margin: 15px 0 22px; }
.project-facts-card dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf0f6; }
.project-facts-card dt { color: #69738a; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.project-facts-card dd { margin: 0; color: #1b2b53; font-weight: 800; }
.project-source { display: block; margin-top: 18px; }

.profile-location-card,
.profile-location-block { margin: 28px 0; padding: 24px; border: 1px solid #dfe4ef; border-radius: 22px; background: linear-gradient(135deg, #f7f9fd, #f2effa); }
.profile-location-card h2,
.profile-location-block h2 { margin: 6px 0 10px; }
.profile-location-card address,
.profile-location-block address { margin: 0 0 14px; color: #4d5872; font-style: normal; line-height: 1.65; }
.profile-location-card .button,
.profile-location-block .button { width: fit-content; }
.profile-recipes-grid,
.tenencia-gastronomy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tenencia-gastronomy-intro { max-width: 900px; margin-bottom: 28px; }
.tenencia-gastronomy-block + .tenencia-gastronomy-block { margin-top: 40px; }

/* Administrador */
.admin-intro-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.admin-select-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: 490px; overflow: auto; padding: 10px; border: 1px solid #e0e5f0; border-radius: 16px; background: #f8f9fc; }
.admin-select-list > label { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #e2e6ef; border-radius: 13px; background: #fff; cursor: pointer; }
.admin-select-list > label:has(input:checked) { border-color: #6d5bb1; background: #f3f0fb; box-shadow: inset 0 0 0 1px #6d5bb1; }
.admin-select-list input { margin-top: 3px; }
.admin-select-list span { min-width: 0; }
.admin-select-list strong,
.admin-select-list small { display: block; }
.admin-select-list small { margin-top: 3px; color: #758097; }
.admin-filter-bar { display: flex; align-items: end; gap: 12px; margin-bottom: 18px; }
.admin-filter-bar label { flex: 1; }
.admin-table td > strong,
.admin-table td > small { display: block; }
.admin-table td > small { margin-top: 4px; color: #748096; max-width: 520px; }
.tenencia-gastronomy-editor { border-color: #ddd5ef !important; background: linear-gradient(145deg, #faf9fd, #f4f1fa); }

@media (max-width: 1100px) {
  .public-card-grid-4,
  .recipe-grid,
  .cooks-grid,
  .cookbook-grid,
  .investment-project-grid,
  .profile-recipes-grid,
  .tenencia-gastronomy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-filter-panel button { min-height: 46px; }
  .admin-select-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shopping-hero,
  .recipes-hero,
  .cookbooks-hero,
  .cooks-hero { padding: 64px 0 58px; }
  .recipes-hero-grid,
  .recipe-detail-grid,
  .project-detail-grid,
  .recipe-columns { grid-template-columns: 1fr; }
  .recipes-hero-stat { min-height: 180px; place-items: start; text-align: left; }
  .public-filter-panel { grid-template-columns: 1fr; padding: 15px; }
  .public-card-grid-4,
  .recipe-grid,
  .cooks-grid,
  .cookbook-grid,
  .investment-project-grid,
  .profile-recipes-grid,
  .tenencia-gastronomy-grid { grid-template-columns: 1fr; }
  .shopping-modal { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .shopping-modal-panel { max-height: 100dvh; padding: 20px 16px 34px; }
  .shopping-modal-panel > header { margin-inline: -4px; }
  .recipe-detail-hero,
  .cookbook-detail-hero,
  .investment-project-hero { min-height: 520px; padding: 96px 0 48px; }
  .recipe-detail-overlay,
  .cookbook-detail-overlay,
  .investment-project-overlay { background: linear-gradient(0deg, rgba(8,20,56,.95), rgba(12,28,72,.45)); }
  .recipe-cook-card,
  .project-facts-card { position: static; }
  .investment-project-featured { min-height: 520px; }
  .investment-project-featured-overlay { background: linear-gradient(0deg, rgba(12,27,72,.96), rgba(28,40,91,.25)); }
  .project-facts-card dl > div { grid-template-columns: 1fr; gap: 4px; }
  .admin-intro-actions,
  .admin-filter-bar { align-items: stretch; flex-direction: column; }
  .admin-intro-actions .button,
  .admin-filter-bar .button { width: 100%; }
}

.admin-select-list-ordered > label { align-items: center; }
.admin-select-list-ordered > label > span:nth-of-type(1) { flex: 1; }
.admin-order-field { display: grid; flex: 0 0 84px; gap: 4px; }
.admin-order-field small { margin: 0; text-align: center; }
.admin-order-field input { width: 100%; min-height: 38px; margin: 0; padding: 7px 8px; text-align: center; }

@media (max-width: 560px) {
  .admin-select-list-ordered > label { align-items: flex-start; flex-wrap: wrap; }
  .admin-order-field { flex-basis: 100%; grid-template-columns: 1fr 90px; align-items: center; }
  .admin-order-field small { text-align: left; }
}


/* SOURCE: /css/hotfix-v107.css */
/* Morelia Impulsa v1.07 · Pulido de inversión, tablas y selector de perfiles */

/* Detalle de proyectos de inversión: contenido contenido, jerarquía y ritmo editorial. */
.investment-project-hero-v107 {
  padding: 34px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(91,67,160,.08), transparent 34%),
    linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
}
.investment-project-hero-frame {
  position: relative;
  isolation: isolate;
  min-height: clamp(470px, 52vw, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 30px;
  background-image: var(--project-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 72px rgba(18,34,80,.18);
}
.investment-project-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,24,63,.96) 0%, rgba(18,35,79,.88) 38%, rgba(18,35,79,.48) 66%, rgba(18,35,79,.12) 100%),
    linear-gradient(0deg, rgba(8,19,53,.58), transparent 60%);
}
.investment-project-hero-content {
  width: min(760px, 100%);
  padding: clamp(30px, 5vw, 64px);
  color: #fff;
}
.breadcrumbs-light {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 24px;
  color: rgba(255,255,255,.7);
  font-size: .78rem;
}
.breadcrumbs-light a { color: #fff; text-decoration: none; }
.investment-project-hero-content h1 {
  max-width: 720px;
  margin: 8px 0 16px;
  color: #fff;
  font-size: clamp(2.55rem, 5.4vw, 4.9rem);
  line-height: .96;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.investment-project-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.65;
}
.investment-project-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.button-light {
  border-color: #fff !important;
  background: #fff !important;
  color: #1d2e65 !important;
}
.button-glass {
  border: 1px solid rgba(255,255,255,.38) !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  backdrop-filter: blur(12px);
}
.investment-project-body-v107 { padding-top: clamp(38px, 6vw, 74px); }
.project-detail-grid-v107 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.project-story-stack { display: grid; gap: 22px; min-width: 0; }
.project-section-card {
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid #e1e6f0;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(27,43,87,.07);
}
.project-section-card-primary {
  background:
    radial-gradient(circle at 100% 0%, rgba(96,74,161,.08), transparent 34%),
    linear-gradient(145deg, #fff, #fbfaff);
}
.project-section-card h2 { margin: 5px 0 18px; font-size: clamp(1.65rem, 2.7vw, 2.35rem); }
.project-section-card .rich-content { color: #56627b; line-height: 1.75; }
.project-section-card .rich-content > *:first-child { margin-top: 0; }
.project-section-card .rich-content > *:last-child { margin-bottom: 0; }
.project-section-heading { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.project-section-heading h2 { margin: 3px 0 0; }
.project-section-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #293f87, #6548a4);
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(72,56,139,.2);
}
.project-facts-card-v107 {
  position: sticky;
  top: 108px;
  padding: 26px;
  border: 1px solid #dfe5f0;
  border-radius: 26px;
  background: linear-gradient(150deg, #fff 0%, #faf8ff 100%);
  box-shadow: 0 22px 52px rgba(24,40,84,.1);
}
.project-facts-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #e8ebf3; }
.project-facts-head h2 { margin: 2px 0 0; font-size: 1.45rem; }
.project-facts-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #263c82, #62479e);
  font-size: 1.25rem;
  font-weight: 900;
}
.project-facts-card-v107 dl { margin: 8px 0 22px; }
.project-facts-card-v107 dl > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #e8ebf3;
}
.project-facts-card-v107 dt { color: #6b7690; font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.project-facts-card-v107 dd { margin: 0; color: #1b2c57; font-weight: 800; line-height: 1.45; }
.project-facts-actions { display: grid; gap: 9px; }
.project-facts-card-v107 .project-source { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e8ebf3; line-height: 1.5; }
.project-gallery-v107 { margin-top: 20px; }

/* Selector administrativo de perfiles: evita texto colapsado y separa la prioridad. */
.admin-profile-picker-fieldset { min-width: 0; }
.admin-profile-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding: 10px;
  border: 1px solid #dfe5f0;
  border-radius: 18px;
  background: #f7f9fc;
}
.admin-profile-picker-item {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 86px;
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 92px;
  margin: 0 !important;
  padding: 12px;
  border: 1px solid #e1e6ef;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.admin-profile-picker-item:has(input:checked) {
  border-color: #6b56ad;
  background: #f3f0fb;
  box-shadow: inset 0 0 0 1px #6b56ad, 0 10px 24px rgba(76,61,137,.08);
}
.admin-profile-picker-check {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #cad3e2;
  border-radius: 11px;
  background: #fff;
  color: transparent;
}
.admin-profile-picker-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.admin-profile-picker-item:has(input:checked) .admin-profile-picker-check {
  border-color: #315ae7;
  background: #315ae7;
  color: #fff;
}
.admin-profile-picker-copy { min-width: 0; }
.admin-profile-picker-copy strong {
  display: block;
  overflow: hidden;
  color: #17264f;
  font-size: .88rem;
  line-height: 1.28;
  text-overflow: ellipsis;
}
.admin-profile-picker-copy small {
  display: block;
  margin-top: 5px;
  color: #6f7a91;
  font-size: .72rem;
  line-height: 1.3;
  text-transform: capitalize;
}
.admin-profile-picker-copy em {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #eef2f8;
  color: #55627c;
  font-size: .65rem;
  font-style: normal;
  font-weight: 800;
}
.admin-profile-picker-order { display: grid; gap: 5px; align-self: center; }
.admin-profile-picker-order small { color: #64708a; font-size: .66rem; font-weight: 850; text-align: center; }
.admin-profile-picker-order input {
  width: 100% !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  text-align: center;
}

/* Tablas administrativas nuevas: misma familia visual, mayor respiración y responsive en cards. */
.admin-list-panel-v107 { overflow: hidden; padding: 0 !important; }
.admin-data-table-v107 { overflow-x: auto; }
.admin-data-table-v107 table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; }
.admin-data-table-v107 thead th {
  padding: 14px 18px;
  border-bottom: 1px solid #dfe5f0;
  color: #64718c;
  background: #f7f9fc;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-align: left;
}
.admin-data-table-v107 tbody td {
  padding: 17px 18px;
  border-bottom: 1px solid #edf0f5;
  color: #26345f;
  vertical-align: middle;
}
.admin-data-table-v107 tbody tr:last-child td { border-bottom: 0; }
.admin-data-table-v107 tbody tr:hover td { background: #fbfaff; }
.admin-cell-main strong { display: block; color: #17264f; line-height: 1.35; }
.admin-cell-main small { display: block; max-width: 480px; margin-top: 5px; color: #758098; line-height: 1.45; }
.admin-cell-value { color: #42506e; font-weight: 750; line-height: 1.45; }
.admin-count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf1f8;
  color: #2d3d71;
  font-weight: 900;
}
.admin-row-actions { display: flex; justify-content: flex-end; gap: 8px; }
.admin-data-table-v107 th:last-child,
.admin-data-table-v107 td:last-child { text-align: right; }

@media (max-width: 1120px) {
  .admin-profile-picker { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .project-detail-grid-v107 { grid-template-columns: 1fr; }
  .project-facts-card-v107 { position: static; }
  .admin-data-table-v107 { overflow: visible; padding: 12px; }
  .admin-data-table-v107 table,
  .admin-data-table-v107 tbody,
  .admin-data-table-v107 tr,
  .admin-data-table-v107 td { display: block; width: 100%; min-width: 0; }
  .admin-data-table-v107 thead { display: none; }
  .admin-data-table-v107 tbody { display: grid; gap: 12px; }
  .admin-data-table-v107 tbody tr {
    overflow: hidden;
    border: 1px solid #dfe5f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(31,46,87,.055);
  }
  .admin-data-table-v107 tbody td {
    display: grid;
    grid-template-columns: minmax(92px, .38fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 11px 14px;
    border-bottom: 1px solid #edf0f5;
    text-align: left !important;
  }
  .admin-data-table-v107 tbody td::before {
    content: attr(data-label);
    color: #738099;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .admin-data-table-v107 tbody td:last-child { border-bottom: 0; }
  .admin-row-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .investment-project-hero-v107 { padding-top: 18px; }
  .investment-project-hero-frame { min-height: 560px; border-radius: 22px; background-position: 62% center; }
  .investment-project-hero-shade { background: linear-gradient(0deg, rgba(9,22,59,.97) 0%, rgba(15,31,74,.75) 58%, rgba(15,31,74,.24) 100%); }
  .investment-project-hero-content { padding: 28px 22px; }
  .investment-project-hero-content h1 { font-size: clamp(2.3rem, 13vw, 3.6rem); }
  .investment-project-hero-actions { display: grid; }
  .investment-project-hero-actions .button { width: 100%; text-align: center; }
  .project-section-card { padding: 24px 20px; border-radius: 21px; }
  .project-facts-card-v107 dl > div { grid-template-columns: 1fr; gap: 5px; }
  .admin-profile-picker-item { grid-template-columns: 38px minmax(0, 1fr); }
  .admin-profile-picker-order { grid-column: 1 / -1; grid-template-columns: 1fr 90px; align-items: center; }
  .admin-profile-picker-order small { text-align: left; }
  .admin-data-table-v107 tbody td { grid-template-columns: 1fr; gap: 5px; }
}


/* SOURCE: /css/hotfix-v108.css */
/* v1.08 — Responsive profundo, navegación desplazable, filtros de recetas y coherencia visual. */

/* Menú administrativo: todo el contenido debe ser alcanzable incluso en pantallas bajas. */
.admin-sidebar {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.admin-sidebar .admin-brand { flex: 0 0 auto; }
.admin-sidebar nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: 5px;
  padding-bottom: 10px;
}
.admin-sidebar nav::-webkit-scrollbar { width: 7px; }
.admin-sidebar nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.26); }
.admin-sidebar nav::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
.admin-logout {
  flex: 0 0 auto;
  margin-top: 0 !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.13);
  background: inherit;
}

/* Los resúmenes de hero son información, no falsos botones. */
.hero-summary-panel,
.hero-summary-panel-dark {
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(14,28,70,.42);
  box-shadow: none;
  backdrop-filter: blur(16px);
}
.hero-summary-panel > div,
.hero-summary-panel-dark > div {
  position: relative;
  padding: 17px 18px 17px 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: default;
}
.hero-summary-panel > div + div,
.hero-summary-panel-dark > div + div { border-top: 1px solid rgba(255,255,255,.14) !important; }
.hero-summary-panel > div::before,
.hero-summary-panel-dark > div::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 99px;
  background: rgba(109,210,232,.9);
}
.hero-summary-panel strong,
.hero-summary-panel-dark strong { font-size: .93rem; }
.hero-summary-panel span,
.hero-summary-panel-dark span { margin-top: 4px; line-height: 1.4; opacity: .82; }

/* Recetas: filtros consistentes con el resto del panel. */
.admin-recipes-toolbar {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(3, minmax(145px, .75fr)) minmax(100px, .48fr) minmax(170px, .8fr);
  gap: 12px;
  align-items: end;
}
.admin-recipes-cookbooks { grid-column: 1 / -1; justify-self: end; }
.admin-recipes-console .admin-table-summary { margin: 12px 0 4px; }
.admin-data-table-v108 table { min-width: 900px; }
.admin-data-table-v108 tbody tr[hidden] { display: none !important; }

/* Proyecto de inversión: misma gramática del resto de fichas públicas. */
.page-investment-project-v108 .investment-project-hero-standard {
  min-height: clamp(410px, 48vw, 610px);
}
.page-investment-project-v108 .investment-project-hero-standard::before {
  background: linear-gradient(90deg, rgba(8,22,59,.94) 0%, rgba(14,31,72,.78) 48%, rgba(14,31,72,.18) 100%);
}
.page-investment-project-v108 .investment-project-hero-standard h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 5.2vw, 5.15rem);
  line-height: .96;
  text-wrap: balance;
}
.investment-project-lead-standard {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.88) !important;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.62;
}
.investment-project-tags-standard { margin-top: 16px; }
.investment-project-tags-standard .chip {
  border-color: rgba(255,255,255,.28);
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.investment-project-detail-layout-standard { align-items: start; }
.investment-project-story-standard > .eyebrow { margin-bottom: 5px; }
.investment-project-story-standard > h2 { margin-top: 0; }
.investment-content-section-standard {
  margin-top: clamp(32px, 5vw, 62px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid #e3e7ef;
}
.investment-content-section-standard > h2 { margin-top: 4px; }
.investment-facts-standard dl { margin: 18px 0 22px; }
.investment-facts-standard dl > div {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-bottom: 1px solid #e8ebf2;
}
.investment-facts-standard dt {
  color: #748098;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.investment-facts-standard dd { margin: 0; color: #1c2c56; font-weight: 800; line-height: 1.45; }
.project-source-standard { display: inline-flex; margin-top: 18px; line-height: 1.45; }

/* Responsive transversal: espacios y proporciones. */
@media (max-width: 1180px) {
  .admin-recipes-toolbar { grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(150px, .8fr)); }
  .admin-recipes-toolbar .admin-filter-compact { min-width: 0; }
  .admin-editor-grid-visual { grid-template-columns: minmax(0, 1fr) minmax(290px, 360px) !important; }
  .page-hero-grid { gap: clamp(24px, 4vw, 46px); }
}

@media (max-width: 1024px) {
  .admin-content { width: min(calc(100% - 28px), 1250px); }
  .admin-recipes-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-filter-search { grid-column: 1 / -1; }
  .admin-recipes-cookbooks { justify-self: stretch; text-align: center; }
  .admin-editor-grid-visual { grid-template-columns: 1fr !important; }
  .admin-sticky-panel { position: static !important; top: auto !important; }
  .detail-layout,
  .investment-project-detail-layout-standard { grid-template-columns: 1fr !important; }
  .detail-side-sticky { position: static !important; }
  .page-events .agenda-grid { grid-template-columns: 1fr !important; }
  .page-events .agenda-side-panel { width: min(100%, 560px); justify-self: center; }
}

@media (max-width: 860px) {
  .page-hero-showcase { padding-block: clamp(54px, 9vw, 82px) !important; }
  .page-hero-grid { grid-template-columns: 1fr !important; }
  .page-hero-grid .narrow-copy { max-width: 720px; }
  .hero-summary-panel { width: 100%; max-width: none; }
  .hero-summary-panel > div { min-height: 0; }
  .editorial-feature-events { min-height: 0 !important; }
  .admin-header { padding-inline: 14px; }
  .admin-header h1 { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  .admin-intro { align-items: stretch; }
  .admin-intro-actions { width: 100%; }
  .admin-intro-actions .button { flex: 1 1 auto; text-align: center; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container, 1180px)); }
  .section { padding-block: clamp(34px, 9vw, 54px); }
  .admin-content { width: calc(100% - 20px); padding-top: 14px; }
  .admin-recipes-toolbar { grid-template-columns: 1fr; }
  .admin-filter-search,
  .admin-recipes-cookbooks { grid-column: auto; }
  .admin-recipes-toolbar .button { width: 100%; }
  .admin-data-table-v108 { padding: 10px !important; }
  .admin-data-table-v108 tbody td { padding: 10px 12px; }
  .form-grid.two { grid-template-columns: 1fr !important; }
  .admin-editor-main,
  .admin-sticky-panel { min-width: 0; }
  .page-events .event-grid { grid-template-columns: 1fr !important; }
  .page-events .editorial-feature-events { border-radius: 20px; }
  .page-events .agenda-side-panel { min-height: 0 !important; }
  .page-investment-project-v108 .investment-project-hero-standard {
    min-height: 520px;
    padding-block: 74px 42px;
    background-position: 62% center;
  }
  .page-investment-project-v108 .investment-project-hero-standard::before {
    background: linear-gradient(0deg, rgba(8,22,59,.97) 0%, rgba(14,31,72,.82) 58%, rgba(14,31,72,.28) 100%);
  }
  .page-investment-project-v108 .investment-project-hero-standard h1 { font-size: clamp(2.45rem, 13vw, 3.7rem); }
  .page-investment-project-v108 .contact-actions { display: grid; width: 100%; }
  .page-investment-project-v108 .contact-actions .button { width: 100%; text-align: center; }
  .investment-facts-standard { padding: 20px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 22px), var(--container, 1180px)); }
  .page-hero-showcase h1,
  .profile-hero h1 { text-wrap: balance; }
  .hero-summary-panel,
  .hero-summary-panel-dark { border-radius: 16px; }
  .hero-summary-panel > div,
  .hero-summary-panel-dark > div { padding: 14px 14px 14px 20px !important; }
  .admin-sidebar { width: min(88vw, 310px); padding: 12px; gap: 10px; }
  .admin-sidebar nav a { padding-block: .68rem; }
  .admin-profile-picker { padding: 7px; }
  .admin-profile-picker-item { padding: 10px; }
  .button { min-height: 42px; }
  .chip-row { gap: 6px; }
}

/* Drawer público: navegación completa en teléfonos y pantallas de poca altura. */
@media (max-width: 980px) {
  .primary-nav-v8 {
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-bottom: 22px;
  }
  .nav-more[open] .nav-more-menu { position: static; max-height: none; overflow: visible; }
  .header-search-panel { max-height: calc(100dvh - 70px); overflow-y: auto; }
}

/* Evita desbordes accidentales en componentes nuevos sin ocultar scroll útil de tablas. */
.admin-main,
.admin-content,
.admin-panel,
.admin-editor-main,
.admin-sticky-panel,
.detail-layout,
.page-hero-grid,
.agenda-grid { min-width: 0; }
img, video, iframe { max-width: 100%; }


/* SOURCE: /css/hotfix-v109.css */
/* v1.09 — recetario completo, hero de inversión, centro multimedia, temporadas e i18n base. */

/* Proyecto de inversión: el hero debe renderizar la imagen asignada igual que el resto de fichas. */
.page-investment-project-v108 .investment-project-hero-standard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(105deg, rgba(17, 26, 59, .96) 0%, rgba(24, 39, 79, .84) 48%, rgba(34, 48, 88, .34) 100%),
    var(--profile-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-investment-project-v108 .investment-project-hero-standard::before { content: none !important; }
.page-investment-project-v108 .investment-project-hero-standard .profile-hero-grid {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding-top: clamp(3.6rem, 8vw, 6rem);
  padding-bottom: clamp(3.2rem, 7vw, 5.2rem);
}
.page-investment-project-v108 .investment-project-hero-standard h1,
.page-investment-project-v108 .investment-project-hero-standard .breadcrumbs,
.page-investment-project-v108 .investment-project-hero-standard .breadcrumbs a,
.page-investment-project-v108 .investment-project-hero-standard .eyebrow { color: #fff; }
.page-investment-project-v108 .investment-project-hero-standard .button-outline {
  color: #fff;
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.08);
}
.page-investment-project-v108 .investment-project-hero-standard .button-outline:hover,
.page-investment-project-v108 .investment-project-hero-standard .button-outline:focus-visible {
  color: #17244d;
  background: #fff;
  border-color: #fff;
}

/* Selector de idioma discreto y visible. */
.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 56px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.58);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .04em;
  white-space: nowrap;
}
.language-switcher a { color: rgba(255,255,255,.64); text-decoration: none; }
.language-switcher a.is-active { color: #fff; }
.language-switcher a:hover,
.language-switcher a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.language-coming-soon-hero {
  min-height: calc(100dvh - 84px);
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 75% 30%, rgba(116,94,184,.46), transparent 34%),
    linear-gradient(135deg, #12285a 0%, #283873 52%, #4e3f82 100%);
}
.language-coming-soon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  padding-block: clamp(70px, 12vw, 140px);
}
.language-coming-soon-grid h1 { max-width: 820px; font-size: clamp(2.7rem, 6.5vw, 5.7rem); line-height: .96; text-wrap: balance; }
.language-coming-soon-grid > div > p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.82); font-size: 1.08rem; line-height: 1.7; }
.language-coming-soon-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
  text-align: center;
}
.language-coming-soon-card span { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.13); font-size: 1.2rem; font-weight: 900; }
.language-coming-soon-card strong { margin-inline: 10px; font-size: 1.4rem; }
.language-coming-soon-card p { margin: 20px 0 0; color: rgba(255,255,255,.76); line-height: 1.55; }

/* Recetarios: total real y desglose editorial. */
.cookbook-count-breakdown { display: grid; gap: 3px; }
.cookbook-count-breakdown strong { color: #1d315f; }
.cookbook-count-breakdown small { color: #728098; }

/* Temporadas y festividades: reserva visual, sin lógica activa todavía. */
.seasons-intro { align-items: center; }
.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2b3f7d, #5e4b91);
  font-weight: 900;
  letter-spacing: .03em;
}
.seasons-coming-soon-panel { overflow: hidden; }
.seasons-coming-soon-copy { max-width: 850px; margin-bottom: 24px; }
.seasons-coming-soon-copy h2 { margin: 4px 0 10px; }
.season-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.season-preview-card {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 15px;
  border: 1px solid #e2e6ef;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f7f6fb);
}
.season-preview-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #243a76, #6b5597); font-weight: 900; }
.season-preview-card div { min-width: 0; }
.season-preview-card small { display: block; color: #78849a; font-weight: 700; }
.season-preview-card strong { display: block; margin-top: 3px; color: #1c2d59; line-height: 1.25; }

/* Centro multimedia: explicación visual por módulo y tres resoluciones. */
.multimedia-guide-rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.multimedia-guide-rule-grid article { padding: 17px; border: 1px solid #e3e7f0; border-radius: 18px; background: #fafafe; }
.multimedia-guide-rule-grid span { display: block; color: #5b4b91; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.multimedia-guide-rule-grid strong { display: block; margin-top: 10px; color: #1c2d59; }
.multimedia-guide-rule-grid p { margin: 7px 0 0; color: #69758d; line-height: 1.5; }
.admin-guide-section-heading { margin: 34px 0 16px; }
.multimedia-module-list { display: grid; gap: 12px; }
.multimedia-module-guide {
  border: 1px solid #e0e5ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(28,43,84,.06);
  overflow: clip;
}
.multimedia-module-guide > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  cursor: pointer;
}
.multimedia-module-guide > summary::-webkit-details-marker { display: none; }
.multimedia-module-guide > summary > div { display: flex; align-items: center; gap: 13px; min-width: 0; }
.multimedia-module-index { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: #44377b; font-weight: 900; }
.multimedia-module-guide summary strong { display: block; color: #1b2d59; font-size: 1.03rem; }
.multimedia-module-guide summary small { display: block; margin-top: 3px; color: #77839a; }
.multimedia-module-toggle { color: #4d3e82; font-size: .8rem; font-weight: 900; }
.multimedia-module-guide[open] .multimedia-module-toggle { font-size: 0; }
.multimedia-module-guide[open] .multimedia-module-toggle::after { content: 'Ocultar guía'; font-size: .8rem; }
.multimedia-module-body {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.5fr);
  gap: 22px;
  padding: 0 20px 22px;
  border-top: 1px solid #edf0f6;
}
.multimedia-slot-list { display: grid; align-content: start; gap: 9px; padding-top: 18px; }
.multimedia-slot-list article { padding: 13px; border-radius: 15px; background: #f6f5fb; }
.multimedia-slot-list article span { display: block; color: #758197; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.multimedia-slot-list article strong { display: block; margin-top: 4px; color: #263864; }
.multimedia-slot-list article p { margin: 6px 0 0; color: #69758c; line-height: 1.42; }
.device-preview-board { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(150px,.78fr) minmax(120px,.52fr); gap: 12px; align-items: end; padding-top: 18px; }
.device-preview { min-width: 0; }
.device-preview header { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: #293b68; }
.device-preview header span { width: 8px; height: 8px; border-radius: 50%; background: #63c3d7; }
.device-preview header strong { font-size: .8rem; }
.device-preview header small { margin-left: auto; color: #8390a4; font-size: .68rem; }
.device-screen { overflow: hidden; border: 6px solid #202d55; border-radius: 18px; background: #f4f6fa; box-shadow: 0 15px 30px rgba(25,40,77,.13); }
.device-preview-tablet .device-screen { border-radius: 22px; }
.device-preview-mobile .device-screen { border-width: 5px; border-radius: 24px; }
.dummy-site-bar { height: 19px; background: #172a5e; }
.device-preview-tablet .dummy-site-bar { height: 16px; }
.device-preview-mobile .dummy-site-bar { height: 13px; }
.dummy-hero { position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 145px; padding: 15px; color: #fff; background: linear-gradient(105deg, rgba(17,29,66,.9), rgba(65,58,121,.32)), linear-gradient(135deg,#6a7fa6,#c1a287); }
.device-preview-tablet .dummy-hero { min-height: 125px; }
.device-preview-mobile .dummy-hero { min-height: 158px; padding: 11px; background-position: center; }
.dummy-hero span { font-size: .68rem; opacity: .8; }
.dummy-hero b { margin-top: 4px; font-size: .88rem; }
.dummy-content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 10px; }
.device-preview-tablet .dummy-content-grid { grid-template-columns: repeat(2,1fr); }
.device-preview-mobile .dummy-content-grid { grid-template-columns: 1fr; }
.dummy-content-grid i { display: block; height: 44px; border-radius: 9px; background: #fff; border: 1px solid #e1e5ed; }
.media-device-teaser { display: grid; grid-template-columns: 1.6fr .8fr .48fr; align-items: end; gap: 12px; margin: 18px 0; }
.media-device { min-height: 92px; padding: 8px; border: 4px solid #26345f; border-radius: 14px; background: #f3f5fa; }
.media-device-phone { border-radius: 20px; }
.media-device span { display: block; margin-bottom: 5px; color: #344671; font-size: .65rem; font-weight: 900; }
.media-device i { display: block; height: 34px; border-radius: 7px; background: linear-gradient(120deg,#243b72,#7c699d); }
.media-device b { display: block; width: 62%; height: 12px; margin-top: 6px; border-radius: 5px; background: #d9deea; }

@media (max-width: 1180px) {
  .multimedia-guide-rule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .season-preview-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .multimedia-module-body { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .language-switcher { width: fit-content; margin-block: 4px 8px; }
  .primary-nav-v8 .language-switcher { order: 20; }
  .primary-nav-v8 .nav-search-form { order: 21; }
}

@media (max-width: 760px) {
  .language-coming-soon-grid { grid-template-columns: 1fr; }
  .language-coming-soon-card { max-width: 420px; }
  .season-preview-grid,
  .multimedia-guide-rule-grid { grid-template-columns: 1fr; }
  .season-preview-card { grid-template-columns: 50px minmax(0,1fr); }
  .season-preview-card .status { grid-column: 2; width: fit-content; }
  .device-preview-board { grid-template-columns: 1fr; align-items: start; }
  .device-preview-tablet { width: min(75%, 420px); }
  .device-preview-mobile { width: min(48%, 240px); }
  .media-device-teaser { grid-template-columns: 1fr .65fr .4fr; }
}

@media (max-width: 520px) {
  .multimedia-module-guide > summary { align-items: flex-start; padding: 15px; }
  .multimedia-module-guide > summary > div { align-items: flex-start; }
  .multimedia-module-toggle { display: none; }
  .multimedia-module-body { padding: 0 15px 16px; }
  .device-preview-tablet { width: 82%; }
  .device-preview-mobile { width: 58%; }
  .media-device-teaser { grid-template-columns: 1fr; }
  .media-device-tablet { width: 72%; }
  .media-device-phone { width: 45%; }
}


/* SOURCE: /css/hotfix-v110.css */
/* v1.10 — Vinculación gastronómica, guía multimedia interactiva y evento principal mobile-first. */

/* Centro multimedia: orientación, no carga general. */
.multimedia-center-intro { align-items: center; }
.multimedia-center-primary,
.multimedia-center-map,
.multimedia-center-practices { margin-top: 18px; }
.multimedia-management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.multimedia-management-grid a {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 18px;
  color: #1d2c55;
  text-decoration: none;
  border: 1px solid #e1e5ef;
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #f8f7ff);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.multimedia-management-grid a:hover,
.multimedia-management-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: #7562ad;
  box-shadow: 0 14px 30px rgba(30, 42, 82, .09);
}
.multimedia-management-grid a > span { color: #00637c; font-size: .72rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.multimedia-management-grid a > strong { overflow-wrap: anywhere; line-height: 1.35; }
.multimedia-management-grid a > small { color: #574489; font-weight: 800; }

/* Simulador temporal de imágenes. */
.media-image-simulator { scroll-margin-top: 100px; }
.media-simulator-controls {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(280px, 1.25fr);
  gap: 14px;
  margin-top: 18px;
}
.media-simulator-file input { padding: 12px; background: #fff; }
.media-simulator-file > span { display: block; margin-top: 5px; color: #748098; font-size: .74rem; font-weight: 600; }
.media-simulator-feedback {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0;
}
.media-simulator-feedback > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e2e6ef;
  border-radius: 13px;
  background: #f8f9fc;
}
.media-simulator-feedback span { color: #78839a; font-size: .65rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.media-simulator-feedback strong { min-width: 0; overflow-wrap: anywhere; color: #20305a; font-size: .84rem; }
.media-simulator-feedback.is-compatible > div:last-child { border-color: #a7dec5; background: #effaf5; }
.media-simulator-feedback.is-compatible > div:last-child strong { color: #13734b; }
.media-simulator-feedback.is-incompatible > div:last-child { border-color: #efb4ac; background: #fff2f0; }
.media-simulator-feedback.is-incompatible > div:last-child strong { color: #a43e31; }
.media-simulator-event-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px 22px;
  padding: 14px 16px;
  border: 1px solid #dce2ef;
  border-radius: 15px;
  background: linear-gradient(135deg, #f7f8ff, #fff);
}
.media-simulator-event-note[hidden] { display: none; }
.media-simulator-event-note p { grid-column: 1 / -1; margin: 3px 0 0; color: #57647e; line-height: 1.5; }
.media-safe-zone-key { display: inline-flex; align-items: center; gap: 8px; color: #25345e; font-size: .78rem; font-weight: 750; }
.media-safe-zone-key i { width: 28px; height: 11px; border-radius: 99px; }
.media-zone-gradient { background: linear-gradient(90deg, #273b73, rgba(39,59,115,.14)); }
.media-zone-focus { border: 2px dashed #31a9c8; background: rgba(49,169,200,.09); }

.media-simulator-board { margin-top: 18px; }
.guide-site-bar { height: 18px; background: #172a5e; }
.device-preview-tablet .guide-site-bar { height: 15px; }
.device-preview-mobile .guide-site-bar { height: 12px; }
.guide-image-preview {
  --guide-fallback: linear-gradient(135deg, #526b98, #c09882);
  position: relative;
  min-height: 150px;
  overflow: hidden;
  color: #fff;
  background-image: var(--guide-fallback);
  background-position: center;
  background-size: cover;
}
.device-preview-tablet .guide-image-preview { min-height: 126px; }
.device-preview-mobile .guide-image-preview { min-height: 154px; }
.guide-static-preview { display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; padding: 14px; }
.guide-static-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,27,65,.74), rgba(13,27,65,.05) 65%);
}
.guide-static-preview > span,
.guide-static-preview > b { position: relative; z-index: 2; }
.guide-static-preview > span { font-size: .68rem; opacity: .84; }
.guide-static-preview > b { font-size: .86rem; }
.guide-event-gradient {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  display: flex;
  align-items: flex-end;
  width: 58%;
  padding: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 46%, rgba(255,255,255,0) 100%);
}
.guide-event-gradient span { color: #1b2b55; font-size: .7rem; font-weight: 900; }
.guide-focus-zone {
  position: absolute;
  z-index: 3;
  top: 12%;
  right: 7%;
  bottom: 12%;
  width: 37%;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(73,214,237,.95);
  border-radius: 12px;
  background: rgba(20,63,91,.08);
}
.guide-focus-zone span { padding: 4px 7px; color: #fff; font-size: .64rem; font-weight: 900; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.guide-mobile-copy { display: grid; gap: 2px; padding: 9px 10px; color: #1d2d56; background: #fff; }
.guide-mobile-copy b { font-size: .7rem; }
.guide-mobile-copy span { color: #748098; font-size: .58rem; }
.guide-content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 10px; }
.device-preview-tablet .guide-content-grid { grid-template-columns: repeat(2,1fr); }
.device-preview-mobile .guide-content-grid { grid-template-columns: 1fr; }
.guide-content-grid i { display: block; height: 44px; border: 1px solid #e1e5ed; border-radius: 9px; background: #fff; }

[data-media-sim-board]:not([data-use="event_main"]) .guide-event-gradient { display: none; }
[data-media-sim-board]:not([data-use="event_main"]) .guide-focus-zone {
  right: 20%;
  width: 60%;
}
[data-media-sim-board][data-use="mini_banner"] .guide-image-preview { background-size: contain; background-repeat: no-repeat; background-color: #e9ebf3; }
[data-media-sim-board][data-use="thumbnail"] .guide-image-preview { min-height: 118px; }
[data-media-sim-board][data-use="gallery"] .guide-focus-zone,
[data-media-sim-board][data-use="mini_banner"] .guide-focus-zone { display: none; }
.multimedia-slot-emphasis { border-color: #8c78c5 !important; background: linear-gradient(145deg, #f3f0ff, #fff) !important; }
.multimedia-slot-emphasis > small { display: block; margin-top: 8px; color: #56447f; line-height: 1.45; }

/* Evento principal: composición específica por breakpoint, no escritorio comprimido. */
@media (max-width: 979px) {
  .page-events .editorial-feature-events {
    display: grid !important;
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
  }
  .page-events .editorial-feature-events::after { display: none !important; }
  .page-events .editorial-feature-events .editorial-feature-copy {
    position: relative !important;
    z-index: 2;
    width: 100% !important;
    max-width: none !important;
    padding: clamp(22px, 5vw, 34px) !important;
  }
  .page-events .editorial-feature-events .editorial-feature-copy h2 {
    max-width: 760px;
    margin-bottom: 12px;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.02;
    text-wrap: balance;
  }
  .page-events .editorial-feature-events .editorial-feature-copy > p:not(.eyebrow) { max-width: 680px; }
  .page-events .editorial-feature-events .event-meta-pills { flex-wrap: wrap; gap: 7px; }
  .page-events .editorial-feature-events .editorial-feature-media {
    position: relative !important;
    inset: auto !important;
    order: 2;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0 !important;
  }
  .page-events .editorial-feature-events .editorial-feature-media::before { display: none !important; }
  .page-events .editorial-feature-events .editorial-feature-media img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    border-radius: 0 !important;
    object-fit: cover;
    object-position: 68% center;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

@media (max-width: 720px) {
  .multimedia-management-grid { grid-template-columns: 1fr; }
  .media-simulator-controls,
  .media-simulator-feedback { grid-template-columns: 1fr; }
  .media-simulator-event-note { grid-template-columns: 1fr; }
  .media-simulator-event-note p { grid-column: auto; }
  .media-simulator-board { grid-template-columns: 1fr; align-items: start; }
  .media-simulator-board .device-preview-tablet { width: min(78%, 420px); }
  .media-simulator-board .device-preview-mobile { width: min(54%, 250px); }
  .page-events .editorial-feature-events .editorial-feature-copy { padding: 22px 20px 20px !important; }
  .page-events .editorial-feature-events .editorial-feature-copy h2 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .page-events .editorial-feature-events .editorial-feature-copy .button { width: 100%; text-align: center; }
  .page-events .editorial-feature-events .editorial-feature-media { aspect-ratio: 16 / 10; }
}

@media (max-width: 520px) {
  .page-events .editorial-feature-events { border-radius: 18px; }
  .page-events .editorial-feature-events .editorial-feature-copy { padding: 18px 16px 17px !important; }
  .page-events .editorial-feature-events .event-meta-pills { display: grid; grid-template-columns: 1fr; }
  .page-events .editorial-feature-events .event-meta-pills li { width: 100%; justify-content: flex-start; }
  .page-events .editorial-feature-events .editorial-feature-media { aspect-ratio: 4 / 3; }
  .page-events .editorial-feature-events .editorial-feature-media img { object-position: 70% center; }
  .media-simulator-board .device-preview-tablet { width: 86%; }
  .media-simulator-board .device-preview-mobile { width: 64%; }
}


/* SOURCE: /css/hotfix-v111.css */
/* v1.11 — auditoría visual transversal y conciliación editorial del recetario. */
:root{--admin-control-h:46px}
.admin-filter-toolbar{display:grid!important;grid-template-columns:minmax(240px,1.6fr) repeat(auto-fit,minmax(140px,1fr));gap:14px!important;align-items:end!important;padding:18px!important}
.admin-recipes-toolbar{grid-template-columns:minmax(260px,1.55fr) repeat(4,minmax(140px,.78fr)) minmax(92px,.45fr) minmax(170px,.8fr)!important}
.admin-filter-field{display:grid!important;gap:7px!important;min-width:0!important;margin:0!important;color:#27365f!important;font-size:.76rem!important;font-weight:850!important}
.admin-filter-field>span{display:block;line-height:1.2}
.admin-filter-field input,.admin-filter-field select{width:100%!important;min-width:0!important;height:var(--admin-control-h)!important;min-height:var(--admin-control-h)!important;padding:0 13px!important;border:1px solid #d9deea!important;border-radius:11px!important;background:#fff!important;color:#1d2b51!important;font:inherit!important;font-weight:650!important;box-sizing:border-box!important}
.admin-filter-field input:focus,.admin-filter-field select:focus{outline:3px solid rgba(92,76,148,.12)!important;border-color:#7662ad!important}
.admin-recipes-cookbooks{grid-column:1/-1;justify-self:end;min-height:42px}
.admin-table-summary{padding:2px 2px 10px;color:#596681;font-size:.78rem;font-weight:800}
.admin-data-table-v107,.admin-data-table-v108{overflow:auto;border:1px solid #e3e7ef;border-radius:16px;background:#fff}
.admin-data-table-v107 table,.admin-data-table-v108 table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0}
.admin-data-table-v107 th,.admin-data-table-v108 th{padding:13px 16px!important;white-space:nowrap;background:#f5f7fb;color:#52617e;font-size:.69rem;letter-spacing:.045em;text-transform:uppercase}
.admin-data-table-v107 td,.admin-data-table-v108 td{padding:15px 16px!important;vertical-align:middle;border-top:1px solid #edf0f5}
.admin-cell-main{display:grid;gap:4px;min-width:220px}.admin-cell-main strong{line-height:1.3}.admin-cell-main small{color:#7a869d;line-height:1.35}.admin-cell-value{display:block;line-height:1.4}
/* El resumen del hero informa: sin caja, relleno ni apariencia de botón. */
.hero-summary-panel,.hero-summary-panel-dark{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.hero-summary-panel>div,.hero-summary-panel-dark>div{padding:10px 0 10px 18px!important;border:0!important;background:transparent!important}
.hero-summary-panel>div+div,.hero-summary-panel-dark>div+div{border-top:0!important}
.hero-summary-panel>div::before,.hero-summary-panel-dark>div::before{left:0!important;top:10px!important;bottom:10px!important;width:3px!important}
/* Formularios y paneles: evita compresión y controles diminutos. */
.admin-panel input:not([type=checkbox]):not([type=radio]),.admin-panel select,.admin-panel textarea{max-width:100%;box-sizing:border-box}
.admin-action-row{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:1240px){.admin-recipes-toolbar{grid-template-columns:repeat(4,minmax(0,1fr))!important}.admin-recipes-toolbar .admin-filter-search{grid-column:span 2}.admin-recipes-toolbar .admin-filter-sort{grid-column:span 2}}
@media(max-width:980px){.admin-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-filter-search{grid-column:1/-1}.admin-recipes-toolbar .admin-filter-sort{grid-column:1/-1}.admin-recipes-cookbooks{justify-self:stretch;text-align:center}.admin-intro{gap:16px}.admin-action-row{width:100%}.admin-action-row .button{flex:1 1 180px;text-align:center}}
@media(max-width:720px){.admin-filter-toolbar{grid-template-columns:1fr!important;padding:14px!important}.admin-filter-search,.admin-filter-sort,.admin-recipes-cookbooks{grid-column:auto}.admin-filter-field input,.admin-filter-field select{height:48px!important;min-height:48px!important}.admin-data-table-v107,.admin-data-table-v108{overflow:visible;border:0;background:transparent}.admin-data-table-v107 table,.admin-data-table-v108 table{min-width:0}.admin-data-table-v107 thead,.admin-data-table-v108 thead{display:none}.admin-data-table-v107 tbody,.admin-data-table-v108 tbody{display:grid;gap:12px}.admin-data-table-v107 tr[data-recipe-row],.admin-data-table-v108 tr[data-recipe-row]{display:grid!important;grid-template-columns:1fr 1fr;gap:0;border:1px solid #e1e5ee;border-radius:15px;background:#fff;overflow:hidden}.admin-data-table-v107 tr[data-recipe-row] td,.admin-data-table-v108 tr[data-recipe-row] td{display:grid;gap:4px;padding:11px 13px!important;border-top:1px solid #edf0f5}.admin-data-table-v107 tr[data-recipe-row] td:first-child,.admin-data-table-v108 tr[data-recipe-row] td:first-child{grid-column:1/-1;border-top:0}.admin-data-table-v107 td::before,.admin-data-table-v108 td::before{content:attr(data-label);color:#7b879d;font-size:.63rem;font-weight:900;letter-spacing:.045em;text-transform:uppercase}.admin-row-actions .button{width:100%;text-align:center}}
@media(max-width:480px){.admin-data-table-v107 tr[data-recipe-row],.admin-data-table-v108 tr[data-recipe-row]{grid-template-columns:1fr}.admin-data-table-v107 tr[data-recipe-row] td:first-child,.admin-data-table-v108 tr[data-recipe-row] td:first-child{grid-column:auto}.admin-content{width:calc(100% - 14px)!important}.admin-panel{border-radius:14px}.button{white-space:normal}}

/* Guardrails transversales detectados en la auditoría de resoluciones. */
.table-wrap,.table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
.admin-panel,.admin-intro,.admin-table-toolbar,.form-grid,.admin-editor-grid-visual{min-width:0}
.admin-table-toolbar .button{min-height:42px}
.admin-panel textarea{resize:vertical}
.admin-panel input[type="search"]{-webkit-appearance:none;appearance:none}
@media(max-width:980px){.admin-filter-toolbar:not(.admin-recipes-toolbar){grid-template-columns:minmax(0,1.4fr) minmax(140px,.8fr) minmax(110px,.5fr) minmax(160px,.8fr)!important}.admin-filter-toolbar:not(.admin-recipes-toolbar) .admin-filter-search{grid-column:auto}}
@media(max-width:760px){.admin-filter-toolbar:not(.admin-recipes-toolbar){grid-template-columns:1fr 1fr!important}.admin-filter-toolbar:not(.admin-recipes-toolbar) .admin-filter-search{grid-column:1/-1}.admin-table-toolbar{padding:14px!important}.admin-header{min-width:0}.admin-header>div{min-width:0}.admin-header h1{overflow-wrap:anywhere}.admin-intro{display:grid!important;grid-template-columns:1fr!important}.admin-intro .admin-action-row{justify-content:stretch}.admin-intro .admin-action-row .button{flex:1 1 160px}}
@media(max-width:520px){.admin-filter-toolbar:not(.admin-recipes-toolbar){grid-template-columns:1fr!important}.admin-filter-toolbar:not(.admin-recipes-toolbar) .admin-filter-search{grid-column:auto}.admin-filter-toolbar .button{width:100%;text-align:center}.admin-action-row{display:grid;grid-template-columns:1fr}.admin-action-row .button{width:100%}.site-header .container,.site-header-inner{min-width:0}}

/* Auditoría transversal adicional: composición estable entre escritorio, laptop, tablet y móvil. */
.admin-content > *,
.admin-grid-two > *,
.admin-editor-grid > *,
.admin-editor-grid-visual > *,
.form-grid > *,
.detail-layout > *,
.page-hero-grid > *,
.cards-tenencias > *,
.profiles-grid > *,
.event-grid > *,
.program-grid > * { min-width: 0; }

.admin-content h1,
.admin-content h2,
.admin-content h3,
.admin-table td,
.admin-table th,
.card h2,
.card h3 { overflow-wrap: anywhere; }

.admin-row-actions,
.admin-intro-actions,
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.admin-filter-toolbar .button,
.admin-table-toolbar .button,
.admin-row-actions .button { display: inline-flex; align-items: center; justify-content: center; }

.admin-data-table-v107 td,
.admin-data-table-v108 td { overflow-wrap: anywhere; }

@media (max-width: 1180px) {
  .admin-content { width: min(calc(100% - 30px), 1250px); }
  .admin-panel { padding: 18px; }
}

@media (max-width: 900px) {
  .admin-intro { align-items: stretch; }
  .admin-intro > div { min-width: 0; }
  .admin-intro .admin-action-row,
  .admin-intro .admin-intro-actions { width: 100%; }
  .admin-intro .button { flex: 1 1 170px; }
  .admin-header { gap: 10px; }
}

@media (max-width: 760px) {
  .admin-content { width: calc(100% - 20px); padding-bottom: 24px; }
  .admin-panel { padding: 15px; border-radius: 15px; }
  .admin-panel header { align-items: flex-start; flex-wrap: wrap; }
  .admin-form input:not([type="checkbox"]):not([type="radio"]),
  .admin-form select,
  .admin-form textarea,
  .admin-filter-field input,
  .admin-filter-field select { font-size: 16px !important; }
  .admin-row-actions { width: 100%; }
  .admin-row-actions .button { flex: 1 1 150px; }
  .primary-nav-v8,
  .primary-nav-v7 { overscroll-behavior-y: contain; }
}

@media (max-width: 520px) {
  .admin-content { width: calc(100% - 14px) !important; }
  .admin-panel { padding: 13px; }
  .admin-intro h2 { font-size: clamp(1.3rem, 7vw, 1.65rem); }
  .admin-intro p:not(.eyebrow) { line-height: 1.55; }
  .admin-intro .admin-action-row,
  .admin-intro .admin-intro-actions,
  .admin-row-actions { display: grid; grid-template-columns: 1fr; }
  .admin-intro .button,
  .admin-row-actions .button { width: 100%; }
  .admin-table-summary { line-height: 1.45; }
}


/* SOURCE: /css/hotfix-v112.css */
/* Morelia Impulsa v1.12 · Experiencia gastronómica, programas y administración clara */

/* Navegación: Directorio vive en Más; el menú puede respirar mejor en desktop intermedio. */
@media (min-width: 1081px) {
  .site-header-v8 .primary-nav-v8 { gap: .5rem; }
  .site-header-v8 .primary-nav-v8 > a,
  .site-header-v8 .nav-more > summary { white-space: nowrap; }
}

/* Retícula editorial compartida */
.page-recipe-detail-v112 main .container,
.page-recipes-v112 main .container,
.page-cookbooks-v112 main .container,
.page-cookbook-detail-v112 main .container,
.page-traditional-cooks-v112 main .container,
.page-program-detail-v112 main .container { width: min(1120px, calc(100% - 40px)); }

.page-recipe-detail-v112 .page-hero,
.page-recipes-v112 .page-hero,
.page-cookbooks-v112 .page-hero,
.page-cookbook-detail-v112 .page-hero,
.page-traditional-cooks-v112 .page-hero,
.page-program-detail-v112 .page-hero { min-height: 430px; }

.page-recipe-detail-v112 .page-hero-grid,
.page-recipes-v112 .page-hero-grid,
.page-cookbooks-v112 .page-hero-grid,
.page-cookbook-detail-v112 .page-hero-grid,
.page-traditional-cooks-v112 .page-hero-grid,
.page-program-detail-v112 .page-hero-grid { min-height: 430px; align-items: center; }

.page-recipe-detail-v112 .narrow-copy,
.page-recipes-v112 .narrow-copy,
.page-cookbooks-v112 .narrow-copy,
.page-cookbook-detail-v112 .narrow-copy,
.page-traditional-cooks-v112 .narrow-copy,
.page-program-detail-v112 .narrow-copy { max-width: 650px; }

.page-recipe-detail-v112 .narrow-copy h1,
.page-recipes-v112 .narrow-copy h1,
.page-cookbooks-v112 .narrow-copy h1,
.page-cookbook-detail-v112 .narrow-copy h1,
.page-traditional-cooks-v112 .narrow-copy h1,
.page-program-detail-v112 .narrow-copy h1 { font-size: clamp(2.7rem, 5.2vw, 4.9rem); line-height: .98; max-width: 12ch; }

/* Recetas */
.recipe-page-hero { background-position: center; }
.recipe-hero-meta { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.1rem; }
.recipe-hero-meta > * { color:#fff; border:1px solid rgba(255,255,255,.28); background:rgba(12,35,82,.34); border-radius:999px; padding:.48rem .75rem; text-decoration:none; backdrop-filter:blur(6px); }
.recipe-detail-layout-v112 { grid-template-columns:minmax(0, 1fr) minmax(280px, 330px); gap:2rem; align-items:start; }
.recipe-detail-main-v112 { min-width:0; }
.recipe-story-v112 { margin-bottom:1.25rem; padding:1.5rem 1.6rem; border:1px solid var(--line, #e5e8f1); border-radius:20px; background:#fff; }
.recipe-story-v112 h2 { margin:.15rem 0 .65rem; }
.recipe-columns-v112 { display:grid; grid-template-columns:minmax(240px,.78fr) minmax(0,1.42fr); gap:1.15rem; align-items:start; }
.recipe-columns-v112 > section { height:100%; border-radius:20px; }
.recipe-cook-card-v112 { position:sticky; top:96px; border-radius:22px; overflow:hidden; }
.recipe-cook-card-v112 img { width:100%; aspect-ratio: 4 / 3; object-fit:cover; }
.recipe-cook-territory { display:flex; justify-content:space-between; gap:1rem; padding:.8rem 0; margin:.75rem 0 1rem; border-top:1px solid var(--line,#e5e8f1); border-bottom:1px solid var(--line,#e5e8f1); }
.recipe-cook-territory span { color:var(--muted,#68738b); }

.recipes-page-hero-v112 { background-position:center 36%; }
.recipes-hero-stat-v112 { justify-self:end; width:min(250px,100%); padding:1.4rem; border:1px solid rgba(255,255,255,.24); background:rgba(255,255,255,.12); backdrop-filter:blur(10px); border-radius:24px; color:#fff; text-align:center; }
.recipes-hero-stat-v112 strong { display:block; font-size:clamp(3rem,5vw,5rem); line-height:1; }
.recipes-hero-stat-v112 span { display:block; font-weight:800; margin:.3rem 0 .6rem; }
.recipes-hero-stat-v112 small { display:block; line-height:1.45; opacity:.88; }
.recipe-filters-v112 { display:grid; grid-template-columns:minmax(260px,1.7fr) repeat(3,minmax(150px,1fr)) auto; gap:.75rem; align-items:end; }
.recipe-filters-v112 label { min-width:0; }
.recipe-filters-v112 input,.recipe-filters-v112 select,.recipe-filters-v112 button { min-height:46px; }
.recipe-grid-v112 { align-items:stretch; }
.recipe-grid-v112 .recipe-card { height:100%; }
.recipe-grid-v112 .recipe-card > a { height:100%; display:flex; flex-direction:column; }
.recipe-grid-v112 .recipe-card > a > div { flex:1; display:flex; flex-direction:column; }
.recipe-grid-v112 .recipe-card .card-link { margin-top:auto; }

/* Colecciones y cocineras: experiencia autoral, no repetición del explorador de recetas */
.cookbook-editorial-intro { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr); gap:1.5rem; align-items:start; margin-bottom:2.5rem; }
.cookbook-editorial-intro > .rich-content { padding:1.5rem 1.65rem; border-left:4px solid var(--accent,#5b47a2); background:#f8f6ff; border-radius:0 18px 18px 0; }
.cookbook-editorial-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; }
.cookbook-editorial-stats article { border:1px solid var(--line,#e5e8f1); border-radius:18px; padding:1rem; background:#fff; }
.cookbook-editorial-stats strong { display:block; font-size:1.8rem; color:var(--navy,#132a61); }
.cookbook-editorial-stats span { display:block; color:var(--muted,#68738b); font-size:.82rem; line-height:1.35; }
.cookbook-cook-grid-v112 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cookbook-cook-card-v112 { border:1px solid var(--line,#e5e8f1); border-radius:22px; background:#fff; overflow:hidden; box-shadow:0 12px 30px rgba(24,37,76,.06); }
.cookbook-cook-card-v112 a { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.cookbook-cook-card-v112 img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.cookbook-cook-card-v112 div { padding:1.1rem; display:flex; flex-direction:column; flex:1; }
.cookbook-cook-card-v112 h3 { margin:.2rem 0 .5rem; font-size:1.25rem; }
.cookbook-cook-card-v112 .card-link { margin-top:auto; padding-top:1rem; }
.cookbook-recipe-count { display:inline-flex; gap:.3rem; align-items:baseline; color:var(--muted,#68738b); margin-top:.5rem; }
.cookbook-territory-strip-v112 { margin-top:2.3rem; padding:1.4rem; border-radius:20px; background:#f8f6ff; }
.cookbook-territory-strip-v112 > div { display:flex; flex-wrap:wrap; gap:.65rem; }
.cookbook-territory-strip-v112 span { display:flex; gap:.55rem; align-items:center; padding:.65rem .8rem; border-radius:999px; background:#fff; border:1px solid #e9e4fb; }
.cookbook-territory-strip-v112 small { color:var(--muted,#68738b); }
.cooks-grid-v112 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cook-card-v112 { height:100%; }
.cook-card-v112 > a { height:100%; display:flex; flex-direction:column; }
.cook-card-v112 > a > div { flex:1; display:flex; flex-direction:column; }
.cook-card-v112 .card-link { margin-top:auto; }
.cookbooks-page-hero-v112,.cooks-page-hero-v112,.cookbook-page-hero { background-position:center 35%; }

/* Empleo: jornada destacada visual, alimentada por el evento de Bolsa de Trabajo */
.employment-featured-event-v112 { position:relative; min-height:360px; border-radius:24px; overflow:hidden; background:linear-gradient(145deg,#162f68,#584398); box-shadow:0 18px 45px rgba(24,37,76,.16); color:#fff; }
.employment-featured-event-visual { position:absolute; inset:0; background-image:linear-gradient(180deg,rgba(13,29,67,.12) 10%,rgba(13,29,67,.92) 88%),var(--employment-event-image); background-size:cover; background-position:center; }
.employment-featured-event-content { position:relative; z-index:1; min-height:360px; padding:1.5rem; display:flex; flex-direction:column; justify-content:flex-end; }
.employment-featured-event-content h2 { color:#fff; font-size:clamp(1.55rem,2.4vw,2.25rem); margin:.2rem 0 .5rem; }
.employment-featured-event-content p { color:rgba(255,255,255,.88); }
.employment-event-meta-v112 { display:flex; flex-wrap:wrap; gap:.5rem; margin:.8rem 0 1rem; }
.employment-event-meta-v112 span { padding:.4rem .65rem; border-radius:999px; border:1px solid rgba(255,255,255,.28); background:rgba(15,31,71,.38); font-size:.78rem; font-weight:700; }
.employment-featured-event-v112.is-empty .employment-featured-event-visual { display:none; }

/* Programas: misma gramática del sitio, con documentos y datos útiles */
.program-detail-hero-v112 { background-position:center; }
.program-detail-hero-v112 .page-hero-grid { grid-template-columns:minmax(0,1fr) minmax(260px,360px); gap:2rem; }
.program-hero-facts-v112 { align-self:end; margin-bottom:1rem; display:grid; gap:.65rem; }
.program-hero-facts-v112 span { padding:.85rem 1rem; border-left:3px solid #69d9f7; background:rgba(14,34,76,.32); color:#fff; backdrop-filter:blur(6px); }
.program-hero-facts-v112 small { display:block; opacity:.75; text-transform:uppercase; letter-spacing:.06em; font-size:.7rem; }
.program-hero-facts-v112 strong { display:block; margin-top:.2rem; }
.program-detail-layout-v112 { grid-template-columns:minmax(0,1fr) minmax(280px,330px); gap:1.6rem; align-items:start; }
.program-detail-main-v112 { display:grid; gap:1rem; }
.program-content-block-v112 { padding:1.5rem 1.65rem; background:#fff; border:1px solid var(--line,#e5e8f1); border-radius:22px; }
.program-content-block-v112 h2 { margin:.2rem 0 .8rem; }
.program-detail-pair-v112 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.program-detail-side-v112 { display:grid; gap:1rem; }
.program-detail-side-v112 .side-card { border-radius:20px; }
.program-documents-card-v112 .button + .text-link { margin-top:.9rem; }
.program-contact-card-v112 p { overflow-wrap:anywhere; }
.program-card-v112 { overflow:hidden; }
.program-card-image-v112 { display:block; margin:-1px -1px .8rem; }
.program-card-image-v112 img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }

/* Usuarios: tres perfiles, sin alcance territorial */
.admin-user-editor-v112 .admin-user-basic-fields label > span { display:block; margin-bottom:.38rem; font-weight:700; }
.admin-user-editor-v112 input:not([type=checkbox]):not([type=radio]) { min-height:46px; }
.admin-role-profile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }
.admin-role-profile-card { position:relative; display:flex; gap:.8rem; align-items:flex-start; padding:1rem; border:1px solid #dfe3ef; border-radius:18px; background:#fff; cursor:pointer; transition:.18s ease; min-width:0; }
.admin-role-profile-card:hover,.admin-role-profile-card.is-selected { border-color:#6953b5; background:#f7f4ff; box-shadow:0 10px 24px rgba(55,43,110,.08); }
.admin-role-profile-card input { position:absolute; opacity:0; pointer-events:none; }
.admin-role-profile-number { flex:0 0 36px; height:36px; display:grid; place-items:center; border-radius:12px; background:#ece8ff; color:#4d3a98; font-weight:900; }
.admin-role-profile-copy { min-width:0; }
.admin-role-profile-copy strong,.admin-role-profile-copy small { display:block; }
.admin-role-profile-copy small { margin-top:.28rem; color:#66718a; line-height:1.42; }
.admin-user-profile-points { display:grid; gap:.55rem; margin:1rem 0 1.25rem; padding:1rem; border-radius:16px; background:#f7f5ff; }

/* Multimedia: hechos reales incluso para imágenes heredadas */
.entity-media-facts-v112 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.entity-media-compatibility { display:inline-flex; padding:.25rem .55rem; border-radius:999px; font-weight:800; font-size:.72rem; }
.entity-media-compatibility.is-compatible { background:#ddf7e9; color:#17633e; }
.entity-media-compatibility.needs-review { background:#fff0cf; color:#76500a; }

/* Cocineras administrativas: la misma bandeja, sin categorías ajenas */
body:has(.admin-profiles-review-v90) .profile-review-grid-row { min-width:980px; }

/* Programa admin */
.admin-editor-subsection { margin-top:1rem; padding:1.1rem; border:1px solid #e5e8f1; border-radius:18px; background:#fbfbfe; }
.rich-editor-pair { align-items:start; }

@media (max-width: 1180px) {
  .recipe-filters-v112 { grid-template-columns:minmax(240px,2fr) repeat(2,minmax(150px,1fr)); }
  .recipe-filters-v112 button { width:100%; }
  .cookbook-cook-grid-v112,.cooks-grid-v112 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 980px) {
  .page-recipe-detail-v112 .page-hero-grid,
  .page-recipes-v112 .page-hero-grid,
  .page-cookbooks-v112 .page-hero-grid,
  .page-cookbook-detail-v112 .page-hero-grid,
  .page-traditional-cooks-v112 .page-hero-grid,
  .page-program-detail-v112 .page-hero-grid { min-height:390px; }
  .recipe-detail-layout-v112,.program-detail-layout-v112 { grid-template-columns:1fr; }
  .recipe-cook-card-v112 { position:static; }
  .recipe-columns-v112 { grid-template-columns:1fr; }
  .cookbook-editorial-intro { grid-template-columns:1fr; }
  .program-detail-hero-v112 .page-hero-grid { grid-template-columns:1fr; }
  .program-hero-facts-v112 { grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 1rem; }
  .admin-role-profile-grid { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  .page-recipe-detail-v112 main .container,
  .page-recipes-v112 main .container,
  .page-cookbooks-v112 main .container,
  .page-cookbook-detail-v112 main .container,
  .page-traditional-cooks-v112 main .container,
  .page-program-detail-v112 main .container { width:min(100% - 28px,1120px); }
  .page-recipe-detail-v112 .page-hero,
  .page-recipes-v112 .page-hero,
  .page-cookbooks-v112 .page-hero,
  .page-cookbook-detail-v112 .page-hero,
  .page-traditional-cooks-v112 .page-hero,
  .page-program-detail-v112 .page-hero { min-height:360px; }
  .page-recipe-detail-v112 .page-hero-grid,
  .page-recipes-v112 .page-hero-grid,
  .page-cookbooks-v112 .page-hero-grid,
  .page-cookbook-detail-v112 .page-hero-grid,
  .page-traditional-cooks-v112 .page-hero-grid,
  .page-program-detail-v112 .page-hero-grid { min-height:360px; padding-block:2rem; }
  .page-recipe-detail-v112 .narrow-copy h1,
  .page-recipes-v112 .narrow-copy h1,
  .page-cookbooks-v112 .narrow-copy h1,
  .page-cookbook-detail-v112 .narrow-copy h1,
  .page-traditional-cooks-v112 .narrow-copy h1,
  .page-program-detail-v112 .narrow-copy h1 { font-size:clamp(2.35rem,11vw,3.5rem); }
  .recipes-hero-stat-v112 { display:none; }
  .recipe-filters-v112 { grid-template-columns:1fr 1fr; }
  .recipe-filters-v112 label:first-child { grid-column:1/-1; }
  .cookbook-editorial-stats { grid-template-columns:1fr 1fr 1fr; }
  .program-detail-pair-v112 { grid-template-columns:1fr; }
  .program-hero-facts-v112 { grid-template-columns:1fr; }
  .employment-featured-event-v112,.employment-featured-event-content { min-height:330px; }
  .entity-media-facts-v112 { grid-template-columns:1fr 1fr; }
}

@media (max-width: 520px) {
  .recipe-filters-v112 { grid-template-columns:1fr; }
  .recipe-filters-v112 label:first-child { grid-column:auto; }
  .cookbook-cook-grid-v112,.cooks-grid-v112 { grid-template-columns:1fr; }
  .cookbook-editorial-stats { grid-template-columns:1fr; }
  .recipe-hero-meta { gap:.4rem; }
  .recipe-hero-meta > * { width:100%; border-radius:12px; }
  .recipe-story-v112,.program-content-block-v112 { padding:1.15rem; border-radius:17px; }
  .employment-featured-event-v112,.employment-featured-event-content { min-height:310px; }
  .employment-featured-event-content { padding:1.15rem; }
  .entity-media-facts-v112 { grid-template-columns:1fr; }
}


/* SOURCE: /css/hotfix-v113.css */
/* Morelia Impulsa v1.13 · Documentos internos, multimedia administrable y pulido responsive */

/* Selector de idioma compacto en todas las vistas públicas */
.language-menu-v113{position:relative;flex:0 0 auto}
.language-menu-v113>summary{list-style:none;display:flex;align-items:center;gap:.35rem;min-height:38px;padding:.35rem .62rem;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-size:.78rem}
.language-menu-v113>summary::-webkit-details-marker{display:none}.language-menu-v113>summary::marker{display:none}
.language-menu-globe-v113{opacity:.8;font-size:.9rem}.language-menu-chevron-v113{font-size:.7rem;opacity:.7;transition:transform .18s}.language-menu-v113[open] .language-menu-chevron-v113{transform:rotate(180deg)}
.language-menu-popover-v113{position:absolute;z-index:80;top:calc(100% + .5rem);right:0;min-width:150px;padding:.45rem;border:1px solid #dfe4f0;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(15,31,70,.18)}
.language-menu-popover-v113 a{display:flex;align-items:center;gap:.65rem;padding:.65rem .72rem;border-radius:10px;color:#24365f;text-decoration:none;font-weight:700;white-space:nowrap}
.language-menu-popover-v113 a span{display:grid;place-items:center;min-width:30px;height:26px;border-radius:8px;background:#f0edfb;color:#4f3d92;font-size:.7rem}
.language-menu-popover-v113 a:hover,.language-menu-popover-v113 a.is-active{background:#f7f5fd}
@media(min-width:1081px){.site-header-v8 .primary-nav-v8{gap:.42rem}.site-header-v8 .nav-search-form{min-width:205px;max-width:250px}.site-header-v8 .primary-nav-v8>a,.site-header-v8 .nav-more>summary{padding-inline:.48rem}}

/* Ficha pública de Programas: ocupa el espacio según exista documentación */
.page-program-detail-v113 .container{width:min(1180px,calc(100% - 40px))}
.program-detail-hero-v113{background-position:center}.program-detail-hero-v113 .page-hero-grid{grid-template-columns:minmax(0,1fr) minmax(245px,340px);gap:2rem;align-items:end}
.program-hero-facts-v113{display:grid;gap:.55rem;margin-bottom:1rem}.program-hero-facts-v113 span{padding:.8rem 1rem;border-left:3px solid #69d9f7;background:rgba(14,34,76,.28);color:#fff;backdrop-filter:blur(5px)}
.program-hero-facts-v113 small{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;opacity:.76}.program-hero-facts-v113 strong{display:block;margin-top:.18rem}
.program-detail-shell-v113{display:grid;grid-template-columns:minmax(0,1fr) minmax(295px,365px);gap:1.35rem;align-items:start}
.program-detail-shell-v113.no-documents{grid-template-columns:minmax(0,1fr) minmax(270px,320px)}
.program-detail-main-v113{display:grid;gap:1rem;min-width:0}.program-detail-side-v113{display:grid;gap:1rem;min-width:0}
.program-content-block-v113{padding:1.5rem 1.65rem;background:#fff;border:1px solid #e3e7f0;border-radius:20px;min-width:0}.program-content-block-v113 h2{margin:.2rem 0 .8rem}
.program-content-grid-v113{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.program-content-grid-v113.is-single{grid-template-columns:1fr}
.program-detail-shell-v113.no-documents .program-content-grid-v113{grid-template-columns:repeat(2,minmax(0,1fr))}
.program-detail-shell-v113.no-documents .program-detail-main-v113{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.program-detail-shell-v113.no-documents .program-detail-main-v113>.program-content-block-v113:first-child,.program-detail-shell-v113.no-documents .program-detail-main-v113>.program-content-grid-v113{grid-column:1/-1}
.program-action-card-v113,.program-contact-card-v113{border-radius:20px}.program-contact-card-v113 p{overflow-wrap:anywhere}
.program-document-panel-v113{overflow:hidden;border:1px solid #dfe4ef;border-radius:22px;background:#fff;box-shadow:0 14px 36px rgba(28,42,81,.07)}
.program-document-panel-head-v113{padding:1.25rem 1.25rem .7rem}.program-document-panel-head-v113 h2{margin:.2rem 0 .45rem}.program-document-panel-head-v113 p:last-child{margin:0;color:#66718a}
.program-document-links-v113{display:grid;gap:.55rem;padding:.55rem 1rem 1rem}.program-document-link-v113{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:.7rem;align-items:center;padding:.75rem;border:1px solid #e3e6ef;border-radius:14px;color:#21345d;text-decoration:none;background:#fafbfe}
.program-document-link-v113>span{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#ece7ff;color:#4f3c96;font-size:.68rem;font-weight:900}.program-document-link-v113 strong{font-size:.92rem}.program-document-link-v113 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#737d93}.program-document-link-v113:hover{border-color:#6c55b2;background:#f7f4ff}
.program-document-preview-v113{height:440px;border-top:1px solid #e4e7ef;background:#eef1f6}.program-document-preview-v113 iframe{width:100%;height:100%;border:0;background:#fff}

/* Administración de Programas */
.admin-program-editor-v113 .admin-editor-main{display:grid;gap:1rem}.admin-program-section-v113{margin-top:0;background:#fff}.admin-program-section-v113>label{display:block;margin-top:.85rem}
.admin-form-grid-balanced-v113{align-items:end}.admin-form-grid-balanced-v113 label{min-width:0}.admin-form-grid-balanced-v113 input,.admin-form-grid-balanced-v113 select,.admin-form-grid-balanced-v113 textarea{width:100%}
.form-grid-span-2-v113{grid-column:1/-1}.admin-check-card-v113{align-self:stretch;padding:.8rem;border:1px solid #e2e5ee;border-radius:14px;background:#fafbfe}.admin-check-card-v113 span strong,.admin-check-card-v113 span small{display:block}.admin-check-card-v113 span small{margin-top:.15rem;color:#6e7890;font-weight:400}
.program-doc-admin-grid-v113{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.program-doc-admin-card-v113{display:grid;grid-template-columns:52px minmax(0,1fr);gap:.8rem;padding:1rem;border:1px solid #e1e5ee;border-radius:18px;background:#fbfcfe;min-width:0}.program-doc-admin-icon-v113{display:grid;place-items:center;width:52px;height:58px;border-radius:12px;background:#ebe6ff;color:#503c98;font-weight:900;font-size:.72rem}.program-doc-admin-copy-v113{min-width:0}.program-doc-admin-copy-v113 h3{margin:.25rem 0 .25rem;overflow-wrap:anywhere}.program-doc-admin-copy-v113 p{margin:0;color:#6c7690;font-size:.82rem}.program-doc-admin-actions-v113{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.5rem}.program-doc-admin-actions-v113 .button{flex:1 1 auto}

/* Multimedia: acciones completas, también en galerías y recursos heredados */
.entity-media-actions,.entity-media-gallery-actions{display:flex;flex-wrap:wrap;gap:.45rem}.entity-media-actions .button,.entity-media-gallery-actions .button{min-height:38px}.entity-media-gallery-item figcaption{display:grid;gap:.55rem}.entity-media-gallery-item figcaption label{min-width:0}.entity-media-gallery-item figcaption input{width:100%}
.button-danger-soft{color:#8e2940!important;border-color:#efc9d2!important;background:#fff8fa!important}.button-danger-soft:hover{background:#fdecef!important}

/* Tablas administrativas: retícula, jerarquía y lectura coherentes */
.admin-table-panel{overflow:hidden}.admin-table-wrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border-radius:16px}.admin-data-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto}.admin-data-table th{padding:.78rem .85rem;white-space:nowrap;font-size:.72rem;letter-spacing:.045em;text-transform:uppercase;color:#536079;background:#f5f7fb;border-bottom:1px solid #dfe4ed}.admin-data-table td{padding:.82rem .85rem;vertical-align:middle;border-bottom:1px solid #e8ebf1;line-height:1.38}.admin-data-table tbody tr:last-child td{border-bottom:0}.admin-data-table tbody tr:hover td{background:#fbfbfe}.admin-data-table .button-small{white-space:nowrap}.admin-table-primary{display:flex;align-items:center;gap:.75rem;min-width:250px}.admin-table-primary img{flex:0 0 54px;width:54px;height:44px;border-radius:10px;object-fit:cover}.admin-table-primary>div{min-width:0}.admin-table-primary strong,.admin-table-primary small{display:block}.admin-table-primary strong{overflow-wrap:anywhere}.admin-table-primary small{margin-top:.2rem;color:#707a91;line-height:1.35;max-width:62ch}
.admin-programs-table-v113{min-width:900px}.admin-programs-table-v113 th:first-child{width:46%}.admin-programs-table-v113 th:nth-child(2){width:12%}.admin-programs-table-v113 th:nth-child(3){width:13%}.admin-programs-table-v113 th:nth-child(4){width:11%}.admin-programs-table-v113 th:nth-child(5){width:8%;text-align:center}.admin-programs-table-v113 td:nth-child(5){text-align:center}.admin-programs-table-v113 th:last-child,.admin-programs-table-v113 td:last-child{text-align:right}

/* Inputs administrativos: coherencia transversal */
.admin-form label{line-height:1.35}.admin-form input:not([type=checkbox]):not([type=radio]):not([type=file]),.admin-form select{min-height:46px;border-radius:10px}.admin-form textarea{border-radius:12px}.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus{outline:3px solid rgba(87,67,158,.13);border-color:#705ab5}.admin-editor-subsection{min-width:0}

@media(max-width:1080px){.program-detail-shell-v113,.program-detail-shell-v113.no-documents{grid-template-columns:1fr}.program-detail-side-v113{grid-template-columns:repeat(2,minmax(0,1fr))}.program-document-panel-v113{grid-column:1/-1}.program-detail-shell-v113.no-documents .program-detail-main-v113{grid-template-columns:1fr}.program-detail-shell-v113.no-documents .program-detail-main-v113>*{grid-column:auto}.program-detail-hero-v113 .page-hero-grid{grid-template-columns:1fr}.program-hero-facts-v113{grid-template-columns:repeat(3,minmax(0,1fr))}.site-header-v8 .nav-search-form{min-width:180px}}
@media(max-width:820px){.page-program-detail-v113 .container{width:min(100% - 28px,1180px)}.program-content-grid-v113,.program-detail-shell-v113.no-documents .program-content-grid-v113{grid-template-columns:1fr}.program-detail-side-v113{grid-template-columns:1fr}.program-doc-admin-grid-v113{grid-template-columns:1fr}.program-document-preview-v113{height:360px}.admin-data-table-wide{min-width:820px}.form-grid-span-2-v113{grid-column:auto}.language-menu-v113{width:100%}.language-menu-v113>summary{width:100%;justify-content:flex-start}.language-menu-popover-v113{position:static;margin-top:.4rem;box-shadow:none;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}.language-menu-popover-v113 a{color:#fff}.language-menu-popover-v113 a:hover,.language-menu-popover-v113 a.is-active{background:rgba(255,255,255,.1)}}
@media(max-width:600px){.program-hero-facts-v113{grid-template-columns:1fr}.program-content-block-v113{padding:1.15rem;border-radius:17px}.program-document-preview-v113{display:none}.program-document-panel-head-v113{padding:1.05rem 1.05rem .55rem}.program-document-links-v113{padding:.45rem .8rem .9rem}.program-doc-admin-card-v113{grid-template-columns:44px minmax(0,1fr);padding:.85rem}.program-doc-admin-icon-v113{width:44px;height:50px}.program-doc-admin-actions-v113{display:grid;grid-template-columns:1fr}.entity-media-gallery-actions{display:grid;grid-template-columns:1fr 1fr}.entity-media-gallery-actions .button{width:100%}.admin-table-wrap{margin-inline:-.35rem;width:calc(100% + .7rem)}.admin-data-table th,.admin-data-table td{padding:.7rem .72rem}}
@media(max-width:420px){.entity-media-gallery-actions{grid-template-columns:1fr}.program-document-link-v113{grid-template-columns:38px minmax(0,1fr);padding:.65rem}.program-document-link-v113>span{width:38px;height:38px}.program-doc-admin-actions-v113{grid-template-columns:1fr}}

/* Morelia Impulsa v1.14.0 — experiencia pública, resiliencia multimedia y accesibilidad */
.mi-purpose-heading { margin: 1rem 0 .75rem; max-width: 760px; }
.mi-purpose-heading h2 { margin: 0 0 .35rem; font-size: clamp(1.35rem, 2vw, 2rem); color: #fff; }
.mi-purpose-heading p { margin: 0; color: rgba(255,255,255,.86); }
.mi-welcome[hidden] { display:none; }
.mi-welcome { position: fixed; inset: 0; z-index: 1200; display:grid; place-items:center; padding:1rem; }
.mi-welcome__backdrop { position:absolute; inset:0; background:rgba(8,18,43,.72); backdrop-filter:blur(5px); }
.mi-welcome__card { position:relative; width:min(560px,100%); border-radius:24px; background:#fff; padding:clamp(1.25rem,4vw,2rem); box-shadow:0 30px 90px rgba(8,18,43,.32); }
.mi-welcome__card h2 { margin:.25rem 0 .6rem; color:#1f2f5d; font-size:clamp(1.55rem,4vw,2.25rem); }
.mi-welcome__card p { color:#59637b; }
.mi-welcome__steps { display:grid; gap:.7rem; margin:1rem 0 1.25rem; }
.mi-welcome__step { display:grid; grid-template-columns:2.15rem 1fr; gap:.7rem; align-items:start; }
.mi-welcome__step span { display:grid; place-items:center; width:2.15rem; height:2.15rem; border-radius:50%; background:#edf0ff; color:#4d43a8; font-weight:800; }
.mi-welcome__actions { display:flex; flex-wrap:wrap; gap:.65rem; }
.mi-welcome__close { position:absolute; right:1rem; top:1rem; width:2.4rem; height:2.4rem; border:0; border-radius:50%; background:#eef1f8; color:#1f2f5d; font-size:1.25rem; cursor:pointer; }
.mi-media-fallback { object-fit:cover; background:#eef1f8; }
@media (max-width:760px){ .mi-welcome { align-items:end; padding:0; } .mi-welcome__card{border-radius:24px 24px 0 0;} }

/* v1.15 — Analítica institucional y onboarding accesible */
.analytics-admin-v115{max-width:1500px}.analytics-kpis-v115{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.analytics-kpis-v115 article{display:flex;flex-direction:column;gap:4px;padding:20px;border:1px solid #dfe5ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(31,47,93,.07)}.analytics-kpis-v115 span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#64748b}.analytics-kpis-v115 strong{font-size:2rem;color:#1f2f5d}.analytics-kpis-v115 small{color:#64748b}.analytics-grid-v115{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.analytics-span-2-v115{grid-column:span 2}.analytics-bars-v115{display:grid;gap:10px;max-height:380px;overflow:auto;padding-right:5px}.analytics-bar-row-v115{display:grid;grid-template-columns:90px minmax(120px,1fr) 52px 90px;align-items:center;gap:10px;font-size:.82rem}.analytics-bar-track-v115{height:12px;border-radius:999px;background:#edf1f7;overflow:hidden}.analytics-bar-track-v115 span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6fc7df,#315caa)}.analytics-list-v115{display:grid;gap:0}.analytics-list-v115>div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #e9edf4}.analytics-list-v115>div:last-child{border-bottom:0}.analytics-list-v115 span{overflow:hidden;text-overflow:ellipsis}.analytics-list-v115 strong{color:#1f2f5d}.analytics-list-wrap-v115 span{white-space:normal}.analytics-privacy-v115{margin-top:20px}.mi-welcome__card:focus{outline:none}.mi-welcome__help{position:fixed;right:20px;bottom:20px;z-index:40;border:1px solid rgba(31,47,93,.18);border-radius:999px;background:#fff;color:#1f2f5d;padding:.65rem .9rem;font-weight:800;box-shadow:0 10px 28px rgba(31,47,93,.16);cursor:pointer}.mi-welcome__help:hover{transform:translateY(-1px)}
@media(max-width:1100px){.analytics-kpis-v115{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid-v115{grid-template-columns:1fr 1fr}.analytics-span-2-v115{grid-column:span 2}}
@media(max-width:720px){.analytics-kpis-v115,.analytics-grid-v115{grid-template-columns:1fr}.analytics-span-2-v115{grid-column:auto}.analytics-bar-row-v115{grid-template-columns:72px minmax(80px,1fr) 38px}.analytics-bar-row-v115 small{display:none}.mi-welcome__help{right:12px;bottom:12px}}

.footer-link-button{border:0;padding:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.footer-link-button:hover{text-decoration:underline}

/* v1.18 — Revelado determinista en escritorio y móvil */
[data-reveal]{opacity:1;transform:none}
html.mi-reveal-ready.mi-reveal-armed [data-reveal]:not(.is-revealed){opacity:0;transform:translate3d(0,28px,0)}
html.mi-reveal-ready.mi-reveal-armed [data-reveal]{transition:opacity .72s ease var(--mi-reveal-delay,0ms),transform .72s cubic-bezier(.18,.72,.22,1) var(--mi-reveal-delay,0ms);will-change:opacity,transform;backface-visibility:hidden}
html.mi-reveal-ready.mi-reveal-armed [data-reveal].is-revealed{opacity:1;transform:none;will-change:auto}

.mi-media-frame,
.news-card>a,
.profile-card>a,
.event-card>a,
.image-card>a,
.program-card-image-v112,
.cook-card>a,
.cookbook-card>a,
.gallery-item,
.mini-tenencia-card{position:relative;isolation:isolate}
.mi-media-loading{overflow:hidden;background:linear-gradient(110deg,#eef1f8 8%,#f8f9fc 18%,#eef1f8 33%);background-size:220% 100%;animation:miSkeleton 1.15s linear infinite}
.mi-media-loading::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.62) 48%,transparent 76%);transform:translateX(-110%);animation:miSkeletonSweep 1.15s ease-in-out infinite}
.mi-media-image{opacity:0;transition:opacity .38s ease,filter .38s ease;filter:saturate(.9)}
.mi-media-image.mi-media-image-ready{opacity:1;filter:none}
.mi-media-loaded,.mi-media-failed{animation:none;background:none}
.mi-media-loaded::after,.mi-media-failed::after{display:none}
.mi-media-failed{background:#eef1f8}
.news-card-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef1f8}
.news-card-media img{width:100%;height:100%;object-fit:cover}
form[aria-busy="true"]{cursor:progress}
form[aria-busy="true"] button[type="submit"]{opacity:.72;cursor:wait}
@keyframes miSkeleton{to{background-position-x:-220%}}
@keyframes miSkeletonSweep{to{transform:translateX(110%)}}

@media(max-width:1100px){
  .news-grid,.program-grid-refresh,.profiles-grid.public-card-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  html.mi-reveal-ready.mi-reveal-armed [data-reveal]:not(.is-revealed){transform:translate3d(0,18px,0)}
  .news-grid,.program-grid-refresh,.profiles-grid.public-card-grid-4,.cards-tenencias-editorial{grid-template-columns:1fr}
  .news-card,.program-card,.profile-card,.image-card{min-width:0}
  .news-category-row{display:flex;overflow-x:auto;scrollbar-width:thin;padding-bottom:.4rem;overscroll-behavior-inline:contain}
  .news-category-row .chip{flex:0 0 auto}
}
@media(prefers-reduced-motion:reduce){
  html.mi-reveal-ready.mi-reveal-armed [data-reveal]{opacity:1!important;transform:none!important;transition:none!important}
  .mi-media-loading,.mi-media-loading::after{animation:none!important}
  .mi-media-image{transition:none!important}
}

/* v1.18 · Paginación administrativa server-side. */
.admin-pagination { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:1rem 0; padding:.9rem 1rem; border:1px solid var(--line,#e5e8f1); border-radius:16px; background:#fff; }
.admin-pagination > div { display:flex; flex-wrap:wrap; gap:.45rem; }
@media (max-width:700px) { .admin-pagination { align-items:flex-start; flex-direction:column; } }

html.mi-reveal-ready .mi-reveal-delay-0{--mi-reveal-delay:0ms}
html.mi-reveal-ready .mi-reveal-delay-1{--mi-reveal-delay:65ms}
html.mi-reveal-ready .mi-reveal-delay-2{--mi-reveal-delay:130ms}
html.mi-reveal-ready .mi-reveal-delay-3{--mi-reveal-delay:195ms}

/* v1.18 · Fondos dinámicos sin atributos style; CSP style-src-attr none. */
.mi-bg-host { position:relative; isolation:isolate; overflow:hidden; background-image:none!important; }
.mi-bg-media { position:absolute; inset:0; z-index:-3; width:100%; height:100%; object-fit:cover; object-position:center; pointer-events:none; user-select:none; }
.page-hero-visual.mi-bg-host::after { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(110deg,rgba(16,26,58,.98) 0%,rgba(28,48,91,.86) 48%,rgba(77,67,126,.62) 100%); pointer-events:none; }
.detail-hero.mi-bg-host::before,.event-detail-hero.mi-bg-host::before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(105deg,rgba(13,25,57,.96),rgba(24,40,79,.78) 52%,rgba(32,42,81,.34)); pointer-events:none; }
.profile-hero-subhero.mi-bg-host::before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(105deg,rgba(17,26,59,.96) 0%,rgba(24,39,79,.86) 46%,rgba(71,61,124,.42) 100%); pointer-events:none; }
.page-hero-investment.mi-bg-host::before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(23,30,62,.96),rgba(39,54,97,.74),rgba(67,58,111,.54)); pointer-events:none; }
.agenda-side-panel-event.mi-bg-host::before { background-image:none!important; }
.city-event-featured.mi-bg-host::before { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(180deg,rgba(11,23,55,.08),rgba(15,28,66,.9)); pointer-events:none; }
.investment-project-featured.mi-bg-host .mi-bg-media { z-index:-2; }
.admin-hero-card-media.mi-bg-host::after { content:""; position:absolute; inset:0; z-index:-2; background:linear-gradient(90deg,rgba(15,27,61,.82),rgba(15,27,61,.22)); pointer-events:none; }
.employment-featured-event-v112.mi-bg-host .mi-bg-media { z-index:0; }
.employment-featured-event-v112.mi-bg-host .employment-featured-event-visual { z-index:0; background-image:linear-gradient(180deg,rgba(13,29,67,.12) 10%,rgba(13,29,67,.92) 88%); }
.profile-review-grid-cell-wide { grid-column:1 / -1; border-right:0; }
.analytics-bar-track-v115 progress { display:block; width:100%; height:100%; border:0; appearance:none; background:transparent; }
.analytics-bar-track-v115 progress::-webkit-progress-bar { border-radius:999px; background:transparent; }
.analytics-bar-track-v115 progress::-webkit-progress-value { border-radius:999px; background:linear-gradient(90deg,#3c50a5,#6c4bb2); }
.analytics-bar-track-v115 progress::-moz-progress-bar { border-radius:999px; background:linear-gradient(90deg,#3c50a5,#6c4bb2); }
\n\n/* v1.18 · Interacciones sin estilos inline; compatible con style-src-attr 'none'. */
body.mi-scroll-locked{overflow:hidden}
.mi-clipboard-helper{position:fixed;inset:auto auto 0 -10000px;width:1px;height:1px;opacity:0;pointer-events:none}
.image-lightbox,.video-modal{opacity:0!important;pointer-events:none!important;transition:opacity .3s ease!important}
.image-lightbox.is-preparing,.video-modal.is-preparing{opacity:0!important}
.image-lightbox.is-open,.video-modal.is-open{opacity:1!important;pointer-events:auto!important}
.image-lightbox.is-closing,.video-modal.is-closing{opacity:0!important;pointer-events:none!important}
.image-lightbox-backdrop,.video-modal-backdrop{opacity:0!important;transition:opacity .26s linear!important}
.image-lightbox.is-open .image-lightbox-backdrop,.video-modal.is-open .video-modal-backdrop{opacity:1!important}
.image-lightbox-card,.video-modal-card{opacity:0!important;transform:translate3d(0,-72px,0)!important;transition:opacity .38s cubic-bezier(.16,1,.3,1),transform .38s cubic-bezier(.16,1,.3,1)!important}
.image-lightbox.is-open .image-lightbox-card,.video-modal.is-open .video-modal-card{opacity:1!important;transform:none!important}
.image-lightbox.is-closing .image-lightbox-card,.video-modal.is-closing .video-modal-card{opacity:0!important;transform:translate3d(0,-56px,0)!important}
.guide-image-preview[data-media-sim-image]{position:relative;background-image:var(--guide-fallback)}
.media-sim-source{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.guide-image-preview[data-media-sim-image]>.guide-event-gradient,.guide-image-preview[data-media-sim-image]>.guide-focus-zone{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.image-lightbox,.video-modal,.image-lightbox-backdrop,.video-modal-backdrop,.image-lightbox-card,.video-modal-card{transition:none!important}.image-lightbox-card,.video-modal-card{transform:none!important}}

/* v1.18 pagination */
.public-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.25rem;border-top:1px solid var(--border,#dce3ec)}
.public-pagination>div{display:flex;gap:.75rem;flex-wrap:wrap}
@media(max-width:640px){.public-pagination{align-items:stretch}.public-pagination>div,.public-pagination .button{width:100%}.public-pagination .button{text-align:center}}
.attendance-day-server-filter{display:grid;grid-template-columns:minmax(12rem,1fr) auto;gap:.35rem .65rem;align-items:end}.attendance-day-server-filter label{grid-column:1/-1}.attendance-day-server-filter select{min-width:0}@media(max-width:640px){.attendance-day-server-filter{grid-template-columns:1fr}.attendance-day-server-filter label{grid-column:auto}}


/* v1.19 · Cabecera global aislada, navegación estable y páginas públicas auditadas. */
.site-header-shell,
.site-footer-shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.site-header-shell.header-inner-v8 { width: min(calc(100% - 32px), var(--container)) !important; }
.site-header-v8 .brand { flex: 0 0 auto !important; min-width: max-content !important; }
.site-header-v8 .brand-product { min-width: 148px; }
.site-header-v8 .primary-nav-v8 { min-width: 0; }
.site-header-v8 .nav-more > summary,
.site-header-v8 .language-menu-v113 > summary { white-space: nowrap; }
.site-header-v8 .nav-search-form { flex: 1 1 250px; }
.site-footer-shell { width: min(calc(100% - 32px), var(--container)); }
.footer-official-links a[target="_blank"]::after { content: ""; }

.catalog-result-summary { margin: 1rem 0; color: var(--muted); }
.catalog-result-summary strong { color: var(--text); }
.public-filter-panel label select[name="pageSize"],
.filter-bar label select[name="pageSize"] { min-width: 7rem; }
.checkline a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.page-legal .page-hero-light { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(135deg,#eef4ff,#f8f7ff); }
.legal-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,300px); gap:clamp(1.5rem,4vw,3rem); align-items:start; }
.legal-content { max-width:820px; }
.legal-content h2 { margin-top:2rem; color:var(--navy-deep); }
.legal-updated { padding:.8rem 1rem; border-left:4px solid var(--blue); background:#f3f7fb; }
.legal-aside { position:sticky; top:108px; display:grid; gap:.65rem; padding:1.2rem; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:var(--shadow-soft); }
.legal-aside strong { margin-bottom:.25rem; color:var(--navy-deep); }
.legal-aside a { color:var(--blue); font-weight:800; }
.credit-list { display:grid; gap:1rem; }
.credit-list article { padding:1rem 1.1rem; border:1px solid var(--line); border-radius:14px; background:#fff; }
.credit-list h3 { margin:0 0 .3rem; }
.credit-list p { margin:0; }

@media (max-width:1099px) {
  .site-header-v8 .header-actions-v8 { display:inline-flex !important; }
  .site-header-v8 .brand-product,
  .site-header-v8 .brand-divider { display:none !important; }
  .site-header-v8 .primary-nav {
    position:fixed !important;
    inset:84px 16px auto 16px !important;
    display:none !important;
    max-height:calc(100vh - 104px);
    overflow:auto;
    padding:.75rem !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:16px !important;
    background:rgba(11,29,85,.98) !important;
    box-shadow:0 16px 34px rgba(6,15,42,.32) !important;
  }
  .site-header-v8 .primary-nav.is-open { display:grid !important; }
  .site-header-v8 .primary-nav-v8 .nav-search-form { display:none !important; }
}
@media (min-width:1100px) {
  .site-header-v8 .header-actions-v8 { display:none !important; }
  .site-header-v8 .primary-nav-v8 { display:flex !important; }
}
@media (max-width:760px) {
  .site-header-shell,
  .site-footer-shell { width:min(calc(100% - 24px),var(--container)); }
  .legal-layout { grid-template-columns:1fr; }
  .legal-aside { position:static; }
}

/* v1.20 · narrativa pública y respiración de héroes gastronómicos */
.page-recipes-v120 .recipes-hero-copy-v120 > p:not(.eyebrow) {
  max-width: 56ch;
  margin-top: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}
.page-recipes-v120 .recipes-hero-copy-v120 .hero-actions,
.page-traditional-cooks-v120 .hero-actions,
.page-cookbooks-v120 .hero-actions {
  margin-top: 1.55rem;
}
.page-recipes-v120 .recipes-hero-stat-v120 small {
  max-width: 24ch;
  margin-inline: auto;
  line-height: 1.55;
  text-wrap: balance;
}
.page-recipes-v120 .recipes-hero-stat-v120 span {
  text-wrap: balance;
}
@media (max-width: 760px) {
  .page-recipes-v120 .recipes-hero-copy-v120 .hero-actions,
  .page-traditional-cooks-v120 .hero-actions,
  .page-cookbooks-v120 .hero-actions {
    margin-top: 1.25rem;
  }
  .page-recipes-v120 .recipes-hero-stat-v120 {
    justify-self: stretch;
  }
}
