/* =============================================================
   BLOG / Blogs PAGE
   Scoped additions only.
   Reuses existing Big Star Productions design tokens,
   Bootstrap grid and animation system.
============================================================= */


/* -------------------------------------------------------------
   BLOG HERO
------------------------------------------------------------- */

.blog-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bsp-black);
}

.blog-hero__media {
    position: absolute;
    inset: 0;
}

.blog-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .92) 0%,
            rgba(0, 0, 0, .75) 48%,
            rgba(0, 0, 0, .38) 100%);
}

.blog-hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 9rem 0 4rem;
}

.blog-hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7vw, 6.2rem);
    line-height: .92;
    text-transform: uppercase;
    color: var(--bsp-white);
    margin-bottom: 1.4rem;
}

.blog-hero__subtitle {
    max-width: 690px;
    color: var(--bsp-text-on-dark-muted);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 0;
}


/* -------------------------------------------------------------
   SEARCH + FILTER BAR
------------------------------------------------------------- */

.blog-filter-section {
    background: var(--bsp-white);
    position: sticky;
    top: 80px;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.blog-search {
    position: relative;
    flex: 1 1 300px;
    max-width: 430px;
}

.blog-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bsp-text-muted);
    pointer-events: none;
}

.blog-search__input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--bsp-border-light);
    border-radius: 30px;
    padding: 0 1.2rem 0 2.8rem;
    background: var(--bsp-cream);
    color: var(--bsp-text-dark);
    font-size: .88rem;
    outline: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.blog-search__input:focus {
    border-color: var(--bsp-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}

.blog-search__input::placeholder {
    color: var(--bsp-text-muted);
}

/* -------------------------------------------------------------
   CATEGORIES — arrow-scroll bar (single source of truth)
------------------------------------------------------------- */

.blog-categories-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    flex: 0 1 auto;
    
}

.blog-categories {
    display: flex;
    align-items: center;
    gap: .35rem;

    flex: 1 1 auto;
    min-width: 0;

    background: #fdf9f1;
    border-radius: 30px;
    padding: 4px;

    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.blog-categories::-webkit-scrollbar {
    display: none;
}

.blog-category {
    flex: 0 0 auto;
    white-space: nowrap;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    color: #6f6a60;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    padding: 12px 20px;
    border-radius: 25px;

    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-category.is-active {
    background: #0d0d0d;
    color: #f5c542;
}

.blog-category:hover:not(.is-active) {
    background: #0d0d0d;
    color: #f5c542;
}

/* Arrow buttons — desktop only */
.filter-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--bsp-border-light);
    background: var(--bsp-white);
    color: var(--bsp-text-dark);

    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .15s ease;
    box-shadow: var(--shadow-soft);
}

.filter-arrow:hover {
    background: var(--bsp-black);
    color: var(--bsp-gold-light);
    transform: translateY(-1px);
}

.filter-arrow[disabled] {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

@media (min-width: 992px) {
    .filter-arrow {
        display: inline-flex;
    }
}


/* -------------------------------------------------------------
   FEATURED ARTICLE
------------------------------------------------------------- */

.featured-blog-section {
    background: var(--bsp-cream);
}

.featured-blog {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    min-height: 470px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bsp-black);
    box-shadow: var(--shadow-soft);
}

.featured-blog__media {
    position: relative;
    min-height: 470px;
    overflow: hidden;
}

.featured-blog__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.featured-blog:hover .featured-blog__media img {
    transform: scale(1.04);
}

.featured-blog__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 55%,
            rgba(0, 0, 0, .4));
}

.featured-blog__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    color: var(--bsp-white);
}

.featured-blog__content::before {
    content: '';
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 70px;
    height: 3px;
    background: var(--bsp-gold);
}

.blog-category-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--bsp-amber);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .8rem;
}

.featured-blog__title {
    font-family: var(--font-display);
    color: var(--bsp-white);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: .98;
    margin-bottom: 1rem;
}

.featured-blog__excerpt {
    color: var(--bsp-text-on-dark-muted);
    line-height: 1.75;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
    color: var(--bsp-text-muted);
    font-size: .72rem;
}

.featured-blog .blog-meta {
    color: var(--bsp-text-on-dark-muted);
}

.blog-meta__separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bsp-gold);
}


/* -------------------------------------------------------------
   BLOG CARDS
------------------------------------------------------------- */

.blog-listing-section {
    background: var(--bsp-white);
}

.blog-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--bsp-white);
    border: 1px solid var(--bsp-border-light);
    border-radius: var(--radius-lg);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--bsp-gold);
    box-shadow: var(--shadow-soft);
}

.blog-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bsp-cream);
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card__media img {
    transform: scale(1.06);
}

.blog-card__category {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding: .4rem .75rem;
    border-radius: 20px;
    background: var(--bsp-black);
    color: var(--bsp-gold-light);
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.blog-card__body {
   padding: 1.4rem 1.4rem 5rem;
}

.blog-card__title {
    color: var(--bsp-text-dark);
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: .7rem;
    transition: color .25s ease;
    word-wrap: break-word;
}

.blog-card:hover .blog-card__title {
    color: var(--bsp-amber);
}

.blog-card__excerpt {
    color: var(--bsp-text-muted);
    font-size: .84rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
    word-wrap: break-word;
}

.blog-card__footer {
        position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 1rem 1.4rem;

    border-top: 1px solid var(--bsp-border-light);
    background: var(--bsp-white);
}

.blog-card__date {
    color: var(--bsp-text-muted);
    font-size: .7rem;
}

.blog-card__read {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--bsp-amber);
    text-decoration: none;
    font-size: .72rem;
    font-weight: 800;
}

.blog-card__read:hover {
    color: var(--bsp-gold);
}

.blog-card__full-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}


/* -------------------------------------------------------------
   TAGS
------------------------------------------------------------- */

.blog-tags-section {
    background: var(--bsp-cream);
}

.blog-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-tag {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: .55rem .95rem;
    border-radius: 25px;
    border: 1px solid var(--bsp-border-light);
    background: var(--bsp-white);
    color: var(--bsp-text-muted);
    text-decoration: none;
    font-size: .73rem;
    font-weight: 700;
    transition:
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.blog-tag:hover {
    background: var(--bsp-black);
    border-color: var(--bsp-black);
    color: var(--bsp-gold-light);
    transform: translateY(-2px);
}


/* -------------------------------------------------------------
   PAGINATION
------------------------------------------------------------- */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 3rem;
}

.blog-pagination__link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--bsp-border-light);
    background: var(--bsp-white);
    color: var(--bsp-text-muted);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.blog-pagination__link:hover,
.blog-pagination__link.is-active {
    background: var(--bsp-gold);
    border-color: var(--bsp-gold);
    color: var(--bsp-black);
}


/* -------------------------------------------------------------
   CTA
------------------------------------------------------------- */

.blog-cta {
    position: relative;
    overflow: hidden;
}


/* -------------------------------------------------------------
   INFINITE SCROLL / LOADER
------------------------------------------------------------- */

.blog-col {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease, transform .4s ease;
}

.blog-col.is-entering {
    opacity: 0;
    transform: translateY(16px);
}

.blogs-sentinel {
    width: 100%;
    display: flex;
    justify-content: center;
}

.blogs-loader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 0;
    color: #6E6555;
    font-size: .9rem;
}

.blogs-loader__spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: blogs-spin 0.7s linear infinite;
}

@keyframes blogs-spin {
    to {
        transform: rotate(360deg);
    }
}


/* -------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------- */

@media (max-width: 991.98px) {

    .featured-blog {
        grid-template-columns: 1fr;
    }

    .featured-blog__media {
        min-height: 360px;
    }

    .featured-blog__content {
        padding: 2.5rem;
    }

}

@media (max-width: 767.98px) {

    /* Filter bar becomes 12 + 12 */
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.7rem;
    }

    /* Search = full width */
    .blog-search {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Categories = full width */
    .blog-categories-bar {
        width: 100%;
        flex: 0 0 100%;
    }

    .blog-categories {
        width: 100%;
    }

    .blog-search__input {
        height: 40px;
        font-size: .82rem;
        padding: 0 1rem 0 2.5rem;
    }

    .blog-search__icon {
        font-size: .85rem;
    }

    .blog-category {
        padding: 4px 8px;
        font-size: 11px;
        min-height: auto;
    }
.blog-filter-section{
padding: 1rem 0.5rem !important;
}
}
.article-body{
    word-wrap: break-word;
}