/* =============================================
   Formifyx Blog Design — 4913ca86
   ============================================= */

/* ---- Reset & Base ---- */
.fmx-blog-main-4913ca86 {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* ---- Hero ---- */
.fmx-blog-hero-4913ca86 {
    background: #0F1220; /* Dark Navy */
    padding: 90px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fmx-blog-hero-4913ca86::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239,68,68,0.15) 0%, transparent 70%); /* Primary Accent subtle glow */
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.fmx-blog-hero-inner-4913ca86 {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.fmx-blog-badge-4913ca86 {
    display: inline-block;
    background: rgba(239,68,68,0.1);
    color: #EF4444; /* Primary Accent */
    border: 1px solid rgba(239,68,68,0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    margin-bottom: 20px;
}
.fmx-blog-hero-title-4913ca86 {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 18px !important;
}
.fmx-blog-hero-sub-4913ca86 {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0;
    max-width: 580px;
    margin: 0 auto;
}

/* ---- Category Filter ---- */
.fmx-cat-filter-wrap-4913ca86 {
    background: #fff;
    border-bottom: 1px solid #E7EAF0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.fmx-cat-filter-4913ca86 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 12px 32px;
    max-width: 1280px;
    margin: 0 auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.fmx-cat-filter-4913ca86::-webkit-scrollbar { display: none; }
.fmx-cat-btn-4913ca86 {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 500;
    color: #12131A; /* Text */
    background: #F8F9FB; /* Off White */
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    flex-shrink: 0;
}
.fmx-cat-btn-4913ca86:hover {
    background: #FDE8E8; /* Light Pink Red */
    color: #EF4444; /* Primary */
}
.fmx-cat-btn-4913ca86.active {
    background: #EF4444; /* Primary Accent */
    color: #fff;
    border-color: #EF4444;
    box-shadow: 0 4px 12px rgba(239,68,68,0.25);
}

/* ---- Container ---- */
.fmx-blog-container-4913ca86 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 24px 80px;
    background: #ffffff;
}

/* ---- Grid ---- */
.fmx-blog-grid-4913ca86 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ---- Post Card ---- */
.fmx-post-card-4913ca86 {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15,18,32,0.05); /* Navy subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #E7EAF0; /* Soft Gray Blue */
}
.fmx-post-card-4913ca86:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15,18,32,0.08);
}

/* Featured post — full width, larger */
.fmx-post-featured-4913ca86 {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 400px;
}
.fmx-post-featured-4913ca86 .fmx-card-img-wrap-4913ca86 {
    width: 55%;
    flex-shrink: 0;
}
.fmx-post-featured-4913ca86 .fmx-card-body-4913ca86 {
    padding: 48px 44px;
    justify-content: center;
}
.fmx-post-featured-4913ca86 .fmx-card-title-4913ca86 {
    font-size: 1.7rem !important;
}
.fmx-post-featured-4913ca86 .fmx-card-excerpt-4913ca86 {
    -webkit-line-clamp: 4;
}

/* ---- Card Image ---- */
.fmx-card-img-wrap-4913ca86 {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #F8F9FB;
    text-decoration: none;
}
.fmx-card-img-4913ca86 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.fmx-post-card-4913ca86:hover .fmx-card-img-4913ca86 {
    transform: scale(1.05);
}
.fmx-card-overlay-4913ca86 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,18,32,0.4) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.fmx-post-card-4913ca86:hover .fmx-card-overlay-4913ca86 { opacity: 1; }
.fmx-card-img-placeholder-4913ca86 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FB;
}
.fmx-card-img-placeholder-4913ca86 svg {
    width: 72px;
    height: 72px;
    opacity: 0.5;
}

/* ---- Card Body ---- */
.fmx-card-body-4913ca86 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    flex: 1;
}
.fmx-card-cat-4913ca86 {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #EF4444;
    text-decoration: none;
    background: #FDE8E8;
    padding: 6px 14px;
    border-radius: 100px;
    align-self: flex-start;
    transition: background 0.2s, color 0.2s;
}
.fmx-card-cat-4913ca86:hover {
    background: #EF4444;
    color: #fff;
}
.fmx-card-title-4913ca86 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 4px 0 0 !important;
    color: #12131A !important; /* Heading text */
}
.fmx-card-title-4913ca86 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.fmx-card-title-4913ca86 a:hover { color: #EF4444; }
.fmx-card-excerpt-4913ca86 {
    font-size: 14.5px;
    color: #6B7280; /* Muted Gray */
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex: 1;
}
.fmx-card-meta-4913ca86 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #6B7280;
    margin-top: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E7EAF0;
}
.fmx-meta-sep-4913ca86 { opacity: 0.5; }
.fmx-card-cta-4913ca86 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #12131A; /* Text */
    text-decoration: none;
    margin-top: 12px;
    transition: gap 0.2s, color 0.2s;
    align-self: flex-start;
}
.fmx-card-cta-4913ca86:hover {
    gap: 10px;
    color: #EF4444;
}

/* ---- Pagination ---- */
.fmx-pagination-4913ca86 {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}
.fmx-pagination-4913ca86 .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.fmx-pagination-4913ca86 .page-numbers li a,
.fmx-pagination-4913ca86 .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #12131A;
    background: #F8F9FB;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #E7EAF0;
}
.fmx-pagination-4913ca86 .page-numbers li a:hover {
    background: #FDE8E8;
    color: #EF4444;
    border-color: #FDE8E8;
}
.fmx-pagination-4913ca86 .page-numbers li .current {
    background: #EF4444;
    color: #fff;
    border-color: #EF4444;
    box-shadow: 0 4px 12px rgba(239,68,68,0.25);
}

/* ---- No Posts ---- */
.fmx-no-posts-4913ca86 {
    text-align: center;
    padding: 80px 24px;
    color: #6B7280;
    font-size: 1.1rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .fmx-blog-grid-4913ca86 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .fmx-post-featured-4913ca86 { flex-direction: column; min-height: auto; }
    .fmx-post-featured-4913ca86 .fmx-card-img-wrap-4913ca86 { width: 100%; }
    .fmx-post-featured-4913ca86 .fmx-card-body-4913ca86 { padding: 32px; }
    .fmx-post-featured-4913ca86 .fmx-card-title-4913ca86 { font-size: 1.4rem !important; }
}
@media (max-width: 640px) {
    .fmx-blog-grid-4913ca86 { grid-template-columns: 1fr; }
    .fmx-blog-hero-4913ca86 { padding: 60px 20px 50px; }
    .fmx-blog-container-4913ca86 { padding: 40px 16px 64px; }
    .fmx-cat-filter-4913ca86 { padding: 12px 16px; }
}
