/* Container */
#mp-topbanner {
  width: 96%;
  background: linear-gradient(135deg, #f0f7ff, #ffffff);
  margin: 10px auto;
  padding: 20px;
  border-radius: 12px;
  border: 3px solid #7BBCE5;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);

  display: flex;
  flex-direction: row;   /* side by side on desktop */
  align-items: flex-start;
  gap: 20px;
  box-sizing: border-box;
}

/* Left (Image) */
#mp-topbanner .banner-left {
  flex: 0 0 35%;   /* 35% width on desktop */
  max-width: 350px;
}
#mp-topbanner .banner-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Right (Text) */
#mp-topbanner .banner-right {
  flex: 1;   /* take remaining space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Title */
#mp-topbanner .banner-title {
  font-size: 2rem;
  font-weight: bold;
  color: #004EC3;
  margin: 0 0 15px 0;
}

/* Description */
#mp-topbanner .banner-desc {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6em;
  margin-bottom: 10px;
}

/* Stats */
#mp-topbanner .banner-stats {
  font-size: 1rem;
  color: #444;
  line-height: 1.6em;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  #mp-topbanner {
    flex-direction: column;
    text-align: center;
  }

  #mp-topbanner .banner-left,
  #mp-topbanner .banner-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  #mp-topbanner .banner-right {
    text-align: center;
    margin-top: 15px;
  }

  #mp-topbanner .banner-title {
    font-size: 1.5rem;
  }
  #mp-topbanner .banner-desc {
    font-size: 1rem;
  }
  #mp-topbanner .banner-stats {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #mp-topbanner .banner-title {
    font-size: 1.2rem;
  }
  #mp-topbanner .banner-desc {
    font-size: 0.95rem;
  }
  #mp-topbanner .banner-stats {
    font-size: 0.85rem;
  }
}
"https://schoolwiki.in/index.php?title=ഫലകം:Header4/styles.css&oldid=2865996" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്