/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.listas-numericas *::before, *::after {
    word-break: break-word;
}

.listas-numericas ol {
    counter-reset: section;
    list-style-type: none;
    padding-left:0;
}

.listas-numericas ol li {
    position: relative;
    padding-left: 4rem;
    min-height: 2.5rem;
    margin-bottom: 2rem;
}
.listas-numericas ol li::before {
    font-size: calc(32px + 6*(100vw - 320px)/960);
}

/* numero */

.listas-numericas ol li::before {
    counter-increment: section;
    content: "0" counters(section, "") " ";
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    font-weight: 600;
    color: #2977CE;
    width: 40px;
    height: 40px;
    text-align: left;
    line-height: 1;
    z-index: 2;
    white-space: nowrap;
}

.listas-numericas ol li:nth-child(n+10)::before {
    content: counter(section) " ";
}

/* circulo */

.listas-numericas ol li::after {
    content: "";
    display: block;
    position: absolute;
    top: .2em;
    left: 1.4em;
    width: 1.9em;
    height: 1.9em;
    background-image: url("/wp-content/uploads/2024/06/circle_yellow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 1;
}
