/* Discover and directory: scoped, responsive layouts */
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.discover-hero{background:var(--forest);color:var(--cream);position:relative;border-top:1px solid rgba(255,255,255,.13)}
.discover-intro{padding-top:92px;padding-bottom:100px;text-align:center}
.discover-intro h1{font-size:clamp(42px,6vw,78px);line-height:1.12;max-width:870px;margin:12px auto 20px}
.discover-intro>p:not(.eyebrow){color:#e7e8db;max-width:670px;margin:0 auto 34px;font-size:18px}
.discover-body{padding-top:80px;padding-bottom:95px}.city-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:870px}
.state-links{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:33px;color:var(--forest)}.state-links span{font-weight:800}.state-links a{font-weight:700;text-underline-offset:4px}
.discover-band{display:flex;gap:30px;align-items:center;justify-content:space-between}.discover-band .cta{flex:none}
.brewery-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0 34px}
.brewery-preview{background:#f4eee2;border:1px solid #ded6c9;border-top:4px solid var(--amber);border-radius:3px;padding:24px}
.brewery-preview h2,.brewery-preview h3{font-size:25px;line-height:1.24;margin:8px 0 14px;color:var(--forest)}.brewery-preview p{font-size:15px;line-height:1.6}.brewery-preview a{color:var(--forest);font-weight:700;text-underline-offset:4px}
.brewery-archive-grid{margin-top:42px}.search-results-page .section-title{margin-bottom:30px}.search-page-form{max-width:700px;margin:0 0 40px;border:1px solid #d5cfc4}
.search-list{display:grid;gap:18px}.result{padding:24px 0;border-bottom:1px solid #ded6c9}.result h2{font-size:30px;margin:9px 0}.result h2 a{color:var(--forest)}.result p{max-width:760px}.result>a{font-weight:700;color:var(--rust)}.empty-search{background:#eee7d8;padding:32px;margin:30px 0 0}.empty-search h2{margin:0 0 12px}
.editorial-content .city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editorial-content .city-grid .city{min-height:180px}.editorial-content .city-grid .city strong{font-size:27px}
.editorial-content .brewery-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.editorial-content .founder-story{margin:38px 0 55px}.editorial-content .founder-story h2{margin-top:0!important}
@media(max-width:880px){.brewery-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.discover-band{align-items:flex-start;flex-direction:column}}
@media(max-width:700px){header.site-header{padding:14px 16px;align-items:center!important;gap:12px}.site-header .brand{max-width:100%;gap:9px}.brand-icon{width:48px;height:59px;flex-basis:48px}.brand-name{font-size:clamp(25px,7.5vw,33px)}.brand-subtitle{letter-spacing:.11em;font-size:7px}.site-header nav{width:100%;gap:12px 22px;padding-top:10px;border-top:1px solid rgba(255,255,255,.18)}.site-header nav a{font-size:13px}header.site-header{flex-direction:column;align-items:stretch!important}.hero{padding:62px 20px 74px}.hero h1{font-size:clamp(42px,11vw,60px)}.hero p{font-size:16px}.search-form button{width:100%}.discover-intro{padding:66px 22px 76px}.discover-intro>p:not(.eyebrow){font-size:16px}.discover-body{padding-top:56px;padding-bottom:64px}.city-grid-two,.brewery-preview-grid,.editorial-content .city-grid,.editorial-content .brewery-preview-grid{grid-template-columns:1fr}.city{min-height:190px;padding:23px}.city strong{font-size:26px}.page-layout{padding-left:20px;padding-right:20px}.editorial-content .founder-story{margin:32px 0 42px;padding:16px}.founder-photo img{width:100%;height:auto}.band{padding:45px 0}.footer{padding:36px 20px}}

/* Individual brewery profiles */
.profile-layout{padding-top:45px;padding-bottom:110px}.profile-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.01em;color:#605e54;margin:0 0 35px}.profile-breadcrumbs a{text-underline-offset:3px}.profile-breadcrumbs span{color:#a79c87}
.profile-header{max-width:850px;margin-bottom:45px}.profile-header .section-title{margin:14px 0 10px;line-height:1.12}.profile-location{color:var(--rust);font-weight:800;font-size:14px;margin:0 0 25px}.profile-intro{font-size:19px;line-height:1.72;max-width:700px;color:#55584d}
.profile-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(220px,1fr);align-items:start;gap:54px}.profile-content{max-width:720px}.profile-content h2{margin-top:36px}.profile-featured{margin:0 0 32px}.profile-featured img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;border-radius:3px}.profile-sidebar{position:sticky;top:20px}.sidebar-panel{background:#ede5d6;border-top:4px solid var(--amber);padding:28px}.sidebar-panel h2{font-size:27px;margin:9px 0 14px;color:var(--forest)}.sidebar-panel p{font-size:14px;line-height:1.7}.sidebar-cta{font-size:14px;font-weight:800;display:inline-block;color:var(--rust);margin-top:10px;text-underline-offset:4px}
@media(max-width:780px){.profile-layout{padding-top:26px;padding-bottom:70px}.profile-breadcrumbs{margin-bottom:26px}.profile-columns{grid-template-columns:1fr;gap:25px}.profile-sidebar{position:static}.profile-intro{font-size:17px}.sidebar-panel{padding:22px}}

/* City-guide photography: explicitly render featured imagery above the editorial body. */
.city-guide-featured{margin:0 0 36px;width:100%}
.city-guide-featured-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:5px}
.city-guide-image-credit{font-size:12px;line-height:1.55;color:#68695d;margin:9px 0 0}
.city-guide-image-credit a{color:#8b3e1f;text-underline-offset:2px}
@media(max-width:700px){.city-guide-featured{margin-bottom:25px}.city-guide-featured-image{aspect-ratio:4/3}}
.site-header :focus-visible{outline-color:var(--amber)}:focus-visible{outline-color:var(--forest)}
/* Accessible skip link (hidden until keyboard focus). */
.hops-skip-link{position:absolute;z-index:1000;top:-150px;left:12px;background:#fff;color:#0f3b2e;padding:10px 14px;border:3px solid #0f3b2e;font-weight:700}
.hops-skip-link:focus{top:12px}

/* v1.4.4: editorial rhythm for brewery profiles, city guides and standard pages.
   Explicit content-element rules keep spacing intact when editor content is classic HTML. */
.profile-content.editorial-content,
.editorial-content { overflow-wrap:anywhere; }
.profile-content.editorial-content > p,
.profile-content.editorial-content > div > p { display:block; margin:0 0 1.35em; line-height:1.82; }
.profile-content.editorial-content > h2,
.profile-content.editorial-content > h3,
.profile-content.editorial-content > h4 { display:block; clear:both; font-family:"Bree Serif",Georgia,serif; font-weight:700; line-height:1.28; color:var(--forest); }
.profile-content.editorial-content > h2 { font-size:clamp(24px,2.6vw,30px); margin:2em 0 .75em; }
.profile-content.editorial-content > h3 { font-size:clamp(20px,2.3vw,25px); margin:1.65em 0 .7em; }
.profile-content.editorial-content > h4 { font-size:19px; margin:1.5em 0 .6em; }
.profile-content.editorial-content > h2:first-child,
.profile-content.editorial-content > h3:first-child { margin-top:0; }
.profile-content.editorial-content > h2 + p,
.profile-content.editorial-content > h3 + p { margin-top:0; }
.profile-content.editorial-content > ul,
.profile-content.editorial-content > ol { padding-left:1.4em; margin:0 0 1.5em; line-height:1.8; }
.profile-content.editorial-content li { margin-bottom:.5em; }
.profile-content.editorial-content a { color:var(--rust); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.profile-content.editorial-content a:hover { color:var(--forest); }
.profile-content.editorial-content > p:has(small) { margin-top:1.8em; font-size:13px; color:#66665f; }
.profile-content .addtoany_share_save_container { margin:2em 0 1.5em; padding-top:1em; border-top:1px solid #ded5c8; }
.profile-header { margin-bottom:clamp(28px,4vw,48px); }
@media (max-width:700px) {
 .profile-content.editorial-content {font-size:16px;line-height:1.75;}
 .profile-content.editorial-content > h2{margin-top:1.65em;}
 .profile-content.editorial-content > p{margin-bottom:1.2em;}
}

/* Home near-me widget: visible without waiting for NitroPack JavaScript. */
.hero .home-nearby{max-width:650px;margin:18px auto 0;text-align:left}
.hero .home-nearby .hsd-nearby{margin:0;background:#fffaf1;color:#2b2b2b;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.10)}
.hero .home-nearby .hsd-nearby-header p{color:#5b615d;margin:.3rem 0 .8rem;max-width:none;font-size:14px}
.hero .home-nearby .hsd-nearby-message,.hero .home-nearby .hsd-nearby-list p{color:#333;font-size:14px}
.hero .home-nearby .hsd-nearby-list a{color:#0f3b2e}
.hero .home-nearby .hsd-nearby-list{grid-template-columns:1fr}
.hero .home-nearby .hsd-nearby-button{background:#0f3b2e}
.hero .home-nearby-link{color:#f4a024}
@media(max-width:700px){.hero .home-nearby{margin-top:14px}.hero .home-nearby .hsd-nearby{padding:15px}.hero .home-nearby .hsd-nearby-actions{gap:10px}}

/* City guide exploration: left sticky map and editorial brewery list on desktop. */
.editorial-page.city-guide-page{max-width:1180px!important;width:100%;margin-left:auto;margin-right:auto}
.city-guide-page>.section-title{max-width:950px}
.city-guide-page .city-guide-featured{max-width:100%;margin-bottom:28px}
.city-guide-page .city-guide-featured-image{max-height:275px;aspect-ratio:21/6;object-position:center}
.city-guide-split{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:28px;align-items:start;margin-top:28px}
.city-guide-map{min-width:0;position:sticky;top:22px;align-self:start}
.city-guide-map .hsd-map-shell{margin:0;padding:15px;background:#f8f1e4;border-color:#d9d0bf}
.city-guide-map .hsd-map-heading h2{font-size:24px!important;margin:0 0 6px!important}
.city-guide-map .hsd-map-canvas{height:min(66vh,560px);min-height:360px}
.city-guide-map .hsd-map-link-list{display:none}
.city-guide-copy{min-width:0}
.city-guide-copy .brewery-preview-grid,.city-guide-copy .editorial-content .brewery-preview-grid{display:grid;grid-template-columns:1fr!important;gap:13px;margin:20px 0 29px}
.city-guide-copy .brewery-preview{padding:19px 22px;border-top:0;border-left:4px solid var(--amber)}
.city-guide-copy .brewery-preview h3{font-size:clamp(20px,2vw,24px);margin:0 0 10px}
.city-guide-copy .brewery-preview p{margin:0 0 10px;line-height:1.55;font-size:15px}
.city-guide-copy h2{font-size:clamp(25px,2.5vw,31px)!important;line-height:1.22!important;margin:36px 0 16px!important}
.city-guide-copy h2:first-child{font-size:clamp(25px,2.5vw,31px)!important;color:var(--forest)!important;margin:20px 0 16px!important}
.city-guide-copy>p{font-size:16px;line-height:1.72;margin-bottom:19px!important}
.city-guide-switch{display:none}
@media(max-width:850px){
 .editorial-page.city-guide-page{max-width:740px!important}
 .city-guide-page .city-guide-featured-image{max-height:none;aspect-ratio:16/9}
 .city-guide-split{display:block;margin-top:18px}
 .city-guide-map{position:static}
 .city-guide-map .hsd-map-canvas{height:370px;min-height:0}
 .city-guide-switch{display:none;gap:8px;background:#eee6d7;border-radius:9px;padding:5px;margin:16px 0 20px}
 .city-layout-ready .city-guide-switch{display:flex}
 .city-guide-view-button{flex:1;min-height:44px;cursor:pointer;border:0;border-radius:7px;background:transparent;color:#0f3b2e;font-weight:800;font-size:15px}
 .city-guide-view-button[aria-pressed="true"]{background:#0f3b2e;color:white;box-shadow:0 2px 5px #0002}
 .city-layout-ready:not(.city-show-list) .city-guide-copy{display:none}
 .city-layout-ready.city-show-list .city-guide-map{display:none}
 .city-guide-copy .brewery-preview-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){.city-guide-view-button{transition:none}}

/* City guide photography within Discover destination cards */
.discover-body .city-grid-two .city{justify-content:flex-start;min-height:0;gap:5px;overflow:hidden}
.discover-body .city-grid-two .city .hops-discover-city-image{display:block;width:100%;margin:14px 0 13px;overflow:hidden;border-radius:6px;aspect-ratio:16/10;background:#d3d4c8}
.discover-body .city-grid-two .city .hops-discover-city-photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.discover-body .city-grid-two .city:hover .hops-discover-city-photo{transform:scale(1.025)}
@media(prefers-reduced-motion:reduce){.discover-body .city-grid-two .city .hops-discover-city-photo{transition:none}}

/* v1.5.4: Discover hero mobile containment fix. Keep this full bleed
   even when an optimizer defers or restructures other layout CSS. */
.discover-hero{display:block;width:100%;min-width:0;max-width:none;float:none;clear:both;box-sizing:border-box;overflow:clip}
.discover-hero>.discover-intro{display:block;width:100%;max-width:1180px;box-sizing:border-box;margin-inline:auto}
@media(max-width:700px){
  main#content{display:block;width:100%;max-width:100%;min-width:0}
  main#content>.discover-hero{display:block!important;position:relative!important;width:100vw!important;min-width:100vw!important;max-width:100vw!important;margin:0!important;padding:0!important;float:none!important;clear:both!important;overflow:hidden;box-sizing:border-box}
  main#content>.discover-hero>.discover-intro{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0 auto!important;padding:64px 22px 72px!important;box-sizing:border-box;text-align:center}
  .discover-hero h1{max-width:100%!important;overflow-wrap:normal;font-size:clamp(36px,10.8vw,54px);line-height:1.12}
  .discover-hero .cta{display:inline-block;max-width:100%;white-space:normal}
}

/* v1.5.5: Intro remains readable above mobile map/list controls. */
.city-guide-intro{max-width:830px;margin:4px 0 30px;font-size:17px;line-height:1.8}
.city-guide-intro p{margin:0 0 18px}
.city-guide-intro p:last-child{margin-bottom:0}
@media(max-width:850px){.city-guide-intro{margin:0 0 24px;font-size:16px;line-height:1.75}.city-guide-intro p{margin-bottom:16px}}

/* v1.5.6: Browse maps and listings first; keep SEO editorial content readable below. */
.city-guide-below{clear:both;max-width:850px;margin:64px auto 0;padding-top:36px;border-top:1px solid #ded5c5}
.city-guide-below .city-guide-featured{margin:0 0 32px}
.city-guide-below .city-guide-intro{max-width:100%;margin:0 0 28px}
.city-guide-below .city-guide-details{max-width:100%}
.city-guide-below .city-guide-details h2{font-size:clamp(24px,3vw,32px);line-height:1.24;margin:34px 0 16px}
.city-guide-below .city-guide-details p{line-height:1.75;margin-bottom:20px}
@media(max-width:850px){.city-guide-below{margin:34px 0 0;padding-top:24px}.city-guide-below .city-guide-featured{margin-bottom:24px}.city-guide-below .city-guide-intro{margin-bottom:24px}}

/* v1.5.7: Mobile city guide prioritizes discovery, then photography and editorial. */
@media (max-width:850px){
  .city-guide-page>.section-title{margin-bottom:14px}
  .city-guide-switch{margin:12px 0 15px}
  .city-guide-split{margin-top:0}
  .city-guide-map .hsd-map-shell{padding:10px}
  .city-guide-map .hsd-map-canvas{height:330px!important;min-height:0!important;max-height:330px}
  .city-guide-below{margin-top:30px;padding-top:25px}
  .city-guide-below .city-guide-featured{margin-bottom:24px}
  .city-guide-below .city-guide-featured-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .city-guide-below .city-guide-intro{margin:0 0 25px}
  .city-guide-below .city-guide-intro p{font-size:16px;line-height:1.76;margin-bottom:18px}
}
@media (max-width:380px){
  .city-guide-map .hsd-map-canvas{height:300px!important;max-height:300px}
}

/* v1.5.9: responsive brewery detail map */
.profile-mini-map{margin:14px 0 12px;background:#e1e6da;overflow:hidden;border-radius:4px;aspect-ratio:4/3}
.profile-mini-map iframe{display:block;border:0;width:100%;height:100%}
.profile-map-address{font-size:14px;line-height:1.55;margin:6px 0 7px}
.profile-map-directions{display:inline-block;min-height:44px;padding:10px 15px;background:#0f3b2e;color:#fffaf1;border-radius:3px;font-size:14px;font-weight:800;text-decoration:none}
.profile-map-directions:hover,.profile-map-directions:focus-visible{background:#164d3b;color:#fff}
.profile-before-kicker{margin-top:29px;padding-top:23px;border-top:1px solid rgba(15,59,46,.18)}
@media(max-width:780px){.profile-mini-map{aspect-ratio:16/10;max-height:300px}.profile-sidebar{margin-top:8px}}

/* v1.5.11: two equal gallery tiles, with a keyboard-accessible enlarged view. */
.profile-photo-gallery{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-bottom:27px}
.profile-photo-gallery.has-secondary-photo{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-photo-gallery .profile-gallery-tile{display:block;position:relative;margin:0;min-width:0;overflow:hidden;border-radius:5px;background:#e9e5dc;aspect-ratio:4/3;cursor:zoom-in}
.profile-photo-gallery .profile-gallery-tile img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .2s ease}
.profile-photo-gallery .profile-gallery-tile:hover img{transform:scale(1.025)}
.profile-photo-gallery .profile-gallery-tile:focus-visible{outline:3px solid var(--amber);outline-offset:3px}
.profile-photo-expand{position:absolute;right:10px;bottom:10px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(15,59,46,.88);color:#fff;font-size:19px;line-height:1;pointer-events:none}
.hops-photo-lightbox{position:fixed;inset:0;max-width:min(94vw,1400px);max-height:94vh;width:max-content;border:0;border-radius:8px;background:#121915;padding:12px;box-shadow:0 15px 70px rgba(0,0,0,.5);overflow:visible}
.hops-photo-lightbox::backdrop{background:rgba(0,0,0,.82)}
.hops-photo-lightbox-image{display:block;max-width:min(90vw,1320px);max-height:calc(94vh - 24px);width:auto;height:auto;object-fit:contain}
.hops-photo-lightbox-close{position:absolute;right:-12px;top:-14px;width:40px;height:40px;border:2px solid #fff;border-radius:50%;background:var(--forest);color:white;font-size:26px;line-height:1;cursor:pointer;z-index:2}
.hops-photo-lightbox-close:focus-visible{outline:3px solid var(--amber)}
@media(max-width:620px){.profile-photo-gallery.has-secondary-photo{gap:7px}.profile-photo-gallery .profile-gallery-tile{aspect-ratio:1/1}.hops-photo-lightbox{padding:7px}.hops-photo-lightbox-image{max-width:90vw;max-height:86vh}}
@media(prefers-reduced-motion:reduce){.profile-photo-gallery .profile-gallery-tile img{transition:none}}
