/* =============================================
   CSI THEME — main.css
   Design: Professional Investment / Navy + Gold
   ============================================= */

/* --- Variables --- */
:root {
  --navy:    #203865;
  --navy-dk: #152548;
  --blue:    #617eb0;
  --blue-lt: #e8edf5;
  --gold:    #c9a84c;
  --gold-lt: #f5e9cc;
  --white:   #ffffff;
  --gray-50: #f8f9fb;
  --gray-100:#f0f2f5;
  --gray-300:#d0d5de;
  --gray-500:#6b7280;
  --gray-700:#374151;
  --text:    #1e2533;
  --radius:  6px;
  --shadow:  0 2px 16px rgba(32,56,101,0.10);
  --shadow-lg:0 8px 40px rgba(32,56,101,0.15);
  --transition: 0.25s ease;
  --header-h: 88px;
  --max-w:   1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--navy); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 112px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Typography --- */
.eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 12px; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-lead { font-size: 1.125rem; color: var(--gray-500); max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-lead { margin: 0 auto; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(32,56,101,0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo img { height: 56px; width: auto; }
.site-logo:hover { opacity: 0.85; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > li { position: relative; }
.site-nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.site-nav > li > a:hover, .site-nav > li.active > a { background: var(--blue-lt); }
.chevron {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); display: inline-block;
  transition: transform var(--transition);
}
.site-nav > li:hover > a .chevron { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition); overflow: hidden;
}
.site-nav > li:hover .dropdown, .site-nav > li:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 18px;
  font-size: 0.875rem; font-weight: 500; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition), padding-left var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--blue-lt); color: var(--navy); padding-left: 24px; }

.nav-cta { background: var(--navy); color: var(--white) !important; border-radius: var(--radius); padding: 9px 20px !important; margin-left: 8px; font-weight: 700; }
.nav-cta:hover { background: var(--gold) !important; color: var(--navy-dk) !important; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--gray-300);
  box-shadow: var(--shadow-lg); z-index: 999;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 16px 0 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 24px; font-size: 0.9375rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid var(--gray-100); }
.mobile-nav .mobile-sub a { padding-left: 40px; font-weight: 400; color: var(--gray-700); font-size: 0.875rem; }
.mobile-nav a:hover { background: var(--blue-lt); }
.page-wrap { padding-top: var(--header-h); }

/* =============================================
   HERO
   ============================================= */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; background: var(--navy-dk); overflow: hidden; color: var(--white); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; }
.hero-bg-animated { animation: kenburns 12s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0px, 0px); }
  100% { transform: scale(1.15) translate(-20px, -10px); }
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero-tag { display: inline-block; background: var(--gold); color: var(--navy-dk); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 2px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =============================================
   BUTTONS
   ============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius); font-size: 0.9375rem; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; line-height: 1; }
.btn-primary { background: var(--gold); color: var(--navy-dk); border-color: var(--gold); }
.btn-primary:hover { background: #b8952e; border-color: #b8952e; color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dk); border-color: var(--navy-dk); color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* =============================================
   CARDS
   ============================================= */
.card { background: var(--white); border: 1px solid var(--gray-300); border-radius: 8px; padding: 32px; transition: box-shadow var(--transition), transform var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-icon { width: 52px; height: 52px; background: var(--blue-lt); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--navy); }
.card h3 { font-size: 1.125rem; margin-bottom: 10px; }
.card p { color: var(--gray-500); font-size: 0.9375rem; }

/* =============================================
   TEAM
   ============================================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }
.team-card { text-align: center; }
.team-photo img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--blue-lt); background: var(--gray-100); display: block; }
.team-photo { margin: 0 auto 18px; width: 140px; }
.team-photo-placeholder { width: 140px; height: 140px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin: 0 auto 18px; }
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.8125rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.team-since { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 12px; }
.team-bio { font-size: 0.875rem; color: var(--gray-700); line-height: 1.6; text-align: left; }
.team-linkedin { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
.team-linkedin:hover { color: var(--gold); }

/* =============================================
   PARTNERS / LOGOS
   ============================================= */
.logo-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.logo-grid img { max-height: 56px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: filter var(--transition), opacity var(--transition); }
.logo-grid img:hover { filter: none; opacity: 1; }

/* =============================================
   AWARDS STRIP
   ============================================= */
.awards-strip { background: var(--navy); padding: 56px 0; color: var(--white); }
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.award-year { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.award-title { font-size: 0.9375rem; font-weight: 600; color: var(--white); line-height: 1.5; }

/* =============================================
   DOWNLOAD LIST
   ============================================= */
.download-list { display: flex; flex-direction: column; gap: 8px; }
.download-item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--gray-50); border: 1px solid var(--gray-300); border-radius: var(--radius); transition: background var(--transition); text-decoration: none; color: inherit; }
.download-item:hover { background: var(--blue-lt); border-color: var(--blue); }
.download-icon { width: 36px; height: 36px; background: var(--navy); border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.05em; }
.download-name { flex: 1; font-size: 0.9375rem; font-weight: 500; color: var(--navy); }
.download-size { font-size: 0.8125rem; color: var(--gray-500); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-label .req { color: #e11d48; }
.form-control { width: 100%; padding: 11px 14px; font-size: 0.9375rem; font-family: inherit; border: 1.5px solid var(--gray-300); border-radius: var(--radius); background: var(--white); color: var(--text); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(32,56,101,0.12); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; }
.form-consent input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--navy); }
.form-consent label { font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; }
.honeypot-field { display: none !important; visibility: hidden; }
.form-notice { padding: 12px 16px; border-radius: var(--radius); font-size: 0.9rem; margin-top: 16px; display: none; }
.form-notice.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
.form-notice.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* Contact sidebar */
.contact-info { background: var(--navy); color: var(--white); border-radius: 8px; padding: 40px 32px; }
.contact-info h3 { color: var(--white); margin-bottom: 24px; font-size: 1.25rem; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-detail-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-text { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.85); }
.contact-detail-text strong { color: rgba(255,255,255,0.5); display: block; margin-bottom: 2px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; bottom: -40px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%); pointer-events: none; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 10px; }
.page-hero .breadcrumb { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 580px; margin-top: 8px; }

/* =============================================
   US CITIZEN MODAL
   ============================================= */
.us-overlay { position: fixed; inset: 0; background: rgba(10,22,50,0.92); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.us-overlay.hidden { display: none; }
.us-modal { background: var(--white); border-radius: 10px; max-width: 560px; width: 100%; padding: 48px 40px; text-align: center; box-shadow: 0 32px 80px rgba(0,0,0,0.4); }
.us-modal-flag { font-size: 3rem; margin-bottom: 16px; line-height: 1; }
.us-modal h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--navy); }
.us-modal p { color: var(--gray-700); margin-bottom: 28px; font-size: 0.9375rem; line-height: 1.7; }
.us-modal-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: var(--navy-dk); color: var(--white); padding: 18px 24px; display: none; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 -4px 24px rgba(0,0,0,0.25); }
.cookie-banner.visible { display: flex; }
.cookie-text { flex: 1; font-size: 0.875rem; color: rgba(255,255,255,0.85); min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--gold); color: var(--navy-dk); border: none; padding: 9px 20px; border-radius: var(--radius); font-weight: 700; font-size: 0.875rem; cursor: pointer; transition: background var(--transition); }
.cookie-accept:hover { background: #b8952e; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); padding: 9px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all var(--transition); }
.cookie-decline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--navy-dk); color: rgba(255,255,255,0.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo img { height: 48px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition), padding-left var(--transition); display: block; }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-address { font-size: 0.875rem; line-height: 1.9; color: rgba(255,255,255,0.65); }
.footer-address a { color: rgba(255,255,255,0.65); }
.footer-address a:hover { color: var(--gold); }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip { background: var(--blue-lt); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-value { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.875rem; color: var(--gray-500); font-weight: 500; }

/* =============================================
   FUND PAGES
   ============================================= */
.fund-badge { background: var(--blue-lt); border: 1px solid var(--blue); color: var(--navy); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }
.fund-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.fund-detail-item { background: var(--gray-50); border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 16px 18px; }
.fund-detail-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 4px; }
.fund-detail-value { font-size: 1rem; font-weight: 700; color: var(--navy); }

/* =============================================
   UTILITY
   ============================================= */
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.8); }
.divider { height: 1px; background: var(--gray-300); margin: 48px 0; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.content-body h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.content-body h3 { font-size: 1.2rem; margin: 24px 0 10px; }
.content-body p { margin-bottom: 1rem; color: var(--gray-700); }
.content-body ul { list-style: disc; padding-left: 24px; }
.content-body ul li { margin-bottom: 6px; color: var(--gray-700); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .site-nav { display: none; }
  .burger { display: flex; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 400px; }
  .hero-content { padding: 56px 0; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .fund-details-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .us-modal { padding: 36px 24px; }
  .us-modal-btns { flex-direction: column; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   US MODAL — SCROLLABLE DISCLAIMER (updated)
   ============================================= */
.us-overlay { position: fixed; inset: 0; background: rgba(10,22,50,0.95); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); }
.us-overlay.hidden { display: none; }
.us-modal { background: var(--white); border-radius: 10px; max-width: 680px; width: 100%; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 32px 80px rgba(0,0,0,0.5); overflow: hidden; }
.us-modal-header { padding: 24px 32px 18px; border-bottom: 1px solid var(--gray-300); text-align: center; flex-shrink: 0; background: var(--white); }
.us-modal-logo { height: 40px; width: auto; margin: 0 auto 14px; }
.us-modal-header h2 { font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.us-modal-header p { font-size: 0.875rem; color: var(--gray-500); margin: 0; }
.us-modal-body { flex: 1; overflow-y: auto; padding: 24px 32px; font-size: 0.875rem; line-height: 1.7; color: var(--gray-700); scrollbar-width: thin; }
.us-modal-body h4 { font-size: 0.9375rem; color: var(--navy); margin: 20px 0 6px; }
.us-modal-body p { margin-bottom: 12px; }
.us-modal-body a { color: var(--navy); text-decoration: underline; }
.us-modal-date { margin-top: 20px; font-size: 0.8125rem; color: var(--gray-500); }
.us-modal-footer { padding: 18px 32px 22px; border-top: 1px solid var(--gray-300); flex-shrink: 0; background: var(--gray-50); }
.us-confirm-wrap { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.us-confirm-wrap input[type=checkbox] { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.us-confirm-wrap label { font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; cursor: pointer; }
.us-confirm-wrap label strong { color: var(--navy); }
.us-modal-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#us-btn-no { flex-shrink: 0; }
#us-btn-no:disabled { opacity: 0.45; cursor: not-allowed; }
.us-btn-us { background: none; border: none; font-size: 0.8125rem; color: var(--gray-500); cursor: pointer; text-decoration: underline; padding: 4px 0; }
.us-btn-us:hover { color: var(--gray-700); }
@media (max-width: 480px) {
  .us-modal-header, .us-modal-body, .us-modal-footer { padding-left: 20px; padding-right: 20px; }
  .us-modal-btns { flex-direction: column; align-items: flex-start; }
  #us-btn-no { width: 100%; justify-content: center; }
}

/* =============================================
   COOKIE BANNER — improved layout
   ============================================= */
.cookie-content { flex: 1; min-width: 200px; }

/* =============================================
   COOKIE BANNER + MODAL (GDPR)
   ============================================= */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: var(--navy-dk); color: var(--white); padding: 20px 24px; display: none; box-shadow: 0 -4px 24px rgba(0,0,0,0.25); }
.cookie-banner.visible { display: block; }
.cookie-banner-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text strong { display: block; font-size: 0.9375rem; margin-bottom: 4px; color: var(--white); }
.cookie-text p { font-size: 0.875rem; color: rgba(255,255,255,0.75); margin: 0; line-height: 1.5; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cookie-settings { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); padding: 9px 18px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-cookie-settings:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-cookie-essential { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.25); padding: 9px 18px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all var(--transition); }
.btn-cookie-essential:hover { background: rgba(255,255,255,0.25); }
.btn-cookie-all { background: var(--gold); color: var(--navy-dk); border: none; padding: 10px 22px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.btn-cookie-all:hover { background: #b8952e; }

/* Cookie Modal */
.cookie-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 8900; }
.cookie-modal { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000; max-height: 80vh; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px 16px; pointer-events: none; }
.cookie-modal:not([hidden]) { display: flex; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-box { background: var(--white); border-radius: 10px; width: 100%; max-width: 700px; max-height: calc(80vh - 16px); display: flex; flex-direction: column; box-shadow: 0 8px 48px rgba(0,0,0,0.25); pointer-events: all; overflow: hidden; }
.cookie-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--gray-300); flex-shrink: 0; }
.cookie-modal-head h3 { font-size: 1.0625rem; margin: 0; }
.cookie-modal-close { background: none; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--gray-500); padding: 0 4px; transition: color var(--transition); }
.cookie-modal-close:hover { color: var(--navy); }
.cookie-modal-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cookie-modal-foot { padding: 16px 24px; border-top: 1px solid var(--gray-300); display: flex; gap: 10px; justify-content: flex-end; flex-shrink: 0; background: var(--gray-50); }
.btn-cookie-save { background: var(--navy); color: var(--white); border: none; padding: 10px 22px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 700; cursor: pointer; transition: background var(--transition); }
.btn-cookie-save:hover { background: var(--navy-dk); }

/* Cookie Category */
.cookie-category { border: 1px solid var(--gray-300); border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.cookie-cat-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--gray-50); }
.cookie-cat-info strong { display: block; font-size: 0.9375rem; color: var(--navy); margin-bottom: 4px; }
.cookie-cat-info p { font-size: 0.8125rem; color: var(--gray-500); margin: 0; line-height: 1.5; }
.cookie-always-on { background: var(--gold-lt); color: var(--navy-dk); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; border: 1px solid var(--gold); }
.cookie-cat-table { overflow-x: auto; }
.cookie-cat-table table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.cookie-cat-table th { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--gray-300); color: var(--gray-500); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cookie-cat-table td { padding: 8px 12px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); vertical-align: top; }
.cookie-cat-table tr:last-child td { border-bottom: none; }

/* Footer cookie settings link */
.footer-cookie-settings:hover { color: rgba(255,255,255,0.8) !important; }

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .btn-cookie-settings, .btn-cookie-essential, .btn-cookie-all { flex: 1; text-align: center; }
  .cookie-modal-box { border-radius: 10px 10px 0 0; }
}

/* ── US Notice page (Gutenberg-editable content) ── */
.us-notice-body .us-flag { font-size: 4rem; margin-bottom: 24px; }
.us-notice-body h1 { font-size: 2rem; margin-bottom: 16px; }
.us-notice-body p { font-size: 1.0625rem; color: #6b7280; margin-bottom: 24px; }
.us-notice-body .btn { margin-top: 16px; }

/* -- Team cards: native Gutenberg block spacing -- */
.team-card .wp-block-group__inner-container > * { margin-top: 0; }
.team-card .team-photo { margin: 0 auto 18px; width: 140px; }
.team-card .team-name { margin: 0 0 4px; }
.team-card .team-role { margin: 0 0 8px; }
.team-card .team-since { margin: 0 0 12px; }
.team-card .team-bio { margin: 0; }
.team-card .team-photo-placeholder { margin: 0 auto 18px; }

/* ===== Front page — native Gutenberg block layout ===== */
.hero > .wp-block-group__inner-container,
.section > .wp-block-group__inner-container,
.stats-strip > .wp-block-group__inner-container,
.awards-strip > .wp-block-group__inner-container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; width: 100%; }
.hero .wp-block-group__inner-container > *,
.section .wp-block-group__inner-container > *,
.stats-strip .wp-block-group__inner-container > *,
.awards-strip .wp-block-group__inner-container > *,
.section .wp-block-column > *,
.stats-strip .wp-block-column > *,
.awards-strip .wp-block-column > * { margin-top: 0; }
p.hero-tag { margin: 0 0 20px; }
p.eyebrow { margin: 0 0 12px; }
h2.section-title { margin: 0 0 16px; }
p.section-lead { margin: 0; }
.text-center .cta-lead { margin: 0 auto 32px; }
p.teaser-text { color: var(--gray-500); margin: 0 0 24px; }
p.stat-value { margin: 0 0 6px; }
p.stat-label { margin: 0; }
p.award-year { margin: 0 0 6px; }
p.award-title { margin: 0; }
div.card-icon { margin: 0 0 20px; }
div.section-head { margin-bottom: 48px; }
div.section-head-sm { margin-bottom: 40px; }
h2.awards-heading { color: var(--white); font-size: 1.75rem; margin: 0; }
.wp-block-columns.stats-grid { gap: 24px; text-align: center; }
.wp-block-columns.grid-3 { gap: 32px; }
.wp-block-columns.grid-teaser { gap: 64px; }
.wp-block-columns.awards-grid { gap: 32px; text-align: center; }
.cta-btns { gap: 16px; justify-content: center; }
.fund-structures-box { background: var(--navy); border-radius: 12px; padding: 40px; color: #fff; }
.fund-structures-box h3 { color: #fff; margin: 0 0 8px; }
.fund-structures-box .fsb-lead { color: rgba(255,255,255,0.75); margin: 0 0 32px; font-size: 0.9375rem; }
.fsb-items { display: flex; flex-direction: column; gap: 20px; }
.fsb-item { background: rgba(255,255,255,0.08); border-radius: 8px; padding: 24px; }
.fsb-item .fund-badge { margin-bottom: 12px; }
.fsb-item h4 { color: #fff; font-size: 1rem; margin: 0 0 8px; }
.fsb-item p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }
.home-fundlist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.home-fundlink { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #f8f9fb; border: 1px solid #d0d5de; border-radius: 6px; color: var(--navy); font-weight: 600; font-size: 0.9375rem; text-decoration: none; }
.home-funddot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@media (max-width: 781px) {
  .wp-block-columns.stats-grid .wp-block-column { flex-basis: calc(50% - 12px) !important; }
}


/* =============================================
   PRODUCTS PAGE — native Gutenberg block layout
   ============================================= */
/* Container is a plain <div class="container products-content">; blocks are flow children.
   Re-assert original spacing (Gutenberg flow zeroes child margins / adds 24px gaps). */
.products-content > * { margin-top: 0; margin-bottom: 0; }

/* Intro: original .grid-2 gap:56px; align-items:center; margin-bottom:64px */
.wp-block-columns.grid-2.products-intro { gap: 56px; align-items: center; margin-bottom: 64px; }
.products-intro .wp-block-column > * { margin-top: 0; }
p.products-intro-text { color: #6b7280; margin: 0; }
.products-intro p.eyebrow { margin: 0 0 12px; }
.products-intro h2.section-title { margin: 0 0 16px; }
.products-intro .fund-frameworks-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px;
}
.products-li-box {
  background: #f8f9fb; border: 1px solid #d0d5de; border-radius: 8px; padding: 32px;
}
.products-li-box h3 { margin-bottom: 16px; }
.products-li-box p { color: #6b7280; font-size: 0.9375rem; }

/* Fund list header */
.products-content p.eyebrow { margin: 0 0 12px; }
h2.products-funds-title { margin: 0 0 40px; }

/* Fund list: .fund-list group gets an inner-container; cards are flex column gap:24px */
.fund-list > .wp-block-group__inner-container {
  display: flex; flex-direction: column; gap: 24px;
}
.fund-list > .wp-block-group__inner-container > * { margin-top: 0; }
.fund-card-row .fund-row-flex {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.fund-card-row .fund-row-main { flex: 1; }
.fund-card-row .fund-row-side { min-width: 220px; }

/* Legal docs: original .grid-2 gap:48px */
.wp-block-columns.grid-2.products-legal { gap: 48px; }
.products-legal .wp-block-column > * { margin-top: 0; }
.products-legal p.eyebrow { margin: 0 0 12px; }
.products-legal h3.products-doc-title { margin: 0 0 24px; }

/* divider sits with original 48px vertical margin even as a flow child */
.products-content .divider { margin: 48px 0; }

/* =============================================
   CONTACT PAGE — native Gutenberg block layout
   ============================================= */
/* .contact-wrap is a plain div; its grid children are the two core/group blocks. */
.contact-wrap > .contact-col-form,
.contact-wrap > .contact-col-side { margin-top: 0; margin-bottom: 0; }

/* core/group adds an inner-container; reset stacking margins inside */
.contact-col-form > .wp-block-group__inner-container > * { margin-top: 0; }
.contact-col-form p.eyebrow { margin: 0 0 12px; }
.contact-col-form h2.contact-form-title { font-size: 1.75rem; margin: 0 0 16px; }
.contact-col-form p.contact-form-lead { color: #6b7280; margin: 0 0 32px; }
.contact-col-side > .wp-block-group__inner-container > * { margin-top: 0; }

.team-card > * { margin-top: 0; }

.team-grid.is-layout-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px; }

/* Dropdown hover bridge — keeps submenu open while the cursor crosses the 8px gap */
.site-nav > li:has(> .dropdown)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.card-icon svg { width: 24px; height: 24px; }
