/* Coworking Southern Maryland — one-page redesign */
html { scroll-behavior: smooth; }
body.cw-site { margin: 0; background: #fff; color: #172638; font-family: "DM Sans", Arial, sans-serif; }
body.cw-site *, body.cw-site *::before, body.cw-site *::after { box-sizing: border-box; }
body.cw-site a { color: inherit; text-decoration: none; }
body.cw-site button { font: inherit; }
body.cw-site img { max-width: 100%; }
body.cw-site :focus-visible { outline: 3px solid #08a0b2; outline-offset: 4px; }
body.cw-site [id] { scroll-margin-top: 94px; }
.cw-shell { width: min(100% - 64px, 1216px); margin-inline: auto; }
.cw-skip { position: absolute; left: 12px; top: -100px; z-index: 1000; background: #fff; color: #172638; padding: 12px 18px; }
.cw-skip:focus { top: 12px; }
.cw-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid #e7edf0; box-shadow: 0 6px 20px rgba(14,35,51,.045); }
.cw-nav-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cw-logo { display: inline-flex; align-items: center; flex: none; }
.cw-logo img { display: block; width: clamp(170px,17vw,228px); height: auto; }
.cw-availability-banner { background: #ffdf4d; color: #24221b; border-bottom: 2px solid #d6a600; }
.cw-availability-banner.cw-banner-orange { background: #ffa745; color: #282015; border-bottom-color: #cd6e00; }
.cw-availability-banner.cw-banner-red { background: #b52d26; color: #fff; border-bottom-color: #8c1e19; }
.cw-availability-inner { min-height: 57px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 11px; }
.cw-availability-inner strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; line-height: 1.4; overflow-wrap: anywhere; }
.cw-availability-inner span { flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.5; font-weight: 700; }
.cw-availability-inner a { font-size: .83rem; font-weight: 800; margin-left: auto; white-space: nowrap; text-decoration: underline !important; text-underline-offset: 3px; }
.cw-nav { display: flex; align-items: center; gap: clamp(18px,2.2vw,32px); }
.cw-nav > a { color: #354b5d; font-size: .88rem; font-weight: 700; white-space: nowrap; }
.cw-nav > a:hover { color: #087e98; }
.cw-nav .cw-nav-cta { background: #103c56; color: #fff; padding: 13px 18px; border-radius: 3px; }
.cw-nav .cw-nav-cta:hover { color: #fff; background: #075770; }
.cw-menu-toggle { display: none; border: 1px solid #d1dce1; color: #172638; background: #fff; border-radius: 3px; padding: 10px 13px; font-weight: 700; }
.cw-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.02fr); background: #102c40; min-height: min(680px, 72vh); }
.cw-hero-copy { display: flex; align-items: center; padding: clamp(58px,7vw,105px) 40px clamp(52px,6vw,90px) max(32px, calc((100vw - 1216px) / 2)); color: #fff; }
.cw-hero-copy-inner { max-width: 550px; }
.cw-eyebrow { color: #087e98; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .73rem; line-height: 1.5; margin: 0 0 20px; }
.cw-eyebrow-light { color: #79d4db; }
.cw-hero h1 { font-family: "Manrope", Arial, sans-serif; color: #fff; font-size: clamp(3rem,5vw,5.25rem); line-height: 1.05; letter-spacing: -.06em; font-weight: 700; margin: 0 0 24px; }
.cw-hero h1 em { font-style: normal; color: #9de1e4; }
.cw-hero-lead { color: #d7e3e8; font-size: clamp(1rem,1.55vw,1.16rem); line-height: 1.7; max-width: 510px; margin: 0 0 30px; }
.cw-hero-actions { display: flex; flex-wrap: wrap; gap: 21px; align-items: center; }
.cw-button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; padding: 14px 22px; font-size: .9rem; font-weight: 800; border-radius: 3px; transition: transform .18s ease, background .18s ease; }
.cw-button:hover { transform: translateY(-2px); }
.cw-button-light { background: #fff; color: #123e54 !important; }
.cw-button-light:hover { background: #e6f4f5; }
.cw-button-navy { background: #103c56; color: #fff !important; }
.cw-button-navy:hover { background: #075e78; }
.cw-text-action { font-weight: 700; font-size: .9rem; color: #fff !important; border-bottom: 1px solid rgba(255,255,255,.65); padding: 6px 0; }
.cw-text-action:hover { color: #9de1e4 !important; }
.cw-hero-photo { position: relative; min-height: 570px; overflow: hidden; }
.cw-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,49,.18), transparent 26%), linear-gradient(0deg, rgba(9,27,38,.44), transparent 32%); pointer-events: none; }
.cw-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; position: absolute; inset: 0; }
.cw-photo-caption { position: absolute; z-index: 1; bottom: 27px; right: 38px; color: #fff; font-size: .8rem; letter-spacing: .04em; }
.cw-section { padding-block: clamp(68px,8vw,118px); }
.cw-intro-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(40px,9vw,145px); align-items: start; }
.cw-intro h2, .cw-section-heading h2, .cw-meeting h2, .cw-floorplan h2, .cw-location h2 { font-family: "Manrope", Arial, sans-serif; font-size: clamp(2.1rem,3.6vw,3.6rem); letter-spacing: -.05em; line-height: 1.16; font-weight: 700; margin: 0; }
.cw-intro-text p { color: #536474; font-size: 1.1rem; line-height: 1.8; margin: 2px 0 22px; }
.cw-inline-link { display: inline-flex; gap: 12px; align-items: center; border-bottom: 1px solid currentColor; color: #006f87 !important; padding-bottom: 5px; font-size: .93rem; font-weight: 800; }
.cw-inline-link:hover { color: #063f55 !important; }
.cw-spaces { background: #f3f7f9; }
.cw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 38px; }
.cw-section-heading h2 { max-width: 700px; }
.cw-section-heading > p { color: #536474; line-height: 1.65; font-size: 1rem; max-width: 330px; margin: 0 0 4px; }
.cw-offer-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.cw-offer { display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe8eb; padding: clamp(23px,2.6vw,34px); min-height: 478px; }
.cw-offer-featured { border-top: 4px solid #0393a8; }
.cw-offer-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 40px; }
.cw-offer-index { font-size: .7rem; font-weight: 800; color: #6c8290; letter-spacing: .12em; white-space: nowrap; }
.cw-offer-status { border: 1px solid #d2dde3; color: #4f6270; padding: 5px 8px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.cw-status-open { color: #00677b; background: #eaf7f8; border-color: #b7e1e5; }
.cw-offer h3 { font-family: "Manrope", Arial, sans-serif; font-size: clamp(1.4rem,2vw,1.8rem); letter-spacing: -.04em; margin: 0 0 14px; }
.cw-offer p { color: #566878; line-height: 1.7; font-size: .95rem; margin: 0 0 16px; }
.cw-offer ul { color: #415567; font-size: .89rem; line-height: 1.65; padding-left: 18px; margin: 1px 0 22px; }
.cw-offer li { padding-left: 2px; margin-bottom: 5px; }
.cw-offer-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.cw-offer > .cw-inline-link { margin-top: auto; align-self: start; }
.cw-offer .cw-button { padding-inline: 16px; min-height: 46px; font-size: .78rem; gap: 9px; }
.cw-mini-link { color: #006f87 !important; font-size: .78rem; font-weight: 700; text-decoration: underline !important; }
.cw-price { margin-top: auto; display: flex; align-items: baseline; gap: 5px; }
.cw-price strong { font-size: 2rem; letter-spacing: -.05em; }
.cw-price span { color: #536474; }
.cw-offer .cw-fineprint { font-size: .76rem; line-height: 1.55; margin: 4px 0 18px; }
.cw-office-note { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; padding: 23px 2px 0; font-size: .82rem; line-height: 1.6; color: #4a5f70; }
.cw-office-note strong { color: #142a3b; }
.cw-office-note a { color: #006f87 !important; font-weight: 800; margin-left: auto; white-space: nowrap; }
.cw-office-compare { border-top: 1px solid #d5e2e8; margin-top: 20px; padding-top: 18px; }
.cw-office-compare summary { font-size: .91rem; font-weight: 800; color: #075e78; cursor: pointer; width: max-content; max-width: 100%; padding: 6px 0; }
.cw-office-compare summary span { margin-left: 8px; }
.cw-office-table-wrap { overflow-x: auto; padding-top: 15px; }
.cw-office-compare table { width: 100%; border-collapse: collapse; text-align: left; font-size: .89rem; min-width: 630px; }
.cw-office-compare th { color: #526c7d; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: 12px 14px; border-bottom: 1px solid #cadbe3; }
.cw-office-compare td { padding: 13px 14px; border-bottom: 1px solid #dbe6eb; }
.cw-meeting-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px,7vw,105px); align-items: center; }
.cw-meeting-photo { overflow: hidden; aspect-ratio: 1.18; background: #e1e6e8; }
.cw-meeting-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cw-meeting-availability { margin: 17px 0 -5px; }
.cw-meeting-copy p:not(.cw-eyebrow) { color: #536474; font-size: 1rem; line-height: 1.75; margin: 18px 0 26px; }
.cw-meeting-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; border-top: 1px solid #dce5e9; border-bottom: 1px solid #dce5e9; padding: 20px 0; margin-bottom: 27px; }
.cw-meeting-facts > div { display: flex; flex-direction: column; gap: 7px; }
.cw-meeting-facts span { color: #577082; text-transform: uppercase; font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.cw-meeting-facts strong { font-size: 1.17rem; }
.cw-meeting-facts small { font-size: .83rem; line-height: 1.45; color: #607283; }
.cw-features { background: #102c40; color: #fff; }
.cw-features .cw-section-heading h2 { color: #fff; }
.cw-features .cw-section-heading > p { color: #ccdae1; }
.cw-features .cw-eyebrow { color: #79d4db; }
.cw-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #49616f; }
.cw-feature-grid > div { min-height: 180px; padding: 30px 30px 24px 0; border-bottom: 1px solid #49616f; }
.cw-feature-grid > div:not(:nth-child(3n)) { padding-right: 24px; margin-right: 28px; }
.cw-feature-grid span { display: block; color: #79d4db; font-weight: 800; font-size: .75rem; margin-bottom: 16px; }
.cw-feature-grid h3 { margin: 0 0 7px; font-size: 1.09rem; }
.cw-feature-grid p { margin: 0; color: #cbd8df; font-size: .91rem; line-height: 1.65; }
.cw-floorplan { background: #f3f7f9; }
.cw-floorplan-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px,8vw,110px); }
.cw-floorplan-copy p:not(.cw-eyebrow) { color: #536474; line-height: 1.75; margin: 18px 0 22px; font-size: 1rem; }
.cw-slider { min-width: 0; }
.cw-slider-frame { background: #fff; border: 1px solid #e0e9ed; }
.cw-slider-slide { margin: 0; }
.cw-slider-slide[hidden] { display: none !important; }
.cw-slider-image { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e7edf0; }
.cw-slider-image img { display: block; width: 100%; height: 100%; }
.cw-plan-slider .cw-slider-image { aspect-ratio: 4 / 3; background: #fff; padding: 12px; }
.cw-plan-slider .cw-slider-image img { object-fit: contain; }
.cw-slider-slide figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px 16px; min-height: 54px; padding: 12px 19px; font-size: .83rem; color: #374f60; }
.cw-slider-slide figcaption strong { font-weight: 800; }
.cw-slider-slide figcaption a { color: #006f87 !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 3px; }
.cw-slider-controls { display: flex; align-items: center; justify-content: center; gap: 17px; padding-top: 16px; }
.cw-slider-controls button { display: grid; place-items: center; width: 43px; height: 43px; padding: 0 0 5px; border: 1px solid #b6cbd5; border-radius: 50%; background: #fff; color: #103c56; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.cw-slider-controls button:hover { color: #fff; background: #103c56; }
.cw-slider-count { min-width: 54px; text-align: center; color: #526879; font-size: .84rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.cw-photo-slider { max-width: 1040px; margin-inline: auto; }
.cw-photo-slider .cw-slider-image { aspect-ratio: 16 / 9; }
.cw-photo-slider .cw-slider-image img { object-fit: contain; }
.cw-photos { background: #fff; }
.cw-location { background: #0d2536; color: #fff; }
.cw-location-grid { display: grid; grid-template-columns: 1.15fr .75fr; gap: clamp(60px,10vw,150px); align-items: center; }
.cw-location h2 { color: #fff; max-width: 700px; }
.cw-location p:not(.cw-eyebrow) { color: #c9d8df; line-height: 1.75; font-size: 1rem; max-width: 600px; margin: 18px 0 0; }
.cw-location-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 31px; }
.cw-location-phone { color: #fff !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; }
.cw-address-card { border: 1px solid #4b6674; padding: clamp(24px,3vw,38px); }
.cw-address-card > span { color: #79d4db; font-size: .72rem; letter-spacing: .13em; font-weight: 800; }
.cw-address-card address { font-style: normal; font-family: "Manrope", Arial, sans-serif; font-weight: 700; line-height: 1.4; font-size: clamp(1.35rem,2vw,1.8rem); margin: 22px 0 18px; }
.cw-address-card a { color: #b1edf1 !important; font-size: .84rem; text-decoration: underline !important; text-underline-offset: 4px; }
.cw-address-card hr { border: 0; border-top: 1px solid #4b6674; margin: 27px 0 19px; }
.cw-address-card p { font-size: .86rem !important; line-height: 1.6 !important; margin: 0 0 11px !important; }
.cw-footer { background: #081b29; color: #ccdae1; }
.cw-footer-main { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 48px; padding-block: 55px 42px; }
.cw-footer-main strong { color: #fff; font-family: "Manrope", Arial, sans-serif; font-size: 1.4rem; letter-spacing: -.04em; line-height: 1.25; }
.cw-footer-main p { font-size: .86rem; max-width: 250px; line-height: 1.65; }
.cw-footer nav { display: flex; flex-direction: column; gap: 13px; }
.cw-footer nav a { font-size: .85rem; line-height: 1.4; }
.cw-footer nav a:hover { color: #9de1e4; }
.cw-footer-bottom { border-top: 1px solid #38505d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-block: 22px; font-size: .8rem; }
@media (max-width: 1100px) {
  .cw-nav { gap: 14px; }
  .cw-nav > a { font-size: .79rem; }
  .cw-hero-copy { padding-left: 42px; }
  .cw-hero h1 { font-size: clamp(2.9rem,5.1vw,4.8rem); }
  .cw-offer { padding: 24px; }
  .cw-offer-top { flex-wrap: wrap; margin-bottom: 26px; }
}
@media (max-width: 860px) {
  .cw-shell { width: min(100% - 42px,1216px); }
  .cw-nav-row { min-height: 78px; flex-wrap: wrap; }
  .cw-menu-toggle { display: inline-flex; align-items: center; gap: 12px; }
  .cw-nav { display: none; width: 100%; padding: 4px 0 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .cw-nav.is-open { display: flex; }
  .cw-nav a { padding: 12px 6px; font-size: .93rem; }
  .cw-nav .cw-nav-cta { align-self: stretch; text-align: center; margin-top: 5px; }
  .cw-hero { grid-template-columns: 1fr; }
  .cw-hero-copy { padding: 75px 30px 60px; }
  .cw-hero-copy-inner { max-width: 650px; margin-inline: auto; }
  .cw-hero-photo { min-height: 390px; }
  .cw-intro-grid { gap: 30px; }
  .cw-offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cw-offer-featured { grid-column: 1 / -1; min-height: 350px; }
  .cw-meeting-grid, .cw-floorplan-grid { gap: 40px; }
  .cw-location-grid { gap: 35px; }
}
@media (max-width: 640px) {
  .cw-shell { width: min(100% - 36px,1216px); }
  .cw-section { padding-block: 68px; }
  .cw-availability-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .cw-availability-inner span { flex: 0 1 auto; width: 100%; }
  .cw-availability-inner a { margin: 4px 0 0; }
  .cw-hero-copy { padding: 58px 19px 48px; }
  .cw-hero h1 { font-size: clamp(2.75rem,11.5vw,4.2rem); }
  .cw-hero-photo { min-height: 340px; }
  .cw-photo-caption { right: 18px; bottom: 18px; font-size: .69rem; }
  .cw-intro-grid, .cw-meeting-grid, .cw-floorplan-grid, .cw-location-grid, .cw-summary { grid-template-columns: 1fr; }
  .cw-section-heading { display: block; margin-bottom: 28px; }
  .cw-section-heading > p { margin-top: 15px; max-width: 100%; }
  .cw-offer-grid, .cw-feature-grid { grid-template-columns: 1fr; }
  .cw-offer, .cw-offer-featured { grid-column: auto; min-height: 0; }
  .cw-offer-top { margin-bottom: 22px; }
  .cw-offer .cw-inline-link { margin-top: 25px; }
  .cw-office-note a { margin-left: 0; }
  .cw-feature-grid > div, .cw-feature-grid > div:not(:nth-child(3n)) { min-height: auto; margin-right: 0; padding: 24px 0; }
  .cw-meeting-photo { aspect-ratio: 1.3; }
  .cw-photo-slider .cw-slider-image { aspect-ratio: 4 / 3; }
  .cw-footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
  .cw-footer-main > div { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .cw-hero-actions { align-items: stretch; flex-direction: column; }
  .cw-text-action { align-self: start; }
  .cw-meeting-facts { grid-template-columns: 1fr; }
  .cw-footer-main { grid-template-columns: 1fr; }
  .cw-footer-main > div { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cw-button { transition: none; }
}

/* =========================================================================
 * Theme additions (v2.0) — inner pages, forms, and shared elements
 * ====================================================================== */
.cw-availability-banner.cw-banner-teal { background: #0b7b8f; color: #fff; border-bottom-color: #075e6e; }
.cw-status-limited { color: #7a4b00; background: #fff4dc; border-color: #f0d197; }
.cw-nav > a[aria-current="page"]:not(.cw-nav-cta) { color: #087e98; box-shadow: inset 0 -2px 0 #08a0b2; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Inner-page hero */
.cw-page-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); background: #102c40; color: #fff; min-height: 380px; }
.cw-page-hero-plain { grid-template-columns: 1fr; min-height: 0; }
.cw-page-hero-copy { display: flex; align-items: center; padding: clamp(52px,6vw,88px) 40px clamp(48px,5vw,76px) max(32px, calc((100vw - 1216px) / 2)); }
.cw-page-hero-plain .cw-page-hero-copy { padding-right: max(32px, calc((100vw - 1216px) / 2)); }
.cw-page-hero-inner { max-width: 620px; }
.cw-page-hero h1 { font-family: "Manrope", Arial, sans-serif; color: #fff; font-size: clamp(2.4rem,4.2vw,4rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 700; margin: 0 0 18px; overflow-wrap: break-word; }
.cw-page-hero h1 em { font-style: normal; color: #9de1e4; }
.cw-page-hero .cw-hero-lead { margin-bottom: 0; }
.cw-page-hero .cw-hero-actions { margin-top: 28px; }
.cw-page-hero-photo { position: relative; overflow: hidden; min-height: 300px; }
.cw-page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,49,.25), transparent 30%); pointer-events: none; }
.cw-page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Page body & readable content */
.cw-page-body { background: #f3f7f9; }
.cw-prose { max-width: 820px; color: #2d4152; font-size: 1.02rem; line-height: 1.75; }
.cw-page-body > .cw-shell > .cw-prose:not(.cw-form-card) { background: #fff; border: 1px solid #dfe8eb; padding: clamp(26px,4vw,56px); margin-inline: auto; }
.cw-prose > *:first-child { margin-top: 0; }
.cw-prose > *:last-child { margin-bottom: 0; }
.cw-prose h1, .cw-prose h2, .cw-prose h3, .cw-prose h4 { font-family: "Manrope", Arial, sans-serif; color: #172638; letter-spacing: -.035em; line-height: 1.2; margin: 1.6em 0 .55em; }
.cw-prose h1 { font-size: clamp(1.9rem,3vw,2.5rem); }
.cw-prose h2 { font-size: clamp(1.55rem,2.4vw,2rem); }
.cw-prose h3 { font-size: 1.3rem; }
.cw-prose p, .cw-prose ul, .cw-prose ol { margin: 0 0 1.1em; }
.cw-prose ul, .cw-prose ol { padding-left: 1.3em; }
.cw-prose li { margin-bottom: .55em; }
.cw-prose a:not(.cw-button):not(.cw-inline-link) { color: #006f87; text-decoration: underline; text-underline-offset: 3px; }
.cw-prose a:not(.cw-button):not(.cw-inline-link):hover { color: #063f55; }
.cw-prose img { height: auto; }
.cw-prose blockquote { border-left: 3px solid #08a0b2; margin: 1.5em 0; padding: .2em 0 .2em 1.2em; color: #415567; }
.cw-prose table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cw-prose th, .cw-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dbe6eb; }
.cw-prose .privacy-policy-tutorial { color: #6c8290; font-weight: 700; }
.cw-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.cw-prose .alignright { float: right; margin: .3em 0 1em 1.4em; }
.cw-prose .aligncenter { display: block; margin-inline: auto; }
.cw-legacy-image { margin: 0 0 1.4em; }
.cw-legacy-image img { display: block; width: 100%; height: auto; }

/* Form pages */
.cw-form-card { background: #fff; border: 1px solid #dfe8eb; border-top: 4px solid #0393a8; padding: clamp(24px,4vw,48px); }
.cw-page-form .cw-form-card { max-width: 860px; margin-inline: auto; }
.cw-form-card > h2 { font-family: "Manrope", Arial, sans-serif; font-size: clamp(1.7rem,2.6vw,2.3rem); letter-spacing: -.045em; margin: 0 0 8px; color: #172638; }
.cw-form-card .cw-eyebrow { margin-bottom: 10px; }
.cw-form-intro { color: #607283; font-size: .88rem; margin: 0 0 22px; }
.cw-form-missing { background: #fff4dc; border: 1px solid #f0d197; padding: 16px 18px; }

/* Contact page */
.cw-contact { background: #f3f7f9; }
.cw-contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(28px,4vw,56px); align-items: start; }
.cw-contact-info { display: flex; flex-direction: column; gap: 18px; }
.cw-contact-intro { background: #fff; border: 1px solid #dfe8eb; padding: 24px 26px; font-size: .95rem; }
.cw-contact-card { background: #102c40; color: #fff; padding: clamp(24px,3vw,36px); }
.cw-card-label { display: block; color: #79d4db; font-size: .72rem; letter-spacing: .13em; font-weight: 800; }
.cw-contact-status .cw-card-label { color: #087e98; }
.cw-contact-card address { font-style: normal; font-family: "Manrope", Arial, sans-serif; font-weight: 700; line-height: 1.4; font-size: clamp(1.3rem,1.9vw,1.65rem); margin: 18px 0 14px; }
.cw-contact-card .cw-inline-link { color: #b1edf1 !important; }
.cw-contact-card .cw-inline-link:hover { color: #fff !important; }
.cw-contact-list { margin: 24px 0 0; border-top: 1px solid #4b6674; }
.cw-contact-list > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid #36505f; }
.cw-contact-list dt { color: #9fb8c4; font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; padding-top: 3px; }
.cw-contact-list dd { margin: 0; font-size: .93rem; line-height: 1.5; color: #e5eef2; }
.cw-contact-list dd a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cw-contact-status { background: #fff; border: 1px solid #dfe8eb; padding: 22px 24px; }
.cw-contact-status ul { list-style: none; margin: 12px 0 0; padding: 0; }
.cw-contact-status li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e7eef1; font-size: .92rem; font-weight: 700; color: #2d4152; }
.cw-contact-status li:last-child { border-bottom: 0; }
.cw-contact-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #dfe8eb; border: 1px solid #dfe8eb; }
.cw-contact-links a { background: #fff; padding: 15px 16px; font-size: .85rem; font-weight: 800; color: #075e78 !important; display: flex; justify-content: space-between; gap: 8px; }
.cw-contact-links a:hover { background: #eaf7f8; }

/* Gravity Forms (legacy and current markup) */
.cw-site .gform_wrapper { margin: 0 !important; max-width: 100% !important; font-family: "DM Sans", Arial, sans-serif; }
.cw-site .gform_wrapper .gform_heading { display: none; }
.cw-site .gform_wrapper ul.gform_fields { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.cw-site .gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 20px 18px; }
.cw-site .gform_wrapper .gfield { grid-column: 1 / -1; margin: 0 !important; padding: 0 !important; list-style: none; }
.cw-site .gform_wrapper .gfield--width-half { grid-column: span 6; }
.cw-site .gform_wrapper .gfield--width-third { grid-column: span 4; }
.cw-site .gform_wrapper .gfield--width-quarter { grid-column: span 3; }
.cw-site .gform_wrapper .gform_validation_container, .cw-site .gform_wrapper .gfield--type-honeypot { display: none !important; }
.cw-site .gform_wrapper .gfield_label, .cw-site .gform_wrapper legend.gfield_label { display: block; font-size: .86rem !important; font-weight: 800 !important; color: #172638; margin: 0 0 8px !important; padding: 0; }
.cw-site .gform_wrapper .gfield_required { color: #b52d26; margin-left: 3px; }
.cw-site .gform_wrapper .gfield_description { color: #607283; font-size: .82rem; line-height: 1.5; padding: 0 0 8px !important; }
.cw-site .gform_wrapper .gform-field-label--type-sub, .cw-site .gform_wrapper .ginput_complex label { display: block; font-size: .74rem !important; color: #607283; font-weight: 700; letter-spacing: .02em; margin: 0 0 5px !important; padding: 0 !important; }
.cw-site .gform_wrapper .ginput_complex { display: flex; flex-wrap: wrap; gap: 14px 18px; margin: 0 !important; width: 100% !important; }
.cw-site .gform_wrapper .ginput_complex > span { flex: 1 1 200px; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.cw-site .gform_wrapper .ginput_complex .ginput_full { flex-basis: 100%; }
.cw-site .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.cw-site .gform_wrapper select, .cw-site .gform_wrapper textarea {
  width: 100% !important; max-width: 100%; min-height: 48px; padding: 11px 14px !important; border: 1px solid #c4d3da !important; border-radius: 3px !important; background: #fbfdfe !important; color: #172638 !important; font: inherit !important; font-size: 1rem !important; line-height: 1.4 !important; box-shadow: none !important; margin: 0 !important; }
.cw-site .gform_wrapper textarea { min-height: 140px; }
.cw-site .gform_wrapper input:focus, .cw-site .gform_wrapper select:focus, .cw-site .gform_wrapper textarea:focus { outline: 3px solid rgba(8,160,178,.35) !important; outline-offset: 0; border-color: #08a0b2 !important; background: #fff !important; }
.cw-site .gform_wrapper .gfield_radio, .cw-site .gform_wrapper .gfield_checkbox { list-style: none; margin: 4px 0 0 !important; padding: 0 !important; display: grid; gap: 8px; }
.cw-site .gform_wrapper .gchoice { display: flex; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 11px 14px !important; border: 1px solid #dbe6eb; border-radius: 3px; background: #fbfdfe; }
.cw-site .gform_wrapper .gchoice:hover { border-color: #08a0b2; }
.cw-site .gform_wrapper .gchoice input { width: 18px; height: 18px; margin: 2px 0 0 !important; accent-color: #0393a8; flex: none; }
.cw-site .gform_wrapper .gchoice label { margin: 0 !important; max-width: none !important; font-size: .93rem !important; line-height: 1.45; cursor: pointer; width: auto !important; }
.cw-site .gform_wrapper .gform_footer, .cw-site .gform_wrapper .gform_page_footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 28px 0 0 !important; padding: 22px 0 0 !important; border-top: 1px solid #e1e9ed; }
.cw-site .gform_wrapper .gform_button, .cw-site .gform_wrapper .gform_next_button, .cw-site .gform_wrapper .gform_previous_button,
.cw-site .gform_wrapper input[type=submit], .cw-site .gform_wrapper button[type=submit] {
  display: inline-flex !important; align-items: center; justify-content: center; min-height: 50px; padding: 14px 26px !important; border: 0 !important; border-radius: 3px !important; background: #103c56 !important; color: #fff !important; font: inherit !important; font-size: .92rem !important; font-weight: 800 !important; cursor: pointer; width: auto !important; margin: 0 !important; line-height: 1.2 !important; transition: transform .18s ease, background .18s ease; }
.cw-site .gform_wrapper .gform_button:hover, .cw-site .gform_wrapper .gform_next_button:hover, .cw-site .gform_wrapper input[type=submit]:hover { background: #075e78 !important; transform: translateY(-2px); }
.cw-site .gform_wrapper .gform_previous_button { background: #fff !important; color: #103c56 !important; border: 1px solid #b6cbd5 !important; }
.cw-site .gform_wrapper .gform_previous_button:hover { background: #eaf3f6 !important; }
.cw-site .gform_wrapper .gf_progressbar_wrapper { margin: 0 0 26px; padding: 0 0 18px; border-bottom: 1px solid #e1e9ed; }
.cw-site .gform_wrapper .gf_progressbar_title { font-family: "DM Sans", Arial, sans-serif; font-size: .74rem !important; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: #577082 !important; margin: 0 0 10px !important; }
.cw-site .gform_wrapper .gf_progressbar { background: #e3ecf0 !important; border-radius: 99px !important; height: 8px; padding: 0 !important; box-shadow: none !important; overflow: hidden; }
.cw-site .gform_wrapper .gf_progressbar_percentage { background: #0393a8 !important; height: 8px !important; border-radius: 99px !important; box-shadow: none !important; }
.cw-site .gform_wrapper .gf_progressbar_percentage span { display: none !important; }
.cw-site .gform_wrapper .gsection { border-bottom: 1px solid #dbe6eb !important; padding: 8px 0 10px !important; }
.cw-site .gform_wrapper .gsection_title { font-family: "Manrope", Arial, sans-serif; font-size: 1.2rem; letter-spacing: -.03em; margin: 0; }
.cw-site .gform_wrapper .gfield_error input, .cw-site .gform_wrapper .gfield_error select, .cw-site .gform_wrapper .gfield_error textarea { border-color: #b52d26 !important; }
.cw-site .gform_wrapper .gfield_error { background: none !important; border: 0 !important; }
.cw-site .gform_wrapper .validation_message, .cw-site .gform_wrapper .gfield_validation_message { color: #b52d26 !important; font-size: .82rem !important; font-weight: 700; padding: 6px 0 0 !important; background: none !important; border: 0 !important; }
.cw-site .gform_wrapper .gform_validation_errors, .cw-site .gform_wrapper div.validation_error { border: 1px solid #e6b3ae !important; background: #fdf1ef !important; color: #8c1e19 !important; border-radius: 3px; padding: 14px 16px !important; margin: 0 0 22px !important; box-shadow: none !important; }
.cw-site .gform_wrapper .gform_validation_errors h2 { font-size: .95rem !important; color: #8c1e19 !important; margin: 0 !important; }
.cw-site .gform_confirmation_message { background: #eaf7f8; border: 1px solid #b7e1e5; color: #00586a; padding: 20px 22px; font-weight: 700; line-height: 1.6; }
.cw-site .gform_wrapper .ginput_container_fileupload input { padding: 10px; }
.cw-site .gform_wrapper .gfield_signature_container { max-width: 100% !important; border: 1px solid #c4d3da; border-radius: 3px; overflow: hidden; }
.cw-site .gform_wrapper .gfield_signature_container canvas { max-width: 100%; }
.cw-site .gform_wrapper .gform_ajax_spinner { margin-left: 10px; }
.cw-site .gform_wrapper .ginput_container_date input { max-width: 240px !important; }
.cw-site .gform_wrapper img.ui-datepicker-trigger { display: none; }

/* Posts & search */
.cw-post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.cw-post-card { background: #fff; border: 1px solid #dfe8eb; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.cw-post-card h2 { font-family: "Manrope", Arial, sans-serif; font-size: 1.35rem; letter-spacing: -.035em; margin: 4px 0 0; }
.cw-post-card p { color: #566878; font-size: .93rem; line-height: 1.65; margin: 0 0 8px; }
.cw-post-card .cw-inline-link { margin-top: auto; align-self: start; }
.cw-post-thumb { margin: -26px -26px 8px; display: block; aspect-ratio: 16/10; overflow: hidden; }
.cw-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cw-pagination { margin-top: 30px; }
.cw-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.cw-pagination .page-numbers { padding: 8px 13px; border: 1px solid #c4d3da; background: #fff; font-weight: 700; }
.cw-pagination .current { background: #103c56; color: #fff; border-color: #103c56; }
.cw-search { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cw-search input { flex: 1 1 240px; min-height: 50px; padding: 11px 14px; border: 1px solid #c4d3da; border-radius: 3px; font: inherit; }
.cw-search button { border: 0; cursor: pointer; }

/* Footer contact line */
.cw-footer-main p.cw-footer-contact { color: #a9bfca; margin-top: 16px; }
.cw-footer-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cw-footer-bottom a:hover, .cw-footer-contact a:hover { color: #9de1e4; }

@media (max-width: 1100px) {
  .cw-post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .cw-page-hero { grid-template-columns: 1fr; }
  .cw-page-hero-copy { padding: 60px 30px 52px; }
  .cw-page-hero-inner { max-width: 650px; margin-inline: auto; width: 100%; }
  .cw-page-hero-photo { min-height: 240px; }
  .cw-contact-grid { grid-template-columns: 1fr; }
  .cw-contact-form { order: -1; }
}
@media (max-width: 640px) {
  .cw-page-hero-copy { padding: 46px 19px 40px; }
  .cw-page-hero h1 { font-size: clamp(2.2rem,9.5vw,3rem); }
  .cw-page-hero-photo { min-height: 200px; }
  .cw-page-body.cw-section, .cw-contact.cw-section { padding-block: 32px 56px; }
  .cw-page-body > .cw-shell > .cw-prose:not(.cw-form-card) { padding: 24px 20px; }
  .cw-form-card { padding: 24px 18px; }
  .cw-site .gform_wrapper .gfield--width-half, .cw-site .gform_wrapper .gfield--width-third, .cw-site .gform_wrapper .gfield--width-quarter { grid-column: 1 / -1; }
  .cw-contact-list > div { grid-template-columns: 1fr; gap: 3px; }
  .cw-contact-links { grid-template-columns: 1fr; }
  .cw-post-grid { grid-template-columns: 1fr; }
  .cw-prose .alignleft, .cw-prose .alignright { float: none; margin: 0 0 1em; }
}
/* Gravity Forms legacy width overrides */
.cw-site .gform_wrapper .gf_progressbar { width: 100% !important; }
.cw-site .gform_wrapper .gfield_checkbox, .cw-site .gform_wrapper .gfield_radio, .cw-site .gform_wrapper .gchoice { width: 100% !important; max-width: 100% !important; }
.cw-site .gform_wrapper .ginput_complex > span, .cw-site .gform_wrapper .ginput_left, .cw-site .gform_wrapper .ginput_right { padding-right: 0 !important; margin-right: 0 !important; max-width: none !important; }
.cw-site .gform_wrapper .ginput_complex > span input, .cw-site .gform_wrapper .ginput_complex > span select { width: 100% !important; }
.cw-site .gform_wrapper .gfield .ginput_container { max-width: 100% !important; width: 100% !important; margin-top: 0 !important; }
.cw-site .gform_wrapper .gform_body { width: 100% !important; }
/* Grouped fields (fieldset markup), sub-labels below, time and date fields */
.cw-site .gform_wrapper fieldset.gfield { border: 0 !important; padding: 0 !important; margin: 0 !important; min-width: 0; }
.cw-site .gform_wrapper fieldset.gfield > legend { float: left; width: 100%; padding: 0 !important; }
.cw-site .gform_wrapper fieldset.gfield > legend + * { clear: both; }
.cw-site .gform_wrapper .field_sublabel_below .ginput_complex label, .cw-site .gform_wrapper .field_sublabel_below .gform-field-label--type-sub { margin: 6px 0 0 !important; }
.cw-site .gform_wrapper .gfield--type-time .ginput_complex { flex-wrap: nowrap; align-items: center; gap: 8px; width: auto !important; }
.cw-site .gform_wrapper .gfield--type-time .ginput_complex > div { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.cw-site .gform_wrapper .gfield--type-time .ginput_container_time input { width: 84px !important; text-align: center; }
.cw-site .gform_wrapper .gfield--type-time .ginput_container_time select { width: 92px !important; }
.cw-site .gform_wrapper .gfield--type-time .hour_minute_colon { font-weight: 800; color: #536474; padding: 0 !important; line-height: 48px; }
.cw-site .gform_wrapper .ginput_container_date { display: flex; align-items: center; gap: 8px; }
.cw-site .gform_wrapper .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
.cw-site .gform_wrapper .ginput_container_consent input { width: 18px; height: 18px; margin-top: 3px !important; accent-color: #0393a8; flex: none; }
.cw-site .gform_wrapper .gfield_consent_description { max-height: 220px; overflow: auto; border: 1px solid #dbe6eb !important; background: #fbfdfe; padding: 14px !important; font-size: .85rem; line-height: 1.6; margin-top: 10px !important; width: 100% !important; }
.cw-site .gform_wrapper .gfield--type-captcha .ginput_container { overflow-x: auto; }
.cw-wide-page { background: #fff; padding-block: clamp(28px,4vw,56px) clamp(56px,7vw,96px); }
