/* Glover's Ice Cream page (page-templates/outpost-glovers.php). Tokens from style.css :root. */

.outpost-glovers {
	--gl-gutter: clamp(16px, 4vw, 56px);
	--gl-max: 1200px;
	background: var(--op-tex-linen), var(--op-surface);
	color: var(--op-ink);
	font-size: 17px;
	line-height: 1.6;
}
.outpost-glovers:focus { outline: none; }
.outpost-glovers p, .outpost-glovers h1, .outpost-glovers h2 { padding: 0; }
.outpost-glovers a { color: inherit; }
.outpost-glovers img { display: block; max-width: 100%; height: auto; }
.gl-wrap { max-width: var(--gl-max); margin: 0 auto; padding: 0 var(--gl-gutter); }
.outpost-glovers .gl-h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; color: var(--op-deep); margin: 0; text-wrap: balance; }

/* Buttons */
.gl-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.outpost-glovers .gl-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
	background: var(--op-cta); color: var(--op-on-cta); border-radius: var(--op-radius);
	font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: background-color .25s ease-out;
}
.outpost-glovers .gl-btn:hover { background: var(--op-cta-hover); }
.outpost-glovers .gl-link {
	display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--op-deep);
	text-decoration: underline; text-decoration-color: var(--op-trim); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.outpost-glovers .gl-link:hover { text-decoration-color: var(--op-deep); }

/* Opening: headline beside the two marks */
.gl-head {
	display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center;
	max-width: var(--gl-max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--gl-gutter) clamp(48px, 6vw, 80px);
}
.outpost-glovers .gl-title { font-size: clamp(2.375rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -.005em; color: var(--op-deep); margin: 0 0 20px; text-wrap: balance; }
.gl-lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--op-ink-soft); max-width: 46ch; margin: 0 0 28px; text-wrap: pretty; }
.gl-marks {
	display: grid; justify-items: center; gap: 22px; padding: clamp(28px, 3vw, 40px);
	background: #fff; border-radius: 6px; outline: 1px solid var(--op-trim); outline-offset: -9px;
	box-shadow: 0 30px 60px -40px rgba(28, 36, 64, .45);
}
.outpost-glovers .gl-marks__glovers { width: min(340px, 100%); }
.outpost-glovers .gl-marks__ig { width: 150px; }

/* Flavors: set like a printed menu card */
.gl-flavors { padding: 0 0 clamp(64px, 8vw, 112px); scroll-margin-top: 72px; }
.gl-card {
	max-width: 980px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px);
	background: #fff; border-radius: 6px; outline: 1px solid var(--op-trim); outline-offset: -10px;
	box-shadow: 0 30px 60px -40px rgba(28, 36, 64, .45); text-align: center;
}
#page-container .gl-card__kick { font: italic 500 19px/1.3 'Alegreya', Georgia, serif !important; color: var(--op-ink-soft); margin: 0 0 6px; }
.gl-rule { width: 72px; height: 7px; border-block: 1px solid var(--op-trim); margin: 18px auto 32px; }
.gl-list {
	list-style: none; margin: 0; padding: 0 !important; text-align: left;
	columns: 3; column-gap: clamp(24px, 4vw, 56px);
}
.gl-list li {
	break-inside: avoid; padding: 9px 0 9px 20px !important; position: relative; border-bottom: 1px solid var(--op-rule);
	font: 500 19px/1.3 'Alegreya', Georgia, serif; color: var(--op-deep);
}
.gl-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; background: var(--op-trim); transform: rotate(45deg); }
.gl-nuts {
	display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 3px; vertical-align: 2px;
	font: 600 12px/1.3 'Jost', sans-serif; letter-spacing: .02em; color: var(--op-accent); background: var(--op-surface); box-shadow: inset 0 0 0 1px var(--op-rule);
}

/* Story */
.gl-story { padding: 0 0 clamp(64px, 8vw, 112px); }
.gl-story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(32px, 6vw, 96px); align-items: start; }
.gl-story p { margin: 0; color: var(--op-ink-soft); font-size: 19px; max-width: 52ch; text-wrap: pretty; }

/* Closing: on linen, so it reads as the page ending before the navy footer starts. */
.gl-end { padding: 0 0 clamp(72px, 9vw, 120px); text-align: center; }
.gl-end__in { display: grid; justify-items: center; gap: 16px; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--op-rule); }
.gl-end p { margin: 0 0 12px; color: var(--op-ink-soft); font-size: 18px; max-width: 46ch; }
.gl-end .gl-acts { justify-content: center; }
.gl-nowrap { white-space: nowrap; }

@media (max-width: 980px) {
	.gl-head, .gl-story__grid { grid-template-columns: 1fr; }
	.gl-marks { max-width: 520px; width: 100%; }
	.gl-list { columns: 2; }
}
@media (max-width: 600px) {
	.outpost-glovers { font-size: 16px; }
	.gl-acts .gl-btn { width: 100%; }
	.gl-list { columns: 1; }
	.gl-list li { font-size: 18px; }
}
