/* Hvarre Development app – shared styles.
   Each page also has a small <style> block (at the top of its file in src/pages) with the sizes
   and colors that are special to that page. Widths: computers above 1024px, tablets 768–1024px,
   phones below 768px. */

@font-face { font-family: 'Kentledge-Bold'; src: url(/fonts/kentledge-bold.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Roboto'; src: url(/fonts/roboto.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Risque'; src: url(/fonts/risque.woff2) format('woff2'); font-display: swap; }

:root {
  --yellow: #FFC600;
  --dark: #363633;
  --text: #6B6B6B;
  --ink: #333333;
  --navy: #072843;
  --wp-blue: #00447D;
  --font: 'Kentledge-Bold', Helvetica, Arial, sans-serif;
  --system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

/* ---------- Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* "hidden" always wins, even over layout rules like display: flex */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--system); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, iframe, video { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: #CC3366; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p { margin: 0 0 .9rem; }
h1, h2, h3, h4, h5, h6 { margin: .5rem 0 1rem; font-weight: 500; line-height: 1.2; }
h1 { font-size: 2.5rem; } h2, .as-h2 { font-size: 2rem; } h3, .as-h3 { font-size: 1.75rem; } h4, .as-h4 { font-size: 1.5rem; } h5, .as-h5 { font-size: 1.25rem; } h6, .as-h6 { font-size: 1rem; }
figure { margin: 0; }
ul, ol { margin-top: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid #1A73E8; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; border-radius: 3px; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Page building blocks (rows, columns and their contents) ---------- */
.sec { position: relative; }
.sec > .wrap { position: relative; z-index: 1; display: flex; max-width: 1140px; margin: 0 auto; }
.col { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; min-height: 1px; width: 100%; padding: 10px; }
.col > * { width: 100%; }
.col > :not(:last-child) { margin-bottom: 20px; }
.col > .sec { width: 100%; }
.col > .sec:not(:last-child) { margin-bottom: 0; }
.post-content { display: flex; flex-wrap: wrap; }
.post-content > * { width: 100%; }
/* a band that reaches the screen edges even though it sits inside a narrower column */
.sec.stretch { width: auto; flex: 0 0 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* newer-style blocks: a stack of items with even gaps */
.con { position: relative; display: flex; flex-direction: column; width: 100%; }
.con-inner, .con:not(:has(> .con-inner)) { display: flex; flex-direction: column; gap: 20px; }
.con-inner { width: 100%; max-width: 1140px; margin: 0 auto; }
.con > :not(.con-inner), .con-inner > * { margin: 0; }
.col > .con { margin-bottom: 0; }

.heading { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1; font-weight: 600; color: var(--dark); }
.heading a { color: inherit; }
.text { font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text); }
.text ul, .text ol { margin-bottom: .9rem; }
.text iframe { width: 100%; border: 0; }
.drop-cap { float: left; font-size: 50px; line-height: 1; margin: 0 10px 0 0; color: var(--dark); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px; border-radius: 3px; background-color: var(--yellow); color: var(--dark);
  font-family: var(--font); font-size: 16px; line-height: 1; font-weight: 500; text-align: center;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); text-decoration: none; transition: filter .2s;
}
.button:hover, .button:focus-visible { filter: brightness(1.06); text-decoration: none; }
.btn { text-align: left; }

.icon-list { list-style: none; margin: 0; padding: 0; --icon-size: 14px; --icon-color: var(--yellow); --gap: 0px; --icon-gap: 0px; }
.icon-list li { display: flex; align-items: center; justify-content: var(--justify, flex-start); font-family: var(--font); font-size: 14px; line-height: 1.5; color: #54595F; padding: calc(var(--gap) / 1) 0; }
.icon-list li:first-child { padding-top: 0; }
.icon-list li:last-child { padding-bottom: 0; }
.icon-list li + li { border-top: var(--divider, 0); }
.icon-list a { display: flex; align-items: center; color: inherit; }
.icon-list .icon { width: var(--icon-size); height: var(--icon-size); fill: var(--icon-color); }
.icon-list span { white-space: pre-wrap; padding-left: var(--icon-gap); }
.icon-list.inline { display: flex; flex-wrap: wrap; gap: 0 20px; }

.img { text-align: left; }
.img img { display: inline-block; }
.img.blob img { -webkit-mask: url(/images/mask-blob.png) center / contain no-repeat; mask: url(/images/mask-blob.png) center / contain no-repeat; }
.img figcaption { font-size: 14px; color: var(--text); margin-top: 8px; text-align: center; }

.spacer { height: 50px; }
.divider { border: 0; border-top: 1px solid #ddd; margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; --ratio: 3 / 2; }
.gallery a { display: block; overflow: hidden; }
.gallery img { display: block; width: 100%; height: 100%; aspect-ratio: var(--ratio); object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }

.carousel { position: relative; --per: 3; --h: 300px; }
.carousel .track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 calc((100% - (var(--per) - 1) * 10px) / var(--per)); height: var(--h); scroll-snap-align: start; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-prev, .carousel-next { position: absolute; top: calc(var(--h) / 2); transform: translateY(-50%); z-index: 2; width: 20px; height: 20px; padding: 0; border: 0; background: none; color: rgba(237, 237, 237, .9); cursor: pointer; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5)); }
.carousel-prev { left: 10px; } .carousel-next { right: 10px; }
.carousel-prev .icon, .carousel-next .icon { width: 20px; height: 20px; }
.carousel-dots { display: flex; justify-content: center; align-items: center; min-height: 26px; margin-top: 4px; padding: 0 0 5px; }
/* each dot sits in a 24px button so it is easy to tap */
.carousel-dots button { display: flex; align-items: center; justify-content: center; flex: 0 1 24px; min-width: 14px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-dots button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #000; opacity: .2; }
.carousel-dots button[aria-current="true"]::before { opacity: 1; }

.video { aspect-ratio: 16 / 9; background: #000; }
.yt, .video iframe { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: #FF0000; border-radius: 14px; opacity: .9; }
.yt-play::after { content: ''; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { opacity: 1; }

.map iframe { display: block; width: 100%; height: 300px; border: 0; }
.embed iframe { display: inline-block; width: 100%; border: 0; }

.post-nav { display: flex; justify-content: space-between; font-family: var(--font); font-size: 14px; line-height: 1.5; }
.post-nav > a { flex: 0 1 50%; min-width: 0; }
.post-nav > a > span { min-width: 0; }
.post-nav-title { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.post-nav-prev + .post-nav-next { border-left: 1px solid #D5D8DC; padding-left: 10px; }
.post-nav a { display: flex; align-items: center; gap: 10px; color: #333; }
.post-nav-next { margin-left: auto; text-align: right; }
.post-nav-label { display: block; text-transform: uppercase; color: #6B6B6B; }
.post-nav .icon { width: 14px; height: 24px; fill: #D5D8DC; }

/* Community cards (Hvarre Communities page) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 30px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 3px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15); overflow: hidden; }
.card-photo { display: block; aspect-ratio: 253 / 205; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-photo img { transform: scale(1.04); }
.card-badge { position: absolute; top: 20px; right: 20px; padding: 7.2px 14.4px; border-radius: 999px; background: var(--yellow); color: #000; font-family: var(--font); font-size: 12px; line-height: 1; font-weight: 500; text-transform: uppercase; }
.card-text { padding: 40px 30px 0; }
.card-title { margin: 0 0 25px; font-family: var(--font); font-size: 15px; line-height: 1.3; font-weight: 600; }
.card-title a { color: #54595F; }
.card-excerpt { margin: 0 0 25px; font-family: var(--font); font-size: 14px; line-height: 21px; color: #6B6B6B; }
.card-more { display: inline-block; margin-bottom: 20px; font-family: var(--font); font-size: 12px; line-height: 18px; font-weight: 500; color: #363632; text-transform: uppercase; }

/* ---------- Washington Point listings, house cards, flip cards, PDF ---------- */
.listings { display: grid; gap: 30px; }
.listing { position: relative; padding-top: 6px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .15); text-align: center; padding-bottom: 10px; }
.listing-price { margin: 0; padding: 12px; background: var(--wp-blue); color: #fff; font-family: var(--font); font-size: 14px; line-height: 14px; font-weight: 600; text-transform: uppercase; }
.listing-photo { display: block; margin-bottom: 20px; overflow: hidden; }
.listing-photo img { aspect-ratio: 591 / 333; object-fit: cover; }
.listing-photo img { display: block; width: 100%; }
.listing-avatar { position: absolute; right: 30px; margin-top: -66px; width: 50px; height: 50px; border-radius: 50%; }
.listing-title { margin: 0 42px 20px; text-align: left; font-family: var(--font); font-size: 17px; line-height: 1.2; font-weight: 600; }
.listing-title a { color: #000; }
.listing-town { margin: 0 42px 20px; text-align: left; font-family: var(--font); font-size: 14px; line-height: 14px; font-weight: 600; color: var(--dark); }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.home-card { position: relative; padding: 6px 0 66px; background: #fff; text-align: center; }
.home-card-photo img { display: block; width: 100%; aspect-ratio: 353 / 199; object-fit: cover; }
.home-card-title { margin: 20px 40px; font-family: var(--font); font-size: 17px; line-height: 1.2; font-weight: 600; }
.home-card-title a { color: #000; }
.home-card-facts { display: flex; gap: 20px; justify-content: center; font-family: var(--font); font-size: 14px; line-height: 21px; font-weight: 600; color: var(--dark); }
.home-card-facts p { margin: 0; }
.home-card-facts p:first-child { text-align: right; }
.home-card-links { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 22px 0 0; padding: 0 10px; }
.home-card-links a { display: flex; flex-direction: column; align-items: center; gap: 13px; color: #007BAA; font-family: var(--font); font-size: 9px; line-height: 9px; font-weight: 600; text-transform: uppercase; }
.home-card-links .icon { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border: 3px solid #007BAA; border-radius: 50%; fill: #007BAA; transition: all .2s; }
.home-card-links a:hover .icon, .home-card-links a:focus-visible .icon { background: #007BAA; fill: #fff; }
.home-card-button { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); width: 80%; padding: 10px; background: var(--wp-blue); color: #fff; font-family: var(--font); font-size: 14px; line-height: 1; text-transform: uppercase; }
.flip { position: relative; height: 149px; overflow: hidden; box-shadow: 0 0 25px -7px rgba(0, 0, 0, .5); text-align: center; }
.flip-front, .flip-back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .6s ease; }
.flip-front { background: #fff; padding: 31px 0 15px; }
.flip-front .icon { width: 33px; height: 33px; fill: #007BAA; margin-bottom: 28px; }
.flip h3 { margin: 0; font-family: var(--font); font-size: 18px; line-height: 18px; font-weight: 400; color: #007BAA; }
.flip-back { background: #007BAA; padding: 35px; transform: translateY(100%); }
.flip-back h3 { color: #fff; margin-bottom: 20px; }
.flip:hover .flip-back, .flip:focus-within .flip-back { transform: none; }
.flip:hover .flip-front, .flip:focus-within .flip-front { transform: translateY(-100%); }
.flip-button { padding: 12px 24px; border: 2px solid #fff; border-radius: 3px; color: #fff; font-family: var(--font); font-size: 14px; line-height: 14px; font-weight: 500; }
.slides-big .slide { height: var(--h); }
.map-tall iframe { height: 544px; }
.pdf-view { text-align: center; }
.pdf-page { display: block; max-width: 692px; margin: 0 auto; }
.pdf-page img { display: block; width: 100%; height: auto; border: 1px solid #ddd; }
.pdf-actions { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; }
.pdf-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #CC3366; border-radius: 3px; background: #fff; color: #555; font-size: 14px; }
.pdf-button:hover, .pdf-button:focus-visible { background: #CC3366; color: #fff; text-decoration: none; }
.pdf-button .icon { width: 14px; height: 14px; }

/* ---------- Plain text pages (privacy, not found, search) ---------- */
.page-text { padding: 45px 17px 40px; }
.page-text .wrap { max-width: 860px; }
.prose { font-size: 16px; line-height: 1.6; color: #555; }
.prose h2 { margin: 1.6em 0 .5em; font-family: var(--font); font-size: 24px; line-height: 1.2; font-weight: 600; color: var(--dark); }
.prose h2:first-child { margin-top: 0; }
.prose a { color: #A8264F; text-decoration: underline; }
.prose li { margin-bottom: .4em; }
.search-form label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--dark); }
.search-form div { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #666; border-radius: 3px; font: inherit; }
.search-form .button { padding: 12px 20px; box-shadow: none; border: 0; cursor: pointer; }
.search-results { margin-top: 24px; }
.search-list { list-style: none; padding: 0; }
.search-list li { margin-bottom: 18px; }
.search-list a { font-family: var(--font); font-size: 18px; font-weight: 600; }
.search-list p { margin: 4px 0 0; font-size: 15px; }

/* ---------- Forms ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gform, .eform { font-family: var(--font); font-size: 14px; line-height: 21px; color: #6B6B6B; }
.gform-legend { margin: 0 0 14.4px; }
.req { color: #C02B0A; margin-left: 2px; font-size: 13px; }
.gfields { display: flex; flex-wrap: wrap; }
.gform .field { min-width: 0; margin: 0; padding: 0 16px 16px 0; border: 0; width: 100%; }
.gform .field.half { width: 50%; }
.gform .field.third { width: 33.333%; }
.gform .field > label, .gform legend { display: block; margin: 0 0 8px; padding: 0; font-size: 16px; line-height: 1.2; font-weight: 700; color: #6B6B6B; }
.gform input[type=text], .gform input[type=email], .gform input[type=tel], .gform select, .gform textarea {
  display: block; width: 100%; padding: 8px; border: 1px solid #666; border-radius: 3px; background: #fff;
  font-family: var(--font); font-size: 15px; line-height: 22.5px; color: #000; }
.gform select { height: 35px; padding: 4px 8px; }
.gform .md { width: 50%; }
.gform .sm { max-width: 165px; }
.complex.cols-date { display: flex; gap: 8px; }
.complex.cols-date input { width: 50px; padding: 8px 4px; text-align: center; }
.complex.cols-date input[maxlength="4"] { width: 64px; }
.complex.cols-date label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.complex.cols-2 .sub:not(.wide) { max-width: 100%; }
.gform textarea { height: 192px; resize: vertical; }
.gform input:focus, .gform select:focus, .gform textarea:focus, .eform input:focus, .eform textarea:focus { outline: 2px solid #1A73E8; outline-offset: 0; }
.complex { display: grid; gap: 8px 16px; }
.complex.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.complex.cols-2 { grid-template-columns: 1fr 1fr; }
.complex .sub.wide { grid-column: 1 / -1; }
.complex .sub label { display: block; padding-top: 5px; font-size: 15px; line-height: 15px; }
.gdesc, .gsection-desc { margin: 0; padding-top: 13px; font-size: 15px; line-height: 22.5px; }
.gnote { font-size: 15px; }
.gsection { width: 100%; padding: 0 16px 8px 0; border-bottom: 1px solid #ccc; margin-bottom: 16px; }
.gsection h3 { margin: 8px 0 16px; font-family: var(--font); font-size: 28px; line-height: 1.2; font-weight: 500; color: #6B6B6B; }
.gsection-desc { margin-bottom: 9px; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 6px; font-size: 15px; line-height: 15px; }
.opt input { width: 16px; height: 16px; margin: 0; accent-color: #363633; }
.form-errors { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #C02B0A; border-radius: 3px; color: #C02B0A; font-size: 15px; }
.field-error { margin: 6px 0 0; color: #C02B0A; font-size: 14px; line-height: 1.4; font-weight: 400; }
.has-error input, .has-error select, .has-error textarea { border-color: #C02B0A !important; }
.form-privacy { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #6B6B6B; }
.form-privacy a { color: inherit; text-decoration: underline; }
.gform-footer { padding: 16px 0; margin-top: 6px; }
.gform-button { padding: 8px 16px; border: 1px solid #CC3366; border-radius: 3px; background: transparent; color: #4E4E4E; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 27px; cursor: pointer; transition: all .3s; }
.gform-button:hover, .gform-button:focus-visible { background: #CC3366; color: #fff; }
.gform-button:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 10px 0 0; font-size: 15px; }
.form-status.error { color: #C02B0A; }
.form-thanks { padding: 20px; border: 1px solid #ddd; border-radius: 3px; background: #F7F7F5; color: #333; font-family: var(--font); font-size: 16px; }
.form-thanks p { margin: 0; }
.form-title { margin: 0 0 20px; font-family: var(--font); font-size: 2rem; line-height: 1.2; font-weight: 700; color: #6B6B6B; }
/* short sign-up forms (Washington Point) */
.eform .gfields { gap: 10px 0; margin: 0 -5px; }
.eform .field { width: 100%; padding: 0 5px; margin: 0; border: 0; }
.eform .field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eform input[type=text], .eform input[type=email], .eform input[type=tel], .eform textarea {
  display: block; width: 100%; height: 40px; padding: 8px 16px; border: 1px solid #E1E1E1; border-radius: 3px; background: #F4F4F4;
  font-family: var(--font); font-size: 14px; line-height: 19.6px; color: #6B6B6B; }
.eform textarea { height: 90px; padding: 5px 14px; resize: vertical; }
.eform ::placeholder { color: #6B6B6B; opacity: .8; }
.eform .gform-footer { padding: 10px 0 0; margin: 0; }
.eform .gform-button { padding: 15px 30px; border: 0; border-radius: 4px; background: #D23C00; color: #fff; font-family: var(--font); font-size: 17px; line-height: 17px; }
.eform .gform-button:hover, .eform .gform-button:focus-visible { background: #C93900; }
.eform-side input[type=text], .eform-side input[type=email], .eform-side input[type=tel] { height: 33px; padding: 4px 12px; border-color: #69727D; border-radius: 2px; background: #fff; }
.eform-side .gform-button { width: 100%; padding: 10px 20px; border-radius: 40px; font-size: 14px; line-height: 14px; font-weight: 500; }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Header (yellow menu over a photo) ----------
   Two spacing styles, like the original site: the usual one, and "hdr-b" (a little tighter). */
.site-header { --pad: 20px; --row: 162px; --logo-col: 196px; --logo-d: 158px; --logo-t: 252px; --logo-m: 221px;
  position: relative; z-index: 10; color: #fff; border-bottom: 4px solid var(--yellow); }
.site-header.hdr-b { --pad: 10px; --row: 164px; --logo-col: 199px; --logo-d: 161px; --logo-t: 107px; --logo-m: 347px; }
.banner { position: absolute; inset: 0; overflow: hidden; background: #6b6b6b; }
.banner-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease-in-out; }
.banner-photo.is-on { opacity: 1; }
.slideshow .banner-photo.is-on { animation: kenburns 6s linear both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.3); } }
.banner-shade { position: absolute; inset: 0; }
.header-inner { position: relative; z-index: 2; padding: var(--pad); }
.header-bar { position: relative; display: flex; align-items: flex-start; min-height: var(--row); }
.header-logo { flex: 0 0 var(--logo-col); padding: 20px 10px 10px; }
.header-logo img { display: block; width: var(--logo-d); height: auto; }
.main-nav { flex: 1; align-self: center; padding: 0 10px; }
.header-space { height: var(--space-d, 105px); margin-bottom: 20px; }
.page-title { margin: 0; font-family: var(--font); font-size: var(--title-d, 45px); line-height: 1; font-weight: 600; color: #fff; padding: 0 20px; margin-bottom: var(--title-gap-d, 0); text-shadow: 3px 5px 11px rgba(0, 0, 0, .72); }
.header-space:last-child { margin-bottom: 0; }

.menu-toggle { display: none; }
.menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; background: var(--yellow); border-radius: 9px; min-height: 40px; }
.menu-link { display: flex; align-items: center; gap: 5px; padding: 8px 16px; border: 0; background: none; font-family: var(--system); font-size: 16px; line-height: 24px; font-weight: 500; color: #232323; cursor: pointer; white-space: nowrap; }
.menu-link:hover, .menu-link:focus-visible { text-decoration: none; color: #000; }
.menu-link[aria-current="page"] { text-decoration: none; }
.menu-link .icon { width: 16px; height: 16px; margin-left: 0; }
.panel-toggle .icon[data-open] { display: none; }
.panel-toggle[aria-expanded="true"] .icon[data-open] { display: inline-block; }
.panel-toggle[aria-expanded="true"] .icon[data-closed] { display: none; }

/* Drop-down panels */
.mega { position: absolute; left: 0; right: 0; top: calc(50% + 20px); margin: 0 auto; max-width: 1140px; padding-top: 10px; z-index: 20; }
.mega-inner { background: var(--dark); border-radius: 9px; box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); padding: 20px; }
.mega-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; padding: 23px 23px 0; }
.mega-col { min-width: 0; }
.mega-card { display: block; margin-bottom: 40px; text-align: center; color: #fff; text-decoration: none; }
.mega-card img { display: block; width: 100%; border-radius: 3px; transition: transform .3s; }
.mega-card:hover img, .mega-card:focus-visible img { transform: scale(1.04); }
.mega-card:hover, .mega-card:focus-visible { text-decoration: none; }
.mega-title { display: block; margin: 20px 0; font-family: var(--font); font-size: 22px; line-height: 1; font-weight: 600; color: var(--yellow); }
.mega-text { display: block; font-family: var(--font); font-size: 14px; line-height: 21px; }
.mega-buttons { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.mega-buttons .button { font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 500; line-height: 15px; color: #4E4E4E; padding: 12px 24px; box-shadow: none; }

/* Home page header: big welcome text and buttons */
.layout-home .site-header { --pad: 19px; }
.layout-home .header-bar { min-height: 166px; }
.layout-home .header-logo { flex-basis: 196px; padding: 28px 18px 18px; }
.layout-home .header-logo img { width: 144px; }
.layout-home .header-space { display: none; }
.hero { padding-bottom: 276px; }
.hero-title { font-family: var(--font); font-size: 78px; line-height: 1; font-weight: 600; color: #fff; margin: 0 0 20px; padding: 53px 0 0 20px; text-shadow: 5px -1px 11px rgba(0, 0, 0, .3); }
.hero-sub { padding-left: 20px; font-family: var(--font); font-size: 23px; line-height: 1.5; letter-spacing: 10px; color: #fff; margin: 0 0 20px; padding-bottom: 14.4px; }
.hero-buttons { list-style: none; margin: 0; padding: 0 20px; }
.hero-buttons li + li { margin-top: 20px; }
.hero-buttons .button { padding: 17px 17px 12px 12px; color: #454545; }
.hero-buttons .icon { width: 18px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: 43px 20px 36px; text-align: center; font-family: var(--font); font-size: 14px; line-height: 21px; color: #fff; }
.footer-facebook { display: inline-block; color: #FEC601; margin-bottom: 26px; }
.footer-facebook .icon { display: block; width: 50px; height: 50px; }
.site-footer p { margin: 0 0 14.4px; }
.footer-links a { color: inherit; text-decoration: underline; }

/* ---------- Washington Point pages (white and navy design) ---------- */
.wp-header { position: relative; z-index: 10; }
.wp-top { position: sticky; top: 0; display: flex; align-items: center; height: 119px; padding: 0 9px 0 18px; background: #fff; }
.wp-logo img { display: block; width: 122px; height: auto; }
.wp-quick { display: flex; gap: 10px; list-style: none; margin: 0 31px 0 auto; padding: 0; }
.wp-quick a { display: flex; align-items: center; gap: 5px; font-family: var(--font); font-size: 16px; line-height: 24px; color: #000; text-transform: uppercase; }
.wp-quick .icon { width: 19px; height: 19px; fill: #01AEEF; }
.wp-nav { align-self: stretch; }
.wp-menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 69px; height: 100%; border: 0; background: var(--navy); color: #fff; cursor: pointer; }
.wp-menu-word { font-family: var(--font); font-size: 18px; line-height: 18px; font-weight: 600; text-transform: uppercase; }
.wp-menu-toggle .icon { width: 37px; height: 37px; margin-top: 4px; }
.wp-menu-toggle .icon-fas-times, .wp-menu-toggle[aria-expanded="true"] .icon-fas-bars { display: none; }
.wp-menu-toggle[aria-expanded="true"] .icon-fas-times { display: block; }
.wp-menu { position: absolute; right: 9px; top: 119px; min-width: 300px; list-style: none; margin: 0; padding: 10px 0; background: var(--navy); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.wp-menu a { display: block; padding: 12px 24px; color: #fff; font-family: var(--font); font-size: 16px; }
.wp-menu a[aria-current="page"] { color: #01AEEF; }
.wp-crumbs { background: #EAEBEA; min-height: 73px; padding: 26px 105px 0; }
.wp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.2; color: #012F5F; }
.wp-crumbs li + li::before { content: '>'; padding: 0 4px; font-size: 18px; font-weight: 100; color: #012F5F; }
.wp-crumbs a { color: #012F5F; padding: 0 1px; }
.wp-crumbs [aria-current] { font-family: var(--font); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.wp-property .wp-top { height: 123px; }
.wp-row { display: flex; align-items: stretch; background: #EAEBEA; min-height: 76px; }
.wp-row .wp-crumbs { flex: 1; min-height: 0; padding-top: 29px; }
.wp-price { display: flex; align-items: center; width: 182px; margin: 0; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 18px; font-weight: 700; color: #012F5F; text-transform: uppercase; }
.wp-bar-phone, .wp-bar-signup { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 18px; color: #fff; font-family: var(--font); font-size: 14px; line-height: 21px; text-transform: uppercase; }
.wp-bar-phone { width: 159px; background: var(--navy); }
.wp-bar-phone span { max-width: 90px; }
.wp-bar-signup { width: 149px; background: #D23C00; }
.wp-bar-phone .icon, .wp-bar-signup .icon { width: 16px; height: 16px; flex: none; }
.wp-bar { display: flex; align-items: center; background: var(--wp-blue); min-height: 80px; padding: 0 0 0 65px; }
.wp-bar p { margin: 0; width: 330px; padding-right: 20px; font-family: var(--font); font-size: 20px; line-height: 1; color: #fff; }
.wp-search { display: flex; width: 212px; }
.wp-search input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 0; border-radius: 3px 0 0 3px; background: #F1F2F3; font-family: var(--font); font-size: 14px; color: #6B6B6B; }
.wp-search button { width: 36px; height: 36px; border: 0; border-radius: 0 3px 3px 0; background: #54595F; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.wp-search .icon { width: 14px; height: 14px; }

.wp-footer { font-family: var(--font); color: #fff; }
.wpf-block { padding: 68px 69px 100px; background: #00213C; }
.wpf-about { background: #313131; }
.wpf-title { margin: 0 0 33px; font-size: 20px; line-height: 1; font-weight: 500; }
.wpf-about .wpf-title { font-family: Helvetica, Arial, sans-serif; }
.wpf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 56px 0; }
.wpf-grid.wpf-3 { grid-template-columns: repeat(3, 1fr); }
.wpf-head { margin: 0 0 34px; font-size: 16px; line-height: 1; color: #01AEEF; text-transform: uppercase; }
.wpf-col { line-height: 1; }
.wpf-col a { display: inline-block; font-size: 14px; line-height: 14px; font-weight: 600; color: #fff; }
.wpf-bottom { background: #212121; padding: 30px 18px 29px; text-align: center; font-size: 15px; line-height: 1.5; }
.wpf-bottom img { display: block; margin: 0 auto 20px; }
.wpf-bottom p { margin: 0 0 10px; }

/* ---------- Photo viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .9); }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; }
.lightbox figcaption { color: #ddd; font-size: 14px; margin-top: 8px; }
.lightbox button { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; color: #fff; cursor: pointer; opacity: .8; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox button .icon { width: 28px; height: 28px; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; top: 20px; left: 20px; margin: 0; color: #fff; font-size: 14px; }

/* ---------- Tablets ---------- */
@media (max-width: 1024px) {
  .sec > .wrap { flex-wrap: wrap; }
  .header-bar { flex-direction: column; min-height: 0; }
  .header-logo { flex: none; align-self: center; }
  .header-logo img { width: var(--logo-t); }
  .main-nav { flex: none; align-self: flex-start; width: 515px; max-width: 100%; padding: 0; position: static; }
  /* logo and menu side by side */
  .hdr-b .header-bar, .hdr-inline .header-bar { flex-direction: row; align-items: center; }
  .hdr-b .header-logo, .hdr-inline .header-logo { align-self: flex-start; }
  .hdr-b .main-nav, .hdr-inline .main-nav { align-self: center; margin-left: 22px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 100%; height: 55px; border: 0; border-radius: 9px; background: var(--yellow); color: #333; cursor: pointer; }
  .menu-toggle .icon { width: 40px; height: 40px; }
  .menu-toggle .icon-fas-times, .main-nav.open .menu-toggle .icon-fas-bars { display: none; }
  .main-nav.open .menu-toggle .icon-fas-times { display: block; }
  .menu { display: none; position: absolute; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); z-index: 30; flex-direction: column; align-items: stretch; background: none; border-radius: 0; margin-top: 0; }
  .main-nav.open .menu { display: flex; }
  .menu-item { background: #323232; border-radius: 9px; }
  .menu-link { width: 100%; color: var(--yellow); }
  .menu-link:hover, .menu-link:focus-visible { color: #fff; }
  .mega { position: static; max-width: none; padding: 0; }
  .mega-inner { border-radius: 0; box-shadow: none; padding: 10px; }
  .mega-cards { gap: 0 10px; padding: 0; }
  .mega-card img { width: 97px; margin: 0 auto; }
  .mega-title { margin: 14px 0; }
  .header-space { height: var(--space-t, 105px); }
  .page-title { font-size: var(--title-t, 59px); margin-bottom: var(--title-gap-t, 0); }
  .layout-home .header-bar { flex-direction: row; min-height: 155px; }
  .layout-home .header-logo { flex: 0 0 181px; align-self: flex-start; }
  .layout-home .header-logo img { width: 131px; }
  .layout-home .main-nav { align-self: center; margin-left: 79px; }
  .hero-title { font-size: 59px; }
  .hero { padding-bottom: 130px; }
  .wpf-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .home-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .sec > .wrap { flex-wrap: wrap; }
  .col { width: 100%; }
  .header-bar, .hdr-b .header-bar, .hdr-inline .header-bar { flex-direction: column; align-items: stretch; }
  .header-logo, .hdr-b .header-logo, .hdr-inline .header-logo { align-self: center; }
  .header-logo img { width: var(--logo-m); }
  .main-nav, .hdr-b .main-nav, .hdr-inline .main-nav { width: 100%; margin: 0; align-self: stretch; }
  .hdr-b .main-nav, .hdr-inline .main-nav { margin: 10px; width: auto; }
  .header-space { height: var(--space-m, 45px); }
  .mega-title { font-size: 19px; }
  .page-title { font-size: var(--title-m, 37px); padding: 0; margin-bottom: var(--title-gap-m, 0); }
  .layout-home .header-bar { flex-direction: column; }
  .layout-home .header-logo { flex: none; width: 100%; padding: 10px 0 0; align-self: stretch; }
  .layout-home .header-logo img { width: 348px; max-width: 100%; }
  .layout-home .main-nav { margin: 0; }
  .hero-title { font-size: 50px; }
  .cards, .home-cards { grid-template-columns: 1fr; }
  .home-cards { gap: 50px; }
  .map-tall iframe { height: 400px; }
  .gform .field.half, .gform .field.third { width: 100%; }
  .complex.cols-3, .complex.cols-2 { grid-template-columns: 1fr; }
  .card-photo { aspect-ratio: 2 / 1; }
  .wp-top { flex-wrap: wrap; justify-content: center; height: auto; padding: 0; }
  .wp-logo img { width: 217px; }
  .wp-quick { width: 100%; justify-content: flex-end; margin: 12px 31px 16px 0; }
  .wp-quick a { font-size: 10px; line-height: 15px; }
  .wp-quick .icon { width: 14px; height: 14px; }
  .wp-nav { width: 100%; }
  .wp-menu-toggle { width: 100%; height: 89px; padding: 6px; }
  .wp-menu { left: 0; right: 0; top: 100%; min-width: 0; }
  .wp-crumbs { min-height: 127px; padding: 30px 25px 20px 100px; }
  .wp-crumbs ol { justify-content: flex-end; text-align: right; }
  .wp-row { flex-direction: column; }
  .wp-row .wp-crumbs { min-height: 97px; padding: 26px 25px 20px 100px; }
  .wp-price { width: 100%; justify-content: center; }
  .wp-bar-phone { width: 100%; height: 56px; }
  .wp-bar-phone span { max-width: none; }
  .wp-bar-signup { width: 100%; height: 49px; }
  .wp-property .wp-top { height: auto; }
  .wp-bar { flex-wrap: wrap; padding: 22px 0 15px; gap: 22px 0; }
  .wp-bar p { width: 100%; padding: 0 22px; font-size: 14px; text-align: center; }
  .wp-search { width: 100%; }
  .wpf-block { display: none; }
  .wpf-bottom { padding: 31px 18px 35px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
