/* Team Migliorati — variante blu, solo nel tema in anteprima.
 * Il colore di base scelto per questa proposta è #003DA5.
 * Le foto degli annunci non vengono alterate: velatura applicata soltanto al footer.
 */
body.tmr2026 {
    --tmr-brand-blue: #003da5;
    --tmr-deep-blue: #052961;
    --tmr-blue-white: #f3f7ff;
    background-color: var(--tmr-brand-blue) !important;
    background-image: linear-gradient(155deg, #003da5 0%, #063985 58%, #052961 100%) !important;
    color: #18324e;
}
body.tmr2026 .rh_wrap,
body.tmr2026 .rh_wrap_stick_footer,
body.tmr2026 .rh-ultra-main {
    background-color: transparent !important;
}
/* La barra bianca e i loghi restano invariati, come nella testata approvata. */
body.tmr2026 .tmr2026-unified-header {
    background: #fff;
    border-top-color: var(--tmr-brand-blue);
    border-bottom-color: #c6d6ee;
}
/* Apertura blu con testi realmente bianchi, non uno strato di opacità sull'intera pagina. */
body.tmr2026 .tmr-editorial-intro {
    background: linear-gradient(118deg, #003da5 0%, #00358f 57%, #062f75 57%, #052961 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.22);
}
body.tmr2026 .tmr-editorial-intro .tmr-kicker,
body.tmr2026 .tmr-editorial-intro .tmr-side-label {
    color: #e0eaff !important;
}
body.tmr2026 .tmr-editorial-intro #tmr-home-title {
    color: #fff;
}
body.tmr2026 .tmr-editorial-intro #tmr-home-title em {
    color: #e2ebff;
}
body.tmr2026 .tmr-editorial-intro .tmr-editorial-copy > p:last-child,
body.tmr2026 .tmr-editorial-intro .tmr-editorial-choice small {
    color: #e4edff;
}
body.tmr2026 .tmr-editorial-intro .tmr-editorial-choice {
    color: #fff;
    border-bottom-color: rgba(255,255,255,.32);
}
body.tmr2026 .tmr-editorial-intro .tmr-editorial-choice > span:last-child {
    color: #fff;
}
body.tmr2026 .tmr-editorial-intro .tmr-editorial-choice:hover {
    color: #fff;
    background-color: rgba(255,255,255,.065);
}
body.tmr2026 .tmr-editorial-intro .tmr-editorial-choice:focus-visible {
    outline-color: #fff;
}
/* Superfici chiare indipendenti: moduli, listini e paragrafi restano leggibili. */
body.tmr2026 .rh-page-container,
body.tmr2026 .rh-ultra-page-content,
body.tmr2026 .rh-ultra-property-single {
    background-color: #fff;
    color: #18324e;
    border-radius: 10px;
}
body.tmr2026 .rh-page-container {
    margin-top: 28px;
    margin-bottom: 38px;
    border: 1px solid #d4e0ee;
    box-shadow: 0 16px 44px rgba(0,18,63,.14);
}
body.tmr2026 .elementor-130 {
    width: calc(100% - 64px);
    max-width: 1480px;
    margin: 28px auto 40px;
    padding: 0 18px 24px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(0,18,63,.14);
}
body.tmr2026 .rh-ultra-property-card,
body.tmr2026 .rh-ultra-contact-form,
body.tmr2026 .rh-ultra-contact-item {
    background-color: #fff;
}
body.tmr2026 .tmr-final-cta {
    background: #f2f6fc;
    border-color: #c4d7f0;
    box-shadow: 0 14px 36px rgba(0,18,63,.1);
}
body.tmr2026 .tmr-solid-button,
body.tmr2026 .rh-ultra-contact-form .submit-button,
body.tmr2026 .wpcf7-form .remax-btn {
    background: var(--tmr-brand-blue) !important;
    border-color: var(--tmr-brand-blue);
    color: #fff !important;
}
body.tmr2026 .tmr-solid-button:hover,
body.tmr2026 .rh-ultra-contact-form .submit-button:hover {
    background: #002d7b !important;
}
body.tmr2026 .tmr2026-cantieri,
body.tmr2026 .tmp-public {
    background: transparent;
}
body.tmr2026 .tmr2026-cantieri-inner,
body.tmr2026 .tmp-public-inner {
    background: #fff;
    border: 1px solid #d4e0ee;
    border-radius: 10px;
    margin-top: 28px;
    margin-bottom: 40px;
    box-shadow: 0 16px 44px rgba(0,18,63,.14);
}
/* Il footer mantiene i recapiti originali. Soltanto le immagini decorative sono velate. */
body.tmr2026 #colophon.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--tmr-deep-blue) !important;
    border-top: 1px solid rgba(255,255,255,.25);
    color: #fff;
}
body.tmr2026 #colophon .tmr-footer-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--tmr-deep-blue);
}
body.tmr2026 #colophon .tmr-footer-scene img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 52%;
    opacity: .26;
    filter: saturate(.4) blur(1.2px);
    transform: scale(1.018);
}
body.tmr2026 #colophon .tmr-footer-scene[data-scene="architecture"] img {
    object-position: center 45%;
    opacity: .22;
}
body.tmr2026 #colophon .tmr-footer-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,61,165,.68) 0%, rgba(5,41,97,.16) 42%, rgba(3,26,63,.68) 100%);
}
body.tmr2026 #colophon > .container {
    position: relative;
    z-index: 1;
}
body.tmr2026 #colophon .site-footer-top,
body.tmr2026 #colophon .site-footer-widget-area,
body.tmr2026 #colophon .site-footer-contacts-wrapper,
body.tmr2026 #colophon .site-footer-bottom {
    background-color: transparent;
}
body.tmr2026 #colophon p,
body.tmr2026 #colophon strong,
body.tmr2026 #colophon h2,
body.tmr2026 #colophon h3,
body.tmr2026 #colophon .widget-title,
body.tmr2026 #colophon .rh-ultra-footer-help,
body.tmr2026 #colophon .rh-ultra-footer-number,
body.tmr2026 #colophon a {
    color: #fff !important;
}
body.tmr2026 #colophon .site-footer-contacts,
body.tmr2026 #colophon .site-footer-bottom {
    border-color: rgba(255,255,255,.27);
}
body.tmr2026 #colophon .rh-ultra-dark,
body.tmr2026 #colophon svg {
    color: #fff;
    fill: currentColor;
}
body.tmr2026 #colophon .rh-ultra-footer-number {
    overflow-wrap: anywhere;
}
body.tmr2026 #colophon .site-footer-social-link a {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
}
body.tmr2026 #colophon .searchform input[type="text"],
body.tmr2026 #colophon .searchform input[type="search"] {
    background: #fff;
    color: #18324e;
    border: 1px solid #c5d6ed;
    border-radius: 4px;
    min-height: 44px;
}
body.tmr2026 #colophon .searchform input[type="submit"] {
    background: #fff;
    color: #00358f;
    min-height: 44px;
    border-radius: 4px;
    font-weight: 700;
}
body.tmr2026 #colophon a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
body.tmr2026 #colophon a:focus-visible,
body.tmr2026 #colophon input:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
body.tmr2026 #colophon .tmr-footer-credit {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 28px 20px;
    font-size: 11px;
    line-height: 1.5;
    color: #e1eaff !important;
    text-align: right;
}
body.tmr2026 #colophon .tmr-footer-credit a {
    color: #e1eaff !important;
    text-decoration: underline;
}
@media (max-width: 1260px) {
    body.tmr2026 .tmr2026-cantieri-inner,
    body.tmr2026 .tmp-public-inner {
        margin-left: 22px;
        margin-right: 22px;
    }
}
@media (max-width: 660px) {
    body.tmr2026 .tmr-editorial-intro {
        background: linear-gradient(150deg,#003da5,#052961) !important;
    }
    body.tmr2026 .tmr-editorial-intro .tmr-editorial-side {
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.23);
    }
    body.tmr2026 .elementor-130 {
        width: calc(100% - 24px);
        margin: 18px auto 24px;
        padding: 0 7px 18px;
        border-radius: 7px;
    }
    body.tmr2026 .rh-page-container {
        margin-top: 18px;
        margin-bottom: 24px;
    }
    body.tmr2026 .tmr2026-cantieri-inner,
    body.tmr2026 .tmp-public-inner {
        margin: 18px 12px 26px;
    }
    body.tmr2026 #colophon .tmr-footer-scene img {
        filter: saturate(.4);
        opacity: .2;
    }
    body.tmr2026 #colophon .tmr-footer-credit {
        text-align: left;
        padding: 0 20px 20px;
    }
}
@media (prefers-reduced-transparency: reduce) {
    body.tmr2026 #colophon .tmr-footer-scene img { opacity: .1; }
}
