/* Estilos de PadesPress */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Libre+Franklin:wght@200;300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@200;300;400;500;600;700&family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500;700&family=Shantell+Sans:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&family=Work+Sans:wght@200;300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    font-size: 62.5%;
}
body {
    font-size: 1.4rem;
    color: #333;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    margin-bottom: 1rem;
}
h1 {
    font-size: 2.6rem;
    line-height: 1.7;
    font-weight: 500;
}
h2 {
    font-size: 2.25rem;
    line-height: 1.7;
    font-weight: 500;
}
h3 {
    font-size: 1.875rem;
    line-height: 1.6;
    font-weight: 500;
}
h4 {
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
}
h5 {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 500;
}
h6 {
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 500;
}
select {
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.8rem .5rem;
    outline: none;
}
input {
    outline: none;
    border-radius: 5px;
}
ul, ol {
    margin-left: 2.5rem;
}
ul {
    list-style-type: disc;
}
ol {
    list-style-type: decimal;
}
#comments ol {
    list-style-type: none;
    margin-left: 0px;
}
/* Header */
.sub-menu {
    transition-duration: 3s;
}
.sub-menu a svg, .sub-menu .sub-menu {
    display: none !important;
}

/* Menu B - Submenus hover */
#menu-b .menu-item-has-children {
    position: relative;
}
#menu-b .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1000;
    flex-direction: column;
    margin-top: 0;
}
/* Área invisible para mantener el hover */
#menu-b .menu-item-has-children .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}
#menu-b .menu-item-has-children:hover > .sub-menu {
    display: flex !important;
}
#menu-b .sub-menu li {
    width: 100%;
    list-style: none;
}
#menu-b .sub-menu a {
    padding: 0.75rem 1.5rem;
    display: block;
    width: 100%;
    white-space: nowrap;
}
#menu-b .sub-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Slider*/
.slider {
    position: relative;
    width: 100%;
    height: 40rem;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active {
    opacity: 1;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -10%);
    color: white;
    text-align: center;
}
.slide-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.slide-text p {
    font-size: 1.5rem;
}
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 100;
}
.slider-prev {
    left: 1rem;
}
.slider-next {
    right: 1rem;
}

/* the_posts_pagination(), comments_template() */
.pagination, .comments-pagination {
    border-top: 1px solid #ccc;
    text-align: center;
}
.pagination .page-numbers, .comments-pagination .page-numbers {
    padding: 1rem 1.5rem;
    display: inline-block;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.comments-pagination .page-numbers.current,
.comments-pagination .page-numbers:hover  {
    margin-top: -1px;
}
.pagination .prev, .comments-pagination .prev {
    float: left;
}
.pagination .next, .comments-pagination .next {
    float: right;
}
.comments-pagination .page-numbers.current,
.comments-pagination .page-numbers:hover  {
    border-top: 1px solid var(--color_primario);
}

/* Widgets */
aside .widget ul {
    list-style-type: disc !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
aside .widget ul {
    margin-left: 2.5rem;
}
aside .widget nav .menu-item-has-children ul,
aside .widget nav .menu-item-has-children svg {
    display: none;
}
aside .widget .wp-block-heading {
    font-weight: 600;
    margin: 0px;
}
aside .widget h1.wp-block-heading {
    font-size: 3rem;
    line-height: 1;
}
aside .widget h2.wp-block-heading {
    font-size: 2.25rem;
    line-height: 2.5rem;
}
aside .widget h3.wp-block-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

/* Comentarios */
.comment-body {
    color: #333;
    margin-left: 65px;
    margin-bottom: 4rem;
}
.comment-meta {
    margin-bottom: 1.5em;
}
.comment-author {
    margin-bottom: 0.4em;
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
}
.comment-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    left: -65px;
    position: absolute;
}
.comment-author .says {
    display: none;
}
.comment-metadata {
    color: #767676;
    font-weight: 500;
    font-size: 1.3rem;
}
.comment-metadata a.comment-edit-link {
    color: #222;
    margin-left: 1em;
}
.comment-content p {
    margin: 0 0 1rem;
}
.comment-reply-link {
    font-weight: 600;
    position: relative;
}
.comment-reply-link .icon {
    color: #222;
    left: -2em;
    position: absolute;
}
.form-submit {
    text-align: right;
}
#submit {
    background-color: #222 !important;
    color: #fff;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    padding: 1em 2em;
    transition: background 0.2s;
}
#submit:hover {
    background-color: #777;
    color: #fff;
    transition: background 0.2s;
}
#respond form p {
    gap: 1rem;
    display: grid;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
#respond form p.comment-form-cookies-consent {
    display: block;
}
#respond form textarea, #respond form input {
    background: #fff;
    border: 1px solid #bbb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow: auto;
}
.comment-list ol.children, .comment-list ol .children {
    padding-left: 0rem;
}
@media screen and (min-width: 48em) {
    .comment-list ol.children, .comment-list ol .children {
        padding-left: 4rem;
    }
}
.children .comment-author .avatar {
    height: 30px;
    left: -45px;
    width: 30px;
}
body {
width: 100%
}