/* =========================================================
   FAMS BLOG DETAIL
========================================================= */

.blog-detail-hero {
    position: relative;
    overflow: hidden;

    padding: 105px 0 95px;

    background:
        linear-gradient(
            125deg,
            var(--fams-primary-dark),
            var(--fams-primary)
        );

    color: var(--fams-white);
}

.blog-detail-hero::before {
    content: '';
    position: absolute;

    width: 420px;
    height: 420px;

    right: -130px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(226, 105, 34, .13);
}

.blog-detail-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
}

.blog-detail-glow-one {
    width: 230px;
    height: 230px;

    left: -90px;
    bottom: -110px;

    background:
        rgba(226, 105, 34, .16);
}

.blog-detail-glow-two {
    width: 130px;
    height: 130px;

    right: 19%;
    top: 28px;

    border:
        1px solid rgba(255, 255, 255, .08);
}

.blog-detail-hero-content {
    position: relative;
    z-index: 3;

    max-width: 900px;
    margin: 0 auto;

    text-align: center;
}

.blog-detail-category {
    display: inline-flex;

    margin-bottom: 20px;
    padding: 8px 14px;

    background: var(--fams-accent);

    color: var(--fams-white);

    font-family: 'Nunito', sans-serif;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-detail-hero h1 {
    max-width: 900px;

    margin: 0 auto 20px;

    color: var(--fams-white);

    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.08;

    letter-spacing: -1.5px;
}

.blog-detail-hero-content > p {
    max-width: 720px;

    margin: 0 auto 25px;

    color: rgba(255, 255, 255, .72);

    font-size: 16px;
    line-height: 1.8;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 22px;

    margin-bottom: 25px;
}

.blog-detail-meta span {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: rgba(255, 255, 255, .72);

    font-size: 12px;
}

.blog-detail-meta i {
    color: var(--fams-accent);
}

.blog-detail-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    font-size: 11px;
}

.blog-detail-breadcrumb a {
    color: var(--fams-white);
}

.blog-detail-breadcrumb span,
.blog-detail-breadcrumb i {
    color: rgba(255, 255, 255, .48);
}


/* =========================================================
   ARTICLE
========================================================= */

.blog-detail-section {
    padding: 90px 0;

    background:
        #f7f8fa;
}

.blog-detail-article {
    max-width: 940px;

    margin: 0 auto;

    padding: 28px 28px 55px;

    background: var(--fams-white);

    box-shadow:
        0 18px 55px rgba(1, 33, 90, .08);
}


/* FEATURED IMAGE */

.blog-detail-featured {
    overflow: hidden;

    width: 100%;
    height: 500px;

    margin-bottom: 50px;
}

.blog-detail-featured img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* FRONTEND FALLBACK */

.blog-detail-featured-placeholder {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 14px;

    height: 430px;

    margin-bottom: 50px;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(226, 105, 34, .40),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            var(--fams-primary-dark),
            var(--fams-primary-light)
        );
}

.blog-detail-featured-placeholder::before,
.blog-detail-featured-placeholder::after {
    content: '';

    position: absolute;

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 50%;
}

.blog-detail-featured-placeholder::before {
    width: 330px;
    height: 330px;
}

.blog-detail-featured-placeholder::after {
    width: 210px;
    height: 210px;
}

.blog-detail-placeholder-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 95px;
    height: 95px;

    border:
        1px solid rgba(255, 255, 255, .18);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .08);

    color: var(--fams-white);

    font-size: 34px;

    backdrop-filter: blur(8px);
}

.blog-detail-featured-placeholder > span {
    position: relative;
    z-index: 2;

    color:
        rgba(255, 255, 255, .72);

    font-family:
        'Nunito',
        sans-serif;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* =========================================================
   RICH CONTENT
========================================================= */

.blog-detail-content {
    max-width: 780px;

    margin: 0 auto;

    color: #4f5661;

    font-size: 16px;
    line-height: 1.9;
}

.blog-detail-content p {
    margin-bottom: 24px;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
    color: var(--fams-primary);

    font-family:
        'Nunito',
        sans-serif;

    font-weight: 800;
}

.blog-detail-content h1 {
    margin: 45px 0 20px;

    font-size: 36px;
}

.blog-detail-content h2 {
    margin: 43px 0 18px;

    font-size: 30px;
}

.blog-detail-content h3 {
    margin: 34px 0 15px;

    font-size: 23px;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0 0 28px;
    padding-left: 24px;
}

.blog-detail-content li {
    margin-bottom: 9px;
}

.blog-detail-content strong {
    color: var(--fams-primary);
}

.blog-detail-content a {
    color: var(--fams-accent);

    font-weight: 700;
}

.blog-detail-content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 38px auto;

    box-shadow:
        0 14px 38px rgba(1, 33, 90, .10);
}

.blog-detail-content blockquote {
    position: relative;

    margin: 38px 0;
    padding: 25px 28px 25px 30px;

    border-left:
        4px solid var(--fams-accent);

    background:
        rgba(1, 33, 90, .045);

    color: var(--fams-primary);

    font-family:
        'Nunito',
        sans-serif;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.7;
}


/* ARTICLE END */

.blog-detail-end {
    max-width: 780px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 50px auto 0;
    padding-top: 30px;

    border-top:
        1px solid rgba(1, 33, 90, .09);
}

.blog-detail-end small,
.blog-detail-end strong {
    display: block;
}

.blog-detail-end small {
    margin-bottom: 3px;

    color: var(--fams-muted);

    font-size: 10px;
}

.blog-detail-end strong {
    color: var(--fams-primary);

    font-family:
        'Nunito',
        sans-serif;
}

.blog-detail-end a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--fams-primary);

    font-family:
        'Nunito',
        sans-serif;

    font-size: 12px;
    font-weight: 800;
}

.blog-detail-end a i {
    color: var(--fams-accent);
}


/* =========================================================
   RELATED BLOGS
========================================================= */

.blog-related-section {
    padding: 90px 0;

    background:
        var(--fams-white);
}

.blog-related-card {
    height: 100%;

    overflow: hidden;

    border:
        1px solid rgba(1, 33, 90, .07);

    background: var(--fams-white);

    box-shadow:
        0 10px 35px rgba(1, 33, 90, .06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.blog-related-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(1, 33, 90, .12);
}

.blog-related-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 220px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 20%,
            rgba(226, 105, 34, .38),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            var(--fams-primary-dark),
            var(--fams-primary)
        );

    color: var(--fams-white);

    font-size: 38px;
}

.blog-related-visual img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.blog-related-visual > span {
    position: absolute;

    left: 17px;
    bottom: 17px;

    padding: 7px 11px;

    background:
        var(--fams-accent);

    color:
        var(--fams-white);

    font-family:
        'Nunito',
        sans-serif;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
}

.blog-related-content {
    padding: 24px;
}

.blog-related-meta {
    margin-bottom: 10px;

    color: var(--fams-muted);

    font-size: 10px;
}

.blog-related-meta i {
    margin-right: 5px;

    color:
        var(--fams-accent);
}

.blog-related-content h3 {
    margin-bottom: 11px;

    color:
        var(--fams-primary);

    font-size: 20px;
    line-height: 1.35;
}

.blog-related-content p {
    margin-bottom: 18px;

    color:
        var(--fams-muted);

    font-size: 13px;
    line-height: 1.7;
}

.blog-related-content a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--fams-primary);

    font-family:
        'Nunito',
        sans-serif;

    font-size: 12px;
    font-weight: 800;
}

.blog-related-content a i {
    color:
        var(--fams-accent);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .blog-detail-hero {
        padding:
            85px 0 80px;
    }

    .blog-detail-featured {
        height: 390px;
    }

    .blog-detail-featured-placeholder {
        height: 380px;
    }

}


@media (max-width: 575.98px) {

    .blog-detail-hero {
        padding:
            70px 0 65px;
    }

    .blog-detail-hero h1 {
        font-size: 36px;
        letter-spacing: -.7px;
    }

    .blog-detail-hero-content > p {
        font-size: 14px;
    }

    .blog-detail-section {
        padding:
            55px 0;
    }

    .blog-detail-article {
        padding:
            16px 16px 35px;
    }

    .blog-detail-featured {
        height: 245px;

        margin-bottom: 35px;
    }

    .blog-detail-featured-placeholder {
        height: 245px;

        margin-bottom: 35px;
    }

    .blog-detail-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .blog-detail-content h1 {
        font-size: 28px;
    }

    .blog-detail-content h2 {
        font-size: 25px;
    }

    .blog-detail-content h3 {
        font-size: 20px;
    }

    .blog-detail-content blockquote {
        padding:
            20px;

        font-size:
            16px;
    }

    .blog-detail-end {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .blog-related-section {
        padding:
            60px 0;
    }

}

/* =========================================================
   RELATED BLOG CARDS - COMPACT SIZE
========================================================= */

.blog-related-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.blog-related-visual {
    height: 190px;
}

.blog-related-content {
    padding: 22px 22px 24px;
}

.blog-related-content h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.blog-related-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}


/* Tablet */
@media (max-width: 991.98px) {

    .blog-related-card {
        max-width: 350px;
    }

    .blog-related-visual {
        height: 175px;
    }
}


/* Mobile */
@media (max-width: 575.98px) {

    .blog-related-card {
        max-width: 100%;
    }

    .blog-related-visual {
        height: 180px;
    }

    .blog-related-content {
        padding: 20px;
    }

    .blog-related-content h3 {
        font-size: 19px;
    }
}