/*
Theme Name: Governance.co.ke
Theme URI: https://governance.co.ke/
Author: Governance.co.ke
Description: News theme for Governance.co.ke, Kenya's home for governance, policy and public accountability. Headline-led homepage, an accountability desk with all 47 counties, how a bill becomes law and the budget calendar, an election countdown, Most read, Listen, and one-click demo content you can remove later.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: governance
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Tokens and base
   ========================================================================== */
:root {
	--g-ink: #1A1C20;
	--g-ink-2: #24272D;
	--g-ink-3: #2E3238;
	--g-teal: #009494;
	--g-teal-deep: #00716F;
	--g-teal-bright: #19C2B5;
	--g-mist: #E8F1EE;
	--g-mist-2: #DCE8E4;
	--g-mist-line: #C9D6D2;
	--g-paper: #FCFDFD;
	--g-white: #FFFFFF;
	--g-line: #D5DEDB;
	--g-text-2: #3F4549;
	--g-grey: #5A6166;
	--g-on-dark: #A9B1B4;
	--g-line-dark: rgba(255, 255, 255, 0.12);
	--g-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--g-sans: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	--g-max: 1320px;
	--g-gutter: clamp(16px, 3vw, 40px);
	--g-section: clamp(48px, 6vw, 80px);
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 16px;
}

html.g-lock {
	overflow: hidden;
}

body {
	margin: 0;
	background: var(--g-paper);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--g-teal-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--g-teal-bright);
	outline-offset: 2px;
}

button,
input,
select,
textarea {
	font: inherit;
}

[hidden] {
	display: none !important;
}

.no-js .g-js-only {
	display: none !important;
}

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

.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	margin: 0;
	clip: auto;
	clip-path: none;
	background: var(--g-white);
	color: var(--g-ink);
	font-weight: 600;
	border-radius: 8px;
}

.g-wrap {
	width: 100%;
	max-width: var(--g-max);
	margin-inline: auto;
	padding-inline: var(--g-gutter);
}

.g-narrow {
	max-width: 900px;
}

.g-main {
	display: block;
	padding-bottom: clamp(56px, 7vw, 96px);
}

.g-section {
	padding-top: var(--g-section);
}

/* The slash from the G in the logo: the theme's one ornament. */
.g-slash {
	display: inline-block;
	flex: none;
	width: 7px;
	height: 18px;
	background: var(--g-teal);
	transform: skewX(-20deg);
}

.g-slash--l {
	width: 9px;
	height: 26px;
}

.g-slash--xl {
	width: 11px;
	height: 34px;
}

/* Buttons */
.g-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	font-family: var(--g-sans);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.1;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
}

.g-btn--l {
	min-height: 52px;
	padding: 0 28px;
	font-size: 16px;
}

.g-btn--bright {
	background: var(--g-teal-bright);
	color: var(--g-ink);
}

.g-btn--bright:hover {
	background: var(--g-white);
	color: var(--g-ink);
}

.g-btn--deep {
	background: var(--g-teal-deep);
	color: var(--g-white);
}

.g-btn--deep:hover {
	background: var(--g-ink);
	color: var(--g-white);
}

.g-btn--outline {
	border: 1px solid var(--g-ink);
	background: var(--g-white);
	color: var(--g-ink);
}

.g-btn--outline:hover {
	background: var(--g-ink);
	color: var(--g-white);
}

.g-btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: transparent;
	color: var(--g-white);
}

.g-btn--ghost:hover {
	border-color: var(--g-teal-bright);
	color: var(--g-teal-bright);
}

.g-iconbtn {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	color: var(--g-white);
	cursor: pointer;
	list-style: none;
}

.g-iconbtn::-webkit-details-marker {
	display: none;
}

.g-iconbtn:hover {
	border-color: var(--g-teal-bright);
	color: var(--g-teal-bright);
}

.g-roundbtn {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--g-line);
	border-radius: 999px;
	background: var(--g-white);
	color: var(--g-ink);
	cursor: pointer;
}

.g-roundbtn:hover {
	border-color: var(--g-ink);
	color: var(--g-ink);
}

/* Search form */
.g-searchform {
	display: flex;
	gap: 8px;
	width: 100%;
}

.g-searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 20px;
	border: 1px solid var(--g-ink);
	border-radius: 999px;
	background: var(--g-white);
	color: var(--g-ink);
	font-size: 16px;
}

.g-searchform input::placeholder {
	color: var(--g-grey);
	opacity: 1;
}

.g-searchform .g-btn {
	min-height: 48px;
}

/* ==========================================================================
   2. Header, countdown and menu panel
   ========================================================================== */
.g-header {
	position: relative;
	z-index: 20;
	background: var(--g-ink);
	color: var(--g-white);
}

.g-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 16px;
}

.g-header__brand {
	margin: 0;
	min-width: 0;
	font-size: 1em;
	line-height: 1;
}

.g-logo {
	display: inline-block;
	color: var(--g-white);
}

.g-logo img {
	display: block;
	width: auto;
	height: clamp(26px, 2.6vw, 36px);
}

.g-logo .custom-logo {
	width: auto;
	max-height: 48px;
}

.g-header__tools {
	display: flex;
	align-items: center;
	gap: 10px;
}

.g-header__date {
	margin-right: 10px;
	color: var(--g-on-dark);
	font-size: 14.5px;
	white-space: nowrap;
}

.g-search {
	position: relative;
}

.g-search[open] > summary {
	border-color: var(--g-teal-bright);
	color: var(--g-teal-bright);
}

.g-search__panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 40;
	width: min(440px, calc(100vw - 32px));
	padding: 16px;
	border-radius: 10px;
	background: var(--g-white);
	color: var(--g-ink);
	box-shadow: 0 14px 34px rgba(10, 12, 14, 0.28);
}

.g-nav {
	border-top: 1px solid var(--g-line-dark);
}

.g-nav__list {
	display: flex;
	gap: clamp(20px, 2.7vw, 38px);
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}

.g-nav__list::-webkit-scrollbar {
	display: none;
}

.g-nav__list a {
	display: block;
	padding: 15px 0;
	color: var(--g-white);
	font-size: 16px;
	font-weight: 500;
}

.g-nav__list a:hover {
	color: var(--g-teal-bright);
}

.g-nav__list .current-menu-item > a,
.g-nav__list .current-menu-parent > a,
.g-nav__list .current-post-ancestor > a,
.g-nav__list a[aria-current] {
	color: var(--g-teal-bright);
	box-shadow: inset 0 -3px 0 var(--g-teal-bright);
}

.g-strip {
	border-bottom: 1px solid var(--g-line);
	background: var(--g-white);
}

.g-strip__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
	padding-block: 12px;
}

.g-countdown {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--g-text-2);
	font-size: 15px;
	line-height: 1.35;
}

.g-countdown strong {
	color: var(--g-ink);
	font-weight: 700;
}

.g-topics {
	flex: 1 1 320px;
	min-width: 0;
}

.g-topics__list {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0 32px 0 0;
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
	mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
}

.g-topics__list::-webkit-scrollbar {
	display: none;
}

.g-topics__list a {
	display: block;
	padding: 6px 14px;
	border: 1px solid var(--g-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
}

.g-topics__list a:hover {
	border-color: var(--g-teal-deep);
}

.g-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	background: rgba(10, 12, 14, 0.55);
}

.g-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: min(420px, 100%);
	padding: 18px 24px 32px;
	overflow-y: auto;
	background: var(--g-ink);
	color: var(--g-white);
}

.g-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.g-drawer__name {
	font-weight: 700;
	font-size: 18px;
}

.g-drawer .g-searchform input[type="search"] {
	border-color: rgba(255, 255, 255, 0.24);
	background: var(--g-ink-2);
	color: var(--g-white);
}

.g-drawer .g-searchform input::placeholder {
	color: var(--g-on-dark);
}

.g-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--g-line-dark);
}

.g-drawer__list a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid var(--g-line-dark);
	font-size: 20px;
	font-weight: 600;
}

.g-drawer__list a:hover,
.g-drawer__list .current-menu-item > a {
	color: var(--g-teal-bright);
}

.g-drawer__nl {
	align-self: flex-start;
}

.g-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-socials a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	color: var(--g-white);
}

.g-socials a:hover {
	border-color: var(--g-teal-bright);
	color: var(--g-teal-bright);
}

/* ==========================================================================
   3. Story pieces: pictures, labels, meta, cards, section heads
   ========================================================================== */
.g-media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 6px;
	background: var(--g-mist-2);
}

.g-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.g-media--16x10 {
	aspect-ratio: 16 / 10;
}

.g-media--16x9 {
	aspect-ratio: 16 / 9;
}

.g-media--4x3 {
	aspect-ratio: 4 / 3;
}

.g-media--2x1 {
	aspect-ratio: 2 / 1;
}

.g-media--empty {
	background-color: var(--g-mist-2);
	background-image: repeating-linear-gradient(115deg, rgba(0, 148, 148, 0.12) 0 2px, transparent 2px 15px);
}

.g-media__tag {
	position: absolute;
	bottom: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	max-width: calc(100% - 20px);
	padding: 5px 10px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--g-teal-deep);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
}

.g-media__tag .g-slash {
	width: 5px;
	height: 13px;
}

/* Cards that print the section label already don't repeat it on the placeholder. */
.g-card--top .g-media__tag,
.g-card--grid .g-media__tag {
	display: none;
}

a.g-media:hover img {
	opacity: 0.92;
}

.g-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	color: var(--g-teal-deep);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
}

.g-label--slash {
	font-size: 15px;
}

.g-chip {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--g-mist);
	color: var(--g-teal-deep);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.g-chip--sponsored {
	background: #F3EEDF;
	color: #6B5310;
}

.g-card .g-chip {
	align-self: flex-start;
	font-size: 12.5px;
	padding: 2px 10px;
}

.g-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin: 0;
	color: var(--g-grey);
	font-size: 13.5px;
	line-height: 1.4;
}

.g-meta__read {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.g-avatar {
	display: grid;
	flex: none;
	place-items: center;
	border-radius: 50%;
	background: var(--g-mist);
	color: var(--g-teal-deep);
	font-weight: 600;
	line-height: 1;
}

.g-avatar--s {
	width: 38px;
	height: 38px;
	font-size: 14px;
}

.g-avatar--m {
	width: 44px;
	height: 44px;
	font-size: 15px;
}

.g-avatar--l {
	width: 56px;
	height: 56px;
	font-size: 18px;
}

.g-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.g-card__title {
	margin: 0;
	font-family: var(--g-serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.18;
	text-wrap: pretty;
}

.g-card__title a:hover,
.g-lead__title a:hover,
.g-rows__title a:hover,
.g-mostread__link:hover {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--g-teal);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.g-card__dek {
	margin: 0;
	color: var(--g-text-2);
	font-size: 15.5px;
	line-height: 1.5;
}

.g-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.g-card--grid .g-card__title {
	font-size: 20px;
	line-height: 1.2;
}

.g-card--list {
	gap: 8px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--g-line);
}

.g-card--list .g-card__title {
	font-size: 23px;
}

.g-card--feature,
.g-card--analysis {
	gap: 14px;
}

.g-card--feature .g-media,
.g-card--analysis .g-media {
	border-radius: 8px;
}

.g-card--feature .g-card__title,
.g-card--analysis .g-card__title {
	margin-top: 4px;
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.g-card--feature .g-card__dek,
.g-card--analysis .g-card__dek {
	max-width: 40em;
	font-size: 17px;
}

.g-card--side {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 18px 24px;
	align-items: start;
}

.g-card--side .g-card__title {
	font-size: 25px;
	line-height: 1.14;
}

.g-card--grid4 .g-card__title {
	margin-top: 2px;
}

.g-card--grid4 .g-card__dek {
	font-size: 15px;
}

.g-card--opinion {
	gap: 16px;
	padding-top: 20px;
	border-top: 3px solid var(--g-ink);
}

.g-card--opinion .g-card__title {
	font-size: 24px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
}

.g-columnist {
	display: flex;
	align-items: center;
	gap: 12px;
}

.g-columnist__text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.g-columnist__name {
	font-size: 15.5px;
	font-weight: 600;
}

.g-columnist__role {
	color: var(--g-grey);
	font-size: 14px;
}

.g-card--thumb {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 200px;
	gap: 24px;
	align-items: start;
	padding: 22px 0;
	border-bottom: 1px solid var(--g-line);
}

.g-card--thumb .g-card__title {
	font-size: 23px;
}

.g-card--thumb .g-card__body {
	gap: 8px;
}

.g-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--g-line);
}

.g-head__title {
	margin: 0;
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.g-head__sub {
	color: var(--g-text-2);
	font-size: 15px;
}

.g-more {
	margin-left: auto;
	color: var(--g-teal-deep);
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

.g-rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--g-line);
}

.g-rows li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--g-line);
}

.g-rows__title {
	margin: 0;
	font-family: var(--g-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
}

.g-rows__mins {
	flex: none;
	color: var(--g-grey);
	font-size: 13.5px;
}

/* ==========================================================================
   4. Homepage
   ========================================================================== */
.g-top {
	padding-top: clamp(28px, 4vw, 52px);
}

.g-lead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(24px, 3.5vw, 52px);
}

.g-lead__text {
	display: flex;
	flex: 1 1 440px;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}

.g-lead__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.g-lead__title {
	margin: 0;
	font-family: var(--g-serif);
	font-size: clamp(36px, 4.3vw, 62px);
	font-weight: 600;
	line-height: 1.03;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.g-lead__dek {
	max-width: 34em;
	margin: 0;
	color: var(--g-text-2);
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.5;
	text-wrap: pretty;
}

.g-lead__by {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	color: var(--g-grey);
	font-size: 14.5px;
	line-height: 1.35;
}

.g-lead__name {
	color: var(--g-ink);
	font-weight: 600;
}

.g-lead__by .g-meta__read {
	margin-left: 6px;
}

.g-lead__media {
	flex: 1.3 1 520px;
	min-width: 0;
}

.g-lead__media .g-media {
	border-radius: 8px;
}

.g-toprow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 28px;
	margin-top: clamp(28px, 3.5vw, 44px);
	padding-top: 24px;
	border-top: 2px solid var(--g-ink);
}

/* The accountability desk */
.g-desk {
	margin-top: var(--g-section);
	background: var(--g-ink);
	color: var(--g-white);
}

.g-desk a:hover {
	color: var(--g-teal-bright);
}

.g-desk__inner {
	display: flex;
	flex-direction: column;
	gap: 36px;
	padding-block: clamp(44px, 5.5vw, 76px);
}

.g-desk__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
}

.g-desk__intro {
	display: flex;
	flex: 1 1 460px;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	max-width: 680px;
}

.g-desk__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.g-desk__title .g-slash {
	background: var(--g-teal-bright);
}

.g-desk__intro p {
	margin: 0;
	color: var(--g-on-dark);
	font-size: 18px;
	text-wrap: pretty;
}

.g-finder {
	display: flex;
	flex: 0 1 400px;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.g-finder label {
	color: var(--g-on-dark);
	font-size: 14.5px;
	font-weight: 600;
}

.g-finder__row {
	display: flex;
	gap: 8px;
}

.g-finder input {
	flex: 1 1 auto;
	min-width: 0;
	height: 48px;
	padding: 0 20px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: var(--g-ink-2);
	color: var(--g-white);
	font-size: 16px;
}

.g-finder input::placeholder {
	color: var(--g-on-dark);
	opacity: 1;
}

.g-finder .g-btn {
	min-height: 48px;
	padding: 0 24px;
	font-size: 16px;
}

.g-finder__msg {
	min-height: 1.4em;
	margin: 0;
	color: #FFCBA4;
	font-size: 14.5px;
}

.g-desk__counties {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.g-desk__label {
	margin: 0;
	color: var(--g-on-dark);
	font-size: 15px;
	font-weight: 600;
}

.g-counties {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(164px, 100%), 1fr));
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-counties li {
	min-width: 0;
}

.g-county {
	display: flex;
	align-items: baseline;
	height: 100%;
	gap: 9px;
	padding: 11px 12px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--g-ink-2);
	color: var(--g-white);
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.g-county:hover {
	background: var(--g-ink-3);
	color: var(--g-teal-bright);
}

.g-county__code {
	flex: none;
	color: var(--g-teal-bright);
	font-size: 12px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.g-county__name {
	min-width: 0;
	line-height: 1.3;
	overflow-wrap: break-word;
}

.g-counties__more {
	display: none;
	align-self: flex-start;
}

.g-counties--light {
	margin-top: 24px;
}

.g-counties--light .g-county {
	border: 1px solid var(--g-line);
	background: var(--g-white);
	color: var(--g-ink);
}

.g-counties--light .g-county__code {
	color: var(--g-teal-deep);
}

.g-counties--light .g-county:hover,
.g-counties--light .g-county.is-current {
	border-color: var(--g-ink);
	background: var(--g-ink);
	color: var(--g-white);
}

.g-counties--light .g-county:hover .g-county__code,
.g-counties--light .g-county.is-current .g-county__code {
	color: var(--g-teal-bright);
}

.g-tools {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
	gap: 24px;
}

.g-tool {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
	padding: clamp(20px, 2.4vw, 30px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
}

.g-tool__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
}

.g-tool__title {
	margin: 0;
	font-family: var(--g-serif);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
}

.g-tool__link {
	color: var(--g-teal-bright);
	font-size: 15px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.g-tool__note {
	margin: 0;
	color: var(--g-on-dark);
	font-size: 14.5px;
}

.g-steps,
.g-cal {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-steps li {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 9px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.g-steps__n {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1.5px solid var(--g-teal-bright);
	border-radius: 50%;
	color: var(--g-teal-bright);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1;
}

.g-steps__name,
.g-cal__what {
	display: block;
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.3;
}

.g-steps__note,
.g-cal__source {
	display: block;
	color: var(--g-on-dark);
	font-size: 14.5px;
	line-height: 1.4;
}

.g-cal li {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 14px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.g-cal__date {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.g-cal__day {
	color: var(--g-teal-bright);
	font-family: var(--g-serif);
	font-size: 34px;
	font-weight: 600;
}

.g-cal__month {
	margin-top: 4px;
	white-space: nowrap;
	color: var(--g-on-dark);
	font-size: 13.5px;
	font-weight: 600;
}

.g-cal li.is-past .g-cal__day,
.g-cal li.is-past .g-cal__what {
	color: var(--g-on-dark);
}

.g-cal__done {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	color: var(--g-on-dark);
	font-size: 12.5px;
	font-weight: 600;
	vertical-align: 2px;
}

/* Latest and Most read */
.g-latest {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

.g-latest__main {
	display: flex;
	flex: 2.2 1 600px;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.g-latest__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
	gap: 36px 28px;
}

.g-latest__side {
	flex: 1 1 300px;
	min-width: 0;
}

.g-mostread {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: clamp(22px, 2.4vw, 30px);
	border-radius: 10px;
	background: var(--g-mist);
}

.g-mostread__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
}

.g-mostread__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-mostread__list li {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 12px;
	padding: 16px 0;
	border-top: 1px solid var(--g-mist-line);
}

.g-mostread__n {
	color: var(--g-teal-deep);
	font-family: var(--g-serif);
	font-size: 36px;
	font-weight: 600;
	line-height: 0.9;
}

.g-mostread__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.g-mostread__cat {
	color: var(--g-teal-deep);
	font-size: 13.5px;
	font-weight: 600;
}

.g-mostread__link {
	font-family: var(--g-serif);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.22;
}

.g-mostread--plain {
	padding: 0;
	border-radius: 0;
	background: none;
}

.g-mostread--plain .g-mostread__title {
	font-size: 22px;
}

.g-mostread--plain .g-mostread__list li {
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	padding: 14px 0;
	border-color: var(--g-line);
}

.g-mostread--plain .g-mostread__n {
	font-size: 30px;
}

.g-mostread--plain .g-mostread__link {
	font-size: 18px;
}

.g-adslot {
	display: flex;
	justify-content: center;
	padding-top: var(--g-section);
}

.g-widget {
	max-width: 100%;
}

.g-widget__title {
	margin: 0 0 8px;
	color: var(--g-grey);
	font-size: 13px;
	font-weight: 600;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
	display: none !important;
}

/* Section layouts */
.g-feature-row {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 48px;
	margin-top: 28px;
}

.g-feature-row > .g-card--feature {
	flex: 1.45 1 520px;
}

.g-feature-row__list {
	display: flex;
	flex: 1 1 340px;
	flex-direction: column;
	min-width: 0;
}

.g-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr));
	gap: 56px;
}

.g-colsec {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.g-grid4,
.g-related__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 36px 28px;
	margin-top: 28px;
}

.g-related__grid {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.g-band {
	margin-top: var(--g-section);
	background: var(--g-mist);
}

.g-band__inner {
	padding-block: clamp(44px, 5.5vw, 72px);
}

.g-band .g-head {
	border-color: var(--g-mist-line);
}

.g-band .g-media--empty {
	background-color: #D2E1DC;
}

.g-band .g-meta {
	color: var(--g-text-2);
}

.g-grid2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
	gap: 40px 48px;
	margin-top: 28px;
}

.g-rows--2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
	gap: 0 48px;
	margin-top: 36px;
	border-top: 0;
}

.g-rows--2 li {
	border-top: 1px solid var(--g-mist-line);
	border-bottom: 0;
}

.g-band .g-rows__mins {
	color: var(--g-text-2);
}

.g-opinion {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
	gap: 32px 28px;
	margin-top: 28px;
}

.g-empty {
	padding-block: 80px 40px;
}

.g-empty h2 {
	margin: 0 0 8px;
	font-family: var(--g-serif);
	font-size: 40px;
}

/* ==========================================================================
   5. Newsletter and footer
   ========================================================================== */
.g-newsletter {
	background: var(--g-mist);
}

.g-newsletter__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 64px;
	padding-block: clamp(40px, 5vw, 64px);
}

.g-newsletter__text {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.g-newsletter__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-family: var(--g-serif);
	font-size: clamp(34px, 3.4vw, 46px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.g-newsletter__text p {
	max-width: 30em;
	margin: 0;
	color: var(--g-text-2);
	font-size: 18px;
}

.g-newsletter__form {
	display: flex;
	flex: 1 1 420px;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.g-newsletter__note {
	margin: 0;
	color: var(--g-text-2);
	font-size: 14px;
}

.g-newsletter--card {
	border-radius: 10px;
}

.g-newsletter--card .g-newsletter__inner {
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	padding: 24px 26px;
}

.g-newsletter--card .g-newsletter__text,
.g-newsletter--card .g-newsletter__form {
	flex: none;
}

.g-newsletter--card .g-newsletter__title {
	font-size: 28px;
}

.g-newsletter--card .g-newsletter__text p {
	font-size: 16px;
}

/* A newsletter plugin's own form, made to match. */
.g-subscribe form {
	margin: 0;
}

.g-subscribe p {
	margin: 0 0 10px;
}

.g-subscribe p:last-child {
	margin-bottom: 0;
}

.g-subscribe label {
	display: block;
	margin-bottom: 6px;
	font-size: 14.5px;
	font-weight: 600;
}

.g-subscribe input[type="text"],
.g-subscribe input[type="email"],
.g-subscribe input[type="tel"],
.g-subscribe select {
	width: 100%;
	min-height: 52px;
	padding: 0 22px;
	border: 1px solid var(--g-ink);
	border-radius: 999px;
	background: var(--g-white);
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-size: 16px;
}

.g-subscribe input::placeholder {
	color: var(--g-grey);
	opacity: 1;
}

.g-subscribe input[type="checkbox"],
.g-subscribe input[type="radio"] {
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	accent-color: var(--g-teal-deep);
	vertical-align: -3px;
}

.g-subscribe input[type="submit"],
.g-subscribe button {
	width: 100%;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--g-teal-deep);
	color: var(--g-white);
	font-family: var(--g-sans);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.g-subscribe input[type="submit"]:hover,
.g-subscribe button:hover {
	background: var(--g-ink);
}

.g-subscribe .mc4wp-response:empty {
	display: none;
}

.g-subscribe .mc4wp-alert,
.g-subscribe .mailpoet_message {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 600;
}

.g-footer {
	background: var(--g-ink);
	color: var(--g-white);
}

.g-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 44px;
	padding-block: clamp(44px, 5vw, 64px) 28px;
}

.g-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 36px 40px;
}

.g-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.g-footer .g-logo img {
	height: 30px;
}

.g-footer__brand p {
	max-width: 22em;
	margin: 0;
	color: var(--g-on-dark);
	font-size: 15.5px;
}

.g-footer__heading {
	margin: 0 0 14px;
	color: var(--g-on-dark);
	font-size: 14.5px;
	font-weight: 600;
}

.g-footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-footer__list a {
	font-size: 16px;
}

.g-footer a:hover {
	color: var(--g-teal-bright);
}

.g-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 22px;
	border-top: 1px solid var(--g-line-dark);
	color: var(--g-on-dark);
	font-size: 14px;
}

/* ==========================================================================
   6. Article
   ========================================================================== */
.g-article__top {
	padding-top: clamp(32px, 4.5vw, 60px);
}

.g-article__head {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 980px;
}

.g-article__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.g-article__title {
	margin: 0;
	font-family: var(--g-serif);
	font-size: clamp(36px, 4.6vw, 66px);
	font-weight: 600;
	line-height: 1.03;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.g-article__title--opinion {
	font-style: italic;
	font-weight: 500;
}

.g-article__dek {
	max-width: 40em;
	margin: 0;
	color: var(--g-text-2);
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.5;
	text-wrap: pretty;
}

.g-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 18px 0;
	border-top: 1px solid var(--g-line);
	border-bottom: 1px solid var(--g-line);
}

.g-byline__who {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--g-grey);
	font-size: 14.5px;
	line-height: 1.45;
}

.g-byline__name {
	color: var(--g-ink);
	font-weight: 600;
}

.g-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.g-actions__status {
	color: var(--g-teal-deep);
	font-size: 14px;
	font-weight: 600;
}

.g-player {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px 8px 8px;
	border-radius: 999px;
	background: var(--g-ink);
	color: var(--g-white);
}

.g-player button {
	display: grid;
	place-items: center;
	flex: none;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--g-white);
	font-weight: 600;
	cursor: pointer;
}

.g-player__toggle {
	background: var(--g-teal-bright) !important;
	color: var(--g-ink) !important;
}

.g-player .g-player__play,
.g-player.is-paused .g-player__pause {
	display: none;
}

.g-player.is-paused .g-player__play {
	display: inline;
}

.g-player__bar {
	position: relative;
	flex: 1 1 auto;
	height: 4px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.2);
}

.g-player__bar span {
	position: absolute;
	inset: 0;
	background: var(--g-teal-bright);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s linear;
}

.g-player__left {
	flex: none;
	color: var(--g-on-dark);
	font-size: 14px;
	white-space: nowrap;
}

.g-player.is-error .g-player__bar {
	display: none;
}

.g-article__figure {
	margin: clamp(24px, 3vw, 36px) 0 0;
}

.g-article__figure img {
	display: block;
	width: 100%;
	max-height: 720px;
	border-radius: 8px;
	object-fit: cover;
}

.g-article__figure figcaption {
	margin-top: 10px;
	color: var(--g-grey);
	font-size: 14px;
}

.g-article__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px clamp(40px, 6vw, 96px);
	padding-top: clamp(32px, 4vw, 52px);
}

.g-article__main {
	flex: 1 1 560px;
	min-width: 0;
	max-width: 700px;
}

.g-aside {
	display: grid;
	flex: 1 1 300px;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 28px;
	align-content: start;
	min-width: 0;
}

.g-aside__ads {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
}

.g-facts {
	padding: 24px 26px;
	border-radius: 10px;
	background: var(--g-ink);
	color: var(--g-white);
}

.g-facts__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
}

.g-facts__title .g-slash {
	background: var(--g-teal-bright);
}

.g-facts__list {
	margin: 0;
}

.g-facts__list div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-top: 1px solid var(--g-line-dark);
}

.g-facts__list dt {
	color: var(--g-on-dark);
	font-size: 15px;
}

.g-facts__list dd {
	margin: 0;
	color: var(--g-teal-bright);
	font-family: var(--g-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	text-align: right;
}

/* The text */
.g-prose {
	color: #22252A;
	font-family: var(--g-serif);
	font-size: 21px;
	line-height: 1.65;
}

.g-prose > * {
	margin-top: 0;
	margin-bottom: 26px;
}

.g-prose h2,
.g-prose h3,
.g-prose h4 {
	color: var(--g-ink);
	font-family: var(--g-sans);
	font-weight: 700;
	line-height: 1.2;
}

.g-prose h2 {
	margin: 44px 0 14px;
	font-size: 27px;
}

.g-prose h3 {
	margin: 36px 0 12px;
	font-size: 22px;
}

.g-prose h4 {
	margin: 28px 0 10px;
	font-size: 19px;
}

.g-prose a {
	color: var(--g-teal-deep);
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.g-prose a:hover {
	color: var(--g-ink);
}

.g-prose ul,
.g-prose ol {
	padding-left: 1.3em;
}

.g-prose li {
	margin-bottom: 8px;
}

.g-prose img {
	border-radius: 6px;
}

.g-prose figure {
	margin-inline: 0;
}

.g-prose figcaption,
.g-prose .wp-element-caption {
	margin-top: 8px;
	color: var(--g-grey);
	font-family: var(--g-sans);
	font-size: 14px;
	line-height: 1.45;
}

.g-prose .alignwide,
.g-prose .alignfull {
	max-width: 100%;
	margin-inline: 0;
}

.g-prose .alignleft {
	float: left;
	margin: 6px 24px 16px 0;
	max-width: 50%;
}

.g-prose .alignright {
	float: right;
	margin: 6px 0 16px 24px;
	max-width: 50%;
}

.g-prose blockquote,
.g-prose .wp-block-quote {
	margin: 36px 0;
	padding: 0 0 0 24px;
	border-left: 3px solid var(--g-teal);
	font-size: 24px;
	font-style: italic;
	line-height: 1.4;
}

.g-prose blockquote p {
	margin: 0 0 12px;
}

.g-prose blockquote cite,
.g-prose .wp-block-quote cite {
	display: block;
	color: var(--g-grey);
	font-family: var(--g-sans);
	font-size: 14.5px;
	font-style: normal;
}

.g-prose .wp-block-quote.is-style-constitution {
	padding: 26px 28px;
	border: 0;
	border-radius: 10px;
	background: var(--g-ink);
	color: var(--g-white);
	font-size: 26px;
	font-style: normal;
	line-height: 1.35;
}

.g-prose .wp-block-quote.is-style-constitution::before {
	content: "The Constitution says";
	display: block;
	margin-bottom: 12px;
	padding-left: 18px;
	background: linear-gradient(var(--g-teal-bright), var(--g-teal-bright)) left center / 6px 16px no-repeat;
	color: var(--g-teal-bright);
	font-family: var(--g-sans);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
}

.g-prose .wp-block-quote.is-style-constitution cite {
	margin-top: 12px;
	color: var(--g-on-dark);
}

.g-prose .wp-block-pullquote {
	margin: 40px 0;
	padding: 24px 0;
	border-top: 3px solid var(--g-ink);
	border-bottom: 1px solid var(--g-line);
	text-align: left;
}

.g-prose .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 28px;
}

.g-prose .wp-block-group.is-style-panel {
	padding: 24px 26px;
	border-radius: 10px;
	background: var(--g-mist);
	font-family: var(--g-sans);
	font-size: 17px;
	line-height: 1.55;
}

.g-prose .wp-block-group.is-style-panel > :first-child {
	margin-top: 0;
}

.g-prose .wp-block-group.is-style-panel > :last-child {
	margin-bottom: 0;
}

.g-prose .wp-block-group.is-style-panel h2,
.g-prose .wp-block-group.is-style-panel h3 {
	margin-bottom: 12px;
	font-size: 19px;
}

.g-prose ul.is-style-checks {
	padding-left: 0;
	list-style: none;
}

.g-prose ul.is-style-checks li {
	position: relative;
	padding-left: 32px;
}

.g-prose ul.is-style-checks li::before {
	content: "";
	position: absolute;
	top: 0.3em;
	left: 0;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300716F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.g-prose .wp-block-table {
	overflow-x: auto;
}

.g-prose table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--g-sans);
	font-size: 16px;
	line-height: 1.45;
}

.g-prose th,
.g-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--g-line);
	text-align: left;
	vertical-align: top;
}

.g-prose th {
	border-bottom: 2px solid var(--g-ink);
}

.g-prose hr {
	margin: 40px 0;
	border: 0;
	border-top: 1px solid var(--g-line);
}

.g-prose .wp-block-embed iframe {
	width: 100%;
}

.g-prose::after {
	content: "";
	display: table;
	clear: both;
}

.g-prose .g-demo-note {
	margin-top: 36px;
	padding-top: 16px;
	border-top: 1px solid var(--g-line);
	color: var(--g-grey);
	font-family: var(--g-sans);
	font-size: 15px;
	line-height: 1.5;
}

.g-after {
	margin-top: 32px;
}

.g-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.g-tags a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid var(--g-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
}

.g-tags a:hover {
	border-color: var(--g-teal-deep);
}

.g-tags__county {
	color: var(--g-teal-deep);
}

.g-authorbox {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin-top: 32px;
	padding: 24px 0;
	border-top: 2px solid var(--g-ink);
	font-size: 16px;
}

.g-authorbox__text p {
	margin: 0 0 6px;
	color: var(--g-text-2);
}

.g-authorbox__text .g-authorbox__name {
	color: var(--g-ink);
	font-size: 17px;
	font-weight: 700;
}

.g-authorbox a {
	color: var(--g-teal-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.g-pagelinks {
	margin: 24px 0;
	font-family: var(--g-sans);
	font-size: 16px;
}

/* ==========================================================================
   7. Lists of stories, pages, search, comments
   ========================================================================== */
.g-archive__head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 860px;
	padding-top: clamp(32px, 4.5vw, 56px);
}

.g-archive__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--g-teal-deep);
	font-size: 15px;
	font-weight: 600;
}

.g-archive__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.015em;
}

.g-archive__desc {
	color: var(--g-text-2);
	font-size: 18px;
}

.g-archive__desc p {
	margin: 0 0 10px;
}

.g-archive__lead {
	margin-top: 32px;
	padding-bottom: 36px;
	border-bottom: 2px solid var(--g-ink);
}

.g-archive__lead .g-lead__title {
	font-size: clamp(32px, 3.6vw, 52px);
}

.g-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 40px 28px;
	margin-top: 36px;
}

.g-none {
	padding: 40px 0;
	color: var(--g-text-2);
	font-size: 18px;
}

.navigation.pagination {
	margin-top: 48px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--g-line);
	border-radius: 999px;
	font-weight: 600;
}

.page-numbers.current {
	border-color: var(--g-ink);
	background: var(--g-ink);
	color: var(--g-white);
}

.page-numbers.dots {
	border: 0;
}

.g-results {
	margin-top: 24px;
	border-top: 1px solid var(--g-line);
}

.g-page {
	max-width: 820px;
}

.g-page__body {
	margin-top: 32px;
}

.g-comments {
	max-width: 700px;
	font-size: 16px;
}

.g-comments__title {
	margin: 0 0 20px;
	font-size: 26px;
}

.g-comments__list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.g-comments__list .children {
	padding-left: 24px;
	list-style: none;
}

.g-comments__list .comment-body {
	padding: 18px 0;
	border-top: 1px solid var(--g-line);
}

.g-comments__list .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.comment-respond label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--g-ink);
	border-radius: 8px;
	background: var(--g-white);
	font-size: 16px;
}

/* ==========================================================================
   8. Smaller screens
   ========================================================================== */
@media (max-width: 720px) {
	.g-header__date,
	.g-header__nl {
		display: none;
	}

	.g-head__sub {
		display: none;
	}

	.g-card--thumb {
		grid-template-columns: minmax(0, 1fr) 104px;
		gap: 14px;
	}

	.g-card--thumb .g-card__title {
		font-size: 19px;
	}

	.g-card--thumb .g-card__dek {
		display: none;
	}

	.g-prose {
		font-size: 19px;
	}

	.g-prose .alignleft,
	.g-prose .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 26px;
	}

	/* On phones, eight counties then a button for the rest. */
	.js .g-desk .g-counties:not(.is-open) li:nth-child(n+9) {
		display: none;
	}

	.js .g-counties__more {
		display: inline-flex;
	}

	.g-counties {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.g-header__bar {
		position: relative;
	}

	.g-search {
		position: static;
	}

	.g-search__panel {
		right: var(--g-gutter);
		left: var(--g-gutter);
		width: auto;
	}

	.g-toprow,
	.g-latest__grid,
	.g-grid4,
	.g-archive__grid {
		gap: 0;
	}

	.g-toprow > .g-card,
	.g-latest__grid > .g-card,
	.g-grid4 > .g-card:not(:first-child),
	.g-archive__grid > .g-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 104px;
		align-content: start;
		gap: 6px 16px;
		padding: 18px 0;
		border-bottom: 1px solid var(--g-line);
	}

	.g-toprow > .g-card:first-child,
	.g-latest__grid > .g-card:first-child,
	.g-archive__grid > .g-card:first-child {
		padding-top: 0;
	}

	.g-grid4 > .g-card:first-child {
		padding-bottom: 22px;
		border-bottom: 1px solid var(--g-line);
	}

	.g-toprow > .g-card > *,
	.g-latest__grid > .g-card > *,
	.g-grid4 > .g-card:not(:first-child) > *,
	.g-archive__grid > .g-card > * {
		grid-column: 1;
	}

	.g-toprow > .g-card > .g-media,
	.g-latest__grid > .g-card > .g-media,
	.g-grid4 > .g-card:not(:first-child) > .g-media,
	.g-archive__grid > .g-card > .g-media {
		grid-column: 2;
		grid-row: 1 / span 4;
		align-self: start;
		aspect-ratio: 4 / 3;
	}

	.g-toprow .g-card .g-media__tag,
	.g-latest__grid .g-card .g-media__tag,
	.g-grid4 > .g-card:not(:first-child) .g-media__tag,
	.g-archive__grid .g-card .g-media__tag {
		display: none;
	}

	.g-toprow .g-card__title,
	.g-latest__grid .g-card__title,
	.g-grid4 > .g-card:not(:first-child) .g-card__title,
	.g-archive__grid .g-card__title {
		font-size: 19px;
	}

	.g-grid4 > .g-card:not(:first-child) .g-card__dek,
	.g-archive__grid .g-card__dek {
		display: none;
	}
}

@media (max-width: 480px) {
	.g-header__bar {
		padding-block: 12px;
	}

	.g-logo img {
		height: 24px;
	}

	.g-header__tools {
		gap: 6px;
	}

	.g-countdown {
		font-size: 14.5px;
	}

	.g-rows li {
		flex-direction: column;
		gap: 4px;
	}

	.g-cal li {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.g-player__bar span {
		transition: none;
	}
}

@media print {
	.g-header,
	.g-strip,
	.g-drawer,
	.g-aside,
	.g-actions,
	.g-player,
	.g-related,
	.g-newsletter,
	.g-footer,
	.g-comments-wrap {
		display: none !important;
	}

	.g-prose {
		font-size: 12pt;
	}
}
