/* Home is an editorial overview; the results page is a dedicated search view. */
.entries-mode>.site-header~main>.home-hero{display:none}
body.landing-mode .home-hero{padding:32px var(--discovery-gutter,24px) 26px}
body.landing-mode .home-hero-inner{max-width:1240px}
body.landing-mode .home-hero-copy>p{display:block;max-width:760px;font-size:16px;line-height:1.6;margin:12px 0 24px;color:#627988}
body.landing-mode #homeSearchOrigin{display:block;max-width:none}
body.landing-mode .home-search{display:block;max-width:none;padding:18px;border:1px solid #d9e5ec;border-radius:14px;box-shadow:0 4px 16px #19394b06;background:#fff}
body.landing-mode .home-search>label{display:block;font-size:14px;margin:0 0 10px;color:#294d62}
body.landing-mode .home-search input:not([type=hidden]){width:100%;min-width:0;height:48px;font-size:16px!important;border-radius:9px;padding:10px 14px}
body.landing-mode .home-search .search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
body.landing-mode .home-search .search-row .btn{height:48px;min-width:110px}
body.landing-mode .home-search .chip-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
body.landing-mode .home-search select{height:44px;font-size:16px;font-weight:500;min-width:0;width:100%;border-radius:9px}
body .landing-content{max-width:1240px;width:calc(100% - 2 * var(--discovery-gutter,24px));margin:0 auto 48px}
.landing-discovery-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:32px;align-items:start;margin:0 0 32px}
.landing-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 16px}
.landing-section-head h2{font-size:23px;letter-spacing:-.025em;line-height:1.25;margin:0;font-weight:650}
.landing-section-head>a{color:#007ba5;font-size:13px;font-weight:650;white-space:nowrap;text-decoration:none}
.landing-agenda{display:grid;grid-template-columns:1fr;gap:10px}
:is(.landing-agenda,.town-page) .agenda-entry{margin:0;border:1px solid #dbe6ed;border-radius:12px;background:#fff;overflow:hidden;box-shadow:none}
:is(.landing-agenda,.town-page) .agenda-entry__link{min-height:0;height:auto;display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;padding:14px;color:inherit;text-decoration:none;align-items:start}
:is(.landing-agenda,.town-page) .agenda-entry__media{position:relative;width:64px;height:48px;min-height:0;overflow:hidden;background:#edf4f8;border-radius:7px;display:grid;place-items:center}
:is(.landing-agenda,.town-page) .agenda-entry__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
:is(.landing-agenda,.town-page) .agenda-entry__date{display:grid;gap:4px;text-align:center;color:#23617d}
:is(.landing-agenda,.town-page) .agenda-entry__date b{font-size:26px;line-height:1}
:is(.landing-agenda,.town-page) .agenda-entry__date span{font-size:10px}
:is(.landing-agenda,.town-page) .agenda-entry__body{min-width:0;padding:0;margin:0;align-self:start}
:is(.landing-agenda,.town-page) .agenda-entry__eyebrow{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:#007ba5}
:is(.landing-agenda,.town-page) .agenda-entry h3{font-size:16px;line-height:1.35;margin:4px 0 6px;letter-spacing:-.015em}
:is(.landing-agenda,.town-page) .agenda-entry__when,:is(.landing-agenda,.town-page) .agenda-entry__location{font-size:12px;line-height:1.4;margin:3px 0;color:#536f80}
:is(.landing-agenda,.town-page) .agenda-entry__description,:is(.landing-agenda,.town-page) .agenda-entry__action{display:none}
.landing-place-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.landing-place-grid .home-card{display:block;min-width:0;border-radius:12px;box-shadow:none}
.landing-place-grid .home-card-link{display:flex;flex-direction:column;height:100%}
.landing-place-grid .home-card-media{position:relative;width:100%;height:auto;aspect-ratio:4/3;min-height:0;border-radius:0;overflow:hidden}
.landing-place-grid .home-card-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.landing-place-grid .entry-card-no-image .home-card-media{display:none}
.landing-place-grid .home-card-body{padding:15px;display:flex;flex-direction:column;flex:1}
.landing-place-grid .entry-card-type{display:none}
.landing-place-grid .home-card-body small{font-size:11px}
.landing-place-grid .home-card-body h3{font-size:17px;line-height:1.3;margin:6px 0 8px}
.landing-place-grid .home-card-body p{font-size:12px;line-height:1.5;margin:4px 0}
.landing-place-grid .home-card-body p:not(.home-card-meta){display:none}
.landing-place-grid .home-card-body>strong{font-size:12px;margin-top:auto;padding-top:12px}
.landing-content .home-tools-grid{margin:0 0 28px;gap:20px}
.landing-content .feature-panel{min-height:0;padding:24px;border-radius:14px;gap:16px;grid-template-columns:auto 1fr}
.landing-content .feature-panel>span{font-size:32px}
.landing-content .feature-panel h2{font-size:24px;line-height:1.25}
.landing-content .feature-panel p{font-size:14px}
.landing-content .weather-panel{order:-1}
.landing-content .town-section{margin:0 0 36px}
.landing-content .section-heading h2{font-size:26px}
.landing-content .town-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.landing-content .town-grid a{padding:14px;border-radius:10px}
.landing-content .home-section{margin-bottom:32px}
@media(max-width:1000px){.landing-discovery-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}.landing-section-head{align-items:start;flex-wrap:wrap}.landing-section-head h2{font-size:21px}}
@media(max-width:760px){
 .landing-discovery-grid{grid-template-columns:1fr;gap:28px}
 body.landing-mode .home-hero{padding-top:22px}
 body.landing-mode .home-search{padding:14px}
 body.landing-mode .home-search .chip-row{grid-template-columns:1fr;display:none!important}
 body.landing-mode.filters-open .home-search .chip-row{display:grid!important}
 body.landing-mode .workspace-filter-toggle{display:flex!important;margin-top:10px}
 body.landing-mode .home-hero-copy>p{font-size:14px;margin-bottom:18px}
 .landing-content .home-tools-grid{grid-template-columns:1fr}
 .landing-place-grid{gap:12px}
 .landing-place-grid .home-card-media{height:auto;aspect-ratio:4/3}
 .landing-place-grid .home-card-body{padding:12px}
 .landing-place-grid .home-card-body h3{font-size:15px}
 .landing-content .town-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing-content .town-grid a{display:grid;font-size:14px}
}

/* Photo header on the home page. */
body.landing-mode .home-hero{position:relative;isolation:isolate;padding:60px var(--discovery-gutter,24px) 44px;margin-bottom:34px;background:#163c40;color:#fff}
body.landing-mode .landing-hero-image{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 52%;pointer-events:none}
body.landing-mode .home-hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,28,41,.9),rgba(8,28,41,.65) 58%,rgba(8,28,41,.24))}
body.landing-mode .home-hero-inner{position:relative;display:block}
body.landing-mode .home-hero-copy .home-kicker{display:inline-block;color:#bae3eb;font-size:12px;font-weight:650;letter-spacing:.12em;margin-bottom:12px}
body.landing-mode .home-hero h1{max-width:900px;color:#fff;font-size:clamp(34px,4.2vw,56px);font-weight:650;letter-spacing:-.04em;line-height:1.12;text-wrap:balance}
body.landing-mode .home-hero-copy>p{display:block;max-width:760px;color:#e3edf1;font-size:17px;line-height:1.65;margin:18px 0 28px}
body.landing-mode #homeSearchOrigin{max-width:1100px}
body.landing-mode .home-search{background:rgba(255,255,255,.98);padding:20px;border:1px solid #ffffff80;border-radius:15px;box-shadow:0 12px 40px #061b2526}
body.landing-mode .home-search>label{color:#25475b;font-weight:650}
body.landing-mode .home-search input:not([type=hidden]){background:#fff;color:#19374a}
body.landing-mode .home-search .chip-row{margin-top:10px}
@media(max-width:760px){
 body.landing-mode .home-hero{padding-top:34px;padding-bottom:28px;margin-bottom:26px}
 body.landing-mode .home-hero h1{font-size:34px;max-width:22ch}
 body.landing-mode .home-hero-copy>p{font-size:15px;line-height:1.6;margin:14px 0 22px}
 body.landing-mode .home-hero:before{background:linear-gradient(90deg,rgba(8,28,41,.86),rgba(8,28,41,.6))}
 body.landing-mode .home-search{padding:14px;border-radius:12px}
 body.landing-mode .landing-hero-image{object-position:63% center}
}

/* Full-screen home hero with centred content. */
body.landing-mode .home-hero{display:flex;align-items:center;justify-content:center;min-height:100vh;height:auto;box-sizing:border-box;padding:40px var(--discovery-gutter,24px)}
body.landing-mode .home-hero-inner{width:100%;max-width:1100px;margin:0 auto;text-align:center}
body.landing-mode .home-hero-copy{max-width:none;margin:0 auto}
body.landing-mode .home-hero h1{margin:0 auto}
body.landing-mode .home-hero-copy>p{margin:18px auto 28px}
body.landing-mode #homeSearchOrigin{margin:0 auto;text-align:left}
@media(max-width:760px){body.landing-mode .home-hero{padding-block:28px}body.landing-mode .home-hero-copy>p{margin:14px auto 22px}}
/* Town hero uses the same full-height, centred presentation. */
body.town-page .town-wrap{padding-top:0}
body.town-page .town-breadcrumb{padding:18px 0;margin:0}
body.town-page .town-local-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:100vh;height:auto;padding:48px 24px;border-radius:0;width:100%;max-width:none;margin:0;text-align:center;background:#153747;overflow:hidden}
body.town-page .town-local-hero .town-hero-copy{width:100%;max-width:900px;margin:auto}
body.town-page .town-local-hero h1{font-size:clamp(40px,5vw,64px);line-height:1.12;margin:0 auto 18px;color:#fff;letter-spacing:-.04em}
body.town-page .town-local-hero p{max-width:760px;margin:0 auto 28px;font-size:17px;line-height:1.65;color:#e6eff4}
body.town-page .town-local-hero .home-kicker{color:#bae3eb}
body.town-page .town-local-hero .town-search{display:flex;margin:24px auto 0;max-width:760px;padding:16px;border-radius:14px;background:#fffffff5}
body.town-page .town-local-hero .town-shortcuts{justify-content:center;flex-wrap:wrap;margin-top:18px}
body.town-page .town-local-hero .town-hero-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover}
@media(max-width:760px){body.town-page .town-local-hero{padding:32px 16px;border-radius:0}body.town-page .town-local-hero .town-search{display:grid;grid-template-columns:1fr;padding:12px}body.town-page .town-local-hero p{font-size:15px}}
