/* CRMA47 v1.7.50.2 — Full Homepage Rebuild */
body.home-dashboard-body{
  --navy:#071d34;
  --navy-2:#0b355c;
  --navy-3:#123f68;
  --gold:#f2c36b;
  --gold-2:#d79a36;
  --cream:#fff7e8;
  --ink:#13263b;
  --muted:#657386;
  --glass-dark:rgba(10,30,47,.72);
  --glass-light:rgba(255,252,245,.80);
  min-height:100vh;
  margin:0;
  color:#fff;
  background:#071d34;
}
body.home-dashboard-body::before{display:none!important}
body.home-dashboard-body .site-header{
  position:relative;
  z-index:50;
  background:rgba(5,24,43,.94);
  border-bottom:1px solid rgba(242,195,107,.26);
  box-shadow:0 10px 34px rgba(0,0,0,.25);
  backdrop-filter:blur(16px);
}
body.home-dashboard-body .nav-link{color:#fff}
body.home-dashboard-body .nav-link.is-active::after{background:var(--gold)}
body.home-dashboard-body .nav-admin{
  background:linear-gradient(135deg,#f8d991,#efb653);
  color:#13263b;
  box-shadow:0 9px 22px rgba(213,150,49,.32);
}

.hd-page{
  position:relative;
  min-height:calc(100vh - 70px);
  overflow:hidden;
  background:
    linear-gradient(180deg,#071d34 0,#0b2947 44%,#d4ab66 77%,#0a223b 100%);
}
.hd-page::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 12% 31%,rgba(24,85,137,.34),transparent 30%),
    radial-gradient(circle at 88% 75%,rgba(245,191,90,.22),transparent 28%);
}
.hd-container{width:min(1460px,calc(100% - 64px));margin-inline:auto;position:relative;z-index:2}
.hd-curve{display:none!important}

.hd-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) 390px;
  gap:44px;
  align-items:center;
  min-height:520px;
  margin:0;
  padding:68px 0 48px;
}
.hd-hero::before{
  content:"";
  position:absolute;
  z-index:-3;
  top:0;
  bottom:0;
  left:50%;
  width:50vw;
  background:
    linear-gradient(90deg,rgba(7,29,52,.96) 0%,rgba(7,29,52,.48) 14%,rgba(7,29,52,.08) 38%,rgba(7,29,52,.08) 100%),
    url("../img/hero-sunset-2026.png?v=1773") center/cover no-repeat;
}
.hd-hero::after{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-60px 43% -90px -20vw;
  border-radius:0 0 56% 0;
  background:
    radial-gradient(circle at 75% 22%,rgba(24,78,124,.25),transparent 32%),
    linear-gradient(112deg,#061b31 0%,#0a3760 72%,rgba(9,51,88,.90) 100%);
  border-right:2px solid rgba(242,195,107,.75);
  box-shadow:32px 25px 0 rgba(215,154,54,.24);
  transform:skewX(-5deg);
}
.hd-hero-copy{padding:8px 10px 22px 8px}
.hd-hero-copy h1{
  margin:0 0 12px;
  font-family:"Prompt","Noto Sans Thai",sans-serif;
  font-size:clamp(48px,5.3vw,82px);
  font-weight:900;
  line-height:1.04;
  letter-spacing:-2px;
  color:#fff;
  text-shadow:0 7px 28px rgba(0,0,0,.38);
}
.hd-hero-copy h1 span{color:var(--gold)}
.hd-hero-copy h2{
  margin:0 0 20px;
  color:var(--gold);
  font-size:clamp(18px,1.6vw,25px);
  font-weight:800;
}
.hd-hero-copy p{
  max-width:720px;
  margin:0 0 28px;
  color:#f0f4f8;
  font-size:15px;
  line-height:1.85;
  font-weight:600;
}
.hd-actions{display:flex;gap:14px;flex-wrap:wrap}
.hd-btn{
  min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 28px;border-radius:11px;border:1px solid transparent;
  font-family:"Prompt","Noto Sans Thai",sans-serif;font-size:14px;font-weight:850;
  transition:.18s ease;
}
.hd-btn:hover{transform:translateY(-2px);text-decoration:none}
.hd-btn.primary{color:#13263b;background:linear-gradient(135deg,#f8d995,#efb456);box-shadow:0 12px 25px rgba(215,154,54,.26)}
.hd-btn.outline{color:#fff;background:rgba(5,23,40,.30);border-color:rgba(255,255,255,.72);backdrop-filter:blur(9px)}
.hd-btn.disabled{color:#d8e0e8;background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.18)}

.hd-glass{
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 45px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter:blur(18px) saturate(125%);
}
.hd-event-card{
  padding:21px;border-radius:20px;background:linear-gradient(145deg,rgba(26,38,45,.74),rgba(13,27,40,.60));
}
.hd-event-label{display:flex;align-items:center;gap:8px;margin-bottom:16px;color:var(--gold);font-size:13px;font-weight:900;letter-spacing:.4px}
.hd-event-label::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 12px var(--gold)}
.hd-event-content{display:grid;grid-template-columns:106px 1fr;gap:17px;align-items:stretch}
.hd-date-box{display:grid;place-items:center;align-content:center;min-height:134px;border:1px solid rgba(242,195,107,.72);border-radius:13px;background:rgba(4,19,34,.32);text-align:center}
.hd-date-box small{font-size:11px;font-weight:800}.hd-date-box strong{font-size:47px;line-height:1;color:#fff}.hd-date-box span{font-size:12px}
.hd-event-list{display:grid}.hd-event-row{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.13)}
.hd-event-row:last-child{border-bottom:0}.hd-event-row>i{color:var(--gold);font-size:20px}.hd-event-row small,.hd-event-row strong{display:block}.hd-event-row small{color:#c7d0d8;font-size:10px}.hd-event-row strong{font-size:13px;line-height:1.35}
.hd-event-link{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:10px;border:1px solid rgba(255,255,255,.24);border-radius:10px;color:#fff;font-size:12px;font-weight:800}

.hd-stats{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:-22px;margin-bottom:14px;
  border:1px solid rgba(255,255,255,.38);border-radius:18px;overflow:hidden;
  background:linear-gradient(90deg,rgba(244,240,229,.62),rgba(206,213,218,.48));
  box-shadow:0 18px 38px rgba(0,0,0,.22);backdrop-filter:blur(18px);
}
.hd-stat{display:flex;align-items:center;gap:12px;min-height:82px;padding:14px 18px;border-right:1px solid rgba(7,29,52,.16);color:var(--ink)}
.hd-stat:last-child{border-right:0;background:linear-gradient(135deg,rgba(8,39,67,.92),rgba(14,58,95,.82));color:#fff}
.hd-stat-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;background:#fff4d9;color:#b97716;font-size:20px}
.hd-stat small,.hd-stat strong{display:block}.hd-stat small{font-size:9px;color:inherit;opacity:.72;font-weight:750}.hd-stat strong{font-size:15px;font-weight:900}
.hd-progress{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#082b4c;border:5px solid rgba(255,255,255,.15)}.hd-progress b{font-size:9px}

.hd-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:16px}
.hd-step{
  min-height:87px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;
  padding:14px;border-radius:17px;color:#fff;
  background:linear-gradient(145deg,rgba(18,47,72,.86),rgba(8,31,51,.72));
  transition:.2s ease;
}
.hd-step:hover{transform:translateY(-3px);border-color:rgba(242,195,107,.65);text-decoration:none}
.hd-step-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:#082b4c;color:#fff;font-size:21px}
.hd-step-icon.gold{background:linear-gradient(135deg,#f7d991,#eeb355);color:#172a3c}.hd-step-icon.green{background:#11814f}.hd-step-icon.red{background:#b4232b}
.hd-step small,.hd-step strong,.hd-step em{display:block}.hd-step small{font-size:8px;color:#c2ced8;font-weight:800}.hd-step strong{font-size:14px;font-weight:900}.hd-step em{font-size:8px;color:#d6dee5;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hd-step>i{color:var(--gold)}

.hd-main-grid{display:grid;grid-template-columns:1.12fr .94fr 1fr;gap:16px;margin-bottom:16px}
.hd-panel{min-width:0;padding:17px;border-radius:20px;color:var(--ink);background:linear-gradient(145deg,rgba(255,252,244,.83),rgba(223,227,229,.72));border-color:rgba(255,255,255,.55)}
.hd-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.hd-panel-head h2{margin:0;font-size:16px;font-weight:900}.hd-panel-head h2 i{color:#bd7b1b;margin-right:7px}.hd-panel-head a,.hd-panel-head button{border:0;background:none;color:#bd7b1b;font-size:10px;font-weight:850}
.hd-price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.hd-price-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:13px;background:#fff;border:1px solid rgba(15,37,57,.12)}
.hd-price-head{min-height:61px;display:flex;align-items:center;gap:9px;padding:12px;color:#fff;background:#092c4d}.hd-price-card.regular .hd-price-head{background:linear-gradient(135deg,#d99b2f,#b97817)}.hd-price-card.donate .hd-price-head{background:linear-gradient(135deg,#c52b32,#9f1921)}
.hd-price-head>i{font-size:21px}.hd-price-head strong,.hd-price-head small{display:block}.hd-price-head strong{font-size:11px}.hd-price-head small{font-size:8px}
.hd-price-card ul{flex:1;margin:0;padding:13px 13px 5px 25px;font-size:8px;line-height:1.65}.hd-price-card li::marker{color:#c28727}
.hd-price-amount{display:flex;align-items:baseline;justify-content:center;gap:4px;min-height:48px;padding:6px 8px;color:#14283c}.hd-price-amount strong{font-size:16px}.hd-price-amount span{font-size:8px}
.hd-price-btn{display:flex;align-items:center;justify-content:center;min-height:38px;margin:0 9px 9px;border-radius:8px;background:#092c4d;color:#fff;font-size:9px;font-weight:900}.hd-price-card.regular .hd-price-btn{background:#bd7d1b}.hd-price-card.donate .hd-price-btn{background:#a91e25}.hd-price-btn.disabled{background:#9aa5ae}
.hd-note{margin:10px 0 0;color:#5c6b7b;font-size:8px}

.hd-team-list{display:grid;gap:8px}.hd-team-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:9px;border-radius:11px;background:#fff;color:var(--ink);border:1px solid rgba(18,40,61,.10)}
.hd-team-item:hover{text-decoration:none}.hd-team-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#18895b;color:#fff;font-size:10px;font-weight:900}.hd-team-avatar.vip{background:#092c4d;color:var(--gold)}
.hd-team-name strong,.hd-team-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hd-team-name strong{font-size:10px}.hd-team-name small{font-size:8px;color:#667487}
.hd-status{padding:5px 8px;border-radius:999px;font-size:7px;font-weight:850}.hd-status.success{background:#dff4e7;color:#147747}.hd-status.warning{background:#fff0c9;color:#9a630e}
.hd-team-meta{text-align:right}.hd-team-meta b,.hd-team-meta small{display:block}.hd-team-meta b{font-size:8px}.hd-team-meta small{font-size:8px;color:#647284}
.hd-empty{grid-column:1/-1;display:grid;place-items:center;gap:5px;min-height:150px;text-align:center}.hd-empty i{font-size:24px;color:#b77a1b}.hd-empty strong{font-size:12px}.hd-empty small{font-size:9px;color:#647284}

.hd-map-button{width:100%;height:225px;padding:0;overflow:hidden;border:0;border-radius:13px;background:#fff;cursor:zoom-in}.hd-map-button img{width:100%;height:100%;object-fit:contain}.hd-course-tags{display:flex;gap:15px;margin-top:8px;font-size:8px;color:#596879}.hd-course-tags span::before{content:"";display:inline-block;width:9px;height:9px;margin-right:4px;border-radius:50%;background:#c92b31}.hd-course-tags .b::before{background:#4d9bd1}.hd-course-tags .c::before{background:#e9ad48}

.hd-footer{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-bottom:28px;padding:16px 20px;border-radius:20px;background:linear-gradient(135deg,rgba(10,31,49,.88),rgba(22,45,63,.78))}
.hd-footer-info{display:flex;align-items:stretch}.hd-footer-item{display:flex;align-items:center;gap:10px;padding:0 20px;border-right:1px solid rgba(255,255,255,.13)}.hd-footer-item:first-child{padding-left:0}.hd-footer-item:last-child{border-right:0}
.hd-footer-icon{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border:1px solid rgba(242,195,107,.5);border-radius:50%;color:var(--gold)}
.hd-footer-item p{margin:0}.hd-footer-item small,.hd-footer-item strong,.hd-footer-item em{display:block}.hd-footer-item small{color:#c0cad3;font-size:8px}.hd-footer-item strong{max-width:250px;color:#fff;font-size:10px;line-height:1.35}.hd-footer-item em{color:#b8c3cc;font-size:7px;font-style:normal}
.hd-footer-action{display:grid;gap:5px;justify-items:end;min-width:220px}.hd-footer-action .hd-btn{width:100%}.hd-footer-action>small{font-size:8px;color:#c1cbd4}

.hd-map-modal{position:fixed;inset:0;z-index:9999;display:none;place-items:center;padding:20px;background:rgba(3,13,23,.92)}.hd-map-modal.is-open{display:grid}.hd-map-modal img{max-width:96vw;max-height:90vh;border-radius:14px}.hd-map-close{position:absolute;top:18px;right:18px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#10243a;font-size:22px}

@media(max-width:1180px){
  .hd-container{width:min(100% - 36px,1280px)}
  .hd-hero{grid-template-columns:1fr 350px;min-height:500px}
  .hd-stats{grid-template-columns:repeat(3,1fr)}.hd-stat:nth-child(3){border-right:0}.hd-stat:last-child{grid-column:2/4}
  .hd-steps{grid-template-columns:repeat(3,1fr)}.hd-main-grid{grid-template-columns:1fr 1fr}.hd-map-panel{grid-column:1/-1}
  .hd-map-button{height:360px}.hd-footer{grid-template-columns:1fr}.hd-footer-action{justify-items:stretch}
}
@media(max-width:850px){
  .hd-hero{grid-template-columns:1fr;padding-top:48px}.hd-hero::before{left:0;width:100vw;opacity:.44}.hd-hero::after{inset:-30px -20vw -20px -35vw;border-radius:0;background:linear-gradient(110deg,rgba(5,27,49,.98),rgba(7,45,77,.84) 58%,rgba(7,45,77,.30))}
  .hd-event-card{max-width:640px}.hd-stats{margin-top:0}.hd-steps{grid-template-columns:repeat(2,1fr)}.hd-step:last-child{grid-column:1/-1}.hd-main-grid{grid-template-columns:1fr}.hd-map-panel{grid-column:auto}
  .hd-footer-info{flex-wrap:wrap}.hd-footer-item{margin:7px 0}
}
@media(max-width:600px){
  .hd-container{width:min(100% - 20px,1280px)}
  .hd-hero{min-height:auto;padding:34px 0 28px}.hd-hero-copy h1{font-size:40px;letter-spacing:-1px}.hd-hero-copy h2{font-size:15px}.hd-hero-copy p{font-size:12px;line-height:1.7}
  .hd-actions{display:grid;grid-template-columns:1fr 1fr}.hd-btn{padding:9px 10px;font-size:11px}
  .hd-event-content{grid-template-columns:84px 1fr}.hd-date-box{min-height:112px}.hd-date-box strong{font-size:34px}
  .hd-stats{grid-template-columns:1fr 1fr}.hd-stat{min-height:70px;padding:10px}.hd-stat:nth-child(even){border-right:0}.hd-stat:last-child{grid-column:1/-1}
  .hd-steps{grid-template-columns:1fr}.hd-step:last-child{grid-column:auto}
  .hd-price-grid{grid-template-columns:1fr}.hd-price-card.donate{grid-column:auto}
  .hd-team-item{grid-template-columns:36px minmax(0,1fr) auto}.hd-team-meta{grid-column:2/4;display:flex;justify-content:space-between;text-align:left}
  .hd-map-button{height:auto;aspect-ratio:4/3}
  .hd-footer{padding:14px}.hd-footer-info{display:grid}.hd-footer-item{padding:10px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.12)}.hd-footer-item:last-child{border-bottom:0}
}

/* CRMA47 v1.7.73 — Approved homepage mockup implementation */
body.home-dashboard-body{
  background:#f4efe7;
}
body.home-dashboard-body .site-header{
  position:sticky;
  top:0;
}
.hd-page{
  min-height:calc(100vh - 70px);
  background:
    linear-gradient(180deg,#071d34 0,#0a2d50 505px,#f3efe8 506px,#f8f5ef 100%);
}
.hd-page::before{
  background:
    radial-gradient(circle at 10% 22%,rgba(36,103,158,.22),transparent 27%),
    radial-gradient(circle at 90% 17%,rgba(242,195,107,.12),transparent 24%);
}
.hd-container{
  width:min(1320px,calc(100% - 56px));
}
.hd-hero{
  grid-template-columns:minmax(0,1.15fr) 370px;
  min-height:455px;
  gap:54px;
  padding:54px 0 62px;
}
.hd-hero-copy{
  padding-left:24px;
}
.hd-hero-copy h1{
  font-size:clamp(45px,4.5vw,68px);
  letter-spacing:-1.5px;
}
.hd-hero-copy h2{
  font-size:clamp(20px,1.7vw,27px);
  margin-bottom:18px;
}
.hd-hero-copy p{
  max-width:670px;
  font-size:14px;
  line-height:1.8;
}
.hd-event-card{
  padding:22px;
}
.hd-stats{
  margin-top:-22px;
  margin-bottom:12px;
  background:rgba(244,246,247,.86);
  border-color:rgba(255,255,255,.76);
  box-shadow:0 15px 34px rgba(7,29,52,.20);
}
.hd-stat{
  min-height:82px;
  background:rgba(255,255,255,.48);
}
.hd-stat small{
  font-size:10px;
}
.hd-stat strong{
  font-size:16px;
}
.hd-steps{
  gap:12px;
  margin-bottom:18px;
}
.hd-step{
  min-height:80px;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 10px 24px rgba(6,27,47,.12);
}
.hd-step small{
  font-size:9px;
}
.hd-step strong{
  font-size:14px;
}
.hd-step em{
  font-size:9px;
}
.hd-main-grid{
  grid-template-columns:minmax(390px,.78fr) minmax(0,1.22fr);
  align-items:stretch;
  gap:18px;
  margin-bottom:22px;
}
.hd-panel{
  padding:20px;
  border-radius:18px;
  background:rgba(255,255,255,.93);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 16px 36px rgba(7,29,52,.10);
  backdrop-filter:blur(12px);
}
.hd-panel-head{
  margin-bottom:15px;
}
.hd-panel-head h2{
  font-size:23px;
  letter-spacing:-.3px;
}
.hd-panel-head a,
.hd-panel-head button{
  font-size:11px;
}
.hd-price-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.hd-price-card.donate:nth-child(odd){
  grid-column:1/-1;
}
.hd-price-head{
  min-height:68px;
  padding:14px;
}
.hd-price-head strong{
  font-size:13px;
}
.hd-price-head small{
  font-size:9px;
}
.hd-price-card ul{
  min-height:84px;
  padding:14px 16px 8px 28px;
  font-size:10px;
}
.hd-price-amount strong{
  font-size:21px;
}
.hd-price-amount span{
  font-size:9px;
}
.hd-price-btn{
  min-height:40px;
  font-size:10px;
}
.hd-note{
  font-size:9px;
}
.hd-team-list{
  gap:9px;
}
.hd-team-item{
  min-height:68px;
  grid-template-columns:44px minmax(0,1fr) auto minmax(90px,auto) 16px;
  gap:12px;
  padding:10px 12px;
  border-radius:13px;
  box-shadow:0 6px 14px rgba(7,29,52,.05);
  transition:transform .16s ease,box-shadow .16s ease;
}
.hd-team-item::after{
  content:"›";
  color:#7f8a98;
  font-size:20px;
  line-height:1;
}
.hd-team-item:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 20px rgba(7,29,52,.09);
}
.hd-team-avatar{
  width:40px;
  height:40px;
}
.hd-team-name strong{
  font-size:12px;
}
.hd-team-name small{
  font-size:10px;
}
.hd-status{
  font-size:8px;
  padding:5px 9px;
}
.hd-team-meta b,
.hd-team-meta small{
  font-size:9px;
}
.hd-map-panel{
  grid-column:1/-1;
  padding:20px;
}
.hd-map-head{
  margin-bottom:12px;
}
.hd-map-button{
  position:relative;
  display:block;
  width:100%;
  height:235px;
  overflow:hidden;
  border-radius:14px;
  background:#eef2eb;
  border:1px solid #e4e9e1;
  cursor:pointer;
}
.hd-map-button img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%;
  transition:transform .25s ease;
}
.hd-map-button:hover img{
  transform:scale(1.018);
}
.hd-map-overlay-copy{
  position:absolute;
  left:18px;
  bottom:18px;
  display:grid;
  gap:3px;
  max-width:420px;
  padding:11px 14px;
  border-radius:12px;
  color:#fff;
  background:rgba(6,29,51,.82);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(10px);
}
.hd-map-overlay-copy strong{
  font-size:14px;
}
.hd-map-overlay-copy small{
  font-size:10px;
  color:#dce5ed;
}
.hd-site-footer{
  margin-top:30px;
  background:linear-gradient(135deg,#061a2e,#082b4b 72%,#0b355a);
  border-top:1px solid rgba(242,195,107,.25);
  color:#fff;
}
.hd-site-footer-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr .8fr 1fr;
  gap:0;
  padding-top:34px;
  padding-bottom:28px;
}
.hd-site-footer-grid>section{
  min-width:0;
  padding:0 28px;
  border-right:1px solid rgba(255,255,255,.10);
}
.hd-site-footer-grid>section:first-child{
  padding-left:0;
}
.hd-site-footer-grid>section:last-child{
  padding-right:0;
  border-right:0;
}
.hd-site-footer-logo{
  display:flex;
  align-items:center;
  gap:12px;
}
.hd-site-footer-logo img{
  width:54px;
  height:54px;
  object-fit:contain;
}
.hd-site-footer-logo strong,
.hd-site-footer-logo small{
  display:block;
}
.hd-site-footer-logo strong{
  color:var(--gold);
  font-size:22px;
}
.hd-site-footer-logo small{
  font-size:10px;
  letter-spacing:1.2px;
}
.hd-site-footer-brand>p,
.hd-site-footer-column>p{
  margin:14px 0 0;
  color:#c9d3dd;
  font-size:11px;
  line-height:1.65;
}
.hd-site-footer-column h3{
  margin:2px 0 13px;
  font-size:13px;
  color:#fff;
}
.hd-site-footer-column>p{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:7px 0;
}
.hd-site-footer-column>p i{
  margin-top:2px;
  color:var(--gold);
}
.hd-site-footer-column>a:not(.hd-contact-button){
  display:block;
  margin:8px 0;
  color:#d5dde5;
  font-size:11px;
}
.hd-site-footer-column>a:hover{
  color:#fff;
  text-decoration:none;
}
.hd-contact-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  margin-top:14px;
  padding:9px 18px;
  border-radius:10px;
  color:#fff;
  background:#168c52;
  font-size:12px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(22,140,82,.25);
}
.hd-contact-button:hover{
  color:#fff;
  background:#117943;
  text-decoration:none;
}
.hd-site-footer-bottom{
  padding-top:17px;
  padding-bottom:20px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#aebbc8;
  text-align:center;
  font-size:10px;
}

@media(max-width:1180px){
  .hd-container{width:min(100% - 36px,1280px)}
  .hd-main-grid{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr)}
  .hd-site-footer-grid{grid-template-columns:1fr 1fr;row-gap:28px}
  .hd-site-footer-grid>section:nth-child(2){border-right:0}
  .hd-site-footer-grid>section:nth-child(3){padding-left:0}
}
@media(max-width:850px){
  .hd-page{background:linear-gradient(180deg,#071d34 0,#0a2d50 720px,#f3efe8 721px,#f8f5ef 100%)}
  .hd-hero-copy{padding-left:0}
  .hd-main-grid{grid-template-columns:1fr}
  .hd-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hd-map-panel{grid-column:auto}
  .hd-site-footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .hd-container{width:min(100% - 20px,1280px)}
  .hd-page{background:linear-gradient(180deg,#071d34 0,#0a2d50 820px,#f3efe8 821px,#f8f5ef 100%)}
  .hd-panel{padding:15px}
  .hd-panel-head h2{font-size:19px}
  .hd-price-grid{grid-template-columns:1fr}
  .hd-price-card.donate:nth-child(odd){grid-column:auto}
  .hd-team-item{grid-template-columns:38px minmax(0,1fr) auto 14px;gap:8px}
  .hd-team-meta{grid-column:2/4;display:flex;justify-content:space-between;align-items:center;text-align:left}
  .hd-team-item::after{grid-column:4;grid-row:1/3;align-self:center}
  .hd-map-button{height:185px;aspect-ratio:auto}
  .hd-map-overlay-copy{left:10px;right:10px;bottom:10px;max-width:none}
  .hd-site-footer-grid{grid-template-columns:1fr;padding-top:28px}
  .hd-site-footer-grid>section{padding:19px 0;border-right:0;border-bottom:1px solid rgba(255,255,255,.10)}
  .hd-site-footer-grid>section:last-child{border-bottom:0}
}

/* Responsive corrections after v1.7.73 desktop overrides */
@media(max-width:1180px){
  .hd-hero{grid-template-columns:minmax(0,1fr) 350px;min-height:500px;gap:34px}
}
@media(max-width:850px){
  .hd-hero{grid-template-columns:minmax(0,1fr);min-height:auto;padding:46px 0 34px;gap:26px}
  .hd-hero-copy{width:100%;min-width:0;padding:0}
  .hd-event-card{width:100%;max-width:none;box-sizing:border-box}
}
@media(max-width:600px){
  .hd-hero{padding:32px 0 26px;gap:20px}
  .hd-hero-copy h1{font-size:38px;line-height:1.08;letter-spacing:-.8px}
  .hd-hero-copy h2{font-size:17px;line-height:1.45}
  .hd-hero-copy p{font-size:12px;line-height:1.7}
  .hd-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .hd-btn{min-width:0;padding:10px 8px;font-size:11px}
  .hd-event-content{grid-template-columns:82px minmax(0,1fr);gap:12px}
  .hd-date-box{min-height:110px}
  .hd-date-box strong{font-size:34px}
}

/* CRMA47 v1.7.74 — Dynamic registration type layout */
.hd-main-grid{
  align-items:start;
}
.hd-main-grid.hd-type-count-3{
  grid-template-columns:minmax(0,2.15fr) minmax(310px,1fr);
}
.hd-main-grid.hd-type-count-2{
  grid-template-columns:minmax(0,1.45fr) minmax(350px,1fr);
}
.hd-main-grid.hd-type-count-1{
  grid-template-columns:minmax(340px,.82fr) minmax(0,1.18fr);
}
.hd-main-grid.hd-type-count-0{
  grid-template-columns:minmax(0,1fr);
}
.hd-registration-panel,
.hd-teams-panel{
  width:100%;
  box-sizing:border-box;
}
.hd-price-grid{
  align-items:stretch;
}
.hd-price-grid--3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hd-price-grid--2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.hd-price-grid--1{
  grid-template-columns:minmax(0,1fr);
  justify-items:center;
}
.hd-price-grid--1 .hd-price-card{
  width:min(100%,390px);
}
.hd-price-grid--3 .hd-price-card.donate,
.hd-price-grid--2 .hd-price-card.donate,
.hd-price-grid--1 .hd-price-card.donate{
  grid-column:auto;
}
.hd-price-card{
  min-height:275px;
}
.hd-type-count-3 .hd-team-item{
  grid-template-columns:40px minmax(0,1fr) auto 15px;
  row-gap:4px;
}
.hd-type-count-3 .hd-team-meta{
  grid-column:2/4;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  text-align:left;
}
.hd-type-count-3 .hd-team-meta small{
  text-align:right;
}
.hd-type-count-3 .hd-team-item::after{
  grid-column:4;
  grid-row:1/3;
  align-self:center;
}
.hd-registration-closed{
  display:flex;
  align-items:center;
  gap:13px;
  margin:0 0 14px;
  padding:13px 15px;
  border:1px solid #ead7aa;
  border-radius:13px;
  background:linear-gradient(135deg,#fff8e9,#fffdf8);
  color:#6f501a;
}
.hd-registration-closed>span{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f4d99a;
  color:#8a5b0c;
  font-size:19px;
}
.hd-registration-closed strong,
.hd-registration-closed small{
  display:block;
}
.hd-registration-closed strong{
  font-size:13px;
}
.hd-registration-closed small{
  margin-top:2px;
  color:#806c48;
  font-size:10px;
  line-height:1.55;
}
.hd-type-count-0 .hd-team-list{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.hd-type-count-0 .hd-map-panel{
  grid-column:1/-1;
}

@media(max-width:1180px){
  .hd-main-grid.hd-type-count-3{
    grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);
  }
  .hd-main-grid.hd-type-count-2{
    grid-template-columns:minmax(0,1.3fr) minmax(330px,1fr);
  }
  .hd-main-grid.hd-type-count-1{
    grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
  }
}

@media(max-width:850px){
  .hd-main-grid.hd-type-count-3,
  .hd-main-grid.hd-type-count-2,
  .hd-main-grid.hd-type-count-1,
  .hd-main-grid.hd-type-count-0{
    grid-template-columns:minmax(0,1fr);
  }
  .hd-price-grid--3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hd-price-grid--3 .hd-price-card:last-child:nth-child(odd){
    grid-column:1/-1;
    width:min(100%,430px);
    justify-self:center;
  }
  .hd-type-count-3 .hd-team-item{
    grid-template-columns:44px minmax(0,1fr) auto minmax(90px,auto) 16px;
    row-gap:0;
  }
  .hd-type-count-3 .hd-team-meta{
    grid-column:auto;
    display:block;
    text-align:right;
  }
  .hd-type-count-3 .hd-team-meta small{
    text-align:right;
  }
  .hd-type-count-3 .hd-team-item::after{
    grid-column:auto;
    grid-row:auto;
  }
  .hd-type-count-0 .hd-team-list{
    grid-template-columns:minmax(0,1fr);
  }
}

@media(max-width:600px){
  .hd-price-grid--3,
  .hd-price-grid--2,
  .hd-price-grid--1{
    grid-template-columns:minmax(0,1fr);
  }
  .hd-price-grid--3 .hd-price-card:last-child:nth-child(odd),
  .hd-price-grid--1 .hd-price-card{
    grid-column:auto;
    width:100%;
    max-width:none;
  }
  .hd-price-card{
    min-height:0;
  }
  .hd-type-count-3 .hd-team-item{
    grid-template-columns:38px minmax(0,1fr) auto 14px;
    gap:8px;
  }
  .hd-type-count-3 .hd-team-meta{
    grid-column:2/4;
    display:flex;
    justify-content:space-between;
    align-items:center;
    text-align:left;
  }
  .hd-type-count-3 .hd-team-item::after{
    grid-column:4;
    grid-row:1/3;
    align-self:center;
  }
  .hd-registration-closed{
    align-items:flex-start;
    padding:12px;
  }
}
