@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');
:root{--navy:#123c83;--blue:#174a9c;--gold:#e9b923;--red:#c92b2b;--ink:#1d2b43;--muted:#66748a;--soft:#f4f7fc;--white:#fff;--line:#e2e8f1}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);line-height:1.7}
a{color:inherit;text-decoration:none}
.container{width:min(1140px,92%);margin:0 auto}
.topbar{background:var(--navy);color:#fff;font-size:.86rem}
.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.topbar a{color:#ffdc66;font-weight:700}
.site-header{background:#fff;position:sticky;top:0;z-index:20;box-shadow:0 3px 20px #102d5710}
.nav-wrap{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand,.footer-brand{display:flex;align-items:center;gap:12px}
.brand img{width:64px;height:64px;object-fit:contain}
.brand strong,.footer-brand strong{display:block;color:var(--navy);font-size:1.13rem;line-height:1.3}
.brand small,.footer-brand small{display:block;color:var(--muted);font-size:.78rem;letter-spacing:.07em;text-transform:uppercase}
.nav-links{display:flex;align-items:center;gap:23px;font-size:.91rem;font-weight:600}
.nav-links a{transition:color .2s}
.nav-links a:hover,.text-link{color:var(--blue)}
.menu-toggle{display:none;border:0;background:var(--soft);font-size:1.5rem;padding:8px 12px;border-radius:8px}
.hero{min-height:550px;display:flex;align-items:center;position:relative;color:white;background:linear-gradient(110deg,#0b2d67f2 0%,#174a9cdb 55%,#174a9c75 100%),url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1800&q=85') center/cover}
.hero-content{position:relative;padding-top:80px;padding-bottom:90px}
.eyebrow{font-size:.76rem;font-weight:700;letter-spacing:.16em;color:var(--gold);margin:0 0 12px;text-transform:uppercase}
.hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2.6rem,5.4vw,4.5rem);line-height:1.12;max-width:760px;margin:0 0 20px}
.hero h1 span{color:#ffdc66}
.hero-text{font-size:1.1rem;max-width:620px;color:#edf3ff;margin-bottom:30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 21px;border-radius:6px;font-size:.92rem;font-weight:700;border:1px solid transparent;transition:transform .2s,background .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--gold);color:#172746}
.btn-light{background:#fff;color:var(--navy)}
.btn-outline{border-color:#c7d2e2;color:var(--navy);background:white}
.section{padding:82px 0}
.section-soft{background:var(--soft)}
h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2rem,3vw,2.8rem);line-height:1.2;margin:0 0 22px;color:var(--navy)}
h3{line-height:1.3;color:var(--navy)}
p{margin:0 0 16px}
.accent{color:var(--red)}
.two-col{display:grid;grid-template-columns:1.4fr .8fr;gap:80px;align-items:center}
.intro .eyebrow,.contact-section .eyebrow{color:var(--red)}
.text-link{font-weight:700;display:inline-block;margin-top:8px}
.highlight-card{background:var(--navy);color:white;text-align:center;border-radius:18px;padding:36px 24px;box-shadow:0 20px 45px #123c8326;border-bottom:6px solid var(--gold)}
.highlight-card h3{color:#fff;margin:12px 0 5px}
.highlight-card p{color:#dbe7ff}
.highlight-icon{margin:auto;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--navy);font-size:2rem}
.year{font-family:'Playfair Display',serif;color:var(--gold);font-size:3.5rem;font-weight:700;line-height:1.3}
.highlight-card small{color:#dbe7ff}
.narrow{max-width:850px}
.centered{text-align:center}
.timeline{display:grid;grid-template-columns:105px 1fr;gap:28px;margin-top:38px;padding:28px;background:white;border-radius:14px;border:1px solid var(--line);box-shadow:0 12px 35px #123c8309}
.timeline-year{font-family:'Playfair Display',serif;font-size:1.8rem;color:var(--red);font-weight:700;border-right:2px solid var(--gold)}
.timeline h3{margin:0 0 10px}
.purpose-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:38px}
.purpose-card{padding:32px;border:1px solid var(--line);border-radius:14px;background:white;box-shadow:0 12px 35px #123c8308}
.vision-card{background:#fffaf0;border-color:#f3e4b4}
.card-icon{font-size:2rem;color:var(--red)}
.purpose-card h3{font-size:1.45rem;margin:8px 0}
.purpose-card ul{padding-left:20px;margin-bottom:0}
.purpose-card li{margin:7px 0}
.section-lead{max-width:700px;margin:0 auto 35px;color:var(--muted)}
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:34px}
.work-card{background:white;border:1px solid var(--line);border-radius:12px;padding:26px;transition:transform .2s,box-shadow .2s}
.work-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #123c8310}
.work-icon{width:54px;height:54px;border-radius:12px;background:#edf3ff;display:grid;place-items:center;font-size:1.7rem}
.work-card h3{margin:18px 0 8px}
.work-card p{color:var(--muted);font-size:.95rem;margin:0}
.callout{background:var(--navy);color:white;padding:45px 0}
.callout-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}
.callout h2{color:white;font-size:2rem;margin-bottom:8px}
.callout p:not(.eyebrow){color:#dbe7ff;margin-bottom:0}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:35px;margin-top:38px}
.contact-info{padding:28px;border:1px solid var(--line);border-radius:14px}
.contact-info h3{font-size:1.35rem;margin:0 0 8px}
.contact-info>p{color:var(--muted)}
.contact-item{display:flex;gap:14px;margin:22px 0}
.contact-symbol{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);border-radius:10px;font-size:1.35rem}
.contact-item strong{color:var(--navy)}
.contact-item p{margin:3px 0 0;color:var(--muted)}
.contact-item a{color:var(--blue);font-weight:700}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.map-frame{min-height:420px;border-radius:14px;overflow:hidden;background:#e8edf5}
.map-frame iframe{width:100%;height:100%;min-height:420px;border:0}
.footer{background:#0c2550;color:#dbe7ff;padding:28px 0 15px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.footer-brand img{width:52px;height:52px;object-fit:contain;background:white;border-radius:50%}
.footer-brand strong{color:white;font-size:1rem}
.footer-brand small{color:#bac9e5}
.footer-inner>p{font-size:.82rem;margin:0}
.footer-inner>a{color:#ffdc66;font-weight:700;font-size:.9rem}
.disclaimer{font-size:.75rem;color:#9fb2d4;border-top:1px solid #ffffff20;margin-top:20px;padding-top:12px}
@media(max-width:900px) {
  .nav-links{gap:12px;font-size:.82rem}
  .brand strong{font-size:1rem}
  .brand img{width:54px;height:54px}
  .two-col{gap:35px}
  .work-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px) {
  .topbar-inner{padding:8px 0;align-items:flex-start;flex-direction:column;gap:2px}
  .nav-wrap{min-height:76px;flex-wrap:wrap}
  .menu-toggle{display:block}
  .nav-links{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;padding:0 0 18px;gap:0}
  .nav-links.open{display:flex}
  .nav-links a{padding:10px 4px;border-top:1px solid var(--line)}
  .hero{min-height:520px}
  .hero-content{padding-top:65px;padding-bottom:65px}
  .section{padding:60px 0}
  .two-col,.purpose-grid,.contact-grid{grid-template-columns:1fr}
  .highlight-card{max-width:420px;margin:0 auto;width:100%}
  .timeline{grid-template-columns:1fr;gap:12px}
  .timeline-year{border-right:0;border-bottom:2px solid var(--gold);padding-bottom:10px}
  .work-grid{grid-template-columns:1fr}
  .callout-inner{align-items:flex-start;flex-direction:column}
  .footer-inner{align-items:flex-start;flex-direction:column}
  .map-frame,.map-frame iframe{min-height:330px}
}

/* =====================================================================
   EXTENSIONS FOR THE ASP.NET VERSION
   Everything above this line is the ORIGINAL design (unchanged).
   Everything below adds: accessibility, About Us dropdown, Donation menu,
   Donation page, footer columns and extra responsive rules.
   ===================================================================== */

/* ---------- Accessibility ---------- */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--gold);color:#172746;padding:10px 16px;border-radius:6px;font-weight:700}
.skip-link:focus{left:12px}
a:focus,button:focus{outline:3px solid var(--blue);outline-offset:2px}
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:none}
.topbar a:focus-visible,.hero a:focus-visible,.callout a:focus-visible,.footer a:focus-visible,.page-hero a:focus-visible{outline-color:var(--gold)}
form{margin:0}
img{max-width:100%}

/* ---------- Navigation: About Us dropdown + Donation item ---------- */
.nav-item{position:relative}
.nav-dropdown-toggle{font:inherit;color:inherit;background:none;border:0;margin:0;cursor:pointer;display:inline-flex;align-items:center;gap:8px;transition:color .2s}
.nav-dropdown-toggle:hover,.has-dropdown.open>.nav-dropdown-toggle{color:var(--blue)}
.caret{display:inline-block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.has-dropdown.open .caret{transform:rotate(-135deg) translateY(-2px)}
.dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:-14px;min-width:230px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 18px 40px #102d571f;padding:8px;z-index:30}
.dropdown-menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.has-dropdown.open .dropdown-menu{display:block}
.nav-links .dropdown-menu a{display:block;padding:10px 14px;border-radius:7px;font-weight:600;white-space:nowrap}
.nav-links .dropdown-menu a:hover,.nav-links .dropdown-menu a:focus{background:var(--soft);color:var(--blue)}
.nav-donation{display:inline-flex;align-items:center;gap:6px}
.nav-icon{font-size:1rem;line-height:1}

@media(min-width:701px){
  .nav-links>a,.nav-dropdown-toggle{padding:4px 0;border-bottom:2px solid transparent}
  .nav-links>a.active{color:var(--blue);border-bottom-color:var(--gold)}
  .nav-links>a.nav-donation{background:var(--gold);color:#172746;padding:8px 16px;border-radius:6px;border-bottom:2px solid transparent;font-weight:700;transition:transform .2s,background .2s}
  .nav-links>a.nav-donation:hover{color:#172746;background:#f2c63f;transform:translateY(-1px)}
  .nav-links>a.nav-donation.active{background:var(--navy);color:#fff}
}

/* No-JavaScript fallbacks (the "js" class is added to <html> by the Master Page) */
html:not(.js) .has-dropdown:hover .dropdown-menu,html:not(.js) .has-dropdown:focus-within .dropdown-menu{display:block}
html:not(.js) .menu-toggle{display:none!important}

/* ---------- Buttons ---------- */
.btn-donate{background:var(--red);color:#fff}
.btn-donate:hover{background:#b02424}
.callout-actions{display:flex;gap:12px;flex-wrap:wrap}

/* ---------- Donation page banner ---------- */
.page-hero{background:linear-gradient(110deg,#0b2d67 0%,#174a9c 100%);color:#fff;padding:52px 0 56px}
.page-hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.15;margin:0 0 14px;max-width:760px}
.page-hero-text{max-width:680px;color:#edf3ff;margin:0;font-size:1.05rem}
.breadcrumb{font-size:.86rem;color:#cfe0ff;margin-bottom:18px}
.breadcrumb a{color:#ffdc66;font-weight:700}
.breadcrumb a:hover{text-decoration:underline}

/* ---------- Donation page: two columns ---------- */
.donation-section{padding:64px 0 72px}
.donation-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
.donation-card{min-width:0;background:#fff;border:1px solid var(--line);border-top:5px solid var(--gold);border-radius:16px;padding:32px;box-shadow:0 14px 40px #123c8310}
.card-title{font-family:'Playfair Display',Georgia,serif;font-size:1.55rem;line-height:1.25;margin:0 0 22px}

/* QR code area */
.qr-card{text-align:center;display:flex;flex-direction:column}
.qr-box{width:100%;max-width:340px;min-height:240px;aspect-ratio:1/1;margin:0 auto 18px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.qr-box-empty{border:2px dashed #b9c6dc;background:#f8fafd;padding:20px}
.qr-box-filled{border:1px solid var(--line);background:#fff;padding:12px}
.qr-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.qr-placeholder-text{color:var(--muted);font-size:.95rem}
.qr-note{color:var(--muted);font-size:.9rem;margin:auto 0 0}

/* Bank details */
.bank-eyebrow{color:var(--red)}
.bank-name-block{padding-bottom:18px;border-bottom:1px solid var(--line)}
.bank-label,.bank-key{display:block;font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.bank-name{font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.25;margin:4px 0 0;overflow-wrap:anywhere}
.bank-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
.bank-row:last-child{border-bottom:0}
.bank-icon{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);border-radius:10px}
.bank-text{flex:1 1 auto;min-width:0}
.bank-value{display:block;font-size:1.15rem;color:var(--navy);letter-spacing:.05em;overflow-wrap:anywhere}
.copy-btn{display:none;flex:0 0 auto;font:inherit;font-size:.82rem;font-weight:700;color:var(--navy);background:#fff;border:1px solid #c7d2e2;border-radius:6px;padding:8px 14px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
html.js .copy-btn{display:inline-flex;align-items:center;justify-content:center}
.copy-btn:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.copy-btn.copied{background:#1e7a46;border-color:#1e7a46;color:#fff}
.copy-status{min-height:1.6em;margin:10px 0 0;font-size:.9rem;font-weight:700;color:#1e7a46;opacity:0;transition:opacity .2s}
.copy-status.visible{opacity:1}
.copy-status.error{color:var(--red)}
.bank-note{margin:4px 0 0;font-size:.88rem;color:var(--muted)}
.bank-note a{color:var(--blue);font-weight:700}

/* ---------- Dynamic donation information (from SQL Server) ---------- */
.info-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:34px}
.info-card{flex:1 1 300px;max-width:366px;min-width:0;background:#fff;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:12px;padding:26px;transition:transform .2s,box-shadow .2s}
.info-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #123c8310}
.info-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:10px;font-size:.8rem}
.info-tag{background:#edf3ff;color:var(--blue);font-weight:700;letter-spacing:.04em;padding:3px 10px;border-radius:999px}
.info-date{color:var(--muted);font-weight:600}
.info-card h3{margin:0 0 8px;font-size:1.2rem;overflow-wrap:anywhere}
.info-card p{margin:0;color:var(--muted);font-size:.95rem;overflow-wrap:anywhere}
.info-message{max-width:560px;margin:34px auto 0;text-align:center;background:#fff;border:1px dashed #c7d2e2;border-radius:14px;padding:36px 24px}
.info-message-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--navy);font-size:1.6rem;font-weight:700}
.info-message-notice .info-message-icon{background:#fdeaea;color:var(--red)}
.info-message p{margin:0;color:var(--muted);font-size:1.02rem}

/* ---------- Footer (columns) ---------- */
.footer-top{display:grid;grid-template-columns:1.4fr .8fr 1fr;gap:40px;padding-bottom:26px;border-bottom:1px solid #ffffff20}
.footer-about p{color:#bac9e5;font-size:.92rem;margin:14px 0 0;max-width:380px}
.footer-heading{font-family:'DM Sans',Arial,sans-serif;font-size:.85rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;line-height:1.4;margin:0 0 14px}
.footer-links{list-style:none;margin:0;padding:0}
.footer-links li{margin:0 0 7px}
.footer-links a,.footer-contact a{color:#dbe7ff}
.footer-links a:hover,.footer-contact a:hover{color:#ffdc66;text-decoration:underline}
.footer-contact{font-style:normal;font-size:.92rem;line-height:1.8;color:#bac9e5}
.footer-inner{margin-top:18px}

/* ---------- Responsive additions ---------- */
@media(max-width:900px){
  .donation-card{padding:26px}
  .footer-top{grid-template-columns:1fr 1fr}
  .footer-about{grid-column:1/-1}
}
@media(max-width:800px){
  .donation-grid{grid-template-columns:1fr}
  .qr-box{max-width:300px}
}
@media(max-width:700px){
  /* Mobile menu: dropdown becomes an inline accordion */
  .nav-item{border-top:1px solid var(--line)}
  .nav-dropdown-toggle{width:100%;justify-content:space-between;padding:10px 4px;text-align:left}
  .dropdown-menu{position:static;min-width:0;background:transparent;border:0;border-radius:0;box-shadow:none;padding:0 0 6px 14px}
  .dropdown-menu::before{display:none}
  .nav-links .dropdown-menu a{border-top:0;padding:9px 4px;font-weight:500;white-space:normal}
  .nav-links a.active{color:var(--blue);font-weight:700}
  .nav-links a.nav-donation{margin:10px 0 4px;padding:11px 16px;border-top:0;border-radius:6px;background:var(--gold);color:#172746;justify-content:center;font-weight:700}
  .nav-links a.nav-donation.active{background:var(--navy);color:#fff}
  html:not(.js) .nav-links{display:flex}
  html:not(.js) .dropdown-menu{display:block}

  .page-hero{padding:40px 0 42px}
  .donation-section{padding:44px 0 52px}
  .hero-actions .btn{flex:1 1 auto}
  .callout-actions{width:100%}
  .callout-actions .btn{flex:1 1 auto}
  .footer-top{grid-template-columns:1fr;gap:26px}
}
@media(max-width:480px){
  .donation-card{padding:22px 18px}
  .bank-row{flex-wrap:wrap}
  .bank-text{flex:1 1 calc(100% - 58px)}
  .bank-value{font-size:1.05rem}
  .copy-btn{margin-left:58px}
  .info-card{flex-basis:100%;max-width:none}
}
/* =====================================================================
   HOME PAGE: Our Trustees + Registration (LEI Certificate)
   ===================================================================== */
.trustees-section{background:#fff}
.trustee-grid{display:grid;grid-template-columns:1fr;gap:32px;margin-top:40px;max-width:980px;margin-left:auto;margin-right:auto}
.trustee-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 14px 40px #123c8312;display:flex;flex-direction:row;align-items:stretch;border-bottom:6px solid var(--gold)}
.trustee-photo{flex:0 0 38%;max-width:38%;min-height:360px;overflow:hidden;background:var(--navy);position:relative}
.trustee-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
.trustee-photo::after{content:"";position:absolute;top:0;right:0;bottom:0;width:22%;background:linear-gradient(to left,#0b2d6755,transparent);pointer-events:none}
.trustee-body{padding:32px 36px;display:flex;flex-direction:column;justify-content:center;flex:1;min-width:0}
.trustee-role{align-self:flex-start;background:var(--navy);color:#ffdc66;font-size:.8rem;font-weight:700;letter-spacing:.04em;padding:5px 14px;border-radius:999px}
.trustee-body h3{font-family:'Playfair Display',Georgia,serif;font-size:1.7rem;margin:14px 0 12px;color:var(--navy)}
.trustee-body p{color:var(--muted);font-size:.97rem}
.trustee-tags{list-style:none;margin:8px 0 0;padding:6px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.trustee-tags li{background:#edf3ff;color:var(--blue);font-size:.82rem;font-weight:600;padding:5px 12px;border-radius:999px;border:1px solid #d8e4fa}

.lei-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:36px;margin-top:40px;align-items:center}
.lei-preview{display:block;position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 18px 45px #123c8318;transition:transform .25s,box-shadow .25s}
.lei-preview:hover{transform:translateY(-4px);box-shadow:0 24px 55px #123c8326}
.lei-preview img{display:block;width:100%;height:auto}
.lei-preview-hint{display:block;background:var(--navy);color:#fff;text-align:center;font-size:.86rem;font-weight:600;padding:10px 14px}
.lei-card{background:#fff;border:1px solid var(--line);border-top:5px solid var(--gold);border-radius:16px;padding:30px;box-shadow:0 14px 40px #123c8310}
.lei-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:8px}
.lei-card-head h3{font-family:'Playfair Display',Georgia,serif;font-size:1.5rem;margin:0}
.lei-status{display:inline-flex;align-items:center;gap:6px;background:#e6f5ec;color:#1e7a46;font-weight:700;font-size:.84rem;padding:5px 14px;border-radius:999px}
.lei-details{margin:0}
.lei-details>div{padding:13px 0;border-bottom:1px solid var(--line)}
.lei-details dt{font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.lei-details dd{margin:3px 0 0;color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.lei-details dd.lei-code{font-family:'DM Sans',monospace;font-size:1.2rem;font-weight:700;letter-spacing:.07em;color:var(--navy)}
.lei-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}

@media(max-width:900px){
  .trustee-grid{gap:22px}
  .trustee-body{padding:24px 26px}
  .trustee-photo{flex-basis:36%;max-width:36%;min-height:320px}
  .lei-grid{gap:24px}
}
@media(max-width:760px){
  .lei-grid{grid-template-columns:1fr}
  .trustee-card{flex-direction:column}
  .trustee-photo{flex:none;max-width:none;width:100%;min-height:0;aspect-ratio:4/3.4}
  .trustee-photo::after{top:auto;left:0;width:auto;height:30%;background:linear-gradient(to top,#0b2d6799,transparent)}
  .trustee-body{padding:24px 22px 26px}
  .lei-card{padding:24px 20px}
  .lei-actions .btn{flex:1 1 auto}
}

/* ---- Trustee photos: 3D smartphone-style curved frame ---- */
.trustee-photo{flex:0 0 340px;max-width:340px;min-height:0;display:flex;align-items:stretch;padding:30px 30px 30px 34px;background:linear-gradient(160deg,#f4f7fc 0%,#e1eafa 100%);overflow:visible;position:relative}
.trustee-photo img{position:static;inset:auto;display:block;width:100%;height:auto;min-height:340px;object-fit:cover;object-position:center 20%;border-radius:34px;border:7px solid #0b1f45;transform:perspective(900px) rotateY(-9deg) rotateX(2deg);transition:transform .45s ease;box-shadow:-16px 20px 32px #0b2d6760,-5px 7px 0 #1b3a73,inset 0 0 0 2px #ffffff2e}
.trustee-photo::after{content:"";display:block;position:absolute;top:30px;right:30px;bottom:30px;left:34px;width:auto;height:auto;border-radius:34px;background:linear-gradient(118deg,#ffffff4d 0%,#ffffff12 28%,transparent 45%);transform:perspective(900px) rotateY(-9deg) rotateX(2deg);transition:transform .45s ease;pointer-events:none}
.trustee-card:hover .trustee-photo img,.trustee-card:hover .trustee-photo::after{transform:perspective(900px) rotateY(0) rotateX(0)}
@media(max-width:900px){
  .trustee-photo{flex-basis:290px;max-width:290px;padding:24px 24px 24px 28px}
  .trustee-photo img{min-height:300px;border-radius:30px}
  .trustee-photo::after{top:24px;right:24px;bottom:24px;left:28px;border-radius:30px}
}
@media(max-width:760px){
  .trustee-photo{flex:none;max-width:none;width:100%;padding:28px 24px 22px;justify-content:center}
  .trustee-photo img{width:100%;max-width:300px;min-height:0;aspect-ratio:4/4.4;transform:perspective(900px) rotateY(-6deg) rotateX(1deg)}
  .trustee-photo::after{display:none}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
