/* === SSOP Upcoming Courses Card Styles === */

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.btn-group button {
  background-color: #dedede;
  margin-left: 2px;
  color: #000;
  padding: 8px 10px !important;
  cursor: pointer;
  float: left;
  font-size: 24px;
  font-family: "futura-pt" !important;
  border: none;
}
.btn-group .active {
  background-color: #e83e3f !important;
  color: #fff;
  border-color: #e83e3f;
}
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}
.btn-group button:not(:last-child) {
  border-right: none;
}

.book-now:hover {
  background-color: #e74c3c;
  -webkit-filter: brightness(112%);
  filter: brightness(112%);
}

.widget {
  display: flex;
  flex-direction: column;
  padding-bottom: 1px;
}
.row {
  display: flex;
  flex-direction: row;
  margin-top: 30px;
}
.row .img {
  width: 270px;
  height: 180px;
  margin-top: 3px;
  object-fit: cover;
}
.details {
  margin-left: 20px;
  margin-top: 0px !important;
  width: 100%;
  font-family: "Europa" !important;
  height: 100%;
}
.details p {
  text-align: left;
  line-height: 1;
  font-size: 16px;
  margin-top: 10px !important;
  margin-bottom: 5px !important;
  align-items: baseline;
  justify-content: space-between;
  justify-content: center;
  vertical-align: middle;
}
.h2 {
  margin-top: 0px !important;
  margin-bottom: 24px;
  width: 100%;
  font-size: 19px !important;
  text-align: left;
  font-family: futura-pt;
  font-weight: bolder;
}
.course-header {
  display: flex;
  flex-direction: column-reverse;
}
.details .badge {
  display: inline-block;
  padding: 0.2em 0.45em;
  font-size: 60%;
  font-weight: 700;
  margin-left: 10px !important;
  margin-top: -5px !important;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 0.35rem;
  color: #fff;
  align-self: flex-end;
  max-height: 15px;
  max-width: 50px;
  background-color: #e83e3f;
}

.btnBookNow {
  text-align: center;
  font-family: "Futura-PT" !important;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 10px 5px !important;
  border: 0px;
  border-radius: 0px;
  text-decoration: none;
  display: inline-block;
  width: 100px;
  -webkit-box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.15) inset;
  -moz-box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.15) inset;
  vertical-align: middle;
  margin-top: 17px !important;
}
.sold-out {
  cursor: not-allowed;
}

/* === No Courses - Express Interest === */
.no-courses-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}
.no-courses-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}
.no-courses-heading {
  font-family: "Futura-PT", sans-serif !important;
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.no-courses-message {
  font-family: "Futura-PT", sans-serif !important;
  font-size: 15px;
  color: #555;
  max-width: 420px;
  line-height: 1.5;
  margin: 0 0 24px 0;
}
.no-courses-btn {
  display: inline-block;
  background-color: #222222 !important;
  color: #fff !important;
  font-family: "Futura-PT", sans-serif !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.no-courses-btn:hover {
  background-color: #e83e3f !important;
  color: #fff !important;
}
.no-courses-fallback {
  font-family: "Futura-PT", sans-serif !important;
  font-size: 13px;
  color: #777;
  margin-top: 14px;
}
.no-courses-fallback a {
  color: #e83e3f;
  text-decoration: underline;
}

/* === Mobile === */
@media only screen and (max-width: 600px) {
  .widget {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 25px;
  }
  .row .img {
    width: 165px;
    height: 117px;
    vertical-align: middle;
  }
  .row .details {
    margin-left: 3px;
    width: 100%;
  }
  .h2 {
    margin-bottom: 5px !important;
    font-size: 15px !important;
    font-weight: bolder;
  }
  .details p {
    font-family: "europa" !important;
    font-size: 12.5px;
    width: 100%;
    margin-top: 4px !important;
    margin-bottom: 1.5px !important;
    align-items: baseline;
  }
  .course-header {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
  }
  .details .badge {
    align-self: flex-end;
    padding: 0.2em 0.45em;
    font-size: 50%;
    font-weight: 600;
    line-height: 1;
  }
  .btnBookNow {
    font-size: 8px !important;
    width: 80px;
    margin-top: 3px !important;
    align-self: flex-end !important;
  }
  .btn-sold {
    padding: 10px 20px !important;
  }
  .no-courses-container {
    padding: 30px 15px;
  }
  .no-courses-heading {
    font-size: 18px;
  }
  .no-courses-message {
    font-size: 13px;
  }
  .no-courses-btn {
    font-size: 11px;
    padding: 12px 24px;
    letter-spacing: 2px;
  }
}
