.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 600px;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;

  h1 {
    max-width: 639px;
  }

  @media screen and (min-width: 1100px) {
    height: 600px;
    padding: 92px;

    h1 {
      width: 639px;

      font-weight: 500;
      font-size: 68px;
      line-height: 100px;
      letter-spacing: -2%;
      color: #ffffff;
    }
  }
}

.media-header-badge,
.about-header-badge,
.programs-header-badge,
.academic-header-badge {
  display: flex;
  align-items: center;
  gap: 16px;

  .badge-line {
    flex: 0 0 auto;
    width: 80px;
    height: 2px;
    background-color: #d63832;
  }

  .badge-text {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #d63832;
    opacity: 0.8;
  }
}

.media {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  .media-header {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .media-header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      h2 {
        max-width: 559px;
        font-weight: 600;
        font-size: 56px;
        line-height: 88px;
        letter-spacing: 0%;
        color: #121212;
      }

      p {
        max-width: 559px;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #484848;
      }

      @media screen and (min-width: 1100px) {
        gap: 40px;

        h1,
        p {
          width: 559px;
        }
      }
    }
  }

  .media-datas {
    display: flex;
    flex-direction: column;
    gap: 71px;

    .media-news,
    .media-announcements {
      display: flex;
      flex-direction: column;
      gap: 40px;

      .news-list,
      .announcement-list {
        display: flex;
        align-items: center;
        gap: 20px;

        .news,
        .announcement {
          width: 384px;
          height: 488px;
          max-width: 384px;
          max-height: 488px;
          border-radius: 16px;
          box-shadow: 2px 6px 17px 0px #0000001a;
          background: #ffffff;
          display: flex;
          flex-direction: column;
          overflow: hidden;

          .news-image,
          .announcement-image {
            width: 100%;
            height: 328px;
            flex-shrink: 0;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              border-top-left-radius: 16px;
              border-top-right-radius: 16px;
            }
          }

          .news-content,
          .announcement-content {
            flex-grow: 1;
            min-height: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
            padding: 16px;

            a {
              text-decoration: none;
              font-weight: 600;
              font-size: 28px;
              line-height: 32px;
              letter-spacing: 0%;
              color: #121212;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
              overflow-wrap: break-word;
            }

            p {
              font-weight: 400;
              font-size: 16px;
              line-height: 24px;
              letter-spacing: 0%;
              color: #484848;
              display: -webkit-box;
              -webkit-line-clamp: 2;
              -webkit-box-orient: vertical;
              overflow: hidden;
              overflow-wrap: break-word;
            }
          }
        }
      }

      .media-news-controllers,
      .media-announcements-controllers {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;

        button {
          width: 59px;
          height: 80px;
          border: none;
          background: none;
          cursor: pointer;
        }

        a {
          width: fit-content;
          height: 62px;
          opacity: 1;
          border-radius: 60px;
          background-color: #d63832;
          padding: 14px 31px;

          font-weight: 700;
          font-size: 20px;
          line-height: 34px;
          letter-spacing: 0%;
          text-align: center;
          text-decoration: none;
          color: #ebe5db;
        }
      }
    }
  }
}

.about {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  .about-header {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .about-header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      h2 {
        max-width: 559px;
        font-weight: 600;
        font-size: 56px;
        line-height: 88px;
        letter-spacing: 0%;
        color: #121212;
      }

      p {
        max-width: 559px;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #484848;
      }

      @media screen and (min-width: 1100px) {
        gap: 40px;

        h1,
        p {
          width: 559px;
        }
      }
    }
  }

  .about-content {
    display: flex;
    gap: 69px;
    position: relative;

    .about-main-image {
      width: 488px;
      height: 651px;
      min-width: 488px;
      min-height: 651px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 25px;
      }
    }

    .about-main-content {
      width: 399px;
      max-width: 399px;
      display: flex;
      flex-direction: column;
      gap: 49px;

      img {
        width: 399px;
        height: 422px;
        min-width: 399px;
        min-height: 422px;
        border-radius: 25px;
        object-fit: cover;
      }

      p {
        font-weight: 400;
        font-size: 20px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #222222;
      }

      a {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 248px;
        height: 48px;
        border-radius: 60px;
        background: #d63832;

        font-weight: 400;
        font-size: 24px;
        line-height: 108%;
        letter-spacing: 0%;
        text-align: center;
        text-decoration: none;
        color: #ffffff;
      }
    }

    .about-performance {
      ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 40px;

        li {
          width: 170px;
          height: 133px;
          border-radius: 25px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          gap: 10px;

          h4 {
            font-weight: 400;
            font-size: 32px;
            line-height: 108%;
            letter-spacing: 0%;
            text-align: center;
            color: #d63832;
          }

          p {
            font-weight: 400;
            font-size: 20px;
            line-height: 108%;
            letter-spacing: 0%;
            text-align: center;
            color: #222222;
          }
        }
      }
    }

    .mobile-about-content {
      display: none;

      p {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0%;
        color: #484848;
      }

      a {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: center;

        width: 248px;
        height: 48px;
        border-radius: 60px;
        background: #d63832;

        font-weight: 400;
        font-size: 24px;
        line-height: 108%;
        letter-spacing: 0%;
        text-align: center;
        text-decoration: none;
        color: #ffffff;
      }
    }

    .about-center-info {
      position: absolute;
      width: 163px;
      height: 168px;
      opacity: 1;
      top: 179px;
      left: 436px;
      border-radius: 25px;
      background-color: #ffffff;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;

      h4 {
        font-weight: 400;
        font-size: 32px;
        line-height: 108%;
        letter-spacing: 0%;
        text-align: center;
        color: #d63832;
      }

      p {
        font-weight: 400;
        font-size: 20px;
        line-height: 108%;
        letter-spacing: 0%;
        text-align: center;
        color: #222222;
      }

      .students {
        display: flex;
        align-items: center;
        justify-content: center;

        img {
          width: 20px;
          height: 20px;
          border: none;
          border-radius: 50%;
          position: relative;
          object-fit: cover;
          display: block;

          &:not(:first-child) {
            margin-left: -8px;
          }
        }
      }
    }
  }
}

.programs {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  .programs-header {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .programs-header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      h2 {
        max-width: 559px;
        font-weight: 600;
        font-size: 56px;
        line-height: 88px;
        letter-spacing: 0%;
        color: #121212;
      }

      p {
        max-width: 559px;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #484848;
      }

      @media screen and (min-width: 1100px) {
        gap: 40px;

        h1,
        p {
          width: 559px;
        }
      }
    }
  }

  .programs-list {
    display: grid;
    grid-template-columns: repeat(2, 586px);
    gap: 26px;

    .program {
      width: 586px;
      max-width: 586px;
      height: 392px;
      min-height: 392px;

      &:hover {
        div {
          .program-content {
            background: #d63832;

            h3,
            p {
              color: #ffffff;
            }
          }
        }
      }

      div {
        width: 100%;
        position: relative;

        img {
          width: 100%;
          height: 304px;
          border: none;
          border-radius: 16px;
          box-shadow: 4px 11px 35px 0px #00000012;
          object-fit: cover;
        }

        a {
          text-decoration: none !important;
        }

        .program-content {
          position: absolute;
          width: 516px;
          max-width: 516px;
          height: 192px;
          top: 200px;
          left: 28px;
          border-radius: 16px;
          padding-top: 32px;
          padding-right: 16px;
          padding-bottom: 32px;
          padding-left: 16px;
          display: flex;
          flex-direction: column;
          gap: 24px;
          background: #ffffff;
          box-shadow: 4px 11px 35px 0px #00000012;
          transition: 0.5s all;

          h3 {
            font-weight: 600;
            font-size: 28px;
            line-height: 32px;
            letter-spacing: 0%;
            text-align: center;
            color: #121212;
          }

          p {
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            text-align: center;
            color: #484848;
          }

          .learn-more {
            width: 148px;
            height: 32px;
            border-radius: 60px;
            background: #d63832;

            display: none;
            align-items: center;
            justify-content: center;

            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            text-align: center;
            color: #ebe5db;
          }

          @media screen and (max-width: 450px) {
            .learn-more {
              display: flex !important;
            }
          }
        }
      }
    }
  }
}

.academic {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  .academic-header {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .academic-header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;

      h2 {
        max-width: 559px;
        font-weight: 600;
        font-size: 56px;
        line-height: 88px;
        letter-spacing: 0%;
        color: #121212;
      }

      p {
        max-width: 559px;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
        color: #484848;
      }

      @media screen and (min-width: 1100px) {
        gap: 40px;

        h1,
        p {
          width: 559px;
        }
      }
    }
  }

  .academic-calendar {
    table {
      width: 100%;
      border-collapse: collapse;
      font-family: 'Inter', sans-serif;

      thead {
        height: 44px;

        th {
          padding: 0 16px;
          height: 44px;

          text-align: left;
          font-weight: 600;
          font-size: 12px;
          line-height: 16px;
          letter-spacing: 0%;
          color: #171923;
          white-space: nowrap;
          background: #eff4f8;

          &:first-child {
            border-radius: 8px 0px 0px 0px;
          }

          &:last-child {
            border-radius: 0px 8px 0px 0px;
          }
        }
      }

      tbody {
        td {
          padding: 16px;
          border-bottom: 1px solid #eff4f8;
          border-right: 1px solid #eff4f8;

          font-weight: 500;
          font-size: 14px;
          line-height: 20px;
          letter-spacing: 0%;
          color: #2d3748;

          &:last-child {
            border-right: none;
          }
        }
      }
    }
  }

  a {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;

    width: 248px;
    height: 48px;
    border-radius: 60px;
    background-color: #d63832;

    font-weight: 400;
    font-size: 24px;
    line-height: 108%;
    letter-spacing: 0%;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: 520px !important;
    max-height: 520px;

    .container {
      padding-inline: 32px;
    }

    h1 {
      max-width: 520px;
      font-size: 48px;
      line-height: 72px;
      color: #ffffff;
    }
  }

  .media-header, .about-header, .programs-header, .academic-header {
    .media-header-content, .about-header-content, .programs-header-content, .academic-header-content {
      p {
        width: 40% !important;
      }
    }
  }

  .media {
    margin-top: 96px;
    gap: 32px;

    .media-header {
      .media-header-content {
        gap: 32px;

        h2 {
          font-size: 44px;
          line-height: 64px;
        }

        p {
          font-size: 14px;
          line-height: 22px;
        }
      }
    }

    .media-datas {
      gap: 56px;

      .media-news,
      .media-announcements {
        gap: 32px;

        .news-list,
        .announcement-list {
          gap: 16px;

          .news,
          .announcement {
            width: 320px;
            max-width: 320px;
            height: 440px;
            max-height: 440px;
            display: flex;
            flex-direction: column;
            overflow: hidden;

            .news-image,
            .announcement-image {
              height: 260px;
              flex-shrink: 0;
            }

            .news-content,
            .announcement-content {
              flex-grow: 1;
              min-height: 0;
              gap: 12px;
              padding: 14px;

              a {
                font-size: 22px;
                line-height: 28px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                overflow-wrap: break-word;
              }

              p {
                font-size: 14px;
                line-height: 22px;
                display: -webkit-box;
                -webkit-line-clamp: 3;
                -webkit-box-orient: vertical;
                overflow: hidden;
                overflow-wrap: break-word;
              }
            }
          }
        }

        .media-news-controllers,
        .media-announcements-controllers {
          button {
            width: 48px;
            height: 64px;
          }

          a {
            height: 56px;
            padding-inline: 28px;
            font-size: 18px;
          }
        }
      }
    }
  }

  .about {
    margin-top: 96px;
    gap: 32px;

    .about-header {
      .about-header-content {
        gap: 32px;

        h2 {
          font-size: 44px;
          line-height: 64px;
        }

        p {
          font-size: 14px;
          line-height: 22px;
        }
      }
    }

    .about-content {
      flex-direction: column;
      align-items: center;
      gap: 32px;

      .about-main-image {
        width: 100%;
        max-width: 640px;
        height: 420px;
        min-width: auto;
        min-height: auto;
      }

      .about-main-content {
        width: 100%;
        max-width: 640px;
        gap: 32px;

        img {
          width: 100%;
          height: 360px;
          max-width: 640px;
          max-height: 360px;
          min-width: auto;
          min-height: auto;
        }

        p {
          font-size: 18px;
          line-height: 26px;
        }

        a {
          width: 220px;
          height: 48px;
          font-size: 20px;
        }
      }

      .about-performance {
        ul {
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: center;
          gap: 24px;

          li {
            width: 152px;
            height: 120px;
          }
        }
      }

      .about-center-info {
        top: 220px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }

  .programs {
    margin-top: 96px;
    gap: 32px;

    .programs-header {
      .programs-header-content {
        gap: 32px;

        h2 {
          font-size: 44px;
          line-height: 64px;
        }

        p {
          font-size: 14px;
          line-height: 22px;
        }
      }
    }

    .programs-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px;

      .program {
        width: 100%;
        max-width: none;
        height: fit-content !important;

        div {
          img {
            height: 260px;
          }

          .program-content {
            width: 90%;
            max-width: none;
            left: 50%;
            transform: translateX(-50%);
            top: 190px;
            padding: 24px 16px;
            gap: 16px;

            h3 {
              font-size: 22px;
              line-height: 28px;
            }

            p {
              font-size: 14px;
              line-height: 22px;
            }

            .learn-more {
              display: flex;
              width: 140px;
              height: 32px;
              font-size: 14px;
            }
          }
        }
      }
    }
  }

  .academic {
    margin-top: 96px;
    gap: 32px;

    .academic-header {
      .academic-header-content {
        gap: 32px;

        h2 {
          font-size: 44px;
          line-height: 64px;
        }

        p {
          font-size: 14px;
          line-height: 22px;
        }
      }
    }
  }
}

@media screen and (max-width: 450px) {
  .hero {
    width: calc(100% - 32px);
    min-width: 343px;
    height: 360px;
    margin-top: 16px;
    padding-inline: 12px;

    h1 {
      max-width: 273px;

      font-weight: 500;
      font-size: 28px;
      line-height: 45px;
      letter-spacing: -2%;
      color: #ffffff;
    }
  }

  .media {
    margin-top: 60px;
    gap: 24px;

    .media-header {
      gap: 2px !important;

      .media-header-content {
        flex-direction: column;

        h2 {
          font-size: 28px !important;
          align-self: flex-start;
          line-height: 40px;
        }

        p {
          font-size: 12px !important;
        }
      }
    }

    .media-datas {
      .media-news,
      .media-announcements {
        .news-list,
        .announcement-list {
          /* .news,
          .announcement {
            width: 100% !important;
            height: 100% !important;
            max-width: 206px !important;
            max-height: 371px !important;

            .news-image,
            .announcement-image {
              width: 100% !important;
              height: 100% !important;
              min-width: 206px !important;
              max-height: 244px !important;
              border-top-left-radius: 16px;
              border-top-right-radius: 16px;
            }

            .news-content,
            .announcement-content {
              a {
                font-size: 16px !important;
                line-height: 32px !important;
              }

              p {
                font-size: 12px !important;
                line-height: 24px !important;
              }
            }
          } */

          .news,
          .announcement {
            width: 206px !important;
            height: 371px !important;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden;

            .news-image,
            .announcement-image {
              width: 206px !important;
              height: 210px !important;
              flex-shrink: 0;

              img {
                width: 100%;
                height: 100%;
                object-fit: cover;
              }
            }

            .news-content,
            .announcement-content {
              flex-grow: 1;
              display: flex;
              flex-direction: column;
              padding: 12px;

              a {
                font-size: 16px !important;
                line-height: 20px !important;
                margin-bottom: 8px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
              }

              p {
                font-size: 12px !important;
                line-height: 16px !important;
              }
            }
          }
        }

        .media-news-controllers,
        .media-announcements-controllers {
          display: flex;
          align-items: center;
          justify-content: center;

          button {
            display: none;
          }

          a {
            width: fit-content !important;
            height: 48px !important;
            border-radius: 60px;

            display: flex;
            align-items: center;
            justify-content: center;

            font-size: 16px !important;
            line-height: 24px !important;
          }
        }
      }
    }
  }

  .about {
    margin-top: 60px;
    gap: 24px;

    .about-header {
      gap: 2px !important;

      .about-header-content {
        flex-direction: column;

        h2 {
          font-size: 28px !important;
          align-self: flex-start;
          line-height: 40px;
        }

        p {
          font-size: 12px !important;
        }
      }
    }

    .about-content {
      flex-direction: column;
      gap: 40px;

      .about-main-image {
        width: 100% !important;
        height: 200px;
        min-width: 343px !important;
        max-height: 200px !important;

        z-index: 3;

        min-width: 343px !important;
        min-height: 200px !important;
      }

      .about-main-content {
        width: 100% !important;
        height: 200px;
        min-width: 343px !important;
        max-height: 200px !important;
        z-index: 10;

        img {
          width: 100% !important;
          height: 200px;
          min-width: 343px !important;
          max-height: 200px !important;

          min-width: 343px !important;
          min-height: 200px !important;
        }

        p,
        a {
          display: none;
        }
      }

      .about-performance {
        width: calc(100% - 32px);
        min-width: 343px;
        ul {
          width: 100%;
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 16px !important;

          li {
            width: 73px;
            height: 63px;
            padding: 11px;
            gap: 8px;

            h4 {
              font-size: 24px !important;
            }

            p {
              font-size: 12px !important;
            }
          }
        }
      }

      .mobile-about-content {
        display: flex;
        flex-direction: column;
        gap: 40px;
      }

      .about-center-info {
        /* top: 116px; */
        top: 90px;
        left: 90px;
        z-index: 5;
      }
    }
  }

  .programs {
    margin-top: 60px;
    gap: 24px;

    .programs-header {
      gap: 2px !important;

      .programs-header-content {
        flex-direction: column;

        h2 {
          font-size: 28px !important;
          align-self: flex-start;
          line-height: 40px;
        }

        p {
          font-size: 12px !important;
        }
      }
    }

    .programs-list {
      grid-template-columns: 1fr;

      .program {
        width: 343px !important;
        width: 100% !important;
        min-width: 343px !important;

        .program-content {
          width: 90% !important;
          max-width: 327px !important;
          left: 50% !important;
          transform: translateX(-50%);
          gap: 7px !important;

          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;

          h3 {
            font-size: 20px !important;
          }

          p {
            font-size: 12px !important;
          }

          .learn-more {
            align-self: flex-start;
          }
        }
      }
    }
  }

  .academic {
    margin-top: 60px;
    gap: 24px;

    .academic-header {
      gap: 2px !important;

      .academic-header-content {
        flex-direction: column;

        h2 {
          font-size: 28px !important;
          align-self: flex-start;
          line-height: 40px;
        }

        p {
          font-size: 12px !important;
        }
      }
    }

    .academic-calendar {
      overflow: scroll;
    }
  }
}

/* SCROLLING SETUP */

.news-list,
.announcement-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  &::-webkit-scrollbar {
    display: none;
  }

  .news,
  .announcement {
    flex-shrink: 0;
  }
}
