﻿.top-bar {
    color: white;
    padding: 5px 0;
    font-size: 14px;
}

.breaking-news {
    background: red;
    color: white;
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 3px;
    margin-right: 10px;
}

.social-icons a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
}

.navbar-brand {
    font-weight: bold;
    font-size: 20px;
}

.navbar-nav .nav-link {
    font-weight: bold;
}

.search-icon {
    font-size: 18px;
}

.featured-post {
    position: relative;
    color: white;
}

.bg-primary{
background: #ff2f2f !important;
}

    .featured-post img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

img {
    width: 100%;
}

.image-container {
    position: relative;
    height: 361px;
    border-radius: 5px;
    overflow: hidden;
}

    .image-container img {
        height: 100%;
        object-fit: cover;
    }

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.post-overlay2 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    border-radius: 5px;
}

.post-category {
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
}

.post-category1 {
    left: 0;
    bottom: 0;
    position: absolute;
    background: red;
    color: white;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
}

.section-title {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid red;
    display: inline-block;
    padding-bottom: 5px;
}

.view-all {
    float: right;
    text-decoration: none;
    font-size: 14px;
    color: black;
}

.post-card {
    margin-bottom: 30px;
}

    .post-card img {
        width: 100%;
        height: auto; /* Adjust based on your need */
        object-fit: cover;
        border-radius: 5px;
    }

.post-info {
    font-size: 12px;
    color: gray;
}

    .post-info span {
        color: red;
        font-weight: bold;
    }

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.post-description {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.image-cont {
    position: relative;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.category-title {
    border-bottom: 2px solid red;
    display: inline-block;
}

.post img {
    width: 100%;
    height: auto;
}

.popular img {
    width: 100%;
}

.social-btn {
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    flex: 1;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .social-card {
    display: flex;
    align-items: center;
    background-color: #f8f9fa; /* Bootstrap's light */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ff1c1c;
    border-radius: 12px;
    padding: 12px 16px;
    flex: 1 1 300px;
  }

  .social-card img {
    width: 120px;
    height: 40px;
    object-fit: contain;
    margin-right: 16px;
  }

  .social-card span {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-word;
  }
.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

    .news-item img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
    }

.news-image {
    position: relative;
    width: 40%;
    height: 100px;
}

.news-text {
    width: 60%;
    padding-left: 15px;
}

    .news-text h6 {
        margin: 0;
        font-size: 1rem;
        font-weight: bold;
    }

.date {
    color: gray;
    font-size: 0.9em;
}

.meta {
    font-size: 0.9rem;
    color: gray;
}

.sub-article img {
    width: 100%;
    height: auto;
}

.fs-small {
    font-size: 12px;
}

.section-title {
    font-weight: bold;
    border-bottom: 2px solid red;
    display: inline-block;
}

.post-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.post-info {
    font-size: 0.9rem;
    color: gray;
}

    .post-info span {
        color: red;
        font-weight: bold;
    }

.subscribe-box {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

    .subscribe-box input {
        width: 100%;
        padding: 8px;
        margin: 10px 0;
        border: 1px solid #ddd;
    }

    .subscribe-box button {
        background: red;
        color: white;
        border: none;
        padding: 10px 15px;
        width: 100%;
    }

.ad-box img {
    width: 100%;
}

.categories {
    margin-top: 40px;
    text-align: center;
}

    .categories h4 {
        font-weight: bold;
        position: relative;
        display: inline-block;
    }

        .categories h4::after {
            content: '';
            display: block;
            width: 40px;
            height: 2px;
            background: red;
            margin: 5px auto;
        }

.category-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 300px;
    margin: auto;
}

    .category-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

        .category-list li span {
            color: gray;
        }

        .category-list li::before {
            font-weight: bold;
            display: inline-block;
            width: auto;
            margin-left: -1em;
        }

.footer {
    background-color: #191919;
    color: #ffffff;
    padding: 40px 0;
}

    .footer .social-icons a {
        color: #ffffff;
        margin-right: 15px;
        font-size: 20px;
    }

    .footer .latest-posts img, .footer .popular-posts img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-right: 10px;
    }

    .footer .latest-posts, .footer .popular-posts {
        list-style: none;
        padding: 0;
    }

        .footer .latest-posts li, .footer .popular-posts li {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

    .footer .copyright {
        text-align: center;
        margin-top: 20px;
    }

    a{
        color: #000;
        text-decoration: none !important;
    }

    a:hover{
        color: #000;
    }

.clamp-3-lines {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.clamp-3-lines * {
  font-size: 16px;
}

.blog-descr * a {
    color: #0d6efd !important;
}


.blog-descr > h1 {
    font-size: 32px !important;
}

.blog-descr > h2 {
    font-size: 28px !important;
}

.blog-descr > h3 {
    font-size: 18px !important;
}










