/* Bangladesh TV – static site stylesheet
   Loosely based on the original GeneratePress look (grey page, white header, dark menu),
   with more comfortable reading typography. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #3a3a3a;
  --muted: #767676;
  --heading: #222222;
  --link: #1e73be;
  --link-hover: #000000;
  --nav-bg: #222222;
  --nav-hover: #3f3f3f;
  --rule: #e3e3e3;
  --accent: #d9262c; /* red of the Bangladesh TV logo */
  --max: 1100px;
  --measure: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

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

a { color: var(--link); text-decoration: none; transition: color .1s ease-in-out; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--surface); padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header { background: var(--surface); padding: 32px 0 26px; }
.site-title {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.site-title a { color: var(--heading); }
.site-title a:hover { color: var(--heading); text-decoration: none; }
.site-description { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Navigation */
.site-nav { background: var(--nav-bg); }
.site-nav .container { padding: 0 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.site-nav li { margin: 0; }
.site-nav li a {
  display: block;
  padding: 15px 18px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.site-nav li a:hover, .site-nav li a:focus { background: var(--nav-hover); color: #fff; text-decoration: none; }
.site-nav li.current a { background: var(--nav-hover); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.burger { position: relative; width: 20px; height: 2px; background: #fff; display: inline-block; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle-label { display: flex; }
  .site-nav ul { display: none; flex-direction: column; margin: 0 -20px; border-top: 1px solid var(--nav-hover); }
  .nav-toggle:checked ~ ul { display: flex; }
  .site-nav li a { padding: 12px 20px; border-bottom: 1px solid var(--nav-hover); }
}

/* Content */
main.container { padding: 48px 20px 64px; }

.page { max-width: var(--measure); }
.page .entry-title { margin: 0 0 24px; }
.page.home { max-width: none; }

.featured { margin: 0 0 32px; }
.featured img { display: block; width: 100%; height: auto; }

h1, h2, h3 { color: var(--heading); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.1rem; margin: 0 0 20px; }
h2 { font-size: 1.5rem; margin: 2.2em 0 0.7em; }
h3 { font-size: 1.15rem; margin: 1.8em 0 0.5em; }
h2 + p, h3 + p { margin-top: 0; }

p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }

blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent);
  font-style: italic;
}
blockquote p { margin-bottom: 0.4em; }
blockquote cite { display: block; font-style: normal; font-size: 0.9rem; color: var(--muted); }

.pullquote {
  margin: 1.8em 0;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--heading);
}
.source { color: var(--muted); font-size: 0.9rem; margin-top: -0.6em; }
.signature { margin: 1.6em 0; }
.fineprint { color: var(--muted); font-size: 0.85rem; line-height: 1.6; margin-top: 2.4em; }

ul.sources { list-style: none; padding: 0; font-size: 0.9rem; }
ul.sources li { margin-bottom: 0.5em; overflow-wrap: anywhere; }
ul.press li, ul.partners li, ul.downloads li { margin-bottom: 0.7em; }
ul.downloads { list-style: none; padding: 0; font-size: 1.05rem; }
ul.downloads .meta { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

/* Responsive video embeds */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 0 0 1.4em;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page.home .video { margin: 0; }

/* Footer */
.site-footer { background: var(--nav-bg); color: #fff; font-size: 0.85rem; padding: 18px 0; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: #bbb; }

@media (max-width: 768px) {
  body { font-size: 16px; }
  .site-header { padding: 22px 0 18px; }
  .site-title { font-size: 1.9rem; }
  main.container { padding: 28px 20px 40px; }
  .featured { margin: 0 0 22px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .pullquote { font-size: 1.15rem; }
}
