/* =========================================================
   RECOMMENDED STATIONS (reco-*)
   Paste this whole block.
   Desktop: 3 cols | Tablet: 2 cols | Phone: 1 col
   Prevents horizontal spill on mobile.
   ========================================================= */

#mainsection .reco-wrap{
  clear: both;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 18px 0;
  overflow-x: hidden;
}

#mainsection .reco-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#mainsection a.reco-item{
  display: block;
  min-width: 0;          /* CRITICAL */
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  text-decoration: none; /* optional */
}

#mainsection a.reco-item img{
  display: block;
  max-width: 100%;
  height: auto;
}

#mainsection a.reco-item *{
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

/* Tablet */
@media (max-width: 900px){
  #mainsection .reco-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone */
@media (max-width: 600px){
  #mainsection .reco-grid{
    grid-template-columns: 1fr;
  }
}
