/*
Main stylesheet for eobce child theme.
Add overrides and new styles here.
*/

.eobce-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f2a3a;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 64px 20px;
}

.eobce-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 27, 38, 0.75), rgba(18, 58, 78, 0.6));
}

.eobce-hero__inner {
    position: relative;
    max-width: 960px;
    text-align: center;
    z-index: 1;
}

.eobce-hero__title {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.eobce-hero__subtitle {
    margin: 0 0 28px;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    opacity: 0.9;
}

.eobce-hero__button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #f8d56b;
    color: #14202b;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eobce-hero__button:hover,
.eobce-hero__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.eobce-contact {
    padding: 60px 20px;
    background: #f7f7f2;
    color: #13212c;
}

.eobce-contact__inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.eobce-contact__title {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.eobce-contact__content {
    display: grid;
    gap: 12px;
    justify-items: center;
    font-size: 1rem;
}

.eobce-contact__item {
    margin: 0;
}

.eobce-contact__item a {
    color: inherit;
    text-decoration: none;
}

.eobce-contact__item a:hover,
.eobce-contact__item a:focus {
    text-decoration: underline;
}

.eobce-contact__map {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #1f4b66;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.eobce-contact__map:hover,
.eobce-contact__map:focus {
    background: #17394f;
}

@media (max-width: 720px) {
    .eobce-hero {
        min-height: 50vh;
        padding: 48px 16px;
    }
}

/* Ensure MySchool sections render full-width inside Elementor wrappers */
.elementor-widget-eobce_hero,
.elementor-widget-eobce_about,
.elementor-widget-eobce_call_to_action,
.elementor-widget-eobce_events,
.elementor-widget-eobce_featured_programs,
.elementor-widget-eobce_recent_news,
.elementor-widget-eobce_students_life_block,
.elementor-widget-eobce_testimonials,
.elementor-widget-eobce_contact {
    width: 100%;
}

.elementor-widget-eobce_hero > .elementor-widget-container,
.elementor-widget-eobce_about > .elementor-widget-container,
.elementor-widget-eobce_call_to_action > .elementor-widget-container,
.elementor-widget-eobce_events > .elementor-widget-container,
.elementor-widget-eobce_featured_programs > .elementor-widget-container,
.elementor-widget-eobce_recent_news > .elementor-widget-container,
.elementor-widget-eobce_students_life_block > .elementor-widget-container,
.elementor-widget-eobce_testimonials > .elementor-widget-container,
.elementor-widget-eobce_contact > .elementor-widget-container {
    padding: 0;
    margin: 0;
}

.elementor-widget-eobce_hero .hero-container,
.elementor-widget-eobce_about .container,
.elementor-widget-eobce_call_to_action .container,
.elementor-widget-eobce_events .container,
.elementor-widget-eobce_featured_programs .container,
.elementor-widget-eobce_recent_news .container,
.elementor-widget-eobce_students_life_block .container,
.elementor-widget-eobce_testimonials .container,
.elementor-widget-eobce_contact .container {
    width: 100%;
}
