/* ============================================
   ABOC Events — Brand System
   ============================================ */
:root {
    --ae-navy: #003768;
    --ae-blue: #0162FB;
    --ae-gold: #D7B185;
    --ae-dark: #1A1A1A;
    --ae-gray-bg: #EEEEEE;
    --ae-text-body: #333333;
    --ae-text-muted: #666666;
    --ae-font-display: 'Raleway', sans-serif;
    --ae-font-body: 'Source Sans Pro', sans-serif;
}

/* Sitewide typography */
body {
    font-family: var(--ae-font-body) !important;
    background: #FFFFFF;
    color: var(--ae-text-body);
}
.et_pb_section h1, .et_pb_section h2, .et_pb_section h3,
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_text h4 {
    font-family: var(--ae-font-display) !important;
    font-weight: 700 !important;
    color: var(--ae-dark);
}
.et_pb_text p, .et_pb_text li, body p, body li {
    font-family: var(--ae-font-body) !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: var(--ae-text-body);
}

/* Remove Divi sidebar */
#sidebar { display: none !important; }
#left-area { width: 100% !important; padding-right: 0 !important; float: none !important; }

/* ============================================
   Header — transparent overlaid on hero (default)
   ============================================ */
#page-container { padding-top: 0 !important; }
#main-header {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    position: absolute !important;
    top: 0; left: 0; right: 0;
    z-index: 99 !important;
}
/* On non-home pages, sticky white header */
body:not(.home) #main-header {
    background: #FFFFFF !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
    position: relative !important;
}
/* Breathing room between logo and first menu item on secondary pages */
body:not(.home) #main-header #top-menu,
body:not(.home) #main-header .container.et_menu_container > ul.nav {
    margin-left: 4rem !important;
}
/* ===== HOME header: Duda-style stacked center layout ===== */
body.home #main-header .container.et_menu_container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 0 16px !important;
    gap: 14px;
    max-width: 100% !important;
    width: 100% !important;
}
body.home #main-header .logo_container {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    justify-content: center !important;
    flex: 0 0 auto;
}
body.home #main-header #top-menu,
body.home #main-header .container.et_menu_container > ul.nav {
    margin: 0 !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    flex-wrap: wrap;
    width: auto !important;
}
body.home #main-header #top-menu > li > a {
    color: #FFFFFF !important;
    text-shadow: 0 1px 6px rgba(0,0,0,0.55);
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    padding: 6px 0 !important;
}
body.home #main-header #top-menu li.current-menu-item > a,
body.home #main-header #top-menu li > a:hover {
    color: var(--ae-gold) !important;
}
body.home .ae-logo-img--white {
    max-height: 96px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.ae-logo-img { max-height: 70px; }

/* Hide Divi search icon (and any search form) */
#et_search_icon,
#et_top_search,
.et_search_form_container,
.et_search_outer,
.et-search-form,
li.et_pb_menu__search,
.et_pb_menu__search-button { display: none !important; }

#main-header .container.et_menu_container {
    max-width: 1320px !important;
    width: 96% !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    padding: 8px 0 !important;
}
.logo_container {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center;
    float: none !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    flex: 0 0 auto;
}
.ae-logo-img {
    max-height: 64px;
    width: auto;
    height: auto;
}
#main-header .container.et_menu_container > ul.nav,
#main-header #top-menu {
    margin-left: auto !important;
    float: none !important;
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    justify-content: flex-end;
}
#main-header #top-menu > li { padding: 0 !important; margin: 0 !important; }
#main-header #top-menu > li > a {
    color: var(--ae-navy) !important;
    font-family: var(--ae-font-display) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 24px 0 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}
#main-header #top-menu li.current-menu-item > a,
#main-header #top-menu li > a:hover {
    color: var(--ae-blue) !important;
}

/* ============================================
   Buttons
   ============================================ */
.ae-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--ae-blue);
    color: #FFFFFF !important;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    font-family: var(--ae-font-display) !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: background 0.2s;
}
.ae-book-btn:hover {
    background: #014FCC;
    color: #FFFFFF !important;
}
.ae-header-book {
    margin-left: 1.5rem !important;
}
.et_pb_button,
a.et_pb_button {
    background: var(--ae-blue) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 4px !important;
    padding: 12px 28px !important;
    font-family: var(--ae-font-display) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.et_pb_button:after,
.et_pb_button:before { display: none !important; }
.et_pb_button:hover {
    background: #014FCC !important;
    color: #FFFFFF !important;
}

/* ============================================
   Hero — full-bleed photo with text overlay
   ============================================ */
.ae-hero {
    position: relative !important;
    isolation: isolate;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
}
.ae-hero > .et_pb_row {
    position: relative;
    z-index: 2;
    width: 90% !important;
    max-width: 1320px !important;
}
.ae-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}
.ae-hero h1, .ae-hero h2 { color: #FFFFFF !important; }
.ae-hero p, .ae-hero h3 { color: rgba(255, 255, 255, 0.97) !important; }

/* Home hero: full viewport, text bottom-left */
body.home .ae-hero {
    min-height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
}
body.home .ae-hero > .et_pb_row {
    margin: 0 0 8vh 0 !important;
    width: 100% !important;
    padding: 0 6% !important;
    max-width: 100% !important;
}
body.home .ae-hero .et_pb_text { text-align: left; max-width: 760px; }
body.home .ae-hero h1 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 4.5rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 1rem 0 !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
body.home .ae-hero h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400 !important;
    font-size: 1.25rem !important;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 0 2rem 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Interior page heroes: shorter banner */
body:not(.home) .ae-hero {
    min-height: 280px;
    display: flex !important;
    align-items: center !important;
}
body:not(.home) .ae-hero > .et_pb_row {
    margin: 0 auto !important;
    width: 90% !important;
    text-align: center;
}
body:not(.home) .ae-hero .et_pb_text { text-align: center; }
body:not(.home) .ae-hero h1 {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    line-height: 1.05 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 !important;
    text-shadow: 0 3px 14px rgba(0,0,0,0.55);
}

@media (max-width: 720px) {
    body.home .ae-hero h1 { font-size: 2.5rem !important; }
    body:not(.home) .ae-hero h1 { font-size: 2.2rem !important; }
}

/* ============================================
   Feature/card sections
   ============================================ */
.ae-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.ae-feature {
    text-align: center;
    padding: 1rem;
}
.ae-feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--ae-navy);
}
.ae-feature__title {
    font-family: var(--ae-font-display) !important;
    font-weight: 700 !important;
    color: var(--ae-dark) !important;
    font-size: 1.15rem !important;
    margin: 0 0 0.6rem !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.ae-feature__desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ae-text-muted);
    margin: 0;
}

/* Pricing cards */
.ae-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}
.ae-pricing-card {
    background: #F5F5F5;
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.ae-pricing-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    color: var(--ae-navy);
}
.ae-pricing-card__title {
    font-family: var(--ae-font-display) !important;
    font-weight: 800 !important;
    color: var(--ae-dark) !important;
    font-size: 1.35rem !important;
    margin: 0 0 1rem !important;
    text-transform: uppercase;
}
.ae-pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}
.ae-pricing-card__features li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
    color: var(--ae-text-body);
}
.ae-pricing-card__price {
    font-family: var(--ae-font-display) !important;
    font-weight: 700;
    color: var(--ae-blue);
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
}
.ae-pricing-card .ae-book-btn { width: 100%; justify-content: center; }

/* ============================================
   Footer
   ============================================ */
.ae-footer {
    background: #000000;
    color: #666666;
    padding: 3rem 0 0;
    font-family: var(--ae-font-body);
}
.ae-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.ae-footer-logo { max-height: 60px; width: auto; }
.ae-footer__contact h4 {
    color: #FFFFFF !important;
    font-family: var(--ae-font-display) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin: 0 0 0.75rem !important;
    letter-spacing: 0.08em;
}
.ae-footer__contact p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
    color: #999999;
}
.ae-footer__contact a {
    color: #FFFFFF !important;
    text-decoration: none;
}
.ae-footer__contact a:hover { color: var(--ae-blue) !important; }
.ae-footer__cta {
    display: flex;
    justify-content: flex-end;
}
.ae-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #555555;
}
.ae-footer__bottom p { margin: 0; color: inherit; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
    .ae-feature-grid { grid-template-columns: 1fr 1fr; }
    .ae-pricing-grid { grid-template-columns: 1fr 1fr; }
    .ae-footer__inner { grid-template-columns: 1fr; text-align: center; }
    .ae-footer__cta { justify-content: center; }
    .ae-header-book { display: none !important; }
}
@media (max-width: 600px) {
    .ae-feature-grid, .ae-pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Polish — kill Divi page-title, enforce hero sizes
   ============================================ */
/* Hide Divi's default page-title (we render our own hero) */
.entry-title.main_title,
.et_pb_post_title h1,
.et_pb_section_0 + .et_pb_section .entry-title,
#post-22 > .entry-title,
#post-23 > .entry-title,
#post-24 > .entry-title,
#post-25 > .entry-title,
#post-26 > .entry-title { display: none !important; }
.et_post_meta_wrapper { display: none !important; }

/* Custom bullet lists (no default disc) */
.et_pb_text ul.ae-bullet-list,
.et_pb_text ol.ae-bullet-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.et_pb_text ul.ae-bullet-list li,
.et_pb_text ol.ae-bullet-list li {
    list-style: none !important;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.9;
}
.et_pb_text ul.ae-bullet-list li:before {
    content: "●";
    color: var(--ae-blue);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.85rem;
    line-height: 1.9;
}

/* Section heading accent line (under center-aligned h2) */
.ae-accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--ae-blue);
    margin: 0.75rem auto 1.5rem;
    border: 0;
}

/* Circular bordered feature icons (Duda style) */
.ae-feature__icon {
    width: 90px !important;
    height: 90px !important;
    border: 2px solid var(--ae-blue) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--ae-blue) !important;
    margin: 0 auto 1rem !important;
}
.ae-feature__icon svg { width: 42px; height: 42px; }
.ae-feature__title {
    color: var(--ae-navy) !important;
    font-size: 1.05rem !important;
}
.ae-feature__desc { font-size: 0.92rem; color: #5c5c5c; }

/* Floating sticky Book Now bottom-right (matches Duda) */
.ae-floating-book {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    background: var(--ae-blue);
    color: #FFFFFF !important;
    padding: 0.85rem 1.5rem;
    border-radius: 4px;
    font-family: var(--ae-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(1, 98, 251, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: none;
    letter-spacing: 0;
}
.ae-floating-book:hover { background: #014FCC; color: #fff !important; }

/* Tighten the Divi "main-content" first child gap so the hero hugs the header */
#main-content article.page > .entry-content > .et-l { padding-top: 0 !important; margin-top: 0 !important; }

/* Tighten paragraph spacing inside .et_pb_text */
.et_pb_text p { margin: 0 0 0.85rem !important; }
