/* ST.MARYS 1.2.4: restrained buttons and approved houseboat identity. */
body .eyebrow {display:none!important}
body header .brand-logo {width:260px!important;height:auto!important;max-width:100%;object-fit:contain;filter:none!important}
body .stmarys-footer-logo {width:280px!important;height:auto!important;max-width:100%;object-fit:contain;filter:brightness(0) invert(1)!important}
body .btn, body .action-button, body .stmarys-footer-button,
body button, body input[type="submit"], body input[type="button"] {
 border-radius:4px!important;box-shadow:none!important;text-transform:none!important;
 letter-spacing:0!important;font-weight:600;transition:background-color .18s ease,color .18s ease,border-color .18s ease!important;
}
body .btn,body .action-button,body .stmarys-footer-button {
 background:#fff!important;color:#075269!important;border:1px solid #075269!important;
 padding:12px 21px!important;text-decoration:none!important;min-height:44px;
}
body .btn.teal,body .stmarys-header-cta,body button[type="submit"],body input[type="submit"] {
 background:#075269!important;color:#fff!important;border:1px solid #075269!important;
}
body .btn:hover,body .action-button:hover,body .stmarys-footer-button:hover,
body button[type="submit"]:hover,body input[type="submit"]:hover {
 background:#063d50!important;color:#fff!important;border-color:#063d50!important;transform:none!important;box-shadow:none!important;
}
body .btn::before,body .btn::after,body .action-button::before,body .action-button::after,
body .stmarys-footer-button::before,body .stmarys-footer-button::after {display:none!important}
body :is(a,button,input[type="submit"]):focus-visible {outline:3px solid #dc9c2c!important;outline-offset:4px}
body .stmarys-footer-address {max-width:34ch;line-height:1.6}
@media(max-width:767px){body header .brand-logo{width:205px!important}body .stmarys-footer-logo{width:250px!important}body .btn,body .action-button{padding:11px 16px!important}}
@media(prefers-reduced-motion:reduce){body .btn,body button,body .action-button{transition:none!important}}
/* 1.2.5: reset the legacy enlargement/cropping for the tightly cropped logo. */
body header .nav > a:first-child {
 position:relative!important;display:flex!important;align-items:center!important;
 width:280px!important;min-width:0!important;max-width:280px!important;
 height:70px!important;flex:0 1 280px!important;overflow:visible!important;
}
body header .nav > a:first-child .brand-logo {
 position:static!important;inset:auto!important;left:auto!important;top:auto!important;
 display:block!important;width:100%!important;max-width:100%!important;
 height:auto!important;max-height:100%!important;object-fit:contain!important;
 margin:0!important;padding:0!important;transform:none!important;clip-path:none!important;
}
@media(max-width:1200px) and (min-width:1001px){
 body header .nav > a:first-child{width:230px!important;max-width:230px!important;flex-basis:230px!important}
}
@media(max-width:600px){
 body header .nav > a:first-child{width:220px!important;max-width:calc(100% - 85px)!important;flex:0 1 220px!important;height:64px!important}
}
/* 1.2.6: reference pill shape, circular arrow and soft depth; retain brand colours. */
body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,button[type="submit"]) {
 position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 gap:16px!important;border-radius:999px!important;padding:8px 8px 8px 23px!important;
 min-height:46px!important;box-shadow:0 7px 17px rgba(6,61,80,.20)!important;
 line-height:1.35!important;text-align:center;isolation:isolate;
}
body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,button[type="submit"])::after {
 content:"→"!important;display:inline-flex!important;position:static!important;
 align-items:center!important;justify-content:center!important;
 flex:0 0 30px!important;width:30px!important;height:30px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
 background:#fff!important;color:#075269!important;font:500 20px/1 Arial,sans-serif!important;
 opacity:1!important;transform:none!important;box-shadow:0 1px 4px rgba(6,61,80,.12)!important;
}
body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,button[type="submit"]):hover {
 box-shadow:0 9px 20px rgba(6,61,80,.25)!important;
}
body .stmarys-header-cta-label {display:inline!important;padding:0!important;background:none!important}
@media(max-width:600px){
 body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,button[type="submit"]){gap:12px!important;padding:7px 7px 7px 18px!important;min-height:44px!important}
}
/* 1.2.7: consistent action heights and a fixed right-hand arrow. */
body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,.itinerary-button,button[type="submit"]) {
 position:relative!important;display:inline-flex!important;align-items:center!important;
 justify-content:center!important;box-sizing:border-box!important;
 min-height:48px!important;line-height:1.35!important;
 padding:12px 50px 12px 20px!important;border-radius:999px!important;
 text-align:center!important;gap:0!important;white-space:normal!important;
 text-decoration:none!important;isolation:isolate!important;
}
body.stmarys-cms .itinerary-button {
 border:1px solid #075269!important;background:#fff!important;color:#075269!important;
 font-size:12px!important;font-weight:600!important;
 box-shadow:0 7px 17px rgba(6,61,80,.20)!important;
}
body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,.itinerary-button,button[type="submit"])::after {
 content:""!important;position:absolute!important;display:block!important;
 inset:auto 8px auto auto!important;top:50%!important;transform:translateY(-50%)!important;
 width:30px!important;height:30px!important;min-width:30px!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;
 background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23075269' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/17px 17px no-repeat!important;
 opacity:1!important;visibility:visible!important;z-index:2!important;
 box-shadow:0 1px 4px rgba(6,61,80,.12)!important;
 clip:auto!important;clip-path:none!important;mask:none!important;
}
body.stmarys-cms .package-cta-row {
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 align-items:stretch!important;gap:10px!important;
}
body.stmarys-cms .package-cta-row > :is(.btn,.itinerary-button) {
 width:100%!important;min-width:0!important;height:100%!important;
 margin:0!important;padding-left:12px!important;padding-right:46px!important;
}
body.stmarys-cms .boat-cta-row {align-items:stretch!important}
body.stmarys-cms .boat-cta-row > .btn {min-width:0!important}
body.stmarys-cms header .stmarys-header-cta-label {position:relative!important;z-index:1!important}
@media(max-width:600px){
 body.stmarys-cms :is(.btn,.action-button,.stmarys-footer-button,.itinerary-button,button[type="submit"]){min-height:48px!important;padding:12px 48px 12px 18px!important}
 body.stmarys-cms .contact-actions {display:flex!important;flex-wrap:wrap!important;gap:10px!important}
}
@media(max-width:360px){body.stmarys-cms .package-cta-row{grid-template-columns:minmax(0,1fr)!important}}

/* 1.2.8: compact hero and clearer contact routes. */
body .top .wrap>div {display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 24px}
body .top a {display:inline-flex;align-items:center;gap:8px;margin:0}
body .stmarys-contact-icon {display:block;flex:0 0 18px;width:18px;height:18px;min-width:18px}
body .stmarys-footer-contact-link,body .stmarys-footer-address {display:flex!important;align-items:flex-start!important;gap:10px!important}
body .stmarys-footer-contact-link>span,body .stmarys-footer-address>span{min-width:0;overflow-wrap:anywhere}
body .stmarys-footer-contact .stmarys-contact-icon{margin-top:3px}
body .stmarys-desktop-chat {display:none}
@media(min-width:1001px){
 body .hero {height:500px!important;min-height:480px!important;max-height:none!important}
 body .hero-planner {padding:20px!important}
 body .hero-planner .planner-form {gap:11px!important}
 body .hero-planner .planner-intro h3 {font-size:25px!important;margin-bottom:8px!important}
 body .hero-planner input,body .hero-planner select {padding:9px!important}
 body .stmarys-desktop-chat {position:fixed;right:24px;bottom:24px;z-index:80;display:inline-flex;align-items:center;gap:10px;background:#176b4a;color:#fff;padding:13px 20px;border-radius:999px;box-shadow:0 5px 20px #0003;font-size:14px;font-weight:600;text-decoration:none}
 body .stmarys-desktop-chat svg {width:24px;height:24px;flex-shrink:0}
 body .stmarys-desktop-chat:hover {background:#105237}
 body .stmarys-desktop-chat:focus-visible {outline:3px solid #e6a22d;outline-offset:4px}
}
@media(max-width:600px){body .top .wrap>div{gap:5px 16px}body .top a{font-size:10px}body .top .wrap{padding:6px 16px}}

/* 1.2.9: horizontal holiday planner and location identity. */
body .contact-detail:has(>.stmarys-location-pin){display:flex;gap:10px;align-items:flex-start}
body .contact-detail>.stmarys-location-pin{margin-top:5px;color:var(--teal);flex-shrink:0}
body .contact-detail:has(>.stmarys-location-pin)>p{margin:0}
@media(min-width:1001px){
 body .hero{height:530px!important;min-height:530px!important}
 body .hero>.wrap{height:100%!important;padding:25px clamp(22px,4vw,72px) 180px!important;align-items:center!important}
 body .hero-content{max-width:850px!important}
 body .hero h1{font-size:clamp(40px,4vw,60px)!important;margin-bottom:16px!important}
 body .hero p{margin-bottom:20px!important;max-width:600px!important}
 body .hero-planner{position:absolute!important;left:clamp(22px,4vw,72px)!important;right:clamp(22px,4vw,72px)!important;top:auto!important;bottom:58px!important;transform:none!important;width:auto!important;margin:0!important;padding:18px 22px!important;border-radius:14px!important}
 body .hero-planner .planner-form{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.15fr) minmax(180px,.9fr)!important;align-items:end!important;gap:20px!important}
 body .hero-planner .planner-intro{display:none!important}
 body .hero-planner .planner-form label{min-width:0!important;grid-column:auto!important}
 body .hero-planner input,body .hero-planner select{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:44px!important}
 body .hero-planner .btn{width:100%!important;grid-column:auto!important;min-height:48px!important;align-self:end!important}
 body .hero-bottom{top:auto!important;bottom:16px!important}
}
@media(max-width:1000px){
 body .hero-planner{position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto!important;margin:0 22px 22px!important}
 body .hero-planner .planner-form{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 body .hero-planner .planner-form>*{grid-column:1!important;min-width:0!important}
 body .hero-planner input,body .hero-planner select{width:100%!important;box-sizing:border-box!important}
 body .hero-planner .btn{width:100%!important}
 body .hero{height:auto!important;min-height:0!important;max-height:none!important}
 body .hero>.wrap{height:auto!important;min-height:390px!important;padding:35px 22px 70px!important}
 body .hero-bottom{top:auto!important;bottom:auto!important;transform:translateY(-52px);left:22px!important;right:22px!important}
}

@media(max-width:1000px){body .hero-bottom{top:345px!important;bottom:auto!important;transform:none!important}body .hero>.wrap{height:410px!important;min-height:410px!important}}
/* 1.2.10: a contained horizontal planner rather than a full-width strip. */
@media(min-width:1001px){
 body .hero-planner {
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:min(940px,calc(100% - 96px))!important;max-width:940px!important;
  box-sizing:border-box!important;padding:18px 22px!important;
 }
 body .hero-planner .planner-form {
  grid-template-columns:minmax(0,1fr) minmax(0,.9fr) minmax(0,1fr) 180px!important;
  gap:16px!important;
 }
}
/* 1.2.11: centre hero copy and actions on the planner's centre line. */
body .hero .hero-content {
 width:100%!important;max-width:940px!important;margin-inline:auto!important;
 text-align:center!important;
}
body .hero .hero-content h1,body .hero .hero-content p {
 margin-left:auto!important;margin-right:auto!important;text-align:center!important;
}
body .hero .hero-content .actions {
 justify-content:center!important;align-items:center!important;
}
@media(min-width:1001px){
 body .hero>.wrap {justify-content:center!important}
}
@media(max-width:1000px){
 body .hero .hero-content h1{max-width:100%!important}
 body .hero .hero-content p{max-width:540px!important}
 body .hero .hero-content .actions{flex-wrap:wrap!important}
}
/* 1.2.12: opacity-only slider transition; no wipe, zoom or copy movement. */
body .hero .slide {
 clip-path:none!important;visibility:visible!important;opacity:0!important;
 z-index:0!important;transition:opacity .85s ease-in-out!important;
 pointer-events:none;will-change:opacity;
}
body .hero .slide.active {opacity:1!important;z-index:0!important}
body .hero .slide img {
 transform:none!important;transition:none!important;animation:none!important;
}
body .hero .hero-content.slide-copy-in h1,
body .hero .hero-content.slide-copy-in p {
 animation:none!important;transform:none!important;
}
@media(prefers-reduced-motion:reduce){body .hero .slide{transition:none!important}}

/* Remove the legacy round origin badge on saved homepage layouts. */
body .about-art > .stamp {display:none!important}
/* 1.2.17: mobile hero flow, touch targets and consistent action rows. */
@media(max-width:1000px){
 body .hero{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important}
 body .hero>.wrap{order:0!important;height:auto!important;min-height:350px!important;padding:30px 22px 20px!important;flex:0 0 auto!important}
 body .hero .hero-content h1{font-size:clamp(32px,8vw,42px)!important;line-height:1.12!important}
 body .hero .hero-content p{font-size:13px!important;line-height:1.65!important}
 body .hero-bottom{order:1!important;position:relative!important;inset:auto!important;top:auto!important;bottom:auto!important;left:auto!important;right:auto!important;transform:none!important;width:calc(100% - 44px)!important;margin:0 22px 18px!important;gap:10px!important;flex-wrap:wrap!important}
 body .hero-planner{order:2!important;padding:18px!important;margin:0 22px 22px!important}
 body .hero-planner .planner-form{gap:10px!important}
 body .hero-planner .planner-intro h3{font-size:23px!important;margin:0 0 6px!important}
 body .hero-planner .planner-intro h3 br{display:none!important}
 body .hero-planner input,body .hero-planner select{height:44px!important;padding:9px 10px!important;font-size:16px!important}
 body .slide-controls{display:flex;gap:2px!important;align-items:center}
 body .slide-controls button{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center;justify-content:center;flex-shrink:0}
 body .slide-controls .dot{width:28px!important;min-width:28px!important;height:44px!important;min-height:44px!important;background:transparent!important;position:relative!important;padding:0!important;border:0!important}
 body .slide-controls .dot::before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#ffffff90;left:50%;top:50%;transform:translate(-50%,-50%)}
 body .slide-controls .dot.on::before{background:#ffc287}
}
@media(max-width:760px){
 body.stmarys-cms .contact-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.stmarys-cms .contact-actions>.action-button{width:100%!important;min-width:0!important}
 body.stmarys-cms .contact-actions>.action-button:last-child:nth-child(odd){grid-column:1/-1}
 body .cookieadmin_law_container{bottom:calc(82px + env(safe-area-inset-bottom))!important;max-height:calc(100svh - 110px - env(safe-area-inset-bottom))!important;overflow-y:auto!important;box-sizing:border-box!important;max-width:calc(100vw - 24px)!important}
 body .cookieadmin_reconsent_wrap{bottom:calc(82px + env(safe-area-inset-bottom))!important}
}
@media(max-width:480px){
 body.stmarys-cms .package-cta-row{grid-template-columns:minmax(0,1fr)!important}
 body.stmarys-cms .package-cta-row>:is(.btn,.itinerary-button){height:auto!important;min-height:48px!important}
 body .hero .hero-content .actions{gap:10px!important}
}
/* 1.2.18: compact responsive navigation panel. */
@media(max-width:1000px){
 body header .menu{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;padding:10px 13px!important;min-height:44px!important;
  border:1px solid #d5e2df!important;border-radius:8px!important;
  background:#fff!important;color:#075269!important;box-shadow:none!important;
 }
 body header .menu-lines{width:18px!important;height:14px!important}
 body header .menu-lines i{width:18px!important}
 body header .menu[aria-expanded=true] i:first-child{transform:translateY(6px) rotate(45deg)!important}
 body header .menu[aria-expanded=true] i:last-child{transform:translateY(-6px) rotate(-45deg)!important}
 body header .menu-label{font-size:12px!important;font-weight:600!important}
 body header .menu-backdrop{
  display:block!important;position:fixed!important;inset:84px 0 0!important;
  background:rgba(4,31,33,.38)!important;backdrop-filter:blur(3px);
  z-index:50!important;visibility:hidden;opacity:0;pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
 }
 body.menu-is-open header .menu-backdrop{visibility:visible;opacity:1;pointer-events:auto}
 body.stmarys-cms header nav.links{
  position:fixed!important;top:96px!important;right:16px!important;left:auto!important;bottom:auto!important;
  width:min(390px,calc(100vw - 32px))!important;height:auto!important;min-height:0!important;
  max-height:calc(100dvh - 116px - env(safe-area-inset-bottom))!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  box-sizing:border-box!important;padding:17px!important;gap:0!important;
  background:#fff!important;color:#16433f!important;border:1px solid #e0e9e5!important;
  border-radius:14px!important;box-shadow:0 18px 45px #062f302e!important;
  overflow-y:auto!important;overscroll-behavior:contain;z-index:51!important;
  transform:translateY(-8px)!important;opacity:0!important;visibility:hidden!important;
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease!important;
 }
 body.stmarys-cms header nav.links.open{transform:translateY(0)!important;opacity:1!important;visibility:visible!important}
 body header .mobile-menu-heading{display:block!important;margin:0 0 10px!important;padding:0 10px 12px!important;border-bottom:1px solid #e7eeeb}
 body header .mobile-menu-heading>span{font-size:21px!important;font-weight:600!important;letter-spacing:-.4px!important;line-height:1.2}
 body header .mobile-menu-heading>small{display:none!important}
 body.stmarys-cms header nav.links>a:not(.btn),
 body.stmarys-cms header nav.links .stmarys-menu-links a{
  display:flex!important;align-items:center!important;min-height:44px!important;
  padding:10px 12px!important;margin:0!important;border:0!important;border-radius:7px!important;
  font-size:14px!important;line-height:1.3!important;font-weight:600!important;color:#254e48!important;
  text-decoration:none!important;white-space:normal!important;background:transparent!important;
 }
 body.stmarys-cms header nav.links a[aria-current="page"],
 body.stmarys-cms header nav.links>a.active-page{background:#edf4f0!important;color:#075269!important}
 body.stmarys-cms header nav.links>a:not(.btn):hover,
 body.stmarys-cms header nav.links .stmarys-menu-links a:hover{background:#f1f6f3!important}
 body header nav.links .stmarys-menu-links{list-style:none!important;padding:0!important;margin:0!important;display:block!important}
 body header nav.links .stmarys-menu-links li{list-style:none!important;margin:0!important;padding:0!important}
 body header nav.links .stmarys-menu-links .sub-menu{list-style:none;padding:0 0 0 14px;margin:0 0 5px;border-left:1px solid #e0e9e5}
 body.stmarys-cms header nav.links>a.stmarys-header-cta{
  width:100%!important;min-width:0!important;align-self:stretch!important;
  margin:12px 0 0!important;min-height:46px!important;padding:11px 48px 11px 18px!important;
 }
 body header .mobile-menu-contact{display:grid!important;grid-template-columns:1fr 1fr!important;
  gap:8px!important;margin:14px 0 0!important;padding:13px 0 0!important;border-top:1px solid #e7eeeb}
 body header .mobile-menu-contact a{display:flex!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;padding:10px 5px!important;min-height:40px!important;border:1px solid #dde8e2!important;
  border-radius:7px!important;font-size:11px!important;font-weight:600!important;color:#075269!important;white-space:normal}
}
@media(max-width:600px){
 body header .menu-backdrop{top:76px!important}
 body.stmarys-cms header nav.links{top:86px!important;max-height:calc(100dvh - 102px - env(safe-area-inset-bottom))!important}
}
@media(prefers-reduced-motion:reduce){body header .menu-backdrop,body.stmarys-cms header nav.links{transition:none!important}}
