/* Square 45: shared public-site design. */

/* Photo and text cards */

 .square45-intro-card{border:1px solid #dce5dc;border-radius:20px;padding:24px;background:#f6f8f4;box-shadow:0 4px 18px rgba(28,56,36,.05);margin:0 0 28px!important;overflow:hidden}
 .square45-intro-card:nth-of-type(even){background:#fff}
 .square45-intro-card .wp-block-columns{gap:26px;margin:0!important;align-items:center!important}
 .square45-intro-card .wp-block-column{min-width:0}
 .square45-intro-card .wp-block-image{margin:0!important;border-radius:12px;overflow:hidden}
 .square45-intro-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
 .square45-location-card img{aspect-ratio:auto;object-fit:contain;height:auto}
 .square45-location-card iframe{display:block;max-width:100%;height:360px}
 .square45-intro-card h2{font-size:24px;line-height:1.3;margin:0 0 14px!important}
 .square45-intro-card p+p{margin-top:14px!important}
 .square45-intro-card p{font-size:16px;line-height:1.8;margin:0!important}
 @media(min-width:992px){body.page-id-5 .site-body .main-section,body.page-id-7 .site-body .main-section,body.page-id-8 .site-body .main-section,body.page-id-10 .site-body .main-section,body.page-id-9 .site-body .main-section,body.page-id-6 .site-body .main-section{width:100%!important;max-width:1060px!important;flex-basis:100%!important;float:none!important}}
 @media(max-width:781px){.square45-intro-card{padding:18px;border-radius:16px}.square45-intro-card .wp-block-columns{gap:20px}.square45-location-card img{aspect-ratio:auto;object-fit:contain;height:auto}
 .square45-location-card iframe{display:block;max-width:100%;height:360px}
 .square45-intro-card h2{font-size:22px}}
 

/* Room Gallery */
.square45-room-gallery.square45-room-enhanced{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;align-items:start;max-width:1200px!important;width:100%}
.square45-room-gallery.square45-room-enhanced>*{margin:0!important;max-width:none!important;width:auto!important}
.square45-room-menu{position:sticky;top:30px;padding:20px;background:#f1f5f1;border:1px solid #dbe4db;border-radius:14px}
.square45-room-menu-title{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#526458;margin:0 0 14px}
.square45-room-buttons{display:grid;gap:4px}
.square45-room-buttons button{text-align:left;width:100%;font:inherit;font-size:14px;line-height:1.4;padding:10px 12px;border:0;border-radius:7px;background:transparent;color:#24412e;cursor:pointer}
.square45-room-buttons button:hover{background:#e2eae2}
.square45-room-buttons button[aria-pressed=true]{background:#214b36;color:#fff;font-weight:600}
.square45-room-buttons button:focus-visible,.square45-room-select-label select:focus-visible{outline:2px solid #214b36;outline-offset:3px}
.square45-room-status{font-size:12px;color:#526458;margin:16px 12px 0}
.square45-room-gallery .square45-room-panel[hidden]{display:none!important}
.square45-room-panel h2{margin:0 0 20px!important;font-size:clamp(24px,3vw,34px)}
.square45-room-panel .wp-block-gallery{gap:16px!important;margin:0!important}
.square45-room-panel .wp-block-image{border-radius:10px;overflow:hidden}
.square45-room-panel img{aspect-ratio:4/3;object-fit:cover}
.square45-room-select-label{display:none;font-size:13px;font-weight:600}
@media(max-width:780px){.square45-room-gallery.square45-room-enhanced{grid-template-columns:1fr;gap:22px}.square45-room-menu{position:static;padding:16px}.square45-room-buttons{display:none}.square45-room-select-label{display:block}.square45-room-select-label select{display:block;width:100%;margin-top:7px;padding:12px;background:white;color:#24412e;border:1px solid #99ad9d;border-radius:7px;font:inherit;font-size:16px}.square45-room-status{margin:10px 0 0}.square45-room-menu-title{margin-bottom:10px}}
@media(max-width:480px){.square45-room-panel .wp-block-gallery .wp-block-image{width:100%!important}.square45-room-panel .wp-block-gallery{gap:12px!important}}

/* One photo per row for room galleries. */
.square45-room-panel .wp-block-gallery{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.square45-room-panel .wp-block-gallery .wp-block-image{width:100%!important;margin:0!important}

/* Larger photos: expand this page beyond the theme column. */
@media(min-width:992px){body.page-id-37 .site-body .main-section{width:100%!important;max-width:970px!important;flex-basis:100%!important;float:none!important}body.page-id-37 .square45-room-gallery{max-width:970px!important}}


/* Booking calendar and request form */
.square45-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}.square45-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.square45-calendar-grid>strong{text-align:center;font-size:12px}.square45-calendar-day{display:flex;flex-direction:column;gap:4px;padding:10px 6px;border:1px solid #d8dfd7;border-radius:8px;min-height:80px;background:#fff;color:#193b2b}.square45-calendar-day span{font-size:13px}.square45-calendar-day small{font-size:10px}.square45-calendar-day.held{background:#fff1c2;border-color:#b17b00;color:#634200}.square45-calendar-day.booked{background:#f6d9d8;border-color:#ac3535;color:#752020}.square45-calendar-day.past{opacity:.6}.square45-calendar-legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px}.square45-calendar-legend .held{background:#fff1c2;padding:3px 6px}.square45-calendar-legend .booked{background:#f6d9d8;padding:3px 6px}.square45-honeypot{position:absolute;left:-10000px}.square45-request-form{margin-top:32px}.square45-request-output{display:block;margin-top:18px}.square45-request-output table{width:100%}.square45-request-form input:not([type=checkbox]){padding:10px;max-width:100%;box-sizing:border-box}.square45-request-form button,.square45-calendar-nav button{background:#214b36;color:#fff;border:0;border-radius:6px;padding:10px 15px;cursor:pointer}.square45-request-form button:disabled{opacity:.6;cursor:wait}@media(max-width:560px){.square45-calendar-day{padding:6px 3px;min-height:68px}.square45-calendar-day span{font-size:10px}.square45-calendar-day small{font-size:8px}.square45-calendar-grid{gap:3px}}

/* Reservation form layout */
.square45-reservation .square45-request-form{max-width:800px;padding:28px;border:1px solid #d8dfd7;border-radius:14px;background:#fff;box-shadow:0 4px 20px rgba(25,59,43,.04)}
.square45-reservation .square45-request-form h3{margin:0 0 12px}
.square45-reservation .square45-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px 18px;margin-top:24px}
.square45-reservation .square45-fields>label{display:block;font-size:14px;font-weight:600;line-height:1.5;min-width:0}
.square45-reservation .square45-field-date{grid-column:span 4}
.square45-reservation .square45-field-guests{grid-column:span 4}
.square45-reservation .square45-field-name,.square45-reservation .square45-field-email{grid-column:span 6}
.square45-reservation .square45-field-trip{grid-column:1/-1}
.square45-reservation .square45-request-form .square45-fields input,.square45-reservation .square45-request-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:10px 12px;border:1px solid #9ba99e;border-radius:6px;background:#fff;color:#193b2b;font:inherit;font-weight:400;min-height:44px}
.square45-reservation .square45-request-form textarea{resize:vertical;min-height:120px}
.square45-reservation .square45-request-form input:focus,.square45-reservation .square45-request-form textarea:focus{outline:2px solid #214b36;outline-offset:2px}
.square45-reservation .square45-required,.square45-reservation .square45-field-error{color:#b42318}
.square45-reservation .square45-field-help,.square45-reservation .square45-field-error{display:block;font-size:12px;font-weight:400;margin-top:6px}
.square45-reservation .square45-field-help,.square45-reservation .square45-required-note{color:#526458}
.square45-reservation .square45-required-note{font-size:12px;margin:14px 0}
.square45-reservation .square45-terms{font-size:14px;margin:20px 0}
.square45-reservation .square45-terms label{display:flex;align-items:flex-start;gap:10px}
.square45-reservation .square45-terms input{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0;accent-color:#214b36}
.square45-reservation .square45-form-actions{display:flex;gap:12px;flex-wrap:wrap}
.square45-reservation .square45-form-actions .square45-check-price{background:#eff4ef;color:#214b36;border:1px solid #a7b8a9}
@media(max-width:600px){.square45-reservation .square45-request-form{padding:20px 16px}.square45-reservation .square45-fields{gap:16px 12px}.square45-reservation .square45-field-date{grid-column:span 6}.square45-reservation .square45-field-guests{grid-column:1/-1;max-width:180px}.square45-reservation .square45-field-name,.square45-reservation .square45-field-email{grid-column:1/-1}.square45-reservation .square45-form-actions{flex-direction:column}.square45-reservation .square45-form-actions button{width:100%}}

/* Shared colours and page presentation */
body.square45-site{--square45-ink:#233c2d;--square45-green:#214b36;--square45-border:#dce5dc;--square45-paper:#fff;--square45-muted:#56675b}
body.square45-site .site-body{background:linear-gradient(180deg,#f4f5ef 0%,#fafbf8 100%);padding-top:42px;padding-bottom:52px}
body.square45-site .page-header{background:#214b36;background:linear-gradient(120deg,#214b36,#3e654e);color:white}
body.square45-site .page-header-title{color:white}
body.square45-site .breadSection{background:#eef2eb;border-color:var(--square45-border)}
body.square45-site .entry-body{color:var(--square45-ink);font-size:16px;line-height:1.8}
body.square45-site .entry-body a{color:var(--square45-green);text-underline-offset:3px}
body.square45-site .square45-intro-card,body.square45-site .square45-intro-card:nth-of-type(even){background:var(--square45-paper);border-color:var(--square45-border);border-radius:20px;box-shadow:0 5px 22px rgba(35,60,45,.05)}
body.square45-site .square45-intro-card h2,body.square45-site .square45-room-panel h2{color:var(--square45-green);border:0;background:none;padding:0;box-shadow:none;font-size:26px;line-height:1.35}
body.square45-site .square45-intro-card h2:after,body.square45-site .square45-room-panel h2:after{display:none}
body.square45-site .wp-element-caption{font-size:12px;line-height:1.5;color:var(--square45-muted)}
body.square45-site .square45-room-menu{background:white;border-radius:20px;box-shadow:0 5px 22px rgba(35,60,45,.05)}
body.square45-site .square45-room-menu{top:84px}
body.square45-site .square45-reservation .square45-calendar{padding:24px;border:1px solid var(--square45-border);border-radius:20px;background:white}
body.square45-site .square45-reservation .square45-request-form{border-radius:20px;border-color:var(--square45-border)}
body.square45-site .square45-reservation h2,body.square45-site .square45-reservation h3{color:var(--square45-green)}
body.square45-site .square45-room-panel .wp-block-image{border-radius:12px}
@media(min-width:992px){body.square45-site .site-body .main-section{width:100%!important;max-width:1060px!important;flex-basis:100%!important;float:none!important}body.square45-site.page-id-37 .site-body .main-section{max-width:970px!important}}
@media(max-width:781px){body.square45-site .site-body{padding-top:28px;padding-bottom:36px}body.square45-site .square45-intro-card{border-radius:16px}body.square45-site .square45-intro-card h2,body.square45-site .square45-room-panel h2{font-size:22px}body.square45-site .square45-reservation .square45-calendar{padding:14px}}


body.square45-site .site-body .main-section{width:100%!important;max-width:1060px!important;flex-basis:100%!important;float:none!important} .square45-facts{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 28px}.square45-facts span{padding:10px 18px;border:1px solid #dce5dc;border-radius:30px;background:white;color:#214b36}.site-header-logo a::before{content:"45";display:grid;place-items:center;width:46px;height:46px;background:#214b36;color:#fff;border-radius:9px;font-family:Georgia,serif;font-size:24px;margin-right:12px}.sub-section{display:none}.square45-notice{border-left:4px solid #214b36;padding:16px 20px;background:#eef2eb;margin-bottom:24px}
.site-header-logo a{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:12px}.site-header-logo a::before{flex:0 0 42px;width:42px;height:42px;margin-right:0}.site-header-logo{line-height:1.3}@media(max-width:991px){.site-header-logo a{gap:9px}.site-header-logo a::before{flex-basis:34px;width:34px;height:34px;font-size:21px}}
