.breadcrumb {
    margin-top: 71px;
}

.breadcrumb-item a {
    color: #000;
    text-decoration: none;

}

.breadcrumb-item.active {
    color: #000;
}

.blog-title {
    font-size: clamp(1.625rem, 1.3977rem + 1.1364vw, 2.25rem);
    text-wrap: balance;
    font-weight: 600;
}

.blog-body {
    margin-top: 61px;
    background: linear-gradient(to left, rgba(243, 241, 239, 1) 42%, white 39%);

    .col-lg-7 {
        img.img-fluid {
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            display: block !important;
            border-radius: 8px;
            margin-bottom: 20px;
            object-fit: cover;
            visibility: visible !important;
            opacity: 1 !important;
        }

        img {
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            display: block !important;
            border-radius: 8px;
            margin-bottom: 20px;
            object-fit: cover;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .embed-responsive {
            width: 100% !important;
            position: relative;
            display: block;
            margin-bottom: 20px;
            border-radius: 8px;
            overflow: hidden;

            &::before {
                content: "";
                display: block;
                padding-top: 56.25%; /* 16:9 aspect ratio */
            }

            .embed-responsive-item {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: none;
            }
        }
    }

    .social-icons {
        display: flex;
        justify-content: start;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;

        a {
            color: #000;
            font-size: 1rem;
            text-decoration: none;

            &:hover {
                color: #007bff;
                /* Change to your desired hover color */
            }
        }
    }

    .col-md-7 {
        p {
            font-weight: 400;
            font-size: 21.14px;
            line-height: 120%;
            text-align: justify;
            color: rgba(0, 0, 0, 1);
            margin-bottom: 60px;
        }
    }

    .blog-post-content {
        img {
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            display: block !important;
            border-radius: 8px;
            margin: 20px 0;
            object-fit: cover;
            visibility: visible !important;
            opacity: 1 !important;
        }

        p img,
        div img,
        figure img {
            width: 100% !important;
            height: auto !important;
            max-width: 100% !important;
            display: block !important;
            border-radius: 8px;
            margin: 20px 0;
            object-fit: cover;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .embed-responsive {
            width: 100% !important;
            position: relative;
            display: block;
            margin: 20px 0;
            border-radius: 8px;
            overflow: hidden;

            &::before {
                content: "";
                display: block;
                padding-top: 56.25%; /* 16:9 aspect ratio */
            }

            .embed-responsive-item {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: none;
            }
        }
    }
}

.LatestProject {
    background: rgba(243, 241, 239, 1);
    padding: 50px 0 50px 60px;
    height: 100%;

    a.btn {
        color: rgba(156, 156, 156, 1);
        display: block;
        margin: 0 auto;
        text-align: center;
        width: fit-content;
        margin-bottom: 48px;
    }

    ul li a {
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-weight: 400;
        font-size: 23.19px;


    }

    h4 {
        font-weight: 700;
        font-style: Bold;
        font-size: 23.19px;
        color: #000000;
        margin-bottom: 30px;
    }

    .swiper-slide {
        border: none;
        background-color: rgba(249, 249, 249, 1);
        margin-bottom: 48px;
        height: fit-content;
    }

    .post-card {
        padding: 15px;
        background-color: rgba(249, 249, 249, 1);
        border-radius: 8px;
        margin-bottom: 48px;
        box-shadow: 0px 1px 8.94px 0px rgba(1, 1, 1, 0.13);



        h3 {
            font-weight: 700;
            font-style: Bold;
            font-size: 20px;
            margin-top: 7px;
            margin-bottom: 30px;
        }

        p {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;

            span {
                color: rgba(86, 86, 86, 1);
            }

            a {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 32px;
                width: 32px;
                background-color: rgba(238, 238, 238, 1);
                border-radius: 50%;
                padding: 10px;
                margin: 0;



            }
        }

        img {
            width: 100%;
            height: auto;
            object-fit: cover;
            aspect-ratio: 16 / 9;
        }
    }

    .calculate-zakat {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        align-items: center;
        background: #000;
        padding: 11px 15px;
        border-radius: 8px;
        margin-bottom: 38px;

        h5 {

            font-weight: 700;
            font-style: Bold;
            font-size: 21.87px;

            line-height: 100%;

            color: #FFFFFF;
        }

        p {
            font-weight: 400;
            font-size: 18.46px;
            line-height: 100%;
            letter-spacing: 0%;
            color: rgb(255, 255, 255);
        }
    }
}

.social-icons-with-names {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-block: 50px 40px;
}

.social-icons-with-names li a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    background: #1877f2;
    /* Light gray background similar to Facebook's UI */
    transition: all 0.3s ease;
    font-size: 12px;

}

.social-icons-with-names li a:hover {
    background-color: #e4e6eb;
    /* Slightly darker on hover */
}

/* Individual icon colors */
.social-icons-with-names li:nth-child(1) a {
    background: #1877f2;
}

/* Facebook */
.social-icons-with-names li:nth-child(2) a {
    background: #1da1f2;
}

/* Twitter */
.social-icons-with-names li:nth-child(3) a {
    background: #0a66c2;
}

/* LinkedIn */
.social-icons-with-names li:nth-child(4) a {
    background: #25d366;
}

/* WhatsApp */

.social-icons-with-names li a svg {
    font-size: 1.5em;
}

.related-blogs {
    h2 {
        font-weight: 400;
        font-size: 32.05px;
        line-height: 100%;
        letter-spacing: 0%;
        margin-bottom: 20px;
    }

    h2:last-of-type {
        border-top: 2px solid #000;
        padding-top: 20px;
        margin-bottom: 50px;
    }

    p {
        font-weight: 400;
        font-size: 12.96px !important;
        line-height: 100%;
        letter-spacing: 0%;
        margin-top: 10px;

    }

    ul {
        display: flex;
        gap: 20px;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 15px;
        /* Space for scrollbar */
        scrollbar-width: thin;
        /* For Firefox */
        scrollbar-color: #888 transparent;
        /* For Firefox */

        /* Hide scrollbar for Chrome, Safari and Opera */
        &::-webkit-scrollbar {
            height: 6px;
        }

        /* Track */
        &::-webkit-scrollbar-track {
            background: transparent;
            margin: 0 10px;
        }

        /* Handle */
        &::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

        /* Handle on hover */
        &::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        li {
            width: 216px;
            flex: 0 0 216px;
            /* shorthand for flex-grow, flex-shrink, flex-basis */

            img {
                width: 100%;
                aspect-ratio: 16/9;
                border-radius: 8px;
                object-fit: cover;
                margin-bottom: 10px;
            }

            p {
                margin: 0;
                font-size: 14px;
                line-height: 1.4;
                margin-bottom: 0 !important;
            }
        }
    }

}

@media (max-width: 1024px) {
    .LatestProject {
        padding: 30px 0 15px 15px;
    }
}

@media (max-width: 991px) {
    .blog-body {
        background: #fff;
    }

    .LatestProject {
        display: none;
    }
}