
body {
  /* font-family: 'Segoe UI', sans-serif; */
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #f7f7fa;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

header {
  background-color: #d3215d;
  color: white;
  padding: 1rem;
  text-align: center;
}
nav {
  display: flex;
  justify-content: center;
  background-color: #d3215d; 
  display: flex;

}
nav a {
  position: relative;
  color: #ffffff;
  padding: 14px 20px;
  text-decoration: none;
  text-align: center;
  transition: color 0.3s ease;
  margin: 0 10px;
  padding: 6px 4px;
}
nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #f3f2ef;
}
nav a:hover {
  color: #ffe4f1;
  border-radius: 12px;
}
nav a:hover::after {
  width: 100%;
}
.meta-text {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.5rem;
}
.container {
  display: flex;
  flex-wrap: nowrap;
  margin: 2rem;
  gap: 2rem;
}

.news-feed {
  min-width: 0;
  flex: 3;
}

.sidebar {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}
.summary-text {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.news-item {
  background: #fff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.editor-take {
  background: #fffbe6;
  border-left: 4px solid #f7c948;
  padding: 1rem;
  margin-top: 1rem;
}

.comments-section {
  margin-top: 1.5rem;
}

.comment-form {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.comment-form input {
  flex: 1;
  padding: 8px;
}

.comment-form button {
  padding: 8px 12px;
  background: #333;
  color: #fff;
  border: none;
}


.video-promo, .trending {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

/* footer{
  background: none;
  width:100%;
}

.footer-links {
  flex-direction: column;
  gap: 10px;
  
}

.footer-text {
  font-size: 11px;
} */
  footer {
    background-color: #f4eef5f5;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    height: 40px;
    /* padding-bottom: 1px !important; */
    padding-top: 5px !important;
    

  }

  .footer-container {
      max-width: 1200px;
      margin: auto;
      padding: 10px;
  }

  .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
  }

  .footer-links a {
      color: #635f5fbd;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
  }

  .footer-links a:hover {
      color: #985bb1;
  }

  .footer-text {
      font-size: 12px;
      margin-top: 10px;
      color: #777;
  } 

.scroll-container {
  display: flex;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.summary-card, .article-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  min-width: 260px;
  max-width: 300px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.summary-card img, .article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.summary-card h4, .article-card h4 {
  margin: 0.5rem 0;
  font-size: 0.7rem;
  color:#b711bd;
}

.summary-card p, .article-card p {
  color: #8b8091;
  font-size: 0.65rem;
}


.article-card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.news-summary, .article-section {
  margin-top: 2rem;
}

.news-summary h3, .article-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.blog-section {
  margin-top: 2rem;
}

.blog-section h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem 0;
  color:#0c0b0c;
}

.blog-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  min-width: 260px;
  max-width: 300px;
  word-wrap: break-word;
  white-space: normal;
  text-decoration: none;
  color: inherit;
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.blog-card h4 {
  margin: 0.5rem 0;
  font-size: 0.7rem;
  color:#b711bd;
}

.blog-card p {
  color: #8b8091;
  font-size: 0.65rem;
}
.trending {
  background: #fff;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  max-height: 850px;            /* Scroll if longer */
  overflow-y: auto;
}

.trending h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #d3215d;               /* Optional: brand color */
  font-weight: bold;
  margin-bottom: 1rem;
}

#trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#trending-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 1.2em;
  font-size: 0.95rem;
  line-height: 1.4;
}

#trending-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
}

#trending-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

#trending-list a:hover {
  color: #d3215d;               /* Hover color */
  text-decoration: underline;
}
.more-videos-link {
  margin-top: 1rem;
  text-align: center;
}

.more-videos-link a {
  display: inline-block;
  padding: 10px 18px;
  background-color: #d3215d;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.more-videos-link a:hover {
  background-color: #a61946;
  transform: translateY(-2px);
}
.slideshow-container {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  background: #f5f5f5;
  margin-bottom: 2rem;
}

.fade-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  gap: 1rem;
}

.fade-slide img.slide-img {
  max-height: 200px;
  width: auto;
  max-width: 40%;
  border-radius: 8px;
  object-fit: cover;
}

.slide-text {
  flex: 1;
}

.fade-slide h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.fade-slide p {
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}

/* First slide visible */
.fade-slide:first-child {
  opacity: 1;
  z-index: 2;
}
/* mnews- mail news */
.mnews-snippet {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.mnews-title {
  font-weight: 600;
  color: #d3215d;
  text-decoration: none;
}

.mnews-title:hover {
  color: #a31545;
  text-decoration: underline;
}

.mnews-summary {
  color: #555;
  font-size: 0.9rem;
}

.reactions-bar {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}

.reaction {
  font-size: 1.2rem;            /* smaller emoji size */
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.6rem;
  border-radius: 20px;
  background: #f1f3f5;
  border: none;
  transition: transform 0.2s ease, background 0.3s;
}

.reaction.voted {
  background: #d3215d;
  color: white;
}

.reaction:active {
  transform: scale(1.1);
}

.reaction-count {
  font-size: 0.85rem;
}







@media (max-width: 600px) {
  
  header {
    padding: 0.4rem 0.5rem;
  }

  header h1 {
    font-size: 1.2rem;
  }

  header p {
    font-size: 0.75rem;
  }
  .container {
    flex-direction: column;
  }
  /* Smooth ticker animation */
    .fade-slide {
    flex-direction: column;
    align-items: flex-start;
  }

  .fade-slide img.slide-img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

}
