:root {
  --navy: #0c1a2e;
  --navy-deep: #07111f;
  --cream: #f8f4ed;
  --cream-soft: #f1ebe0;
  --gold: #c9a86c;
  --gold-light: #e0c992;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --white: #ffffff;
  --border: rgba(201, 168, 108, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

/* Brand bar (logo only, no nav) */
.brand-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy-deep);
  backdrop-filter: none;
  border-bottom: 1px solid rgba(201, 168, 108, 0.15);
  padding: 1.1rem 0;
}

.brand-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold);
}

.external-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.external-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.external-links a:hover {
  color: var(--navy);
}

/* Hero */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #13253f 100%);
  color: var(--cream);
  position: relative;
  padding: 8rem 0 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(201, 168, 108, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 108, 0.4);
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  line-height: 1.12;
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 38ch;
  color: rgba(248, 244, 237, 0.78);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(248, 244, 237, 0.35);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(201, 168, 108, 0.2);
}

.stat strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 244, 237, 0.55);
  margin-top: 0.35rem;
  display: block;
}

/* Sections */
section {
  padding: 5.5rem 2rem;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  max-width: 48ch;
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

/* Search + Filter */
.search-filter {
  background: var(--cream);
  padding-bottom: 0;
}

.search-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  background: var(--white);
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0.85rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder {
  color: #999;
}

.search-box button {
  padding: 0 1.2rem;
  background: var(--navy);
  color: var(--cream);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-box button:hover {
  background: #152a45;
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

/* Articles */
.articles {
  background: var(--cream);
  padding-top: 2rem;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.articles-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card.hidden {
  display: none;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12, 26, 46, 0.08);
}

.article-img {
  height: 140px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.article-img--fallback {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
}









.article-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(12, 26, 46, 0.06);
  border: 1px solid var(--border);
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.article-body {
  padding: 1.5rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-meta {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.article-body h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  font-family: 'Noto Sans Bengali', 'Cormorant Garamond', serif;
}

.article-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 0.9rem;
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-more:hover {
  color: var(--navy);
}

.no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  grid-column: 1 / -1;
}

.no-results.visible {
  display: block;
}

/* Topics */
.topics {
  background: var(--white);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.topic-card {
  border: 1px solid var(--border);
  padding: 1.75rem 1.4rem;
  border-radius: 3px;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
}

.topic-card:hover {
  border-color: var(--gold);
  background: var(--cream-soft);
}

.topic-icon {
  font-size: 1.6rem;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}

.topic-card h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.topic-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Newsletter */
.newsletter {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding: 5rem 2rem;
}

.newsletter .section-label {
  color: var(--gold);
}

.newsletter .section-title {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.newsletter p {
  color: rgba(248, 244, 237, 0.7);
  max-width: 42ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0.6rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(201, 168, 108, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(248, 244, 237, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 0.9rem 1.4rem;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.newsletter-form button:hover {
  background: var(--gold-light);
}

/* Footer */
footer {
  background: var(--navy-deep);
  color: rgba(248, 244, 237, 0.55);
  padding: 3.5rem 2rem 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 0.85rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 28ch;
  line-height: 1.65;
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(248, 244, 237, 0.55);
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(201, 168, 108, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 900px) {
  .topics-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    gap: 2rem;
  }

  .external-links {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .external-links {
    display: none;
  }
}


/* Full post page */
.post-page {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: var(--cream);
  min-height: 80vh;
}

.post-wrap {
  max-width: 720px;
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.back-link:hover {
  color: var(--navy);
}

.post-hero-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.75rem;
  display: block;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.post-title {
  font-family: 'Noto Sans Bengali', 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 1.75rem;
  font-weight: 600;
}

.post-body {
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.post-body p {
  margin-bottom: 1.35rem;
}

.article-card h3,
.article-body p {
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
}

.article-body p {
    overflow: hidden;
}



/* Logo + brand name */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  display: block;
  border-radius: 50%;
}

.logo-img--sm {
  height: 32px;
  width: 32px;
}

.footer-brand .logo-link {
  margin-bottom: 0.85rem;
}

.footer-brand .logo {
  color: var(--cream);
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .logo-img {
    height: 28px;
  }
}


.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.article-card .read-more {
  margin-top: auto;
}


/* Featured landscape cards */
.featured-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(12, 26, 46, 0.1);
}

.featured-img {
  min-height: 280px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.featured-img--fallback {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
}

.featured-body {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.featured-body .article-tag {
  margin-bottom: 0.5rem;
}

.featured-title {
  font-family: 'Noto Sans Bengali', 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: var(--navy);
  line-height: 1.35;
  margin: 0.35rem 0 0.75rem;
  font-weight: 600;
}

.featured-desc {
  font-family: 'Noto Sans Bengali', 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-body .read-more {
  margin-top: auto;
}

@media (max-width: 800px) {
  .featured-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .featured-img {
    min-height: 200px;
  }
}
