/* ==========================================================================
   Al Iman Quran Academy - Courses Page Hero Section Widget CSS
   ========================================================================== */

.sbw-ch-section * {
    font-family: 'Philosopher', sans-serif;
    box-sizing: border-box;
}

.sbw-ch-section {
    position: relative;
    background-color: var(--sbw-dark, #091D17);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 110px 0 90px 0;
    overflow: hidden;
    color: #ffffff;
}

/* Background Overlay */
.sbw-ch-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(9, 29, 23, 0.92);
    z-index: 1;
    pointer-events: none;
}

.sbw-ch-container {
    position: relative;
    z-index: 5;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Crest Emblem (Top Center) */
.sbw-ch-crest-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 14px;
}

.sbw-ch-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 182, 6, 0.12);
    border: 1.5px solid var(--sbw-secondary, #FFB606);
    box-shadow: 0 0 25px rgba(255, 182, 6, 0.35);
    margin: 0 auto;
}

.sbw-ch-crest img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sbw-ch-crest-icon {
    font-size: 26px;
}

/* Breadcrumb Bar (Below Crest) */
.sbw-ch-breadcrumb-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.sbw-ch-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.sbw-ch-breadcrumb a {
    color: var(--sbw-secondary, #FFB606);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sbw-ch-breadcrumb a:hover {
    color: #ffffff;
}

.sbw-ch-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

/* Main Title */
.sbw-ch-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.sbw-ch-title span {
    color: var(--sbw-secondary, #FFB606);
}

/* Subtitle Description */
.sbw-ch-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Queries */
@media (max-width: 991px) {
    .sbw-ch-section {
        padding: 90px 0 70px 0;
    }
    .sbw-ch-title {
        font-size: 38px;
    }
    .sbw-ch-desc {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .sbw-ch-section {
        padding: 70px 0 50px 0;
    }
    .sbw-ch-title {
        font-size: 30px;
    }
    .sbw-ch-crest {
        width: 50px;
        height: 50px;
        margin-bottom: 14px;
    }
    .sbw-ch-breadcrumb {
        font-size: 12.5px;
        padding: 5px 14px;
    }
    .sbw-ch-desc {
        font-size: 14.5px;
    }
}
