/* Portada simplificada. */
.portada-stage{padding-bottom:24px}
.portada-stage:before{height:30px;width:120%;left:-10%;bottom:-4px;border-radius:50% 50% 0 0;background:#211d77}
.portada-hero{padding-top:32px;padding-bottom:38px;min-height:450px}
.portada-hero .hero-copy{padding-bottom:0}
.portada-hero h1{display:block;white-space:normal;font-size:clamp(44px,5.1vw,84px);line-height:1.1}
.portada-hero .hero-copy .hero-fullname{max-width:600px;font-size:clamp(20px,2vw,29px);line-height:1.5;color:#202020;margin:0}
.portada-hero .hero-photo{max-width:420px}
.header-inner nav>a.results-button{background:#25218b;color:#fff;padding:14px 21px;border:1px solid #25218b;border-radius:6px;box-shadow:none}
.header-inner nav>a.results-button:hover{background:#171564}
.header-inner nav>a.providers-link{font-size:14px}
.transparency h2{font-size:clamp(32px,3.2vw,46px)}
/* Transparencia: categorías conectadas a las publicaciones existentes. */
.directory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:34px}
#contenido .directory-heading h2{font-size:clamp(34px,3.5vw,52px);color:#171717;line-height:1.15;margin:0}
.directory-rule{display:block;width:55px;height:4px;background:#579934;margin:22px 0}
.directory-heading p{color:#262626;font-size:18px;margin:0}
.category-search{position:relative;flex:0 0 285px;max-width:100%}
.category-search>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#595969;pointer-events:none}
.category-search input{width:100%;min-height:50px;border:1px solid #d6dae6;border-radius:6px;padding:12px 14px 12px 49px;background:#fff;color:#171717;font-size:16px}
.category-search input:focus{outline:2px solid #579934;outline-offset:2px}
.category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.category-card{min-width:0;border:1px solid #dfe2eb;border-radius:8px;background:#fff;box-shadow:0 5px 16px #25218b05;scroll-margin-top:125px}
.category-card[hidden]{display:none}
.category-card>summary{display:block;list-style:none;cursor:pointer;padding:28px;min-height:255px}
.category-card>summary::-webkit-details-marker{display:none}
.category-card>summary:hover{background:#fcfdf9;border-radius:8px}
.category-card>summary:focus-visible{outline:2px solid #579934;outline-offset:3px;border-radius:8px}
.category-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#f3f3f8;color:#25218b;margin-bottom:20px}
.category-icon .portal-icon{width:31px;height:31px}
#contenido .category-card h3{font:600 20px/1.35 Arial,Helvetica,sans-serif;color:#171717;margin:0 0 10px;overflow-wrap:anywhere}
.category-count{display:block;font-size:15px;color:#656970}
.category-consult{display:flex;align-items:center;gap:12px;margin-top:24px;font-size:16px;color:#316e25;font-weight:600}
.category-consult .portal-icon{width:22px;height:22px}
.category-card[open]{border-color:#93af80}.category-card[open] .category-consult .portal-icon{transform:rotate(90deg)}
.category-documents{margin:0 25px 25px;border-top:1px solid #e2e4eb;padding-top:12px}
.category-documents a{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #eceef2;color:#171717;font-size:15px;overflow-wrap:anywhere}
.category-documents a:hover>span:first-child{text-decoration:underline;text-underline-offset:3px}
.category-documents p{font-size:15px;line-height:1.6;margin:8px 0;color:#555}
.document-open{display:flex;gap:4px;align-items:center;color:#316e25;white-space:nowrap;font-size:13px}
.document-open .portal-icon{width:17px;height:17px}
.category-no-results{padding:24px;border:1px solid #e1e4eb;border-radius:8px;background:#fafaf8;color:#333}
@media(max-width:1250px){.header-inner nav{display:none}.nav-toggle{display:block;background:#f4f5fc;border:1px solid #dfe1e8;border-radius:7px;color:#25218b;padding:10px 18px;font-size:15px;font-weight:600}.header-inner nav{position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px;box-shadow:0 14px 24px #25218b12;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e5e7ee}.header-inner nav.is-open{display:flex}.portada-hero .hero-photo{max-width:380px}.directory-heading{gap:24px}.category-search{flex-basis:250px}.category-card>summary{padding:23px}}
@media(max-width:950px){.directory-heading{display:block}.category-search{max-width:380px;margin-top:24px}.category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.directory-break{display:none}}
@media(max-width:760px){.portada-hero{min-height:0;padding-top:30px;padding-bottom:32px}.portada-hero h1{font-size:clamp(40px,10vw,64px)}.portada-hero .hero-copy .hero-fullname{font-size:22px;max-width:520px}.fullname-break{display:none}.portada-hero .hero-photo{max-width:320px}.directory-heading p{font-size:16px}.category-card{scroll-margin-top:100px}}
@media(max-width:540px){.category-cards{grid-template-columns:minmax(0,1fr);gap:18px}.category-card>summary{min-height:0;padding:24px}.category-icon{width:55px;height:55px;margin-bottom:16px}.category-consult{margin-top:18px}.portada-hero .hero-copy .hero-fullname{font-size:20px}#contenido .directory-heading h2{font-size:34px}}
