/* ── FEATURED POST ── */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s, transform .25s;
}

.blog-featured:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, .1);
    transform: translateY(-3px);
}

.bf-img {
    background: linear-gradient(135deg, var(--navy2), var(--navy3));
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.bf-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.bf-body {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-l);
    color: var(--orange);
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 16px;
    width: fit-content;
}

.bf-title {
    font-family: var(--h);
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.bf-excerpt {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.b-av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--orange-d));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    color: #fff;
}

.b-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-author-name {
    font-size: .83rem;
    font-weight: 700;
    color: var(--text2);
}

.b-author-date {
    font-size: .75rem;
    color: var(--muted2);
}

.b-cat {
    margin-left: auto;
    font-size: .72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--bg3);
    color: var(--muted);
    border: 1px solid var(--border);
}

.bf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 20px;
    text-decoration: none;
    transition: gap .2s;
}

.bf-link:hover {
    gap: 10px;
}

/* ── BLOG GRID ── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .25s, transform .25s;
}

.blog-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, .09);
    transform: translateY(-3px);
}

.bc-thumb {
    background: linear-gradient(135deg, var(--navy2), var(--navy3));
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.bc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.bc-thumb-cat {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 1;
    background: var(--orange);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bc-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bc-title {
    font-family: var(--h);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bc-excerpt {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 18px;
}

.bc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: auto;
}

.bc-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bc-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--orange-d));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    color: #fff;
}

.bc-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-author-name {
    font-size: .76rem;
    font-weight: 700;
    color: var(--text2);
}

.bc-date {
    font-size: .72rem;
    color: var(--muted2);
}

.bc-read {
    font-size: .72rem;
    color: var(--muted2);
    white-space: nowrap;
}

/* ── PAGINATION ── */
.pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 0 16px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pg-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-family: var(--b);
    font-size: .83rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .18s;
    text-decoration: none;
}

.pg-btn:hover:not(:disabled) {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-ll);
}

.pg-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239, 128, 25, .35);
}

.pg-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.pg-btn.pg-ellipsis {
    cursor: default;
    border-color: transparent;
    background: none;
    pointer-events: none;
}

.pagination-info {
    font-size: .8rem;
    color: var(--muted2);
}

/* ── NEWSLETTER STRIP ── */
.blog-nl {
    background: linear-gradient(135deg, var(--orange-ll), #fff8f0);
    border: 1px solid rgba(239, 128, 25, .25);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.blog-nl-text h3 {
    font-family: var(--h);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.blog-nl-text p {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.6;
}

.blog-nl-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-nl-input {
    padding: 10px 16px;
    border: 1.5px solid var(--border2);
    border-radius: 8px;
    font-family: var(--b);
    font-size: .85rem;
    color: var(--text);
    width: 260px;
    outline: none;
    background: #fff;
    transition: border-color .2s;
}

.blog-nl-input:focus {
    border-color: var(--orange);
}

.bc-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.bc-readmore {
  color: var(--orange, #EF8019);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card:hover .bc-readmore {
  gap: 10px;
  color: var(--coral-d, #d96a10);
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:900px) {
    .blog-featured {
        grid-template-columns: 1fr;
    }

    .bf-img {
        min-height: 220px;
    }

    .bf-body {
        padding: 28px 24px;
    }
}

@media(max-width:768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-nl {
        flex-direction: column;
        padding: 28px 24px;
    }

    .blog-nl-input {
        width: 100%;
    }
}