/*
Theme Name: Dhaka News
Theme URI: https://example.com/dhaka-news
Author: Your Name
Author URI: https://example.com
Description: A Bengali news portal WordPress theme inspired by Dhaka Times. Supports multiple news categories, breaking news ticker, featured posts, and a fully responsive layout.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhaka-news
Tags: news, blog, custom-menu, featured-images, responsive-layout, right-sidebar, two-columns, three-columns
*/

/* ===================================
   CSS VARIABLES
=================================== */
:root {
    --color-primary: #c0392b;
    --color-primary-dark: #96281b;
    --color-secondary: #2c3e50;
    --color-accent: #e67e22;
    --color-bg: #f4f4f4;
    --color-white: #ffffff;
    --color-text: #222222;
    --color-text-light: #555555;
    --color-border: #dddddd;
    --color-tag-bg: #c0392b;
    --color-header-bg: #ffffff;
    --color-footer-bg: #1a1a2e;
    --color-footer-text: #cccccc;
    --font-bengali: 'Noto Serif Bengali', 'SolaimanLipi', 'Kalpurush', serif;
    --font-body: 'Noto Serif Bengali', serif;
    --font-heading: 'Noto Serif Bengali', serif;
    --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
    --radius: 3px;
    --transition: 0.2s ease;
}

/* ===================================
   RESET & BASE
=================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    direction: ltr;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

/* ===================================
   CONTAINER
=================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* ===================================
   TOP BAR
=================================== */
.top-bar {
    background: var(--color-secondary);
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}

.top-bar .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar .date-time {
    font-size: 12px;
    color: #ccc;
}

.top-bar .social-links a {
    color: #ccc;
    margin-left: 10px;
    font-size: 13px;
    transition: color var(--transition);
}

.top-bar .social-links a:hover {
    color: var(--color-primary);
}

/* ===================================
   HEADER
=================================== */
.site-header {
    background: var(--color-header-bg);
    border-bottom: 3px solid var(--color-primary);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.site-branding .site-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -1px;
}

.site-branding .site-description {
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 2px;
}

.header-ad {
    flex: 1;
    text-align: center;
}

.header-ad img {
    max-height: 80px;
    margin: 0 auto;
}

/* ===================================
   NAVIGATION
=================================== */
.main-navigation {
    background: var(--color-primary);
    position: relative;
    z-index: 100;
}

.main-navigation .nav-inner {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-bengali);
    transition: background var(--transition);
    white-space: nowrap;
}

.main-navigation ul li:hover > a,
.main-navigation ul li.current-menu-item > a {
    background: var(--color-primary-dark);
}

.main-navigation ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-secondary);
    min-width: 200px;
    z-index: 999;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.main-navigation ul li:hover > ul {
    display: flex;
}

.main-navigation ul li ul li a {
    padding: 9px 16px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-search input {
    padding: 6px 12px;
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    width: 180px;
    outline: none;
}

.nav-search button {
    background: var(--color-secondary);
    color: #fff;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-body);
    transition: background var(--transition);
}

.nav-search button:hover {
    background: #1a252f;
}

/* ===================================
   BREAKING NEWS TICKER
=================================== */
.breaking-news {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-border);
    padding: 8px 0;
    overflow: hidden;
}

.breaking-news .breaking-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.breaking-news .breaking-label {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    font-family: var(--font-bengali);
    flex-shrink: 0;
    margin-right: 12px;
}

.breaking-news .ticker-wrap {
    flex: 1;
    overflow: hidden;
}

.breaking-news .ticker {
    display: flex;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}

.breaking-news .ticker-item {
    font-size: 13px;
    color: var(--color-text);
    padding-right: 50px;
    font-family: var(--font-bengali);
}

.breaking-news .ticker-item a:hover {
    color: var(--color-primary);
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ===================================
   LAYOUT
=================================== */
.site-content {
    padding: 16px 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 16px;
    align-items: start;
}

.main-content {
    min-width: 0;
}

.sidebar {
    min-width: 0;
}

/* ===================================
   SECTION HEADING
=================================== */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--color-primary);
    margin-bottom: 14px;
    padding-bottom: 6px;
}

.section-heading h2,
.section-heading h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    padding: 4px 14px;
    display: inline-block;
}

.section-heading .see-all {
    font-size: 12px;
    color: var(--color-primary);
    font-family: var(--font-bengali);
}

.section-heading .see-all:hover {
    text-decoration: underline;
}

/* ===================================
   FEATURED / HERO SECTION
=================================== */
.featured-section {
    margin-bottom: 20px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
}

.featured-main {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-main img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-main:hover img {
    transform: scale(1.03);
}

.featured-main .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.82));
    padding: 30px 14px 14px;
}

.featured-main .overlay h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}

.featured-main .overlay .cat-tag {
    font-size: 11px;
    background: var(--color-primary);
    color: #fff;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 6px;
    font-family: var(--font-bengali);
}

.featured-side {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-side img {
    width: 100%;
    height: 162px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-side:hover img {
    transform: scale(1.03);
}

.featured-side .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    padding: 20px 10px 10px;
}

.featured-side .overlay h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
}

/* ===================================
   NEWS CARD
=================================== */
.news-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition);
}

.news-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.news-card .card-thumb {
    overflow: hidden;
}

.news-card .card-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .card-thumb img {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 10px 12px 12px;
}

.news-card .cat-tag {
    font-size: 10px;
    background: var(--color-primary);
    color: #fff;
    padding: 2px 7px;
    display: inline-block;
    margin-bottom: 6px;
    font-family: var(--font-bengali);
    border-radius: 2px;
}

.news-card .card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .card-title:hover {
    color: var(--color-primary);
}

.news-card .card-meta {
    font-size: 11px;
    color: #999;
    margin-top: 8px;
    font-family: var(--font-bengali);
}

/* ===================================
   NEWS GRID LAYOUTS
=================================== */
.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.news-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.news-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* ===================================
   NEWS LIST (horizontal card)
=================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.news-list-item {
    display: flex;
    gap: 10px;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition);
}

.news-list-item:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
}

.news-list-item .item-thumb {
    flex-shrink: 0;
    width: 110px;
    overflow: hidden;
}

.news-list-item .item-thumb img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .item-thumb img {
    transform: scale(1.06);
}

.news-list-item .item-body {
    padding: 8px 10px 8px 0;
    flex: 1;
}

.news-list-item .item-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-item .item-title:hover {
    color: var(--color-primary);
}

.news-list-item .item-meta {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    font-family: var(--font-bengali);
}

/* ===================================
   CATEGORY SECTION BOX
=================================== */
.cat-section {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
}

/* ===================================
   SLIDER / CAROUSEL
=================================== */
.slider-section {
    position: relative;
    background: #111;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: var(--radius);
}

.slider-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slider-slide.active {
    opacity: 1;
}

.slider-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.slider-slide .slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 20px 20px;
}

.slider-slide .slide-caption h2 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.slider-btn:hover {
    background: var(--color-primary);
}

.slider-dots {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background var(--transition);
}

.slider-dot.active {
    background: var(--color-primary);
}

/* ===================================
   SIDEBAR WIDGETS
=================================== */
.widget {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.widget .widget-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--color-primary);
    padding: 5px 12px;
    margin: -14px -14px 14px;
    display: block;
}

.widget-popular-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.widget-popular-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.widget-popular-item .pop-thumb img {
    width: 70px;
    height: 52px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.widget-popular-item .pop-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--color-text);
}

.widget-popular-item .pop-title:hover {
    color: var(--color-primary);
}

.widget-popular-item .pop-meta {
    font-size: 10px;
    color: #aaa;
    margin-top: 3px;
}

/* Category widget */
.widget-cats ul {
    display: flex;
    flex-direction: column;
}

.widget-cats ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
    font-family: var(--font-bengali);
    color: var(--color-text);
}

.widget-cats ul li a:hover {
    color: var(--color-primary);
}

.widget-cats ul li a .count {
    background: var(--color-primary);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
}

/* Ad widget */
.widget-ad {
    text-align: center;
    padding: 10px;
}

.widget-ad img {
    margin: 0 auto;
    border-radius: 2px;
}

/* ===================================
   PHOTO GALLERY
=================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.photo-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.photo-grid-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-grid-item:hover img {
    transform: scale(1.08);
}

.photo-grid-item .photo-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 14px 6px 6px;
    font-size: 10px;
    color: #fff;
    font-family: var(--font-bengali);
    line-height: 1.4;
}

/* ===================================
   TAGS CLOUD
=================================== */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tag-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 2px;
    font-family: var(--font-bengali);
    color: var(--color-text-light);
    transition: all var(--transition);
}

.tag-item:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ===================================
   PAGINATION
=================================== */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    font-size: 13px;
    border-radius: var(--radius);
    transition: all var(--transition);
    font-family: var(--font-bengali);
}

.pagination a:hover,
.pagination span.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ===================================
   SINGLE POST
=================================== */
.single-post-header {
    margin-bottom: 16px;
}

.single-post-header .post-cats {
    margin-bottom: 8px;
}

.single-post-header .post-cats a {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    font-family: var(--font-bengali);
    margin-right: 4px;
    border-radius: 2px;
}

.single-post-header h1 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
    margin-bottom: 10px;
}

.single-post-header .post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-family: var(--font-bengali);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
}

.single-post-thumb {
    margin-bottom: 16px;
    border-radius: var(--radius);
    overflow: hidden;
}

.single-post-thumb img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.single-post-thumb .caption {
    font-size: 12px;
    color: #888;
    text-align: center;
    padding: 6px;
    background: #f9f9f9;
    font-family: var(--font-bengali);
}

.entry-content {
    font-family: var(--font-bengali);
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content h2,
.entry-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 20px 0 12px;
    color: var(--color-secondary);
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    background: #fdf6f6;
    padding: 12px 16px;
    margin: 16px 0;
    font-style: italic;
    color: var(--color-text-light);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 12px auto;
    border-radius: var(--radius);
}

/* Share buttons */
.post-share {
    display: flex;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: center;
    font-family: var(--font-bengali);
    font-size: 13px;
}

.post-share .share-label {
    font-weight: 600;
    color: var(--color-text-light);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: var(--radius);
    color: #fff;
    font-size: 12px;
    font-family: var(--font-bengali);
    transition: opacity var(--transition);
}

.share-btn:hover {
    opacity: 0.88;
    color: #fff;
}

.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25d366; }
.share-btn.yt { background: #ff0000; }

/* ===================================
   FOOTER
=================================== */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding-top: 36px;
    margin-top: 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget h3 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.footer-widget p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-footer-text);
    font-family: var(--font-bengali);
}

.footer-widget .footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.footer-nav ul li {
    margin-bottom: 7px;
}

.footer-nav ul li a {
    font-size: 13px;
    color: var(--color-footer-text);
    font-family: var(--font-bengali);
    transition: color var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: background var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
}

.footer-recent-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-recent-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.footer-recent-item img {
    width: 54px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.footer-recent-item a {
    font-size: 12px;
    line-height: 1.5;
    color: #bbb;
    font-family: var(--font-bengali);
}

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

.footer-bottom {
    background: #111;
    padding: 12px 0;
    text-align: center;
    font-size: 12px;
    color: #888;
    font-family: var(--font-bengali);
}

.footer-bottom a {
    color: var(--color-primary);
}

/* ===================================
   MOBILE NAV
=================================== */
.mobile-nav-toggle {
    display: none;
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 18px;
    cursor: pointer;
}

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr 240px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .content-area {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-main {
        grid-row: auto;
    }
    .news-grid-3,
    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .site-branding .site-title {
        font-size: 28px;
    }
    .header-ad {
        display: none;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .main-navigation ul {
        display: none;
        flex-direction: column;
    }
    .main-navigation ul.open {
        display: flex;
    }
    .main-navigation .nav-inner {
        flex-wrap: wrap;
    }
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-bar .date-time {
        display: none;
    }
}

@media (max-width: 480px) {
    .news-grid-3,
    .news-grid-4,
    .news-grid-2 {
        grid-template-columns: 1fr;
    }
    .single-post-header h1 {
        font-size: 20px;
    }
    .single-post-thumb img {
        height: 220px;
    }
}

/* ===================================
   UTILITY CLASSES
=================================== */
.bg-white { background: #fff; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ===================================
   CUSTOM LOGO
=================================== */
.custom-logo-wrap a {
    display: inline-block;
}
.custom-logo-wrap img {
    max-height: 75px;
    width: auto;
    height: auto;
}
.site-name-link {
    text-decoration: none;
}

/* ===================================
   DISTRICT / DIVISION SEARCH BAR
=================================== */
.district-search-bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 14px 0;
}

.district-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    position: relative;
}

.district-title::before,
.district-title::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #ccc;
    vertical-align: middle;
    margin: 0 10px;
}

.district-search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px 16px;
}

.dn-select {
    flex: 1;
    min-width: 160px;
    max-width: 280px;
    padding: 9px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-bengali);
    font-size: 14px;
    color: var(--color-text);
    background: #fff;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    transition: border-color var(--transition);
}

.dn-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(192,57,43,0.12);
}

.dn-search-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 4px;
    font-family: var(--font-bengali);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dn-search-btn:hover {
    background: #1d4ed8;
}

/* ===================================
   SEE ALL BUTTON
=================================== */
.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 3px;
    font-family: var(--font-bengali);
    font-size: 13px;
    font-weight: 600;
    transition: background var(--transition);
}

.see-all-btn:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

/* ===================================
   RESPONSIVE — DISTRICT BAR
=================================== */
@media (max-width: 768px) {
    .district-search-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .dn-select {
        max-width: 100%;
    }
    .dn-search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   GOOGLE FONTS EMBED
=================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@400;600;700&display=swap');
