/* WordPress integration layer. The core visual system is generated into site.css. */

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 15px;
	left: 15px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: #c8ff45;
	color: #121b2d;
}

.topic-nav .menu,
.menu-panel .menu,
.footer-links .menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.topic-nav .menu {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 31px;
}

.menu-panel .menu li {
	border-top: 1px solid rgba(248, 245, 237, .2);
}

.menu-panel .menu a {
	display: block;
	padding: 13px 0;
	font: 500 24px/1.05 Georgia, "Times New Roman", serif;
}

.footer-links .menu li { margin-bottom: 13px; }
.footer-links .menu a { color: #c9cec9; font: 14px/1.2 Georgia, "Times New Roman", serif; }

.placeholder-art {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 72% 30%, rgba(200,255,69,.85) 0 7%, transparent 7.4%),
		repeating-radial-gradient(ellipse at 30% 72%, transparent 0 35px, rgba(242,238,230,.24) 36px 37px),
		#121b2d;
}

.story-card--placeholder:nth-child(2) .placeholder-art { background-color: #8f371f; }
.story-card--placeholder:nth-child(3) .placeholder-art { background-color: #d9d3c8; }

.wp-waveform {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 70px;
	height: 65px;
	background: repeating-linear-gradient(90deg, #121b2d 0 5px, transparent 5px 12px);
	clip-path: polygon(0 48%, 5% 20%, 10% 70%, 15% 35%, 20% 82%, 25% 15%, 30% 62%, 35% 34%, 40% 78%, 45% 18%, 50% 55%, 55% 30%, 60% 75%, 65% 12%, 70% 66%, 75% 38%, 80% 84%, 85% 22%, 90% 60%, 95% 32%, 100% 50%, 100% 100%, 0 100%);
}

.entry-content > * { max-width: 760px; }
.entry-content > .alignwide { max-width: 1220px; margin-left: 50%; transform: translateX(-50%); width: min(1220px, 92vw); }
.entry-content > .alignfull { max-width: none; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.single-post .article-layout { display: block; width: 100%; max-width: 1320px; }
.single-post .article-aside { display: none !important; }
.single-post .article-body.entry-content { width: 100%; max-width: none; margin: 0; }
.single-post .entry-content > *:not(.alignwide):not(.alignfull) { width: 100%; max-width: none; }
.entry-content img { height: auto; }
.entry-content figure { margin-block: 45px; }
.entry-content figcaption { color: #687069; font: 10px/1.4 "Courier New", monospace; }
.entry-content h2 { margin: 60px 0 22px; font: 500 clamp(36px, 4vw, 54px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.entry-content h3 { margin: 42px 0 18px; font: 500 31px/1.05 Georgia, "Times New Roman", serif; }
.entry-content ul, .entry-content ol { margin: 0 0 30px; padding-left: 1.4em; font: 19px/1.65 Georgia, "Times New Roman", serif; }
.entry-content a { text-decoration: underline; text-decoration-color: #8f371f; text-underline-offset: 3px; }

/* Structured long reads exported from the editorial site. */
.hh-beer-longread { width: 100%; max-width: 760px; margin: 0 auto; }
.hh-beer-longread .hh-beer-toc { margin: 0 0 64px; padding: 28px 32px; border: 1px solid #17201b; background: #e3ded3; }
.hh-beer-longread .hh-beer-toc > p { margin: 0 0 15px; color: #8f371f; font: 700 10px/1.2 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.hh-beer-longread .hh-beer-toc ol { columns: 2; column-gap: 42px; margin: 0; padding-left: 20px; }
.hh-beer-longread .hh-beer-toc li { break-inside: avoid; margin: 0 0 9px; padding-left: 4px; font-size: 15px; line-height: 1.4; }
.hh-beer-longread .hh-beer-section-heading { scroll-margin-top: 35px; margin: 95px 0 35px; padding-top: 28px; border-top: 1px solid #17201b; }
.hh-beer-longread .hh-beer-section-heading .hh-beer-eyebrow { margin: 0 0 18px; color: #8f371f; font: 700 9px/1 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.hh-beer-longread .hh-beer-section-heading h2 { margin: 0; font-size: clamp(43px, 5.2vw, 72px); line-height: .95; }
.hh-beer-longread .hh-beer-list { margin: -3px 0 38px; }
.hh-beer-longread .hh-beer-pullquote { margin: 55px 0; padding: 38px 0; border-top: 1px solid #17201b; border-bottom: 1px solid #17201b; }
.hh-beer-longread .hh-beer-pullquote p { margin: 0; font: 500 clamp(34px, 4.2vw, 56px)/1 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.hh-beer-longread .hh-beer-note { margin: 50px 0; padding: 32px 35px 8px; border: 1px solid #17201b; background: #e3ded3; }
.hh-beer-longread .hh-beer-note h3 { margin: 0 0 18px; color: #8f371f; font: 700 10px/1.2 "Courier New", monospace; letter-spacing: .1em; text-transform: uppercase; }
.hh-beer-longread .hh-beer-note p { font-size: 17px; line-height: 1.62; }
.hh-beer-longread .hh-beer-media-gallery,
.hh-beer-longread .hh-beer-media-feature { width: min(980px, calc(100vw - 48px)); margin: 64px 0 74px 50%; transform: translateX(-50%); }
.hh-beer-longread .hh-beer-media-eyebrow { margin: 0 0 12px; color: #8f371f; font: 700 9px/1.2 "Courier New", monospace; letter-spacing: .12em; text-transform: uppercase; }
.hh-beer-longread .hh-beer-media-gallery > header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr); gap: 18px 48px; align-items: end; margin-bottom: 25px; padding-top: 20px; border-top: 1px solid #17201b; }
.hh-beer-longread .hh-beer-media-gallery > header .hh-beer-media-eyebrow { grid-column: 1 / 3; }
.hh-beer-longread .hh-beer-media-gallery > header h3 { margin: 0; font-size: clamp(35px, 4.1vw, 58px); line-height: .96; }
.hh-beer-longread .hh-beer-media-gallery > header > p:last-child { margin: 0; color: #4e5750; font-size: 16px; line-height: 1.52; }
.hh-beer-longread .hh-beer-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hh-beer-longread .hh-beer-media-gallery--ingredients .hh-beer-media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hh-beer-longread .hh-beer-media-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #17201b; background: #e6dfd4; }
.hh-beer-longread .hh-beer-media-card__image { display: grid; place-items: center; aspect-ratio: 1 / 1.12; overflow: hidden; padding: 22px; background: #eee9e0; }
.hh-beer-longread .hh-beer-media-gallery--ingredients .hh-beer-media-card__image,
.hh-beer-longread .hh-beer-media-gallery--process .hh-beer-media-card__image { aspect-ratio: 4 / 3; padding: 0; }
.hh-beer-longread .hh-beer-media-gallery--process .hh-beer-media-card--contain .hh-beer-media-card__image { padding: 18px; background: #f7f3ec; }
.hh-beer-longread .hh-beer-media-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.hh-beer-longread .hh-beer-media-card--cover .hh-beer-media-card__image img { object-fit: cover; }
.hh-beer-longread .hh-beer-media-card__image:hover img { transform: scale(1.025); }
.hh-beer-longread .hh-beer-media-card figcaption { display: flex; flex-direction: column; align-items: flex-start; padding: 18px; border-top: 1px solid #17201b; }
.hh-beer-longread .hh-beer-media-card figcaption h4 { margin: 0 0 9px; font: 500 22px/1.02 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.hh-beer-longread .hh-beer-media-card figcaption p { margin: 0 0 17px; color: #4f5851; font-size: 14px; line-height: 1.48; }
.hh-beer-longread .hh-beer-media-card figcaption a { margin-top: auto; color: #7f321b; font: 700 9px/1.2 "Courier New", monospace; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.hh-beer-longread .hh-beer-media-card figcaption .hh-beer-media-card__credit { margin-top: 8px; color: #59625b; font-size: 8px; letter-spacing: .02em; text-transform: none; }
.hh-beer-longread .hh-beer-media-feature { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(260px, .88fr); min-height: 470px; overflow: hidden; border: 1px solid #17201b; background: #161d19; color: #f8f5ed; }
.hh-beer-longread .hh-beer-media-feature__image { display: grid; place-items: center; min-height: 470px; overflow: hidden; padding: 34px; background: #e7dfd3; }
.hh-beer-longread .hh-beer-media-feature__image img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; transition: transform .45s ease; }
.hh-beer-longread .hh-beer-media-feature--contain .hh-beer-media-feature__image img { object-fit: contain; }
.hh-beer-longread .hh-beer-media-feature__image:hover img { transform: scale(1.02); }
.hh-beer-longread .hh-beer-media-feature figcaption { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 58px); }
.hh-beer-longread .hh-beer-media-feature figcaption h3 { margin: 0 0 24px; color: #f8f5ed; font-size: clamp(38px, 4vw, 59px); line-height: .93; }
.hh-beer-longread .hh-beer-media-feature figcaption > p:not(.hh-beer-media-eyebrow) { margin: 0 0 28px; color: #d6dbd6; font-size: 16px; line-height: 1.55; }
.hh-beer-longread .hh-beer-media-feature figcaption > a { align-self: flex-start; color: #deff3f; font: 700 9px/1.3 "Courier New", monospace; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hh-beer-longread .hh-beer-sources { margin-top: 100px; padding-top: 35px; border-top: 2px solid #17201b; }
.hh-beer-longread .hh-beer-sources h2 { margin: 0 0 35px; font-size: 45px; line-height: 1; }
.hh-beer-longread .hh-beer-sources li { margin-bottom: 18px; padding-left: 8px; font-size: 15px; line-height: 1.45; }
.hh-beer-longread .hh-beer-sources li span { display: block; margin-top: 3px; color: #59625b; }
.hh-beer-longread .hh-beer-endmark { width: 55px; height: 55px; display: grid; place-items: center; margin-top: 65px; border: 1px solid #17201b; border-radius: 50%; font: 700 10px/1 "Courier New", monospace; transform: rotate(-8deg); }

.archive-page { min-height: 70vh; }
.archive-heading { display: grid; grid-template-columns: 1fr .6fr; gap: 6vw; align-items: end; margin-bottom: 75px; }
.archive-heading .eyebrow { grid-column: 1 / 3; }
.archive-heading h1, .standard-page h1, .not-found h1 { margin: 0; font: 500 clamp(65px, 8vw, 128px)/.82 Georgia, "Times New Roman", serif; letter-spacing: -.07em; }
.archive-description { color: #505952; font: 18px/1.55 Georgia, "Times New Roman", serif; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px 28px; }
.archive-grid .story-card:nth-child(n) { grid-column: auto; grid-row: auto; }

.nav-links { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 24px; border-top: 1px solid #17201b; font: 700 10px/1 "Courier New", monospace; text-transform: uppercase; }

.standard-page > article { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.standard-page .article-body { max-width: 760px; }
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found > p:not(.eyebrow) { margin: 30px 0; font: 20px/1.5 Georgia, "Times New Roman", serif; }

.article-widget { max-width: 1220px; margin: 0 auto 40px; }

@media (max-width: 900px) {
	.topic-nav .menu { justify-content: flex-start; }
	.archive-heading, .standard-page > article { grid-template-columns: 1fr; }
	.archive-heading .eyebrow { grid-column: 1; }
}

@media (max-width: 560px) {
	.topic-nav .menu { gap: 22px; }
	.archive-grid { grid-template-columns: 1fr; gap: 50px; }
	.archive-heading h1, .standard-page h1, .not-found h1 { font-size: 58px; }
	.entry-content > .alignwide, .entry-content > .alignfull { width: calc(100vw - 40px); }
	.hh-beer-longread .hh-beer-toc { padding: 24px; }
	.hh-beer-longread .hh-beer-toc ol { columns: 1; }
	.hh-beer-longread .hh-beer-section-heading { margin-top: 72px; }
	.hh-beer-longread .hh-beer-note { padding: 26px 24px 4px; }
	.hh-beer-longread .hh-beer-media-gallery,
	.hh-beer-longread .hh-beer-media-feature { width: calc(100vw - 24px); margin: 52px 0 62px 50%; }
	.hh-beer-longread .hh-beer-media-gallery > header { grid-template-columns: 1fr; padding-inline: 8px; }
	.hh-beer-longread .hh-beer-media-gallery > header .hh-beer-media-eyebrow { grid-column: 1; }
	.hh-beer-longread .hh-beer-media-grid,
	.hh-beer-longread .hh-beer-media-gallery--ingredients .hh-beer-media-grid { grid-template-columns: 1fr; }
	.hh-beer-longread .hh-beer-media-feature { grid-template-columns: 1fr; }
	.hh-beer-longread .hh-beer-media-feature__image { min-height: 360px; }
}
