/*
Theme Name: GP Editorial
Theme URI: https://www.giannipuglisi.it/
Author: Gianni Puglisi
Author URI: https://www.giannipuglisi.it/
Description: Tema editoriale WordPress veloce, accessibile e pronto all'attivazione per blog e testate online.
Version: 0.2.1
Requires at least: 6.6
Tested up to: 7.0
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: gp-editorial
Tags: news, blog, grid-layout, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
	--gpe-red: #b40012;
	--gpe-red-dark: #83000d;
	--gpe-ink: #151515;
	--gpe-muted: #626262;
	--gpe-rule: #d8d8d8;
	--gpe-soft: #f4f3f1;
	--gpe-paper: #fff;
	--gpe-serif: Georgia, "Times New Roman", Times, serif;
	--gpe-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--gpe-container: 80rem;
	--gpe-single-reading: 45rem;
	--gpe-page-reading: 45rem;
	--gpe-logo-height: 96px;
	--gpe-logo-width: 520px;
	--gpe-logo-height-mobile: 56px;
	--gpe-logo-width-mobile: 280px;
	--gpe-radius: 0.125rem;
	--gpe-shadow: 0 0.75rem 2.5rem rgb(0 0 0 / 8%);
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--gpe-paper);
	color: var(--gpe-ink);
	font-family: var(--gpe-sans);
	font-size: 1rem;
	line-height: 1.55;
	margin: 0;
	text-rendering: optimizeLegibility;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img:not(.custom-logo) {
	height: auto;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--gpe-red);
}

button,
input {
	font: inherit;
}

button {
	color: inherit;
}

:focus-visible {
	outline: 0.1875rem solid #1769e0;
	outline-offset: 0.1875rem;
}

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

.screen-reader-text:focus {
	background: var(--gpe-paper);
	clip: auto !important;
	clip-path: none;
	color: var(--gpe-ink);
	display: block;
	font-weight: 700;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.gpe-container {
	margin-inline: auto;
	max-width: var(--gpe-container);
	padding-inline: clamp(1rem, 3vw, 2rem);
	width: 100%;
}

.site-content {
	min-height: 60vh;
}

/* Header */
.site-header {
	background: var(--gpe-paper);
	border-bottom: 1px solid var(--gpe-rule);
}

.utility-bar {
	background: var(--gpe-ink);
	color: #fff;
	font-size: 0.75rem;
}

.utility-bar__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	min-height: 2.25rem;
}

.utility-navigation ul,
.primary-navigation ul,
.footer-navigation ul {
	align-items: center;
	display: flex;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.utility-navigation a,
.primary-navigation a,
.footer-navigation a {
	text-decoration: none;
}

.utility-navigation a:hover {
	color: #fff;
	text-decoration: underline;
}

.masthead {
	align-items: center;
	display: grid;
	grid-template-columns: 3rem 1fr 3rem;
	min-height: clamp(5.5rem, 10vw, 8rem);
}

.site-branding {
	justify-self: center;
	min-width: 0;
	text-align: center;
}

.site-title {
	font-family: var(--gpe-serif);
	font-size: clamp(2.1rem, 5.6vw, 4.6rem);
	font-weight: 700;
	letter-spacing: 0.055em;
	line-height: 0.95;
	margin: 0;
	text-transform: uppercase;
}

.site-title a {
	text-decoration: none;
}

.custom-logo {
	height: var(--gpe-logo-height);
	max-height: var(--gpe-logo-height);
	max-width: min(var(--gpe-logo-width), 100%);
	object-fit: contain;
	width: auto;
}

.menu-toggle {
	align-items: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	display: none;
	height: 2.75rem;
	justify-content: center;
	padding: 0;
	width: 2.75rem;
}

.menu-toggle svg,
.header-search summary svg {
	height: 1.5rem;
	width: 1.5rem;
}

.header-search {
	justify-self: end;
	position: relative;
}

.header-search summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	height: 2.75rem;
	justify-content: center;
	list-style: none;
	width: 2.75rem;
}

.header-search summary::-webkit-details-marker {
	display: none;
}

.header-search[open] .header-search__panel {
	display: block;
}

.header-search__panel {
	background: var(--gpe-paper);
	border: 1px solid var(--gpe-rule);
	box-shadow: var(--gpe-shadow);
	padding: 1rem;
	position: absolute;
	right: 0;
	top: calc(100% + 0.35rem);
	width: min(24rem, calc(100vw - 2rem));
	z-index: 30;
}

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	background: #fff;
	border: 1px solid #8a8a8a;
	border-radius: var(--gpe-radius);
	min-width: 0;
	padding: 0.7rem 0.8rem;
	width: 100%;
}

.search-submit,
.gpe-button {
	background: var(--gpe-red);
	border: 1px solid var(--gpe-red);
	border-radius: var(--gpe-radius);
	color: #fff;
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.035em;
	padding: 0.7rem 1rem;
	text-decoration: none;
	text-transform: uppercase;
}

.search-submit:hover,
.gpe-button:hover {
	background: var(--gpe-red-dark);
	color: #fff;
}

.breaking-bar {
	background: var(--gpe-red);
	color: #fff;
	font-size: 0.8rem;
}

.breaking-bar__inner {
	align-items: center;
	display: flex;
	gap: 1rem;
	min-height: 2.5rem;
	overflow: hidden;
}

.breaking-bar__label {
	background: rgb(0 0 0 / 18%);
	font-weight: 900;
	letter-spacing: 0.04em;
	margin-left: clamp(-2rem, -3vw, -1rem);
	padding: 0.65rem clamp(1rem, 3vw, 2rem);
	text-transform: uppercase;
	white-space: nowrap;
}

.breaking-bar__link {
	font-weight: 650;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breaking-bar__link:hover {
	color: #fff;
	text-decoration: underline;
}

.primary-navigation {
	border-top: 1px solid var(--gpe-rule);
}

.primary-navigation ul {
	gap: clamp(0.9rem, 2.5vw, 2rem);
	min-height: 3rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.primary-navigation ul::-webkit-scrollbar {
	display: none;
}

.primary-navigation a {
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	padding-block: 0.95rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.primary-navigation .current-menu-item > a,
.primary-navigation .current-cat > a {
	color: var(--gpe-red);
}

/* Shared editorial components */
.section-heading {
	align-items: center;
	border-top: 2px solid var(--gpe-ink);
	display: flex;
	font-size: 0.82rem;
	font-weight: 900;
	justify-content: space-between;
	letter-spacing: 0.045em;
	margin: 0 0 1rem;
	padding-top: 0.65rem;
	text-transform: uppercase;
}

.section-heading::after {
	background: var(--gpe-red);
	content: "";
	height: 0.18rem;
	left: 0;
	position: absolute;
	top: -0.12rem;
	width: 2.5rem;
}

.section-heading {
	position: relative;
}

.section-heading a {
	color: var(--gpe-muted);
	font-size: 0.68rem;
	text-decoration: none;
}

.story-card {
	min-width: 0;
}

.story-card__media {
	background: var(--gpe-soft);
	display: block;
	overflow: hidden;
	text-decoration: none;
}

.story-card__media img,
.gpe-placeholder {
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
	width: 100%;
}

.story-card__media:hover img {
	transform: scale(1.018);
}

.gpe-placeholder {
	align-items: center;
	background: linear-gradient(135deg, #292929, #535353);
	color: rgb(255 255 255 / 80%);
	display: flex;
	font-family: var(--gpe-serif);
	font-size: clamp(2rem, 7vw, 5rem);
	justify-content: center;
}

.story-card__body {
	padding-top: 0.8rem;
}

.story-card__category,
.entry-category {
	color: var(--gpe-red);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.035em;
	text-decoration: none;
	text-transform: uppercase;
}

.story-card__title {
	font-family: var(--gpe-serif);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.08;
	margin: 0.3rem 0 0;
}

.story-card__title a {
	text-decoration: none;
}

.story-card__excerpt {
	color: #333;
	font-size: 0.95rem;
	margin: 0.65rem 0 0;
}

.entry-meta,
.story-card__meta {
	align-items: center;
	color: var(--gpe-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.73rem;
	gap: 0.45rem;
	margin-top: 0.75rem;
}

.entry-meta a,
.story-card__meta a {
	text-decoration: none;
}

.meta-separator::before {
	content: "•";
	margin-right: 0.45rem;
}

/* Automatic homepage */
.editorial-home {
	padding-block: clamp(1.25rem, 3vw, 2.5rem) 4rem;
}

.home-lead-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.story-card--lead {
	border: 1px solid var(--gpe-rule);
}

.story-card--lead .story-card__media img,
.story-card--lead .gpe-placeholder {
	aspect-ratio: 16 / 8.8;
}

.story-card--lead .story-card__body {
	padding: clamp(1rem, 2.5vw, 1.5rem);
}

.story-card--lead .story-card__title {
	font-size: clamp(2rem, 4vw, 3.8rem);
	letter-spacing: -0.025em;
	line-height: 0.98;
}

.story-card--lead .story-card__excerpt {
	font-size: clamp(0.95rem, 1.5vw, 1.1rem);
	max-width: 45rem;
}

.home-secondary-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card--secondary {
	border: 1px solid var(--gpe-rule);
}

.story-card--secondary .story-card__body {
	padding: 0.8rem 0.9rem 1rem;
}

.story-card--secondary .story-card__title {
	font-size: clamp(1.15rem, 1.7vw, 1.55rem);
}

.story-card--secondary .story-card__excerpt {
	display: none;
}

.home-content-grid {
	border-top: 1px solid var(--gpe-rule);
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 2.5fr);
	margin-top: clamp(2rem, 5vw, 3.5rem);
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

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

.latest-list li {
	border-bottom: 1px solid var(--gpe-rule);
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 3.1rem 1fr;
	padding: 0.7rem 0;
}

.latest-list time {
	color: var(--gpe-red);
	font-size: 0.72rem;
	font-weight: 800;
}

.latest-list a {
	font-family: var(--gpe-serif);
	font-size: 0.98rem;
	line-height: 1.2;
	text-decoration: none;
}

.category-sections {
	display: grid;
	gap: 2rem 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-panel .story-card__title {
	font-size: 1.35rem;
}

.category-panel__more {
	border-top: 1px solid var(--gpe-rule);
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.category-panel__more li {
	border-bottom: 1px solid var(--gpe-rule);
	padding: 0.65rem 0;
}

.category-panel__more a {
	font-family: var(--gpe-serif);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.gpe-ad-slot:empty {
	display: none;
}

/* Archives and search */
.archive-shell {
	padding-block: clamp(2rem, 5vw, 4rem);
}

.archive-header {
	border-bottom: 1px solid var(--gpe-rule);
	margin-bottom: 2rem;
	padding-bottom: 1rem;
}

.archive-kicker {
	color: var(--gpe-red);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.archive-title {
	font-family: var(--gpe-serif);
	font-size: clamp(2.3rem, 6vw, 4.8rem);
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0.35rem 0 0;
}

.archive-description {
	color: var(--gpe-muted);
	max-width: 48rem;
}

.archive-grid {
	display: grid;
	gap: 2rem 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card--archive {
	border-bottom: 1px solid var(--gpe-rule);
	padding-bottom: 1.5rem;
}

.pagination,
.posts-navigation,
.post-navigation {
	border-top: 1px solid var(--gpe-rule);
	margin-top: 2.5rem;
	padding-top: 1.25rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: space-between;
}

.page-numbers,
.post-navigation a {
	border: 1px solid var(--gpe-rule);
	display: inline-block;
	padding: 0.55rem 0.75rem;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--gpe-ink);
	color: #fff;
}

/* Single articles and pages */
.single-shell,
.page-shell {
	padding-block: clamp(2rem, 5vw, 4.5rem);
}

.article-header,
.article-content,
.article-footer {
	margin-inline: auto;
	max-width: var(--gpe-single-reading);
	width: calc(100% - 2rem);
}

.page-header,
.page-content {
	margin-inline: auto;
	max-width: var(--gpe-page-reading);
	width: calc(100% - 2rem);
}

.article-header {
	margin-bottom: 1.75rem;
}

.entry-title {
	font-family: var(--gpe-serif);
	font-size: clamp(2.35rem, 6vw, 5.2rem);
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 0.45rem 0 0;
}

.entry-deck {
	color: #343434;
	font-family: var(--gpe-serif);
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	line-height: 1.35;
	margin: 1rem 0 0;
}

.entry-author {
	font-weight: 750;
}

.article-hero {
	margin: 0 auto 2rem;
	max-width: min(92rem, calc(100% - 2rem));
}

.article-hero img {
	max-height: 48rem;
	object-fit: cover;
	width: 100%;
}

.article-content,
.page-content {
	font-family: var(--gpe-serif);
	font-size: clamp(1.08rem, 2vw, 1.24rem);
	line-height: 1.72;
}

.article-content > * + *,
.page-content > * + * {
	margin-top: 1.35em;
}

.article-content h2,
.article-content h3,
.article-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
	line-height: 1.15;
	margin-top: 1.8em;
}

.article-content a,
.page-content a {
	color: var(--gpe-red-dark);
}

.article-content blockquote,
.page-content blockquote {
	border-left: 0.3rem solid var(--gpe-red);
	font-size: 1.2em;
	font-style: italic;
	margin-left: 0;
	padding-left: 1.25rem;
}

.article-content figure,
.page-content figure {
	margin-inline: 0;
}

.article-content figcaption,
.page-content figcaption,
.wp-caption-text {
	color: var(--gpe-muted);
	font-family: var(--gpe-sans);
	font-size: 0.75rem;
}

.article-content table,
.page-content table {
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
	width: 100%;
}

.article-content th,
.article-content td,
.page-content th,
.page-content td {
	border: 1px solid var(--gpe-rule);
	padding: 0.6rem;
}

.article-footer {
	border-top: 1px solid var(--gpe-rule);
	margin-top: 2.5rem;
	padding-top: 1.5rem;
}

.article-share__label {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 0.75rem;
	text-transform: uppercase;
}

.article-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.share-button {
	align-items: center;
	background: var(--gpe-paper);
	border: 1px solid var(--gpe-ink);
	border-radius: var(--gpe-radius);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 0.5rem;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.62rem 0.9rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.article-share .share-button svg {
	display: block;
	fill: currentcolor;
	flex: 0 0 1.15rem;
	height: 1.15rem !important;
	max-height: 1.15rem;
	max-width: 1.15rem;
	min-height: 1.15rem;
	min-width: 1.15rem;
	overflow: hidden;
	width: 1.15rem !important;
}

.article-share .share-button--whatsapp svg {
	fill: none;
	stroke: currentcolor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.share-button:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-0.0625rem);
}

.share-button--facebook:hover {
	background: #1877f2;
	border-color: #1877f2;
}

.share-button--x:hover {
	background: #111;
	border-color: #111;
}

.share-button--email:hover {
	background: var(--gpe-red);
	border-color: var(--gpe-red);
}

.share-button--whatsapp:hover {
	background: #128c7e;
	border-color: #128c7e;
}

.article-share + .tag-links {
	margin-top: 1.5rem;
}

.tag-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tag-links a {
	background: var(--gpe-soft);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.45rem 0.65rem;
	text-decoration: none;
}

.author-box {
	background: var(--gpe-soft);
	display: grid;
	gap: 1rem;
	grid-template-columns: 4.5rem 1fr;
	margin-top: 2rem;
	padding: 1.25rem;
}

.author-box img {
	border-radius: 50%;
}

.author-box__name {
	font-family: var(--gpe-serif);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.author-box__bio {
	color: var(--gpe-muted);
	font-size: 0.9rem;
	margin: 0.35rem 0 0;
}

.related-stories {
	margin-top: 3rem;
}

.related-stories__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-stories .story-card__title {
	font-size: 1.2rem;
}

/* Empty and 404 */
.empty-state {
	margin: 4rem auto;
	max-width: 42rem;
	text-align: center;
}

.empty-state__title {
	font-family: var(--gpe-serif);
	font-size: clamp(2rem, 7vw, 4rem);
	line-height: 1;
}

.empty-state .search-form {
	margin: 1.5rem auto 0;
	max-width: 32rem;
}

/* Footer */
.site-footer {
	background: var(--gpe-ink);
	color: #fff;
	margin-top: 4rem;
	padding-block: 3rem 1.5rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
}

.footer-brand {
	font-family: var(--gpe-serif);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0;
	text-transform: uppercase;
}

.footer-description {
	color: #c8c8c8;
	font-size: 0.9rem;
	max-width: 30rem;
}

.footer-extras {
	display: grid;
	gap: 1.25rem;
}

.footer-quick-text {
	color: #d8d8d8;
	font-size: 0.88rem;
	max-width: 34rem;
}

.footer-quick-text p {
	margin: 0;
}

.footer-quick-text p + p {
	margin-top: 0.75rem;
}

.footer-widgets {
	display: grid;
	gap: 1.25rem;
}

.footer-widget__title {
	font-family: var(--gpe-serif);
	font-size: 1.1rem;
	margin: 0 0 0.65rem;
}

.footer-widget p {
	color: #d8d8d8;
	font-size: 0.88rem;
}

.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widget li + li {
	margin-top: 0.35rem;
}

.footer-widget a:hover {
	color: #fff;
}

.footer-navigation {
	align-self: center;
	justify-self: end;
}

.footer-navigation ul {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.footer-navigation a {
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.footer-navigation a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-info {
	border-top: 1px solid #3d3d3d;
	color: #aaa;
	font-size: 0.72rem;
	margin-top: 2rem;
	padding-top: 1rem;
}

/* WordPress alignments */
.alignwide {
	margin-left: 50%;
	max-width: var(--gpe-container);
	transform: translateX(-50%);
	width: calc(100vw - 2rem);
}

.alignfull {
	margin-left: 50%;
	max-width: none;
	transform: translateX(-50%);
	width: 100vw;
}

.wp-block-image img,
.wp-block-cover,
.wp-block-embed {
	max-width: 100%;
}

@media (max-width: 64rem) {
	.home-lead-grid {
		grid-template-columns: 1fr;
	}

	.story-card--lead .story-card__media img,
	.story-card--lead .gpe-placeholder {
		aspect-ratio: 16 / 8;
	}

	.category-sections,
	.archive-grid,
	.related-stories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	.utility-bar {
		display: none;
	}

	.masthead {
		min-height: 4.5rem;
	}

	.site-title {
		font-size: clamp(1.5rem, 7.5vw, 2.25rem);
	}

	.custom-logo {
		height: var(--gpe-logo-height-mobile);
		max-height: var(--gpe-logo-height-mobile);
		max-width: min(var(--gpe-logo-width-mobile), 100%);
	}

	.menu-toggle {
		display: flex;
	}

	.primary-navigation {
		display: none;
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		max-height: calc(100vh - 7rem);
		overflow-y: auto;
		padding-block: 0.4rem;
	}

	.primary-navigation li + li {
		border-top: 1px solid var(--gpe-rule);
	}

	.primary-navigation a {
		padding: 0.8rem 0;
	}

	.breaking-bar__inner {
		gap: 0.7rem;
		padding-right: 0;
	}

	.breaking-bar__label {
		margin-left: -1rem;
		padding-inline: 1rem;
	}

	.home-secondary-grid {
		grid-template-columns: 1fr;
	}

	.story-card--secondary {
		display: grid;
		grid-template-columns: minmax(7rem, 38%) 1fr;
	}

	.story-card--secondary .story-card__media img,
	.story-card--secondary .gpe-placeholder {
		aspect-ratio: 1 / 1;
	}

	.story-card--secondary .story-card__body {
		padding: 0.7rem;
	}

	.home-content-grid {
		grid-template-columns: 1fr;
	}

	.category-sections,
	.archive-grid,
	.related-stories__grid {
		grid-template-columns: 1fr;
	}

	.archive-grid .story-card,
	.related-stories .story-card {
		display: grid;
		gap: 0.85rem;
		grid-template-columns: minmax(7rem, 36%) 1fr;
	}

	.archive-grid .story-card__media img,
	.archive-grid .gpe-placeholder,
	.related-stories .story-card__media img,
	.related-stories .gpe-placeholder {
		aspect-ratio: 1 / 1;
	}

	.archive-grid .story-card__body,
	.related-stories .story-card__body {
		padding-top: 0;
	}

	.archive-grid .story-card__excerpt {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-navigation {
		justify-self: start;
	}

	.footer-navigation ul {
		justify-content: flex-start;
	}
}

@media (max-width: 30rem) {
	.story-card--lead .story-card__title {
		font-size: 2.1rem;
	}

	.story-card--secondary .story-card__title {
		font-size: 1.05rem;
	}

	.story-card--secondary .story-card__meta {
		display: none;
	}

	.entry-title {
		font-size: 2.55rem;
	}

	.author-box {
		grid-template-columns: 3.5rem 1fr;
	}

	.article-share__buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.utility-bar,
	.breaking-bar,
	.primary-navigation,
	.header-search,
	.menu-toggle,
	.site-footer,
	.article-share,
	.related-stories {
		display: none !important;
	}

	.article-content,
	.article-header {
		max-width: none;
	}

	body {
		color: #000;
		font-size: 12pt;
	}
}
