@media (max-width: 768px) {
  .news-feature-block-images {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .news-feature-block-img.large {
    grid-row: span 1;
  }

  .news-feature-block-title {
    font-size: 24px;
  }

  .news-feature-block-content h2 {
    font-size: 20px;
  }
  .epaper {
    display: none;
  }
  .e-book{
    display: none;
  }
  .log{
    display: none;
  }
  .tp-grid{
    display: block;
  }
  .news-block{
    display: block;
  }
  .news-war-main{
    display: block;
  }
  .this-is-four-column-layout{
    display: block;
  }
  .grid-master{
    display: block;
  }
  .jp-grid{
    display: block;
  }
  .adver{
    display: none;
  }
  .envx-grid {
    display: block;
  }
  .fv-grid{
    display: block;
  }
  .fs-grid{
    display: block;
  }
.footer-top{
    display: block;
    grid-template-columns:repeat(5, 1fr);
}
.footer img{
    width: 290px;
    margin-top: 20px;
}

.logo img{
    width: 250px;
    height: 60px;
}
.nx-grid{
    display: block;
}
.scx-heading{
    margin-left: 2px;
}
.scx-grid {
    display: block;
}
.scx-img{
    margin-top: 20px;
}
.envx-text-block {
    margin-bottom: 10px;
}
.envx-ad{
    margin-top: 20px;
}
.fv-header{
    display: block;
}
.fv-main-img img{
    height: auto;
    aspect-ratio: 16 / 9;
}
.fv-main-title {
    font-size: 20px;
}
.fv-text {
    margin-top: 1px;
    font-size: 12px;
}
.card:nth-child(1),.card:nth-child(2),.card:nth-child(3),.card:nth-child(4),.card:nth-child(5){
    transform: none;
}
.cards-track{
    display: block;
}
.card {
    width: 340px;
}
.card:nth-child(2){
    margin-left: 20px;
}
.sponTitleX{
    margin-left:10px;
}
  /* ── Header fixes ─────────────────────────────────── */

  /* Topbar: shrink font, reduce padding on mobile */
  .topbar {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* Logo: smaller on mobile */
  .logo {
    font-size: 28px;
    padding: 6px 0;
  }

  /* Navbar: stack hamburger+search on left, nav-links below */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

  /* Reset the desktop absolute-centering trick on nav-links */
.nav-links {
  position: static;
  transform: none;
  left: auto;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  margin-left: 0;
  margin-top: 0;
  border-top: none;      /* remove the divider line */
  width: auto;
  max-width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 13px;
  padding: 0 10px;
}

.nav-links a:not(:last-child)::after {
  display: none;
}

  /* Shrink breaking badge on mobile */
  .nav-breaking {
      padding-left: 10px;
    border-right: none;
    padding-right: 8px;
    flex-shrink: 0;
  }

  .nav-breaking-icon {
    width: 22px;
    height: 22px;
  }

  .nav-breaking-text {
    font-size: 11px;
  }
    .modal-content {
      padding: 32px 20px;
      width: calc(100% - 40px);
      box-sizing: border-box;
    }
  /* Hide scrollbar for cleaner look */
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links { -ms-overflow-style: none; scrollbar-width: none; }

  /* nav-left row: hamburger + search side by side */
.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;        /* never compress the icons */
}

  /* Search button: no extra top margin needed anymore */
.search {
  margin-top: 0;
}

/* Search dropdown still full width */
.search-dropdown {
  left: 0;
  right: 0;
}
  /* ── End header fixes ─────────────────────────────── */

  .tp-wrapper{
    padding: 10px;
  }
  .thumb-box img{
    width: 355px;
    height: auto;
  }
  .tp-right{
    margin-top: 20px;
  }
  .img-sec img{
    width: 100%;
  }
  .news-war-center{
    margin-top: 20px;
  }
  .news-war-right-item {
    margin-top: 20px;
  }
  .this-is-image-holder{
    margin-top: 20px;
  }
  .big-headline{
    font-size: 18px;
  }
  .jp-title{
    font-size: 18px;
  }
  .carousel-wrapper,.section-title {
    display: none;
  }
  .fs-wrap{
    padding: 10px;
  }
  .footer{
    padding: 10px;
    margin-top: 20px;
  }
  .footer-bottom {
    display: block;
  }
  .category-and-set-grid {
    display: block;
  }
  .row-news {
    display: block;
  }
  .adv{
    display: none;
  }
  .det-final-part-grid{
    display: block;
  }
  .category-and-set-header h2 {
    font-size: 13px;
  }
  .category-and-set-dropdown{
    font-size: 12px;
  }
  .category-and-set-menu {
    gap:12px;
    margin: 5px;
  }
  .wrap-main {
    padding: 5px;
  }
  .title-head {
    font-size: 13px;
  }
  .det-final-part-title {
    font-size: 11px;
  }
  .col:not(:last-child){
    border-right: none;
  }
  .nx-wrap{
    padding: 0px;
  }
  .detail-container{
    display: block;
    padding: 10px;
  }
  .wrapperX{
    display: block;
  }
  .adSectionWrap{
    display: none;
  }
  .gridThreeX{
    display: block;
  }
  .gridTwoX {
    display: block;
  }
  .detail-subscribe-box{
    padding: 10px;
  }
  .promoBoxZ {
    width: 90%;
    min-height: auto;
  }
  .articleZone{
    padding: 10px;
  }
  .thumbWrapX img{
    padding: 10px;
    width:95%;
    height:100%;
  }
  .menu-hindu-items-bottom{
    display: block;
    margin-top: 20px;
  }
  .menu-hindu-items-icons{
    margin-top: 20px;
  }
  .static-page-wrapper {
    padding: 0 16px 60px;
  }
 
  .static-page-title {
    font-size: 28px;
  }
 
  .static-page-lead {
    font-size: 15px;
  }
 
  .static-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .static-contact-grid {
    grid-template-columns: 1fr;
  }
 
  .static-page-body h2 {
    font-size: 19px;
  }
    .author-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-profile-name { font-size: 26px; }
  .author-profile-bio  { font-size: 13px; margin: 0 auto 16px; }
  .author-profile-footer {
    justify-content: center;
  }
  .author-avatar { width: 110px; height: 110px; }
  .author-article-item { flex-direction: column; }
  .author-article-img  { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .author-filter-tab   { padding: 10px 12px; font-size: 11px; }
  .author-body-layout  { padding: 20px 14px 40px; }
  .author-hero-inner   { padding: 0 14px; }
  .author-feat-title   { font-size: 20px; }
  
  .cat-item { flex-direction: column; }
  .cat-item-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .search-dropdown-form input[type="search"] { font-size: 14px; }
  .search-title { font-size: 20px; }
  
  /* ── Mega Menu ─────────────────────────────── */

  /* Menu drawer: full screen on mobile */
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    z-index: 9999;
    padding: 0;
  }

  /* Logo inside menu */
  .menu .logo {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  .menu .logo img {
    width: 180px;
    height: auto;
  }

  /* Close button position */
  .menu-close {
    top: 14px;
    right: 16px;
    font-size: 22px;
    background: none;
    border: none;
  }

  /* Container padding */
  .menu-hindu-items-container {
    padding: 16px;
  }

  /* Search row */
  .menu-hindu-items-top {
    margin-bottom: 16px;
  }

  /* Grid: 2 columns instead of 6 */
  .menu-hindu-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 20px;
  }

  /* Category links inside menu */
  .menu-hindu-items-col p {
    margin: 10px 0;
    font-size: 15px;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.3px;
  }

  .menu-hindu-items-col a {
    color: #000;
    text-decoration: none;
    font-size: 15px;
  }

  .menu-hindu-items-col a:hover {
    color: #c40018;
  }

  /* Bottom section: stack vertically */
  .menu-hindu-items-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #eee;
  }

  .menu-hindu-items-icons {
    margin-top: 0;
    display: flex;
    gap: 16px;
  }

  .menu-hindu-items-icons span {
    font-size: 20px;
  }

  .menu-hindu-items-link {
    margin-left: 0;
  }
}

/* ── Author Page Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .author-featured-article {
    grid-template-columns: 1fr;
  }
  .author-feat-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .author-body-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .author-sidebar {
    border-top: 2px solid #000;
    padding-top: 24px;
  }
}

@media (max-width: 1024px) {
  .menu-hindu-items-grid { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 768px) {
  .menu .logo { padding: 20px 20px 16px; }
  .menu-hindu-items-container { padding: 20px 20px 40px; }
  .menu-close { top: 20px; right: 16px; }
  .menu-inline-search { max-width: 100%; }
 
  .menu-hindu-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
 
  .menu-hindu-items-grid { grid-template-columns: repeat(2, 1fr); }
 
  .menu-hindu-side {
    border-left: none;
    border-top: 2px solid #e0e0e0;
    padding-left: 0;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
 
  .menu-hindu-section-label { grid-column: 1 / -1; }
 
  .menu-hindu-items-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
 
  .menu-hindu-items-link { margin-left: 0; }
      .site-logo{
        max-width:260px;
    }
  .footer .site-logo {
  height: auto;
  width: clamp(180px, 30%, 300px);
  display: block;
  margin-bottom: 16px;
  mix-blend-mode: multiply; /* removes grey bg on white footer */
}
}