/* ends */
.card {
    border: none;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 2rem;
    font-family: "Frutiger";
}
.cardImg {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.blog-label {
    position: absolute;
    top: 250px;
    left: 0;
    background-color: #e2001a;
    color: white;
    padding: 0.3rem 1rem;
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    max-height: 190px;
    overflow-y: auto;
}
.card-title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    color: black;
}
.userCard {
    font-size: 14px;
    font-weight: 700px;
    color: #606060;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}
.userCard i {
    font-size: 15px;
}
.card-text {
    margin: 0;
    margin-top: 0.5rem;
    font-size: 16px;
    color: #606060;
}

.card-footer {
    display: flex;
    color: #606060;
    background: none;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border: none;
}
.icon-group span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}
.icon-group i {
    margin-right: 5px;
}

/* blog section starts */

.blog-header {
    font-size: 72px;
    font-weight: 700;
}

.blog-author {
    font-size: 16px;
    font-weight: 700;
    /* font-size: 0.9rem; */
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.blog-meta {
    font-size: 16px;
    font-weight: 400;
    /* font-size: 0.9rem; */
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-meta div {
    display: flex;
    align-items: center;
}

.blog-meta div:not(:last-child)::after {
    content: "|";
    margin-left: 1rem;
    color: #6c757d;
}

.blog-content img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

.blog-content p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.8;
}

.sidebar {
    background-color: #bababa26;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.search {
    background-color: #ffffff;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.search input {
    border: none;
    height: 50px;
}
.search input:focus {
    outline: none;
}
.search button {
    border-radius: 12px;
    background-color: #e2001a;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search button i {
    font-size: 20px;
}
.sidebar-heading {
    margin: 0;
    font-size: 42px;
    font-weight: 700;
    color: #000000;
}

.latest-blogs .blog-item img {
    width: 220px;
    height: 200px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 1rem;
}

.latest-blogs .blog-date {
    color: #888;
    font-size: 12px;
}
.blog-text {
    /* font-size:10.5px; */
    font-size: 16px;
    font-weight: 400;
}

.textred {
    color: #dc3545;
    font-weight: bold;
    text-decoration: underline;
}
.latest-blogs .blog-title a {
    color: #232222;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
}

.tags {
    background-color: #353535;
    color: #fff;
    padding: 15px;
    margin: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tag-list span {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 0.3rem 1rem;
    margin: 0.3rem;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 400;
}

.tags h5 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    text-align: left;
}
.tags hr {
    border-color: #eeeeee;
}
.newslatterBox {
    background-color: #ffffff;
    padding: 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.newsletter h5 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #343a40;
}
.news-text {
    margin: 0;
    margin-top: 1rem;
    font-size: 16px;
    color: #606060;
}
.newslatterBox input[type="text"] {
    border: none;
    height: 45px;
}

.newsletter button {
    border-radius: 12px;
    height: 50px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #e2001a;
    font-size: 20px;
    font-weight: 700;
}
.arrow img {
    height: 0px;
    width: 0px;
}
.relatedBlogHeading {
    font-size: 64px;
    font-weight: 700;
    text-align: center;
}
/* forward and backward */

.btn-circle {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-outline-circle {
    border: 2px solid black;
    color: black;
    background-color: transparent;
}

.btn-filled-circle {
    border: 2px solid black;
    color: black;
    background-color: transparent;
}
.btn-outline-circle:hover {
    background-color: red;
    color: white;
    border: 2px solid red;
}

.btn-filled-circle:hover {
    background-color: red;
    color: white;
    border: 2px solid red;
}
.owl-carousel-blogs{
    /* display: flex; */
    width: 100%;
    padding: 0 10px;
}
.slick-list {
    margin: 0 -10px; /* Creates spacing between slides */
}

.slick-slide {
    padding: 0 10px; /* Adds gap between slides */
}

.card.slide-item {
    margin: 0; /* Remove previous margin */
}

@media screen and (max-width: 1660px) {
    .blog-header {
        font-size: 64px;
    }
    .relatedBlogHeading {
        font-size: 54px;
    }
    .latest-blogs .blog-item img {
        width: 150px;
        height: 150px;
        margin-right: 0.5rem;
    }
    .latest-blogs .blog-title a {
        font-size: 20px;
        line-height: 20px;
    }
    .latest-blogs .textred {
        margin: 0;
    }
    .card-title {
        font-size: 20px;
    }
}
@media screen and (max-width: 1440px) {
    .blog-header {
        font-size: 54px;
    }
    .sidebar-heading {
        font-size: 32px;
    }
    .search input {
        height: 40px;
    }
    .search button {
        width: 45px;
        height: 45px;
    }
    .search button i {
        font-size: 18px;
    }
}

@media screen and (max-width: 1280px) {
    .blog-header {
        font-size: 48px;
    }
    .latest-blogs .blog-item img {
        width: 100%;
        height: 150px;
        margin-right: 0;
    }
    .latest-blogs .textred {
        margin: 0;
    }
    .card-title {
        font-size: 16px;
    }
    .relatedBlogHeading {
        font-size: 48px;
    }
    .blog-text {
        margin-bottom: 0;
    }
    .blog-item {
        flex-direction: column;
        gap: 0.5rem;
        border-bottom: 1px solid #888;
        padding-bottom: 1rem;
    }
}
@media screen and (max-width: 990px) {
    .blog-header {
        font-size: 38px;
    }
    .relatedBlogHeading {
        font-size: 38px;
    }
    .latest-blogs .blog-title a {
        font-size: 18px;
        line-height: auto;
    }
    .tag-list span {
        padding: 0.3rem 0.5rem;
        font-size: 18px;
    }
    .newsletter h5 {
        font-size: 20px;
    }
    .bgDImg {
        object-fit: cover;
    }
}
