/*
Theme Name: Blank Full
Theme URI: 
Author: Xavier Soler | Entorno Digital SAU
Author URI: 
Description: Tema para Entorno digital
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.14
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blankfull
Domain Path: /languages
Tags: grid-layout, wide-blocks, full-site-editing, full-width-template, 
*/


/* Styles shared with block editor are located in "assets/css/shared.css" */

strong {
    font-weight: 700;
}

:root {
    --header-height: 3em;
}

@media (min-width: 600px) {
    :root {
        --header-height: 7em;
    }
}

@media (min-width: 900px) {
    :root {
        --header-height: 10em;
    }
}

.no-shrink {
    flex-shrink: 0;
}

mark {
    background: none;
}

/* Media query for mobile */
@media screen and (min-width: 600px) {
    .only-mobile {
        display: none !important
    }
}

@media screen and (max-width: 599px) {

    .only-desktop,
    .no-mobile,
    .only-tablet {
        display: none !important
    }

    .mobile-columns {
        flex-direction: column !important;
        min-width: 100%;
        column-gap: 1em !important;
        align-items: center;
    }

    .center-mobile,
    .center-mobile * {
        text-align: center !important;
        align-items: center !important
    }
}

@media screen and (min-width: 600px) and (max-width: 899px) {

    .only-desktop,
    .no-tablet {
        display: none !important
    }

    .center-tablet,
    .center-tablet * {
        text-align: center !important;
        align-items: center !important
    }
}

@media screen and (min-width: 900px) {

    .only-mobile,
    .only-tablet,
    .no-desktop {
        display: none !important
    }

    .center-desktop {
        text-align: center !important
    }
}

.header-spacer {
    height: var(--header-height) !important;
}

/* ANIMATIONS */

.has-animations [class*="animation--init"] :where(h1, h2, h3, h4, h5, h6, li, p, .wp-block-buttons) {
    opacity: 0;
    transform: translateY(1em);
}


.has-animations .animation--end :where(h1, h2, h3, h4, h5, h6, li, p, .wp-block-buttons) {
    opacity: 1;
    transition: all 0.6s ease;
    transform: translateY(0);
}


.has-animations .animation--end :where(p) {
    transition-delay: 0.4s;
}

.has-animations .animation--end :where(.wp-block-buttons) {
    transition-delay: 0.8s;
}

/* deshabilitado para kit digital */

/* @keyframes rotate-element {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.is-style-subtitle,
.taxonomy-category,
main p,
main h2,
main img {
    scale: 0.8;
    opacity: 0.2;
    animation: fade-in linear forwards;
    animation-timeline: view();
    animation-range: entry;

}

main p,
.is-style-subtitle {
    scale: 1;
    transform: translateY(-2em);
}

@keyframes fade-in {
    to {
        scale: 1;
        opacity: 1;
        transform: translateY(0);
    }

}

.rotate-on-scroll {
    animation: rotate-element linear;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
} */

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 1.5em;
    right: 1.5em;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background-color: var(--wp--preset--color--base-2);
    color: var(--wp--preset--color--accent);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.show-button {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--wp--preset--color--base);
    transform: translateY(-3px);
}

/* ICONS */

.dashicons-span-before span:before {
    font-family: dashicons !important;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    speak: never;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 1em;
    height: 1em;
    font-size: 1em;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}

.dashicons-span-before span {
    display: flex;
    gap: 0.4em;
    align-items: center;
}

.menu-phone span:before {
    content: "\f525";
}

.menu-mail span:before {
    content: "\f465";
}


header.wp-block-template-part {
    position: fixed;
    width: 100%;
    z-index: 2;
    box-shadow: 0px 2px 1px 0px #0000001A;
}

/*product brands SCROLLER */

.scroller {
    max-width: 100%;
    margin-block-start: 0;
}

.scroller__inner {
    /* padding-block: 1rem; */
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: none;
}

.scroller[data-animated="true"] {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg,
            transparent,
            white 20%,
            white 80%,
            transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll var(--_animation-duration, 20s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 40s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 0.5rem));
    }
}

.scroller__inner>* {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.scroller figure {
    max-width: none !important;
}

.scroller__inner img {
    height: 100%;
    width: auto;
    /* max-width: 8em !important; */
    object-fit: contain;
    display: block;
    height: 6em;
}


.texto-logos-medios {
    flex-shrink: 0;
}

/* BLOG */


.blog-card-image-same-height {
    height: 100%;
}

.blog-card-image-same-height figure a,
.blog-card-image-same-height figure img {
    height: 100%;
}

/* FORMS */

.grecaptcha-badge {
    visibility: hidden;
}

.default-forms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wp--style--block-gap);
    padding-bottom: 1em;
}

.default-forms p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.default-forms .butonreset,
.default-forms label:not(:has(input[type=checkbox]), :has(input[type=radio])) {
    display: none;
}


.default-forms .form-1-col {
    grid-column: span 2;
}

.default-forms :is(input[type=text], input[type=email], textarea) {
    width: 100%;
    font-family: var(--wp--preset--font-family--text);
    font-size: inherit;
    padding: calc(var(--wp--style--block-gap) / 1.5) calc(var(--wp--style--block-gap) / 2);
    border: 1px solid var(--wp--preset--color--base-4);
    background: var(--wp--preset--color--base-2);
}

.default-forms input:focus,
.default-forms textarea:focus {
    box-shadow: 0 0 20px rgba(218, 154, 154, 0.2);
    outline: none;
    border-color: var(--wp--preset--color--contrast-2);
    border-width: 1px;
}

.default-forms input[type=submit] {
    background-color: var(--wp--preset--color--accent);
    border-radius: 8px;
    border-color: var(--wp--preset--color--accent);
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--x-small);
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    padding-top: 1em;
    padding-right: 2em;
    padding-bottom: 1em;
    padding-left: 2em;
    text-decoration: none;
    text-transform: uppercase;
}


.page-template-wp-custom-template-testimonio .zoho--form br {
    display: none !important;
}

/* youyube player */

.yb-player {
    border-radius: 1em;
}


/* testimonials */

.testimonial-video-item:not(.active-video) {
    display: none;
}

.testimonials-buttons-wrapper a {
    background-color: var(--wp--preset--color--base-4);
    color: var(--wp--preset--color--contrast);
}

.testimonials-buttons-wrapper a:hover {
    background-color: var(--wp--preset--color--base);
}

.active-button a {
    background-color: var(--wp--preset--color--contrast) !important;
    color: #FFF !important
}

@media screen and (max-width: 599px) {
    .testimonials-buttons-wrapper .wp-block-button__link {
        padding: 0.5em 1em !important;
        font-size: 0.9em;
    }
}

.foto-metodo-wrapper {
    position: sticky;
    top: calc(var(--header-height) + 5em);
    container-type: inline-size;
}

/* MATCHMAKING */

.foto-metodo-wrapper .logo-matcmaker-institute {
    max-width: 40cqw;
}

@media screen and (max-width: 899px) {
    .matchmaking-columns {
        column-gap: 1em !important;
    }
}



/* HEADER */

.horizontal-list [data-wpml='language-item']:first-of-type {
    margin-top: 0 !important;
}

.home-main-picture {
    max-width: 70vw;
}

.scrolled-header .logo-menu-wrapper {
    padding-top: 1em !important;
    padding-bottom: 0.8em !important;
}

.scrolled-header .main-header-wrapper .wp-block-site-logo img {
    max-width: 5em;
}


@media screen and (max-width: 999px) {
    .main-header-wrapper .wp-block-site-logo img {
        max-width: 5em;
    }

    .main-header-wrapper .logo-menu-wrapper {
        padding-top: 1em !important;
        padding-bottom: 1em !important;
    }

    .hero-columns {
        column-gap: 3em !important;
        flex-direction: column !important;
    }

    .hero-columns>div {
        flex-basis: 100% !important;
    }
}

@media screen and (max-width: 499px) {
    .main-header-wrapper .wp-block-site-logo img {
        max-width: 5em;
    }
}





/* FOOTER */

footer .wpml-language-switcher-navigation-block {
    display: none !important;
}



/* CANVIOS PARA KIT DIGITAL AAA*/
/*
--wp--preset--color--contrast-3 : #a5aea8 -> #6B6668

*/


.default-forms input::placeholder {
    color: var(--wp--preset--color--contrast-2) !important;
    opacity: 1 !important;
}

.persona-anchor {
    margin-top: -15em !important;
    position: absolute;
}

/* COOKIES */

.cmplz-cookiebanner .cmplz-buttons {
    flex-direction: row-reverse !important;
}

@media (min-width: 1024px) {
    .cmplz-cookiebanner {
        max-height: 50vh !important;
    }
}