/* Página inicial: foto acima do texto */

.hero-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-photo {
    width: 160px;
    height: 160px;
    margin-bottom: 22px;
    border: 2px solid rgba(0, 210, 255, 0.8);
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 5px rgba(0, 210, 255, 0.08),
        0 0 24px rgba(132, 92, 246, 0.25);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    margin-top: 0;
}

.hero-content > p:nth-of-type(2) {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

/* Adaptação para celular */

@media (max-width: 768px) {
    .hero-photo {
        width: 96px;
        height: 96px;
        margin-bottom: 18px;
    }

    .hero-content > p:nth-of-type(2) {
        max-width: 92%;
    }
}

/* Página Projets */

.projects-page {
    padding: 64px 24px;
}

.projects-container {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.projects-header {
  margin-bottom: 36px;
  text-align: center;
}

.projects-header h1 {
    display: inline-block;
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.4;

    background: linear-gradient(
        90deg,
        #20c9ff,
        #7b79e8,
        #ef6596
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.projects-introduction {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.08rem;
  line-height: 1.7;
}

.projects-empty {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Organização interna dos cartões de projetos */

.portfolio-content {
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-content .project-type {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.72);
}

.portfolio-content h2 {
    margin: 0 0 12px;
}

.portfolio-content h2 a {
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-content h2 a:hover {
    color: #20c9ff;
}

.portfolio-content > p {
    margin: 0 0 18px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.project-button {
    margin-top: auto;
    padding-top: 4px;
}

/* Grade dos projetos: dois cartões por linha */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

/* Enquanto existir somente um projeto de teste,
   ele fica centralizado e com metade da largura */

.portfolio-grid > .portfolio-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 28px) / 2);
    justify-self: center;
}

/* No celular: um cartão por linha */

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .portfolio-grid > .portfolio-item:only-child {
        grid-column: auto;
        width: 100%;
    }
}

/* Imagens de capa dos projetos */

.project-cover {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.project-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Página detalhada de cada projeto */

.project-detail-page {
    padding: 64px 24px 96px;
}

.project-detail-container {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.project-back {
    display: inline-block;
    margin-bottom: 40px;
    color: #20c9ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.project-back:hover {
    color: #ef6596;
    transform: translateX(-4px);
}

.project-detail-header {
    max-width: 850px;
    margin: 0 auto 30px;
    text-align: center;
}

.project-detail-type {
    margin: 0 0 14px;
    color: #20c9ff;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.project-detail-header h1 {
    margin: 0 0 22px;
    padding-bottom: 0.08em;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.25;

    background: linear-gradient(
        90deg,
        #20c9ff,
        #7b79e8,
        #ef6596
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.project-detail-description {
    max-width: 760px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.7;
}

.project-detail-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 18px;
}

.project-detail-content {
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
    hyphens: auto;
    text-wrap: pretty;
}

.project-detail-content a {
    color: #20c9ff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.project-detail-content a:hover {
    color: #ffffff;
}

.project-detail-content h2 {
    margin-top: 36px;
    margin-bottom: 14px;
    color: #b7e9f7;
    font-size: 1.55rem;
}

.project-detail-content > h2:first-child {
    margin-top: 0;
}

.project-detail-content p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
}

.project-detail-content ul {
    margin: 8px 0 24px;
    padding-left: 1.5rem;
}

.project-detail-content li {
    margin-bottom: 8px;
    padding-left: 0.15rem;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .project-detail-page {
        padding: 40px 20px 72px;
    }

    .project-back {
        margin-bottom: 30px;
    }

    .project-detail-header {
        margin-bottom: 36px;
    }
}

/* Espaçamento das ferramentas na página do projeto */

.project-detail-tools {
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    text-align: center;
}

.project-detail-tools .project-tool + .project-tool::before {
    content: " · ";
    margin: 0 4px;
    color: #20c9ff;
}

/* Aperçu du projet */

.project-preview {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.project-preview h2 {
    margin: 0 0 24px;
    color: #b7e9f7;
    font-size: 1.55rem;
    line-height: 1.3;
    text-align: left;
}

/* Capa ocupando toda a largura interna do cartão */

.portfolio-item .project-cover {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 16 / 9;
}

.portfolio-item .project-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Imagem de capa na página detalhada do projeto */

.project-detail-cover {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 2px 8px rgba(63, 69, 81, 0.16);
}

.project-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Genially ou outra realização incorporada */

.project-embed {
    max-width: 1000px;
    margin: 64px auto 0;
}

.project-embed h2 {
    margin-bottom: 24px;
    text-align: center;
    color: #f5f5f7;
    font-size: 1.7rem;
}

.project-embed-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.03);
}

.project-embed-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Página Articles */

.articles-page {
    min-height: calc(100vh - 165px);
    padding: 64px 24px 96px;
    box-sizing: border-box;
}

.articles-container {
    width: min(100%, 1180px);
    margin: 0 auto;
}

/* Cabeçalho da página */

.articles-header {
    max-width: 950px;
    margin: 0 auto 48px;
    text-align: center;
}

.articles-header h1 {
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 0.08em;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.4;

    background: linear-gradient(
        90deg,
        #20c9ff,
        #7b79e8,
        #ef6596
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.articles-introduction {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.7;
}

/* Grade: três artigos por linha */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
    width: 100%;
}

/* Se houver número ímpar de artigos,
   o último fica centralizado */
.articles-grid > .article-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 28px) / 2);
    justify-self: center;
}

/* Cartão */

.article-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.article-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 0 0;
}

.article-card-date {
    margin-bottom: 13px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.article-card h2 {
    margin: 0 0 14px;
    color: #f5f5f7;
    font-size: 1.55rem;
    line-height: 1.3;
}

.article-card-description {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.article-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.article-tag {
    padding: 5px 10px;
    border: 1px solid rgba(32, 201, 255, 0.3);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s ease,
                border-color 0.2s ease,
                background 0.2s ease;
}

.article-tag:hover {
    color: #20c9ff;
    border-color: rgba(32, 201, 255, 0.7);
    background: rgba(32, 201, 255, 0.07);
}

.article-card-button {
    align-self: flex-start;
    margin-top: auto;
}

/* Tamanhos menores */

@media (max-width: 1000px) {
    .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .articles-grid > .article-card:only-child {
        width: calc((100% - 28px) / 2);
    }
}

@media (max-width: 700px) {
    .articles-page {
        padding: 40px 20px 72px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .articles-grid > .article-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .article-card {
        padding: 22px;
    }
}

/* Página interna dos artigos */

.article-detail-page {
    min-height: calc(100vh - 165px);
    padding: 64px 24px 96px;
    box-sizing: border-box;
}

.article-detail-container {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.article-back {
    display: inline-block;
    margin-bottom: 40px;
    color: #20c9ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-back:hover {
    color: #ef6596;
    transform: translateX(-4px);
}

.article-detail-header {
    max-width: 850px;
    margin: 0 auto 52px;
    text-align: center;
}

.article-detail-date {
    display: block;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

.article-detail-header h1 {
    margin: 0 0 22px;
    padding-bottom: 0.08em;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    line-height: 1.18;

    background: linear-gradient(
        90deg,
        #20c9ff,
        #7b79e8,
        #ef6596
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.article-detail-description {
    max-width: 760px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-detail-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.article-detail-cover {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 42px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    aspect-ratio: 16 / 9;
}

.article-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-detail-content {
    max-width: 850px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
    hyphens: auto;
}

.article-detail-content h2 {
    margin: 48px 0 16px;
    color: #b7e9f7;
    font-size: 1.65rem;
    line-height: 1.35;
}

.article-detail-content h2:first-child {
    margin-top: 0;
}

.article-detail-content p {
    margin: 0 0 22px;
}

.article-detail-content ul,
.article-detail-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.article-detail-content li {
    margin-bottom: 9px;
}

.article-detail-content a {
    color: #20c9ff;
}

@media (max-width: 700px) {
    .article-detail-page {
        padding: 40px 20px 72px;
    }

    .article-back {
        margin-bottom: 30px;
    }

    .article-detail-header {
        margin-bottom: 36px;
    }
}

/* ========================================
   PARCOURS
   ======================================== */

.parcours-page {
  padding: 72px 24px 96px;
}

.parcours-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* En-tête */

.parcours-header {
  max-width: 850px;
  margin: 0 auto 28px;
  text-align: center;
}

.parcours-header h1 {
  display: inline-block;
  margin: 0 0 14px;
  padding-bottom: 0.08em;
  text-align: center;
  font-size: clamp(2.6rem, 5vw, 4em);
  line-height: 1.2;

  background: linear-gradient(
        90deg,
        #20c9ff,
        #7b79e8,
        #ef6596
    );

   background-clip: text;
   -webkit-background-clip: text;
   color: transparent;
   -webkit-text-fill-color: transparent;
}

.parcours-description {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.8;
}

/* Contenu */

.parcours-content {
  max-width: 900px;
}

.parcours-content > p {
  margin: 0 0 18px;
  line-height: 1.75;
}

.parcours-content h2 {
  margin: 64px 0 28px;
  padding-bottom: 12px;
  font-size: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #b7e9f7;
}

.parcours-content h2:first-of-type {
  margin-top: 32px;
}

.parcours-content h3 {
  margin: 42px 0 8px;
  padding-top: 0;
}

.parcours-content h2 + h3 {
  margin-top: 0;
}

/* Intitulé + date : proches du nom de l’établissement */
.parcours-content h3 + p {
  margin: 0 0 12px;
}

/* Description : proche du bloc de formation */
.parcours-content h3 + p + p {
  margin: 0;
}

.parcours-content ul {
  margin: 14px 0 28px;
  padding-left: 22px;
}

.parcours-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}



/* Mobile */

@media (max-width: 768px) {
  .parcours-page {
    padding: 48px 20px 72px;
  }

  .parcours-header {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .parcours-content h2 {
    margin-top: 32px;
  }
}

/* Cards des expériences dans Parcours */

.parcours-card {
  margin: 0 0 28px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.parcours-card h3 {
  margin: 0 0 10px;
}

.parcours-card p:last-of-type {
  margin-bottom: 14px;
}

.parcours-cv {
  margin-top: 24px;
}

/* ========================================
   À PROPOS
   ======================================== */

.about-page {
  padding: 72px 24px 96px;
}

.about-page-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* En-tête */

.about-page-header {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.about-page-header h1 {
  display: inline-block;
  margin: 0 0 16px;
  padding-bottom: 0.08em;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.2;

  background: linear-gradient(
    90deg,
    #20c9ff,
    #7b79e8,
    #ef6596
  );

  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.about-page-description {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #c9c3f3;
}

/* Contenu */

.about-page-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-page-content p {
  margin: 0 0 22px;
}

.about-page-content p:last-child {
  margin-bottom: 0;
}

.about-page-content h2 {
  margin: 48px 0 18px;
  color: #b7e9f7;
  font-size: 1.65rem;
  line-height: 1.35;
}

.about-page-content strong {
  color: #20c9ff;
}

/* Contact */

.about-contact {
  max-width: 820px;
  margin: 36px auto 0;
  text-align: left;
}

.about-contact h2 {
  margin: 0 0 18px;
  color: #b7e9f7;
  font-size: 1.65rem;
  line-height: 1.35;
}

.about-contact p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

/* Mobile */

@media (max-width: 768px) {
  .about-page {
    padding: 48px 20px 72px;
  }

  .about-page-header {
    margin-bottom: 32px;
  }
}

.btn-github {
  background: linear-gradient(
    135deg,
    #6f6fe8,
    #d96aa7
  );
  color: #fff;
  border: none;
}

.btn-github:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ========================================
   PAGES DE TAGS
   ======================================== */

.term-page {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.term-title {
    margin: 0 0 56px;
    text-align: center;
    color: #20c9ff;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    text-transform: none !important;
}

/* Lista temática */
.term-grid {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Cada resultado */
.term-card {
    display: block;
    width: 100%;
    padding: 30px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    background: transparent;
}

.term-card:first-child {
    padding-top: 0;
}

.term-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Tipo de conteúdo */
.term-content-type {
    display: block;
    margin-bottom: 10px;
    color: #20c9ff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Título */
.term-card-title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.35;
}

.term-card-title a {
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.term-card-title a:hover {
    color: #20c9ff;
}

/* Data */
.term-date {
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

/* Description */
.term-description {
    max-width: 780px;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

/* "Découvrir" vira um link discreto */
.term-card .term-button {
    display: inline-block;
    margin-top: 2px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #20c9ff;
    text-decoration: none;
}

.term-card .term-button::after {
    content: " →";
}

.term-card .term-button:hover {
    color: #ef6596;
    background: transparent;
    box-shadow: none;
    transform: none;
}

/* Mobile */
@media (max-width: 700px) {
    .term-page {
        padding: 48px 20px 72px;
    }

    .term-title {
        margin-bottom: 40px;
    }

    .term-card {
        padding: 26px 0;
    }
}

.btn-contact-primary {
    background: linear-gradient(
        135deg,
        rgba(32, 201, 255, 0.12),
        rgba(123, 121, 232, 0.16)
    );
    color: #f5f5f7;
    border: 1px solid rgba(32, 201, 255, 0.85);
    box-shadow: none;
}

.btn-contact-primary:hover {
    background: linear-gradient(
        135deg,
        rgba(32, 201, 255, 0.18),
        rgba(123, 121, 232, 0.22)
    );
    transform: translateY(-2px);
}

.about-contact-buttons .btn-secondary:not(.btn-contact-primary) {
    background: linear-gradient(
        135deg,
        rgba(32, 201, 255, 0.06),
        rgba(123, 121, 232, 0.08)
    );
    border-color: rgba(32, 201, 255, 0.75);
    color: #20c9ff;
}

.about-contact-buttons .btn-secondary:not(.btn-contact-primary):hover {
    background: linear-gradient(
        135deg,
        rgba(32, 201, 255, 0.12),
        rgba(123, 121, 232, 0.15)
    );
}

.term-card h2 a,
.term-card h2 a:visited {
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.term-card h2 a:hover {
    color: #20c9ff;
}

a[href*="amosglenn.com"],
a[href*="amosglenn.com"]:visited {
    color: #f5f5f7;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #20c9ff;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a[href*="amosglenn.com"]:hover {
    color: #20c9ff;
}

.term-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.term-item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.term-item:first-child {
    padding-top: 0;
}

.term-item:last-child {
    border-bottom: none;
}

.term-item h2 {
    margin: 10px 0 8px;
}

.term-item h2 a,
.term-item h2 a:visited {
    color: #f5f5f7;
    text-decoration: none;
    transition: color 0.2s ease;
}

.term-item h2 a:hover {
    color: #20c9ff;
}

.term-item .term-description {
    margin: 16px 0 20px;
    line-height: 1.7;
}