/**
 * Premium Blue Branding — Event Page Override
 * Matches the legacy AMM ASCENT design: navy section bands, white content, green accents.
 *
 * Palette:
 * - Navy:       #1B3A5C
 * - Dark Navy:  #0F2540
 * - Green:      #18A1A4 (keep existing)
 * - Gold:       #D4A843
 * - White:      #FFFFFF
 */

/* ============================================
   PAGE BACKGROUND
   ============================================ */

.event-brand-premium .elementor-location-single {
    background: linear-gradient(to bottom, #0F2540 0%, #1B3A5C 10%, #18A1A4 25%, #4EC6C8 40%, #A8E6E8 55%, #D6F0F0 70%, #EEF9F9 85%, #fff 100%) !important;
}

/* ============================================
   TOP ACCENT STRIP
   ============================================ */

.event-brand-premium::before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0F2540 0%, #1B3A5C 50%, #0F2540 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
}

.event-brand-premium {
    padding-top: 5px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */

.event-brand-premium .eael-breadcrumbs__content {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
}

.event-brand-premium .eael-breadcrumbs__content a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.event-brand-premium .eael-breadcrumbs__content a:hover {
    color: #fff !important;
}

.event-brand-premium .eael-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5) !important;
}

.event-brand-premium .eael-current {
    color: #fff !important;
}

.event-brand-premium .eael-breadcrumbs {
    border: none !important;
}

/* ============================================
   CONTENT SECTIONS — White background for readability
   ============================================ */

.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+5) > .e-con-inner {
    background: #fff;
    padding: 10px 40px;
}

.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+5) {
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    gap: 0 !important;
}

.event-brand-premium .mrna-event-about,
.event-brand-premium .mrna-event-recap,
.event-brand-premium .mrna-why-attend,
.event-brand-premium .mrna-sponsors,
.event-brand-premium .mrna-agenda,
.event-brand-premium .mrna-speakers-block {
    padding: 20px 0 !important;
}

/* Empty sections / spacers — no white background */
.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+5) > .e-con-inner:has(.elementor-widget-spacer),
.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+5) > .e-con-inner:has(.elementor-shortcode:empty) {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* First non-empty content section gets rounded top */
.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+5) > .e-con-inner:not(:has(.elementor-widget-spacer)):not(:has(.elementor-shortcode:empty)) {
    border-radius: 0;
}

/* Use a general first visible approach: the section with .mrna-event-about gets the rounded top */
.event-brand-premium .mrna-event-about {
    border-radius: 12px 12px 0 0;
    margin-top: -40px;
    padding-top: 60px !important;
}

/* Last content section gets rounded bottom */
.event-brand-premium .elementor-location-single > .e-con.e-parent:last-of-type > .e-con-inner {
    border-radius: 0 0 12px 12px;
}

/* Middle sections — no border radius */
.event-brand-premium .elementor-location-single > .e-con.e-parent:nth-child(n+6):not(:last-of-type) > .e-con-inner {
    border-radius: 0;
}

/* ============================================
   SECTION HEADER BANDS
   ============================================ */

.event-brand-premium .mrna-speakers-block h2,
.event-brand-premium .mrna-agenda h2 {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-agenda__title {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-agenda__time {
    color: #D4A843 !important;
}

.event-brand-premium .mrna-agenda__desc {
    color: #555 !important;
}

.event-brand-premium .mrna-agenda__item {
    border-bottom-color: #eee !important;
}

.event-brand-premium .mrna-agenda__accordion-header {
    color: #1B3A5C !important;
    border-bottom-color: #1B3A5C !important;
}

.event-brand-premium .mrna-agenda__accordion-header .mrna-agenda__chevron {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-agenda__day-static {
    color: #1B3A5C !important;
    border-bottom-color: #1B3A5C !important;
}

/* ============================================
   SPEAKERS
   ============================================ */

.event-brand-premium .mrna-speaker-card__photo {
    border-color: #1B3A5C !important;
}

.event-brand-premium .mrna-speaker-card__name {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-speaker-card__title,
.event-brand-premium .mrna-speaker-card__company {
    color: #555 !important;
}

/* Speakers accent bar */
.event-brand-premium .mrna-speakers-block div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

/* Speakers load more button */
.event-brand-premium .mrna-speakers-load-more {
    color: #1B3A5C !important;
    border-color: #1B3A5C !important;
}

.event-brand-premium .mrna-speakers-load-more:hover {
    background: #1B3A5C !important;
    color: #fff !important;
}

/* ============================================
   SPONSORS
   ============================================ */

.event-brand-premium .mrna-sponsors h2 {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-sponsors h3 {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-sponsors div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

.event-brand-premium .mrna-sponsors__tier-title {
    color: #1B3A5C !important;
}

/* ============================================
   WHY ATTEND
   ============================================ */

.event-brand-premium .mrna-why-attend div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

.event-brand-premium .mrna-why-attend__item {
    border-right-color: #1B3A5C !important;
}

/* ============================================
   CTA BUTTONS — handled in PHP via inline styles
   ============================================ */

/* ============================================
   ABOUT THIS EVENT — white with navy heading accent
   ============================================ */

.event-brand-premium .mrna-event-about div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

/* ============================================
   EVENT RECAP
   ============================================ */

.event-brand-premium .mrna-event-recap div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

/* ============================================
   ABOUT SECTION (Bottom)
   ============================================ */

.event-brand-premium .elementor-location-single > .e-con.e-parent:last-of-type div[style*="background:#18A1A4"] {
    background: #1B3A5C !important;
}

/* ============================================
   INFO BAR
   ============================================ */

.event-brand-premium .event-info-bar {
    border-top: 4px solid #1B3A5C;
}

.event-brand-premium .event-info-bar__label {
    color: #1B3A5C !important;
}

.event-brand-premium .event-info-bar a {
    color: #1B3A5C !important;
}

/* ============================================
   AGENDA SPEAKER MINI AVATARS
   ============================================ */

.event-brand-premium .mrna-agenda__speaker img {
    border-color: #D4A843 !important;
}

.event-brand-premium .mrna-agenda__speaker-name {
    color: #D4A843 !important;
}

.event-brand-premium .mrna-agenda__speaker-role {
    color: #aaa !important;
}

/* ============================================
   LINKS & MISC
   ============================================ */

.event-brand-premium a[style*="color:#18A1A4"] {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-homepage-feed__title a:hover {
    color: #1B3A5C !important;
}

.event-brand-premium .mrna-homepage-feed__badge--event {
    background: #1B3A5C !important;
}

/* ============================================
   NEWSLETTER / STAY INFORMED
   ============================================ */

.event-brand-premium .event-stay-informed__submit {
    background: #1B3A5C !important;
    border-color: #1B3A5C !important;
}

/* ============================================
   VIDEO EMBED
   ============================================ */

/* ============================================
   MOBILE OVERFLOW FIX
   ============================================ */

.event-brand-premium .mrna-sponsors,
.event-brand-premium .mrna-event-about,
.event-brand-premium .mrna-event-recap,
.event-brand-premium .mrna-why-attend,
.event-brand-premium .mrna-agenda {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.event-brand-premium .mrna-sponsors a,
.event-brand-premium .mrna-event-about a {
    word-break: break-all;
}
