/* Post Design Styles */

/* Common */
.msfah-post-header {
    position: relative;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.msfah-post-header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.msfah-post-title {
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.msfah-post-meta-top,
.msfah-post-meta-bottom {
    display: flex;
    gap: 15px;
    font-size: 14px;
    margin-bottom: 10px;
}

.msfah-post-category a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
}

/* 1. Hero / Page Header Style */
.msfah-post-header--hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.msfah-post-header--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.msfah-post-header--hero .msfah-post-header-inner {
    position: relative;
    z-index: 1;
}

.msfah-post-header--hero .msfah-post-title {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
}

.msfah-post-header--hero .msfah-post-meta-top,
.msfah-post-header--hero .msfah-post-meta-bottom {
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.msfah-post-header--hero .msfah-post-category a {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}

/* 2. Minimal / Classic Style */
.msfah-post-header--minimal {
    padding: 60px 0;
    text-align: center;
    background: #fff;
}

.msfah-post-header--minimal .msfah-post-title {
    font-size: 42px;
    color: #333;
    font-weight: 600;
}

.msfah-post-header--minimal .msfah-post-meta-top {
    justify-content: center;
    color: #666;
}

.msfah-post-header--minimal .msfah-post-meta-bottom {
    justify-content: center;
    color: #888;
    border-top: 1px solid #eee;
    display: inline-flex;
    padding-top: 15px;
    margin-top: 15px;
}

/* 3. Split Screen Style */
.msfah-post-header--split {
    display: flex;
    min-height: 500px;
    margin-bottom: 0;
    /* Content starts immediately after */
}

.msfah-post-header--split .msfah-post-header-inner {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.msfah-post-header--split .msfah-post-header-image {
    width: 50%;
    background-size: cover;
    background-position: center;
}

.msfah-post-header--split .msfah-post-header-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f9f9f9;
}

.msfah-post-header--split .msfah-post-title {
    font-size: 40px;
    color: #222;
}

@media (max-width: 768px) {
    .msfah-post-header--split .msfah-post-header-inner {
        flex-direction: column-reverse;
    }

    .msfah-post-header--split .msfah-post-header-image,
    .msfah-post-header--split .msfah-post-header-content {
        width: 100%;
        min-height: 300px;
    }
}

/* 4. Overlap / Broken Grid Style */
.msfah-post-header--overlap {
    height: 400px;
    background-size: cover;
    background-position: center;
    margin-bottom: 100px;
    /* Space for overlap */
}

.msfah-post-header--overlap .msfah-post-header-inner {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.msfah-post-header--overlap .msfah-post-header-content {
    background: #fff;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: -60px;
    /* Overlap effect */
    text-align: center;
    max-width: 800px;
    width: 90%;
}

.msfah-post-header--overlap .msfah-post-title {
    font-size: 36px;
    color: #333;
}

/* 5. Underline / Divider Style */
.msfah-post-header--underline {
    padding: 50px 0;
    text-align: left;
}

.msfah-post-header--underline .msfah-post-title {
    font-size: 44px;
    color: #111;
    padding-bottom: 20px;
    border-bottom: 4px solid #137fec;
    /* Primary color */
    display: inline-block;
    margin-bottom: 20px;
}

/* 6. Boxed / Card Style */
.msfah-post-header--boxed {
    padding: 60px 0;
    background: #f3f4f6;
}

.msfah-post-header--boxed .msfah-post-header-content {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
}

.msfah-post-header--boxed .msfah-post-title {
    font-size: 38px;
    color: #1f2937;
}

/* 7. Big Typography / Jumbo Style */
.msfah-post-header--big_typography {
    padding: 80px 0;
}

.msfah-post-header--big_typography .msfah-post-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #000;
}

.msfah-post-header--big_typography .msfah-post-category {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
}

@media (max-width: 768px) {
    .msfah-post-header--big_typography .msfah-post-title {
        font-size: 48px;
    }
}

/* 8. Gradient Text Style */
.msfah-post-header--gradient {
    padding: 60px 0;
    text-align: center;
}

.msfah-post-header--gradient .msfah-post-title {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #137fec 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}