/*#region HERO RESPONSIVE*/

/* iPad / tablets */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 4.6em;
  }
  .pillars-title {   
    font-size: 3em;
  }
  .community-pricing-title {
    font-size: 2.5em;
    line-height: 1.1;
  }
    .hero-full {
    /*height: 620px;*/
  }

  .hero-content {
    width: min(84%, 900px);
    padding: 0 28px;
    text-align: center;
  }

  .hero-sub-title {
    font-size: 1.65em;
    line-height: 1.35;
  }
  .pillars-sub-title {
    font-size: 1em;
  }
  .hero-tag {
    font-size: 0.9em;
    padding: 9px 16px;
    margin-bottom: 26px;
  }

  .buttons-hero {
    margin-top: 30px;
    gap: 14px;
  }

  .button-base {
    padding: 13px 28px;
    font-size: 1em;
  }

  .hero-features {
    gap: 20px;
    margin-top: 28px;
    font-size: 0.9em;
  }
}


/* iPhone horizontal */
@media (max-width: 748px) and (orientation: landscape) {
  .hero-full {
    /*height: 520px;*/
  }

  .hero-content {
    width: 92%;
    padding: 0 22px;
  }
  .hero-title {
    font-size: 3.2em;
  }

  .pillars-title {
    font-size: 2.5em;
  }

  .community-pricing-title {
    font-size: 2.1em;
  }
  .hero-sub-title {
    font-size: 1.25em;
    line-height: 1.35;
  }

  .hero-tag {
    font-size: 0.78em;
    padding: 7px 14px;
    margin-bottom: 18px;
  }

  .buttons-hero {
    margin-top: 22px;
    gap: 10px;
  }

  .button-base {
    padding: 11px 22px;
    font-size: 0.92em;
  }

  .hero-features {
    margin-top: 22px;
    gap: 14px;
    font-size: 0.82em;
  }
}

@media (max-width: 820px) {

  .pillars-section, .about-section {
    width: min(80%, 1400px);
    /*margin: 0 auto 110px auto;
    font-family: 'Open Sans', sans-serif;
    color: #1f241f;*/
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .pillar-card {
    border-right: none;
    border-bottom: 1px solid #1e3821;
    min-height: auto;
    padding: 26px 24px;
  }

    .pillar-card:last-child {
      border-bottom: none;
    }

    .pillar-card-title {
      font-size: 1.35em;
      margin-bottom: 14px;
    }

    .pillar-card-subtitle {
      font-size: 0.95em;
      line-height: 1.65;
    }

  .pillar-role {
    margin-top: 24px;
    font-size: 0.72em;
    letter-spacing: 0.16em;
  }

  .pillar-icon {
    font-size: 1.35em;
    margin-bottom: 22px;
  }
}

@media (max-width: 768px) {

  .hero-sponsor img {
    width: 220px;
    max-width: 80vw;
  }
  .community-box {
    width: min(100%, 640px);
    padding: 34px 24px;
    border-radius: 24px;
    box-sizing: border-box;
  }

  .community-pricing {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    padding-bottom: 26px;
    margin-bottom: 28px;
  }

  

  .community-pricing-subtitle {
    font-size: 0.95em;
    line-height: 1.6;
  }

  .community-pricing-right {
    text-align: center;
  }

  .community-price-new {
    font-size: clamp(2.3rem, 10vw, 3rem);
  }

  .community-price-old {
    font-size: 0.95em;
  }

  .community-list {
    margin-top: 30px;
  }

  .community-item {
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 0.96em;
    line-height: 1.5;
  }

  .community-check {
    margin-top: 3px;
    flex-shrink: 0;
    padding-top:3px;
  }

  .community-button-wrap {
    margin-top: 34px;
  }

/*  .community-button {
    width: 100%;
    max-width: 320px;
  }*/

  .section-divider-1 {
    width: 100%;
  }
}
/* iPhone vertical */
@media (max-width: 520px) {
  .hero-full {
   /* height: 640px;
    margin-left: 0;*/
  }

  .hero-title {
    font-size: 2.75em;
  }
  .pillars-title {
    font-size: 2em;
  }

  .community-pricing-title {
    font-size: 1.8em;
  }
  .hero-content {
   width:auto;
    padding: 0 22px;
    text-align: center;
  }

  .hero-sub-title {
    font-size: 1.12em;
    line-height: 1.45;
  }

  .hero-tag {
    font-size: 0.76em;
    padding: 7px 13px;
    margin-bottom: 20px;
  }

  .buttons-hero {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    width: 100%;
  }

  .button-base.button-border {
    width: min(100%, 280px);
    justify-content: center;
    padding: 13px 22px;
    font-size: 0.95em;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    font-size: 0.86em;
  }
  .hero-sponsor {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 24px;
  }

    .hero-sponsor span {
      font-size: 0.85rem;
    }

    .hero-sponsor img {
      width: 200px;
      max-width: 80vw;
    }
}

/* very small phones */
@media (max-width: 430px) {
  
  .hero-content {
    width: auto;
    /*max-width:100%;*/
    padding: 0 22px;
    text-align: center;
  }
  .hero-title {
    font-size: 2.3em;
  }
/*  .pillars-title {
    font-size: 2em;
  }
  .community-pricing-title {
    font-size: 2.5em;
    line-height: 1.1;
  }*/
  .hero-sub-title {
    font-size: 1em;
  }

  .hero-full {
    /*height: 600px;
    margin-left: 0;*/
  }

  .main-nav a, .pillars-kicker {
    font-size: 0.75em;
  }
  .main-nav ul {
    gap: 10px;
  }
}

/*#endregion HERO RESPONSIVE*/
@media (max-width: 900px) {
  .faculty-section {
    width: min(90%, 1400px);
  }

  .faculty-list {
    grid-template-columns: 1fr;
  }

  .faculty-row {
    padding: 28px;
  }
}

@media (max-width: 900px) {
  .contact-section {
    width: min(90%, 1400px);
    margin-bottom: 90px;
  }

  .contact-box {
    width: 100%;
    padding: 42px 28px;
    border-radius: 24px;
  }

  .contact-form {
    margin-top: 34px;
    gap: 20px;
  }

  .form-field input {
    height: 54px;
    border-radius: 12px;
  }



  .capture-notes {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
@media (max-width: 520px) {
  .contact-section {
    width: 92%;
  }

  .contact-box {
    padding: 36px 22px;
    border-radius: 22px;
  }

  .contact-form {
    gap: 18px;
  }

  .form-field label {
    font-size: 0.86em;
  }

  .form-field input {
    height: 52px;
    padding: 0 16px;
  }

  .button-base.contact-button {
    padding: 14px 20px;
  }
  .button-base.button-without-border {
    padding: 0;
  }
}

@media (max-width: 940px) {
/*  .about-section {
    width: 90%;
  }*/

  .about-box {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 42px 28px;
  }

  .about-left,
  .about-right {
    width: 100%;
  }

  .about-right {
    gap: 26px;
  }

  /*.about-button {
    width: 50%;
    justify-content: center;
    margin-left:auto;
    margin-right:auto;
  }*/
}

@media (max-width: 520px) {
  .about-box {
    padding: 36px 22px;
    border-radius: 22px;
  }

  .about-item {
    gap: 14px;
  }
  /*.about-button {
    width: 80%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }*/
    /*.about-item h3 {
      font-size: 1.08em;
    }

    .about-item p {
      font-size: 0.95em;
    }*/
}

@media (max-width: 680px) {

  .faculty-profile-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 32px;
    margin-left: 0;
    margin-right:0;
  }

  .faculty-profile-photo-column {
    justify-self: center;
  }

  .faculty-profile-info {
    padding-top: 0;
    text-align: center;
  }

    .faculty-profile-info h1 {
      text-align: center;
      font-size: clamp(46px, 12vw, 72px);
    }

  .faculty-profile-position,
  .faculty-profile-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .faculty-profile-background-name {
    font-size: clamp(90px, 28vw, 150px);
    right: 50%;
    transform: translateX(50%);
    bottom: 10px;
  }

  .faculty-profile-close {
    top: 15px;
    right: 15px;
  }

  .bio-section {
    width: 100%;
    margin: 0 auto 80px;
    padding: clamp(40px, 40px, 120px) clamp(30px, 40px, 100px);
    box-sizing: border-box;
  }
}


@media (max-width: 700px) {
  /*    .lecture-list-item {
      padding: 26px 22px 28px;
      border-radius: 22px;
    }*/

  .archive-lecture__lecturers {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .archive-lecture__avatar {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .lecture-expose__text {
    max-height: calc(4 * 1.85em);
  }
}

@media (max-width: 900px) {

  .courses-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {

  .course-card {
    min-height: auto;
    padding: 30px 26px;
  }

  .courses-language-switch__button {
    min-width: 100px;
    padding: 10px 18px;
  }
}