.page-hero .page-hero-category{font-size:23px;line-height:1.4;font-weight:300;font-style:italic;color:#fff;margin:18px 0 0}
.page-hero .page-hero-brand{margin-bottom:20px}
.wp-block-group.catalog-grid,.wp-block-group.collection-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin:0}
.catalog-card,.collection-project-card{text-align:center}
.catalog-card .wp-block-image,.collection-project-card .wp-block-image{margin:0}
.catalog-card img,.collection-project-card img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.catalog-card .wp-block-heading,.collection-project-card .wp-block-heading{font-size:22px;line-height:1.35;font-weight:500;color:var(--taupe);margin:18px 0 25px}
.catalog-card a:hover,.collection-project-card a:hover{color:#4f3f33}
.catalog-card img,.collection-project-card img{transition:opacity .2s}
.catalog-card a:hover img,.collection-project-card a:hover img{opacity:.85}
.wp-block-group.catalog-section{padding-block:45px}
.wp-block-group.collection-intro{padding-block:45px;display:grid;grid-template-columns:1.43fr 1fr;gap:30px;align-items:center}
.collection-intro .wp-block-image{margin:0}
.collection-intro .collection-copy{position:relative;padding:45px 0;margin:0}
.collection-copy:before,.collection-copy:after{content:'';display:block;position:absolute;width:30px;height:30px;background:var(--taupe)}
.collection-copy:before{top:0;left:0}
.collection-copy:after{bottom:0;right:0;background:var(--taupe-light)}
.collection-copy p{font-size:18px;line-height:1.5;margin:0}
.wp-block-group.collection-gallery{padding-block:30px 70px}
.collection-gallery>.section-title{font-size:40px;line-height:1.4;text-align:center;color:var(--taupe);font-weight:600;margin:0 0 35px}
.collection-gallery .collection-carousel{height:auto;padding-bottom:0;background:transparent;overflow:visible}
.collection-carousel .hero-slides{position:relative;inset:auto;aspect-ratio:16/9;width:100%;overflow:hidden;background:#f2efea}
.collection-carousel .hero-slide img{object-fit:contain}
.collection-carousel .carousel-arrow{top:50%;background:#0003}
.collection-carousel .carousel-prev{left:-30px}.collection-carousel .carousel-next{right:-30px}
.collection-carousel .carousel-dots{bottom:10px;width:max-content;max-width:calc(100% - 24px);flex-wrap:wrap;justify-content:center}
.collection-carousel .carousel-dot{flex:0 0 20px;width:20px;height:20px;margin:0 5px;padding:5px;display:flex;align-items:center;justify-content:center}
.collection-carousel .carousel-dot:before{background:#fff;width:10px;height:10px;opacity:.25;transition:opacity .2s}
.collection-carousel .carousel-dot.is-active:before,.collection-carousel .carousel-dot:hover:before,.collection-carousel .carousel-dot:focus-visible:before{background:#fff;opacity:1}
.collection-carousel .carousel-dot:focus-visible{outline:2px solid #fff;outline-offset:2px}
.collection-carousel .carousel-pause{bottom:45px;right:10px;background:#0006}
.wp-block-group.collection-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.collection-photo-grid .wp-block-image{margin:0}
.collection-photo-grid img{width:100%;height:auto;display:block}
.wp-block-group.layout-section{padding-block:40px}
.wp-block-group.layout-diagrams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.layout-section .section-title{font-size:40px;line-height:1.4;font-weight:600;color:var(--taupe);text-align:center;margin:0 0 40px;padding-top:60px;position:relative}
.layout-section .section-title:before{content:'';position:absolute;top:0;left:50%;width:1px;height:45px;background:var(--taupe-light)}
.layout-diagrams .wp-block-image{margin:0;position:relative}
.layout-sheet-frame{position:relative;overflow:hidden}
.layout-sheet-frame .layout-sheet-brand{position:absolute;bottom:0;left:0;width:31%;height:12%;margin:0;display:flex;align-items:center;justify-content:center;background:var(--taupe);color:#fff;font-size:clamp(7px,1.1vw,16px);font-weight:500;line-height:1;letter-spacing:.02em;pointer-events:none}
.layout-zoom{position:absolute;inset:0;width:100%;height:100%;border:0;background:transparent;cursor:zoom-in}
.layout-zoom:focus-visible{outline:3px solid var(--taupe);outline-offset:-3px}
.layout-dialog{width:min(1100px,95vw);max-width:95vw;max-height:95vh;padding:40px 15px 15px;border:0;background:#fff;overflow:auto}
.layout-dialog::backdrop{background:#0009}
.layout-dialog .layout-sheet-frame{max-width:100%;margin:0}
.layout-dialog img{display:block;width:100%;height:auto}
.layout-dialog .layout-sheet-brand{font-size:clamp(12px,3vw,32px)}
.layout-dialog-close{position:absolute;right:10px;top:5px;border:0;background:transparent;font-size:24px;line-height:1;width:32px;height:32px;z-index:2}
.layout-diagrams img{width:100%;display:block;aspect-ratio:1522/1074;object-fit:cover;cursor:zoom-in}
.layout-diagrams .layout-first-title{display:flex;align-items:center;justify-content:center}
.layout-first-title .section-title{padding-top:80px;margin:0}
.wp-block-group.worktop-content{padding-block:55px}
.wp-block-group.worktop-material{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:0 0 50px}
.worktop-material .wp-block-image{margin:0}
.worktop-material img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.worktop-material .worktop-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;min-height:250px}
.worktop-copy .material-number{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:var(--taupe);color:#fff;font-size:36px;font-weight:500;margin:0 0 18px}
.worktop-copy h2{font-size:22px;line-height:1.35;margin:0 0 15px;font-weight:400}
.worktop-copy p{font-size:18px;line-height:1.5;margin:0}
.worktop-material--tall .worktop-primary{grid-row:1/3}
.worktop-material--tall .worktop-primary img{aspect-ratio:525/550;height:100%}
.worktop-material--tall.worktop-material--reverse .worktop-primary{grid-column:2}
.worktop-material--tall .worktop-copy{min-height:160px;padding:15px}
.wp-block-group.worktop-detail-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin:0}
.worktop-detail-pair img{aspect-ratio:247/349;height:auto}
.basic-contact-form{font-size:18px}
.contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 30px}
.contact-fields label{display:block;font-weight:300}
.contact-fields input,.contact-fields select,.contact-fields textarea,.contact-math input{display:block;width:100%;border:1px solid #ddd;background:#fff;min-height:36px;margin-top:8px;padding:5px 9px;border-radius:2px;font-size:16px}
.contact-wide{grid-column:1/-1}
.contact-fields textarea{resize:vertical;min-height:120px}
.required{color:#df3c3c}
.contact-math{display:block;width:155px;margin-top:30px}
.contact-math small{display:block;color:#999;font-size:13px}
.contact-consent{display:flex;gap:8px;align-items:flex-start;margin-top:30px;font-size:16px}
.contact-consent input{margin-top:6px}
.contact-consent a{text-decoration:underline}
.contact-submit{text-align:center;margin-top:30px}
.contact-submit button{background:var(--taupe);color:#fff;border:0;padding:8px 20px;font-size:16px;transition:background .2s}
.contact-submit button:hover{background:#5b493b}
.contact-honey{display:none}
.contact-result{background:#f2efea;padding:16px;color:var(--taupe)}
.contact-intro{text-align:center;margin-bottom:40px}
.contact-intro h2{font-size:28px;font-weight:500;color:var(--taupe)}
.contact-intro p{font-size:18px}
.modula-articles .wp-block-latest-posts__featured-image{margin:0 0 20px}
.modula-articles .wp-block-latest-posts__featured-image img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.plain-page-title{font-size:30px;line-height:1.3;color:var(--taupe);font-weight:500;text-align:center;margin:0 0 35px}
.wp-block-group.plain-page-content{padding-block:45px 70px}
.editor-styles-wrapper .collection-intro,.editor-styles-wrapper .collection-gallery,.editor-styles-wrapper .worktop-content{max-width:1110px;margin-inline:auto}
.editor-styles-wrapper .mk-gallery-editor .mk-slider-editor-canvas{height:auto;aspect-ratio:16/9}
.editor-styles-wrapper .mk-gallery-editor .mk-slider-editor-photo{object-fit:contain}
@media(max-width:1024px){.collection-carousel .carousel-prev{left:0}.collection-carousel .carousel-next{right:0}}
@media(max-width:767px){
 .wp-block-group.catalog-grid,.wp-block-group.collection-project-grid{grid-template-columns:1fr;gap:25px}
 .wp-block-group.collection-intro{grid-template-columns:1fr;gap:25px;padding-block:35px}
 .wp-block-group.collection-gallery{padding-block:25px 45px}
 .collection-gallery>.section-title,.layout-section .section-title{font-size:28px}
 .wp-block-group.collection-photo-grid,.wp-block-group.layout-diagrams{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .layout-diagrams .layout-first-title{grid-column:1/-1}
 .layout-first-title .section-title{padding-top:0;margin-bottom:15px}
 .layout-first-title .section-title:before{display:none}
 .layout-section .section-title{padding-top:35px;margin-bottom:25px}
 .layout-section .section-title:before{height:25px}
 .wp-block-group.worktop-material{grid-template-columns:1fr;gap:20px;margin-bottom:35px}
 .worktop-material--tall .worktop-primary,.worktop-material--tall.worktop-material--reverse .worktop-primary{grid-row:auto;grid-column:auto}
 .worktop-material .worktop-copy{min-height:0;padding:15px}
 .worktop-material--tall .worktop-primary img{height:auto}
 .worktop-material .worktop-primary{order:0}.worktop-material .worktop-copy{order:1}.worktop-detail-pair{order:2}
 .contact-fields{grid-template-columns:1fr;gap:20px}
 .contact-wide{grid-column:auto}
 .page-hero .page-hero-category{font-size:16px;margin-top:12px}
 .page-hero .page-hero-brand{width:200px;height:29px;margin-bottom:18px}
 .page-hero.page-hero--brand .page-hero-title{max-width:90%;font-size:22px}
}
.collection-main>.wp-block-post-content,.modula-page-main .entry-content>.wp-block-post-content,.plain-page-content>.wp-block-post-content,.modula-article-main .wp-block-post-content{padding:0;margin-block:0}

/* Keep the reference layout on desktop; make the same content readable by touch. */
@media(min-width:768px) and (max-width:1024px){
 .wp-block-group.catalog-grid,.wp-block-group.collection-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
 .catalog-card .wp-block-heading,.collection-project-card .wp-block-heading{font-size:20px}
}
@media(max-width:767px){
 .page-hero:not(.page-hero--photo) .page-hero-title{max-width:100%}
 .catalog-card .wp-block-heading,.collection-project-card .wp-block-heading{font-size:20px}
 .collection-carousel .carousel-arrow{width:44px;height:44px}
 .collection-carousel .carousel-dot{flex-basis:30px;width:30px;height:28px;margin:0;padding:9px 10px}
 .collection-carousel .carousel-pause{bottom:74px;width:44px;height:44px}
 .layout-dialog-close{width:44px;height:44px;top:0;right:0}
 .contact-fields input,.contact-fields select,.contact-math input,.contact-submit button{min-height:44px}
 .contact-fields textarea{min-height:140px}
 .modula-block-navigation .is-menu-open .wp-block-navigation-item__content{min-height:44px;display:flex;align-items:center}
}
@media(max-width:1024px){
 .process-diagram{aspect-ratio:auto;container-type:normal}
 .process-diagram .process-line,.process-diagram .process-begin,.process-diagram .process-end{display:none}
 .process-diagram .process-steps{position:relative;inset:auto;display:grid;gap:16px}
 .process-diagram .process-step{position:relative;left:auto;transform:none;width:100%;height:auto;display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px 16px;text-align:left;padding:14px;background:#f5f2ee;border-left:3px solid var(--taupe)}
 .process-diagram .step-icon{position:relative;top:auto;left:auto;width:48px;grid-column:1;grid-row:1;filter:none}
 .process-diagram .step-number{position:static;grid-column:2;grid-row:1;align-self:center;font-size:17px;line-height:1.3;color:var(--taupe)}
 .process-diagram .step-caption{position:static;width:100%;grid-column:1/-1;grid-row:2;font-size:14px;line-height:21px}
 .process-diagram .step-caption strong{font-size:15px;line-height:21px;font-weight:600}
 .process-diagram .step-caption p{width:100%;margin:5px 0 0;font-size:14px;line-height:21px;text-wrap:balance}
 .wp-block-group.channels-block{margin-top:45px}
}
@media(min-width:768px) and (max-width:1024px){
 .process-diagram .process-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .wp-block-cover.page-hero{min-height:clamp(440px,65vw,666px)!important}
 .page-hero .page-hero-brand{width:380px;height:55px}
 .page-hero .page-hero-title{font-size:32px;line-height:1.3}
}
