@media (min-width: 700px) {
  .split-content {
    align-items: center;
  }

}

@media (min-width: 1024px) {
  .content-section,
  .activities-section {
    padding-block: 36px;
  }
}

@media (min-width: 1441px) {
  .hero {
    --hero-bg-position: center center;
    --hero-bg-size: cover;
  }
}

@media (min-width: 1101px) and (max-width: 1440px) {
  .hero {
    --hero-bg-position: center center;
    --hero-bg-size: cover;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .hero {
    --dashboard-scale: 0.72px;
    --hero-bg-position: center center;
    --hero-bg-size: cover;
    --hero-scale: 0.82;
    height: clamp(357px, 56.25vw, 560px);
  }

  .hero-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    --dashboard-scale: 0.5px;
    --hero-bg-position: 58% center;
    --hero-bg-size: auto 100%;
    --hero-scale: 0.62;
    align-items: center;
    height: clamp(360px, 82vw, 460px);
    min-height: 0;
    padding: 0;
  }

  .hero-container {
    display: block;
    left: 0;
    max-height: none;
    min-height: 0;
    position: absolute;
    top: 0;
    transform: none;
    width: 100%;
  }

  .hero-content {
    left: 28px;
    max-width: 62%;
    top: 25%;
  }

  .hero-title {
    font-size: clamp(32px, 8vw, 44px);
    line-height: 1;
    max-width: 280px;
    width: max-content;
  }

  .hero-description {
    font-size: 12px;
    line-height: 1.55;
    margin-top: 16px;
    max-width: 235px;
    width: 235px;
  }

  .hero-button {
    font-size: 12px;
    height: 40px;
    margin-top: 16px;
    width: 130px;
  }

  .dashboard-wrapper {
    bottom: auto;
    left: 54%;
    right: auto;
    top: 31%;
  }
}

@media (max-width: 480px) {
  .hero {
    --dashboard-scale: 0.42px;
    --hero-bg-position: 59% center;
    --hero-bg-size: auto 100%;
    --hero-scale: 0.58;
    height: 420px;
  }

  .hero-content {
    left: 24px;
    max-width: 64%;
    top: 25%;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1;
    max-width: 235px;
    width: max-content;
  }

  .hero-title__line {
    white-space: nowrap;
  }

  .hero-description {
    font-size: 11px;
    line-height: 1.55;
    max-width: 210px;
    width: 210px;
  }

  .hero-button {
    font-size: 11px;
    gap: 8px;
    height: 38px;
    justify-content: center;
    margin-top: 16px;
    padding-inline: 14px;
    width: 118px;
  }

  .dashboard-wrapper {
    left: 50%;
    top: 49%;
  }

  .container,
  .faq-container {
    width: min(100% - 32px, 720px);
  }

  .content-section,
  .activities-section,
  .faq-section {
    padding-block: 14px;
  }

  .page-flow {
    gap: 11px;
  }

  .section-heading h2 {
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .section-heading p,
  .section-heading p {
    font-size: 0.48rem;
    line-height: 1.45;
  }

  .video-section .container {
    gap: 18px;
    width: min(100% - 32px, 960px);
  }

  .video-section .section-heading {
    gap: 5px;
    height: auto;
  }

  .video-section .section-heading h2 {
    font-size: clamp(1.55rem, 8vw, 3rem);
    height: auto;
    letter-spacing: -0.7px;
    line-height: 1;
  }

  .video-section .section-heading p {
    font-size: clamp(0.72rem, 3.2vw, 1.125rem);
    height: auto;
    line-height: 1.55;
    padding-top: 0;
  }

  .post-cards-text {
    height: auto;
  }

  .post-cards-text h2 {
    font-size: clamp(1.55rem, 8vw, 3rem);
    height: auto;
    letter-spacing: -0.7px;
    line-height: 1;
  }

  .post-cards-text p {
    font-size: clamp(0.72rem, 3.2vw, 1.125rem);
    height: auto;
    line-height: 1.55;
    padding-top: 0;
  }

  .podcast-player {
    gap: 10px;
    height: auto;
    padding: 12px;
  }

  .podcast-player__time {
    display: none;
  }

  .podcast-player__volume {
    width: auto;
  }

  .podcast-player__volume-bar {
    display: none;
  }

  .video-frame {
    height: auto;
  }

  .highlight-box {
    height: auto;
    max-width: 100%;
    padding: 20px;
    width: 100%;
  }

  .highlight-box p {
    display: block;
    font-size: 0.86rem;
    height: auto;
    line-height: 1.55;
    width: 100%;
  }

  .cards-showcase {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
  }

  .info-card,
  .info-card--left,
  .info-card--right,
  .info-card--featured {
    bottom: auto;
    left: auto;
    min-height: 240px;
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
  }

  .info-card.is-open {
    min-height: 280px;
  }

  .info-card.is-open p {
    display: block;
    font-size: 0.82rem;
    height: auto;
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 100%;
    padding: 0;
    width: 100%;
  }

  .activities-section .page-flow {
    gap: 10px;
  }

  .learning-progress {
    align-items: stretch;
    gap: 12px;
    grid-template-columns: 40px 1fr;
    padding: 14px;
  }

  .learning-progress__icon {
    height: 40px;
    width: 40px;
  }

  .learning-progress__icon svg {
    height: 22px;
    width: 22px;
  }

  .learning-progress__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .learning-progress__status {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .activity-card__header,
  .activity-card__body {
    padding: 8px;
  }

  .activity-card__header h3 {
    font-size: 0.58rem;
  }

  .activity-card label,
  .activity-card legend,
  .objective-option,
  .activity-feedback {
    font-size: 0.48rem;
    line-height: 1.45;
  }

  .activity-card__type,
  .character-counter {
    font-size: 0.45rem;
  }

  .activity-card__actions {
    gap: 6px;
  }

  .activity-card--discursive {
    gap: 16px;
    min-height: auto;
    padding: 18px;
  }

  .activity-card--discursive .activity-card__header {
    gap: 12px;
    height: auto;
    padding: 0;
  }

  .activity-card__icon {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .activity-card--discursive .activity-card__intro {
    gap: 6px;
    height: auto;
  }

  .activity-card--discursive .activity-card__intro h3 {
    font-size: 18px;
    line-height: 24px;
    min-height: 24px;
  }

  .activity-card--discursive .activity-card__intro p {
    display: block;
    font-size: 14px;
    height: auto;
    line-height: 22px;
  }

  .activity-card--discursive .activity-card__body {
    gap: 16px;
  }

  .activity-card--discursive textarea {
    font-size: 14px;
    height: 140px;
    line-height: 22px;
    min-height: 140px;
    padding: 12px 14px;
  }

  .activity-card--discursive .activity-card__actions {
    gap: 10px;
    height: auto;
  }

  .activity-card--discursive .activity-card__actions .button {
    font-size: 14px;
    gap: 6px;
    height: 40px;
    line-height: 20px;
    min-height: 40px;
    padding: 8px 18px;
  }

  .activity-card--discursive [data-action="submit"] {
    width: 136px;
  }

  .activity-card--discursive [data-action="edit"] {
    width: 106px;
  }

  .activity-card--discursive .activity-feedback {
    min-height: auto;
    padding: 14px;
  }

  .activity-card--discursive .activity-feedback h4 {
    font-size: 15px;
    line-height: 22px;
  }

  .activity-card--discursive .activity-feedback p {
    display: block;
    font-size: 13px;
    line-height: 20px;
  }

  .activity-card--objective {
    gap: 18px;
    padding: 18px;
  }

  .activity-card--objective .activity-card__header {
    gap: 12px;
    height: auto;
    padding: 0;
  }

  .activity-card--objective .activity-card__intro {
    gap: 6px;
    height: auto;
  }

  .activity-card--objective .activity-card__intro h3 {
    font-size: 18px;
    line-height: 24px;
    min-height: 24px;
  }

  .activity-card--objective .activity-card__intro p {
    display: block;
    font-size: 14px;
    height: auto;
    line-height: 22px;
  }

  .activity-card--objective .activity-card__body {
    gap: 18px;
  }

  .activity-card--objective fieldset {
    gap: 10px;
  }

  .objective-option {
    align-items: flex-start;
    gap: 10px;
    height: auto;
    min-height: 58px;
    padding: 14px;
  }

  .objective-option span {
    display: block;
    font-size: 13px;
    line-height: 20px;
  }

  .activity-card--objective .activity-card__actions {
    gap: 10px;
    height: auto;
  }

  .activity-card--objective .activity-card__actions .button {
    font-size: 14px;
    gap: 6px;
    height: 40px;
    line-height: 20px;
    min-height: 40px;
    padding: 8px 18px;
  }

  .activity-card--objective [data-action="submit"] {
    width: 136px;
  }

  .activity-card--objective [data-action="edit"] {
    width: 106px;
  }

  .activity-card--objective .activity-feedback {
    min-height: auto;
    padding: 14px 18px 18px;
  }

  .activity-card--objective .activity-feedback h4 {
    font-size: 15px;
    line-height: 22px;
  }

  .activity-card--objective .activity-feedback p {
    display: block;
    font-size: 13px;
    line-height: 20px;
  }

  .button {
    font-size: 0.48rem;
    min-height: 22px;
    padding: 4px 8px;
  }

  textarea {
    font-size: 0.5rem;
    min-height: 58px;
    padding: 6px;
  }

  .objective-option input {
    height: 20px;
    margin-top: 0;
    width: 20px;
  }

  .split-content {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    height: auto;
    padding: 18px;
  }

  .split-content figure,
  .split-content img,
  .rich-text,
  .rich-text p {
    width: 100%;
  }

  .split-content img {
    height: auto;
  }

  .rich-text {
    gap: 12px;
    height: auto;
  }

  .rich-text p {
    display: block;
    font-size: 0.82rem;
    height: auto;
    line-height: 1.55;
  }

  .video-frame__play {
    height: 44px;
    width: 44px;
  }

  .video-frame__play span {
    border-bottom-width: 7px;
    border-left-width: 11px;
    border-top-width: 7px;
    margin-left: 2px;
  }

  .slider {
    height: auto;
  }

  .slider__viewport,
  .slider__slide img {
    height: auto;
  }

  .slider__slide img {
    aspect-ratio: 958 / 439.88;
  }

  .slider__controls {
    height: 72px;
    padding: 16px 0;
  }
}

@media (max-width: 520px) {
  .brand-logo__mark {
    font-size: 2.25rem;
  }

  .brand-logo__name {
    font-size: 0.76rem;
  }

  .slider__content {
    bottom: 10px;
    padding: 10px 12px;
  }

  .slider__content p {
    display: none;
  }

  .faq-heading {
    gap: 10px;
  }

  .faq-container {
    gap: 28px;
    padding: 0 18px;
    width: min(100%, 896px);
  }

  .faq {
    gap: 10px;
  }

  .faq-heading h2 {
    font-size: 28px;
    height: auto;
    line-height: 34px;
  }

  .faq-heading p {
    font-size: 14px;
    height: auto;
    line-height: 22px;
  }

  .faq__item summary {
    align-items: flex-start;
    font-size: 14px;
    line-height: 22px;
    min-height: 68px;
    padding: 18px;
  }

  .faq__content {
    font-size: 14px;
    line-height: 22px;
    padding: 14px 18px 18px;
  }
}
