/* =================================
   LTV24 PROFESSIONAL NEWS SYSTEM
   ================================= */

/* ========= ROOT ========= */

:root{
    --primary:#d10000;
    --dark:#111;
    --light:#f4f6f9;
    --muted:#777;
    --border:#e5e5e5;
}

/* ========= GLOBAL ========= */

body{
    font-family:'SolaimanLipi', sans-serif;
    background:var(--light);
    margin:0;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:inherit;
}

.section-title{
    font-size:22px;
    font-weight:700;
    border-left:4px solid var(--primary);
    padding-left:10px;
    margin-bottom:20px;
}

/* ========= LAYOUT WIDTH FIX ========= */

.container{
    max-width:1200px;
    margin:auto;
}


/* ========= HEADER ========= */

.main-header{
    background:#fff;
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:999;
    transition:.3s;
}

.main-header.scrolled{
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.main-logo{
    height:60px;
    transition:.3s;
}

.main-logo:hover{
    transform:scale(1.05);
}

.menu-list{
    list-style:none;
    display:flex;
    gap:25px;
    font-weight:500;
}

.menu-list li a{
    font-size:16px;
    position:relative;
    padding:6px 0;
    transition:.3s;
}

.menu-list li a::after{
    content:"";
    display:block;
    height:2px;
    background:var(--primary);
    width:0;
    transition:.3s;
}

.menu-list li a:hover{
    color:var(--primary);
}

.menu-list li a:hover::after{
    width:100%;
}

/* ========= BREAKING ========= */

.breaking-bar{
    background:var(--primary);
    color:#fff;
    font-weight:600;
    padding:8px 0;
}

.breaking-label{
    background:#000;
    padding:6px 15px;
    font-weight:700;
}

/* ========= HERO SECTION ========= */

.hero img{
    width:100%;
    height:auto;
    max-height:460px;
    object-fit:cover;
    border-radius:12px;
}

.hero{
    margin-bottom:30px;
}

.hero-title{
    font-size:28px;
    font-weight:700;
}

.hero-img{
    width:100%;
    height:460px;
    object-fit:cover;
}

/* ========= NEWS CARD ========= */

.news-card{
    border:none;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
    background:#fff;
}

.news-card img{
    height:200px;
    object-fit:cover;
}

.news-card .card-body{
    padding:12px;
}

.news-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.news-card{
    border:none !important;
}

.news-card::after{
    display:none !important;
}



/* ========= YOUTUBE GRID ========= */

.youtube-mini-wrapper{
    height:460px;
    overflow-y:auto;
    padding-right:5px;
}

.youtube-mini-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
}


/* ========= FOOTER ========= */

.footer{
    background:#111;
    color:#ccc;
    padding:40px 0;
    text-align:center;
}

/* ========= RESPONSIVE ========= */

@media(max-width:992px){
    .hero img{height:300px;}
}

@media(max-width:768px){
    .menu-list{
        flex-wrap:wrap;
        gap:15px;
    }
}

@media(max-width:576px){
    .youtube-mini-grid{
        grid-template-columns:1fr;
    }
}

/* ========= BOOTSTRAP SAFE EQUAL HEIGHT FIX ========= */

.news-card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.news-card .card-body{
    flex-grow:1;
}


/* ========= MODERN POLISHED CARD STYLE ========= */

.card{
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card img{
    transition: 0.4s ease;
}

.card:hover img{
    transform: scale(1.05);
}

.card-body{
    padding: 15px !important;
}

.section-title{
    font-weight:700;
    margin-bottom:20px;
}

/* ===== EQUAL HEIGHT FIX ALL SECTIONS ===== */

.card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.card img{
    height:200px;
    object-fit:cover;
}

.card-body{
    flex-grow:1;
    display:flex;
    align-items:flex-start;
}

.row > div{
    margin-bottom:30px;
}

/* ===== ALL CARD ALIGNMENT FIX ===== */

.card{
    height:100%;
    display:flex;
    flex-direction:column;
}

.card-body{
    flex-grow:1;
}

.row > div{
    margin-bottom:30px;
}


/* ===== LIVE SECTION FIX ===== */

#livePlayer iframe{
    width:100%;
    height:450px;
    border-radius:10px;
}

.youtube-mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.yt-thumb{
    width:100%;
    border-radius:8px;
}



/* ===== POST CARD HOVER SYSTEM ===== */

.post-card {
    position: relative;
    overflow: hidden;
}

.post-card img {
    transition: 0.3s ease;
}

.post-card:hover img {
    transform: scale(1.05);
}

.share-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: 0.3s ease;
}

.post-card:hover .share-icons {
    opacity: 1;
}

.share-icons a {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.7);
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.share-icons a:hover {
    background: #c40000;
}

/* ===== SOCIAL BRAND COLORS ===== */

.share-icons a:nth-child(1){ background:#1877f2; } /* Facebook */
.share-icons a:nth-child(2){ background:#000000; } /* X */
.share-icons a:nth-child(3){ background:#e60023; } /* Pinterest */
.share-icons a:nth-child(4){ background:#555555; } /* Email */

.share-icons a i{
    color:#fff !important;
}

/* ===== MODERN DROPDOWN ===== */
/* ===== এটা বন্ধ রাখা হলো ===== */

/*
 .menu-list li {
    position: relative;
}

.menu-list li ul {
    position: absolute;
    top: 120%;
    left: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    list-style: none;
    padding: 10px 0;
    min-width: 230px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.menu-list li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-list li ul li {
    padding: 10px 20px;
    transition: 0.2s;
}

.menu-list li ul li a {
    font-size: 14px;
    display: block;
}

.menu-list li ul li:hover {
    background: #f4f6f9;
    padding-left: 25px;
}
*/


/* ===== MODERN BOOTSTRAP DROPDOWN ===== */
/* ===== এটা চালু রাখলাম ===== */

.main-header .menu-list .dropdown-menu {
    border: none;
    border-radius: 16px;
    padding: 14px 0;
    min-width: 250px;
    margin-top: 14px;
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    animation: dropdownFade 0.25s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-header .menu-list .dropdown-item {
    padding: 11px 24px;
    font-size: 15px;
    transition: all 0.25s ease;
}

.main-header .menu-list .dropdown-item:hover {
    background: #f4f6f9;
    padding-left: 30px;
    color: #d10000;
}

.main-header .menu-list .dropdown-toggle::after {
    transition: 0.3s ease;
}

.main-header .menu-list .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Manual dropdown arrow */
.dropdown-icon {
    font-size: 12px;
    transition: 0.3s ease;
}

/* Rotate when open */
.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}