/* Blog Cards Inner */
.single-news {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* needed */
}

.news-inner {
    margin-top: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* Base Card */
.single-news {
    overflow: hidden;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(250, 250, 250, 0.2);
    padding: 15px;
}

/* Stagger Animation */
.single-news:nth-child(1) {
    animation-delay: 0.1s;
}

.single-news:nth-child(2) {
    animation-delay: 0.3s;
}

.single-news:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Lift Effect */
.single-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.news-thumb {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
}

/* Blog Image */
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

/* Image Zoom */
.single-news:hover .news-thumb img {
    transform: scale(1.1);
}

/* Title */
.single-news h4 a {
    color: #fff;
    font-weight: 600;
    font-size: 18px !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-news h4 a:hover {
    color: #e20538;
}

/* Date & Category */
.date-tag p {
    color: #ccc;
}

.date-tag {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.date-tag span,
.date-tag a {
    font-size: 14px;
    text-decoration: none;
    color: #ccc;
}

.date-tag a:hover {
    color: #e20538;
}

/* Read More Button */
.read-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-top: 21px;
}

.read-btn {
    width: 100%;
}

.read-btn a {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    border-radius: 7px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    color: #fafafa;
    border: 3px solid #fafafa69;
    background: transparent;
    transition: all 0.3s ease;
}

.read-btn a:hover {
    background-color: #e20538;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(226, 5, 56, 0.3);
    border: 3px solid #e20538;
}

/* Pagination */
.paginations {
    margin-top: 40px;
    text-align: center;
    padding: 0;
    list-style: none;
}

.paginations li {
    display: inline-block;
    margin: 0 5px;
}

.paginations li a {
    border: 1px solid #444;
    border-radius: 8px;
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: "Saira", sans-serif;
    color: #fff;
    background: #111;
    transition: all 0.3s ease;
    text-decoration: none;
}

.paginations li a:hover,
.paginations li.active a {
    color: #fff;
    background-color: #e20538;
    border-color: #e20538;
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(237, 63, 40, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        margin-top: 60px;
    }

    .single-news h4 a {
        font-size: 18px;
    }

    .date-tag a {
        font-size: 14px;
    }
}

/*--------- Blog Details --------------*/
.blog-details-left {
    padding: clamp(12px, 1.25vw, 32px);
    border: 1px solid #45474f;
    border-radius: clamp(8px, 0.781vw, 30px);
}

.blog-details h2 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.date-tags {
    margin-bottom: 15px;
}

.date-tags a {
    margin-right: 15px;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.date-tags a i {
    margin-right: 5px;
    color: #e20538;
}

.blog-left-cnt h3 {
    font-weight: 700;
    font-size: 16px;
    margin: 20px 0 10px;
}

.blog-left-cnt p {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 15px;
}

/* Sidebar */
.sidebar-contents {
    border: 1px solid #45474f;
    background: #0c0d11;
    padding: clamp(12px, 1.25vw, 48px);
    border-radius: clamp(8px, 0.781vw, 30px);
}

.sidebar-widget {
    /* margin-bottom: 30px; */
    /* padding: 20px; */
    /* background: #f9f9f9; */
    border-radius: 8px;
}

.sidebar-widget h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    /* border-bottom: 2px solid #ffffff; */
    padding-bottom: 8px;
    color: white;
}

/* Search Box */
.widget-search input {
    width: calc(100% - 40px);
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    padding: 8px 10px;
    outline: none;
}

.widget-search button {
    border: none;
    background: #e20538;
    color: #fff;
    padding: 8px 12px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Recent Posts */
.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.recent-thumb {
    width: 100%;
}

.recent-thumb-img {
    width: 30%;
}

.recent-thumb img {
    width: 100%;
    /* height: 70px; */
    object-fit: cover;
    border-radius: 5px;
}

.recent-post-cnt {
    width: 70%;
}

.recent-post-cnt {
    margin-left: 15px;
}

.recent-post-cnt span {
    display: block;
    font-size: 13px;
    color: #b2b4b8 !important;
}

.recent-post-cnt h5 {
    font-size:16px;
    font-weight: 500;
    line-height: 20px;
    transition: .5s ease-in-out;
}

.recent-post-cnt h5 a {
    color: white;
    text-decoration: none;
}

.recent-post-cnt h5 a:hover {
    color: #e20538;
}

/* Categories */
.category {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category li {
    margin-bottom: 10px;
}

.category li a {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 15px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.category li a:hover {
    background: #e20538;
    color: #fff;
}

.category li span {
    font-weight: 600;
}

/*---------- related-blog ----------- */
.related-blog-card {
    background: #0c0d11;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    height: 100%;
    padding: 10px;
    border: 1px solid rgba(250, 250, 250, 0.2);
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.related-blog-img {
    overflow: hidden;
    border-radius: 10px;

}

.related-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    /* removes unwanted inline gaps */
}

.related-blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    /* keeps shadow + img neat */
}

.related-blog-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-blog-card:hover .related-blog-img img {
    transform: scale(1.1);
}

.related-blog-body {
    padding: 15px;
}

.related-blog-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-blog-title a:hover {
    color: #e20538;
    /* brand color */
}

.related-blog-body-content p {
    font-size: 14px;
    color: rgb(223, 219, 219);
}

.related-blog-title {
    font-size: 18px;
}
