/* Palm Tree page-specific visual repairs, 12 October 2026. */
/* Original high resolution brand artwork, without changing header geometry. */
body #root header img[alt="Palm Tree Covering"],body #root a.brand>img{content:url("https://palmtreecovering.com.au/wp-content/uploads/2026/03/PALM-TREE-COVERING-White-scaled.png")!important;object-fit:contain!important;image-rendering:auto!important;filter:none!important;}


/* Gentle header-to-photo transition, without changing image framing. */
body #root .hero-media::after,body #root .page-hero-media::after{content:"";position:absolute;inset:0 0 auto;height:56px;background:linear-gradient(to bottom,rgba(7,42,55,.55),rgba(7,42,55,0));pointer-events:none;z-index:1;}
/* Clear group booking information beside the homepage enquiry. */
body.home #root .hero .hero-copy{margin-bottom:0!important;}
body.home #root .hero .hero-availability{font-size:14px;line-height:1.5;margin:12px 0 0;color:#d9f1ec;max-width:680px;}
body.home #root .hero .pt-brand-tagline{margin:16px 0 18px!important;}
/* Mobile homepage banner repair grounded in the supplied iPhone screenshot. */
@media(max-width:780px){
body.home #root .hero-media{top:80px!important;}
body.home #root .hero-media img{top:0!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center top!important;mask-image:none!important;}
body.home #root .hero-shade{background:linear-gradient(180deg,rgba(7,42,55,.06) 80px,rgba(7,42,55,.12) calc(80px + 30vw),#072a37 calc(80px + 47.65625vw))!important;}
body.home #root .hero .hero-content{padding-top:calc(80px + 47.65625vw - 32px)!important;padding-bottom:28px!important;}
body.home #root .hero-content>.eyebrow{font-size:11px!important;line-height:1.5!important;letter-spacing:.08em!important;margin:0 0 12px!important;}
body.home #root .hero h1{font-size:clamp(26px,7vw,32px)!important;line-height:1.15!important;margin:0 0 18px!important;}
body.home #root .hero-copy{font-size:16px!important;line-height:1.55!important;margin:0!important;}
body.home #root .hero .pt-brand-tagline{display:flex!important;flex-wrap:wrap!important;gap:2px 8px!important;padding-right:64px!important;font-size:15px!important;line-height:1.5!important;margin:18px 0!important;white-space:normal!important;}
body.home #root .hero .pt-brand-tagline span{white-space:nowrap;}
body.home #root .hero .button-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding-right:64px;}
}
/* Homepage alignment and spacing repairs from the live review. */
body.home #root .offers .offer-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
body.home #root .offers .offer-card{grid-column:span 2;}
body.home #root .offers .offer-card:nth-child(n+4){grid-column:span 3;}
body.home #root .outcome-grid article{min-height:0!important;height:auto!important;}
body.home #root .outcome-grid article h3{margin-top:0!important;}
body.home #root .pt-improvement-copy{display:block!important;max-width:780px;}
body.home #root .pt-improvement-copy h2{margin:12px 0 16px!important;}
@media(max-width:1100px) and (min-width:761px){body.home #root .offers .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}body.home #root .offers .offer-card,body.home #root .offers .offer-card:nth-child(n+4){grid-column:auto;}body.home #root .offers .offer-card:last-child{grid-column:1/-1;}}
@media(max-width:760px){body.home #root .offers .offer-grid{grid-template-columns:minmax(0,1fr)!important;}body.home #root .offers .offer-card,body.home #root .offers .offer-card:nth-child(n+4){grid-column:auto;}}
/* Repairs grounded in the page-by-page review. */
body.home #root .hero-media{top:89px!important;bottom:0!important;height:calc(100% - 89px)!important;}
body.home #root .hero-media img{object-position:center top!important;}
@media(max-width:780px){body.home #root .hero-media{top:80px!important;height:calc(100% - 80px)!important;}}
body.home #root .outcome-grid>article{padding:28px!important;}
body.home #root .outcome-grid>article>span{margin-bottom:24px!important;}
body.page-id-5650 #root main [style*="grid-template-columns"]>p:empty{display:none!important;}
body.page-id-5650 #root main>div>section:nth-of-type(2)>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body.page-id-5650 #root main>div>section:last-of-type a{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;border-radius:12px!important;padding:13px 20px!important;font-size:1rem;}
body.page-id-5178 #root .contact-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.page-id-5178 #root .contact-form select,body.page-id-5178 #root .contact-form textarea{border:1px solid #b9cec9!important;border-radius:12px!important;background:#fff!important;padding:12px 14px!important;font-size:16px!important;min-width:0;max-width:100%;}
body.page-id-5178 #root .contact-form textarea{min-height:140px!important;resize:vertical;}
body.page-id-5179 #root .page-hero,body.page-id-5180 #root .page-hero,body.page-id-5181 #root .page-hero,body.page-id-5178 #root .page-hero{min-height:260px!important;}
body.page-id-5179 #root .page-hero-content,body.page-id-5180 #root .page-hero-content,body.page-id-5181 #root .page-hero-content,body.page-id-5178 #root .page-hero-content{padding-block:44px!important;}
body #root .policy-layout h2{font-size:clamp(1.5rem,2.3vw,2rem)!important;}
body #root .policy-layout section{padding-block:24px!important;}
@media(max-width:780px){
body.page-id-5650 #root main>div>section:nth-of-type(2)>div{grid-template-columns:minmax(0,1fr)!important;}
body #root .hero-content,body #root .page-hero-content{width:calc(100% - 40px)!important;margin-inline:auto;}
body #root .hero h1,body #root .page-hero h1{font-size:clamp(1.85rem,7vw,2.4rem)!important;line-height:1.18!important;max-width:100%;}
body #root .hero h1,body #root .hero p{text-shadow:none!important;}
body #root .pt-contact-layout,body #root .policy-layout{grid-template-columns:minmax(0,1fr)!important;}
body.page-id-5178 #root .contact-form{padding:22px!important;}
body.page-id-5178 #root .contact-form .form-row{grid-template-columns:minmax(0,1fr)!important;}
body #root .page-hero .button-row,body #root .pt-lt-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
body #root .page-hero .button,body #root .hero .button{width:100%;}
}

/* Keep the entire photo width instead of enlarging it to fill a tall box. */
@media(max-width:1100px){
body #root .page-hero-media img,body #root .hero-media img{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important;}
}
@media(max-width:600px){
body #root .page-hero:has(.page-hero-media),body #root .hero:has(.hero-media){background:#0b3444!important;overflow:hidden;}
body #root .page-hero-media,body #root .hero-media{background:#0b3444!important;}
body #root .page-hero-media img,body #root .hero-media img{position:absolute!important;top:0!important;left:0!important;bottom:auto!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important;}
body #root .page-hero-shade,body #root .hero-shade{background:linear-gradient(180deg,rgba(7,42,55,.12) 0,rgba(7,42,55,.28) 120px,rgba(7,42,55,.92) 240px,#0b3444 330px)!important;}
body #root .page-hero:has(.page-hero-media) .page-hero-content{padding-top:170px!important;padding-bottom:32px!important;}
body.home #root .hero-content{padding-top:210px!important;}
body #root .page-hero-media img,body #root .hero-media img{mask-image:linear-gradient(to bottom,#000 0%,#000 65%,transparent 100%);}
}
/* Retain the original full width photo banner and overlay text. */
body #root .hero:has(.hero-media),body #root .page-hero:has(.page-hero-media){min-height:clamp(360px,34vw,460px)!important;height:auto!important;}
body #root .hero-media img,body #root .page-hero-media img{transform:none!important;}
@media(max-width:780px){
body #root .hero:has(.hero-media),body #root .page-hero:has(.page-hero-media){min-height:420px!important;height:auto!important;}
body #root .hero-content,body #root .page-hero-content{padding-block:36px!important;}
}
:root{--pt-review-border:#d4e2df;--pt-review-radius:12px;}
body #root header.site-header .brand{width:230px!important;min-width:230px!important;flex:0 0 230px!important;}
body #root header.site-header .brand img{content:url("https://palmtreecovering.com.au/wp-content/themes/palm-tree-covering-2026-v2.0.41-CONSOLIDATED/assets/palm-tree-covering-logo-white.png");width:100%!important;max-width:none!important;height:auto!important;object-fit:contain;filter:none;opacity:1;}
body #root .header-inner{width:calc(100% - 40px)!important;max-width:1440px;margin-inline:auto;gap:16px!important;min-width:0;}
body #root main section{content-visibility:visible!important;contain-intrinsic-size:none!important;}
body #root main h3{font-family:Georgia,"Times New Roman",serif!important;}
body #root .button,body #root .forminator-button-submit{display:inline-flex;align-items:center;justify-content:center;min-height:48px!important;padding:13px 20px!important;border-radius:var(--pt-review-radius)!important;font-size:1rem!important;line-height:1.4!important;white-space:normal;max-width:100%;}
body #root .forminator-button-submit{background:#258d86!important;color:#fff!important;border:1px solid #258d86!important;font-weight:700!important;}
body #root .forminator-button-submit:focus-visible{outline:3px solid #0b3444;outline-offset:3px;}
body.page-id-5172 #root .container.pt-about-narrow{width:min(860px,calc(100% - 48px))!important;max-width:860px!important;margin-inline:auto!important;}
body.page-id-5172 #root .pt-about-narrow p{max-width:72ch;}
body.page-id-5172 #root .page-hero-media img{object-position:50% 0%!important;}
body.page-id-5398 #root .page-hero-media img{object-position:50% 0%!important;}
body.page-id-5173 #root .page-hero-media img{object-position:50% 28%!important;}
@media(max-width:780px){body.page-id-5173 #root .page-hero-media img{object-position:68% 30%!important;}}
body.page-id-5176 #root .page-hero-media img{object-position:50% 8%!important;}
@media(max-width:780px){body.page-id-5176 #root .page-hero-media img{object-position:70% 22%!important;}}
body.page-id-5175 #root .page-hero-media img{object-position:50% 22%!important;}
body.page-id-5177 #root .page-hero-media img{object-position:50% 20%!important;}
body.page-id-32 #root .page-hero-media img{object-position:50% 18%!important;}
body #root .pt-lt-grid>.pt-lt-card{align-self:start;}
body #root #training-courses .pt-lt-grid>.pt-lt-card{align-self:stretch;}
body #root .pt-brand-card,body #root .pt-lt-card,body #root .resource-library-card{min-width:0;}
body #root .pt-brand-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
body #root .pt-brand-cta p{max-width:72ch;margin-inline:auto;}
body .pt-approved-coursePhoto{justify-content:flex-start!important;background:transparent!important;}
body .pt-approved-coursePhoto img{width:100%;height:auto!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;flex:none!important;}
body .pt-approved-coursePhoto figcaption{padding:16px 20px;}
body .pt-approved-nav a,body .pt-approved-sidebarFooter a,body .pt-approved-requestAccess{min-height:44px;display:flex;align-items:center;}
body .pt-approved-secondaryGrid{margin-bottom:28px;}
body .pt-approved-main>footer h3{font-family:inherit!important;font-size:1rem!important;}
body #root main img,body .pt-approved-main img{max-width:100%;}
@media(max-width:1279px){
body #root .site-header .menu-button{display:flex!important;align-items:center;justify-content:center;min-height:44px;min-width:64px;}
body #root .site-header .nav:not(.nav-open){display:none!important;}
body #root .site-header .nav.nav-open{display:flex!important;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;background:#072a37;padding:20px 24px;gap:4px!important;max-height:calc(100dvh - 88px);overflow-y:auto;}
body #root .site-header .nav.nav-open a{display:flex;align-items:center;min-height:44px;padding:10px 12px;font-size:1rem!important;white-space:normal;}
}
@media(min-width:781px) and (max-width:1150px){
body #root .pt-brand-grid:not(.two),body #root .resource-library-grid,body #root .offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
body #root .pt-contact-layout{grid-template-columns:minmax(0,1fr)!important;}
body #root .pt-about-purpose-grid,body #root .pt-about-principles-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:780px){
body #root header.site-header .brand{width:190px!important;min-width:190px!important;flex-basis:190px!important;}
body #root .header-inner{width:calc(100% - 32px)!important;gap:12px!important;}
body #root .pt-brand-grid,body #root .pt-about-purpose-grid,body #root .pt-about-principles-grid,body #root .pt-about-work-links,body #root .pt-contact-layout{grid-template-columns:minmax(0,1fr)!important;}
body.page-id-5172 #root .container.pt-about-narrow{width:calc(100% - 40px)!important;}
body #root .pt-brand-cta .button,body #root .pt-lt-actions .button,body #root .forminator-button-submit{width:100%;}
body .pt-approved-coursePhoto img{height:auto!important;max-height:none!important;}
body .pt-approved-coursePhoto{max-width:100%;align-self:start;}
body #root .page-hero-media img{object-position:60% 0%!important;}
body.page-id-5175 #root .page-hero-media img{object-position:62% 0%!important;}
body.page-id-5177 #root .page-hero-media img{object-position:68% 0%!important;}
body.page-id-32 #root .page-hero-media img{object-position:65% 0%!important;}
}
@media(max-width:359px){
body #root header.site-header .brand{width:160px!important;min-width:160px!important;flex-basis:160px!important;}
body #root .header-inner{width:calc(100% - 24px)!important;gap:8px!important;}
}
