.course_heading{
  padding: 2rem 0rem 0rem 0rem;
  font-weight: 800;
  text-align: center;
  font-size: 2rem;
  text-align: center;
  line-height: 1;
  
}
.after_line {
  content: '';
  border-bottom: 5px solid #ffffff;
  display: block;
  border-radius: 20px;
  width: 25%;
  margin: 1.5rem auto 0;
}

.course-description{
  text-align: center;
  margin: 0.2rem 0rem;
}
#courselist-billboard .grid-container h1{
  color:#000;
}
@media (max-width: 900px) {
  #courselist-billboard h1 {
    font-size: 2.5rem !important;
  }
  #courselist-billboard{
    padding:0rem 0 !important;
  }
}
@media (min-width: 707px) {
  .course_heading{

  	font-size: 3rem;
  }
  .course-description{
    margin: 2rem 0rem;
  }
}

  #courselist-billboard {
    background-color: #99C221;
    position: relative;
    min-height: 150px;
    padding: .5rem 0;
    color: #000;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@   package headings   @@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

.hover-5-description{
  color: #ffffff;
}

.course-status-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  align-items: center;
}

#courselist .course .course-status-labels {
  padding-left: 1rem;
}

#course-content .sidebar .course-status-labels,
#singlecourse-billboard #cart-element .course-status-labels {
  margin-top: 0;
  margin-bottom: 1rem;
}

#singlecourse-billboard #cart-element .course-status-labels {
  justify-content: center;
}

.course-status-label {
  display: inline-block;
  width: auto;
  max-width: 100%;
  border: 1px solid;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
}

.product-card {
  min-width: 280px;
  max-width: 500px;
  position: relative;
  box-shadow: 0 0px 6px #dfdfdf;
  margin: 30px auto;
  background: #fff;
  border-radius: 10px;
}

.badge {
  position: absolute;
  left: 0;
  top: 10px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  background: red;
  color: #fff;
  padding: 5px 10px;
  border-radius: 1px;
}

.product-tumb {
  display: flex;
  align-items: center;
  justify-content: center;
  /* height: 300px; */
  padding: 10px;
  background: #fff;
}

.product-tumb img {
  max-width: 100%;
  max-height: 100%;
}

.product-details {
  padding: 15px;
  text-align: center
}


.product-catagory {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 18px;
}

.product-details h4 {
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #99c12c;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1rem;
}

.product-details h4 a:hover {
  color: #fbb72c;
}

.product-details p {
  font-size: 16px;
  color: rgb(77, 77, 77);
}

.product-bottom-details {
  overflow: hidden;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.product-bottom-details div {
  float: left;
  width: 50%;
}

.product-price {
  font-size: 30px;
  color: #ff0000;
  font-weight: 500;
  text-align: center;
  margin-top: -20px;
}

.product-price small {
  font-size: 50%;
  color: rgb(79, 79, 79);
  font-weight: 400;
  text-decoration: line-through;
  display: inline-block;
  margin-right: 2px;
}
.product-links a:hover {
  color: #fbb72c;
}

/* .product-links {
  text-align: right;
} */

/* .product-links a {
  display: inline-block;
  margin-left: 1px;
  color: #e1e1e1;
  transition: 0.3s;
  font-size: 10px;
} */

/* ===== Reference materials — course/package rail roll-up + inline callout ===== */
.course-ref-rollup {
  border-top: 4px solid #5E8ABD;
  background: #f2f2f2;
  border-radius: 0 0 6px 6px;
  padding: 16px 16px 6px;
}
.course-ref-rollup .ref-heading {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #222;
  margin-bottom: 4px;
}
.course-ref-rollup .ref-sub {
  color: #777;
  margin: 0 0 12px;
}
.ref-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 4px;
  color: #222;
  text-decoration: none;
}
.ref-row:hover {
  background: #e6e9df;
  color: #222;
}
.ref-row .ref-row-label {
  flex: 1;
}
.ref-row .ref-row-meta {
  color: #999;
}
.ref-row .ref-icon {
  font-size: 19px;
  width: 19px;
  height: 19px;
  color: #5E8ABD;
  vertical-align: middle;
  flex-shrink: 0;
}
.ref-row .ref-icon.icon-pdf { color: #D49227; }
.ref-row .ref-icon.icon-fair-housing { color: #BA5965; }
.ref-row .ref-trailing {
  font-size: 15px;
  width: 15px;
  height: 15px;
  color: #aaa;
  margin-left: auto;
  vertical-align: middle;
  flex-shrink: 0;
}
.ref-row .ref-trailing.icon-pdf { color: #D49227; }
.ref-row .ref-trailing.icon-fair-housing { color: #BA5965; }

.course-ref-inline {
  border-left: 4px solid #5E8ABD;
  background: #f7faf0;
  border-radius: 4px;
  padding: 16px 18px;
  margin: 0 0 26px;
}
.course-ref-inline .ref-inline-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #333;
}
.course-ref-inline .ref-inline-head .material-symbols-outlined {
  color: #5E8ABD;
  font-size: 20px;
}
.course-ref-inline p {
  color: #555;
  line-height: 1.5;
  margin: 0 0 10px;
}
.course-ref-inline .ref-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.course-ref-inline .ref-pills a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 4px;
  padding: 6px 10px;
  color: #2f4a6b;
  text-decoration: none;
}
.course-ref-inline .ref-pills a .material-symbols-outlined {
  font-size: 15px;
}

/* ===== Table of Contents — same card + row treatment as the reference panel ===== */
.toc-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.toc-heading-row h3 {
  margin-bottom: 0;
}
.toc-toggle-all {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  color: #5E8ABD;
  font-weight: 600;
  white-space: nowrap;
}
.toc-toggle-all:hover {
  color: #335f08;
}
.toc-toggle-all .material-symbols-outlined {
  font-size: 15px;
}

.toc-panel {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}
.toc-panel .title {
  border-bottom: 1px solid #f0f0f0;
}
.toc-panel .title:last-child {
  border-bottom: 0;
}
.toc-panel .title .heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
}
.toc-panel .title:hover .heading {
  background: #f6f8fb;
}
.toc-panel .title .toc-caret {
  color: #99C221;
  font-size: 17px;
  transition: transform .25s ease;
}
.toc-panel .title.is-open .toc-caret {
  transform: rotate(90deg);
}
.toc-panel .title .toc-row-label {
  flex: 1;
}
.toc-panel .title .contents {
  padding: 0 11px 10px 35px;
}
.toc-panel .title .toc-unit {
  padding: 3px 0;
  color: #5E8ABD;
}

/* ===== Enroll / Add to Cart — full-width in the widened rail ===== */
#cart-element .button {
  display: block;
}
/* Mobile #cart-element sits outside the grid — #singlecourse-billboard only
   has vertical padding — so the block button would otherwise touch both
   screen edges. Give it its own gutter, box-sizing:border-box (set globally)
   keeps the padding inside the available width. */
#cart-element.hide-for-large {
  padding-left: 1rem;
  padding-right: 1rem;
}

