/* ═══════════════════════════════════════
           FEATURED HERO
        ═══════════════════════════════════════ */
.bbl-featured {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    /* ✅ vertically center content */
    padding: 80px 0 70px;
    overflow: hidden;
}

.bbl-featured-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bbl-featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.bbl-featured-scrim {
    position: absolute;
    inset: 0;
    /* ✅ Updated scrim: more centered darkening for text readability on center layout */
    background: linear-gradient(180deg,
            rgba(13, 27, 42, 0.85) 0%,
            rgba(13, 27, 42, 0.75) 50%,
            rgba(13, 27, 42, 0.85) 100%);
}

.bbl-featured::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    z-index: 4;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.bbl-featured::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .04;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2280%22 height=%2280%22%3E%3Cpath d=%22M40 0L80 40L40 80L0 40Z%22 fill=%22none%22 stroke=%22%23AE8225%22 stroke-width=%221%22/%3E%3C/svg%3E');
}

/* Mobile hero height */
@media (max-width: 767px) {
    .bbl-featured {
        min-height: 420px;
        padding: 60px 0 50px;
    }
}

@media (max-width: 575px) {
    .bbl-featured {
        min-height: 360px;
        padding: 50px 0 40px;
    }
}

/* ✅ Category badge centered */
.bbl-feat-cat-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.bbl-feat-cat {
    display: inline-block;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 16px;
}

.bbl-feat-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(22px, 3.5vw, 46px);
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 20px;
    /* ✅ text-center inherited from row */
}

.bbl-feat-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
    /* ✅ justify-content-center added in HTML via Bootstrap class */
}

.bbl-feat-meta span {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 6px;
}

.bbl-feat-meta i {
    color: var(--gold);
}

.bbl-feat-excerpt {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    max-width: 560px;
    margin-left: auto;
    /* ✅ center the paragraph */
    margin-right: auto;
    margin-bottom: 28px;
}

/* ✅ Button centered wrapper */
.bbl-feat-btn-wrap {
    display: flex;
    justify-content: center;
}

.bbl-feat-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 30px;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: all .3s;
}

.bbl-feat-btn:hover {
    background: transparent;
    color: var(--gold-light);
}

.bbl-feat-btn i {
    transition: transform .3s;
}

.bbl-feat-btn:hover i {
    transform: translateX(5px);
}

/* PARTICLES */
.bbl-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.bbl-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    bottom: -10px;
    animation: bblFloat linear infinite;
}

@keyframes bblFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    10% {
        opacity: .5;
    }

    90% {
        opacity: .1;
    }

    100% {
        opacity: 0;
        transform: translateY(-150px) scale(.2);
    }
}

/* REVEAL */
.bbl-reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: bblRev .8s cubic-bezier(.25, .46, .45, .94) forwards;
}

@keyframes bblRev {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCROLL REVEAL */
.bbl-sr {
    opacity: 0;
    transition: opacity .75s ease, transform .75s cubic-bezier(.25, .46, .45, .94);
}

.bbl-sr[data-dir="up"] {
    transform: translateY(40px);
}

.bbl-sr[data-dir="right"] {
    transform: translateX(45px);
}

.bbl-sr.in {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* ═══════════════════════════════════════
           MAIN SECTION
        ═══════════════════════════════════════ */
.bbl-main {
    background: var(--off-white);
    padding: 80px 0 100px;
}

.bbl-posts-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
}

.bbl-gold-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(174, 130, 37, .4), transparent);
    margin-bottom: 8px;
}

.bbl-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 6px;
}

.bbl-h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(22px, 3vw, 32px);
    color: var(--navy);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.bbl-h2 span {
    color: var(--gold);
}

/* ═══════════════════════════════════════
           BLOG CARDS
        ═══════════════════════════════════════ */
.bbl-card {
    display: flex;
    background: var(--white);
    border: 1px solid rgba(174, 130, 37, .1);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    transition: all .4s cubic-bezier(.25, .46, .45, .94);
    box-shadow: 0 2px 18px rgba(13, 27, 42, .05);
}

.bbl-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(13, 27, 42, .11);
}

.bbl-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-light));
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .4s;
}

.bbl-card:hover::before {
    transform: scaleY(1);
}

.bbl-card-thumb {
    width: 220px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .bbl-card {
        flex-direction: column;
    }

    .bbl-card-thumb {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 575px) {
    .bbl-card-thumb {
        height: 180px;
    }
}

.bbl-card-thumb img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}

@media (min-width: 768px) {
    .bbl-card-thumb img {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .bbl-card-thumb {
        position: relative;
    }
}

.bbl-card:hover .bbl-card-thumb img {
    transform: scale(1.08);
}

.bbl-card-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0);
    transition: background .4s;
}

.bbl-card:hover .bbl-card-thumb-overlay {
    background: rgba(13, 27, 42, .2);
}

.bbl-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    z-index: 2;
}

.bbl-card-read-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13, 27, 42, .8);
    color: var(--gold-light);
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    z-index: 2;
    border: 1px solid rgba(174, 130, 37, .3);
}

/* CARD BODY */
.bbl-card-body {
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

@media (max-width: 575px) {
    .bbl-card-body {
        padding: 18px 18px 16px;
    }
}

.bbl-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

.bbl-card-meta span {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.bbl-card-meta i {
    color: var(--gold);
    font-size: 11px;
}

.bbl-card-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 10px;
}

@media (max-width: 575px) {
    .bbl-card-title {
        font-size: 14px;
    }
}

.bbl-card-link {
    color: var(--navy);
    text-decoration: none;
    transition: color .3s;
}

.bbl-card:hover .bbl-card-link {
    color: var(--gold-dark);
}

.bbl-card-excerpt {
    color: var(--text-mid);
    font-size: 13px;
    line-height: 1.85;
    margin-bottom: 18px;
    flex: 1;
}

.bbl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(174, 130, 37, .1);
    flex-wrap: wrap;
    gap: 10px;
}

.bbl-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    transition: all .3s;
}

.bbl-read-more i {
    transition: transform .3s;
    font-size: 13px;
}

.bbl-read-more:hover {
    color: var(--gold-dark);
}

.bbl-read-more:hover i {
    transform: translateX(6px);
}

.bbl-card-icons {
    display: flex;
    gap: 8px;
}

.bbl-icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(174, 130, 37, .2);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.bbl-icon-btn:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.bbl-card-number {
    position: absolute;
    bottom: -10px;
    right: 14px;
    font-family: 'Cinzel', serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    color: rgba(174, 130, 37, .06);
    pointer-events: none;
    user-select: none;
    transition: color .4s;
}

.bbl-card:hover .bbl-card-number {
    color: rgba(174, 130, 37, .1);
}

/* PAGINATION */
.bbl-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.bbl-pg {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    background: var(--white);
    color: var(--text-mid);
    border: 1px solid rgba(174, 130, 37, .2);
    transition: all .3s;
    padding: 0 12px;
}

.bbl-pg:hover,
.bbl-pg--active {
    background: var(--gold) !important;
    color: #fff !important;
    border-color: var(--gold) !important;
}

.bbl-pg-dots {
    color: var(--text-muted);
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

/* SIDEBAR WIDGETS */
.bbl-widget {
    background: var(--white);
    border: 1px solid rgba(174, 130, 37, .12);
    overflow: hidden;
    margin-bottom: 24px;
}

.bbl-widget-hd {
    background: var(--navy);
    padding: 14px 20px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 9px;
    border-bottom: 1px solid rgba(174, 130, 37, .2);
}

.bbl-widget-hd i {
    color: var(--gold);
    font-size: 12px;
}

.bbl-widget-bd {
    padding: 18px 20px;
}

.bbl-widget-bd--flush {
    padding: 0;
}

.bbl-widget--search {
    margin-bottom: 24px;
}

.bbl-search {
    display: flex;
}

.bbl-search input {
    flex: 1;
    padding: 11px 14px;
    border: 1px solid rgba(174, 130, 37, .2);
    border-right: none;
    background: var(--off-white);
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    transition: border-color .3s;
}

.bbl-search input:focus {
    border-color: var(--gold);
}

.bbl-search button {
    width: 44px;
    background: var(--gold);
    border: none;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background .3s;
    flex-shrink: 0;
}

.bbl-search button:hover {
    background: var(--gold-dark);
}

/* QURAN VERSE */
.bbl-verse {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid rgba(174, 130, 37, .25);
    margin-bottom: 24px;
    padding: 32px 24px;
    text-align: center;
}

.bbl-verse-bg {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2260%22 height=%2260%22%3E%3Cpath d=%22M30 0L60 30L30 60L0 30Z%22 fill=%22none%22 stroke=%22%23AE8225%22 stroke-width=%221%22/%3E%3C/svg%3E');
}

.bbl-verse-inner {
    position: relative;
    z-index: 2;
}

.bbl-verse-arabic {
    font-family: 'Amiri', serif;
    font-size: 22px;
    color: var(--gold-light);
    line-height: 1.9;
    margin-bottom: 12px;
    direction: rtl;
}

.bbl-verse-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 12px;
}

.bbl-verse-trans {
    font-family: 'Amiri', serif;
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    font-style: italic;
    margin: 0 0 8px;
    line-height: 1.7;
}

.bbl-verse-ref {
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* CATEGORIES */
.bbl-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-bottom: 1px solid rgba(174, 130, 37, .07);
    text-decoration: none;
    transition: all .3s;
}

.bbl-cat:last-child {
    border-bottom: none;
}

.bbl-cat:hover {
    background: rgba(174, 130, 37, .04);
    padding-left: 26px;
}

.bbl-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform .3s;
}

.bbl-cat:hover .bbl-cat-dot {
    transform: scale(1.5);
}

.bbl-cat-name {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: var(--text-mid);
    flex: 1;
    transition: color .3s;
}

.bbl-cat:hover .bbl-cat-name {
    color: var(--gold-dark);
}

.bbl-cat-count {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 9px;
    border: 1px solid;
}

/* RECENT */
.bbl-recent {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 20px;
    text-decoration: none;
    transition: all .3s;
}

.bbl-recent--sep {
    border-bottom: 1px solid rgba(174, 130, 37, .08);
}

.bbl-recent:hover {
    background: rgba(174, 130, 37, .04);
}

.bbl-recent-thumb {
    width: 64px;
    height: 56px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.bbl-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.bbl-recent:hover .bbl-recent-thumb img {
    transform: scale(1.1);
}

.bbl-recent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0);
    transition: background .3s;
}

.bbl-recent:hover .bbl-recent-overlay {
    background: rgba(13, 27, 42, .15);
}

.bbl-recent-title {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: var(--navy);
    margin: 0 0 5px;
    line-height: 1.4;
    transition: color .3s;
}

.bbl-recent:hover .bbl-recent-title {
    color: var(--gold-dark);
}

.bbl-recent-date {
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ENROLL CTA */
.bbl-enroll-cta {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    border: 1px solid rgba(174, 130, 37, .25);
    padding: 34px 24px;
}

.bbl-enroll-bg {
    position: absolute;
    inset: 0;
    opacity: .06;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2260%22 height=%2260%22%3E%3Cpath d=%22M30 0L60 30L30 60L0 30Z%22 fill=%22none%22 stroke=%22%23AE8225%22 stroke-width=%221%22/%3E%3C/svg%3E');
}

.bbl-enroll-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    background-size: 200% 100%;
    animation: bblShimmer 2.5s linear infinite;
}

@keyframes bblShimmer {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.bbl-enroll-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.bbl-enroll-icon {
    font-size: 2.6rem;
    color: var(--gold-light);
    margin-bottom: 14px;
    display: block;
    animation: bblPulse 2.5s ease-in-out infinite;
}

@keyframes bblPulse {

    0%,
    100% {
        opacity: .8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.bbl-enroll-title {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.bbl-enroll-text {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.75;
    margin-bottom: 20px;
}

.bbl-enroll-btn {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: all .3s;
}

.bbl-enroll-btn:hover {
    background: transparent;
    color: var(--gold-light);
}
