.bba-box {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
}

.bba-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.bba-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}
 
  .cg1-row { display:flex; gap:24px; align-items:flex-start; }
  /* Sidebar */
  .cg1-sidebar {     width: 260px;
    flex: 0 0 260px;background:#fff; border:1px solid #e6e6e6; border-radius:6px; padding:18px; height:auto; box-sizing:border-box; overflow:auto; }
  .cg1-sidebar h4 { margin:0 0 12px; font-size:18px; color:#111; font-weight:700; }
  .cg1-filter-group { margin-bottom:18px; }
  .cg1-filter-group .cg1-filter-title { font-weight:700; margin-bottom:8px; color:#222; }
  .cg1-checkbox { display:flex; align-items:center; gap:8px; margin:8px 0; font-size:14px; color:#444; }
  .cg1-checkbox input { width:16px; height:16px; }
  /* Main list */
  .cg1-list { flex:1 1 auto; }
  .cg1-card { display:flex; gap:18px; align-items:center; background:#fff; border:1px solid #e6e6e6; padding:18px; border-radius:6px; margin-bottom:18px; box-shadow:0 1px 0 rgba(0,0,0,0.03); }
  .cg1-logo { width:96px; height:96px; border:1px solid #eee; border-radius:6px; display:flex; align-items:center; justify-content:center; background:#fafafa; overflow:hidden; }
  .cg1-logo img { max-width:100%; max-height:100%; object-fit:contain; }
  .cg1-info { flex:1 1 auto; }
  .cg1-title { font-weight:800; color:#0b3b66; font-size:16px; margin-bottom:6px; }
  .cg1-meta { display:flex; gap:14px; align-items:center; color:#666; font-size:14px; margin-bottom:8px; flex-wrap:wrap; }
  .cg1-meta .cg1-fees { font-weight:700; color:#111; }
  .cg1-badges { display:flex; gap:14px; align-items:center; color:#666; font-size:13px; margin-top:6px; }
   .cg1-btn { width:100%; padding:10px 12px; border-radius:4px; border:0; color:#fff; cursor:pointer; font-weight:700; font-size:14px; }
  .cg1-btn-view { background:#193459; }
  .cg1-btn-brochure { background:#f3a6a1; color:#fff; }
  .cg1-btn-apply { background:#2f7a20; }
  /* small helper */
  .cg1-divider { height:1px; background:#efefef; margin:12px 0; }
  /* Responsive */
  @media (max-width:991px){
    .cg1-row { flex-direction:column; }
    .cg1-sidebar { width:100%; height:auto; order:0; max-height:380px;        flex: 0 0 404px; overflow:auto; }
     .cg1-card { flex-direction:column; align-items:flex-start; }
    .cg1-logo { width:110px; height:110px; }
  }


  /* Main box */
.cg1-card-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 20px;
    gap: 20px;
}

/* Left image */
.cg1-card-left {
    min-width: 120px;
}
.cg1-card-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

/* Middle section */
.cg1-card-middle {
    flex: 1;
}

.cg1-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.cg1-card-location {
   color: #555;
    font-size: 16px;
}

.cg1-card-info-row {
    margin: 8px 0;
    font-size: 15px;
}

.cg1-card-label {
    font-weight: 600;
    color: #222;
}

.cg1-card-value {
    font-weight: 600;
    color: #000;
}

.cg1-card-divider {
    margin: 0 10px;
    color: #aaa;
}

.cg1-card-rating-stars {
    color: #ffb400;
    margin-left: 5px;
}

.cg1-card-rating-value {
    margin-left: 5px;
    color: #333;
}

.cg1-card-details div {
    margin-top: 4px;
    font-size: 15px;
}

/* Right side buttons */
.cg1-card-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cg1-card-btn {
    padding: 4px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cg1-card-btn-blue {
    background: #0a2e6b;
}

.cg1-card-btn-pink {
    background: #ff9e9e;
    color: #3b3b3b;
}

.cg1-card-btn-green {
    background: #1c8700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cg1-card-box {
        flex-direction: column;
        text-align: left;
    }

    .cg1-card-right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .cg1-card-btn {
        flex: 1;
        justify-content: center;
    }
}
/* CSS (add to your stylesheet). All classes prefixed with mrc- */
.mrc-card-wrapper { width:100%; display:flex; justify-content:center; padding:24px 12px; box-sizing:border-box; }
.mrc-card { width:100%;  background:#fff; border-radius:6px; box-shadow:0 6px 18px rgba(0,0,0,0.06); overflow:hidden; border:1px solid #e6e6e6; }

/* Banner (background image) */
.mrc-card-banner {
  height:160px;
  background-image: url('../img/1762889807punjabi-university-banner.jpg');
  background-size:cover;
  background-position:center;
  filter:brightness(0.55);
}

/* Body contains logo + content */
.mrc-card-body { display:flex; gap:22px; padding:22px; align-items:flex-start; position:relative; }

/* logo block */
.mrc-logo-wrap { width:120px; flex:0 0 120px; margin-top:-60px; } /* lifts logo over banner */
.mrc-logo {
  width:120px;
  height:120px;
  object-fit:contain;
  border-radius:6px;
  background:#fff;
  padding:8px;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  border:1px solid #eee;
}

/* content */
.mrc-content { flex:1 1 auto; min-width:0; }

.mrc-title {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight:700;
  color:#163558; /* dark-blue title */
  margin:2px 0 10px;
  letter-spacing:0.2px;
  font-size:20px;
}

.mrc-meta-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; color:#666; font-size:14px; margin-bottom:14px; }
.mrc-location { display:inline-flex; align-items:center; gap:6px; color:#2b3b4a; }
.mrc-fees { color:#2b3b4a; }
.mrc-stars { color:#f6b942; margin-right:6px; }

/* details row with small separators */
.mrc-details-row { display:flex; gap:28px; flex-wrap:wrap; border-top:1px solid #f0f0f0; padding-top:14px; margin-bottom:16px; color:#444; font-size:14px; }
.mrc-detail { min-width:140px; }

/* CTA buttons vertical stack on large screens (like your screenshot) */
.mrc-cta-row { display:flex; flex-direction:column; gap:10px; align-items:flex-end; }

/* Button styles */
.mrc-btn { display:inline-block; padding:12px 20px; border-radius:6px; text-decoration:none; font-weight:600; font-size:14px; box-shadow:0 6px 18px rgba(0,0,0,0.06); border:0; }
.mrc-btn-primary { background:#163558; color:#fff; }
.mrc-btn-soft { background:#f3b4b4; color:#fff; }
.mrc-btn-success { background:#2e7d1a; color:#fff; }

/* small separators and visual tweaks */
.mrc-sep { color:#ddd; margin:0 6px; }
.mrc-card .mrc-content em { color:#777; font-style:normal; font-weight:500; margin-left:6px; }

/* Responsive: on small screens stack */
@media (max-width: 900px) {
  .mrc-card-body { flex-direction:column; gap:14px; padding:16px; }
  .mrc-logo-wrap { margin-top:0; width:88px; flex:0 0 88px; }
  .mrc-logo { width:88px; height:88px; padding:6px; }
  .mrc-cta-row { flex-direction:row; justify-content:flex-start; }
  .mrc-btn { padding:10px 14px; font-size:13px; }
  .mrc-card-banner { height:120px; }
}

/* Optional utility you can change quickly */
.mrc-card { background-clip:padding-box; }
.mrc-detail-box {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 25px 30px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.mrc-detail-title {
    font-size: 20px;
    color: #0d2c6b;
    font-weight: 700;
    margin-bottom: 12px;
}

.mrc-detail-text {
    font-size: 17px;
    color: #333;
    margin: 0;
}
