/* Theme overrides (loaded after assets/dist/style.css) */

/*
  College Programs catalog (new concept):
  Clean "card tiles" with spacing + subtle borders (no divider lines).
  Keeps the existing mosaic column widths from the theme.
*/
.section-college_programs_overview .college-list .row > .col-md-6 {
  /* Remove theme separators (these caused the “double lines” look) */
  border-top: 0 !important;
  /* Keep spacing consistent for any number of cards */
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

@media (min-width: 768px) {
  .section-college_programs_overview .college-list .row > .col-md-6:nth-child(2n) {
    border-left: 0 !important;
  }

  /* Keep theme behavior: no top spacing on first row */
  .section-college_programs_overview .college-list .row > .col-md-6:nth-child(-n + 2) {
    padding-top: 0 !important;
  }

  /* Only remove bottom spacing for the actual last row (instead of fixed 7/8) */
  .section-college_programs_overview .college-list .row > .col-md-6:nth-last-child(-n + 2) {
    padding-bottom: 0 !important;
  }
}

.section-college_programs_overview .college-list .item {
  background: #ffffff;
  border: 1px solid rgba(39, 50, 55, 0.14);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(39, 50, 55, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-college_programs_overview .college-list .item:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 33, 63, 0.35);
  box-shadow: 0 14px 32px rgba(39, 50, 55, 0.12);
}

/* Let shadows render (theme sets overflow:hidden) */
.section-college_programs_overview .college-list {
  overflow: visible;
}

.section-college_programs_overview .college-list .item .image {
  margin-bottom: 0 !important; /* theme adds margin; cards look cleaner without it */
}

.section-college_programs_overview .college-list .item .image .img-bg {
  border-radius: 0 !important; /* card already has radius */
}

.section-college_programs_overview .college-list .item .text {
  padding: 16px 18px 18px;
}

.section-college_programs_overview .college-list .item h3 {
  margin: 0;
}

.section-college_programs_overview .college-list .item h3 a {
  text-decoration: none !important;
  text-decoration-line: none !important;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-college_programs_overview .college-list .item h3 a::after {
  /* Keep the theme arrow bubble, but align it consistently */
  margin-left: auto !important;
}

@media (max-width: 575px) {
  .section-college_programs_overview .college-list .item .text {
    padding: 14px 14px 16px;
  }
}


