/* ==========================================================================
   Portfolio 5: Classic Broadsheet Newspaper / Daily Gazette (বাংলা)
   Aesthetic: Heritage Newsprint, Double-Border Masthead, Multi-column Layout,
   Drop Caps, Journalistic Rules, Vintage Stamp Badges, Authentic Bengali Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Galada&family=Hind+Siliguri:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  --newsprint: #f7f5ed;
  --newsprint-dark: #eee9dc;
  --ink: #111111;
  --ink-light: #333333;
  --rule: #222222;
  --rule-light: #cccccc;
  --accent-red: #a01a1a;
  --font-head: 'Playfair Display', 'Hind Siliguri', serif;
  --font-body: 'Hind Siliguri', serif;
  --font-mast: 'Galada', cursive, serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--newsprint);
  color: var(--ink);
  line-height: 1.65;
  background-image: linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
}

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

.paper-sheet {
  max-width: 1240px;
  margin: 1.5rem auto;
  background: #faf8f2;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #ddd6c1;
  padding: 1.5rem 2.5rem 3rem;
}

/* Top Wire & Weather Strip */
.top-wire {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-light);
  color: #555;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-wire .wire-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Broadsheet Masthead */
.masthead-wrap {
  text-align: center;
  padding: 1.25rem 0 0.75rem;
}

.masthead-motto {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #666;
  text-transform: uppercase;
}

.main-masthead-title {
  font-family: var(--font-mast);
  font-size: 4.5rem;
  line-height: 1.1;
  color: var(--ink);
  margin: 0.2rem 0;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.masthead-sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-red);
}

/* Gazette Date & Price Bar */
.gazette-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px double var(--rule);
  border-bottom: 2px solid var(--rule);
  padding: 0.4rem 0.5rem;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  background: var(--newsprint-dark);
}

/* Navigation Sections Bar */
.newspaper-nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  list-style: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.newspaper-nav li a {
  padding: 0.2rem 0.5rem;
  transition: all 0.2s ease;
}

.newspaper-nav li a:hover {
  background: var(--ink);
  color: #fff;
}

/* Lead Banner & Breaking Ticker */
.breaking-banner {
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--ink);
}

.breaking-label {
  background: var(--accent-red);
  color: #fff;
  padding: 0.4rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.breaking-text {
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  overflow: hidden;
  white-space: nowrap;
}

/* Broadsheet Grid Layout */
.broadsheet-front {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2rem;
}

.broadsheet-story-col {
  border-right: 1px solid var(--rule);
  padding-right: 2rem;
}

/* Headline Styles */
.kicker {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: block;
}

.headline-super {
  font-family: var(--font-head);
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.deck-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #2b2b2b;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--accent-red);
  padding-left: 1rem;
}

/* News Article Multi-column Text */
.article-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: justify;
}

.article-columns-2 p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Drop Cap */
.drop-cap::first-letter {
  font-family: var(--font-head);
  font-size: 3.8rem;
  float: left;
  line-height: 0.8;
  margin-right: 0.5rem;
  padding-top: 0.2rem;
  font-weight: 900;
  color: var(--ink);
}

/* Journalistic Photo Frame */
.news-photo-box {
  margin: 1.25rem 0;
  border: 1px solid #333;
  padding: 4px;
  background: #fff;
}

.news-photo-box img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  font-size: 0.8rem;
  color: #444;
  padding: 0.4rem 0.2rem 0;
  line-height: 1.4;
  font-style: italic;
}

/* Right Editorial Column */
.editorial-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.editorial-box {
  border: 1px solid var(--rule);
  padding: 1.25rem;
  background: #fbfaf5;
}

.box-title-rule {
  font-family: var(--font-head);
  font-size: 1.2rem;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signature-stamp {
  margin-top: 1rem;
  border-top: 1px dashed #888;
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.candidate-sign {
  font-family: 'Galada', cursive;
  font-size: 1.6rem;
  color: var(--accent-red);
}

/* 10-Point Development Gazette Section */
.gazette-section {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2rem;
}

.section-banner-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-banner-head h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  display: inline-block;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  padding: 0.3rem 1.5rem;
}

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

.point-card-paper {
  border-left: 2px solid var(--ink);
  padding-left: 1rem;
}

.point-num {
  font-family: var(--font-head);
  font-weight: 900;
  color: var(--accent-red);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.point-card-paper h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.point-card-paper p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}

/* Public Notices & Transparency Ledger */
.notices-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2rem;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.notice-table th {
  background: var(--newsprint-dark);
  border: 1px solid var(--rule);
  padding: 0.6rem;
  text-align: left;
}

.notice-table td {
  border: 1px solid var(--rule-light);
  padding: 0.6rem;
}

/* Citizen Letter / Opinion Submission */
.letters-box {
  background: #f5f2e6;
  border: 2px solid var(--rule);
  padding: 1.5rem;
}

.letter-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.input-paper {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.btn-paper {
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.btn-paper:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Broadsheet Footer / Imprint */
.newspaper-footer {
  border-top: 3px double var(--rule);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.imprint-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.imprint-box h5 {
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.3rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.imprint-copy {
  border-top: 1px solid var(--rule-light);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #555;
  font-weight: 600;
}

.imprint-copy a {
  color: var(--accent-red);
  text-decoration: underline;
}

.newspaper-mobile-toggle {
  display: none;
  background: var(--newsprint-dark);
  border: 2px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  margin: 0.5rem auto 1rem;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

@media (max-width: 900px) {
  .newspaper-mobile-toggle { display: flex; }
  
  .newspaper-nav {
    display: none;
    flex-direction: column;
    background: #fbfaf5;
    border: 2px solid var(--rule);
    padding: 1rem;
    gap: 0.5rem;
  }

  .newspaper-nav.active {
    display: flex !important;
  }

  .newspaper-nav li {
    width: 100%;
  }

  .newspaper-nav li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px dashed var(--rule-light);
  }

  .broadsheet-front { grid-template-columns: 1fr; }
  .broadsheet-story-col { border-right: none; padding-right: 0; }
  .article-columns-2 { grid-template-columns: 1fr; }
  .points-grid-3 { grid-template-columns: 1fr; }
  .notices-strip { grid-template-columns: 1fr; }
  .imprint-grid { grid-template-columns: 1fr; }
  .main-masthead-title { font-size: 3.2rem; }
  .paper-sheet { padding: 1.25rem 1rem 2rem; }
}
