.academy-hidden {
  display: none;
}

section.academy {
  padding-bottom: 36px;
  h2 {
     font-size: 26px;
     margin: 0 0 6px;
     color: var(--color-a);
  }
}

.academy-lead {
  font-size: 25px;
  margin: 0 0 22px;
}

div.academy-cards {
  gap: 18px;
  grid-template-columns: repeat(2,1fr);
}

.academy-card {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 6px rgba(15,48,84,.05);
  font-size: 22px;
  .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  h3 {
    margin: 0 0 6px;
    font-weight: bold;
    color: var(--color-a);
  }
  p {
    margin: 0 0 10px;
    line-height: 1.55;
  }
  ul {
    margin: 0 0 12px;
    padding-left: 16px;
    line-height: 1.8;
  }
  .academy-best {
    color: #0c5a86;
    background: #e1f0f9;
    border-radius: 4px;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 19px;
    height: 3.6em;
  }
  .wp-block-buttons {
    gap: 8px;
    margin-top: auto;
  }
  .wp-block-button {
    display: inline-block;
    background-color: #0077B6;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    a:hover {
      text-decoration: none;
    }
  }
  .wp-element-button {
    padding: 0;
    border: none;
    background-color: #0077B6;
  }
}

.academy-topics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 0;
  font-size: 22px;
  li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    color: #334155;
  }
}

.academy-callout {
  font-size: 25px;
  p {
    color: #737a7f;
    line-height: 1.6;
    margin: 0 0 12px;
  }
}

div.academy-button {
  display: inline-block;
  font-size: 22px;
  padding: 7px 14px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #0077B6;
  color: #fff;
  cursor: pointer;
}
table.dataTable > thead > tr > th {
  border-bottom: 2px solid #d9e0e8;
}
.dt-container {
  font-size: 22px;
  button {
    font-size: 22px;
  }
  thead {
    color: #333;
    background-color: #f1f4f8;
  }
}
#dt-search-0 {
  width: calc(100% - 15px);
}
.dtsp-titleRow {
  display: none;
}
div.dtsp-topRow button.dtsp-collapseButton span.dtsp-caret {
  top: 11px;
}
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane {
  font-size: 18px;
  button {
    font-size: 18px;
    padding: 0;
  }
}
.dtsp-search {
  font-weight: bold;
}
.dt-paging, div.dt-container .dt-paging .dt-paging-button.disabled {
  color: #0077B6 !important;
}
div.dt-container .dt-paging .dt-paging-button.current {
  background-color: #0077B6;
  color: #fff !important;
}
.academy-browse table {
  font-size: 22px;
  img {
    width: 20px;
    height: 20px;
  }
  th, td {
    vertical-align: top;
  }
}

.academy-guide {
  .academy-progress {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 18px;
  }
  .academy-progress-container {
    flex: 1;
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidoen;
  }
  .academy-progress-bar {
    display: block;
    height: 100%;
    background-color: #0077b6;
    border-radius: 3px;
    width: 100%;
  }
  .academy-progress-text {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
  }
  .academy-question, .academy-guide-result {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(15,48,84,.05);
    padding: 20px;
  }
  .academy-answers {
    display: grid;
    gap: 8px;
    button {
      text-align: left;
      background: #fff;
      border: 1px solid #d9e0e8;
      border-radius: 6px;
      padding: 10px 12px;
      font-size: 12px;
      color: #333;
    }
  }
  .academy-previous {
    margin-top: 14px;
    font-size: 11px;
    color: #0077b6;
    font-weight: 600;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
  }
  .academy-guide-recommended {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #0c5a86;
    margin-bottom: 6px;
  }
  .academy-journey-button, .academy-guide-button {
    display: inline-block;
    font-weight: 600;
    font-size: 11px;
    padding: 7px 14px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: none;
    text-shadow: none;
  }
  .academy-journey-button {
    background: #0077b6;
    color: #fff;
    border: 1px solid #0077b6;
  }
  .academy-guide-button {
    background: #fff;
    color: #0077b6;
    border: 1px solid #0077b6;
  }
}
.academy, .academy-guide, .academy-browse {
  h3 {
    font-size: 26px;
    font-weight: bold;
    color: var(--color-a);
  }
  figure {
    margin-bottom: 2em;
    img {
      width: 500px;
    }
  }
}

@media screen and (max-width: 1300px) {
  div.academy-cards {
    grid-template-columns: 1fr;
  }

  .academy-topics {
      grid-template-columns: 1fr 1fr;
  }

  .academy-card .academy-best {
    height: auto;
  }

  div.academy-button {
    font-size: 18px;
  }
  .dt-container {
    font-size: 18px;
    button {
      font-size: 18px;
    }
  }
  div.dtsp-topRow button.dtsp-collapseButton span.dtsp-caret {
    top: 13px;
  }
  div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane {
    font-size: 14px;
    button {
      font-size: 14px;
    }
  }
  .academy-browse table {
    font-size: 18px;
  }
}

@media screen and (max-width: 800px) {
  div.academy-cards {
    grid-template-columns: 1fr;
  }

  .academy-topics {
    grid-template-columns: 1fr;
    font-size: 20px;
  }

  section.academy {
    padding-bottom: 24px;
  }

  .academy, .academy-guide, .academy-browse {
    figure {
      margin-bottom: 1em;
    }
  }

  .academy-lead {
    font-size: 22px;
  }

  .academy-card {
    font-size: 20px;
    .academy-best {
      font-size: 18px;
    }
    .wp-block-button {
      font-size: 18px;
    }
  }

  .academy-callout {
    font-size: 22px;
  }
}
