:root {
    --navy: #0b1f33;
    --navy-2: #11324f;
    --ink: #1a1a1a;
    --body: #344054;
    --muted: #667085;
    --line: #e4e7ec;
    --soft: #f5f7fa;
    --soft-2: #eef3f8;
    --accent: #0f6cbd;
    --accent-dark: #0a4f8c;
    --red: #d13438;
    --radius: 14px;
    --shadow: 0 12px 34px rgba(11, 31, 51, 0.12);
    --shadow-soft: 0 4px 16px rgba(11, 31, 51, 0.07);
    --container: 1320px;
    --page: #fff;
    --surface: #fff;
    --surface-2: #fbfcfe;
    --surface-3: #e3ebf3;
    --surface-hover: #e9f2fb;
    --header-bg: #fff;
    --heading: var(--navy);
    --border-hover: #d3dce6;
    --text-soft: #98a2b3;
    --meta: #79889b;
    --text-article: #2f3540;
    --text-article-lead: #232a34;
    --success: #047857;
    --rank: #c7d2de;
    --rss-hover: #fff3eb;
    --code-bg: #e3ebf3;
    --empty-border: #cfdae5;
    --button-light-bg: #fff;
    --button-light-hover: #e9f2fb;
    --button-light-text: var(--navy);
    --gradient-soft: linear-gradient(135deg, #f8fafc 0%, #eef4fa 100%);
    --gradient-soft-2: linear-gradient(135deg, #f8fafc, #eef4fa);
    --shadow-shell: 0 18px 50px rgba(11, 31, 51, 0.05);
    --shadow-header: 0 8px 24px rgba(11, 31, 51, 0.09);
    --shadow-menu: 0 20px 30px rgba(11, 31, 51, 0.12);
    color-scheme: light;
}



* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background: var(--page);
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Inter", "Segoe UI", "Noto Sans Bengali", system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    padding: 26px 0 70px;
}

.dot {
    color: var(--text-soft);
    padding: 0 2px;
}

/* Top utility bar */
.topbar {
    background: var(--navy);
    color: #c6d4e3;
    font-size: 12px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 36px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.topbar-date {
    font-weight: 600;
    color: #e8eef5;
    white-space: nowrap;
}

.topbar-divider {
    width: 1px;
    height: 13px;
    background: rgba(255, 255, 255, 0.2);
}

.topbar-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.weather-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.weather-pill strong {
    color: #fff;
}

.topbar-link {
    color: #fff;
    font-weight: 600;
}

.topbar-link:hover {
    color: #9fc6ee;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(11, 31, 51, 0.09);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: var(--heading);
    line-height: 1;
}

.brand-name span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.main-nav > a,
.nav-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 10px 9px;
    border: 0;
    background: none;
    color: #3d4a5c;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav > a:hover,
.nav-more-toggle:hover,
.main-nav > a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.nav-more {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 190px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
    z-index: 80;
}

.nav-more:hover .nav-dropdown,
.nav-more:focus-within .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--body);
}

.nav-dropdown a:hover {
    background: var(--soft);
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: var(--soft);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--muted);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.header-search:focus-within {
    background: #fff;
    border-color: var(--accent);
}

.header-search input {
    width: 165px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
    color: var(--ink);
}

.icon-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--heading);
}

.mobile-search.is-open {
    display: block;
}

.mobile-search {
    display: none;
    padding: 0 24px 14px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.mobile-search form {
    display: flex;
    gap: 8px;
    padding-top: 12px;
}

.mobile-search input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    outline: 0;
}

.mobile-search button {
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

/* Ticker */
.ticker {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}

.ticker-label {
    flex: none;
    padding: 5px 10px;
    border-radius: 5px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ticker-viewport {
    flex: 1;
    min-width: 0;
    position: relative;
    height: 22px;
}

.ticker-item {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--body);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ticker-item.is-active {
    display: flex;
    opacity: 1;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    flex: none;
    border-radius: 50%;
    background: var(--red);
}

.ticker-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
}

.ticker-item:hover .ticker-title {
    color: var(--accent);
}

.ticker-time {
    flex: none;
    color: var(--text-soft);
    font-size: 11.5px;
}

.ticker-rss {
    flex: none;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: #f26522;
}

.ticker-rss:hover {
    background: var(--rss-hover);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 18px;
}

.hero-main,
.hero-small {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: var(--navy);
    color: #fff;
    isolation: isolate;
}

.hero-main {
    aspect-ratio: 16 / 9;
    min-height: 380px;
}

.hero-main > img,
.hero-small > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: -2;
}

.hero-main:hover > img,
.hero-small:hover > img {
    transform: scale(1.035);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 22, 0.02) 30%, rgba(4, 12, 22, 0.86) 100%);
    z-index: -1;
}

.hero-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
}

.hero-body h1 {
    margin: 12px 0 10px;
    font-size: clamp(23px, 2.5vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.6px;
    font-weight: 800;
}

.hero-excerpt {
    max-width: 88%;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.55;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 500;
}

.hero-meta .dot {
    color: rgba(255, 255, 255, 0.4);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.4;
}

.badge-sm {
    font-size: 9px;
    padding: 3px 7px;
}

.hero-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 18px;
    min-height: 0;
}

.hero-small {
    min-height: 170px;
}

.hero-small-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
}

.hero-small-body h3 {
    margin: 8px 0 8px;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* Sections and cards */
.section-gap {
    margin-top: 38px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--heading);
}

.section-title a {
    color: inherit;
}

.section-title a:hover {
    color: var(--accent);
}

.section-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
}

.see-all {
    flex: none;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 700;
}

.see-all:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 32px;
    align-items: start;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-soft);
}

.card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--soft-2);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.card:hover .card-image img {
    transform: scale(1.04);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.card-category {
    display: block;
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: -0.15px;
    color: var(--ink);
}

.card p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 500;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.panel {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.panel-title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.panel-text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.trending-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.trending-item + .trending-item {
    border-top: 1px solid var(--line);
}

.trending-item a {
    display: flex;
    gap: 12px;
    padding: 11px 0;
}

.trending-item:first-child a {
    padding-top: 2px;
}

.rank {
    flex: none;
    width: 25px;
    color: var(--rank);
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}

.trending-copy {
    min-width: 0;
}

.trending-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.38;
}

.trending-item a:hover strong {
    color: var(--accent);
}

.trending-copy span {
    display: block;
    color: var(--text-soft);
    font-size: 10.5px;
}

.sources-list {
    display: flex;
    flex-direction: column;
}

.source-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    min-width: 0;
}

.source-row + .source-row {
    border-top: 1px solid var(--line);
}

.source-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.source-copy {
    flex: 1;
    min-width: 0;
}

.source-copy strong {
    display: block;
    overflow: hidden;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.source-copy span {
    display: block;
    color: var(--text-soft);
    font-size: 10.5px;
}

.source-row svg {
    flex: none;
    color: var(--text-soft);
}

.source-row:hover .source-copy strong,
.source-row:hover svg {
    color: var(--accent);
}

.newsletter-panel {
    border: 0;
    background: linear-gradient(140deg, var(--navy) 0%, #12456e 100%);
    color: #fff;
}

.newsletter-panel .panel-kicker {
    color: #79b8ef;
}

.newsletter-panel h3 {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.newsletter-panel p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12.5px;
    line-height: 1.6;
}

.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 8px;
    background: var(--button-light-bg);
    color: var(--button-light-text);
    font-size: 12.5px;
    font-weight: 700;
    transition: background 0.15s ease, transform 0.15s ease;
}

.button-light:hover {
    background: var(--button-light-hover);
    transform: translateY(-1px);
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    color: var(--body);
    font-size: 13px;
    font-weight: 600;
}

.category-links a:hover {
    color: var(--accent);
}

/* Category rows */
.category-section {
    margin-top: 42px;
}

.category-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.category-row .card-image {
    aspect-ratio: 16 / 10;
}

.category-row .card h3 {
    font-size: 14.5px;
}

.category-row .card-body {
    padding: 12px 14px 14px;
}

/* Page heroes */
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 8px;
    padding: 36px 38px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 15%, color-mix(in srgb, var(--category-color, var(--accent)) 18%, transparent) 0%, transparent 42%),
        linear-gradient(135deg, #f8fafc 0%, #eef4fa 100%);
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: var(--category-color, var(--accent));
}

.page-hero-copy {
    position: relative;
    z-index: 1;
}

.page-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-hero h1,
.search-hero h1,
.source-hero h1 {
    margin: 0 0 8px;
    color: var(--heading);
    font-size: clamp(29px, 3.1vw, 43px);
    line-height: 1.08;
    letter-spacing: -1px;
}

.page-hero p,
.source-hero p {
    max-width: 680px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.page-count {
    color: var(--meta);
    font-size: 12px;
    font-weight: 600;
}

.page-hero-mark {
    position: relative;
    z-index: 0;
    flex: none;
    color: color-mix(in srgb, var(--category-color, var(--accent)) 15%, transparent);
    font-size: 140px;
    font-weight: 800;
    line-height: 0.8;
    user-select: none;
}

.search-hero {
    padding: 34px 0 4px;
}

.search-hero .page-kicker {
    color: var(--accent);
}

.search-page-form {
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: 780px;
    margin-top: 18px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    color: var(--muted);
}

.search-page-form:focus-within {
    border-color: var(--accent);
}

.search-page-form input {
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    border: 0;
    outline: 0;
    font-size: 15px;
}

.search-page-form button {
    padding: 10px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.search-summary {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.source-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
    padding: 30px 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc, #eef4fa);
}

.source-hero-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--navy), var(--accent));
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.source-hero .page-kicker {
    color: var(--accent);
}

.source-visit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 700;
}

/* Buttons */
.button-primary,
.button-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 17px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-ghost {
    border-color: var(--line);
    background: #fff;
    color: var(--heading);
}

.button-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Article page */
.article-page {
    max-width: 1240px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 2px 0 20px;
    overflow: hidden;
    color: var(--text-soft);
    font-size: 12px;
    white-space: nowrap;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-current {
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-shell {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(11, 31, 51, 0.05);
}

.article-header {
    max-width: 960px;
    margin: 0 auto;
}

.article-header h1 {
    margin: 14px 0 12px;
    color: var(--heading);
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.1;
    letter-spacing: -1.2px;
    font-weight: 800;
}

.article-deck {
    max-width: 880px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: var(--meta);
    font-size: 12.5px;
}

.article-source {
    color: var(--heading);
    font-weight: 700;
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
}

.copy-feedback {
    color: var(--success);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.copy-feedback.is-visible {
    opacity: 1;
}

.article-hero {
    margin: 28px 0;
}

.article-hero img {
    width: 100%;
    max-height: 660px;
    object-fit: cover;
    border-radius: 16px;
    background: var(--soft-2);
}

.article-hero figcaption {
    margin-top: 9px;
    color: var(--text-soft);
    font-size: 11.5px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
    align-items: start;
}

.article-content {
    max-width: 820px;
    color: #2f3540;
    font-family: "Inter", "Noto Sans Bengali", "Segoe UI", sans-serif;
    font-size: 16.5px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

.article-content > p:first-of-type {
    font-size: 18.5px;
    line-height: 1.75;
    color: #232a34;
}

.article-content p {
    margin: 0 0 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 30px 0 12px;
    color: var(--heading);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.article-content h2 {
    font-size: 25px;
}

.article-content h3 {
    font-size: 21px;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content .button-primary {
    color: #fff;
    text-decoration: none;
}

.article-content .button-primary:hover {
    color: #fff;
}

.article-content img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 8px 0 18px;
    border-radius: 12px;
}

.article-content figure {
    margin: 22px 0;
}

.article-content figure img {
    margin-bottom: 8px;
}

.article-content figcaption {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.5;
}

.article-content blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 10px 10px 0;
    background: var(--soft);
    color: #344054;
    font-size: 17px;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 7px;
}

.article-content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.article-content td,
.article-content th {
    padding: 9px 11px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-content th {
    background: var(--soft);
}

.source-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 34px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #eef4fa);
}

.source-cta h3 {
    margin: 0 0 4px;
    color: var(--heading);
    font-size: 18px;
    line-height: 1.3;
}

.source-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.stacked-stories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stacked-story {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.stacked-story img {
    flex: none;
    width: 68px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--soft-2);
}

.stacked-story strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 12.5px;
    line-height: 1.35;
}

.stacked-story:hover strong {
    color: var(--accent);
}

.stacked-story small {
    color: var(--text-soft);
    font-size: 10.5px;
}

.related-section {
    margin-top: 42px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Pagination */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
}

.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--body);
    font-size: 12.5px;
    font-weight: 600;
}

a.pager-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pager-btn.active {
    border-color: var(--heading);
    background: var(--navy);
    color: #fff;
}

.pager-btn.disabled {
    opacity: 0.45;
    cursor: default;
}

.pager-ellipsis {
    padding: 0 4px;
    color: var(--text-soft);
}

/* Empty states */
.empty-state {
    max-width: 760px;
    margin: 30px auto;
    padding: 54px 40px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(135deg, #f8fafc, #eef4fa);
    text-align: center;
}

.empty-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.empty-state h1 {
    margin: 0 0 12px;
    color: var(--heading);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.empty-state p {
    margin: 0 auto 20px;
    max-width: 560px;
    color: var(--muted);
    line-height: 1.7;
}

.empty-state code {
    padding: 2px 7px;
    border-radius: 5px;
    background: #e3ebf3;
    color: var(--heading);
    font-size: 13px;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.empty-inline {
    padding: 48px 32px;
    border: 1px dashed #cfdae5;
    border-radius: 16px;
    background: #fbfcfe;
    text-align: center;
}

.empty-inline h2 {
    margin-bottom: 8px;
    color: var(--heading);
    font-size: 22px;
}

.empty-inline p {
    margin-bottom: 18px;
    color: var(--muted);
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: #c3d0de;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 40px;
}

.brand-light .brand-name {
    color: #fff;
}

.brand-light .brand-name span {
    color: #62b0f5;
}

.footer-brand p {
    margin: 14px 0 16px;
    max-width: 330px;
    color: #94a8bd;
    font-size: 12.5px;
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #b9c9d9;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-column h4 {
    margin: 4px 0 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column > a {
    display: block;
    padding: 5px 0;
    color: #94a8bd;
    font-size: 12.5px;
}

.footer-column > a:hover {
    color: #fff;
}

.footer-newsletter p {
    margin-bottom: 12px;
    color: #94a8bd;
    font-size: 12.5px;
    line-height: 1.6;
}

.footer-rss-button {
    display: inline-flex;
    padding: 9px 13px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

.footer-rss-button:hover {
    background: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 17px;
    padding-bottom: 17px;
    color: #7f95ab;
    font-size: 11.5px;
}

.footer-bottom a {
    color: #a9bccf;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 1180px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 106px);
        overflow-y: auto;
        padding: 10px 24px 18px;
        border-bottom: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 20px 30px rgba(11, 31, 51, 0.12);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-more-toggle {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
        border-right: 0;
        font-size: 14px;
        text-align: left;
    }

    .main-nav > a.active {
        border-bottom-color: var(--line);
        color: var(--accent);
    }

    .nav-more {
        width: 100%;
    }

    .nav-more-toggle {
        display: none;
    }

    .nav-dropdown {
        position: static;
        display: block;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .nav-dropdown a {
        padding: 11px 0;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-search {
        display: none;
    }

    .mobile-search-toggle {
        display: inline-flex;
    }

    .content-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 26px;
    }

    .category-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .footer-newsletter {
        grid-column: span 1;
    }
}

@media (max-width: 960px) {
    .container {
        padding: 0 18px;
    }

    .topbar-date {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-main {
        min-height: 330px;
    }

    .hero-side {
        grid-template-rows: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-small {
        min-height: 190px;
    }

    .content-grid,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-row {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 250px;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .category-row .card {
        scroll-snap-align: start;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-shell {
        padding: 26px;
    }

    .source-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-hero-mark {
        font-size: 100px;
    }
}

@media (max-width: 720px) {
    .site-main {
        padding-top: 18px;
    }

    .topbar-location,
    .weather-pill span {
        display: none;
    }

    .header-inner {
        height: 62px;
        gap: 12px;
    }

    .brand-name {
        font-size: 21px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .hero-main {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .hero-small {
        min-height: 175px;
    }

    .hero-body {
        padding: 20px;
    }

    .hero-excerpt {
        display: none;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .sidebar,
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 26px 22px;
    }

    .page-hero-mark {
        display: none;
    }

    .source-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
    }

    .article-shell {
        padding: 20px;
        border-radius: 16px;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content > p:first-of-type {
        font-size: 17px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .section-head {
        align-items: flex-end;
    }

    .section-title {
        font-size: 19px;
    }

    .see-all {
        font-size: 11.5px;
    }
}

@media (max-width: 480px) {
    .topbar-inner {
        font-size: 11px;
    }

    .hero-main {
        min-height: 250px;
    }

    .hero-small {
        min-height: 160px;
    }

    .search-page-form {
        flex-wrap: wrap;
        padding: 12px;
    }

    .search-page-form input {
        width: 100%;
        flex-basis: 100%;
        padding: 4px;
    }

    .search-page-form button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}



