.ehf-header #masthead {
  position: fixed;
  width: 100%;
}

/* knowledge-contest-banner */

.container {
  max-width: 1440px;
  margin: auto;
  padding: 16px;
}

.p-100 {
  padding: 73px 0;
}

.flex-butoon {
  width: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
}

.knowledge-contest-banner {
  width: 100%;
  position: relative;
  padding-top: 60px;
}

.knowledge-contest-banner-img {
  width: 100%;
  height: 100%;
}

.knowledge-contest-banner-img img {
  width: 100%;
  aspect-ratio: 1560/668.371;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.5);
}

.knowledge-contest-banner-content {
  padding: 40px 60px;
  position: absolute;
  bottom: 0;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.knowledge-contest-banner-content h3 {
  color: #fff;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Nunito;
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

.knowledge-contest-banner-content p {
  max-width: 750px;
  width: 100%;
  color: #fff;
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.knowledge-contest-banner-content .knowledge-contest-banner-button {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.knowledge-contest-banner-content .knowledge-contest-banner-button button {
  padding: 15px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: none;

  color: var(--Black, #000);
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.knowledge-contest-banner-content
  .knowledge-contest-banner-button
  button.butoon-active {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 32px;
  border-radius: 99px;
  border: 1px solid #ffd840;
  background: var(
    --yellow,
    linear-gradient(90deg, #eaae14 9.99%, #ffd840 100%)
  );

  color: var(--Black, #000);
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
}

@media screen and (max-width: 769px) {
  .knowledge-contest-banner-content {
    gap: 16px;
  }

  .knowledge-contest-banner-content h3 {
    font-size: 32px;
  }

  .knowledge-contest-banner-content p {
    font-size: 14px;
  }

  .knowledge-contest-banner-content .knowledge-contest-banner-button button {
    padding: 5px 10px;
    font-size: 14px;
  }

  .knowledge-contest-banner-content
    .knowledge-contest-banner-button
    button.butoon-active {
    padding: 5px 10px;
    font-size: 14px;
  }

  .knowledge-contest-banner-content .knowledge-contest-banner-button {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media screen and (max-width: 545px) {
  .knowledge-contest-banner-content {
    padding: 40px 20px;
  }

  .knowledge-contest-banner-img img {
    width: 100%;
    aspect-ratio: 1560 / 1568.371;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* knowledge-contest-banner-end */

/* knowledge-contest-exam-stage */
.knowledge-contest-exam-stage {
  background-image: url(https://thethaomoingay.com.vn/wp-content/uploads/2024/11/chang-thi.jpg);
  padding: 130px 0;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.knowledge-contest-exam-stage .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.knowledge-contest-exam-stage-title {
  color: #fff;
  text-align: center;
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;
}

#contestExam {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.flex-row {
  display: flex;
  gap: 20px;
  /* flex-wrap: wrap; */
  justify-content: space-between;
}

.exam-stage-card {
  width: 100%;
  display: flex;
  padding: 20px;
  flex-direction: column;
  align-items: flex-start;

  border-radius: 40px;
  border: 2px dashed #fff;
}

.exam-stage-card-in {
    min-height: 388px;
    height: 100%;
    display: flex;
    padding: 20px 16px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
}

.exam-stage-card-in .exam-stage-card-in-title-top {
  display: flex;
  height: 100px;
  padding: 1px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  background: rgba(0, 130, 186, 0.2);
  margin: 0;

  color: #0082ba;
  font-family: Nunito;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.exam-stage-card-in .exam-stage-card-in-status {
  margin: 0;
  display: flex;
  padding: 6px 26px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 99px;

  color: #fff;
  text-align: justify;
  font-family: Nunito;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.exam-stage-card-in .exam-stage-card-in-title {
  height: 60px;
  max-width: 277px;
  width: 100%;
  color: var(--Black, #000);
  text-align: center;
  font-family: Nunito;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  max-height: calc(1.5em * 4);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.exam-stage-card-in .exam-stage-card-in-time {
  font-family: Nunito;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.exam-stage-card-in .exam-stage-card-in-time.end {
  color: #f55050;
}

.exam-stage-card-in .exam-stage-card-in-time.start {
  color: #0082ba;
}

.exam-stage-card-in .exam-stage-card-in-button {
  display: flex;
  padding: 13.5px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: none;

  border-radius: 100px;
  background: rgba(0, 130, 186, 0.1);

  color: #0082ba;
  font-family: Nunito;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.status-dadienra {
  background-color: #f55050;
}

.status-dangdienra {
  background-color: #008317;
}

.status-chuadienra {
  background-color: #eaae14;
}

@media screen and (max-width: 1440px) {
  .p-100 {
    padding: 73px 16px;
  }

  .chang-thi {
    padding: 100px 0;
  }

  .flex-row {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
  }

  .exam-stage-card-in .exam-stage-card-in-time {
    text-align: center;
  }
}

@media screen and (max-width: 1025px) {
  .knowledge-contest-documents .row-card .col-card {
    width: 49%;
  }
}

@media screen and (max-width: 769px) {
  #contestExam {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  #contestExam {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .chang-thi {
    padding: 140px 0;
  }

  .exam-stage-card {
    width: 100%;
  }
}

/* knowledge-contest-exam-stage-end */

/* knowledge-contest-rankings */
.knowledge-contest-rankings {
  padding: 80px 0;
  background-color: #f6f6f6;
}

.knowledge-contest-rankings .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.w-full {
  width: 100%;
}

.knowledge-contest-rankings .container .w-full .pagination {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.knowledge-contest-rankings h3 {
  font-size: 64px;
  text-align: center;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  margin: 0;

  background: var(--blue, linear-gradient(180deg, #1daeed 0%, #0082ba 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.table-responsive .table {
  width: 100%;
  margin-bottom: 0;
}

.knowledge-contest-rankings .table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
}

.knowledge-contest-rankings .table-responsive table.table thead {
  border-radius: 10px 10px 0px 0px;
}

.knowledge-contest-rankings .table-responsive table.table thead tr {
  width: 100%;
  padding: 20px;
  gap: 20px;
  border-radius: 10px 10px 0px 0px;
  background: #0082ba;
  box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);
}

.knowledge-contest-rankings .table-responsive table.table thead tr th {
  background: #0082ba;
  border-bottom-width: 0;
  padding: 20px;
  color: #fff;
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.knowledge-contest-rankings .table tbody tr td {
  border-bottom-width: 0;
  padding: 20px;
  color: #000;
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-top: 1px solid #d9d9d9;
}

.knowledge-contest-rankings .table-responsive table.table > tbody > tr > td {
  background-color: #fff;
  border-top: 1px solid #d9d9d9;
  text-align: center;
}

.knowledge-contest-rankings
  .table-responsive
  table.table
  > tbody
  > tr
  > td.col-point
  p {
  font-family: Nunito;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;

  background: var(--blue, linear-gradient(180deg, #1daeed 0%, #0082ba 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.knowledge-contest-rankings
  .table-responsive
  table.table
  > tbody
  > tr
  > td:nth-child(4) {
  width: auto;
}

table td,
table th {
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
}

/* knowledge-contest-rankings-end */

/* knowledge-contest-documents */
.knowledge-contest-documents {
  padding: 80px 0;
}

.knowledge-contest-documents .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.knowledge-contest-documents h3 {
  font-family: Nunito;
  font-size: 64px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;

  background: var(--blue, linear-gradient(180deg, #1daeed 0%, #0082ba 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.knowledge-contest-documents .row-card {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 17px;
  align-self: stretch;
  flex-wrap: wrap;
}

.knowledge-contest-documents .row-card .col-card {
  width: 32%;
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 4px 40px 0px rgba(0, 0, 0, 0.1);
  flex-direction: column;
}

.knowledge-contest-documents .row-card .col-card .img {
  width: 100%;
  max-height: 340px;
  align-self: stretch;
  object-fit: cover;
}

.knowledge-contest-documents .row-card .col-card .img img {
  width: 100%;
  aspect-ratio: 440/340;
  object-fit: cover;
}

.knowledge-contest-documents .row-card .col-card .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.knowledge-contest-documents .row-card .col-card .content .content-title {
  color: #000;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.knowledge-contest-documents .row-card .col-card .content .time {
  overflow: hidden;
  color: #000;
  font-family: Nunito;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  display: -webkit-box;
  width: 311px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.knowledge-contest-documents .row-card .col-card .content .content-button {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.knowledge-contest-documents .row-card .col-card .content .content-button .btn {
  display: flex;
  height: 49px;
  padding: 15px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border-radius: 99px;
  border: 1px solid #0082ba;
  background: rgba(0, 130, 186, 0.1);

  color: #0082ba;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.knowledge-contest-documents
  .row-card
  .col-card
  .content
  .content-button
  .btn-down {
  display: flex;
  gap: 10px;
  align-items: center;
  border: none;
  background: none;
}

.knowledge-contest-documents
  .row-card
  .col-card
  .content
  .content-button
  .btn-down
  p {
  color: #f55050;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.xem-them {
  border: none;
  display: flex;
  padding: 15px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 99px;
  border: 1px solid #0082ba;
  background: linear-gradient(
      0deg,
      rgba(0, 130, 186, 0.1) 0%,
      rgba(0, 130, 186, 0.1) 100%
    ),
    #fff;
  color: #0082ba;
  text-align: center;
  font-family: Nunito;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

@media screen and (max-width: 600px) {
  .p-100 {
    padding: 60px 0px;
  }

  .knowledge-contest-exam-stage-title {
    color: #0082ba;
    text-align: center;
  }

  .knowledge-contest-exam-stage .container {
    gap: 20px;
  }

  .knowledge-contest-exam-stage {
    padding: 80px 0;
    background-size: cover;
  }

  .knowledge-contest-rankings h3,
  .knowledge-contest-documents h3,
  .knowledge-contest-exam-stage-title {
    font-size: 50px;
    text-align: center;
  }

  .knowledge-contest-documents .row-card .col-card {
    width: 100%;
  }
}

@media screen and (max-width: 1025px) {
  .knowledge-contest-documents .row-card .col-card {
    width: 49%;
  }
}

@media screen and (max-width: 500px) {
  .knowledge-contest-documents .row-card .col-card {
    width: 100%;
  }
}

/* knowledge-contest-documents-end */

.title-page {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid #d9d9d9;
  background: #f6f6f6;
}

.title-page-card {
  display: flex;
  align-items: center;
  gap: 15px;
}

.title-page h2 {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.title-page h2.home {
  color: #0082ba;
}

.title-page h2.page {
  color: #000;
}

@media screen and (max-width: 600px) {
  .title-page {
    display: none;
  }
}
