/* =============================================================
   BLOG PAGE
   Sections: Hero · Grid · Load More
   Breakpoints: 1199 · 991 · 767 · 575 · 399
   ============================================================= */

/* =============================================================
   BLOG HERO
   ============================================================= */
.blog-hero {
    background: linear-gradient(80.98deg, #6e196f 1.157%, #f433e7 93.879%);
        padding: 60px 0 30px !important
}

.blog-hero__inner {
    max-width: 1196px;
    margin: 0 auto;
    padding: 0 85px;
}

/* Featured article */
.blog-hero__featured { padding-right: 32px; }

.blog-hero__featured-img {
    display: block;
    width: 100%;
    height: 332px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 23px;
}

.blog-hero__featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.blog-hero__featured .heading {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.84px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.blog-hero__featured p {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.4px;
    line-height: 1.5;
    margin: 0;
}

/* Mini article list */
.blog-hero__list {
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.blog-hero__mini {
    display: flex;
    align-items: center;
    gap: 21px;
}

.blog-hero__mini-img {
    flex-shrink: 0;
    display: block;
    width: 232px;
    height: 112px;
    border-radius: 13px;
    overflow: hidden;
}

.blog-hero__mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.blog-hero__mini-img:hover img { transform: scale(1.05); }

.blog-hero__mini-text { flex: 1; }

.blog-hero__mini-text:hover .heading { color: rgba(255, 255, 255, 0.8); }

.blog-hero__mini .heading {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.34px;
    line-height: 1.45;
    transition: color 0.2s ease;
}

/* =============================================================
   BLOG GRID
   ============================================================= */
.blog-grid-section {
    background: #fff;
    padding: 100px 0 80px;
}

.blog-grid__inner {
    max-width: 1196px;
    margin: 0 auto;
    padding: 0 85px;
}

/* 34px gap via negative-margin (Bootstrap g-0 + custom spacing) */
.blog-grid__row { margin: -17px; }
.blog-grid__col { padding: 10px; }

/* Blog card */
.blog-card-item {
    background: #fff;
    border: 1.04px solid #ecedef;
    border-radius: 11px;
    overflow: hidden;
    height: 327px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.blog-card-item:hover {
    box-shadow: 0 12px 36px rgba(110, 25, 111, 0.13);
    transform: translateY(-3px);
}

.blog-card-item__img {
    display: block;
    flex-shrink: 0;
    height: 185px;
    overflow: hidden;
    border-radius: 10px;
}

.blog-card-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

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

.blog-card-item__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 22px 22px;
}

.blog-card-item__meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-item__meta svg { flex-shrink: 0; }

.blog-card-item__meta span {
    font-size: 13px;
    font-weight: 500;
    color: #6f6f6f;
    letter-spacing: 0.26px;
}

.blog-card-item .heading {
    font-size: 18px;
    font-weight: 600;
    color: #121215;
    letter-spacing: 0.4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-item .heading a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-item .heading a:hover { color: var(--squibit-purple); }

/* Load More */
.blog-loadmore {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.blog-loadmore__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -0.18px;
    padding: 14px 30px;
    min-width: 133px;
    min-height: 51px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.blog-loadmore__btn:hover {
    box-shadow: 0 8px 24px rgba(110, 25, 111, 0.35);
    transform: translateY(-2px);
}

.blog-loadmore__btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =============================================================
   RESPONSIVE — 1199px
   ============================================================= */
@media (max-width: 1199.98px) {
    .blog-hero__inner,
    .blog-grid__inner { padding: 0 40px; }

    .blog-hero__featured .heading { font-size: 36px; }

    .blog-hero__featured-img { height: 290px; }

    .blog-hero__mini-img { width: 200px; }

    .blog-grid-section { padding: 80px 0; }
}

/* =============================================================
   RESPONSIVE — 991px
   ============================================================= */
@media (max-width: 991.98px) {
    .blog-hero__inner,
    .blog-grid__inner { padding: 0 24px; }

    .blog-hero { padding: 44px 0 40px; }

    .blog-hero__featured { padding-right: 0; margin-bottom: 32px; }

    .blog-hero__featured .heading { font-size: 30px; letter-spacing: 0.3px; }

    .blog-hero__featured-img { height: 240px; }

    .blog-hero__featured p { font-size: 17px; }

    .blog-hero__mini-img { width: 170px; height: 96px; }

    .blog-hero__mini .heading { font-size: 15px; }

    .blog-grid-section { padding: 64px 0; }

    .blog-card-item { height: auto; }
}

/* =============================================================
   RESPONSIVE — 767px
   ============================================================= */
@media (max-width: 767.98px) {
    .blog-hero__list { gap: 20px; }

    .blog-hero__mini-img { width: 150px; height: 88px; border-radius: 10px; }

    .blog-hero__mini .heading { font-size: 14px; }

    .blog-grid-section { padding: 48px 0; }

    .blog-card-item__img { height: 160px; }

    .blog-card-item .heading { font-size: 17px; }

    .blog-loadmore { margin-top: 40px; }
}

/* =============================================================
   RESPONSIVE — 575px
   ============================================================= */
@media (max-width: 575.98px) {
    .blog-hero__inner,
    .blog-grid__inner { padding: 0 16px; }

    .blog-hero { padding: 32px 0; }

    .blog-hero__featured .heading { font-size: 26px; letter-spacing: 0.2px; }

    .blog-hero__featured p { font-size: 15px; }

    .blog-hero__featured-img { height: 200px; border-radius: 16px; }

    .blog-hero__mini { flex-direction: column; align-items: flex-start; gap: 12px; }

    .blog-hero__mini-img { width: 100%; height: 160px; border-radius: 10px; }

    .blog-hero__mini .heading { font-size: 15px; }

    .blog-grid-section { padding: 40px 0; }

    .blog-grid__row { margin: -10px; }
    .blog-grid__col { padding: 10px; }

    .blog-card-item__img { height: 240px; }

    .blog-card-item .heading { font-size: 15px; margin-bottom: 0px;}
}

/* =============================================================
   RESPONSIVE — 399px
   ============================================================= */
@media (max-width: 399.98px) {
    .blog-hero__featured .heading { font-size: 22px; }

    .blog-hero__featured-img { height: 170px; }

    .blog-card-item__img { height: 120px; }
}
