/* FormaPress 2.1 design system and expanded layout components. */
:root {
	--fp-primary: #155eef;
	--fp-secondary: #344054;
	--fp-accent: #10b981;
	--fp-heading: #172033;
	--fp-text: #172033;
	--fp-muted: #667085;
	--fp-bg: #f5f7fb;
	--fp-surface: #ffffff;
	--fp-header-bg: #ffffff;
	--fp-footer-bg: #111827;
	--fp-border: #e4e7ec;
	--fp-link: #155eef;
	--fp-link-hover: #10b981;
	--fp-button-bg: #155eef;
	--fp-button-text: #ffffff;
	--fp-container: 1200px;
	--fp-content-width: 790px;
	--fp-header-width: 1200px;
	--fp-footer-width: 1200px;
	--fp-sidebar-width: 300px;
	--fp-secondary-sidebar-width: 260px;
	--fp-body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--fp-heading-font: var(--fp-body-font);
	--fp-navigation-font: var(--fp-body-font);
	--fp-button-font: var(--fp-body-font);
	--fp-article-font: var(--fp-body-font);
	--fp-body-line-height: 1.72;
	--fp-article-line-height: 1.85;
	--fp-paragraph-space: 22px;
	--fp-heading-space: 34px;
	--fp-heading-weight: 800;
	--fp-body-weight: 400;
	--fp-navigation-weight: 600;
	--fp-button-weight: 700;
	--fp-heading-letter-spacing: -0.02em;
	--fp-archive-columns: 3;
	--fp-home-columns: 3;
}

body {
	background-color: var(--fp-bg);
	color: var(--fp-text);
	font-family: var(--fp-body-font);
	font-weight: var(--fp-body-weight);
	line-height: var(--fp-body-line-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--fp-heading);
	font-family: var(--fp-heading-font);
	font-weight: var(--fp-heading-weight);
	letter-spacing: var(--fp-heading-letter-spacing);
}

a {
	color: var(--fp-link);
}

a:hover {
	color: var(--fp-link-hover);
}

button,
input,
select,
textarea {
	font-family: var(--fp-body-font);
}

:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--fp-primary) 65%, #ffffff);
	outline-offset: 3px;
}

.fp-container {
	width: min(calc(100% - 48px), var(--fp-container));
	margin-inline: auto;
}

.fp-header-inner,
.fp-topbar-inner {
	width: min(calc(100% - 48px), var(--fp-header-width));
}

.fp-footer-widgets,
.fp-footer-bottom-inner {
	width: min(calc(100% - 48px), var(--fp-footer-width));
}

.fp-layout-full .fp-main.fp-container {
	width: 100%;
	max-width: none;
	padding-inline: clamp(18px, 3vw, 52px);
}

.fp-layout-boxed {
	background: #e8edf4;
}

.fp-layout-boxed .fp-site-header,
.fp-layout-boxed .fp-main,
.fp-layout-boxed .fp-site-footer {
	max-width: 1600px;
	margin-inline: auto;
	background-color: var(--fp-bg);
	box-shadow: 0 0 42px #1018280c;
}

.fp-content-layout {
	grid-template-columns: minmax(0, 1fr) var(--fp-sidebar-width);
	gap: clamp(28px, 4vw, 64px);
}

.fp-sidebar-left .fp-content-layout {
	grid-template-columns: var(--fp-sidebar-width) minmax(0, 1fr);
}

.fp-has-secondary-sidebar .fp-content-layout {
	grid-template-columns: minmax(0, 1fr) var(--fp-sidebar-width) var(--fp-secondary-sidebar-width);
	gap: clamp(20px, 2.4vw, 36px);
}

.fp-has-secondary-sidebar.fp-sidebar-left .fp-content-layout {
	grid-template-columns: var(--fp-sidebar-width) minmax(0, 1fr) var(--fp-secondary-sidebar-width);
}

.fp-sidebar-left .fp-primary-content {
	grid-column: 2;
	grid-row: 1;
}

.fp-sidebar-left .fp-sidebar {
	grid-column: 1;
	grid-row: 1;
}

.fp-has-secondary-sidebar .fp-sidebar-secondary {
	grid-column: 3;
	grid-row: 1;
}

.fp-no-sidebar .fp-content-layout {
	grid-template-columns: minmax(0, 1fr);
}

.fp-no-sidebar .fp-sidebar,
.fp-no-sidebar .fp-sidebar-secondary {
	display: none;
}

.fp-primary-content,
.fp-sidebar,
.fp-sidebar-secondary,
.fp-home-primary {
	min-width: 0;
}

.fp-site-header {
	position: relative;
	background: var(--fp-header-bg);
	border-color: var(--fp-border);
}

.fp-sticky-header .fp-site-header {
	position: sticky;
	top: 0;
	z-index: 60;
}

.admin-bar.fp-sticky-header .fp-site-header {
	top: 32px;
}

.fp-transparent-header .fp-site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background: transparent;
	border-color: transparent;
}

.fp-transparent-header .fp-main {
	padding-top: clamp(130px, 14vw, 190px);
}

.fp-transparent-header-no-overlay .fp-site-header {
	position: relative;
	top: auto;
}

.fp-transparent-header-no-overlay .fp-main {
	padding-top: var(--fp-space);
}

.fp-header-inner {
	position: relative;
	gap: clamp(12px, 2vw, 28px);
}

.fp-site-title {
	color: var(--fp-heading);
	font-family: var(--fp-heading-font);
}

.fp-tagline {
	color: var(--fp-muted);
}

.fp-topbar {
	color: #ffffff;
	background: var(--fp-secondary);
	font-size: 0.8rem;
}

.fp-topbar-inner {
	display: flex;
	min-height: 38px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.fp-topbar-inner > p {
	margin: 0;
}

.fp-secondary-menu,
.fp-secondary-menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-secondary-menu a {
	color: inherit;
}

.fp-header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.fp-search-toggle {
	display: inline-flex;
	width: 42px;
	min-width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: var(--fp-text);
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: 999px;
	font-size: 1.35rem;
}

.fp-search-toggle:hover {
	color: var(--fp-primary);
	background: var(--fp-bg);
}

.fp-header-cta {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 9px 16px;
	color: var(--fp-button-text);
	background: var(--fp-button-bg);
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: var(--fp-button-weight);
}

.fp-header-cta:hover {
	color: var(--fp-button-text);
	filter: brightness(0.93);
}

.fp-site-social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-size: 0.82rem;
}

.fp-site-social-links a {
	color: inherit;
}

.fp-header-actions .fp-site-social-links {
	color: var(--fp-muted);
}

.fp-header-widget-area {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-block: 8px 14px;
}

.fp-header-widget-area .widget {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.fp-primary-nav {
	font-family: var(--fp-navigation-font);
}

.fp-menu a {
	color: var(--fp-text);
	font-family: var(--fp-navigation-font);
	font-weight: var(--fp-navigation-weight);
}

.fp-menu-toggle {
	position: relative;
	z-index: 102;
	width: 44px;
	min-width: 44px;
	height: 44px;
	color: var(--fp-text);
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: 12px;
}

.fp-menu-toggle[aria-expanded="true"] .fp-menu-icon {
	background: transparent;
}

.fp-menu-toggle[aria-expanded="true"] .fp-menu-icon::before {
	top: 0;
	transform: rotate(45deg);
}

.fp-menu-toggle[aria-expanded="true"] .fp-menu-icon::after {
	top: 0;
	transform: rotate(-45deg);
}

.fp-menu-icon::before,
.fp-menu-icon::after {
	transition: transform 0.18s ease, top 0.18s ease;
}

.fp-header-search-panel {
	position: absolute;
	top: calc(100% - 4px);
	right: 20px;
	z-index: 120;
	width: min(440px, calc(100vw - 36px));
	padding: 18px;
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
	box-shadow: 0 20px 60px #10182822;
}

.fp-header-search-panel[hidden] {
	display: none;
}

.fp-header-search-panel .search-form {
	margin: 0;
}

.fp-header-search-panel .search-submit,
.fp-button,
.wp-block-button__link,
input[type="submit"] {
	color: var(--fp-button-text);
	background: var(--fp-button-bg);
	border-color: var(--fp-button-bg);
	font-family: var(--fp-button-font);
	font-weight: var(--fp-button-weight);
}

.fp-article-title,
.fp-card-title {
	letter-spacing: var(--fp-heading-letter-spacing);
}

.fp-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	color: var(--fp-button-text);
	filter: brightness(0.93);
}

.fp-site-footer {
	background: var(--fp-footer-bg);
}

.fp-footer-widgets {
	grid-template-columns: repeat(var(--fp-footer-columns), minmax(0, 1fr));
}

.fp-footer-column .widget {
	background: transparent;
	border: 0;
}

.fp-footer-bottom-inner {
	flex-wrap: wrap;
}

.fp-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 50;
	display: inline-flex;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	color: var(--fp-button-text);
	background: var(--fp-button-bg);
	border-radius: 50%;
	box-shadow: 0 8px 28px #10182830;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	visibility: hidden;
}

.fp-back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.fp-main {
	padding-block: var(--fp-space) clamp(56px, 7vw, 88px);
}

.fp-content-layout {
	align-items: start;
}

.fp-home-layout-content {
	margin-top: 0;
}

.fp-archive-header,
.fp-home-cta,
.fp-post-card,
.fp-toc,
.fp-author-bio,
.fp-related-card,
.fp-empty-state,
.fp-comments-area {
	border-color: var(--fp-border);
}

.fp-post-card,
.fp-empty-state {
	background-color: var(--fp-surface);
}

.fp-home-intro {
	margin-bottom: clamp(36px, 5vw, 56px);
}

.fp-archive-header h1,
.fp-home-section-heading h2 {
	font-family: var(--fp-heading-font);
}

.fp-home-primary > * + * {
	margin-top: var(--fp-home-section-spacing);
}

.fp-home-post-title a,
.fp-related-card h3 a {
	color: var(--fp-heading);
}

.fp-home-post-title a:hover,
.fp-related-card h3 a:hover {
	color: var(--fp-primary);
}

.fp-home .fp-post-grid {
	--fp-blog-columns: var(--fp-home-columns);
}

.fp-archive-page .fp-post-grid,
.fp-search-page .fp-post-grid,
.fp-blog-index .fp-post-grid {
	--fp-blog-columns: var(--fp-archive-columns);
}

.fp-post-grid--list .fp-post-card {
	background: var(--fp-surface);
}

.fp-card-image--classic {
	aspect-ratio: 4 / 3;
}

.fp-card-image--square {
	aspect-ratio: 1;
}

.fp-home-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 22px;
}

.fp-home-section-heading h2 {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.fp-home-posts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.fp-home-posts--classic_vertical {
	grid-template-columns: minmax(0, 1fr);
}

.fp-home-posts--classic_vertical .fp-home-post {
	display: block;
}

.fp-home-post {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--fp-border);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.fp-home-post:hover {
	transform: translateY(-3px);
}

.fp-home-post-image {
	position: relative;
	display: block;
	min-height: 0;
	overflow: hidden;
	background: color-mix(in srgb, var(--fp-primary) 8%, var(--fp-surface));
}

.fp-home-post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.fp-home-post:hover .fp-home-post-image img {
	transform: scale(1.035);
}

.fp-home-post-image--wide { aspect-ratio: 16 / 9; }
.fp-home-post-image--landscape { aspect-ratio: 16 / 10; }
.fp-home-post-image--classic { aspect-ratio: 4 / 3; }
.fp-home-post-image--square { aspect-ratio: 1; }

.fp-home-post-body {
	min-width: 0;
	padding: clamp(18px, 2.2vw, 28px);
}

.fp-home-post-title {
	margin: 0 0 10px;
	font-size: clamp(1.15rem, 1.8vw, 1.55rem);
	line-height: 1.23;
}

.fp-home-post-title a {
	color: var(--fp-home-title);
}

.fp-home-post-title a:hover {
	color: var(--fp-home-title-hover);
}

.fp-home-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	color: var(--fp-muted);
	font-size: 0.78rem;
}

.fp-home-post-meta a {
	color: inherit;
}

.fp-home-post-excerpt {
	margin: 12px 0 0;
	color: var(--fp-muted);
	font-size: 0.93rem;
}

.fp-home-post-read-more {
	display: inline-flex;
	margin-top: 14px;
	font-size: 0.84rem;
	font-weight: 700;
}

.fp-home-post-category-overlay {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 6px 10px;
	color: #ffffff;
	background: rgba(16, 24, 40, 0.78);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
}

.fp-home-posts--premium_horizontal .fp-home-post,
.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured),
.fp-home-posts--compact .fp-home-post {
	display: grid;
	grid-template-columns: minmax(180px, 36%) minmax(0, 1fr);
	align-items: stretch;
}

.fp-home-posts--premium_horizontal .fp-home-post:not(.has-post-thumbnail),
.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured):not(.has-post-thumbnail),
.fp-home-posts--compact .fp-home-post:not(.has-post-thumbnail),
.fp-home-posts--alternating .fp-home-post:not(.fp-home-post--featured):not(.has-post-thumbnail) {
	grid-template-columns: minmax(0, 1fr);
}

.fp-home-posts--premium_horizontal .fp-home-post-image,
.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured) .fp-home-post-image {
	height: 100%;
	min-height: 210px;
}

.fp-home-posts--premium_horizontal .fp-home-post-body,
.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured) .fp-home-post-body,
.fp-home-posts--compact .fp-home-post-body {
	align-self: center;
}

.fp-home-posts--editorial_featured .fp-home-post {
	border: 0;
	border-bottom: 1px solid var(--fp-border);
	border-radius: 0;
	box-shadow: none;
}

.fp-home-posts--editorial_featured .fp-home-post--featured,
.fp-home-posts--magazine_grid .fp-home-post--featured,
.fp-home-posts--alternating .fp-home-post--featured {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	grid-column: 1 / -1;
}

.fp-home-posts--editorial_featured .fp-home-post--featured:not(.has-post-thumbnail),
.fp-home-posts--magazine_grid .fp-home-post--featured:not(.has-post-thumbnail),
.fp-home-posts--alternating .fp-home-post--featured:not(.has-post-thumbnail) {
	grid-template-columns: minmax(0, 1fr);
}

.fp-home-posts--editorial_featured .fp-home-post--featured .fp-home-post-image,
.fp-home-posts--magazine_grid .fp-home-post--featured .fp-home-post-image,
.fp-home-posts--alternating .fp-home-post--featured .fp-home-post-image {
	min-height: 300px;
	height: 100%;
}

.fp-home-posts--magazine_grid {
	grid-template-columns: repeat(var(--fp-home-columns), minmax(0, 1fr));
}

.fp-home-posts--three_column {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fp-home-posts--three_column .fp-home-post-image {
	max-height: 260px;
}

.fp-home-posts--image_focused {
	grid-template-columns: repeat(var(--fp-home-columns), minmax(0, 1fr));
}

.fp-home-posts--image_focused .fp-home-post {
	border: 0;
	box-shadow: none;
}

.fp-home-posts--image_focused .fp-home-post-image {
	min-height: 260px;
	border-radius: var(--fp-home-card-radius);
}

.fp-home-posts--image_focused .fp-home-post-body {
	padding-inline: 3px;
}

.fp-home-posts--compact .fp-home-post {
	grid-template-columns: 112px minmax(0, 1fr);
}

.fp-home-posts--compact .fp-home-post-image {
	min-height: 100px;
	height: 100%;
}

.fp-home-posts--compact .fp-home-post-body {
	padding: 16px 18px;
}

.fp-home-posts--compact .fp-home-post-title {
	font-size: 1.05rem;
}

.fp-home-posts--compact .fp-home-post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.fp-home-posts--alternating .fp-home-post:not(.fp-home-post--featured) {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
}

.fp-home-posts--alternating .fp-home-post:nth-child(even):not(.fp-home-post--featured) .fp-home-post-image {
	grid-column: 2;
	grid-row: 1;
}

.fp-home-posts--alternating .fp-home-post:nth-child(even):not(.fp-home-post--featured) .fp-home-post-body {
	grid-column: 1;
	grid-row: 1;
}

.fp-home-posts--alternating .fp-home-post:not(.fp-home-post--featured) .fp-home-post-image {
	min-height: 250px;
	height: 100%;
}

.fp-home-posts--alternating .fp-home-post--featured {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* Six vertical editorial styles. Style C follows the supplied reference. */
.fp-home-posts--clean_editorial,
.fp-home-posts--compact_premium,
.fp-home-posts--image_left_editorial,
.fp-home-posts--featured_vertical,
.fp-home-posts--minimal_newspaper,
.fp-home-posts--premium_alternating {
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
}

.fp-home-posts--clean_editorial .fp-home-post,
.fp-home-posts--compact_premium .fp-home-post,
.fp-home-posts--image_left_editorial .fp-home-post,
.fp-home-posts--featured_vertical .fp-home-post,
.fp-home-posts--minimal_newspaper .fp-home-post,
.fp-home-posts--premium_alternating .fp-home-post {
	min-width: 0;
	background: var(--fp-home-card-bg);
}

.fp-home-posts--clean_editorial .fp-home-post {
	padding-bottom: 26px;
	border: 0;
	border-bottom: 1px solid var(--fp-border);
	border-radius: 0;
	box-shadow: none;
}

.fp-home-posts--clean_editorial .fp-home-post-image {
	max-height: 430px;
	margin-bottom: 18px;
}

.fp-home-posts--compact_premium .fp-home-post {
	padding: 14px;
	border-radius: 10px;
}

.fp-home-posts--compact_premium .fp-home-post-image {
	max-height: 220px;
	margin-bottom: 14px;
}

.fp-home-posts--compact_premium .fp-home-post-body {
	padding: 0 2px 2px;
}

.fp-home-posts--image_left_editorial {
	gap: 14px;
}

.fp-home-posts--image_left_editorial .fp-home-post {
	padding: 18px 20px;
	border: 1px solid color-mix(in srgb, var(--fp-border) 82%, transparent);
	border-radius: 5px;
	box-shadow: 0 2px 9px rgba(20, 35, 55, 0.07);
}

.fp-home-posts--image_left_editorial .fp-home-post:hover,
.fp-home-posts--minimal_newspaper .fp-home-post:hover,
.fp-home-posts--premium_alternating .fp-home-post:hover {
	transform: none;
	box-shadow: 0 5px 16px rgba(20, 35, 55, 0.1);
}

.fp-home-post-heading {
	margin-bottom: 14px;
}

.fp-home-post-heading .fp-card-category,
.fp-home-post-layout-copy .fp-card-category,
.fp-home-post-body .fp-card-category {
	display: inline-block;
	margin-bottom: 6px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.fp-home-posts--image_left_editorial .fp-home-post-title {
	margin-bottom: 6px;
	font-size: clamp(1.25rem, 1.7vw, 1.55rem);
	line-height: 1.25;
}

.fp-home-post-layout-main {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(18px, 2.7vw, 30px);
}

.fp-home-post-layout-main > .fp-home-post-image {
	width: 100%;
	min-width: 0;
	margin: 0;
	border-radius: 3px;
}

.fp-home-posts--image_left_editorial .fp-home-post-layout-main {
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	gap: clamp(18px, 2.8vw, 30px);
}

.fp-home-posts--image_left_editorial .fp-home-post-layout-main > .fp-home-post-image {
	max-height: 220px;
}

.fp-home-post-layout-copy {
	min-width: 0;
}

.fp-home-posts--image_left_editorial .fp-home-post-excerpt {
	margin: 0 0 12px;
	color: var(--fp-muted);
	font-size: 0.9rem;
	line-height: 1.62;
}

.fp-home-posts--image_left_editorial .fp-home-post-read-more {
	margin-top: 0;
	padding: 7px 12px;
	color: var(--fp-button-text);
	background: var(--fp-button-bg);
	border-radius: 3px;
	font-size: 0.76rem;
	text-decoration: none;
}

.fp-home-posts--image_left_editorial .fp-home-post-read-more:hover {
	filter: brightness(0.93);
}

.fp-home-posts--featured_vertical .fp-home-post {
	padding: 18px;
	border-radius: var(--fp-home-card-radius);
}

.fp-home-posts--featured_vertical .fp-home-post--featured {
	padding: clamp(20px, 3vw, 34px);
	border-color: color-mix(in srgb, var(--fp-primary) 22%, var(--fp-border));
}

.fp-home-posts--featured_vertical .fp-home-post--featured .fp-home-post-image {
	max-height: 390px;
	margin-bottom: 18px;
}

.fp-home-posts--featured_vertical .fp-home-post--featured .fp-home-post-title {
	font-size: clamp(1.65rem, 2.8vw, 2.3rem);
}

.fp-home-posts--featured_vertical .fp-home-post:not(.fp-home-post--featured) .fp-home-post-image {
	max-height: 260px;
	margin-bottom: 14px;
}

.fp-home-posts--minimal_newspaper .fp-home-post {
	padding: 14px 0 18px;
	border: 0;
	border-bottom: 1px solid var(--fp-border);
	border-radius: 0;
	box-shadow: none;
}

.fp-home-posts--minimal_newspaper .fp-home-post-layout-main {
	grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
	gap: clamp(16px, 2.4vw, 26px);
}

.fp-home-posts--minimal_newspaper .fp-home-post-layout-main > .fp-home-post-image {
	max-height: 200px;
}

.fp-home-posts--minimal_newspaper .fp-home-post-title {
	font-size: clamp(1.2rem, 1.8vw, 1.55rem);
	font-weight: 800;
}

.fp-home-posts--minimal_newspaper .fp-home-post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 0.88rem;
}

.fp-home-posts--premium_alternating .fp-home-post {
	padding: 16px;
	border-radius: var(--fp-home-card-radius);
}

.fp-home-posts--premium_alternating .fp-home-post-layout-main {
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.fp-home-posts--premium_alternating .fp-home-post-layout-main > .fp-home-post-image {
	max-height: 280px;
}

.fp-home-posts--premium_alternating .fp-home-post:nth-child(even) .fp-home-post-layout-main > .fp-home-post-image {
	grid-column: 2;
	grid-row: 1;
}

.fp-home-posts--premium_alternating .fp-home-post:nth-child(even) .fp-home-post-layout-copy {
	grid-column: 1;
	grid-row: 1;
}

.fp-home-posts--clean_editorial .fp-home-post:not(.has-post-thumbnail) .fp-home-post-body,
.fp-home-posts--compact_premium .fp-home-post:not(.has-post-thumbnail) .fp-home-post-body,
.fp-home-posts--featured_vertical .fp-home-post:not(.has-post-thumbnail) .fp-home-post-body {
	padding-top: 0;
}

.fp-home-posts--image_left_editorial .fp-home-post:not(.has-post-thumbnail) .fp-home-post-layout-main,
.fp-home-posts--minimal_newspaper .fp-home-post:not(.has-post-thumbnail) .fp-home-post-layout-main,
.fp-home-posts--premium_alternating .fp-home-post:not(.has-post-thumbnail) .fp-home-post-layout-main {
	grid-template-columns: minmax(0, 1fr);
}


/* Keep the original homepage section-heading treatments. */
.fp-home--magazine .fp-home-section-heading {
	margin-bottom: 24px;
}

.fp-home--classic .fp-home-section-heading {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--fp-border);
}

.fp-home--minimal .fp-home-section-heading {
	margin-bottom: 28px;
}

.fp-home--business .fp-home-section-heading {
	padding-inline-start: 14px;
	border-inline-start: 3px solid var(--fp-accent);
}

.fp-home--news .fp-home-section-heading {
	padding-bottom: 10px;
	border-bottom: 2px solid var(--fp-heading);
}



.fp-footer-branding {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 22px;
	margin-bottom: 34px;
}

.fp-footer-branding > * {
	margin: 0;
}

.fp-footer-logo {
	display: inline-flex;
	align-items: center;
}

.fp-footer-logo img {
	display: block;
	height: auto;
}

.fp-footer-site-title {
	font-size: 1.3rem;
	font-weight: 750;
}

.fp-footer-description {
	max-width: 54ch;
	opacity: 0.82;
}

.fp-footer-column-layout--wide_first.fp-footer-columns-2 .fp-footer-widgets { grid-template-columns: 1.6fr 1fr; }
.fp-footer-column-layout--wide_first.fp-footer-columns-3 .fp-footer-widgets { grid-template-columns: 1.6fr 1fr 1fr; }
.fp-footer-column-layout--wide_first.fp-footer-columns-4 .fp-footer-widgets { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.fp-footer-column-layout--editorial.fp-footer-columns-2 .fp-footer-widgets { grid-template-columns: 1fr 1.4fr; }
.fp-footer-column-layout--editorial.fp-footer-columns-3 .fp-footer-widgets { grid-template-columns: 1.5fr 1fr 0.8fr; }
.fp-footer-column-layout--editorial.fp-footer-columns-4 .fp-footer-widgets { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; }

.fp-home-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(22px, 4vw, 40px);
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
}

.fp-home-cta h2,
.fp-home-cta p {
	margin: 0;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 14px;
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
}

.woocommerce ul.products li.product a img {
	width: 100%;
	border-radius: max(4px, calc(var(--fp-radius) - 6px));
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
	color: var(--fp-heading);
	font-family: var(--fp-heading-font);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	min-width: 0;
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: start;
	gap: clamp(20px, 4vw, 52px);
}

.woocommerce div.product div.summary {
	padding: clamp(18px, 3vw, 32px);
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
}

.woocommerce div.product div.images {
	padding: 12px;
	background: var(--fp-surface);
	border: 1px solid var(--fp-border);
	border-radius: var(--fp-radius);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	background: var(--fp-surface);
	border-top-color: var(--fp-primary);
}

.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
	max-width: 100%;
	border-color: var(--fp-border);
}

.fp-post-grid--masonry .fp-post-card {
	background: var(--fp-surface);
}

.fp-has-featured-card .fp-post-grid > .fp-post-card:first-child {
	grid-column: 1 / -1;
}

.fp-has-featured-card .fp-post-grid > .fp-post-card:first-child .fp-card-image {
	max-height: 420px;
	aspect-ratio: 2.2 / 1;
}

.fp-has-featured-card .fp-post-grid > .fp-post-card:first-child .fp-card-title {
	font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.fp-article-content {
	font-family: var(--fp-article-font);
	font-size: var(--fp-article-size);
	line-height: var(--fp-article-line-height);
}

.fp-article-content p {
	margin-block: 0 var(--fp-paragraph-space);
}

.fp-article-content h2,
.fp-article-content h3,
.fp-article-content h4 {
	margin-top: var(--fp-heading-space);
}

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

.fp-article-content pre,
.fp-article-content code,
.wp-block-code {
	max-width: 100%;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.9em;
}

.fp-article-content pre {
	overflow: auto;
	white-space: pre;
}

.fp-updated-date {
	color: var(--fp-muted);
	font-size: 0.92em;
}

.fp-page-header,
.fp-archive-header {
	color: var(--fp-text);
}

.fp-archive-description,
.fp-card-excerpt {
	color: var(--fp-muted);
}

.fp-sidebar .widget,
.fp-sidebar-secondary .widget {
	background: var(--fp-surface);
	border-color: var(--fp-border);
}

.fp-sidebar-secondary {
	min-width: 0;
}

.fp-ad {
	max-width: 100%;
	margin-block: var(--fp-ad-space, 20px);
	overflow: hidden;
	text-align: center;
}

.fp-ad-label {
	display: block;
	margin-bottom: 6px;
	color: var(--fp-muted);
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.fp-ad ins,
.fp-ad iframe,
.fp-ad img {
	max-width: 100%;
}

.fp-skip-link:focus,
.fp-search-toggle:focus-visible,
.fp-menu-toggle:focus-visible,
.fp-back-to-top:focus-visible {
	outline: 3px solid var(--fp-accent);
	outline-offset: 3px;
}

@media (max-width: 960px) {
	.fp-content-layout,
	.fp-sidebar-left .fp-content-layout,
	.fp-has-secondary-sidebar .fp-content-layout,
	.fp-has-secondary-sidebar.fp-sidebar-left .fp-content-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-sidebar-left .fp-primary-content,
	.fp-sidebar-left .fp-sidebar,
	.fp-has-secondary-sidebar .fp-sidebar-secondary {
		grid-column: auto;
		grid-row: auto;
	}

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

	.fp-post-grid--list {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-post-grid--masonry {
		columns: 2;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-menu-ready .fp-primary-nav.is-open {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 101;
		display: block;
		width: min(88vw, 390px);
		height: 100vh;
		height: 100dvh;
		margin: 0;
		padding: max(88px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
		background: var(--fp-surface);
		box-shadow: -18px 0 55px #10182830;
		overflow-y: auto;
		overscroll-behavior: contain;
		animation: fp-drawer-in 0.18s ease-out both;
	}

	html.fp-menu-open {
		overflow: hidden;
	}

	html.fp-menu-open::after {
		position: fixed;
		inset: 0;
		z-index: 59;
		background: #10182880;
		content: "";
	}

	.fp-sticky-header .fp-site-header,
	.fp-site-header {
		z-index: 60;
	}

	.fp-menu-ready .fp-primary-nav.is-open .fp-menu {
		align-items: stretch;
		flex-direction: column;
	}

	.fp-menu-ready .fp-primary-nav.is-open .fp-menu a {
		padding: 13px 14px;
	}

	.fp-menu-ready .fp-primary-nav.is-open .fp-menu .sub-menu {
		position: static;
		display: block;
		padding-left: 16px;
		border: 0;
		box-shadow: none;
	}

	.fp-home-posts--magazine_grid,
	.fp-home-posts--three_column,
	.fp-home-posts--image_focused {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-home-posts--image_left_editorial .fp-home-post-layout-main,
	.fp-home-posts--minimal_newspaper .fp-home-post-layout-main,
	.fp-home-posts--premium_alternating .fp-home-post-layout-main {
		gap: 16px;
	}

	.fp-home-posts--editorial_featured .fp-home-post--featured,
	.fp-home-posts--magazine_grid .fp-home-post--featured,
	.fp-home-posts--alternating .fp-home-post--featured {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.fp-home-posts--image_left_editorial .fp-home-post,
	.fp-home-posts--compact_premium .fp-home-post,
	.fp-home-posts--featured_vertical .fp-home-post,
	.fp-home-posts--minimal_newspaper .fp-home-post,
	.fp-home-posts--premium_alternating .fp-home-post {
		padding: 16px;
	}
}

@media (max-width: 767px) {
	.fp-container,
	.fp-header-inner,
	.fp-topbar-inner,
	.fp-footer-widgets,
	.fp-footer-bottom-inner {
		width: min(calc(100% - 34px), var(--fp-container));
	}

	.fp-header-inner {
		gap: 8px;
	}

	.fp-header-actions {
		gap: 5px;
	}

	.fp-home-posts--magazine_grid,
	.fp-home-posts--three_column,
	.fp-home-posts--image_focused {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-home-posts--premium_horizontal .fp-home-post,
	.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured),
	.fp-home-posts--compact .fp-home-post,
	.fp-home-posts--alternating .fp-home-post:not(.fp-home-post--featured) {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-home-posts--premium_horizontal .fp-home-post-image,
	.fp-home-posts--editorial_featured .fp-home-post:not(.fp-home-post--featured) .fp-home-post-image,
	.fp-home-posts--compact .fp-home-post-image,
	.fp-home-posts--alternating .fp-home-post:not(.fp-home-post--featured) .fp-home-post-image {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.fp-home-posts--alternating .fp-home-post:nth-child(even):not(.fp-home-post--featured) .fp-home-post-image,
	.fp-home-posts--alternating .fp-home-post:nth-child(even):not(.fp-home-post--featured) .fp-home-post-body {
		grid-column: auto;
		grid-row: auto;
	}

	.fp-home-posts--editorial_featured .fp-home-post--featured,
	.fp-home-posts--magazine_grid .fp-home-post--featured,
	.fp-home-posts--alternating .fp-home-post--featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-home-post-layout-main,
	.fp-home-posts--image_left_editorial .fp-home-post-layout-main,
	.fp-home-posts--minimal_newspaper .fp-home-post-layout-main,
	.fp-home-posts--premium_alternating .fp-home-post-layout-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-home-posts--image_left_editorial .fp-home-post-heading {
		margin-bottom: 12px;
	}

	.fp-home-posts--image_left_editorial .fp-home-post-layout-main > .fp-home-post-image,
	.fp-home-posts--minimal_newspaper .fp-home-post-layout-main > .fp-home-post-image,
	.fp-home-posts--premium_alternating .fp-home-post-layout-main > .fp-home-post-image {
		max-height: 320px;
	}

	.fp-home-posts--premium_alternating .fp-home-post:nth-child(even) .fp-home-post-layout-main > .fp-home-post-image,
	.fp-home-posts--premium_alternating .fp-home-post:nth-child(even) .fp-home-post-layout-copy {
		grid-column: auto;
		grid-row: auto;
	}

	.fp-home-posts--clean_editorial .fp-home-post-image,
	.fp-home-posts--compact_premium .fp-home-post-image,
	.fp-home-posts--featured_vertical .fp-home-post-image {
		max-height: 320px;
	}

}

@media (max-width: 560px) {
	.fp-container,
	.fp-header-inner,
	.fp-topbar-inner,
	.fp-footer-widgets,
	.fp-footer-bottom-inner {
		width: min(calc(100% - 28px), var(--fp-container));
	}

	.fp-post-grid,
	.fp-related-grid,
	.fp-footer-widgets,
	.woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}

	.fp-post-grid--masonry {
		columns: 1;
	}

	.fp-post-grid--list .fp-post-card {
		display: block;
	}

	.fp-card-body {
		padding: 19px;
	}

	.fp-header-actions .fp-site-social-links,
	.fp-header-cta {
		display: none;
	}

	.fp-topbar-inner {
		min-height: 34px;
		justify-content: center;
	}

	.fp-topbar-inner > p {
		text-align: center;
	}

	.fp-secondary-menu {
		display: none;
	}

	.fp-home-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.fp-article-title {
		font-size: clamp(2.1rem, 10vw, 3.3rem);
	}

	.fp-post-navigation {
		grid-template-columns: minmax(0, 1fr);
	}

	.search-form {
		flex-direction: column;
	}

	.search-submit {
		width: 100%;
	}

	.fp-header-search-panel {
		right: 0;
	}
}

@keyframes fp-drawer-in {
	from { transform: translateX(16px); opacity: 0.7; }
	to { transform: translateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
