/*
Theme Name: DT Construction Blocks
Author: DT Construction
Description: Editable one-page WordPress block theme for DT Construction Building Services Ltd, Cuffley.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: dt-construction-blocks
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}a{color:inherit}a,button,input,select,textarea{outline-offset:5px}p{line-height:1.8}h1,h2,h3{line-height:1.15;font-weight:500;letter-spacing:-.035em}h1{font-size:clamp(3rem,6vw,4.75rem);margin:0 0 24px}h2{font-size:clamp(2rem,4vw,2.7rem)}h3{font-size:1.2rem;letter-spacing:-.015em}em{font-style:normal;color:#9bb7ff}.wp-site-blocks>.wp-block-template-part,.wp-site-blocks>main,main>.wp-block-post-content{margin-block-start:0}.wp-block-post-content>*{margin-block-start:0;margin-block-end:0}.dt-section{max-width:1200px!important;margin:0 auto!important;padding:90px 48px}.dt-section .wp-block-columns{gap:60px}.dt-eyebrow{font-size:.875rem;letter-spacing:.12em;font-weight:700;color:#083ddb;margin-bottom:25px}.dt-intro{font-size:1.3rem;color:#202b2c}.dt-hero{padding:80px 8% 36px!important}.dt-hero-content{max-width:700px}.dt-hero .dt-eyebrow,.dt-hero p{color:#fff}.dt-hero p{max-width:580px}.dt-hero-bottom{margin-top:50px!important;font-size:.875rem;letter-spacing:.12em}.dt-hero .wp-block-buttons{gap:20px;margin-top:30px}.dt-hero .wp-block-button:nth-child(2) .wp-block-button__link{background:transparent;border:1px solid white}.dt-header,.dt-footer{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:12px 5.5%;max-width:none}.dt-header{min-height:100px}.dt-header figure,.dt-footer figure{margin:0}.dt-logo img{width:103px!important;height:82px!important;object-fit:contain}.dt-header .wp-block-navigation{font-size:.875rem;gap:28px}.dt-footer{padding-top:30px;padding-bottom:30px}.dt-footer p{font-size:.875rem}.dt-assurance{background:#f5f4ef;padding:22px 8%}.dt-assurance .wp-block-columns{margin:0;gap:20px}.dt-assurance p{font-size:.875rem;text-align:center;margin:0}.dt-services,.dt-contact{background:#f5f4ef}.dt-card{border:1px solid #dfdfd8;background:white;padding:30px;margin-bottom:18px}.dt-card h3{margin-top:20px}.dt-card a{color:#083ddb;font-weight:600}.dt-services .wp-block-columns{gap:28px}.dt-gallery{display:grid!important;grid-template-columns:1.1fr 1fr;grid-template-rows:245px 245px;gap:18px!important}.dt-gallery>.wp-block-column{display:contents}.dt-project{position:relative;background:#202b2c;margin:0!important;overflow:hidden;color:white}.dt-gallery>.wp-block-column:first-child>.dt-project{grid-row:span 2}.dt-project figure{height:100%;margin:0!important}.dt-project img{width:100%;height:100%;object-fit:cover;display:block}.dt-project:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#0a1414ba,transparent 65%)}.dt-project .dt-eyebrow,.dt-project h3{position:absolute;z-index:1;left:25px;color:white;pointer-events:none}.dt-project .dt-eyebrow{bottom:58px;font-size:.8rem;letter-spacing:.08em;margin:0}.dt-project h3{bottom:22px;margin:0;font-size:1.25rem}.dt-image-trigger{display:block;border:0;padding:0;background:none;width:100%;height:100%;cursor:pointer}.dt-gallery.dt-filtered{grid-template-rows:360px}.dt-gallery.dt-filtered>.wp-block-column:first-child>.dt-project{grid-row:auto}.dt-project[hidden]{display:none!important}#projects>.wp-block-buttons{gap:8px;margin-bottom:28px}#projects>.wp-block-buttons .wp-block-button__link{font-size:.875rem;background:white;color:#202b2c;border:1px solid #dfdfd8;padding:10px 18px}#projects>.wp-block-buttons a[aria-pressed=true]{background:#202b2c;color:white}.dt-photo-note{font-size:.875rem;color:#697172}.dt-process{background:#202b2c;color:white}.dt-process .dt-eyebrow{color:#9bb7ff}.dt-steps>.wp-block-column{border-top:1px solid #53615e;padding-top:24px}.dt-enquiry,.dt-form-editor{background:white;padding:30px}.dt-form-editor{border:1px dashed #083ddb}.dt-enquiry label{display:block;font-size:.875rem;font-weight:600;margin-bottom:18px}.dt-enquiry input,.dt-enquiry select,.dt-enquiry textarea{font:inherit;width:100%;border:1px solid #dcded8;background:white;padding:13px;margin-top:8px;border-radius:0;color:#202b2c}.dt-enquiry textarea{resize:vertical}.dt-form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dt-enquiry .dt-check{display:flex;gap:10px;font-weight:400;line-height:1.6}.dt-enquiry .dt-check input{width:18px;height:18px;flex-shrink:0;margin:2px 0;accent-color:#083ddb}.dt-enquiry button{width:100%;cursor:pointer;border:0}.dt-form-status{font-size:.875rem}.dt-lightbox{padding:18px;border:0;background:#202b2c;color:white;width:min(1000px,90vw);max-height:90vh}.dt-lightbox::backdrop{background:#142121db}.dt-lightbox img{display:block;width:100%;max-height:70vh;object-fit:contain;margin-top:15px}.dt-lightbox p{margin:12px 0}.wp-element-button:hover{background:#062eaa}.dt-contact a{overflow-wrap:anywhere}.editor-styles-wrapper .dt-gallery{display:block!important}.editor-styles-wrapper .dt-gallery>.wp-block-column{display:block}.editor-styles-wrapper .dt-project{height:300px;margin-bottom:18px!important}.editor-styles-wrapper .dt-project figure{height:100%}.editor-styles-wrapper .dt-header{flex-wrap:wrap}
@media(max-width:781px){.dt-section{padding:60px 7%}.dt-section .wp-block-columns{gap:25px}.dt-hero{min-height:580px!important;padding:70px 7% 30px!important}.dt-gallery{grid-template-columns:1fr;grid-template-rows:350px 260px 260px}.dt-gallery>.wp-block-column:first-child>.dt-project{grid-row:auto}.dt-gallery.dt-filtered{grid-template-rows:none;grid-auto-rows:300px}.dt-assurance .wp-block-columns{gap:12px}.dt-assurance p{text-align:left}.dt-header{padding:8px 6%;min-height:80px}.dt-logo img{width:82px!important;height:65px!important}.dt-form-row{grid-template-columns:1fr;gap:0}.dt-enquiry{padding:23px}.dt-footer{flex-wrap:wrap;padding:25px 7%}.dt-footer p{flex:1;min-width:200px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Original project photography and editable drone hero. */
.dt-hero-wrap{position:relative;margin:0!important;background:#202b2c;isolation:isolate}
.dt-hero-wrap .dt-hero{position:relative;z-index:1;margin:0!important}
.dt-hero-fallback{position:absolute;inset:0;margin:0!important;z-index:0}
.dt-hero-fallback img{width:100%;height:100%;object-fit:cover}
.dt-hero-pause{position:absolute;right:24px;bottom:20px;z-index:4;border:1px solid white;background:#202b2cc9;color:white;padding:9px 14px;cursor:pointer;font:inherit;font-size:.875rem}
.dt-about-photo{margin-top:30px}.dt-about-photo img{width:100%;max-height:370px;object-fit:cover}
.dt-gallery,.dt-gallery.dt-filtered{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:320px;gap:18px!important}
.dt-project .dt-eyebrow{font-size:.75rem}.dt-project h3{font-size:1.15rem;max-width:calc(100% - 50px)}
.dt-project-video{margin:30px 0 0}.dt-project-video video{display:block;width:100%;max-height:620px;background:#202b2c}
.editor-styles-wrapper .dt-hero-fallback{position:static;max-width:400px}.editor-styles-wrapper .dt-hero-fallback img{height:auto}
.editor-styles-wrapper .dt-gallery{display:block!important}
@media(max-width:950px){.dt-gallery,.dt-gallery.dt-filtered{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:781px){.dt-hero-wrap .wp-block-cover__video-background{display:none}.dt-hero-pause{display:none}.dt-gallery,.dt-gallery.dt-filtered{grid-template-columns:1fr;grid-auto-rows:350px}}
@media(prefers-reduced-motion:reduce){.dt-hero-wrap .wp-block-cover__video-background{display:none}.dt-hero-pause{display:none}}
