/*
Theme Name: Tor Child
Template: innov
Author: Innov WP
Description: Innov Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.



*/

@import url('https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100..900;1,100..900&display=swap');


/* Theme customization starts here
-------------------------------------------------------------- */

/*------------ common css ------------*/
.single-content h1.elementor-heading-title,
.single-content h2.elementor-heading-title,
.single-content h3.elementor-heading-title,
.single-content h4.elementor-heading-title,
.single-content h5.elementor-heading-title,
.single-content h6.elementor-heading-title {
    margin: 0;
}

textarea:focus {
    box-shadow: none;
    color: var(--global-palette1);
}


.wp-block-search .wp-block-search__input,
.wp-block-search .wp-block-search__input:focus,
body .wp-block-search .wp-block-search__button,
.wp-block-search .wp-block-search__button:hover,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    box-shadow: none;
    color: var(--global-palette7);
}

/* footer */
.site-footer-section .widget-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* archive page read more icon*/
body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .googly-svg-iconset {
    display: none;
}

/* archive conetnt left sidebar */
body .wp-block-latest-posts__list li,
body.search-results.content-style-unboxed .site .post-thumbnail,
body.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child,
.wp-block-latest-posts.wp-block-latest-posts__list {
    margin: 0;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
    color: var(--global-palette2);
}

#secondary .woocommerce.widget_product_categories>ul li,
.widget .tagcloud a,
.widget li,
#secondary .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item,
.wp-block-tag-cloud .tag-cloud-link {
    padding-block: 6px;
}

/* Paragrafi: font-size e interlinea */
p {
    font-size: 18px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    p {
        font-size: 16px;
        line-height: 1.7;
    }
}

/*------------ end common css ------------*/

/* -------------------- ----> elementor design css <---- -------------------- */

/* header cart */
.header-cart-button .googly-svg-iconset {
    display: none;
}

/* customizing Helmets */
.flipster--flat .flipster__item--past .ue-flip-item-content,
.flipster--flat .flipster__item--future .ue-flip-item-content {
    opacity: 0;
}

/* Blog area css */
.blog .loop-entry .entry-header .entry-title,
.blog-section .uc_post_title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 380px;
}

.blog-section #uc_post_carousel_elementor_4b6e3bf .ue-meta-data {
    position: absolute;
    top: 20px;
    left: 0;
    background-color: var(--global-palette9);
    padding: 12px;
}

/* newslatter section */
.newsletter-form {
    position: relative;
    width: 100%;
    display: inline-block;
}

.newsletter-form .sub-email {
    margin-inline-start: 20px;
    margin-inline-end: 20px;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"],
.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 8px;
    color: #fff;
    box-shadow: none;
    width: 100%;
    display: block;
}

.mc4wp-form .newsletter-form input[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 0;
    background-color: transparent;
    background-image: url(./assets/image/send.svg);
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: 50%;
    width: 50px;
    padding: 0;
    border: none;
}

@media (max-width: 576px) {
    .newsletter-form {
        width: 100%;
    }
}
/* archive search left sidebar */
.wp-block-search .wp-block-search__input {
    border: none;
    padding: 0.6em 0.5em;
    color: #000000;
    border: 1px solid var(--global-palette6);
}

input[type="search"]:focus {
    color: #000000;
}

body .wp-block-search .wp-block-search__button {
    color: var(--global-palette9);
    background: var(--global-palette2);
    border-radius: 0;
}

/* archive page read more */
body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .post-more-link {
    font-size: 14px;
    /*text-transform: capitalize;*/
    text-decoration: underline;
    font-weight: 500;
    color: var(--global-palette1);
}

/* input radius */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border-radius: 0;
}

/* faq */

.faq-area .elementor-accordion .elementor-accordion-item .elementor-tab-title {
    border-bottom: 1px solid var(--global-palette6);
}

/* contnet box */

.cms-section #uc_content_grid2_elementor_b6c4953 .uc_post_grid_style_one_image {
    border-radius: 25px;
}

.cms-section #uc_content_grid2_elementor_b6c4953.uc_post_grid_style_one .uc_content {
    border-radius: 25px;
    margin-top: -60px;
}

/* header */
.collapse-sub-navigation ul.menu li a {
	border-bottom: 0;
}
.collapse-sub-navigation ul.menu .drawer-nav-drop-wrap .drawer-sub-toggle {
	border-left: 0;
	border-bottom: 0;
}


/* service area */
.service-area .elementor-column .zoom_caption_reveal_content_box .icroh-caption {
    opacity: 0;
}

.service-area .elementor-column .zoom_caption_reveal_content_box:hover .icroh-caption {
    opacity: 1;
}


/* team img  */

.about-section .elementor-inner-section .elementor-col-25 .elementor-cta .elementor-cta__bg-wrapper {
    border-radius: 25px;
}


/* blog icon */

body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .innov-svg-iconset {
    display: none;
} 


/* footer */

.site-footer-section .widget-area ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}

.widget li {
	line-height: 1.8;
	margin: 0 20px;
}


/* *** COMMS *** */

/* personal style ff */
#colophon .footer-navigation .footer-menu-container > ul li.current-menu-item > a {
    color: #ffffff;
}

/* Aziende CSS moved to plugin: aziende-manager */

/* ===================================================================
   CONTACT FORM 7 — Dark theme + WCAG 2.2 AA
   Palette: bg #1f1f1f, testo #e5e5e5 (12.2:1), border #8e7861 (4.0:1),
            focus #c4a788 (7.0:1), placeholder #8a8a8a (4.67:1)
   =================================================================== */

/* Layout */
.wpcf7 .wpcf7-form p {
    margin-bottom: 1.25em;
}

.wpcf7 label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e5e5e5; /* 12.2:1 su #1f1f1f */
    margin-bottom: 0.375em;
    cursor: pointer;
}

/* ——— Input, Textarea, Select ——— */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
    display: block;
    width: 100%;
    background-color: #1f1f1f;  /* --global-palette6 */
    color: #e5e5e5;              /* 12.2:1 su #1f1f1f */
    border: 2px solid #8e7861;  /* bronze — 4.0:1 su #1f1f1f, ≥3:1 WCAG UI */
    border-radius: 4px;
    padding: 0.625em 0.875em;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

/* Placeholder: 4.67:1 su #1f1f1f */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

/* ——— Focus: WCAG 2.4.11 / 2.4.12 ——— */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: 3px solid #c4a788; /* bronze chiaro — 7.0:1 su #1f1f1f */
    outline-offset: 2px;
    border-color: #c4a788;
    box-shadow: none;
    color: #e5e5e5;
}

/* ——— Stato errore ——— */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    border-color: #ff6b6b; /* rosso chiaro — 5.78:1 su #1f1f1f */
    background-color: #2e0a0a;
}

.wpcf7 .wpcf7-not-valid-tip {
    display: block;
    color: #ff6b6b; /* 5.78:1 su #1f1f1f */
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.3em;
}

/* ——— Select: freccia custom light ——— */
.wpcf7 select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e5e5e5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875em center;
    padding-right: 2.5em;
    cursor: pointer;
}

/* Dropdown nativo: sfondo e testo dark (Chrome/Firefox desktop + Android) */
.wpcf7 select option {
    background-color: #1f1f1f;
    color: #e5e5e5;
}

/* ——— Textarea ——— */
.wpcf7 textarea {
    min-height: 7em;
    resize: vertical;
}

/* ——— Checkbox (Privacy) ——— */
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 1.25em;
    height: 1.25em;
    min-width: 1.25em;
    margin: 0.1em 0 0;
    accent-color: #8e7861;
    cursor: pointer;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"]:focus {
    outline: 3px solid #c4a788;
    outline-offset: 2px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.625em;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.9375rem;
    color: #e5e5e5;
    line-height: 1.5;
}

/* ——— Submit ——— */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    display: inline-block;
    background-color: #8e7861;
    color: #ffffff;            /* 4.6:1 su #8e7861 */
    border: 2px solid #8e7861;
    border-radius: 0;
    padding: 0.75em 2.5em;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background-color: #a8906f;
    border-color: #a8906f;
}

.wpcf7 input[type="submit"]:focus,
.wpcf7 .wpcf7-submit:focus {
    outline: 3px solid #c4a788;
    outline-offset: 3px;
    background-color: #a8906f;
    border-color: #a8906f;
}

.wpcf7 input[type="submit"]:disabled,
.wpcf7 .wpcf7-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ——— Messaggi di risposta ——— */
.wpcf7 .wpcf7-response-output {
    padding: 0.875em 1.25em;
    border-radius: 4px;
    margin: 1.5em 0 0;
    font-size: 0.9375rem;
    font-weight: 500;
    border-width: 2px;
    border-style: solid;
}

/* Successo: #4ade80 su #0a2e14 → 8.78:1 */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #0a2e14;
    border-color: #16a34a;
    color: #4ade80;
}

/* Errore: #ff6b6b su #2e0a0a → 6.8:1 */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #2e0a0a;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

/* Spam: #fb923c su #2e1a0a → 6.4:1 */
.wpcf7 form.spam .wpcf7-response-output {
    background-color: #2e1a0a;
    border-color: #fb923c;
    color: #fb923c;
}

/* ——— Responsive ——— */
@media (max-width: 600px) {
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 input[type="url"],
    .wpcf7 textarea,
    .wpcf7 select {
        font-size: 1rem; /* min 16px — evita zoom automatico iOS */
    }
}

/* ——— prefers-reduced-motion ——— */
@media (prefers-reduced-motion: reduce) {
    .wpcf7 input,
    .wpcf7 textarea,
    .wpcf7 select,
    .wpcf7 input[type="submit"] {
        transition: none;
    }
}

/* === Fine Contact Form 7 === */
