/* ===== Start - Common (Repetitive) Content Styles ===== */

/* Nav Bar Modification */
body{
    font-family: "Poppins", sans-serif !important;
    overflow-x: unset;
}
.Nav-Link {
    color: var(--clr-blue-dark);
}
.Nav-Link:is(:hover, :focus) {
    border-bottom: 3px solid var(--clr-blue-dark);
    color: var(--clr-blue-dark);
}

/* Blog Categories in Sidebar & At The End Of Blog */
.blogWrapper .category .linkContainer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 576px) {
    .blogWrapper .category .linkContainer {
        gap: 6px;
    }
}

.blogWrapper .category .linkContainer .text {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}

.blogWrapper .category .linkContainer .link {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);

    background-color: #f8f7fc;
    padding: 12px 25px;
    border-radius: 3px;
}
@media (max-width: 1400px) {
    .blogWrapper .category .linkContainer .link {
        padding: 12px 20px;
    }
}
@media (max-width: 1200px) {
    .blogWrapper .category .linkContainer .link {
        padding: 12px 17px;
    }
}
.blogWrapper .category .linkContainer .link:is(:focus, :hover) {
    color: var(--clr-white);
    /* background-color: var(--clr-blue-dark); */
    background-color: #7e00ff;
}
/* ===== End - Common (Repetitive) Content Styles ===== */

/* ===== Start - Blog Container ===== */
.blogWrapper {
    display: grid;
    grid-template-columns: 68fr 32fr;
    align-items: flex-start;
    justify-content: center;
    gap: 70px;

    padding: 150px var(--pad-page) 100px var(--pad-page);
    background-image: url(../assets/image/Blog/into-bg2.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
}
@media (max-width: 1200px) {
    .blogWrapper {
        gap: 55px;
        padding: 150px var(--pad-page) 70px var(--pad-page);
    }
}
@media (max-width: 992px) {
    .blogWrapper {
        grid-template-columns: 100fr;
        gap: 60px;

        padding: 140px var(--pad-page) 50px var(--pad-page);
    }
}
@media (max-width: 768px) {
    .blogWrapper {
        padding: 120px var(--pad-page) 40px var(--pad-page);
    }
}

/* Latest Blog */
.blogWrapper .mainBlog {
}

/* Latest Blog Image */
.blogWrapper .mainBlog .blogImage {
    width: 100%;
    height: 100%;
    margin-bottom: 15px;
}

.blogWrapper .mainBlog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px auto;
}
.blogWrapper .mainBlog img:nth-of-type(1) {
    margin: 0 auto;
}
.mainBlog h2{
    font-size: 24px;
    margin-top: -20px;
}
.mainBlog h3{
    color: #9eaab8 !important;
    font-style: unset !important;
}
.mainBlog ul{
    margin-left: 15px;
}
.mainBlog ul li{
    color: #393d46;
}

/* Blog Title */
.blogWrapper .mainBlog .title {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 10px;
}
@media (max-width: 850px) {
    .blogWrapper .mainBlog .title {
        font-size: 22px;
    }
}
@media (max-width: 576px) {
    .blogWrapper .mainBlog .title {
        font-size: 20px;
        line-height: 26px;
    }
    .blogWrapper .mainBlog img:nth-of-type(1){
        width: 100% !important;
    }
}

/* Blog Sub-Title */
.blogWrapper .mainBlog .subTitle {
    font-size: calc(var(--fs-regular) + 2rem);
    font-weight: var(--fw-semi-bold);
    line-height: calc(var(--lh-regular) + 2rem);
}
@media (max-width: 992px) {
    .blogWrapper .mainBlog .subTitle {
        font-size: calc(var(--fs-regular) + 5rem);
        line-height: calc(var(--lh-regular) + 4rem);
    }
}
@media (max-width: 576px) {
    .blogWrapper .mainBlog .subTitle {
        font-size: calc(var(--fs-regular) + 3rem);
        line-height: calc(var(--lh-regular) + 2rem);
    }
}

/* Blog Details */
.blogWrapper .mainBlog .details {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 10px;
}
@media (max-width: 576px) {
    .blogWrapper .mainBlog .details {
        font-size: 14px;
        line-height: 25px;
    }
}

/* Sidebar in the Intro Section */
.blogWrapper .sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 55px;
}
@media (max-width: 992px) {
    .blogWrapper .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media (max-width: 850px) {
    .blogWrapper .sidebar {
        gap: 40px;
    }
}

.blogWrapper .sidebar :is(.author, .social, .category, .latestBlogs) {
    flex-basis: 100%;
}
@media (max-width: 992px) {
    .blogWrapper .sidebar :is(.author, .social) {
        flex-basis: calc(50% - 27.5px);
    }
}
@media (max-width: 850px) {
    .blogWrapper .sidebar :is(.author, .social) {
        flex-basis: 100%;
    }
}

/* Sidebar Sections */
.blogWrapper .sidebar :is(.social, .category) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;

    width: 100%;
}

/* Heading of Sidebar Sections */
.blogWrapper .sidebar .head {
    font-size: 24px !important;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: var(--font-secondary);
    color: #7e00ff;
    font-weight: 500;
}

.blogWrapper .sidebar .author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 5px;
    background-color: var(--clr-white);
    padding: 20px;
    box-shadow: var(--shadow-small);
}

.blogWrapper .sidebar .author .details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.blogWrapper .sidebar .author img {
    width: 95px;
    height: 95px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--clr-green);
}

.blogWrapper .sidebar .author .text {
    font-size: var(--fs-xs);
    line-height: var(--lh-xs);
}
@media (max-width: 1200px) {
    .blogWrapper .sidebar .author .text {
        line-height: calc(var(--lh-xs) + 2rem);
    }
}

/* Social Media Links in Sidebar */
.blogWrapper .sidebar .social .linkContainer {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
}
@media (max-width: 1200px) {
    .blogWrapper .sidebar .social .linkContainer {
        gap: 8px;
    }
}
@media (max-width: 992px) {
    .blogWrapper .sidebar .social .linkContainer {
        gap: 6px;
    }
}
@media (max-width: 850px) {
    .blogWrapper .sidebar .social .linkContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }
}
@media (max-width: 576px) {
    .blogWrapper .sidebar .social .linkContainer {
        grid-template-columns: repeat(1, 1fr);
    }
}

.blogWrapper .sidebar .social .link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;

    background-color: var(--clr-white);
    width: 100%;
    height: 60px;
    border-radius: 5px;
    padding: 0 0 0 20px;
    box-shadow: var(--shadow-small);
}
@media (max-width: 1200px) {
    .blogWrapper .sidebar .social .link {
        height: 52px;
    }
}
.blogWrapper .sidebar .social .link:is(:focus, :hover) {
    outline: 3px solid #7e00ff;
}

.blogWrapper .sidebar .social .link img {
    max-width: 37px;
}

.blogWrapper .sidebar .social .link .text {
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}

.blogWrapper .sidebar .latestBlogs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}
@media (max-width: 992px) {
    .blogWrapper .sidebar .latestBlogs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 30px;
    }
}
@media (max-width: 768px) {
    .blogWrapper .sidebar .latestBlogs {
        flex-direction: column;
        gap: 15px;
    }
}

.blogWrapper .sidebar .latestBlogs .head {
    flex-basis: 100%;
}

.blogWrapper .sidebar .latestBlogs .blog {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
@media (max-width: 992px) {
    .blogWrapper .sidebar .latestBlogs .blog {
        flex-basis: calc(50% - 15px);
    }
}

.blogWrapper .sidebar .latestBlogs .blog .image img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 3px;
}

.blogWrapper .sidebar .latestBlogs .blog .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.blogWrapper .sidebar .latestBlogs .blog .text .title {
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
}

.blogWrapper .sidebar .latestBlogs .blog .text .category {
    font-size: 15px;
    line-height: 20px;
    /* color: var(--clr-blue); */
    color:  #7e00ff;
    margin-top: 8px;
}
.category{
    margin-top: 25px;
}
.blogWrapper .sidebar .latestBlogs .blog .text :is(.title, .category):is(:hover, :focus) {
    /* color: var(--clr-blue-dark); */
    color:  #7e00ff;
}
/* ===== End - Blog Container ===== */

.blogWrapper .sidebar .author .author_btn {
    font-size: 15px;
    font-weight: normal;
    background-color: var(--clr-blue);
    color: var(--clr-white);
    padding: 12px 25px;
    padding-top: 10px;
    border-radius: 3px;
    display: block;
    margin-bottom: 10px;
    transition: all 250ms ease-in-out;
}
.blogWrapper .sidebar .author .author_btn:is(:hover, :focus) {
    background-color: var(--clr-blue-dark);
}
