/*===================================Hero========================================*/
.section__hero {    
    object-fit: cover;
    background-size: cover;
    background-position-x: 70%;
    min-height: calc(100dvh - 10px);
}

.section__hero .row{
    min-height: 500px;
    padding-top: 100px;
}

.section__hero p{
    font-size: 1.2rem;
}

.section__hero p.top-title{
    font-size: .9rem;
    font-weight: 500;
}

.section__hero h1{
    font-size: 3rem;
    line-height: 3.2rem;
}

@media (min-width: 767px) {
    
}

@media (hover: hover) and (pointer: fine) {
	
	
    .section__hero{
        min-height: calc(100dvh - 10px);
		background-position-x: center;
    }

    .section__hero h1{
        font-size: 6rem!important;
        line-height: 6.2rem!important;
    }


}

/*===================================como funciona========================================*/

.neone-como-funciona .neone-label{
    color:var(--text);
    font-size: .9rem;
    font-weight: 500;
}

.neone-como-funciona .neone-como-funciona__numero{
    font-family: var(--font-display);
    font-size: 2rem;
}

.neone-como-funciona .row.line{
    border-top:1px dashed #D3CCC5;
    border-bottom: 1px dashed #D3CCC5;
}


/* ====================================neone-imagen-cards ========================================*/

.neone-imagen-card > div {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: .3s;
}

.neone-imagen-card > div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.neone-imagen-card > div:hover{
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 20px -10px;
    transform: translateY(-10px);
}



.neone-imagen-card > div > * {
    position: relative;
    z-index: 2;
}

.neone-imagen-cards .neone-imagen-card{
    min-height: 400px;
    border-radius: 20px;
}

.neone-imagen-cards .neone-imagen-card > div{
    border-radius: 20px;
}

/* ==================================== neone-como-se-vive ====================================*/
.neone-como-se-vive{
    background-color: var(--dark);
}


.neone-como-se-vive .border-custom{
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    min-height: 250px;
}

.neone-como-se-vive .border-custom img{
    width: 50px;
    height: 50px;
    background: rgba(252, 177, 36, 0.03);
    border: 1px solid rgba(252, 177, 36, 0.1);
    border-radius: 10px;
    padding: 10px;
}

/* ==================================== neone-cta-banner ==================================== */

.neone-cta-banner{
    background-color: var(--yellow);
}

/* ==================================== neone-cursos ==================================== */


/* Tabs */
.neone-cursos__tab {
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    box-shadow: none;
}

.neone-cursos__tab--active,
.neone-cursos__tab:hover,
.neone-cursos__tab:focus {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.neone-cursos__tab:hover:not(.neone-cursos__tab--active) {
    border-color: var(--dark);
    color: var(--dark);
    background-color: var(--white)!important;
}



/* Search */
.neone-cursos__search-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--white);
    padding: 5px 5px 5px 18px;
    gap: 8px;
}

input#neone-curso-search {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: .875rem;
    color: var(--dark);
    outline: none;
    min-width: 0;
    box-shadow: none;
}

.neone-cursos__search-input::placeholder {
    color: var(--muted);
}

/* quita el ícono nativo del input[type=search] */
.neone-cursos__search-input::-webkit-search-decoration,
.neone-cursos__search-input::-webkit-search-cancel-button { display: none; }

.neone-cursos__search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    flex-shrink: 0;
    transition: background .2s;
    padding: 0px;
}

.neone-cursos__search-btn svg{
    width: 16px;
    height: 16px;
}

.neone-cursos__search-btn:hover,
.neone-cursos__search-btn:focus,
.neone-cursos__search-btn:active {
    background: var(--yellow-hover);
}

.neone-cursos__search-btn:hover svg,
.neone-cursos__search-btn:focus svg,
.neone-cursos__search-btn:active svg{
    color: var(--dark)!important;
}

/* Card de idioma */
.neone-curso-item {
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--border);
    text-decoration: none;
    min-height: 190px;
    position: relative;
    transition: .3s;
    border-radius: 20px;
}

.neone-curso-item:hover {
    background: var(--yellow);
    border-color: var(--yellow);   
    transform:translateY(-10px); 
}

.neone-curso-item__numero {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--yellow);
    display: block;
    margin-bottom: auto;
    transition: color .2s;
}

.neone-curso-item:hover .neone-curso-item__numero {
    color: var(--dark)!important;
    
}

.neone-curso-item__nombre {
    font-family: var(--font-display);
    color:var(--dark);
}

.neone-curso-item__arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: background .2s, border-color .2s, color .2s;
}

.neone-curso-item:hover .neone-curso-item__arrow {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

/* ============================neone-stats===================================== */

.neone-stats{background-color: var(--dark);}
.neone-stats .neone-stats__numero{
    font-size: 3rem;
    font-family: var(--font-display);
    margin-bottom: 0px;
}
.neone-stats .neone-stats__label{
}
.neone-stats .box{
    padding: 20px;
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
}


.neone-stats .box ul li{
    background: rgba(139, 133, 127, 0.1);
    border-radius: 25px;
    padding: 5px 10px;
    font-size: .8rem;
}

.neone-stats__convenio-label{
    font-size: .75rem;
}


@media (hover: hover) and (pointer: fine) {
    .neone-stats .box{
        padding: 50px;
        gap: 50px;
    }
}

/* ============================ blog ============================ */

.neone-blog-preview .wrap{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neone-blog-card{
    border:1px solid var(--border);
    border-radius: 10px;
    padding: 5px;
    transition: .3s;
}

.neone-blog-card:hover{
    box-shadow: 0px 4px 20px -10px rgba(0, 0, 0, 0.25);
    border-color: var(--yellow);
}



.neone-blog-card time{
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    top:10px;
    left: 10px;
    color:var(--dark);
    padding: 5px 10px;
    font-size: .8rem;
}


.neone-blog-card img{
    max-height: 300px;
    min-height: 300px;
    object-fit: cover;
}

.neone-blog-card a.text-yellow:hover{
    color:var(--yellow);
}

@media (hover: hover) and (pointer: fine) {
    .neone-blog-preview .wrap {
        flex-flow: row;
        align-items: stretch;
    }

    .neone-blog-preview .neone-blog-card {
        height: auto !important; /* override Bootstrap h-100 que rompe stretch en flex row */
        display: flex;
        flex-direction: column;
    }

    .neone-blog-preview .neone-blog-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .neone-blog-preview .neone-blog-card__body p {
        flex: 1;
    }

    .neone-blog-preview .wrap > .neone-blog-card:first-child {
        width: 150%;
    }

    .neone-blog-preview .wrap > .neone-blog-card:first-child h5 {
        font-size: 2.5rem;
    }

    .neone-blog-preview .wrap > .neone-blog-card p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}


/* ========================= cta final ====================== */

.neone-cta-final{
    background-color: var(--dark);
}