/*
Theme Name: Dhaka Sydney Insider
Theme URI: https://dhakasydneyinsider.com
Author: Dhaka Sydney Insider
Author URI: https://dhakasydneyinsider.com
Description: ঢাকা সিডনি ইনসাইডার — বাংলা নিউজ পোর্টাল থিম। Bootstrap 5, Noto Serif Bengali ফন্ট, রেসপন্সিভ মোবাইল-ফার্স্ট ডিজাইন।
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dsi
Tags: news, bangla, responsive, bootstrap, mobile-first
*/

:root {
  --red: #d0021b;
  --dark: #1a1a1a;
  --mid: #333;
  --light-gray: #f5f5f5;
  --border: #e0e0e0;
  --text: #222;
  --meta: #888;
}

* { box-sizing: border-box; }

body {
  font-family: 'Noto Serif Bengali', serif;
  color: var(--text);
  background: #fff;
  font-size: 24px;
}

a { text-decoration: none; color: inherit; }
a:hover { color: var(--red); }
img { max-width: 100%; }

/* ─── TOP BAR ─── */
.top-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 19px;
  padding: 5px 0;
}
.top-bar a { color: #555; margin-left: 12px; }
.top-bar a:hover { color: var(--red); }
.top-bar .social a { font-size: 20px; }

/* ─── HEADER ─── */
.site-header { padding: 14px 0; border-bottom: 1px solid var(--border); }
.site-header .logo img { max-height: 60px; }
.ad-banner {
  border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  height: 90px; background: #fafafa;
  color: #aaa; font-size: 20px;
  border-radius: 4px; text-align: center;
}
.ad-banner .ad-btn {
  background: var(--red); color: #fff;
  padding: 6px 14px; font-size: 19px;
  border-radius: 3px; margin-top: 6px;
  display: inline-block;
}

/* ─── NAVBAR ─── */
.main-nav {
  background: var(--red);
}
.main-nav .navbar-toggler { border-color: rgba(255,255,255,.5); }
.main-nav .navbar-toggler-icon { filter: invert(1); }
.main-nav .nav-link {
  color: #fff !important;
  font-size: 22px;
  font-weight: 500;
  padding: 10px 12px !important;
}
.main-nav .nav-link:hover { background: rgba(0,0,0,.18); }
.main-nav .search-icon { color: #fff; font-size: 25px; cursor: pointer; }
.mobile-menu-btn {
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  padding: 6px 10px; border-radius: 3px;
}

/* ─── BREAKING NEWS ─── */
.breaking-bar {
  background: #fff;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 20px;
}
.breaking-label {
  background: var(--red); color: #fff;
  padding: 3px 10px; font-weight: 600;
  font-size: 19px; white-space: nowrap;
  border-radius: 2px;
}
.breaking-text { overflow: hidden; white-space: nowrap; flex: 1; }
.breaking-text span { display: inline-block; animation: ticker 25s linear infinite; }
@keyframes ticker { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* ─── SECTION HEADING ─── */
.section-heading {
  border-bottom: 3px solid var(--red);
  padding-bottom: 8px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-heading h2 {
  font-size: 28px; font-weight: 700;
  color: var(--dark); margin: 0;
  border-left: 4px solid var(--red);
  padding-left: 10px;
}
.section-heading .see-all {
  font-size: 19px; color: var(--red);
  border: 1px solid var(--red);
  padding: 3px 10px; border-radius: 3px;
}

/* ─── CATEGORY BADGE ─── */
.cat-badge {
  background: var(--red); color: #fff;
  font-size: 15px; padding: 2px 7px;
  border-radius: 2px; font-weight: 600;
  display: inline-block; margin-bottom: 4px;
}

/* ─── HERO ─── */
.hero-img { width: 100%; height: 320px; object-fit: cover; border-radius: 4px; }
.hero-caption {
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  padding: 20px 14px 14px;
  position: absolute; bottom: 0; left: 0; right: 0;
  border-radius: 0 0 4px 4px;
}
.hero-caption h3 { color: #fff; font-size: 31px; font-weight: 700; margin: 0 0 6px; line-height: 1.4; }
.hero-caption .meta { color: rgba(255,255,255,.75); font-size: 18px; }

/* ─── SIDE NEWS LIST ─── */
.side-news-item {
  display: flex; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.side-news-item:last-child { border-bottom: none; }
.side-news-item img { width: 85px; height: 65px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.side-news-item .title { font-size: 20px; font-weight: 600; line-height: 1.45; }
.side-news-item .meta { font-size: 18px; color: var(--meta); margin-top: 4px; }

/* ─── CARD NEWS ─── */
.news-card { margin-bottom: 20px; }
.news-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 3px; }
.news-card .title { font-size: 22px; font-weight: 600; line-height: 1.5; margin: 6px 0 4px; }
.news-card .meta { font-size: 18px; color: var(--meta); }

/* ─── POPULAR SIDEBAR ─── */
.popular-tabs .nav-link {
  color: var(--mid); font-size: 20px;
  padding: 6px 14px;
}
.popular-tabs .nav-link.active {
  background: var(--red); color: #fff; border-radius: 3px;
}
.popular-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.popular-item .num {
  background: var(--red); color: #fff;
  width: 28px; height: 28px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; flex-shrink: 0;
  margin-top: 4px;
}
.popular-item .title { font-size: 20px; font-weight: 600; line-height: 1.45; }

/* ─── VIDEO SIDEBAR ─── */
.video-thumb { position: relative; }
.video-thumb img { width: 100%; height: 140px; object-fit: cover; border-radius: 4px; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; background: rgba(255,255,255,.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 28px;
}
.video-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.video-item img { width: 80px; height: 58px; object-fit: cover; border-radius: 3px; }
.video-item .title { font-size: 19px; font-weight: 600; line-height: 1.4; }

/* ─── NEWSLETTER ─── */
.newsletter-box {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 5px; padding: 16px;
}
.newsletter-box h6 { font-weight: 700; font-size: 22px; }
.newsletter-box p { font-size: 19px; color: #666; }
.newsletter-box .form-control { font-size: 20px; border-radius: 3px 0 0 3px; }
.newsletter-box .btn-sub {
  background: var(--red); color: #fff;
  font-size: 20px; border-radius: 0 3px 3px 0;
}

/* ─── WEATHER ─── */
.weather-box {
  background: linear-gradient(135deg, #1e90ff, #00c6ff);
  color: #fff; border-radius: 5px; padding: 14px;
}
.weather-box .city { font-size: 19px; opacity: .8; }
.weather-box .temp { font-size: 56px; font-weight: 700; }
.weather-box .desc { font-size: 19px; opacity: .85; }
.weather-box .day-col { text-align: center; font-size: 18px; }
.weather-box .day-col i { font-size: 28px; margin: 4px 0; display: block; }

/* ─── AD BOX ─── */
.ad-box {
  background: #1a1a2e;
  color: #fff; text-align: center;
  padding: 30px 14px; border-radius: 5px;
}
.ad-box small { opacity: .6; font-size: 18px; display: block; }
.ad-box .ad-size { font-size: 20px; opacity: .7; margin-bottom: 8px; }
.ad-box .btn-contact {
  background: var(--red); color: #fff;
  padding: 6px 18px; border-radius: 3px; font-size: 20px;
  margin-top: 8px; display: inline-block;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 36px 0 0;
  margin-top: 40px;
}
.site-footer h6 { color: #fff; font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 8px; font-size: 20px; }
.site-footer ul li a { color: #aaa; }
.site-footer ul li a:hover { color: var(--red); }
.footer-social a {
  color: #aaa; margin-right: 12px; font-size: 28px;
}
.footer-social a:hover { color: var(--red); }
.footer-bottom {
  background: #0a0a0a;
  text-align: center;
  padding: 12px 0;
  font-size: 19px; color: #666;
  margin-top: 28px;
}
.footer-logo img { max-height: 50px; margin-bottom: 10px; }
.footer-desc { font-size: 19px; color: #888; line-height: 1.6; }

/* ─── META INFO ─── */
.meta-info { font-size: 18px; color: var(--meta); margin-top: 5px; }
.meta-info i { margin-right: 3px; }


/* ─── HERO HEIGHT FIX ─── */
.hero-wrap { align-items: stretch; }
.hero-wrap .hero-col-left { display: flex; flex-direction: column; }
.hero-wrap .hero-col-left > a { flex: 1; display: block; position: relative; min-height: 320px; }
.hero-wrap .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.hero-wrap .hero-col-right { display: flex; flex-direction: column; justify-content: space-between; }
.hero-wrap .hero-col-right .side-news-item { flex: 1; }

/* ─── SEE MORE LINK ─── */
.see-more-link {
  color: var(--red); font-size: 18px;
  border: 1px solid var(--red);
  padding: 4px 14px; border-radius: 3px;
  display: inline-block; margin-top: 10px;
  transition: all .2s;
}
.see-more-link:hover { background: var(--red); color: #fff; }

/* ─── OPINION / COLUMN ITEM ─── */
.opinion-item { padding: 11px 0; border-bottom: 1px solid var(--border); }
.opinion-item:last-of-type { border-bottom: none; }
.opinion-item .op-author { font-size: 17px; color: var(--red); font-weight: 600; margin-bottom: 3px; }
.opinion-item .op-author i { margin-right: 4px; }
.opinion-item .op-title { font-size: 20px; font-weight: 600; line-height: 1.45; }
.opinion-item .op-meta { font-size: 17px; color: var(--meta); margin-top: 3px; }

/* ─── PROBASHI COLUMN ITEM ─── */
.probashi-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.probashi-item:last-of-type { border-bottom: none; }
.probashi-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.probashi-item .title { font-size: 20px; font-weight: 600; line-height: 1.4; }
.probashi-item .meta { font-size: 17px; color: var(--meta); margin-top: 3px; }
.probashi-item .location { font-size: 16px; color: var(--red); }

/* ─── শোক সংবাদ ─── */
.shok-box { background: #f9f9f9; border: 1px solid #ddd; border-radius: 5px; padding: 14px; }
.shok-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e8e8e8; }
.shok-item:last-of-type { border-bottom: none; }
.shok-item img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; filter: grayscale(90%); flex-shrink: 0; border: 2px solid #ccc; }
.shok-item .shok-name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.shok-item .shok-meta { font-size: 17px; color: #777; margin-top: 3px; }

/* ─── সাইডবার কার্ড ─── */
.sidebar-card {
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 16px 10px;
  margin-bottom: 20px;
}
.sidebar-card .section-heading { margin-bottom: 10px; }

/* ─── পাঠকের মতামত ─── */
.reader-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.reader-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.11); }
.reader-card .reader-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reader-card .reader-photo {
  width: 60px; height: 60px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--red);
}
.reader-card .reader-name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.reader-card .reader-loc { font-size: 17px; color: var(--meta); margin-top: 2px; }
.reader-card .reader-text {
  font-size: 19px; line-height: 1.7; color: #444;
  border-left: 3px solid var(--red);
  padding-left: 12px; margin: 0;
  font-style: italic;
}
.reader-card .reader-date { font-size: 16px; color: var(--meta); margin-top: 10px; text-align: right; }

/* ─── মতামত সাবমিট ফর্ম ─── */
.reader-submit-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.reader-submit-box h5 { font-size: 24px; font-weight: 700; margin-bottom: 16px; border-bottom: 3px solid var(--red); padding-bottom: 10px; }
.photo-upload-label {
  display: flex; align-items: center; justify-content: center;
  width: 90px; height: 90px; border-radius: 50%;
  border: 2px dashed var(--red); cursor: pointer;
  background: #fff8f8; flex-direction: column;
  font-size: 14px; color: var(--red); text-align: center;
  transition: background .2s;
}
.photo-upload-label:hover { background: #ffe8ea; }
.photo-upload-label i { font-size: 26px; margin-bottom: 3px; }
.photo-upload-label span { font-size: 15px; line-height: 1.2; }
#preview-photo { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); display: none; }
.reader-submit-btn {
  background: var(--red); color: #fff;
  padding: 10px 28px; border-radius: 4px;
  font-size: 20px; border: none; cursor: pointer;
  display: inline-block; margin-top: 4px;
  transition: background .2s;
}
.reader-submit-btn:hover { background: #a80015; }

/* ─── RESPONSIVE TWEAKS ─── */
@media (max-width: 575px) {
  .hero-img { height: 220px; }
  .hero-caption h3 { font-size: 24px; }
  .section-heading h2 { font-size: 25px; }
}
/* ─── SINGLE POST ─── */
.single-post-img { width:100%; max-height:480px; object-fit:cover; border-radius:4px; margin-bottom:20px; }
.single-post-title { font-size:34px; font-weight:700; line-height:1.4; margin-bottom:12px; }
.single-post-meta { font-size:19px; color:var(--meta); margin-bottom:20px; border-bottom:1px solid var(--border); padding-bottom:14px; }
.single-post-content { font-size:22px; line-height:1.85; }
.single-post-content p { margin-bottom:18px; }
.single-post-content img { border-radius:4px; margin:10px 0; }
.post-tags { margin-top:24px; }
.post-tags a { background:var(--light-gray); color:var(--mid); padding:4px 12px; border-radius:3px; font-size:18px; margin-right:6px; display:inline-block; margin-bottom:6px; }
.post-tags a:hover { background:var(--red); color:#fff; }

/* ─── PAGINATION ─── */
.dsi-pagination { margin:20px 0; }
.dsi-pagination .page-numbers { display:inline-block; padding:6px 14px; border:1px solid var(--border); border-radius:3px; font-size:19px; margin-right:4px; color:var(--text); }
.dsi-pagination .page-numbers.current { background:var(--red); color:#fff; border-color:var(--red); }
.dsi-pagination .page-numbers:hover { background:var(--red); color:#fff; border-color:var(--red); }

/* ─── NEWSLETTER BTN ─── */
.btn-sub { background:var(--red); color:#fff; font-size:20px; border:none; padding:8px 16px; cursor:pointer; }
.btn-sub:hover { background:#a80015; color:#fff; }

/* ─── CONTACT PAGE ─── */
.contact-box { background:#f9f9f9; border:1px solid var(--border); border-radius:8px; padding:28px; }
.contact-box h4 { font-size:26px; font-weight:700; margin-bottom:18px; color:var(--dark); }
.contact-info-item { display:flex; gap:14px; align-items:flex-start; margin-bottom:16px; font-size:20px; }
.contact-info-item i { color:var(--red); font-size:22px; margin-top:3px; flex-shrink:0; }
.contact-form-label { font-size:19px; font-weight:600; margin-bottom:6px; display:block; }
.contact-submit-btn { background:var(--red); color:#fff; padding:12px 32px; font-size:21px; border:none; border-radius:4px; cursor:pointer; }
.contact-submit-btn:hover { background:#a80015; }

/* ─── ARCHIVE PAGE ─── */
.page-hero { background:linear-gradient(135deg,var(--red),#8b0000); color:#fff; padding:28px 0; margin-bottom:28px; }
.page-hero h1 { font-size:32px; font-weight:700; margin:0; }
.page-hero p { font-size:19px; opacity:.85; margin:6px 0 0; }

/* ─── BACK TO TOP ─── */
#back-to-top { position:fixed; bottom:24px; right:24px; width:46px; height:46px; background:var(--red); color:#fff; border:none; border-radius:50%; font-size:20px; cursor:pointer; display:none; z-index:999; box-shadow:0 2px 10px rgba(0,0,0,.25); }

/* ─── ADMIN NOTICE ─── */
.dsi-admin-notice { background:#fff; border-left:4px solid var(--red); padding:12px 16px; margin:14px 0; }

@media (max-width:767px) {
  .single-post-title { font-size:26px; }
  .contact-box { padding:18px; }
}
