/*
Theme Name: RST Media Post
Theme URI: http://rjtanjid24.github.io/me
Author: RJ Tanjid
Author URI: https://www.facebook.com/RJTanjid24/
Description: A custom WordPress theme developed by RST Multimedia.
Version: 1.0.0
Agency: RST Multimedia
Facebook: https://www.facebook.com/rstmultimedia.net
Text Domain: rst-media-post
*/

/* =========================================
   0. Variables & Reset
   ========================================= */
:root {
    --rst-red: #d82133;
    --rst-red-dark: #b91c1c; /* Hover/Active state */
    --rst-dark: #2F343F;
    --rst-gray: #555555;
    --rst-light: #f4f4f4;
    --rst-white: #ffffff;
    --fb-blue: #1877F2;
    --font-bn: 'SolaimanLipi', sans-serif;
    --font-en: 'Times New Roman', serif;
}

@font-face {
    font-family: 'SolaimanLipi';
    src: url('assets/fonts/SolaimanLipi.ttf') format('truetype'),
         url('assets/fonts/SolaimanLipi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: var(--font-bn);
    background-color: var(--rst-white);
    color: #111;
    font-size: 15px;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: 0.2s ease;
}

a:hover {
    color: var(--rst-red) !important;
}

/* Scroll Top Button */
#scrollTop {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* =========================================
   1. Header Styling
   ========================================= */

/* Header Wrapper */
.site-header {
    background-color: var(--rst-white);
}

/* Search Form (Pill Shape) */
.header-search-form {
    position: relative;
    max-width: 260px;
}

/* Mobile responsive fix for search */
@media (max-width: 991px) {
    .header-search-form .input-group {
        max-width: 100% !important;
    }
}

.header-search-form .input-group {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 50px;
    overflow: hidden;
}

.header-search-form .form-control {
    border: none;
    box-shadow: none;
    padding-left: 20px;
    font-size: 14px;
    height: 38px;
}

.header-search-form .btn {
    border: none;
    background: #fff;
    color: #333;
    padding-right: 15px;
    z-index: 10;
}

.header-search-form .btn:hover {
    color: var(--rst-red);
}

/* Header Meta (Date) */
.header-meta {
    font-size: 13px;
    color: #555;
    font-family: var(--font-bn);
}

/* Header Branding */
.header-branding {
    margin-bottom: 0;
}

.header-branding .custom-logo-link img {
    max-height: 65px;
    width: auto;
}

.site-tagline {
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding-bottom: 2px;
}

/* Header Utility (Right Side) */
.header-utility-links {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.english-edition-btn,
.btn-outline-danger {
    border-color: var(--rst-red);
    color: var(--rst-red);
    font-size: 14px;
    font-family: var(--font-en);
    padding-top: 4px;
    padding-bottom: 4px;
}

.btn-outline-danger:hover {
    background-color: var(--rst-red);
    color: #fff;
}

/* Facebook Official Circle Style (Fixed: No Color Change on Hover) */
.fb-official-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--fb-blue);
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.2s;
}

.fb-official-circle:hover {
    background-color: var(--fb-blue) !important; /* Force Blue */
    color: #fff !important;
    transform: scale(1.1);
}

/* Text Links Hover Effect */
.hover-red {
    transition: color 0.2s;
    font-size: 14px;
    font-family: var(--font-bn);
}

.hover-red:hover {
    color: var(--rst-red) !important;
}

/* =========================================
   2. Main Navigation
   ========================================= */

/* Navbar Container */
.main-navigation.bg-danger {
    background-color: var(--rst-red) !important;
    border-top: 2px solid #b01825;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    display: inline-block;
    position: relative;
}

/* Top Level Links */
.main-navigation ul li a,
.navbar-dark .navbar-nav .nav-link {
    display: block;
    padding: 10px 15px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-bn);
    white-space: nowrap;
    transition: background 0.3s;
}

/* Hover & Active States (Fixed for Red Background) */
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation .navbar-nav .nav-item .nav-link:hover,
.main-navigation .navbar-nav .nav-item.current-menu-item .nav-link {
    color: #ffffff !important;
    background-color: var(--rst-red-dark);
}

/* Fixed Home Icon */
.home-icon-fixed .nav-link {
    background-color: rgba(0,0,0,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
}

/* Dropdown / Sub-menu Style */
.main-navigation ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    border-top: 3px solid var(--rst-red);
    text-align: left;
}

.main-navigation ul li:hover > ul.sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.main-navigation ul li ul.sub-menu li {
    display: block;
    border-bottom: 1px solid #f1f1f1;
}

.main-navigation ul li ul.sub-menu li a {
    color: #333 !important;
    padding: 10px 15px;
    font-size: 15px;
    background-color: transparent;
}

.main-navigation ul li ul.sub-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--rst-red) !important;
}

@keyframes fadeIn {
    from { opacity: 0; margin-top: 10px; }
    to { opacity: 1; margin-top: 0; }
}

/* Sticky Header Shadow */
.sticky-top {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 1. English Button Fix */
.btn-english-fixed {
    transition: all 0.2s ease-in-out;
}
/* White text on hover/active to ensure readability */
.btn-english-fixed:hover,
.btn-english-fixed:active,
.btn-english-fixed:focus {
    background-color: var(--rst-red) !important;
    color: #fff !important;
    border-color: var(--rst-red) !important;
    box-shadow: none !important;
}

/* =========================================
   3. Header Components (Ticker, Ad, Tags)
   ========================================= */

/* News Ticker */
.news-ticker-area {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.ticker-title {
    background: var(--rst-red);
    color: #fff;
    padding: 8px 15px;
    font-weight: 700;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    width: 160px;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content a {
    display: inline-block;
    color: #333;
    padding: 8px 20px;
    text-decoration: none;
}

.ticker-content:hover marquee {
    animation-play-state: paused;
}

/* Header Ad */
.header-ad-section {
    text-align: center;
    background: #fff;
    padding: 15px 0;
}

/* Trending Tags */
.trending-tags-bar {
    background: #f9f9f9;
    padding: 8px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tag-label {
    background: var(--rst-red);
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tag-list a {
    background: #e9e9e9;
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 3px;
}

.tag-list a:hover {
    background: var(--rst-red);
    color: #fff;
}

/* =========================================
   4. Layout & Category Blocks
   ========================================= */

.site-main-content {
    background-color: var(--rst-light);
}

.cat-block-wrapper, 
.sidebar-block, 
.simple-block {
    transition: transform 0.3s;
    margin-bottom: 30px;
}

.cat-block-wrapper:hover {
    transform: translateY(-3px);
}

/* Section Headers */
.section-header {
    border-bottom: 2px solid #E2E2E2;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 5px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--rst-dark);
    border-bottom: 2px solid var(--rst-red);
    margin-bottom: -7px;
    padding-bottom: 5px;
    display: inline-block;
}

.read-more-btn {
    font-size: 13px;
    color: #777;
}

/* =========================================
   5. Hero Section (3 Cols)
   ========================================= */

/* Left & Right List Items */
.hero-list-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.hero-list-item:last-child {
    border-bottom: none;
}

.hero-list-img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.hero-list-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

/* Center Main Hero */
.hero-main-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.hero-main-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s;
}

.hero-main-item:hover .hero-main-img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 15px;
}

.hero-main-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Hero Center Bottom Small Items */
.hero-sub-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.hero-sub-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

/* =========================================
   6. Category Specific Designs
   ========================================= */

/* --- National Section (Grid-Big-List) --- */
.nat-left-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.nat-small-item {
    margin-bottom: 5px;
}
.nat-small-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}
.nat-small-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
}
.nat-big-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 12px;
}
.nat-big-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #000;
}
.nat-big-excerpt {
    font-size: 15px;
    color: #444;
    text-align: justify;
    line-height: 1.6;
}
.nat-list-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 10px;
    align-items: flex-start;
}
.nat-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.nat-list-img {
    width: 120px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.nat-list-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #111;
}
.nat-small-item:hover .nat-small-title,
.nat-big-item:hover .nat-big-title,
.nat-list-item:hover .nat-list-title {
    color: var(--rst-red);
}

/* --- Politics/Card Grid (1 Row, 4 Columns) --- */
.pol-card-item {
    transition: transform 0.2s;
}
.pol-card-item:hover {
    transform: translateY(-2px);
}
.pol-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}
.pol-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    margin: 0;
}
.pol-card-item:hover .pol-card-title {
    color: var(--rst-red);
}

/* --- Entertainment (Special Box) Updated --- */
.cat-block-wrapper.ent-special-box {
    background-color: #fff5f5; /* Light reddish background */
    border: 1px solid #ffe5e5; /* Soft red border */
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(216, 33, 51, 0.06); /* Very subtle red tint shadow */
}

.ent-special-box .section-header {
    border-bottom: 1px solid #ffcccc; /* Reddish line for header */
    padding-bottom: 15px;
    margin-bottom: 30px;
    margin-top: -5px;
}

.ent-special-box .border-end {
    border-color: #ffcccc !important; /* Update vertical divider color */
}

.ent-main-item, .ent-big-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

.ent-main-img, .ent-big-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ent-main-item:hover .ent-main-img,
.ent-big-item:hover .ent-big-img {
    transform: scale(1.03);
}

.ent-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px 15px;
}

.ent-main-title, .ent-big-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.ent-sub-grid-img, .ent-list-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.ent-sub-grid-title, .ent-list-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.ent-text-list-item, .ent-list-item {
    padding: 10px 0;
    border-bottom: 1px solid #ffeded; /* Very light red divider */
}

.ent-text-list-item:first-child, .ent-list-item:first-child { 
    padding-top: 0; 
}

.ent-text-list-item:last-child, .ent-list-item:last-child { 
    border-bottom: none; 
}

.ent-text-title {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    line-height: 1.5;
}

.ent-text-title:hover { 
    color: var(--rst-red); 
}

/* --- 4-Column Mixed Section --- */
.four-col-main-item {
    margin-bottom: 15px;
}
.four-col-main-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}
.four-col-main-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
}
.four-col-list-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f1f1;
    align-items: flex-start;
}
.four-col-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.four-col-list-img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.four-col-list-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    color: #333;
}
.four-col-list-title:hover, .four-col-main-title:hover {
    color: var(--rst-red);
}
.list-item-reverse {
    flex-direction: row-reverse;
    text-align: right;
}

/* --- Jobs & Lifestyle --- */
.job-item {
    display: flex;
    gap: 12px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.job-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.job-img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #eee;
    border-radius: 3px;
    flex-shrink: 0;
}
.job-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #222;
}
.life-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.life-img {
    width: 140px;
    height: 85px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.life-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #111;
}
.job-item:hover .job-title,
.life-item:hover .life-title {
    color: var(--rst-red);
}

/* --- Shared/Generic Side Items --- */
.cat-side-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.cat-side-img {
    width: 100px;
    height: 65px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.cat-side-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* =========================================
   7. Widgets & Sidebars
   ========================================= */

/* Ramadan Widget */
.ramadan-widget {
    background: #6c1818;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}
.ramadan-header {
    background-color: #0e3b6b;
    padding: 15px;
}
.sehri-iftar-box {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #8b0000;
}
.time-box {
    background: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 4px;
}
.time-big {
    font-size: 22px;
    font-weight: bold;
    display: block;
}

/* District Selector */
.district-selector-box {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 4px;
}
.district-selector-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    text-align: center;
}
.form-select-sm {
    font-size: 13px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 1px solid #ddd;
}
.btn-search-district {
    background-color: var(--rst-red);
    color: #fff;
    width: 100%;
    border: none;
    padding: 6px;
    font-size: 14px;
    border-radius: 2px;
}
.btn-search-district:hover {
    background-color: #b01825;
    color: #fff;
}

/* Ad Boxes */
.ad-box-rectangle {
    background: #f8f9fa;
    border: 1px solid #ddd;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-small-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}
.sidebar-small-img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}
.sidebar-small-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* =========================================
   8. Footer Styling
   ========================================= */
.footer-social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-social-icons a:hover {
    background-color: var(--rst-red);
    color: #fff;
    border-color: var(--rst-red);
}

.footer-top-nav ul li a {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.footer-top-nav ul li a:hover {
    background-color: #f8f9fa;
    border-color: #aaa;
}

.footer-info-block p, 
.footer-contact-list p {
    line-height: 1.6;
    color: #333;
    font-size: 14px;
}

.footer-info-block .editor-info p,
.footer-info-block .address-info p {
    margin-bottom: 5px;
    font-weight: 600;
}

/* =========================================
   9. Mobile Responsiveness & Utilities
   ========================================= */

@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid #dee2e6;
    }
}

@media (max-width: 991px) {
    .header-branding { margin-bottom: 15px; }
    .header-utility-links { justify-content: center; margin-bottom: 10px; }
    .header-branding .custom-logo-link img { max-height: 40px; width: auto; display: block; margin: 0 auto; }
    .mobile-date { margin-top: 2px; font-family: var(--font-bn); }
    
    .navbar-toggler, .mobile-header-bar .btn {
        width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    }
    
    /* Menu Drawer */
    .navbar-collapse {
        background-color: var(--rst-red-dark);
        padding: 15px;
        border-radius: 4px;
        margin-top: 10px;
    }
    .navbar-nav .nav-link {
        color: #fff !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 10px 0;
    }
    .mobile-utility-section .btn { font-size: 13px; }
    
    /* Search */
    .header-search-form .input-group { max-width: 100% !important; }
}

@media (max-width: 768px) {
    .lead-news-item .main-lead-img { height: 250px; }
    .lead-content h1 { font-size: 20px; }
    
    /* --- MOBILE FOOTER LOGIC --- */
    /* Hide specific footer elements on mobile */
    .footer-top-nav, 
    .footer-social-icons, 
    .footer-widgets-area, 
    .footer-contact-list { 
        display: none !important; 
    }
    
    /* Ensure Branding, Editor Info, and Copyright remain visible */
    .site-footer { text-align: center; }
    .footer-branding { display: block !important; margin-bottom: 15px; }
    .footer-info-block .editor-info { display: block !important; }
    .footer-copyright { display: block !important; margin-top: 10px; font-size: 12px; }
}
/* =========================================
   3-Column Section (Tabs, Video, Widget)
   ========================================= */

/* Common Header Style */
.block-header-dark {
    background-color: #2F343F;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    font-size: 18px;
    border-bottom: 3px solid #D12026;
}

/* --- Col 1: Tabs --- */
.news-tab-nav {
    border: none;
    background: #2F343F;
}
.news-tab-nav .nav-link {
    border-radius: 0;
    border: none;
    color: #fff;
    font-weight: 600;
    width: 50%;
    text-align: center;
    padding: 10px;
    background: #2F343F;
}
.news-tab-nav .nav-link.active {
    background-color: #D12026; /* Active Red */
    color: #fff;
}
.news-list-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.news-num {
    width: 35px;
    height: 35px;
    background-color: #aaa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}
/* প্রথম আইটেম লাল হবে */
.news-list-item:first-child .news-num {
    background-color: #D12026;
}
.news-list-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}
.btn-all-news {
    background: #D12026;
    color: #fff;
    display: block;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    margin-top: 10px;
}
.btn-all-news:hover { background: #b01825; color: #fff; }

/* --- Col 2: Multimedia --- */
.video-item {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}
.video-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #D12026;
    font-size: 40px;
    background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.video-title-overlay {
    background: #D12026;
    color: #fff;
    padding: 8px;
    font-size: 14px;
    text-align: center;
    font-weight: 600;
}

/* --- Col 3: Widget --- */
.widget-box-area {
    border: 1px solid #eee;
    padding: 10px;
    height: 100%;
}
/* Single Page Specific Styles */
.rst-article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}
.rst-article-body p {
    margin-bottom: 20px;
}
.rst-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}
.entry-title {
    font-size: 32px;
}
.btn-facebook { background: #1877F2; border-color: #1877F2; }
.btn-twitter { background: #1DA1F2; border-color: #1DA1F2; }
.btn-whatsapp { background: #25D366; border-color: #25D366; }

.zoom-effect {
    transition: transform 0.3s ease;
}
.card:hover .zoom-effect {
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .entry-title { font-size: 24px; }
    .rst-article-body { font-size: 17px; }
}
/* Single Page New Styles */
.social-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: transform 0.2s;
    text-decoration: none;
}
.social-circle:hover { transform: scale(1.1); color: #fff; }
.social-circle.fb { background-color: #1877F2; }
.social-circle.tw { background-color: #000; } /* X Color */
.social-circle.wa { background-color: #25D366; }

.tag-box {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}
.tag-box:hover {
    background: #d82133;
    color: #fff;
    border-color: #d82133;
}

.contribute-box {
    background-color: #fcfcfc;
    border-color: #eee;
}
/* Single Page Article Body Alignment */
.rst-article-body {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    text-align: justify; /* Justify Alignment */
    text-justify: inter-word; /* Better spacing for words */
}

.rst-article-body p {
    margin-bottom: 20px;
}

/* Other Single Page Styles */
.social-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: transform 0.2s;
    text-decoration: none;
}
.social-circle:hover { transform: scale(1.1); color: #fff; }
.social-circle.fb { background-color: #1877F2; }
.social-circle.tw { background-color: #000; }
.social-circle.wa { background-color: #25D366; }

.tag-box {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}
.tag-box:hover {
    background: #d82133;
    color: #fff;
    border-color: #d82133;
}

.contribute-box {
    background-color: #fcfcfc;
    border-color: #eee;
}
/* ========================
   Fixed Social Icons (No Hover Change)
   ======================== */
.social-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important; /* Always White Text */
    font-size: 16px;
    text-decoration: none;
    /* No Transition or Transform */
    transition: none;
}

/* Fixed Background Colors */
.social-circle.fb { background-color: #1877F2; }
.social-circle.tw { background-color: #000; }
.social-circle.wa { background-color: #25D366; }

/* Remove Hover Effects */
.social-circle:hover {
    opacity: 1; /* No opacity change */
    transform: none; /* No scaling */
    color: #fff !important;
}

/* ========================
   Tags (Static Style)
   ======================== */
.tag-box {
    display: inline-block;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #555;
    font-size: 13px;
    text-decoration: none;
    transition: none; /* No Animation */
}

/* Disable Hover Color Change for Tags */
.tag-box:hover {
    background: #f8f9fa; /* Keep same bg */
    color: #555; /* Keep same text color */
    border-color: #ddd; /* Keep same border */
    text-decoration: none;
}

/* ========================
   Lekha Pathan Button (Static Style)
   ======================== */
.contribute-box .btn-danger {
    background-color: #d82133;
    border-color: #d82133;
    color: #fff;
    font-weight: bold;
    transition: none; /* No Animation */
}

/* Disable Hover Effect for Button */
.contribute-box .btn-danger:hover,
.contribute-box .btn-danger:focus,
.contribute-box .btn-danger:active {
    background-color: #d82133 !important; /* Keep same color */
    border-color: #d82133 !important;
    color: #fff !important;
    transform: none;
    box-shadow: none;
}
/* Author Page Styles */
.author-avatar-wrapper img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.social-circle.small-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

.news-list-item-hover {
    transition: background 0.2s;
}
.news-list-item-hover:hover {
    background-color: #f9f9f9;
}

/* Pagination Styling */
.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    margin: 0 3px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #d82133;
    color: #fff;
    border-color: #d82133;
}
/* =========================================
   FIX: MENU Z-INDEX ISSUE (HARD FIX)
   ========================================= */

/* ১. পুরো হেডার সেকশনকে সবার উপরে তোলা */
.site-header,
header.site-header,
.main-navigation-bar {
    position: relative;
    z-index: 999999 !important; /* সর্বোচ্চ প্রায়োরিটি */
}

/* ২. স্টিকি হেডারের সমস্যা ফিক্স করা */
.sticky-top {
    z-index: 999999 !important;
}

/* ৩. মেনু কন্টেইনারে যাতে ওভারফ্লো হাইড না থাকে */
.main-navigation,
.navbar-collapse,
.container {
    overflow: visible !important;
}

/* ৪. সাব-মেনুকে সঠিকভাবে পজিশন করা */
.main-navigation ul li {
    position: relative; /* প্যারেন্ট রিলেটিভ হতে হবে */
}

.main-navigation ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000000 !important; /* হেডারের থেকেও উপরে */
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 1;
    visibility: visible;
    display: none; /* ডিফল্ট হাইড */
}

/* হোভার করলে শো করবে */
.main-navigation ul li:hover > ul.sub-menu {
    display: block !important;
}

/* ৫. নিচের কন্টেন্ট এরিয়ার পাওয়ার কমানো */
.site-main,
.hero-section,
.cat-block-wrapper {
    position: relative;
    z-index: 1 !important; /* হেডারের নিচে থাকবে */
}
/* Archive Page Layout Fixes */
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
}

.transition-scale {
    transition: transform 0.4s ease;
}

.group:hover .transition-scale {
    transform: scale(1.05);
}

.hover-red:hover {
    color: #d82133 !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Style */
.pagination {
    justify-content: center;
}
.pagination .page-numbers {
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    border: 1px solid #ddd;
    text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #d82133;
    color: #fff;
    border-color: #d82133;
}
/* Search Page Styles */
.hover-top {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.transition-scale {
    transition: transform 0.5s ease;
}
.group:hover .transition-scale {
    transform: scale(1.1);
}

/* Pagination (Global Style) */
.pagination { justify-content: center; }
.pagination .page-numbers {
    padding: 8px 16px;
    margin: 0 3px;
    border-radius: 50%; /* Circle Style */
    background: #fff;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #d82133;
    color: #fff;
    border-color: #d82133;
}