/**
 * Structure *
 *
 * @format
 */

body {
  background: #f6fafe;
}

.grid {
  display: grid;
}

.grid-50-50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.grid-33-66 {
  grid-template-columns: 1fr 2fr;
}

.x-section {
  margin: 0;
  z-index: 1;
}

.x-col {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.bs {
  box-shadow: 3px 3px 29px rgba(0, 0, 0, 0.04);
}

p:last-of-type {
  margin-bottom: 0;
}

.page-title {
  display: none;
}
/** Buttons **/
.ys-btn {
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 15px;
    margin-right: 20px;
    max-width: 235px;
    width: 100%;
    display: block;
    text-align: center;
    transition: 0.3s ease;
    text-shadow: none;
    line-height: 1;
}

.ys-btn:hover {
  opacity: 0.7;
  text-shadow: none;
}

.ys-btn.orange-btn {
  background: #f27265;
  color: #fff;
}

.ys-btn.blue-btn {
  background: #009ab2;
  color: #fff;
  border-radius: 21px !important;
}

.simplefavorite-button.preset {
  background: transparent !important;
  border: none;
  margin-left: 30px;
  display: flex;
  align-items: center;
}

/** Hero Section **/
#hero.x-section {
  padding: 100px 0;
}

#hero .gradient {
  background-image: linear-gradient(
    90deg,
    rgba(0, 87, 111, 0.49),
    rgba(0, 87, 111, 0.85),
    rgba(0, 87, 111, 1)
  );
}

.x-bg-layer-lower-image {
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

#hero h1 {
  text-align: center;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
  font-size: 55px;
  font-weight: 400;
}

.subheadline {
  color: #ccdde2;
  text-align: center;
  max-width: 670px;
  margin: 20px auto;
  font-weight: 400;
  line-height: 1.88;
}

#hero .button-container {
  display: flex;
  justify-content: center;
}

.orange-btn.logged-out {
  margin-right: 0;
}

/** Course Info Section **/
#course-info.x-section {
  padding-top: 100px;
  background: #fff;
}

#course-info .grid {
  width: 100%;
  justify-items: center;
  grid-gap: 60px;
  max-width: 500px;
  margin: 0 auto;
}

#course-info p {
  margin: 8px 0 0 0;
  line-height: 1;
}

#course-info .difficulty,
#course-info .number-classes {
  color: #00576f;
  font-size: 32px;
  font-weight: 600;
  font-family: "Crimson Text";
  display: flex;
  align-items: center;
}

#course-info img {
  margin-right: 7px;
  width: 32px;
}

/** Classes Available Section **/
#classes-available {
  background: #fff;
}

#classes-available .x-row {
  display: grid;
  grid-template-columns: 250px 1fr;
}

.classes-headline {
  margin-top: 100px;
}

/** Course Overview Section **/
#course-overview.x-section {
  padding: 100px 0;
  background-image: linear-gradient(to bottom, #f6fafe, #ffffff);
}

#course-overview h2 {
  color: #324945;
  font-size: 55px;
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0;
}

#course-overview h3 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #424b5a;
  margin-bottom: 15px;
}

#course-overview .course-description {
  margin-top: 60px;
  background: #fff;
  max-width: 850px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 40px;
}

#course-overview .course-description .x-col {
  padding: 40px;
  grid-gap: 40px;
}

#course-overview .accordions {
  max-width: 850px;
}

#course-overview .accordions .x-col {
  width: 100%;
}

#course-overview .accordion-container {
  margin-bottom: 36px;
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  cursor: pointer;
}

#course-overview .course-description p {
  font-size: 16px;
  line-height: 1.88;
  color: #657d80;
  font-weight: 500;
}

#course-overview .accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#course-overview .accordion-header svg,
#course-overview .accordion-header i {
  font-size: 26px;
  color: #324945;
  transition: 0.3s ease;
  transform: rotate(45deg);
}

#course-overview .accordion-container.open svg,
#course-overview .accordion-container.open i {
  transform: rotate(0deg);
}

#course-overview .accordion-header h2 {
  color: #324945;
  font-size: 26px;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

#course-overview .accordion-body {
  color: #657d80;
  font-weight: 500;
  margin-top: 15px;
  display: none;
}

/** Comments Section **/
#comments {
  background: #fff;
}

#comments h2 {
  font-size: 55px;
  margin: 0 0 40px;
}

#comments .x-comment-img .avatar-wrap:before {
  box-shadow: none;
}

#comments .x-comment-img .avatar-wrap .avatar {
  border-radius: 100em;
}

#comments .h-comments-title small {
  text-shadow: none;
  font-weight: 700;
  font-family: "Work Sans";
  box-shadow: none;
}

#comments .comment-reply-link {
  font-size: 18px;
  color: #009ab2;
  margin-top: 18px;
  display: block;
}

#entry-comment-submit {
  text-shadow: none;
  padding: 12px 25px;
  line-height: 1;
  border: none;
}

@media screen and (max-width: 1200px) {
  #classes-available .x-row {
    grid-template-columns: 1fr;
  }
  #course-info.x-section {
    padding-top: 100px;
  }
}

@media screen and (max-width: 979px) {
}

@media screen and (max-width: 767px) {
  #hero .button-container {
    flex-direction: column;
    align-items: center;
  }
  .ys-btn {
    margin: 0;
  }
  .simplefavorite-button.preset {
    margin-left: 0;
  }
  .course-view #tns1-iw.tns-inner {
    margin: 0;
  }
  .grid-33-66 {
    grid-template-columns: 1fr;
  }
  .classes-headline {
    margin-top: 25px;
  }
}

@media screen and (max-width: 520px) {
  .grid-50-50 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  #course-info .grid {
    grid-gap: 24px;
  }
}