:root{
  --hcpa-blue:#0057b8;
  --hcpa-royal:#0066cc;
  --hcpa-navy:#071a33;
  --hcpa-navy-2:#0c274c;
  --hcpa-yellow:#f4c400;
  --hcpa-white:#ffffff;
  --hcpa-ink:#11243d;
  --hcpa-muted:#5f6f82;
  --hcpa-line:#d9e2ec;
  --hcpa-soft:#f5f8fb;
}

body.hcpa-events-experience-page .entry-header,
body.hcpa-events-experience-page .entry-title{
  display:none!important;
}

body.hcpa-events-experience-page .site-content .ast-container,
body.hcpa-events-experience-page .site-main,
body.hcpa-events-experience-page article,
body.hcpa-events-experience-page .entry-content{
  max-width:none!important;
  width:100%!important;
}

body.hcpa-events-experience-page .site-content .ast-container{
  padding-left:0!important;
  padding-right:0!important;
}

body.hcpa-events-experience-page .entry-content{
  margin:0!important;
}

.hcpa-events-experience{
  width:100%;
  overflow:clip;
  background:var(--hcpa-white);
  color:var(--hcpa-ink);
  font-family:inherit;
}

.hcpa-events-experience *,
.hcpa-events-experience *:before,
.hcpa-events-experience *:after{
  box-sizing:border-box;
}

.hcpa-events-shell{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}

.hcpa-events-hero{
  position:relative;
  background:
    radial-gradient(circle at 15% 15%,rgba(0,102,204,.28),transparent 34%),
    linear-gradient(120deg,var(--hcpa-navy) 0%,#09274e 62%,#0d3568 100%);
  color:var(--hcpa-white);
  min-height:620px;
  display:flex;
  align-items:stretch;
}

.hcpa-events-hero:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:6px;
  background:linear-gradient(90deg,var(--hcpa-yellow) 0 22%,var(--hcpa-blue) 22% 100%);
}

.hcpa-events-hero__content{
  width:min(1280px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);
  align-items:center;
  gap:42px;
  padding:72px 52px 76px;
}

.hcpa-events-hero__copy{
  position:relative;
  z-index:3;
  max-width:650px;
}

.hcpa-events-eyebrow,
.hcpa-events-section-heading>span{
  display:block;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  line-height:1.25;
  font-weight:800;
}

.hcpa-events-eyebrow{
  color:var(--hcpa-yellow);
  margin-bottom:14px;
}

.hcpa-events-hero h1{
  color:#fff!important;
  font-size:clamp(48px,5.5vw,82px)!important;
  line-height:.98!important;
  letter-spacing:-.035em;
  margin:0!important;
  font-weight:800!important;
  max-width:700px;
}

.hcpa-events-title-rule,
.hcpa-events-section-rule{
  height:4px;
  width:96px;
  margin:26px 0;
  background:linear-gradient(90deg,var(--hcpa-yellow) 0 52%,var(--hcpa-blue) 52% 100%);
}

.hcpa-events-hero p{
  color:rgba(255,255,255,.9)!important;
  font-size:19px!important;
  line-height:1.7!important;
  margin:0!important;
  max-width:660px;
}

.hcpa-events-hero__visual{
  position:relative;
  min-height:500px;
}

.hcpa-events-hero__visual figure{
  margin:0;
  overflow:hidden;
  background:#111;
  box-shadow:0 24px 50px rgba(0,0,0,.28);
}

.hcpa-events-hero__visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.hcpa-events-hero__main{
  position:absolute;
  inset:38px 34px 34px 52px;
  z-index:1;
  border:5px solid rgba(255,255,255,.94);
}

.hcpa-events-hero__accent{
  position:absolute;
  width:39%;
  height:39%;
  z-index:2;
  border:5px solid #fff;
}

.hcpa-events-hero__accent--one{
  right:0;
  top:0;
}

.hcpa-events-hero__accent--two{
  left:0;
  bottom:0;
}

.hcpa-events-local-nav{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--hcpa-navy);
  border-bottom:5px solid var(--hcpa-yellow);
  box-shadow:0 8px 24px rgba(10,34,66,.16);
  padding:14px 0;
}

body.admin-bar .hcpa-events-local-nav{top:32px;}

.hcpa-events-local-nav__inner{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.hcpa-events-local-nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:13px 16px;
  background:var(--hcpa-blue);
  border:1px solid rgba(255,255,255,.22);
  color:#fff!important;
  text-align:center;
  text-decoration:none!important;
  font-size:14px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:.01em;
  border-radius:0!important;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.hcpa-events-local-nav a:hover,
.hcpa-events-local-nav a:focus-visible,
.hcpa-events-local-nav a.is-active{
  background:var(--hcpa-yellow);
  color:var(--hcpa-navy)!important;
  transform:translateY(-1px);
}

.hcpa-events-local-nav a:focus-visible{
  outline:3px solid #fff;
  outline-offset:2px;
}

.hcpa-events-categories{
  padding:78px 0 86px;
  background:#fff;
}

.hcpa-events-section-heading{
  margin-bottom:34px;
  max-width:780px;
}

.hcpa-events-section-heading--center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.hcpa-events-section-heading>span{
  color:var(--hcpa-blue);
  margin-bottom:10px;
}

.hcpa-events-section-heading h2{
  color:var(--hcpa-navy)!important;
  font-size:clamp(34px,4vw,54px)!important;
  line-height:1.05!important;
  letter-spacing:-.025em;
  margin:0!important;
  font-weight:800!important;
}

.hcpa-events-section-heading--center .hcpa-events-section-rule{
  margin-left:auto;
  margin-right:auto;
}

.hcpa-events-category-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid var(--hcpa-line);
}

.hcpa-events-category-card{
  min-height:128px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:18px;
  padding:24px 22px;
  color:var(--hcpa-navy);
  font-size:15px;
  line-height:1.35;
  font-weight:800;
  background:#fff;
  border-right:1px solid var(--hcpa-line);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.hcpa-events-category-card:last-child{border-right:0;}

.hcpa-events-category-card:hover{
  position:relative;
  z-index:2;
  transform:translateY(-5px);
  box-shadow:0 16px 36px rgba(7,26,51,.12);
  background:var(--hcpa-soft);
}

.hcpa-events-category-mark{
  width:40px;
  height:5px;
  display:block;
  background:linear-gradient(90deg,var(--hcpa-yellow) 0 50%,var(--hcpa-blue) 50% 100%);
}

.hcpa-events-gallery-section{
  padding:82px 0 94px;
  background:var(--hcpa-soft);
  border-top:1px solid #e5ebf2;
  border-bottom:1px solid #e5ebf2;
}

.hcpa-events-gallery{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  grid-auto-rows:155px;
  gap:14px;
}

.hcpa-events-gallery-card{
  position:relative;
  grid-column:span 4;
  grid-row:span 2;
  margin:0;
  overflow:hidden;
  background:#101820;
}

.hcpa-events-gallery-card--wide{
  grid-column:span 8;
}

.hcpa-events-gallery-card--tall{
  grid-row:span 4;
}

.hcpa-events-gallery-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .42s ease;
}

.hcpa-events-gallery-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 45%,rgba(4,14,28,.82));
  pointer-events:none;
}

.hcpa-events-gallery-card:hover img{transform:scale(1.035);}

.hcpa-events-gallery-card figcaption{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:17px;
  color:#fff!important;
  font-size:15px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.01em;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}

.hcpa-events-hero,
.hcpa-events-dynamic-section,
.hcpa-events-ticket-zone,
#hcpa-current-events-list{
  scroll-margin-top:118px;
}

.hcpa-events-dynamic-section{
  padding:88px 0 100px;
  background:#fff;
}


.hcpa-events-ticket-zone{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  margin:0 0 28px;
  padding:26px 28px;
  background:linear-gradient(110deg,var(--hcpa-navy),var(--hcpa-navy-2));
  color:#fff;
  border-left:7px solid var(--hcpa-yellow);
  box-shadow:0 14px 34px rgba(7,26,51,.14);
}

.hcpa-events-ticket-zone__mark{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:2px solid var(--hcpa-yellow);
  background:rgba(255,255,255,.06);
}

.hcpa-events-ticket-zone__mark span{
  display:block;
  width:6px;
  height:28px;
  background:var(--hcpa-yellow);
  transform:skew(-13deg);
}

.hcpa-events-ticket-zone__copy>span{
  display:block;
  margin-bottom:5px;
  color:var(--hcpa-yellow);
  font-size:11px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.hcpa-events-ticket-zone h3{
  margin:0 0 7px!important;
  color:#fff!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:800!important;
}

.hcpa-events-ticket-zone p{
  margin:0!important;
  color:rgba(255,255,255,.86)!important;
  font-size:15px!important;
  line-height:1.55!important;
  max-width:720px;
}

.hcpa-events-ticket-zone__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 18px;
  background:var(--hcpa-yellow);
  color:var(--hcpa-navy)!important;
  border:2px solid var(--hcpa-yellow);
  border-radius:0!important;
  text-decoration:none!important;
  text-align:center;
  font-size:13px;
  line-height:1.25;
  font-weight:800;
}

.hcpa-events-ticket-zone__button:hover,
.hcpa-events-ticket-zone__button:focus-visible{
  background:#fff;
  border-color:#fff;
  color:var(--hcpa-navy)!important;
}

.hcpa-events-dynamic-section--past{
  background:linear-gradient(135deg,var(--hcpa-navy),#0a2f5d);
  color:#fff;
}

.hcpa-events-section-heading--light>span{color:var(--hcpa-yellow);}
.hcpa-events-section-heading--light h2{color:#fff!important;}

.hcpa-events-dynamic-content{
  position:relative;
  background:#fff;
  border-top:5px solid var(--hcpa-blue);
  box-shadow:0 20px 50px rgba(7,26,51,.10);
  padding:30px;
  min-height:80px;
}

.hcpa-events-dynamic-content--dark{
  background:#fff;
  color:var(--hcpa-ink);
  border-top-color:var(--hcpa-yellow);
}

.hcpa-events-dynamic-content :where(.button,a.button,button,input[type="submit"]){
  border-radius:0!important;
}

.hcpa-events-admin-note{
  border:1px dashed #d29700;
  background:#fff7d6;
  color:#6c5200;
  padding:14px 16px;
  font-size:14px;
}

@media(max-width:1050px){
  .hcpa-events-hero__content{
    grid-template-columns:1fr 1fr;
    padding-left:34px;
    padding-right:34px;
  }
  .hcpa-events-category-grid{grid-template-columns:repeat(3,1fr);}
  .hcpa-events-category-card:nth-child(3){border-right:0;}
  .hcpa-events-category-card:nth-child(-n+3){border-bottom:1px solid var(--hcpa-line);}
}

@media(max-width:820px){
  body.admin-bar .hcpa-events-local-nav{top:46px;}
  .hcpa-events-shell,
  .hcpa-events-local-nav__inner{width:min(100% - 32px,1180px);}
  .hcpa-events-hero{min-height:auto;}
  .hcpa-events-hero__content{
    grid-template-columns:1fr;
    padding:58px 24px 66px;
    gap:38px;
  }
  .hcpa-events-hero__copy{max-width:none;}
  .hcpa-events-hero__visual{min-height:430px;}
  .hcpa-events-local-nav{padding:10px 0;}
  .hcpa-events-local-nav__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .hcpa-events-local-nav a{min-height:52px;padding:10px 12px;font-size:13px;}
  .hcpa-events-ticket-zone{grid-template-columns:auto 1fr;gap:18px;padding:22px;}
  .hcpa-events-ticket-zone__button{grid-column:1/-1;width:100%;}
  .hcpa-events-category-grid{grid-template-columns:1fr 1fr;}
  .hcpa-events-category-card,
  .hcpa-events-category-card:nth-child(3){border-right:1px solid var(--hcpa-line);border-bottom:1px solid var(--hcpa-line);}
  .hcpa-events-category-card:nth-child(even){border-right:0;}
  .hcpa-events-category-card:last-child{grid-column:1/-1;border-right:0;border-bottom:0;}
  .hcpa-events-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px;}
  .hcpa-events-gallery-card,
  .hcpa-events-gallery-card--wide,
  .hcpa-events-gallery-card--tall{grid-column:span 1;grid-row:span 1;}
  .hcpa-events-gallery-card:first-child{grid-column:1/-1;}
}

@media(max-width:560px){
  .hcpa-events-shell,
  .hcpa-events-local-nav__inner{width:min(100% - 28px,1180px);}
  .hcpa-events-local-nav a{font-size:12px;min-height:54px;padding:9px 8px;}
  .hcpa-events-hero__content{padding:48px 18px 56px;}
  .hcpa-events-hero h1{font-size:44px!important;}
  .hcpa-events-hero p{font-size:17px!important;line-height:1.65!important;}
  .hcpa-events-hero__visual{min-height:330px;}
  .hcpa-events-hero__main{inset:28px 12px 20px 28px;border-width:4px;}
  .hcpa-events-hero__accent{border-width:4px;width:40%;height:40%;}
  .hcpa-events-categories,
  .hcpa-events-gallery-section,
  .hcpa-events-dynamic-section{padding-top:66px;padding-bottom:72px;}
  .hcpa-events-section-heading h2{font-size:34px!important;}
  .hcpa-events-category-grid{grid-template-columns:1fr;}
  .hcpa-events-category-card,
  .hcpa-events-category-card:nth-child(3),
  .hcpa-events-category-card:nth-child(even),
  .hcpa-events-category-card:last-child{grid-column:auto;border-right:0;border-bottom:1px solid var(--hcpa-line);}
  .hcpa-events-category-card:last-child{border-bottom:0;}
  .hcpa-events-gallery{grid-template-columns:1fr;grid-auto-rows:250px;}
  .hcpa-events-gallery-card,
  .hcpa-events-gallery-card:first-child{grid-column:1;}
  .hcpa-events-ticket-zone{grid-template-columns:1fr;padding:20px;gap:14px;}
  .hcpa-events-ticket-zone__mark{width:48px;height:48px;}
  .hcpa-events-ticket-zone__button{grid-column:auto;}
  .hcpa-events-dynamic-content{padding:18px;}
}

@media(prefers-reduced-motion:reduce){
  .hcpa-events-gallery-card img,
  .hcpa-events-category-card,
  .hcpa-events-local-nav a{transition:none!important;}
  html{scroll-behavior:auto!important;}
}

/* === v1.2.0 Admin Portal-connected current event gallery === */
#hcpa-current-event-gallery{scroll-margin-top:118px;}
.hcpa-current-event-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:26px;
  margin-top:4px;
}
.hcpa-current-event-card{
  display:flex;
  flex:0 1 calc((100% - 78px)/4);
  max-width:calc((100% - 78px)/4);
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid #dfe7f0;
  border-top:5px solid var(--hcpa-blue);
  box-shadow:0 14px 34px rgba(7,26,51,.10);
  overflow:hidden;
}
.hcpa-current-event-card__poster{
  position:relative;
  aspect-ratio:4/5;
  background:#eef2f6;
  overflow:hidden;
}
.hcpa-current-event-card__poster img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}
.hcpa-current-event-card__poster-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  background:var(--hcpa-navy);color:#fff;font-weight:800;letter-spacing:.12em;
}
.hcpa-current-event-card__category{
  position:absolute;
  left:14px;
  bottom:14px;
  padding:7px 10px;
  background:var(--hcpa-yellow);
  color:#091a31;
  font:800 11px/1.2 Montserrat,Arial,sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hcpa-current-event-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:22px;
}
.hcpa-current-event-card h3{
  margin:0 0 16px!important;
  color:var(--hcpa-navy)!important;
  font-size:24px!important;
  line-height:1.16!important;
  font-weight:800!important;
}
.hcpa-current-event-card__meta{
  display:grid;
  gap:10px;
  margin-bottom:16px;
  color:#314156;
  font-size:14px;
  line-height:1.45;
}
.hcpa-current-event-card__meta span{
  display:grid;
  grid-template-columns:76px 1fr;
  gap:8px;
}
.hcpa-current-event-card__meta strong{
  color:var(--hcpa-navy);
  font-weight:800;
}
.hcpa-current-event-card__desc{
  margin:0 0 18px;
  color:#425268;
  font-size:14px;
  line-height:1.65;
}
.hcpa-current-event-card__desc p{margin:0 0 10px;}
.hcpa-current-event-card__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:auto;
  padding:12px 18px;
  background:var(--hcpa-blue);
  color:#fff!important;
  text-decoration:none!important;
  text-transform:uppercase;
  font:800 12px/1.2 Montserrat,Arial,sans-serif;
  letter-spacing:.06em;
  border:2px solid var(--hcpa-blue);
  border-radius:0!important;
  transition:.2s ease;
}
.hcpa-current-event-card__cta:hover,
.hcpa-current-event-card__cta:focus{
  background:var(--hcpa-yellow);
  border-color:var(--hcpa-yellow);
  color:#091a31!important;
}
.hcpa-current-event-card__cta.is-unavailable{
  background:#eef2f6;
  border-color:#d8e0e9;
  color:#526275!important;
  cursor:default;
}
.hcpa-events-empty{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:22px 24px;
  background:#f4f6f8;
  border-left:5px solid var(--hcpa-blue);
  color:#25374d;
}
.hcpa-events-empty strong{color:var(--hcpa-navy);font-size:17px;}
.hcpa-events-empty span{font-size:14px;line-height:1.55;}
.hcpa-events-legacy-current{width:100%;}

@media (max-width:1100px){
  .hcpa-current-event-card{
    flex-basis:calc((100% - 26px)/2);
    max-width:calc((100% - 26px)/2);
  }
}
@media (max-width:640px){
  .hcpa-current-event-grid{gap:20px;}
  .hcpa-current-event-card{
    flex-basis:100%;
    max-width:520px;
  }
  .hcpa-current-event-card__poster{aspect-ratio:4/5;}
  .hcpa-current-event-card__body{padding:19px;}
  .hcpa-current-event-card h3{font-size:21px!important;}
}
