/*
 Theme Name: Blockbase Child
 Theme URI: https://bitucasalim.com.br
 Description: Tema filho do Blockbase
 Author: Lucas
 Author URI: https://bitucasalim.com.br
 Template: blockbase
 Version: 1.0.0
*/

form[role=search] .wp-block-search__inside-wrapper {
    height: 40px !important;
}
form[role=search] .wp-block-search__inside-wrapper .wp-block-search__button {
    padding: 5px 10px !important;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
}

.wp-block-site-logo {
    margin: 0 !important;
}
/* .wp-block-site-logo .custom-logo-link img {
    width: 280px;
} */
.wp-block-site-title {
    display: none;
}
header.wp-block-template-part .site-header {
    box-shadow: gray 1px 8px 8px -8px;
}
@media (max-width: 600px) {
    /* .wp-block-site-logo .custom-logo-link img {
        width: 200px;
    } */
    header.wp-block-template-part .site-header {
        padding: 16px 22px !important;
    }
    .frase-header {
        display: none;
    }
    .pesquisa-header button {
        height: 50px;
        width: 50px;
        padding: 0;
        align-items: center;
    }
}

.wp-block-group.site-brand {
    margin: 0 !important;
}
.wp-site-blocks .site-header .site-brand {
    display: block !important;
}

.author-box {
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-radius: 12px;
}
@media (max-width: 600px) {
    .author-identity {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}
@media (min-width: 600px) {
    .author-identity {
        display: flex;
        flex-direction: row;
        gap: 26px;
    }
}

button.wp-block-search__button {
    padding: 17px 20px;
}

.author-identity img {
    border-radius: 50%; 
}

.author-name {  
    font-size: 2.6rem;
    margin: 0;
}

.author-bio {
    margin-top: 0;
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 400;
}

.author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: center;
    margin-top: 4px;
}

.author-socials a {
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.85;
    color: green;
}

.post-image {
    display: flex;
    justify-content: center !important;
}
.post-image img {
    /* width: 60% !important; */
    max-width: var(--wp--style--global--content-size);
}

.author-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    background-color: white;
    border-radius: 6px;
    gap: 10px;
    /* box-shadow: var(--wp--preset--shadow--natural); */
    border: 1px solid #F9FAFB;
    align-items: start;
}
/* .item-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
} */
.author-socials a {
    position: relative;
    z-index: 2;
}

.author-avatar {
    display: flex;
    flex: 1;
}
@media (max-width: 700px) {
    .author-avatar {
        flex-basis: 18%;
    }
    .author-info {
        align-items: center;
        text-align: center;
    }
}
.author-avatar img {
    width: 100%;
    height: 100%;
}

.author-info {
    display: flex;
    flex-direction: column;
    flex: 4;
    gap: 10px;
    padding: 4px 0;
}

.author-frase,
.author-name {
    font-size: 16px;
    line-height: 1;
}
.author-frase {
    margin: 0;
}
.author-name {
    font-size: 18px;
    font-weight: bold;
}

body.admin-bar .wp-site-blocks {
    padding-left: 6px !important;
    padding-left: 6px !important;
}

.evento-info {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
.evento-info .evento-tempo {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
.evento-info div {
    margin-bottom: 4px;
}

.evento-link a {
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
}

.crp_related_block.crp-rounded-thumbs > ul > li,
.crp_related_block.crp-rounded-thumbs > ul > li a {
    border-radius: 6px !important;
}

.bloco-relacionados {
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.bloco-relacionados h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.bloco-relacionados ul {
    list-style: none;
    padding-left: 0;
}

.bloco-relacionados li {
    margin-bottom: 0.4rem;
}

.crp_related_block {
    margin: 0 !important;
    width: 100%;
}
.crp_related_block h2 {
    margin: 0;
    margin-bottom: 20px;
}
/* .crp_related_block ul {
    justify-content: space-between;
}
.crp_related.crp-rounded-thumbs li,
.crp_related.crp-rounded-thumbs li a {
    overflow: visible;
}
.crp_related.crp-rounded-thumbs .crp_title {
    position: relative;
} */

textarea#comment {
    border: 1px solid darkgray;
}

.wp-block-comment-content p {
    margin: 0;
}
.logged-in-as {
    font-size: 14px;
}
.logged-in-as .required-field-message {
    display: none;
}

@media (max-width: 700px) {
    .crp_related li {
        width: 80vw !important;
        height: 80vw !important;
    }
}