/* ITC Block Library blocks in the itouchcode look. The plugin owns structure; this file owns colour, type and space. */
.market-home{--itc-feature-list-gap:20px;--itc-hero-column-gap:clamp(36px,6vw,88px);--itc-hero-media-min-height:0;--itc-media-content-gap:clamp(36px,6vw,88px);--itc-media-content-media-min-height:0;--itc-faq-width:760px;--itc-cta-gap:22px}
.market-home>section.alignwide,.market-home>section.wp-block-itouchcode-call-to-action>*{width:min(1240px,calc(100% - 80px));margin-inline:auto}
.market-home>section.wp-block-itouchcode-hero{padding:clamp(56px,7vw,92px) max(40px,calc((100% - 1240px)/2))}
.market-home>section.alignwide{padding:clamp(56px,8vw,96px) 0}
.market-home>section.alignwide+section.alignwide{border-top:1px solid var(--market-line)}
.market-home>section.wp-block-itouchcode-call-to-action{padding:clamp(64px,9vw,112px) 0}
.market-home .wp-block-heading{font-family:var(--market-serif);font-weight:400;color:var(--market-ink)}
.market-home [class*="__title"]{max-width:720px;margin:0 0 16px;font-size:clamp(34px,4.2vw,54px);line-height:1.06;letter-spacing:-.04em}
.market-home .itc-hero__title{max-width:680px;font-size:clamp(44px,5.6vw,72px);line-height:1;letter-spacing:-.045em}
.market-home [class*="__intro"]{max-width:560px;margin:0 0 20px;color:var(--market-muted);font-size:16px;line-height:1.75}
.market-home [class*="__body"]{max-width:520px;color:var(--market-muted);font-size:14px;line-height:1.8}
/* Hero */
.market-home .itc-hero__actions,.market-home .itc-media-content__actions,.market-home .itc-feature__actions,.market-home .itc-cta__actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 0}
.market-home .wp-block-button__link{min-height:46px;display:inline-flex;align-items:center;padding:0 18px;border:1px solid var(--market-forest);border-radius:0;color:var(--market-surface);background:var(--market-forest);font:700 12px var(--market-sans);transition:background .18s ease,color .18s ease}
.market-home .wp-block-button__link:hover{background:#1b2d28}
.market-home .wp-block-button:not(:first-child) .wp-block-button__link{color:var(--market-forest);background:transparent}
.market-home .wp-block-button:not(:first-child) .wp-block-button__link:hover{color:var(--market-surface);background:var(--market-forest)}
.market-home .itc-feature__actions .wp-block-button .wp-block-button__link{min-height:0;padding:0;border:0;color:var(--market-forest);background:none;border-bottom:1px solid var(--market-lime)}
.market-home .wp-block-itouchcode-hero{grid-template-rows:repeat(5,min-content);align-content:center;row-gap:0}
.market-home .wp-block-itouchcode-media-content{grid-template-rows:1fr repeat(3,min-content) 1fr;row-gap:0}
.market-home .wp-block-itouchcode-media-content>.itc-media-content__title{grid-row:2}
.market-home .wp-block-itouchcode-media-content>.itc-media-content__body{grid-row:3}
.market-home .wp-block-itouchcode-media-content>.itc-media-content__actions{grid-row:4}
.market-home .wp-block-itouchcode-media-content>.itc-media-content__media{grid-row:1/span 5}
.market-home .itc-media-content__media img{height:auto;min-height:0;max-height:560px;object-fit:cover;object-position:top}
.market-home .itc-hero__media img{height:auto;min-height:0}
.market-home .itc-hero__media img,.market-home .itc-media-content__media img{width:100%;height:auto;border:1px solid var(--market-line);background:var(--market-surface);box-shadow:0 24px 60px -34px rgba(30,41,40,.5)}
/* Feature lists */
.market-home .wp-block-itouchcode-feature-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--itc-feature-list-gap)}
.market-home .wp-block-itouchcode-feature-list>.itc-feature-list__title,.market-home .wp-block-itouchcode-feature-list>.itc-feature-list__intro{grid-column:1/-1}
.market-home .wp-block-itouchcode-feature{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px;border:1px solid var(--market-line);background:var(--market-surface)}
.market-home .itc-feature__icon{width:46px;margin:0}
.market-home .itc-feature__icon img{width:100%;height:auto}
.market-home .itc-feature__icon:has(img[src*="/illustrations/"]){width:100%;max-width:none}
.market-home .itc-feature__icon img[src*="/illustrations/"]{width:min(100%,260px);margin:0 0 6px}
.market-home .itc-feature__title{margin:0;font-size:22px;line-height:1.15;letter-spacing:-.02em}
.market-home .itc-feature__body{margin:0}
.market-home .itc-feature__actions{margin-top:auto;padding-top:8px}
/* Media content */
.market-home .wp-block-itouchcode-media-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:var(--itc-media-content-gap)}
/* FAQ */
.market-home .wp-block-itouchcode-faq{display:block}
.market-home .wp-block-itouchcode-faq details{border-top:1px solid var(--market-line);padding:18px 0}
.market-home .wp-block-itouchcode-faq details:last-of-type{border-bottom:1px solid var(--market-line)}
.market-home .wp-block-itouchcode-faq summary{cursor:pointer;font:400 20px/1.3 var(--market-serif);letter-spacing:-.02em}
.market-home .wp-block-itouchcode-faq details p{max-width:640px;margin:12px 0 0;color:var(--market-muted);font-size:14px;line-height:1.75}
/* Call to action */
.market-home>section.wp-block-itouchcode-call-to-action{color:var(--market-surface);background:var(--market-forest)}
.market-home .wp-block-itouchcode-call-to-action{text-align:center}.market-home .wp-block-itouchcode-call-to-action .itc-cta__actions,.market-home .wp-block-itouchcode-call-to-action .wp-block-buttons{justify-content:center}.market-home .wp-block-itouchcode-call-to-action [class*="__title"],.market-home .wp-block-itouchcode-call-to-action p{margin-inline:auto}.market-home .wp-block-itouchcode-call-to-action .wp-block-heading{color:var(--market-surface)}
.market-home .wp-block-itouchcode-call-to-action p{color:#cfd8cf}
.market-home .wp-block-itouchcode-call-to-action .wp-block-button__link{border-color:var(--market-lime);color:var(--market-forest);background:var(--market-lime)}
@media(max-width:980px){.market-home .wp-block-itouchcode-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.market-home .wp-block-itouchcode-feature-list{grid-template-columns:1fr}.market-home>section.wp-block-itouchcode-hero{padding-inline:20px}.market-home .wp-block-itouchcode-media-content,.market-home .wp-block-itouchcode-hero{grid-template-columns:1fr}.market-home>section.alignwide,.market-home>section.wp-block-itouchcode-call-to-action>*{width:calc(100% - 40px)}}
@media(max-width:48rem){
.market-home .wp-block-itouchcode-media-content,.market-home .wp-block-itouchcode-hero{grid-template-rows:none}
.market-home .wp-block-itouchcode-media-content>.itc-media-content__title,.market-home .wp-block-itouchcode-media-content>.itc-media-content__body,.market-home .wp-block-itouchcode-media-content>.itc-media-content__actions,.market-home .wp-block-itouchcode-media-content>.itc-media-content__media{grid-row:auto}
.market-home .itc-hero__media,.market-home .itc-media-content__media{margin-bottom:28px}
.market-home .itc-media-content__media img{max-height:none}
}

/* The text hero is a library variation; the theme supplies its proportions. */
.market-home .wp-block-itouchcode-hero:not(:has(.itc-hero__media)){padding-block:clamp(64px,8vw,112px)}
.market-home .wp-block-itouchcode-hero:not(:has(.itc-hero__media)) .itc-hero__title{max-width:1040px;font-size:clamp(44px,7vw,88px)}
.market-home .wp-block-itouchcode-hero:not(:has(.itc-hero__media)) .itc-hero__intro{max-width:680px;font-size:clamp(17px,1.6vw,20px);margin-top:16px}
.market-home .wp-block-itouchcode-hero:not(:has(.itc-hero__media)) .itc-hero__body{max-width:680px;margin:0}
.market-home .itc-product-collection{grid-template-columns:repeat(2,minmax(0,1fr))}
.market-home .itc-product-collection .wp-block-itouchcode-feature{padding:clamp(24px,4vw,48px);gap:18px}
.market-home .itc-product-collection .itc-feature__title{font-size:clamp(28px,3vw,38px)}
.market-home .itc-product-collection .itc-feature__body{font-size:16px}
.market-home .wp-block-itouchcode-faq details a{text-decoration:underline;text-underline-offset:3px}
.market-home summary:focus-visible{outline:3px solid #526d3d;outline-offset:4px}
@media(max-width:820px){.market-home .itc-product-collection{grid-template-columns:1fr}}
