/* ===== Newspaper Navbar Style ===== */

.custom-news-navbar {
  background: #ffffff;
  border-bottom: 1px solid #ccc;
  z-index: 1000;
}

/* Logo */
.brand h1 {
  font-family: 'Georgia', serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand small {
  font-size: 13px;
  letter-spacing: 3px;
  color: #777;
}

/* Sign In */
.signin-link {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

/* Publish Button */
.publish-btn {
  background: #b30000;
  color: #fff;
  padding: 7px 18px;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.publish-btn:hover {
  background: #8a0000;
  color: #fff;
}

/* Category Menu */
.navbar-nav .nav-link {
  color: #000 !important;
  font-weight: 500;
  margin: 0 15px;
  position: relative;
  transition: 0.3s;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #b30000;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #b30000 !important;
}

/* Body spacing because fixed navbar */

/* ===== BODY ===== */
body {
 
    font-family: 'Georgia', serif;
    background: #f9f9f9;
}

/* ===== HEADER ===== */

.news-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

/* Top Section */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0 15px 0;
}

/* Logo */
.brand h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.brand span {
    font-size: 13px;
    letter-spacing: 3px;
    color: #777;
}

/* Right side */
.signin-link {
    text-decoration: none;
    color: #000;
    margin-right: 20px;
    font-weight: 500;
}

.publish-btn {
    background: #b30000;
    color: #fff;
    padding: 8px 18px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.publish-btn:hover {
    background: #8a0000;
    color: #fff;
}

/* Category Bar */
.category-bar {
    border-top: 1px solid #eee;
    border-bottom: 2px solid #000;
}

.category-bar ul {
    list-style: none;
    display: flex;
    gap: 35px;
    padding: 15px 0;
    margin: 0;
}

.category-bar ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
}

/* Hover underline */
.category-bar ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: #b30000;
    transition: 0.3s;
}

.category-bar ul li a:hover::after {
    width: 100%;
}

/* ===== BLOG CARD STYLE ===== */

.card {
    border: none;
    border-bottom: 1px solid #ddd;
    background: #fff;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
}

.card-footer {
    background: none;
    font-size: 14px;
}

.btn-primary {
    background: #b30000;
    border: none;
}

.btn-primary:hover {
    background: #8a0000;
}


/* ===== Modern Sidebar ===== */
.sidebar-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
}

.sidebar-title {
    font-weight: 700;
    font-size: 18px;
    border-left: 4px solid #c40000;
    padding-left: 10px;
    margin-bottom: 15px;
}

/* Search */
.search-box input {
    border-radius: 30px 0 0 30px;
    padding: 10px 15px;
}

.search-box button {
    border-radius: 0 30px 30px 0;
    background: #c40000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    transition: 0.3s;
}

.search-box button:hover {
    background: #900000;
}

/* Category links */
.category-list li {
    padding: 6px 0;
    transition: 0.3s;
}

.category-list li a {
    color: #333;
    text-decoration: none;
}

.category-list li:hover a {
    color: #c40000;
    padding-left: 5px;
}

/* Recent & Popular */
.news-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    list-style: none;
}

.news-list li:last-child {
    border-bottom: none;
}

.news-list a {
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.news-list a:hover {
    color: #c40000;
}

/* Popular number badge */
.badge-number {
    background: #c40000;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 50%;
    margin-right: 8px;
}


    body {
            padding-top: 240px;
            font-family: 'Source Sans 3', sans-serif;
        }

        .news-header {
            background: #ffffff;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            z-index: 999;
        }

        .logo {
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            font-size: 42px;
            letter-spacing: 2px;
        }

        .tagline {
            font-size: 13px;
            letter-spacing: 3px;
            color: #777;
        }

        .navbar-nav .nav-link {
            font-weight: 600;
            padding: 12px 15px;
            transition: 0.3s;
        }

        .navbar-nav .nav-link:hover {
            color: #c40000;
        }

        .publish-btn {
            background: #c40000;
            color: #fff;
            padding: 6px 15px;
            border-radius: 30px;
            text-decoration: none;
            transition: 0.3s;
        }

        .publish-btn:hover {
            background: #900000;
            color: #fff;
        }

        .breaking-bar {
            background: #c40000;
            color: #fff;
            font-size: 14px;
        }

        .breaking-label {
            font-weight: bold;
            margin-right: 15px;
        }

        .top-bar {
            font-size: 14px;
            background: #f8f9fa;
        }

        .top-links a {
            text-decoration: none;
            color: #000;
            margin-left: 15px;
        }

        .top-links a:hover {
            color: #c40000;
        }
        
        
        /* Pagination Border Color */
.pagination .page-link {
    border: 1px solid #c40000;
    color: #c40000;
}

/* Hover Effect */
.pagination .page-link:hover {
    background-color: #c40000;
    color: #ffffff;
    border-color: #c40000;
}

/* Disabled Button */
.pagination .page-item.disabled .page-link {
    border-color: #c40000;
}

/* Active Page */
.pagination .page-item.active .page-link {
    background-color: #c40000;
    border-color: #c40000;
    color: #ffffff;
}

/* Footer Main */
.dhimchika-footer {
    background: #0b1d3a;
    color: #ffffff;
    padding-top: 60px;
}

.dhimchika-footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #c40000;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #c40000;
    padding-left: 5px;
}

/* Bottom Bar */
.footer-bottom {
    background: #071327;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    color: #bbb;
}

.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #c40000;
}