/* =========================================================
   NINE TAILS DIGITAL
   PREMIUM BLOG DETAIL PAGE
========================================================= */

.blog-detail-breadcrumb {
    position: relative;
    overflow: hidden;
}

.blog-breadcrumb-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-breadcrumb-title {
    max-width: 900px;
    margin: 0 auto 15px;

    color: #071a35;

    font-size: clamp(1.25rem, 3vw, 2.15rem);
    font-weight: 750;
    line-height: 1.3;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.blog-detail-image {
    position: relative;

    overflow: hidden;

    height: 430px;

    border-radius: 22px;

    background: #edf1f5;

    box-shadow:
        0 18px 50px rgba(7, 26, 53, .10);
}

.blog-detail-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(7, 26, 53, .12)
        );

    pointer-events: none;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .7s ease;
}

.blog-detail-image:hover img {
    transform: scale(1.025);
}


/* =========================================================
   META CARD
========================================================= */

.blog-detail-meta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 20px;

    margin-top: 20px;
    margin-bottom: 30px;

    padding: 17px 20px;

    border: 1px solid #e7ebf0;
    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(7, 26, 53, .055);
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #7d8895;

    font-size: 11px;
    font-weight: 600;
}

.blog-meta-item i {
    color: #ff5a00;
    font-size: 14px;
}

.blog-meta-item a {
    color: #ff5a00 !important;
    text-decoration: none;
    font-weight: 700;
}


/* =========================================================
   SHARE
========================================================= */

.blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-share-label {
    color: #071a35;

    font-size: 11px;
    font-weight: 750;
}

.blog-share-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-social {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f4f6f8;

    color: #647181 !important;

    font-size: 13px;

    text-decoration: none;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;
}

.blog-social:hover {
    transform: translateY(-3px);

    background: #ff5a00;

    color: #fff !important;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.blog-content {
    color: #465364;

    font-size: 16px;

    line-height: 1.9;

    overflow-wrap: break-word;
}

.blog-content > *:first-child {
    margin-top: 0;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin-top: 35px;
    margin-bottom: 15px;

    color: #071a35;

    font-weight: 750;

    line-height: 1.35;
}

.blog-content h2 {
    font-size: 28px;
}

.blog-content h3 {
    font-size: 23px;
}

.blog-content h4 {
    font-size: 20px;
}

.blog-content p {
    margin-bottom: 18px;
}

.blog-content a {
    color: #ff5a00;

    font-weight: 650;

    text-decoration: underline;
    text-decoration-color: rgba(255, 90, 0, .25);
    text-underline-offset: 3px;
}

.blog-content a:hover {
    color: #071a35;
}

.blog-content ul,
.blog-content ol {
    margin: 20px 0;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content blockquote {
    position: relative;

    margin: 30px 0;

    padding: 25px 28px 25px 32px;

    border-left: 4px solid #ff5a00;

    border-radius: 0 14px 14px 0;

    background: #f7f9fb;

    color: #071a35;

    font-size: 17px;

    font-weight: 600;

    font-style: italic;
}

.blog-content img {
    max-width: 100%;
    height: auto;

    margin: 20px auto;

    border-radius: 14px;
}

.blog-content table {
    width: 100%;

    margin: 25px 0;

    border-collapse: collapse;
}

.blog-content th,
.blog-content td {
    padding: 12px 14px;

    border: 1px solid #e5e9ee;
}

.blog-content th {
    background: #071a35;

    color: #fff;

    font-weight: 700;
}


/* =========================================================
   TAGS
========================================================= */

.blog-tags {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 35px;
    padding-top: 25px;

    border-top: 1px solid #e7ebf0;
}

.blog-tags-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding-top: 7px;

    color: #071a35;

    font-size: 12px;
    font-weight: 750;
}

.blog-tags-title i {
    color: #ff5a00;
}

.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.blog-tag {
    display: inline-flex;

    padding: 7px 12px;

    border: 1px solid #e5e9ee;
    border-radius: 50px;

    background: #fff;

    color: #6c7887 !important;

    font-size: 10px;
    font-weight: 650;

    text-decoration: none;

    transition:
        color .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.blog-tag:hover {
    border-color: rgba(255, 90, 0, .3);

    background: rgba(255, 90, 0, .05);

    color: #ff5a00 !important;
}


/* =========================================================
   RELATED POSTS
========================================================= */

.related-posts {
    margin-top: 55px;
    padding-top: 35px;

    border-top: 1px solid #e7ebf0;
}

.related-posts-heading {
    margin-bottom: 25px;
}

.section-mini-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #ff5a00;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.related-posts-heading h3 {
    margin-bottom: 7px;

    color: #071a35;

    font-size: 25px;
    font-weight: 750;
}

.related-posts-heading p {
    margin: 0;

    color: #7d8895;

    font-size: 12px;
}


/* =========================================================
   RELATED CARD
========================================================= */

.related-post-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #e7ebf0;
    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(7, 26, 53, .055);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.related-post-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(7, 26, 53, .11);
}

.related-post-image {
    display: block;

    height: 145px;

    overflow: hidden;

    background: #edf1f5;
}

.related-post-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.07);
}

.related-post-content {
    padding: 17px;
}

.related-post-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 8px;

    color: #98a1ac;

    font-size: 9px;
}

.related-post-date i {
    color: #ff5a00;
}

.related-post-content h6 {
    margin-bottom: 12px;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.related-post-content h6 a {
    color: #071a35 !important;
    text-decoration: none;
}

.related-post-content h6 a:hover {
    color: #ff5a00 !important;
}

.related-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #ff5a00 !important;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.related-read-more i {
    transition: transform .25s ease;
}

.related-read-more:hover i {
    transform: translateX(3px);
}


/* =========================================================
   BLOG DETAIL CTA
========================================================= */

.blog-detail-cta {
    position: relative;

    overflow: hidden;

    margin-top: 50px;

    padding: 40px;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255, 122, 24, .28),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071a35 0%,
            #0d2b52 65%,
            #102f59 100%
        );

    box-shadow:
        0 20px 50px rgba(7, 26, 53, .16);
}

.blog-detail-cta::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border: 25px solid rgba(255, 90, 0, .08);

    border-radius: 50%;
}

.blog-cta-content {
    position: relative;
    z-index: 2;
}

.blog-detail-cta .section-mini-label {
    color: #ff7a18;
}

.blog-detail-cta h3 {
    margin-bottom: 9px;

    color: #fff;

    font-size: 25px;
    font-weight: 750;
}

.blog-detail-cta p {
    max-width: 600px;

    margin-bottom: 22px;

    color: rgba(255,255,255,.68);

    font-size: 12px;

    line-height: 1.7;
}

.blog-cta-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-cta-primary,
.blog-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 43px;

    padding: 10px 17px;

    border-radius: 10px;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.blog-cta-primary {
    background: linear-gradient(
        135deg,
        #ff5a00,
        #ff7a18
    );

    color: #fff !important;

    box-shadow:
        0 8px 20px rgba(255, 90, 0, .22);
}

.blog-cta-whatsapp {
    background: #159957;

    color: #fff !important;
}

.blog-cta-primary:hover,
.blog-cta-whatsapp:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0,0,0,.18);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .blog-detail-image {
        height: 380px;
    }

    .blog-detail-meta-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-share {
        width: 100%;
        justify-content: space-between;
    }

}


@media (max-width: 767px) {

    .blog-detail-image {
        height: 280px;

        border-radius: 17px;
    }

    .blog-detail-meta-card {
        padding: 16px;
    }

    .blog-detail-meta {
        gap: 12px;
    }

    .blog-meta-item {
        font-size: 10px;
    }

    .blog-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .blog-content h2 {
        font-size: 23px;
    }

    .blog-content h3 {
        font-size: 20px;
    }

    .blog-content blockquote {
        padding: 20px;
        font-size: 15px;
    }

    .related-posts-heading h3 {
        font-size: 22px;
    }

    .blog-detail-cta {
        padding: 28px 22px;
        border-radius: 17px;
    }

    .blog-detail-cta h3 {
        font-size: 21px;
    }

}


@media (max-width: 575px) {

    .blog-detail-image {
        height: 230px;
    }

    .blog-share {
        align-items: flex-start;
        flex-direction: column;
    }

    .blog-content {
        font-size: 14px;
    }

    .blog-tags {
        gap: 8px;
    }

    .related-post-image {
        height: 180px;
    }

    .blog-detail-cta {
        padding: 25px 18px;
    }

    .blog-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-cta-primary,
    .blog-cta-whatsapp {
        width: 100%;
    }

}