/* Outwest: minor polish, scoped to the two existing pages. */
:is(body.page-id-25104, body.page-id-24589) h3.wp-block-heading {
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  margin-top: 24px;
  margin-bottom: 12px;
}
body.page-id-25104 .style-kubio-193-text {
  font-size: 16px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: center !important;
}
:is(body.page-id-25104, body.page-id-24589) .wp-block-kubio-button__link {
  background: #46515f !important;
  color: #fff !important;
  border: 1px solid #46515f !important;
  border-radius: 4px !important;
  padding: 14px 24px !important;
  min-height: 44px;
  line-height: 1.25 !important;
  white-space: normal;
}
:is(body.page-id-25104, body.page-id-24589) .wp-block-kubio-button__link:is(:hover, :focus-visible) {
  background: #29333d !important;
  border-color: #29333d !important;
  color: #fff !important;
}
:is(body.page-id-25104, body.page-id-24589) .wp-block-kubio-button__link:focus-visible {
  outline: 3px solid #daaa51;
  outline-offset: 3px;
}
body.page-id-24589 :is(.style-owf632da37ad9f-text, .style-owee10615988f7-outer h2) {
  font-size: 42px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}
body.page-id-24589 :is(.style-oweb788aafabfd-text, .style-ow927739d6c615-text, .style-owee10615988f7-outer h3) {
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
body.page-id-24589 :is(.style-lDAbU51PJl-outer, .style-SzAhZwoU6A-outer) {
  padding-left: max(24px, calc((100% - 1200px) / 2)) !important;
  padding-right: max(24px, calc((100% - 1200px) / 2)) !important;
}
@media (max-width: 767px) {
  :is(body.page-id-25104, body.page-id-24589) h3.wp-block-heading {
    font-size: 22px !important;
  }
  body.page-id-24589 :is(.style-owf632da37ad9f-text, .style-owee10615988f7-outer h2) {
    font-size: 30px !important;
  }
}

/* Match the sleeper benefits panel to the existing light section palette. */
body.page-id-24589 .style-uxK8lQLkgZ-inner {
  background: #f5f7fa !important;
}
body.page-id-24589 .style-uxK8lQLkgZ-inner > .background-wrapper .overlay-image-layer {
  background: transparent !important;
  opacity: 0 !important;
}
body.page-id-24589 .style-Tv2EJaPfmO-text,
body.page-id-24589 .style-Tv2EJaPfmO-text strong {
  font-weight: 400 !important;
}
body.page-id-24589 .style-SzAhZwoU6A-outer h3.wp-block-heading {
  font-size: 42px !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}
@media (max-width: 767px) {
  body.page-id-24589 .style-SzAhZwoU6A-outer h3.wp-block-heading {
    font-size: 30px !important;
  }
}

@media (max-width: 767px) {
  :is(body.page-id-25104, body.page-id-24589) h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* Mark's screenshot reference: hero and four floating feature cards. */
:is(body.page-id-25104, body.page-id-24589) #hero h1 {
  font-size: 40px !important; line-height: 1.2 !important;
  font-weight: 700 !important; text-align: center !important;
  max-width: 1100px !important; margin-left: auto !important; margin-right: auto !important;
}
body.page-id-25104 #hero { padding: 100px 24px 100px !important; }
:is(body.page-id-25104, body.page-id-24589) #hero-accent {
  background: transparent !important; margin: -16px 0 0 !important;
  padding: 0 28px 48px !important; position: relative; z-index: 2;
  overflow: visible !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-section__inner {
  width: 100%; max-width: none; padding: 0 !important; margin: 0 !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-row__container {
  background: transparent !important; padding: 0 !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-row__inner {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px; margin: 0 !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__container {
  width: 100% !important; max-width: 100% !important; padding: 0 !important;
  --ow-card-accent: #949fb0;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__container:nth-child(2) { --ow-card-accent: #67758c; }
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__container:nth-child(3) { --ow-card-accent: #3e4b5e; }
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__container:nth-child(4) { --ow-card-accent: #bec5d3; }
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__inner {
  background: #f6f8fa !important; padding: 48px 24px 28px !important;
  border-bottom: 10px solid var(--ow-card-accent) !important;
  box-shadow: 0 19px 38px rgba(0,0,0,.16) !important;
  min-height: 170px; overflow: visible !important; width: 100%;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-column__align {
  align-self: stretch !important; text-align: center !important; width: 100%;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .background-wrapper .overlay-image-layer {
  background: transparent !important; opacity: 0 !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-icon__outer {
  margin: -88px 0 12px !important; text-align: center !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-icon__inner {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: content-box !important; width: 40px !important; height: 40px !important;
  padding: 20px !important; border-radius: 50% !important;
  background: var(--ow-card-accent) !important; color: #fff !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-icon__inner svg {
  width: 40px !important; height: 40px !important; fill: currentColor !important;
}
:is(body.page-id-25104, body.page-id-24589) #hero-accent :is(h2,h5) {
  font-size: 20px !important; line-height: 1.5 !important;
  font-weight: 600 !important; text-transform: none !important;
  letter-spacing: normal !important; color: #232d36 !important;
  margin: 0 !important; text-align: center !important;
}
@media (min-width: 768px) and (max-width: 1023px) {
  :is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-row__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px;
  }
}
@media (max-width: 767px) {
  :is(body.page-id-25104, body.page-id-24589) #hero h1 { font-size: 32px !important; }
  :is(body.page-id-25104, body.page-id-24589) #hero-accent { padding: 0 24px 40px !important; }
  :is(body.page-id-25104, body.page-id-24589) #hero-accent .wp-block-kubio-row__inner {
    grid-template-columns: minmax(0, 1fr); row-gap: 64px;
  }
}

/* Outwest sleeper mobile refinements — 4 October 2026. */
body.page-id-24589 .style-D1Rf3m_KwYg-inner { background: #46515f !important; border-radius: 6px !important; }
body.page-id-24589 .style-D1Rf3m_KwYg-inner > .background-wrapper .background-layer { background-color: transparent !important; }
body.page-id-24589 .style-D1Rf3m_KwYg-inner :is(h3,h5,p,a) { color: #fff !important; opacity: 1 !important; text-align: center !important; }
body.page-id-24589 .style-D1Rf3m_KwYg-inner p { line-height: 1.6 !important; }
@media (max-width: 767px) {
  body.page-id-24589 .wp-block-kubio-section__outer:not(#hero-accent):not(#footer-section) { padding-left: 20px !important; padding-right: 20px !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) > .wp-block-kubio-section__inner { width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) .wp-block-kubio-row__inner { margin-left: 0 !important; margin-right: 0 !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) .wp-block-kubio-column__container { min-width: 0; padding-left: 0 !important; padding-right: 0 !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) .wp-block-kubio-column__inner { padding-left: 0 !important; padding-right: 0 !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) :is(h1,h2,h3,h4,h5,h6,p) { text-align: center !important; max-width: 100% !important; overflow-wrap: break-word; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) :is(ul,ol) { padding-left: 22px !important; padding-right: 8px; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) p { font-size: 16px !important; line-height: 1.65 !important; }
  body.page-id-24589 .wp-block-kubio-section__outer:not(#footer-section) :is(h2,h3) { font-size: 28px !important; line-height: 1.3 !important; }
  body.page-id-24589 #hero-accent { margin-top: 24px !important; padding: 0 20px 40px !important; }
  body.page-id-24589 #hero-accent .wp-block-kubio-row__inner { row-gap: 24px !important; }
  body.page-id-24589 #hero-accent .wp-block-kubio-column__inner { padding: 24px !important; min-height: 0 !important; }
  body.page-id-24589 #hero-accent .wp-block-kubio-icon__outer { margin: 0 0 16px !important; }
  body.page-id-24589 #call-to-action .style-QDJN6WLPfE-inner { display: flex !important; flex-direction: column !important; gap: 24px !important; }
  body.page-id-24589 #call-to-action .style-c53RJOlkdq-container { order: 1 !important; width: 100% !important; flex-basis: auto !important; }
  body.page-id-24589 #call-to-action .style-5zOJnvcsHzf-container { order: 2 !important; width: 100% !important; flex-basis: auto !important; min-height: 280px !important; }
  body.page-id-24589 #call-to-action .style-c53RJOlkdq-inner { padding: 28px 20px !important; }
  body.page-id-24589 #call-to-action .wp-block-kubio-spacer__container { height: 16px !important; }
  body.page-id-24589 #portfolio .style-thJWFboZpTB-inner { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 28px !important; }
  body.page-id-24589 #portfolio .style--gWmN7YRKX0-container { width: 100% !important; max-width: 100% !important; }
  body.page-id-24589 #portfolio .style--gWmN7YRKX0-inner { padding: 24px 20px !important; border-radius: 6px; background: #f5f7fa !important; }
  body.page-id-24589 #portfolio .style--gWmN7YRKX0-align { align-self: stretch !important; }
  body.page-id-24589 #portfolio .style-1uv6y_acwi_-inner { justify-content: center !important; }
  body.page-id-24589 #portfolio .style-eVJDvuL6nDb-container { margin-left: 8px; }
  body.page-id-24589 #portfolio figure { margin: 20px 0 0 !important; width: 100% !important; }
  body.page-id-24589 #portfolio img { width: 100% !important; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover !important; border-radius: 4px; }
  body.page-id-24589 .style-D1Rf3m_KwYg-container { width: 100% !important; flex-basis: 100% !important; }
  body.page-id-24589 .style-D1Rf3m_KwYg-inner { padding: 24px 20px !important; margin-bottom: 20px !important; min-height: 0 !important; }
  body.page-id-24589 .style-D1Rf3m_KwYg-inner :is(h3,h5) { margin-bottom: 12px !important; }
}

/* Shared footer: consistent columns and compact vertical rhythm. */
.style-qYBU97bkIH-outer { padding: 32px 24px !important; }
.style-qYBU97bkIH-outer .style-tbycrroLqk-inner { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px !important; margin: 0 !important; align-items: start !important; }
.style-qYBU97bkIH-outer .style-tbycrroLqk-inner > .wp-block-kubio-column__container { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
.style-qYBU97bkIH-outer .wp-block-kubio-column__inner { padding: 0 !important; }
.style-qYBU97bkIH-outer .wp-block-kubio-column__align { align-self: start !important; text-align: center !important; }
.style-qYBU97bkIH-outer :is(h2,h6) { margin: 0 0 12px !important; font-size: 16px !important; line-height: 1.4 !important; text-align: center !important; }
.style-qYBU97bkIH-outer p { margin: 0 0 8px !important; font-size: 16px !important; line-height: 1.5 !important; text-align: center !important; }
@media (min-width: 768px) and (max-width:1023px) { .style-qYBU97bkIH-outer .style-tbycrroLqk-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px !important; } }
@media (max-width:767px) { .style-qYBU97bkIH-outer { padding: 32px 20px !important; } .style-qYBU97bkIH-outer .style-tbycrroLqk-inner { grid-template-columns: minmax(0,1fr); gap: 28px !important; } }

/* Outwest: meaningful feature icons on Home and Sleeper, all devices. */
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-icon__inner svg { display:none !important; }
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-icon__inner::before { content:""; display:block; width:40px; height:40px; background-position:center; background-repeat:no-repeat; background-size:contain; }
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-row__inner > .wp-block-kubio-column__container:nth-child(1) .wp-block-kubio-icon__inner::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2010h34v30H7zM7%2020h34M7%2030h34M18%2010v10M30%2020v10M18%2030v10%22%2F%3E%3C%2Fsvg%3E"); }
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-row__inner > .wp-block-kubio-column__container:nth-child(2) .wp-block-kubio-icon__inner::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2023l12-11%2012%2011M8%2021v20h16V21M13%2041V29h6v12M27%2041V8h15v33M31%2014h3m3%200h2m-8%207h3m3%200h2m-8%207h3m3%200h2M4%2041h40%22%2F%3E%3C%2Fsvg%3E"); }
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-row__inner > .wp-block-kubio-column__container:nth-child(3) .wp-block-kubio-icon__inner::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2038h23a4%204%200%200%201%200%208H5a4%204%200%200%201%200-8zM10%2038V27h13v11M14%2027V16h9l5%2014M22%2017l9-10%208%2017M28%2030l11-6%204%208-7%203zM5%2042h23%22%2F%3E%3C%2Fsvg%3E"); }
:is(body.page-id-25104,body.page-id-24589) #hero-accent .wp-block-kubio-row__inner > .wp-block-kubio-column__container:nth-child(4) .wp-block-kubio-icon__inner::before { background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2048%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M24%2043S9%2027%209%2018a15%2015%200%200%201%2030%200c0%209-15%2025-15%2025z%22%2F%3E%3Ccircle%20cx%3D%2224%22%20cy%3D%2218%22%20r%3D%225%22%2F%3E%3C%2Fsvg%3E"); }
/* Outwest: content links and visible keyboard focus. */
.entry-content :is(p,.wp-block-kubio-text__text) a:not(.wp-block-kubio-button__link){color:#16596b !important;text-decoration:underline !important;text-underline-offset:.15em;}
.wp-site-blocks :is(a,button,input,textarea,select):focus-visible{outline:3px solid #16596b !important;outline-offset:3px !important;box-shadow:0 0 0 6px #fff !important;}
