/* Annual Alumni Week Custom Styles */

/* ========================================
   HEADER STYLES
   ======================================== */

.custom-alumni-header {
    background: #0033a0;
    padding: 20px 0;
    position: relative;
    width: 100%;
    overflow: visible;
}

.custom-header-content {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    gap: 20px;
}

/* Main UWPIAA logo on the far left */
.main-site-logo {
    padding-left: 20px;
    flex-shrink: 0;
}

.uwpiaa-logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Navigation menu - centered with flex-grow */
.alumni-nav-menu {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    position: static;
}

/* Mobile menu toggle - hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid white;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1001;
    margin-left: auto;
}

/* ========================================
   MENU STYLES
   ======================================== */

/* Top level menu */
.alumni-nav-menu .alumni-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    position: relative;
}

.alumni-nav-menu .alumni-menu > li {
    position: relative;
}

.alumni-nav-menu .alumni-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.alumni-nav-menu .alumni-menu > li > a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown indicators */
.alumni-nav-menu .alumni-menu > li.menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

/* ========================================
   SUBMENU STYLES
   ======================================== */

/* ALL submenu levels - hidden by default */
.alumni-nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0033a0;
    min-width: 250px;
    max-width: 300px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

/* Show submenu on parent hover */
.alumni-nav-menu li:hover > .sub-menu {
    display: block;
}

/* Submenu items */
.alumni-nav-menu .sub-menu li {
    position: relative;
    width: 100%;
}

.alumni-nav-menu .sub-menu a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    color: white;
}

.alumni-nav-menu .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Third level menus - flyout to the right */
.alumni-nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

/* Third level dropdown indicator */
.alumni-nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: ' ▶';
    font-size: 10px;
    margin-left: 5px;
    float: right;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.custom-alumni-footer {
    background: #0033a0;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

/* ========================================
   HERO SECTION STYLES
   ======================================== */

.alumni-hero-section {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 240px;
    display: flex;
    align-items: center; /* Changed from flex-start to center */
    justify-content: center;
    position: relative;
    width: 100%;
}

/* Dark overlay - adjust or remove */
.alumni-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Reduced from 0.5 - lighter overlay */
    z-index: 0;
}

.alumni-hero-overlay {
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center; /* Changed from flex-start to center */
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.alumni-hero-title {
    color: white;
    font-size: 42px;
    margin: 0;
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 0, 0, 0.7);
}

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

.alumni-breadcrumbs-wrapper {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.alumni-breadcrumbs-wrapper .ast-breadcrumbs-wrapper {
    margin: 0;
}

.alumni-breadcrumbs-wrapper .ast-breadcrumbs-inner {
    padding: 0;
}

/* ========================================
   HIDE ASTRA DEFAULT ELEMENTS
   ======================================== */

.single-annual-alumni-week .ast-title-bar-wrap,
.single-annual-alumni-week .ast-advanced-headers-layout,
.single-annual-alumni-week .ast-inside-advanced-header-content {
    display: none !important;
}

/* ========================================
   TYPOGRAPHY - HEADINGS
   ======================================== */

.single-annual-alumni-week h2,
.single-annual-alumni-week .entry-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1.875rem;
    margin-bottom: 0;
}

.single-annual-alumni-week h3,
.single-annual-alumni-week .entry-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1.5625rem;
    margin-bottom: 0;
}

.single-annual-alumni-week h4,
.single-annual-alumni-week .entry-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.4;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

/* Remove top margin from paragraphs that follow headings */
.single-annual-alumni-week h2 + p,
.single-annual-alumni-week h3 + p,
.single-annual-alumni-week h4 + p,
.single-annual-alumni-week .entry-content h2 + p,
.single-annual-alumni-week .entry-content h3 + p,
.single-annual-alumni-week .entry-content h4 + p {
    margin-top: 0;
}
