﻿/* Event-only accessibility corrections; loaded after the shared shell. */
:root { --pink-deep: #ad1743; --muted: #535b69; }
body { color: #252b39; }
.sub-heading, .speaker-sec .speaker-detail,
.about-sec .about-cards .about-card .heading span { color: #ad1743 !important; }
.about-sec .about-info .text-des,
.about-sec .about-cards .about-card .text-des,
.about-sec .location-details .media .media-body p,
.testimonial-review .text-des { color: #444b58; opacity: 1; font-weight: 400; }
.about-sec .about-info .text-des { text-align: left; line-height: 1.8; }
.speaker-sec .speaker-detail { opacity: 1; }
.about-sec .ab-card.active .about-card .heading span { color: #ffb4cc !important; }
.about-sec .ab-card.active .about-card .text-des { color: #fff !important; opacity: 1; }
/* Opaque cards sever the contrast dependency on the moving photograph. */
.timeline-sec { position: relative; background-color: #182033 !important; }
.timeline-sec .timeline-overlay { background: linear-gradient(180deg,rgba(8,13,29,.52),rgba(8,13,29,.28) 420px,rgba(8,13,29,.38)); }
.timeline-sec .timeline-heading .large-heading { color: #fff !important; }
.timeline-sec .timeline-heading .sub-heading { color: #ffcedd !important; }
.timeline-sec .timeline .event-details { background: #fff !important; color: #303746; }
.timeline-sec .timeline .event-details .text-des { color: #444b58; opacity: 1; font-weight: 400; line-height: 1.75; }
.timeline-sec .event-place { color: #535b69; }
.timeline-sec .event-time { background: #ad1743; color: #fff; }
.timeline-sec .event-time span { opacity: 1; }
.timeline-sec .timeline-year .t-year .heading { color: #222638; }
/* Keep the scene bright; shade the copy at the bottom of the hero only. */
#slide-18-layer-1::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(8,13,29,.2),transparent 32%,transparent 48%,rgba(8,13,29,.64) 78%,rgba(8,13,29,.72)); }
#slider-sec a.tp-caption { text-shadow: 0 2px 5px rgba(0,0,0,.65); }
.count-sec .count-overlay { background: rgba(8,13,29,.22); }
.count-sec .count-li { background: rgba(8,13,29,.82); }
/* Solid colour endpoints also cover hover and selected states. */
.btn-feny, .cbp-filter-item-active, .cbp-filter-item:hover,
.navbar-light .navbar-nav .nav-link, .faq-wrap summary::after { background: #ad1743 !important; color: #fff !important; }
.portfolio-sec .cbp-l-filters-alignCenter .cbp-filter-item { opacity: 1; }
.anim-btn, .pricing-sec .pricing-card button { color: #ad1743 !important; border-color: #ad1743; background-color: #fff; }
.anim-btn span { background: #ad1743; }
.anim-btn:hover { color: #fff !important; background: #ad1743; }
.pricing-sec .pricing-card .pricing-heading { color: #ad1743; }
.pricing-sec .price-text .small-text { color: #535b69; }
.pricing-sec .pricing-card:not(.active):hover { background: #fff; }
.pricing-sec .pricing-card:not(.active):hover .pricing-heading { color: #ad1743 !important; border-color: #d9d9d9; }
.pricing-sec .pricing-card:not(.active):hover .p-price { color: #0b1226 !important; }
.pricing-sec .pricing-card:not(.active):hover .p-since,
.pricing-sec .pricing-card:not(.active):hover .small-text,
.pricing-sec .pricing-card:not(.active):hover .feature-list li { color: #535b69; }
.pricing-sec .pricing-card .feature-list li i,
.pricing-sec .pricing-card:not(.active):hover .feature-list li i { color: #397817; }
.pricing-sec .pricing-card.active .small-text,
.pricing-sec .pricing-card.active .feature-list li i { color: #fff; }
.pricing-sec .pricing-card button:hover { background: #ad1743; color: #fff !important; }
.avatar-init { background: #ad1743; }
.avatar-init.gold { background: #854719; }
.brand-sec .sponsor-label, .brand-sec .sponsor-pill { color: #303746; opacity: 1; }
.brand-sec .sponsor-pill { background: #fff; border-color: #ded5d9; }
.brand-sec .sponsor-pill i { color: #ad1743; }
.footer-credit { color: #b5bdce; }
.news-small { opacity: 1; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ad1743; outline-offset: 4px; }
@media (max-width: 767px) {
  #slide-18-layer-1::after { background: linear-gradient(180deg,rgba(8,13,29,.18),transparent 35%,rgba(8,13,29,.15) 50%,rgba(8,13,29,.68) 70%,rgba(8,13,29,.76)); }
}

/* Prevent the tall programme section from stretching a landscape photo to its full height; keep parallax positioning. */
.timeline-sec { background-size: 100% auto !important; background-repeat: repeat-y !important; }
