/* =====================================================
   BLOG DETAILS
===================================================== */

:root {
    --pink: #f5386d;
    --orange: #ff8a25;
    --dark: #1f2330;

    --gradient:
        linear-gradient(
            90deg,
            #f5386d 0%,
            #ff8a25 100%
        );
}


/* =====================================================
   BREADCRUMB
===================================================== */

.blog-details-breadcrumb {
    padding: 22px 0;

    border-top: 1px solid #f4eeee;

    background: #fff;
}

.details-breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    font-size: 10px;
}

.details-breadcrumb-list a {
    color: #555;

    text-decoration: none;
}

.details-breadcrumb-list i {
    color: #aaa;

    font-size: 7px;
}

.details-breadcrumb-list span {
    color: var(--pink);

    font-weight: 600;
}


/* =====================================================
   DETAILS HERO
===================================================== */

.blog-details-hero {
    position: relative;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(245, 56, 109, .08),
            transparent 35%
        ),
        #fff;
}

.blog-details-hero-content {
    max-width: 900px;

    margin: auto;
}

.details-category {
    display: inline-flex;

    padding: 8px 17px;

    border-radius: 30px;

    color: var(--pink);

    background: #fff0f4;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}

.blog-details-hero h1 {
    margin: 22px auto;

    color: var(--dark);

    font-size: 46px;
    font-weight: 700;

    line-height: 1.25;
}

.details-description {
    max-width: 750px;

    margin: 0 auto 25px;

    color: #666;

    font-size: 12px;
    line-height: 1.9;
}


/* META */

.details-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 25px;
}

.details-meta span {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #888;

    font-size: 9px;
}

.details-meta i {
    color: var(--pink);
}


/* AUTHOR */

.details-author {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    text-align: left;
}

.details-author img {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    object-fit: cover;
}

.details-author span,
.details-author small {
    display: block;

    color: #999;

    font-size: 7px;
}

.details-author strong {
    display: block;

    color: var(--dark);

    font-size: 10px;
}


/* =====================================================
   MAIN IMAGE
===================================================== */

.details-main-image {
    height: 520px;

    overflow: hidden;

    border-radius: 24px;

    box-shadow:
        0 20px 60px rgba(31, 35, 48, .1);
}

.details-main-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================================
   ARTICLE
===================================================== */

.blog-article-content {
    color: #555;

    font-size: 12px;
    line-height: 2;
}

.blog-article-content p {
    margin-bottom: 22px;
}

.article-intro {
    color: var(--dark);

    font-size: 16px;
    font-weight: 500;

    line-height: 1.8;
}

.blog-article-content h2 {
    margin: 40px 0 18px;

    color: var(--dark);

    font-size: 27px;
    font-weight: 700;

    line-height: 1.4;
}


/* =====================================================
   SHARE SIDEBAR
===================================================== */

.blog-share-sidebar {
    position: sticky;

    top: 120px;

    display: flex;
    align-items: center;
    flex-direction: column;

    gap: 12px;
}

.blog-share-sidebar > span {
    margin-bottom: 5px;

    color: #999;

    font-size: 7px;
    font-weight: 700;

    writing-mode: vertical-rl;

    letter-spacing: 1px;
}

.blog-share-sidebar a,
.blog-share-sidebar button {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #eee1e5;
    border-radius: 50%;

    color: var(--pink);

    background: #fff;

    text-decoration: none;

    transition: .3s ease;
}

.blog-share-sidebar a:hover,
.blog-share-sidebar button:hover,
.blog-share-sidebar button.copied {
    color: #fff;

    border-color: transparent;

    background: var(--gradient);

    transform: translateY(-3px);
}


/* =====================================================
   QUOTE
===================================================== */

.blog-article-quote {
    position: relative;

    margin: 35px 0;

    padding: 35px;

    border: none;
    border-radius: 18px;

    background:
        linear-gradient(
            120deg,
            #fff1f5,
            #fff8f2
        );
}

.article-quote-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 50%;

    color: #fff;

    background: var(--gradient);
}

.blog-article-quote p {
    color: var(--dark);

    font-size: 17px;
    font-weight: 600;

    line-height: 1.7;

    margin-bottom: 12px;
}

.blog-article-quote span {
    color: var(--pink);

    font-size: 9px;
    font-weight: 700;
}


/* =====================================================
   ARTICLE BENEFITS
===================================================== */

.article-benefits {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;

    margin: 30px 0;
}

.article-benefit-item {
    display: flex;

    gap: 14px;

    padding: 20px;

    border: 1px solid #f0e5e8;
    border-radius: 14px;

    background: #fff;
}

.article-benefit-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--pink);

    background: #fff0f4;
}

.article-benefit-item h4 {
    color: var(--dark);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 5px;
}

.article-benefit-item p {
    color: #777;

    font-size: 9px;
    line-height: 1.7;

    margin: 0;
}


/* =====================================================
   CONTENT IMAGE
===================================================== */

.article-content-image {
    height: 360px;

    overflow: hidden;

    margin: 35px 0;

    border-radius: 18px;
}

.article-content-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================================
   ARTICLE TAGS
===================================================== */

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #eee5e7;
}

.article-tags span {
    color: var(--dark);

    font-size: 9px;
    font-weight: 700;
}

.article-tags a {
    padding: 7px 12px;

    border-radius: 20px;

    color: #666;

    background: #f8f6f7;

    font-size: 8px;

    text-decoration: none;
}

.article-tags a:hover {
    color: #fff;

    background: var(--gradient);
}


/* =====================================================
   AUTHOR CARD
===================================================== */

.blog-author-card {
    display: flex;

    gap: 22px;

    margin-top: 40px;

    padding: 30px;

    border-radius: 18px;

    background:
        linear-gradient(
            120deg,
            #fff1f5,
            #fff8f2
        );
}

.blog-author-card > img {
    width: 85px;
    height: 85px;

    flex-shrink: 0;

    border-radius: 50%;

    object-fit: cover;
}

.blog-author-card span {
    color: var(--pink);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 1px;
}

.blog-author-card h4 {
    color: var(--dark);

    font-size: 17px;
    font-weight: 700;

    margin: 6px 0 8px;
}

.blog-author-card p {
    color: #666;

    font-size: 9px;
    line-height: 1.8;

    margin-bottom: 12px;
}

.author-social {
    display: flex;

    gap: 8px;
}

.author-social a {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--pink);

    background: #fff;

    text-decoration: none;
}


/* =====================================================
   SIDEBAR
===================================================== */

.blog-details-sidebar {
    position: sticky;

    top: 110px;
}

.details-sidebar-card {
    padding: 25px;

    margin-bottom: 22px;

    border: 1px solid #f0e5e8;
    border-radius: 17px;

    background: #fff;
}

.details-sidebar-card h3 {
    color: var(--dark);

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 20px;
}


/* SEARCH */

.details-search {
    position: relative;

    display: flex;
    align-items: center;
}

.details-search > i {
    position: absolute;

    left: 15px;

    color: var(--pink);

    font-size: 11px;
}

.details-search input {
    width: 100%;
    height: 48px;

    padding: 0 50px 0 40px;

    border: 1px solid #eee4e6;
    border-radius: 10px;

    outline: none;

    font-size: 9px;
}

.details-search button {
    position: absolute;

    right: 5px;

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 8px;

    color: #fff;

    background: var(--gradient);
}


/* CATEGORIES */

.details-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 0;

    border-bottom: 1px solid #f2eaec;

    color: #555;

    text-decoration: none;
}

.details-category-list a:last-child {
    border-bottom: none;
}

.details-category-list a span {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 9px;
}

.details-category-list i {
    width: 25px;

    color: var(--pink);
}

.details-category-list strong {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--pink);

    background: #fff0f4;

    font-size: 7px;
}


/* POPULAR */

.details-popular-item {
    display: flex;

    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid #f2eaec;

    text-decoration: none;
}

.details-popular-item:last-child {
    border-bottom: none;
}

.details-popular-item img {
    width: 85px;
    height: 75px;

    flex-shrink: 0;

    border-radius: 10px;

    object-fit: cover;
}

.details-popular-item span {
    color: var(--pink);

    font-size: 6px;
    font-weight: 700;
}

.details-popular-item h5 {
    color: var(--dark);

    font-size: 9px;
    font-weight: 700;

    line-height: 1.5;

    margin: 4px 0;
}

.details-popular-item small {
    color: #999;

    font-size: 7px;
}


/* =====================================================
   SIDEBAR CTA
===================================================== */

.details-sidebar-cta {
    position: relative;

    overflow: hidden;

    padding: 35px 28px;

    border-radius: 18px;

    color: #fff;

    background: var(--gradient);
}

.sidebar-cta-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 15px;

    background: rgba(255, 255, 255, .17);
}

.details-sidebar-cta > span {
    font-size: 7px;

    letter-spacing: 1px;
}

.details-sidebar-cta h3 {
    color: #fff;

    font-size: 21px;
    font-weight: 700;

    margin: 10px 0;
}

.details-sidebar-cta p {
    color: rgba(255, 255, 255, .85);

    font-size: 9px;
    line-height: 1.7;
}

.details-sidebar-cta a {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    margin-top: 10px;

    padding: 12px 17px;

    border-radius: 25px;

    color: var(--pink);

    background: #fff;

    font-size: 8px;
    font-weight: 700;

    text-decoration: none;
}


/* =====================================================
   RELATED BLOG
===================================================== */

.related-blog-section {
    background: #fffafa;
}

.related-blog-section
.section-heading h2 {
    margin-top: 15px;

    color: var(--dark);

    font-size: 30px;
    font-weight: 700;
}

.related-blog-section
.section-heading h2 span {
    background: var(--gradient);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-blog-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #f0e5e8;
    border-radius: 17px;

    background: #fff;

    transition: .35s ease;
}

.related-blog-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(31, 35, 48, .08);
}

.related-blog-image {
    position: relative;

    height: 210px;

    overflow: hidden;
}

.related-blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.related-blog-card:hover img {
    transform: scale(1.07);
}

.related-blog-image span {
    position: absolute;

    left: 15px;
    bottom: 15px;

    padding: 7px 12px;

    border-radius: 20px;

    color: var(--pink);

    background: #fff;

    font-size: 7px;
    font-weight: 700;
}

.related-blog-content {
    padding: 22px;
}

.related-blog-meta {
    display: flex;

    gap: 15px;

    color: #999;

    font-size: 7px;

    margin-bottom: 10px;
}

.related-blog-content h3 {
    color: var(--dark);

    font-size: 15px;
    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 15px;
}

.related-blog-content a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: var(--pink);

    font-size: 8px;
    font-weight: 700;

    text-decoration: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .blog-details-sidebar {
        position: static;
    }

}


@media (max-width: 576px) {

    .blog-details-hero h1 {
        font-size: 31px;
    }

    .details-main-image {
        height: 280px;

        border-radius: 16px;
    }

    .article-intro {
        font-size: 14px;
    }

    .blog-article-content h2 {
        font-size: 22px;
    }

    .article-benefits {
        grid-template-columns: 1fr;
    }

    .blog-article-quote {
        padding: 25px 20px;
    }

    .blog-article-quote p {
        font-size: 14px;
    }

    .article-content-image {
        height: 250px;
    }

    .blog-author-card {
        flex-direction: column;

        padding: 25px 20px;
    }

    .related-blog-image {
        height: 230px;
    }

}