/*
 * Golden hour calculator: masthead, hero, form, result (cards, day bar, chart, compass, tables), article, footer.
 *
 * Atlas look (t33-atlas theme): Erode + Atkinson Next, terra #C2502E, sea #5E9C94, ochre #D9A441,
 * ink #1C2A3A, paper #F4EEE3, masthead paper-2 with the double neatline.
 * 16px gutters, nothing wider than the viewport at 360px.
 *
 * Every class is scoped under .ghc-*. The class list the UI relies on is documented in
 * CONTRACT.md ("DOM / CSS classes"). Motion is calm and short; prefers-reduced-motion switches it off.
 */

@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: Erode; src: url(/wp-content/themes/t33-atlas/assets/fonts/erode-italic.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Atkinson Next'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Atkinson Mono'; src: url(/wp-content/themes/t33-atlas/assets/fonts/atkinson-mono.woff2) format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
	--ghc-accent: #C2502E;
	--ghc-accent-ink: #A23D1C;
	--ghc-accent-soft: #F3DCD0;
	--ghc-sea: #5E9C94;
	--ghc-sea-ink: #33665F;
	--ghc-sea-soft: #DCE8E3;
	--ghc-ochre: #D9A441;
	--ghc-ochre-ink: #8A6418;
	--ghc-ochre-soft: #F5E6C4;
	--ghc-ink: #1C2A3A;
	--ghc-ink2: #3B4859;
	--ghc-dim: #5C6876;
	--ghc-night: #15212D;
	--ghc-paper2: #FBF8F2;
	--ghc-paper3: #EAE1D0;
	--ghc-sand: #EFE5D3;
	--ghc-page: #F4EEE3;
	--ghc-white: #fff;
	--ghc-line: #D9CFBF;
	--ghc-line2: #C9BCA6;
	--ghc-serif: Erode, ui-serif, Georgia, 'Times New Roman', serif;
	--ghc-sans: 'Atkinson Next', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--ghc-mono: 'Atkinson Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--ghc-mast-h: 56px;
	--ghc-gutter: 16px;
	--ghc-r: 12px;
	--ghc-shadow: 0 1px 0 rgba(28, 42, 58, 0.06), 0 14px 30px -18px rgba(28, 42, 58, 0.38);
	--ghc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	background: var(--ghc-page);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.ghc-body {
	margin: 0;
	background: var(--ghc-page);
	color: var(--ghc-ink);
	font-family: var(--ghc-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.ghc-body a {
	color: inherit;
}

.ghc-body button,
.ghc-body input,
.ghc-body select {
	font: inherit;
	color: inherit;
}

.ghc-body :focus-visible {
	outline: 2px solid var(--ghc-ink);
	outline-offset: 2px;
	border-radius: 4px;
	box-shadow: 0 0 0 5px color-mix(in srgb, var(--ghc-ochre) 45%, transparent);
}

/* ---------------------------------------------------------------- masthead */

.ghc-mast {
	position: relative;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--ghc-mast-h);
	padding: 0 20px;
	background: color-mix(in srgb, var(--ghc-paper2) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
}

/* The theme's double neatline under the header. */
.ghc-mast::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 5px;
	pointer-events: none;
	border-top: 1px solid rgba(28, 42, 58, 0.22);
	border-bottom: 1px solid rgba(28, 42, 58, 0.09);
}

.ghc-logo,
.ghc-foot-logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	line-height: 1;
	color: var(--ghc-ink);
	text-decoration: none;
}

.ghc-logo svg,
.ghc-foot-logo svg {
	display: block;
	width: 34px;
	height: 34px;
}

.ghc-brand-word {
	font: 600 23px/1 var(--ghc-serif);
	letter-spacing: -0.02em;
}

@media (max-width: 860px) {
	.ghc-logo svg { width: 32px; height: 32px; }
}

.ghc-nav {
	margin-left: auto;
}

.ghc-nav ul,
.ghc-burger-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ghc-nav > ul {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ghc-nav a,
.ghc-nav summary {
	display: block;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
	border-radius: 6px;
}

.ghc-nav summary::-webkit-details-marker,
.ghc-burger summary::-webkit-details-marker {
	display: none;
}

.ghc-nav a:hover,
.ghc-nav summary:hover,
.ghc-nav details[open] > summary {
	color: var(--ghc-accent-ink);
}

.ghc-nav summary::after {
	content: '';
	display: inline-block;
	margin-left: 6px;
	width: 5px;
	height: 5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.ghc-sub {
	position: relative;
}

.ghc-sub-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 220px;
	padding: 6px;
	background: var(--ghc-white);
	border: 1px solid var(--ghc-line);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(40, 30, 20, 0.14);
}

.ghc-sub-list a {
	text-transform: none;
	letter-spacing: 0;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.ghc-sub-list a:hover {
	background: var(--ghc-page);
}

.ghc-burger {
	display: none;
	margin-left: auto;
}

.ghc-burger summary {
	display: block;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.ghc-burger-icon,
.ghc-burger-icon::before,
.ghc-burger-icon::after {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 2px;
	background: var(--ghc-ink);
	border-radius: 2px;
	content: '';
}

.ghc-burger-icon {
	top: 21px;
}

.ghc-burger-icon::before {
	left: 0;
	top: -6px;
}

.ghc-burger-icon::after {
	left: 0;
	top: 6px;
}

.ghc-burger-panel {
	position: absolute;
	top: var(--ghc-mast-h);
	left: 0;
	right: 0;
	max-height: calc(100svh - var(--ghc-mast-h));
	overflow: auto;
	padding: 8px 20px 20px;
	background: var(--ghc-white);
	border-bottom: 1px solid var(--ghc-line);
	box-shadow: 0 16px 32px rgba(40, 30, 20, 0.14);
}

.ghc-burger-panel a {
	display: block;
	padding: 10px 0;
	font-weight: 600;
	text-decoration: none;
}

.ghc-m-head {
	display: block;
	margin-top: 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ghc-accent-ink);
}

.ghc-m-group ul {
	padding-left: 12px;
}

@media (max-width: 860px) {
	:root {
		--ghc-mast-h: 52px;
	}
	.ghc-mast {
		padding: 0 16px;
	}
	.ghc-nav {
		display: none;
	}
	.ghc-burger {
		display: block;
	}
}


/* -------------------------------------------------------------------- hero */

.ghc-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 var(--ghc-gutter) 24px;
}

.ghc-hero {
	padding: 26px 0 18px;
	text-align: center;
}

.ghc-hero-in {
	max-width: 720px;
	margin: 0 auto;
}

.ghc-hero h1 {
	margin: 0;
	font-family: var(--ghc-serif);
	font-size: clamp(34px, 7.4vw, 52px);
	line-height: 1.04;
	font-weight: 650;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.ghc-tagline {
	margin: 12px auto 0;
	max-width: 34em;
	font-size: clamp(17px, 2.6vw, 20px);
	line-height: 1.45;
	color: var(--ghc-ink2);
	text-wrap: balance;
}

.ghc-small {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 12px 0 0;
	padding: 5px 12px 5px 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ghc-sea-ink);
	background: var(--ghc-sea-soft);
	border-radius: 999px;
}

.ghc-hero-photo {
	margin: 18px 0 0;
}

.ghc-hero-frame {
	/* no max-height: with an aspect ratio it would shrink the width as well */
	width: 100%;
	aspect-ratio: 1600 / 840;
	overflow: hidden;
	border-radius: var(--ghc-r);
	background: var(--ghc-sand);
}

.ghc-hero-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ghc-credit {
	display: block;
	margin: 6px 2px 0;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ghc-dim);
	text-align: right;
}

.ghc-credit a {
	color: inherit;
}

@media (min-width: 900px) {
	.ghc-hero {
		padding: 20px 0 14px;
	}
	.ghc-hero.has-photo {
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		align-items: center;
		gap: 36px;
		text-align: left;
	}
	.ghc-hero.has-photo .ghc-hero-in {
		margin: 0;
	}
	.ghc-hero.has-photo .ghc-tagline {
		margin-left: 0;
	}
	.ghc-hero.has-photo .ghc-hero-photo {
		margin: 0;
	}
}

/* ------------------------------------------------------------------- tokens for light */

:root {
	--ghc-blue: #4B5FC4;
	--ghc-blue-ink: #34479F;
	--ghc-blue-soft: #E4E8F8;
	--ghc-gold: #E2A63C;
	--ghc-gold-ink: #8A5A00;
	--ghc-gold-soft: #FBEBC8;
	--ghc-panel: #FFFFFF;
}

/* ------------------------------------------------------------------- card */

.ghc-app {
	position: relative;
}

.ghc-card {
	padding: 16px;
	background: var(--ghc-paper2);
	border: 1px solid var(--ghc-line);
	border-radius: 16px;
	box-shadow: var(--ghc-shadow);
}

.ghc-form {
	display: grid;
	gap: 14px;
}

.ghc-row {
	display: grid;
	gap: 14px;
}

.ghc-field {
	min-width: 0;
}

.ghc-field > label,
.ghc-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ghc-ink2);
}

.ghc-input {
	width: 100%;
	min-height: 48px;
	padding: 0 12px;
	font-size: 16px;
	line-height: 1.2;
	color: var(--ghc-ink);
	background: var(--ghc-panel);
	border: 1.5px solid var(--ghc-line2);
	border-radius: 10px;
}

.ghc-input::placeholder {
	color: #7B8794;
}

.ghc-input:focus {
	border-color: var(--ghc-ink);
}

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

/* place combobox */
.ghc-combo {
	position: relative;
}

.ghc-list {
	position: absolute;
	z-index: 30;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 340px;
	margin: 0;
	padding: 4px;
	overflow-y: auto;
	list-style: none;
	background: var(--ghc-panel);
	border: 1.5px solid var(--ghc-ink);
	border-radius: 12px;
	box-shadow: 0 18px 36px -16px rgba(28, 42, 58, 0.5);
}

.ghc-list[hidden] {
	display: none;
}

.ghc-opt-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	min-height: 44px;
	padding: 8px 10px;
	cursor: pointer;
	border-radius: 8px;
}

.ghc-opt-row.is-active,
.ghc-opt-row:hover {
	background: var(--ghc-ochre-soft);
}

.ghc-opt-n {
	font-weight: 700;
}

.ghc-opt-c {
	font-size: 14px;
	color: var(--ghc-dim);
}

.ghc-opt-t {
	margin-left: auto;
	padding: 1px 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ghc-sea-ink);
	background: var(--ghc-sea-soft);
	border-radius: 999px;
}

.ghc-zone {
	margin: 6px 2px 0;
	min-height: 20px;
	font-size: 13px;
	color: var(--ghc-dim);
}

/* date */
.ghc-datebox {
	display: flex;
	gap: 6px;
}

.ghc-datebox .ghc-input {
	flex: 1 1 auto;
	min-width: 0;
}

.ghc-ibtn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	cursor: pointer;
	color: var(--ghc-ink);
	background: var(--ghc-panel);
	border: 1.5px solid var(--ghc-line2);
	border-radius: 10px;
}

.ghc-ibtn:hover {
	border-color: var(--ghc-ink);
}

/* buttons */
.ghc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	border: 1.5px solid transparent;
	border-radius: 10px;
	transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.ghc-btn:active {
	transform: translateY(1px);
}

.ghc-btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ghc-btn-primary {
	color: #fff;
	background: var(--ghc-accent-ink);
}

.ghc-btn-primary:hover {
	background: #8B3015;
}

.ghc-btn-soft {
	color: var(--ghc-ink);
	background: var(--ghc-sand);
	border-color: var(--ghc-line2);
}

.ghc-btn-soft:hover {
	background: var(--ghc-paper3);
	border-color: var(--ghc-ink);
}

.ghc-btn-ghost {
	color: var(--ghc-ink2);
	background: transparent;
	border-color: var(--ghc-line2);
}

.ghc-btn-ghost:hover {
	border-color: var(--ghc-ink);
}

.ghc-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ghc-linkbtn {
	min-height: 44px;
	padding: 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ghc-accent-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	background: none;
	border: 0;
}

.ghc-coords {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: end;
	gap: 10px;
	padding: 12px;
	background: var(--ghc-sand);
	border-radius: 12px;
}

.ghc-coords[hidden] {
	display: none;
}

.ghc-coords .ghc-btn {
	grid-column: 1 / -1;
}

/* definition select, clock switch */
.ghc-opts {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 18px;
}

.ghc-defrow {
	flex: 1 1 280px;
}

.ghc-defbox {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ghc-select {
	flex: 1 1 auto;
	padding-right: 36px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%231C2A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	text-overflow: ellipsis;
}

.ghc-info {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--ghc-sea-ink);
	border-radius: 50%;
}

.ghc-info:hover {
	background: var(--ghc-sea-soft);
}

.ghc-seg {
	display: inline-flex;
	overflow: hidden;
	border: 1.5px solid var(--ghc-line2);
	border-radius: 10px;
}

.ghc-seg-btn {
	min-height: 45px;
	min-width: 60px;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	color: var(--ghc-ink2);
	background: var(--ghc-panel);
	border: 0;
}

.ghc-seg-btn + .ghc-seg-btn {
	border-left: 1.5px solid var(--ghc-line2);
}

.ghc-seg-btn.is-on {
	color: #fff;
	background: var(--ghc-ink);
}

.ghc-error {
	margin: 0;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ghc-accent-ink);
	background: var(--ghc-accent-soft);
	border-radius: 10px;
}

.ghc-error[hidden] {
	display: none;
}

/* map */
.ghc-mapwrap {
	overflow: hidden;
	background: var(--ghc-panel);
	border: 1.5px solid var(--ghc-line2);
	border-radius: 12px;
}

.ghc-mapwrap[hidden] {
	display: none;
}

.ghc-maphead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 4px 4px 4px 12px;
	background: var(--ghc-sand);
}

.ghc-maphead p {
	margin: 0;
	font-size: 14px;
	color: var(--ghc-ink2);
}

.ghc-map {
	position: relative;
	z-index: 0;
	height: 280px;
	isolation: isolate;
}

.ghc-noscript {
	padding: 12px 14px;
	font-size: 15px;
	background: var(--ghc-ochre-soft);
	border-radius: 10px;
}

.ghc-ns-table {
	width: 100%;
	border-collapse: collapse;
}

.ghc-ns-table th,
.ghc-ns-table td {
	padding: 6px 8px;
	text-align: left;
	border-top: 1px solid var(--ghc-line2);
}

/* ---------------------------------------------------------------- result */

.ghc-result {
	min-height: 460px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--ghc-line);
}

.ghc-sk div {
	background: var(--ghc-sand);
	border-radius: 12px;
}

.ghc-sk-head {
	height: 84px;
}

.ghc-sk-cards {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.ghc-sk-cards div {
	height: 150px;
}

.ghc-sk-bar {
	height: 84px;
	margin-top: 14px;
}

.ghc-print-title {
	display: none;
}

.ghc-head {
	text-align: left;
}

.ghc-h-line {
	margin: 0;
	font-family: var(--ghc-serif);
	font-size: clamp(23px, 5.6vw, 32px);
	font-weight: 650;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.ghc-h-count {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 28px;
	margin: 6px 0 0;
	font-size: 17px;
	font-weight: 700;
	color: var(--ghc-gold-ink);
}

.ghc-h-count.is-now {
	color: #fff;
	width: fit-content;
	padding: 3px 14px 3px 10px;
	background: var(--ghc-accent-ink);
	border-radius: 999px;
}

.ghc-pulse {
	width: 10px;
	height: 10px;
	background: var(--ghc-gold);
	border-radius: 50%;
	animation: ghc-pulse 1.6s ease-out infinite;
}

@keyframes ghc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(226, 166, 60, 0.85); }
	100% { box-shadow: 0 0 0 10px rgba(226, 166, 60, 0); }
}

.ghc-h-sub {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--ghc-dim);
}

/* morning / evening cards */
.ghc-cards {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.ghc-cardm,
.ghc-fig,
.ghc-week,
.ghc-month {
	background: var(--ghc-panel);
	border: 1px solid var(--ghc-line);
	border-radius: 14px;
}

.ghc-cardm {
	padding: 14px 16px 8px;
}

.ghc-cardm h3 {
	margin: 0 0 4px;
	font-family: var(--ghc-serif);
	font-size: 20px;
	font-weight: 650;
}

.ghc-state p {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.5;
}

.ghc-rows {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ghc-r {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 4px 10px;
	padding: 10px 0;
	border-top: 1px dashed var(--ghc-line);
}

.ghc-r:first-child {
	border-top: 0;
}

.ghc-chip {
	display: inline-flex;
	align-items: center;
	min-width: 100px;
	justify-content: center;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 999px;
	white-space: nowrap;
}

.ghc-chip-golden {
	color: #4A3000;
	background: var(--ghc-gold);
}

.ghc-chip-blue {
	color: #fff;
	background: var(--ghc-blue);
}

.ghc-chip-sun {
	color: var(--ghc-ink);
	background: var(--ghc-sand);
	border: 1px solid var(--ghc-line2);
}

.ghc-r-t {
	font-size: 16px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ghc-r-d {
	justify-self: end;
	font-size: 14px;
	color: var(--ghc-dim);
	text-align: right;
	white-space: nowrap;
}

.ghc-r-d.ghc-dir {
	white-space: normal;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--ghc-ink2);
	font-weight: 600;
}

.ghc-dir-i {
	display: inline-flex;
	color: var(--ghc-accent);
}

.ghc-r-n {
	grid-column: 1 / -1;
	font-size: 13px;
	color: var(--ghc-dim);
}

.ghc-r-none {
	display: block;
	font-size: 15px;
	color: var(--ghc-dim);
}

/* figures */
.ghc-fig {
	margin: 14px 0 0;
	padding: 14px 14px 10px;
}

.ghc-fig-t {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ghc-dim);
}

.ghc-fig svg {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.ghc-ax {
	font-family: var(--ghc-sans);
	font-size: 11px;
	fill: var(--ghc-dim);
}

.ghc-ax-s {
	font-size: 10px;
}

.ghc-bl {
	font-family: var(--ghc-sans);
	font-size: 12px;
	font-weight: 700;
}

.ghc-bl-golden {
	fill: var(--ghc-gold-ink);
}

.ghc-bl-blue {
	fill: var(--ghc-blue-ink);
}

.ghc-vis {
	display: grid;
	gap: 0;
}

.ghc-readout {
	min-height: 48px;
	margin: 0 0 8px;
	padding: 8px 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	font-variant-numeric: tabular-nums;
	background: var(--ghc-sand);
	border-radius: 10px;
}

.ghc-chartbox {
	border-radius: 8px;
}

.ghc-chart {
	touch-action: pan-y;
	cursor: crosshair;
}

.ghc-g {
	stroke: rgba(28, 42, 58, 0.1);
	stroke-width: 1;
}

.ghc-g0 {
	stroke: transparent;
}

.ghc-gv {
	stroke: rgba(28, 42, 58, 0.06);
	stroke-width: 1;
}

.ghc-band-g {
	fill: rgba(226, 166, 60, 0.5);
}

.ghc-band-b {
	fill: rgba(75, 95, 196, 0.34);
}

.ghc-bt {
	font-family: var(--ghc-sans);
	font-size: 11px;
	font-weight: 700;
}

.ghc-bt-g {
	fill: var(--ghc-gold-ink);
}

.ghc-bt-b {
	fill: var(--ghc-blue-ink);
}

.ghc-horizon {
	stroke: var(--ghc-ink2);
	stroke-width: 1.4;
	stroke-dasharray: 5 4;
}

.ghc-area {
	fill: rgba(207, 228, 236, 0.55);
}

.ghc-curve {
	fill: none;
	stroke: var(--ghc-ink);
	stroke-width: 2.2;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.ghc-curve-golden,
.ghc-curve-blue {
	fill: none;
	stroke-width: 4;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.ghc-curve-golden {
	stroke: #B06E00;
}

.ghc-curve-blue {
	stroke: var(--ghc-blue-ink);
}

.ghc-mk {
	fill: var(--ghc-accent);
	stroke: #fff;
	stroke-width: 2;
}

.ghc-mkt {
	font-family: var(--ghc-sans);
	font-size: 12px;
	font-weight: 700;
	fill: var(--ghc-ink);
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 3px;
	stroke-linejoin: round;
}

.ghc-xh-l {
	stroke: var(--ghc-ink);
	stroke-width: 1.3;
	stroke-dasharray: 3 3;
}

.ghc-xh-d {
	fill: #fff;
	stroke: var(--ghc-ink);
	stroke-width: 2.5;
}

.ghc-peak {
	font-family: var(--ghc-sans);
	font-size: 12px;
	font-weight: 700;
	fill: var(--ghc-ink2);
}

.ghc-fig-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 10px;
}

.ghc-fig-head .ghc-fig-t {
	margin: 0;
}

.ghc-seg-s .ghc-seg-btn {
	min-height: 40px;
	min-width: 0;
	padding: 0 12px;
	font-size: 13px;
}

.ghc-cap {
	margin: 8px 2px 4px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ghc-ink2);
}

.ghc-compassbox {
	display: flex;
	justify-content: center;
}

.ghc-cmp-l {
	font-family: var(--ghc-serif);
	font-size: 16px;
	font-weight: 700;
	fill: var(--ghc-ink);
}

.ghc-arc,
.ghc-arc-below,
.ghc-arc-golden,
.ghc-arc-blue {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ghc-arc {
	stroke: var(--ghc-ink2);
	stroke-width: 2.2;
}

.ghc-arc-below {
	stroke: var(--ghc-ink2);
	stroke-width: 2;
	stroke-dasharray: 2 5;
	opacity: 0.7;
}

.ghc-arc-golden {
	stroke: var(--ghc-gold);
	stroke-width: 5;
}

.ghc-arc-blue {
	stroke: var(--ghc-blue);
	stroke-width: 5;
}

.ghc-ray {
	stroke: var(--ghc-accent);
	stroke-width: 1.8;
	stroke-dasharray: 5 3;
}

.ghc-cmp-t {
	font-family: var(--ghc-sans);
	font-size: 11.5px;
	font-weight: 700;
	fill: var(--ghc-ink);
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 3.5px;
	stroke-linejoin: round;
}

.ghc-twi {
	margin: 12px 2px 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--ghc-dim);
}

/* tables */
.ghc-week,
.ghc-month {
	margin: 14px 0 0;
}

.ghc-week {
	padding: 14px 14px 10px;
}

.ghc-week h3 {
	margin: 0 0 10px;
	font-family: var(--ghc-serif);
	font-size: 20px;
	font-weight: 650;
}

.ghc-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ghc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	font-variant-numeric: tabular-nums;
}

.ghc-table th,
.ghc-table td {
	padding: 9px 8px;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid var(--ghc-line);
	white-space: nowrap;
}

.ghc-table thead th {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ghc-dim);
	border-top: 0;
	border-bottom: 1.5px solid var(--ghc-line2);
}

.ghc-table tbody th {
	font-weight: 700;
}

.ghc-table tr.is-today > * {
	background: var(--ghc-gold-soft);
}

.ghc-table tr.is-sel > th {
	box-shadow: inset 4px 0 0 var(--ghc-accent);
}

.ghc-month-t tbody tr {
	cursor: pointer;
}

.ghc-month-t tbody tr:hover > * {
	background: var(--ghc-sand);
}

.ghc-cloud {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.ghc-cl-i {
	display: inline-flex;
}

.ghc-cl-good {
	color: var(--ghc-sea-ink);
}

.ghc-cl-fair {
	color: var(--ghc-ink2);
}

.ghc-cl-poor {
	color: var(--ghc-accent-ink);
}

.ghc-na {
	color: var(--ghc-dim);
}

.ghc-foot-n {
	margin: 8px 2px 4px;
	font-size: 13px;
	color: var(--ghc-dim);
}

.ghc-foot-n[hidden],
.ghc-cl-td[hidden] {
	display: none;
}

.ghc-month > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 52px;
	padding: 10px 14px;
	font-family: var(--ghc-serif);
	font-size: 17px;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
}

.ghc-month > summary::-webkit-details-marker {
	display: none;
}

.ghc-month > summary::after {
	content: '';
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-right: 4px;
	border-right: 2.5px solid var(--ghc-ink);
	border-bottom: 2.5px solid var(--ghc-ink);
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.ghc-month[open] > summary::after {
	transform: rotate(-135deg);
}

.ghc-mo-body {
	padding: 0 14px 12px;
}

.ghc-mo-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

/* stacked rows for the 7 day table (cells td.ghc-m), used under 600 px */
.ghc-m {
	display: none;
}

.ghc-m-times {
	font-size: 14.5px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.ghc-m-lab,
.ghc-cl-l {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ghc-dim);
}

.ghc-m-sep {
	color: var(--ghc-dim);
}

.ghc-m-clouds {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 6px;
	font-size: 13.5px;
}

.ghc-m-clouds[hidden] {
	display: none;
}

/* actions, note, cross links */
.ghc-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 16px;
}

.ghc-toast {
	font-size: 15px;
	font-weight: 700;
	color: var(--ghc-sea-ink);
	opacity: 0;
	transition: opacity 0.2s;
}

.ghc-toast.is-on {
	opacity: 1;
}

.ghc-note {
	margin: 14px 2px 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ghc-dim);
}

.ghc-note a {
	color: var(--ghc-accent-ink);
}

.ghc-cross {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 16px;
	margin: 16px 0 0;
	font-size: 15px;
}

.ghc-cross-l {
	font-weight: 700;
	color: var(--ghc-dim);
}

.ghc-cross a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-weight: 700;
	color: var(--ghc-accent-ink);
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------ layouts */

@media (min-width: 560px) {
	.ghc-card {
		padding: 22px;
	}
	.ghc-cards,
	.ghc-sk-cards {
		grid-template-columns: 1fr 1fr;
	}
	.ghc-coords {
		grid-template-columns: 1fr 1fr auto;
	}
	.ghc-coords .ghc-btn {
		grid-column: auto;
	}
	.ghc-fig {
		padding: 16px 18px 12px;
	}
	.ghc-map {
		height: 340px;
	}
	.ghc-readout {
		min-height: 30px;
	}
}

@media (min-width: 720px) {
	.ghc-row {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: start;
	}
}

@media (min-width: 900px) {
	.ghc-vis {
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 14px;
		align-items: stretch;
	}
	.ghc-vis .ghc-fig {
		margin-top: 14px;
	}
	.ghc-result {
		min-height: 600px;
	}
}

@media (max-width: 599px) {
	.ghc-week-t thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.ghc-week-t,
	.ghc-week-t tbody,
	.ghc-week-t tr,
	.ghc-week-t th[scope="row"],
	.ghc-week-t td.ghc-m {
		display: block;
	}
	.ghc-week-t td.ghc-d {
		display: none;
	}
	.ghc-week-t tr {
		padding: 10px 4px;
		border-top: 1px solid var(--ghc-line);
	}
	.ghc-week-t tr:first-child {
		border-top: 0;
	}
	.ghc-week-t th[scope="row"],
	.ghc-week-t td.ghc-m {
		padding: 0;
		border: 0;
		white-space: normal;
	}
	.ghc-week-t th[scope="row"] {
		padding-bottom: 3px;
		font-size: 14.5px;
	}
}

@media (max-width: 559px) {
	.ghc-datebox {
		flex-wrap: wrap;
	}
	.ghc-datebox .ghc-input {
		flex: 1 1 100%;
		order: -1;
	}
	.ghc-datebox .ghc-ibtn,
	.ghc-datebox .ghc-today {
		flex: 1 1 0;
		width: auto;
	}
	.ghc-datebox .ghc-today {
		flex-grow: 2;
	}
	.ghc-month-t th:nth-child(2),
	.ghc-month-t td:nth-child(2),
	.ghc-month-t th:nth-child(5),
	.ghc-month-t td:nth-child(5),
	.ghc-month-t th:nth-child(6),
	.ghc-month-t td:nth-child(6) {
		display: none;
	}
	.ghc-table {
		font-size: 13.5px;
	}
	.ghc-table th,
	.ghc-table td {
		padding: 8px 5px;
	}
	.ghc-week-t td {
		white-space: normal;
	}
	.ghc-card {
		padding: 12px;
	}
	.ghc-week,
	.ghc-fig {
		padding-left: 10px;
		padding-right: 10px;
	}
	.ghc-chip {
		min-width: 76px;
		padding: 4px 8px;
		font-size: 12.5px;
	}
	.ghc-r-d.ghc-dir {
		gap: 4px;
		font-size: 13px;
		white-space: nowrap;
	}
	.ghc-r-t {
		font-size: 15.5px;
	}
	.ghc-r {
		gap: 4px 8px;
	}
	.ghc-actions .ghc-btn {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ghc-pulse {
		animation: none;
	}
	.ghc-btn,
	.ghc-toast,
	.ghc-month > summary::after {
		transition: none;
	}
}

/* ------------------------------------------------------------------ article */

.ghc-article {
	max-width: 820px;
	margin: 0 auto;
	padding: 56px 24px 40px;
	font-size: 17px;
	line-height: 1.7;
}

.ghc-article h2 {
	font-family: var(--ghc-serif);
	margin: 2.2em 0 0.6em;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ghc-article > h2:first-child,
.ghc-article > h2:first-of-type {
	margin-top: 0;
}

.ghc-article h3 {
	margin: 1.6em 0 0.4em;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.ghc-article p,
.ghc-article ul,
.ghc-article ol {
	margin: 0 0 1.1em;
}

.ghc-article a {
	color: var(--ghc-accent-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ghc-article figure {
	margin: 1.6em 0;
}

.ghc-article figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 12px;
	background: var(--ghc-sand);
}

.ghc-article figcaption {
	margin-top: 6px;
	font-size: 13px;
	color: var(--ghc-dim);
}

.ghc-article table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.4em 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.4;
	background: var(--ghc-white);
	border: 1px solid var(--ghc-line);
	border-radius: 12px;
}

.ghc-article td small,
.ghc-article th small {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--ghc-dim);
}

.ghc-article td br,
.ghc-article th br {
	display: none;
}

.ghc-article th,
.ghc-article td {
	padding: 9px 14px;
	text-align: left;
	border-bottom: 1px solid var(--ghc-line);
}

.ghc-article thead th {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ghc-dim);
}

.ghc-article tbody tr:last-child > * {
	border-bottom: 0;
}

/* Phones: fit the table to the column instead of scrolling it sideways. */
@media (max-width: 600px) {
	.ghc-article table {
		display: table;
		table-layout: fixed;
		font-size: 13.5px;
	}
	.ghc-article th,
	.ghc-article td {
		padding: 7px 6px;
		overflow-wrap: anywhere;
		hyphens: auto;
	}
	.ghc-article thead th {
		font-size: 10.5px;
		letter-spacing: 0.02em;
	}
}

/* Reserved so a late ad fill cannot shift the text below it. */
.ghc-ad {
	min-height: 280px;
	margin: 2em 0;
	text-align: center;
}

/* ------------------------------------------------------------------ footer */

.ghc-foot {
	background: var(--ghc-night);
	color: #D8D1C3;
}

.ghc-foot-in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 32px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 26px 24px 22px;
	font-size: 14px;
}

.ghc-foot-logo,
.ghc-foot-logo:hover {
	color: #F4EEE3;
}

.ghc-foot-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	font-weight: 600;
}

.ghc-foot-nav a,
.ghc-foot-tools a {
	color: #E4DDCF;
	text-decoration: none;
}

.ghc-foot-nav a:hover,
.ghc-foot-tools a:hover {
	color: #F4EEE3;
	text-decoration: underline;
	text-decoration-color: var(--ghc-ochre);
	text-underline-offset: 3px;
}

.ghc-foot-tools {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(233, 226, 212, 0.18);
	font-size: 13px;
}

.ghc-foot-label {
	font: 700 11px/1 var(--ghc-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ghc-ochre);
}

.ghc-foot-c {
	flex-basis: 100%;
	margin: 0;
	font-size: 13px;
	color: #A9A296;
}


/* ------------------------------------------------------------------ print */

@media print {
	html,
	body.ghc-body {
		background: #fff;
	}
	.ghc-mast,
	.ghc-hero,
	.ghc-form,
	.ghc-article,
	.ghc-foot,
	.ghc-ad,
	.ghc-actions,
	.ghc-toast,
	.ghc-cross,
	.ghc-mapwrap,
	.ghc-sk,
	.ghc-month > summary::after,
	.ghc-readout {
		display: none !important;
	}
	.ghc-main {
		padding: 0;
	}
	.ghc-card {
		padding: 0;
		background: #fff;
		border: 0;
		box-shadow: none;
	}
	.ghc-result {
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
	}
	.ghc-print-title {
		display: block;
		margin: 0 0 8px;
		font: 650 18px/1.25 var(--ghc-serif);
	}
	.ghc-cardm,
	.ghc-fig,
	.ghc-week,
	.ghc-month {
		break-inside: avoid;
		box-shadow: none;
	}
	.ghc-vis {
		display: block;
	}
	.ghc-month:not([open]) > .ghc-mo-body {
		display: block;
	}
	.ghc-mo-nav {
		display: none;
	}
	.ghc-month-t th,
	.ghc-month-t td {
		display: table-cell !important;
		padding: 3px 6px;
		font-size: 11px;
	}
	.ghc-chip,
	.ghc-band-g,
	.ghc-band-b,
	.ghc-area,
	.ghc-curve-golden,
	.ghc-curve-blue,
	.ghc-arc-golden,
	.ghc-arc-blue,
	.ghc-barbox svg,
	.ghc-table tr.is-today > * {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
