/*
Theme Name: Loggini Motor · Paddock
Description: Tema a blocchi per lo showroom di Colle di Val d’Elsa e la vendita di veicoli usati.
Template: twentytwentyfive
Version: 1.3.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: loggini-paddock
License: GPL-2.0-or-later
*/
:root{--lm-red:#ce0022;--lm-ink:#19191b;--lm-paper:#f4f3ef;--lm-line:#d9d8d3}
body{margin:0;color:var(--lm-ink);background:#fff}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
.lm-wrap,.lm-main{width:min(1240px,calc(100% - 64px));margin-inline:auto}
.lm-nav{display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:24px}
.lm-nav img{display:block;width:130px;height:auto}
.lm-nav .wp-block-navigation a{font-weight:600;text-decoration:none;padding:10px 0}
.lm-nav .wp-block-navigation a:hover,.lm-nav .current-menu-item>a{color:var(--lm-red)}
.lm-main{padding-block:clamp(36px,5vw,76px);min-height:45vh}
.lm-main h1,.lm-main .wp-block-post-title{font-size:clamp(2.7rem,5vw,4.8rem);margin:0 0 .45em}
.lm-hero.wp-block-columns{display:grid;grid-template-columns:minmax(330px,.92fr) 1.28fr;gap:0;margin:0;background:var(--lm-ink);color:white;align-items:stretch}
.lm-hero .wp-block-column{min-width:0;margin:0}
.lm-hero>.wp-block-column:first-child{box-sizing:border-box;padding:clamp(40px,5.6vw,94px) clamp(28px,4.2vw,70px);align-self:center}
.lm-hero h1{color:white;font-size:clamp(3.2rem,6.4vw,7rem);line-height:.97;letter-spacing:-.025em;margin:0}
.lm-hero p{max-width:38ch;margin:22px 0 30px;color:#f4f3ef}
.lm-hero .wp-block-image{height:100%;margin:0}
.lm-hero .wp-block-image img{width:100%;height:100%;min-height:380px;object-fit:cover;object-position:74% center;display:block}
.lm-band{background:var(--lm-red);color:white;padding:28px max(32px,calc((100% - 1240px)/2))}
.lm-band h2,.lm-band p{color:white;margin:0}
.lm-band>.wp-block-group{display:flex;align-items:center;justify-content:space-between;gap:26px}
.lm-band a{color:white;text-underline-offset:5px;font-weight:650}
.lm-section{width:min(1240px,calc(100% - 64px));margin:0 auto;padding:clamp(42px,6vw,88px) 0}
.lm-section .wp-block-columns{gap:clamp(28px,6vw,82px);align-items:center}
.lm-section .wp-block-image img{width:100%;height:auto;display:block}
.lm-footer{background:var(--lm-ink);color:#fff;padding:48px 0}
.lm-footer a{color:#fff;text-underline-offset:4px}
.lm-footer p{margin:.35em 0}
.lm-footer .wp-block-columns{justify-content:space-between;align-items:flex-start}
.lm-footer .wp-block-column{min-width:0}
.lm-footer .wp-block-image{display:inline-block;background:white;padding:10px;margin:0}
.lm-footer img{width:115px;height:auto;display:block}
.lm-form{margin:28px 0 46px;max-width:840px}
.lm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.lm-form label{display:block;font-size:.95rem;font-weight:600}
.lm-form input,.lm-form textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:13px;border:1px solid #87888a;border-radius:0;font:inherit;background:#fff;color:var(--lm-ink)}
.lm-form textarea{min-height:118px;resize:vertical}
.lm-form .wide{grid-column:1/-1}
.lm-form .lm-trap{display:none}
.lm-form button,.lm-button,.wp-block-button__link,.wc-block-components-button:not(.is-link){border-radius:0}
.lm-form button,.lm-button{cursor:pointer;border:0;display:inline-block;background:var(--lm-red);color:white;font:600 1rem var(--wp--preset--font-family--inter,sans-serif);text-decoration:none;padding:14px 22px}
.lm-form button:hover,.lm-button:hover,.wp-block-button__link:hover{background:#a4001b;color:#fff}
.lm-status{margin:1rem 0;padding:.9em 1em;border-left:4px solid var(--lm-red);background:var(--lm-paper)}
.lm-note{font-size:.93rem}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid #19191b;outline-offset:3px;box-shadow:0 0 0 3px white}
.wp-block-gallery figure,.lm-main figure{margin-inline:0}
.lm-main .wp-block-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.lm-main .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){width:100%;margin:0}
.lm-main .wp-block-gallery img{aspect-ratio:4/3;object-fit:cover}
.lm-store{width:min(1240px,calc(100% - 64px));margin:0 auto;padding:44px 0 76px}
.lm-store .product,.woocommerce-tabs{line-height:1.55}
.lm-store .price,.lm-store .woocommerce-Price-amount{font-weight:650}
.lm-store .woocommerce-notices-wrapper:empty{display:none}
.lm-store ul.products li.product a img{aspect-ratio:4/3;object-fit:cover}
.woocommerce .lm-store ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:32px;clear:both}
.woocommerce .lm-store ul.products::before,.woocommerce .lm-store ul.products::after{display:none}
.woocommerce .lm-store ul.products li.product{float:none;width:auto;margin:0}
.woocommerce .lm-store ul.products li.product .woocommerce-loop-product__title{font-size:clamp(1.5rem,2.2vw,2rem);padding:.45em 0 .2em}
.lm-home>.entry-content>.lm-band{margin-block-start:0}
.woocommerce a.button,.woocommerce button.button,.woocommerce button.button.alt,.woocommerce a.button.alt{border-radius:0;background:var(--lm-red);color:white;padding:14px 20px}
.woocommerce div.product div.images img{height:auto}
.lm-store .woocommerce-breadcrumb{font-size:.9rem}
.lm-facts{border-collapse:collapse;width:100%;max-width:820px}
.lm-facts th,.lm-facts td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--lm-line)}
.lm-hero p a{color:inherit;text-underline-offset:.24em}
.lm-hero .wp-block-buttons+p{margin-bottom:0;font-size:1rem}
.lm-showcase.wp-block-columns{align-items:flex-start;gap:clamp(24px,4vw,56px)}
.lm-showcase .wp-block-image{margin:0}
.lm-showcase .wp-block-image img{aspect-ratio:1/1;object-fit:cover;background:var(--lm-paper)}
.lm-showcase h3,.lm-feature h3{font-size:clamp(1.65rem,2.6vw,2.45rem);margin-block:20px 8px}
.lm-showcase p{max-width:54ch;margin-block:10px}
.lm-showcase p a,.lm-feature p a,.lm-main .entry-content>p a{text-underline-offset:.2em}
.lm-feature.wp-block-columns{align-items:center;gap:clamp(28px,5vw,72px)}
.lm-feature .wp-block-column{min-width:0}
.lm-feature .wp-block-column>:first-child{margin-top:0}
.lm-feature .wp-block-column>:last-child{margin-bottom:0}
.lm-feature .wp-block-image{margin:0}
.lm-feature .wp-block-image img{display:block;width:100%;height:auto}
.lm-section figcaption,.lm-main figcaption{font-size:.85rem;line-height:1.45;color:#4b4b4e;text-align:left;margin:10px 0 0}
.lm-main .entry-content>.lm-feature{margin:clamp(26px,4vw,56px) 0}
.lm-main .entry-content>p,.lm-main .wp-block-details{max-width:74ch}
.lm-main .entry-content>h2:not(:first-child){margin-top:1.4em}
.lm-main .wp-block-details{padding:16px 0;border-bottom:1px solid var(--lm-line)}
.lm-main .wp-block-details summary{font-weight:600;cursor:pointer}
@media(max-width:760px){
 .lm-wrap,.lm-main,.lm-section,.lm-store{width:calc(100% - 36px)}
 .lm-nav{min-height:70px;gap:12px}.lm-nav img{width:106px}
 .lm-hero.wp-block-columns{grid-template-columns:1fr}
 .lm-hero>.wp-block-column:last-child{grid-row:1}
 .lm-hero>.wp-block-column:first-child{padding:28px 18px 35px}
 .lm-hero .wp-block-image img{height:clamp(170px,47vw,320px);min-height:0}
 .lm-hero h1{font-size:clamp(3rem,10vw,4.7rem)}
 .lm-band{padding:23px 18px}.lm-band>.wp-block-group{align-items:flex-start;flex-direction:column;gap:12px}
 .lm-form-grid{grid-template-columns:1fr}.lm-main .wp-block-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lm-footer .wp-block-columns{display:grid;gap:24px}
 .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start}
}
