
:root{
  --primary:#0b4ea2;
  --primary-dark:#083a78;
  --accent:#d32f2f;
  --gold:#d8a031;
  --text:#17324d;
  --muted:#68778a;
  --bg:#f5f8fc;
  --white:#ffffff;
  --line:#dbe5f0;
  --shadow:0 12px 30px rgba(15, 52, 96, .10);
  --radius:18px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,'Noto Sans Khmer',Arial,Helvetica,sans-serif;color:var(--text);background:linear-gradient(180deg,#f5f8fc 0%,#eef4fb 100%);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 32px));margin:0 auto}
.topbar{background:linear-gradient(90deg,var(--primary-dark),var(--primary));color:#fff;font-size:14px}
.topbar .container{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:10px 0;flex-wrap:wrap}
.flagline{display:flex;gap:12px;align-items:center;font-weight:700}
.flag{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}
.brand{display:flex;align-items:center;gap:14px}
.logo-mark{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,var(--primary),#2b73d1);display:grid;place-items:center;color:#fff;font-size:24px;font-weight:800;box-shadow:var(--shadow)}
.brand h1{font-size:20px;line-height:1.2;margin:0}
.brand small{display:block;color:var(--muted);font-weight:600}
.menu{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.menu a{padding:10px 14px;border-radius:12px;font-weight:700;color:var(--text)}
.menu a:hover,.menu a.active{background:#eaf2ff;color:var(--primary)}
.menu-toggle{display:none;background:var(--primary);color:#fff;border:none;border-radius:12px;padding:10px 14px;font-size:18px}
.hero{position:relative;overflow:hidden;background:#123;border-bottom-left-radius:28px;border-bottom-right-radius:28px}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,35,78,.78),rgba(6,35,78,.36) 50%,rgba(6,35,78,.18));}
.hero-content{position:relative;z-index:1;min-height:620px;display:grid;align-items:center}
.hero .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center;padding:56px 0}
.hero-copy{color:#fff;max-width:720px}
.hero-copy .eyebrow{display:inline-block;background:rgba(255,255,255,.12);backdrop-filter:blur(6px);padding:10px 14px;border-radius:999px;font-weight:700;margin-bottom:16px}
.hero-copy h2{font-size:50px;line-height:1.08;margin:0 0 16px}
.hero-copy p{font-size:18px;color:rgba(255,255,255,.92);margin:0 0 26px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:14px;font-weight:800;border:none;cursor:pointer;transition:.2s transform,.2s box-shadow;background:var(--primary);color:#fff;box-shadow:var(--shadow)}
.btn:hover{transform:translateY(-2px)}
.btn-outline{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.35)}

.btn-lightning{position:relative;isolation:isolate;overflow:hidden;gap:0;min-height:54px;padding:14px 22px;backdrop-filter:blur(4px)}
.btn-lightning span{position:relative;z-index:3}
.btn-lightning::before{content:"";position:absolute;inset:-2px;border-radius:inherit;padding:1px;background:linear-gradient(120deg,rgba(255,255,255,.18),rgba(255,255,255,.95),rgba(140,215,255,.45),rgba(255,255,255,.95),rgba(255,255,255,.16));-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.95;animation:lightningBorder 2.8s linear infinite;pointer-events:none}
.btn-lightning::after{content:"";position:absolute;left:-30%;top:50%;width:60%;height:220%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,0) 20%,rgba(255,255,255,.98) 46%,rgba(157,222,255,.9) 50%,rgba(255,255,255,.98) 54%,rgba(255,255,255,0) 80%,transparent 100%);transform:translateY(-50%) skewX(-24deg);filter:blur(.5px) drop-shadow(0 0 10px rgba(157,222,255,.85)) drop-shadow(0 0 22px rgba(255,255,255,.65));opacity:.95;animation:lightningSweep 2.1s cubic-bezier(.18,.72,.24,1) infinite;pointer-events:none;mix-blend-mode:screen}
.btn-lightning .lightning-bolt{display:none}
.btn-lightning-primary{background:linear-gradient(135deg,#0b4ea2 0%,#0e63d0 55%,#1b7cff 100%);box-shadow:0 18px 36px rgba(11,78,162,.32),0 0 18px rgba(123,196,255,.3)}
.btn-lightning-ghost{background:linear-gradient(135deg,rgba(255,255,255,.16),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.42);box-shadow:0 18px 36px rgba(8,27,58,.25),0 0 14px rgba(154,224,255,.18)}
.btn-lightning:hover{transform:translateY(-3px) scale(1.01);box-shadow:0 20px 40px rgba(8,27,58,.28),0 0 22px rgba(157,222,255,.3)}
.btn-lightning:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.35),0 0 0 6px rgba(120,205,255,.35),0 18px 36px rgba(8,27,58,.28)}
.hero-actions .btn-lightning:nth-child(1){animation:lightningPulse 2.4s ease-in-out infinite}
.hero-actions .btn-lightning:nth-child(2){animation:lightningPulse 2.4s ease-in-out infinite .45s}
.hero-actions .btn-lightning:nth-child(1)::before,.hero-actions .btn-lightning:nth-child(1)::after{animation-delay:.05s}
.hero-actions .btn-lightning:nth-child(2)::before,.hero-actions .btn-lightning:nth-child(2)::after{animation-delay:.55s}
.hero-actions .btn-lightning{position:relative}
.hero-actions .btn-lightning > span::before,.hero-actions .btn-lightning > span::after{content:"";position:absolute;top:50%;width:18px;height:18px;border-radius:2px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(152,223,255,.2));clip-path:polygon(45% 0,100% 0,62% 38%,88% 38%,26% 100%,42% 60%,12% 60%);filter:drop-shadow(0 0 7px rgba(157,222,255,.95));opacity:.95;pointer-events:none}
.hero-actions .btn-lightning > span::before{left:-28px;transform:translateY(-50%) rotate(-10deg);animation:lightningSparkLeft 1.9s ease-in-out infinite}
.hero-actions .btn-lightning > span::after{right:-28px;transform:translateY(-50%) rotate(9deg);animation:lightningSparkRight 2s ease-in-out infinite .25s}
@keyframes lightningSweep{0%,14%{left:-42%;opacity:0}18%{opacity:1}32%{left:15%;opacity:1}36%{left:28%;opacity:.25}38%{left:12%;opacity:1}46%{left:78%;opacity:.92}54%,100%{left:120%;opacity:0}}
@keyframes lightningBorder{0%{filter:drop-shadow(0 0 1px rgba(255,255,255,.7)) drop-shadow(0 0 10px rgba(153,220,255,.3))}18%{filter:drop-shadow(0 0 2px rgba(255,255,255,.95)) drop-shadow(0 0 16px rgba(153,220,255,.5))}20%{filter:drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 8px rgba(153,220,255,.25))}22%{filter:drop-shadow(0 0 3px rgba(255,255,255,1)) drop-shadow(0 0 22px rgba(153,220,255,.65))}58%,100%{filter:drop-shadow(0 0 1px rgba(255,255,255,.7)) drop-shadow(0 0 10px rgba(153,220,255,.3))}}
@keyframes lightningPulse{0%,100%{filter:brightness(1)}18%{filter:brightness(1.16)}20%{filter:brightness(.98)}22%{filter:brightness(1.2)}24%{filter:brightness(1.04)}}
@keyframes lightningSparkLeft{0%,100%{opacity:.2;transform:translateY(-50%) rotate(-10deg) scale(.72)}18%{opacity:1;transform:translateY(-50%) rotate(-15deg) scale(1)}22%{opacity:.35;transform:translateY(-50%) rotate(-8deg) scale(.8)}26%{opacity:.95;transform:translateY(-50%) rotate(-14deg) scale(.98)}}
@keyframes lightningSparkRight{0%,100%{opacity:.24;transform:translateY(-50%) rotate(9deg) scale(.72)}19%{opacity:1;transform:translateY(-50%) rotate(13deg) scale(1)}23%{opacity:.38;transform:translateY(-50%) rotate(7deg) scale(.8)}27%{opacity:.95;transform:translateY(-50%) rotate(12deg) scale(.98)}}
@media (prefers-reduced-motion:reduce){.btn-lightning,.btn-lightning::before,.btn-lightning::after,.hero-actions .btn-lightning > span::before,.hero-actions .btn-lightning > span::after{animation:none!important}.btn-lightning::after{opacity:.55;left:20%}}
.info-card{background:rgba(255,255,255,.98);border-radius:24px;padding:24px;box-shadow:var(--shadow)}
.info-card h3{margin:0 0 10px;font-size:24px;color:var(--primary)}
.stat{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.stat .item{background:#f3f7fd;padding:16px;border-radius:16px}
.stat b{display:block;font-size:28px;color:var(--primary)}
.section{padding:70px 0}
.section-title{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px;flex-wrap:wrap}
.section-title h2{font-size:36px;line-height:1.15;margin:0;color:var(--primary-dark)}
.section-title p{margin:0;max-width:700px;color:var(--muted)}
.grid-3,.grid-4,.grid-2{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:var(--shadow);border:1px solid #edf2f7}
.card-body{padding:22px}
.card h3{margin:0 0 8px;font-size:22px;color:var(--primary-dark)}
.card p{margin:0;color:var(--muted)}
.icon{width:54px;height:54px;border-radius:16px;background:#eaf2ff;color:var(--primary);display:grid;place-items:center;font-size:24px;margin-bottom:14px;font-weight:800}
.banner{background:linear-gradient(135deg,#eef5ff,#ffffff);border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow)}
.banner-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.kicker{color:var(--accent);font-size:14px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.list-check{display:grid;gap:12px;padding:0;margin:18px 0 0;list-style:none}
.list-check li{padding-left:28px;position:relative}
.list-check li::before{content:"✓";position:absolute;left:0;top:0;color:var(--primary);font-weight:800}
.event-card img,.news-card img,.gallery-card img{height:220px;width:100%;object-fit:cover}
.meta{display:flex;gap:14px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:12px}
.feature-strip{background:#fff;padding:24px;border-radius:22px;box-shadow:var(--shadow);border:1px solid var(--line)}
.benefit{text-align:center;padding:12px}
.benefit .icon{margin:0 auto 12px}
.quote{background:linear-gradient(135deg,var(--primary-dark),var(--primary));color:#fff;border-radius:28px;padding:34px;box-shadow:var(--shadow)}
.quote blockquote{margin:0;font-size:30px;line-height:1.35;font-weight:700}
.quote p{margin:16px 0 0;color:rgba(255,255,255,.85)}
.form-wrap{background:#fff;border-radius:24px;padding:28px;box-shadow:var(--shadow);border:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.form-grid .full{grid-column:1/-1}
label{display:block;margin-bottom:8px;font-weight:700}
input,textarea,select{width:100%;padding:14px 15px;border:1px solid #c9d7e6;border-radius:14px;font-size:15px;background:#fff}
textarea{min-height:130px;resize:vertical}
.checkbox{display:flex;gap:12px;align-items:flex-start}
.checkbox input{width:auto;margin-top:4px}
.table-wrap{overflow:auto;background:#fff;border-radius:20px;box-shadow:var(--shadow);border:1px solid var(--line)}
table{width:100%;border-collapse:collapse;min-width:820px}
th,td{padding:15px 16px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#edf4ff;color:var(--primary-dark);text-align:left}
.footer{background:#082748;color:#fff;margin-top:50px}
.footer-top{padding:48px 0}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr .8fr;gap:28px}
.footer h3,.footer h4{margin-top:0}
.footer a{color:rgba(255,255,255,.88)}
.footer a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:16px 0;color:rgba(255,255,255,.8);font-size:14px}
.badge{display:inline-block;padding:8px 12px;border-radius:999px;background:#edf4ff;color:var(--primary);font-weight:700;font-size:13px}
.cta-band{background:linear-gradient(135deg,#103d7b,#0b4ea2);color:#fff;border-radius:28px;padding:36px;box-shadow:var(--shadow)}
.cta-band .btn{background:#fff;color:var(--primary)}
.breadcrumb{padding:16px 0 0;color:var(--muted);font-size:14px}
.page-hero{padding:28px 0 14px}
.page-hero h2{font-size:44px;line-height:1.12;margin:10px 0}
.small{font-size:14px;color:var(--muted)}
.center{text-align:center}
@media (max-width:980px){
  .hero-grid,.banner-grid,.footer-grid,.grid-4,.grid-3,.grid-2,.form-grid{grid-template-columns:1fr 1fr}
  .hero-copy h2{font-size:42px}
}
@media (max-width:760px){
  .menu-toggle{display:block}
  .menu{display:none;position:absolute;left:16px;right:16px;top:82px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow)}
  .menu.open{display:grid}
  .hero-content{min-height:unset}
  .hero-grid,.banner-grid,.footer-grid,.grid-4,.grid-3,.grid-2,.form-grid,.stat{grid-template-columns:1fr}
  .hero-copy h2,.page-hero h2{font-size:34px}
  .section{padding:54px 0}
}


/* ===== MEMBER DIRECTORY ===== */
.member-directory{background:#f8fbff}
.section-heading{text-align:center;max-width:860px;margin:0 auto 28px}
.section-heading h2{font-size:38px;color:var(--primary);margin:10px 0 12px;font-weight:800;letter-spacing:-.03em}
.section-heading p{margin:0;color:var(--muted)}
.member-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:22px}
.search-box{flex:1;min-width:280px}
.search-box input{width:100%;padding:16px 18px;border-radius:16px;border:1px solid var(--line);background:#fff;box-shadow:0 12px 26px rgba(11,78,162,.06);font-size:16px;font-family:inherit;color:var(--text);outline:none}
.search-box input:focus{border-color:rgba(11,78,162,.35);box-shadow:0 0 0 4px rgba(11,78,162,.08),0 12px 26px rgba(11,78,162,.08)}
.toolbar-note{color:#4a6180;font-weight:700}
.industry-layout{display:grid;grid-template-columns:310px 1fr;gap:24px;align-items:start}
.industry-sidebar{background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);border-radius:24px;padding:26px;box-shadow:0 20px 45px rgba(11,78,162,.10);position:sticky;top:96px;border:1px solid rgba(219,229,240,.95)}
.industry-sidebar h3{margin:0 0 18px;color:var(--primary);font-size:22px;font-weight:800;letter-spacing:-.02em}
.industry-list{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.industry-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(209,222,241,.9);background:linear-gradient(180deg,#f7faff 0%,#eef4ff 100%);color:#173f7c;font-family:inherit;font-size:18px;font-weight:800;line-height:1.35;letter-spacing:-.01em;text-align:left;padding:18px 18px 18px 20px;border-radius:18px;cursor:pointer;transition:.25s ease;box-shadow:0 8px 20px rgba(17,61,122,.05)}
.industry-btn span{flex:1;min-width:0;display:block;word-break:break-word;text-wrap:balance}
.industry-btn strong{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:999px;background:rgba(255,255,255,.92);color:inherit;font-size:20px;font-weight:800;box-shadow:inset 0 0 0 1px rgba(216,224,236,.8)}
.industry-btn:hover,.industry-btn.active{background:linear-gradient(135deg,#174ea6 0%,#8a3d91 52%,#d72d36 100%);border-color:transparent;color:#fff;transform:translateX(4px) translateY(-1px);box-shadow:0 16px 28px rgba(23,78,166,.22)}
.industry-btn:hover strong,.industry-btn.active strong{background:rgba(255,255,255,.18);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.industry-panel{display:none;background:linear-gradient(180deg,#ffffff 0%,#f9fbff 100%);border-radius:24px;padding:26px;box-shadow:0 18px 42px rgba(11,78,162,.09);border:1px solid rgba(219,229,240,.95)}
.industry-panel.active{display:block}
.panel-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid #e5e7eb}
.panel-header h3{margin:0;color:var(--primary);font-size:30px;font-weight:800;letter-spacing:-.02em}
.panel-header span{background:linear-gradient(180deg,#eef4ff 0%,#e2ecff 100%);color:var(--primary);padding:9px 15px;border-radius:999px;font-weight:800;font-size:14px;box-shadow:inset 0 0 0 1px rgba(207,220,241,.95)}
.member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.member-company-card{background:linear-gradient(180deg,#ffffff,#f7fbff);border:1px solid #e6eefc;border-radius:22px;padding:20px;transition:.25s ease;box-shadow:0 14px 28px rgba(11,78,162,.07)}
.member-company-card:hover{transform:translateY(-4px);box-shadow:0 16px 30px rgba(11,78,162,.14)}
.member-company-top{display:grid;grid-template-columns:86px 1fr;gap:16px;align-items:start;margin-bottom:14px}
.member-company-top img{width:86px;height:86px;object-fit:cover;border-radius:18px;border:1px solid var(--line);background:#fff}
.member-company-top h4{margin:0 0 8px;font-size:22px;font-weight:800;line-height:1.25;letter-spacing:-.02em;color:#0f172a}
.member-meta{margin:4px 0;color:#4b5563}
.member-company-info{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0 10px;border-top:1px solid #edf2f7;border-bottom:1px solid #edf2f7;color:#334155;font-weight:700}
.member-company-actions{padding-top:14px;display:flex;justify-content:flex-end}
.member-link{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:14px;background:linear-gradient(135deg,var(--primary),#2b73d1);color:#fff;font-weight:800;box-shadow:0 10px 22px rgba(11,78,162,.18)}
.member-link:hover{filter:brightness(1.05)}
.member-empty{display:none;margin-top:16px;padding:14px 16px;border-radius:14px;background:#fff8e8;color:#9a6700;font-weight:700;border:1px solid #f2dfae}
.member-empty.show{display:block}
.member-company-card.hide{display:none}
@media (max-width:991px){
  .industry-layout{grid-template-columns:1fr}
  .industry-sidebar{position:static}
}
@media (max-width:767px){
  .section-heading h2{font-size:28px}
  .member-toolbar{align-items:stretch}
  .member-grid{grid-template-columns:1fr}
  .member-company-top{grid-template-columns:70px 1fr}
  .member-company-top img{width:70px;height:70px}
  .member-company-top h4{font-size:18px}
  .panel-header{flex-direction:column;align-items:flex-start}
  .industry-btn{font-size:16px;padding:16px 16px 16px 18px;border-radius:16px}
  .industry-btn strong{min-width:38px;height:38px;font-size:18px}
}


/* ===== MEMBER DETAIL MODAL ===== */
.member-link.member-detail-btn{border:none;cursor:pointer}
.member-modal{position:fixed;inset:0;display:none;z-index:2000}
.member-modal.show{display:block}
.member-modal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(3px)}
.member-modal-dialog{position:relative;z-index:2;max-width:760px;margin:32px auto;padding:0 16px;max-height:calc(100vh - 64px);overflow:auto}
.member-modal-close{position:absolute;top:14px;right:28px;width:42px;height:42px;border:none;border-radius:999px;background:#ffffff;color:#0f172a;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.14)}
.member-info-card{background:#f8fafc;border-radius:26px;overflow:hidden;box-shadow:0 22px 50px rgba(15,23,42,.22);border:1px solid #e5e7eb}
.member-info-head{background:linear-gradient(135deg,#1d63bf,#0b4ea2);color:#fff;padding:18px 24px;font-size:30px;font-weight:800}
.member-info-body{padding:20px}
.member-info-main{background:#fff;border-radius:20px;padding:20px;border:1px solid #e8eef8}
.member-info-brand{display:grid;grid-template-columns:100px 1fr;gap:18px;align-items:center;padding-bottom:18px;border-bottom:1px solid #e5e7eb}
.member-info-brand img{width:100px;height:100px;object-fit:cover;border-radius:18px;border:1px solid #dbe4f0;background:#fff}
.member-info-brand h3{margin:0 0 8px;font-size:42px;line-height:1.15;color:#17325c}
.member-info-brand p{margin:0;color:#475569;font-size:20px}
.member-info-representative{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #e5e7eb}
.member-avatar-circle{width:56px;height:56px;border-radius:999px;background:linear-gradient(135deg,#d8a031,#f0c45a);display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:800}
.member-info-representative h4{margin:0;color:#163a73;font-size:28px}
.member-info-representative p{margin:4px 0 0;color:#64748b;font-size:18px}
.member-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;padding:16px 0;border-bottom:1px solid #e5e7eb}
.member-info-item{background:#f8fbff;border:1px solid #e6eefc;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.member-info-item strong{color:#c28b16}
.member-info-item span{color:#334155;font-size:18px;line-height:1.5;word-break:break-word}
.member-info-block{padding:16px 0;border-bottom:1px solid #e5e7eb}
.member-info-block strong{display:block;margin-bottom:8px;color:#c28b16;font-size:20px}
.member-info-block p{margin:0;color:#334155;font-size:20px;line-height:1.65}
.member-info-social{display:flex;gap:18px;flex-wrap:wrap;padding-top:16px;color:#1d4f91;font-size:18px}
body.modal-open{overflow:hidden}
@media (max-width:767px){
  .member-modal-dialog{margin:16px auto;max-height:calc(100vh - 32px)}
  .member-info-head{font-size:22px;padding:16px 18px}
  .member-info-main{padding:16px}
  .member-info-brand{grid-template-columns:72px 1fr;gap:14px}
  .member-info-brand img{width:72px;height:72px}
  .member-info-brand h3{font-size:28px}
  .member-info-brand p,.member-info-item span,.member-info-block p,.member-info-social{font-size:16px}
  .member-info-representative h4{font-size:22px}
  .member-info-representative p{font-size:15px}
  .member-info-grid{grid-template-columns:1fr}
  .member-info-block strong{font-size:17px}
  .member-modal-close{top:10px;right:22px}
}


/* ===== GLOBAL DETAIL CARD / SYNC ENHANCEMENTS ===== */
.menu a.active{color:#fff;background:linear-gradient(135deg,var(--primary),var(--accent));border-color:transparent}
.brand-logo{width:64px;height:64px;object-fit:contain;border-radius:50%;background:#fff;padding:4px;box-shadow:var(--shadow);border:1px solid var(--line)}
.page-hero .badge,.section-heading .badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;background:#eaf2ff;color:var(--primary);font-weight:800}
.company-card-sync,.member-info-card{font-family:inherit}
@media (max-width:760px){.brand-logo{width:54px;height:54px}}


/* ===== SHARED HEADER / FOOTER ===== */
#shared-header, #shared-footer{display:block}
.topbar-link{color:#fff;text-decoration:none}
.topbar-link:hover{text-decoration:underline}
.menu-toggle{display:none;border:none;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;width:44px;height:44px;border-radius:12px;font-size:22px;font-weight:800;cursor:pointer}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:26px;padding:36px 0}
.footer-grid h4{margin:0 0 12px;color:#fff;font-size:18px}
.footer-grid p{margin:0 0 10px;color:#cbd5e1;line-height:1.7}
.footer-grid a{color:#fff}
@media (max-width: 920px){
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .menu{display:none;position:absolute;top:100%;right:16px;left:16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow);z-index:30}
  .menu.open{display:grid}
  .menu a{color:var(--text)}
  .menu a.active{color:#fff}
  .nav{position:relative}
  .footer-grid{grid-template-columns:1fr}
}


/* ===== STANDARDIZED JSON PAGE MODULES ===== */
.json-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.json-grid.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.json-grid.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.json-grid.two-col{grid-template-columns:1.1fr .9fr}
.json-card{background:#fff;border:1px solid #e7eef8;border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.json-card h3{margin:0 0 12px;color:var(--primary)}
.json-card p{margin:0 0 10px;line-height:1.7;color:var(--muted)}
.json-list{margin:0;padding-left:18px;color:var(--muted)}
.json-list li{margin-bottom:10px;line-height:1.7}
.json-meta{display:inline-flex;padding:8px 12px;border-radius:999px;background:#eef4ff;color:var(--primary);font-weight:700;font-size:13px;margin-bottom:12px}
.json-gallery-card img{width:100%;height:220px;object-fit:cover;border-radius:16px;margin-bottom:12px}
.json-gallery-card figcaption{font-weight:700;color:var(--text)}
@media (max-width: 991px){
  .json-grid.grid-3,.json-grid.grid-4,.json-grid.two-col,.json-grid{grid-template-columns:1fr}
}


/* ===== GALLERY POPUP UPGRADE ===== */
.gallery-upgrade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gallery-album-card{padding:0;overflow:hidden}
.gallery-cover-wrap{position:relative}
.gallery-cover{width:100%;height:260px;object-fit:cover;display:block}
.gallery-count{position:absolute;top:16px;right:16px;background:rgba(15,23,42,.75);color:#fff;padding:8px 12px;border-radius:999px;font-weight:800;font-size:13px}
.gallery-album-body{padding:20px 22px 24px}
.gallery-open-btn{margin-top:10px}

.gallery-modal{position:fixed;inset:0;display:none;z-index:2500}
.gallery-modal.show{display:block}
.gallery-modal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.74);backdrop-filter:blur(4px)}
.gallery-modal-dialog{position:relative;z-index:2;max-width:1280px;margin:28px auto;padding:0 16px;max-height:calc(100vh - 56px);overflow:auto}
.gallery-modal-close{position:absolute;top:14px;right:28px;width:46px;height:46px;border:none;border-radius:999px;background:#fff;color:#0f172a;font-size:32px;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.2)}
.gallery-modal-layout{display:grid;grid-template-columns:1.45fr .85fr;gap:0;background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.28)}
.gallery-modal-main{position:relative;min-height:650px;background:#0f172a;display:flex;align-items:center;justify-content:center}
.gallery-modal-main img{width:100%;height:100%;max-height:720px;object-fit:contain;background:#0f172a}
.gallery-nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border:none;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:28px;font-weight:800;cursor:pointer;backdrop-filter:blur(3px)}
.gallery-nav.prev{left:18px}
.gallery-nav.next{right:18px}
.gallery-nav:hover{background:rgba(255,255,255,.24)}
.gallery-modal-side{padding:28px;background:#f8fbff}
.gallery-modal-topline{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}
.gallery-counter{font-weight:800;color:var(--primary)}
.gallery-modal-side h3{margin:0 0 12px;color:var(--primary);font-size:30px;line-height:1.25}
.gallery-modal-side p{margin:0 0 20px;color:var(--muted);line-height:1.7}
.gallery-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gallery-thumb{border:2px solid transparent;padding:0;border-radius:14px;overflow:hidden;background:#fff;cursor:pointer}
.gallery-thumb img{width:100%;height:110px;object-fit:cover;display:block}
.gallery-thumb.active{border-color:var(--primary);box-shadow:0 8px 20px rgba(11,78,162,.18)}

@media (max-width: 991px){
  .gallery-upgrade-grid{grid-template-columns:1fr}
  .gallery-modal-layout{grid-template-columns:1fr}
  .gallery-modal-main{min-height:380px}
}
@media (max-width: 767px){
  .gallery-cover{height:220px}
  .gallery-modal-dialog{margin:12px auto;max-height:calc(100vh - 24px)}
  .gallery-modal-side{padding:18px}
  .gallery-modal-side h3{font-size:24px}
  .gallery-thumbs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-thumb img{height:90px}
  .gallery-nav{width:44px;height:44px;font-size:24px}
  .gallery-modal-close{top:10px;right:20px}
}


/* ===== EVENTS + NEWS UPGRADE ===== */
.content-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.content-card{
  background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.08);
  transition:.25s ease;display:flex;flex-direction:column;height:100%;border:1px solid #e8eef8
}
.content-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(0,0,0,.12)}
.content-thumb{position:relative}
.content-thumb img{width:100%;height:230px;object-fit:cover;display:block}
.content-badge{
  position:absolute;top:14px;left:14px;background:#d61f2c;color:#fff;padding:8px 12px;border-radius:999px;
  font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center
}
.content-body{padding:20px;display:flex;flex-direction:column;flex:1}
.content-meta{font-size:14px;color:#0b4ea2;font-weight:700;margin-bottom:10px}
.content-title{font-size:22px;line-height:1.35;margin:0 0 12px;color:#0f172a}
.content-desc{
  color:#475569;line-height:1.7;margin:0 0 18px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden
}
.content-btn{
  margin-top:auto;border:none;background:linear-gradient(135deg,#0b4ea2,#d61f2c);
  color:#fff;padding:12px 16px;border-radius:12px;font-weight:700;cursor:pointer
}

.detail-modal{position:fixed;inset:0;display:none;z-index:2600}
.detail-modal.show{display:block}
.detail-modal-overlay{position:absolute;inset:0;background:rgba(15,23,42,.72);backdrop-filter:blur(4px)}
.detail-modal-dialog{position:relative;z-index:2;max-width:1080px;margin:28px auto;padding:0 16px;max-height:calc(100vh - 56px);overflow:auto}
.detail-modal-close{
  position:absolute;top:14px;right:28px;width:46px;height:46px;border:none;border-radius:999px;background:#fff;
  color:#0f172a;font-size:32px;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.2)
}
.detail-modal-card{
  display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border-radius:28px;overflow:hidden;
  box-shadow:0 24px 60px rgba(15,23,42,.28)
}
.detail-modal-image-wrap{background:#0f172a;min-height:560px}
.detail-modal-image-wrap img{width:100%;height:100%;object-fit:cover;display:block}
.detail-modal-content{padding:30px}
.detail-badge{position:static;margin-bottom:14px}
.detail-modal-content h3{margin:0 0 14px;color:#17325c;font-size:34px;line-height:1.25}
.detail-modal-summary{font-size:18px;line-height:1.75;color:#334155;margin:0 0 14px}
.detail-modal-divider{height:1px;background:#e5e7eb;margin:18px 0}
.detail-modal-description{font-size:18px;line-height:1.8;color:#475569;margin:0}

@media (max-width: 991px){
  .content-card-grid{grid-template-columns:1fr}
  .detail-modal-card{grid-template-columns:1fr}
  .detail-modal-image-wrap{min-height:320px}
}
@media (max-width: 767px){
  .content-thumb img{height:220px}
  .content-title{font-size:18px}
  .detail-modal-dialog{margin:12px auto;max-height:calc(100vh - 24px)}
  .detail-modal-content{padding:18px}
  .detail-modal-content h3{font-size:24px}
  .detail-modal-summary,.detail-modal-description{font-size:16px}
  .detail-modal-close{top:10px;right:20px}
}


/* ===== SAFE HEADER STICKY + MOBILE MENU ===== */
:root{--header-z:5000}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body.menu-open{overflow:hidden}
#shared-header{position:relative;z-index:var(--header-z)}
#shared-header, #shared-header *{-webkit-tap-highlight-color:transparent}

.topbar{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:var(--header-z);
  background:linear-gradient(90deg,#0b3c88,#1a56b1);
  color:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.topbar-inner{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:8px;
  padding-bottom:8px;
}
.flagline{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  min-width:0;
}
.topbar-message{
  font-weight:700;
  line-height:1.5;
}
.topbar-email{
  white-space:nowrap;
}
.topbar-link{color:#fff;text-decoration:none}
.topbar-link:hover{text-decoration:underline}

.header-fixed{
  position:fixed;
  top:48px;left:0;width:100%;
  z-index:calc(var(--header-z) + 1);
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #e6eef8;
  box-shadow:0 10px 22px rgba(15,23,42,.08);
}
.header-fixed .nav{
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:inherit;
  min-width:0;
  flex:1;
}
.brand-text{
  min-width:0;
}
.brand-logo{
  width:72px;height:72px;object-fit:contain;border-radius:50%;
  background:#fff;padding:4px;border:1px solid #e6eef8;
  box-shadow:0 8px 18px rgba(15,23,42,.08)
}
.brand h1{
  margin:0;
  font-size:22px;
  line-height:1.2;
  color:#17325c;
  white-space:nowrap;
}
.brand small{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:15px;
  font-weight:700;
}
.menu{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 12px;
}
.menu a{
  text-decoration:none;
  color:#17325c;
  font-weight:800;
  padding:12px 16px;
  border-radius:16px;
  transition:.2s ease;
}
.menu a:hover{background:#eef4ff;color:#0b4ea2}
.menu a.active{
  background:linear-gradient(135deg,#0b4ea2,#d61f2c);
  color:#fff;
  box-shadow:0 8px 20px rgba(11,78,162,.2)
}

.menu-toggle{
  display:none;
  width:52px;height:52px;
  border:none;border-radius:16px;
  background:linear-gradient(135deg,#0b4ea2,#d61f2c);
  box-shadow:0 10px 22px rgba(11,78,162,.22);
  cursor:pointer;
  position:relative;
  z-index:calc(var(--header-z) + 3);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  touch-action:manipulation;
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
  flex:0 0 auto;
}
.menu-toggle span{
  display:block;
  width:22px;height:2.5px;border-radius:999px;background:#fff;
  transition:.25s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* keep page popups safe under header but above page */
.hero,.page-hero,.section,.banner,.content-card,.news-feature-card{position:relative;z-index:1}
.detail-modal,.gallery-modal,.member-modal,.event-modal{z-index:6000}

@media (max-width: 920px){
  .topbar-inner{
    min-height:auto;
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .topbar-email{
    white-space:normal;
    line-height:1.5;
  }
  .header-fixed{
    top:72px;
  }
  .header-fixed .nav{
    min-height:84px;
  }
  .brand{
    max-width:calc(100% - 78px);
    gap:12px;
  }
  .brand-logo{width:56px;height:56px}
  .brand h1{
    font-size:18px;
    white-space:normal;
    word-break:break-word;
  }
  .brand small{font-size:13px}
  .menu-toggle{display:flex !important}
  .menu{
    display:none;
    position:absolute;
    top:calc(100% + 12px);
    left:0;right:0;
    background:rgba(255,255,255,.99);
    backdrop-filter:blur(14px);
    border:1px solid #e6eef8;
    border-radius:22px;
    box-shadow:0 24px 48px rgba(15,23,42,.16);
    padding:14px;
    grid-template-columns:1fr;
    gap:8px;
    z-index:calc(var(--header-z) + 2);
    pointer-events:none;
  }
  .menu.open{
    display:grid !important;
    pointer-events:auto;
  }
  .menu a{
    display:block;
    width:100%;
    padding:14px 16px;
    border-radius:14px;
  }
}

@media (max-width: 640px){
  .topbar-inner{
    padding-top:10px;
    padding-bottom:10px;
  }
  .flagline{
    gap:10px;
  }
  .header-fixed{
    top:96px;
  }
  .header-fixed .nav{
    min-height:76px;
  }
  .brand-logo{width:50px;height:50px}
  .brand h1{font-size:16px}
  .brand small{font-size:12px}
  .menu{top:calc(100% + 10px);padding:12px}
}


/* ===== DESKTOP HEADER LAYOUT FIX ===== */
@media (min-width: 921px){
  .topbar-inner{
    min-height:40px !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:18px !important;
    padding-top:8px !important;
    padding-bottom:8px !important;
  }
  .flagline{
    flex-wrap:nowrap !important;
    overflow:hidden;
  }
  .topbar-message{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .topbar-email{
    flex:0 0 auto;
    white-space:nowrap !important;
  }

  .header-fixed{
    top:56px !important;
  }

  .header-fixed .nav{
    min-height:92px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:24px !important;
  }

  .brand{
    flex:0 0 auto !important;
    max-width:none !important;
    min-width:0;
  }

  .brand-text{
    min-width:0;
  }

  .brand h1{
    white-space:nowrap !important;
    font-size:22px !important;
    line-height:1.2 !important;
    margin:0 !important;
  }

  .brand small{
    white-space:nowrap !important;
    font-size:15px !important;
    line-height:1.3 !important;
  }

  .menu{
    flex:1 1 auto !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
  }

  .menu a{
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }

  .menu-toggle{
    display:none !important;
  }
}


/* ===== FINAL HEADER CLEAN FIX ===== */
:root{--header-z:5000}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
body.menu-open{overflow:hidden}
#shared-header{position:relative;z-index:var(--header-z)}
#shared-header, #shared-header *{-webkit-tap-highlight-color:transparent}

.topbar{
  position:fixed;
  top:0;left:0;width:100%;
  z-index:var(--header-z);
  background:linear-gradient(90deg,#0b3c88,#1a56b1);
  color:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.topbar-inner{
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:8px 0;
}
.flagline{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.topbar-message{
  font-weight:700;
  line-height:1.4;
  white-space:nowrap;
}
.topbar-email{
  white-space:nowrap;
  flex:0 0 auto;
}
.topbar-link{color:#fff;text-decoration:none}
.topbar-link:hover{text-decoration:underline}

.header-fixed{
  position:fixed;
  top:44px;
  left:0;
  width:100%;
  z-index:calc(var(--header-z) + 1);
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #e6eef8;
  box-shadow:0 10px 22px rgba(15,23,42,.08);
}
.header-row{
  min-height:92px;
  display:grid;
  grid-template-columns:minmax(280px, 360px) 1fr;
  align-items:center;
  gap:22px;
}
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:inherit;
  min-width:0;
}
.brand-logo{
  width:72px;
  height:72px;
  object-fit:contain;
  border-radius:50%;
  background:#fff;
  padding:4px;
  border:1px solid #e6eef8;
  box-shadow:0 8px 18px rgba(15,23,42,.08);
  flex:0 0 auto;
}
.brand-text{
  min-width:0;
}
.brand h1{
  margin:0;
  font-size:22px;
  line-height:1.2;
  color:#17325c;
  font-weight:800;
  white-space:nowrap;
}
.brand small{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:15px;
  font-weight:700;
  line-height:1.35;
  white-space:nowrap;
}

.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
}
.menu a{
  text-decoration:none;
  color:#17325c;
  font-weight:800;
  padding:12px 14px;
  border-radius:16px;
  transition:.2s ease;
  white-space:nowrap;
  font-size:15px;
}
.menu a:hover{
  background:#eef4ff;
  color:#0b4ea2;
}
.menu a.active{
  background:linear-gradient(135deg,#0b4ea2,#d61f2c);
  color:#fff;
  box-shadow:0 8px 20px rgba(11,78,162,.2);
}

.menu-toggle{
  display:none;
  width:52px;
  height:52px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,#0b4ea2,#d61f2c);
  box-shadow:0 10px 22px rgba(11,78,162,.22);
  cursor:pointer;
  position:relative;
  z-index:calc(var(--header-z) + 3);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  touch-action:manipulation;
  pointer-events:auto;
  user-select:none;
  -webkit-user-select:none;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2.5px;
  border-radius:999px;
  background:#fff;
  transition:.25s ease;
}
.menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.detail-modal,.gallery-modal,.member-modal,.event-modal{z-index:7000}

/* desktop balance */
@media (max-width: 1360px){
  .header-row{grid-template-columns:minmax(260px,320px) 1fr}
  .menu a{padding:11px 12px;font-size:14px}
}
@media (max-width: 1180px){
  .header-row{grid-template-columns:minmax(240px,290px) 1fr}
  .brand h1{font-size:20px}
  .brand small{font-size:14px}
  .menu a{padding:10px 10px;font-size:14px}
}
@media (max-width: 980px){
  .topbar-inner{
    min-height:auto;
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }
  .topbar-email{
    white-space:normal;
    line-height:1.45;
  }
  .topbar-message{
    white-space:normal;
  }
  .header-fixed{
    top:72px;
  }
  .header-row{
    min-height:84px;
    grid-template-columns:1fr auto;
    gap:14px;
    position:relative;
  }
  .brand{
    max-width:calc(100% - 70px);
    gap:12px;
  }
  .brand-logo{width:56px;height:56px}
  .brand h1{
    font-size:18px;
    white-space:normal;
    word-break:break-word;
  }
  .brand small{
    font-size:13px;
    white-space:normal;
  }
  .menu-toggle{
    display:flex !important;
  }
  .menu{
    display:none;
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    right:0;
    background:rgba(255,255,255,.99);
    backdrop-filter:blur(14px);
    border:1px solid #e6eef8;
    border-radius:22px;
    box-shadow:0 24px 48px rgba(15,23,42,.16);
    padding:14px;
    grid-template-columns:1fr;
    gap:8px;
    z-index:calc(var(--header-z) + 2);
    pointer-events:none;
  }
  .menu.open{
    display:grid !important;
    pointer-events:auto;
  }
  .menu a{
    display:block;
    width:100%;
    padding:14px 16px;
    border-radius:14px;
    font-size:16px;
  }
}
@media (max-width: 640px){
  .header-fixed{
    top:96px;
  }
  .flagline{
    flex-wrap:wrap;
  }
  .brand-logo{width:50px;height:50px}
  .brand h1{font-size:16px}
  .brand small{font-size:12px}
  .menu{top:calc(100% + 10px);padding:12px}
}


/* ===== WRAP MENU LIKE DESIGN ===== */
@media (min-width: 981px){
  .header-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:24px !important;
  }

  .menu{
    display:flex !important;
    flex-wrap:wrap !important; /* 👈 cho xuống dòng */
    justify-content:flex-start !important;
    align-content:center !important;
    gap:10px 18px !important; /* row-gap + column-gap */
    max-width:900px;
  }

  .menu a{
    flex:0 0 auto;
    white-space:nowrap;
  }
}


/* ===== PREMIUM HEADER / MENU READY ===== */
body{
  font-family:"Inter","Segoe UI",Arial,sans-serif !important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

@media (min-width: 981px){
  .header-fixed{
    top:44px !important;
    background:rgba(255,255,255,.985) !important;
    backdrop-filter:blur(14px) !important;
    border-bottom:1px solid rgba(15,23,42,.06) !important;
    box-shadow:0 10px 30px rgba(15,23,42,.07) !important;
  }

  .header-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:28px !important;
    min-height:94px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
  }

  .brand{
    flex:0 0 auto !important;
    min-width:0 !important;
    gap:16px !important;
  }

  .brand-logo{
    width:72px !important;
    height:72px !important;
    flex:0 0 72px !important;
    box-shadow:0 10px 24px rgba(15,23,42,.08) !important;
  }

  .brand h1{
    margin:0 !important;
    font-size:21px !important;
    line-height:1.15 !important;
    font-weight:800 !important;
    letter-spacing:-0.02em !important;
    color:#16325c !important;
    white-space:nowrap !important;
  }

  .brand small{
    display:block !important;
    margin-top:6px !important;
    font-size:13px !important;
    line-height:1.35 !important;
    font-weight:600 !important;
    letter-spacing:0 !important;
    color:#64748b !important;
    white-space:nowrap !important;
  }

  .menu{
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    align-content:center !important;
    gap:12px 18px !important;
    max-width:920px !important;
    margin-left:auto !important;
  }

  .menu a{
    position:relative !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    white-space:nowrap !important;
    margin:0 !important;
    padding:11px 16px !important;
    border-radius:16px !important;
    font-size:15px !important;
    line-height:1.2 !important;
    font-weight:700 !important;
    letter-spacing:-0.01em !important;
    color:#17325c !important;
    background:transparent !important;
    box-shadow:none !important;
    transition:all .22s ease !important;
  }

  .menu a:hover{
    color:#0b4ea2 !important;
    background:rgba(11,78,162,.07) !important;
    transform:translateY(-1px) !important;
  }

  .menu a.active{
    padding:11px 20px !important;
    color:#fff !important;
    background:linear-gradient(135deg,#244fa6 0%, #d9273e 100%) !important;
    box-shadow:0 12px 24px rgba(33,79,166,.18) !important;
  }

  .menu-toggle{
    display:none !important;
  }
}

@media (min-width: 981px) and (max-width: 1320px){
  .header-row{
    gap:20px !important;
  }

  .brand-logo{
    width:64px !important;
    height:64px !important;
    flex:0 0 64px !important;
  }

  .brand h1{
    font-size:18px !important;
  }

  .brand small{
    font-size:12px !important;
  }

  .menu{
    gap:10px 12px !important;
    max-width:unset !important;
  }

  .menu a{
    font-size:14px !important;
    padding:10px 12px !important;
  }

  .menu a.active{
    padding:10px 16px !important;
  }
}

@media (min-width: 981px) and (max-width: 1160px){
  .brand h1{
    font-size:17px !important;
  }

  .brand small{
    font-size:11px !important;
  }

  .menu{
    gap:8px 10px !important;
  }

  .menu a{
    font-size:13px !important;
    padding:9px 10px !important;
  }

  .menu a.active{
    padding:9px 13px !important;
  }
}

/* premium mobile polish */
@media (max-width: 980px){
  .header-fixed{
    background:rgba(255,255,255,.985) !important;
    backdrop-filter:blur(14px) !important;
  }

  .brand h1{
    letter-spacing:-0.02em !important;
    font-weight:800 !important;
  }

  .brand small{
    font-weight:600 !important;
  }

  .menu{
    box-shadow:0 22px 48px rgba(15,23,42,.14) !important;
  }

  .menu a{
    font-weight:700 !important;
    letter-spacing:-0.01em !important;
  }
}


/* ===== Premium Featured Events & News Auto Slider ===== */
.featured-showcase-section{
  position:relative;
  padding:26px 0 12px;
}
.featured-showcase-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(7,46,102,.05) 0%, rgba(255,255,255,0) 100%);
  pointer-events:none;
}
.featured-title-row{
  align-items:flex-end;
  gap:18px;
  margin-bottom:22px;
}
.featured-title-row h2{
  font-size:52px;
  line-height:1.05;
  margin-bottom:10px;
  color:#0c438e;
}
.featured-title-row p{
  max-width:760px;
  font-size:20px;
  line-height:1.7;
  color:#5f728d;
}
.featured-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.featured-actions .btn,
.featured-link-group .btn{
  border-radius:14px;
  font-weight:700;
  box-shadow:0 12px 28px rgba(10,55,117,.14);
}
.featured-actions .btn-outline,
.featured-link-secondary{
  background:#0f4fa1;
  color:#fff;
  border:1px solid rgba(15,79,161,.14);
}
.featured-actions .btn-outline:hover,
.featured-link-secondary:hover{
  background:#0b438a;
  color:#fff;
}
.featured-slider{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  background:
    radial-gradient(circle at top right, rgba(255,208,120,.16), transparent 26%),
    linear-gradient(135deg, #0a3b80 0%, #0f4ea0 26%, #f4f8fd 26%, #f8fbff 100%);
  box-shadow:0 28px 65px rgba(8,40,86,.14);
  border:1px solid rgba(11,71,146,.08);
  min-height:640px;
}
.featured-slider::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.05) 28%, rgba(255,255,255,0) 55%);
  pointer-events:none;
}
.featured-slider-track{
  display:flex;
  transition:transform .72s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.featured-slide{
  min-width:100%;
  display:grid;
  grid-template-columns: 1.06fr .94fr;
  align-items:stretch;
}
.featured-slide-media{
  position:relative;
  min-height:640px;
  overflow:hidden;
}
.featured-slide-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(5,30,70,.16), rgba(5,30,70,.28)),
    linear-gradient(90deg, rgba(7,40,86,.56) 0%, rgba(7,40,86,.16) 46%, rgba(7,40,86,0) 100%);
}
.featured-slide-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.04);
}
.featured-slide-content{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:0;
  padding:58px 56px 124px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,248,253,.99)),
    linear-gradient(140deg, rgba(255,255,255,.88), rgba(240,245,251,.92));
}
.featured-slide-content::before{
  content:"";
  position:absolute;
  left:0;
  top:54px;
  bottom:54px;
  width:1px;
  background:linear-gradient(180deg, rgba(13,63,134,0), rgba(13,63,134,.16), rgba(13,63,134,0));
}
.featured-badge-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.featured-type,
.featured-status,
.featured-meta span,
.featured-insight span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 15px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.03em;
}
.featured-type.event{
  background:rgba(14,79,159,.1);
  color:#0f4fa1;
}
.featured-type.news{
  background:rgba(180,127,40,.14);
  color:#9f6d1c;
}
.featured-status{
  background:#eef3f9;
  color:#5f7798;
}
.featured-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:#5b6f8d;
  margin-bottom:22px;
}
.featured-meta span{
  background:#f3f7fc;
  color:#516a8d;
  justify-content:flex-start;
}
.featured-slide-content h3{
  margin:0 0 18px;
  font-size:54px;
  line-height:1.08;
  letter-spacing:-.03em;
  color:#0b3f88;
  max-width:640px;
}
.featured-slide-content p{
  margin:0;
  max-width:620px;
  font-size:20px;
  line-height:1.78;
  color:#586c87;
}
.featured-insight{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:28px;
}
.featured-insight span{
  justify-content:flex-start;
  padding:14px 16px;
  min-height:56px;
  border-radius:18px;
  background:#fff;
  color:#234a7e;
  box-shadow:0 14px 34px rgba(10,50,102,.07);
  font-size:14px;
}
.featured-cta-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-top:34px;
  flex-wrap:wrap;
}
.featured-link-group{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.featured-link-secondary{
  text-decoration:none;
  padding:14px 20px;
  border-radius:14px;
  font-weight:700;
  box-shadow:0 10px 24px rgba(15,79,161,.16);
}
.featured-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:96px;
  min-height:44px;
  padding:8px 16px;
  border-radius:999px;
  background:#edf3fa;
  font-size:14px;
  font-weight:800;
  color:#617696;
}
.featured-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:58px;
  height:58px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 38px rgba(10,38,78,.18);
  color:#0d3f86;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  z-index:3;
}
.featured-nav:hover{
  transform:translateY(-50%) scale(1.05);
}
.featured-nav.prev{left:24px;}
.featured-nav.next{right:24px;}
.featured-bottom-bar{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  padding:0 28px 28px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.featured-progress{
  width:100%;
  height:7px;
  background:rgba(255,255,255,.58);
  border-radius:999px;
  overflow:hidden;
  box-shadow:inset 0 1px 3px rgba(7,40,86,.08);
}
.featured-progress span{
  display:block;
  height:100%;
  width:0;
  background:linear-gradient(90deg, #0c4a98 0%, #1570d8 70%, #d6a13f 100%);
  border-radius:999px;
  transition:width 4.8s linear;
}
.featured-dots{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}
.featured-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  border:none;
  padding:0;
  background:rgba(13,63,134,.18);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, width .2s ease;
}
.featured-dot.active{
  width:34px;
  border-radius:999px;
  background:#0d3f86;
  transform:none;
}
@media (max-width: 1200px){
  .featured-title-row h2{font-size:44px;}
  .featured-slide-content{padding:48px 40px 118px;}
  .featured-slide-content h3{font-size:44px;}
}
@media (max-width: 980px){
  .featured-slide{grid-template-columns:1fr;}
  .featured-slider,
  .featured-slide-media{min-height:auto;}
  .featured-slide-media{height:320px;}
  .featured-slide-content{padding:34px 24px 110px;}
  .featured-slide-content::before{display:none;}
  .featured-slide-content h3{font-size:34px;}
  .featured-slide-content p{font-size:17px; line-height:1.7;}
  .featured-title-row h2{font-size:36px;}
  .featured-title-row p{font-size:17px;}
  .featured-insight{grid-template-columns:1fr;}
  .featured-nav{
    top:auto;
    bottom:116px;
    transform:none;
    width:48px;
    height:48px;
    font-size:28px;
  }
  .featured-nav:hover{transform:scale(1.03);}
  .featured-nav.prev{left:16px;}
  .featured-nav.next{right:16px;}
}
@media (max-width: 560px){
  .featured-actions{width:100%;}
  .featured-actions .btn{flex:1 1 100%; text-align:center;}
  .featured-slider{border-radius:24px; min-height:auto;}
  .featured-slide-media{height:230px;}
  .featured-slide-content{padding:24px 18px 96px;}
  .featured-slide-content h3{font-size:28px;}
  .featured-meta{font-size:14px; gap:8px;}
  .featured-meta span{min-height:34px; padding:7px 12px;}
  .featured-link-group{width:100%;}
  .featured-link-group .btn,
  .featured-link-group .featured-link-secondary{flex:1 1 100%; text-align:center; justify-content:center;}
  .featured-index{min-width:auto;}
}


/* STEP 1 SUBFOLDER LANGUAGE SWITCHER FIX */
.lang-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:64px;padding:7px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);color:#fff;text-decoration:none;font-weight:800;font-size:13px;line-height:1;white-space:nowrap;backdrop-filter:blur(6px)}.lang-btn:hover{background:rgba(255,255,255,.2)}.lang-btn.active{background:#fff;color:#0b3c88;border-color:#fff}.lang-flag{font-size:15px;line-height:1}.lang-label{display:inline-block;line-height:1}@media (max-width:980px){.lang-switcher{width:100%;justify-content:space-between}.lang-btn{flex:1;min-width:0;padding:8px 6px;font-size:12px}.topbar-inner{padding:10px 0 12px}}@media (max-width:640px){.topbar-message{font-size:13px}.lang-btn{font-size:11px;padding:8px 4px;gap:4px}.lang-flag{font-size:14px}.flag{font-size:12px}}

/* MOBILE LANGUAGE SWITCHER VISIBILITY FIX - KEEP ORIGINAL HEADER STRUCTURE */
@media (max-width: 920px){
  .topbar-inner{
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }
  .flagline{
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px 8px !important;
    align-items: center;
  }
  .topbar-message{
    flex: 1 1 100%;
    width: 100%;
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal !important;
  }
  .lang-switcher{
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    margin-left: auto;
  }
  .lang-btn{
    flex: 0 0 auto !important;
    min-width: 34px !important;
    padding: 6px 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    border-radius: 999px;
  }
}

@media (max-width: 640px){
  .topbar-inner{
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 6px !important;
  }
  .flag{
    font-size: 11px !important;
  }
  .topbar-message{
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .lang-switcher{
    gap: 3px !important;
  }
  .lang-btn{
    min-width: 30px !important;
    padding: 5px 6px !important;
    font-size: 10px !important;
  }
}

html[lang="km"] body, body[data-lang="km"] { font-family: "Noto Sans Khmer", "Inter", sans-serif; }


/* 2026 PATCH: language switcher + mobile spacing cleanup */
.topbar-message{white-space:normal;word-break:break-word;}
.lang-switcher{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:0;}
.lang-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:72px;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.12);color:#fff;text-decoration:none;font-weight:800;font-size:13px;line-height:1;white-space:nowrap;backdrop-filter:blur(6px);}
.lang-btn:hover{background:rgba(255,255,255,.2);}
.lang-btn.active{background:#fff;color:#0b3c88;border-color:#fff;}
.lang-flag{font-size:15px;line-height:1;}
.lang-label{display:inline-block;line-height:1;}
@media (max-width: 980px){
  .topbar-inner{flex-direction:column !important;align-items:stretch !important;gap:10px !important;padding:10px 0 12px;}
  .flagline{width:100%;justify-content:center;gap:6px 10px !important;text-align:center;}
  .topbar-message{width:100%;font-size:12px;line-height:1.4;text-align:center;margin-top:2px;}
  .lang-switcher{width:100%;justify-content:center;}
  .lang-btn{flex:1 1 calc(33.333% - 8px);min-width:0;padding:9px 6px;font-size:12px;}
}
@media (max-width: 640px){
  .brand{gap:10px;}
  .brand-text h1{font-size:14px;}
  .brand-text small{font-size:11px;}
  .topbar-message{font-size:11px;}
  .lang-btn{font-size:11px;padding:8px 4px;gap:4px;}
  .lang-flag{font-size:13px;}
}
img[loading="lazy"]{content-visibility:auto;}


/* ===== 2026-04 membership form + thank-you + stable flag icons ===== */
.lang-btn{position:relative;overflow:hidden}
.lang-flag-icon{display:inline-block;width:18px;height:12px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.35);background-size:cover;background-position:center center;background-repeat:no-repeat;flex:0 0 auto}
.lang-btn.active .lang-flag-icon{box-shadow:0 0 0 1px rgba(11,60,136,.18)}
.flag-vn{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%23da251d'/%3E%3Cpolygon points='9,2.1 10.1,5.1 13.3,5.1 10.7,7 11.7,10 9,8.2 6.3,10 7.3,7 4.7,5.1 7.9,5.1' fill='%23ffde00'/%3E%3C/svg%3E")}
.flag-gb{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%23012169'/%3E%3Cpath d='M0 0l7 4.6V0h4v4.6L18 0v2.2L12.8 6 18 9.8V12l-7-4.6V12H7V7.4L0 12V9.8L5.2 6 0 2.2z' fill='%23fff'/%3E%3Cpath d='M0 0l7.8 5.1h1.2L18 0v1.1L10.7 6 18 10.9V12L9 6.6 0 12v-1.1L7.3 6 0 1.1z' fill='%23C8102E'/%3E%3Cpath d='M7 0h4v12H7zM0 4h18v4H0z' fill='%23fff'/%3E%3Cpath d='M7.8 0h2.4v12H7.8zM0 4.8h18v2.4H0z' fill='%23C8102E'/%3E%3C/svg%3E")}
.flag-kh{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Crect width='18' height='12' fill='%2303238C'/%3E%3Crect y='2' width='18' height='8' fill='%23E00025'/%3E%3Cpath d='M6 8.7h6M6.8 7.9h4.4M7.4 7.1h3.2M8.1 6.3h1.8M8.4 5.4h1.2M7.7 8.7V6.3m2.6 2.4V6.3M6.5 8.7V7.1m5 1.6V7.1' stroke='%23fff' stroke-width='.55' stroke-linecap='round'/%3E%3C/svg%3E")}
@media (max-width:640px){.lang-flag-icon{width:16px;height:11px}}
.thankyou-wrap{max-width:900px;margin:0 auto}
.thankyou-card{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid #dbe8fb;border-radius:28px;box-shadow:0 24px 60px rgba(15,23,42,.08);overflow:hidden}
.thankyou-head{padding:28px 28px 18px;background:linear-gradient(135deg,var(--primary),#0f6bdc);color:#fff;text-align:center}
.thankyou-icon{width:84px;height:84px;margin:0 auto 16px;border-radius:999px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-size:40px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.thankyou-head h2{margin:10px 0 10px;color:#fff;font-size:34px;line-height:1.2}
.thankyou-head p{margin:0 auto;max-width:680px;color:rgba(255,255,255,.92);line-height:1.75}
.thankyou-body{padding:28px}
.thankyou-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 22px}
.thankyou-item{background:#fff;border:1px solid #e6eef9;border-radius:20px;padding:18px}
.thankyou-item strong{display:block;margin:0 0 8px;color:#0f172a;font-size:16px}
.thankyou-item p{margin:0;color:#475569;line-height:1.65;font-size:15px}
.thankyou-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.thankyou-actions .btn{min-width:210px;text-align:center}
.thankyou-note{margin-top:18px;padding:14px 16px;border-radius:16px;background:#eef5ff;color:#31558f;text-align:center;line-height:1.65}
@media (max-width:900px){.thankyou-grid{grid-template-columns:1fr}.thankyou-head h2{font-size:28px}}
@media (max-width:640px){.thankyou-head,.thankyou-body{padding:22px 18px}.thankyou-icon{width:72px;height:72px;font-size:34px}.thankyou-actions .btn{width:100%;min-width:0}}


/* ===== HOME ABOUT FX ===== */
.about-homefx{overflow:clip}
.about-homefx-head{position:relative}
.about-homefx-head h2,
.about-homefx-head p,
.about-homefx-head .about-homefx-cta{position:relative;z-index:1}
.about-homefx-banner{
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(11,78,162,.12), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(214,31,44,.10), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.96));
  border:1px solid rgba(160,184,221,.35);
  box-shadow:0 24px 60px rgba(16,45,92,.10), inset 0 1px 0 rgba(255,255,255,.7);
  transition:transform .45s ease, box-shadow .45s ease, border-color .45s ease;
}
.about-homefx-banner::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  padding:1px;
  background:linear-gradient(135deg, rgba(255,255,255,.55), rgba(11,78,162,.14), rgba(214,31,44,.12));
  -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.about-homefx-banner::after{
  content:"";
  position:absolute;
  inset:auto -24% -58% auto;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(11,78,162,.12), transparent 66%);
  filter:blur(8px);
  animation:aboutPulse 8s ease-in-out infinite;
  pointer-events:none;
}
.about-homefx-banner:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 70px rgba(16,45,92,.15), inset 0 1px 0 rgba(255,255,255,.75);
  border-color:rgba(11,78,162,.26);
}
.about-homefx-grid{
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(11,78,162,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,78,162,.045) 1px, transparent 1px);
  background-size:22px 22px;
  mask-image:linear-gradient(135deg, rgba(0,0,0,.22), rgba(0,0,0,0));
  opacity:.42;
  pointer-events:none;
}
.about-homefx-orb{
  position:absolute;
  display:block;
  border-radius:50%;
  filter:blur(4px);
  pointer-events:none;
}
.about-homefx-orb.orb-1{
  width:180px;height:180px;left:-40px;top:-34px;
  background:radial-gradient(circle, rgba(11,78,162,.22), rgba(11,78,162,0));
  animation:aboutFloat 7s ease-in-out infinite;
}
.about-homefx-orb.orb-2{
  width:220px;height:220px;right:-70px;bottom:-90px;
  background:radial-gradient(circle, rgba(214,31,44,.14), rgba(214,31,44,0));
  animation:aboutFloat 9s ease-in-out infinite reverse;
}
.about-homefx-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(11,78,162,.09);
  border:1px solid rgba(11,78,162,.10);
  padding:10px 14px;
  border-radius:999px;
  backdrop-filter:blur(8px);
}
.about-homefx-kicker::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow:0 0 0 6px rgba(11,78,162,.08);
}
.about-homefx-copy h3{
  position:relative;
  display:inline-block;
  margin-bottom:18px;
}
.about-homefx-copy h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:72px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--primary), rgba(214,31,44,.55));
}
.about-homefx-list li{
  background:rgba(255,255,255,.56);
  border:1px solid rgba(11,78,162,.08);
  padding:13px 16px 13px 42px;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(11,78,162,.05);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.about-homefx-list li::before{left:16px;top:13px}
.about-homefx-list li:hover{
  transform:translateX(6px);
  border-color:rgba(11,78,162,.18);
  box-shadow:0 16px 30px rgba(11,78,162,.10);
}
.about-homefx-quotewrap{position:relative}
.about-homefx-quote{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, #0c3d85 0%, #0b4ea2 50%, #1c63c1 100%);
  isolation:isolate;
}
.about-homefx-quote::before{
  content:"";
  position:absolute;
  inset:-30% auto auto -10%;
  width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.24), transparent 68%);
  animation:aboutPulse 9s ease-in-out infinite;
}
.about-homefx-quote::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 18%, rgba(255,255,255,.13) 36%, transparent 54%);
  transform:translateX(-140%);
  animation:aboutShine 7.5s ease-in-out infinite;
  pointer-events:none;
}
.about-homefx-quote blockquote,
.about-homefx-quote p{position:relative;z-index:1}
.about-homefx-cta{
  position:relative;
  overflow:hidden;
  box-shadow:0 14px 26px rgba(11,78,162,.18);
}
.about-homefx-cta::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 26%, rgba(255,255,255,.28) 44%, transparent 60%);
  transform:translateX(-140%);
  transition:transform .7s ease;
}
.about-homefx-cta:hover::after{transform:translateX(140%)}
.about-homefx .fx-reveal{
  opacity:0;
  will-change:transform, opacity;
  transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
  filter:blur(8px);
}
.about-homefx .fx-up{transform:translateY(28px)}
.about-homefx .fx-left{transform:translateX(-34px)}
.about-homefx .fx-right{transform:translateX(34px)}
.about-homefx .fx-delay-1{transition-delay:.12s}
.about-homefx .fx-delay-2{transition-delay:.24s}
.about-homefx .fx-reveal.is-visible{
  opacity:1;
  transform:none;
  filter:none;
}
@keyframes aboutFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-16px,0)}
}
@keyframes aboutPulse{
  0%,100%{transform:scale(1);opacity:.9}
  50%{transform:scale(1.08);opacity:1}
}
@keyframes aboutShine{
  0%,20%{transform:translateX(-140%)}
  55%,100%{transform:translateX(140%)}
}
@media (prefers-reduced-motion: reduce){
  .about-homefx-banner,
  .about-homefx-banner::after,
  .about-homefx-orb,
  .about-homefx-quote::before,
  .about-homefx-quote::after,
  .about-homefx .fx-reveal{animation:none !important;transition:none !important;transform:none !important;opacity:1 !important;filter:none !important}
}
@media (max-width: 767px){
  .about-homefx-banner{padding:24px}
  .about-homefx-list li{padding:12px 14px 12px 40px}
  .about-homefx-list li:hover{transform:none}
  .about-homefx-copy h3::after{width:58px}
  .about-homefx-quote::after{animation-duration:9s}
}

.footer-grid-compact{grid-template-columns:1.2fr .8fr}
.footer-social{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.social-link{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.06);text-decoration:none;transition:.2s ease;color:#fff;font-weight:700}
.social-link:hover{transform:translateY(-1px);background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3)}
.social-link svg{width:18px;height:18px;fill:currentColor;flex:0 0 auto}
@media (max-width: 920px){.footer-grid-compact{grid-template-columns:1fr}}


/* Event gallery in modal */
.detail-modal-gallery{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:18px;
}
.detail-gallery-main{
  background:#0f172a;
  border-radius:20px;
  overflow:hidden;
  min-height:420px;
}
.detail-gallery-main img{
  width:100%;
  height:100%;
  min-height:420px;
  object-fit:cover;
  display:block;
}
.detail-gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}
.detail-gallery-thumb{
  border:none;
  background:transparent;
  padding:0;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  outline:none;
  border:3px solid transparent;
  transition:.2s ease;
}
.detail-gallery-thumb img{
  width:100%;
  height:96px;
  object-fit:cover;
  display:block;
}
.detail-gallery-thumb.active{
  border-color:#0b4ea2;
  box-shadow:0 8px 18px rgba(11,78,162,.18);
}
.detail-gallery-thumb:hover{
  transform:translateY(-2px);
}
@media (max-width: 980px){
  .detail-modal-gallery{padding:12px}
  .detail-gallery-main,
  .detail-gallery-main img{min-height:260px}
  .detail-gallery-thumbs{grid-template-columns:repeat(2, minmax(0,1fr))}
  .detail-gallery-thumb img{height:84px}
}


/* Desktop fix for featured slider: keep image and text balanced, avoid clipping */
@media (min-width: 981px){
  .featured-slider{min-height:700px;}
  .featured-slide{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); min-height:700px;}
  .featured-slide-media{min-height:700px; height:700px;}
  .featured-slide-content{min-height:700px; padding:44px 38px 96px; justify-content:flex-start;}
  .featured-slide-content h3{font-size:clamp(34px,2.7vw,44px); line-height:1.12; margin:0 0 14px; max-width:none; word-break:break-word;}
  .featured-slide-content p{font-size:18px; line-height:1.6; max-width:none; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;}
  .featured-meta{margin-bottom:16px;}
  .featured-insight{margin-top:18px; gap:10px;}
  .featured-insight span{min-height:48px; padding:12px 14px; font-size:13px; align-items:flex-start;}
  .featured-cta-row{margin-top:auto; padding-top:22px; align-items:center;}
  .featured-link-group .btn,
  .featured-link-group .featured-link-secondary{min-height:48px; display:inline-flex; align-items:center; justify-content:center;}
}


/* MOBILE FIX V4 - simplify featured slider to avoid broken layout */
@media (max-width: 980px){
  .featured-slider{
    min-height: 0;
    background: #ffffff;
    border-radius: 24px;
  }
  .featured-slide{
    display: block;
  }
  .featured-slide-media{
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #eef3f9;
  }
  .featured-slide-media::after{
    background: linear-gradient(180deg, rgba(5,30,70,.10), rgba(5,30,70,.16));
  }
  .featured-slide-media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }
  .featured-slide-content{
    justify-content: flex-start;
    gap: 0;
    padding: 22px 20px 24px;
    background: #ffffff;
    min-height: 0;
  }
  .featured-badge-row{margin-bottom: 14px;}
  .featured-meta{margin-bottom: 16px;}
  .featured-slide-content h3{
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 14px;
    max-width: 100%;
    letter-spacing: -.02em;
  }
  .featured-slide-content p{
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .featured-insight{
    display: none;
  }
  .featured-cta-row{
    margin-top: 18px;
    gap: 14px;
    align-items: stretch;
  }
  .featured-link-group{
    width: 100%;
  }
  .featured-link-group .btn,
  .featured-link-group .featured-link-secondary{
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    text-align: center;
  }
  .featured-index{
    min-width: auto;
    margin-left: auto;
  }
  .featured-bottom-bar{
    position: relative;
    padding: 8px 18px 18px;
    background: #ffffff;
  }
  .featured-progress{
    background: #e9f0f8;
  }
}

@media (max-width: 560px){
  .featured-showcase-section{
    padding-top: 18px;
  }
  .featured-title-row{
    margin-bottom: 16px;
  }
  .featured-title-row h2{
    font-size: 30px;
    line-height: 1.12;
  }
  .featured-actions{
    gap: 10px;
  }
  .featured-slider{
    border-radius: 20px;
  }
  .featured-slide-media{
    aspect-ratio: 16 / 10;
  }
  .featured-slide-content{
    padding: 18px 16px 20px;
  }
  .featured-badge-row{
    gap: 8px;
  }
  .featured-type,
  .featured-status,
  .featured-meta span{
    min-height: 32px;
    padding: 6px 12px;
    font-size: 12px;
  }
  .featured-meta{
    gap: 8px;
    margin-bottom: 14px;
  }
  .featured-slide-content h3{
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .featured-slide-content p{
    font-size: 15px;
    line-height: 1.58;
    -webkit-line-clamp: 3;
  }
  .featured-cta-row{
    margin-top: 16px;
  }
  .featured-link-group{
    gap: 10px;
  }
  .featured-link-group .btn,
  .featured-link-group .featured-link-secondary{
    flex: 1 1 100%;
    min-height: 46px;
  }
  .featured-index{
    font-size: 13px;
    padding: 7px 14px;
  }
  .featured-nav{
    width: 44px;
    height: 44px;
    font-size: 26px;
    top: 115px;
    bottom: auto;
    transform: translateY(-50%);
  }
  .featured-nav:hover{transform: translateY(-50%);}
  .featured-nav.prev{left: 12px;}
  .featured-nav.next{right: 12px;}
  .featured-bottom-bar{
    padding: 6px 16px 16px;
  }
}
