.ayala-genealogia [hidden]{display:none!important}
.ayala-genealogia .ag-header{position:static;display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:25px 28px}
.ayala-genealogia .ag-brand{justify-content:center;text-align:center}
.ayala-genealogia .ag-brand small{display:block;margin-top:8px;font-size:12px;letter-spacing:.02em;text-transform:none;color:var(--ag-muted)}
.ayala-genealogia .ag-mark{font:600 16px system-ui,sans-serif;letter-spacing:0;white-space:nowrap;flex:none}
.ayala-genealogia .ag-places-routes h3{margin:22px 0 10px;color:#fff;font:700 16px system-ui,sans-serif}
.ayala-genealogia .ag-places-routes p{color:#fff;font-size:14px;line-height:1.7;border-bottom:1px solid #617d73;padding-bottom:18px}
.ayala-genealogia .ag-header .ag-branch-choice{order:1;display:grid;grid-template-columns:1fr 1fr;gap:16px;width:100%}
.ayala-genealogia .ag-header .ag-branch-choice a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:86px;padding:15px;border:2px solid var(--ag-deep);background:var(--ag-surface);color:var(--ag-deep);font-size:22px;text-decoration:none;border-radius:4px}
.ayala-genealogia .ag-header .ag-branch-choice span{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;margin-top:3px}
.ayala-genealogia .ag-header .ag-branch-choice a[aria-current]{background:var(--ag-deep);color:#fff}
.ayala-genealogia .ag-header .ag-branch-choice a:hover{box-shadow:inset 0 0 0 2px var(--ag-gold)}
.ayala-genealogia .ag-header .ag-common-nav{order:2;justify-content:center;gap:10px 24px}
.ayala-genealogia .ag-branch-subnav{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;padding:24px 20px;border-block:1px solid var(--ag-line);background:#e7eee8}
.ayala-genealogia .ag-branch-subnav a{padding:10px 16px;border:1px solid #8a9f91;background:white;color:var(--ag-deep);font-weight:700;text-decoration:none;border-radius:3px}
.ayala-genealogia .ag-branch-subnav a:hover{background:var(--ag-deep);color:white}
.ayala-genealogia .ag-branch-label{display:block;margin-bottom:8px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:750;color:var(--ag-deep)}
.ayala-genealogia .ag-shared-filter-label{display:none;margin-bottom:22px;font-weight:700;font-size:13px}
.ayala-genealogia.ag-navigation-ready .ag-shared-filter-label{display:block}
.ayala-genealogia .ag-shared-filter{display:block;width:100%;max-width:260px;margin-top:5px;min-height:44px;padding:8px;border:1px solid #8a9f91;background:white;color:var(--ag-ink);font:inherit}
.ayala-genealogia .ag-actions .ag-button{flex:1;justify-content:center;text-align:center}
.ayala-genealogia .ag-union{background:#e7eee8}
.ayala-genealogia .ag-request-status{white-space:normal;max-width:100%}
.ayala-genealogia .ag-request-list dd{overflow-wrap:anywhere}
.ayala-genealogia .ag-branch-panel{scroll-margin-top:15px}
@media(max-width:600px){
 .ayala-genealogia .ag-header{padding:22px 18px}
 .ayala-genealogia .ag-header .ag-branch-choice{gap:10px}
 .ayala-genealogia .ag-header .ag-branch-choice a{font-size:19px;min-height:80px;padding:12px 5px}
 .ayala-genealogia .ag-header .ag-common-nav{gap:8px 18px}
 .ayala-genealogia .ag-branch-subnav{gap:8px;padding:18px 12px}
 .ayala-genealogia .ag-branch-subnav a{font-size:12px;padding:10px 8px}
 .ayala-genealogia .ag-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .ayala-genealogia .ag-actions .ag-button{font-size:12px;padding:12px 6px}
}
