/* Board Review: static course details overview. */

.dd-br-details {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 6vw, 92px) 0 clamp(74px, 6.8vw, 106px);
  background:
    radial-gradient(circle at 93% 8%, rgba(8, 120, 237, 0.12), transparent 25%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 56%, #ffffff 100%);
}

.dd-br-details::before {
  position: absolute;
  z-index: -1;
  top: 34px;
  right: max(24px, calc((100vw - 1368px) / 2));
  width: 170px;
  height: 142px;
  content: "";
  opacity: 0.48;
  background-image: radial-gradient(circle, rgba(8, 120, 237, 0.3) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  pointer-events: none;
}

.dd-br-details::after {
  position: absolute;
  z-index: -1;
  bottom: -170px;
  left: -190px;
  width: 420px;
  height: 420px;
  content: "";
  border: 68px solid rgba(8, 120, 237, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

.dd-br-details__container {
  margin-inline: auto;
}

.dd-br-details__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: clamp(34px, 4vw, 54px);
  text-align: center;
}

.dd-br-details__heading-wrap {
  min-width: 0;
}

.dd-br-details__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-content: center;
  margin: 0 0 14px;
  color: var(--color-blue-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dd-br-details__eyebrow::before {
  width: 35px;
  height: 2px;
  content: "";
  background: var(--color-blue);
}

.dd-br-details__title {
  max-width: 1120px;
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(35px, 4.1vw, 61px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
}

.dd-br-details__title span {
  color: var(--color-blue);
}

.dd-br-details__intro {
  max-width: 68ch;
  margin: clamp(18px, 2vw, 25px) auto 0;
  color: #52627d;
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 500;
  line-height: 1.72;
  text-wrap: pretty;
}

.dd-br-details__layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(590px, 1.2fr);
  gap: clamp(22px, 2.2vw, 30px);
  align-items: stretch;
}

.dd-br-details__overview,
.dd-br-details__content {
  min-width: 0;
  border-radius: 24px;
}

.dd-br-details__overview {
  position: relative;
  display: flex;
  min-height: 700px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(30px, 3vw, 43px);
  color: var(--color-white);
  background:
    radial-gradient(circle at 91% 7%, rgba(22, 140, 242, 0.44), transparent 35%),
    linear-gradient(150deg, var(--color-navy) 0%, #06183f 100%);
  box-shadow: 0 28px 62px rgba(10, 34, 86, 0.18);
}

.dd-br-details__overview::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  content: "";
  border: 42px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.dd-br-details__overview-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 21px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #c8dcfb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dd-br-details__overview-label b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.dd-br-details__duration {
  margin: clamp(42px, 5vw, 66px) 0 0;
  color: var(--color-white);
  font-size: clamp(60px, 6.2vw, 90px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.82;
  white-space: nowrap;
}

.dd-br-details__duration span {
  font-size: 0.72em;
}

.dd-br-details__duration-label {
  margin: 26px 0 0;
  color: #b9d7ff;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dd-br-details__overview-copy {
  max-width: 35ch;
  margin: 25px 0 44px;
  color: #d8e8ff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  text-wrap: pretty;
}

.dd-br-details__quick-stats {
  display: grid;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.dd-br-details__quick-stat {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.dd-br-details__quick-stat:last-child {
  border-bottom: 0;
}

.dd-br-details__stat-number {
  color: #79b8ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dd-br-details__quick-stat strong,
.dd-br-details__quick-stat small {
  display: block;
}

.dd-br-details__quick-stat strong {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.dd-br-details__quick-stat small {
  margin-top: 4px;
  color: #b9ccec;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.dd-br-details__content {
  display: flex;
  flex-direction: column;
  padding: 10px clamp(25px, 3vw, 40px) clamp(27px, 3vw, 40px);
  border: 1px solid var(--color-border-strong, #dfe7f2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(10, 34, 86, 0.08);
}

.dd-br-details__group {
  padding: clamp(25px, 2.4vw, 33px) 0 clamp(26px, 2.5vw, 35px);
  border-bottom: 1px solid var(--color-border-strong, #dfe7f2);
}

.dd-br-details__group-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
  color: var(--color-blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dd-br-details__group-heading span {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  border-radius: 8px;
  color: var(--color-white);
  background: var(--color-blue);
  font-size: 10px;
  letter-spacing: 0;
}

.dd-br-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px clamp(22px, 2.5vw, 36px);
  padding: 0;
  margin: 0;
}

.dd-br-details__item {
  position: relative;
  min-width: 0;
  padding-left: 17px;
}

.dd-br-details__item::before {
  position: absolute;
  top: 4px;
  bottom: 3px;
  left: 0;
  width: 3px;
  content: "";
  border-radius: 4px;
  background: #cfe5ff;
}

.dd-br-details__item dt {
  margin: 0 0 7px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.dd-br-details__item dd {
  margin: 0;
  color: #61708c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.62;
  text-wrap: pretty;
}

.dd-br-details__item dd strong {
  color: var(--color-navy);
  font-weight: 700;
}

.dd-br-details__guarantee {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: clamp(25px, 2.5vw, 34px);
  padding: 20px 23px;
  border: 1px solid rgba(223, 0, 31, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff4f5 0%, #fffafb 100%);
}

.dd-br-details__guarantee-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: linear-gradient(180deg, #ff514b 0%, var(--color-red) 100%);
  box-shadow: 0 10px 22px rgba(223, 0, 31, 0.2);
}

.dd-br-details__guarantee-mark i,
.dd-br-details__guarantee-mark i::before {
  display: block;
  margin: 0;
  font-size: 20px;
  line-height: 1;
}

.dd-br-details__guarantee strong {
  display: block;
  margin-bottom: 5px;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.dd-br-details__guarantee p {
  margin: 0;
  color: #61708c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.dd-br-details__guarantee-tag {
  padding: 8px 12px;
  border: 1px solid rgba(223, 0, 31, 0.15);
  border-radius: 999px;
  color: var(--color-red);
  background: var(--color-white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .dd-br-details__layout {
    grid-template-columns: 1fr;
  }

  .dd-br-details__intro {
    max-width: 68ch;
  }

  .dd-br-details__overview {
    min-height: auto;
  }

  .dd-br-details__overview-copy {
    max-width: 62ch;
  }

  .dd-br-details__quick-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dd-br-details__quick-stat {
    grid-template-columns: 28px minmax(0, 1fr);
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 0;
  }

  .dd-br-details__quick-stat:last-child {
    padding-right: 0;
    padding-left: 18px;
    border-right: 0;
  }
}

@media (max-width: 700px) {
  .dd-br-details {
    padding: 54px 0 66px;
  }

  .dd-br-details__title br {
    display: none;
  }

  .dd-br-details__overview,
  .dd-br-details__content {
    border-radius: 19px;
  }

  .dd-br-details__overview {
    padding: 28px 24px;
  }

  .dd-br-details__duration {
    margin-top: 42px;
    font-size: clamp(58px, 18vw, 84px);
  }

  .dd-br-details__quick-stats,
  .dd-br-details__grid {
    grid-template-columns: 1fr;
  }

  .dd-br-details__quick-stat {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .dd-br-details__quick-stat:last-child {
    padding: 17px 0 0;
    border-bottom: 0;
  }

  .dd-br-details__content {
    padding: 8px 23px 24px;
  }

  .dd-br-details__guarantee {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  .dd-br-details__guarantee-mark {
    width: 48px;
    height: 48px;
  }

  .dd-br-details__guarantee-tag {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .dd-br-details__overview-label {
    align-items: flex-start;
    font-size: 10px;
  }

  .dd-br-details__duration {
    font-size: 54px;
  }

  .dd-br-details__duration-label {
    margin-top: 21px;
  }

  .dd-br-details__group-heading {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dd-br-details *,
  .dd-br-details *::before,
  .dd-br-details *::after {
    scroll-behavior: auto !important;
  }
}
