/*
|--------------------------------------------------------------------------
| Default News Portal Template
|--------------------------------------------------------------------------
*/

:root {
    --primary-color: #198754;
    --primary-dark: #146c43;
    --secondary-color: #dc3545;
    --text-color: #222222;
    --muted-color: #6c757d;
    --border-color: #e5e5e5;
    --light-bg: #f7f7f7;
    --white: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Base
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text-color);
    font-family: "Hind Siliguri", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
}


/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.site-header .container,
.site-navbar .container,
.site-footer .container {
    max-width: 1200px;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.site-header-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    display: block;
    max-height: 75px;
    width: auto;
}

.site-logo span {
    font-size: 32px;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Navbar
|--------------------------------------------------------------------------
*/

.site-navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.site-navbar-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
}

.navbar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-menu li {
    margin: 0;
}

.navbar-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    font-size: 19px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navbar-menu a:hover {
    color: var(--primary-color);
    background: var(--light-bg);
}


/*
|--------------------------------------------------------------------------
| Mobile Menu Button
|--------------------------------------------------------------------------
*/

.navbar-toggle {
    display: none;
    border: 1px solid var(--border-color);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    font-size: 22px;
    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| Main Content
|--------------------------------------------------------------------------
*/

main {
    min-height: 500px;
}

.page-section {
    padding: 50px 0;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted-color);
}


/*
|--------------------------------------------------------------------------
| News Card
|--------------------------------------------------------------------------
*/

.news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.news-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card-body {
    padding: 18px;
}

.news-card-category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.news-card-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 700;
}

.news-card-title a {
    color: var(--text-color);
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-meta {
    margin-top: 12px;
    color: var(--muted-color);
    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| Featured News
|--------------------------------------------------------------------------
*/

.featured-news {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #111111;
}

.featured-news-image {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.featured-news-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.05)
    );
}

.featured-news-content {
    max-width: 750px;
    color: var(--white);
}

.featured-news-content .category {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.featured-news-content h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.35;
    font-weight: 700;
}

.featured-news-content p {
    margin: 10px 0 0;
    font-size: 16px;
}


/*
|--------------------------------------------------------------------------
| Category List
|--------------------------------------------------------------------------
*/

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-item {
    display: inline-flex;
    align-items: center;
    padding: 7px 15px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.category-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}


/*
|--------------------------------------------------------------------------
| Reporter
|--------------------------------------------------------------------------
*/

.reporter-card {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
}

.reporter-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.reporter-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.site-footer {
    margin-top: 60px;
    padding: 45px 0 25px;
    background: #111111;
    color: var(--white);
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-footer h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .site-header-inner {
        min-height: 85px;
    }

    .site-logo img {
        max-height: 60px;
    }

    .site-logo span {
        font-size: 25px;
    }

    .site-navbar-inner {
        position: relative;
        min-height: 55px;
    }

    .navbar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border: 1px solid var(--border-color);
    }

    .navbar-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-menu a {
        padding: 11px 15px;
    }

    .page-section {
        padding: 35px 0;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .featured-news-image {
        height: 300px;
    }

    .featured-news-overlay {
        padding: 20px;
    }

    .featured-news-content h1 {
        font-size: 27px;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}














/*
|--------------------------------------------------------------------------
| Single News Page
|--------------------------------------------------------------------------
*/

.news-page {
    background: #f7f8f9;
}


/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/

.news-breadcrumb {
    font-size: 14px;
}

.news-breadcrumb a {
    color: var(--primary-color);
}

.news-breadcrumb .breadcrumb-item.active {
    color: var(--muted-color);
}


/*
|--------------------------------------------------------------------------
| News Category
|--------------------------------------------------------------------------
*/

.news-category a {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 4px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}


/*
|--------------------------------------------------------------------------
| News Title
|--------------------------------------------------------------------------
*/

.news-title {
    max-width: 900px;
    margin: 0;
    color: #171717;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.5px;
}


/*
|--------------------------------------------------------------------------
| News Subtitle
|--------------------------------------------------------------------------
*/

.news-subtitle {
    max-width: 850px;
    margin: 18px 0 24px;
    color: #666666;
    font-size: 19px;
    line-height: 1.7;
}


/*
|--------------------------------------------------------------------------
| News Meta
|--------------------------------------------------------------------------
*/

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.news-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 18px;
}

.news-author-name {
    font-size: 15px;
    font-weight: 700;
}

.news-author-role {
    color: var(--muted-color);
    font-size: 13px;
}

.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-color);
    font-size: 14px;
}

.news-meta-item i {
    color: var(--primary-color);
}


/*
|--------------------------------------------------------------------------
| Featured Image
|--------------------------------------------------------------------------
*/

.news-featured-image {
    margin: 0;
}

.news-featured-image img {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.news-featured-image figcaption {
    padding-top: 8px;
    color: #777777;
    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| News Details
|--------------------------------------------------------------------------
*/

.news-details {
    margin-top: 28px;
    padding: 32px 35px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.news-details p {
    margin-bottom: 20px;
    color: #292929;
    font-size: 18px;
    line-height: 2;
}

.news-details p:last-child {
    margin-bottom: 0;
}

.news-details .news-lead {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.9;
}


/*
|--------------------------------------------------------------------------
| Source
|--------------------------------------------------------------------------
*/

.news-source {
    margin-top: 15px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #555555;
    font-size: 14px;
}

.news-source strong {
    color: #222222;
}


/*
|--------------------------------------------------------------------------
| Share
|--------------------------------------------------------------------------
*/

.news-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.news-share-title {
    margin-right: 5px;
    font-size: 15px;
    font-weight: 600;
}

.share-button {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #ffffff !important;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.share-button:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.share-button.facebook {
    background: #1877f2;
}

.share-button.twitter {
    background: #111111;
}

.share-button.whatsapp {
    background: #198754;
}


/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.news-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    margin-bottom: 20px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget-title {
    margin-bottom: 12px;
    color: #777777;
    font-size: 13px;
    text-align: center;
}

.sidebar-widget-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget-header .section-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
}

.sidebar-widget-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Advertisement
|--------------------------------------------------------------------------
*/

.advertisement-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
    color: #999999;
    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| Latest Sidebar News
|--------------------------------------------------------------------------
*/

.latest-sidebar-item {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
}

.latest-sidebar-item:first-child {
    padding-top: 0;
}

.latest-sidebar-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.latest-sidebar-number {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
}

.latest-sidebar-item a {
    display: block;
    color: #222222;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.latest-sidebar-item a:hover {
    color: var(--primary-color);
}

.latest-sidebar-item small {
    display: block;
    margin-top: 4px;
    color: #999999;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| Sidebar Categories
|--------------------------------------------------------------------------
*/

.sidebar-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-category-list a {
    padding: 6px 11px;
    border: 1px solid #d8e7de;
    border-radius: 5px;
    color: var(--primary-color);
    background: #f8fcfa;
    font-size: 13px;
}

.sidebar-category-list a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Related News
|--------------------------------------------------------------------------
*/

.related-news {
    margin-top: 50px;
}

.related-news .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.related-news .section-kicker {
    display: block;
    margin-bottom: 3px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.related-news .section-heading h2 {
    margin: 0;
    font-size: 30px;
}


/*
|--------------------------------------------------------------------------
| Related News Card
|--------------------------------------------------------------------------
*/

.related-news-card {
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 9px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.related-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.related-news-card > a {
    display: block;
    overflow: hidden;
}

.related-news-card img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-news-card:hover img {
    transform: scale(1.03);
}

.related-news-body {
    padding: 17px;
}

.related-news-category {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.related-news-body h3 {
    margin: 5px 0 8px;
    font-size: 19px;
    line-height: 1.45;
}

.related-news-body h3 a {
    color: #222222;
}

.related-news-body h3 a:hover {
    color: var(--primary-color);
}

.related-news-date {
    color: #999999;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| News Page Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

    .news-sidebar {
        position: static;
    }

    .news-title {
        font-size: 38px;
    }

    .news-subtitle {
        font-size: 18px;
    }

}


@media (max-width: 767px) {

    .news-page .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .news-title {
        font-size: 32px;
        line-height: 1.3;
    }

    .news-subtitle {
        font-size: 17px;
        line-height: 1.6;
    }

    .news-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .news-details {
        padding: 23px 20px;
    }

    .news-details p {
        font-size: 17px;
        line-height: 1.9;
    }

    .news-details .news-lead {
        font-size: 19px;
    }

    .news-featured-image img {
        max-height: 400px;
    }

    .related-news .section-heading h2 {
        font-size: 25px;
    }

}


/* =========================================================
   HOME PAGE - TOP NEWS SECTION
========================================================= */

.home-top-section {
    padding: 10px 0 40px;
}

.home-top-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(320px, 1.05fr)
        minmax(250px, 0.75fr);

    gap: 14px;

    align-items: start;
}


/* ========================================
   Featured News
======================================== */

.home-featured-news {
    width: 100%;
}

.home-featured-image {
    display: block;

    width: 100%;
    height: 350px;

    overflow: hidden;

    background: #f1f1f1;
}

.home-featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.home-featured-image:hover img {
    transform: scale(1.02);
}

.home-featured-category {
    margin-top: 12px;

    font-size: 20px;
    line-height: 1.4;
}

.home-featured-category a {
    color: #d62828;
    text-decoration: none;
}

.home-featured-title {
    margin: 4px 0 0;

    font-size: 30px;
    line-height: 1.5;

    font-weight: 600;
}

.home-featured-title a {
    color: #222;
    text-decoration: none;
}

.home-featured-title a:hover {
    color: #198754;
}

.home-featured-description {
    margin: 14px 0 0;

    color: #777;

    font-size: 17px;
    line-height: 1.8;
}


/* ========================================
   Latest News Column
======================================== */

.home-top-latest {
    border-left: 1px solid #e5e5e5;

    padding-left: 18px;
}

.home-top-section-heading {
    margin-bottom: 12px;

    padding-bottom: 10px;

    border-bottom: 2px solid #198754;
}

.home-top-section-heading span {
    display: block;

    margin-bottom: 2px;

    color: #198754;

    font-size: 14px;
    font-weight: 500;
}

.home-top-section-heading h2 {
    margin: 0;

    font-size: 24px;
    font-weight: 600;
}


/* Latest Item */

.home-top-latest-item {
    display: grid;

    grid-template-columns: 108px 1fr;

    gap: 14px;

    padding: 12px 0;

    border-bottom: 1px solid #e7e7e7;
}

.home-top-latest-item:last-child {
    border-bottom: 0;
}

.home-top-latest-image {
    display: block;

    width: 108px;
    height: 78px;

    overflow: hidden;

    background: #f2f2f2;
}

.home-top-latest-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.home-top-latest-title {
    margin: 0;

    font-size: 18px;
    line-height: 1.55;

    font-weight: 500;
}

.home-top-latest-title a {
    color: #222;
    text-decoration: none;
}

.home-top-latest-title a:hover {
    color: #198754;
}


/* ========================================
   Advertisement
======================================== */

.home-top-ad {
    border-left: 1px solid #e5e5e5;

    padding-left: 14px;
}

.home-top-ad-title {
    margin-bottom: 8px;

    text-align: center;

    color: #999;

    font-size: 13px;
}

.home-top-ad-box {
    width: 100%;
    height: 270px;

    background: #f5f6f7;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    padding-top: 7px;

    color: #999;

    font-size: 13px;
}


/* ========================================
   Responsive
======================================== */

@media (max-width: 1100px) {

    .home-top-grid {
        grid-template-columns:
            minmax(0, 1.5fr)
            minmax(300px, 1fr);
    }

    .home-top-ad {
        display: none;
    }

}


@media (max-width: 767px) {

    .home-top-section {
        padding-top: 5px;
    }

    .home-top-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .home-top-latest {
        border-left: 0;

        border-top: 1px solid #e5e5e5;

        padding-left: 0;
        padding-top: 25px;
    }

    .home-featured-image {
        height: 250px;
    }

    .home-featured-category {
        font-size: 17px;
    }

    .home-featured-title {
        font-size: 24px;
    }

    .home-featured-description {
        font-size: 16px;
    }

}


/* =========================================================
   HOME PAGE - SUB LEAD NEWS
   দ্বিতীয় কলামকে Lead News-এর মতো বড় না করে
   Compact Sub Lead হিসেবে দেখানো হবে
========================================================= */

.home-top-grid > .home-featured-news:nth-child(2) {
    padding-left: 18px;
    border-left: 1px solid #e5e5e5;
}


/*
   Sub Lead Image
*/

.home-top-grid > .home-featured-news:nth-child(2) .home-featured-image {
    width: 180px;
    height: 120px;
}


/*
   Sub Lead Category
*/

.home-top-grid > .home-featured-news:nth-child(2) .home-featured-category {
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.35;
}


/*
   Sub Lead Title
*/

.home-top-grid > .home-featured-news:nth-child(2) .home-featured-title {
    margin-top: 3px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
}


/*
   Sub Lead Description
*/

.home-top-grid > .home-featured-news:nth-child(2) .home-featured-description {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.6;
}


/*
   Empty News State
*/

.home-top-empty-state {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f7f7f7;
    color: #999999;
    font-size: 15px;
}


/*
|--------------------------------------------------------------------------
| Sub Lead Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .home-top-grid > .home-featured-news:nth-child(2) {
        padding-left: 18px;
    }

}


@media (max-width: 767px) {

    .home-top-grid > .home-featured-news:nth-child(2) {
        padding-left: 0;
        padding-top: 25px;
        border-left: 0;
        border-top: 1px solid #e5e5e5;
    }

    .home-top-grid > .home-featured-news:nth-child(2) .home-featured-image {
        width: 180px;
        height: 120px;
    }

    .home-top-grid > .home-featured-news:nth-child(2) .home-featured-title {
        font-size: 21px;
    }

}