* {
    box-sizing: border-box;
    background: #ffffff;
}

@font-face {
    font-family: 'Nayeem Bangla';
    src: asset('dist/fonts/Nayeem-Bangla.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Nayeem Bangla', sans-serif;
}

body {
    background: #ffffff;
    overflow-x: hidden;
    font-family: 'Nayeem Bangla', sans-serif;
}

.main-content {
    padding: 5px;
    background-color: #ffffff;
}

/* =========================================================
   SITE HEADER
========================================================= */
.site-header {
    width: 100%;
    background: #ffffff;
}

/* =========================================================
   MAIN HEADER
========================================================= */
.header-main {
    width: 100%;
    height: 138px;
    display: grid;
    /*
     * Screenshot অনুযায়ী:
     * Left  = photo
     * Center = breaking/date/social
     * Right = logo
     */
    grid-template-columns: 250px minmax(300px, 1fr) 300px;
    align-items: center;
    padding: 5px 15px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #dddddd;
}

/* =========================================================
   LEFT AREA
========================================================= */
.header-left {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.header-profile {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.header-profile img {
    display: block;
    width: 100px;
    height: 120px;
    object-fit: contain;
    object-position: bottom center;
}

/* =========================================================
   CENTER AREA
========================================================= */
.header-center {
    width: 100%;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* =========================================================
   BREAKING NEWS
========================================================= */
.header-breaking {
    width: 100%;
    overflow: hidden;
    color: #333333;
    font-size: 16px;
    line-height: 1.5;
}

.header-breaking marquee {
    display: block;
    width: 100%;
}

.breaking-item {
    display: inline-block;
    margin-right: 12px;
}

.breaking-separator {
    display: inline-block;
    margin-left: 12px;
    color: #ed1c24;
    font-size: 10px;
    vertical-align: middle;
}

/* =========================================================
   DATE
========================================================= */
.header-date {
    margin-top: 12px;
    color: #222222;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* =========================================================
   SOCIAL ICONS
========================================================= */
.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222222;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-social a:hover {
    color: #ed1c24;
}

/* =========================================================
   RIGHT AREA / LOGO
========================================================= */
.header-right {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-right>a {
    display: inline-block;
    text-decoration: none;
}

.site-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 290px;
    max-height: 125px;
    object-fit: contain;
}

.site-title {
    color: #111111;
    font-size: 34px;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   MAIN NAVIGATION
========================================================= */
.main-navbar {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #dddddd;
    border-bottom: 3px solid #858585;
}

.main-menu {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: stretch;
    /*
     * Desktop + mobile horizontal scrolling
     */
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

/* Chrome / Safari scrollbar */
.main-menu::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   MENU ITEM
========================================================= */
.menu-item {
    position: relative;
    flex: 0 0 auto;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    background: #ffffff;
    color: #222222;
    border-right: 1px solid #dddddd;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

/* Hover */
.menu-item:hover {
    color: #ed1c24;
    background: #fafafa;
}

/* =========================================================
   ACTIVE MENU
========================================================= */
.menu-item.active {
    color: #ed1c24;
    font-weight: 700;
}

/* Active red bottom line */
.menu-item.active::after {
    content: "";
    position: absolute;
    left: 7px;
    right: 7px;
    bottom: -3px;
    height: 3px;
    background: #ed1c24;
}

/* =========================================================
   HOME
========================================================= */
.home-menu {
    width: 54px;
    min-width: 54px;
    padding-left: 0;
    padding-right: 0;
}

.home-menu i {
    font-size: 17px;
}

/* =========================================================
   RIGHT NAV ITEMS
========================================================= */
.nav-extra {
    min-width: 48px;
}

.nav-icon {
    width: 47px;
    min-width: 47px;
    padding-left: 0;
    padding-right: 0;
}

.nav-icon i {
    font-size: 16px;
}

/* =========================================================
   TOP SLIDER MARQUEE
========================================================= */
.top-slider {
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
    overflow: hidden;
}

.slider-label {
    flex: 0 0 auto;
    min-height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #004b82;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.slider-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 10px;
    color: #222222;
    font-size: 15px;
}

.slider-content marquee {
    display: block;
    width: 100%;
}

.slider-item {
    display: inline-flex;
    align-items: center;
    margin-right: 28px;
    white-space: nowrap;
}

.slider-item img {
    display: inline-block;
    width: 32px;
    height: 32px;
    object-fit: cover;
    margin-right: 8px;
    vertical-align: middle;
}

.slider-title {
    font-weight: 600;
}

.slider-description {
    margin-left: 7px;
    color: #666666;
    font-size: 13px;
}

.slider-separator {
    margin-left: 22px;
    color: #ed1c24;
    font-size: 9px;
}

/* =========================================================
   NOTICE PANEL
========================================================= */
.notice-panel {
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dddddd;
}

.notice-label {
    flex: 0 0 auto;
    min-height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    background: #004b82;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.notice-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    padding-left: 10px;
    color: #222222;
    font-size: 14px;
}

.notice-content marquee {
    display: block;
    width: 100%;
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767px) {

    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */
    .header-main {
        height: auto;
        min-height: 95px;
        grid-template-columns: 1fr;
        padding: 8px 10px;
    }

    /* Hide left image on mobile */
    .header-left {
        display: none;
    }

    /* -----------------------------------------------------
       CENTER
    ----------------------------------------------------- */
    .header-center {
        width: 100%;
        height: auto;
        order: 1;
    }

    .header-breaking {
        font-size: 13px;
    }

    .header-date {
        margin-top: 7px;
        font-size: 11px;
    }

    .header-social {
        gap: 11px;
        margin-top: 4px;
    }

    .header-social a {
        font-size: 13px;
    }

    /* -----------------------------------------------------
       LOGO
    ----------------------------------------------------- */
    .header-right {
        order: 0;
        height: auto;
        justify-content: center;
        margin-bottom: 5px;
    }

    .site-logo {
        max-width: 210px;
        max-height: 65px;
    }

    .site-title {
        font-size: 27px;
    }

    /* -----------------------------------------------------
       NAVIGATION
    ----------------------------------------------------- */
    .main-navbar {
        border-bottom-width: 2px;
    }

    .main-menu {
        min-height: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        /*
         * Finger swipe
         */
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    .menu-item {
        min-height: 40px;
        padding: 0 11px;
        font-size: 14px;
    }

    .home-menu {
        width: 44px;
        min-width: 44px;
    }

    .home-menu i {
        font-size: 15px;
    }

    .nav-extra {
        min-width: 43px;
    }

    .nav-icon {
        width: 42px;
        min-width: 42px;
    }

    .nav-icon i {
        font-size: 14px;
    }

    .menu-item.active::after {
        left: 6px;
        right: 6px;
        bottom: -2px;
        height: 2px;
    }

    /* -----------------------------------------------------
       SLIDER
    ----------------------------------------------------- */
    .top-slider {
        min-height: 26px;
    }

    .slider-label {
        min-height: 26px;
        padding: 0 10px;
        font-size: 13px;
    }

    .slider-content {
        padding-left: 7px;
        font-size: 13px;
    }

    .slider-item {
        margin-right: 20px;
    }

    .slider-item img {
        width: 28px;
        height: 28px;
        margin-right: 6px;
    }

    .slider-description {
        font-size: 11px;
    }

    .slider-separator {
        margin-left: 15px;
    }

    /* -----------------------------------------------------
       NOTICE
    ----------------------------------------------------- */
    .notice-panel {
        min-height: 26px;
    }

    .notice-label {
        min-height: 26px;
        padding: 0 9px;
        font-size: 13px;
    }

    .notice-content {
        padding-left: 7px;
        font-size: 12px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    .header-main {
        padding: 6px 8px;
    }

    .site-logo {
        max-width: 190px;
        max-height: 58px;
    }

    .header-breaking {
        font-size: 12px;
    }

    .header-date {
        font-size: 10px;
    }

    .header-social {
        gap: 10px;
    }

    .menu-item {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 13px;
    }

    .home-menu {
        width: 42px;
        min-width: 42px;
    }

    .nav-extra {
        min-width: 40px;
    }

    .nav-icon {
        width: 40px;
        min-width: 40px;
    }

    .slider-label {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }

    .slider-content {
        font-size: 12px;
    }

    .notice-label {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }
}