main section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Cambia a flex-start para alinear arriba */
    align-items: center;
    padding: 1em 1em;
    gap: 2em;
    position: relative;
}
  

.btnBack-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1em;
}
main section .btnBack {
    display: flex;
    align-items: center;
    gap: 0.7em;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.7em 1.5em 0.7em 1em;
    border-radius: 2em;
    color: var(--white-f);
    background: linear-gradient(90deg, #2d2d2d 60%, #4e4e4e 100%);
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.18);
    letter-spacing: .08em;
    border: none;
    outline: none;
    transition: background 0.3s, scale .3s, box-shadow .3s;
    cursor: pointer;
}
main section .btnBack:hover {
    background: linear-gradient(90deg, #c0392b 60%, #e74c3c 100%);
    scale: 1.05;
    box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 0.7);
}

main section .btnBack .icon-back {
    width: 1.6em;
    height: 1.6em;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2em;
}



    main section nav ul {
        display: flex;
        gap: 1.5em;
        list-style: none;
    }
    main section nav ul li button {
        border: none;
        background:none;
        font-size: 1.5rem;
        color: white;
        padding: .6em;
        box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.2);
        border-radius: 1em;
        background-color: var(--bg-trans-black);
        transition: scale .5s, box-shadow .5s;
    }
    main section nav ul li button:hover {
        scale: 1.1;
        box-shadow: 0px 0px 30px 0px rgba(255, 255, 255, 1);
    }

    main section h1 {
        font-size: 4rem;
        margin: 0;
        -webkit-text-stroke: .1rem rgba(255, 255, 255, 1);
        font-weight: normal;
        color: transparent;
        font-family: 'Roboto';
        text-shadow: 0px 0px 4rem rgba(255, 0, 0, 0.8);
        text-align: center;
    }
    main section h2 {
        text-align: center;
    }
    main section .name {
        font-size: 1.7rem;
        margin-bottom: 1.5em;
        text-shadow: 0px 0px 4rem rgba(255, 0, 0, 0.8);
        letter-spacing: .06em;
    }
 
    /* Sección principal */
.section-term {
    max-width: 900px;
    margin: 2em auto;
    padding: 2em 1.5em;
    border-radius: 2em;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10);
}

.section-term-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
    margin-bottom: 2em;
}


/* Título principal */
.section-term h1 {
    font-size: 4rem;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    text-align: left;
    letter-spacing: .03em;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

/* Subtítulo */
.section-term .name {
    font-size: 2rem;
    margin-bottom: 2em;
    color: #FEE500ff;
    font-family: 'Roboto', Arial, sans-serif;
    text-align: left;
    text-shadow: none;
    letter-spacing: .04em;
}

/* Artículos */
.section-term article {
    background: #f7f7f9;
    border-radius: 1.2em;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
    padding: 2em 1.5em;
    margin-bottom: 1.5em;
    border: 1px solid #ececec;
    transition: box-shadow 0.2s;
}



.section-term article h1 {
    font-size: 1.6rem;
    color: #000000;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 0.7em;
    letter-spacing: .04em;
    text-shadow: none;
}

.section-term .footer-term {
    background-color: #FEE500ff;
    border: none;
    font-weight: bold;
}

.section-term .footer-term p {
    background-color: #FEE500ff;
    border: none;
    font-weight: bold;      
    font-size: 1.5rem;        
    margin: 0;
    color: #222;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.7;
    text-shadow: none;
}


.section-term article p {
    font-size: 1.3rem;
    color: #222;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    text-shadow: none;
}

/* Tablet: una columna */
@media (max-width: 1020px) {
    .section-term-articles {
        grid-template-columns: 1fr;
        gap: 1.2em;
    }
    .section-term {
        padding: 1.2em 0.5em;
        border-radius: 1em;
    }
    .section-term article {
        padding: 1.2em 0.7em;
        border-radius: 0.7em;
    }
    .section-term h1 {
        font-size: 2.2rem;
    }
    .section-term .name {
        font-size: 1.2rem;
    }
    .section-term article h1 {
        font-size: 1.2rem;
    }
    .section-term article p,
    .section-term .footer-term p {
        font-size: 1rem;
    }
}

/* Móvil: igual que tablet, pero más compacto */
@media (max-width: 700px) {
    .section-term {
        padding: 1em 0.3em;
        border-radius: 0.7em;
    }
    .main-title{
        margin-top: 3rem;
    }
    .section-term-articles {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    .section-term h1 {
        font-size: 2.8rem;
        padding-top: 0.85rem;
    }
    .section-term .name {
        font-size: 1.5rem;
    }
    .section-term article {
        padding-left: 1em ;
        padding-right: 1em ;
        border-radius: 0.5em;
        margin: 1em;
    }
    .section-term article h1 {
        font-size: 1.7rem;
    }
    .section-term article p,
    .section-term .footer-term p {
        font-size: 1.4rem;
    }
}