.temarios_main {
    box-sizing:border-box;
    float: left;
    width: 100%;
    .descubre_temarios {
        background: linear-gradient(to bottom, #fff, #f7f8f9);
        > div.wrap{
            display: grid;
            grid-template-columns:1fr 1fr;
            min-height: 420px;
            box-sizing: border-box;
            
            .texto {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 60px 80px;

                h2 {
                    font-size: 20px;
                    font-weight: bold;
                    text-transform: uppercase;
                    color:var(--azul_def);
                    margin:0 0 20px;;
                }

                h1 {
                    font-size: 51px;
                    font-weight: bold;
                    color:var(--azul_def);
                    line-height: 1;
                    margin:0;
                }

                p {
                    font-size: 17px;
                    color: #555;
                    margin: 32px 0 ;
                    line-height: 1.5;
                }

                .pidelos_ya {
                    display: inline-block;
                    background: var(--azul_def);
                    border-radius:6px;
                    color: #fff;
                    padding: 6px 28px;
                    font-size: 16px;
                    text-decoration: none;
                    align-self: flex-start;
                    text-transform:uppercase;
                    transition: background-color .35s ease, transform .35s ease;
                }
            }
            .imagen{
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }
        }
    }

    .material_estudio {
        background: linear-gradient(to bottom, #fff, #f7f8f9);
        > div.wrap{
            padding: 60px 80px;
            box-sizing: border-box;
            h2 {
                font-family: Inter;
                font-weight: 800;
                font-size: 26px;
                color:var(--azul_def);
                margin:0 0 10px;;
            }
            p {
                font-size: 17px;
                color: #555;
                margin: 0 0 32px;
                line-height: 1.5;
            }
        }
        .listado{
            display:grid;
            grid-template-columns:repeat(3, 1fr);
            gap: 20px;
            > a{
                text-decoration:none;
                text-align: center;
                display: grid;
                flex-direction: column;
                gap: 0;
                color:inherit;
                grid-template-rows: auto auto auto 1fr auto auto;
                &:has(.proximamente){
                    pointer-events:none;
                    opacity:0.8;
                }
                .img_wrap{
                    overflow: visible;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }
                img{
                    max-height:260px;
                    width:auto;
                    max-width:100%;
                    margin: 0 auto;
                    transition: transform .35s ease;
                    transform-origin: center center;
                }
                &:hover img{
                    transform: scale(1.1) rotate(5deg);
                }
                h3{
                    font-size:22px;
                    color:var(--azul_def);
                    margin:12px 0 0;
                }
                h4{
                    font-size:14px;
                    margin:6px 0 12px;
                    color:var(--azul_def);
                }
                p{
                    margin:0;
                    max-width:300px;
                    margin: 0 auto 18px;
                    font-size:14px;
                }
                .precio{
                    font-size: 16px;
                    color:var(--azul_def);
                    font-weight: bold;
                    span{
                        font-weight:normal;
                    }
                }
                .mas_informacion{
                    display: inline-block;
                    background: var(--azul_def);
                    border-radius:6px;
                    color: #fff;
                    padding: 6px 28px;
                    font-size: 14px;
                    text-decoration: none;
                    margin:18px auto 0;
                    transition: background-color .35s ease;
                    &:hover{
                        background-color:var(--gold);
                    }
                }
            }
        }
    }
}