/* ===================== */
/* BIG FEATURED ARTICLE  */
/* ===================== */

.big-article-wrapper {
    position: relative;
    width: 100%;
    height: 430px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.big-article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.big-article-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgb(0 0 0 / 89%), transparent);
    color: #fff;
}

.big-article-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.big-article-meta {
    font-size: 14px;
    opacity: .85;
    margin-bottom: 0px;
}

/* ===================== */
/* RIGHT SMALL POSTS     */
/* ===================== */

.small-article-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 10px;
    text-decoration: none;
    color: #111;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.small-article-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.small-article-title {
    font-size: 15px;
    font-weight: 600;
    padding: 10px 10px 0px 10px;
}

.small-article-box p.text-muted{
    margin-bottom: 0px;
    padding: 0px 10px 0px 10px;
}

/* ===================== */
/* BELOW GRID CARDS      */
/* ===================== */

.grid-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.grid-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.grid-body {
    padding: 14px;
}

.excerpt {
    font-size: 14px;
    color: #666;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.brand-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.brand-card-body {
    padding: 10px 12px;
}

.brand-card-title {
    font-size: 15px;
    font-weight: 600;
    display: block;
    color: #000;
    text-decoration: none;
}

.brand-card-title:hover {
    color: #133B5C;
}

.brand-card-date {
    font-size: 13px;
}

/* brand header */
.brand-logo-circle {
    background: #133B5C;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:bold;
}

.brand-viewall-btn {
    color: #133B5C;
    font-weight: 500;
    text-decoration: none;
}

/* override swiper to avoid full-width rows */
.swiper-slide {
    display: flex;
    padding: 5px;
}

.swiper-pagination-bullet-active {
    background: #133B5C !important;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 30px auto 10px;
    padding: 10px 25px;

    font-size: 15px;
    font-weight: 600;

    color: #fff;
    background: #133B5C;
    border: none;
    border-radius: 50px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loader animation */
.load-more-btn.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
/* ============================= */
/* LOAD MORE BUTTON STYLES */
/* ============================= */

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 10px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 25px;
    border-radius: 6px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;

    color: #fff;
    background: #133B5C;
    border: none;

    cursor: pointer;
    transition: all 0.25s ease;
}


.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading spinner */
.load-more-btn.loading .btn-text {
    opacity: 0.6;
}

.load-more-btn.loading::after {
    content: "";
    width: 16px;
    height: 16px;

    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mobile spacing fix */
@media (max-width: 768px) {
    .load-more-wrapper {
        margin: 30px 0 0;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================== */
/* RESPONSIVE FIXES      */
/* ===================== */

@media(max-width: 991px) {
    .big-article-wrapper {
        height: 300px;
    }
}

@media(max-width: 575px) {
    .big-article-wrapper {
        height: 200px;
    }
    .big-article-title {
        font-size: 18px;
    }
    .small-article-img {
        height: 120px;
    }
    .small-article-title {
        font-size: 14px;
    }
}
