@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Merriweather", sans-serif;
}

:root {
  --main-color: #359381;
  --dark-main-color: #003329;
  --grey: #333;
  --red: #c62828;   
  --main: #359381;
  --dark-main: #003329;
  --border: #e5e5e5;
  --light: #f5f5f5;
  --mid-grey: #777;
  --white: #ffffff;
}

body {
  background: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;

}

/*   NAVBAR  */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.8rem 6.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

header.sticky {
  padding: 1rem 2.2rem;
  background: #000;
}

.logo {
  color: #fff;
  font-size: 2em;
  font-weight: 700;
  pointer-events: none;
}

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

.navigation a {
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
  width: 100%;
}

.navigation a:hover,
.navigation a.active {
  background: #fff;
  color: #000;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.breaking-bar {
      background: var(--dark-main-color);
      color: #fff;
      display: flex;
      align-items: center;
      overflow: hidden;
      font-size: 0.78rem;
      font-weight: 600;
      height: 36px;
      margin-top: 107px;
     position: static;
     
      
    }


    .breaking-label {
      background: var(--dark-main-color);
      padding: 0 1.2rem;
      height: 100%;
      display: flex;
      align-items: center;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      white-space: nowrap;
      flex-shrink: 0;
    }

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

    .ticker-text {
      display: inline-block;
      white-space: nowrap;
      animation: ticker 28s linear infinite;
      padding-left: 100%;
    }

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

    .News-Heading {
        text-align: center;
        font-size: x-large;
         margin: 2rem 0;
    }
.hero {
      position: relative;
      width: 100%;
      height: 560px;
      overflow: hidden;
    }

    .hero img {
      height: 100%;
      object-fit: cover;
      object-position: center top;
      filter: brightness(0.42);
      width: 100%;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 3.5rem 5rem;
      background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 65%);
    }

    .hero-top {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      margin-bottom: 1.1rem;
      flex-wrap: wrap;
    }

    .category-badge {
      display: inline-block;
      background: var(--main);
      color: #fff;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      padding: 0.28rem 0.85rem;
      border-radius: 4px;
    }

    .live-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background:var(--dark-main-color);
      color: #fff;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 0.28rem 0.75rem;
      border-radius: 4px;
    }

    .live-dot {
      width: 7px;
      height: 7px;
      background: #fff;
      border-radius: 50%;
      animation: blink 1s infinite;
    }

    @keyframes blink {
      0%, 100% { opacity: 1; }
      50%       { opacity: 0; }
    }

    .hero-title {
      font-family: "Merriweather", sans-serif;
      font-size: clamp(1.7rem, 3.6vw, 2.9rem);
      font-weight: 900;
      color: #fff;
      line-height: 1.18;
      max-width: 850px;
      margin-bottom: 0.9rem;
    }

    .hero-subtitle {
      color: rgba(255,255,255,0.72);
      font-size: 0.97rem;
      max-width: 680px;
      line-height: 1.65;
    }
    .meta-bar {
      max-width: 1100px;
      margin: 0 auto;
      padding-right: 1rem;
      padding-left: 1rem;
      display: flex;
      align-items: center;
      gap: 1.2rem;
      flex-wrap: wrap;
      border-bottom: 1px solid var(--border);
    }
    .author-info { flex: 1; }

    .author-info .name {
      font-weight: 600;
      font-size: 0.88rem;
    }

    .author-info .meta-details {
      font-size: 0.74rem;
      color: var(--mid-grey);
      margin-top: 2px;
      display: flex;
      gap: 1.1rem;
      flex-wrap: wrap;
    }
  .share-buttons { display: flex; gap: 0.5rem; }

    .share-btn {
      padding: 0.36rem 0.85rem;
      border-radius: 20px;
      border: 1.5px solid var(--border);
      background: transparent;
      font-family: "Merriweather", sans-serif;
      font-size: 0.74rem;
      font-weight: 600;
      cursor: pointer;
      color: var(--grey);
      transition: 0.22s;
    }

    .share-btn:hover {
      background: var(--main);
      border-color: var(--main);
      color: #fff;
    }
    .article-content .lead {
      font-size: 1.1rem;
      font-weight: 500;
      line-height: 1.82;
      color: #111;
      border-left: 4px solid var(--main);
      
      margin-bottom: 1.8rem;
      text-align: justify;
      padding-right: 1rem;
      padding-left: 1rem;
      
    }

    .article-content p {
      font-size: 1.1rem;
      line-height: 1.82;
      font-weight: 500;
      color: #000000;
    padding-right: 1rem;
      padding-left: 1rem;
      margin-bottom: 1.8rem;
      text-align: justify;

    }

    .article-content h2 {
      font-family: "Merriweather", sans-serif;
      font-size: 1.45rem;
      font-weight: 700;
      color: var(--grey);
      margin: 2.8rem 0 1rem;
      padding-right: 1rem;
      padding-left: 1rem;
    }

    .article-content h3 {
      font-size: 1.02rem;
      font-weight: 700;
      color: var(--dark-main);
      margin: 2rem 0 0.6rem;
      padding-right: 1rem;
      padding-left: 1rem;
    }
.pull-quote {
      margin: 2.4rem 0;
      padding-right: 1rem;
      padding-left: 1rem;
      background: var(--light);
      border-left: 5px solid var(--main);
      border-radius: 0 8px 8px 0;
    }

    .pull-quote p {
      font-family: "Merriweather", sans-serif;
      font-size: 1.15rem;
      font-style: italic;
      color: var(--dark-main);
      line-height: 1.7;
      margin: 0;
      padding-left: 1rem;
    }

    .pull-quote cite {
      display: block;
      margin-top: 0.75rem;
      font-family: "Merriweather", sans-serif;
      font-size: 0.74rem;
      font-style: normal;
      font-weight: 600;
      color: var(--mid-grey);
    }

    /* ── Election result scoreboard ── */
    .scoreboard {
      padding-right: 1rem;
      padding-left: 1rem;
      margin: 2.4rem 0;
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }

    .scoreboard-header {
      background: var(--dark-main);
      color: #fff;
      padding: 0.9rem 1.4rem;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .scoreboard-header .updated {
      font-size: 0.68rem;
      font-weight: 400;
      color: rgba(255,255,255,0.55);
      letter-spacing: 0;
    }

    .scoreboard-row {
      display: grid;
      grid-template-columns: 1fr 80px 80px;
      align-items: center;
      padding: 0.85rem 1.4rem;
      border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
    }

    .scoreboard-row:last-child { border-bottom: none; }

    .scoreboard-row.head {
      background: #f0f0f0;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--mid-grey);
      padding: 0.85rem 1.4rem;
      
    }

    .party-name { font-weight: 600; }

    .party-abbr {
      font-size: 0.7rem;
      font-weight: 400;
      color: var(--mid-grey);
      display: block;
    }

    .seats-won { font-weight: 700; text-align: right; }
    .seats-won.top { color: var(--main); font-size: 1rem; }

    .seats-leading { text-align: right; color: var(--mid-grey); font-size: 0.82rem; }

    .bar-wrap {
      grid-column: 1 / -1;
      height: 6px;
      background: var(--border);
      border-radius: 3px;
      margin-top: 6px;
      overflow: hidden;
    }

    .bar-fill {
      height: 100%;
      border-radius: 3px;
      background: var(--main);
      transition: width 1s ease;
    }

    .bar-fill.rsp  { background: #0091d5; }
    .bar-fill.nc   { background: #008236; }
    .bar-fill.cpm  { background: #fe1d1c; }
    .bar-fill.cpml { background: #ee1e27; }
    .bar-fill.others { background: #bbb; }

    

    /* ── Inline image ── */
    .article-image {
      margin: 2.4rem 0;
      border-radius: 10px;
      overflow: hidden;
    }

    .article-image img {
      width:100%;
height:auto;
max-height:600px;
object-fit:cover;
}
    

    .article-image figcaption {
      font-size: 0.74rem;
      color: var(--mid-grey);
      padding: 0.55rem 0.2rem;
      border-bottom: 1px solid var(--border);
    }

    /* ── Key facts ── */
    .key-facts {
      background: var(--dark-main);
      border-radius: 10px;
      padding: 1.6rem 1.8rem;
      margin: 2.4rem 0;
    }

    .key-facts h4 {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--main);
      margin-bottom: 1rem;
    }

    .key-facts ul {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }

    .key-facts ul li {
      font-size: 0.86rem;
      line-height: 1.5;
      color: #ddd;
      padding-left: 1.1rem;
      position: relative;
    }

    .key-facts ul li::before {
      content: "▸";
      position: absolute;
      left: 0;
      color: var(--main);
    }

    /* ── Tags ── */
    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border);
    }

    .tag {
      font-size: 0.72rem;
      font-weight: 600;
      padding: 0.3rem 0.85rem;
      border-radius: 20px;
      background: var(--light);
      border: 1px solid var(--border);
      color: var(--grey);
      cursor: pointer;
      transition: 0.2s;
    }

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

    /* ── Author bio ── */
    .author-bio {
      margin-top: 3rem;
      padding: 1.6rem;
      border: 1px solid var(--border);
      border-radius: 10px;
      display: flex;
      gap: 1.2rem;
      align-items: flex-start;
    }

    .bio-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--main);
      color: #fff;
      font-size: 1.3rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .author-bio h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.2rem; }
    .author-bio span { font-size: 0.72rem; color: var(--main); font-weight: 600; display: block; margin-bottom: 0.45rem; }
    .author-bio p { font-size: 0.8rem; color: var(--mid-grey); line-height: 1.6; margin: 0; }

    /* 
       SIDEBAR
    */
    .sidebar {
      position: sticky;
      top: 120px;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
  
    }

  
      .sidebar-block {
  background: var(--light);
  border-radius: 10px;
  padding: 1.2rem;
}
    

    .sidebar-block h4 {
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--main);
      margin-bottom: 1rem;
      padding-bottom: 0.6rem;
      border-bottom: 1px solid var(--border);
    }

    /* Related stories */
    .related-item {
      display: flex;
      gap: 0.8rem;
      align-items: flex-start;
      padding-bottom: 1rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid var(--border);
    }

    .related-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

    .related-thumb {
      width: 62px;
      height: 52px;
      object-fit: cover;
      border-radius: 6px;
      flex-shrink: 0;
    }

    .related-text p {
      font-size: 0.79rem;
      font-weight: 600;
      line-height: 1.35;
      color: var(--grey);
      cursor: pointer;
      margin: 0 0 3px;
    }

    .related-text p:hover { color: var(--main); }
    .related-text span { font-size: 0.69rem; color: var(--mid-grey); }

    /* Trending */
    .trending-list { display: flex; flex-direction: column; gap: 0.7rem; }

    .trending-item { display: flex; gap: 0.8rem; align-items: center; }

    .trending-num {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--border);
      line-height: 1;
      width: 24px;
      flex-shrink: 0;
    }

    .trending-item p {
      font-size: 0.79rem;
      font-weight: 600;
      line-height: 1.35;
      color: var(--grey);
      cursor: pointer;
    }

    .trending-item p:hover { color: var(--main); }

    /* Newsletter */
    .newsletter-block {
      background: var(--dark-main);
      border-radius: 10px;
      padding: 1.5rem;
    }

    .newsletter-block h4 {
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--main);
      margin-bottom: 0.5rem;
    }

    .newsletter-block p {
      color: #aaa;
      font-size: 0.79rem;
      line-height: 1.55;
      margin-bottom: 1rem;
    }

    .newsletter-block input {
      width: 100%;
      padding: 0.58rem 0.85rem;
      border-radius: 6px;
      border: none;
      background: rgba(255,255,255,0.1);
      color: #fff;
      font-family: "Merriweather", sans-serif;
      font-size: 0.79rem;
      margin-bottom: 0.6rem;
      outline: none;
    }

    .newsletter-block input::placeholder { color: #666; }

    .newsletter-block button {
     width:100%;
  padding:0.55rem;
  border:none;
  border-radius:6px;
  background:var(--main-color);
  color:white;
  font-weight:600;
  cursor:pointer;
}

    .newsletter-block button:hover { background:#0091d5
}

    /* 
       MORE ARTICLES
     */
    .more-section {
      background: var(--light);
      padding: 4rem 2rem;
    }

    .more-inner { max-width: 1100px; margin: 0 auto; }

    .section-heading {
      font-family: "Merriweather", sans-serif;
      font-size: 1.7rem;
      color: var(--grey);
      margin-bottom: 2rem;
      padding-bottom: 0.8rem;
      position: relative;
    }

    .section-heading::after {
      content: "";
      position: absolute;
      bottom: 0; left: 0;
      width: 50px; height: 3px;
      background: var(--main);
      border-radius: 2px;
    }

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

    .card {
      background: var(--white);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
      transition: transform 0.25s, box-shadow 0.25s;
      cursor: pointer;
    }

    .card:hover { transform: translateY(-5px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }

    .card img { height: 180px; object-fit: cover; }

    .card-body { padding: 1.2rem; }

    .card-cat {
      font-size: 0.67rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--main);
      display: block;
      margin-bottom: 0.42rem;
    }

    .card-body h3 {
      font-size: 0.93rem;
      font-weight: 700;
      color: var(--grey);
      line-height: 1.4;
      margin-bottom: 0.45rem;
    }

    .card-body p {
      font-size: 0.77rem;
      color: var(--mid-grey);
      line-height: 1.55;
    }

    .card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.72rem 1.2rem;
      border-top: 1px solid var(--border);
      font-size: 0.71rem;
      color: var(--mid-grey);
      font-weight: 500;
    }

    .card-read { color: var(--main); font-weight: 700; font-size: 0.74rem; }

    /*
       RESPONSIVE
    */
    @media (max-width: 960px) {
      .page-body { grid-template-columns: 1fr; gap: 2.5rem; }
      .sidebar { position: static; }
      .hero-overlay { padding: 2rem; }
      .hero { height: 420px; }
      .cards-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 600px) {
      .hero { height: 300px; }
      .hero-title { font-size: 1.38rem; }
      .hero-overlay { padding: 1.4rem; }
      .meta-bar { flex-direction: column; align-items: flex-start; }
      .cards-grid { grid-template-columns: 1fr; }
      .page-body { padding: 2rem 1.2rem 4rem; }
      .more-section { padding: 2.5rem 1.2rem; }
      .scoreboard-row { grid-template-columns: 1fr 60px 60px; font-size: 0.78rem; }
    }

   
  .page-body{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:2.3fr 1fr;

  gap:2rem;
  
}

@media (max-width: 768px) {
  .navigation {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 250px;
    padding: 2rem 1rem;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navigation.active {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.hide {
    display: none;
  }

  .sidebar {
    display: none;
  }

  .newsletter-block {
    display: none;
  }

  .page-body{
    grid-template-columns: 1fr;
  }

}

@media (max-width: 480px) {
  header {
    display: flex;
    flex-wrap: nowrap; 
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }

  .logo {
    flex: 1; 
  }

  .hamburger {
    display: flex;
    cursor: pointer;
    z-index: 1001;
  }

  .navigation {
    position: fixed;
    top: 0;
    right: -100%; 
    height: 100vh;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    width: 250px;
    padding: 2rem 1rem;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .navigation.active {
    right: 0; 
  }

  .site-footer {
    font-size: 12px;
    padding: 12px 8px;
  }
}