/*
Theme Name: Hermeneia
Theme URI: https://wordpress.org/themes/hermeneia/
Author: the Learning Bits team
Author URI: https://wordpress.org
Description: Hermeneia emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hermeneia
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
Template: twentytwentyfive
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

 body {
    font-family: 'PT Sans', helvetica, arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 400;
    color: #53544c;
}

.home-h1 {
    font-size: 3.5rem !important;
    font-family: "Inter Bold",'PT Sans', helvetica, arial, sans-serif !important;
    line-height: 1.1;
    font-weight: 700;
    margin-top: 20px !important;
}

html[lang="ca"] .home-h1 {
    font-size: 3.3rem !important;
}

.home-h2 {
    font-size: 1.5em !important;
    font-family: "Inter Regular",'PT Sans', helvetica, arial, sans-serif !important;
    line-height: 1.1;
}

.home-h3 {
    font-size: 38px !important;
    font-family: "Inter Bold",'PT Sans', helvetica, arial, sans-serif !important;
    line-height: 1.1;
    font-weight: 700;
    color: #045b92;
    margin-block-end: -0.5em !important;
}

.fondo-gris {
    background-color: rgba(210,210,210,0.3) !important;
}

.fondo-gris p:first-child {
    font-size: 22px !important;
    font-weight: bold;
}

.un-testimonio {
    margin-bottom: 50px; 
}

.un-testimonio img {
    width: 200px;
}

.bloque-gris {
    background-color: rgba(210,210,210,0.3) !important;
}

main a:hover {
    text-decoration: underline;
}

main .margin-0-auto {
    margin: 0 auto !important;
}

:root {
    --wp--style--global--wide-size: 1024px;
}

.wp-block-site-logo {
    cursor: pointer;
}

.oculto {
    display: none !important;
}

/* header */
.wp-block-navigation .wp-block-navigation-item {
    height: 83px;
}

header .wp-block-navigation-item.wp-block-navigation-link:first-child {
    display: none;
}

header .wp-block-navigation-item.fondo-color.wp-block-navigation-link {
    background-color: rgba(210,210,210,0.5) !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
}

header .wp-block-navigation-item.fondo-color.wp-block-navigation-link:hover {
    background-color: #045B91D9 !important;
    color: white !important;
}

/* footer */
footer {
    margin-block-start: 0px !important;
}
footer a {
    text-decoration: none;
}
footer p {
    text-decoration: none;
    font-weight: 300;
    margin-block-start: 0px !important;
}
footer a:hover {
    text-decoration: underline;
}
footer figure {
    opacity: 50%;
}
footer figure:hover {
    opacity: 100%;
}
footer .copyright {
    font-weight: 300;
    margin-block-start: 0px !important;
    color: rgba(255,255,255,0.25);
}

.footer-idioma p {
    margin-right: -10px;
    text-decoration: underline;
}

.footer-idioma p:first-child {
    text-decoration: none;
}

footer h3 {
    width: 300px;
}

/* TABLET */

@media (max-width:1024px) {
    /* reduce tables width */
    .wp-block-table table {
        width: 98%;
        margin: 0 auto;
    }

    /* force hamburguer nav menu */
    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: block;
    }
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none;
    }

    /* menu nav li items height */
    .wp-block-navigation .wp-block-navigation-item {
        height: 24px;
    }

    header .wp-block-navigation-item.wp-block-navigation-link {
        padding: 10px 5px !important;
        width: 100%;
    }

    header .wp-block-navigation-item.fondo-color.wp-block-navigation-link {
        padding: 10px 5px !important;
        width: 100%;
        background-color: #045B91D9 !important;
        color: white !important;
    }

    header .wp-block-navigation-item.wp-block-navigation-link a {
        margin-left: auto;
        margin-right: auto;
    }
    
}

/* TABLET HOME */
@media (max-width:1024px) {

    :root .page-template-hermeneia-es,
    :root .page-template-hermeneia-cat {
        --wp--style--global--wide-size: 950px;
    }

    .page-template-hermeneia-es .home-h1 {
        font-size: 2.75rem !important;
    }

    html[lang="ca"] .home-h1 {
        font-size: 2.65rem !important;
    }

    .page-template-hermeneia-es .home-h2 {
        font-size: 1.5rem !important;
        margin-top: -50px;
    }

    html[lang="ca"] .home-h2 {
        font-size: 1.4rem !important;
        margin-top: -50px;
    }
}

@media (max-width:768px) {
    .page-template-hermeneia-es .home-h1,
    html[lang="ca"] .home-h1 {
        text-align: center;
    }

    .page-template-hermeneia-es .home-h2,
    html[lang="ca"] .home-h2 {
        text-align: center;
    }

    .page-template-hermeneia-es .wp-block-buttons,
    html[lang="ca"] .wp-block-buttons {
        margin: 0 auto;
    }
    
}

/* MOBILE */

/* MOBILE HOME */
@media (max-width:576px) {
    html[lang="ca"] .home-h1,
    .page-template-hermeneia-es .home-h1,
    .page-template-hermeneia-cat .home-h1 {
        font-size: 2.75rem !important;
        text-align: center;
    }

    .page-template-hermeneia-es .home-h2,
    html[lang="ca"] .home-h2 {
        text-align: center !important;
    }

    .page-template-hermeneia-es .wp-block-buttons,
    html[lang="ca"] .wp-block-buttons {
        margin: 0 auto;
    }

    .home-h3 {
        margin-block-end: 0em !important;
    }   
}