.apash-icon { display:inline-block; flex-shrink:0; vertical-align:middle; overflow:visible; }
.apash-archive-heading { padding-top:clamp(3rem,7vw,7rem); padding-bottom:2.5rem; }
.apash-archive-label { font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:1rem; }
.apash-archive-heading h1 { color:#222222; font-size:clamp(3rem,7vw,6rem); line-height:1; overflow-wrap:anywhere; margin-bottom:1.5rem; }
.apash-archive-description { max-width:48rem; }
.apash-archive-back { display:inline-flex; align-items:center; gap:.75rem; color:#222222; text-decoration:underline; text-underline-offset:.2em; }
.apash-post-pagination { margin-top:2rem; }
.apash-post-pagination .nav-links { display:flex; justify-content:center; flex-wrap:wrap; gap:.5rem; }
.apash-post-pagination .page-numbers { display:inline-block; padding:.5rem .8rem; color:#222222; border:1px solid currentColor; }
.apash-post-pagination .page-numbers.current { background:#222222; color:#F1EFE5; }
.apash-post-pagination a.page-numbers:hover { background:#E75925; }
span.arrow .apash-icon { margin-top:-4px; margin-left:15px; color:inherit; }
.apash-notice { padding:1rem; border:1px solid #E75925; margin-bottom:1.5rem; }
.acf-field.apash-inline-choice { display:flex; align-items:center; flex-wrap:wrap; column-gap:1.25rem; row-gap:.5rem; }
.acf-field.apash-inline-choice > .acf-label, .acf-field.apash-inline-choice > .acf-input { margin:0; width:auto; }
.acf-field.apash-inline-choice > .acf-label label { margin:0; }
.apash-inline-choice .acf-true-false[hidden] { display:none!important; }
.apash-retirement-choice { display:inline-flex; align-items:center; gap:1.25rem; }
.acf-field .apash-retirement-choice label, .gform_wrapper .apash-retirement-choice label { display:inline-flex; align-items:center; gap:.45rem; margin:0; cursor:pointer; font-weight:400; }
.acf-field .apash-retirement-choice input[type=radio], .gform_wrapper .apash-retirement-choice input[type=radio] { appearance:auto; width:1rem; height:1rem; margin:0; padding:0; accent-color:#222222; flex-shrink:0; }
.gform_wrapper .apash-registration-retirement > legend { float:left; width:auto; margin:0 1.25rem 0 0; }
.gform_wrapper .apash-registration-retirement .apash-retirement-choice { margin-left:.75rem; }
.gform_wrapper .apash-registration-retirement .ginput_container_checkbox[hidden] { display:none!important; }
.gform_wrapper .apash-registration-retirement .gfield_description { clear:both; }
.apash-readonly .acf-label { flex-wrap:wrap; }
.apash-field-help-group { display:inline-flex; align-items:baseline; gap:.5rem; flex:1 1 15rem; min-width:0; }
.apash-readonly .description[hidden], .apash-field-help-text[hidden] { display:none!important; }
.acf-field .acf-label .apash-field-help { flex:0 0 18px; width:18px; height:18px; margin:0; padding:0; border:1px solid #222222; border-radius:50%; background:transparent; color:#222222; font:600 12px/16px Georgia,serif; text-align:center; cursor:help; }
.acf-field .acf-label .apash-field-help:hover, .acf-field .acf-label .apash-field-help[aria-expanded=true] { background:#222222; color:#F1EFE5; }
.acf-field .acf-label .apash-field-help-text { position:static; flex:1; min-width:0; color:#222222; font-family:'Archivo',sans-serif; font-size:.8rem; font-weight:400; line-height:1.5; }
a:focus-visible, button:focus-visible { outline:3px solid #00649C; outline-offset:4px; }
.apash-intranet-menu { list-style:none; margin:0; }
.apash-mobile-intranet { display:none; }
.apash-load-more-wrap { margin-top:2rem; text-align:center; }
#apash-more-comunications { padding:.8rem 1.25rem; border:1px solid currentColor; border-radius:50px; }
#apash-more-comunications:hover { background:#E75925; }
#apash-more-comunications[aria-disabled=true] { opacity:.6; cursor:wait; }
#apash-more-comunications[hidden] { display:none!important; }
#apash-comunications-status { margin-top:1rem; font-size:.9rem; }
@media(max-width:639px) {
    body.intranet .content .sidr { display:none; }
    .apash-mobile-intranet { display:block; margin-top:1rem; margin-bottom:1rem; }
    .apash-mobile-intranet details { border:1px solid #222222; background:#E75925; }
    .apash-mobile-intranet summary { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:48px; padding:.75rem; color:#222222; font-size:.95rem; line-height:1.4; cursor:pointer; list-style:none; }
    .apash-mobile-intranet summary::-webkit-details-marker { display:none; }
    .apash-mobile-intranet summary:focus-visible { outline:3px solid #00649C; outline-offset:3px; }
    .apash-mobile-section { font-weight:600; }
    .apash-mobile-chevron { flex-shrink:0; font-size:1.35rem; line-height:1; }
    .apash-mobile-intranet details[open] .apash-mobile-chevron { transform:rotate(180deg); }
    .apash-mobile-intranet nav { border-top:1px solid #222222; }
    .apash-mobile-intranet .apash-intranet-menu li + li { border-top:1px solid #22222240; }
    .apash-mobile-intranet .apash-intranet-menu a { padding:.8rem 1rem; min-height:44px; font-size:1rem; line-height:1.4; }
    .apash-mobile-intranet .apash-intranet-menu a:hover, .apash-mobile-intranet .apash-intranet-menu a:focus-visible { background:#222222; color:#F1EFE5; }
}
body.intranet .content .sidr .options { font-size:1.5rem; line-height:1.4; }
@media(max-width:1230px) { body.intranet .content .sidr .options { font-size:1.2rem; } }
@media(max-width:639px) { body.intranet .content .sidr .options { font-size:1.05rem; } }
.apash-intranet-menu a { display:block; padding:.55rem 0; color:inherit; }
.apash-intranet-menu a[aria-current=page] { text-decoration:underline; text-underline-offset:.3em; font-weight:600; }
@media(prefers-reduced-motion:reduce) { html {scroll-behavior:auto} .apash-icon {transition:none} }

/* Overlay: escala según altura disponible y mantiene todos los enlaces legibles. */
#menu-over { position:fixed; inset:0; z-index:99999; overflow-y:auto; overscroll-behavior:contain; color:#222222; }
#menu-over.hidden { visibility:hidden; pointer-events:none; opacity:0; }
#menu-over .inner { min-height:100%; padding:clamp(1rem,4vh,2.5rem) 0; }
#menu-over .apash-overlay-content { max-width:1050px; margin-inline:auto; }
#menu-over .apash-overlay-toolbar { display:flex; align-items:center; justify-content:space-between; border-bottom:2px solid currentColor; padding-bottom:.75rem; margin-bottom:.5rem; }
#menu-over .apash-overlay-toolbar > span { font-size:1.5rem; letter-spacing:.06em; }
#menu-over .cerrar { display:grid; place-items:center; width:44px; height:44px; cursor:pointer; margin:0; }
#menu-over .cerrar img { width:24px; height:24px; object-fit:contain; }
#menu-over .menu { margin:0; }
#menu-over .menu > li { width:100%; border-bottom:1px solid rgba(34,34,34,.45); position:relative; padding:0; }
#menu-over .menu > li > a { display:block; position:relative; padding:clamp(.5rem,1.3vh,.9rem) 3rem clamp(.5rem,1.3vh,.9rem) 0; color:inherit; background:transparent; font-family:'Archivo ExtraCondensed','Arial Narrow',sans-serif; font-weight:600; font-size:clamp(1.6rem,5.4vh,3.5rem); line-height:1.08; text-transform:uppercase; }
#menu-over .menu > li > a::after { content:''; position:absolute; right:.25rem; top:50%; width:1.65rem; height:1.65rem; margin:0; border:0; background:currentColor; -webkit-mask:url('../icons/arrow-right.svg') center / contain no-repeat; mask:url('../icons/arrow-right.svg') center / contain no-repeat; transform:translateY(-50%); }
#menu-over .menu > li > a { transition:color .18s ease; }
#menu-over .menu > li > a::after { transition:transform .18s ease; }
#menu-over .menu > li > a:hover, #menu-over .menu > li > a:focus-visible { color:#F1EFE5; }
#menu-over .menu > li > a:hover::after, #menu-over .menu > li > a:focus-visible::after { transform:translate(.2rem,-50%); }
#menu-over .menu > li > a:focus-visible { outline-color:#F1EFE5; outline-offset:-3px; }
@media(prefers-reduced-motion:reduce) { #menu-over .menu > li > a, #menu-over .menu > li > a::after { transition:none; } }
#menu-over .menu > li.active > a { text-decoration:underline; text-underline-offset:.15em; }

/* Especificidad superior al estilo histórico incrustado en la página. */
.entry-content table.apash-tabla-preparadores { font-size:.9rem; line-height:1.45; }
@media(min-width:641px) {
    .entry-content table.apash-tabla-preparadores { display:table; table-layout:fixed; width:100%; white-space:normal; overflow:visible; }
    .entry-content table.apash-tabla-preparadores th, .entry-content table.apash-tabla-preparadores td { padding:.65rem .5rem; overflow-wrap:anywhere; }
    .entry-content table.apash-tabla-preparadores th:first-child { width:2.5rem; }
    .entry-content table.apash-tabla-preparadores th:nth-child(2) { width:27%; }
    .entry-content table.apash-tabla-preparadores th:nth-child(3) { width:15%; }
}
@media(max-width:640px) {
    .entry-content table.apash-tabla-preparadores { display:block; width:100%; overflow-x:auto; white-space:nowrap; }
}
@media(min-width:700px) and (max-height:520px) {
    #menu-over .apash-overlay-content > div > .menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:2rem; }
}
