/* ==========================================
   blog.css
   Scoped styles for the Blog page only.
   All classes prefixed .bl- — zero conflict
   with style.css, dog-food.css, my-orders.css
   ========================================== */

/* ── Page base ─────────────────────────── */
.bl-page .bl-main {
    background: #f9f7f4;
    padding-bottom: 40px;
}

/* ── Breadcrumb ─────────────────────────── */
.bl-breadcrumb {
    padding: 14px 0 10px;
}

.bl-breadcrumb .breadcrumb {
    font-size: 13px;
    margin: 0;
    background: none;
    padding: 0;
}

.bl-breadcrumb .breadcrumb-item a {
    color: #555;
    text-decoration: none;
    transition: color .2s;
}

.bl-breadcrumb .breadcrumb-item a:hover {
    color: #e8a020;
}

.bl-breadcrumb .breadcrumb-item.active {
    color: #1a1a1a;
    font-weight: 700;
}

.bl-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #bbb;
}

/* ── Hero Banner ────────────────────────── */
.bl-hero-banner {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 210px;
    margin-bottom: 28px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.bl-hero-text {
    position: relative;
    z-index: 2;
    flex: 0 0 52%;
    padding: 36px 40px;
    margin-top: 9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.bl-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.1;
}

.bl-hero-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin: 0;
    max-width: 420px;
}

.bl-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: visible;
}

.bl-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    border-radius: 16px;
}

/* Paw bubble overlay */
.bl-hero-paw-bubble {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #e8a020;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    z-index: 3;
    border: 2px solid #f5efe0;
}

@media (max-width: 767px) {
    .bl-hero-banner {
        flex-direction: column;
        min-height: auto;
        background: #fbf4ed;
        border: 1px solid #ebdcd0;
        border-radius: 16px;
        overflow: hidden;
    }

    .bl-hero-text {
        flex: none;
        width: 100%;
        padding: 24px 20px;
    }

    .bl-hero-img {
        position: relative;
        height: 180px;
        width: 100%;
    }

    .bl-hero-paw-bubble {
        top: 10px;
        left: 10px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* ── Category Tabs ──────────────────────── */
.bl-tabs-wrap {
    margin-bottom: 26px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bl-tabs-wrap::-webkit-scrollbar {
    display: none;
}

.bl-tabs {
    display: flex;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    padding-bottom: 2px;
}

.bl-tab {
    background: #fff;
    border: 1.5px solid #d6d0c8;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 9px 22px;
    border-radius: 9px;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}

.bl-tab:hover {
    border-color: #1a3c34;
    color: #1a3c34;
}

.bl-tab.active {
    background: #1a3c34;
    color: #fff;
    border-color: #1a3c34;
}

/* ── Blog Grid ──────────────────────────── */
.bl-grid {
    padding-bottom: 12px;
}

/* Hidden cards when filtered */
.bl-card-col.bl-hidden {
    display: none !important;
}

/* ── Blog Card ──────────────────────────── */
.bl-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #e4e0d8;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
}

.bl-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, .11);
    border-color: #e8a020;
    transform: translateY(-4px);
}

/* Card image */
.bl-card-img-wrap {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.bl-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.bl-card:hover .bl-card-img-wrap img {
    transform: scale(1.06);
}

/* Card body */
.bl-card-body {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bl-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin-bottom: 6px;
    font-family: 'Nunito', sans-serif;
}

.bl-card-date-top {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.bl-card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    flex: 1;
}

/* Inline read more link (appears on some cards) */
.bl-read-more-inline {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
    transition: color .2s;
}

.bl-read-more-inline:hover {
    color: #e8a020;
}

.bl-read-more-inline i {
    font-size: 11px;
}

/* Card footer */
.bl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0ece5;
    gap: 10px;
    flex-wrap: wrap;
}

.bl-card-date {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bl-card-date i {
    font-size: 12px;
    color: #bbb;
}

.bl-btn-read {
    background: #1a3c34;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    padding: 7px 18px;
    border-radius: 7px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background .2s ease;
    white-space: nowrap;
}

.bl-btn-read:hover {
    background: #2d6a4f;
    color: #fff;
}

/* ── No Results ─────────────────────────── */
.bl-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.bl-no-results i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.bl-no-results p {
    font-size: 15px;
    margin: 0;
}

/* ── Pagination ─────────────────────────── */
.bl-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 28px 0 10px;
}

.bl-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1.5px solid #d6d0c8;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.bl-page-btn:hover,
.bl-page-btn.active {
    background: #1a3c34;
    color: #fff;
    border-color: #1a3c34;
}

/* ── Subscribe Section ──────────────────── */
.bl-subscribe-section {
    background: #1a3c34;
    padding: 52px 0 48px;
    text-align: center;
    color: #fff;
}

.bl-subscribe-inner {
    max-width: 580px;
    margin: 0 auto;
}

.bl-subscribe-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 10px;
}

.bl-subscribe-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 3.5vw, 30px);
    font-weight: 700;
    margin-bottom: 10px;
}

.bl-subscribe-sub {
    font-size: 13px;
    opacity: .72;
    line-height: 1.65;
    margin-bottom: 28px;
}

.bl-subscribe-form {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .2);
    max-width: 500px;
    margin: 0 auto;
}

.bl-sub-input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    outline: none;
    background: #fff;
    color: #333;
    min-width: 0;
}

.bl-sub-btn {
    background: #e8a020;
    color: #fff;
    border: none;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.bl-sub-btn:hover {
    background: #d4911c;
}

@media (max-width: 480px) {
    .bl-subscribe-form {
        flex-direction: column;
        border-radius: 10px;
    }

    .bl-sub-input {
        border-radius: 10px 10px 0 0;
    }

    .bl-sub-btn {
        border-radius: 0 0 10px 10px;
    }
}

/* ── Features Strip ─────────────────────── */
.bl-features-strip {
    background: #fff;
    border-top: 1px solid #e4e0d8;
    border-bottom: 1px solid #e4e0d8;
    padding: 18px 0;
}

.bl-feat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    padding: 10px 0;
    border-right: 1px solid #e4e0d8;
}

.bl-feat-item:last-child {
    border-right: none;
}

.bl-feat-item i {
    font-size: 22px;
    color: #1a3c34;
}

@media (max-width: 767px) {
    .bl-feat-item {
        border-right: none;
        border-bottom: 1px solid #e4e0d8;
        justify-content: flex-start;
        padding: 10px 16px;
    }
}

/* ── Footer ─────────────────────────────── */
.bl-footer {
    background: #0f2520;
    color: rgba(255, 255, 255, .72);
    padding: 40px 0 28px;
}

.bl-footer-logo-name {
    color: #fff;
}

.bl-footer-tagline {
    color: rgba(255, 255, 255, .45);
    font-size: 10px;
}

.bl-footer-sub-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.bl-footer-sub-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.5;
}

.bl-footer-heading {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 14px;
}

.bl-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bl-footer-links li {
    margin-bottom: 8px;
}

.bl-footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, .58);
    text-decoration: none;
    transition: color .2s;
}

.bl-footer-links a:hover {
    color: #e8a020;
}

/* ── Responsive tweaks ──────────────────── */
@media (max-width: 575px) {
    .bl-card-img-wrap {
        height: 170px;
    }

    .bl-card-title {
        font-size: 14px;
    }
}