.wf-loading h1,
.wf-loading h2,
.wf-loading h3,
.wf-loading h4,
.wf-loading h5,
.wf-loading h6,
.wf-loading p,
.wf-loading span,
.wf-loading a {
    opacity: 1 !important;
    visibility: visible !important;
}
/* ── Hero ── */
.jiffy-blog-hero {
    text-align: left;
    padding: 0;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.jiffy-blog-hero .container{
    z-index: 2;
    position: relative;
    margin-top: 20px;
}
.jiffy-blog-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
}
.jiffy-blog-hero p {
    font-size: 20px;
    color: #222;
    max-width: 520px;
    /* margin: 0 auto; */
}
section.jiffy-blog-hero:before{
    content: "";
    width: 100%;
    height: 100%;
    background: url("/wp-content/uploads/2026/08/ChatGPT-Image-Aug-6-2026-12_57_08-PM.png") no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-position: center;
}

/* ── Tabs ── */
.jiffy-blog-tabs {
    background: #fff;
    padding: 15px 20px;
}
.jiffy-blog-tabs .container {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    padding: 10px 70px !important;
    border-bottom: 1px solid #ccc;
}
.jiffy-blog-tabs a {
    padding: 0px 20px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    background: #fff;
    transition: all .2s;
    letter-spacing: 1;
}
.jiffy-blog-tabs a.active,
.jiffy-blog-tabs a:hover {
    background: #FFC322;
    border-color: #FFC322;
    color: #1e1e1e;
}

/* ── Grid ── */
.jiffy-blog-section {
    padding: 20px 20px;
    background: #fff;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

/* ── Card ── */
.blog-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ded3bf;
    background: #fff;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ── Card Image ── */
.blog-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
    border-bottom: 1px solid #FFC322;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
    display: block;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}
.blog-card-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fdf8f0, #f5e6c8);
}

/* ── Tag Badge ── */
.blog-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #FFC322;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 0px 12px;
    border-radius: 100px;
}

/* ── Card Content ── */
.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Meta row ── */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #FFC322;
}
.blog-date {
    font-size: 13px;
    color: #999;
}

/* ── Title ── */
.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a1a1a;
}
.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.blog-content h3 a:hover {
    color: #FFC322;
}

/* ── Excerpt ── */
.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Read More ── */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #FFC322;
    padding-bottom: 2px;
    width: fit-content;
    transition: gap .2s, color .2s;
}
.read-more:hover {
    color: #FFC322;
    gap: 10px;
}

/* ── Pagination ── */
.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination-wrap .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: all .2s;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: #FFC322;
    border-color: #FFC322;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section.jiffy-blog-hero:before{
        background:
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
            url('/wp-content/uploads/2026/08/ChatGPT-Image-Aug-6-2026-12_57_08-PM.png')
            right / cover no-repeat;
    }

    .jiffy-blog-hero h1{
        font-size: clamp(2rem, 8vw, 3.5rem);
        text-align: center;
        color: #fff;
    }
    .jiffy-blog-hero p{
        text-align: center;
        font-size: 20px;
        color: #fff;
    }
    .jiffy-blog-tabs a{
        max-height: fit-content;
        white-space: nowrap;
    }
    .jiffy-blog-tabs .container{
        padding: 0px 0px 10px 0px !important;
    }
}