/* tablet / small laptop */
@media (max-width: 900px) {
  /* MAINPAGE WIDTH – fixes horizontal scroll + search being off-screen */
  .mainpage {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  header .nav .mainpage {
    width: 100%;
  }

  /* old nav flex settings kept (in case you reuse later) */
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-block; }

  .fullpage { width:100%; }


  .news-grid {
    grid-template-columns:1fr;
  }
}











/* phones */
@media (max-width: 600px) {
  h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
  .btn { padding: var(--space-sm) var(--space-md); }

  .mega-inner { grid-template-columns: 1fr; }

  .fullpage { width:100%; }
  .mainpage { width:100%; }

.top-social {
  position: absolute;
  top:0;
  left:0;
  padding:0 !important;
}
.top-lang {
  position: absolute;
  top:25px;
  left:5px;
}
.logo {
  height:100px;
  margin-top:50px;
}
.logo-koala-lumpur {
  height:100px;
}
  .search {
    width: 120px !important;     /* or any fixed width you prefer */
    transition: none !important; /* remove animation */
  }

  .search:focus {
    width: 120px !important;     /* no expansion on focus */
  }


  .splash {
  width:100%;
  height:280px;
  background: #FFF url(../images/kl.jpg) no-repeat;
  background-size: 100%;
  background-position: 0px 0px;
  margin-top:-70px;
  padding:20px;
}

  .info-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    border-left: none;
    padding-left: 0;
    margin-top: 24px;
  }


.header {
 position: absolute !important;
 top:100px !important;
}
.menu-item{
    display: none;
}
.mini-menu-toggle{
    position: absolute;
    z-index:99999999;
    display: block;
    right:5px;
    top:5px;
    background-color: #f1f1f1;
    box-sizing:border-box;
    padding: 2px 5px 2px 5px;
    cursor: pointer;
}
.mini-menu-content {
  position: fixed;     /* or absolute if you prefer */
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 9999;
  background: #f1f1f1;
  box-sizing: border-box;
  padding: 10px 16px;
  overflow: auto;
  z-index:99999;
}

/* OVERRIDES for using .menu-item inside the mini menu */
.mini-menu-content .menu-item {
  display: block;            /* stack items vertically */
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*vertical-align: baseline;  /* neutralizes inline-block baseline quirks */
}

.mini-menu-content .menu-item a {
    position: relative;
  display: block;                   /* make the whole row clickable */
  padding: 12px 8px;
  line-height: 1.2;
  font-size: var(--text-md) !important; /* override desktop 24px !important */
  text-transform: none;                  /* optional: keep original casing */
}
.mini-menu-content .menu-item a::after {
  content: "";
  position: absolute;
  left: 4px;            /* same as text padding */
  right: 16px;           /* same as text padding */
  bottom: 0;
  height: 1px;
  background: #ddd;
}


.mini-menu-content .menu-item:last-child a {
  border-bottom: 0;
}

/* Hide desktop dropdown content in the mini menu, if present */
.mini-menu-content .menu-item-content {
  display: none !important;
  position: static;
  box-shadow: none;
  padding: 0;
}

/* Optional: highlight a featured row */
.mini-menu-content .feature a {
  font-weight: 700;
}
.show{
  display: block;
}

  .start-layout {
    flex-direction: column;
  }

  .start-image,
  .start-text {
    max-width: 100%;
  }

  .start-image {
    flex: 0 0 auto;
  }



footer {
  position: fixed;
  width: 100%;
  bottom:0;
  height: var(--footer-h);
  background: #111111 !important;
  padding: var(--space-md) 0;
  color: #9d9d9d;
  font-size: var(--text-sm);
  text-align: center;
  z-index:0;
}




}