 :root {
    --primary-blue: #0056b3;
    --dark: #1e272e;
    --light-bg: #f4f7f6;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Hind Siliguri', sans-serif; }
body { background: var(--light-bg); overflow-x: hidden; }

/* Navbar */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 6%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.site-logo { height: 60px; }
.main-title { font-size: 22px; font-weight: 800; color: var(--primary-blue); }
.slogan { font-size: 11px; color: #555; }

.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 15px; }
.nav-links li a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-blue); }

.menu-icon { display: none; flex-direction: column; gap: 4px; cursor: pointer; }
.menu-icon span { width: 25px; height: 3px; background: var(--primary-blue); border-radius: 3px; }

/* Ticker & Banner */
.latest-news-ticker { background: var(--white); display: flex; align-items: center; border-bottom: 2px solid var(--primary-blue); height: 40px; }
.ticker-title { background: var(--primary-blue); color: #fff; padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: bold; }
.welcome-banner { height: 300px; background: url('https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1200') center/cover; }
.banner-overlay { height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }
.btn-main { padding: 10px 25px; background: var(--primary-blue); color: #fff; border: none; border-radius: 5px; cursor: pointer; margin-top: 10px; }

/* Grid Layouts */
.container { width: 90%; margin: 30px auto; }
.live-grid { display: flex; gap: 20px; margin-bottom: 40px; }
.live-player { flex: 2.5; background: #000; border-radius: 12px; position: relative; height: 400px; overflow: hidden; }
.live-tag { position: absolute; top: 15px; left: 15px; background: red; color: white; padding: 3px 10px; font-weight: bold; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.video-container { height: 80%; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #555; }
.video-info { padding: 15px; background: rgba(0,0,0,0.8); color: white; }

.side-cards { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.s-card { background: #fff; padding: 10px; border-radius: 10px; display: flex; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.s-thumb { width: 50px; height: 50px; border-radius: 5px; margin-right: 12px; }
.color-1 { background: #ffeaa7; } .color-2 { background: #81ecec; } .color-3 { background: #fab1a0; }

.section-title { border-left: 5px solid var(--primary-blue); padding-left: 15px; margin: 30px 0 20px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); }
.news-img { height: 180px; background-size: cover; background-position: center; }
.news-details { padding: 15px; }
.cat { color: var(--primary-blue); font-weight: bold; font-size: 13px; }
.read-btn { display: inline-block; margin-top: 10px; color: var(--primary-blue); text-decoration: none; font-weight: bold; }

/* Video Gallery Section */
.video-grid-bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.v-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s; cursor: pointer; }
.v-card:hover { transform: translateY(-5px); }
.v-thumbnail { height: 150px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.v-play-overlay { background: rgba(0, 86, 179, 0.7); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; opacity: 0; transition: 0.3s; }
.v-card:hover .v-play-overlay { opacity: 1; }
.v-duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.8); color: #fff; padding: 2px 6px; font-size: 11px; border-radius: 3px; }
.v-info { padding: 12px; }
.v-info h4 { font-size: 14px; margin-bottom: 5px; }
.v-info p { font-size: 11px; color: #777; }

/* Footer */
.footer { background: var(--dark); color: #fff; padding: 40px 6% 20px; margin-top: 50px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-box { flex: 1; min-width: 250px; }
.footer-box ul { list-style: none; margin-top: 10px; }
.footer-box ul li a { color: #ccc; text-decoration: none; line-height: 2; }
.newsletter { display: flex; margin-top: 10px; }
.newsletter input { padding: 8px; border-radius: 5px 0 0 5px; border: none; width: 100%; }
.newsletter button { background: var(--primary-blue); color: white; border: none; padding: 0 15px; border-radius: 0 5px 5px 0; cursor: pointer; }
.footer-copyright { text-align: center; margin-top: 30px; border-top: 1px solid #333; padding-top: 15px; font-size: 14px; color: #888; }

/* Mobile View */
@media (max-width: 768px) {
    .menu-icon { display: flex; }
    .nav-links {
        position: fixed; right: -100%; top: 75px; background: #fff; width: 75%; height: 100vh;
        flex-direction: column; padding: 40px; transition: 0.4s; box-shadow: -5px 0 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .live-grid { flex-direction: column; }
    .live-player { height: 250px; }
}

/* --- Details Page Styling --- */
.details-wrapper {
    display: flex;
    gap: 30px;
}

.main-article {
    flex: 2.5;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.article-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #222;
}

.article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.article-meta span { margin-right: 20px; }

.social-share { margin-bottom: 20px; }
.share-btn {
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    margin-right: 5px;
    font-size: 13px;
}
.fb { background: #3b5998; }
.tw { background: #1da1f2; }
.wa { background: #25d366; }

.main-featured-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-body {
    line-height: 1.8;
    font-size: 19px;
    color: #333;
}

.article-body p { margin-bottom: 20px; }

blockquote {
    border-left: 5px solid var(--primary-blue);
    padding-left: 20px;
    font-style: italic;
    color: #555;
    margin: 30px 0;
    font-size: 22px;
}

/* Sidebar Styling */
.sidebar {
    flex: 1;
}

.side-title {
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.side-news-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.side-news-item img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.side-news-item a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* মোবাইলের জন্য এডজাস্টমেন্ট */
@media (max-width: 992px) {
    .details-wrapper { flex-direction: column; }
    .article-title { font-size: 24px; }
    .main-article { padding: 15px; }
}