/* Breadcrumb Styles */
.breadcrumb-section {
    margin-top: 120px;
    z-index: 1020;
    position: relative;
    transition: margin-top 0.3s ease;
}

/* Adjust content styling when banner is closed */
body.banner-closed .breadcrumb-section {
    margin-top: 80px;
}

/* Smooth transitions for main content areas */
body {
    transition: all 0.3s ease;
}

/* Adjust main content areas when banner is closed */
body.banner-closed main,
body.banner-closed .resource-banner,
body.banner-closed .registration-section {
    margin-top: 80px !important;
    transition: all 0.3s ease;
}

/* Specific adjustments for homepage header section */
body.banner-closed .header__wrapper {
    padding-top: 1rem !important; /* Minimal top padding instead of py-5 */
    margin-top: 0 !important;
    transition: all 0.3s ease;
}

/* Hide the extra inner padding div on homepage when banner closes */
body.banner-closed .header__wrapper > .py-5:first-child {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure banner hides smoothly */
.announcement-banner {
    transition: all 0.3s ease;
}

.announcement-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #222427;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}

/* Footer CTA strip (placed above .footer__wrapper in footer.html) */
.footer-cta-strip {
    background: linear-gradient(135deg, #ff3158 0%, #ff6f8a 100%);
    border-radius: 18px;
    padding: 28px 20px;
}

.footer-cta-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 18px;
    max-width: 680px;
}

.footer-cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-cta-btns .btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 50px;
    background: #ff3158;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    padding: 0 0 0 24px;
    overflow: hidden;
    transition: background 0.2s, transform 0.2s;
}

.footer-cta-btns .btn-cta-primary:hover {
    background: #fff;
    color: #ff3158;
    transform: translateY(-2px);
}

.footer-cta-btns .btn-cta-primary.btn-cta-plain {
    padding-right: 24px;
    padding-left: 24px;
}

/* Resource banner positioning to prevent overlap */
/* .resource-banner {
    margin-top: 1rem;
} */

/* Footer Mobile Fix */
@media (max-width: 768px) {
    .footer-cta-strip {
        padding: 22px 16px;
    }

    .footer-cta-btns {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer__wrapper .row.g-4 {
        gap: 2rem !important;
    }
    
    .footer__wrapper .col-lg-3.col-md-5 {
        margin-bottom: 2rem;
    }
    
    .footer__wrapper .logo {
        display: block;
        margin-bottom: 1.5rem !important;
        width: 100%;
        text-align: left;
    }
    
    .footer__wrapper .logo img {
        max-width: 150px;
        height: auto !important;
    }
    
    .footer__wrapper p.small {
        margin-top: 1rem;
        line-height: 1.5;
        clear: both;
    }
    
    .footer__wrapper .col-lg-5.col-md-7 {
        margin-top: 1rem;
    }
    
    .footer__wrapper .ps-lg-5 {
        padding-left: 0 !important;
    }
}