.detail-section{padding:94px 0 102px;scroll-margin-top:22px}
.detail-tinted{background:#eef4f8}
.detail-section p:not(.eyebrow){color:#425c6f;margin:0 0 22px}
.detail-section p:last-child{margin-bottom:0}
.fund-detail-nav{background:#fff;border-bottom:1px solid var(--line)}
.fund-detail-nav .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.fund-detail-nav a{display:flex;align-items:center;justify-content:center;min-height:63px;padding:13px 12px;text-align:center;color:var(--blue);font-size:.88rem;font-weight:700;border-bottom:3px solid transparent}
.fund-detail-nav a:hover,.fund-detail-nav a:focus-visible{background:#f5f9fc;border-bottom-color:var(--gold)}
.edf-intro-grid,.edf-origin-grid,.partners-grid,.hirte-example-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(38px,7vw,110px);align-items:start}
.edf-intro-grid{align-items:center}
.fund-intro-identity{display:grid;grid-template-columns:118px minmax(0,1fr);gap:23px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}
.fund-intro-identity .fonds-logo-frame{width:118px;height:118px}
.fund-intro-identity .eyebrow{margin:0 0 11px}
.fund-intro-identity h2{font-size:clamp(1.65rem,2.3vw,2.3rem);line-height:1.22;letter-spacing:-.04em;margin:0}
.fund-intro-identity .edf-mark,.fund-intro-identity .hirte-mark{width:100%;height:100%;margin:0;object-fit:contain}
.edf-intro-photo,.campus-panorama,.classroom-photo,.hirte-photo{margin:0;background:#dfe9f0;padding:9px}
.edf-intro-photo img,.campus-panorama img,.classroom-photo img,.hirte-photo img{width:100%;height:auto;object-fit:cover}
.edf-intro-photo img{aspect-ratio:4/3}
.edf-intro-photo figcaption,.campus-panorama figcaption,.classroom-photo figcaption,.hirte-photo figcaption,.elhadj-portrait figcaption{font-size:.8rem;color:#536778;margin:10px 5px 2px}
.edf-origin-grid>div:last-child{padding-top:5px}
.origin-quote{border-left:4px solid var(--gold);padding:5px 0 5px 22px;color:var(--blue);font-size:clamp(1.3rem,2vw,1.8rem);font-weight:700;line-height:1.4}
.origin-quote span{display:block;font-size:.75rem;font-weight:400;letter-spacing:.04em;margin-top:12px;color:#536778}
.elhadj-portrait{margin:31px 0 0;width:253px}
.elhadj-portrait img{width:100%;height:auto}
.edf-campus-copy{max-width:none}
.campus-panorama{margin-top:48px}
.campus-panorama img{aspect-ratio:16/9;object-position:center 46%}
.section-lead{font-size:1.1rem;max-width:790px}
.progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin:43px 0 54px}
.progress-grid article{background:#fff;padding:29px 30px 34px}
.progress-grid span{color:#87640c;font-size:.78rem;font-weight:800;letter-spacing:.07em}
.progress-grid h3{font-size:1.25rem;line-height:1.3;color:var(--blue);margin:22px 0 14px}
.progress-grid p{margin:0!important}
.edf-gallery{margin-top:10px}
.gallery-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}
.gallery-head h3{font-size:clamp(1.5rem,2.4vw,2.15rem);line-height:1.25;letter-spacing:-.03em;color:var(--blue);margin:0}
.gallery-controls{display:flex;gap:9px}
.gallery-controls button{display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:700 1.3rem "Noto Sans",Arial,sans-serif;cursor:pointer}
.gallery-controls button:hover{background:var(--blue);color:#fff}
.gallery-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding:2px 2px 18px;scrollbar-color:var(--blue) #d9e5ec}
.gallery-track figure{flex:0 0 clamp(300px,38vw,460px);margin:0;background:#fff;border:1px solid var(--line);scroll-snap-align:start}
.gallery-track img{width:100%;height:280px;object-fit:cover}
.gallery-track figcaption{padding:14px 17px 17px;color:#4d6575;font-size:.875rem;line-height:1.5}
.partners-grid{align-items:start}
.edf-more{background:#f8fbfd;padding:77px 0 84px}
.more-grid{display:flex;justify-content:space-between;align-items:center;gap:40px}
.more-grid h2{margin-bottom:15px}
.more-grid p:not(.eyebrow){max-width:650px;color:#425c6f;margin:0}
.more-grid .button{flex:none}
.more-back{margin-top:39px}
.hirte-intro-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,7vw,110px);align-items:center}
.hirte-photo img{aspect-ratio:4/3}
.hirte-example{padding-bottom:105px}
.hirte-example .text-link{margin-top:12px}
@media(max-width:900px){.edf-intro-grid,.edf-origin-grid,.partners-grid,.hirte-intro-grid,.hirte-example-grid{grid-template-columns:1fr;gap:28px}.edf-intro-photo,.hirte-photo{max-width:650px}.progress-grid{grid-template-columns:1fr 1fr}.progress-grid article:last-child{grid-column:1/-1}.more-grid{align-items:flex-start;flex-direction:column;gap:25px}}
@media(max-width:650px){.detail-section{padding:65px 0 75px}.fund-detail-nav .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}.fund-detail-nav a{min-height:55px;font-size:.84rem}.fund-detail-nav a:nth-child(-n+2){border-bottom:1px solid var(--line)}.fund-intro-identity{grid-template-columns:88px minmax(0,1fr);gap:15px}.fund-intro-identity .fonds-logo-frame{width:88px;height:88px}.fund-intro-identity h2{font-size:clamp(1.45rem,5vw,1.9rem)}.origin-quote{margin-bottom:18px}.campus-panorama{margin-top:30px;padding:6px}.progress-grid{grid-template-columns:1fr;margin:31px 0 38px}.progress-grid article:last-child{grid-column:auto}.gallery-track figure{flex-basis:min(82vw,360px)}.gallery-track img{height:220px}.gallery-head{align-items:center}.gallery-controls button{width:42px;height:42px}.edf-more{padding:66px 0 72px}.hirte-photo{padding:6px}}

.fund-donation{background:#e8f0f5;padding:85px 0 96px}.fund-donation-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,7vw,105px);align-items:center}.fund-donation-grid>div:first-child p:not(.eyebrow){color:#425c6f;max-width:590px}.fund-account{padding:clamp(28px,4vw,46px);background:#fff;border-top:4px solid #fecc32;box-shadow:0 12px 32px #19334712}.fund-account>span{display:block;color:#325575;font-weight:800;font-size:.9rem}.fund-account dl{display:grid;grid-template-columns:145px minmax(0,1fr);gap:14px 18px;border-top:1px solid #d9e5ec;margin:24px 0 22px;padding-top:25px}.fund-account dt{font-weight:700;color:#597081}.fund-account dd{margin:0;color:#193347;font-weight:700;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.fund-account p{font-size:.93rem;color:#425c6f;line-height:1.7;margin:0 0 22px}@media(max-width:800px){.fund-donation-grid{grid-template-columns:1fr;gap:27px}}@media(max-width:550px){.fund-donation{padding:70px 0 78px}.fund-account dl{grid-template-columns:1fr;gap:4px}.fund-account dt:not(:first-child){margin-top:10px}}

.gallery-track:focus-visible{outline:3px solid #b27b00;outline-offset:4px}
.gallery-controls button:disabled{opacity:.4;cursor:default;background:#fff;color:var(--blue)}

.hirte-hero-accent{color:var(--gold)}
