/* Estilos acotados a la página institucional; el ancho procede de portal-wide.css. */
body:has(.about-page) { background:#f4f6f9; }
.about-page { color:#1a2433; --about-brand:#1f3a5f; --about-deep:#152a47; --about-gold:#a8782a; --about-line:#dde1e8; --about-menu-height:60px; --about-nav-height:60px; --about-text:1rem; --about-small:.9375rem; --about-caption:.875rem; --about-tab:.9375rem; font-family:"Source Sans 3","Segoe UI",system-ui,-apple-system,sans-serif; font-size:var(--about-text); scroll-margin-top:var(--about-menu-height); }
.about-page .portal-section-header { background:transparent; border-bottom-color:var(--about-line); }
.about-page h2,.about-page h3 { color:var(--about-brand); font-family:"Source Serif 4",Georgia,"Times New Roman",serif; font-weight:600; }
.about-page p { line-height:1.8; }
.about-page .about-eyebrow { margin:0 0 12px; color:#866024; font-size:.75rem; font-weight:600; line-height:1.6; letter-spacing:.085em; text-transform:uppercase; text-align:left; }
.about-hero { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); align-items:center; gap:clamp(24px,2.5vw,40px); padding:14px 0 26px; }
.about-hero-copy { min-width:0; }
.about-hero-copy h2 { max-width:30ch; margin:0 0 20px; font-size:clamp(1.75rem,1.85vw,2rem); line-height:1.25; letter-spacing:-.02em; }
.about-hero-copy > p:not(.about-eyebrow) { margin:0 0 16px; font-size:var(--about-text); text-align:justify; text-align-last:left; }
.about-hero-copy > p:last-child { margin-bottom:0; }
.about-hero-gallery { display:grid; grid-template-columns:1.056216fr 1.776833fr; align-items:stretch; gap:14px; min-width:0; }
.about-hero-media { display:flex; flex-direction:column; margin:0; min-width:0; border-radius:10px; overflow:hidden; background:#fff; border:1px solid var(--about-line); }
.about-hero-media img { display:block; width:100%; height:auto; object-fit:contain; flex:0 0 auto; }
.about-hero-media figcaption { display:flex; align-items:center; flex:1; min-height:46px; padding:10px 13px; color:#4b5667; font-size:var(--about-caption); line-height:1.5; }
.about-nav { position:sticky; top:var(--about-menu-height); z-index:100; background:#f4f6f9; border-top:1px solid var(--about-line); border-bottom:1px solid var(--about-line); }
.about-nav ul { display:flex; align-items:center; gap:8px; margin:0; padding:0; overflow-x:auto; list-style:none; scrollbar-width:thin; }
.about-nav li { flex:0 0 auto; }
.about-nav a { display:block; padding:17px 17px 14px; border-bottom:3px solid transparent; color:#4b5667; text-decoration:none; font-size:var(--about-tab); line-height:1.5; transition:background .16s,color .16s,border-color .16s; }
.about-nav a:hover { color:var(--about-brand); background:#e9eef5; border-bottom-color:#c6d0dd; }
.about-nav a[aria-current] { color:var(--about-brand); border-bottom-color:var(--about-gold); font-weight:600; }
.about-page a:focus-visible,.about-page summary:focus-visible { outline:2px solid var(--about-gold); outline-offset:3px; border-radius:3px; }
.about-page .about-anchor { scroll-margin-top:calc(var(--about-menu-height) + var(--about-nav-height) + 24px); }
.about-anchor:focus { outline:none; }
.about-section { padding:46px 0; border-top:1px solid var(--about-line); }
.about-nav + .about-section { border-top:0; }
.about-section-heading { margin-bottom:26px; }
.about-section-heading h2 { margin:0 0 14px; font-size:1.625rem; line-height:1.3; letter-spacing:-.015em; }
.about-section-heading h2::after { content:""; display:block; width:28px; height:2px; margin-top:12px; background:var(--about-gold); }
.about-section-heading > p:not(.about-eyebrow) { max-width:28ch; margin:0; color:#4b5667; font-size:var(--about-small); }
.about-story { display:grid; grid-template-columns:minmax(180px,260px) minmax(0,1fr); gap:clamp(32px,5vw,80px); }
.about-prose { width:100%; max-width:1000px; }
.about-prose.about-history { max-width:none; }
.about-prose p { margin:0 0 22px; text-align:justify; text-align-last:left; font-size:var(--about-text); }
.about-prose p:last-child { margin-bottom:0; }
.about-history > p:first-child { color:#1a2433; }
.about-prose strong { font-weight:600; }
.about-prose a { color:#383838; text-decoration:underline; text-underline-offset:3px; }
.about-prose a:hover { color:#000; }
.about-documents { margin-top:30px; padding:23px 26px; border:1px solid var(--about-line); border-radius:8px; background:#fff; }
.about-documents h3 { margin:0 0 12px; font-size:1.125rem; }
.about-documents ul { display:flex; flex-wrap:wrap; gap:10px 26px; margin:0; padding:0; list-style:none; }
.about-documents a { display:inline-flex; align-items:center; gap:9px; min-height:44px; padding:6px 10px; border:1px solid transparent; border-radius:5px; color:var(--about-brand); font-size:var(--about-small); line-height:1.6; text-decoration:none; transition:background .16s,border-color .16s,color .16s; }
.about-documents a:hover { color:var(--about-deep); background:#edf1f6; border-color:var(--about-line); text-decoration:none; }
.about-action-icon { display:inline-block; width:17px; height:17px; flex:0 0 17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.about-purpose-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.about-purpose { min-width:0; padding:clamp(24px,3vw,36px); border:1px solid var(--about-line); border-radius:10px; background:#fff; }
.about-mission,.about-vision { border-top:2px solid var(--about-brand); }
.about-purpose h3 { margin:0 0 22px; font-size:1.5rem; }
.about-purpose p { max-width:65ch; margin:0 0 17px; font-size:var(--about-text); text-align:justify; text-align-last:left; }
.about-mission > p { margin:0; padding:0; }
.about-purpose p:last-child { margin-bottom:0; }
.about-objective-general { padding:0 0 24px 25px; border-left:3px solid var(--about-brand); }
.about-objective-general h3 { margin:0 0 15px; font-size:1.25rem; }
.about-objective-general p { margin:0; font-size:var(--about-text); }
.about-objective-general.about-with-media { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:26px; }
.about-support-media { min-width:0; margin:0; }
.about-support-media img { display:block; width:100%; height:auto; border-radius:8px; }
.about-support-media figcaption { margin-top:8px; color:#4b5667; font-size:var(--about-caption); }
.about-objectives-detail { margin-top:25px; border:1px solid var(--about-line); border-radius:8px; overflow:hidden; background:#fff; scroll-margin-top:calc(var(--about-menu-height) + var(--about-nav-height) + 24px); }
.about-objectives-detail summary { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:20px 23px; color:var(--about-brand); background:#fff; cursor:pointer; list-style:none; font-size:var(--about-text); line-height:1.5; font-weight:600; transition:background .16s; }
.about-summary-label { display:inline-flex; align-items:center; gap:10px; }
.about-objectives-detail summary::-webkit-details-marker { display:none; }
.about-objectives-detail summary:hover { background:#edf1f6; }
.about-expand-icon { flex:0 0 12px; width:12px; height:12px; position:relative; }
.about-expand-icon::before,.about-expand-icon::after { content:''; position:absolute; top:5px; left:0; width:12px; height:2px; background:var(--about-brand); }
.about-expand-icon::after { transform:rotate(90deg); transition:transform .16s; }
.about-objectives-detail[open] .about-expand-icon::after { transform:rotate(0); }
.about-objectives-detail ol { margin:0; padding:10px 28px 10px 58px; }
.about-objectives-detail li { padding:20px 0 20px 10px; border-bottom:1px solid #e6e6e6; line-height:1.8; font-size:var(--about-text); text-align:justify; text-align-last:left; }
.about-objectives-detail li:last-child { border-bottom:0; }
.about-objectives-detail li::marker { color:var(--about-brand); font-weight:600; }
.about-structure-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 32px; margin:0; padding:0; list-style:none; counter-reset:about-position; }
.about-structure-list li { display:flex; align-items:center; gap:18px; padding:22px 8px; border-bottom:1px solid var(--about-line); font-size:var(--about-text); line-height:1.55; counter-increment:about-position; }
.about-structure-list li::before { content:counter(about-position,decimal-leading-zero); flex:0 0 32px; padding:5px 0; border-radius:5px; background:#e6ecf4; color:var(--about-brand); font-size:var(--about-caption); font-weight:600; text-align:center; }
.about-page-end { display:flex; justify-content:flex-end; padding:20px 0 0; border-top:1px solid #dedede; }
.about-page-end a { display:inline-flex; align-items:center; min-height:44px; gap:18px; padding:8px 0; color:var(--about-brand); font-size:var(--about-small); text-decoration:none; }
.about-page-end a:hover { color:var(--about-deep); text-decoration:underline; }
html.about-smooth-scroll { scroll-behavior:smooth; }
@media(min-width:992px) and (max-width:1199.98px) {
  .about-hero { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:24px; }
  .about-hero-gallery { gap:10px; }
  .about-hero-media figcaption { padding:10px; }
}
@media(max-width:991.98px) {
  .about-hero { grid-template-columns:1fr; gap:22px; }
  .about-hero-copy h2 { max-width:28ch; }
  .about-hero-gallery { width:100%; max-width:720px; justify-self:center; }
  .about-story { grid-template-columns:minmax(150px,200px) minmax(0,1fr); gap:30px; }
  .about-purpose { padding:25px; }
}
@media(max-width:767.98px) {
  .about-page { --about-tab:.875rem; --about-caption:.8125rem; }
  .about-hero { padding:6px 0 22px; }
  .about-hero-copy h2 { margin-bottom:20px; font-size:1.625rem; }
  .about-nav a { padding:15px 13px 12px; }
  .about-section { padding:34px 0; }
  .about-story { grid-template-columns:1fr; gap:0; }
  .about-section-heading { margin-bottom:22px; }
  .about-section-heading h2 { font-size:1.5rem; margin-bottom:10px; }
  .about-section-heading > p:not(.about-eyebrow) { max-width:none; }
  .about-prose p { margin-bottom:20px; }
  .about-purpose-grid { grid-template-columns:1fr; gap:18px; }
  .about-purpose h3 { font-size:1.375rem; }
  .about-documents { padding:20px; }
  .about-documents ul { display:block; }
  .about-documents li + li { margin-top:8px; }
  .about-structure-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 20px; }
  .about-structure-list li { padding:18px 0; gap:12px; }
  .about-objective-general.about-with-media { grid-template-columns:1fr; }
}
@media(max-width:399.98px) {
  .about-structure-list { grid-template-columns:1fr; }
  .about-objectives-detail summary { padding:18px; }
  .about-objectives-detail ol { padding-left:43px; padding-right:20px; }
}
@media(prefers-reduced-motion:reduce) {
  html.about-smooth-scroll { scroll-behavior:auto; }
  .about-page * { transition:none !important; }
}
@media print {
  body:has(.about-page) { background:#fff; }
  .about-nav,.about-page-end,body > nav,body > footer { display:none; }
  .about-hero { display:block; }
  .about-hero-gallery { max-width:600px; margin-top:20px; break-inside:avoid; }
  .about-story,.about-purpose-grid { display:block; }
  .about-objectives-detail > ol { display:block !important; }
  .about-purpose { margin-bottom:15px; break-inside:avoid; }
}
