/*
Theme Name: iam
Theme URI: 
Author: Juan Berrios
Author URI: https_//juanberrios.com
Description: Tema para Ideas al Margen
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iam
Tags: 
*/

/* :root :where(.is-layout-flow) > * {
    margin-block-start: auto;
    margin-block-end: auto;
} */

.iam-category a {
    background-color: var(--wp--preset--color--light-gray);
    color: var(--wp--preset--color--black);
    text-decoration: none;
    font-size: var(--wp--preset--font-size--small);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-weight: 700;
}

.wp-block-navigation-item a {
    &:hover {
        color: var(--wp--preset--color--primary) !important;
    }
}

.wp-block-navigation li.has-child ul li a {
    color: var(--wp--preset--color--black) !important;
    font-weight: 400 !important;
    &:hover {
        color: var(--wp--preset--color--primary) !important;
    }
}

.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
    min-width: 250px !important;
}

.post-card {
    &:hover {
        background-color: rgba(0, 0, 0, 0.06) !important;
    }
}

ul.wp-block-list {
    list-style: none;
    padding-left: 0;
}

ul.wp-block-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

ul.wp-block-list li::before {
    content: '';
    background-image: url('/wp-content/uploads/2025/03/icon-feather.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
}