/* Event page header and expanding sections (functions/event-hero.php). */
.single-event .page-header{height:auto!important;min-height:0!important;padding-bottom:110px!important}
.single-event .page-header header{padding:0!important}
.ev-hero{max-width:1130px;margin:46px 0 0 0;padding-right:24px}
.ev-title{font-family:"Barlow Condensed","Barlow Semi Condensed","Barlow",sans-serif!important;font-weight:600;color:#fdfdfb!important;font-size:clamp(38px,4.1vw,60px);line-height:1.04;letter-spacing:-.005em;margin:0 0 22px;max-width:32ch;text-wrap:balance}
.ev-facts{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-wrap:wrap;gap:12px 30px}
.ev-facts li{display:flex;align-items:center;gap:10px;color:#fdfdfb;font-family:"Barlow",sans-serif;font-weight:600;font-size:20px;margin:0}
.ev-facts svg{width:24px;height:24px;fill:none;stroke:#efae36;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ev-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.ev-book{display:inline-block;background:#efae36;color:#1f2933!important;font-family:"Barlow",sans-serif;font-weight:700;font-size:18px;padding:13px 30px;border-radius:6px;text-decoration:none!important}
.ev-book:hover{background:#f6c25e}
.ev-cpd{color:#d9e6f3;font-family:"Barlow",sans-serif;font-size:16px}
@media (max-width:760px){
 .single-event .page-header{padding-bottom:90px!important}
 .ev-hero{margin:22px 32px 0 0;padding-right:0;width:auto;max-width:100%;box-sizing:border-box}
 .ev-title{font-size:34px;max-width:none}
 .ev-facts{flex-direction:column;gap:10px;margin-bottom:22px}
 .ev-facts li{font-size:18px}
 .ev-book{display:block;width:100%;box-sizing:border-box;text-align:center}
}
#single-event .event-overview,#single-event .event-overview+hr{display:none!important}
/* Expanding sections */
#single-event .accordion[data-accordion]{background:transparent!important;border:0!important;margin:28px 0 0!important}
#single-event .accordion[data-accordion] .accordion-item{background:#fdfdfb;border:1px solid #dfe4ea;border-radius:12px;margin:0 0 12px!important;overflow:hidden;box-shadow:0 1px 2px rgba(0,43,82,.05);transition:border-color .2s,box-shadow .2s}
#single-event .accordion[data-accordion] .accordion-item:hover{border-color:#b9c9da}
#single-event .accordion[data-accordion] .accordion-item.is-active{border-color:#004b8b;box-shadow:0 6px 18px -10px rgba(0,43,82,.35)}
#single-event .accordion[data-accordion] .accordion-title{border:0!important;background:transparent!important;padding:20px 72px 20px 24px!important;font-family:"Barlow Condensed","Barlow",sans-serif!important;font-weight:600!important;font-size:22px!important;line-height:1.2!important;color:#1f2933!important;text-decoration:none!important;position:relative}
#single-event .accordion[data-accordion] .is-active>.accordion-title{color:#004b8b!important}
#single-event .accordion[data-accordion] .accordion-title::before{content:""!important;position:absolute;right:22px;top:50%;width:34px;height:34px;margin-top:-17px!important;border-radius:50%;background:#004b8b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23efae36' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .25s ease}
#single-event .accordion[data-accordion] .is-active>.accordion-title::before{content:""!important;transform:rotate(180deg)}
#single-event .accordion[data-accordion] .accordion-title:focus-visible{outline:3px solid #efae36;outline-offset:-3px}
#single-event .accordion[data-accordion] .accordion-content{border:0!important;background:transparent!important;padding:0 24px 22px!important;color:#4d4d4d;font-size:17px;line-height:1.65}
@media (max-width:760px){#single-event .accordion[data-accordion] .accordion-title{font-size:19px!important;padding:17px 64px 17px 18px!important}#single-event .accordion[data-accordion] .accordion-title::before{right:16px;width:30px;height:30px;margin-top:-15px!important}#single-event .accordion[data-accordion] .accordion-content{padding:0 18px 18px!important}}
@media (prefers-reduced-motion:reduce){#single-event .accordion[data-accordion] .accordion-title::before,#single-event .accordion[data-accordion] .accordion-item{transition:none}}
/* Zoom and small screens: the theme's grid gutter (-16px each side) and footer bled past the
   window on event pages, so the page scrolled sideways at most widths. */
#single-event,.single-event .footer{overflow-x:clip}
.single-event .em-booking-form-tickets{max-width:100%;overflow-x:auto}
@media (max-width:420px){.single-event table.em-tickets th,.single-event table.em-tickets td{padding:8px 6px!important;font-size:15px;word-break:break-word}}
/* Dates box in the side column: a clean card matching the expanding sections. */
.single-event .event-details>h3{font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:600;color:#004b8b;margin:28px 0 12px}
.single-event .event-details .tabs{border:0;background:transparent;display:flex;gap:8px;margin:0 0 12px}
.single-event .event-details .tabs:empty{display:none}
.single-event .event-details .tabs-title{float:none}
.single-event .event-details .tabs-title>a{padding:8px 16px;border:1px solid #dfe4ea;border-radius:999px;background:#fdfdfb!important}
.single-event .event-details .tabs-title>a h4{margin:0;font-size:16px;font-weight:600;color:#1f2933}
.single-event .event-details .tabs-title.is-active>a,.single-event .event-details .tabs-title>a[aria-selected=true]{background:#004b8b!important;border-color:#004b8b}
.single-event .event-details .tabs-title.is-active>a h4,.single-event .event-details .tabs-title>a[aria-selected=true] h4{color:#fdfdfb}
.single-event .event-details .tabs-content{background:transparent;border:0}
.single-event .event-details .tabs-panel{padding:0}
.single-event .event-details-inner{background:#fdfdfb;border:1px solid #dfe4ea;border-radius:12px;padding:6px 24px;box-shadow:0 1px 2px rgba(0,43,82,.05)}
.single-event .event-details-inner>br{display:none}
.single-event .event-details-inner>.event-details-content{margin:0;padding:18px 0}
.single-event .event-details-inner>.event-details-content:not(:has(*)),.single-event .event-details-inner>hr{display:none}
.single-event .event-details-inner>hr+.event-details-content:has(*){border-top:1px solid #dfe4ea}
.single-event .event-details .event-date-time{width:100%;padding:0;margin:0}
.single-event .event-details .event-date-time .date,.single-event .event-details .event-date-time .time{display:flex;align-items:center;gap:10px;color:#1f2933;font-family:"Barlow",sans-serif;font-size:17px;line-height:1.4}
.single-event .event-details .event-date-time .date{font-weight:700;font-size:19px;margin-bottom:6px}
.single-event .event-details .event-date-time .date br{display:none}
.single-event .event-details .event-date-time .date::before,.single-event .event-details .event-date-time .time::before{content:"";flex:none;width:22px;height:22px;background:#efae36;-webkit-mask:var(--ev-ic) center/contain no-repeat;mask:var(--ev-ic) center/contain no-repeat}
.single-event .event-details .event-date-time .date{--ev-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.single-event .event-details .event-date-time .time{--ev-ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E")}
.single-event .event-details #booknow{display:inline-block;margin-top:16px;background:#efae36;color:#1f2933!important;font-family:"Barlow",sans-serif;font-weight:700;font-size:17px;padding:12px 28px;border-radius:6px;text-decoration:none!important;border:0;box-shadow:none}
.single-event .event-details #booknow:hover{background:#f6c25e}
@media (max-width:760px){.single-event .event-details #booknow{display:block;text-align:center}}
/* The theme styles #booknow and tab headings with stronger rules; these win. */
html body.single-event #single-event .event-details .tabs-content a#booknow,html body.single-event .event-details a#booknow{color:#1f2933!important;background:#efae36!important}
html body.single-event .event-details a#booknow:hover{background:#f6c25e!important}
html body.single-event .event-details .tabs-title.is-active>a h4,html body.single-event .event-details .tabs-title>a[aria-selected=true] h4{color:#fdfdfb!important}
@media (max-width:760px){html body.single-event .event-details a#booknow{display:block!important;width:100%;box-sizing:border-box;text-align:center}}
html body.single-event .event-details .tabs-content,html body.single-event .event-details .tabs-panel{background:transparent!important;border:0!important;box-shadow:none!important}
.ev-facts li.is-sold-out span{background:#c62828;color:#fff;padding:2px 10px;border-radius:4px}
.ev-facts li.is-limited span{background:#efae36;color:#1f2933;padding:2px 10px;border-radius:4px}
