/*
Theme Name: NewsForIndia2601
*/

body {
  margin: 0;
  background: #f5f6f7;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #111;
}

/* ===============================
   HERO SLIDER
================================ */
.msn-hero {
  max-width: 1280px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.msn-hero-track {
  display: flex;
  transition: transform 0.6s ease;
}

.msn-hero-slide {
  min-width: 100%;
  position: relative;
}

.msn-hero-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.msn-hero-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
}

.msn-hero-caption h2 {
  color: #fff;
  font-size: 26px;
  margin: 0;
}

/* Arrows */
.msn-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 8px 12px;
  cursor: pointer;
}

.msn-arrow.left { left: 10px; }
.msn-arrow.right { right: 10px; }

/* ===============================
   MSN RAILS (Horizontal Scroll)
================================ */
.msn-home {
  max-width: 1280px;
  margin: auto;
  padding: 10px 16px 40px;
}

.msn-rail {
  margin-bottom: 32px;
}

.msn-rail-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.msn-rail-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}

.msn-rail-track::-webkit-scrollbar {
  height: 6px;
}
.msn-rail-track::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* Cards */
.msn-card {
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  transition: box-shadow .2s ease;
}

.msn-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.msn-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.msn-card h3 {
  font-size: 14px;
  line-height: 1.4;
  padding: 10px;
  margin: 0;
  color: #111;
}

.msn-card a {
  text-decoration: none;
  color: inherit;
}





/* Subtle MSN polish */
.msn-rail-title {
  border-left: 4px solid #2563eb;
  padding-left: 10px;
}

.msn-card h3 {
  font-weight: 500;
}

.msn-rail-track {
  scrollbar-width: thin;
}

.msn-rail-track:hover::-webkit-scrollbar-thumb {
  background: #999;
}





/* ===============================
   FORCE MSN FULL WIDTH LAYOUT
================================ */
.msn-fullwidth {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.msn-home {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px;
}

/* Ensure nothing constrains content */
main,
main.container,
.container main {
  max-width: none !important;
  width: 100%;
}

/* HERO should span wide */
.msn-hero {
  max-width: 1280px;
  margin: 20px auto 30px;
}

/* Rails spacing like MSN */
.msn-rail {
  margin-bottom: 40px;
}
