/**
 * Junta Independencia — Frontend consolidado v14.1.0
 *
 * Archivo generado a partir de la cascada pública histórica, conservando
 * exactamente su orden para mantener compatibilidad visual y funcional.
 * Los bloques de origen están identificados para facilitar una refactorización
 * gradual por componentes sin volver a cargar decenas de archivos.
 */

/* ============================================================
   ORIGEN CONSOLIDADO: main.css
   ============================================================ */
:root{
  --ji-primary:#0F3D3E;--ji-secondary:#174C5A;--ji-accent:#B8573C;--ji-bg:#F7F5F0;--ji-text:#1F2933;--ji-border:#E2E0DA;--ji-white:#fff;--ji-radius:18px;--ji-shadow:0 18px 45px rgba(15,61,62,.08);--ji-container:1180px;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ji-bg);color:var(--ji-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65}a{color:var(--ji-primary);text-decoration-thickness:.08em;text-underline-offset:.18em}a:hover{color:var(--ji-accent)}img{max-width:100%;height:auto;display:block}button,input,textarea,select{font:inherit}.ji-container{width:min(calc(100% - 32px),var(--ji-container));margin-inline:auto}.screen-reader-text,.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:1rem;top:1rem;z-index:99999;background:#fff;color:#000;padding:.75rem 1rem;border:2px solid #000;border-radius:8px}.ji-topbar{background:var(--ji-primary);color:#fff;font-size:.9rem}.ji-topbar__inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.ji-site-header{background:rgba(255,255,255,.96);position:sticky;top:0;z-index:1000;box-shadow:0 1px 0 rgba(0,0,0,.06);backdrop-filter:blur(10px)}.ji-header__inner{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:2rem}.ji-branding__text{font-weight:800;font-size:1.15rem;text-decoration:none;color:var(--ji-primary)}.custom-logo{max-height:70px;width:auto}.ji-main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:.25rem;align-items:center}.ji-main-nav a{display:block;padding:.75rem .9rem;border-radius:999px;text-decoration:none;color:var(--ji-text);font-weight:650}.ji-main-nav a:hover,.ji-main-nav .current-menu-item>a{background:rgba(15,61,62,.08);color:var(--ji-primary)}.ji-menu-toggle{display:none;background:transparent;border:0;padding:.6rem;border-radius:8px}.ji-menu-toggle span:not(.screen-reader-text){display:block;width:28px;height:2px;background:var(--ji-primary);margin:6px 0}.ji-hero{background:linear-gradient(135deg,var(--ji-primary),var(--ji-secondary));background-size:cover;background-position:center;color:#fff;padding:clamp(4rem,8vw,7.5rem) 0}.ji-hero__content{max-width:760px}.ji-hero h1{font-size:clamp(2.2rem,6vw,4.6rem);line-height:1.03;margin:.4rem 0 1rem;letter-spacing:-.04em}.ji-hero p{font-size:1.18rem;max-width:680px}.ji-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:800;color:var(--ji-accent);margin:0 0 .45rem}.ji-hero .ji-kicker{color:#ffd7c8}.ji-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}.ji-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.78rem 1.15rem;background:var(--ji-primary);color:#fff!important;border-radius:999px;text-decoration:none;font-weight:800;border:2px solid var(--ji-primary);box-shadow:0 8px 20px rgba(15,61,62,.16)}.ji-btn:hover{background:var(--ji-accent);border-color:var(--ji-accent);color:#fff!important}.ji-btn--light{background:#fff;border-color:#fff;color:var(--ji-primary)!important}.ji-btn--outline-light{background:transparent;border-color:rgba(255,255,255,.8);color:#fff!important}.ji-section{padding:clamp(3rem,6vw,5.5rem) 0}.ji-section--muted{background:#fff}.ji-section__header{max-width:760px;margin-bottom:2rem}.ji-section__header h2,.ji-split h2,.ji-page-header h1,.ji-article h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.1;margin:.2rem 0 .75rem;letter-spacing:-.03em;color:var(--ji-primary)}.ji-section__header--row{display:flex;align-items:end;justify-content:space-between;gap:1rem;max-width:none}.ji-grid{display:grid;gap:1.25rem}.ji-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ji-card,.ji-service-card,.ji-event-item{background:#fff;border:1px solid var(--ji-border);border-radius:var(--ji-radius);overflow:hidden;box-shadow:var(--ji-shadow)}.ji-section--muted .ji-card,.ji-section--muted .ji-service-card{background:var(--ji-bg)}.ji-card__image img{aspect-ratio:16/10;object-fit:cover;width:100%}.ji-card__body,.ji-service-card{padding:1.4rem}.ji-card h3,.ji-service-card h3,.ji-event-item h3{font-size:1.25rem;line-height:1.2;margin:.2rem 0 .65rem;color:var(--ji-primary)}.ji-card h3 a,.ji-event-item h3 a{text-decoration:none;color:inherit}.ji-card p,.ji-service-card p{margin:.3rem 0 0}.ji-card--featured{border-top:5px solid var(--ji-accent)}.ji-link{font-weight:800;text-decoration:none;color:var(--ji-primary);display:inline-flex;margin-top:.9rem}.ji-link:after{content:" →";white-space:pre}.ji-service-card{min-height:180px}.ji-event-list{display:grid;gap:.85rem}.ji-event-item{display:grid;grid-template-columns:110px 1fr;gap:1rem;align-items:center;padding:1rem}.ji-event-date{background:var(--ji-primary);color:#fff;border-radius:14px;min-height:76px;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:900;text-transform:uppercase}.ji-event-meta{display:flex;gap:.6rem;flex-wrap:wrap;margin:1rem 0}.ji-event-meta span{background:#fff;border:1px solid var(--ji-border);border-radius:999px;padding:.35rem .7rem}.ji-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.ji-gallery-card{position:relative;min-height:220px;border-radius:var(--ji-radius);overflow:hidden;background:var(--ji-primary);color:#fff;text-decoration:none;display:flex;align-items:end;padding:1rem;box-shadow:var(--ji-shadow)}.ji-gallery-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.ji-gallery-card:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.62),rgba(0,0,0,.05));z-index:1}.ji-gallery-card strong,.ji-gallery-card span{position:relative;z-index:2;color:#fff}.ji-split{display:grid;grid-template-columns:1fr 1.4fr;gap:2rem;align-items:start}.ji-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.ji-link-grid a{background:#fff;border:1px solid var(--ji-border);border-radius:14px;padding:1rem;text-decoration:none;font-weight:750}.ji-content-area{padding:3rem 0 5rem}.ji-article{max-width:860px;margin-inline:auto}.ji-featured{border-radius:var(--ji-radius);margin:1.5rem 0;box-shadow:var(--ji-shadow)}.ji-entry-content{font-size:1.05rem}.ji-footer{background:var(--ji-primary);color:#fff;margin-top:0}.ji-footer a{color:#fff}.ji-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;padding:3rem 0}.ji-footer h2,.ji-footer h3{margin-top:0}.ji-footer__bottom{background:rgba(0,0,0,.18);padding:1rem 0;font-size:.92rem}.ji-socials{display:flex;gap:1rem;flex-wrap:wrap}.navigation.pagination{margin-top:2rem}.nav-links{display:flex;gap:.5rem;flex-wrap:wrap}.page-numbers{padding:.45rem .7rem;background:#fff;border:1px solid var(--ji-border);border-radius:8px;text-decoration:none}.page-numbers.current{background:var(--ji-primary);color:#fff}*:focus-visible{outline:3px solid var(--ji-accent);outline-offset:3px}
.ji-badge{display:inline-flex;align-items:center;gap:.35rem;background:rgba(15,61,62,.10);color:var(--ji-primary);border:1px solid rgba(15,61,62,.16);border-radius:999px;padding:.25rem .65rem;font-size:.78rem;font-weight:850;margin-bottom:.65rem}.ji-badge--no_disponible,.ji-badge--suspendido{background:#fff0f0;color:#8a1f1f;border-color:#ffd6d6}.ji-badge--presencial{background:#fff7e8;color:#7a4b00;border-color:#ffe0a8}.ji-badge--municipalidad{background:#eef6ff;color:#104d7a;border-color:#cfe8ff}.ji-badge--proximamente{background:#f3f0ff;color:#42308a;border-color:#ded6ff}.ji-mini-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin-top:.5rem}.ji-link--small{font-size:.9rem;margin-top:0}.ji-compact-list{list-style:none;margin:.85rem 0 0;padding:0;font-size:.92rem}.ji-compact-list li{margin:.25rem 0}.ji-detail-box{background:#fff;border:1px solid var(--ji-border);border-radius:var(--ji-radius);padding:1.4rem;margin:1.2rem 0;box-shadow:var(--ji-shadow)}.ji-definition-list{display:grid;grid-template-columns:180px 1fr;gap:.6rem 1rem;margin:0}.ji-definition-list dt{font-weight:850;color:var(--ji-primary)}.ji-definition-list dd{margin:0}.ji-form-embed{margin-top:2rem;padding:1.3rem;background:#fff;border:1px solid var(--ji-border);border-radius:var(--ji-radius)}.ji-person-card .ji-card__image img{aspect-ratio:1/1;object-fit:cover}.ji-search-filters{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0 2rem}.ji-search-filters a{background:#fff;border:1px solid var(--ji-border);border-radius:999px;padding:.45rem .75rem;text-decoration:none;font-weight:750}@media(max-width:560px){.ji-definition-list{grid-template-columns:1fr}.ji-definition-list dt{margin-top:.5rem}}

/* Cartelera visual tipo municipal, compacta y navegable */
.ji-events-showcase{background:linear-gradient(135deg,#3f4d59 0%,#34424d 100%);color:#fff;overflow:hidden}.ji-events-showcase .ji-kicker{color:#5ce7f6}.ji-events-showcase .ji-section__header h2{color:#55ddeb}.ji-events-showcase .ji-section__header p{color:rgba(255,255,255,.82)}.ji-events-showcase__all{display:inline-flex;align-items:center;justify-content:center;background:#58ddea;color:#062b34!important;border-radius:999px;padding:.72rem 1.15rem;text-decoration:none;font-weight:900;white-space:nowrap}.ji-events-showcase__all:after{content:"  ›";font-size:1.25em;line-height:0}.ji-events-carousel{position:relative;margin-top:1.2rem}.ji-events-carousel__track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:1.8rem;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scroll-behavior:smooth;padding:.3rem .1rem 1.3rem;scrollbar-width:none}.ji-events-carousel__track::-webkit-scrollbar{display:none}.ji-event-tile{position:relative;scroll-snap-align:start;min-height:390px;background:rgba(10,24,31,.56);border:1px solid rgba(255,255,255,.08);box-shadow:0 18px 35px rgba(0,0,0,.18);padding:1.25rem;border-radius:0;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.ji-event-tile:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 0%,rgba(85,221,235,.11),transparent 42%);pointer-events:none}.ji-event-tile__link{position:relative;z-index:1;display:flex;flex-direction:column;min-height:300px;text-decoration:none;color:#fff!important}.ji-event-tile__date{display:flex;align-items:flex-end;gap:.35rem;color:rgba(255,255,255,.15);line-height:.8;text-transform:uppercase;letter-spacing:-.04em;margin:-.55rem 0 1.2rem}.ji-event-tile__date strong{font-size:5.2rem;font-weight:950}.ji-event-tile__date span{font-size:1.35rem;font-weight:900;color:rgba(255,255,255,.24);letter-spacing:-.04em;margin-bottom:.55rem}.ji-event-tile h3{color:#fff;font-size:1.38rem;line-height:1.23;margin:0 0 .8rem;letter-spacing:-.025em}.ji-event-tile p{color:rgba(255,255,255,.58);font-weight:650;line-height:1.18;margin:0 0 1rem}.ji-event-tile__badges{display:flex;gap:.35rem;flex-wrap:wrap;margin-bottom:.8rem}.ji-event-tile__badge{display:inline-flex;border:1px solid rgba(85,221,235,.36);color:#55ddeb;border-radius:999px;padding:.2rem .55rem;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.03em}.ji-event-tile__badge--soft{color:rgba(255,255,255,.72);border-color:rgba(255,255,255,.18)}.ji-event-tile__meta{display:grid;gap:.18rem;color:rgba(255,255,255,.76);font-size:.88rem;font-weight:800;margin-top:auto}.ji-event-tile__actions{position:relative;z-index:2;display:flex;gap:.55rem;justify-content:flex-end;align-items:center;flex-wrap:wrap}.ji-event-tile__actions a{display:inline-flex;align-items:center;gap:.35rem;border:1px solid #55ddeb;border-radius:999px;color:#55ddeb!important;text-decoration:none;font-weight:900;padding:.42rem .72rem;background:rgba(0,0,0,.08)}.ji-event-tile__actions a:hover{background:#55ddeb;color:#062b34!important}.ji-events-carousel__arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:44px;height:64px;border:0;background:transparent;color:#fff;font-size:4rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;text-shadow:0 2px 12px rgba(0,0,0,.28)}.ji-events-carousel__arrow--prev{left:-2.2rem}.ji-events-carousel__arrow--next{right:-2.2rem}.ji-events-carousel__arrow:hover{color:#55ddeb}.ji-events-carousel__arrow:disabled{opacity:.25;cursor:default}.ji-events-carousel__track:focus-visible{outline:3px solid #55ddeb;outline-offset:6px}@media(min-width:1020px){.ji-events-carousel__track{grid-auto-columns:calc((100% - 5.4rem)/4)}}@media(max-width:900px){.ji-events-showcase__header{align-items:flex-start}.ji-events-carousel__arrow{display:none}.ji-events-carousel__track{grid-auto-columns:minmax(245px,78vw);gap:1rem}.ji-event-tile{min-height:360px}.ji-event-tile__date strong{font-size:4.3rem}.ji-event-tile__date span{font-size:1.05rem}}@media(max-width:560px){.ji-events-showcase__all{width:100%;margin-top:.6rem}.ji-event-tile{min-height:335px;padding:1rem}.ji-event-tile h3{font-size:1.2rem}.ji-event-tile__date strong{font-size:3.8rem}}

/* --- Visual refresh: portada estilo municipal + noticias estilo Lo Barnechea --- */
.ji-topbar{background:#232733}
.ji-topbar a{color:#fff}
.ji-site-header{background:#49c7dc}
.ji-header__inner{min-height:60px}
.ji-main-nav a{color:#173d4a;font-weight:700;border-radius:0;padding:1rem .95rem}
.ji-main-nav a:hover,.ji-main-nav .current-menu-item>a{background:rgba(255,255,255,.18);color:#173d4a}
.ji-branding__text{color:#fff;font-size:1.35rem}
.custom-logo{max-height:56px}

.ji-home-hero{background:#ece6e0;padding:0 0 1rem}
.ji-home-hero__grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(320px,.7fr);gap:0;align-items:stretch}
.ji-home-hero__main{min-height:620px;background:linear-gradient(135deg,#f3ece6,#ede5df);background-size:cover;background-position:center;position:relative;overflow:hidden}
.ji-home-hero__main:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.22))}
.ji-home-hero__overlay{position:relative;z-index:2;padding:clamp(2rem,4vw,3rem);display:flex;flex-direction:column;justify-content:flex-end;min-height:620px;max-width:720px;color:#fff;background:linear-gradient(90deg,rgba(35,39,51,.28),rgba(35,39,51,.02))}
.ji-home-hero__eyebrow{display:inline-block;margin:0 0 .5rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:#ff7b63;color:#fff;padding:.35rem .7rem;border-radius:6px;font-size:.82rem;max-width:max-content}
.ji-home-hero h1{font-size:clamp(2.6rem,6vw,5rem);line-height:.98;letter-spacing:-.05em;margin:0 0 .9rem;text-shadow:0 2px 12px rgba(0,0,0,.16)}
.ji-home-hero__lead{font-size:1.12rem;max-width:680px;margin:0 0 1rem;text-shadow:0 1px 4px rgba(0,0,0,.2)}
.ji-home-hero__panel{background:#2e3540;color:#fff;padding:2rem 1.25rem;position:relative;overflow:hidden}
.ji-home-hero__panel:before,.ji-home-hero__panel:after{content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)}
.ji-home-hero__panel:before{width:180px;height:180px;right:-80px;bottom:-80px}
.ji-home-hero__panel:after{width:12px;height:12px;right:62px;bottom:120px;box-shadow:-26px 0 0 rgba(255,255,255,.12),-52px 0 0 rgba(255,255,255,.12),0 -26px 0 rgba(255,255,255,.12),-26px -26px 0 rgba(255,255,255,.12),-52px -26px 0 rgba(255,255,255,.12),0 -52px 0 rgba(255,255,255,.12),-26px -52px 0 rgba(255,255,255,.12),-52px -52px 0 rgba(255,255,255,.12)}
.ji-home-hero__panel h2{margin:0 0 1rem;font-size:2.1rem;line-height:1.05;color:#fff;text-align:center}
.ji-hero-search{position:relative;margin-bottom:1.35rem}
.ji-hero-search input{width:100%;height:52px;border-radius:999px;border:0;padding:0 3.2rem 0 1rem;font-size:1rem;color:#1f2933}
.ji-hero-search button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:999px;border:0;background:#49c7dc;color:#173d4a;font-size:1.2rem;font-weight:800;cursor:pointer}
.ji-hero-pills{display:flex;flex-wrap:wrap;gap:.7rem;position:relative;z-index:2}
.ji-hero-pills a{display:inline-flex;align-items:center;justify-content:center;padding:.65rem .95rem;border-radius:999px;border:2px solid #49c7dc;color:#49c7dc;text-decoration:none;font-weight:700;line-height:1.1;background:transparent}
.ji-hero-pills a:hover{background:#49c7dc;color:#173d4a}
.ji-home-shortcuts{margin-top:0}
.ji-home-shortcuts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#49c7dc}
.ji-shortcut{position:relative;display:flex;align-items:center;gap:1rem;min-height:140px;padding:1.6rem 1.6rem 1.6rem 1.8rem;color:#fff;text-decoration:none;border-right:1px solid rgba(255,255,255,.22)}
.ji-shortcut:last-child{border-right:0}
.ji-shortcut__text{font-size:2rem;line-height:1.05;font-weight:500;max-width:260px}
.ji-shortcut__icon{width:46px;height:46px;flex:none;position:relative;display:inline-block}
.ji-shortcut--1 .ji-shortcut__icon:before{content:"";position:absolute;inset:4px;border-radius:10px;border:4px solid #fff;border-top-color:transparent;transform:rotate(45deg)}
.ji-shortcut--2 .ji-shortcut__icon:before{content:"";position:absolute;inset:2px;border:3px solid #fff;border-radius:10px}.ji-shortcut--2 .ji-shortcut__icon:after{content:"";position:absolute;left:9px;right:9px;top:16px;height:3px;background:#fff;box-shadow:0 11px 0 #fff}
.ji-shortcut--3 .ji-shortcut__icon:before{content:"";position:absolute;width:40px;height:40px;border:4px solid #fff;border-radius:50%;left:0;top:0}.ji-shortcut--3 .ji-shortcut__icon:after{content:"";position:absolute;width:18px;height:4px;background:#fff;right:-2px;bottom:6px;transform:rotate(45deg);border-radius:3px}
.ji-shortcut:hover{background:#35bfd6}

.ji-news-section{background:#dfe3e7;padding:2rem 0 3rem}
.ji-news-section__title{display:block;background:#49c7dc;color:#fff;font-size:clamp(2rem,4vw,3.2rem);font-weight:800;line-height:1;padding:1.25rem 1.5rem;margin-bottom:2rem}
.ji-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
.ji-news-card{display:flex;flex-direction:column;background:#49c7dc;min-height:100%;box-shadow:0 2px 0 rgba(0,0,0,.04)}
.ji-news-card__category{padding:1rem 1.25rem;color:#4b5568;font-weight:700;font-size:1.05rem}
.ji-news-card__image img{width:100%;aspect-ratio:4/2.1;object-fit:cover}
.ji-news-card__body{padding:1rem 1.25rem 1.25rem;color:#4b5568;flex:1}
.ji-news-card__body h3{margin:0 0 .8rem;font-size:1.08rem;line-height:1.28;color:#4b5568}
.ji-news-card__body h3 a{color:inherit;text-decoration:none}
.ji-news-card__body p{margin:0;font-size:1rem;line-height:1.42}
.ji-news-card__footer{padding:1rem 1.25rem;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:flex-end}
.ji-news-card__footer a,.ji-btn--news{display:inline-flex;align-items:center;gap:.4rem;color:#fff!important;background:transparent;border:0;box-shadow:none;text-decoration:none;font-weight:800;font-size:1rem}
.ji-news-card__footer a span,.ji-btn--news span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#49c7dc;font-size:1rem}
.ji-news-section__cta{display:flex;justify-content:center;margin-top:2.2rem}
.ji-btn--news{padding:.85rem 1.3rem;border-radius:999px;background:#49c7dc;color:#fff!important}

@media (max-width: 1180px){
  .ji-home-hero__grid{grid-template-columns:1fr}
  .ji-home-hero__panel{padding:1.5rem}
  .ji-home-hero__main,.ji-home-hero__overlay{min-height:460px}
}
@media (max-width: 920px){
  .ji-site-header{background:#fff}
  .ji-main-nav{background:#49c7dc}
  .ji-home-shortcuts__grid,.ji-news-grid{grid-template-columns:1fr}
  .ji-shortcut{border-right:0;border-bottom:1px solid rgba(255,255,255,.22);min-height:110px}
  .ji-shortcut:last-child{border-bottom:0}
  .ji-shortcut__text{font-size:1.5rem;max-width:none}
}
@media (max-width: 560px){
  .ji-home-hero__main,.ji-home-hero__overlay{min-height:320px}
  .ji-home-hero__overlay{padding:1.25rem}
  .ji-home-hero h1{font-size:2.3rem}
  .ji-home-hero__panel h2{font-size:1.7rem}
  .ji-news-section__title{padding:1rem 1.1rem}
  .ji-news-card__category,.ji-news-card__body,.ji-news-card__footer{padding-left:1rem;padding-right:1rem}
}

/* --- v1.6 systemic municipal look & feel --- */
body{background:#eef1f4;color:#44546a}
a{color:#2d4353}
.ji-section{padding:2.4rem 0 3rem}
.ji-block-section{background:#e3e7eb}
.ji-block-section--muted{background:#d8dde2}
.ji-block-heading{margin-bottom:1.6rem}
.ji-block-heading--row{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.ji-block-heading__title{display:block;background:#49c7dc;color:#fff;font-size:clamp(1.7rem,4vw,2.9rem);font-weight:800;line-height:1;padding:1.1rem 1.4rem;margin-bottom:.9rem}
.ji-block-heading__text p{margin:0;color:#55657a;font-size:1rem}
.ji-block-heading__cta{margin-left:auto}
.ji-section__header h2,.ji-split h2,.ji-page-header h1,.ji-article h1{color:#fff}
.ji-unified-grid{align-items:stretch}
.ji-unified-card{display:flex;flex-direction:column;background:#49c7dc;color:#4b5568;min-height:100%;box-shadow:0 1px 0 rgba(0,0,0,.06)}
.ji-unified-card__top{padding:1rem 1.25rem;color:#4b5568;font-weight:700;font-size:1.05rem}
.ji-unified-card__image img,.ji-unified-card__image{display:block;width:100%}.ji-unified-card__image img{aspect-ratio:4/2.1;object-fit:cover}
.ji-unified-card__body{padding:1rem 1.25rem 1.25rem;flex:1}.ji-unified-card__body h3{margin:0 0 .8rem;font-size:1.1rem;line-height:1.28;color:#4b5568}.ji-unified-card__body h3 a{color:inherit;text-decoration:none}.ji-unified-card__body p{margin:.1rem 0 0;line-height:1.45}.ji-unified-card__meta{margin:0 0 .45rem;font-size:.92rem;color:#607084}.ji-unified-card__footer{padding:1rem 1.25rem;border-top:1px solid rgba(255,255,255,.16);display:flex;justify-content:flex-end;margin-top:auto}.ji-unified-card__footer a{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none;color:#fff;font-weight:800}.ji-unified-card__footer a span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fff;color:#49c7dc;font-size:1rem}
.ji-unified-card--person .ji-unified-card__image img{aspect-ratio:4/3}
.ji-unified-card--service .ji-badge{margin-bottom:.85rem}

.ji-compact-list{padding-left:1rem;margin:.75rem 0 0}.ji-compact-list li{margin:.28rem 0}
.ji-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.3rem .7rem;font-size:.84rem;font-weight:800;background:#fff;color:#355565;border:1px solid rgba(0,0,0,.08)}

.ji-events-showcase{background:#495663;color:#fff}.ji-events-showcase__header h2,.ji-events-showcase__header p,.ji-events-showcase__all{color:#fff}.ji-events-showcase__header .ji-kicker{color:#49c7dc}.ji-events-showcase__all{font-weight:800;text-decoration:none}
.ji-event-tile{background:#2d3a45;color:#fff}.ji-event-tile__link{text-decoration:none;color:inherit}.ji-event-tile__date strong{font-size:4.2rem;line-height:.9;color:rgba(255,255,255,.18)}.ji-event-tile__date span{text-transform:uppercase;font-size:1rem;color:rgba(255,255,255,.45)}.ji-event-tile__badge{background:transparent;border:1px solid #49c7dc;color:#49c7dc}.ji-event-tile__badge--soft{border-color:rgba(255,255,255,.3);color:rgba(255,255,255,.7)}.ji-event-tile h3,.ji-event-tile p,.ji-event-tile__meta span,.ji-event-tile__actions a{color:#fff}.ji-event-tile__actions a:first-child{font-weight:800}

.ji-gallery-grid--refresh{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.ji-gallery-card--refresh{min-height:320px;padding:1rem 1rem 1.25rem;text-decoration:none;position:relative;display:flex;flex-direction:column;justify-content:flex-end}.ji-gallery-card--refresh img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ji-gallery-card--refresh:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(38,50,56,.85),rgba(38,50,56,.18))}.ji-gallery-card__label,.ji-gallery-card--refresh strong,.ji-gallery-card--refresh em{position:relative;z-index:2;color:#fff;font-style:normal}.ji-gallery-card__label{display:inline-flex;align-self:flex-start;background:#49c7dc;padding:.45rem .7rem;border-radius:999px;font-weight:800;font-size:.82rem;margin-bottom:auto}.ji-gallery-card--refresh strong{font-size:1.45rem;line-height:1.15;margin-top:1rem}.ji-gallery-card--refresh em{margin-top:.7rem;font-weight:800;display:inline-flex;gap:.4rem;align-items:center}

.ji-footer{background:#2e3540;color:#fff}.ji-footer__topband{height:12px;background:#49c7dc}.ji-footer__grid{padding:2.6rem 0}.ji-footer__bottom{background:#232733}

.ji-interior-shell{padding:0 0 3rem}.ji-interior-hero{background:#2e3540;color:#fff;margin:0 0 1.5rem}.ji-interior-hero__content{padding:2rem 1.6rem}.ji-interior-hero h1{margin:.35rem 0 0;font-size:clamp(2rem,4vw,3.4rem);line-height:1.02;color:#fff}.ji-interior-hero p{max-width:860px}.ji-content-panel{background:#e3e7eb;padding:1.5rem}.ji-content-panel--single,.ji-content-panel--page{padding:0}.ji-content-panel__inner{padding:1.5rem;background:#fff}.ji-content-panel__inner .ji-btn--news{margin-top:1rem}.ji-featured{width:100%;border-radius:0;margin:0 0 1.25rem;box-shadow:none}.ji-entry-content{color:#334155}.ji-detail-box{background:#dfe9ec;border-left:6px solid #49c7dc;padding:1rem 1.15rem;margin:0 0 1.25rem}.ji-definition-list{display:grid;grid-template-columns:180px 1fr;gap:.55rem 1rem}.ji-definition-list dt{font-weight:800;color:#3d5560}.ji-definition-list dd{margin:0}.ji-search-filters{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1.25rem}.ji-search-filters a{display:inline-flex;padding:.65rem .9rem;border-radius:999px;background:#49c7dc;color:#fff;text-decoration:none;font-weight:700}

.ji-article h1{color:#2f3947}
.ji-btn{box-shadow:none}.ji-btn--light{color:#2e3540!important}.ji-btn--outline-light:hover{background:#49c7dc;border-color:#49c7dc}.ji-link-grid a{background:#fff}

/* --- v1.7 header, mega menu, full width hero, section backgrounds and refined interactions --- */
:root{--ji-cyan:#49c7dc;--ji-dark:#252833;--ji-panel:#303942;--ji-ink:#435063}
.ji-site-header--municipal{position:sticky;top:0;z-index:3000;background:transparent;box-shadow:0 2px 16px rgba(0,0,0,.08)}
.ji-topbar{background:var(--ji-dark);color:#dbe5ea}
.ji-topbar__inner{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.ji-topbar__brandline{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.88rem}
.ji-topbar__brandline span+span:before{content:"::: ";opacity:.45;margin-right:.35rem}
.ji-topbar__links{display:flex;gap:.85rem;align-items:center;flex-wrap:wrap}
.ji-topbar__links a{color:#dbe5ea;text-decoration:none;font-size:.88rem;font-weight:650}
.ji-topbar__links a:hover{color:var(--ji-cyan)}
.ji-mainbar{background:var(--ji-cyan)}
.ji-header__inner{min-height:58px}
.ji-branding__text{display:inline-flex;align-items:center;gap:.65rem;color:#fff;text-decoration:none;font-size:1.05rem;font-weight:800}
.ji-branding__mark{width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.22);display:inline-flex;align-items:center;justify-content:center;border:2px solid rgba(255,255,255,.65);font-size:.9rem;letter-spacing:-.05em}
.ji-main-nav--mega ul{gap:0}
.ji-main-nav--mega li{position:relative}
.ji-main-nav--mega a{border-radius:0;color:#163f4b;padding:1.05rem 1rem;transition:background .2s ease,color .2s ease,transform .2s ease}
.ji-main-nav--mega>ul>li>a:hover,.ji-main-nav--mega>ul>li:focus-within>a,.ji-main-nav--mega .current-menu-item>a{background:rgba(255,255,255,.22)}
.ji-main-nav--mega .menu-item-has-children>a:after{content:"";display:inline-block;width:.46rem;height:.46rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:.55rem;margin-bottom:.18rem}
.ji-main-nav--mega .sub-menu{position:absolute;left:0;top:100%;width:min(680px,calc(100vw - 2rem));display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;background:#303942;padding:1rem;border-radius:0 0 18px 18px;box-shadow:0 20px 45px rgba(0,0,0,.22);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;list-style:none;margin:0}
.ji-main-nav--mega li:hover>.sub-menu,.ji-main-nav--mega li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.ji-main-nav--mega .sub-menu a{display:flex;align-items:center;gap:.65rem;min-height:52px;border:1px solid rgba(73,199,220,.55);border-radius:999px;color:var(--ji-cyan);padding:.75rem .95rem;background:transparent}
.ji-main-nav--mega .sub-menu a:before{content:"";width:22px;height:22px;border:2px solid currentColor;border-radius:50%;box-shadow:inset -6px -6px 0 rgba(73,199,220,.16);flex:none}
.ji-main-nav--mega .sub-menu a:hover{background:var(--ji-cyan);color:#163f4b;transform:translateX(2px)}
.ji-home-hero{padding:0;background:#e6ebef}
.ji-home-hero__grid{width:100%;display:grid;grid-template-columns:minmax(0,3fr) minmax(340px,1fr);gap:0}
.ji-home-hero__main{min-height:650px}
.ji-home-hero__overlay{min-height:650px;padding-left:max(2rem,calc((100vw - var(--ji-container))/2 + 1rem));padding-right:2rem;background:linear-gradient(90deg,rgba(37,40,51,.28),rgba(37,40,51,.04))}
.ji-home-hero__panel{min-height:650px;padding:2rem max(1.25rem,calc((100vw - var(--ji-container))/2 + 1rem)) 2rem 1.25rem}
.ji-home-shortcuts{width:100%}
.ji-home-shortcuts__grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.ji-shortcut{transition:background .2s ease,transform .2s ease}
.ji-shortcut:hover{transform:translateY(-2px)}
.ji-shortcut__icon{filter:drop-shadow(0 6px 10px rgba(0,0,0,.12))}
.ji-hero-pills a,.ji-btn,.ji-news-card,.ji-unified-card,.ji-event-tile,.ji-gallery-card--refresh{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.ji-hero-pills a:hover,.ji-btn:hover,.ji-news-card:hover,.ji-unified-card:hover,.ji-event-tile:hover,.ji-gallery-card--refresh:hover{transform:translateY(-3px)}
.ji-news-card:hover,.ji-unified-card:hover,.ji-event-tile:hover,.ji-gallery-card--refresh:hover{box-shadow:0 20px 40px rgba(37,40,51,.16)}
.ji-has-section-bg{position:relative;overflow:hidden;background:transparent!important}
.ji-has-section-bg:before{content:"";position:absolute;inset:-26px;background-image:var(--ji-section-bg);background-size:cover;background-position:center;filter:blur(var(--ji-section-blur));transform:scale(1.06);z-index:0}
.ji-has-section-bg:after{content:"";position:absolute;inset:0;background:rgba(37,40,51,var(--ji-section-overlay));z-index:1}
.ji-has-section-bg>.ji-container,.ji-has-section-bg .ji-events-showcase__inner{position:relative;z-index:2}
.ji-has-section-bg .ji-block-heading__text p,.ji-has-section-bg .ji-events-showcase__header p{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.2)}
.ji-has-section-bg .ji-block-heading__title{box-shadow:0 14px 35px rgba(0,0,0,.14)}
.ji-event-tile__actions a span,.ji-news-card__footer a span,.ji-unified-card__footer a span,.ji-btn--news span{transition:transform .18s ease}
.ji-event-tile__actions a:hover span,.ji-news-card__footer a:hover span,.ji-unified-card__footer a:hover span,.ji-btn--news:hover span{transform:translateX(3px)}
.ji-events-carousel__arrow{transition:background .18s ease,transform .18s ease}
.ji-events-carousel__arrow:hover{background:var(--ji-cyan);color:#163f4b;transform:translateY(-50%) scale(1.06)}
@media (max-width:1180px){
  .ji-home-hero__grid{grid-template-columns:1fr}
  .ji-home-hero__main,.ji-home-hero__overlay,.ji-home-hero__panel{min-height:auto}
  .ji-home-hero__overlay{min-height:460px;padding-left:2rem}
  .ji-home-hero__panel{padding:1.5rem 2rem}
}
@media (max-width:920px){
  .ji-topbar__links{display:none}
  .ji-site-header--municipal .ji-mainbar{background:#fff}
  .ji-menu-toggle span:not(.screen-reader-text){background:#163f4b}
  .ji-main-nav--mega{background:#303942}
  .ji-main-nav--mega a{color:#fff}
  .ji-main-nav--mega .sub-menu{position:static;width:100%;display:none!important;opacity:1;visibility:visible;transform:none;box-shadow:none;border-radius:14px;margin:.25rem 0 .5rem;background:rgba(0,0,0,.18);grid-template-columns:1fr}
  .ji-main-nav--mega li.is-submenu-open>.sub-menu,.ji-main-nav--mega li:focus-within>.sub-menu{display:grid!important}
  .ji-main-nav--mega .menu-item-has-children>a{display:flex;justify-content:space-between;align-items:center}
  .ji-home-shortcuts__grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .ji-hero-pills a,.ji-btn,.ji-news-card,.ji-unified-card,.ji-event-tile,.ji-gallery-card--refresh,.ji-main-nav--mega a{transition:none!important}
}

/* --- v1.8 requested refinements: simple top menu, modal search, 404 collage, accessibility icon --- */
.ji-site-header--municipal .ji-mainbar{background:#49c7dc}
.ji-main-nav--mega>ul>li>a{background:transparent!important;border-radius:0;color:#153945;padding:.95rem .9rem;font-weight:500}
.ji-main-nav--mega>ul>li+li>a:before{content:"|";display:inline-block;margin-right:1rem;color:rgba(21,57,69,.55);font-weight:400}
.ji-main-nav--mega>ul>li>a:hover{color:#0b2d38;text-decoration:underline;text-underline-offset:.25em}
.ji-main-nav--mega .sub-menu{border-top:4px solid #49c7dc}
.ji-topbar__links a,.ji-top-search-trigger{background:transparent;border:0;color:#dbe5ea;text-decoration:none;font-size:.88rem;font-weight:650;cursor:pointer;padding:0}
.ji-topbar__links a:hover,.ji-top-search-trigger:hover{color:#49c7dc}
.ji-top-search-trigger:after{content:"⌕";font-size:1.25rem;margin-left:.45rem;vertical-align:-.08em;color:#49c7dc}
.ji-search-open{overflow:hidden}
.ji-search-modal[hidden]{display:none}
.ji-search-modal{position:fixed;inset:0;z-index:5000;display:flex;align-items:flex-start;justify-content:center;padding-top:34px}
.ji-search-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.68)}
.ji-search-modal__dialog{position:relative;z-index:1;width:min(1500px,calc(100vw - 80px));background:#fff;color:#6b7280;box-shadow:0 20px 70px rgba(0,0,0,.32)}
.ji-search-modal__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid #d9dee4;padding:1.25rem 1.6rem}
.ji-search-modal__bar form{display:flex;align-items:center;gap:1rem;width:100%;max-width:360px}
.ji-search-modal__bar input{height:44px;border:0;background:transparent;width:100%;outline:0;font-size:1rem;color:#374151}
.ji-search-modal__submit{border:0;background:transparent;color:#3587c6;font-size:1.8rem;cursor:pointer;line-height:1}
.ji-search-modal__close{width:34px;height:34px;border:0;background:transparent;position:relative;cursor:pointer}
.ji-search-modal__close:before{content:"";position:absolute;left:8px;right:8px;top:16px;height:3px;background:#1f2937}
.ji-search-modal__body{padding:1.6rem 1.6rem 3.6rem}
.ji-search-modal__body h2{font-size:1.65rem;font-weight:500;color:#6b7280;margin:0 0 1.7rem}
.ji-search-modal__pills{display:flex;gap:.65rem;flex-wrap:wrap}
.ji-search-modal__pills a{display:inline-flex;align-items:center;min-height:36px;border:1.6px solid #37c8e0;border-radius:999px;padding:.45rem .8rem;color:#9aa0a6;text-decoration:none;font-weight:600;background:#fff}
.ji-search-modal__pills a:hover{background:#37c8e0;color:#fff}
.ji-accessibility{position:fixed;right:22px;bottom:22px;z-index:4000}
.ji-accessibility__toggle{width:72px;height:72px;border-radius:50%;border:4px solid #fff;background:#2f4cf4;box-shadow:0 10px 28px rgba(47,76,244,.25);display:flex;align-items:center;justify-content:center;cursor:pointer}
.ji-accessibility__icon{position:relative;width:42px;height:42px;border:3px solid #fff;border-radius:50%;display:block}
.ji-accessibility__head{position:absolute;width:7px;height:7px;border-radius:50%;background:#fff;left:50%;top:8px;transform:translateX(-50%)}
.ji-accessibility__arms{position:absolute;left:9px;right:9px;top:19px;height:3px;background:#fff;border-radius:3px}
.ji-accessibility__body{position:absolute;left:50%;top:16px;width:3px;height:18px;background:#fff;border-radius:3px;transform:translateX(-50%)}
.ji-accessibility__body:before,.ji-accessibility__body:after{content:"";position:absolute;width:3px;height:13px;background:#fff;border-radius:3px;top:12px;transform-origin:top}
.ji-accessibility__body:before{left:-5px;transform:rotate(28deg)}
.ji-accessibility__body:after{right:-5px;transform:rotate(-28deg)}
.ji-accessibility__panel{position:absolute;right:0;bottom:84px;background:#fff;border-radius:18px;padding:.8rem;box-shadow:0 18px 50px rgba(0,0,0,.22);display:grid;gap:.45rem;min-width:220px}
.ji-accessibility__panel button{border:1px solid #d9dee4;background:#fff;border-radius:999px;padding:.55rem .8rem;text-align:left;cursor:pointer;font-weight:700;color:#26323c}
.ji-accessibility__panel button:hover{background:#49c7dc;color:#fff}
.ji-404-page{background:#fff;min-height:calc(100vh - 120px);display:flex;align-items:center}
.ji-404-wrap{display:grid;grid-template-columns:minmax(420px,1.1fr) minmax(320px,.9fr);gap:clamp(2rem,7vw,7rem);align-items:center;padding:2rem 0 4rem}
.ji-404-collage{position:relative;min-height:560px}
.ji-404-photo{position:absolute;margin:0;overflow:hidden;background:#eef1f4}
.ji-404-photo img{width:100%;height:100%;object-fit:cover}
.ji-404-photo--1{width:52%;height:70%;left:38%;top:0}
.ji-404-photo--2{width:40%;height:40%;left:0;bottom:3%}
.ji-404-photo--3{width:17%;height:20%;left:20%;top:29%}
.ji-404-photo--4{width:18%;height:22%;left:38%;bottom:7%}
.ji-404-content h1{font-size:clamp(4.5rem,9vw,6.5rem);line-height:1;margin:0 0 1.25rem;color:#172247;letter-spacing:-.06em}
.ji-404-content p{font-size:clamp(1.35rem,2.2vw,1.85rem);color:#263a68;margin:0 0 2rem;line-height:1.25}
.ji-404-button{display:inline-flex;min-height:58px;align-items:center;justify-content:center;background:#4d7df4;color:#fff!important;border-radius:22px;padding:.9rem 2.2rem;text-decoration:none;font-size:1.1rem;font-weight:800}
.ji-404-button:hover{background:#2f4cf4;transform:translateY(-2px)}
@media (max-width:920px){
  .ji-main-nav--mega>ul>li+li>a:before{display:none}
  .ji-search-modal{padding-top:0;align-items:flex-start}
  .ji-search-modal__dialog{width:100vw}
  .ji-404-wrap{grid-template-columns:1fr;text-align:center}
  .ji-404-collage{min-height:390px;order:1}
  .ji-404-content{order:2}
}
@media (max-width:560px){
  .ji-search-modal__bar{padding:1rem}
  .ji-search-modal__body{padding:1.2rem 1rem 2rem}
  .ji-accessibility__toggle{width:62px;height:62px}
  .ji-accessibility__icon{width:36px;height:36px}
  .ji-404-collage{min-height:310px}
  .ji-404-photo--1{width:62%;left:32%}
  .ji-404-photo--2{width:48%}
}

/* --- v1.9 corrections: accessibility, compact hero, menu uppercase, pills layout --- */
a:hover{text-decoration:none!important}
.ji-main-nav--mega>ul>li>a{
  text-transform:uppercase;
  letter-spacing:.015em;
  font-weight:600;
  text-decoration:none!important;
}
.ji-main-nav--mega>ul>li>a:hover{
  text-decoration:none!important;
  color:#0b2d38;
}
.ji-topbar__links a,
.ji-top-search-trigger{
  text-transform:uppercase;
  letter-spacing:.04em;
}
.ji-home-hero__main,
.ji-home-hero__overlay,
.ji-home-hero__panel{
  min-height:clamp(420px, calc(100vh - 210px), 560px)!important;
}
.ji-home-hero h1{
  font-size:clamp(2rem,4.8vw,4.25rem)!important;
  line-height:1!important;
}
.ji-home-hero__lead{
  font-size:1.02rem!important;
  max-width:620px;
}
.ji-home-hero__overlay{
  padding-top:1.6rem!important;
  padding-bottom:1.6rem!important;
}
.ji-home-hero__panel{
  padding-top:1.25rem!important;
  padding-bottom:1.25rem!important;
}
.ji-home-hero__panel h2{
  font-size:clamp(1.55rem,2.2vw,2rem)!important;
  margin-bottom:.85rem!important;
}
.ji-hero-search{
  margin-bottom:1rem!important;
}
.ji-hero-pills{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.58rem!important;
}
.ji-hero-pills a{
  width:100%;
  min-height:38px;
  justify-content:center;
  text-align:center;
  padding:.52rem .65rem!important;
  font-size:.92rem;
}
.ji-home-shortcuts .ji-shortcut{
  min-height:110px!important;
}
.ji-shortcut__text{
  font-size:clamp(1.15rem,2vw,1.55rem)!important;
}
.ji-accessibility__panel[hidden]{display:none!important}
.ji-accessibility:not(.is-open) .ji-accessibility__panel{display:none!important}
.ji-accessibility.is-open .ji-accessibility__panel{display:grid!important}
.ji-high-contrast body,
html.ji-high-contrast body{background:#000!important;color:#fff!important}
.ji-high-contrast a,
html.ji-high-contrast a{color:#ffff00!important}
.ji-high-contrast .ji-card,
.ji-high-contrast .ji-unified-card,
.ji-high-contrast .ji-news-card,
.ji-high-contrast .ji-service-card,
.ji-high-contrast .ji-content-panel,
.ji-high-contrast .ji-content-panel__inner{background:#111!important;color:#fff!important;border-color:#fff!important}
.ji-underline-links a{text-decoration:underline!important;text-underline-offset:.18em}
.ji-reduce-motion *,
html.ji-reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (max-width:1180px){
  .ji-home-hero__main,
  .ji-home-hero__overlay,
  .ji-home-hero__panel{
    min-height:auto!important;
  }
  .ji-home-hero__overlay{min-height:360px!important}
}
@media (max-width:560px){
  .ji-hero-pills{grid-template-columns:1fr}
  .ji-home-hero__overlay{min-height:320px!important}
}

/* --- v2.0 Lo Barnechea fidelity reset: clean header, image hero, right pills, visible shortcuts --- */
.ji-site-header--lb{position:sticky;top:0;z-index:3000;box-shadow:none;background:transparent}
.ji-site-header--lb .ji-topbar{background:#25262d;color:#dbe1e7}
.ji-site-header--lb .ji-topbar__inner{min-height:70px;display:flex;justify-content:space-between;align-items:center}
.ji-branding--top .custom-logo{max-height:54px;width:auto}
.ji-branding--top .ji-branding__text{color:#fff;font-size:1.35rem}
.ji-site-header--lb .ji-topbar__links{display:flex;gap:.85rem;align-items:center;margin-left:auto}
.ji-site-header--lb .ji-topbar__links a{color:#dbe1e7;text-decoration:none!important;text-transform:none;letter-spacing:0;font-weight:500}
.ji-site-header--lb .ji-topbar__links a:not(:first-child):before{content:"::: ";opacity:.35;margin-right:.35rem}
.ji-top-search-trigger{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;cursor:pointer}
.ji-top-search-trigger:after{content:"⌕";font-size:1.65rem;color:#49c7dc;margin:0}
.ji-site-header--lb .ji-mainbar{background:#49c7dc}
.ji-mainbar__inner{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ji-site-header--lb .ji-main-nav--mega>ul{display:flex;align-items:center;gap:0}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a{color:#143f4b!important;background:transparent!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important;font-size:1.03rem;padding:.95rem 1rem;text-decoration:none!important}
.ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before{display:none!important}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a:hover{background:rgba(255,255,255,.12)!important;color:#0d303b!important;text-decoration:none!important}
.ji-mainbar__actions{display:flex;align-items:center;gap:1.25rem;white-space:nowrap;margin-left:auto}
.ji-mainbar__action{display:inline-flex;align-items:center;gap:.45rem;color:#143f4b!important;text-decoration:none!important;font-weight:700}
.ji-mainbar__action:before{content:"";width:34px;height:34px;border:3px solid #44606b;border-radius:8px;display:inline-block;opacity:.8}
.ji-mainbar__action--phone:before{border-radius:50%}
.ji-menu-toggle{display:none}

.ji-home-hero--lb{background:#dce2e7;padding:0}
.ji-home-hero--lb .ji-home-hero__grid{width:100%;display:grid;grid-template-columns:minmax(0,3.25fr) minmax(360px,.95fr);gap:0}
.ji-home-hero--lb .ji-home-hero__main{min-height:clamp(430px,calc(100vh - 230px),590px)!important;background-size:cover;background-position:center;background-color:#f6eee8;position:relative}
.ji-home-hero--lb .ji-home-hero__main:before{display:none!important}
.ji-home-hero--lb .ji-home-hero__overlay{display:none!important}
.ji-home-hero__fallback{position:absolute;left:max(2rem,calc((100vw - var(--ji-container))/2 + 1rem));bottom:3rem;max-width:640px;color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.ji-home-hero__fallback h1{font-size:clamp(2.3rem,4.5vw,4rem);line-height:1;margin:.4rem 0}
.ji-home-hero__fallback p{font-size:1.05rem}
.ji-home-hero--lb .ji-home-hero__panel{min-height:clamp(430px,calc(100vh - 230px),590px)!important;background:#303942!important;padding:1.35rem 1.45rem 1.2rem!important;color:#fff;overflow:hidden}
.ji-home-hero--lb .ji-home-hero__panel h2{font-size:clamp(1.75rem,2.3vw,2.35rem)!important;line-height:1.05;margin:0 0 1rem!important;color:#fff;text-align:center}
.ji-home-hero--lb .ji-hero-search{margin:0 0 1rem!important}
.ji-home-hero--lb .ji-hero-search input{height:50px;border-radius:999px;padding-left:1rem}
.ji-home-hero--lb .ji-hero-search button{background:#fff;color:#2e83bd;right:6px;width:42px;height:42px}
.ji-home-hero--lb .ji-hero-pills{display:flex!important;flex-wrap:wrap;gap:.55rem .5rem!important;align-items:flex-start}
.ji-home-hero--lb .ji-hero-pills a{width:auto!important;min-width:0!important;min-height:0!important;display:inline-flex;flex:0 1 auto;justify-content:center;text-align:center;border:1.5px solid #37c8e0;border-radius:999px;color:#37c8e0;background:transparent;padding:.45rem .72rem!important;font-size:.95rem;line-height:1.1;font-weight:700;text-decoration:none!important;transform:none!important}
.ji-home-hero--lb .ji-hero-pills a:hover{background:#37c8e0;color:#153945}
.ji-home-shortcuts{background:#49c7dc}
.ji-home-shortcuts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
.ji-home-shortcuts .ji-shortcut{min-height:116px!important;display:flex;align-items:center;justify-content:space-between;padding:1.4rem max(1.5rem,calc((100vw - var(--ji-container))/6));background:#49c7dc;color:#fff;text-decoration:none!important;border-right:1px solid rgba(255,255,255,.24);transform:none!important}
.ji-home-shortcuts .ji-shortcut:nth-child(2){background:#28b2c9}
.ji-home-shortcuts .ji-shortcut:nth-child(3){background:#2297ad}
.ji-shortcut__text{font-size:clamp(1.35rem,2vw,1.75rem)!important;line-height:1.05;color:#fff;font-weight:500;max-width:290px}
.ji-shortcut__icon{width:58px;height:58px;opacity:.96}
.ji-accessibility{right:24px;bottom:24px}
.ji-accessibility__toggle{background:#d06a43!important;width:72px;height:72px}

@media (max-width:1180px){
  .ji-site-header--lb .ji-topbar__links a:nth-child(2),
  .ji-site-header--lb .ji-topbar__links a:nth-child(3){display:none}
  .ji-mainbar__actions{display:none}
  .ji-home-hero--lb .ji-home-hero__grid{grid-template-columns:1fr}
  .ji-home-hero--lb .ji-home-hero__main{min-height:380px!important}
  .ji-home-hero--lb .ji-home-hero__panel{min-height:auto!important}
}
@media (max-width:920px){
  .ji-menu-toggle{display:block}
  .ji-site-header--lb .ji-topbar__inner{min-height:58px}
  .ji-site-header--lb .ji-main-nav--mega{position:absolute;left:0;right:0;top:100%;background:#303942;display:none}
  .ji-site-header--lb .ji-main-nav--mega.is-open{display:block}
  .ji-site-header--lb .ji-main-nav--mega>ul{display:block;padding:.75rem}
  .ji-site-header--lb .ji-main-nav--mega>ul>li>a{display:block;color:#fff!important}
  .ji-home-shortcuts__grid{grid-template-columns:1fr}
  .ji-home-shortcuts .ji-shortcut{min-height:88px!important;padding:1rem 1.25rem}
}
@media (max-width:560px){
  .ji-home-hero--lb .ji-home-hero__main{min-height:300px!important}
  .ji-home-hero__fallback{left:1rem;right:1rem;bottom:1.5rem}
  .ji-home-hero__fallback h1{font-size:2rem}
  .ji-home-hero--lb .ji-home-hero__panel{padding:1.15rem!important}
  .ji-home-hero--lb .ji-hero-pills a{font-size:.88rem}
}

/* --- v2.1 compact above-the-fold hero + admin-panel support --- */
.ji-home-hero--lb .ji-home-hero__main,
.ji-home-hero--lb .ji-home-hero__panel{
  min-height:clamp(330px, calc(100vh - 300px), 470px)!important;
}
.ji-home-hero--lb .ji-home-hero__panel{
  padding:1.1rem 1.35rem .95rem!important;
}
.ji-home-hero--lb .ji-home-hero__panel h2{
  font-size:clamp(1.5rem,2vw,2rem)!important;
  margin-bottom:.75rem!important;
}
.ji-home-hero--lb .ji-hero-search input{height:44px!important}
.ji-home-hero--lb .ji-hero-search button{width:36px!important;height:36px!important}
.ji-home-hero--lb .ji-hero-pills{gap:.45rem!important}
.ji-home-hero--lb .ji-hero-pills a{
  font-size:.86rem!important;
  padding:.36rem .62rem!important;
  max-width:100%;
}
.ji-home-shortcuts .ji-shortcut{
  min-height:92px!important;
  padding-top:1rem!important;
  padding-bottom:1rem!important;
}
.ji-shortcut__text{font-size:clamp(1.05rem,1.6vw,1.35rem)!important}
.ji-shortcut__icon{width:46px!important;height:46px!important}
.ji-site-header--lb .ji-topbar__inner{min-height:56px!important}
.ji-mainbar__inner{min-height:48px!important}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a{padding:.72rem .86rem!important}
.ji-mainbar__action:before{width:28px!important;height:28px!important}
@media (max-width:1180px){
  .ji-home-hero--lb .ji-home-hero__main{min-height:300px!important}
}
@media (max-width:560px){
  .ji-home-hero--lb .ji-home-hero__main{min-height:240px!important}
}

/* --- v2.2 consolidated panel, ordered home, hero carousel, menu rules, back-to-top --- */
.ji-site-header--lb .ji-main-nav--mega>ul>li>a,
.ji-main-nav--mega>ul>li>a{
  text-transform:uppercase!important;
  letter-spacing:.03em!important;
  font-weight:700!important;
  text-decoration:none!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before,
.ji-main-nav--mega>ul>li+li>a:before{
  content:"|"!important;
  display:inline-block!important;
  margin-right:1rem!important;
  color:rgba(21,57,69,.55)!important;
  font-weight:400!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a:hover,
.ji-main-nav--mega>ul>li>a:hover,
a:hover{
  text-decoration:none!important;
}
.ji-hero-slider{position:relative;overflow:hidden}
.ji-hero-slider__track,.ji-hero-slide{position:absolute;inset:0}
.ji-hero-slide{opacity:0;visibility:hidden;background-size:cover;background-position:center;transition:opacity .45s ease,visibility .45s ease}
.ji-hero-slide.is-active{opacity:1;visibility:visible}
.ji-hero-slide__content{position:absolute;left:max(2rem,calc((100vw - var(--ji-container))/2 + 1rem));bottom:clamp(1.25rem,4vw,3rem);max-width:720px;color:#fff;text-shadow:0 2px 14px rgba(0,0,0,.38)}
.ji-hero-slide__content h1{font-size:clamp(2rem,4.2vw,4.1rem);line-height:1;margin:.35rem 0 .65rem;color:#fff}
.ji-hero-slide__content p{font-size:1.05rem;max-width:640px}
.ji-hero-slider__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:8;width:48px;height:64px;border:0;background:rgba(37,40,51,.55);color:#fff;font-size:2.2rem;cursor:pointer}
.ji-hero-slider__arrow:hover{background:#49c7dc;color:#143f4b}
.ji-hero-slider__arrow--prev{left:0}
.ji-hero-slider__arrow--next{right:0}
.ji-hero-height--compacto{min-height:clamp(330px, calc(100vh - 300px), 470px)!important}
.ji-hero-height--medio{min-height:clamp(390px, calc(100vh - 250px), 560px)!important}
.ji-hero-height--alto{min-height:clamp(460px, calc(100vh - 200px), 650px)!important}
.ji-back-to-top{position:fixed;right:22px;bottom:104px;z-index:3999;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .85rem;border-radius:999px;background:#303942;color:#fff!important;text-decoration:none!important;font-weight:800;box-shadow:0 10px 26px rgba(0,0,0,.18)}
.ji-back-to-top:hover{background:#49c7dc;color:#143f4b!important}
@media (max-width:920px){
  .ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before,
  .ji-main-nav--mega>ul>li+li>a:before{display:none!important}
  .ji-hero-slide__content{left:1.25rem;right:1.25rem}
  .ji-hero-slider__arrow{width:38px;height:52px}
}

/* --- v2.6 refinement: clean menu, minimal back-to-top, accessibility positioning --- */
.ji-site-header--lb .ji-mainbar{
  overflow:hidden;
}
.ji-mainbar__inner{
  min-height:54px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.ji-site-header--lb .ji-main-nav--mega{
  flex:1 1 auto;
  min-width:0;
}
.ji-site-header--lb .ji-main-nav--mega>ul{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:0;
  margin:0;
  padding:0;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a,
.ji-main-nav--mega>ul>li>a{
  white-space:nowrap;
  text-transform:uppercase!important;
  letter-spacing:.015em!important;
  font-size:clamp(.82rem,1vw,.98rem)!important;
  font-weight:800!important;
  padding:.72rem .55rem!important;
  text-decoration:none!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before,
.ji-main-nav--mega>ul>li+li>a:before{
  content:"|"!important;
  display:inline-block!important;
  margin:0 .72rem 0 .25rem!important;
  color:rgba(21,57,69,.52)!important;
  font-weight:400!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a:hover,
.ji-main-nav--mega>ul>li>a:hover,
.ji-topbar__links a:hover,
a:hover{
  text-decoration:none!important;
}
.ji-mainbar__actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:.9rem!important;
  margin-left:.75rem!important;
  white-space:nowrap;
}
.ji-mainbar__action{
  font-size:.9rem!important;
  font-weight:800!important;
  gap:.25rem!important;
  text-decoration:none!important;
}
.ji-mainbar__action:before{
  display:none!important;
  content:none!important;
}
@media (max-width:1320px){
  .ji-mainbar__actions{display:none!important;}
}
@media (max-width:920px){
  .ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before,
  .ji-main-nav--mega>ul>li+li>a:before{display:none!important;}
}
.ji-back-to-top{
  right:24px!important;
  bottom:24px!important;
  z-index:3999!important;
  width:42px!important;
  height:42px!important;
  min-height:42px!important;
  padding:0!important;
  border-radius:50%!important;
  background:#303942!important;
  color:#fff!important;
  font-size:1.35rem!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
}
.ji-back-to-top:hover{
  background:#49c7dc!important;
  color:#143f4b!important;
  transform:translateY(-2px);
}
.ji-accessibility{
  right:22px!important;
  bottom:78px!important;
  z-index:4000!important;
}
.ji-accessibility__toggle{
  width:58px!important;
  height:58px!important;
  border-width:3px!important;
}
.ji-accessibility__icon{
  width:34px!important;
  height:34px!important;
}
.ji-accessibility__head{top:6px!important}
.ji-accessibility__arms{top:15px!important;left:7px!important;right:7px!important}
.ji-accessibility__body{top:13px!important;height:15px!important}
.ji-accessibility__panel{
  bottom:68px!important;
}

/* --- v2.7 accessibility top-right, configurable pills, normalized cards --- */
.ji-accessibility{
  right:22px!important;
  top:92px!important;
  bottom:auto!important;
  z-index:4500!important;
}
.admin-bar .ji-accessibility{
  top:124px!important;
}
.ji-accessibility__panel{
  top:68px!important;
  bottom:auto!important;
  right:0!important;
}
.ji-back-to-top{
  right:24px!important;
  bottom:24px!important;
}
.ji-unified-card__image,
.ji-news-card__image{
  display:block;
  width:100%;
  overflow:hidden;
  background:#d9e0e5;
}
.ji-unified-card__image img,
.ji-news-card__image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
  transition:transform .25s ease;
}
.ji-unified-card__image{
  aspect-ratio: 16 / 9;
}
.ji-news-card__image{
  aspect-ratio: 16 / 8.5;
}
.ji-unified-card:hover .ji-unified-card__image img,
.ji-news-card:hover .ji-news-card__image img{
  transform:scale(1.035);
}
.ji-news-card{min-height:100%;}
.ji-news-card__body{min-height:220px;}
.ji-news-card__category{min-height:58px;display:flex;align-items:center;}
.ji-grid--3 > *, .ji-news-grid > *{min-width:0;}
.ji-unified-card__body h3, .ji-news-card__body h3{overflow-wrap:anywhere;}
@media (max-width:920px){.ji-accessibility{top:84px!important}.admin-bar .ji-accessibility{top:130px!important}}

/* --- v2.8 Identidad Independencia: colores, sticky shadow, 404 shadows, invertir colores --- */
:root{
  --ji-independencia-teal:#1f7a75;
  --ji-independencia-teal-dark:#176a66;
  --ji-independencia-teal-soft:#e7f4f2;
  --ji-independencia-yellow:#f5bd3d;
  --ji-independencia-yellow-dark:#dea42a;
  --ji-independencia-ink:#0f4d4a;
  --ji-independencia-shadow:0 12px 28px rgba(0,0,0,.22);
}
.ji-site-header,
.ji-site-header--lb,
.ji-site-header--municipal{
  position:sticky!important;
  top:0!important;
  z-index:5000!important;
  box-shadow:var(--ji-independencia-shadow)!important;
}
.admin-bar .ji-site-header,
.admin-bar .ji-site-header--lb,
.admin-bar .ji-site-header--municipal{
  top:32px!important;
}
.ji-site-header--lb .ji-topbar,
.ji-topbar{
  background:var(--ji-independencia-teal)!important;
  color:#fff!important;
}
.ji-site-header--lb .ji-topbar__links a,
.ji-topbar__links a,
.ji-top-search-trigger{
  color:#fff!important;
}
.ji-top-search-trigger:after{
  color:#fff!important;
}
.ji-site-header--lb .ji-mainbar,
.ji-mainbar,
.ji-site-header--municipal .ji-mainbar{
  background:#fff!important;
  color:var(--ji-independencia-ink)!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a,
.ji-main-nav--mega>ul>li>a{
  color:var(--ji-independencia-ink)!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li>a:hover,
.ji-main-nav--mega>ul>li>a:hover{
  color:var(--ji-independencia-teal-dark)!important;
  background:transparent!important;
}
.ji-site-header--lb .ji-main-nav--mega>ul>li+li>a:before,
.ji-main-nav--mega>ul>li+li>a:before{
  color:var(--ji-independencia-teal)!important;
  opacity:.75;
}
.ji-mainbar__action{
  color:var(--ji-independencia-ink)!important;
}
.ji-mainbar__action:last-child,
.ji-mainbar__action--phone,
.ji-btn--news,
.ji-404-button{
  background:var(--ji-independencia-yellow)!important;
  color:#fff!important;
}
.ji-mainbar__action:last-child:hover,
.ji-mainbar__action--phone:hover,
.ji-btn--news:hover,
.ji-404-button:hover{
  background:var(--ji-independencia-yellow-dark)!important;
  color:#fff!important;
}
.ji-home-hero--lb .ji-home-hero__panel,
.ji-home-hero__panel{
  background:#23343f!important;
}
.ji-home-hero--lb .ji-hero-pills a,
.ji-hero-pills a,
.ji-search-modal__pills a{
  border-color:var(--ji-independencia-yellow)!important;
  color:var(--ji-independencia-yellow)!important;
}
.ji-home-hero--lb .ji-hero-pills a:hover,
.ji-hero-pills a:hover,
.ji-search-modal__pills a:hover{
  background:var(--ji-independencia-yellow)!important;
  color:#23343f!important;
}
.ji-home-shortcuts,
.ji-home-shortcuts .ji-shortcut{
  background:var(--ji-independencia-teal)!important;
}
.ji-home-shortcuts .ji-shortcut:nth-child(2){
  background:#238781!important;
}
.ji-home-shortcuts .ji-shortcut:nth-child(3){
  background:#176a66!important;
}
.ji-block-heading__title,
.ji-news-section__title,
.ji-news-card,
.ji-unified-card{
  background:#2a938d!important;
}
.ji-news-section,
.ji-block-section,
.ji-content-panel{
  background:#eef3f2!important;
}
.ji-news-card__footer a span,
.ji-unified-card__footer a span{
  color:#2a938d!important;
}
.ji-events-showcase,
.ji-footer{
  background:var(--ji-independencia-teal)!important;
}
.ji-footer__topband,
.ji-footer__bottom{
  background:var(--ji-independencia-teal-dark)!important;
}
.ji-accessibility__toggle{
  background:var(--ji-independencia-yellow)!important;
}
.ji-back-to-top{
  background:var(--ji-independencia-teal)!important;
}
.ji-back-to-top:hover{
  background:var(--ji-independencia-yellow)!important;
  color:#fff!important;
}
.ji-404-photo{
  box-shadow:var(--ji-independencia-shadow)!important;
}
.ji-404-photo img{
  display:block;
}
.ji-search-modal__submit{
  color:var(--ji-independencia-teal)!important;
}
.ji-search-modal__dialog{
  box-shadow:var(--ji-independencia-shadow)!important;
}
html.ji-invert-colors{
  filter:invert(1) hue-rotate(180deg);
}
html.ji-invert-colors img,
html.ji-invert-colors video,
html.ji-invert-colors iframe,
html.ji-invert-colors .ji-404-photo{
  filter:invert(1) hue-rotate(180deg);
}
@media (max-width:782px){
  .admin-bar .ji-site-header,
  .admin-bar .ji-site-header--lb,
  .admin-bar .ji-site-header--municipal{
    top:46px!important;
  }
}

/* --- v2.9 legibilidad de cards y títulos tipo Independencia --- */
:root{
  --ji-card-teal:#319a96;
  --ji-card-teal-dark:#278481;
  --ji-card-copy:#31465d;
  --ji-card-title:#4e4b7d;
  --ji-card-kicker:#8a4eb2;
  --ji-card-accent:#ef9440;
  --ji-card-line:rgba(255,255,255,.22);
}

/* Encabezados de sección inspirados en Independencia */
.ji-section-heading,
.ji-block-heading,
.ji-news-section__header{
  margin-bottom:1.35rem;
}
.ji-block-heading__title,
.ji-news-section__title,
.ji-section-heading__title{
  display:block;
  width:100%;
  margin:0 0 .9rem;
  padding:1rem 1.35rem;
  background:var(--ji-independencia-teal);
  color:#fff!important;
  font-size:clamp(2rem,3vw,3.35rem);
  font-weight:900;
  line-height:1.05;
  letter-spacing:-.02em;
}
.ji-block-heading__subtitle,
.ji-news-section__intro,
.ji-section-heading__intro{
  color:#4e5f73!important;
  font-size:1.05rem;
  line-height:1.65;
  max-width:780px;
  margin:.1rem 0 0;
}

/* Cards más legibles */
.ji-unified-card,
.ji-news-card{
  background:var(--ji-card-teal)!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--ji-card-copy)!important;
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.ji-unified-card__top,
.ji-news-card__category{
  color:var(--ji-card-kicker)!important;
  font-weight:700!important;
  font-size:1rem!important;
  line-height:1.25!important;
  padding:1rem 1.3rem .55rem!important;
  background:transparent!important;
  border:0!important;
}
.ji-unified-card__body,
.ji-news-card__body{
  padding:1.1rem 1.35rem 1.15rem!important;
  color:var(--ji-card-copy)!important;
}
.ji-unified-card__meta,
.ji-news-card__meta{
  color:rgba(49,70,93,.85)!important;
  font-size:.92rem!important;
}
.ji-unified-card__body h3,
.ji-news-card__body h3{
  margin:0 0 .75rem!important;
  font-size:clamp(1.5rem,2vw,1.9rem)!important;
  line-height:1.16!important;
  font-weight:800!important;
}
.ji-unified-card__body h3 a,
.ji-news-card__body h3 a,
.ji-unified-card__body h3,
.ji-news-card__body h3{
  color:var(--ji-card-title)!important;
  text-decoration:none!important;
}
.ji-unified-card__body p,
.ji-news-card__body p{
  color:var(--ji-card-copy)!important;
  font-size:1.05rem!important;
  line-height:1.6!important;
}
.ji-unified-card__footer,
.ji-news-card__footer{
  margin-top:auto;
  border-top:1px solid var(--ji-card-line)!important;
  padding:.9rem 1.35rem 1rem!important;
  background:transparent!important;
}
.ji-unified-card__footer a,
.ji-news-card__footer a{
  display:flex!important;
  justify-content:flex-end;
  align-items:center;
  gap:.6rem;
  color:#fff!important;
  font-weight:800!important;
  font-size:1.05rem!important;
  text-decoration:none!important;
}
.ji-unified-card__footer a span,
.ji-news-card__footer a span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:2rem;
  border-radius:999px;
  background:#fff!important;
  color:var(--ji-card-teal)!important;
  font-size:1.05rem;
  line-height:1;
}
.ji-unified-card:hover,
.ji-news-card:hover{
  background:var(--ji-card-teal-dark)!important;
}
.ji-unified-card:hover .ji-unified-card__body h3 a,
.ji-news-card:hover .ji-news-card__body h3 a{
  color:#403c69!important;
}
.ji-unified-card:hover .ji-unified-card__footer a span,
.ji-news-card:hover .ji-news-card__footer a span{
  color:var(--ji-card-teal-dark)!important;
}

/* Sección trámites con título bicolor posible si se usa span */
.ji-tramites-section .ji-block-heading__title span,
.ji-section-title--accent span,
.ji-news-section__title span{
  color:var(--ji-card-accent)!important;
}

/* Afinar imágenes para que no opaquen legibilidad */
.ji-unified-card__image,
.ji-news-card__image{
  background:#c5dddd!important;
}
.ji-unified-card__image img,
.ji-news-card__image img{
  filter:saturate(.96) contrast(1.02);
}

/* Grid un poco más respirado */
.ji-grid--3,
.ji-news-grid{
  gap:1.3rem!important;
}

@media (max-width:768px){
  .ji-block-heading__title,
  .ji-news-section__title,
  .ji-section-heading__title{
    padding:.95rem 1rem;
    font-size:2.05rem!important;
  }
  .ji-unified-card__body h3,
  .ji-news-card__body h3{
    font-size:1.4rem!important;
  }
  .ji-unified-card__body,
  .ji-news-card__body{
    padding:1rem 1rem 1.05rem!important;
  }
}


/* --- v3.0 Independencia cards and bicolor titles --- */
.ji-block-heading__title--bicolor,
.ji-news-section__title.ji-block-heading__title--bicolor,
.ji-section-heading__title.ji-block-heading__title--bicolor{
  background:transparent!important;
  color:#8e49aa!important;
  padding:0!important;
  font-size:clamp(2.2rem,4vw,3.45rem)!important;
  line-height:1.05!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
  box-shadow:none!important;
}
.ji-block-heading__title--bicolor span,
.ji-news-section__title.ji-block-heading__title--bicolor span,
.ji-section-heading__title.ji-block-heading__title--bicolor span{
  color:#ef9440!important;
}
.ji-block-section--muted,
#tramites.ji-block-section--muted{
  background:#f4f4f4!important;
}

/* Trámites estilo Independencia */
.ji-unified-card--independencia-service{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  min-height:0!important;
}
.ji-unified-card--independencia-service .ji-unified-card__top{
  padding:0 2.6rem .15rem!important;
  color:#a150b1!important;
  font-size:1.05rem!important;
  font-weight:500!important;
  line-height:1.05!important;
}
.ji-unified-card--independencia-service .ji-unified-card__body{
  padding:.1rem 2.6rem 1.25rem!important;
}
.ji-unified-card--independencia-service .ji-unified-card__body h3{
  color:#8e49aa!important;
  font-size:1.7rem!important;
  line-height:1.02!important;
  font-weight:900!important;
  margin:0 0 .65rem!important;
  max-width:12ch;
}
.ji-unified-card--independencia-service .ji-unified-card__body p{
  color:#5a5f73!important;
  font-size:1.02rem!important;
  line-height:1.5!important;
  max-width:38ch;
  margin:0!important;
}
.ji-unified-card--independencia-service .ji-unified-card__footer{
  border-top:0!important;
  padding:0 1rem 0!important;
}
.ji-unified-card--independencia-service .ji-unified-card__footer a{
  width:100%;
  justify-content:center!important;
  border-radius:0 0 1.45rem 1.45rem!important;
  padding:1.05rem 1rem!important;
  background:#9d4aa8!important;
  color:#fff!important;
  font-size:1.05rem!important;
  font-weight:900!important;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.ji-unified-card--independencia-service .ji-unified-card__footer a span{display:none!important}
.ji-unified-grid .ji-unified-card--independencia-service:nth-child(2n) .ji-unified-card__footer a{
  background:#10b5b3!important;
}
.ji-unified-card--independencia-service:hover,
.ji-unified-card--independencia-service:hover .ji-unified-card__footer a{
  transform:none!important;
  box-shadow:none!important;
}

/* Destacados estilo Independencia teal legible */
.ji-unified-card--independencia-feature,
#destacados .ji-unified-card{
  background:#319a96!important;
  color:#42556f!important;
  border:0!important;
  box-shadow:none!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__top,
#destacados .ji-unified-card__top{
  color:#6d4479!important;
  font-size:1rem!important;
  font-weight:700!important;
  padding:1.15rem 1.35rem .5rem!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__body,
#destacados .ji-unified-card__body{
  padding:1rem 1.35rem 1.3rem!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__body h3,
#destacados .ji-unified-card__body h3{
  color:#495a7d!important;
  font-size:1.12rem!important;
  line-height:1.32!important;
  font-weight:800!important;
  margin:0 0 .85rem!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__body p,
#destacados .ji-unified-card__body p{
  color:#4a5e73!important;
  font-size:1.02rem!important;
  line-height:1.55!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__footer,
#destacados .ji-unified-card__footer{
  border-top:1px solid rgba(255,255,255,.16)!important;
  padding:1rem 1.35rem 1.05rem!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__footer a,
#destacados .ji-unified-card__footer a{
  justify-content:flex-end!important;
  color:#fff!important;
  font-weight:800!important;
}
.ji-unified-card--independencia-feature .ji-unified-card__footer a span,
#destacados .ji-unified-card__footer a span{
  display:inline-flex!important;
  width:2rem!important;height:2rem!important;border-radius:999px!important;
  background:#fff!important;color:#319a96!important;
}

/* Keep regular news style readable like Independencia */
.ji-news-card{
  background:#49c3ce!important;
  color:#465a72!important;
  box-shadow:none!important;
}
.ji-news-card__category{color:#66507a!important;font-weight:700!important}
.ji-news-card__body h3,.ji-news-card__body h3 a{color:#4f587b!important;font-size:1.15rem!important;line-height:1.3!important}
.ji-news-card__body p{color:#4a5c71!important;line-height:1.55!important}
.ji-news-card__footer{border-top:1px solid rgba(255,255,255,.16)!important}

@media (max-width: 768px){
  .ji-unified-card--independencia-service .ji-unified-card__top{padding-left:1rem!important;padding-right:1rem!important}
  .ji-unified-card--independencia-service .ji-unified-card__body{padding:0 1rem 1rem!important}
  .ji-unified-card--independencia-service .ji-unified-card__body h3{font-size:1.42rem!important;max-width:none}
  .ji-unified-card--independencia-service .ji-unified-card__footer{padding:0!important}
}


/* --- v3.1 finish remaining sections: titles + gallery/directiva cards --- */
.ji-news-section__title.ji-block-heading__title--bicolor,
.ji-events-showcase__header h2.ji-block-heading__title--bicolor,
#galerias .ji-block-heading__title--bicolor,
#directiva .ji-block-heading__title--bicolor,
#destacados .ji-block-heading__title--bicolor,
#tramites .ji-block-heading__title--bicolor{
  display:block!important;
  background:transparent!important;
  color:#8e49aa!important;
  font-size:clamp(2.15rem,4vw,3.35rem)!important;
  font-weight:900!important;
  line-height:1.05!important;
  padding:0!important;
  margin:0 0 .7rem!important;
  box-shadow:none!important;
}
.ji-news-section__title.ji-block-heading__title--bicolor span,
.ji-events-showcase__header h2.ji-block-heading__title--bicolor span,
#galerias .ji-block-heading__title--bicolor span,
#directiva .ji-block-heading__title--bicolor span,
#destacados .ji-block-heading__title--bicolor span,
#tramites .ji-block-heading__title--bicolor span{color:#ef9440!important}

/* News and event section intros aligned */
.ji-events-showcase__header p:last-child,
.ji-news-section .ji-block-heading__text p,
#galerias .ji-block-heading__text p,
#directiva .ji-block-heading__text p{
  color:#5a6378!important;
}

/* Gallery cards refreshed */
.ji-gallery-grid--refresh{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.35rem!important;
}
.ji-gallery-card--independencia{
  position:relative;
  min-height:330px;
  border-radius:0!important;
  overflow:hidden;
  text-decoration:none!important;
  box-shadow:none!important;
  background:#2d6d77!important;
}
.ji-gallery-card--independencia img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:brightness(.58) saturate(.92);
}
.ji-gallery-card--independencia:before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(17,30,42,.15) 0%, rgba(22,36,48,.28) 32%, rgba(15,34,46,.72) 100%);
}
.ji-gallery-card--independencia .ji-gallery-card__label{
  position:absolute;top:14px;left:14px;z-index:2;
  display:inline-flex;align-items:center;
  padding:.3rem .55rem;border-radius:999px;
  background:#2ec4da!important;color:#fff!important;
  font-size:.72rem!important;font-weight:800!important;
}
.ji-gallery-card--independencia strong{
  position:absolute;left:18px;right:18px;bottom:40px;z-index:2;
  color:#fff!important;font-size:1.28rem!important;line-height:1.15!important;font-weight:800!important;
  text-shadow:0 1px 5px rgba(0,0,0,.28);
}
.ji-gallery-card--independencia em{
  position:absolute;right:16px;bottom:14px;z-index:2;
  color:#fff!important;font-style:normal!important;font-weight:800!important;font-size:.95rem!important;
}
.ji-gallery-card--independencia em span{
  display:inline-flex;align-items:center;justify-content:center;
  width:1.8rem;height:1.8rem;margin-left:.3rem;border-radius:999px;
  background:#fff;color:#2d6d77;font-style:normal;
}
.ji-gallery-card--independencia:hover{transform:translateY(-3px)}

/* Directiva cards refreshed */
.ji-unified-card--independencia-person{
  background:#319a96!important;
  box-shadow:none!important;border:0!important;
}
.ji-unified-card--independencia-person .ji-unified-card__top{
  color:#8d49aa!important;font-size:1rem!important;font-weight:700!important;
  padding:1rem 1.2rem .55rem!important;
}
.ji-unified-card--independencia-person .ji-unified-card__image{
  aspect-ratio:4/3;overflow:hidden;background:#cfe0e0;
}
.ji-unified-card--independencia-person .ji-unified-card__image img{
  width:100%;height:100%;object-fit:cover;
}
.ji-unified-card--independencia-person .ji-unified-card__body{
  padding:1rem 1.2rem 1.2rem!important;
}
.ji-unified-card--independencia-person .ji-unified-card__body h3{
  color:#4f5d86!important;font-size:1.6rem!important;line-height:1.1!important;font-weight:800!important;margin:0 0 .5rem!important;
}
.ji-unified-card--independencia-person .ji-unified-card__body p{
  color:#526377!important;font-size:1rem!important;line-height:1.45!important;
}
.ji-unified-card--independencia-person .ji-unified-card__footer{
  border-top:1px solid rgba(255,255,255,.16)!important;padding:.95rem 1.2rem 1rem!important;
}
.ji-unified-card--independencia-person .ji-unified-card__footer a{
  justify-content:flex-end!important;color:#fff!important;font-weight:800!important;
}
.ji-unified-card--independencia-person .ji-unified-card__footer a span{
  width:1.9rem;height:1.9rem;border-radius:999px;background:#fff;color:#319a96!important;
}

/* Event header and buttons consistent */
.ji-events-showcase__header .ji-kicker{color:#8e49aa!important;font-weight:700!important}
.ji-events-showcase__all,
.ji-btn--news{
  background:#f5bd3d!important;color:#fff!important;border-radius:999px!important;
  padding:.72rem 1.1rem!important;font-weight:800!important;text-decoration:none!important;
}
.ji-events-showcase__all:hover,.ji-btn--news:hover{background:#dea42a!important}

/* Ensure rows titles not old bars if bicolor class exists */
.ji-block-heading--row .ji-block-heading__title--bicolor{margin-bottom:0!important}

@media (max-width: 980px){
  .ji-gallery-grid--refresh{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 640px){
  .ji-gallery-grid--refresh{grid-template-columns:1fr;}
  .ji-gallery-card--independencia{min-height:280px;}
}


/* --- v3.2 strict system unification --- */
.ji-block-heading--strict{margin-bottom:1.4rem!important}
.ji-block-heading--strict .ji-block-heading__text p,
.ji-block-heading--strict p:last-child,
.ji-news-section .ji-block-heading__text p,
.ji-events-showcase__header p:last-child{
  margin:.25rem 0 0!important;
  max-width:760px!important;
  color:#5f677a!important;
  font-size:1.02rem!important;
  line-height:1.6!important;
}
.ji-block-heading--row.ji-block-heading--strict,
.ji-events-showcase__header.ji-block-heading--strict{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:1rem!important;
}
.ji-kicker--strict{color:#8e49aa!important;font-weight:700!important;margin:0 0 .35rem!important}

/* Unified strict content cards */
.ji-unified-card--strict-content,
.ji-unified-card--strict-media,
.ji-news-card--strict,
#destacados .ji-unified-card,
#galerias .ji-unified-card,
#directiva .ji-unified-card{
  background:#319a96!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
}
.ji-unified-card--strict-content .ji-unified-card__top,
.ji-unified-card--strict-media .ji-unified-card__top,
.ji-news-card--strict .ji-news-card__category,
#destacados .ji-unified-card__top,
#galerias .ji-unified-card__top,
#directiva .ji-unified-card__top{
  color:#7f4f8f!important;
  font-weight:700!important;
  font-size:1rem!important;
  padding:1.05rem 1.25rem .45rem!important;
  background:transparent!important;
  border:0!important;
  min-height:0!important;
}
.ji-unified-card--strict-content .ji-unified-card__body,
.ji-unified-card--strict-media .ji-unified-card__body,
.ji-news-card--strict .ji-news-card__body,
#destacados .ji-unified-card__body,
#galerias .ji-unified-card__body,
#directiva .ji-unified-card__body{
  padding:.9rem 1.25rem 1.2rem!important;
}
.ji-unified-card--strict-content .ji-unified-card__body h3,
.ji-unified-card--strict-media .ji-unified-card__body h3,
.ji-news-card--strict .ji-news-card__body h3,
.ji-unified-card--strict-content .ji-unified-card__body h3 a,
.ji-unified-card--strict-media .ji-unified-card__body h3 a,
.ji-news-card--strict .ji-news-card__body h3 a,
#destacados .ji-unified-card__body h3,
#galerias .ji-unified-card__body h3,
#directiva .ji-unified-card__body h3{
  color:#4d5d86!important;
  font-weight:800!important;
  font-size:1.22rem!important;
  line-height:1.28!important;
  margin:0 0 .7rem!important;
  text-decoration:none!important;
}
.ji-unified-card--strict-content .ji-unified-card__body p,
.ji-unified-card--strict-media .ji-unified-card__body p,
.ji-news-card--strict .ji-news-card__body p,
#destacados .ji-unified-card__body p,
#galerias .ji-unified-card__body p,
#directiva .ji-unified-card__body p{
  color:#51657a!important;
  font-size:1rem!important;
  line-height:1.58!important;
  margin:0!important;
}
.ji-unified-card--strict-media .ji-unified-card__image,
.ji-news-card--strict .ji-news-card__image,
#galerias .ji-unified-card__image,
#directiva .ji-unified-card__image{
  order:-1;
  aspect-ratio:16/10!important;
  overflow:hidden!important;
  background:#d4dddd!important;
}
.ji-unified-card--strict-media .ji-unified-card__image img,
.ji-news-card--strict .ji-news-card__image img,
#galerias .ji-unified-card__image img,
#directiva .ji-unified-card__image img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
}
.ji-unified-card--strict-content .ji-unified-card__footer,
.ji-unified-card--strict-media .ji-unified-card__footer,
.ji-news-card--strict .ji-news-card__footer,
#destacados .ji-unified-card__footer,
#galerias .ji-unified-card__footer,
#directiva .ji-unified-card__footer{
  margin-top:auto!important;
  border-top:1px solid rgba(255,255,255,.14)!important;
  padding:.95rem 1.25rem 1rem!important;
  background:transparent!important;
}
.ji-unified-card--strict-content .ji-unified-card__footer a,
.ji-unified-card--strict-media .ji-unified-card__footer a,
.ji-news-card--strict .ji-news-card__footer a,
#destacados .ji-unified-card__footer a,
#galerias .ji-unified-card__footer a,
#directiva .ji-unified-card__footer a{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:.5rem!important;
  color:#fff!important;font-weight:800!important;font-size:1rem!important;text-decoration:none!important;
}
.ji-unified-card--strict-content .ji-unified-card__footer a span,
.ji-unified-card--strict-media .ji-unified-card__footer a span,
.ji-news-card--strict .ji-news-card__footer a span,
#destacados .ji-unified-card__footer a span,
#galerias .ji-unified-card__footer a span,
#directiva .ji-unified-card__footer a span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:1.95rem!important;height:1.95rem!important;border-radius:999px!important;
  background:#fff!important;color:#319a96!important;
}

/* Keep service cards distinct but aligned */
#tramites .ji-unified-card--independencia-service{
  padding-top:.2rem!important;
}
#tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{
  min-height:3.9em;
}
#tramites .ji-unified-grid{gap:1.55rem!important}

/* Events visual cleanup */
.ji-events-showcase{background:#eef1f1!important}
.ji-events-showcase__header h2.ji-block-heading__title--bicolor{margin:0 0 .35rem!important}
.ji-event-tile{
  background:#2c333e!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.ji-event-tile__content h3{font-size:1.45rem!important;line-height:1.18!important}
.ji-event-tile__badge:first-child{background:#f5bd3d!important;color:#23343f!important}
.ji-event-tile__actions a:first-child{color:#fff!important;font-weight:800!important}
.ji-event-tile__actions a:last-child{color:#f5bd3d!important}

/* Buttons unified */
.ji-btn--news,
.ji-events-showcase__all{
  display:inline-flex!important;align-items:center!important;gap:.45rem!important;
  padding:.75rem 1.15rem!important;border-radius:999px!important;background:#f5bd3d!important;color:#fff!important;
  font-size:.95rem!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;
  white-space:nowrap!important;
}
.ji-btn--news span,.ji-events-showcase__all span{display:inline-flex}

/* News section title wrapper spacing fix */
#noticias .ji-block-heading{margin-bottom:1.25rem!important}
#noticias .ji-news-grid{margin-top:0!important}

@media (max-width: 980px){
  .ji-block-heading--row.ji-block-heading--strict,
  .ji-events-showcase__header.ji-block-heading--strict{align-items:flex-start!important;flex-direction:column!important}
}


/* --- v3.3 truly rebuilt card system --- */
.ji-grid.ji-unified-grid,
.ji-news-grid{gap:1.5rem!important}
.ji-card-system{
  display:flex!important;
  flex-direction:column!important;
  min-height:100%!important;
  background:#ffffff!important;
  border:1px solid #e3e8eb!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-shadow:0 10px 28px rgba(13,35,52,.08)!important;
}
.ji-card-system__image{
  display:block!important;
  width:100%!important;
  aspect-ratio: 16/9!important;
  overflow:hidden!important;
  background:#d8e3e2!important;
}
.ji-card-system__image img{
  width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;
}
.ji-card-system__body{
  flex:1 1 auto!important;
  padding:1rem 1.15rem 1.15rem!important;
  background:#ffffff!important;
}
.ji-card-system__eyebrow{
  color:#a54ab0!important;
  font-weight:700!important;
  font-size:.98rem!important;
  line-height:1.2!important;
  margin:0 0 .75rem!important;
  padding:0!important;
  background:none!important;
}
.ji-card-system__body h3,
.ji-card-system__body h3 a{
  color:#4f5f85!important;
  font-size:1.18rem!important;
  font-weight:800!important;
  line-height:1.26!important;
  margin:0 0 .7rem!important;
  text-decoration:none!important;
}
.ji-card-system__body p{
  color:#5f6777!important;
  font-size:1rem!important;
  line-height:1.6!important;
  margin:0!important;
}
.ji-card-system__footer{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:.45rem!important;
  padding:1rem 1.15rem!important;
  border-top:1px solid #edf0f2!important;
  background:#ffffff!important;
  margin-top:auto!important;
}
.ji-card-system__footer a{
  display:flex!important;align-items:center!important;gap:.45rem!important;
  color:#0f4d4a!important;
  font-weight:800!important;
  font-size:1rem!important;
  text-decoration:none!important;
}
.ji-card-system__footer a span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:2rem!important;height:2rem!important;border-radius:999px!important;
  background:#f5bd3d!important;color:#ffffff!important;
}
.ji-card-system:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(13,35,52,.12)!important}

/* section-specific accents */
.ji-card-system--feature .ji-card-system__image{aspect-ratio: 16/8.7!important}
.ji-card-system--gallery .ji-card-system__image,
.ji-card-system--news .ji-card-system__image{aspect-ratio: 16/9.2!important}
.ji-card-system--person .ji-card-system__image{aspect-ratio: 4/3!important}
.ji-card-system--feature .ji-card-system__body,
.ji-card-system--feature .ji-card-system__footer{border-left:6px solid #319a96!important}
.ji-card-system--gallery .ji-card-system__body,
.ji-card-system--gallery .ji-card-system__footer{border-left:6px solid #2d6d77!important}
.ji-card-system--news .ji-card-system__body,
.ji-card-system--news .ji-card-system__footer{border-left:6px solid #c55f3b!important}
.ji-card-system--person .ji-card-system__body,
.ji-card-system--person .ji-card-system__footer{border-left:6px solid #3b7aa3!important}
.ji-card-system--person .ji-card-system__eyebrow{color:#8e49aa!important}

/* prevent old styles from bleeding */
.ji-card-system .ji-unified-card__top,
.ji-card-system .ji-unified-card__body,
.ji-card-system .ji-unified-card__footer,
.ji-card-system .ji-news-card__category,
.ji-card-system .ji-news-card__body,
.ji-card-system .ji-news-card__footer{all:unset}

/* keep bicolor headings and stronger consistency */
.ji-block-heading__title--bicolor{font-size:clamp(2.25rem,4vw,3.5rem)!important}
.ji-block-heading__title--bicolor span{color:#ef9440!important}

@media (max-width:768px){
  .ji-card-system__body{padding:.95rem 1rem 1rem!important}
  .ji-card-system__footer{padding:.9rem 1rem!important}
  .ji-card-system__body h3,.ji-card-system__body h3 a{font-size:1.1rem!important}
}


/* --- v3.4 fixes: white cards, readable hover, directiva without image, smaller trámite titles --- */
#tramites,
#directiva{background:#ffffff!important;}
#tramites .ji-unified-card--independencia-service,
#directiva .ji-card-system--person,
#destacados .ji-card-system,
#galerias .ji-card-system,
#noticias .ji-card-system{
  background:#ffffff!important;
}

/* Hover: keep legibility */
.ji-card-system:hover,
#tramites .ji-unified-card--independencia-service:hover{
  background:#ffffff!important;
  transform:translateY(-3px)!important;
  box-shadow:0 14px 34px rgba(13,35,52,.12)!important;
}
.ji-card-system:hover .ji-card-system__body,
.ji-card-system:hover .ji-card-system__footer,
.ji-card-system:hover .ji-card-system__eyebrow,
.ji-card-system:hover .ji-card-system__body h3,
.ji-card-system:hover .ji-card-system__body h3 a,
.ji-card-system:hover .ji-card-system__body p,
#tramites .ji-unified-card--independencia-service:hover .ji-unified-card__top,
#tramites .ji-unified-card--independencia-service:hover .ji-unified-card__body h3,
#tramites .ji-unified-card--independencia-service:hover .ji-unified-card__body p{
  color:inherit!important;
}

/* Directiva without image */
#directiva .ji-grid{align-items:stretch!important}
#directiva .ji-card-system--person{
  min-height:100%!important;
}
#directiva .ji-card-system--person .ji-card-system__image{display:none!important;}
#directiva .ji-card-system--person .ji-card-system__body,
#directiva .ji-card-system--person .ji-card-system__footer{
  border-left:6px solid #3b7aa3!important;
}
#directiva .ji-card-system--person .ji-card-system__eyebrow{
  margin:0!important;
  padding:1rem 1.15rem .35rem!important;
}
#directiva .ji-card-system--person .ji-card-system__body{
  padding:.55rem 1.15rem 1.2rem!important;
}
#directiva .ji-card-system--person .ji-card-system__body h3,
#directiva .ji-card-system--person .ji-card-system__body h3 a{
  font-size:1.15rem!important;
  line-height:1.25!important;
  margin:0 0 .55rem!important;
}
#directiva .ji-card-system--person .ji-card-system__body p{
  font-size:.98rem!important;
}

/* Smaller titles in Principales Trámites */
#tramites .ji-unified-card--independencia-service .ji-unified-card__body{
  padding:.1rem 1.5rem 1rem!important;
}
#tramites .ji-unified-card--independencia-service .ji-unified-card__top{
  padding:0 1.5rem .15rem!important;
}
#tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{
  font-size:1.08rem!important;
  line-height:1.12!important;
  margin:0 0 .7rem!important;
  max-width:none!important;
  min-height:auto!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#tramites .ji-unified-card--independencia-service .ji-unified-card__body p{
  font-size:.98rem!important;
  line-height:1.5!important;
}
#tramites .ji-unified-card--independencia-service .ji-unified-card__footer a{
  font-size:.98rem!important;
  border-radius:0 0 1.2rem 1.2rem!important;
}

/* White body for all rebuilt cards */
.ji-card-system__body,
.ji-card-system__footer{background:#ffffff!important;}
.ji-card-system__body h3,
.ji-card-system__body h3 a{color:#4f5f85!important;}
.ji-card-system__body p{color:#5f6777!important;}
.ji-card-system__eyebrow{color:#a54ab0!important;}

@media (max-width:768px){
  #tramites .ji-unified-card--independencia-service .ji-unified-card__body,
  #tramites .ji-unified-card--independencia-service .ji-unified-card__top{padding-left:1rem!important;padding-right:1rem!important;}
  #tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{font-size:1rem!important;}
}


/* --- v3.5 headings match Directiva --- */
#tramites .ji-block-heading__title--bicolor,
#noticias .ji-block-heading__title--bicolor{
  color:#8e49aa!important;
}
#tramites .ji-block-heading__title--bicolor span,
#noticias .ji-block-heading__title--bicolor span{
  color:#ef9440!important;
}
#tramites .ji-block-heading__text p,
#noticias .ji-block-heading__text p{
  color:#5a6378!important;
}


/* --- v3.6 section background parity with Directiva --- */
#directiva,
#tramites,
#noticias{
  background:#ffffff!important;
}
#directiva .ji-container,
#tramites .ji-container,
#noticias .ji-container{
  background:transparent!important;
}
#tramites.ji-block-section--muted,
#noticias.ji-block-section--muted,
#tramites.ji-section,
#noticias.ji-section{
  background:#ffffff!important;
}
#tramites .ji-block-heading,
#noticias .ji-block-heading,
#directiva .ji-block-heading{
  background:transparent!important;
}


/* --- v3.7 legal independence + external links --- */
.ji-independence-notice{
  background:#fff7e3!important;
  color:#3f4755!important;
  border-bottom:1px solid #f1d58b!important;
  font-size:.92rem!important;
}
.ji-independence-notice .ji-container{
  padding:.6rem 1rem!important;
  display:flex!important;
  gap:.45rem!important;
  flex-wrap:wrap!important;
}
.ji-independence-notice strong{color:#0f4d4a!important}

.ji-footer-legal{
  background:#f8faf9!important;
  border-top:1px solid rgba(255,255,255,.18)!important;
  color:#334155!important;
  padding:1.25rem 0!important;
}
.ji-footer-legal h3{
  margin:0 0 .45rem!important;
  color:#0f4d4a!important;
  font-size:1.25rem!important;
}
.ji-footer-legal p{
  margin:.35rem 0!important;
  max-width:980px!important;
  line-height:1.55!important;
}

.ji-tramite-group-title{
  margin:1.35rem 0 .85rem!important;
  color:#0f4d4a!important;
  font-size:1.35rem!important;
  font-weight:900!important;
}
.ji-tramite-group-title--external{color:#8e49aa!important}
.ji-tramite-group-note{
  color:#5a6378!important;
  margin:-.45rem 0 1rem!important;
}
.ji-tramite-card--external .ji-unified-card__top{
  color:#8e49aa!important;
}
.ji-tramite-card--external .ji-unified-card__footer a{
  background:#f5bd3d!important;
  color:#23343f!important;
}
.ji-tramite-card--external .ji-unified-card__body{
  border-left:5px solid #f5bd3d!important;
}
.ji-tramite-card--own .ji-unified-card__body{
  border-left:5px solid #10b5b3!important;
}

.ji-external-link-modal[hidden]{display:none!important}
.ji-external-link-modal{
  position:fixed!important;
  inset:0!important;
  z-index:9000!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:1rem!important;
}
.ji-external-link-modal__overlay{
  position:absolute!important;
  inset:0!important;
  background:rgba(0,0,0,.62)!important;
}
.ji-external-link-modal__dialog{
  position:relative!important;
  z-index:1!important;
  width:min(560px,100%)!important;
  background:#fff!important;
  color:#334155!important;
  border-radius:18px!important;
  padding:1.5rem!important;
  box-shadow:0 22px 60px rgba(0,0,0,.28)!important;
}
.ji-external-link-modal__dialog h2{
  margin:0 0 .7rem!important;
  color:#0f4d4a!important;
  font-size:1.55rem!important;
}
.ji-external-link-modal__dialog p{
  line-height:1.55!important;
}
.ji-external-link-modal__count strong{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:2rem!important;
  height:2rem!important;
  border-radius:999px!important;
  background:#f5bd3d!important;
  color:#23343f!important;
}
.ji-external-link-modal__actions{
  display:flex!important;
  gap:.75rem!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  margin-top:1rem!important;
}
.ji-btn--outline{
  border:2px solid #0f4d4a!important;
  background:#fff!important;
  color:#0f4d4a!important;
  border-radius:999px!important;
  padding:.75rem 1rem!important;
  font-weight:800!important;
}


/* --- v3.8 footer legal moved into main column --- */
.ji-footer__legal-main h2{
  color:#fff!important;
  margin-bottom:1rem!important;
}
.ji-footer__legal-main p{
  max-width:560px!important;
  line-height:1.65!important;
}
.ji-footer__legal-main strong{
  color:#fff!important;
}
.ji-footer__grid{
  align-items:start!important;
}
@media (min-width: 900px){
  .ji-footer__grid{
    grid-template-columns:1.35fr .7fr .85fr!important;
  }
}


/* --- v3.9 sticky utilities and clean notice --- */
.ji-independence-notice .ji-container{
  display:block!important;
}
.ji-independence-notice strong{
  display:none!important;
}
.ji-back-to-top{
  background:#f5bd3d!important;
  color:#23343f!important;
  border:2px solid rgba(255,255,255,.55)!important;
  box-shadow:0 10px 26px rgba(0,0,0,.22)!important;
}
.ji-back-to-top:hover{
  background:#1f7a75!important;
  color:#ffffff!important;
}
.ji-accessibility{
  position:fixed!important;
  top:14px!important;
  right:18px!important;
  bottom:auto!important;
  z-index:99999!important;
}
.admin-bar .ji-accessibility{
  top:46px!important;
}
.ji-accessibility__toggle{
  background:#f5bd3d!important;
  color:#23343f!important;
  box-shadow:0 10px 26px rgba(0,0,0,.22)!important;
}
.ji-accessibility__panel{
  top:68px!important;
  right:0!important;
  bottom:auto!important;
}
.ji-site-header,
.ji-site-header--lb,
.ji-site-header--municipal{
  z-index:8000!important;
}
@media (max-width:782px){
  .admin-bar .ji-accessibility{
    top:58px!important;
  }
  .ji-accessibility{
    right:12px!important;
    top:10px!important;
  }
}


/* --- v4.0 accessibility font scaling site-wide --- */
:root{
  --ji-accessibility-font-scale:1;
}
html.ji-font-scaled body{
  font-size:calc(16px * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled p,
html.ji-font-scaled li,
html.ji-font-scaled a,
html.ji-font-scaled button,
html.ji-font-scaled input,
html.ji-font-scaled textarea,
html.ji-font-scaled select,
html.ji-font-scaled label,
html.ji-font-scaled span,
html.ji-font-scaled small,
html.ji-font-scaled strong,
html.ji-font-scaled em,
html.ji-font-scaled td,
html.ji-font-scaled th{
  font-size:calc(1em * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled h1{
  font-size:calc(clamp(2.35rem, 5vw, 4.6rem) * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled h2,
html.ji-font-scaled .ji-block-heading__title--bicolor,
html.ji-font-scaled .ji-news-section__title{
  font-size:calc(clamp(2.05rem, 4vw, 3.5rem) * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled h3,
html.ji-font-scaled .ji-card-system__body h3,
html.ji-font-scaled .ji-unified-card__body h3{
  font-size:calc(1.18rem * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled .ji-main-nav--mega>ul>li>a{
  font-size:calc(.98rem * var(--ji-accessibility-font-scale))!important;
}
html.ji-font-scaled .ji-accessibility,
html.ji-font-scaled .ji-accessibility *,
html.ji-font-scaled .ji-back-to-top{
  font-size:initial!important;
}
html.ji-font-scaled .ji-accessibility__panel button{
  font-size:.95rem!important;
}


/* --- v4.1 panel synchronization fixes --- */
.ji-branding__logo img{max-height:54px;width:auto;display:block}
.ji-theme-panel textarea.regular-text{width:min(620px,100%);min-height:90px}


/* --- v4.2 panel behavior, header actions, backgrounds and external modal fixes --- */
.ji-mainbar__actions{
  gap:.65rem!important;
}
.ji-mainbar__separator{
  color:#1f7a75!important;
  opacity:.75!important;
  font-weight:800!important;
}
.ji-mainbar__action--phone{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f5bd3d!important;
  color:#ffffff!important;
  border-radius:999px!important;
  padding:.55rem .95rem!important;
  line-height:1!important;
  font-weight:900!important;
}
.ji-mainbar__action--phone:hover{
  background:#dea42a!important;
  color:#ffffff!important;
}
.ji-mainbar__action--portal,
.ji-mainbar__action--tramites{
  text-decoration:none!important;
}
.ji-has-section-bg{
  background-color:#f8faf9!important;
}
.ji-has-section-bg:before{
  background:rgba(255,255,255,.18);
}
.ji-external-link-modal__dialog{
  border-top:6px solid #f5bd3d!important;
}


/* --- v4.3 directiva readability + search modal over sticky header --- */

/* Directiva detail/header readability */
.single-ji_directiva .ji-page-header,
.single-ji_directiva .ji-hero,
.post-type-archive-ji_directiva .ji-page-header,
.ji-directiva-single .ji-page-header{
  background:#ffffff!important;
  color:#0f2f3f!important;
}
.single-ji_directiva .ji-page-header *,
.single-ji_directiva .ji-hero *,
.post-type-archive-ji_directiva .ji-page-header *,
.ji-directiva-single .ji-page-header *{
  color:#0f2f3f!important;
  opacity:1!important;
}
.single-ji_directiva .ji-page-header .ji-kicker,
.single-ji_directiva .ji-hero .ji-kicker,
.post-type-archive-ji_directiva .ji-page-header .ji-kicker{
  color:#c65f3d!important;
  opacity:1!important;
}
.single-ji_directiva h1,
.single-ji_directiva .ji-page-header h1,
.single-ji_directiva .ji-hero h1{
  color:#0f2f3f!important;
  opacity:1!important;
  text-shadow:none!important;
}
.single-ji_directiva .ji-article,
.single-ji_directiva .ji-content,
.single-ji_directiva main{
  color:#102f4a!important;
}

/* Generic safeguard for dark page headers with low opacity text */
.ji-page-header h1,
.ji-hero h1{
  opacity:1!important;
}

/* Search modal must sit above sticky header and start below viewport edge */
.ji-search-modal{
  position:fixed!important;
  inset:0!important;
  z-index:120000!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:center!important;
  padding:clamp(72px, 9vh, 112px) 1rem 1rem!important;
}
.ji-search-modal[hidden]{
  display:none!important;
}
.ji-search-modal__overlay{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  background:rgba(0,0,0,.68)!important;
}
.ji-search-modal__dialog{
  position:relative!important;
  z-index:1!important;
  width:min(1180px, calc(100vw - 2rem))!important;
  max-height:calc(100vh - 120px)!important;
  overflow:auto!important;
  margin:0 auto!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(0,0,0,.32)!important;
}
html.ji-search-open,
body.ji-search-open{
  overflow:hidden!important;
}
.ji-site-header,
.ji-site-header--lb,
.ji-site-header--municipal{
  z-index:8000!important;
}
.ji-accessibility{
  z-index:130000!important;
}
.ji-external-link-modal{
  z-index:125000!important;
}

/* Better contrast when modal darkens page */
.ji-search-modal__pills a{
  color:#f5a900!important;
  border-color:#f5a900!important;
}
.ji-search-modal__pills a:hover{
  background:#f5bd3d!important;
  color:#0f2f3f!important;
}

@media (max-width: 782px){
  .ji-search-modal{
    padding-top:88px!important;
  }
  .ji-search-modal__dialog{
    max-height:calc(100vh - 104px)!important;
  }
}

/* --- v4.4 readability fix for all interior heroes --- */
.ji-interior-hero{
  background:#2e3540!important;
  color:#ffffff!important;
}
.ji-interior-hero .ji-interior-hero__content,
.ji-interior-hero .ji-interior-hero__content *{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.ji-interior-hero .ji-kicker{
  color:#ff8f6a!important;
}
.ji-interior-hero h1,
.ji-interior-hero__content h1,
.ji-interior-hero__content .entry-title,
.single .ji-interior-hero h1,
.page .ji-interior-hero h1,
.archive .ji-interior-hero h1,
.search .ji-interior-hero h1,
.post-type-archive .ji-interior-hero h1{
  color:#ffffff!important;
  opacity:1!important;
  text-shadow:none!important;
}
.ji-interior-hero p,
.ji-interior-hero .archive-description,
.ji-interior-hero .archive-description p,
.ji-interior-hero .entry-subtitle{
  color:rgba(255,255,255,.94)!important;
}
/* override generic article heading rule inside dark headers */
.ji-article > .ji-interior-hero h1,
.ji-content-panel > .ji-interior-hero h1{
  color:#ffffff!important;
}


/* ==========================================================
   v5.0 limpieza visual institucional
   Objetivo: menos ruido, más aire, mayor elegancia y coherencia.
   ========================================================== */

/* Base cromática más contenida */
:root{
  --ji-v5-teal:#1f7a75;
  --ji-v5-teal-dark:#176a66;
  --ji-v5-yellow:#f5bd3d;
  --ji-v5-orange:#ef9440;
  --ji-v5-purple:#8e49aa;
  --ji-v5-ink:#12344a;
  --ji-v5-muted:#5f6b7a;
  --ji-v5-soft:#f5f8f7;
  --ji-v5-line:#e2e8ea;
  --ji-v5-shadow:0 14px 34px rgba(16, 45, 62, .10);
}

body{
  background:#f4f7f6!important;
  color:var(--ji-v5-ink)!important;
}

/* Header más bajo, limpio y con menor ruido */
.ji-site-header,
.ji-site-header--lb,
.ji-site-header--municipal{
  box-shadow:0 10px 26px rgba(0,0,0,.16)!important;
  background:#fff!important;
}

.ji-topbar{
  background:var(--ji-v5-teal)!important;
}

.ji-topbar__inner{
  min-height:56px!important;
  gap:1rem!important;
}

.ji-branding--top .ji-branding__text,
.ji-branding__text{
  gap:.65rem!important;
  font-size:1rem!important;
  line-height:1.1!important;
  max-width:360px!important;
}

.ji-branding__mark{
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
  font-size:.9rem!important;
  border:2px solid rgba(255,255,255,.7)!important;
}

.ji-branding__text span:last-child{
  font-size:clamp(1.05rem,1.5vw,1.35rem)!important;
  font-weight:850!important;
  line-height:1.15!important;
}

.ji-topbar__links{
  gap:.65rem!important;
  opacity:.96!important;
}

.ji-topbar__links a{
  font-size:.82rem!important;
  font-weight:700!important;
  color:#fff!important;
  opacity:.92!important;
}

.ji-topbar__links a:hover{
  opacity:1!important;
  color:#fff!important;
}

.ji-topbar__links a + a:before{
  content:"·";
  margin-right:.65rem;
  opacity:.45;
}

/* El buscador queda discreto */
.ji-top-search-trigger{
  width:34px!important;
  height:34px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}

/* Barra principal más institucional */
.ji-mainbar{
  background:#fff!important;
  border-bottom:1px solid var(--ji-v5-line)!important;
}

.ji-mainbar__inner{
  min-height:48px!important;
}

.ji-main-nav--mega>ul>li>a,
.ji-main-nav a{
  color:#0e3e3c!important;
  font-size:.86rem!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  padding:.58rem .45rem!important;
  border-radius:0!important;
  background:transparent!important;
}

.ji-main-nav--mega>ul>li>a:hover,
.ji-main-nav .current-menu-item>a{
  color:var(--ji-v5-teal)!important;
  background:transparent!important;
}

.ji-main-nav--mega>ul>li+li>a:before{
  margin:0 .75rem 0 .25rem!important;
  color:rgba(31,122,117,.55)!important;
  font-weight:500!important;
}

/* Accesos del header: menos dashboard, más CTA */
.ji-mainbar__actions{
  gap:.75rem!important;
  align-items:center!important;
}

.ji-mainbar__action--portal,
.ji-mainbar__action--tramites{
  color:#0e3e3c!important;
  font-size:.84rem!important;
  font-weight:800!important;
}

.ji-mainbar__separator{
  color:rgba(31,122,117,.65)!important;
  font-weight:600!important;
}

.ji-mainbar__action--phone{
  background:var(--ji-v5-yellow)!important;
  color:#fff!important;
  border-radius:999px!important;
  padding:.55rem 1rem!important;
  font-size:.86rem!important;
  min-height:36px!important;
  box-shadow:none!important;
}

/* Aviso institucional más fino */
.ji-independence-notice{
  background:#fff8e8!important;
  border-bottom:1px solid #f2d897!important;
  color:#3f4856!important;
  font-size:.86rem!important;
}

.ji-independence-notice .ji-container{
  padding:.45rem 1rem!important;
  line-height:1.35!important;
}

/* Hero principal: más aire, menos dureza */
.ji-home-hero,
.ji-home-hero--lb{
  background:#fff!important;
}

.ji-home-hero__media,
.ji-home-hero__visual,
.ji-hero-slider{
  min-height:clamp(380px, 58vh, 560px)!important;
}

.ji-home-hero__panel{
  background:#25313c!important;
}

.ji-home-hero__title,
.ji-hero-slide h1{
  font-weight:900!important;
  letter-spacing:-.045em!important;
}

.ji-hero-pills a{
  border-color:rgba(245,189,61,.88)!important;
  color:var(--ji-v5-yellow)!important;
  font-size:.88rem!important;
  padding:.45rem .75rem!important;
}

/* Accesos inferiores más livianos */
.ji-home-shortcuts .ji-shortcut{
  min-height:90px!important;
  padding:1.15rem 1.35rem!important;
}

.ji-home-shortcuts .ji-shortcut h3,
.ji-shortcut__title{
  font-size:clamp(1.1rem,1.65vw,1.35rem)!important;
  line-height:1.15!important;
}

/* Secciones: más aire y fondos controlados */
.ji-section,
.ji-block-section,
.ji-news-section,
.ji-events-showcase{
  padding:clamp(3.4rem, 6vw, 5.2rem) 0!important;
}

#tramites,
#noticias,
#directiva,
#destacados,
#galerias{
  background:#fff!important;
}

#eventos,
.ji-events-showcase{
  background:#f3f7f6!important;
}

.ji-block-heading--strict,
.ji-block-heading,
.ji-news-section__header{
  margin-bottom:1.65rem!important;
}

.ji-block-heading__title--bicolor,
.ji-news-section__title.ji-block-heading__title--bicolor{
  font-size:clamp(2.1rem, 4.4vw, 3.7rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  margin-bottom:.55rem!important;
}

.ji-block-heading__title--bicolor{
  color:var(--ji-v5-purple)!important;
}

.ji-block-heading__title--bicolor span{
  color:var(--ji-v5-orange)!important;
}

.ji-block-heading__text p,
.ji-news-section__intro,
.ji-events-showcase__header p:last-child{
  color:var(--ji-v5-muted)!important;
  font-size:.98rem!important;
  line-height:1.6!important;
}

/* Sistema único de cards: blanco, imagen cuando corresponde, CTA limpio */
.ji-card-system,
.ji-news-card,
.ji-unified-card:not(.ji-unified-card--independencia-service),
#destacados .ji-unified-card,
#galerias .ji-unified-card,
#directiva .ji-unified-card{
  background:#fff!important;
  border:1px solid var(--ji-v5-line)!important;
  box-shadow:var(--ji-v5-shadow)!important;
  border-radius:0!important;
  overflow:hidden!important;
}

.ji-card-system__body,
.ji-news-card__body,
.ji-unified-card__body{
  background:#fff!important;
  padding:1.15rem 1.25rem 1.2rem!important;
}

.ji-card-system__eyebrow,
.ji-news-card__category,
.ji-unified-card__top{
  color:var(--ji-v5-purple)!important;
  font-size:.82rem!important;
  font-weight:850!important;
  text-transform:none!important;
  letter-spacing:0!important;
  padding:1.05rem 1.25rem .15rem!important;
  background:#fff!important;
}

.ji-card-system__body h3,
.ji-card-system__body h3 a,
.ji-news-card__body h3,
.ji-news-card__body h3 a,
.ji-unified-card__body h3,
.ji-unified-card__body h3 a{
  color:#405579!important;
  font-size:1.08rem!important;
  line-height:1.28!important;
  font-weight:850!important;
  text-decoration:none!important;
}

.ji-card-system__body p,
.ji-news-card__body p,
.ji-unified-card__body p{
  color:#5d6b79!important;
  font-size:.96rem!important;
  line-height:1.58!important;
}

.ji-card-system__footer,
.ji-news-card__footer,
.ji-unified-card__footer{
  border-top:1px solid var(--ji-v5-line)!important;
  background:#fff!important;
  padding:.9rem 1.25rem 1rem!important;
}

.ji-card-system__footer a,
.ji-news-card__footer a,
.ji-unified-card__footer a{
  color:#0f4d4a!important;
  font-size:.92rem!important;
  font-weight:850!important;
  text-decoration:none!important;
}

.ji-card-system__footer a span,
.ji-news-card__footer a span,
.ji-unified-card__footer a span{
  background:var(--ji-v5-yellow)!important;
  color:#fff!important;
  width:1.85rem!important;
  height:1.85rem!important;
}

/* Hover sobrio: no cambia a colores ilegibles */
.ji-card-system:hover,
.ji-news-card:hover,
.ji-unified-card:hover{
  background:#fff!important;
  transform:translateY(-3px)!important;
  box-shadow:0 18px 42px rgba(16,45,62,.14)!important;
}

.ji-card-system:hover *,
.ji-news-card:hover *,
.ji-unified-card:hover *{
  opacity:1!important;
}

/* Trámites: más sobrios, menos cartel */
#tramites .ji-unified-card--independencia-service{
  background:#fff!important;
  border:1px solid var(--ji-v5-line)!important;
  box-shadow:var(--ji-v5-shadow)!important;
  padding-top:0!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__top{
  padding:1rem 1.15rem .25rem!important;
  color:var(--ji-v5-purple)!important;
  font-size:.82rem!important;
  font-weight:800!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__body{
  padding:.3rem 1.15rem 1.05rem!important;
  border-left:0!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{
  color:#405579!important;
  font-size:1.02rem!important;
  line-height:1.18!important;
  font-weight:850!important;
  margin-bottom:.6rem!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__body p{
  color:#5d6b79!important;
  font-size:.93rem!important;
  line-height:1.5!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__footer{
  border-top:1px solid var(--ji-v5-line)!important;
  background:#fff!important;
  padding:.85rem 1rem 1rem!important;
}

#tramites .ji-unified-card--independencia-service .ji-unified-card__footer a{
  border-radius:999px!important;
  background:var(--ji-v5-yellow)!important;
  color:#fff!important;
  min-height:38px!important;
  padding:.65rem .9rem!important;
  font-size:.82rem!important;
}

/* Directiva sin sensación de tarjeta pesada */
#directiva .ji-card-system--person,
#directiva .ji-unified-card{
  border-left:4px solid #3b7aa3!important;
}

#directiva .ji-card-system__body h3,
#directiva .ji-unified-card__body h3{
  font-size:1.08rem!important;
}

/* Botones amarillos solo para acciones importantes */
.ji-btn--news,
.ji-events-showcase__all,
.ji-mainbar__action--phone,
.ji-404-button{
  background:var(--ji-v5-yellow)!important;
  color:#fff!important;
  border-radius:999px!important;
  box-shadow:none!important;
  border:0!important;
}

.ji-btn--news:hover,
.ji-events-showcase__all:hover,
.ji-mainbar__action--phone:hover,
.ji-404-button:hover{
  background:#dea42a!important;
  color:#fff!important;
}

/* Interiores: cabeceras elegantes y legibles */
.ji-interior-shell{
  background:#f4f7f6!important;
}

.ji-interior-hero{
  background:#26313d!important;
  color:#fff!important;
  margin-bottom:1.75rem!important;
}

.ji-interior-hero__content{
  padding:2.4rem 1.8rem!important;
}

.ji-interior-hero h1{
  color:#fff!important;
  opacity:1!important;
  font-size:clamp(2rem, 4.4vw, 3.8rem)!important;
  letter-spacing:-.055em!important;
}

.ji-interior-hero .ji-kicker{
  color:#ff8f6a!important;
}

/* Modal de búsqueda: más fino, menos invasivo */
.ji-search-modal__dialog{
  border-radius:0!important;
  box-shadow:0 28px 70px rgba(0,0,0,.28)!important;
}

.ji-search-modal__pills a{
  border-color:var(--ji-v5-yellow)!important;
  color:#d69b17!important;
  font-size:.9rem!important;
}

/* Footer más institucional */
.ji-footer{
  background:var(--ji-v5-teal)!important;
}

.ji-footer__topband,
.ji-footer__bottom{
  background:var(--ji-v5-teal-dark)!important;
}

.ji-footer__grid{
  gap:2.2rem!important;
}

.ji-footer h2,
.ji-footer h3{
  font-weight:850!important;
}

.ji-footer p,
.ji-footer a,
.ji-footer li{
  font-size:.95rem!important;
  line-height:1.6!important;
}

/* Accesibilidad y back-to-top con menor presencia */
.ji-accessibility__toggle{
  width:54px!important;
  height:54px!important;
  background:var(--ji-v5-yellow)!important;
}

.ji-back-to-top{
  width:40px!important;
  height:40px!important;
  background:var(--ji-v5-yellow)!important;
  color:#23343f!important;
}

/* Responsive: simplificar más */
@media (max-width: 1160px){
  .ji-topbar__links a{
    font-size:.78rem!important;
  }
}

@media (max-width: 980px){
  .ji-topbar__links{
    display:none!important;
  }
  .ji-branding__text{
    max-width:none!important;
  }
  .ji-mainbar__actions{
    display:none!important;
  }
  .ji-mainbar__inner{
    min-height:54px!important;
  }
}

@media (max-width: 768px){
  .ji-block-heading__title--bicolor{
    font-size:clamp(2rem, 11vw, 3rem)!important;
  }
  .ji-section,
  .ji-block-section,
  .ji-news-section,
  .ji-events-showcase{
    padding:3rem 0!important;
  }
}


/* ==========================================================================
   v8.2 HARD FIX - footer gradient full width + card buttons blue
   This block is intentionally appended to main.css to defeat older cache/order.
   ========================================================================== */

:root{
  --ji-uk-blue:#2457e6!important;
  --ji-uk-navy:#0f2b63!important;
  --ji-uk-red:#cf142b!important;
  --ji-uk-red-dark:#ad1025!important;
  --ji-uk-white:#ffffff!important;
}

/* FOOTER: same exact gradient as header, full viewport width */
html body footer#contacto.ji-footer,
html body footer.ji-footer,
html body .ji-footer,
html body .ji-v5-footer{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding:0!important;
  background:#0f2b63!important;
  background-image:linear-gradient(90deg,#0f2b63 0%,#2457e6 62%,#cf142b 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}

/* absolutely remove inherited teal blocks inside footer */
html body footer#contacto.ji-footer::before,
html body footer#contacto.ji-footer::after,
html body footer.ji-footer::before,
html body footer.ji-footer::after{
  display:none!important;
  content:none!important;
}

html body footer#contacto.ji-footer .ji-footer__topband,
html body footer#contacto.ji-footer .ji-footer__grid,
html body footer#contacto.ji-footer .ji-footer__legal-main,
html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer#contacto.ji-footer .ji-container,
html body footer.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__legal-main,
html body footer.ji-footer .ji-container{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

html body footer#contacto.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__topband{
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}

html body footer#contacto.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__grid{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:3.5rem!important;
  padding-bottom:3.5rem!important;
}

html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer.ji-footer .ji-footer__bottom{
  width:100%!important;
  max-width:none!important;
  background:rgba(0,0,0,.24)!important;
  background-image:none!important;
  color:#fff!important;
  padding:1rem 0!important;
  margin:0!important;
}

html body footer#contacto.ji-footer .ji-footer__bottom .ji-container,
html body footer.ji-footer .ji-footer__bottom .ji-container{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html body footer#contacto.ji-footer,
html body footer#contacto.ji-footer h1,
html body footer#contacto.ji-footer h2,
html body footer#contacto.ji-footer h3,
html body footer#contacto.ji-footer p,
html body footer#contacto.ji-footer li,
html body footer#contacto.ji-footer a,
html body footer#contacto.ji-footer strong,
html body footer#contacto.ji-footer span,
html body footer.ji-footer,
html body footer.ji-footer h1,
html body footer.ji-footer h2,
html body footer.ji-footer h3,
html body footer.ji-footer p,
html body footer.ji-footer li,
html body footer.ji-footer a,
html body footer.ji-footer strong,
html body footer.ji-footer span{
  color:#fff!important;
}

/* CARD BUTTONS: no yellow. All internal card buttons are blue. */
html body #tramites .ji-unified-card__footer a,
html body #quienes-somos .ji-unified-card__footer a,
html body #documentos .ji-unified-card__footer a,
html body #directorio .ji-unified-card__footer a,
html body #destacados .ji-card-system__footer a,
html body #noticias .ji-card-system__footer a,
html body #galerias .ji-card-system__footer a,
html body #directiva .ji-card-system__footer a,
html body .ji-tramite-card .ji-unified-card__footer a,
html body .ji-document-card .ji-unified-card__footer a,
html body .ji-about-card .ji-unified-card__footer a,
html body .ji-directory-card .ji-unified-card__footer a,
html body .ji-card-system__footer a,
html body .ji-unified-card__footer a{
  background:#2457e6!important;
  background-image:none!important;
  border:2px solid #2457e6!important;
  color:#fff!important;
  box-shadow:none!important;
}

html body #tramites .ji-unified-card__footer a:hover,
html body #quienes-somos .ji-unified-card__footer a:hover,
html body #documentos .ji-unified-card__footer a:hover,
html body #directorio .ji-unified-card__footer a:hover,
html body #destacados .ji-card-system__footer a:hover,
html body #noticias .ji-card-system__footer a:hover,
html body #galerias .ji-card-system__footer a:hover,
html body #directiva .ji-card-system__footer a:hover,
html body .ji-card-system__footer a:hover,
html body .ji-unified-card__footer a:hover{
  background:#0f2b63!important;
  background-image:none!important;
  border-color:#0f2b63!important;
  color:#fff!important;
}

/* button arrow circles */
html body .ji-card-system__footer a span,
html body .ji-unified-card__footer a span{
  background:#fff!important;
  color:#2457e6!important;
}

/* keep section-level CTAs red */
html body .ji-block-heading__cta .ji-btn,
html body .ji-block-heading__cta .ji-btn--news,
html body .ji-news-section__cta .ji-btn,
html body .ji-news-section__cta .ji-btn--news,
html body .ji-clean-call,
html body .ji-cert-verify__form button,
html body .ji-cert-action--primary{
  background:#cf142b!important;
  background-image:none!important;
  border-color:#cf142b!important;
  color:#fff!important;
}



/* v8.3 - Trámites reconstruidos + copyright azul sólido */

/* Copyright/footer bottom azul sólido */
html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer.ji-footer .ji-footer__bottom,
html body .ji-footer__bottom{
  background:#0f2b63!important;
  background-image:none!important;
  color:#fff!important;
}

/* Sección trámites completamente aislada de estilos antiguos */
html body #tramites.ji-tramites-rebuild{
  background:linear-gradient(180deg,#f4f7ff 0%,#eef4ff 100%)!important;
  padding:clamp(3.8rem,6vw,5.6rem) 0!important;
  margin:0!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:1rem!important;
  margin:0 0 1.7rem!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2{
  margin:0 0 .45rem!important;
  color:#cf142b!important;
  font-size:clamp(2.4rem,5vw,4.2rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2 span{
  color:#2457e6!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header p{
  margin:0!important;
  max-width:680px!important;
  color:#425270!important;
  font-size:1rem!important;
  line-height:1.55!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__group{
  margin-top:1.8rem!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__group h3{
  margin:0 0 1.1rem!important;
  color:#0f2b63!important;
  font-size:1.35rem!important;
  line-height:1.2!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__note{
  margin:-.5rem 0 1rem!important;
  color:#51627f!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1.35rem!important;
  align-items:stretch!important;
}

/* Card desde cero */
html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:230px!important;
  background:#fff!important;
  border:1px solid #d8e2fb!important;
  border-radius:0!important;
  box-shadow:0 16px 34px rgba(15,43,99,.075)!important;
  overflow:hidden!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__tag{
  padding:1.05rem 1.15rem .15rem!important;
  color:#2457e6!important;
  background:#fff!important;
  font-size:.86rem!important;
  line-height:1.1!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body{
  flex:1 1 auto!important;
  padding:.3rem 1.15rem 1rem!important;
  background:#fff!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body h4{
  margin:0 0 .65rem!important;
  color:#0d214a!important;
  font-size:1.08rem!important;
  line-height:1.2!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body p{
  margin:0!important;
  color:#51627f!important;
  font-size:.96rem!important;
  line-height:1.55!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer{
  margin-top:auto!important;
  padding:1rem!important;
  background:#fff!important;
  border-top:1px solid #d8e2fb!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.5rem!important;
  width:100%!important;
  min-height:46px!important;
  border-radius:999px!important;
  padding:.75rem 1rem!important;
  background:#2457e6!important;
  background-image:none!important;
  border:2px solid #2457e6!important;
  color:#fff!important;
  text-decoration:none!important;
  text-align:center!important;
  font-size:.88rem!important;
  line-height:1.1!important;
  font-weight:950!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a:hover{
  background:#0f2b63!important;
  border-color:#0f2b63!important;
  color:#fff!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a span{
  width:28px!important;
  height:28px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#2457e6!important;
  flex:0 0 28px!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card--external .ji-tramite-rebuild-card__tag{
  color:#cf142b!important;
}

@media (max-width:980px){
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:640px){
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
    grid-template-columns:1fr!important;
  }
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2{
    font-size:2.45rem!important;
  }
}



/* v8.4 - Hero compacto para que las 4 opciones se vean en la primera pantalla */

/* Evita scroll horizontal causado por hacks de ancho de footer/viewport */
html,
body{
  overflow-x:hidden!important;
}

/* La primera pantalla debe incluir header + hero + franja de 4 opciones */
html body .ji-clean-hero.ji-clean-hero--dashboard{
  padding:0!important;
  margin:0!important;
  background:#eef4ff!important;
}

html body .ji-clean-hero__shell{
  min-height:0!important;
  height:clamp(420px, calc(100vh - 245px), 560px)!important;
  max-height:560px!important;
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) 420px!important;
  align-items:stretch!important;
  gap:0!important;
}

html body .ji-clean-hero__media,
html body .ji-hero-slider,
html body .ji-hero-slider__track,
html body .ji-hero-slide,
html body .ji-clean-dashboard{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}

html body .ji-hero-slide{
  background-size:cover!important;
  background-position:center!important;
}

html body .ji-clean-hero__content{
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:clamp(2rem,4vw,3.2rem)!important;
  max-width:850px!important;
}

html body .ji-clean-hero__eyebrow{
  font-size:clamp(.8rem,1vw,1rem)!important;
  margin-bottom:.65rem!important;
}

html body .ji-clean-hero__content h1{
  font-size:clamp(3.1rem,5.7vw,5.2rem)!important;
  line-height:.96!important;
  margin:0 0 1rem!important;
  letter-spacing:-.055em!important;
}

html body .ji-clean-hero__content p:not(.ji-clean-hero__eyebrow){
  font-size:clamp(1rem,1.25vw,1.25rem)!important;
  line-height:1.45!important;
  max-width:780px!important;
}

/* Panel lateral más compacto */
html body .ji-clean-dashboard{
  padding:clamp(1.6rem,2.4vw,2.4rem) clamp(1.2rem,2vw,2rem)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}

html body .ji-clean-dashboard h2{
  font-size:clamp(2rem,3.2vw,3.2rem)!important;
  line-height:1!important;
  margin:0 0 1rem!important;
}

html body .ji-clean-dashboard__search{
  min-height:54px!important;
  margin-bottom:1rem!important;
}

html body .ji-clean-dashboard__pills{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.75rem!important;
}

html body .ji-clean-dashboard__pills a{
  min-height:52px!important;
  padding:.55rem .7rem!important;
  font-size:.92rem!important;
  line-height:1.12!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

/* Franja de 4 opciones: compacta, visible y sin empujar fuera de la primera vista */
html body .ji-home-shortcuts,
html body .ji-home-shortcuts--v55{
  margin:0!important;
  padding:0!important;
}

html body .ji-home-shortcuts .ji-shortcut,
html body .ji-home-shortcuts--v55 .ji-shortcut{
  min-height:86px!important;
  height:86px!important;
  padding:1rem 1.15rem!important;
}

html body .ji-home-shortcuts .ji-shortcut__text,
html body .ji-home-shortcuts--v55 .ji-shortcut__text{
  font-size:clamp(.92rem,1vw,1.12rem)!important;
  line-height:1.08!important;
}

html body .ji-home-shortcuts .ji-shortcut__icon,
html body .ji-home-shortcuts--v55 .ji-shortcut__icon{
  width:34px!important;
  height:34px!important;
  flex-basis:34px!important;
}

/* Flechas del slider menos invasivas */
html body .ji-hero-slider__arrow{
  width:44px!important;
  height:44px!important;
  font-size:2rem!important;
}

/* Tablets */
@media (max-width:1100px){
  html body .ji-clean-hero__shell{
    grid-template-columns:minmax(0, 1fr) 360px!important;
    height:clamp(410px, calc(100vh - 235px), 530px)!important;
  }
  html body .ji-clean-dashboard__pills a{
    font-size:.84rem!important;
  }
  html body .ji-clean-hero__content h1{
    font-size:clamp(2.7rem,5.1vw,4.5rem)!important;
  }
}

/* Mobile: se apila, pero mantiene accesos visibles rápidamente */
@media (max-width:920px){
  html body .ji-clean-hero__shell{
    height:auto!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track,
  html body .ji-hero-slide{
    height:420px!important;
    min-height:420px!important;
  }
  html body .ji-clean-dashboard{
    height:auto!important;
    min-height:0!important;
    padding:1.25rem!important;
  }
  html body .ji-clean-dashboard h2{
    font-size:2rem!important;
  }
  html body .ji-clean-dashboard__pills{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .ji-home-shortcuts .ji-shortcut,
  html body .ji-home-shortcuts--v55 .ji-shortcut{
    height:auto!important;
    min-height:82px!important;
  }
}

@media (max-width:640px){
  html body .ji-hero-slide{
    height:360px!important;
    min-height:360px!important;
  }
  html body .ji-clean-hero__content{
    padding:1.35rem!important;
  }
  html body .ji-clean-hero__content h1{
    font-size:2.6rem!important;
  }
  html body .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}



/* v8.6 - hero móvil sin espacio vacío + screenshot actualizado */

/* Seguridad contra scroll horizontal */
html,
body{
  overflow-x:hidden!important;
}

/* Móvil: el hero no debe dejar una franja vacía entre imagen y dashboard */
@media (max-width: 920px){
  html body .ji-clean-hero.ji-clean-hero--dashboard{
    background:#0f2b63!important;
    padding:0!important;
    margin:0!important;
  }

  html body .ji-clean-hero__shell{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    background:#0f2b63!important;
  }

  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:#0f2b63!important;
  }

  html body .ji-hero-slide{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/5!important;
    background-size:cover!important;
    background-position:center center!important;
    display:flex!important;
    align-items:center!important;
  }

  html body .ji-hero-slide.is-active{
    display:flex!important;
  }

  html body .ji-clean-hero__content{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:2.4rem 1.7rem!important;
    justify-content:center!important;
  }

  html body .ji-clean-hero__content h1{
    font-size:clamp(3.2rem,13vw,5.2rem)!important;
    line-height:.95!important;
    margin:0 0 1rem!important;
  }

  html body .ji-clean-hero__content p:not(.ji-clean-hero__eyebrow){
    font-size:clamp(1.05rem,5vw,1.55rem)!important;
    line-height:1.35!important;
  }

  html body .ji-clean-dashboard{
    margin:0!important;
    padding:1.4rem 1.1rem 1.6rem!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:#0f2b63!important;
    border-top:0!important;
  }

  html body .ji-clean-dashboard h2{
    margin:0 0 .9rem!important;
    font-size:clamp(2.5rem,10vw,3.9rem)!important;
    line-height:.95!important;
  }

  html body .ji-clean-dashboard__search{
    min-height:52px!important;
    margin-bottom:1rem!important;
  }

  html body .ji-clean-dashboard__pills{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:.65rem!important;
  }

  html body .ji-clean-dashboard__pills a{
    min-height:46px!important;
    padding:.5rem .55rem!important;
    font-size:.82rem!important;
    line-height:1.12!important;
  }

  html body .ji-hero-slider__arrow{
    top:52%!important;
    width:44px!important;
    height:64px!important;
    font-size:2.4rem!important;
  }

  html body .ji-home-shortcuts .ji-shortcut,
  html body .ji-home-shortcuts--v55 .ji-shortcut{
    min-height:76px!important;
    height:auto!important;
  }
}

@media (max-width: 520px){
  html body .ji-hero-slide{
    aspect-ratio:4/4.6!important;
    background-position:center center!important;
  }

  html body .ji-clean-hero__content{
    padding:2rem 1.45rem!important;
  }

  html body .ji-clean-dashboard{
    padding:1.25rem 1rem 1.4rem!important;
  }
}

@media (max-width: 390px){
  html body .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v132-community-portal.css
   ============================================================ */
/* v13.10.20 community portal refinements */
.ji-tramites-rebuild__all{display:flex;justify-content:center;margin:22px 0 8px}
.ji-tramites-rebuild__all .ji-btn{display:inline-flex;align-items:center;gap:8px}
.ji-documentation-page,.ji-all-tramites-page{max-width:1180px;margin:0 auto;padding:48px 20px}
.ji-documentation-page__head,.ji-all-tramites-page__head{max-width:820px;margin:0 auto 30px}
.ji-documentation-page__head h1,.ji-all-tramites-page__head h1{margin:.2em 0 .35em}
.ji-documentation-page__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ji-address-checker{margin:0 0 28px;padding:24px;border:1px solid rgba(15,61,62,.16);border-radius:18px;background:#fff}
.ji-address-checker__head h3{margin:.2em 0 .35em}
.ji-address-checker__form{display:grid;grid-template-columns:1.4fr .6fr auto;gap:14px;align-items:end}
.ji-address-checker__form label,.ji-reviews-form label{display:flex;flex-direction:column;gap:6px;font-weight:700}
.ji-address-checker__form input,.ji-reviews-form input,.ji-reviews-form select,.ji-reviews-form textarea{width:100%;box-sizing:border-box}
.ji-address-checker__result{margin-top:16px;padding:14px 16px;border-radius:12px}
.ji-address-checker__result--inside{background:#eef8f2;border:1px solid #b7dfc6}
.ji-address-checker__result--outside{background:#fff4f0;border:1px solid #efc3b4}
.ji-address-checker__rules{margin-top:18px}
.ji-address-checker__rules ul{columns:2;margin:10px 0}
.ji-reviews-form{margin-top:32px;padding:28px;border:1px solid rgba(15,61,62,.16);border-radius:18px;background:#fff}
.ji-reviews-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ji-reviews-form__wide{grid-column:1/-1}
.ji-reviews-form__privacy{font-size:.9rem;line-height:1.55}
.ji-reviews-form__hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.ji-trade-card__rating{margin:8px 0 12px}
.ji-trade-card__rating--empty{font-size:.86rem;opacity:.7}
.ji-trade-card__actions{margin-top:16px}
.ji-rating{display:inline-flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:.9rem}
.ji-rating__stars,.ji-testimonial__stars{letter-spacing:1px}
.ji-rating__count{opacity:.75}
.ji-testimonials{margin-top:44px}
.ji-testimonial{padding:22px;border:1px solid rgba(15,61,62,.13);border-radius:16px;background:#fff}
.ji-testimonial blockquote{margin:12px 0;font-size:1rem;line-height:1.55}
.ji-testimonial p{margin-bottom:0;font-size:.9rem}
@media (max-width: 800px){
 .ji-documentation-page__grid{grid-template-columns:1fr}
 .ji-address-checker__form,.ji-reviews-form__grid{grid-template-columns:1fr}
 .ji-reviews-form__wide{grid-column:auto}
 .ji-address-checker__rules ul{columns:1}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v133-community-fixes.css
   ============================================================ */
/* v13.10.24 - final footer, phone and directiva readability fixes */

/* Webmail: icon-only permanent footer control. */
html body .ji-webmail-float{
  position:fixed!important;right:24px!important;bottom:24px!important;z-index:9998!important;
  width:56px!important;height:56px!important;border-radius:50%!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:#2457e6!important;color:#fff!important;border:3px solid #fff!important;
  box-shadow:0 10px 28px rgba(15,43,99,.25)!important;text-decoration:none!important;
}
html body .ji-webmail-float svg{width:27px!important;height:27px!important;display:block!important}
html body .ji-webmail-float:hover{background:#0f2b63!important;color:#fff!important;transform:translateY(-2px)!important}

/* Full procedures page: isolate cards from legacy article styles */
html body .ji-all-tramites-page{max-width:1240px!important;margin:0 auto!important;padding:48px 28px 72px!important}
html body .ji-all-tramites-page__head{max-width:900px!important;margin:0 auto 34px!important}
html body .ji-all-tramites-page__head h1{font-size:clamp(2.6rem,5vw,4.5rem)!important;line-height:1!important;margin:.2em 0 .35em!important}
html body .ji-all-tramites-page .ji-tramites-rebuild__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:300px!important;width:auto!important;box-sizing:border-box!important;background:#fff!important;border:1px solid #d8e2fb!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 12px 30px rgba(15,43,99,.08)!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__tag{padding:18px 20px 5px!important;font-size:.85rem!important;line-height:1.2!important;font-weight:800!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__body{flex:1 1 auto!important;padding:6px 20px 18px!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__body h2,html body .ji-all-tramites-page .ji-tramite-rebuild-card__body h4{margin:0 0 12px!important;font-size:1.3rem!important;line-height:1.22!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__body p{margin:0!important;line-height:1.55!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__footer{margin-top:auto!important;padding:16px 20px 20px!important;border-top:1px solid #e5ebf7!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__footer a{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;min-height:46px!important;padding:10px 14px!important;border-radius:999px!important;background:#2457e6!important;color:#fff!important;text-decoration:none!important;font-weight:800!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card__footer a span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;border-radius:50%!important;background:#fff!important;color:#2457e6!important}
html body .ji-all-tramites-page .ji-tramite-rebuild-card--external .ji-tramite-rebuild-card__tag{color:#cf142b!important}
@media (max-width:980px){html body .ji-all-tramites-page .ji-tramites-rebuild__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){html body .ji-all-tramites-page{padding:32px 18px 54px!important}html body .ji-all-tramites-page .ji-tramites-rebuild__grid{grid-template-columns:1fr!important}}

/* v13.10.22 community UX */
.ji-rating__stars,.ji-testimonial__stars{color:#f5c518!important;text-shadow:0 1px 0 rgba(0,0,0,.08)}
.ji-trade-card__category{gap:7px!important;align-items:center!important;background:linear-gradient(135deg,#eef4ff,#fff7d6)!important;border-color:#dbe5ff!important}
.ji-trade-card__category-icon,.ji-category-icon{font-size:1.15em;line-height:1}
.ji-trade-card__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ji-trade-card__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border-radius:999px;background:#2956e8;color:#fff!important;text-decoration:none;font-weight:850}
.ji-trade-card__actions .ji-trade-card__correct{background:#fff1f2;color:#b4233c!important;border:1px solid #fecdd3}
.ji-whatsapp-link{display:inline-flex!important;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;background:#25D366!important;color:#fff!important;text-decoration:none!important;box-shadow:0 5px 12px rgba(37,211,102,.25)}
.ji-whatsapp-link svg{width:25px;height:25px;display:block}
.ji-reviews-form__modal[hidden]{display:none!important}
.ji-reviews-form__modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px}
.ji-review-modal__overlay{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}
.ji-review-modal__dialog{position:relative;z-index:1;width:min(680px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:22px;padding:28px;box-shadow:0 24px 70px rgba(15,23,42,.28)}
.ji-review-modal__close{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#eef2f7;color:#172033;font-size:27px;line-height:1;cursor:pointer}
.ji-review-modal__dialog h3{margin:0 40px 8px 0;color:#0f2f80;font-size:clamp(1.5rem,4vw,2rem)}
.ji-review-modal__dialog form{display:grid;gap:14px;margin-top:18px}
.ji-review-modal__dialog label{display:flex;flex-direction:column;gap:6px;font-weight:750;color:#24344d}
.ji-review-modal__dialog input,.ji-review-modal__dialog select,.ji-review-modal__dialog textarea{width:100%;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:11px;padding:10px 12px}
body.ji-review-modal-open{overflow:hidden}
.ji-unified-card__top .ji-category-icon{display:inline-block;margin-right:4px}
@media(max-width:640px){.ji-review-modal__dialog{padding:22px 18px}.ji-trade-card__actions{align-items:stretch}.ji-trade-card__actions a{flex:1 1 100%}}
/* Webmail is a permanent footer link, never a floating control. */
html body .ji-webmail-float{position:static!important;width:auto!important;height:auto!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:inline-flex!important;color:inherit!important;transform:none!important;padding:0!important}
html body .ji-webmail-float svg{width:20px!important;height:20px!important}
html body .ji-webmail-float:hover{background:transparent!important;color:inherit!important;transform:none!important}
.ji-footer__webmail{margin-top:12px}
.ji-footer__webmail a{display:inline-flex;align-items:center;gap:8px;font-weight:800}


/* v13.10.23 final corrections */
.ji-footer__bottom-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;width:min(calc(100% - 32px),var(--ji-container,1180px))!important;margin-inline:auto!important}
.ji-footer__copyright{min-width:0}
.ji-footer__webmail{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;margin:0 0 0 auto!important;padding:0!important;border-radius:50%!important;background:#2457e6!important;color:#fff!important;text-decoration:none!important;box-shadow:0 5px 14px rgba(0,0,0,.28)!important;border:2px solid rgba(255,255,255,.9)!important}
.ji-footer__webmail svg{width:22px!important;height:22px!important;display:block!important}
.ji-footer__webmail:hover,.ji-footer__webmail:focus-visible{background:#f5c518!important;color:#0f2b63!important;transform:translateY(-1px)!important}

/* The modal controls live outside the directory cards, so delegation must work document-wide. */
.ji-reviews-form__modal{display:flex!important}
.ji-reviews-form__modal[hidden]{display:none!important}

/* Directiva: no dark panel behind blue text. */
.single-ji_directiva .ji-interior-hero,
.single-ji_directiva .ji-interior-hero--single{background:#fff!important;background-image:none!important;color:#0f2f80!important;border:1px solid #d6e0ff!important;box-shadow:0 10px 24px rgba(15,23,42,.06)!important}
.single-ji_directiva .ji-interior-hero .ji-interior-hero__content,
.single-ji_directiva .ji-interior-hero .ji-interior-hero__content *{background:transparent!important;color:#0f2f80!important;-webkit-text-fill-color:#0f2f80!important;text-shadow:none!important}
.single-ji_directiva .ji-interior-hero .ji-kicker{color:#c65f3d!important;-webkit-text-fill-color:#c65f3d!important}
.single-ji_directiva .ji-detail-box{background:#fff!important;color:#24344d!important;border:1px solid #d6e0ff!important;border-left:4px solid #2956e8!important;box-shadow:none!important}
.single-ji_directiva .ji-detail-box dt{color:#0f2f80!important}
.single-ji_directiva .ji-detail-box dd{color:#24344d!important}

@media(max-width:640px){.ji-footer__bottom-inner{align-items:flex-start!important}.ji-footer__webmail{flex-basis:40px!important;width:40px!important;height:40px!important}}


/* v13.10.24: final accessibility/readability corrections. */
html body .ji-footer__bottom-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
html body .ji-footer__copyright{flex:1 1 auto!important;min-width:0!important}
html body .ji-footer__webmail{flex:0 0 44px!important;width:44px!important;height:44px!important;background:#2457e6!important;color:#fff!important;border:2px solid #fff!important;opacity:1!important;visibility:visible!important}
html body .ji-footer__webmail svg{stroke:currentColor!important;color:inherit!important}
html body .single-ji_directiva .ji-interior-hero,
html body.single-ji_directiva .ji-interior-hero,
html body.single-ji_directiva article .ji-interior-hero{background:#fff!important;background-image:none!important;color:#17365d!important;border:1px solid #d7e3f5!important;box-shadow:0 8px 24px rgba(16,45,62,.08)!important}
html body.single-ji_directiva .ji-interior-hero__content,
html body.single-ji_directiva .ji-interior-hero__content *{background:#fff!important;background-image:none!important;color:#17365d!important;-webkit-text-fill-color:#17365d!important;text-shadow:none!important;opacity:1!important}
html body.single-ji_directiva .ji-interior-hero__content .ji-kicker{color:#c65f3d!important;-webkit-text-fill-color:#c65f3d!important}
html body.single-ji_directiva .ji-interior-hero__content h1{color:#17365d!important;-webkit-text-fill-color:#17365d!important}
html body.single-ji_directiva .ji-content-panel,
html body.single-ji_directiva .ji-content-panel__inner{background:#fff!important;color:#24344d!important}
@media(max-width:640px){html body .ji-footer__bottom-inner{align-items:center!important}.ji-footer__webmail{flex-basis:42px!important;width:42px!important;height:42px!important}}

/* ============================================================
   ORIGEN CONSOLIDADO: v134-transparency-institutional.css
   ============================================================ */
/* v13.11.2 — Dedicated institutional pages and high-legibility Transparency Portal */
.ji-transparency-template .ji-platform-page,
.ji-transparency-page{
  width:min(1180px,calc(100% - 40px));
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  color:#17324d;
}
.ji-transparency-page .ji-transparency-hero{
  background:#fff!important;
  background-image:none!important;
  color:#17324d!important;
  border:1px solid #dbe5ef;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(23,50,77,.07);
  padding:clamp(2rem,4vw,3.5rem);
}
.ji-transparency-page .ji-transparency-hero *{color:inherit!important;text-shadow:none!important;opacity:1!important}
.ji-transparency-page .ji-transparency-hero .ji-kicker{color:#b05b2d!important}
.ji-transparency-page .ji-transparency-hero h1{color:#123b63!important;font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;margin:.25rem 0 1rem}
.ji-transparency-page .ji-transparency-hero p:last-child{color:#4b6074!important;max-width:760px;font-size:1.08rem;line-height:1.75;margin:0}
.ji-transparency-intro{display:flex;align-items:end;justify-content:space-between;gap:2rem;padding:clamp(2.5rem,5vw,4rem) 0 1.5rem}
.ji-transparency-intro h2{margin:.25rem 0 .5rem;color:#123b63;font-size:clamp(1.5rem,2.5vw,2.1rem)}
.ji-transparency-intro p:last-child{margin:0;color:#526679;line-height:1.7;max-width:720px}
.ji-transparency-count{min-width:180px;text-align:center;padding:1rem 1.25rem;background:#f5f8fb;border:1px solid #dbe5ef;border-radius:16px}
.ji-transparency-count strong{display:block;font-size:2rem;line-height:1;color:#123b63}.ji-transparency-count span{display:block;margin-top:.45rem;color:#526679;font-size:.9rem}
.ji-transparency-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:0 0 3rem}
.ji-transparency-category-card{display:flex;align-items:center;gap:.9rem;min-height:92px;padding:1rem 1.1rem;background:#fff;border:1px solid #dbe5ef;border-radius:16px;text-decoration:none;box-shadow:0 6px 18px rgba(23,50,77,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.ji-transparency-category-card:hover,.ji-transparency-category-card:focus-visible{transform:translateY(-2px);border-color:#8aa9c4;box-shadow:0 10px 25px rgba(23,50,77,.1)}
.ji-transparency-category-card__icon,.ji-transparency-group__icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:#eaf2f8;color:#1e638d;font-size:1.25rem;font-weight:800}
.ji-transparency-category-card__content{display:flex;flex-direction:column;gap:.25rem}.ji-transparency-category-card strong{color:#17324d;font-size:.98rem;line-height:1.25}.ji-transparency-category-card small{color:#6a7a8a}
.ji-transparency-groups{display:grid;gap:2.5rem;padding-bottom:3rem}
.ji-transparency-group{scroll-margin-top:120px}
.ji-transparency-group__heading{display:flex;gap:1rem;align-items:center;margin-bottom:1rem;padding-bottom:.9rem;border-bottom:1px solid #dbe5ef}
.ji-transparency-group__heading h2{margin:.1rem 0 .25rem;color:#123b63;font-size:1.45rem}.ji-transparency-group__heading p:last-child{margin:0;color:#69798a}.ji-transparency-group__icon{background:#123b63;color:#fff}
.ji-transparency-doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.ji-transparency-doc-card{display:flex;flex-direction:column;min-height:220px;padding:1.35rem;background:#fff;border:1px solid #dbe5ef;border-radius:18px;box-shadow:0 7px 22px rgba(23,50,77,.055)}
.ji-transparency-doc-card__top{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.8rem;color:#6b7b8b;font-size:.8rem}.ji-transparency-doc-card__type{text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#28708f}.ji-transparency-doc-card time{white-space:nowrap}
.ji-transparency-doc-card h3{margin:0;color:#17324d;font-size:1.1rem;line-height:1.35}.ji-transparency-doc-card>p{color:#596b7c;line-height:1.6;margin:.65rem 0}.ji-transparency-doc-card__period{font-size:.88rem!important;color:#365b75!important;font-weight:700}
.ji-transparency-doc-card__link{margin-top:auto;padding-top:1rem;color:#155b85;font-weight:800;text-decoration:none}.ji-transparency-doc-card__link:hover{text-decoration:underline}
.ji-transparency-empty{background:#f7fafc;border:1px solid #dbe5ef;color:#526679;border-radius:18px;padding:2rem}.ji-transparency-empty h2{color:#17324d}
.ji-directiva-institutional-grid{display:grid;gap:.9rem;margin-top:1.5rem}.ji-directiva-fact{line-height:1.65;color:#334e68}.ji-directiva-fact strong{color:#123b63}.ji-directiva-fact span{color:#4e6579}
@media(max-width:1000px){.ji-transparency-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ji-transparency-doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.ji-transparency-intro{display:block}.ji-transparency-count{margin-top:1rem;text-align:left}.ji-transparency-category-grid,.ji-transparency-doc-grid{grid-template-columns:1fr}.ji-transparency-page .ji-transparency-hero{border-radius:16px;padding:1.5rem}.ji-transparency-doc-card{min-height:0}}

/* v13.11.3 — refined institutional container and card rhythm */
.ji-transparency-page .ji-transparency-hero,
.ji-transparency-page .ji-transparency-intro,
.ji-transparency-page .ji-transparency-category-grid,
.ji-transparency-page .ji-transparency-groups{
  width:100%;
  box-sizing:border-box;
}
.ji-transparency-page .ji-transparency-category-grid{
  align-items:stretch;
  gap:1.25rem;
}
.ji-transparency-page .ji-transparency-category-card{
  width:100%;
  box-sizing:border-box;
}
.ji-transparency-page .ji-transparency-doc-grid{
  width:100%;
  align-items:stretch;
  gap:1.25rem;
}
.ji-transparency-page .ji-transparency-doc-card{
  width:100%;
  box-sizing:border-box;
}
@media(max-width:680px){
  .ji-transparency-page{width:min(100% - 28px,1180px);}
}

/* ============================================================
   ORIGEN CONSOLIDADO: responsive.css
   ============================================================ */
@media (max-width: 920px){.ji-menu-toggle{display:block}.ji-main-nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--ji-border);box-shadow:0 18px 35px rgba(0,0,0,.08);display:none}.ji-main-nav.is-open{display:block}.ji-main-nav ul{display:block;padding:.75rem}.ji-main-nav a{padding:1rem;border-radius:12px}.ji-grid--3,.ji-gallery-grid,.ji-split,.ji-footer__grid{grid-template-columns:1fr}.ji-section__header--row{display:block}.ji-link-grid{grid-template-columns:1fr}.ji-event-item{grid-template-columns:88px 1fr}.ji-topbar__inner{display:block;padding:.55rem 0}.ji-header__inner{min-height:72px}.ji-hero{padding:4rem 0}.ji-service-card{min-height:auto}}
@media (max-width: 560px){.ji-container{width:min(calc(100% - 24px),var(--ji-container))}.ji-actions{display:grid}.ji-btn{width:100%}.ji-event-item{grid-template-columns:1fr}.ji-event-date{min-height:58px}.ji-card__body,.ji-service-card{padding:1.1rem}.ji-footer__grid{padding:2.2rem 0}.ji-hero h1{font-size:2.25rem}}
@media (max-width: 920px){.ji-home-hero__grid{grid-template-columns:1fr}.ji-home-shortcuts__grid,.ji-news-grid{grid-template-columns:1fr}.ji-home-hero__panel{min-height:auto}.ji-hero-pills{justify-content:flex-start}.ji-shortcut{min-height:96px}}
@media (max-width: 560px){.ji-hero-search input{height:48px}.ji-hero-pills a{padding:.55rem .8rem;font-size:.93rem}.ji-home-hero__eyebrow{font-size:.72rem}.ji-shortcut{padding:1rem 1rem 1rem 1.2rem}.ji-shortcut__text{font-size:1.25rem}.ji-news-card__body p{font-size:.96rem}}
@media (max-width: 920px){.ji-block-heading__title{font-size:2rem}.ji-gallery-grid--refresh,.ji-unified-grid{grid-template-columns:1fr}.ji-definition-list{grid-template-columns:1fr}.ji-content-panel{padding:1rem}.ji-content-panel__inner{padding:1rem}}
@media (max-width: 560px){.ji-interior-hero__content{padding:1.25rem 1rem}.ji-block-heading__title{padding:.95rem 1rem;font-size:1.7rem}.ji-unified-card__top,.ji-unified-card__body,.ji-unified-card__footer{padding-left:1rem;padding-right:1rem}}

/* ============================================================
   ORIGEN CONSOLIDADO: accessibility.css
   ============================================================ */
.ji-accessibility{position:fixed;right:18px;bottom:18px;z-index:9999}.ji-accessibility__toggle{background:var(--ji-accent);color:#fff;border:0;border-radius:999px;padding:.85rem 1rem;font-weight:900;box-shadow:0 12px 30px rgba(0,0,0,.2)}.ji-accessibility__panel{position:absolute;right:0;bottom:56px;width:230px;background:#fff;color:var(--ji-text);border:1px solid var(--ji-border);border-radius:16px;box-shadow:0 20px 45px rgba(0,0,0,.18);padding:.6rem}.ji-accessibility__panel button{width:100%;text-align:left;background:transparent;border:0;border-radius:10px;padding:.65rem .75rem;color:var(--ji-text);font-weight:700}.ji-accessibility__panel button:hover{background:rgba(15,61,62,.08)}body.ji-font-large{font-size:18px}body.ji-font-xlarge{font-size:20px}body.ji-high-contrast{background:#000!important;color:#fff!important}body.ji-high-contrast .ji-site-header,body.ji-high-contrast .ji-section,body.ji-high-contrast .ji-section--muted,body.ji-high-contrast .ji-card,body.ji-high-contrast .ji-service-card,body.ji-high-contrast .ji-event-item,body.ji-high-contrast .ji-link-grid a,body.ji-high-contrast .ji-accessibility__panel{background:#000!important;color:#fff!important;border-color:#fff!important}body.ji-high-contrast a,body.ji-high-contrast h1,body.ji-high-contrast h2,body.ji-high-contrast h3{color:#fff!important}body.ji-underline-links a{text-decoration:underline!important}body.ji-reduce-motion *,body.ji-reduce-motion *:before,body.ji-reduce-motion *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* ============================================================
   ORIGEN CONSOLIDADO: v5-clean.css
   ============================================================ */

/*
 * v5.1 CLEAN LAYER
 * This file is intentionally loaded last to override legacy accumulated CSS.
 */

/* Global restraint */
html body.ji-theme{
  background:#f6f8f7!important;
  color:#14384f!important;
}

/* HEADER: compact, municipal, less crowded */
body.ji-theme .ji-site-header{
  background:#ffffff!important;
  box-shadow:0 10px 24px rgba(0,0,0,.13)!important;
  border:0!important;
}

body.ji-theme .ji-topbar{
  background:#1f7a75!important;
  min-height:58px!important;
}

body.ji-theme .ji-topbar__inner{
  min-height:58px!important;
  align-items:center!important;
}

body.ji-theme .ji-branding__text{
  color:#ffffff!important;
  font-size:1rem!important;
  max-width:360px!important;
  line-height:1.15!important;
}

body.ji-theme .ji-branding__mark{
  width:42px!important;
  height:42px!important;
  border-radius:10px!important;
  border:2px solid rgba(255,255,255,.7)!important;
  background:rgba(255,255,255,.12)!important;
}

body.ji-theme .ji-branding__text span:last-child{
  font-size:1.25rem!important;
  font-weight:850!important;
  line-height:1.1!important;
}

body.ji-theme .ji-topbar__links{
  gap:.55rem!important;
}

body.ji-theme .ji-topbar__links a{
  color:#ffffff!important;
  font-size:.78rem!important;
  font-weight:700!important;
  opacity:.92!important;
  text-decoration:none!important;
}

body.ji-theme .ji-topbar__links a + a:before{
  content:"·";
  margin:0 .55rem 0 0;
  opacity:.45;
}

body.ji-theme .ji-mainbar{
  background:#ffffff!important;
  border-bottom:1px solid #dfe7e6!important;
}

body.ji-theme .ji-mainbar__inner{
  min-height:48px!important;
}

body.ji-theme .ji-main-nav--mega>ul>li>a,
body.ji-theme .ji-main-nav a{
  padding:.5rem .42rem!important;
  color:#0f3d3e!important;
  font-size:.84rem!important;
  font-weight:850!important;
  letter-spacing:.025em!important;
  background:transparent!important;
  border-radius:0!important;
  text-decoration:none!important;
}

body.ji-theme .ji-main-nav--mega>ul>li>a:hover,
body.ji-theme .ji-main-nav .current-menu-item>a{
  color:#1f7a75!important;
  background:transparent!important;
}

body.ji-theme .ji-mainbar__actions{
  gap:.65rem!important;
}

body.ji-theme .ji-mainbar__action--portal,
body.ji-theme .ji-mainbar__action--tramites{
  color:#0f3d3e!important;
  font-size:.83rem!important;
  font-weight:850!important;
  text-decoration:none!important;
}

body.ji-theme .ji-mainbar__separator{
  color:#1f7a75!important;
}

body.ji-theme .ji-mainbar__action--phone{
  background:#f5bd3d!important;
  color:#ffffff!important;
  border-radius:999px!important;
  padding:.55rem 1rem!important;
  min-height:36px!important;
  line-height:1!important;
  box-shadow:none!important;
  text-decoration:none!important;
}

/* legal strip, quieter */
body.ji-theme .ji-independence-notice{
  background:#fff8e5!important;
  color:#3f4856!important;
  border-bottom:1px solid #f0d58b!important;
  font-size:.84rem!important;
}
body.ji-theme .ji-independence-notice .ji-container{
  padding:.4rem 1rem!important;
}

/* HOME HERO: reduce dashboard feeling */
body.ji-theme .ji-home-hero--lb{
  background:#ffffff!important;
}
body.ji-theme .ji-home-hero__panel{
  background:#25313c!important;
}
body.ji-theme .ji-hero-pills a{
  border-color:#f5bd3d!important;
  color:#f5bd3d!important;
  padding:.42rem .7rem!important;
  font-size:.86rem!important;
}
body.ji-theme .ji-home-shortcuts .ji-shortcut{
  min-height:86px!important;
  padding:1rem 1.25rem!important;
}

/* SECTION BACKGROUNDS */
body.ji-theme #destacados,
body.ji-theme #tramites,
body.ji-theme #noticias,
body.ji-theme #galerias,
body.ji-theme #directiva{
  background:#ffffff!important;
}

body.ji-theme #eventos,
body.ji-theme .ji-events-showcase{
  background:#f3f7f6!important;
}

/* TITLES: more refined */
body.ji-theme .ji-block-heading__title--bicolor,
body.ji-theme .ji-news-section__title.ji-block-heading__title--bicolor{
  color:#8e49aa!important;
  font-size:clamp(2.05rem,4vw,3.45rem)!important;
  line-height:1!important;
  letter-spacing:-.055em!important;
  margin:0 0 .55rem!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ji-theme .ji-block-heading__title--bicolor span,
body.ji-theme .ji-news-section__title.ji-block-heading__title--bicolor span{
  color:#ef9440!important;
}
body.ji-theme .ji-block-heading__text p,
body.ji-theme .ji-events-showcase__header p:last-child{
  color:#5f6b7a!important;
  font-size:.98rem!important;
}

/* CARDS: clean and consistent */
body.ji-theme .ji-card-system,
body.ji-theme .ji-news-card,
body.ji-theme .ji-unified-card,
body.ji-theme #destacados .ji-unified-card,
body.ji-theme #galerias .ji-unified-card,
body.ji-theme #directiva .ji-unified-card{
  background:#ffffff!important;
  border:1px solid #e2e8ea!important;
  border-radius:0!important;
  box-shadow:0 12px 30px rgba(16,45,62,.09)!important;
  overflow:hidden!important;
  transform:none;
}

body.ji-theme .ji-card-system__body,
body.ji-theme .ji-news-card__body,
body.ji-theme .ji-unified-card__body{
  background:#ffffff!important;
  padding:1.1rem 1.2rem!important;
}

body.ji-theme .ji-card-system__eyebrow,
body.ji-theme .ji-news-card__category,
body.ji-theme .ji-unified-card__top{
  background:#ffffff!important;
  color:#8e49aa!important;
  padding:1rem 1.2rem .2rem!important;
  font-size:.82rem!important;
  font-weight:850!important;
  letter-spacing:0!important;
}

body.ji-theme .ji-card-system__body h3,
body.ji-theme .ji-card-system__body h3 a,
body.ji-theme .ji-news-card__body h3,
body.ji-theme .ji-news-card__body h3 a,
body.ji-theme .ji-unified-card__body h3,
body.ji-theme .ji-unified-card__body h3 a{
  color:#405579!important;
  font-size:1.06rem!important;
  line-height:1.28!important;
  font-weight:850!important;
  text-decoration:none!important;
  margin:0 0 .65rem!important;
}

body.ji-theme .ji-card-system__body p,
body.ji-theme .ji-news-card__body p,
body.ji-theme .ji-unified-card__body p{
  color:#5d6b79!important;
  font-size:.95rem!important;
  line-height:1.55!important;
}

body.ji-theme .ji-card-system__footer,
body.ji-theme .ji-news-card__footer,
body.ji-theme .ji-unified-card__footer{
  background:#ffffff!important;
  border-top:1px solid #e2e8ea!important;
  padding:.85rem 1.2rem!important;
}

body.ji-theme .ji-card-system__footer a,
body.ji-theme .ji-news-card__footer a,
body.ji-theme .ji-unified-card__footer a{
  color:#0f4d4a!important;
  font-size:.9rem!important;
  font-weight:850!important;
  text-decoration:none!important;
}

body.ji-theme .ji-card-system__footer a span,
body.ji-theme .ji-news-card__footer a span,
body.ji-theme .ji-unified-card__footer a span{
  background:#f5bd3d!important;
  color:#ffffff!important;
}

body.ji-theme .ji-card-system:hover,
body.ji-theme .ji-news-card:hover,
body.ji-theme .ji-unified-card:hover{
  background:#ffffff!important;
  transform:translateY(-3px)!important;
  box-shadow:0 18px 42px rgba(16,45,62,.14)!important;
}

/* Trámites: cleaner, no giant purple blocks */
body.ji-theme #tramites .ji-unified-card--independencia-service{
  background:#ffffff!important;
  border:1px solid #e2e8ea!important;
  box-shadow:0 12px 30px rgba(16,45,62,.09)!important;
}
body.ji-theme #tramites .ji-unified-card--independencia-service .ji-unified-card__top{
  color:#8e49aa!important;
  font-size:.82rem!important;
  padding:1rem 1.1rem .2rem!important;
}
body.ji-theme #tramites .ji-unified-card--independencia-service .ji-unified-card__body{
  padding:.25rem 1.1rem 1rem!important;
  border-left:0!important;
}
body.ji-theme #tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{
  color:#405579!important;
  font-size:1rem!important;
  line-height:1.18!important;
}
body.ji-theme #tramites .ji-unified-card--independencia-service .ji-unified-card__footer a{
  background:#f5bd3d!important;
  color:#ffffff!important;
  border-radius:999px!important;
  font-size:.82rem!important;
  min-height:38px!important;
}

/* Interior pages readability */
body.ji-theme .ji-interior-hero{
  background:#26313d!important;
  color:#ffffff!important;
}
body.ji-theme .ji-interior-hero h1,
body.ji-theme .ji-interior-hero *{
  opacity:1!important;
}
body.ji-theme .ji-interior-hero h1{
  color:#ffffff!important;
}
body.ji-theme .ji-interior-hero .ji-kicker{
  color:#ff8f6a!important;
}

/* Footer */
body.ji-theme .ji-footer{
  background:#1f7a75!important;
}
body.ji-theme .ji-footer__topband,
body.ji-theme .ji-footer__bottom{
  background:#176a66!important;
}

/* Accessibility / utilities */
body.ji-theme .ji-accessibility__toggle,
body.ji-theme .ji-back-to-top{
  background:#f5bd3d!important;
  color:#23343f!important;
}

/* responsive simplification */
@media (max-width:980px){
  body.ji-theme .ji-topbar__links,
  body.ji-theme .ji-mainbar__actions{
    display:none!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v53-structural.css
   ============================================================ */

/* v5.3 STRUCTURAL CLEANUP - visible HTML-level redesign */

/* header */
body.ji-v53-clean .ji-site-header--clean{
  position:sticky!important;
  top:0!important;
  z-index:9000!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
body.ji-v53-clean .ji-clean-header{
  background:#1f7a75!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-header__inner{
  min-height:66px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1.5rem!important;
}
body.ji-v53-clean .ji-clean-branding__text{
  display:flex!important;
  align-items:center!important;
  gap:.8rem!important;
  color:#fff!important;
  text-decoration:none!important;
}
body.ji-v53-clean .ji-clean-branding__mark{
  width:42px!important;
  height:42px!important;
  border:2px solid rgba(255,255,255,.75)!important;
  border-radius:10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:900!important;
}
body.ji-v53-clean .ji-clean-branding__text strong{
  display:block!important;
  color:#fff!important;
  font-size:1.08rem!important;
  line-height:1.1!important;
}
body.ji-v53-clean .ji-clean-branding__text em{
  display:block!important;
  color:rgba(255,255,255,.82)!important;
  font-style:normal!important;
  font-size:.78rem!important;
  line-height:1.2!important;
  margin-top:.15rem!important;
}
body.ji-v53-clean .ji-clean-header__tools{
  display:flex!important;
  align-items:center!important;
  gap:.7rem!important;
}
body.ji-v53-clean .ji-clean-search,
body.ji-v53-clean .ji-clean-call{
  border:0!important;
  border-radius:999px!important;
  min-height:38px!important;
  padding:.55rem 1rem!important;
  font-weight:850!important;
  text-decoration:none!important;
  cursor:pointer!important;
}
body.ji-v53-clean .ji-clean-search{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-call{
  background:#f5bd3d!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-navline{
  background:#fff!important;
  border-bottom:1px solid #dfe7e6!important;
}
body.ji-v53-clean .ji-clean-navline__inner{
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
}
body.ji-v53-clean .ji-clean-nav ul{
  gap:0!important;
}
body.ji-v53-clean .ji-clean-nav>ul>li>a,
body.ji-v53-clean .ji-clean-nav a{
  background:transparent!important;
  color:#0f3d3e!important;
  border-radius:0!important;
  padding:.52rem .58rem!important;
  font-size:.83rem!important;
  font-weight:850!important;
  text-transform:uppercase!important;
  letter-spacing:.025em!important;
  text-decoration:none!important;
}
body.ji-v53-clean .ji-clean-nav>ul>li+li>a:before{
  content:"|"!important;
  display:inline-block!important;
  margin:0 .85rem 0 .1rem!important;
  color:rgba(31,122,117,.55)!important;
  font-weight:500!important;
}
body.ji-v53-clean .ji-independence-notice--clean{
  background:#fff8e6!important;
  color:#404b59!important;
  font-size:.84rem!important;
  border-bottom:1px solid #f0d58b!important;
}
body.ji-v53-clean .ji-independence-notice--clean .ji-container{
  padding:.38rem 1rem!important;
}

/* completely new hero */
body.ji-v53-clean .ji-clean-hero{
  background:#fff!important;
}
body.ji-v53-clean .ji-clean-hero__media{
  position:relative!important;
  min-height:clamp(390px,55vh,560px)!important;
  overflow:hidden!important;
  background:#26313d!important;
}
body.ji-v53-clean .ji-clean-hero__media .ji-hero-slide{
  background-size:cover!important;
  background-position:center!important;
}
body.ji-v53-clean .ji-clean-hero__media .ji-hero-slide:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(19,39,54,.82),rgba(19,39,54,.45),rgba(19,39,54,.1))!important;
}
body.ji-v53-clean .ji-clean-hero__content{
  position:relative!important;
  z-index:2!important;
  min-height:clamp(390px,55vh,560px)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  max-width:1180px!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-hero__eyebrow{
  color:#ffb28f!important;
  text-transform:uppercase!important;
  letter-spacing:.14em!important;
  font-size:.78rem!important;
  font-weight:900!important;
  margin:0 0 .5rem!important;
}
body.ji-v53-clean .ji-clean-hero h1{
  color:#fff!important;
  font-size:clamp(2.55rem,5.5vw,5.1rem)!important;
  line-height:.96!important;
  letter-spacing:-.065em!important;
  max-width:780px!important;
  margin:.2rem 0 1rem!important;
}
body.ji-v53-clean .ji-clean-hero p{
  color:rgba(255,255,255,.94)!important;
  font-size:1.08rem!important;
  max-width:620px!important;
}
body.ji-v53-clean .ji-clean-hero__button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#f5bd3d!important;
  color:#fff!important;
  border-radius:999px!important;
  min-height:44px!important;
  padding:.75rem 1.15rem!important;
  font-weight:900!important;
  text-decoration:none!important;
  border:0!important;
}
body.ji-v53-clean .ji-clean-hero__button--ghost{
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.35)!important;
}
body.ji-v53-clean .ji-clean-hero__actions{
  display:flex!important;
  gap:.75rem!important;
  flex-wrap:wrap!important;
  margin-top:1rem!important;
}
body.ji-v53-clean .ji-clean-access{
  background:#fff!important;
  border-bottom:1px solid #e3e9eb!important;
}
body.ji-v53-clean .ji-clean-access__inner{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:0!important;
}
body.ji-v53-clean .ji-clean-access a{
  min-height:74px!important;
  display:flex!important;
  align-items:center!important;
  padding:1rem!important;
  color:#12384f!important;
  text-decoration:none!important;
  font-weight:850!important;
  line-height:1.18!important;
  border-right:1px solid #e3e9eb!important;
}
body.ji-v53-clean .ji-clean-access a:hover{
  background:#f5f8f7!important;
  color:#1f7a75!important;
}

/* sections get very visible cleanup */
body.ji-v53-clean .ji-home-hero--lb,
body.ji-v53-clean .ji-home-shortcuts,
body.ji-v53-clean .ji-home-hero__panel{
  display:none!important;
}
body.ji-v53-clean .ji-section,
body.ji-v53-clean .ji-block-section,
body.ji-v53-clean .ji-news-section,
body.ji-v53-clean .ji-events-showcase{
  padding:4rem 0!important;
}
body.ji-v53-clean #destacados,
body.ji-v53-clean #tramites,
body.ji-v53-clean #noticias,
body.ji-v53-clean #galerias,
body.ji-v53-clean #directiva{
  background:#fff!important;
}

/* cards unmistakably changed */
body.ji-v53-clean .ji-card-system,
body.ji-v53-clean .ji-news-card,
body.ji-v53-clean .ji-unified-card{
  background:#fff!important;
  border:1px solid #e2e8ea!important;
  border-radius:0!important;
  box-shadow:0 10px 26px rgba(16,45,62,.08)!important;
}
body.ji-v53-clean .ji-unified-card__top,
body.ji-v53-clean .ji-card-system__eyebrow,
body.ji-v53-clean .ji-news-card__category{
  background:#fff!important;
  color:#8e49aa!important;
  font-size:.78rem!important;
  font-weight:900!important;
}
body.ji-v53-clean .ji-unified-card__body h3,
body.ji-v53-clean .ji-unified-card__body h3 a,
body.ji-v53-clean .ji-card-system__body h3,
body.ji-v53-clean .ji-card-system__body h3 a,
body.ji-v53-clean .ji-news-card__body h3,
body.ji-v53-clean .ji-news-card__body h3 a{
  color:#405579!important;
  font-size:1.04rem!important;
  line-height:1.3!important;
}
body.ji-v53-clean .ji-block-heading__title--bicolor{
  color:#8e49aa!important;
  font-size:clamp(2rem,4vw,3.35rem)!important;
}
body.ji-v53-clean .ji-block-heading__title--bicolor span{
  color:#ef9440!important;
}

@media (max-width:980px){
  body.ji-v53-clean .ji-clean-header__tools{display:none!important}
  body.ji-v53-clean .ji-clean-access__inner{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ji-v53-clean .ji-clean-branding__text strong{font-size:1rem!important}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v54-refinements.css
   ============================================================ */

/* v5.4 refinements: dashboard hero, modal spacing, footer notice, accessibility icon */
body.ji-v54-dashboard .ji-clean-hero--dashboard{
  background:#e7ecec!important;
  padding:0 0 1.5rem!important;
}
body.ji-v54-dashboard .ji-clean-hero__shell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 320px!important;
  align-items:stretch!important;
  gap:0!important;
  max-width:100%!important;
  width:min(calc(100% - 32px), 1660px)!important;
}
body.ji-v54-dashboard .ji-clean-hero__media{
  min-height:540px!important;
  border-radius:0!important;
}
body.ji-v54-dashboard .ji-clean-hero__media .ji-hero-slide,
body.ji-v54-dashboard .ji-clean-hero__media .ji-hero-slider__track{
  min-height:540px!important;
}
body.ji-v54-dashboard .ji-clean-hero__content{
  min-height:540px!important;
  padding:3.2rem 2rem 3.2rem 3.2rem!important;
  max-width:820px!important;
}
body.ji-v54-dashboard .ji-clean-dashboard{
  background:#263645!important;
  color:#fff!important;
  padding:1.7rem 1.25rem 1.4rem!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  position:relative!important;
}
body.ji-v54-dashboard .ji-clean-dashboard h2{
  color:#fff!important;
  font-size:3rem!important;
  line-height:.95!important;
  text-align:center!important;
  letter-spacing:-.04em!important;
  margin:.2rem 0 1.2rem!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__search{
  width:100%!important;
  border:0!important;
  border-radius:999px!important;
  background:#f4f4f4!important;
  min-height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:.9rem 1rem  .9rem 1.2rem!important;
  color:#6d7178!important;
  cursor:pointer!important;
  margin-bottom:1rem!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__search strong{color:#1c7680!important;font-size:1.45rem!important;line-height:1!important}
body.ji-v54-dashboard .ji-clean-dashboard__pills{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.75rem!important;
  align-content:start!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__pills a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:38px!important;
  border:1.6px solid #1ec2ec!important;
  border-radius:999px!important;
  color:#1ec2ec!important;
  text-decoration:none!important;
  text-align:center!important;
  font-weight:800!important;
  line-height:1.15!important;
  padding:.5rem .8rem!important;
  background:transparent!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__pills a:hover{
  background:rgba(30,194,236,.12)!important;
}
body.ji-v54-dashboard .ji-clean-access{display:none!important}
body.ji-v54-dashboard .ji-search-modal{z-index:13000!important}
body.ji-v54-dashboard .ji-search-modal__dialog{
  width:min(calc(100% - 48px), 1480px)!important;
  border-radius:0!important;
  overflow:hidden!important;
}
body.ji-v54-dashboard .ji-search-modal__bar{
  padding:1.75rem 2rem!important;
}
body.ji-v54-dashboard .ji-search-modal__bar form{
  min-height:74px!important;
}
body.ji-v54-dashboard .ji-search-modal__bar input{
  padding:1.15rem 1.3rem!important;
  font-size:1.1rem!important;
}
body.ji-v54-dashboard .ji-search-modal__content{
  padding:1.9rem 2rem 2.2rem!important;
}
body.ji-v54-dashboard .ji-search-modal__intro{margin-bottom:1rem!important}
body.ji-v54-dashboard .ji-search-modal__eyebrow{
  color:#7d8a96!important;
  font-size:.83rem!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  margin:0 0 .4rem!important;
}
body.ji-v54-dashboard .ji-search-modal__intro h2{
  color:#324255!important;
  font-size:2rem!important;
  margin:0 0 .45rem!important;
}
body.ji-v54-dashboard .ji-search-modal__text{margin:0!important;color:#6b7683!important;font-size:1rem!important}
body.ji-v54-dashboard .ji-search-modal__pills{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.8rem!important;
  padding-top:.25rem!important;
}
body.ji-v54-dashboard .ji-search-modal__pills a{
  min-height:50px!important;
  padding:.85rem 1.18rem!important;
}
body.ji-v54-dashboard .ji-accessibility{
  position:fixed!important;
  top:12px!important;
  right:16px!important;
  bottom:auto!important;
  z-index:12000!important;
}
body.ji-v54-dashboard .ji-accessibility__toggle{
  width:58px!important;
  height:58px!important;
  border-radius:50%!important;
  border:4px solid #fff!important;
  background:#1f6fff!important;
  box-shadow:0 12px 24px rgba(0,0,0,.18)!important;
  padding:0!important;
}
body.ji-v54-dashboard .ji-accessibility__icon{
  width:auto!important;
  height:auto!important;
  border:0!important;
  border-radius:0!important;
  color:#fff!important;
  font-size:2rem!important;
  line-height:1!important;
  display:block!important;
  transform:translateY(-1px)!important;
}
body.ji-v54-dashboard .ji-accessibility__head,
body.ji-v54-dashboard .ji-accessibility__arms,
body.ji-v54-dashboard .ji-accessibility__body{display:none!important}
body.ji-v54-dashboard .ji-accessibility__panel{
  top:68px!important;
  bottom:auto!important;
}
body.ji-v54-dashboard .ji-footer__short-notice{
  display:inline-block!important;
  margin:.15rem 0 1rem!important;
  padding:.5rem .9rem!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
  font-weight:800!important;
}
body.ji-v54-dashboard .ji-tramite-grid .ji-unified-card__body h3{
  font-size:clamp(1rem,1.8vw,1.65rem)!important;
  line-height:1.04!important;
  letter-spacing:-.03em!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
body.ji-v54-dashboard .ji-tramite-grid--own{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media (max-width:1200px){
  body.ji-v54-dashboard .ji-clean-hero__shell{grid-template-columns:minmax(0,1fr)!important}
  body.ji-v54-dashboard .ji-clean-dashboard{padding:1.25rem!important}
}
@media (max-width:760px){
  body.ji-v54-dashboard .ji-clean-dashboard__pills{grid-template-columns:1fr!important}
  body.ji-v54-dashboard .ji-search-modal{z-index:13000!important}
body.ji-v54-dashboard .ji-search-modal__dialog{width:min(calc(100% - 20px), 96vw)!important}
  body.ji-v54-dashboard .ji-search-modal__bar,body.ji-v54-dashboard .ji-search-modal__content{padding:1.15rem!important}
  body.ji-v54-dashboard .ji-clean-hero__content{padding:2rem 1.1rem!important;min-height:370px!important}
  body.ji-v54-dashboard .ji-clean-hero__media,body.ji-v54-dashboard .ji-clean-hero__media .ji-hero-slide,body.ji-v54-dashboard .ji-clean-hero__media .ji-hero-slider__track{min-height:370px!important}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v55-fixes.css
   ============================================================ */

/* v5.5 fixes: accessibility icon, shortcut return, wider/softer dashboard */

/* Accessibility: complete visible universal symbol, centered inside blue sticker */
body.ji-v54-dashboard .ji-accessibility,
body.ji-v53-clean .ji-accessibility{
  top:10px!important;
  right:14px!important;
  width:62px!important;
  height:62px!important;
  overflow:visible!important;
  z-index:14000!important;
}

body.ji-v54-dashboard .ji-accessibility__toggle,
body.ji-v53-clean .ji-accessibility__toggle{
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  max-width:56px!important;
  max-height:56px!important;
  border-radius:50%!important;
  border:4px solid #ffffff!important;
  background:#1f6fff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.20)!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  line-height:1!important;
}

body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:44px!important;
  height:44px!important;
  border:0!important;
  border-radius:0!important;
  color:#ffffff!important;
  font-size:30px!important;
  line-height:1!important;
  transform:none!important;
  position:static!important;
  overflow:visible!important;
  font-family:"Segoe UI Symbol","Apple Color Emoji","Noto Color Emoji",Arial,sans-serif!important;
}

/* Dashboard width restored closer to previous feel */
body.ji-v54-dashboard .ji-clean-hero__shell{
  grid-template-columns:minmax(0,1fr) 380px!important;
  width:min(calc(100% - 32px), 1660px)!important;
}

body.ji-v54-dashboard .ji-clean-dashboard{
  padding:1.55rem 1.45rem 1.35rem!important;
}

body.ji-v54-dashboard .ji-clean-dashboard h2{
  font-size:2.55rem!important;
  line-height:1!important;
  margin:.25rem 0 1.15rem!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}

body.ji-v54-dashboard .ji-clean-dashboard__search{
  min-height:52px!important;
  margin-bottom:1.15rem!important;
}

/* Pills: smaller, lighter, not bold-heavy */
body.ji-v54-dashboard .ji-clean-dashboard__pills{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.7rem .75rem!important;
}

body.ji-v54-dashboard .ji-clean-dashboard__pills a{
  min-height:36px!important;
  padding:.45rem .6rem!important;
  font-size:.82rem!important;
  font-weight:600!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  border-width:1.4px!important;
}

/* Restore the shortcuts under hero */
body.ji-v54-dashboard .ji-home-shortcuts--v55{
  display:block!important;
  background:#0f4d4a!important;
  margin:0!important;
  padding:0!important;
  position:relative!important;
  z-index:5!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  align-items:center!important;
  min-height:92px!important;
  padding:1rem 1.35rem!important;
  background:#0d4a47!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  color:#ffffff!important;
  text-decoration:none!important;
  box-shadow:none!important;
  border-radius:0!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2){
  background:#114f4b!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3){
  background:#155752!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__text{
  color:#ffffff!important;
  font-size:1.25rem!important;
  font-weight:800!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon{
  width:48px!important;
  height:48px!important;
  border:4px solid rgba(255,255,255,.7)!important;
  border-radius:50%!important;
  justify-self:end!important;
  opacity:.9!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:hover{
  filter:brightness(1.08)!important;
}

/* Override old hide rule from v53/v54 */
body.ji-v54-dashboard .ji-home-shortcuts:not(.ji-home-shortcuts--v55){
  display:none!important;
}

@media (max-width:1200px){
  body.ji-v54-dashboard .ji-clean-hero__shell{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.ji-v54-dashboard .ji-clean-dashboard__pills{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media (max-width:760px){
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
    grid-template-columns:1fr!important;
  }
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut{
    min-height:74px!important;
  }
  body.ji-v54-dashboard .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v56-fixes.css
   ============================================================ */

/* v5.6: accessibility SVG complete, editable hero eyebrow support, shortcut icon cleanup */

/* Accessibility: no clipped glyph; use contained SVG */
body.ji-v54-dashboard .ji-accessibility,
body.ji-v53-clean .ji-accessibility{
  top:14px!important;
  right:28px!important;
  width:58px!important;
  height:58px!important;
  overflow:visible!important;
  z-index:14000!important;
}

body.ji-v54-dashboard .ji-accessibility__toggle,
body.ji-v53-clean .ji-accessibility__toggle{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  max-width:52px!important;
  max-height:52px!important;
  border-radius:50%!important;
  border:3px solid #ffffff!important;
  background:#1f6fff!important;
  box-shadow:0 10px 22px rgba(0,0,0,.20)!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  line-height:1!important;
}

body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:38px!important;
  height:38px!important;
  border:0!important;
  border-radius:0!important;
  position:static!important;
  overflow:visible!important;
  transform:none!important;
  color:#fff!important;
  font-size:0!important;
  line-height:0!important;
}

body.ji-v54-dashboard .ji-accessibility__svg,
body.ji-v53-clean .ji-accessibility__svg{
  width:35px!important;
  height:35px!important;
  display:block!important;
  overflow:visible!important;
}

body.ji-v54-dashboard .ji-accessibility__svg circle,
body.ji-v54-dashboard .ji-accessibility__svg path,
body.ji-v53-clean .ji-accessibility__svg circle,
body.ji-v53-clean .ji-accessibility__svg path{
  fill:none!important;
  stroke:#ffffff!important;
  stroke-width:5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

body.ji-v54-dashboard .ji-accessibility__panel,
body.ji-v53-clean .ji-accessibility__panel{
  top:66px!important;
  right:0!important;
  bottom:auto!important;
}

/* Shortcut icon: remove duplicate inner/outer pseudo-circles and keep one clean ring */
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon{
  position:relative!important;
  width:52px!important;
  height:52px!important;
  border:4px solid rgba(255,255,255,.72)!important;
  border-radius:50%!important;
  justify-self:end!important;
  opacity:.95!important;
  background:transparent!important;
  box-shadow:none!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:after,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:after{
  display:none!important;
  content:none!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(1) .ji-shortcut__icon{
  background:linear-gradient(135deg, transparent 45%, rgba(255,255,255,.72) 45%, rgba(255,255,255,.72) 55%, transparent 55%)!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2) .ji-shortcut__icon{
  border-radius:12px!important;
}

body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3) .ji-shortcut__icon{
  background:linear-gradient(45deg, transparent 46%, rgba(255,255,255,.72) 46%, rgba(255,255,255,.72) 54%, transparent 54%)!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v57-fixes.css
   ============================================================ */

/* v5.7: meaningful shortcut icons, accessibility vertical centering, lighter footer title */

/* Accessibility icon: lift symbol inside the blue circle */
body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  transform:translateY(-3px)!important;
}
body.ji-v54-dashboard .ji-accessibility__svg,
body.ji-v53-clean .ji-accessibility__svg{
  width:33px!important;
  height:33px!important;
}

/* Shortcut icons under hero: remove generic ring look and show meaningful SVG icons */
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon{
  width:54px!important;
  height:54px!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:none!important;
  opacity:1!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:after,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:after{
  display:none!important;
  content:none!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg{
  width:44px!important;
  height:44px!important;
  display:block!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg *,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg *{
  fill:none!important;
  stroke:rgba(255,255,255,.88)!important;
  stroke-width:2.6!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:hover .ji-shortcut__icon svg *,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut:hover .ji-shortcut__icon svg *{
  stroke:#ffffff!important;
}

/* Footer brand title: lower visual weight */
body.ji-v54-dashboard .ji-footer__legal-main h2,
body.ji-v53-clean .ji-footer__legal-main h2,
body.ji-theme .ji-footer__legal-main h2{
  font-size:clamp(2rem,3.2vw,3.15rem)!important;
  line-height:1.02!important;
  letter-spacing:-.03em!important;
  font-weight:760!important;
  max-width:10ch!important;
  margin:0 0 1.5rem!important;
}
body.ji-v54-dashboard .ji-footer__legal-main p,
body.ji-v53-clean .ji-footer__legal-main p,
body.ji-theme .ji-footer__legal-main p{
  max-width:40rem!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v58-fixes.css
   ============================================================ */

/* v5.8: remove rogue diagonal backgrounds, center lone cards, smaller footer title, powered by link, smaller accessibility icon */

/* Accessibility button and symbol */
body.ji-v54-dashboard .ji-accessibility__toggle,
body.ji-v53-clean .ji-accessibility__toggle{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  width:28px!important;
  height:28px!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}
body.ji-v54-dashboard .ji-accessibility__svg,
body.ji-v53-clean .ji-accessibility__svg{
  width:24px!important;
  height:24px!important;
  display:block!important;
  overflow:visible!important;
}
body.ji-v54-dashboard .ji-accessibility__svg circle,
body.ji-v54-dashboard .ji-accessibility__svg path,
body.ji-v53-clean .ji-accessibility__svg circle,
body.ji-v53-clean .ji-accessibility__svg path{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:3.2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Shortcut icons: completely neutralize older decorative diagonals/rings */
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(1) .ji-shortcut__icon,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2) .ji-shortcut__icon,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3) .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut:nth-child(1) .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2) .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3) .ji-shortcut__icon{
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:after,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:after{
  display:none!important;
  content:none!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg{
  width:38px!important;
  height:38px!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg *,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg *{
  fill:none!important;
  stroke:rgba(255,255,255,.92)!important;
  stroke-width:2.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Center single leftover card on 3-column grids */
.ji-tramite-grid .ji-unified-card--center-last{
  grid-column:2 / span 1!important;
}
@media (max-width: 920px){
  .ji-tramite-grid .ji-unified-card--center-last{
    grid-column:auto!important;
  }
}

/* Footer: calmer title and copyright */
body.ji-theme .ji-footer__legal-main h2,
body.ji-v54-dashboard .ji-footer__legal-main h2,
body.ji-v53-clean .ji-footer__legal-main h2{
  font-size:clamp(1.55rem,2.4vw,2.35rem)!important;
  line-height:1.06!important;
  letter-spacing:-.025em!important;
  font-weight:720!important;
  max-width:8.5ch!important;
  margin:0 0 1.25rem!important;
}
body.ji-theme .ji-footer__legal-main p,
body.ji-v54-dashboard .ji-footer__legal-main p,
body.ji-v53-clean .ji-footer__legal-main p{
  max-width:42rem!important;
}
body.ji-theme .ji-footer__bottom,
body.ji-v54-dashboard .ji-footer__bottom,
body.ji-v53-clean .ji-footer__bottom{
  font-size:.98rem!important;
}
body.ji-theme .ji-footer__bottom a,
body.ji-v54-dashboard .ji-footer__bottom a,
body.ji-v53-clean .ji-footer__bottom a{
  color:#fff!important;
  font-weight:700!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v59-fixes.css
   ============================================================ */

/* v5.9 - accessibility icon really small and clean, shortcut icons cleaner, footer calmer */

/* Smaller, cleaner accessibility button like the back-to-top scale */
body.ji-theme .ji-accessibility,
body.ji-v54-dashboard .ji-accessibility,
body.ji-v53-clean .ji-accessibility{
  position:fixed!important;
  top:14px!important;
  right:18px!important;
  bottom:auto!important;
  z-index:4200!important;
}
body.admin-bar.ji-theme .ji-accessibility,
body.admin-bar.ji-v54-dashboard .ji-accessibility,
body.admin-bar.ji-v53-clean .ji-accessibility{
  top:46px!important;
}
body.ji-theme .ji-accessibility__toggle,
body.ji-v54-dashboard .ji-accessibility__toggle,
body.ji-v53-clean .ji-accessibility__toggle{
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  border-radius:999px!important;
  border:3px solid #fff!important;
  background:#2f6cf3!important;
  box-shadow:0 8px 22px rgba(0,0,0,.18)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
}
body.ji-theme .ji-accessibility__icon,
body.ji-v54-dashboard .ji-accessibility__icon,
body.ji-v53-clean .ji-accessibility__icon{
  width:18px!important;
  height:18px!important;
  border:0!important;
  border-radius:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  overflow:visible!important;
}
body.ji-theme .ji-accessibility__icon::before,
body.ji-theme .ji-accessibility__icon::after,
body.ji-v54-dashboard .ji-accessibility__icon::before,
body.ji-v54-dashboard .ji-accessibility__icon::after,
body.ji-v53-clean .ji-accessibility__icon::before,
body.ji-v53-clean .ji-accessibility__icon::after{
  display:none!important;
  content:none!important;
}
body.ji-theme .ji-accessibility__svg,
body.ji-v54-dashboard .ji-accessibility__svg,
body.ji-v53-clean .ji-accessibility__svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  overflow:visible!important;
}
body.ji-theme .ji-accessibility__svg *,
body.ji-v54-dashboard .ji-accessibility__svg *,
body.ji-v53-clean .ji-accessibility__svg *{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.ji-theme .ji-accessibility__panel,
body.ji-v54-dashboard .ji-accessibility__panel,
body.ji-v53-clean .ji-accessibility__panel{
  top:62px!important;
  right:0!important;
  bottom:auto!important;
}

/* Cleaner shortcut icons under the hero */
body.ji-theme .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon{
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.ji-theme .ji-home-shortcuts--v55 .ji-shortcut__icon::before,
body.ji-theme .ji-home-shortcuts--v55 .ji-shortcut__icon::after,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon::before,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon::after,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon::before,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon::after{
  display:none!important;
  content:none!important;
}
body.ji-theme .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg{
  width:34px!important;
  height:34px!important;
}
body.ji-theme .ji-home-shortcuts--v55 .ji-shortcut__icon svg *,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg *,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon svg *{
  fill:none!important;
  stroke:rgba(255,255,255,.92)!important;
  stroke-width:2.3!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Footer title much more controlled */
body.ji-theme .ji-footer__legal-main h2,
body.ji-v54-dashboard .ji-footer__legal-main h2,
body.ji-v53-clean .ji-footer__legal-main h2{
  font-size:clamp(1.2rem,1.8vw,1.8rem)!important;
  line-height:1.08!important;
  font-weight:760!important;
  letter-spacing:-.02em!important;
  max-width:10ch!important;
  margin:0 0 1rem!important;
}
body.ji-theme .ji-footer__legal-main p,
body.ji-v54-dashboard .ji-footer__legal-main p,
body.ji-v53-clean .ji-footer__legal-main p{
  max-width:40rem!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v60-fixes.css
   ============================================================ */

/* v6.0 - restore accessibility visibility and normalize footer title */

/* Ensure the accessibility button always renders when enabled */
.ji-accessibility{
  position:fixed!important;
  top:14px!important;
  right:18px!important;
  bottom:auto!important;
  z-index:9999!important;
  display:block!important;
}
.admin-bar .ji-accessibility{
  top:46px!important;
}
.ji-accessibility__toggle{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  padding:0!important;
  border-radius:999px!important;
  border:3px solid #fff!important;
  background:#2f6cf3!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
}
.ji-accessibility__icon{
  width:18px!important;
  height:18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
  border:0!important;
  background:transparent!important;
}
.ji-accessibility__icon::before,
.ji-accessibility__icon::after{
  display:none!important;
  content:none!important;
}
.ji-accessibility__svg{
  width:18px!important;
  height:18px!important;
  display:block!important;
  overflow:visible!important;
}
.ji-accessibility__svg *{
  fill:none!important;
  stroke:#fff!important;
  stroke-width:2.15!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.ji-accessibility__panel{
  top:62px!important;
  right:0!important;
  bottom:auto!important;
}

/* Footer title should read in one line on desktop and remain reasonable */
.ji-footer__legal-main h2{
  font-size:clamp(1.05rem,1.35vw,1.45rem)!important;
  line-height:1.15!important;
  font-weight:760!important;
  letter-spacing:-.015em!important;
  max-width:none!important;
  margin:0 0 1rem!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  text-wrap:balance;
}
@media (min-width: 1100px){
  .ji-footer__legal-main h2{
    white-space:nowrap!important;
  }
}
@media (max-width: 1099px){
  .ji-footer__legal-main h2{
    white-space:normal!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v61-fixes.css
   ============================================================ */

/* v6.1 - mobile fixes: menu, trámites cards, events width, popup warning */

/* Mobile menu: force proper dropdown behavior */
body.ji-v53-clean .ji-clean-navline__inner,
body.ji-v54-dashboard .ji-clean-navline__inner{
  position:relative!important;
  overflow:visible!important;
}
@media (max-width: 920px){
  body.ji-v53-clean .ji-menu-toggle,
  body.ji-v54-dashboard .ji-menu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:52px!important;
    height:52px!important;
    padding:.6rem!important;
    border-radius:10px!important;
    background:transparent!important;
    position:relative!important;
    z-index:30!important;
  }
  body.ji-v53-clean .ji-clean-nav,
  body.ji-v54-dashboard .ji-clean-nav,
  body.ji-v53-clean .ji-main-nav,
  body.ji-v54-dashboard .ji-main-nav{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:calc(100% + 1px)!important;
    z-index:25!important;
    display:none!important;
    background:#ffffff!important;
    border-top:1px solid #e3e7ea!important;
    box-shadow:0 16px 34px rgba(0,0,0,.12)!important;
    border-radius:0 0 18px 18px!important;
  }
  body.ji-v53-clean .ji-main-nav.is-open,
  body.ji-v54-dashboard .ji-main-nav.is-open{
    display:block!important;
  }
  body.ji-v53-clean .ji-main-nav > ul,
  body.ji-v54-dashboard .ji-main-nav > ul{
    display:block!important;
    padding:.6rem!important;
    margin:0!important;
  }
  body.ji-v53-clean .ji-main-nav > ul > li,
  body.ji-v54-dashboard .ji-main-nav > ul > li{
    display:block!important;
  }
  body.ji-v53-clean .ji-main-nav > ul > li > a,
  body.ji-v54-dashboard .ji-main-nav > ul > li > a{
    display:block!important;
    padding:.95rem 1rem!important;
    border-radius:12px!important;
    color:#173d4a!important;
    font-size:1rem!important;
    font-weight:800!important;
    text-transform:none!important;
  }
  body.ji-v53-clean .ji-main-nav--mega>ul>li+li>a:before,
  body.ji-v54-dashboard .ji-main-nav--mega>ul>li+li>a:before{
    display:none!important;
    content:none!important;
  }
}

/* Trámites cards: readable single-column layout on phones */
@media (max-width: 767px){
  .ji-tramite-grid,
  .ji-tramite-grid--own,
  .ji-tramite-grid--external{
    grid-template-columns:1fr!important;
    gap:1rem!important;
  }
  .ji-tramite-grid .ji-unified-card{
    min-width:0!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__top{
    padding:1rem 1.1rem .25rem!important;
    font-size:.92rem!important;
    line-height:1.2!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__body{
    padding:.15rem 1.1rem 1rem!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__body h3{
    font-size:1.35rem!important;
    line-height:1.18!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    hyphens:auto!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__body p{
    font-size:1rem!important;
    line-height:1.55!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__footer{
    padding:.95rem 1rem 1rem!important;
  }
  #tramites .ji-unified-card--independencia-service .ji-unified-card__footer a{
    width:100%!important;
    justify-content:center!important;
    text-align:center!important;
    min-height:46px!important;
    font-size:.92rem!important;
  }
}

/* Events: on mobile each event should use the whole width */
@media (max-width: 767px){
  .ji-events-carousel__track{
    grid-auto-columns:100%!important;
    gap:.9rem!important;
    padding-right:0!important;
  }
  .ji-event-tile{
    min-height:auto!important;
    width:100%!important;
  }
  .ji-event-tile__link{
    min-height:0!important;
  }
  .ji-event-tile__actions{
    justify-content:space-between!important;
  }
  .ji-event-tile__actions a{
    flex:1 1 auto!important;
    justify-content:center!important;
  }
}

/* Popup-blocker notice */
.ji-external-link-modal__hint{
  margin:.15rem 0 0!important;
  padding:.8rem .95rem!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border:1px solid #d9e3ea!important;
  color:#4b5563!important;
  font-size:.95rem!important;
}
@media (max-width: 560px){
  .ji-external-link-modal__dialog{
    width:min(92vw, 100%)!important;
    padding:1.2rem!important;
  }
  .ji-external-link-modal__actions{
    flex-direction:column!important;
  }
  .ji-external-link-modal__actions .ji-btn{
    width:100%!important;
    justify-content:center!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v62-mobile-accessibility-fixes.css
   ============================================================ */

/* v6.2: force mobile trámite cards one-by-one, protect hero arrows, fresh accessibility */

/* --- Force trámites to one-by-one on all mobile/tablet narrow views --- */
@media screen and (max-width: 920px), screen and (pointer: coarse) and (max-width: 1024px) {
  body #tramites .ji-container{
    width:min(calc(100% - 28px), 680px)!important;
  }
  body #tramites .ji-grid,
  body #tramites .ji-grid--3,
  body #tramites .ji-unified-grid,
  body #tramites .ji-tramite-grid,
  body #tramites .ji-tramite-grid--own,
  body #tramites .ji-tramite-grid--external{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    gap:1rem!important;
    overflow:visible!important;
  }
  body #tramites .ji-tramite-card,
  body #tramites .ji-unified-card,
  body #tramites .ji-unified-card--independencia-service{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-column:auto!important;
    display:flex!important;
    flex-direction:column!important;
  }
  body #tramites .ji-unified-card__top,
  body #tramites .ji-unified-card__body,
  body #tramites .ji-unified-card__footer{
    padding-left:1.15rem!important;
    padding-right:1.15rem!important;
  }
  body #tramites .ji-unified-card__top{
    padding-top:1rem!important;
    padding-bottom:.25rem!important;
    font-size:.9rem!important;
    line-height:1.25!important;
  }
  body #tramites .ji-unified-card__body{
    padding-top:.1rem!important;
    padding-bottom:1rem!important;
  }
  body #tramites .ji-unified-card__body h3{
    font-size:1.28rem!important;
    line-height:1.18!important;
    margin:0 0 .7rem!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    max-width:100%!important;
  }
  body #tramites .ji-unified-card__body p{
    font-size:1rem!important;
    line-height:1.55!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }
  body #tramites .ji-unified-card__footer{
    padding-top:.95rem!important;
    padding-bottom:1rem!important;
  }
  body #tramites .ji-unified-card__footer a{
    width:100%!important;
    min-height:46px!important;
    border-radius:999px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    font-size:.9rem!important;
    white-space:normal!important;
  }
}

/* --- Hero mobile: content away from arrows --- */
@media screen and (max-width: 767px) {
  body.ji-v54-dashboard .ji-clean-hero__content,
  body.ji-v53-clean .ji-clean-hero__content{
    padding-left:3.9rem!important;
    padding-right:3.9rem!important;
    text-align:left!important;
  }
  body.ji-v54-dashboard .ji-clean-hero h1,
  body.ji-v53-clean .ji-clean-hero h1{
    font-size:clamp(2.45rem, 12vw, 3.65rem)!important;
    line-height:1!important;
  }
  body .ji-hero-slider__arrow{
    width:36px!important;
    height:58px!important;
    font-size:3rem!important;
    background:rgba(0,0,0,.22)!important;
    border-radius:0!important;
  }
  body .ji-hero-slider__arrow--prev{
    left:0!important;
  }
  body .ji-hero-slider__arrow--next{
    right:0!important;
  }
}

/* --- Fresh accessibility widget, unrelated to old ji-accessibility classes --- */
.jiv-access{
  position:fixed!important;
  top:14px!important;
  right:18px!important;
  z-index:15000!important;
  display:block!important;
}
.admin-bar .jiv-access{
  top:46px!important;
}
.jiv-access__toggle{
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  border-radius:999px!important;
  border:3px solid #ffffff!important;
  background:#2f6cf3!important;
  box-shadow:0 8px 20px rgba(0,0,0,.18)!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  cursor:pointer!important;
}
.jiv-access__icon{
  width:20px!important;
  height:20px!important;
  display:block!important;
  overflow:visible!important;
}
.jiv-access__icon *{
  fill:none!important;
  stroke:#ffffff!important;
  stroke-width:2.05!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.jiv-access__panel{
  position:absolute!important;
  top:58px!important;
  right:0!important;
  width:230px!important;
  padding:.75rem!important;
  border-radius:16px!important;
  background:#ffffff!important;
  color:#12344a!important;
  border:1px solid #dfe7e6!important;
  box-shadow:0 18px 48px rgba(0,0,0,.22)!important;
}
.jiv-access__panel[hidden]{
  display:none!important;
}
.jiv-access__panel button{
  width:100%!important;
  display:block!important;
  border:0!important;
  border-radius:10px!important;
  background:#f3f7f6!important;
  color:#12344a!important;
  padding:.72rem .85rem!important;
  margin:.25rem 0!important;
  text-align:left!important;
  font-size:.95rem!important;
  font-weight:750!important;
  cursor:pointer!important;
}
.jiv-access__panel button:hover{
  background:#e6efed!important;
}

/* Fresh accessibility effects */
:root{
  --jiv-font-scale:1;
}
html.jiv-font-scaled body{
  font-size:calc(16px * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled p,
html.jiv-font-scaled li,
html.jiv-font-scaled a,
html.jiv-font-scaled button,
html.jiv-font-scaled input,
html.jiv-font-scaled textarea,
html.jiv-font-scaled select,
html.jiv-font-scaled label,
html.jiv-font-scaled span,
html.jiv-font-scaled small,
html.jiv-font-scaled strong,
html.jiv-font-scaled em,
html.jiv-font-scaled td,
html.jiv-font-scaled th{
  font-size:calc(1em * var(--jiv-font-scale))!important;
}
html.jiv-underline-links a{
  text-decoration:underline!important;
}
html.jiv-high-contrast body{
  background:#000!important;
  color:#fff!important;
}
html.jiv-high-contrast a,
html.jiv-high-contrast h1,
html.jiv-high-contrast h2,
html.jiv-high-contrast h3,
html.jiv-high-contrast p,
html.jiv-high-contrast span,
html.jiv-high-contrast li{
  color:#fff!important;
}
html.jiv-invert-colors{
  filter:invert(1) hue-rotate(180deg)!important;
}
html.jiv-reduce-motion *,
html.jiv-reduce-motion *::before,
html.jiv-reduce-motion *::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v63-accessibility-heart-fix.css
   ============================================================ */

/* v6.3: accessibility effects truly affect whole page + heart icon for support */

/* Sitewide text scaling: scale page content, excluding the accessibility widget itself. */
:root{
  --jiv-font-scale:1;
}
html.jiv-font-scaled body{
  font-size:16px!important;
}
html.jiv-font-scaled body > *:not(.jiv-access){
  font-size:calc(1rem * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled :is(
  main, section, article, aside, nav, header, footer,
  .ji-main, .ji-section, .ji-block-section, .ji-events-showcase,
  .ji-clean-hero, .ji-clean-dashboard, .ji-footer,
  .ji-unified-card, .ji-card-system, .ji-news-card, .ji-event-tile
):not(.jiv-access):not(.jiv-access *){
  font-size:calc(1em * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled :is(
  h1, h2, h3, h4, h5, h6,
  p, li, a, button, label, input, textarea, select,
  span, small, strong, em, td, th, div
):not(.jiv-access):not(.jiv-access *){
  font-size:calc(1em * var(--jiv-font-scale))!important;
}

/* Extra safeguards for titles that were set with clamp/rem in older layers */
html.jiv-font-scaled .ji-clean-hero h1{
  font-size:calc(clamp(2.45rem, 12vw, 3.65rem) * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled .ji-block-heading__title--bicolor,
html.jiv-font-scaled .ji-news-section__title{
  font-size:calc(clamp(2rem, 4vw, 3.35rem) * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled #tramites .ji-unified-card__body h3{
  font-size:calc(1.28rem * var(--jiv-font-scale))!important;
}
html.jiv-font-scaled .ji-event-tile h3{
  font-size:calc(1.25rem * var(--jiv-font-scale))!important;
}

/* High contrast mode: make the whole page actually change. */
html.jiv-high-contrast body{
  background:#000!important;
  color:#fff!important;
}
html.jiv-high-contrast body *:not(.jiv-access):not(.jiv-access *){
  background-color:#000!important;
  background-image:none!important;
  color:#fff!important;
  border-color:#fff!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
html.jiv-high-contrast a:not(.jiv-access *),
html.jiv-high-contrast button:not(.jiv-access *){
  color:#ffff00!important;
  border-color:#ffff00!important;
}
html.jiv-high-contrast img,
html.jiv-high-contrast video{
  filter:grayscale(1) contrast(1.15)!important;
}
html.jiv-high-contrast .ji-clean-hero__media .ji-hero-slide:before,
html.jiv-high-contrast .ji-clean-hero__media .ji-hero-slide:after{
  background:#000!important;
}

/* Keep accessibility panel usable and not affected by site scaling/contrast */
.jiv-access,
.jiv-access *{
  font-size:14px!important;
}
html.jiv-high-contrast .jiv-access__toggle{
  background:#2f6cf3!important;
  border-color:#ffffff!important;
}
html.jiv-high-contrast .jiv-access__panel{
  background:#ffffff!important;
  color:#12344a!important;
  border-color:#dfe7e6!important;
}
html.jiv-high-contrast .jiv-access__panel button{
  background:#f3f7f6!important;
  color:#12344a!important;
}
html.jiv-invert-colors .jiv-access{
  filter:invert(1) hue-rotate(180deg)!important;
}

/* Heart icon: make support icon visually clear and slightly friendlier */
.ji-shortcut__icon--support svg{
  width:36px!important;
  height:36px!important;
}
.ji-shortcut__icon--support svg *{
  stroke-width:3!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v65-portal-sections.css
   ============================================================ */

/* v6.5 - portal vecinal: quiénes somos, documentos, directorio y cards uniformes */

/* Uniformar cards principales con la lógica visual de trámites */
.ji-card-system,
.ji-unified-card,
.ji-news-card{
  background:#ffffff!important;
  border:1px solid #dfe7e6!important;
  border-radius:0!important;
  box-shadow:0 10px 28px rgba(16,45,62,.08)!important;
  overflow:hidden!important;
}
.ji-card-system__eyebrow,
.ji-unified-card__top,
.ji-news-card__category{
  background:#ffffff!important;
  color:#8e49aa!important;
  font-size:.82rem!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:0!important;
  padding:1rem 1.15rem .25rem!important;
}
.ji-card-system__body,
.ji-unified-card__body,
.ji-news-card__body{
  background:#ffffff!important;
  padding:.35rem 1.15rem 1rem!important;
}
.ji-card-system__body h3,
.ji-card-system__body h3 a,
.ji-unified-card__body h3,
.ji-unified-card__body h3 a,
.ji-news-card__body h3,
.ji-news-card__body h3 a{
  color:#405579!important;
  font-size:1.04rem!important;
  line-height:1.2!important;
  font-weight:850!important;
  margin:0 0 .7rem!important;
  text-decoration:none!important;
}
.ji-card-system__body p,
.ji-unified-card__body p,
.ji-news-card__body p{
  color:#5d6b79!important;
  font-size:.95rem!important;
  line-height:1.55!important;
}
.ji-card-system__footer,
.ji-unified-card__footer,
.ji-news-card__footer{
  background:#ffffff!important;
  border-top:1px solid #dfe7e6!important;
  padding:.9rem 1rem 1rem!important;
  margin-top:auto!important;
}
.ji-card-system__footer a,
.ji-unified-card__footer a,
.ji-news-card__footer a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:42px!important;
  border-radius:999px!important;
  background:#f5bd3d!important;
  color:#ffffff!important;
  font-size:.86rem!important;
  font-weight:900!important;
  text-decoration:none!important;
  text-align:center!important;
  padding:.65rem .9rem!important;
}
.ji-card-system__footer a span,
.ji-unified-card__footer a span,
.ji-news-card__footer a span{
  background:transparent!important;
  color:inherit!important;
  width:auto!important;
  height:auto!important;
  margin-left:.4rem!important;
}

/* Secciones nuevas */
.ji-about-section,
.ji-documents-section,
.ji-directory-section{
  background:#ffffff!important;
}
.ji-about-grid,
.ji-documents-grid,
.ji-directory-grid{
  align-items:stretch!important;
}
.ji-about-card,
.ji-document-card,
.ji-directory-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:100%!important;
}
.ji-directory-notice{
  margin:0 0 1.2rem!important;
  padding:1rem 1.15rem!important;
  border-left:5px solid #1ec2ec!important;
  background:#f3f8f8!important;
  color:#2f4657!important;
  border-radius:0 14px 14px 0!important;
}

/* Card con imagen: conservar imagen pero uniformar cuerpo */
.ji-card-system__image img{
  aspect-ratio:16/9!important;
  width:100%!important;
  object-fit:cover!important;
}

/* Móvil */
@media (max-width: 767px){
  .ji-grid--3,
  .ji-unified-grid,
  .ji-news-grid,
  .ji-documents-grid,
  .ji-directory-grid,
  .ji-about-grid{
    grid-template-columns:1fr!important;
    gap:1rem!important;
  }
  .ji-block-heading__title--bicolor{
    font-size:clamp(2rem, 10vw, 3rem)!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v66-card-sections-fix.css
   ============================================================ */

/* v6.6 - cards con imagen iguales a trámites + secciones nuevas visibles */

/*
 * Las cards con imagen NO deben parecer otro sistema.
 * Diferencia permitida: imagen superior. Todo lo demás replica trámites.
 */
#destacados .ji-card-system,
#noticias .ji-card-system,
#galerias .ji-card-system,
.ji-card-system--feature,
.ji-card-system--news,
.ji-card-system--gallery{
  background:#ffffff!important;
  border:1px solid #dfe7e6!important;
  border-left:1px solid #dfe7e6!important;
  border-radius:0!important;
  box-shadow:0 10px 28px rgba(16,45,62,.08)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  min-height:100%!important;
}

/* Imagen superior limpia, sin borde lateral ni tratamiento tipo afiche gigante */
#destacados .ji-card-system__image,
#noticias .ji-card-system__image,
#galerias .ji-card-system__image,
.ji-card-system--feature .ji-card-system__image,
.ji-card-system--news .ji-card-system__image,
.ji-card-system--gallery .ji-card-system__image{
  display:block!important;
  width:100%!important;
  height:168px!important;
  min-height:168px!important;
  max-height:168px!important;
  overflow:hidden!important;
  background:#eef3f3!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}

#destacados .ji-card-system__image img,
#noticias .ji-card-system__image img,
#galerias .ji-card-system__image img,
.ji-card-system--feature .ji-card-system__image img,
.ji-card-system--news .ji-card-system__image img,
.ji-card-system--gallery .ji-card-system__image img{
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  object-fit:cover!important;
  display:block!important;
  border:0!important;
  margin:0!important;
  padding:0!important;
}

/* Eyebrow, cuerpo y footer idénticos al tratamiento de trámites */
#destacados .ji-card-system__eyebrow,
#noticias .ji-card-system__eyebrow,
#galerias .ji-card-system__eyebrow,
.ji-card-system--feature .ji-card-system__eyebrow,
.ji-card-system--news .ji-card-system__eyebrow,
.ji-card-system--gallery .ji-card-system__eyebrow{
  background:#ffffff!important;
  color:#8e49aa!important;
  font-size:.86rem!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:0!important;
  padding:1rem 1.15rem .15rem!important;
  margin:0!important;
  text-transform:none!important;
}

#destacados .ji-card-system__body,
#noticias .ji-card-system__body,
#galerias .ji-card-system__body,
.ji-card-system--feature .ji-card-system__body,
.ji-card-system--news .ji-card-system__body,
.ji-card-system--gallery .ji-card-system__body{
  background:#ffffff!important;
  padding:.35rem 1.15rem 1rem!important;
  margin:0!important;
  flex:1 1 auto!important;
}

#destacados .ji-card-system__body h3,
#destacados .ji-card-system__body h3 a,
#noticias .ji-card-system__body h3,
#noticias .ji-card-system__body h3 a,
#galerias .ji-card-system__body h3,
#galerias .ji-card-system__body h3 a,
.ji-card-system--feature .ji-card-system__body h3,
.ji-card-system--feature .ji-card-system__body h3 a,
.ji-card-system--news .ji-card-system__body h3,
.ji-card-system--news .ji-card-system__body h3 a,
.ji-card-system--gallery .ji-card-system__body h3,
.ji-card-system--gallery .ji-card-system__body h3 a{
  color:#405579!important;
  font-size:1.04rem!important;
  line-height:1.2!important;
  font-weight:850!important;
  margin:0 0 .7rem!important;
  text-decoration:none!important;
}

#destacados .ji-card-system__body p,
#noticias .ji-card-system__body p,
#galerias .ji-card-system__body p,
.ji-card-system--feature .ji-card-system__body p,
.ji-card-system--news .ji-card-system__body p,
.ji-card-system--gallery .ji-card-system__body p{
  color:#5d6b79!important;
  font-size:.95rem!important;
  line-height:1.55!important;
  margin:0!important;
}

#destacados .ji-card-system__footer,
#noticias .ji-card-system__footer,
#galerias .ji-card-system__footer,
.ji-card-system--feature .ji-card-system__footer,
.ji-card-system--news .ji-card-system__footer,
.ji-card-system--gallery .ji-card-system__footer{
  background:#ffffff!important;
  border-top:1px solid #dfe7e6!important;
  padding:.9rem 1rem 1rem!important;
  margin-top:auto!important;
}

#destacados .ji-card-system__footer a,
#noticias .ji-card-system__footer a,
#galerias .ji-card-system__footer a,
.ji-card-system--feature .ji-card-system__footer a,
.ji-card-system--news .ji-card-system__footer a,
.ji-card-system--gallery .ji-card-system__footer a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:42px!important;
  border-radius:999px!important;
  background:#f5bd3d!important;
  color:#ffffff!important;
  font-size:.86rem!important;
  font-weight:900!important;
  text-decoration:none!important;
  text-align:center!important;
  padding:.65rem .9rem!important;
}

/* Si galerías tenía el eyebrow después de la imagen/cuerpo, igual queda en la misma lógica */
#galerias .ji-card-system__eyebrow{
  order:2!important;
}
#galerias .ji-card-system__body{
  order:3!important;
}
#galerias .ji-card-system__footer{
  order:4!important;
}
#galerias .ji-card-system__image{
  order:1!important;
}

/* Nuevas secciones: espaciado visible y cards iguales a trámites */
#quienes-somos,
#documentos{
  display:block!important;
  visibility:visible!important;
}
.ji-about-card,
.ji-document-card{
  border-left:1px solid #dfe7e6!important;
}

/* Móvil */
@media (max-width: 767px){
  #destacados .ji-card-system__image,
  #noticias .ji-card-system__image,
  #galerias .ji-card-system__image{
    height:150px!important;
    min-height:150px!important;
    max-height:150px!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v67-hotfixes.css
   ============================================================ */
/* v6.7 hotfixes: remove colored left bars, restore back-to-top left, refresh screenshot expectations */

/* 1) Eliminar la columna/cinta izquierda de TODAS las cards nuevas */
.ji-card-system,
.ji-card-system__body,
.ji-card-system__footer,
.ji-about-card,
.ji-document-card,
.ji-directory-card{
  border-left:0!important;
  box-shadow:none;
}

.ji-card-system--feature .ji-card-system__body,
.ji-card-system--feature .ji-card-system__footer,
.ji-card-system--gallery .ji-card-system__body,
.ji-card-system--gallery .ji-card-system__footer,
.ji-card-system--news .ji-card-system__body,
.ji-card-system--news .ji-card-system__footer,
.ji-card-system--person .ji-card-system__body,
.ji-card-system--person .ji-card-system__footer,
#directiva .ji-card-system--person .ji-card-system__body,
#directiva .ji-card-system--person .ji-card-system__footer,
#destacados .ji-card-system,
#noticias .ji-card-system,
#galerias .ji-card-system,
#quienes-somos .ji-about-card,
#documentos .ji-document-card,
#directorio-vecinal .ji-directory-card{
  border-left:0!important;
}

/* Seguridad: neutralizar pseudo-elementos usados como cintas si existieran */
.ji-card-system::before,
.ji-card-system__body::before,
.ji-card-system__footer::before,
.ji-about-card::before,
.ji-document-card::before,
.ji-directory-card::before{
  display:none!important;
  content:none!important;
}

/* 2) Botón ir arriba SIEMPRE a la izquierda */
.ji-back-to-top{
  left:22px!important;
  right:auto!important;
  bottom:24px!important;
}

@media (max-width: 767px){
  .ji-back-to-top{
    left:16px!important;
    right:auto!important;
    bottom:18px!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v68-final-visual-sweep.css
   ============================================================ */

/* v6.8 final visual sweep */

/* 1) Directiva: eliminar cualquier barra/cinta vertical heredada */
#directiva .ji-card-system,
#directiva .ji-card-system--person,
#directiva .ji-card-system__eyebrow,
#directiva .ji-card-system__body,
#directiva .ji-card-system__footer,
#directiva .ji-unified-card,
#directiva .ji-unified-card__top,
#directiva .ji-unified-card__body,
#directiva .ji-unified-card__footer{
  border-left:0!important;
}

#directiva .ji-card-system::before,
#directiva .ji-card-system::after,
#directiva .ji-card-system__eyebrow::before,
#directiva .ji-card-system__body::before,
#directiva .ji-card-system__footer::before,
#directiva .ji-unified-card::before,
#directiva .ji-unified-card::after{
  display:none!important;
  content:none!important;
}

/* Directiva debe quedar como card de trámite: sin borde lateral, limpia y pareja */
#directiva .ji-card-system--person{
  background:#fff!important;
  border:1px solid #dfe7e6!important;
  border-left:0!important;
  border-radius:0!important;
  box-shadow:0 10px 28px rgba(16,45,62,.08)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
}
#directiva .ji-card-system__eyebrow{
  background:#fff!important;
  color:#8e49aa!important;
  font-size:.86rem!important;
  font-weight:850!important;
  padding:1rem 1.15rem .15rem!important;
}
#directiva .ji-card-system__body{
  background:#fff!important;
  padding:.35rem 1.15rem 1rem!important;
  flex:1 1 auto!important;
}
#directiva .ji-card-system__footer{
  background:#fff!important;
  border-top:1px solid #dfe7e6!important;
  padding:.9rem 1rem 1rem!important;
}

/* 2) Botones amarillos: SIEMPRE EN MAYÚSCULAS */
.ji-btn,
.ji-btn--news,
.ji-card-system__footer a,
.ji-unified-card__footer a,
.ji-news-card__footer a,
.ji-events-showcase__all,
#tramites .ji-unified-card__footer a,
#directiva .ji-card-system__footer a,
#destacados .ji-card-system__footer a,
#noticias .ji-card-system__footer a,
#galerias .ji-card-system__footer a,
#documentos .ji-unified-card__footer a,
#directorio .ji-unified-card__footer a,
#quienes-somos .ji-unified-card__footer a{
  text-transform:uppercase!important;
  letter-spacing:.02em!important;
  font-weight:900!important;
}

/* Mantener el botón amarillo en la misma lógica visual */
.ji-card-system__footer a,
.ji-unified-card__footer a,
.ji-news-card__footer a,
#directiva .ji-card-system__footer a{
  background:#f5bd3d!important;
  color:#fff!important;
}

/* 3) Ir arriba: izquierda, no derecha */
.ji-back-to-top{
  left:22px!important;
  right:auto!important;
  bottom:24px!important;
}
@media (max-width:767px){
  .ji-back-to-top{
    left:16px!important;
    right:auto!important;
    bottom:18px!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v69-menu-links.css
   ============================================================ */
/* v6.9 - menu links for Quiénes somos and Documentación */
.ji-menu-auto > a{
  white-space:nowrap!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v70-certificates.css
   ============================================================ */

/* v7.0 - verificación de certificados */
.ji-cert-verify{
  max-width:760px;
  margin:2rem auto;
  background:#ffffff;
  border:1px solid #dfe7e6;
  box-shadow:0 14px 34px rgba(16,45,62,.08);
}
.ji-cert-verify__head{
  padding:1.4rem 1.4rem .5rem;
}
.ji-cert-verify__head h2{
  margin:0 0 .55rem;
  color:#1f7a75;
  font-size:clamp(1.7rem,3vw,2.35rem);
}
.ji-cert-verify__head p{
  color:#526274;
  line-height:1.55;
}
.ji-cert-verify__form{
  padding:1rem 1.4rem 1.4rem;
  display:grid;
  gap:1rem;
}
.ji-cert-verify__form label{
  color:#28445a;
  font-weight:800;
}
.ji-cert-verify__form input{
  width:100%;
  min-height:46px;
  border:1px solid #cfdadb;
  border-radius:12px;
  padding:.75rem .9rem;
  margin-top:.35rem;
  font-size:1rem;
}
.ji-cert-verify__form button{
  min-height:48px;
  border:0;
  border-radius:999px;
  background:#f5bd3d;
  color:#ffffff;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
}
.ji-cert-result{
  margin:0 1.4rem 1.4rem;
  padding:1.1rem;
  border-radius:14px;
  border:1px solid #dfe7e6;
}
.ji-cert-result h3{
  margin:0 0 1rem;
}
.ji-cert-result--valid{
  background:#eefaf6;
  border-color:#1f9d76;
}
.ji-cert-result--expired{
  background:#fff8e5;
  border-color:#f5bd3d;
}
.ji-cert-result--invalid{
  background:#fff1f1;
  border-color:#d76b6b;
}
.ji-cert-result dl{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:.45rem .9rem;
  margin:0;
}
.ji-cert-result dt{
  font-weight:900;
  color:#28445a;
}
.ji-cert-result dd{
  margin:0;
  color:#526274;
}
.ji-cert-result__note{
  margin:1rem 0 0;
  font-size:.92rem;
  color:#526274;
}
@media (max-width:640px){
  .ji-cert-result dl{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v71-england-logo-verification.css
   ============================================================ */

/* v7.1 - Logo JJVV Inglaterra UV6 + paleta Inglaterra + acceso verificación */

/* Paleta Inglaterra: rojo/blanco con azul profundo solo para texto y contraste */
:root{
  --ji-primary:#b00012!important;
  --ji-secondary:#8f0010!important;
  --ji-accent:#c8102e!important;
  --ji-yellow:#c8102e!important;
  --ji-teal:#b00012!important;
  --ji-navy:#092943!important;
}

/* Header rojo institucional */
body.ji-theme .ji-clean-header,
body.ji-v53-clean .ji-clean-header,
body.ji-v54-dashboard .ji-clean-header{
  background:#b00012!important;
}
body.ji-theme .ji-topbar,
body.ji-v53-clean .ji-topbar,
body.ji-v54-dashboard .ji-topbar{
  background:#b00012!important;
}
.ji-clean-branding__asset-logo{
  width:54px!important;
  height:54px!important;
  border-radius:999px!important;
  background:#b00012!important;
  border:2px solid rgba(255,255,255,.95)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  box-shadow:0 8px 20px rgba(0,0,0,.14)!important;
  flex:0 0 auto!important;
}
.ji-clean-branding__asset-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  display:block!important;
}
.ji-clean-branding__text strong,
.ji-clean-branding__text em{
  color:#fff!important;
}

/* Navegación en rojo profundo */
.ji-clean-nav a,
.ji-main-nav a,
.ji-main-nav--mega>ul>li>a{
  color:#8f0010!important;
}
.ji-main-nav--mega>ul>li+li>a:before,
.ji-clean-nav>ul>li+li>a:before{
  color:rgba(176,0,18,.45)!important;
}

/* Botones y CTAs con rojo Inglaterra */
.ji-btn,
.ji-btn--news,
.ji-clean-call,
.ji-clean-hero__button,
.ji-card-system__footer a,
.ji-unified-card__footer a,
.ji-news-card__footer a,
.ji-events-showcase__all,
.ji-clean-dashboard__pills a:hover,
.ji-cert-verify__form button{
  background:#c8102e!important;
  color:#fff!important;
  border-color:#c8102e!important;
}
.ji-btn:hover,
.ji-btn--news:hover,
.ji-clean-call:hover,
.ji-card-system__footer a:hover,
.ji-unified-card__footer a:hover,
.ji-news-card__footer a:hover{
  background:#8f0010!important;
  border-color:#8f0010!important;
  color:#fff!important;
}

/* Dashboard mantiene contraste pero con acentos rojos */
.ji-clean-dashboard{
  background:#092943!important;
}
.ji-clean-dashboard__pills a{
  border-color:#ffffff!important;
  color:#ffffff!important;
}
.ji-clean-dashboard__search strong{
  color:#c8102e!important;
}

/* Títulos bicolor: rojo + azul profundo */
.ji-block-heading__title--bicolor{
  color:#092943!important;
}
.ji-block-heading__title--bicolor span{
  color:#c8102e!important;
}
.ji-card-system__eyebrow,
.ji-unified-card__top,
.ji-news-card__category{
  color:#b00012!important;
}

/* Footer en rojo oscuro */
.ji-footer{
  background:#8f0010!important;
}
.ji-footer__topband,
.ji-footer__bottom{
  background:#70000c!important;
}

/* Acceso verificación bajo hero */
.ji-verification-strip{
  background:#fff!important;
  border-top:1px solid #eee!important;
  border-bottom:1px solid #e5e5e5!important;
}
.ji-verification-strip__inner{
  min-height:82px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding-top:1rem!important;
  padding-bottom:1rem!important;
}
.ji-verification-strip strong{
  display:block!important;
  color:#092943!important;
  font-size:1.2rem!important;
  line-height:1.1!important;
}
.ji-verification-strip span{
  display:block!important;
  color:#556575!important;
  font-size:.98rem!important;
  margin-top:.25rem!important;
}
.ji-verification-strip a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  border-radius:999px!important;
  padding:.75rem 1.2rem!important;
  background:#c8102e!important;
  color:#fff!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.ji-verification-strip a span{
  color:#fff!important;
  margin:0 0 0 .45rem!important;
  font-size:1rem!important;
}

@media(max-width:760px){
  .ji-clean-branding__asset-logo{
    width:48px!important;
    height:48px!important;
  }
  .ji-verification-strip__inner{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .ji-verification-strip a{
    width:100%!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v75-cert-result-flow.css
   ============================================================ */

/* v7.5 - resultado de verificación sin formulario + iconografía de estado */
.ji-cert-verify--searched .ji-cert-verify__head{
  padding-bottom:.25rem!important;
}
.ji-cert-result__status-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.8rem!important;
  margin:0 0 1.1rem!important;
}
.ji-cert-status-card{
  display:flex!important;
  align-items:flex-start!important;
  gap:.8rem!important;
  background:#fff!important;
  border:1px solid #dfe7e6!important;
  border-radius:14px!important;
  padding:.9rem!important;
}
.ji-cert-status-card__icon{
  width:38px!important;
  height:38px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  font-weight:950!important;
  font-size:1.35rem!important;
  line-height:1!important;
  color:#fff!important;
}
.ji-cert-status-card strong{
  display:block!important;
  color:#092943!important;
  font-size:1rem!important;
  line-height:1.15!important;
}
.ji-cert-status-card small{
  display:block!important;
  margin-top:.25rem!important;
  color:#556575!important;
  line-height:1.35!important;
}
.ji-cert-status-card--valid .ji-cert-status-card__icon,
.ji-cert-status-card--current .ji-cert-status-card__icon{
  background:#14845f!important;
}
.ji-cert-status-card--expired .ji-cert-status-card__icon{
  background:#d89000!important;
}
.ji-cert-status-card--invalid .ji-cert-status-card__icon{
  background:#c8102e!important;
}
.ji-cert-status-card--unknown .ji-cert-status-card__icon{
  background:#526274!important;
}
.ji-cert-result--valid h3{
  color:#14845f!important;
}
.ji-cert-result--expired h3{
  color:#9a6400!important;
}
.ji-cert-result--invalid h3{
  color:#c8102e!important;
}
.ji-cert-result-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.75rem!important;
  margin:0 1.4rem 1.4rem!important;
}
.ji-cert-action{
  min-height:46px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.75rem 1.15rem!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
.ji-cert-action--primary{
  background:#c8102e!important;
  border:2px solid #c8102e!important;
  color:#fff!important;
}
.ji-cert-action--secondary{
  background:#fff!important;
  border:2px solid #c8102e!important;
  color:#c8102e!important;
}
.ji-cert-action:hover{
  background:#8f0010!important;
  border-color:#8f0010!important;
  color:#fff!important;
}
@media(max-width:720px){
  .ji-cert-result__status-grid{
    grid-template-columns:1fr!important;
  }
  .ji-cert-result-actions{
    flex-direction:column!important;
  }
  .ji-cert-action{
    width:100%!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v76-gb-palette-layout.css
   ============================================================ */

/* v7.6 - paleta Gran Bretaña + verificador integrado */
:root{
  --ji-gb-navy:#012169;
  --ji-gb-blue:#1a47b8;
  --ji-gb-red:#C8102E;
  --ji-gb-red-dark:#a10f26;
  --ji-gb-white:#ffffff;
  --ji-gb-soft:#f5f7fc;
  --ji-gb-line:#d8dfef;
  --ji-gb-ink:#0f2147;
  --ji-primary:var(--ji-gb-navy);
  --ji-secondary:var(--ji-gb-blue);
  --ji-accent:var(--ji-gb-red);
  --ji-bg:var(--ji-gb-soft);
  --ji-text:var(--ji-gb-ink);
  --ji-border:var(--ji-gb-line);
  --ji-v5-teal:var(--ji-gb-navy);
  --ji-v5-teal-dark:#00184d;
  --ji-v5-yellow:var(--ji-gb-red);
  --ji-v5-orange:#ef435d;
  --ji-v5-purple:var(--ji-gb-blue);
  --ji-v5-ink:var(--ji-gb-ink);
  --ji-v5-muted:#5f6b83;
  --ji-v5-soft:var(--ji-gb-soft);
  --ji-v5-line:var(--ji-gb-line);
  --ji-card-teal:var(--ji-gb-navy);
  --ji-card-teal-dark:var(--ji-gb-blue);
  --ji-card-copy:#43536e;
  --ji-card-title:var(--ji-gb-ink);
  --ji-card-kicker:var(--ji-gb-blue);
  --ji-card-accent:var(--ji-gb-red);
  --ji-independencia-teal:var(--ji-gb-navy);
  --ji-independencia-teal-dark:var(--ji-gb-blue);
  --ji-independencia-yellow:var(--ji-gb-red);
  --ji-independencia-yellow-dark:var(--ji-gb-red-dark);
  --ji-independencia-ink:var(--ji-gb-ink);
}
body{background:var(--ji-gb-soft)!important;color:var(--ji-gb-ink)!important;}
.ji-clean-header{background:linear-gradient(90deg,var(--ji-gb-navy) 0%,var(--ji-gb-blue) 100%)!important;}
.ji-site-header--clean,.ji-site-header{box-shadow:0 4px 24px rgba(1,33,105,.10)!important;}
.ji-clean-branding__text--asset-logo strong,
.ji-clean-branding__text--asset-logo em{color:#fff!important;}
.ji-clean-navline{background:#fff!important;border-bottom:1px solid var(--ji-gb-line)!important;}
.ji-clean-nav a,
.ji-main-nav a{color:var(--ji-gb-ink)!important;}
.ji-clean-nav a:hover,.ji-clean-nav .current-menu-item>a,
.ji-main-nav a:hover,.ji-main-nav .current-menu-item>a{color:var(--ji-gb-navy)!important;background:rgba(1,33,105,.08)!important;}
.ji-menu-toggle span:not(.screen-reader-text){background:var(--ji-gb-navy)!important;}
.ji-clean-search{background:rgba(255,255,255,.16)!important;color:#fff!important;}
.ji-clean-call,.ji-btn,.ji-card__action,.ji-archive-card__action,.ji-person-card__action,.ji-short-card__action,.ji-cert-action--primary{background:var(--ji-gb-red)!important;border-color:var(--ji-gb-red)!important;color:#fff!important;}
.ji-clean-call:hover,.ji-btn:hover,.ji-card__action:hover,.ji-archive-card__action:hover,.ji-person-card__action:hover,.ji-short-card__action:hover,.ji-cert-action--primary:hover{background:var(--ji-gb-red-dark)!important;border-color:var(--ji-gb-red-dark)!important;}
.ji-cert-action--secondary{color:var(--ji-gb-red)!important;border-color:var(--ji-gb-red)!important;background:#fff!important;}
.ji-clean-hero__media:after{background:linear-gradient(90deg,rgba(1,33,105,.60) 0%,rgba(1,33,105,.22) 55%,rgba(1,33,105,.05) 100%)!important;}
.ji-clean-dashboard{background:#10233f!important;color:#fff!important;}
.ji-clean-dashboard h2{color:#fff!important;}
.ji-clean-dashboard__search{background:#fff!important;color:var(--ji-gb-ink)!important;}
.ji-clean-dashboard__search strong{color:var(--ji-gb-red)!important;}
.ji-clean-dashboard__pills a{border-color:#4c8dff!important;color:#fff!important;background:transparent!important;}
.ji-clean-dashboard__pills a:hover{background:var(--ji-gb-red)!important;border-color:var(--ji-gb-red)!important;color:#fff!important;}
.ji-home-shortcuts__grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.ji-home-shortcuts .ji-shortcut{min-height:116px!important;background:var(--ji-gb-navy)!important;border-right:1px solid rgba(255,255,255,.18)!important;}
.ji-home-shortcuts .ji-shortcut:nth-child(2){background:#17337f!important;}
.ji-home-shortcuts .ji-shortcut:nth-child(3){background:var(--ji-gb-blue)!important;}
.ji-home-shortcuts .ji-shortcut:nth-child(4){background:var(--ji-gb-red)!important;}
.ji-home-shortcuts .ji-shortcut:hover{background:var(--ji-gb-red-dark)!important;}
.ji-shortcut__text{color:#fff!important;max-width:240px!important;}
.ji-shortcut__icon svg,.ji-shortcut__icon svg *{stroke:#fff!important;fill:none!important;stroke-width:2.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.ji-shortcut__icon--support svg path{fill:none!important;}
.ji-section__header h2 span:last-child,
.ji-v5-section__title span:last-child{color:var(--ji-gb-red)!important;}
.ji-section__header h2 span:first-child,
.ji-v5-section__title span:first-child{color:var(--ji-gb-blue)!important;}
.ji-v5-card__kicker,.ji-archive-card__kicker,.ji-person-card__role{color:var(--ji-gb-blue)!important;}
.ji-v5-card__title,.ji-archive-card__title,.ji-person-card__name,.ji-short-card__title{color:var(--ji-gb-ink)!important;}
.ji-v5-card__button,.ji-archive-card__button,.ji-person-card__button,.ji-short-card__button{background:var(--ji-gb-red)!important;color:#fff!important;}
.ji-v5-card__button:hover,.ji-archive-card__button:hover,.ji-person-card__button:hover,.ji-short-card__button:hover{background:var(--ji-gb-red-dark)!important;}
.ji-v5-card,.ji-archive-card,.ji-person-card,.ji-short-card,.ji-cert-verify,.ji-cert-result,.ji-clean-dashboard__search{border-color:var(--ji-gb-line)!important;box-shadow:0 12px 34px rgba(1,33,105,.08)!important;}
.ji-footer,.ji-v5-footer{background:linear-gradient(135deg,var(--ji-gb-navy) 0%,#0d2c78 100%)!important;color:#fff!important;}
.ji-footer__bottom,.ji-v5-footer__bottom{background:rgba(0,0,0,.22)!important;}
.ji-backtotop{left:24px!important;right:auto!important;background:var(--ji-gb-red)!important;color:#fff!important;}
.ji-backtotop:hover{background:var(--ji-gb-red-dark)!important;}
@media (max-width:1100px){
  .ji-home-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:700px){
  .ji-home-shortcuts__grid{grid-template-columns:1fr!important;}
  .ji-home-shortcuts .ji-shortcut{min-height:92px!important;}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v77-british-community.css
   ============================================================ */

/* v7.7 - corrección shortcuts + paleta británica comunitaria */
:root{
  --ji-bc-navy:#15337a;
  --ji-bc-royal:#2f67ff;
  --ji-bc-cobalt:#1e4fd1;
  --ji-bc-red:#cf142b;
  --ji-bc-red-dark:#ad0f23;
  --ji-bc-white:#ffffff;
  --ji-bc-soft:#f6f8ff;
  --ji-bc-line:#dbe3f6;
  --ji-bc-ink:#10244e;
}
body{background:var(--ji-bc-soft)!important;color:var(--ji-bc-ink)!important;}
body .ji-clean-header{background:linear-gradient(90deg,var(--ji-bc-navy) 0%, var(--ji-bc-royal) 100%)!important;}
body .ji-site-header--clean,
body .ji-site-header{box-shadow:0 8px 30px rgba(21,51,122,.14)!important;}
body .ji-clean-branding__text--asset-logo strong,
body .ji-clean-branding__text--asset-logo em,
body .ji-clean-search,
body .ji-clean-call,
body .ji-accessibility-toggle{color:#fff!important;}
body .ji-clean-search{background:rgba(255,255,255,.16)!important;}
body .ji-clean-call,
body .ji-btn,
body .ji-card__action,
body .ji-archive-card__action,
body .ji-person-card__action,
body .ji-short-card__action,
body .ji-cert-action--primary,
body .ji-v5-card__button,
body .ji-archive-card__button,
body .ji-person-card__button,
body .ji-short-card__button{background:var(--ji-bc-red)!important;border-color:var(--ji-bc-red)!important;color:#fff!important;}
body .ji-clean-call:hover,
body .ji-btn:hover,
body .ji-card__action:hover,
body .ji-archive-card__action:hover,
body .ji-person-card__action:hover,
body .ji-short-card__action:hover,
body .ji-cert-action--primary:hover,
body .ji-v5-card__button:hover,
body .ji-archive-card__button:hover,
body .ji-person-card__button:hover,
body .ji-short-card__button:hover{background:var(--ji-bc-red-dark)!important;border-color:var(--ji-bc-red-dark)!important;}
body .ji-clean-dashboard{background:#152b57!important;}
body .ji-clean-dashboard__pills a{border-color:#6fb5ff!important;color:#fff!important;}
body .ji-clean-dashboard__pills a:hover{background:var(--ji-bc-red)!important;border-color:var(--ji-bc-red)!important;}

/* Force 4 shortcuts in one row on desktop */
body .ji-home-shortcuts,
body .ji-home-shortcuts--v55{width:100%!important;background:var(--ji-bc-white)!important;}
body .ji-home-shortcuts .ji-home-shortcuts__grid,
body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  gap:0!important;
  width:100%!important;
  background:transparent!important;
}
body .ji-home-shortcuts .ji-shortcut,
body .ji-home-shortcuts--v55 .ji-shortcut{
  min-width:0!important;
  min-height:120px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  padding:1.45rem 1.4rem!important;
  border-right:1px solid rgba(255,255,255,.14)!important;
  border-bottom:0!important;
  text-decoration:none!important;
  transform:none!important;
}
body .ji-home-shortcuts .ji-shortcut:nth-child(1),
body .ji-home-shortcuts--v55 .ji-shortcut:nth-child(1){background:linear-gradient(135deg,var(--ji-bc-navy) 0%, #114a8b 100%)!important;}
body .ji-home-shortcuts .ji-shortcut:nth-child(2),
body .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2){background:linear-gradient(135deg,#0f4e96 0%, var(--ji-bc-cobalt) 100%)!important;}
body .ji-home-shortcuts .ji-shortcut:nth-child(3),
body .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3){background:linear-gradient(135deg,var(--ji-bc-royal) 0%, #4e83ff 100%)!important;}
body .ji-home-shortcuts .ji-shortcut:nth-child(4),
body .ji-home-shortcuts--v55 .ji-shortcut:nth-child(4){background:linear-gradient(135deg,var(--ji-bc-red) 0%, #e23a50 100%)!important;}
body .ji-home-shortcuts .ji-shortcut:last-child,
body .ji-home-shortcuts--v55 .ji-shortcut:last-child{border-right:0!important;}
body .ji-home-shortcuts .ji-shortcut:hover,
body .ji-home-shortcuts--v55 .ji-shortcut:hover{filter:brightness(1.05);}
body .ji-home-shortcuts .ji-shortcut__text,
body .ji-home-shortcuts--v55 .ji-shortcut__text{
  color:#fff!important;
  font-size:clamp(1.02rem,1.25vw,1.25rem)!important;
  line-height:1.08!important;
  font-weight:800!important;
  max-width:none!important;
  flex:1 1 auto!important;
  letter-spacing:-.01em;
}
body .ji-home-shortcuts .ji-shortcut__icon,
body .ji-home-shortcuts--v55 .ji-shortcut__icon{width:42px!important;height:42px!important;flex:0 0 42px!important;filter:none!important;opacity:1!important;}
body .ji-home-shortcuts .ji-shortcut__icon svg,
body .ji-home-shortcuts .ji-shortcut__icon svg *,
body .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body .ji-home-shortcuts--v55 .ji-shortcut__icon svg *{stroke:#fff!important;fill:none!important;stroke-width:2.6!important;stroke-linecap:round!important;stroke-linejoin:round!important;}

/* Titles and section accents */
body .ji-section__header h2 span:first-child,
body .ji-v5-section__title span:first-child{color:var(--ji-bc-royal)!important;}
body .ji-section__header h2 span:last-child,
body .ji-v5-section__title span:last-child{color:var(--ji-bc-red)!important;}
body .ji-v5-card__kicker,
body .ji-archive-card__kicker,
body .ji-person-card__role{color:var(--ji-bc-royal)!important;}
body .ji-v5-card,
body .ji-archive-card,
body .ji-person-card,
body .ji-short-card,
body .ji-cert-verify,
body .ji-cert-result{border-color:var(--ji-bc-line)!important;box-shadow:0 14px 30px rgba(21,51,122,.08)!important;}
body .ji-v5-footer,
body .ji-footer{background:linear-gradient(135deg,var(--ji-bc-navy) 0%, #114a8b 100%)!important;}
body .ji-backtotop{left:24px!important;right:auto!important;background:var(--ji-bc-red)!important;color:#fff!important;}
body .ji-backtotop:hover{background:var(--ji-bc-red-dark)!important;}

@media (max-width: 1180px){
  body .ji-home-shortcuts .ji-shortcut__text,
  body .ji-home-shortcuts--v55 .ji-shortcut__text{font-size:1rem!important;}
}
@media (max-width: 980px){
  body .ji-home-shortcuts .ji-home-shortcuts__grid,
  body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width: 640px){
  body .ji-home-shortcuts .ji-home-shortcuts__grid,
  body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{grid-template-columns:1fr!important;}
  body .ji-home-shortcuts .ji-shortcut,
  body .ji-home-shortcuts--v55 .ji-shortcut{min-height:88px!important;padding:1rem 1rem!important;}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v78-final-british-community-force.css
   ============================================================ */

/* v7.8 - FORCE: 4 shortcuts en una sola línea + paleta comunitaria británica global */
:root{
  --ji-uk-blue:#2457e6;
  --ji-uk-blue-2:#3677ff;
  --ji-uk-navy:#0f2b63;
  --ji-uk-navy-2:#153a83;
  --ji-uk-red:#cf142b;
  --ji-uk-red-2:#e83c55;
  --ji-uk-white:#ffffff;
  --ji-uk-soft:#f4f7ff;
  --ji-uk-line:#d8e2fb;
  --ji-uk-ink:#0d214a;

  --ji-primary:var(--ji-uk-navy)!important;
  --ji-secondary:var(--ji-uk-blue)!important;
  --ji-accent:var(--ji-uk-red)!important;
  --ji-bg:var(--ji-uk-soft)!important;
  --ji-text:var(--ji-uk-ink)!important;
  --ji-border:var(--ji-uk-line)!important;

  --ji-v5-teal:var(--ji-uk-blue)!important;
  --ji-v5-teal-dark:var(--ji-uk-navy)!important;
  --ji-v5-yellow:var(--ji-uk-red)!important;
  --ji-v5-orange:var(--ji-uk-red-2)!important;
  --ji-v5-purple:var(--ji-uk-blue-2)!important;
  --ji-v5-ink:var(--ji-uk-ink)!important;
  --ji-v5-muted:#50607e!important;
  --ji-v5-soft:var(--ji-uk-soft)!important;
  --ji-v5-line:var(--ji-uk-line)!important;

  --ji-card-teal:var(--ji-uk-blue)!important;
  --ji-card-teal-dark:var(--ji-uk-navy)!important;
  --ji-card-copy:#425270!important;
  --ji-card-title:var(--ji-uk-ink)!important;
  --ji-card-kicker:var(--ji-uk-blue-2)!important;
  --ji-card-accent:var(--ji-uk-red)!important;

  --ji-independencia-teal:var(--ji-uk-blue)!important;
  --ji-independencia-teal-dark:var(--ji-uk-navy)!important;
  --ji-independencia-yellow:var(--ji-uk-red)!important;
  --ji-independencia-yellow-dark:#ad1025!important;
  --ji-independencia-ink:var(--ji-uk-ink)!important;
}

html body,
body.ji-v53-clean,
body.ji-v54-dashboard{
  background:var(--ji-uk-soft)!important;
  color:var(--ji-uk-ink)!important;
}

/* Paleta global visible */
body.ji-v53-clean .ji-clean-header,
body.ji-v54-dashboard .ji-clean-header,
body.ji-v53-clean.ji-v54-dashboard .ji-clean-header,
body .ji-clean-header{
  background:linear-gradient(90deg,var(--ji-uk-navy) 0%,var(--ji-uk-blue) 62%,var(--ji-uk-red) 100%)!important;
}
body.ji-v53-clean .ji-clean-navline,
body.ji-v54-dashboard .ji-clean-navline,
body .ji-clean-navline{
  background:#ffffff!important;
  border-bottom:1px solid var(--ji-uk-line)!important;
}
body.ji-v53-clean .ji-clean-nav a,
body.ji-v54-dashboard .ji-clean-nav a,
body .ji-main-nav a{
  color:var(--ji-uk-ink)!important;
}
body.ji-v53-clean .ji-clean-nav a:hover,
body.ji-v54-dashboard .ji-clean-nav a:hover,
body .ji-main-nav a:hover{
  background:rgba(36,87,230,.10)!important;
  color:var(--ji-uk-blue)!important;
}
body .ji-clean-branding__text strong,
body .ji-clean-branding__text em,
body .ji-clean-branding__text--asset-logo strong,
body .ji-clean-branding__text--asset-logo em{color:#fff!important;}
body.ji-v53-clean .ji-clean-search,
body.ji-v54-dashboard .ji-clean-search{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-call,
body.ji-v54-dashboard .ji-clean-call,
body .ji-clean-call,
body .ji-btn,
body .ji-btn--news,
body .ji-clean-hero__button,
body .ji-card-system__footer a,
body .ji-unified-card__footer a,
body .ji-news-card__footer a,
body .ji-events-showcase__all,
body .ji-cert-verify__form button,
body .ji-v5-card__button,
body .ji-archive-card__button,
body .ji-person-card__button,
body .ji-short-card__button{
  background:var(--ji-uk-red)!important;
  border-color:var(--ji-uk-red)!important;
  color:#fff!important;
}
body.ji-v53-clean .ji-clean-call:hover,
body.ji-v54-dashboard .ji-clean-call:hover,
body .ji-btn:hover,
body .ji-btn--news:hover,
body .ji-card-system__footer a:hover,
body .ji-unified-card__footer a:hover,
body .ji-news-card__footer a:hover,
body .ji-v5-card__button:hover,
body .ji-archive-card__button:hover,
body .ji-person-card__button:hover,
body .ji-short-card__button:hover{
  background:#ad1025!important;
  border-color:#ad1025!important;
}

/* Hero + panel lateral */
body.ji-v54-dashboard .ji-clean-dashboard,
body.ji-v53-clean .ji-clean-dashboard,
body .ji-clean-dashboard{
  background:linear-gradient(180deg,var(--ji-uk-navy) 0%,#152d5e 100%)!important;
  color:#fff!important;
}
body.ji-v54-dashboard .ji-clean-dashboard h2,
body .ji-clean-dashboard h2{color:#fff!important;}
body.ji-v54-dashboard .ji-clean-dashboard__search,
body .ji-clean-dashboard__search{
  background:#fff!important;
  color:var(--ji-uk-ink)!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__search strong,
body .ji-clean-dashboard__search strong{color:var(--ji-uk-red)!important;}
body.ji-v54-dashboard .ji-clean-dashboard__pills a,
body .ji-clean-dashboard__pills a{
  border-color:#6fa7ff!important;
  color:#fff!important;
  background:rgba(255,255,255,.03)!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__pills a:first-child,
body .ji-clean-dashboard__pills a:first-child{
  border-color:var(--ji-uk-red)!important;
  background:rgba(207,20,43,.18)!important;
}
body.ji-v54-dashboard .ji-clean-dashboard__pills a:hover,
body .ji-clean-dashboard__pills a:hover{
  background:var(--ji-uk-red)!important;
  border-color:var(--ji-uk-red)!important;
  color:#fff!important;
}
body .ji-clean-hero__media:after,
body .ji-hero-slide:after{
  background:linear-gradient(90deg,rgba(15,43,99,.72) 0%,rgba(36,87,230,.28) 56%,rgba(207,20,43,.10) 100%)!important;
}

/* LA CORRECCIÓN CENTRAL: 4 opciones en UNA sola franja en escritorio */
body.ji-v54-dashboard .ji-home-shortcuts--v55,
body.ji-v53-clean .ji-home-shortcuts--v55,
body .ji-home-shortcuts--v55,
body .ji-home-shortcuts{
  display:block!important;
  width:100%!important;
  background:#fff!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-home-shortcuts__grid,
body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid,
body .ji-home-shortcuts__grid,
body .ji-home-shortcuts__grid--four{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-flow:column!important;
  grid-auto-columns:minmax(0,1fr)!important;
  grid-auto-rows:1fr!important;
  gap:0!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut,
body .ji-home-shortcuts--v55 .ji-shortcut,
body .ji-home-shortcuts .ji-shortcut{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-width:0!important;
  width:100%!important;
  min-height:112px!important;
  height:112px!important;
  padding:1.2rem 1.25rem!important;
  gap:1rem!important;
  border-radius:0!important;
  border-right:1px solid rgba(255,255,255,.18)!important;
  border-bottom:0!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transform:none!important;
  color:#fff!important;
  overflow:hidden!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(1),
body .ji-home-shortcuts .ji-shortcut:nth-child(1){background:linear-gradient(135deg,var(--ji-uk-navy) 0%,var(--ji-uk-blue) 100%)!important;}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(2),
body .ji-home-shortcuts .ji-shortcut:nth-child(2){background:linear-gradient(135deg,#16428f 0%,#2457e6 100%)!important;}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(3),
body .ji-home-shortcuts .ji-shortcut:nth-child(3){background:linear-gradient(135deg,#2f67ff 0%,#5b8cff 100%)!important;}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(4),
body .ji-home-shortcuts .ji-shortcut:nth-child(4){background:linear-gradient(135deg,var(--ji-uk-red) 0%,var(--ji-uk-red-2) 100%)!important;}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut:nth-child(n+5),
body .ji-home-shortcuts .ji-shortcut:nth-child(n+5){display:none!important;}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__text,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__text,
body .ji-home-shortcuts .ji-shortcut__text{
  color:#fff!important;
  font-size:clamp(.95rem,1.05vw,1.16rem)!important;
  line-height:1.08!important;
  font-weight:900!important;
  max-width:none!important;
  flex:1 1 auto!important;
  min-width:0!important;
  letter-spacing:-.02em!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon,
body .ji-home-shortcuts .ji-shortcut__icon{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  border:0!important;
  border-radius:0!important;
  opacity:1!important;
  justify-self:auto!important;
  filter:none!important;
}
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon:after,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:before,
body.ji-v53-clean .ji-home-shortcuts--v55 .ji-shortcut__icon:after,
body .ji-home-shortcuts .ji-shortcut__icon:before,
body .ji-home-shortcuts .ji-shortcut__icon:after{
  display:none!important;
  content:none!important;
}
body .ji-home-shortcuts .ji-shortcut__icon svg,
body .ji-home-shortcuts .ji-shortcut__icon svg *,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg,
body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon svg *{
  display:block!important;
  stroke:#fff!important;
  fill:none!important;
  stroke-width:2.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Cards, secciones y footer envueltos por la paleta */
body .ji-section,
body .ji-section--muted{background:var(--ji-uk-soft)!important;}
body #tramites,
body #documentos,
body #directorio,
body #noticias,
body #galerias,
body #directiva{background:#fff!important;}
body .ji-block-heading__title--bicolor,
body .ji-section__header h2,
body .ji-v5-section__title{color:var(--ji-uk-blue)!important;}
body .ji-block-heading__title--bicolor span,
body .ji-section__header h2 span:last-child,
body .ji-v5-section__title span:last-child{color:var(--ji-uk-red)!important;}
body .ji-card-system,
body .ji-unified-card,
body .ji-v5-card,
body .ji-archive-card,
body .ji-person-card,
body .ji-short-card,
body .ji-document-card,
body .ji-directory-card,
body .ji-cert-verify,
body .ji-cert-result{
  border-color:var(--ji-uk-line)!important;
  box-shadow:0 16px 34px rgba(15,43,99,.08)!important;
}
body .ji-card-system__eyebrow,
body .ji-v5-card__kicker,
body .ji-archive-card__kicker,
body .ji-person-card__role{color:var(--ji-uk-blue)!important;}
body .ji-card-system h3,
body .ji-v5-card__title,
body .ji-archive-card__title,
body .ji-person-card__name,
body .ji-short-card__title{color:var(--ji-uk-ink)!important;}
body .ji-footer,
body .ji-v5-footer{background:linear-gradient(135deg,var(--ji-uk-navy) 0%,var(--ji-uk-blue) 72%,var(--ji-uk-red) 100%)!important;}
body .ji-footer__bottom,
body .ji-v5-footer__bottom{background:rgba(0,0,0,.26)!important;}
body .ji-back-to-top,
body .ji-backtotop{left:22px!important;right:auto!important;background:var(--ji-uk-red)!important;color:#fff!important;}
body .ji-back-to-top:hover,
body .ji-backtotop:hover{background:#ad1025!important;color:#fff!important;}

@media (max-width:1200px){
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut,
  body .ji-home-shortcuts .ji-shortcut{padding:1rem .95rem!important;}
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__text,
  body .ji-home-shortcuts .ji-shortcut__text{font-size:.95rem!important;}
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut__icon,
  body .ji-home-shortcuts .ji-shortcut__icon{width:34px!important;height:34px!important;flex-basis:34px!important;}
}
@media (max-width:980px){
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid,
  body .ji-home-shortcuts__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;}
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-shortcut,
  body .ji-home-shortcuts .ji-shortcut{height:auto!important;min-height:92px!important;}
}
@media (max-width:640px){
  body.ji-v54-dashboard .ji-home-shortcuts--v55 .ji-home-shortcuts__grid,
  body .ji-home-shortcuts__grid{grid-template-columns:1fr!important;}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v79-community-uniformity.css
   ============================================================ */

/* v7.9 - uniformidad final de secciones con paleta comunitaria británica */

:root{
  --ji-uk-blue:#2457e6;
  --ji-uk-navy:#0f2b63;
  --ji-uk-red:#cf142b;
  --ji-uk-soft:#f4f7ff;
  --ji-uk-soft-2:#edf3ff;
  --ji-uk-line:#d8e2fb;
  --ji-uk-ink:#0d214a;
  --ji-uk-copy:#51627f;
}

/* 1) Todas estas secciones deben sentirse parte del mismo sistema */
body #quienes-somos,
body #destacados,
body #tramites,
body #documentos,
body #noticias,
body #galerias{
  background:linear-gradient(180deg,var(--ji-uk-soft) 0%,var(--ji-uk-soft-2) 100%)!important;
}

body #quienes-somos .ji-block-heading__text p,
body #destacados .ji-block-heading__text p,
body #tramites .ji-block-heading__text p,
body #documentos .ji-block-heading__text p,
body #noticias .ji-block-heading__text p,
body #galerias .ji-block-heading__text p,
body #tramites .ji-tramite-group-note,
body #tramites .ji-unified-card__body p,
body #quienes-somos .ji-unified-card__body p,
body #documentos .ji-unified-card__body p,
body #destacados .ji-card-system__body p,
body #noticias .ji-card-system__body p,
body #galerias .ji-card-system__body p{
  color:var(--ji-uk-copy)!important;
}

body #tramites .ji-tramite-group-title,
body #tramites .ji-tramite-group-title--external{
  color:var(--ji-uk-navy)!important;
}

/* 2) Grillas y espaciados homogéneos */
body #quienes-somos .ji-about-grid,
body #destacados .ji-unified-grid,
body #tramites .ji-tramite-grid,
body #documentos .ji-documents-grid,
body #noticias .ji-news-grid,
body #galerias .ji-unified-grid{
  gap:1.5rem!important;
  align-items:stretch!important;
}

/* 3) Cards uniformes en TODAS las secciones señaladas */
body #quienes-somos .ji-unified-card,
body #tramites .ji-unified-card,
body #documentos .ji-unified-card,
body #destacados .ji-card-system,
body #noticias .ji-card-system,
body #galerias .ji-card-system{
  display:flex!important;
  flex-direction:column!important;
  min-height:100%!important;
  background:#fff!important;
  border:1px solid var(--ji-uk-line)!important;
  border-left:1px solid var(--ji-uk-line)!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-shadow:0 16px 34px rgba(15,43,99,.08)!important;
}

/* neutralización final de barras/cintas heredadas */
body #quienes-somos .ji-unified-card::before,
body #quienes-somos .ji-unified-card::after,
body #tramites .ji-unified-card::before,
body #tramites .ji-unified-card::after,
body #documentos .ji-unified-card::before,
body #documentos .ji-unified-card::after,
body #destacados .ji-card-system::before,
body #destacados .ji-card-system::after,
body #noticias .ji-card-system::before,
body #noticias .ji-card-system::after,
body #galerias .ji-card-system::before,
body #galerias .ji-card-system::after{
  content:none!important;
  display:none!important;
}

/* 4) Etiquetas superiores / eyebrow */
body #quienes-somos .ji-unified-card__top,
body #tramites .ji-unified-card__top,
body #documentos .ji-unified-card__top,
body #destacados .ji-card-system__eyebrow,
body #noticias .ji-card-system__eyebrow,
body #galerias .ji-card-system__eyebrow{
  background:#fff!important;
  color:var(--ji-uk-red)!important;
  font-size:.85rem!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
body #quienes-somos .ji-unified-card__top,
body #tramites .ji-unified-card__top,
body #documentos .ji-unified-card__top{
  padding:1.05rem 1.15rem .2rem!important;
}
body #destacados .ji-card-system__eyebrow,
body #noticias .ji-card-system__eyebrow,
body #galerias .ji-card-system__eyebrow{
  padding:1rem 1.15rem .15rem!important;
  margin:0!important;
}
body #destacados .ji-card-system__body > .ji-card-system__eyebrow,
body #noticias .ji-card-system__body > .ji-card-system__eyebrow,
body #galerias .ji-card-system__body > .ji-card-system__eyebrow{
  display:block!important;
}

/* 5) Cuerpo de cards */
body #quienes-somos .ji-unified-card__body,
body #tramites .ji-unified-card__body,
body #documentos .ji-unified-card__body,
body #destacados .ji-card-system__body,
body #noticias .ji-card-system__body,
body #galerias .ji-card-system__body{
  background:#fff!important;
  padding:.35rem 1.15rem 1.1rem!important;
  flex:1 1 auto!important;
}

body #quienes-somos .ji-unified-card__body h3,
body #quienes-somos .ji-unified-card__body h3 a,
body #tramites .ji-unified-card__body h3,
body #tramites .ji-unified-card__body h3 a,
body #documentos .ji-unified-card__body h3,
body #documentos .ji-unified-card__body h3 a,
body #destacados .ji-card-system__body h3,
body #destacados .ji-card-system__body h3 a,
body #noticias .ji-card-system__body h3,
body #noticias .ji-card-system__body h3 a,
body #galerias .ji-card-system__body h3,
body #galerias .ji-card-system__body h3 a{
  color:var(--ji-uk-ink)!important;
  font-size:1.08rem!important;
  line-height:1.22!important;
  font-weight:900!important;
  margin:0 0 .7rem!important;
  text-decoration:none!important;
}

/* 6) Imágenes de cards con guiño de paleta, sin destruir fotos reales */
body #destacados .ji-card-system__image,
body #noticias .ji-card-system__image,
body #galerias .ji-card-system__image{
  position:relative!important;
  background:#e8eeff!important;
  border-bottom:4px solid var(--ji-uk-blue)!important;
}
body #destacados .ji-card-system__image::after,
body #noticias .ji-card-system__image::after,
body #galerias .ji-card-system__image::after{
  content:''!important;
  display:block!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(15,43,99,.12) 0%,rgba(15,43,99,0) 48%)!important;
  pointer-events:none!important;
}
body #destacados .ji-card-system__image img,
body #noticias .ji-card-system__image img,
body #galerias .ji-card-system__image img{
  position:relative!important;
  z-index:1!important;
}

/* 7) Footers y botones homogéneos */
body #quienes-somos .ji-unified-card__footer,
body #tramites .ji-unified-card__footer,
body #documentos .ji-unified-card__footer,
body #destacados .ji-card-system__footer,
body #noticias .ji-card-system__footer,
body #galerias .ji-card-system__footer{
  background:#fff!important;
  border-top:1px solid var(--ji-uk-line)!important;
  padding:1rem 1rem 1rem!important;
  margin-top:auto!important;
}

body #quienes-somos .ji-unified-card__footer a,
body #tramites .ji-unified-card__footer a,
body #documentos .ji-unified-card__footer a,
body #destacados .ji-card-system__footer a,
body #noticias .ji-card-system__footer a,
body #galerias .ji-card-system__footer a,
body #documentos .ji-btn--news,
body #noticias .ji-btn--news,
body #galerias .ji-btn--news{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  padding:.78rem 1rem!important;
  background:var(--ji-uk-red)!important;
  border:2px solid var(--ji-uk-red)!important;
  color:#fff!important;
  border-radius:999px!important;
  font-size:.9rem!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  text-align:center!important;
  box-shadow:none!important;
}

body #quienes-somos .ji-unified-card__footer a:hover,
body #tramites .ji-unified-card__footer a:hover,
body #documentos .ji-unified-card__footer a:hover,
body #destacados .ji-card-system__footer a:hover,
body #noticias .ji-card-system__footer a:hover,
body #galerias .ji-card-system__footer a:hover,
body #documentos .ji-btn--news:hover,
body #noticias .ji-btn--news:hover,
body #galerias .ji-btn--news:hover{
  background:#ad1025!important;
  border-color:#ad1025!important;
  color:#fff!important;
}

body #quienes-somos .ji-unified-card__footer a span,
body #tramites .ji-unified-card__footer a span,
body #documentos .ji-unified-card__footer a span,
body #destacados .ji-card-system__footer a span,
body #noticias .ji-card-system__footer a span,
body #galerias .ji-card-system__footer a span,
body #documentos .ji-btn--news span,
body #noticias .ji-btn--news span,
body #galerias .ji-btn--news span{
  background:#fff!important;
  color:var(--ji-uk-red)!important;
  width:28px!important;
  height:28px!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-left:.5rem!important;
  flex:0 0 28px!important;
}

/* 8) CTA de sección: ancho automático, mismo lenguaje visual */
body #documentos .ji-block-heading__cta,
body #galerias .ji-block-heading__cta,
body #noticias .ji-news-section__cta{
  display:flex!important;
  align-items:center!important;
}
body #documentos .ji-block-heading__cta .ji-btn--news,
body #galerias .ji-block-heading__cta .ji-btn--news,
body #noticias .ji-news-section__cta .ji-btn--news{
  width:auto!important;
  min-width:190px!important;
  padding-inline:1.2rem!important;
}

/* 9) Responsive */
@media (max-width: 920px){
  body #quienes-somos .ji-about-grid,
  body #destacados .ji-unified-grid,
  body #tramites .ji-tramite-grid,
  body #documentos .ji-documents-grid,
  body #noticias .ji-news-grid,
  body #galerias .ji-unified-grid{
    grid-template-columns:1fr!important;
  }
  body #documentos .ji-block-heading--row,
  body #galerias .ji-block-heading--row{
    display:block!important;
  }
  body #documentos .ji-block-heading__cta,
  body #galerias .ji-block-heading__cta,
  body #noticias .ji-news-section__cta{
    margin-top:1rem!important;
  }
  body #documentos .ji-block-heading__cta .ji-btn--news,
  body #galerias .ji-block-heading__cta .ji-btn--news,
  body #noticias .ji-news-section__cta .ji-btn--news{
    width:100%!important;
    min-width:0!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v80-uk-title-footer-final.css
   ============================================================ */

/* v8.0 - corrección global definitiva: títulos azul/rojo y footer con mismo degradé del header */

:root{
  --ji-uk-blue:#2457e6!important;
  --ji-uk-blue-2:#3677ff!important;
  --ji-uk-navy:#0f2b63!important;
  --ji-uk-red:#cf142b!important;
  --ji-uk-red-dark:#ad1025!important;
  --ji-uk-white:#ffffff!important;
  --ji-uk-soft:#f4f7ff!important;
  --ji-uk-line:#d8e2fb!important;
  --ji-uk-ink:#0d214a!important;

  --ji-primary:#0f2b63!important;
  --ji-secondary:#2457e6!important;
  --ji-accent:#cf142b!important;
  --ji-bg:#f4f7ff!important;
  --ji-text:#0d214a!important;
  --ji-border:#d8e2fb!important;

  --ji-v5-teal:#2457e6!important;
  --ji-v5-teal-dark:#0f2b63!important;
  --ji-v5-yellow:#cf142b!important;
  --ji-v5-orange:#cf142b!important;
  --ji-v5-purple:#2457e6!important;

  --ji-card-kicker:#2457e6!important;
  --ji-card-accent:#cf142b!important;
  --ji-independencia-yellow:#cf142b!important;
  --ji-independencia-yellow-dark:#ad1025!important;
  --ji-independencia-teal:#2457e6!important;
  --ji-independencia-teal-dark:#0f2b63!important;
}

/* Header y footer: MISMO degradé exacto */
body .ji-clean-header,
body.ji-v53-clean .ji-clean-header,
body.ji-v54-dashboard .ji-clean-header,
body .ji-footer,
body .ji-v5-footer{
  background:linear-gradient(90deg,#0f2b63 0%,#2457e6 62%,#cf142b 100%)!important;
  color:#fff!important;
}

body .ji-footer__bottom,
body .ji-v5-footer__bottom{
  background:rgba(0,0,0,.24)!important;
  color:#fff!important;
}

body .ji-footer *,
body .ji-v5-footer *,
body .ji-footer a,
body .ji-v5-footer a{
  color:#fff!important;
}

/* Títulos bicolor globales: azul + rojo. NO morado, NO amarillo/naranjo */
body .ji-block-heading__title,
body .ji-block-heading__title--bicolor,
body .ji-section__header h2,
body .ji-v5-section__title,
body .ji-page-header h1,
body .ji-article h1,
body .ji-split h2,
body #quienes-somos .ji-block-heading__title--bicolor,
body #destacados .ji-block-heading__title--bicolor,
body #tramites .ji-block-heading__title--bicolor,
body #documentos .ji-block-heading__title--bicolor,
body #noticias .ji-block-heading__title--bicolor,
body #galerias .ji-block-heading__title--bicolor,
body #directiva .ji-block-heading__title--bicolor,
body #directorio .ji-block-heading__title--bicolor{
  color:#2457e6!important;
  background:none!important;
  -webkit-text-fill-color:#2457e6!important;
  text-shadow:none!important;
}

/* Cualquier span de título debe ser rojo */
body .ji-block-heading__title span,
body .ji-block-heading__title--bicolor span,
body .ji-section__header h2 span,
body .ji-v5-section__title span,
body .ji-page-header h1 span,
body .ji-article h1 span,
body .ji-split h2 span,
body #quienes-somos .ji-block-heading__title--bicolor span,
body #destacados .ji-block-heading__title--bicolor span,
body #tramites .ji-block-heading__title--bicolor span,
body #documentos .ji-block-heading__title--bicolor span,
body #noticias .ji-block-heading__title--bicolor span,
body #galerias .ji-block-heading__title--bicolor span,
body #directiva .ji-block-heading__title--bicolor span,
body #directorio .ji-block-heading__title--bicolor span{
  color:#cf142b!important;
  background:none!important;
  -webkit-text-fill-color:#cf142b!important;
  text-shadow:none!important;
}

/* Respaldo agresivo para clases antiguas con purple/orange/yellow */
body [class*="title--bicolor"],
body [class*="section__title"]{
  color:#2457e6!important;
  -webkit-text-fill-color:#2457e6!important;
}
body [class*="title--bicolor"] span,
body [class*="section__title"] span{
  color:#cf142b!important;
  -webkit-text-fill-color:#cf142b!important;
}

/* Etiquetas/kickers: azul; botones: rojo */
body .ji-card-system__eyebrow,
body .ji-unified-card__top,
body .ji-news-card__category,
body .ji-v5-card__kicker,
body .ji-archive-card__kicker,
body .ji-person-card__role,
body .ji-tramite-card .ji-unified-card__top{
  color:#2457e6!important;
}

body .ji-btn,
body .ji-btn--news,
body .ji-clean-call,
body .ji-clean-hero__button,
body .ji-card-system__footer a,
body .ji-unified-card__footer a,
body .ji-news-card__footer a,
body .ji-events-showcase__all,
body .ji-v5-card__button,
body .ji-archive-card__button,
body .ji-person-card__button,
body .ji-short-card__button,
body .ji-cert-verify__form button{
  background:#cf142b!important;
  border-color:#cf142b!important;
  color:#fff!important;
}

body .ji-btn:hover,
body .ji-btn--news:hover,
body .ji-clean-call:hover,
body .ji-clean-hero__button:hover,
body .ji-card-system__footer a:hover,
body .ji-unified-card__footer a:hover,
body .ji-news-card__footer a:hover,
body .ji-events-showcase__all:hover,
body .ji-v5-card__button:hover,
body .ji-archive-card__button:hover,
body .ji-person-card__button:hover,
body .ji-short-card__button:hover{
  background:#ad1025!important;
  border-color:#ad1025!important;
  color:#fff!important;
}

/* Círculos de flecha dentro de botones rojos */
body .ji-btn--news span,
body .ji-card-system__footer a span,
body .ji-unified-card__footer a span,
body .ji-news-card__footer a span{
  background:#fff!important;
  color:#cf142b!important;
}

/* Footer nunca teal/verde */
body .ji-footer,
body .ji-v5-footer,
body .ji-footer__top,
body .ji-footer__grid,
body .ji-footer__main,
body .ji-footer__columns{
  background:linear-gradient(90deg,#0f2b63 0%,#2457e6 62%,#cf142b 100%)!important;
}

body .ji-footer h1,
body .ji-footer h2,
body .ji-footer h3,
body .ji-footer p,
body .ji-footer li,
body .ji-footer strong,
body .ji-footer span,
body .ji-footer em,
body .ji-footer a{
  color:#fff!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v81-footer-buttons-final.css
   ============================================================ */

/* v8.1 - footer full width + botones secundarios azules */

/* Variables finales */
:root{
  --ji-uk-blue:#2457e6!important;
  --ji-uk-blue-soft:#3677ff!important;
  --ji-uk-navy:#0f2b63!important;
  --ji-uk-red:#cf142b!important;
  --ji-uk-red-dark:#ad1025!important;
  --ji-uk-white:#ffffff!important;
  --ji-uk-line:#d8e2fb!important;
  --ji-uk-ink:#0d214a!important;
}

/* FOOTER: el degradé debe ocupar TODO el ancho, no solo el contenedor central */
html body footer.ji-footer,
html body .ji-footer,
html body .ji-v5-footer{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:linear-gradient(90deg,#0f2b63 0%,#2457e6 62%,#cf142b 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}

/* El contenedor interno no debe pintar otro fondo ni cortar el degradé */
html body footer.ji-footer .ji-container,
html body footer.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__legal-main,
html body footer.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__main,
html body footer.ji-footer .ji-footer__columns,
html body .ji-v5-footer .ji-container{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

/* Mantener grilla centrada, pero sin fondo propio */
html body footer.ji-footer .ji-footer__grid{
  padding-top:3.5rem!important;
  padding-bottom:3.5rem!important;
}

/* Banda superior sin teal */
html body footer.ji-footer .ji-footer__topband{
  height:0!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
}

/* Franja inferior del footer: misma familia, no teal */
html body footer.ji-footer .ji-footer__bottom{
  width:100%!important;
  max-width:none!important;
  background:rgba(0,0,0,.24)!important;
  color:#fff!important;
  margin:0!important;
  padding:1rem 0!important;
}

/* Tipografía footer */
html body footer.ji-footer,
html body footer.ji-footer h1,
html body footer.ji-footer h2,
html body footer.ji-footer h3,
html body footer.ji-footer p,
html body footer.ji-footer li,
html body footer.ji-footer strong,
html body footer.ji-footer span,
html body footer.ji-footer em,
html body footer.ji-footer a{
  color:#fff!important;
}

/* BOTONES: los CTA de cards deben ser azules para no saturar con rojo */
html body #quienes-somos .ji-unified-card__footer a,
html body #tramites .ji-unified-card__footer a,
html body #documentos .ji-unified-card__footer a,
html body #destacados .ji-card-system__footer a,
html body #noticias .ji-card-system__footer a,
html body #galerias .ji-card-system__footer a,
html body #directiva .ji-card-system__footer a,
html body #directorio .ji-unified-card__footer a,
html body .ji-v5-card__button,
html body .ji-archive-card__button,
html body .ji-person-card__button,
html body .ji-short-card__button{
  background:#2457e6!important;
  border-color:#2457e6!important;
  color:#fff!important;
}

/* Hover azul oscuro */
html body #quienes-somos .ji-unified-card__footer a:hover,
html body #tramites .ji-unified-card__footer a:hover,
html body #documentos .ji-unified-card__footer a:hover,
html body #destacados .ji-card-system__footer a:hover,
html body #noticias .ji-card-system__footer a:hover,
html body #galerias .ji-card-system__footer a:hover,
html body #directiva .ji-card-system__footer a:hover,
html body #directorio .ji-unified-card__footer a:hover,
html body .ji-v5-card__button:hover,
html body .ji-archive-card__button:hover,
html body .ji-person-card__button:hover,
html body .ji-short-card__button:hover{
  background:#0f2b63!important;
  border-color:#0f2b63!important;
  color:#fff!important;
}

/* Flecha/círculo interno de botones azules */
html body #quienes-somos .ji-unified-card__footer a span,
html body #tramites .ji-unified-card__footer a span,
html body #documentos .ji-unified-card__footer a span,
html body #destacados .ji-card-system__footer a span,
html body #noticias .ji-card-system__footer a span,
html body #galerias .ji-card-system__footer a span,
html body #directiva .ji-card-system__footer a span,
html body #directorio .ji-unified-card__footer a span{
  background:#fff!important;
  color:#2457e6!important;
}

/* Botones principales de sección pueden seguir rojos como acento, no todos los botones */
html body .ji-block-heading__cta .ji-btn--news,
html body .ji-news-section__cta .ji-btn--news,
html body .ji-clean-call,
html body .ji-cert-verify__form button,
html body .ji-cert-action--primary{
  background:#cf142b!important;
  border-color:#cf142b!important;
  color:#fff!important;
}

html body .ji-block-heading__cta .ji-btn--news:hover,
html body .ji-news-section__cta .ji-btn--news:hover,
html body .ji-clean-call:hover,
html body .ji-cert-verify__form button:hover,
html body .ji-cert-action--primary:hover{
  background:#ad1025!important;
  border-color:#ad1025!important;
  color:#fff!important;
}

/* Eliminar definitivamente amarillo/naranjo en botones */
html body a[style*="yellow"],
html body button[style*="yellow"],
html body .ji-card-system__footer a,
html body .ji-unified-card__footer a,
html body .ji-news-card__footer a{
  box-shadow:none!important;
}

/* Etiquetas superiores azules, no moradas */
html body .ji-card-system__eyebrow,
html body .ji-unified-card__top,
html body .ji-news-card__category,
html body .ji-v5-card__kicker,
html body .ji-archive-card__kicker,
html body .ji-person-card__role,
html body .ji-tramite-card .ji-unified-card__top{
  color:#2457e6!important;
  -webkit-text-fill-color:#2457e6!important;
}

/* Back to top se mantiene rojo como acento flotante */
html body .ji-back-to-top,
html body .ji-backtotop{
  background:#cf142b!important;
  color:#fff!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v82-hard-footer-buttons.css
   ============================================================ */


/* ==========================================================================
   v8.2 HARD FIX - footer gradient full width + card buttons blue
   This block is intentionally appended to main.css to defeat older cache/order.
   ========================================================================== */

:root{
  --ji-uk-blue:#2457e6!important;
  --ji-uk-navy:#0f2b63!important;
  --ji-uk-red:#cf142b!important;
  --ji-uk-red-dark:#ad1025!important;
  --ji-uk-white:#ffffff!important;
}

/* FOOTER: same exact gradient as header, full viewport width */
html body footer#contacto.ji-footer,
html body footer.ji-footer,
html body .ji-footer,
html body .ji-v5-footer{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding:0!important;
  background:#0f2b63!important;
  background-image:linear-gradient(90deg,#0f2b63 0%,#2457e6 62%,#cf142b 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}

/* absolutely remove inherited teal blocks inside footer */
html body footer#contacto.ji-footer::before,
html body footer#contacto.ji-footer::after,
html body footer.ji-footer::before,
html body footer.ji-footer::after{
  display:none!important;
  content:none!important;
}

html body footer#contacto.ji-footer .ji-footer__topband,
html body footer#contacto.ji-footer .ji-footer__grid,
html body footer#contacto.ji-footer .ji-footer__legal-main,
html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer#contacto.ji-footer .ji-container,
html body footer.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__legal-main,
html body footer.ji-footer .ji-container{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

html body footer#contacto.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__topband{
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}

html body footer#contacto.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__grid{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:3.5rem!important;
  padding-bottom:3.5rem!important;
}

html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer.ji-footer .ji-footer__bottom{
  width:100%!important;
  max-width:none!important;
  background:rgba(0,0,0,.24)!important;
  background-image:none!important;
  color:#fff!important;
  padding:1rem 0!important;
  margin:0!important;
}

html body footer#contacto.ji-footer .ji-footer__bottom .ji-container,
html body footer.ji-footer .ji-footer__bottom .ji-container{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

html body footer#contacto.ji-footer,
html body footer#contacto.ji-footer h1,
html body footer#contacto.ji-footer h2,
html body footer#contacto.ji-footer h3,
html body footer#contacto.ji-footer p,
html body footer#contacto.ji-footer li,
html body footer#contacto.ji-footer a,
html body footer#contacto.ji-footer strong,
html body footer#contacto.ji-footer span,
html body footer.ji-footer,
html body footer.ji-footer h1,
html body footer.ji-footer h2,
html body footer.ji-footer h3,
html body footer.ji-footer p,
html body footer.ji-footer li,
html body footer.ji-footer a,
html body footer.ji-footer strong,
html body footer.ji-footer span{
  color:#fff!important;
}

/* CARD BUTTONS: no yellow. All internal card buttons are blue. */
html body #tramites .ji-unified-card__footer a,
html body #quienes-somos .ji-unified-card__footer a,
html body #documentos .ji-unified-card__footer a,
html body #directorio .ji-unified-card__footer a,
html body #destacados .ji-card-system__footer a,
html body #noticias .ji-card-system__footer a,
html body #galerias .ji-card-system__footer a,
html body #directiva .ji-card-system__footer a,
html body .ji-tramite-card .ji-unified-card__footer a,
html body .ji-document-card .ji-unified-card__footer a,
html body .ji-about-card .ji-unified-card__footer a,
html body .ji-directory-card .ji-unified-card__footer a,
html body .ji-card-system__footer a,
html body .ji-unified-card__footer a{
  background:#2457e6!important;
  background-image:none!important;
  border:2px solid #2457e6!important;
  color:#fff!important;
  box-shadow:none!important;
}

html body #tramites .ji-unified-card__footer a:hover,
html body #quienes-somos .ji-unified-card__footer a:hover,
html body #documentos .ji-unified-card__footer a:hover,
html body #directorio .ji-unified-card__footer a:hover,
html body #destacados .ji-card-system__footer a:hover,
html body #noticias .ji-card-system__footer a:hover,
html body #galerias .ji-card-system__footer a:hover,
html body #directiva .ji-card-system__footer a:hover,
html body .ji-card-system__footer a:hover,
html body .ji-unified-card__footer a:hover{
  background:#0f2b63!important;
  background-image:none!important;
  border-color:#0f2b63!important;
  color:#fff!important;
}

/* button arrow circles */
html body .ji-card-system__footer a span,
html body .ji-unified-card__footer a span{
  background:#fff!important;
  color:#2457e6!important;
}

/* keep section-level CTAs red */
html body .ji-block-heading__cta .ji-btn,
html body .ji-block-heading__cta .ji-btn--news,
html body .ji-news-section__cta .ji-btn,
html body .ji-news-section__cta .ji-btn--news,
html body .ji-clean-call,
html body .ji-cert-verify__form button,
html body .ji-cert-action--primary{
  background:#cf142b!important;
  background-image:none!important;
  border-color:#cf142b!important;
  color:#fff!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v83-tramites-rebuild-footer-bottom.css
   ============================================================ */

/* v8.3 - Trámites reconstruidos + copyright azul sólido */

/* Copyright/footer bottom azul sólido */
html body footer#contacto.ji-footer .ji-footer__bottom,
html body footer.ji-footer .ji-footer__bottom,
html body .ji-footer__bottom{
  background:#0f2b63!important;
  background-image:none!important;
  color:#fff!important;
}

/* Sección trámites completamente aislada de estilos antiguos */
html body #tramites.ji-tramites-rebuild{
  background:linear-gradient(180deg,#f4f7ff 0%,#eef4ff 100%)!important;
  padding:clamp(3.8rem,6vw,5.6rem) 0!important;
  margin:0!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:1rem!important;
  margin:0 0 1.7rem!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2{
  margin:0 0 .45rem!important;
  color:#cf142b!important;
  font-size:clamp(2.4rem,5vw,4.2rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2 span{
  color:#2457e6!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header p{
  margin:0!important;
  max-width:680px!important;
  color:#425270!important;
  font-size:1rem!important;
  line-height:1.55!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__group{
  margin-top:1.8rem!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__group h3{
  margin:0 0 1.1rem!important;
  color:#0f2b63!important;
  font-size:1.35rem!important;
  line-height:1.2!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__note{
  margin:-.5rem 0 1rem!important;
  color:#51627f!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:1.35rem!important;
  align-items:stretch!important;
}

/* Card desde cero */
html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card{
  display:flex!important;
  flex-direction:column!important;
  min-height:230px!important;
  background:#fff!important;
  border:1px solid #d8e2fb!important;
  border-radius:0!important;
  box-shadow:0 16px 34px rgba(15,43,99,.075)!important;
  overflow:hidden!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__tag{
  padding:1.05rem 1.15rem .15rem!important;
  color:#2457e6!important;
  background:#fff!important;
  font-size:.86rem!important;
  line-height:1.1!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body{
  flex:1 1 auto!important;
  padding:.3rem 1.15rem 1rem!important;
  background:#fff!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body h4{
  margin:0 0 .65rem!important;
  color:#0d214a!important;
  font-size:1.08rem!important;
  line-height:1.2!important;
  font-weight:950!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__body p{
  margin:0!important;
  color:#51627f!important;
  font-size:.96rem!important;
  line-height:1.55!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer{
  margin-top:auto!important;
  padding:1rem!important;
  background:#fff!important;
  border-top:1px solid #d8e2fb!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:.5rem!important;
  width:100%!important;
  min-height:46px!important;
  border-radius:999px!important;
  padding:.75rem 1rem!important;
  background:#2457e6!important;
  background-image:none!important;
  border:2px solid #2457e6!important;
  color:#fff!important;
  text-decoration:none!important;
  text-align:center!important;
  font-size:.88rem!important;
  line-height:1.1!important;
  font-weight:950!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a:hover{
  background:#0f2b63!important;
  border-color:#0f2b63!important;
  color:#fff!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card__footer a span{
  width:28px!important;
  height:28px!important;
  border-radius:999px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#fff!important;
  color:#2457e6!important;
  flex:0 0 28px!important;
}

html body #tramites.ji-tramites-rebuild .ji-tramite-rebuild-card--external .ji-tramite-rebuild-card__tag{
  color:#cf142b!important;
}

@media (max-width:980px){
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:640px){
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__grid{
    grid-template-columns:1fr!important;
  }
  html body #tramites.ji-tramites-rebuild .ji-tramites-rebuild__header h2{
    font-size:2.45rem!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v84-first-screen-hero.css
   ============================================================ */

/* v8.4 - Hero compacto para que las 4 opciones se vean en la primera pantalla */

/* Evita scroll horizontal causado por hacks de ancho de footer/viewport */
html,
body{
  overflow-x:hidden!important;
}

/* La primera pantalla debe incluir header + hero + franja de 4 opciones */
html body .ji-clean-hero.ji-clean-hero--dashboard{
  padding:0!important;
  margin:0!important;
  background:#eef4ff!important;
}

html body .ji-clean-hero__shell{
  min-height:0!important;
  height:clamp(420px, calc(100vh - 245px), 560px)!important;
  max-height:560px!important;
  display:grid!important;
  grid-template-columns:minmax(0, 1fr) 420px!important;
  align-items:stretch!important;
  gap:0!important;
}

html body .ji-clean-hero__media,
html body .ji-hero-slider,
html body .ji-hero-slider__track,
html body .ji-hero-slide,
html body .ji-clean-dashboard{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
}

html body .ji-hero-slide{
  background-size:cover!important;
  background-position:center!important;
}

html body .ji-clean-hero__content{
  min-height:100%!important;
  height:100%!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:clamp(2rem,4vw,3.2rem)!important;
  max-width:850px!important;
}

html body .ji-clean-hero__eyebrow{
  font-size:clamp(.8rem,1vw,1rem)!important;
  margin-bottom:.65rem!important;
}

html body .ji-clean-hero__content h1{
  font-size:clamp(3.1rem,5.7vw,5.2rem)!important;
  line-height:.96!important;
  margin:0 0 1rem!important;
  letter-spacing:-.055em!important;
}

html body .ji-clean-hero__content p:not(.ji-clean-hero__eyebrow){
  font-size:clamp(1rem,1.25vw,1.25rem)!important;
  line-height:1.45!important;
  max-width:780px!important;
}

/* Panel lateral más compacto */
html body .ji-clean-dashboard{
  padding:clamp(1.6rem,2.4vw,2.4rem) clamp(1.2rem,2vw,2rem)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}

html body .ji-clean-dashboard h2{
  font-size:clamp(2rem,3.2vw,3.2rem)!important;
  line-height:1!important;
  margin:0 0 1rem!important;
}

html body .ji-clean-dashboard__search{
  min-height:54px!important;
  margin-bottom:1rem!important;
}

html body .ji-clean-dashboard__pills{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.75rem!important;
}

html body .ji-clean-dashboard__pills a{
  min-height:52px!important;
  padding:.55rem .7rem!important;
  font-size:.92rem!important;
  line-height:1.12!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}

/* Franja de 4 opciones: compacta, visible y sin empujar fuera de la primera vista */
html body .ji-home-shortcuts,
html body .ji-home-shortcuts--v55{
  margin:0!important;
  padding:0!important;
}

html body .ji-home-shortcuts .ji-shortcut,
html body .ji-home-shortcuts--v55 .ji-shortcut{
  min-height:86px!important;
  height:86px!important;
  padding:1rem 1.15rem!important;
}

html body .ji-home-shortcuts .ji-shortcut__text,
html body .ji-home-shortcuts--v55 .ji-shortcut__text{
  font-size:clamp(.92rem,1vw,1.12rem)!important;
  line-height:1.08!important;
}

html body .ji-home-shortcuts .ji-shortcut__icon,
html body .ji-home-shortcuts--v55 .ji-shortcut__icon{
  width:34px!important;
  height:34px!important;
  flex-basis:34px!important;
}

/* Flechas del slider menos invasivas */
html body .ji-hero-slider__arrow{
  width:44px!important;
  height:44px!important;
  font-size:2rem!important;
}

/* Tablets */
@media (max-width:1100px){
  html body .ji-clean-hero__shell{
    grid-template-columns:minmax(0, 1fr) 360px!important;
    height:clamp(410px, calc(100vh - 235px), 530px)!important;
  }
  html body .ji-clean-dashboard__pills a{
    font-size:.84rem!important;
  }
  html body .ji-clean-hero__content h1{
    font-size:clamp(2.7rem,5.1vw,4.5rem)!important;
  }
}

/* Mobile: se apila, pero mantiene accesos visibles rápidamente */
@media (max-width:920px){
  html body .ji-clean-hero__shell{
    height:auto!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track,
  html body .ji-hero-slide{
    height:420px!important;
    min-height:420px!important;
  }
  html body .ji-clean-dashboard{
    height:auto!important;
    min-height:0!important;
    padding:1.25rem!important;
  }
  html body .ji-clean-dashboard h2{
    font-size:2rem!important;
  }
  html body .ji-clean-dashboard__pills{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .ji-home-shortcuts .ji-shortcut,
  html body .ji-home-shortcuts--v55 .ji-shortcut{
    height:auto!important;
    min-height:82px!important;
  }
}

@media (max-width:640px){
  html body .ji-hero-slide{
    height:360px!important;
    min-height:360px!important;
  }
  html body .ji-clean-hero__content{
    padding:1.35rem!important;
  }
  html body .ji-clean-hero__content h1{
    font-size:2.6rem!important;
  }
  html body .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v85-verificacion-no-page-hero.css
   ============================================================ */

/* v8.5 - quitar cabecera oscura innecesaria en página de verificación */
html body .ji-content-panel--no-hero{
  background:transparent!important;
  box-shadow:none!important;
}

html body .ji-content-panel--no-hero > .ji-content-panel__inner{
  padding-top:clamp(2rem,4vw,3.5rem)!important;
}

html body .ji-content-panel--no-hero .ji-cert-verify{
  margin-top:0!important;
}


/* v13.10.10 - Ajuste espacio entre header y contenido */
html body.page .ji-interior-shell--no-page-hero{
  padding-top:24px!important;
}
html body.page .ji-content-panel--page.ji-content-panel--no-hero > .ji-content-panel__inner,
html body.page .ji-content-panel--no-hero > .ji-content-panel__inner{
  padding-top:24px!important;
}
html body.page .ji-entry-content > .ji-jjvv-form:first-child,
html body.page .ji-entry-content > .ji-cert-verify:first-child{
  margin-top:0!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v86-mobile-hero-screenshot.css
   ============================================================ */

/* v8.6 - hero móvil sin espacio vacío + screenshot actualizado */

/* Seguridad contra scroll horizontal */
html,
body{
  overflow-x:hidden!important;
}

/* Móvil: el hero no debe dejar una franja vacía entre imagen y dashboard */
@media (max-width: 920px){
  html body .ji-clean-hero.ji-clean-hero--dashboard{
    background:#0f2b63!important;
    padding:0!important;
    margin:0!important;
  }

  html body .ji-clean-hero__shell{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    background:#0f2b63!important;
  }

  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:#0f2b63!important;
  }

  html body .ji-hero-slide{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/5!important;
    background-size:cover!important;
    background-position:center center!important;
    display:flex!important;
    align-items:center!important;
  }

  html body .ji-hero-slide.is-active{
    display:flex!important;
  }

  html body .ji-clean-hero__content{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:2.4rem 1.7rem!important;
    justify-content:center!important;
  }

  html body .ji-clean-hero__content h1{
    font-size:clamp(3.2rem,13vw,5.2rem)!important;
    line-height:.95!important;
    margin:0 0 1rem!important;
  }

  html body .ji-clean-hero__content p:not(.ji-clean-hero__eyebrow){
    font-size:clamp(1.05rem,5vw,1.55rem)!important;
    line-height:1.35!important;
  }

  html body .ji-clean-dashboard{
    margin:0!important;
    padding:1.4rem 1.1rem 1.6rem!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:#0f2b63!important;
    border-top:0!important;
  }

  html body .ji-clean-dashboard h2{
    margin:0 0 .9rem!important;
    font-size:clamp(2.5rem,10vw,3.9rem)!important;
    line-height:.95!important;
  }

  html body .ji-clean-dashboard__search{
    min-height:52px!important;
    margin-bottom:1rem!important;
  }

  html body .ji-clean-dashboard__pills{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:.65rem!important;
  }

  html body .ji-clean-dashboard__pills a{
    min-height:46px!important;
    padding:.5rem .55rem!important;
    font-size:.82rem!important;
    line-height:1.12!important;
  }

  html body .ji-hero-slider__arrow{
    top:52%!important;
    width:44px!important;
    height:64px!important;
    font-size:2.4rem!important;
  }

  html body .ji-home-shortcuts .ji-shortcut,
  html body .ji-home-shortcuts--v55 .ji-shortcut{
    min-height:76px!important;
    height:auto!important;
  }
}

@media (max-width: 520px){
  html body .ji-hero-slide{
    aspect-ratio:4/4.6!important;
    background-position:center center!important;
  }

  html body .ji-clean-hero__content{
    padding:2rem 1.45rem!important;
  }

  html body .ji-clean-dashboard{
    padding:1.25rem 1rem 1.4rem!important;
  }
}

@media (max-width: 390px){
  html body .ji-clean-dashboard__pills{
    grid-template-columns:1fr!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v90-production-consolidation.css
   ============================================================ */

/* ==========================================================================
   v9.0 - Production consolidation
   Single final layer: palette, footer, hero, shortcuts, cards and mobile fixes.
   ========================================================================== */

:root{
  --ji-prod-navy:#0f2b63!important;
  --ji-prod-blue:#2457e6!important;
  --ji-prod-blue-2:#3677ff!important;
  --ji-prod-red:#cf142b!important;
  --ji-prod-red-dark:#ad1025!important;
  --ji-prod-white:#ffffff!important;
  --ji-prod-soft:#f4f7ff!important;
  --ji-prod-soft-2:#eef4ff!important;
  --ji-prod-line:#d8e2fb!important;
  --ji-prod-ink:#0d214a!important;
  --ji-prod-copy:#51627f!important;

  --ji-primary:#0f2b63!important;
  --ji-secondary:#2457e6!important;
  --ji-accent:#cf142b!important;
  --ji-bg:#f4f7ff!important;
  --ji-text:#0d214a!important;
  --ji-border:#d8e2fb!important;
  --ji-v5-teal:#2457e6!important;
  --ji-v5-teal-dark:#0f2b63!important;
  --ji-v5-yellow:#2457e6!important;
  --ji-v5-orange:#cf142b!important;
  --ji-v5-purple:#2457e6!important;
  --ji-card-kicker:#2457e6!important;
  --ji-card-accent:#cf142b!important;
}

html,
body{
  overflow-x:hidden!important;
  background:var(--ji-prod-soft)!important;
  color:var(--ji-prod-ink)!important;
}

/* Header */
html body .ji-clean-header,
html body.ji-v53-clean .ji-clean-header,
html body.ji-v54-dashboard .ji-clean-header{
  background:linear-gradient(90deg,var(--ji-prod-navy) 0%,var(--ji-prod-blue) 62%,var(--ji-prod-red) 100%)!important;
  color:#fff!important;
}

/* Footer full width with exact header gradient */
html body footer#contacto.ji-footer,
html body footer.ji-footer,
html body .ji-footer{
  position:relative!important;
  left:50%!important;
  right:50%!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding:0!important;
  background:linear-gradient(90deg,var(--ji-prod-navy) 0%,var(--ji-prod-blue) 62%,var(--ji-prod-red) 100%)!important;
  color:#fff!important;
  overflow:hidden!important;
}

html body footer.ji-footer .ji-footer__topband,
html body footer.ji-footer .ji-footer__grid,
html body footer.ji-footer .ji-footer__legal-main,
html body footer.ji-footer .ji-container{
  background:transparent!important;
  background-image:none!important;
}

html body footer.ji-footer .ji-footer__topband{
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
}

html body footer.ji-footer .ji-footer__grid{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-inline:auto!important;
  padding-block:3.5rem!important;
}

html body footer.ji-footer .ji-footer__bottom{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:1rem 0!important;
  background:var(--ji-prod-navy)!important;
  background-image:none!important;
  color:#fff!important;
}

html body footer.ji-footer .ji-footer__bottom .ji-container{
  width:min(calc(100% - 32px),var(--ji-container,1180px))!important;
  max-width:var(--ji-container,1180px)!important;
  margin-inline:auto!important;
}

html body footer.ji-footer,
html body footer.ji-footer *{
  color:#fff!important;
}

/* Titles: blue + red only */
html body .ji-block-heading__title,
html body .ji-block-heading__title--bicolor,
html body .ji-section__header h2,
html body .ji-v5-section__title,
html body .ji-page-header h1,
html body .ji-article h1,
html body .ji-split h2,
html body [class*="title--bicolor"],
html body [class*="section__title"]{
  color:var(--ji-prod-blue)!important;
  -webkit-text-fill-color:var(--ji-prod-blue)!important;
  background:none!important;
  text-shadow:none!important;
}

html body .ji-block-heading__title span,
html body .ji-block-heading__title--bicolor span,
html body .ji-section__header h2 span,
html body .ji-v5-section__title span,
html body .ji-page-header h1 span,
html body .ji-article h1 span,
html body .ji-split h2 span,
html body [class*="title--bicolor"] span,
html body [class*="section__title"] span{
  color:var(--ji-prod-red)!important;
  -webkit-text-fill-color:var(--ji-prod-red)!important;
  background:none!important;
}

/* Section surfaces */
html body #quienes-somos,
html body #destacados,
html body #tramites,
html body #documentos,
html body #noticias,
html body #galerias,
html body #directiva,
html body #directorio{
  background:linear-gradient(180deg,var(--ji-prod-soft) 0%,var(--ji-prod-soft-2) 100%)!important;
}

/* Cards */
html body .ji-card-system,
html body .ji-unified-card,
html body .ji-news-card,
html body .ji-v5-card,
html body .ji-archive-card,
html body .ji-person-card,
html body .ji-short-card,
html body .ji-tramite-rebuild-card{
  background:#fff!important;
  border:1px solid var(--ji-prod-line)!important;
  border-left:1px solid var(--ji-prod-line)!important;
  border-radius:0!important;
  box-shadow:0 16px 34px rgba(15,43,99,.075)!important;
  overflow:hidden!important;
}

html body .ji-card-system::before,
html body .ji-card-system::after,
html body .ji-unified-card::before,
html body .ji-unified-card::after,
html body .ji-news-card::before,
html body .ji-news-card::after{
  content:none!important;
  display:none!important;
}

html body .ji-card-system__eyebrow,
html body .ji-unified-card__top,
html body .ji-news-card__category,
html body .ji-v5-card__kicker,
html body .ji-archive-card__kicker,
html body .ji-person-card__role,
html body .ji-tramite-card .ji-unified-card__top,
html body .ji-tramite-rebuild-card__tag{
  color:var(--ji-prod-blue)!important;
  -webkit-text-fill-color:var(--ji-prod-blue)!important;
  background:#fff!important;
  font-weight:950!important;
}

html body .ji-card-system__body h3,
html body .ji-card-system__body h3 a,
html body .ji-unified-card__body h3,
html body .ji-unified-card__body h3 a,
html body .ji-news-card__body h3,
html body .ji-news-card__body h3 a,
html body .ji-tramite-rebuild-card__body h4{
  color:var(--ji-prod-ink)!important;
}

html body .ji-card-system__body p,
html body .ji-unified-card__body p,
html body .ji-news-card__body p,
html body .ji-tramite-rebuild-card__body p{
  color:var(--ji-prod-copy)!important;
}

/* Internal card buttons: blue */
html body #tramites .ji-unified-card__footer a,
html body #quienes-somos .ji-unified-card__footer a,
html body #documentos .ji-unified-card__footer a,
html body #directorio .ji-unified-card__footer a,
html body #destacados .ji-card-system__footer a,
html body #noticias .ji-card-system__footer a,
html body #galerias .ji-card-system__footer a,
html body #directiva .ji-card-system__footer a,
html body .ji-card-system__footer a,
html body .ji-unified-card__footer a,
html body .ji-tramite-rebuild-card__footer a,
html body .ji-v5-card__button,
html body .ji-archive-card__button,
html body .ji-person-card__button,
html body .ji-short-card__button{
  background:var(--ji-prod-blue)!important;
  background-image:none!important;
  border:2px solid var(--ji-prod-blue)!important;
  color:#fff!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}

html body #tramites .ji-unified-card__footer a:hover,
html body #quienes-somos .ji-unified-card__footer a:hover,
html body #documentos .ji-unified-card__footer a:hover,
html body #directorio .ji-unified-card__footer a:hover,
html body #destacados .ji-card-system__footer a:hover,
html body #noticias .ji-card-system__footer a:hover,
html body #galerias .ji-card-system__footer a:hover,
html body #directiva .ji-card-system__footer a:hover,
html body .ji-card-system__footer a:hover,
html body .ji-unified-card__footer a:hover,
html body .ji-tramite-rebuild-card__footer a:hover{
  background:var(--ji-prod-navy)!important;
  border-color:var(--ji-prod-navy)!important;
  color:#fff!important;
}

html body .ji-card-system__footer a span,
html body .ji-unified-card__footer a span,
html body .ji-tramite-rebuild-card__footer a span{
  background:#fff!important;
  color:var(--ji-prod-blue)!important;
}

/* Primary / section CTAs: red */
html body .ji-block-heading__cta .ji-btn,
html body .ji-block-heading__cta .ji-btn--news,
html body .ji-news-section__cta .ji-btn,
html body .ji-news-section__cta .ji-btn--news,
html body .ji-clean-call,
html body .ji-cert-verify__form button,
html body .ji-cert-action--primary{
  background:var(--ji-prod-red)!important;
  border-color:var(--ji-prod-red)!important;
  color:#fff!important;
}

html body .ji-block-heading__cta .ji-btn:hover,
html body .ji-block-heading__cta .ji-btn--news:hover,
html body .ji-news-section__cta .ji-btn:hover,
html body .ji-news-section__cta .ji-btn--news:hover,
html body .ji-clean-call:hover,
html body .ji-cert-verify__form button:hover,
html body .ji-cert-action--primary:hover{
  background:var(--ji-prod-red-dark)!important;
  border-color:var(--ji-prod-red-dark)!important;
  color:#fff!important;
}

/* Hero desktop compact */
html body .ji-clean-hero__shell{
  min-height:0!important;
}

/* Hero mobile: no empty image space */
@media (max-width:920px){
  html body .ji-clean-hero.ji-clean-hero--dashboard,
  html body .ji-clean-hero__shell,
  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track{
    background:var(--ji-prod-navy)!important;
  }

  html body .ji-clean-hero__shell{
    display:block!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
  }

  html body .ji-clean-hero__media,
  html body .ji-hero-slider,
  html body .ji-hero-slider__track{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
  }

  html body .ji-hero-slide{
    height:auto!important;
    min-height:0!important;
    aspect-ratio:4/5!important;
    background-size:cover!important;
    background-position:center center!important;
    display:flex!important;
    align-items:center!important;
  }

  html body .ji-hero-slide.is-active{
    display:flex!important;
  }

  html body .ji-clean-hero__content{
    min-height:0!important;
    height:auto!important;
    padding:2.4rem 1.7rem!important;
    justify-content:center!important;
  }

  html body .ji-clean-dashboard{
    margin:0!important;
    padding:1.35rem 1.1rem 1.55rem!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    background:var(--ji-prod-navy)!important;
  }

  html body .ji-clean-dashboard__pills{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:.65rem!important;
  }

  html body .ji-clean-dashboard__pills a{
    min-height:46px!important;
    padding:.5rem .55rem!important;
    font-size:.82rem!important;
    line-height:1.12!important;
  }
}

/* Shortcuts: 4 in one row desktop */
html body .ji-home-shortcuts .ji-home-shortcuts__grid,
html body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

@media (max-width:980px){
  html body .ji-home-shortcuts .ji-home-shortcuts__grid,
  html body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:640px){
  html body .ji-home-shortcuts .ji-home-shortcuts__grid,
  html body .ji-home-shortcuts--v55 .ji-home-shortcuts__grid{
    grid-template-columns:1fr!important;
  }
}

/* Accessibility / floating */
html body .ji-back-to-top,
html body .ji-backtotop{
  left:22px!important;
  right:auto!important;
  background:var(--ji-prod-red)!important;
  color:#fff!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v93-cert-query-counter.css
   ============================================================ */

/* v9.3 contador público de consultas del verificador */
html body .ji-cert-query-counter{
  display:flex;
  align-items:flex-start;
  gap:.85rem;
  margin:1.2rem 0 0;
  padding:1rem 1.1rem;
  border:1px solid #d8e2fb;
  border-radius:18px;
  background:#f4f7ff;
  color:#0d214a;
}
html body .ji-cert-query-counter__icon{
  width:36px;
  height:36px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 36px;
  background:#2457e6;
  color:#fff;
  font-weight:950;
  font-size:1.2rem;
}
html body .ji-cert-query-counter strong{
  display:block;
  color:#0f2b63;
  font-size:1rem;
  line-height:1.25;
}
html body .ji-cert-query-counter small{
  display:block;
  margin-top:.2rem;
  color:#51627f;
  line-height:1.35;
}
html body .ji-cert-query-counter--warning{
  background:#fff8e5;
  border-color:#f4c542;
}
html body .ji-cert-query-counter--warning .ji-cert-query-counter__icon{
  background:#d98c00;
}
html body .ji-cert-query-counter--warning strong{
  color:#8a5a00;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v95-jjvv-forms.css
   ============================================================ */

/* v9.5 formularios JJVV */
html body .ji-jjvv-form-wrap{
  max-width:980px;
  margin:clamp(2rem,5vw,4rem) auto;
  padding:clamp(1.2rem,3vw,2rem);
  background:#fff;
  border:1px solid #d8e2fb;
  box-shadow:0 18px 44px rgba(15,43,99,.08);
}
html body .ji-jjvv-form-head{
  margin-bottom:1.4rem;
}
html body .ji-jjvv-form-head h1{
  margin:.2rem 0 .6rem;
  color:#2457e6;
  font-size:clamp(2rem,4.5vw,3.4rem);
  line-height:1;
  font-weight:950;
  letter-spacing:-.045em;
}
html body .ji-jjvv-form-head p{
  max-width:760px;
  color:#51627f;
  line-height:1.6;
}
html body .ji-jjvv-form{
  margin-top:1.2rem;
}
html body .ji-jjvv-form__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem 1.1rem;
}
html body .ji-jjvv-form__field--textarea{
  grid-column:1/-1;
}
html body .ji-jjvv-form label{
  color:#0d214a;
  font-weight:800;
}
html body .ji-jjvv-form input,
html body .ji-jjvv-form select,
html body .ji-jjvv-form textarea{
  width:100%;
  margin-top:.35rem;
  border:1px solid #d8e2fb;
  border-radius:16px;
  padding:.85rem 1rem;
  background:#f8fbff;
  color:#0d214a;
  font:inherit;
}
html body .ji-jjvv-form textarea{
  resize:vertical;
}
html body .ji-jjvv-form input:focus,
html body .ji-jjvv-form select:focus,
html body .ji-jjvv-form textarea:focus{
  outline:3px solid rgba(36,87,230,.18);
  border-color:#2457e6;
  background:#fff;
}
html body .ji-jjvv-form__privacy{
  margin:1rem 0;
  padding:1rem;
  border-radius:16px;
  background:#f4f7ff;
  color:#51627f;
  line-height:1.5;
}
html body .ji-jjvv-form button[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:.95rem 1.35rem;
  background:#cf142b;
  color:#fff;
  font-weight:950;
  text-transform:uppercase;
  cursor:pointer;
}
html body .ji-jjvv-form button[type="submit"]:hover{
  background:#ad1025;
}
html body .ji-jjvv-form__hp{
  position:absolute!important;
  left:-9999px!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body .ji-form-notice{
  margin:1rem 0;
  padding:1rem 1.1rem;
  border-radius:18px;
  border:1px solid #d8e2fb;
  background:#f4f7ff;
  color:#0d214a;
}
html body .ji-form-notice--success{
  border-color:#9ed8b5;
  background:#effaf3;
}
html body .ji-form-notice--error{
  border-color:#f2b8b8;
  background:#fff1f1;
}
@media (max-width:720px){
  html body .ji-jjvv-form__grid{
    grid-template-columns:1fr;
  }
}

html body .ji-jjvv-form button[type="submit"][hidden]{display:none!important}

html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][hidden]{display:none!important}


/* v12.4 - Final-only hard lock */
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][hidden],
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][style*="display:none"],
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][style*="display: none"]{
  display:none!important;
}
html body .ji-jjvv-form--certificado-residencia .ji-cert-step[hidden] [data-ji-cert-final-only]{
  display:none!important;
}


/* v13.10.10 - compactar formulario bajo header */
html body.page .ji-entry-content .ji-jjvv-form{
  margin-top:0!important;
}


/* v13.10.11 - eliminar espacio superior excesivo formulario */
html body.page .ji-entry-content > .ji-jjvv-form-wrap:first-child,
html body.page .ji-jjvv-form-wrap{
  margin-top:24px!important;
}
html body.page .ji-content-panel__inner .ji-jjvv-form-wrap:first-child{
  margin-top:24px!important;
}
html body.page .ji-content-panel__inner{
  padding-top:0!important;
}


/* v13.10.15 - Documentación vecinal */
html body .ji-doc-page{
  max-width:1100px;
  margin:24px auto 48px;
}
html body .ji-doc-page__header{
  background:#fff;
  border:1px solid #d6e0ff;
  border-radius:24px;
  padding:28px;
  margin-bottom:18px;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}
html body .ji-doc-page__eyebrow{
  margin:0 0 8px;
  color:#2956e8;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-weight:900;
  font-size:12px;
}
html body .ji-doc-page__header h1{
  margin:0 0 10px;
  color:#2956e8;
  font-size:clamp(38px,5vw,64px);
  line-height:.95;
}
html body .ji-doc-page__header p{
  margin:0;
  color:#334155;
  line-height:1.65;
  font-size:18px;
}
html body .ji-doc-page__categories{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
html body .ji-doc-category-card{
  background:#fff;
  border:1px solid #d6e0ff;
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
html body .ji-doc-category-card__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
html body .ji-doc-category-card h2{
  margin:0;
  color:#0f2f80;
  font-size:22px;
  line-height:1.15;
}
html body .ji-doc-category-card__head span{
  flex:0 0 auto;
  display:inline-flex;
  border-radius:999px;
  background:#eef4ff;
  color:#2956e8;
  padding:6px 10px;
  font-weight:900;
  font-size:12px;
}
html body .ji-doc-category-card p{
  color:#475569;
  line-height:1.55;
}
html body .ji-doc-list{
  list-style:none;
  padding:0;
  margin:14px 0 0;
  display:grid;
  gap:8px;
}
html body .ji-doc-list li{
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:10px 12px;
  background:#f8fafc;
}
html body .ji-doc-list a{
  display:block;
  font-weight:900;
  text-decoration:none;
  color:#0f2f80;
}
html body .ji-doc-list small{
  display:block;
  margin-top:4px;
  color:#64748b;
}
html body .ji-doc-empty{
  margin-top:14px;
  border:1px dashed #cbd5e1;
  border-radius:14px;
  padding:12px;
  color:#64748b;
  background:#f8fafc;
  font-weight:700;
}

/* v13.10.18 botones directiva/documentos */
html body .ji-unified-card__footer a, html body .ji-card-system__footer a{color:#fff!important;}

/* ============================================================
   ORIGEN CONSOLIDADO: v97-no-page-hero.css
   ============================================================ */

/* v9.7 - eliminar cabecera oscura en todas las páginas */
html body.page .ji-interior-hero,
html body.page .ji-interior-hero--page,
html body .ji-content-panel--no-hero > .ji-interior-hero{
  display:none!important;
}

html body .ji-interior-shell--no-page-hero{
  padding-top:0!important;
}

html body.page .ji-content-panel--page.ji-content-panel--no-hero{
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}

html body.page .ji-content-panel--page.ji-content-panel--no-hero > .ji-content-panel__inner{
  padding-top:clamp(1.8rem,4vw,3rem)!important;
}


/* v13.10.10 - Ajuste espacio entre header y contenido */
html body.page .ji-interior-shell--no-page-hero{
  padding-top:24px!important;
}
html body.page .ji-content-panel--page.ji-content-panel--no-hero > .ji-content-panel__inner,
html body.page .ji-content-panel--no-hero > .ji-content-panel__inner{
  padding-top:24px!important;
}
html body.page .ji-entry-content > .ji-jjvv-form:first-child,
html body.page .ji-entry-content > .ji-cert-verify:first-child{
  margin-top:0!important;
}


/* v13.10.11 - formulario sin aire muerto */
html body.page .ji-content-panel--page.ji-content-panel--no-hero > .ji-content-panel__inner{
  padding-top:0!important;
}
html body.page .ji-content-panel--page.ji-content-panel--no-hero .ji-entry-content > .ji-jjvv-form-wrap:first-child{
  margin-top:24px!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v98-form-security-validation.css
   ============================================================ */

/* v9.8 seguridad, validación y ayuda contextual en formularios */
html body .ji-jjvv-form label small{
  display:block;
  margin:.25rem 0 .45rem;
  color:#51627f;
  font-weight:500;
  line-height:1.35;
}
html body .ji-jjvv-form input::placeholder,
html body .ji-jjvv-form textarea::placeholder{
  color:#7a88a4;
}
html body .ji-jjvv-form input:invalid:not(:placeholder-shown),
html body .ji-jjvv-form textarea:invalid:not(:placeholder-shown),
html body .ji-jjvv-form select:invalid{
  border-color:#cf142b;
}
html body .ji-jjvv-form input[type="email"]:valid:not(:placeholder-shown),
html body .ji-jjvv-form input[type="tel"]:valid:not(:placeholder-shown){
  border-color:#9ed8b5;
}
html body .ji-jjvv-form__security{
  margin:1rem 0;
  padding:1rem;
  border-radius:16px;
  background:#eef4ff;
  border:1px solid #d8e2fb;
  color:#51627f;
  line-height:1.5;
}
html body .ji-jjvv-form__security strong{
  color:#0f2b63;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v105-form-file-uploads.css
   ============================================================ */

/* v10.6 - Reparación visual formularios JJVV + archivos privados */
html body .ji-jjvv-form-wrap{
  width:min(100%, 1040px)!important;
  max-width:1040px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
html body .ji-jjvv-form,
html body .ji-jjvv-form *,
html body .ji-jjvv-form-wrap,
html body .ji-jjvv-form-wrap *{
  box-sizing:border-box!important;
}
html body .ji-jjvv-form__grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(280px,1fr))!important;
  gap:1.15rem 1.25rem!important;
  align-items:start!important;
  width:100%!important;
}
html body .ji-jjvv-form__field{
  min-width:0!important;
  width:100%!important;
  margin:0!important;
  display:block!important;
}
html body .ji-jjvv-form__field label{
  display:block!important;
  width:100%!important;
  white-space:normal!important;
  line-height:1.25!important;
}
html body .ji-jjvv-form__field label small{
  display:block!important;
  margin:.35rem 0 .45rem!important;
  color:#51627f!important;
  font-size:.82rem!important;
  font-weight:600!important;
  line-height:1.45!important;
  max-width:100%!important;
  white-space:normal!important;
}
html body .ji-jjvv-form input,
html body .ji-jjvv-form select,
html body .ji-jjvv-form textarea{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  line-height:1.45!important;
}
html body .ji-jjvv-form textarea{
  min-height:136px!important;
}
html body .ji-jjvv-form__field--textarea,
html body .ji-jjvv-form__field--file{
  grid-column:1/-1!important;
}
html body .ji-jjvv-form input[type="file"]{
  width:100%!important;
  padding:1rem!important;
  border:2px dashed #bfd0ff!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  color:#14346f!important;
  line-height:1.4!important;
  white-space:normal!important;
}
html body .ji-jjvv-form input[type="file"]::file-selector-button{
  margin-right:1rem;
  border:0;
  border-radius:999px;
  background:#1d4ed8;
  color:#fff;
  padding:.75rem 1rem;
  font-weight:800;
  cursor:pointer;
}
html body .ji-jjvv-form__security,
html body .ji-jjvv-form__privacy{
  margin:1rem 0!important;
  padding:1rem!important;
  border-radius:16px!important;
  background:#f4f7ff!important;
  color:#51627f!important;
  line-height:1.55!important;
  max-width:100%!important;
}
html body .ji-jjvv-form__privacy{
  border-left:4px solid #1d4ed8!important;
}
@media(max-width:860px){
  html body .ji-jjvv-form__grid{
    grid-template-columns:1fr!important;
  }
  html body .ji-jjvv-form-wrap{
    padding:1rem!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v108-cert-payment.css
   ============================================================ */

/* v10.8 - Pago por transferencia para certificado */
html body .ji-cert-payment-box{
  margin:1.1rem 0;
  padding:1.1rem;
  border-radius:20px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#7c2d12;
}
html body .ji-cert-payment-box strong{
  display:block;
  margin-bottom:.45rem;
  font-size:1.1rem;
  color:#9a3412;
}
html body .ji-cert-payment-box p{
  margin:.4rem 0;
  line-height:1.55;
}
html body .ji-cert-payment-box dl{
  display:grid;
  grid-template-columns:minmax(130px,.35fr) 1fr;
  gap:.35rem .8rem;
  margin:.75rem 0;
}
html body .ji-cert-payment-box dt{
  font-weight:900;
}
html body .ji-cert-payment-box dd{
  margin:0;
}
@media(max-width:760px){
  html body .ji-cert-payment-box dl{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v107-cert-form-steps.css
   ============================================================ */

/* v10.7 - Flujo guiado para certificado de residencia */
html body .ji-cert-steps{margin:1.4rem 0}
html body .ji-cert-steps__nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;list-style:none;margin:0 0 1.2rem;padding:0}
html body .ji-cert-steps__nav li{padding:.85rem .9rem;border-radius:16px;background:#eef4ff;color:#51627f;font-weight:900;border:1px solid #d8e2fb;font-size:.9rem}
html body .ji-cert-steps__nav li.is-active{background:#2457e6;color:#fff;border-color:#2457e6}
html body .ji-cert-steps__nav li.is-done{background:#e8fff1;color:#126b39;border-color:#9ed8b5}
html body .ji-cert-step{border:1px solid #d8e2fb;border-radius:22px;padding:1.1rem;background:#fff}
html body .ji-cert-step h2{margin:0 0 1rem;color:#0f2b63;font-size:1.45rem;line-height:1.1}
html body .ji-cert-step__grid{display:grid;grid-template-columns:repeat(2,minmax(280px,1fr));gap:1.15rem 1.25rem}
html body .ji-cert-step__grid .ji-jjvv-form__field--textarea,
html body .ji-cert-step__grid .ji-jjvv-form__field--file{grid-column:1/-1!important}
html body .ji-cert-steps__actions{display:flex;gap:.75rem;justify-content:space-between;margin-top:1rem}
html body .ji-cert-steps__actions button,
html body .ji-cert-final-submit{border:0;border-radius:999px;padding:.9rem 1.2rem;font-weight:950;cursor:pointer}
html body .ji-cert-steps__prev{background:#eef4ff;color:#14346f}
html body .ji-cert-steps__next{background:#2457e6;color:#fff;margin-left:auto}
html body .ji-jjvv-form__declaration{display:flex!important;gap:.75rem;align-items:flex-start;margin:1rem 0;padding:1rem;border:1px solid #bfd0ff;border-radius:16px;background:#f8fbff;color:#0d214a;font-weight:800!important}
html body .ji-jjvv-form__declaration input{width:auto!important;margin:.15rem 0 0!important;flex:0 0 auto}
html body .ji-jjvv-form__review{margin:1rem 0;padding:1rem;border-radius:16px;background:#f8fafc;border:1px solid #d8e2fb}
html body .ji-jjvv-form__review strong{display:block;margin-bottom:.6rem;color:#0f2b63}
html body .ji-jjvv-form__review dl,
html body .ji-status-result dl{display:grid;grid-template-columns:minmax(130px,.35fr) 1fr;gap:.45rem .8rem;margin:0}
html body .ji-jjvv-form__review dt,
html body .ji-status-result dt{font-weight:900;color:#0f2b63}
html body .ji-jjvv-form__review dd,
html body .ji-status-result dd{margin:0;color:#334155}
html body .ji-status-result{margin-top:1.2rem;padding:1.2rem;border-radius:20px;background:#f4f7ff;border:1px solid #bfd0ff}
html body .ji-status-result>strong{display:inline-flex;padding:.45rem .7rem;border-radius:999px;background:#fff;color:#2457e6;margin-bottom:.7rem}
html body .ji-status-result h2{margin:.2rem 0 .5rem;color:#0f2b63;font-size:2rem}
@media(max-width:860px){
  html body .ji-cert-steps__nav{grid-template-columns:1fr}
  html body .ji-cert-step__grid{grid-template-columns:1fr}
  html body .ji-jjvv-form__review dl,
  html body .ji-status-result dl{grid-template-columns:1fr}
}


/* v10.9 - Previsualización de adjuntos y resumen visual */
html body .ji-file-preview{
  display:grid;
  grid-template-columns:96px 1fr auto;
  gap:1rem;
  align-items:center;
  margin-top:.75rem;
  padding:.85rem;
  border:1px solid #d8e2fb;
  border-radius:16px;
  background:#fff;
}
html body .ji-file-preview__visual{
  width:96px;
  height:72px;
  border-radius:12px;
  overflow:hidden;
  background:#eef4ff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2457e6;
  font-weight:950;
}
html body .ji-file-preview__visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
html body .ji-file-preview__info{
  min-width:0;
}
html body .ji-file-preview__info strong,
html body .ji-file-preview__info small{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html body .ji-file-preview__remove{
  border:0;
  border-radius:999px;
  padding:.7rem .9rem;
  background:#fee2e2;
  color:#991b1b;
  font-weight:900;
  cursor:pointer;
}
html body .ji-review-files{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin-top:1rem;
}
html body .ji-review-file{
  border:1px solid #d8e2fb;
  border-radius:16px;
  padding:.75rem;
  background:#fff;
}
html body .ji-review-file strong,
html body .ji-review-file span{
  display:block;
}
html body .ji-review-file img,
html body .ji-review-file__pdf{
  width:100%;
  height:130px;
  border-radius:12px;
  object-fit:cover;
  background:#eef4ff;
  margin:.55rem 0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#2457e6;
  font-weight:950;
}
html body .ji-review-file span{
  font-size:.86rem;
  color:#51627f;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:860px){
  html body .ji-file-preview{
    grid-template-columns:76px 1fr;
  }
  html body .ji-file-preview__visual{
    width:76px;
    height:60px;
  }
  html body .ji-file-preview__remove{
    grid-column:1/-1;
    width:100%;
  }
  html body .ji-review-files{
    grid-template-columns:1fr;
  }
}


/* v11.0 - Navegación clicable por pasos */
html body .ji-cert-steps__nav li{
  padding:0!important;
  overflow:hidden;
}
html body .ji-cert-steps__nav button{
  appearance:none;
  border:0;
  width:100%;
  min-height:100%;
  padding:.85rem .9rem;
  background:transparent;
  color:inherit;
  font:inherit;
  font-weight:900;
  text-align:left;
  cursor:pointer;
}
html body .ji-cert-steps__nav li.is-active button{
  color:#fff;
}
html body .ji-cert-steps__nav li.is-done button{
  color:#126b39;
}
html body .ji-cert-steps__nav button:hover,
html body .ji-cert-steps__nav button:focus{
  outline:3px solid rgba(36,87,230,.22);
  outline-offset:-3px;
}


/* v12.1 - Corrección flujo revisión/declaración */
html body .ji-cert-step .ji-jjvv-form__security,
html body .ji-cert-step .ji-jjvv-form__privacy,
html body .ji-cert-step .ji-jjvv-form__declaration,
html body .ji-cert-step .ji-jjvv-form__review{
  grid-column:1/-1!important;
}
html body .ji-cert-step .ji-jjvv-form__review[hidden],
html body .ji-cert-step .ji-jjvv-form__declaration[hidden],
html body .ji-cert-step .ji-jjvv-form__security[hidden],
html body .ji-cert-step .ji-jjvv-form__privacy[hidden]{
  display:none!important;
}

html body .ji-cert-final-submit[hidden]{display:none!important}


/* v12.3 - Ocultación reforzada declaración final */
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][hidden],
html body .ji-jjvv-form--certificado-residencia .ji-jjvv-form__declaration[hidden],
html body .ji-jjvv-form--certificado-residencia .ji-jjvv-form__review[hidden],
html body .ji-jjvv-form--certificado-residencia .ji-jjvv-form__security[hidden],
html body .ji-jjvv-form--certificado-residencia .ji-jjvv-form__privacy[hidden]{
  display:none!important;
}


/* v12.4 - Final-only hard lock */
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][hidden],
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][style*="display:none"],
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][style*="display: none"]{
  display:none!important;
}
html body .ji-jjvv-form--certificado-residencia .ji-cert-step[hidden] [data-ji-cert-final-only]{
  display:none!important;
}

/* v12.5 - Flujo certificado cinco pasos */
html body .ji-cert-steps__nav{grid-template-columns:repeat(5,minmax(0,1fr))}
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-review-only][hidden],
html body .ji-jjvv-form--certificado-residencia [data-ji-cert-final-only][hidden]{display:none!important}
html body .ji-cert-step .ji-jjvv-form__review{grid-column:1/-1!important}
@media(max-width:980px){html body .ji-cert-steps__nav{grid-template-columns:1fr}}


/* v12.6 - Prevalidación asistida documental */
html body .ji-file-assisted{
  display:block;
  margin-top:.5rem;
  padding:.55rem .65rem;
  border-radius:12px;
  font-size:.82rem;
  line-height:1.35;
  border:1px solid #d8e2fb;
  background:#f8fafc;
  color:#334155;
}
html body .ji-file-assisted--ok{
  background:#effaf3;
  border-color:#9ed8b5;
  color:#126b39;
}
html body .ji-file-assisted--dudoso{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}
html body .ji-file-assisted--no_valido{
  background:#fff1f1;
  border-color:#f2b8b8;
  color:#991b1b;
}
html body .ji-review-file .ji-file-assisted{
  font-style:normal;
  margin-top:.6rem;
}


/* v13.0 - Experiencia guiada certificado */
html body .ji-cert-before-start,
html body .ji-cert-process-guide,
html body .ji-cert-payment-box,
html body .ji-cert-success-card{
  box-sizing:border-box;
}
html body .ji-cert-before-start{
  margin:1.25rem 0;
  padding:1.25rem;
  border:1px solid #c9d7ff;
  border-radius:22px;
  background:linear-gradient(135deg,#f8fbff,#eef4ff);
  color:#10245a;
}
html body .ji-cert-before-start__kicker,
html body .ji-cert-payment-box__step{
  display:inline-flex;
  font-size:.72rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#2956e8;
}
html body .ji-cert-before-start h2,
html body .ji-cert-payment-box h2{
  margin:.25rem 0 .4rem;
  color:#0f2161;
  font-size:1.28rem;
}
html body .ji-cert-before-start ul{
  margin:1rem 0;
  padding-left:1.25rem;
}
html body .ji-cert-before-start li{
  margin:.35rem 0;
}
html body .ji-cert-before-start__note{
  margin:.75rem 0 0;
  padding:.8rem .95rem;
  border-radius:16px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  font-weight:700;
}
html body .ji-cert-process-guide{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem;
  margin:1rem 0 1.25rem;
}
html body .ji-cert-process-guide div{
  padding:1rem;
  border:1px solid #d6e0ff;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 24px rgba(27,52,135,.06);
}
html body .ji-cert-process-guide strong{
  display:block;
  color:#173080;
  margin-bottom:.35rem;
}
html body .ji-cert-process-guide span{
  display:block;
  color:#42526d;
  font-size:.9rem;
  line-height:1.45;
}
html body .ji-cert-payment-box{
  border-radius:22px;
  border:1px solid #fed7aa;
  background:#fff7ed;
  padding:1.25rem;
  margin:1rem 0 1.25rem;
}
html body .ji-cert-payment-box__head p{
  margin:.35rem 0 1rem;
  color:#8a3412;
}
html body .ji-cert-bank-card{
  display:grid;
  grid-template-columns:1fr;
  gap:.5rem;
}
html body .ji-cert-bank-row{
  display:grid;
  grid-template-columns:140px minmax(0,1fr) auto;
  align-items:center;
  gap:.6rem;
  padding:.7rem .8rem;
  border-radius:14px;
  background:#fff;
  border:1px solid #fed7aa;
}
html body .ji-cert-bank-row span{
  color:#7c2d12;
  font-weight:800;
}
html body .ji-cert-bank-row strong{
  color:#111827;
  overflow-wrap:anywhere;
}
html body .ji-cert-copy{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:.45rem .75rem;
  font-weight:900;
  cursor:pointer;
  background:#2956e8;
  color:#fff;
}
html body .ji-cert-copy.is-copied{
  background:#16a34a;
}
html body .ji-cert-payment-box__note,
html body .ji-cert-payment-box__warning{
  margin:.9rem 0 0;
  color:#7c2d12;
}
html body .ji-cert-payment-box__warning{
  font-weight:800;
}
html body .ji-cert-progress-mobile{
  display:none;
  margin:0 0 1rem;
  padding:1rem;
  border-radius:18px;
  border:1px solid #d6e0ff;
  background:#fff;
}
html body .ji-cert-progress-mobile span{
  display:block;
  font-weight:900;
  color:#2956e8;
  margin-bottom:.25rem;
}
html body .ji-cert-progress-mobile strong{
  display:block;
  color:#0f2161;
  margin-bottom:.75rem;
}
html body .ji-cert-progress-mobile i{
  display:block;
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,#2956e8 var(--ji-cert-progress,20%),#e8eefc var(--ji-cert-progress,20%));
}
html body .ji-cert-success-card{
  margin:1.2rem 0;
  padding:1.6rem;
  border-radius:26px;
  background:linear-gradient(135deg,#eef4ff,#ffffff);
  border:1px solid #c9d7ff;
  text-align:center;
  box-shadow:0 18px 40px rgba(27,52,135,.09);
}
html body .ji-cert-success-card__icon{
  display:inline-flex;
  width:54px;
  height:54px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#16a34a;
  color:#fff;
  font-size:2rem;
  font-weight:900;
  margin-bottom:.7rem;
}
html body .ji-cert-success-card h2{
  margin:.25rem 0 .6rem;
  color:#0f2161;
}
html body .ji-cert-success-card__folio{
  display:inline-flex;
  flex-direction:column;
  gap:.25rem;
  margin:1rem auto;
  padding:.9rem 1.1rem;
  border-radius:18px;
  background:#fff;
  border:1px dashed #2956e8;
}
html body .ji-cert-success-card__folio span{
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  color:#42526d;
}
html body .ji-cert-success-card__folio strong{
  color:#2956e8;
  font-size:1.25rem;
}
html body .ji-cert-success-card__actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.75rem;
  margin:1rem 0;
}
html body .ji-cert-success-card__note{
  color:#42526d;
  margin-bottom:0;
}
@media(max-width:820px){
  html body .ji-cert-process-guide{
    grid-template-columns:1fr;
  }
  html body .ji-cert-steps__nav{
    display:none!important;
  }
  html body .ji-cert-progress-mobile{
    display:block;
  }
  html body .ji-cert-bank-row{
    grid-template-columns:1fr;
    align-items:start;
  }
  html body .ji-cert-copy{
    width:max-content;
  }
}


/* v13.2 - Guía coherente cinco pasos */
html body .ji-cert-process-guide--five{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
html body .ji-cert-process-guide--five div{
  min-height:132px;
}
@media(max-width:1100px){
  html body .ji-cert-process-guide--five{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:820px){
  html body .ji-cert-process-guide--five{
    grid-template-columns:1fr;
  }
  html body .ji-cert-process-guide--five div{
    min-height:auto;
  }
}


/* v13.3 - Pago dentro del paso 3 */
html body .ji-cert-step .ji-cert-payment-box{
  grid-column:1/-1!important;
  margin:0 0 1rem!important;
}
html body .ji-cert-payment-box[hidden],
html body .ji-cert-payment-box[style*="display:none"],
html body .ji-cert-payment-box[style*="display: none"]{
  display:none!important;
}


/* v13.4 - Datos transferencia completos paso 3 */
html body .ji-cert-bank-card .ji-cert-bank-row{
  grid-template-columns:170px minmax(0,1fr) auto;
}
html body .ji-cert-step[data-step="2"] .ji-cert-payment-box{
  display:block;
}
@media(max-width:760px){
  html body .ji-cert-bank-card .ji-cert-bank-row{
    grid-template-columns:1fr;
  }
}


/* v13.5 - Feedback copiar transferencia */
html body .ji-cert-bank-row{
  position:relative;
}
html body .ji-cert-copy{
  min-width:92px;
  transition:transform .15s ease, background .15s ease;
}
html body .ji-cert-copy:active{
  transform:scale(.96);
}
html body .ji-cert-copy.is-copied{
  background:#16a34a!important;
}
html body .ji-cert-copy-feedback{
  grid-column:1/-1;
  display:none;
  margin-top:.25rem;
  padding:.5rem .65rem;
  border-radius:10px;
  background:#dcfce7;
  color:#166534;
  font-weight:800;
  font-size:.82rem;
}
html body .ji-cert-copy-feedback.is-visible{
  display:block;
}
html body .ji-cert-copy-feedback.is-error{
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fed7aa;
}


/* v13.7 - Prevalidación pendiente/ajax */
html body .ji-file-assisted--pendiente{
  background:#eef4ff;
  border-color:#c7d2fe;
  color:#1e3a8a;
}
html body .ji-file-assisted--analizando{
  background:#eef4ff;
  border-color:#c7d2fe;
  color:#1e3a8a;
}


/* v13.8 - Acciones folio seguimiento */
html body .ji-cert-success-card__tools{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  margin:.35rem 0 1rem;
}
html body .ji-cert-success-card__tools button{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:.65rem .9rem;
  font-weight:900;
  cursor:pointer;
  background:#e8eefc;
  color:#173080;
}
html body .ji-cert-success-card__tools button:hover{
  background:#dbe7ff;
}
html body .ji-cert-success-card__tools .ji-cert-folio-copy{
  background:#2956e8;
  color:#fff;
}
html body .ji-cert-folio-feedback{
  display:none;
  width:100%;
  max-width:480px;
  padding:.55rem .75rem;
  border-radius:12px;
  background:#dcfce7;
  color:#166534;
  font-weight:800;
  text-align:center;
}
html body .ji-cert-folio-feedback.is-visible{
  display:block;
}
html body .ji-cert-folio-feedback.is-error{
  background:#fff7ed;
  color:#9a3412;
  border:1px solid #fed7aa;
}
@media print{
  html body *{
    visibility:hidden!important;
  }
  html body .ji-cert-success-card,
  html body .ji-cert-success-card *{
    visibility:visible!important;
  }
  html body .ji-cert-success-card{
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:100%!important;
    box-shadow:none!important;
    border:1px solid #111!important;
  }
  html body .ji-cert-success-card__tools,
  html body .ji-cert-success-card__actions{
    display:none!important;
  }
}


/* v13.9.3 - OCR depuración visible */
html body .ji-ocr-excerpt,
html body .ji-ocr-debug{
  margin-top:.55rem;
}
html body .ji-ocr-excerpt summary,
html body .ji-ocr-debug summary{
  cursor:pointer;
  font-weight:900;
}
html body .ji-ocr-excerpt pre,
html body .ji-ocr-debug pre{
  white-space:pre-wrap;
  max-height:170px;
  overflow:auto;
  margin:.45rem 0 0;
  padding:.65rem;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
  color:#0f172a;
  font-size:.76rem;
}


/* v13.9.8 - Notas visibles pasos 4 y 5 */
html body .ji-cert-step-note{
  grid-column:1/-1;
  margin:.25rem 0 1rem;
  padding:.9rem 1rem;
  border-radius:16px;
  line-height:1.5;
  font-weight:700;
}
html body .ji-cert-step-note--review{
  background:#eef4ff;
  border:1px solid #c7d2fe;
  color:#173080;
}
html body .ji-cert-step-note--data{
  background:#f8fafc;
  border:1px solid #d8e2fb;
  color:#334155;
}


/* v13.9.9 - Modal errores formulario */
html body .ji-cert-error-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
  background:rgba(15,23,42,.52);
}
html body .ji-cert-error-modal__box{
  width:min(520px,100%);
  background:#fff;
  border-radius:24px;
  padding:1.4rem;
  border:1px solid #fecaca;
  box-shadow:0 24px 80px rgba(15,23,42,.25);
}
html body .ji-cert-error-modal__box strong{
  display:block;
  color:#991b1b;
  font-size:1.25rem;
  margin-bottom:.55rem;
}
html body .ji-cert-error-modal__box p{
  color:#0f172a;
  line-height:1.5;
  margin:.25rem 0 1rem;
}
html body .ji-cert-error-modal__box button{
  appearance:none;
  border:0;
  border-radius:999px;
  padding:.75rem 1.1rem;
  font-weight:900;
  cursor:pointer;
  background:#2956e8;
  color:#fff;
}


/* v13.10.0 - Server error modal */
html body .ji-form-notice--modalized{
  display:none!important;
}


/* v13.10.12 - Paso 3 pago antes documentos */
html body .ji-cert-doc-field--locked{
  display:none!important;
}
html body .ji-cert-docs-reveal{
  grid-column:1/-1;
  justify-self:start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:999px;
  padding:.95rem 1.25rem;
  background:#2956e8;
  color:#fff;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(41,86,232,.18);
}
html body .ji-cert-docs-intro{
  grid-column:1/-1;
  margin:.35rem 0 .75rem;
  padding:.85rem 1rem;
  border-radius:16px;
  background:#eef4ff;
  border:1px solid #c7d2fe;
  color:#173080;
  font-weight:800;
}
html body .ji-cert-payment-box{
  grid-column:1/-1!important;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v113-all-forms-steps.css
   ============================================================ */

/* v11.3 - Pasos guiados para todos los formularios JJVV */
html body .ji-general-steps{margin:1.4rem 0}
html body .ji-general-step .ji-cert-step__grid{grid-template-columns:repeat(2,minmax(280px,1fr))}
html body .ji-general-step .ji-jjvv-form__field--textarea{grid-column:1/-1!important}
html body .ji-general-steps__nav{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:860px){
  html body .ji-general-steps__nav{grid-template-columns:1fr}
  html body .ji-general-step .ji-cert-step__grid{grid-template-columns:1fr}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v115-forms-advanced.css
   ============================================================ */

/* v11.5 - Mejoras avanzadas formularios */
html body .ji-form-risk-warning{
  margin:1rem 0;
  padding:1rem;
  border-radius:18px;
  background:#fff7ed;
  border:1px solid #fb923c;
  color:#7c2d12;
}
html body .ji-form-risk-warning strong{
  display:block;
  margin-bottom:.35rem;
  color:#9a3412;
}
html body .ji-form-risk-warning p{margin:0;line-height:1.55}
.ji-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.ji-admin-stats>div{background:#fff;border:1px solid #d0d7de;border-radius:12px;padding:14px}
.ji-admin-stats strong{display:block;font-size:28px;color:#2457e6}
.ji-admin-stats span{color:#475569}
.ji-admin-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ji-admin-filters input[type="search"]{min-width:260px}
.ji-admin-filters select,.ji-admin-filters input{max-width:260px}
.ji-admin-alert-box{margin:10px 0;padding:10px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12}
.ji-admin-alert-box p{margin:.25rem 0}
@media(max-width:780px){.ji-admin-stats{grid-template-columns:1fr}.ji-admin-filters>*{width:100%;max-width:none!important}}

/* ============================================================
   ORIGEN CONSOLIDADO: v100-territorial-map.css
   ============================================================ */

.ji-map-public{max-width:1180px;margin:0 auto;padding:22px 0 40px}
.ji-map-public__header{margin-bottom:20px}
.ji-map-public__eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#ef4444;font-weight:800;margin:0 0 8px}
.ji-map-public__header h2{margin:0 0 10px;font-size:clamp(32px,4.5vw,56px);line-height:.96;color:#1d4ed8}
.ji-map-public__header p{max-width:860px;margin:0;color:#334155;font-size:18px;line-height:1.7}
.ji-map-public__grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:22px;align-items:start}
.ji-map-public__figure-wrap,.ji-map-public__panel{background:#fff;border:1px solid #cfd8ee;border-radius:24px;box-shadow:0 18px 40px rgba(15,23,42,.07)}
.ji-map-public__figure-wrap{padding:18px}
.ji-map-public__figure{position:relative;margin:0;border-radius:18px;overflow:hidden;background:#eef2ff}
.ji-map-public__figure img{display:block;width:100%;height:auto}
.ji-map-hotspot{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border:0;background:none;padding:0;cursor:pointer;z-index:2}
.ji-map-hotspot span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;background:var(--hotspot-color,#1d4ed8);color:#fff;font-size:18px;font-weight:900;line-height:1;box-shadow:0 0 0 4px rgba(255,255,255,.95),0 10px 18px rgba(15,23,42,.24);position:relative;overflow:hidden}
.ji-map-hotspot span img{width:100%;height:100%;object-fit:cover;border-radius:999px;background:#fff}
.ji-map-hotspot span:after{content:'';position:absolute;inset:-6px;border:2px solid var(--hotspot-color,#1d4ed8);border-radius:999px;opacity:.34;animation:jiMapPulse 2.2s ease infinite}
.ji-map-hotspot.is-active span,.ji-map-hotspot:hover span{transform:scale(1.12);box-shadow:0 0 0 5px rgba(255,255,255,.98),0 14px 24px rgba(15,23,42,.3)}
@keyframes jiMapPulse{0%{transform:scale(.82);opacity:.55}70%{transform:scale(1.35);opacity:0}100%{transform:scale(1.35);opacity:0}}
.ji-map-public__chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ji-map-chip{border:1px solid #bfd0ff;background:#f8fbff;color:#14346f;border-radius:999px;padding:10px 14px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:7px}
.ji-map-chip span{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:#e8efff;color:#1d4ed8}
.ji-map-chip.is-active,.ji-map-chip:hover{background:#1d4ed8;color:#fff;border-color:#1d4ed8}
.ji-map-chip.is-active span,.ji-map-chip:hover span{background:rgba(255,255,255,.2);color:#fff}
.ji-map-public__panel{padding:0;position:sticky;top:120px;overflow:hidden}
.ji-map-public__panel-media{height:190px;background:#e8efff;overflow:hidden}
.ji-map-public__panel-media img{width:100%;height:100%;object-fit:cover;display:block}
.ji-map-public__panel-media.is-empty{display:none}
.ji-map-public__panel-top{display:flex;gap:14px;align-items:flex-start;padding:22px 22px 0}
.ji-map-public__panel-logo{width:64px;height:64px;border-radius:18px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;background:#fff;border:1px solid #dbe4ff;box-shadow:0 10px 22px rgba(15,23,42,.1);overflow:hidden;color:#1d4ed8;font-size:30px;font-weight:900}
.ji-map-public__panel-logo img{width:100%;height:100%;object-fit:contain;padding:8px;background:#fff}
.ji-map-public__panel-logo.is-icon{background:#eff6ff}
.ji-map-public__panel-badge{display:inline-flex;align-items:center;gap:8px;background:#eff6ff;color:#1d4ed8;border:1px solid #bfd0ff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.ji-map-public__panel h3{margin:12px 0 10px;font-size:32px;line-height:1.05;color:#0f172a}
.ji-map-public__panel>p{margin:14px 22px 0;color:#334155;line-height:1.7}
.ji-map-public__panel-actions{margin:18px 22px 0}
.ji-map-public__panel-link{display:inline-flex;align-items:center;justify-content:center;padding:13px 18px;border-radius:999px;background:#1d4ed8;color:#fff;text-decoration:none;font-weight:800}
.ji-map-public__help{margin:24px 22px 22px;padding-top:18px;border-top:1px solid #dbe4ff}
.ji-map-public__help strong{display:block;margin-bottom:8px;color:#0f172a}
.ji-map-public__help p{font-size:14px;line-height:1.65;margin:0;color:#334155}
@media (max-width:960px){.ji-map-public__grid{grid-template-columns:1fr}.ji-map-public__panel{position:static}.ji-map-public__header p{font-size:16px}}
@media (max-width:640px){.ji-map-public__figure-wrap,.ji-map-public__panel{border-radius:18px}.ji-map-public__figure-wrap{padding:12px}.ji-map-public__panel h3{font-size:26px}.ji-map-chip{width:100%;text-align:left}.ji-map-hotspot{width:30px;height:30px}.ji-map-hotspot span{width:30px;height:30px;font-size:16px}}


/* v13.10.14 - Mapa territorial con modal */
.ji-map-public{
  max-width:1280px!important;
}
.ji-map-public__grid{
  display:block!important;
}
.ji-map-public__figure-wrap{
  width:100%!important;
}
.ji-map-public__modal[hidden]{
  display:none!important;
}
.ji-map-public__modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.ji-map-public__modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.58);
  backdrop-filter:blur(4px);
}
.ji-map-public__panel--modal{
  position:relative!important;
  top:auto!important;
  width:min(560px,100%)!important;
  max-height:min(86vh,760px)!important;
  overflow:auto!important;
  z-index:1;
  border-radius:24px!important;
}
.ji-map-public__modal-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  width:42px;
  height:42px;
  border:0;
  border-radius:999px;
  background:#fff;
  color:#0f172a;
  font-size:26px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(15,23,42,.22);
}
html.ji-map-modal-open{
  overflow:hidden;
}

/* ============================================================
   ORIGEN CONSOLIDADO: v131016-trade-directory.css
   ============================================================ */

.ji-trade-admin-grid{
  display:grid;
  grid-template-columns:minmax(360px,.9fr) minmax(520px,1.4fr);
  gap:18px;
  margin:18px 0;
}
.ji-trade-admin-card{
  background:#fff;
  border:1px solid #d6e0ff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.ji-trade-admin-card h2{margin-top:0;color:#0f2f80}
.ji-trade-member-search,.ji-trade-search{display:flex;gap:8px;margin:12px 0}
.ji-trade-member-search input[type="search"],.ji-trade-search input[type="search"]{min-width:260px;width:100%}
.ji-trade-admin-card select,.ji-trade-admin-card input[type="text"],.ji-trade-admin-card input[type="email"],.ji-trade-admin-card input[type="number"],.ji-trade-admin-card textarea{width:100%;max-width:100%}
.ji-trade-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.ji-trade-form-grid label{font-weight:700}
.ji-trade-form-wide{grid-column:1/-1}
.ji-trade-status{display:inline-flex;padding:4px 8px;border-radius:999px;font-weight:900;font-size:12px}
.ji-trade-status--active{background:#dcfce7;color:#166534}
.ji-trade-status--pending{background:#fff7ed;color:#9a3412}
.ji-trade-status--inactive{background:#e2e8f0;color:#334155}
.ji-trade-public{max-width:1120px;margin:24px auto 48px}
.ji-trade-public__header{background:#fff;border:1px solid #d6e0ff;border-radius:24px;padding:28px;margin-bottom:18px;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.ji-trade-public__eyebrow{margin:0 0 8px;color:#2956e8;text-transform:uppercase;letter-spacing:.14em;font-weight:900;font-size:12px}
.ji-trade-public__header h1{margin:0 0 10px;color:#2956e8;font-size:clamp(38px,5vw,64px);line-height:.95}
.ji-trade-public__header p{margin:0;color:#334155;line-height:1.65;font-size:18px}
.ji-trade-public__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.ji-trade-card{background:#fff;border:1px solid #d6e0ff;border-radius:20px;padding:18px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.ji-trade-card__category{display:inline-flex;border-radius:999px;background:#eef4ff;color:#2956e8;padding:6px 10px;font-weight:900;font-size:12px}
.ji-trade-card h2{margin:12px 0 8px;color:#0f2f80;font-size:24px;line-height:1.1}
.ji-trade-card__person{font-weight:900;color:#0f172a}
.ji-trade-card__person small{display:block;font-weight:700;color:#64748b;margin-top:3px}
.ji-trade-card p{color:#334155;line-height:1.55}
.ji-trade-card dl{display:grid;gap:8px;margin:14px 0 0}
.ji-trade-card dl div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px}
.ji-trade-card dt{font-weight:900;color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
.ji-trade-card dd{margin:2px 0 0;color:#0f172a;font-weight:800}
@media(max-width:1000px){.ji-trade-admin-grid{grid-template-columns:1fr}.ji-trade-form-grid{grid-template-columns:1fr}}


/* v13.10.19 public filters/grid */
.ji-trade-public__filters{
  display:grid;
  grid-template-columns:1.2fr .9fr auto auto;
  gap:12px;
  align-items:end;
  background:#fff;
  border:1px solid #d6e0ff;
  border-radius:18px;
  padding:16px;
  margin:0 0 16px;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}
.ji-trade-public__filters label{
  display:block;
  color:#0f2f80;
  font-weight:900;
}
.ji-trade-public__filters input,
.ji-trade-public__filters select{
  width:100%;
  margin-top:6px;
  border:1px solid #c7d2fe;
  border-radius:12px;
  padding:10px 12px;
}
.ji-trade-public__filters button,
.ji-trade-public__clear{
  min-height:42px;
  border:0;
  border-radius:999px;
  background:#2956e8;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:950;
  padding:10px 18px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.ji-trade-public__clear{
  background:#e2e8f0;
  color:#0f2f80!important;
  -webkit-text-fill-color:#0f2f80!important;
}
.ji-trade-public__result-count{
  margin:8px 0 16px;
  color:#475569;
  font-weight:800;
}
.ji-trade-public__grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch;
}
.ji-trade-card{
  display:flex;
  flex-direction:column;
}
.ji-trade-card dl{
  margin-top:auto;
}
.ji-trade-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 0;
}
.ji-trade-pagination a{
  display:inline-flex;
  min-width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#eef4ff;
  color:#2956e8;
  font-weight:900;
  text-decoration:none;
  border:1px solid #c7d2fe;
}
.ji-trade-pagination a.is-active{
  background:#2956e8;
  color:#fff;
}
@media(max-width:1000px){
  .ji-trade-public__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ji-trade-public__filters{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .ji-trade-public__grid,
  .ji-trade-public__filters{grid-template-columns:1fr!important}
}

/* ============================================================
   ORIGEN CONSOLIDADO: v135-global-content-container.css
   ============================================================ */
/* v13.11.4 — Global 1180px content system
 * Keeps full-width section backgrounds intact while standardizing the readable
 * content width across public pages and modules.
 */
:root{--ji-content-max:1180px}

/* Public modules that previously used their own, slightly different widths. */
html body .ji-trade-public,
html body .ji-map-public,
html body .ji-documentation-page,
html body .ji-doc-page,
html body .ji-all-tramites-page,
html body .ji-platform-page,
html body .ji-address-checker{
  width:min(calc(100% - 32px),var(--ji-content-max))!important;
  max-width:var(--ji-content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Interior templates: the shell may remain full-width, but its actual content
 * is centered inside the same 1180px reading grid. */
html body .ji-interior-shell > .ji-container{
  width:min(calc(100% - 32px),var(--ji-content-max))!important;
  max-width:var(--ji-content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* A few legacy interior templates place their panel directly under main. */
html body .ji-interior-shell > .ji-interior-hero,
html body .ji-interior-shell > .ji-content-panel{
  width:min(calc(100% - 32px),var(--ji-content-max));
  max-width:var(--ji-content-max);
  margin-left:auto;
  margin-right:auto;
}

/* Forms remain narrower when that improves usability; they are still centered
 * within the global 1180px site grid. */
html body .ji-jjvv-form-wrap{
  width:min(calc(100% - 32px),980px);
  max-width:980px;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Full-width Elementor template: constrain readable article content without
 * preventing deliberately full-bleed blocks from being used inside it. */
html body .ji-fullwidth-page > article > .ji-entry-content{
  width:min(calc(100% - 32px),var(--ji-content-max));
  max-width:var(--ji-content-max);
  margin-left:auto;
  margin-right:auto;
}

/* Keep long-form article text comfortably readable inside the site grid. */
html body .ji-article,
html body .ji-content-panel__inner{
  max-width:100%;
}

@media(max-width:620px){
  html body .ji-trade-public,
  html body .ji-map-public,
  html body .ji-documentation-page,
  html body .ji-doc-page,
  html body .ji-all-tramites-page,
  html body .ji-platform-page,
  html body .ji-address-checker,
  html body .ji-interior-shell > .ji-container,
  html body .ji-interior-shell > .ji-interior-hero,
  html body .ji-interior-shell > .ji-content-panel,
  html body .ji-jjvv-form-wrap,
  html body .ji-fullwidth-page > article > .ji-entry-content{
    width:min(calc(100% - 24px),var(--ji-content-max))!important;
  }
}

/* ============================================================
   ORIGEN CONSOLIDADO: v136-phase2-accountability.css
   ============================================================ */
/* v13.12.0 — Phase 2: accountability and public management metrics */
.ji-metrics-public{padding-bottom:60px}.ji-metrics-summary,.ji-metrics-history{margin-top:28px;background:#fff;border:1px solid #dbe5ef;border-radius:20px;padding:28px;box-shadow:0 8px 26px rgba(23,50,77,.05)}
.ji-metrics-summary__head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}.ji-metrics-summary__head h2,.ji-metrics-history h2{margin:.2rem 0;color:#17324d}.ji-metrics-rate{display:flex;flex-direction:column;align-items:flex-end;color:#526679}.ji-metrics-rate strong{font-size:2rem;line-height:1;color:#123b63}.ji-metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ji-metric-card{padding:20px;border:1px solid #e1e9f0;border-radius:16px;background:#f9fbfd}.ji-metric-card strong{display:block;font-size:2rem;line-height:1.1;color:#123b63}.ji-metric-card span{display:block;margin-top:8px;color:#526679;line-height:1.35}.ji-section-heading{max-width:720px}.ji-metrics-chart{height:280px;display:grid;grid-template-columns:repeat(6,1fr);gap:18px;align-items:end;margin-top:30px;border-bottom:1px solid #ccd8e2;padding:0 10px}.ji-metrics-chart__month{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;min-width:0}.ji-metrics-chart__bars{height:220px;width:100%;display:flex;align-items:end;justify-content:center;gap:5px}.ji-bar{display:block;width:min(24px,38%);border-radius:7px 7px 0 0;min-height:3px}.ji-bar--received{background:#174c5a}.ji-bar--resolved{background:#b8573c}.ji-metrics-chart__month strong{text-transform:capitalize;color:#17324d}.ji-metrics-chart__month small{color:#69798a}.ji-metrics-legend{display:flex;gap:20px;margin-top:18px;color:#526679;font-size:.9rem}.ji-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:5px}.ji-dot--received{background:#174c5a}.ji-dot--resolved{background:#b8573c}
@media(max-width:760px){.ji-metrics-summary__head{display:block}.ji-metrics-rate{align-items:flex-start;margin-top:16px}.ji-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ji-metrics-summary,.ji-metrics-history{padding:20px}.ji-metrics-chart{gap:7px;padding:0 2px}.ji-metrics-chart__bars{height:180px}.ji-bar{width:28%}}
@media(max-width:480px){.ji-metrics-grid{grid-template-columns:1fr}.ji-metrics-chart__month small{font-size:.72rem}.ji-metrics-legend{flex-wrap:wrap}}

/* Gestión en cifras — componente nativo v14.1.0 */
.ji-home-metrics{
  background:var(--ji-bg);
  color:var(--ji-text);
}
.ji-home-metrics .ji-home-metrics__header{
  max-width:760px;
  margin-bottom:2rem;
}
.ji-home-metrics .ji-home-metrics__header h2{
  color:var(--ji-primary);
  font-family:inherit;
  font-weight:700;
}
.ji-home-metrics .ji-home-metrics__header>p:last-child{
  margin:.4rem 0 0;
  color:var(--ji-text);
}
.ji-home-metrics__summary{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  border-block:1px solid var(--ji-border);
  margin-bottom:1.5rem;
}
.ji-home-metrics__stat{
  min-width:0;
  padding:1.15rem 1rem;
  text-align:center;
}
.ji-home-metrics__stat+ .ji-home-metrics__stat{
  border-left:1px solid var(--ji-border);
}
.ji-home-metrics__stat strong{
  display:block;
  color:var(--ji-primary);
  font-family:inherit;
  font-size:clamp(1.7rem,3vw,2.35rem);
  font-weight:800;
  line-height:1;
  letter-spacing:-.035em;
}
.ji-home-metrics__stat span{
  display:block;
  margin-top:.45rem;
  color:var(--ji-text);
  font-size:.86rem;
  font-weight:650;
  line-height:1.3;
}
.ji-home-metrics__layout{
  display:grid;
  grid-template-columns:minmax(280px,.82fr) minmax(0,1.38fr);
  gap:1.25rem;
  align-items:stretch;
}
.ji-home-metrics .ji-card{
  background:#fff;
  border:1px solid var(--ji-border);
  border-radius:var(--ji-radius);
  box-shadow:var(--ji-shadow);
}
.ji-home-metrics .ji-card__body{
  height:100%;
  padding:1.4rem;
}
.ji-home-metrics .ji-card h3{
  margin:.15rem 0 .6rem;
  color:var(--ji-primary);
  font-family:inherit;
  font-size:1.35rem;
  font-weight:750;
  letter-spacing:-.02em;
}
.ji-home-metrics__period-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--ji-border);
}
.ji-home-metrics__period-heading p{
  margin:.1rem 0 0;
  max-width:9.5rem;
  text-align:right;
  color:var(--ji-text);
  font-size:.8rem;
  line-height:1.25;
}
.ji-home-metrics__period-heading p strong{
  display:block;
  color:var(--ji-primary);
  font-size:1.7rem;
  font-weight:800;
  line-height:1;
}
.ji-home-metrics__list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0;
  margin:1rem 0 0;
}
.ji-home-metrics__list div{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:.75rem;
  padding:.65rem 0;
  border-bottom:1px solid var(--ji-border);
}
.ji-home-metrics__list div:nth-last-child(-n+2){border-bottom:0}
.ji-home-metrics__list div:nth-child(odd){padding-right:.8rem}
.ji-home-metrics__list div:nth-child(even){padding-left:.8rem;border-left:1px solid var(--ji-border)}
.ji-home-metrics__list dt{
  color:var(--ji-text);
  font-size:.82rem;
  font-weight:650;
  line-height:1.25;
}
.ji-home-metrics__list dd{
  margin:0;
  color:var(--ji-primary);
  font-size:1.05rem;
  font-weight:800;
}
.ji-home-metrics__chart-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.ji-home-metrics__legend{
  display:flex;
  gap:.9rem;
  flex-wrap:wrap;
  color:var(--ji-text);
  font-size:.78rem;
  font-weight:650;
}
.ji-home-metrics__legend span{display:inline-flex;align-items:center;gap:.35rem}
.ji-home-metrics__dot{width:.62rem;height:.62rem;border-radius:50%;display:inline-block;background:var(--ji-secondary)}
.ji-home-metrics__dot--resolved{background:var(--ji-accent)}
.ji-home-metrics__chart{
  height:210px;
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:.75rem;
  align-items:end;
  margin-top:1rem;
  padding-top:.5rem;
  border-bottom:1px solid var(--ji-border);
}
.ji-home-metrics__month{
  min-width:0;
  display:flex;
  height:100%;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:.28rem;
}
.ji-home-metrics__bars{
  width:100%;
  height:155px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:.28rem;
}
.ji-home-metrics__bar{
  width:min(18px,34%);
  min-height:4px;
  border-radius:5px 5px 0 0;
  background:var(--ji-secondary);
}
.ji-home-metrics__bar--resolved{background:var(--ji-accent)}
.ji-home-metrics__month strong{
  color:var(--ji-primary);
  font-size:.78rem;
  font-weight:750;
  text-transform:capitalize;
}
.ji-home-metrics__month small{
  color:var(--ji-text);
  font-size:.7rem;
  line-height:1;
}
.ji-home-metrics__source{
  margin:1rem 0 0;
  color:var(--ji-text);
  font-size:.78rem;
  opacity:.78;
}
@media(max-width:920px){
  .ji-home-metrics__summary{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ji-home-metrics__stat:nth-child(4){border-left:0}
  .ji-home-metrics__stat:nth-child(-n+3){border-bottom:1px solid var(--ji-border)}
  .ji-home-metrics__layout{grid-template-columns:1fr}
}
@media(max-width:560px){
  .ji-home-metrics__summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ji-home-metrics__stat:nth-child(3),.ji-home-metrics__stat:nth-child(5){border-left:0}
  .ji-home-metrics__stat:nth-child(4){border-left:1px solid var(--ji-border)}
  .ji-home-metrics__stat:nth-child(-n+4){border-bottom:1px solid var(--ji-border)}
  .ji-home-metrics__period-heading,.ji-home-metrics__chart-heading{display:block}
  .ji-home-metrics__period-heading p{text-align:left;margin-top:.8rem;max-width:none}
  .ji-home-metrics__legend{margin-top:.7rem}
  .ji-home-metrics__list{grid-template-columns:1fr}
  .ji-home-metrics__list div:nth-child(n){padding-inline:0;border-left:0;border-bottom:1px solid var(--ji-border)}
  .ji-home-metrics__list div:last-child{border-bottom:0}
  .ji-home-metrics__chart{height:190px;gap:.35rem}
  .ji-home-metrics__bars{height:135px}
}

/* v14.2.0 — impacto público, menú móvil y clustering del mapa */
.ji-home-impact{background:var(--ji-bg);color:var(--ji-text)}
.ji-home-impact__header{max-width:720px;margin-bottom:1.6rem}
.ji-home-impact__header h2{color:var(--ji-primary);font-family:inherit;font-weight:700}
.ji-home-impact__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-block:1px solid var(--ji-border)}
.ji-home-impact__item{padding:1.4rem 1.2rem;text-align:center;min-width:0}
.ji-home-impact__item+ .ji-home-impact__item{border-left:1px solid var(--ji-border)}
.ji-home-impact__item strong{display:block;color:var(--ji-primary);font-size:clamp(2rem,4vw,3.1rem);font-weight:800;line-height:1;letter-spacing:-.04em}
.ji-home-impact__item span{display:block;margin-top:.55rem;color:var(--ji-text);font-size:.92rem;font-weight:650;line-height:1.3}
.ji-home-impact__footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.3rem}
.ji-home-impact__footer p{margin:0;color:var(--ji-text);font-size:.88rem;opacity:.78}

.ji-map-cluster{position:absolute;z-index:4;transform:translate(-50%,-50%);width:46px;height:46px;padding:0;border:4px solid #fff;border-radius:999px;background:var(--ji-primary,#0f3d3e);color:#fff;font:800 1rem/1 inherit;box-shadow:0 8px 18px rgba(15,23,42,.28);cursor:pointer}
.ji-map-cluster:focus-visible{outline:3px solid var(--ji-accent);outline-offset:3px}
.ji-map-hotspot.is-cluster-hidden{display:none!important}
.ji-map-hotspot.is-cluster-expanded{z-index:6}

@media(max-width:760px){
  .ji-main-nav a,.ji-main-nav--mega a,.ji-clean-nav a{text-transform:none!important;letter-spacing:0!important}
  .ji-home-impact__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ji-home-impact__item:nth-child(3){border-left:0}
  .ji-home-impact__item:nth-child(-n+2){border-bottom:1px solid var(--ji-border)}
  .ji-home-impact__footer{align-items:flex-start;flex-direction:column}
  .ji-home-impact__footer .ji-button{width:100%;justify-content:center}
}


/* v14.3.1 — marcadores móviles compactos, conservando coordenadas reales */
@media(max-width:760px){
  .ji-map-cluster{
    width:32px;
    height:32px;
    border-width:2px;
    font-size:.78rem;
    box-shadow:0 4px 9px rgba(15,23,42,.22);
  }
  .ji-map-hotspot,
  .ji-map-hotspot.is-cluster-expanded{
    width:18px;
    height:18px;
  }
  .ji-map-hotspot span,
  .ji-map-hotspot.is-cluster-expanded span{
    width:18px;
    height:18px;
    font-size:9px;
    box-shadow:0 0 0 1.5px rgba(255,255,255,.98),0 3px 7px rgba(15,23,42,.2);
  }
  .ji-map-hotspot span:after{display:none}
  .ji-map-hotspot.is-active span,
  .ji-map-hotspot:hover span{
    transform:scale(1.04);
    box-shadow:0 0 0 2px rgba(255,255,255,.98),0 4px 8px rgba(15,23,42,.24);
  }
}

/* v14.4.0 — gobernanza, alcance de trámites y privacidad */
.ji-jjvv-form__role-notice{
  margin:0 0 1.4rem;
  padding:1rem 1.1rem;
  border:1px solid var(--ji-border);
  border-left:4px solid var(--ji-primary);
  border-radius:var(--ji-radius,14px);
  background:rgba(15,61,62,.045);
  color:var(--ji-text);
}
.ji-jjvv-form__role-notice--canalizacion{border-left-color:var(--ji-accent);background:rgba(184,87,60,.055)}
.ji-jjvv-form__role-notice strong{display:block;margin-bottom:.3rem;color:var(--ji-primary);font-weight:700}
.ji-jjvv-form__role-notice p{margin:0;line-height:1.55}
.ji-tramite-rebuild-card--channel .ji-tramite-rebuild-card__tag{color:var(--ji-accent)!important}
.ji-trade-public__guidance{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  align-items:start;
  margin:0 0 1.5rem;
  padding:1.15rem 1.25rem;
  border:1px solid var(--ji-border);
  border-left:4px solid var(--ji-primary);
  border-radius:var(--ji-radius,14px);
  background:var(--ji-bg);
}
.ji-trade-public__guidance-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ji-primary);color:#fff;font-weight:800}
.ji-trade-public__guidance h2{margin:0 0 .4rem;color:var(--ji-primary);font-family:inherit;font-size:1.15rem;font-weight:700}
.ji-trade-public__guidance p{margin:.2rem 0;color:var(--ji-text);line-height:1.55}
.ji-footer__privacy-link{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ji-footer__bottom-separator{margin:0 .35rem;opacity:.7}
@media(max-width:560px){
  .ji-trade-public__guidance{grid-template-columns:1fr}
  .ji-footer__bottom-separator{display:none}
  .ji-footer__privacy-link{display:block;margin-top:.35rem}
}

/* ============================================================
   Portal de Transparencia + Seguimiento — v14.5.0
   ============================================================ */
.ji-transparency-recent,
.ji-transparency-section-content{
  padding-bottom:clamp(2.5rem,5vw,4.5rem);
}
.ji-transparency-recent .ji-transparency-group__heading{
  margin-top:.5rem;
}
.ji-transparency-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.55rem;
  margin:1.25rem 0 2rem;
  color:var(--ji-text-muted,#526679);
  font-size:.95rem;
}
.ji-transparency-breadcrumb a{
  color:var(--ji-primary,#123b63);
  font-weight:700;
  text-decoration:none;
}
.ji-transparency-breadcrumb a:hover,
.ji-transparency-breadcrumb a:focus-visible{text-decoration:underline}
.ji-transparency-section-page .ji-transparency-section-content{
  background:transparent;
}

.ji-tracking-page{
  display:grid;
  gap:clamp(1.25rem,2.5vw,2rem);
  padding-top:clamp(1.25rem,3vw,2.5rem);
  padding-bottom:clamp(2.5rem,5vw,4.5rem);
}
.ji-tracking-page .ji-tracking-hero{
  margin:0;
  padding:clamp(1.5rem,3.5vw,2.5rem);
  border:1px solid var(--ji-border,#dbe5ef);
  border-radius:var(--ji-radius-lg,20px);
  background:var(--ji-surface,#fff);
  box-shadow:var(--ji-shadow-sm,0 7px 22px rgba(23,50,77,.055));
}
.ji-tracking-page .ji-tracking-hero h1{
  margin:.2rem 0 .75rem;
  color:var(--ji-primary,#123b63);
}
.ji-tracking-page .ji-tracking-hero p:last-child{
  margin:0;
  max-width:760px;
}
.ji-tracking-card,
.ji-tracking-result{
  margin:0;
  border:1px solid var(--ji-border,#dbe5ef);
  border-radius:var(--ji-radius-lg,20px);
  background:var(--ji-surface,#fff);
  box-shadow:var(--ji-shadow-sm,0 7px 22px rgba(23,50,77,.055));
  overflow:hidden;
}
.ji-tracking-card .ji-card__body,
.ji-tracking-result .ji-card__body{
  padding:clamp(1.35rem,3vw,2rem);
}
.ji-tracking-card h2{
  margin:0 0 .4rem;
  color:var(--ji-primary,#123b63);
  font-size:clamp(1.25rem,2vw,1.6rem);
}
.ji-tracking-card .ji-card__body>p{
  margin:0 0 1.25rem;
  color:var(--ji-text-muted,#526679);
}
.ji-tracking-form{
  display:grid;
  gap:.55rem;
  margin:0;
}
.ji-tracking-form label{
  color:var(--ji-text,#17324d);
  font-weight:700;
}
.ji-tracking-form__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.75rem;
  align-items:stretch;
  max-width:720px;
}
.ji-tracking-form input{
  width:100%;
  min-height:48px;
  padding:.75rem 1rem;
  border:1px solid var(--ji-border,#cbd9e5);
  border-radius:var(--ji-radius-md,14px);
  background:#fff;
  color:var(--ji-text,#17324d);
  font:inherit;
}
.ji-tracking-form input:focus{
  outline:3px solid rgba(41,86,232,.18);
  outline-offset:1px;
  border-color:var(--ji-secondary,#2956e8);
}
.ji-tracking-form .ji-btn{
  min-height:48px;
  border-radius:999px;
  padding-inline:1.4rem;
}
.ji-tracking-feedback{
  margin:0;
  border-radius:var(--ji-radius-lg,20px);
}
.ji-tracking-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  padding:1rem 1.15rem;
  margin-bottom:1.25rem;
  border-radius:var(--ji-radius-md,14px);
  background:var(--ji-bg-soft,#f3f7fb);
  border:1px solid var(--ji-border,#dbe5ef);
}
.ji-tracking-status span{color:var(--ji-text-muted,#526679)}
.ji-tracking-status strong{color:var(--ji-primary,#123b63);font-size:1.05rem}
.ji-tracking-result dl{
  display:grid;
  grid-template-columns:max-content 1fr;
  gap:.65rem 1rem;
  margin:0 0 1.5rem;
}
.ji-tracking-result dt{font-weight:800;color:var(--ji-primary,#123b63)}
.ji-tracking-result dd{margin:0;color:var(--ji-text,#17324d)}
.ji-tracking-scope{
  margin:1.5rem 0 0;
  padding:1rem 1.15rem;
  border-left:4px solid var(--ji-accent,#b8573c);
  border-radius:0 var(--ji-radius-md,14px) var(--ji-radius-md,14px) 0;
  background:var(--ji-bg-soft,#f7f9fc);
  color:var(--ji-text-muted,#526679);
}
@media(max-width:640px){
  .ji-tracking-form__row{grid-template-columns:1fr}
  .ji-tracking-form .ji-btn{width:100%}
  .ji-tracking-status{align-items:flex-start;flex-direction:column}
  .ji-tracking-result dl{grid-template-columns:1fr;gap:.25rem}
  .ji-tracking-result dd{margin-bottom:.75rem}
}

/* v14.5.1 — Transparency child pages: force the same light institutional UI as the portal. */
body.page-parent-transparencia .ji-transparency-section-page,
.ji-transparency-section-page {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto 64px;
  color: var(--ji-text, #1f2933);
}
.ji-transparency-section-page .ji-transparency-hero {
  background: #fff !important;
  background-image: none !important;
  color: var(--ji-text, #1f2933) !important;
  border: 1px solid var(--ji-border, #d7e2ee) !important;
  border-radius: 20px !important;
  padding: clamp(24px, 4vw, 48px) !important;
  box-shadow: none !important;
}
.ji-transparency-section-page .ji-transparency-hero .ji-kicker {
  color: var(--ji-accent, #d8112d) !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.ji-transparency-section-page .ji-transparency-hero h1 {
  color: var(--ji-primary, #0b3b66) !important;
  font-family: inherit !important;
  font-size: clamp(2.25rem, 5vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  margin: .35rem 0 1rem !important;
  text-shadow: none !important;
}
.ji-transparency-section-page .ji-transparency-hero p:last-child {
  color: var(--ji-muted, #52677d) !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  max-width: 760px;
  margin: 0 !important;
}
.ji-transparency-section-page .ji-transparency-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin: 18px 0 28px;
  font-size: .95rem;
}
.ji-transparency-section-page .ji-transparency-section-content {
  background: #fff;
  border: 1px solid var(--ji-border, #d7e2ee);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 36px);
}
@media (max-width: 680px) {
  .ji-transparency-section-page { width: min(100% - 24px, 1180px); margin-top: 20px; }
  .ji-transparency-section-page .ji-transparency-hero,
  .ji-transparency-section-page .ji-transparency-section-content { border-radius: 16px !important; }
}
