/* default */
body, main * {
    position: relative;
}

main {
    /* El hueco se declara como variable porque hay quien necesita anularlo: el
       destacado de portada va pegado a la cabecera y se sube justo esta medida.
       Con el 2rem escrito a mano en dos sitios, cambiarlo aqui dejaba una raya
       blanca o un solape alli. */
    --sites360-main-padding: 2rem;
    padding: var(--sites360-main-padding);
    margin: 0px;
    /* font-family: 'Fira Sans', sans-serif; */
}

main a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

main a:hover {
    color: #717070 !important; /* Color rosa */
    text-decoration: underline;
}

.wp-block-cover .wp-block-post-title {
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 1)
}



.blog .button {
    background-color: rgb(189, 20, 189) !important;
    border: 0px !important;
    padding: 3px 10px !important;
    -moz-border-radius: 5% !important;
    -webkit-border-radius: 5% !important;
    -o-border-radius: 5% !important;
    border-radius: 5% !important;
    z-index: 10 !important;
}

.wp-block-info-dev360 {
    display: block;
    margin: 0px;
}

.wp-block-info-dev360  * {
    display: inline-block;
}

.wp-site-blocks {
    padding: 0px !important;
}

.t360-simple-border li {
    border-bottom: 1px solid #ddd !important;
}
.t360-simple-border li:last-child {
    border-bottom: 0px !important;
}
.t360-heading-s1 {
    margin-top: 0.5rem !important;
    border-top: 2px #000000 solid !important;
}
ul li  h1,
ul li  h2,
ul li  h3,
ul li  h4,
ul li  h5,
ul li  h6
 {
    margin-top: 5px !important;
    font-weight: 400 !important;
}


main .icon-gallery {
    position: absolute;
    color: white;
    padding: 4px;
    top: 5px;
    left: 5px;
    z-index: 4;
    opacity: 0.6;
    font-size: 12px;
    background-color: #000;
    box-shadow: aliceblue;
    border-radius: 5px;
}


.wp-block-cover, .wp-block-cover * {
    color: white !important;
}



.t360-button-category {
    background-color: var(--wp--preset--color--brand, #f43f5e) !important; /* Color rosa */
    padding: 6px 12px;
    border: 0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white !important;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.t360-button-category:hover {
    background-color: var(--wp--preset--color--brand-dark, #e11d48) !important; /* Color rosa más oscuro */
}

html.site360_entertainment .t360-button-category {
    background-color: #BD1514 !important;
}

html.site360_news .t360-button-category {
    background-color: #CD2813 !important;
    font-family: "Gochi Hand", cursive;
    font-size: 20px;
}

html.site360_iglesia .t360-button-category {
    background-color: #227fb9 !important;
}


.t360-extra-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 14px !important;
    color: #666;
}

.t360-extra-info .wp-block-post-date {
    font-size: 12px !important;
    color: #777;
    display: flex;
    align-items: center;
}

.t360-extra-info .wp-block-post-date:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 512 512%22><path fill=%22%2523777777%22 d=%22M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z%22/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 5px;
    opacity: 0.7;
}

.t360-extra-info .wp-block-post-author {
    font-size: 12px !important;
    color: #777;
    display: flex;
    align-items: center;
}

.t360-extra-info .wp-block-post-author:before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 448 512%22><path fill=%22%2523777777%22 d=%22M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z%22/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-right: 5px;
    opacity: 0.7;
}

/* Estilos responsivos adicionales */
@media (max-width: 768px) {
    main {
        /* Se cambia la VARIABLE, no el `padding` a pelo. El padding sale de ella,
           y hay quien lo necesita saber: el destacado de portada se sube justo
           esta medida para pegarse a la cabecera. Pisando solo el padding, en
           movil se subia los 2rem de escritorio y se metia debajo. */
        --sites360-main-padding: 1rem;
    }
}

@media (max-width: 480px) {
    main {
        --sites360-main-padding: 0.5rem;
    }
}