/* ===== Garden building detail pages (children of "our-garden-buildings"). Markup: include/garden-single.php =====
   Page-editor content is only re-arranged and styled. Uses about.css for the contact band. */

body.ukl-gs,body.ukl-gs .site-container{background:#fff}
body.ukl-gs .site-inner{background:none;padding-top:0}

/* ---- Banner ---- */
.ukl-gs-hero{position:relative;isolation:isolate;box-sizing:border-box;width:100vw;margin:0 0 34px calc(50% - 50vw);overflow:hidden;background:#fdf6e8;border-bottom:1px solid #efe1c3}
.ukl-gs-hero__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:stretch;max-width:1668px;min-height:clamp(260px,23vw,360px);margin:0 auto}
.ukl-gs-hero--noimg .ukl-gs-hero__inner{grid-template-columns:1fr}
.ukl-gs-hero__text{box-sizing:border-box;padding:clamp(20px,2.4vw,34px) 24px clamp(20px,2.4vw,34px)}
.ukl-gs-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 22px;color:#2a1006;font-size:13px}
.ukl-gs-crumbs a{color:#2a1006;text-decoration:none}
.ukl-gs-crumbs a:hover{color:#1f6b24}
.ukl-gs-crumbs span{color:#6b5a48}
.ukl-gs-crumbs strong{font-weight:800}
.ukl-gs-eyebrow{margin:0 0 6px;color:#2a1006;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
body.ukl-gs h1.entry-title{position:relative;margin:0 0 20px;padding-bottom:14px;color:#2a1006;font-size:clamp(30px,3.2vw,48px);font-weight:800;line-height:1.1;letter-spacing:-.02em;text-align:left}
body.ukl-gs h1.entry-title:after{content:"";position:absolute;left:0;bottom:0;width:48px;height:3px;background:#e7a617}
.ukl-gs-lead{max-width:520px;margin:0 0 22px;color:#2a1e14;font-size:14.5px;line-height:1.6}
.ukl-gs-badges{display:flex;flex-wrap:wrap;gap:0;margin:0;padding:0;list-style:none}
.ukl-gs-badges li{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:82px;margin:0;padding:0 16px;color:#2a1006;font-size:12.5px;font-weight:800;line-height:1.25;text-align:center;list-style:none}
.ukl-gs-badges li:first-child{padding-left:0}
.ukl-gs-badges li + li{border-left:1px solid #e6d5ae}
.ukl-gs-badges svg{display:block;width:34px !important;height:34px !important;color:#8a4b0f}
.ukl-gs-hero__media{position:relative;min-height:220px;overflow:hidden;border-radius:46% 0 0 46% / 100% 0 0 100%;box-shadow:-14px 0 0 #f2d9a0}
.ukl-gs-hero__img{position:absolute;inset:0;display:block;width:100% !important;height:100% !important;max-width:none;object-fit:cover}

/* ---- Two columns: quote sidebar | content ---- */
body.ukl-gs .site-inner > .wrap,body.ukl-gs .site-inner{box-sizing:border-box;max-width:1668px;margin-left:auto;margin-right:auto}
body.ukl-gs .content-sidebar-wrap{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:28px;align-items:start;box-sizing:border-box;width:100%;max-width:1668px;margin:0 auto;padding:0 24px 40px}
body.ukl-gs .content-sidebar-wrap:before,body.ukl-gs .content-sidebar-wrap:after{content:none;display:none}
body.ukl-gs .sidebar-primary{grid-column:1;grid-row:1;float:none;width:auto;max-width:none;margin:0;padding:0;background:none}
body.ukl-gs main.content{grid-column:2;grid-row:1;float:none;width:auto;max-width:none;min-width:0;margin:0;padding:0}
body.ukl-gs article.page{margin:0;padding:0;border:0;background:none;box-shadow:none}
body.ukl-gs .entry-content{margin:0;padding:0}

/* ---- Sidebar card (quote form + contact info) ---- */
body.ukl-gs .sidebar-primary .widget{box-sizing:border-box;margin:0 0 20px;padding:22px 22px 24px;border:1px solid #efe1c3;border-radius:18px;background:#fdf6e8;box-shadow:0 2px 8px rgba(80,50,10,.06)}
body.ukl-gs .sidebar-primary .widget-title,body.ukl-gs .sidebar-primary .widget h3,body.ukl-gs .sidebar-primary .widget h4{margin:0 0 14px;color:#2a1006;font-size:clamp(20px,1.7vw,26px);font-weight:800;line-height:1.2;text-align:left}
body.ukl-gs .sidebar-primary label,body.ukl-gs .sidebar-primary .gfield_label{margin:0 0 6px;color:#2a1006;font-size:13.5px;font-weight:700}
body.ukl-gs .sidebar-primary input[type=text],body.ukl-gs .sidebar-primary input[type=email],body.ukl-gs .sidebar-primary input[type=tel],body.ukl-gs .sidebar-primary input[type=number],body.ukl-gs .sidebar-primary select,body.ukl-gs .sidebar-primary textarea{box-sizing:border-box;width:100%;max-width:none;height:42px;padding:0 12px;border:1px solid #e4d7bb;border-radius:8px;background:#fff;color:#2a1006;font-size:14px;box-shadow:none}
body.ukl-gs .sidebar-primary textarea{height:110px;padding:10px 12px}
body.ukl-gs .sidebar-primary input:focus,body.ukl-gs .sidebar-primary select:focus,body.ukl-gs .sidebar-primary textarea:focus{border-color:#b97a3a;outline:0;box-shadow:0 0 0 3px rgba(185,122,58,.2)}
body.ukl-gs .sidebar-primary .gform_footer,body.ukl-gs .sidebar-primary .gform_page_footer{margin:10px 0 0;padding:0}
body.ukl-gs .sidebar-primary a{color:#1b5e20;font-weight:600}
body.ukl-gs .sidebar-primary p,body.ukl-gs .sidebar-primary li{color:#2a1e14;font-size:14px;line-height:1.6}

/* ---- Content sections ---- */
.ukl-gs-body{min-width:0}
.ukl-gs-body p,.ukl-gs-body li{color:#2a1e14;font-size:15px;line-height:1.7}
.ukl-gs-body p{margin:0 0 14px}
.ukl-gs-body a{color:#1b5e20;font-weight:600}
.ukl-gs-body img{max-width:100%;height:auto;border-radius:12px}
.ukl-gs-intro{margin:0 0 8px}
.ukl-gs-intro img{box-shadow:0 4px 14px rgba(60,30,5,.14)}
.ukl-gs-sec{margin:0 0 22px;padding:24px 26px;border:1px solid #efe1c3;border-radius:18px;background:#fffaf0}
.ukl-gs-sec:nth-of-type(even){background:#fff}
.ukl-gs-body h2{position:relative;margin:0 0 16px;padding-bottom:12px;color:#2a1006;font-size:clamp(24px,2.2vw,34px);font-weight:800;line-height:1.2;letter-spacing:-.01em}
.ukl-gs-body h2:after{content:"";position:absolute;left:0;bottom:0;width:44px;height:3px;background:#e7a617}
.ukl-gs-body ul{margin:0 0 16px;padding:0;list-style:none}
.ukl-gs-body li{position:relative;margin:0 0 8px;padding-left:28px;list-style:none}
.ukl-gs-body li:before{content:"";position:absolute;left:2px;top:.5em;width:14px;height:8px;border-left:3px solid #2f8a2f;border-bottom:3px solid #2f8a2f;transform:rotate(-45deg)}
.ukl-gs-body img.aligncenter,.ukl-gs-body .aligncenter{display:block;margin:12px auto 18px}

/* ---- FAQ accordion ---- */
.ukl-gs-faq{margin:0 0 10px;border:1px solid #efe1c3;border-radius:12px;background:#fff;overflow:hidden}
.ukl-gs-faq summary{position:relative;display:block;padding:14px 48px 14px 20px;color:#2a1006;font-size:16px;font-weight:700;line-height:1.4;cursor:pointer;list-style:none}
.ukl-gs-faq summary::-webkit-details-marker{display:none}
.ukl-gs-faq summary:after{content:"";position:absolute;right:20px;top:50%;width:9px;height:9px;margin-top:-7px;border-right:2px solid #8a4b0f;border-bottom:2px solid #8a4b0f;transform:rotate(45deg);transition:transform .2s}
.ukl-gs-faq[open] summary:after{margin-top:-2px;transform:rotate(-135deg)}
.ukl-gs-faq[open] summary{color:#1b5e20}
.ukl-gs-faq p{margin:0;padding:0 20px 16px}
.ukl-gs-faqs h2 + details,.ukl-gs-faqs h2 + *{margin-top:0}

/* contact band is printed outside the columns (full width) */
body.ukl-gs .ukl-about-cta{margin-top:20px}

/* ---- Responsive ---- */
@media (max-width:1024px){
	.ukl-gs-hero__inner{grid-template-columns:1fr}
	.ukl-gs-hero__media{min-height:220px;border-radius:0;box-shadow:none}
	body.ukl-gs .content-sidebar-wrap{grid-template-columns:1fr}
	body.ukl-gs .sidebar-primary,body.ukl-gs main.content{grid-column:1;grid-row:auto}
	body.ukl-gs main.content{order:-1}
}
@media (max-width:600px){
	.ukl-gs-badges li{min-width:0;padding:0 10px}
	.ukl-gs-sec{padding:18px}
}

/* Contact band now sits outside the page container: plain full width */
body.ukl-gs > .site-container > .ukl-about-cta,body.ukl-gs .site-container > .ukl-about-cta,body.ukl-gs .ukl-about-cta{box-sizing:border-box;width:100% !important;max-width:none !important;margin-left:0 !important;margin-right:0 !important}

/* Contact band: text spans the full card width; phone icon + button sit on one row beneath it, aligned with the text */
body.ukl-gs .ukl-about-cta__inner{max-width:1500px;justify-content:flex-start;align-items:center;gap:20px 24px}
body.ukl-gs .ukl-about-cta__text{flex:1 1 100%;max-width:none}
body.ukl-gs .ukl-about-cta__text p{max-width:none}
body.ukl-gs .ukl-about-cta__phone,body.ukl-gs .ukl-about-cta__btn{flex:none}

/* The theme indents every list item 40px (.entry-content ul li { margin-left: 40px }): remove it so ticks line up with the text */
body.ukl-gs .entry-content ul,body.ukl-gs .entry-content ol{margin-left:0 !important;padding-left:0 !important}
body.ukl-gs .entry-content ul li,body.ukl-gs .entry-content ol li{margin-left:0 !important}

/* Tables pasted from Word/Excel carry fixed pixel widths and heights: make every table fill the column.
   The "Twin Skin" table is a table nested inside a cell of another table; flatten the outer one so the inner one gets the full width. */
body.ukl-gs .entry-content table{width:100% !important;max-width:100%;height:auto !important;table-layout:auto;border-collapse:collapse}
body.ukl-gs .entry-content table col{width:auto !important}
body.ukl-gs .entry-content table:has(table),body.ukl-gs .entry-content table:has(table) > tbody,body.ukl-gs .entry-content table:has(table) > tbody > tr,body.ukl-gs .entry-content table:has(table) > tbody > tr > td{display:block;width:100% !important;height:auto !important;padding-left:0;padding-right:0}
body.ukl-gs .entry-content table:has(table) > tbody > tr:first-child > td{padding:14px 0;text-align:center}
/* One line between the title and the inner table (the theme already draws borders on cells / tables) */
body.ukl-gs .entry-content table:has(table) > tbody > tr:nth-child(2) > td{border-top:0}
body.ukl-gs .entry-content table table{margin:0;border-top:0}
@media (max-width:767px){
	body.ukl-gs .entry-content table td,body.ukl-gs .entry-content table th{padding:10px 8px;font-size:14px;line-height:1.5}
}

/* Remove the theme's own bullets so only the tick shows */
body.ukl-gs .ukl-gs-body ul,body.ukl-gs .ukl-gs-body ol{margin-left:0 !important;padding-left:0 !important;list-style:none !important;list-style-image:none !important}
body.ukl-gs .ukl-gs-body li{list-style:none !important;list-style-image:none !important;background:none !important;padding-left:28px !important}
body.ukl-gs .ukl-gs-body li::marker{content:"";color:transparent;font-size:0}
body.ukl-gs .ukl-gs-body li:after{content:none !important}

/* Banner like the About Us page: full-width photo on the right, cream fade on the left */
.ukl-gs-hero{background:#fdf9ef;min-height:clamp(240px,21vw,330px);display:flex;align-items:center}
.ukl-gs-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(253,249,239,.97) 0,rgba(253,249,239,.93) 40%,rgba(253,249,239,.6) 54%,rgba(253,249,239,0) 68%),var(--gs-img,url(../images/shop-banner.jpg)) right center/cover no-repeat}
.ukl-gs-hero__inner{display:block;width:100%;min-height:0;padding:clamp(24px,3.2vw,44px) 24px}
.ukl-gs-hero__text{padding:0;max-width:min(760px,52vw)}
.ukl-gs-hero__media{display:none}
@media (max-width:1024px){
	.ukl-gs-hero__text{max-width:none}
	.ukl-gs-hero:before{background:linear-gradient(90deg,rgba(253,249,239,.94) 0,rgba(253,249,239,.78) 70%,rgba(253,249,239,.5) 100%),var(--gs-img,url(../images/shop-banner.jpg)) 70% center/cover no-repeat}
}

/* Banner now sits outside the page container (after the header): plain full width */
body.ukl-gs .ukl-gs-hero{box-sizing:border-box;width:100% !important;max-width:none !important;margin:0 0 34px !important}
body.ukl-gs .ukl-gs-hero__inner{max-width:1668px;margin:0 auto}

/* Space between side-by-side thumbnails in the intro */
body.ukl-gs .ukl-gs-intro img{margin:0 18px 18px 0;vertical-align:top}
body.ukl-gs .ukl-gs-intro p:has(> img),body.ukl-gs .ukl-gs-intro p:has(> a > img){display:flex;flex-wrap:wrap;gap:18px}
body.ukl-gs .ukl-gs-intro p:has(> img) img,body.ukl-gs .ukl-gs-intro p:has(> a > img) img{margin:0}

/* Mobile: trim the empty space above and below the page body */
@media (max-width:767px){
	body.ukl-gs .ukl-gs-hero{margin-bottom:12px !important}
	body.ukl-gs .site-inner{padding-top:0 !important}
	body.ukl-gs .content-sidebar-wrap{padding:0 16px 12px;gap:16px}
	body.ukl-gs .entry-content,body.ukl-gs article.page{padding-top:0;margin-top:0}
	body.ukl-gs .ukl-gs-body p:empty,body.ukl-gs .ukl-gs-body br:only-child{display:none}
	body.ukl-gs .ukl-gs-intro{margin:0}
	body.ukl-gs .ukl-gs-intro > :first-child,body.ukl-gs .ukl-gs-body > :first-child{margin-top:0;padding-top:0}
	body.ukl-gs .ukl-gs-intro img{display:block;margin:0 0 12px}
	body.ukl-gs .ukl-gs-body > :last-child,body.ukl-gs .ukl-gs-sec:last-child{margin-bottom:0}
	body.ukl-gs .sidebar-primary .widget:last-child{margin-bottom:0}
}
