/* Event details — ported from bhe-new-design-html/bootstrap/event-details.css.
   Font sizes carry !important because the global build CSS forces h1–h6 and p sizes. */
.ed-page{--navy-950:#102443;--navy-900:#182f53;--navy-800:#20356d;--brand-400:#ffa65e;--brand-500:#f47b20;--brand-600:#d95c13;font-family:Kanit,sans-serif;color:var(--navy-950)}
.ed-page a{text-decoration:none}
.ed-kicker{display:inline-block;font-size:11px!important;letter-spacing:.12em;font-weight:500;color:var(--brand-600);text-transform:uppercase}

/* Layout */
.ed-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px;align-items:start;padding-top:32px;padding-bottom:64px}
.ed-article{min-width:0}
.ed-event-title{font-size:clamp(28px,2.7vw,38px)!important;line-height:1.2;letter-spacing:-.025em;font-weight:500;color:var(--navy-950);margin:0 0 22px;text-wrap:pretty;overflow-wrap:break-word}
.ed-artwork{width:100%;border:1px solid #e3e9f1;border-radius:20px;overflow:hidden;margin:0;padding:0;background:#f8fafc}
.ed-artwork>img{display:block;width:100%;height:auto;aspect-ratio:25/13;object-fit:cover;object-position:center}

/* Story */
.ed-story{padding-top:32px}
.ed-story h2{font-size:32px!important;line-height:1.25;font-weight:500;letter-spacing:-.02em;margin:12px 0 20px;max-width:650px;color:var(--navy-950)}
.ed-story h3{font-size:23px!important;font-weight:500;margin:30px 0 18px;color:var(--navy-950)}
.ed-story p,.ed-story li,.ed-description,.ed-description *{font-size:16px!important;line-height:1.85;color:#63738b}
.ed-description p{margin-bottom:18px}
.ed-description img{max-width:100%;height:auto;border-radius:12px}
.ed-description a{color:var(--brand-600)}
.ed-schedule{background:#f8f9fc;border:1px solid #e3e9f1;border-radius:16px;padding:22px 24px}
.ed-schedule,.ed-schedule *{font-size:15px!important;line-height:1.75;color:#53647d}
.ed-schedule p:last-child{margin-bottom:0}
.ed-contact{border-top:1px solid #e3e9f1;margin-top:36px;padding-top:4px}
.ed-contact a{display:inline-flex;align-items:center;gap:8px;margin:0 24px 12px 0;color:var(--navy-800);font-size:14px!important}
.ed-contact i{color:var(--brand-500)}

/* Sidebar: at-a-glance card */
.ed-sidebar{position:static;min-width:0}
.ed-info{border:1px solid #e0e7f0;border-radius:18px;padding:20px 22px;background:white;box-shadow:0 16px 40px -28px #16315a40}
.ed-info h2{font-size:24px!important;margin:6px 0 14px;font-weight:500;color:var(--navy-950)}
.ed-info dl{margin:0}
.ed-info dl>div{border-top:1px solid #e9edf3;padding:10px 0;display:grid;grid-template-columns:65px minmax(0,1fr);gap:12px;align-items:start}
.ed-info dt{font-size:10px!important;font-weight:400;color:#7a889c;text-transform:uppercase;letter-spacing:.04em;display:flex;align-items:center;gap:7px;padding-top:2px}
.ed-info dt i{color:var(--brand-500);font-size:13px!important;width:14px;text-align:center}
.ed-info dd{font-size:13px!important;line-height:1.5;margin:0;color:var(--navy-800);overflow-wrap:anywhere}
.ed-info .ed-map{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0 0;padding:11px 16px;min-height:42px;border:1px solid #d8e2ef;border-radius:999px;background:#f3f6fb;color:var(--navy-800);font-size:12px!important;font-weight:500;transition:background .2s,border-color .2s}
.ed-info .ed-map:hover{background:#fff3e8;border-color:var(--brand-400);color:var(--brand-600)}
.ed-info .ed-map i{color:var(--brand-500);transform:rotate(-45deg)}

/* Sidebar: registration form */
.ed-registration{margin-top:20px;padding:22px;background:white;border:1px solid #e0e7f0;border-radius:18px}
.ed-registration h2{font-size:20px!important;line-height:1.3;font-weight:500;margin:0 0 8px;color:var(--navy-950)}
.ed-registration>p{font-size:13px!important;color:#63738b;line-height:1.6;margin-bottom:16px}
.ed-registration .ed-form-archive{font-size:11px!important;background:#fff7ef;color:#936137;border-radius:8px;padding:9px 11px}
.ed-registration form{display:flex;flex-direction:column;gap:12px}
.ed-registration input:not([type=radio]),.ed-registration select,.ed-registration textarea{display:block;width:100%;min-width:0;border:1px solid #d2dbe7;border-radius:6px;background:white;padding:10px 11px;color:var(--navy-800);font:inherit;font-size:13px!important}
.ed-registration input::placeholder,.ed-registration textarea::placeholder{color:#7a8594}
.ed-registration input:focus,.ed-registration select:focus,.ed-registration textarea:focus{outline:2px solid var(--brand-400);outline-offset:2px}
.ed-registration fieldset{border:0;padding:0;margin:3px 0 4px;display:flex;flex-wrap:wrap;gap:16px}
.ed-registration legend{float:none;width:100%;font-size:13px!important;color:#63738b;margin:0 0 7px}
.ed-registration label{font-size:12px!important;color:#63738b}
.ed-registration fieldset label{display:flex;gap:7px;align-items:center;font-size:13px!important;margin:0}
.ed-registration input[type=radio]{accent-color:var(--brand-500);width:15px;height:15px;margin:0}
.ed-registration form>label:not(.ed-sr-only){margin:3px 0 -6px}
.ed-registration textarea{resize:vertical}
.ed-error{display:block;font-size:12px!important;color:#c0352b;margin-top:-6px}
.ed-registration fieldset .ed-error{width:100%;margin-top:0}
.ed-captcha{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;gap:8px;align-items:center;margin:4px 0}
.ed-captcha>span{display:flex;align-items:center;background:#fff3e8;border-radius:5px;padding:3px 6px;min-height:38px}
.ed-captcha>span img{display:block;height:32px;width:auto}
.ed-captcha>button{border:0;border-radius:5px;background:var(--brand-500);color:white;height:34px;width:34px}
.ed-captcha>button:hover{background:var(--brand-600)}
.ed-registration .btn-brand{align-self:start;display:inline-flex;gap:20px;align-items:center;font-size:13px!important;font-weight:500;padding:11px 25px;border:0;border-radius:999px;background:linear-gradient(100deg,#ff771b,#ffca00);color:white}
.ed-registration .btn-brand:hover{background:linear-gradient(100deg,#f36b12,#f4bd00);color:white}
.ed-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Sidebar: adviser prompt */
.ed-help{margin-top:22px;border-radius:20px;padding:28px;background:radial-gradient(ellipse at 100% 0,#234675,transparent 80%),var(--navy-950);color:white}
.ed-help>i{font-size:27px!important;color:var(--brand-400)}
.ed-help h3{font-size:26px!important;line-height:1.2;margin:16px 0;color:white;font-weight:400}
.ed-help p{color:#b7c6dc;font-size:14px!important;line-height:1.7}
.ed-help a{display:flex;justify-content:space-between;align-items:center;color:var(--brand-400);font-size:13px!important;margin-top:22px}
.ed-help a i{transform:rotate(-45deg)}

/* Related */
.ed-related{background:#f8f9fc;border-top:1px solid #e4eaf2;padding:56px 0 64px}
.ed-related-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:28px}
.ed-related h2{font-size:34px!important;font-weight:500;margin:10px 0 0;color:var(--navy-950)}
.ed-related-heading>a{color:var(--navy-800);font-size:13px!important}
.ed-related-heading>a i{margin-left:12px}
.ed-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ed-related-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e1e7ef;background:white;border-radius:18px;overflow:hidden;color:var(--navy-950);transition:transform .2s}
.ed-related-card:hover{transform:translateY(-4px);color:var(--navy-950)}
.ed-related-card>img{display:block;width:100%;height:auto;aspect-ratio:25/13;object-fit:cover}
.ed-related-card>div{flex:1;display:flex;flex-direction:column;padding:22px}
.ed-related-card h3{font-size:20px!important;line-height:1.35;margin:10px 0 24px;font-weight:500;color:var(--navy-950)}
.ed-related-date{margin-top:auto;border-top:1px solid #edf1f6;padding-top:15px;display:flex;justify-content:space-between;color:#7a889c;font-size:12px!important}
.ed-related-date i{color:var(--brand-500);transform:rotate(-45deg)}

@media(max-width:991px){
  .ed-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}
  .ed-help{padding:22px}
  .ed-related-grid{gap:16px}
  .ed-related-card>div{padding:18px}
}
@media(max-width:767px){
  .ed-layout{grid-template-columns:1fr;padding-top:24px;padding-bottom:40px;gap:32px}
  .ed-event-title{font-size:28px!important;margin-bottom:18px}
  .ed-story{padding-top:26px}
  .ed-story h2{font-size:28px!important}
  .ed-related{padding:36px 0 40px}
  .ed-related-grid{grid-template-columns:1fr}
  .ed-related-heading{align-items:start;flex-direction:column}
  .ed-related h2{font-size:29px!important}
  .ed-contact a{display:flex}
}
@media(prefers-reduced-motion:reduce){.ed-related-card,.ed-info .ed-map{transition:none}}
