/*
Theme Name: Office59 Magazine
Theme URI: http://localhost/office59
Author: Codex
Description: A custom editorial WordPress magazine theme inspired by modern newspaper layouts, with a featured homepage, category sections, popular stories, newsletter blocks, and responsive navigation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: office59-magazine
*/

:root {
	--of-red: #ef3038;
	--of-red-dark: #c81420;
	--of-ink: #141414;
	--of-muted: #676767;
	--of-line: #e7e7e7;
	--of-soft: #f5f5f3;
	--of-paper: #ffffff;
	--of-blue: #0d65d9;
	--of-green: #157f5b;
	--of-yellow: #ffbd3a;
	--of-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--of-display: Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--of-paper);
	color: var(--of-ink);
	font-family: var(--of-font);
	font-size: 15px;
	line-height: 1.55;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

a:hover,
a:focus {
	color: var(--of-red);
}

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

.site-shell {
	min-height: 100vh;
	background: #fff;
}

.site-header--sticky {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--office-mag-header-bg, #fff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.wrap {
	width: min(1240px, calc(100% - 32px));
	margin: 0 auto;
}

.office-mag-topbar {
	background: var(--office-mag-secondary, #111);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.office-mag-topbar .wrap {
	min-height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.office-mag-topbar a {
	color: #fff;
}

.top-line {
	border-bottom: 1px solid var(--of-line);
	font-size: 12px;
}

.top-line .wrap,
.brand-line .wrap,
.nav-line .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.top-line .wrap {
	min-height: 38px;
}

.utility-links,
.social-row,
.menu-list,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.utility-links a,
.social-row a {
	color: var(--of-muted);
	font-weight: 700;
	text-transform: uppercase;
}

.brand-line {
	padding: 24px 0 18px;
}

.brand-line .wrap {
	position: relative;
}

.site-branding {
	text-align: center;
	flex: 1;
}

.premium-menu-trigger,
.brand-spacer {
	width: 120px;
	flex: 0 0 120px;
}

.header-office-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
}

.header-social-links {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.header-social-links a {
	color: var(--of-muted);
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
}

.header-cta {
	min-height: 34px;
	padding: 0 12px;
	white-space: nowrap;
}

.premium-menu-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	background: transparent;
	color: var(--of-red);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.premium-menu-trigger:hover,
.premium-menu-trigger:focus {
	color: var(--of-red-dark);
}

.premium-menu-icon {
	position: relative;
	width: 18px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.premium-menu-icon::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.site-title {
	margin: 0;
	color: var(--of-red);
	font-family: var(--of-display);
	font-size: clamp(44px, 7vw, 74px);
	font-style: italic;
	font-weight: 800;
	line-height: .8;
	letter-spacing: 0;
}

.site-title small {
	font-size: 14px;
	font-family: var(--of-font);
	font-style: normal;
	vertical-align: top;
}

.logo-title {
	display: flex;
	justify-content: center;
	line-height: 1;
}

.site-logo-img {
	width: min(440px, 78vw);
	max-height: 120px;
	object-fit: contain;
}

.site-description {
	margin: 9px 0 0;
	color: var(--of-muted);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.header-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--of-line);
	background: #fff;
	color: var(--of-ink);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}

.header-action.primary {
	border-color: var(--of-red);
	background: var(--of-red);
	color: #fff;
}

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

.nav-line {
	border-top: 1px solid var(--of-line);
	border-bottom: 1px solid var(--of-ink);
}

.nav-line .wrap {
	min-height: 42px;
	position: relative;
}

.menu-list {
	justify-content: center;
	flex: 1;
	gap: 26px;
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
}

.menu-toggle {
	display: none;
	width: 38px;
	height: 38px;
	border: 0;
	background: transparent;
	color: var(--of-red);
	font-weight: 900;
	cursor: pointer;
}

.header-search {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.search-toggle {
	display: inline-grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 0;
	background: transparent;
	color: var(--of-ink);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.search-icon {
	position: relative;
	width: 17px;
	height: 17px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.search-icon::after {
	content: "";
	position: absolute;
	right: -7px;
	bottom: -5px;
	width: 9px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: left center;
}

.search-toggle:hover,
.search-toggle:focus {
	color: var(--of-red);
}

.search-popover {
	position: absolute;
	top: calc(100% + 9px);
	right: 0;
	z-index: 30;
	width: min(760px, calc(100vw - 32px));
	padding: 18px;
	background: #fff;
	border: 1px solid var(--of-line);
	box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.search-popover::before {
	content: "";
	position: absolute;
	top: -8px;
	right: 16px;
	width: 14px;
	height: 14px;
	background: #fff;
	border-top: 1px solid var(--of-line);
	border-left: 1px solid var(--of-line);
	transform: rotate(45deg);
}

.search-form {
	position: relative;
	width: 100%;
	display: flex;
}

.search-form input[type="search"] {
	flex: 1;
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--of-line);
	font: inherit;
}

.search-form button {
	position: static;
	width: auto;
	min-width: 92px;
	height: 42px;
	padding: 0 18px;
	border: 0;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.premium-modal[hidden] {
	display: none;
}

.premium-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: start center;
	padding: min(10vh, 80px) 20px 40px;
}

.premium-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .82);
}

.premium-modal-panel {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	display: grid;
	grid-template-columns: .95fr 1.15fr;
	gap: 44px;
	padding: 34px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
}

.premium-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	border: 0;
	background: transparent;
	color: var(--of-red);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.premium-modal-post {
	display: grid;
	gap: 16px;
	padding: 24px;
	background: var(--of-red);
	color: #fff;
}

.premium-post-image {
	aspect-ratio: 1.1;
	overflow: hidden;
	background: #ddd;
}

.premium-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.premium-modal-post .label {
	background: #fff;
	color: var(--of-red);
}

.premium-modal-post h2 {
	margin: 10px 0 8px;
	font-family: var(--of-display);
	font-size: 30px;
	line-height: 1.05;
}

.premium-modal-post p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .9);
}

.premium-modal-post .button {
	background: #fff;
	color: var(--of-red);
}

.premium-modal-links {
	align-self: center;
}

.premium-modal-links h2 {
	margin: 0 0 20px;
	font-size: 30px;
	font-weight: 950;
}

.premium-company-menu {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 800;
}

.premium-modal-open {
	overflow: hidden;
}

.ticker {
	border-bottom: 1px solid var(--of-line);
}

.ticker-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	padding: 14px 0;
}

.ticker-card {
	display: grid;
	gap: 4px;
	font-size: 12px;
}

.label {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	min-height: 18px;
	padding: 0 7px;
	background: var(--of-red);
	color: #fff;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.label.dark {
	background: var(--of-ink);
}

.label.blue {
	background: var(--of-blue);
}

.label.green {
	background: var(--of-green);
}

.section {
	padding: 36px 0;
}

.section.alt {
	background: var(--of-soft);
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 20px;
	border-bottom: 2px solid var(--of-red);
}

.section-heading h2 {
	margin: 0 0 8px;
	font-family: var(--of-display);
	font-size: 30px;
	line-height: 1;
}

.view-all {
	margin-bottom: 9px;
	color: var(--of-red);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.home-lead {
	display: grid;
	grid-template-columns: minmax(190px, .68fr) minmax(320px, 1.55fr) minmax(250px, .92fr) minmax(220px, .75fr);
	gap: 24px;
	padding: 30px 0 26px;
}

.small-list h2,
.sidebar-title {
	margin: 0 0 14px;
	font-family: var(--of-display);
	font-size: 28px;
	line-height: 1;
}

.story-list {
	display: grid;
	gap: 14px;
}

.mini-story {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--of-line);
}

.mini-story h3 {
	margin: 5px 0 4px;
	font-size: 14px;
	line-height: 1.22;
}

.meta {
	color: var(--of-muted);
	font-size: 11px;
	font-weight: 700;
}

.card-image {
	position: relative;
	overflow: hidden;
	background: #ddd;
}

.card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.post-card:hover .card-image img,
.hero-card:hover .card-image img {
	transform: scale(1.04);
}

.hero-card {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.hero-card .card-image {
	position: absolute;
	inset: 0;
}

.hero-card .card-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .78));
}

.hero-copy {
	position: relative;
	z-index: 1;
	padding: 30px;
}

.hero-copy h1 {
	margin: 12px 0 10px;
	font-family: var(--of-display);
	font-size: clamp(34px, 4.2vw, 58px);
	line-height: .94;
}

.hero-copy p {
	margin: 0;
	max-width: 620px;
	color: rgba(255, 255, 255, .84);
	font-size: 16px;
}

.stacked-feature {
	display: grid;
	gap: 18px;
}

.post-card {
	display: grid;
	gap: 10px;
}

.post-card h3 {
	margin: 0;
	font-family: var(--of-display);
	font-size: 21px;
	line-height: 1.08;
}

.post-card.compact {
	grid-template-columns: 92px 1fr;
	align-items: start;
	gap: 12px;
}

.post-card.compact .card-image {
	aspect-ratio: 1.22;
}

.post-card.compact h3 {
	font-family: var(--of-font);
	font-size: 13px;
	line-height: 1.2;
}

.post-card.tall .card-image {
	aspect-ratio: 1.2;
}

.post-card.wide .card-image {
	aspect-ratio: 1.75;
}

.popular-box {
	padding: 18px;
	border: 1px solid var(--of-line);
	box-shadow: 0 12px 26px rgba(0, 0, 0, .06);
}

.numbered-list {
	display: grid;
	gap: 13px;
	counter-reset: popular;
}

.numbered-list article {
	position: relative;
	padding-left: 36px;
}

.numbered-list article::before {
	position: absolute;
	left: 0;
	top: -2px;
	counter-increment: popular;
	content: counter(popular);
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
}

.numbered-list h3 {
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.22;
}

.breaking-section {
	background: #f4f4f4;
	border-top: 1px solid var(--of-line);
	border-bottom: 1px solid var(--of-line);
}

.breaking-wrap {
	position: relative;
	padding: 28px 0 10px;
}

.breaking-label {
	position: absolute;
	top: 0;
	left: 18px;
	z-index: 5;
	padding: 10px 18px;
	background: var(--of-red);
	color: #fff;
	font-family: var(--of-display);
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
}

.breaking-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 34px;
}

.breaking-feature-card {
	position: relative;
	min-height: 330px;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.breaking-feature-image {
	position: absolute;
	inset: 0;
}

.breaking-feature-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .74));
}

.breaking-feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.breaking-feature-card:hover .breaking-feature-image img {
	transform: scale(1.04);
}

.breaking-feature-copy {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 18px;
	z-index: 2;
}

.breaking-feature-copy h2 {
	margin: 10px 0 0;
	font-family: var(--of-font);
	font-size: 24px;
	font-weight: 950;
	line-height: 1.05;
}

.breaking-mini-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px 34px;
}

.breaking-mini-card {
	display: grid;
	grid-template-columns: 1fr 88px;
	gap: 16px;
	align-items: start;
	min-height: 88px;
}

.breaking-mini-card h3 {
	margin: 0 0 9px;
	font-family: var(--of-display);
	font-size: 17px;
	line-height: 1.18;
}

.breaking-mini-card .label {
	background: transparent;
	color: var(--of-red);
	padding: 0;
	min-height: auto;
}

.breaking-mini-image {
	aspect-ratio: 1;
	overflow: hidden;
	background: #ddd;
}

.breaking-mini-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr) 300px;
	gap: 24px;
}

.category-grid.no-sidebar {
	grid-template-columns: repeat(4, 1fr);
}

.politics-showcase {
	background: #fff;
}

.politics-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 40px;
	align-items: start;
}

.politics-heading {
	margin-bottom: 38px;
}

.politics-heading h2 {
	font-family: var(--of-font);
	font-size: 30px;
	font-weight: 950;
}

.politics-lead-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 30px;
}

.politics-lead-card {
	display: grid;
	gap: 12px;
}

.politics-lead-card .card-image {
	aspect-ratio: 1.08;
}

.politics-lead-card h3 {
	margin: 0;
	font-family: var(--of-display);
	font-size: 29px;
	line-height: 1.02;
}

.politics-list-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 26px;
	border-top: 1px solid var(--of-line);
	padding-top: 20px;
}

.politics-list-card h3 {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.25;
}

.politics-sidebar {
	display: grid;
	gap: 28px;
}

.politics-ad {
	position: relative;
	min-height: 424px;
	overflow: hidden;
	padding: 28px;
	background:
		radial-gradient(circle at 70% 8%, rgba(255, 255, 255, .18) 0 58px, transparent 60px),
		radial-gradient(circle at 95% 78%, rgba(239, 48, 56, .72) 0 72px, transparent 74px),
		linear-gradient(150deg, #095da9, #193377 52%, #141126);
	color: #fff;
}

.politics-ad::after {
	content: "";
	position: absolute;
	right: -20px;
	bottom: -18px;
	width: 230px;
	height: 230px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(239, 48, 56, .9), rgba(255, 189, 58, .35));
}

.politics-ad p {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 24px;
	font-weight: 950;
	line-height: 1.05;
	text-transform: uppercase;
}

.politics-ad strong {
	position: relative;
	z-index: 1;
	display: block;
	margin-top: 30px;
	color: #fff200;
	font-size: 70px;
	font-weight: 950;
	line-height: .9;
}

.politics-ad .button {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 2;
	min-width: 165px;
	background: #2488ff;
	transform: translateX(-50%);
}

.politics-subscribe h3 {
	margin: 0 0 14px;
	font-size: 24px;
	font-weight: 950;
}

.politics-subscribe input[type="email"] {
	width: 100%;
	height: 48px;
	margin-bottom: 12px;
	padding: 0 14px;
	border: 1px solid var(--of-line);
	font: inherit;
}

.politics-subscribe .button {
	width: 100%;
	min-height: 50px;
}

.privacy-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--of-muted);
	font-size: 13px;
}

.celebrity-showcase {
	position: relative;
	overflow: hidden;
	background: #f7f7f7;
}

.celebrity-heading {
	position: relative;
	margin-bottom: 38px;
	text-align: center;
}

.celebrity-heading span {
	position: absolute;
	left: 50%;
	top: -42px;
	z-index: 0;
	color: rgba(20, 20, 20, .035);
	font-size: clamp(58px, 10vw, 104px);
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
	transform: translateX(-50%);
	pointer-events: none;
}

.celebrity-heading h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 30px;
	font-weight: 950;
}

.celebrity-feature-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 42px;
	margin-bottom: 22px;
}

.celebrity-feature-card {
	display: grid;
	grid-template-columns: 1.12fr 1fr;
	gap: 22px;
	align-items: center;
}

.celebrity-feature-card .card-image {
	aspect-ratio: 1.45;
}

.celebrity-feature-copy h3 {
	margin: 0 0 10px;
	font-family: var(--of-display);
	font-size: 28px;
	line-height: 1.08;
}

.celebrity-card-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.celebrity-card {
	display: grid;
	gap: 12px;
}

.celebrity-card .card-image {
	aspect-ratio: 1.25;
}

.celebrity-card h3 {
	margin: 0 0 4px;
	font-family: var(--of-display);
	font-size: 18px;
	line-height: 1.2;
}

.food-travel-showcase {
	background: #fff;
}

.food-travel-heading h2 {
	font-family: var(--of-font);
	font-size: 30px;
	font-weight: 950;
}

.food-lead-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 28px;
}

.food-lead-card {
	display: grid;
	gap: 12px;
}

.food-lead-card .card-image {
	aspect-ratio: 1.5;
}

.food-lead-card h3 {
	margin: 0 0 9px;
	font-size: 16px;
	line-height: 1.22;
}

.food-mini-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px 28px;
	padding-top: 22px;
	border-top: 1px solid var(--of-line);
}

.food-mini-card {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 14px;
	align-items: start;
	min-height: 82px;
}

.food-mini-image {
	aspect-ratio: 1.22;
	overflow: hidden;
	background: #ddd;
}

.food-mini-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.food-mini-card h3 {
	margin: 0;
	font-family: var(--of-display);
	font-size: 15px;
	line-height: 1.18;
}

.food-mini-card .label {
	margin-bottom: 5px;
}

.food-banner-ad {
	width: min(880px, 100%);
	min-height: 94px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin: 46px auto 0;
	padding: 18px 36px;
	background:
		radial-gradient(circle at 78% 32%, rgba(255, 255, 255, .16) 0 44px, transparent 46px),
		linear-gradient(120deg, #1775d1 0 18%, #111338 18% 39%, #d40043 39% 74%, #261044);
	color: #fff;
}

.food-banner-ad span {
	display: block;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.food-banner-ad strong {
	display: block;
	font-size: 24px;
	font-weight: 950;
	text-transform: uppercase;
}

.food-banner-ad em {
	display: block;
	color: rgba(255, 255, 255, .82);
	font-size: 12px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0;
}

.food-banner-ad .button {
	background: #2488ff;
	white-space: nowrap;
}

.exclusive-content-section {
	background: #f4f4f4;
}

.exclusive-content-wrap {
	position: relative;
	padding: 28px;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .05);
}

.exclusive-content-label {
	position: absolute;
	top: 0;
	left: 28px;
	z-index: 3;
	padding: 10px 18px;
	background: var(--of-red);
	color: #fff;
	font-family: var(--of-display);
	font-size: 20px;
	font-style: italic;
	font-weight: 900;
	line-height: 1;
}

.exclusive-content-grid {
	display: grid;
	grid-template-columns: .92fr 1.25fr;
	gap: 18px;
}

.exclusive-hero-card {
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.exclusive-hero-image {
	position: absolute;
	inset: 0;
}

.exclusive-hero-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .78));
}

.exclusive-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.exclusive-hero-card:hover .exclusive-hero-image img {
	transform: scale(1.04);
}

.exclusive-hero-copy {
	position: relative;
	z-index: 1;
	padding: 28px;
}

.exclusive-hero-copy h2 {
	margin: 10px 0;
	font-size: clamp(28px, 3.2vw, 38px);
	font-weight: 950;
	line-height: 1.08;
}

.exclusive-hero-copy p {
	margin: 0;
	max-width: 520px;
	color: rgba(255, 255, 255, .9);
	font-weight: 700;
}

.exclusive-side-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 18px;
}

.exclusive-side-card {
	display: grid;
	gap: 12px;
}

.exclusive-side-card .card-image {
	aspect-ratio: 1.72;
}

.exclusive-side-card h3 {
	margin: 6px 0 0;
	font-family: var(--of-display);
	font-size: 17px;
	line-height: 1.18;
}

.exclusive-side-card .label + .label {
	margin-left: 6px;
}

.article-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.article-grid.three {
	grid-template-columns: repeat(3, 1fr);
}

.wide-editorial {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	gap: 28px;
	align-items: stretch;
}

.poster-card {
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	position: relative;
	overflow: hidden;
	background: #111;
	color: #fff;
}

.poster-card .card-image {
	position: absolute;
	inset: 0;
}

.poster-card .card-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .76));
}

.poster-copy {
	position: relative;
	z-index: 1;
	padding: 28px;
}

.poster-copy h2 {
	margin: 10px 0;
	font-family: var(--of-display);
	font-size: clamp(34px, 4vw, 52px);
	line-height: .98;
}

.two-column-posts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.recent-showcase {
	background: #fff;
}

.recent-showcase-heading {
	position: relative;
	margin-bottom: 34px;
	text-align: center;
}

.recent-showcase-heading span {
	position: absolute;
	left: 50%;
	top: -36px;
	z-index: 0;
	color: rgba(20, 20, 20, .035);
	font-size: clamp(54px, 9vw, 96px);
	font-weight: 950;
	line-height: 1;
	text-transform: uppercase;
	transform: translateX(-50%);
	pointer-events: none;
}

.recent-showcase-heading h2 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 24px;
	font-weight: 950;
}

.recent-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 32px;
}

.lead-recent {
	display: grid;
	grid-template-columns: .96fr 1fr;
	gap: 26px;
	align-items: center;
	margin-bottom: 24px;
}

.lead-recent .card-image {
	aspect-ratio: 1.45;
}

.lead-recent h2 {
	margin: 0 0 10px;
	font-family: var(--of-display);
	font-size: clamp(30px, 3.3vw, 42px);
	line-height: .98;
}

.recent-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 20px;
}

.recent-card {
	display: grid;
	gap: 8px;
}

.recent-card .card-image {
	aspect-ratio: 1.42;
}

.recent-card h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.2;
}

.recent-marketing-sidebar {
	padding: 0 0 18px;
}

.recent-marketing-sidebar h2 {
	margin: 0 0 14px;
	font-family: var(--of-display);
	font-size: 28px;
}

.marketing-feature-card {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	margin-bottom: 20px;
	background: #111;
	color: #fff;
}

.marketing-feature-card .card-image {
	position: absolute;
	inset: 0;
}

.marketing-feature-card .card-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .78));
}

.marketing-feature-card .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.marketing-feature-card > div {
	position: relative;
	z-index: 1;
	padding: 18px;
}

.marketing-feature-card h3 {
	margin: 8px 0 6px;
	font-size: 17px;
	line-height: 1.12;
}

.marketing-link-list {
	display: grid;
	gap: 14px;
}

.marketing-link-list article {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--of-line);
}

.marketing-link-list h3 {
	margin: 0 0 5px;
	font-size: 13px;
	line-height: 1.28;
}

.marketing-link-list .label {
	background: transparent;
	color: var(--of-red);
	padding: 0;
	min-height: auto;
}

.ad-box,
.newsletter {
	padding: 22px;
	background: linear-gradient(135deg, #0d65d9, #d90040 68%, #ffbd3a);
	color: #fff;
}

.ad-box h3,
.newsletter h3 {
	margin: 0 0 8px;
	font-family: var(--of-display);
	font-size: 28px;
	line-height: 1;
}

.ad-box p,
.newsletter p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .86);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.newsletter input[type="email"] {
	width: 100%;
	height: 42px;
	margin-bottom: 10px;
	padding: 0 12px;
	border: 0;
	font: inherit;
}

.site-main {
	padding-bottom: 28px;
}

.content-area {
	width: min(930px, calc(100% - 32px));
	margin: 42px auto;
}

.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	margin: 0 0 12px;
	font-family: var(--of-display);
	font-size: clamp(38px, 6vw, 70px);
	line-height: .96;
}

.entry-featured {
	margin: 24px 0;
	aspect-ratio: 1.75;
	overflow: hidden;
}

.entry-featured img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.entry-content {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	line-height: 1.75;
}

.entry-content a {
	color: var(--of-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.single-post-page {
	background: #fff;
}

.single-hero {
	position: relative;
	width: min(1240px, calc(100% - 32px));
	min-height: 570px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin: 0 auto;
	overflow: hidden;
	background: #111;
	color: #fff;
	text-align: center;
}

.single-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .74));
}

.single-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero-copy {
	position: relative;
	z-index: 1;
	width: min(900px, calc(100% - 40px));
	padding: 0 0 44px;
}

.single-hero-copy h1 {
	margin: 16px 0 0;
	font-family: var(--of-display);
	font-size: clamp(38px, 5vw, 64px);
	line-height: 1.03;
}

.single-meta-bar {
	display: flex;
	justify-content: center;
	gap: 56px;
	padding: 14px 0;
	border-bottom: 1px solid var(--of-line);
	font-size: 12px;
	text-transform: uppercase;
}

.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) 330px;
	gap: 40px;
	align-items: start;
	padding: 28px 0 42px;
}

.single-article {
	min-width: 0;
}

.single-entry-content {
	font-size: 18px;
	line-height: 1.85;
}

.single-entry-content p {
	margin: 0 0 22px;
}

.single-entry-content figure {
	margin: 30px 0;
}

.single-entry-content figure img,
.single-entry-content > img {
	width: 100%;
	height: auto;
}

.single-entry-content blockquote {
	margin: 34px auto;
	max-width: 720px;
	color: var(--of-red);
	font-family: var(--of-display);
	font-size: clamp(28px, 3.4vw, 42px);
	font-style: italic;
	font-weight: 900;
	line-height: 1.08;
	text-align: center;
}

.single-sidebar {
	display: grid;
	gap: 24px;
}

.single-widget {
	padding: 20px;
	border: 1px solid var(--of-line);
	background: #fff;
}

.single-widget h2,
.single-subscribe h2 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 950;
}

.share-widget {
	text-align: center;
}

.share-buttons {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.share-buttons a {
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	background: var(--of-red);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.single-subscribe input[type="email"] {
	width: 100%;
	height: 42px;
	margin-bottom: 10px;
	padding: 0 12px;
	border: 1px solid var(--of-line);
	font: inherit;
}

.single-subscribe .button {
	width: 100%;
}

.single-ad {
	min-height: 390px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	background:
		radial-gradient(circle at 80% 75%, rgba(239, 48, 56, .8) 0 72px, transparent 74px),
		linear-gradient(145deg, #1264b5, #24245d 48%, #d40043 78%, #ff8d35);
	color: #fff;
}

.single-ad h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 950;
	text-transform: uppercase;
}

.single-ad p {
	margin: 8px 0 auto;
	font-weight: 800;
}

.single-ad .button {
	align-self: center;
	background: #2488ff;
}

.single-popular-list {
	display: grid;
	gap: 14px;
}

.single-popular-list article {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 12px;
	align-items: start;
}

.single-popular-image {
	aspect-ratio: 1.2;
	overflow: hidden;
	background: #ddd;
}

.single-popular-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-popular-list h3 {
	margin: 5px 0 0;
	font-size: 13px;
	line-height: 1.22;
}

.single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 30px 0;
	padding-top: 18px;
	border-top: 1px solid var(--of-line);
}

.single-tags strong,
.single-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.single-tags a {
	background: #f0f0f0;
	color: #333;
}

.single-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 0 0 34px;
}

.single-post-nav div {
	padding: 18px;
	background: #f6f6f6;
}

.single-post-nav span {
	display: block;
	margin-bottom: 8px;
	color: var(--of-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.single-post-nav a {
	font-weight: 900;
	line-height: 1.25;
}

.author-box {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	margin: 34px 0;
	padding: 26px 0;
	border-top: 1px solid var(--of-line);
	border-bottom: 1px solid var(--of-line);
}

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

.author-box h2 {
	margin: 0 0 8px;
	font-size: 22px;
}

.author-box p {
	margin: 0 0 14px;
	color: var(--of-muted);
}

.comments-area {
	margin: 34px 0;
}

.comments-area h2,
.comment-reply-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 950;
	text-transform: uppercase;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
	display: none;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
	width: 100%;
	border: 1px solid var(--of-line);
	padding: 12px;
	font: inherit;
}

.comment-form textarea {
	min-height: 180px;
}

.comment-form .submit {
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.more-like-this {
	padding: 16px 0 46px;
}

.related-post-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.related-card .card-image {
	aspect-ratio: 1.45;
}

.related-card h3 {
	margin: 9px 0 5px;
	font-size: 14px;
	line-height: 1.2;
}

.archive-header {
	margin: 38px auto 18px;
	width: min(1180px, calc(100% - 32px));
}

.archive-header h1 {
	margin: 0;
	font-family: var(--of-display);
	font-size: clamp(38px, 5vw, 64px);
}

.category-premium-page {
	background: #fff;
}

.category-premium-hero {
	position: relative;
	overflow: hidden;
	padding: 54px 0 58px;
	background:
		radial-gradient(circle at 88% 20%, rgba(239, 48, 56, .18) 0 130px, transparent 132px),
		linear-gradient(135deg, #111 0%, #202020 52%, #f1f1ef 52%, #f1f1ef 100%);
	color: #fff;
}

.category-premium-hero::after {
	content: "";
	position: absolute;
	right: 7%;
	bottom: -42px;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	background: rgba(255, 189, 58, .22);
}

.category-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 210px;
	gap: 36px;
	align-items: end;
}

.category-breadcrumb {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.category-breadcrumb a {
	color: #fff;
}

.category-kicker,
.category-section-label {
	margin: 0 0 10px;
	color: var(--of-red);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.category-hero-copy h1 {
	margin: 0;
	font-family: var(--of-display);
	font-size: clamp(48px, 7vw, 92px);
	line-height: .9;
}

.category-hero-copy p,
.category-description {
	max-width: 720px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, .82);
	font-size: 18px;
	line-height: 1.6;
}

.category-count-box {
	display: grid;
	gap: 4px;
	padding: 24px;
	background: #fff;
	color: var(--of-ink);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.category-count-box strong {
	font-family: var(--of-display);
	font-size: 58px;
	line-height: .9;
}

.category-count-box span {
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.category-premium-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 42px;
	align-items: start;
	padding: 42px 0 54px;
}

.category-featured-section {
	margin-bottom: 44px;
}

.category-featured-card {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	background: #f5f5f3;
	overflow: hidden;
}

.category-featured-image {
	min-height: 430px;
	overflow: hidden;
	background: #ddd;
}

.category-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.category-featured-card:hover .category-featured-image img {
	transform: scale(1.04);
}

.category-featured-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px;
}

.category-featured-copy h2 {
	margin: 12px 0 14px;
	font-family: var(--of-display);
	font-size: clamp(34px, 4vw, 52px);
	line-height: .98;
}

.category-featured-copy p {
	margin: 0 0 20px;
	color: var(--of-muted);
	font-size: 16px;
}

.category-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	color: var(--of-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.category-read-more,
.category-card-link {
	width: fit-content;
	display: inline-flex;
	align-items: center;
	margin-top: 22px;
	color: var(--of-red);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.category-posts-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 22px;
	border-bottom: 2px solid var(--of-red);
}

.category-posts-heading h2 {
	margin: 0 0 10px;
	font-family: var(--of-display);
	font-size: 34px;
	line-height: 1;
}

.category-post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 22px;
}

.category-archive-card {
	display: grid;
	gap: 12px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--of-line);
}

.category-archive-card .card-image {
	aspect-ratio: 1.42;
}

.category-archive-card h3 {
	margin: 8px 0 8px;
	font-family: var(--of-display);
	font-size: 23px;
	line-height: 1.08;
}

.category-archive-card p {
	margin: 0 0 14px;
	color: var(--of-muted);
	font-size: 14px;
}

.category-card-link {
	margin-top: 12px;
}

.category-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
}

.category-pagination .page-numbers {
	min-width: 38px;
	height: 38px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--of-line);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.category-pagination .current,
.category-pagination a:hover {
	background: var(--of-red);
	border-color: var(--of-red);
	color: #fff;
}

.category-empty-state {
	padding: 34px;
	background: #f5f5f3;
}

.category-empty-state h2 {
	margin: 0 0 8px;
	font-family: var(--of-display);
	font-size: 32px;
}

.category-sidebar {
	display: grid;
	gap: 24px;
}

.category-sidebar-block {
	padding: 22px;
	border: 1px solid var(--of-line);
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
}

.category-sidebar-block h2 {
	margin: 0 0 16px;
	font-family: var(--of-display);
	font-size: 26px;
	line-height: 1;
}

.category-sidebar-list {
	display: grid;
	gap: 16px;
}

.category-sidebar-story {
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 12px;
	align-items: start;
}

.category-sidebar-thumb {
	aspect-ratio: 1.15;
	overflow: hidden;
	background: #ddd;
}

.category-sidebar-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.category-sidebar-story h3,
.category-latest-list h3 {
	margin: 5px 0;
	font-size: 13px;
	line-height: 1.22;
}

.category-sidebar-story span,
.category-latest-list span {
	color: var(--of-muted);
	font-size: 11px;
	font-weight: 800;
}

.category-subscribe-block {
	background: #111;
	color: #fff;
}

.category-subscribe-block p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .75);
}

.category-subscribe-block input[type="email"] {
	width: 100%;
	height: 42px;
	margin-bottom: 10px;
	padding: 0 12px;
	border: 0;
	font: inherit;
}

.category-subscribe-block .button {
	width: 100%;
}

.category-ad-block {
	min-height: 270px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background:
		radial-gradient(circle at 80% 22%, rgba(255, 255, 255, .18) 0 70px, transparent 72px),
		linear-gradient(145deg, #0d65d9, #21205b 50%, #d40043 78%, #ffbd3a);
	color: #fff;
}

.category-ad-block span {
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
}

.category-ad-block h2 {
	max-width: 250px;
	color: #fff;
	font-family: var(--of-font);
	font-size: 28px;
	line-height: 1.05;
	text-transform: uppercase;
}

.category-ad-block .button {
	width: fit-content;
	background: #2488ff;
}

.category-latest-list {
	display: grid;
	gap: 14px;
}

.category-latest-list article {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--of-line);
}

.category-latest-list article:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.category-explore-list {
	display: grid;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
}

.category-explore-list li {
	color: var(--of-muted);
	font-size: 13px;
}

.site-footer {
	margin-top: 30px;
	padding: 42px 0 26px;
	background: #ededeb;
	border-top: 1px solid #d6d6d2;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr .8fr 1.2fr 1fr;
	gap: 30px;
}

.footer-brand {
	display: inline-flex;
	margin: 0 0 14px;
}

.footer-brand img {
	width: min(230px, 100%);
	height: auto;
	max-height: 82px;
	object-fit: contain;
}

.footer-col h3 {
	margin: 0 0 12px;
	font-size: 13px;
	text-transform: uppercase;
}

.footer-col p,
.footer-col li {
	color: #555;
	font-size: 13px;
}

.footer-menu {
	display: grid;
	gap: 8px;
	align-items: start;
}

.copyright {
	margin: 32px 0 0;
	padding-top: 18px;
	border-top: 1px solid #d2d2cf;
	color: #666;
	font-size: 12px;
	text-align: center;
}

.site-footer {
	margin-top: 0;
	padding: 22px 0 0;
	background: #ededeb;
	border-top: 0;
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 0 0 14px;
	border-bottom: 2px solid var(--of-ink);
}

.footer-top-logo {
	margin: 0;
}

.footer-top-logo img {
	width: 190px;
	max-height: 72px;
}

.footer-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.footer-grid {
	grid-template-columns: 1.15fr .72fr 1.2fr 1fr;
	gap: 52px;
	padding: 28px 0 34px;
}

.footer-col h3 {
	margin: 0 0 14px;
	color: #0f0f0f;
	font-size: 17px;
	font-weight: 950;
	text-transform: none;
}

.footer-col p,
.footer-col li {
	color: #1f1f1f;
	font-size: 13px;
	line-height: 1.35;
}

.footer-about p {
	max-width: 280px;
	margin: 0 0 20px;
}

.footer-menu {
	gap: 8px;
	font-size: 13px;
}

.footer-latest p {
	margin: 0 0 13px;
}

.footer-social {
	gap: 8px;
}

.footer-social a {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	background: #000;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
}

.footer-subscribe input[type="email"] {
	width: 100%;
	height: 42px;
	margin-bottom: 10px;
	padding: 0 12px;
	border: 0;
	background: #fff;
	font: inherit;
}

.footer-subscribe .button {
	width: 100%;
	min-height: 42px;
	background: #000;
	color: #fff;
}

.footer-privacy {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: #555;
	font-size: 12px;
	line-height: 1.35;
}

.footer-privacy input {
	width: 14px;
	height: 14px;
	margin: 0;
}

.copyright {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 16px 0;
	border-top: 1px solid #d2d2cf;
	color: #555;
	font-size: 12px;
}

.office59-ad-slot {
	margin: 34px 0;
}

.office59-ad-wrap {
	display: block;
}

.office59-ad-card {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 26px;
	align-items: center;
	min-height: 118px;
	overflow: hidden;
	padding: 24px;
	border: 1px solid rgba(17, 17, 17, .12);
	border-radius: 8px;
	background:
		linear-gradient(90deg, rgba(239, 48, 56, .08), transparent 38%),
		#f7f7f5;
	color: var(--of-ink);
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .045);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a.office59-ad-card:hover,
a.office59-ad-card:focus-visible {
	border-color: rgba(239, 48, 56, .44);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

.office59-ad-media {
	order: 2;
	height: 100%;
	min-height: 96px;
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #ddd;
}

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

.office59-ad-placeholder {
	order: 2;
	display: grid;
	min-height: 112px;
	place-items: center;
	border-radius: 6px;
	background:
		linear-gradient(135deg, #111 0 45%, #ef3038 45% 72%, #ffbd3a 72%);
	color: #fff;
}

.office59-ad-placeholder span {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	border: 2px solid rgba(255, 255, 255, .8);
	border-radius: 50%;
	font-size: 14px;
	font-weight: 950;
}

.office59-ad-copy {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.office59-ad-label {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--of-red);
	font-size: 11px;
	font-weight: 950;
	text-transform: uppercase;
}

.office59-ad-copy h2 {
	margin: 0;
	font-family: var(--of-display);
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1;
	letter-spacing: 0;
}

.office59-ad-copy p {
	max-width: 620px;
	margin: 10px 0 0;
	color: var(--of-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.55;
}

.office59-ad-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	margin-top: 16px;
	padding: 0 16px;
	border-radius: 5px;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.office59-ad-slot--sidebar,
.office59-ad-slot--inline {
	margin: 0;
}

.office59-ad-slot--sidebar .office59-ad-card {
	grid-template-columns: 1fr;
	min-height: 270px;
	padding: 22px;
	background:
		radial-gradient(circle at 86% 18%, rgba(239, 48, 56, .13) 0 56px, transparent 58px),
		#f7f7f5;
}

.office59-ad-slot--sidebar .office59-ad-media,
.office59-ad-slot--sidebar .office59-ad-placeholder {
	order: 0;
	min-height: 155px;
	aspect-ratio: 1.35;
}

.office59-ad-slot--sidebar .office59-ad-copy h2 {
	font-family: var(--of-font);
	font-size: 22px;
	font-weight: 950;
	line-height: 1.08;
	text-transform: uppercase;
}

.office59-ad-slot--inline {
	margin: 26px 0;
}

.office59-ad-slot--inline .office59-ad-card {
	grid-template-columns: 118px minmax(0, 1fr);
	min-height: 0;
	padding: 18px;
	background: #fbfbfa;
	box-shadow: none;
}

.office59-ad-slot--inline .office59-ad-media,
.office59-ad-slot--inline .office59-ad-placeholder {
	order: 0;
	min-height: 94px;
	aspect-ratio: 1.2;
}

.office59-ad-slot--inline .office59-ad-copy h2 {
	font-family: var(--of-font);
	font-size: 19px;
	font-weight: 950;
	line-height: 1.12;
}

.home-top-ad {
	margin-top: 22px;
}

.home-bottom-ad,
.single-bottom-ad {
	margin: 42px 0 48px;
}

.single-top-ad {
	margin: 22px 0 0;
}

.archive-top-ad {
	margin-top: 18px;
}

.office59-ad-slot.politics-ad,
.office59-ad-slot.single-ad,
.office59-ad-slot.category-ad-block,
.office59-ad-slot.food-banner-ad {
	display: block;
	min-height: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	color: inherit;
	box-shadow: none;
}

.office59-ad-slot.politics-ad::after {
	display: none;
}

.office59-ad-slot.food-banner-ad {
	width: min(920px, 100%);
	margin: 46px auto 0;
}

.office59-ad-slot.food-banner-ad .office59-ad-card {
	background:
		linear-gradient(120deg, rgba(23, 117, 209, .16), rgba(239, 48, 56, .13)),
		#111;
	color: #fff;
}

.office59-ad-slot.food-banner-ad .office59-ad-copy p,
.office59-ad-slot.food-banner-ad .office59-ad-label {
	color: rgba(255, 255, 255, .78);
}

.office59-ad-slot.food-banner-ad .office59-ad-copy h2 {
	color: #fff;
}

.office59-ad-slot.single-ad .office59-ad-card,
.office59-ad-slot.category-ad-block .office59-ad-card {
	min-height: 300px;
}

.search-premium-page {
	background: #fff;
}

.search-premium-hero {
	position: relative;
	overflow: hidden;
	padding: 52px 0 46px;
	background:
		linear-gradient(90deg, rgba(239, 48, 56, .94) 0 5px, transparent 5px),
		linear-gradient(135deg, #101010 0%, #1f1f1f 62%, #f4f4f2 62%, #f4f4f2 100%);
	color: #fff;
}

.search-premium-hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 38%;
	height: 6px;
	background: var(--of-red);
}

.search-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 220px;
	gap: 28px 36px;
	align-items: end;
}

.search-breadcrumb {
	grid-column: 1 / -1;
}

.search-hero-copy h1 {
	margin: 0;
	font-family: var(--of-display);
	font-size: clamp(48px, 7vw, 90px);
	line-height: .9;
	letter-spacing: 0;
}

.search-hero-copy p:not(.category-kicker) {
	max-width: 760px;
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .84);
	font-size: 18px;
	line-height: 1.55;
}

.search-count-box {
	display: grid;
	gap: 6px;
	padding: 24px;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 8px;
	background: #fff;
	color: var(--of-ink);
	box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.search-count-box strong {
	font-family: var(--of-display);
	font-size: 58px;
	line-height: .88;
}

.search-count-box span {
	font-size: 12px;
	font-weight: 950;
	line-height: 1.25;
	text-transform: uppercase;
}

.search-page-form {
	grid-column: 1 / -1;
	display: flex;
	gap: 10px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 45px rgba(0, 0, 0, .2);
}

.search-page-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 54px;
	padding: 0 18px;
	border: 1px solid var(--of-line);
	border-radius: 6px;
	background: #fafafa;
	color: var(--of-ink);
	font: inherit;
	font-size: 16px;
	outline: none;
}

.search-page-form input[type="search"]:focus {
	border-color: var(--of-red);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(239, 48, 56, .12);
}

.search-page-form button {
	min-width: 136px;
	min-height: 54px;
	border: 0;
	border-radius: 6px;
	background: var(--of-red);
	color: #fff;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.search-page-form button:hover,
.search-page-form button:focus-visible {
	background: #111;
	transform: translateY(-1px);
}

.search-premium-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 42px;
	align-items: start;
	padding: 42px 0 56px;
}

.layout-no-sidebar {
	grid-template-columns: 1fr !important;
}

.layout-no-sidebar .category-main-column,
.layout-no-sidebar .search-results-column {
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}

.search-results-heading {
	margin-bottom: 24px;
	border-bottom: 2px solid var(--of-red);
}

.search-results-heading h2 {
	margin: 0 0 14px;
	font-family: var(--of-display);
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1;
}

.search-result-list {
	display: grid;
	gap: 22px;
}

.search-result-card {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 24px;
	padding: 18px;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .04);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.search-result-card:hover {
	border-color: rgba(239, 48, 56, .38);
	box-shadow: 0 18px 42px rgba(0, 0, 0, .09);
	transform: translateY(-2px);
}

.search-result-image {
	display: block;
	aspect-ratio: 1.32;
	overflow: hidden;
	border-radius: 6px;
	background: #ddd;
}

.search-result-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.search-result-card:hover .search-result-image img {
	transform: scale(1.04);
}

.search-result-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.search-result-copy h3 {
	margin: 10px 0 10px;
	font-family: var(--of-display);
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.02;
	letter-spacing: 0;
}

.search-result-copy p {
	margin: 0 0 14px;
	color: var(--of-muted);
	font-size: 15px;
	line-height: 1.62;
}

.search-sidebar {
	display: grid;
	gap: 24px;
}

.search-sidebar .category-sidebar-block {
	border-radius: 8px;
}

.search-sidebar .category-subscribe-block {
	background: #111;
	color: #fff;
}

.search-sidebar .category-subscribe-block p {
	color: rgba(255, 255, 255, .74);
}

.search-sidebar input[type="email"] {
	width: 100%;
	min-height: 44px;
	margin-bottom: 10px;
	padding: 0 12px;
	border: 1px solid transparent;
	border-radius: 5px;
	font: inherit;
}

.search-sidebar .button {
	width: 100%;
	min-height: 42px;
	border-radius: 5px;
}

.search-category-block ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-category-block li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--of-line);
	color: var(--of-muted);
	font-size: 12px;
	font-weight: 900;
}

.search-category-block li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.search-category-block a {
	color: var(--of-ink);
	font-size: 14px;
	font-weight: 950;
	text-transform: uppercase;
}

.search-category-block a:hover,
.search-category-block a:focus-visible {
	color: var(--of-red);
}

.search-no-results {
	padding: 34px;
	border: 1px solid var(--of-line);
	border-radius: 8px;
	background:
		linear-gradient(90deg, rgba(239, 48, 56, .09), transparent 42%),
		#f6f6f4;
}

.search-no-results h2 {
	margin: 0 0 10px;
	font-family: var(--of-display);
	font-size: clamp(36px, 5vw, 54px);
	line-height: .98;
}

.search-no-results p {
	max-width: 680px;
	margin: 0 0 22px;
	color: var(--of-muted);
	font-size: 16px;
	line-height: 1.6;
}

.search-page-form-compact {
	margin-bottom: 28px;
	border-color: var(--of-line);
	box-shadow: none;
}

.search-suggestions,
.search-latest-strip {
	margin-top: 24px;
}

.search-suggestions h3,
.search-latest-strip h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 950;
}

.search-suggestions ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-suggestions li {
	margin: 0;
}

.search-suggestions a {
	display: inline-flex;
	min-height: 34px;
	align-items: center;
	padding: 0 12px;
	border-radius: 5px;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.search-suggestions a:hover,
.search-suggestions a:focus-visible {
	background: var(--of-red);
}

.search-latest-strip {
	display: grid;
	gap: 12px;
}

.search-latest-strip article {
	padding-bottom: 12px;
	border-bottom: 1px solid var(--of-line);
}

.search-latest-strip a {
	display: block;
	font-weight: 900;
	line-height: 1.25;
}

.search-latest-strip span {
	display: block;
	margin-top: 4px;
	color: var(--of-muted);
	font-size: 12px;
}

.search-pagination {
	margin-top: 30px;
}

.search-pagination .navigation {
	width: 100%;
	margin: 0;
}

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

.search-pagination .page-numbers {
	display: inline-grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid var(--of-line);
	border-radius: 5px;
	background: #fff;
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.search-pagination .current,
.search-pagination a:hover,
.search-pagination a:focus-visible {
	border-color: var(--of-red);
	background: var(--of-red);
	color: #fff;
}

@media (max-width: 1080px) {
	.category-hero-inner,
	.category-premium-layout,
	.category-featured-card,
	.search-hero-inner,
	.search-premium-layout {
		grid-template-columns: 1fr;
	}

	.category-premium-hero,
	.search-premium-hero {
		background: linear-gradient(135deg, #111, #262626);
	}

	.category-premium-layout,
	.search-premium-layout {
		padding-top: 30px;
	}

	.category-sidebar,
	.search-sidebar {
		grid-template-columns: repeat(2, 1fr);
	}

	.office59-ad-card {
		grid-template-columns: minmax(0, 1fr) 220px;
	}

	.category-featured-image {
		min-height: 360px;
	}

	.category-featured-copy {
		padding: 28px;
	}

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

@media (max-width: 760px) {
	.category-premium-hero,
	.search-premium-hero {
		padding: 34px 0 38px;
	}

	.category-breadcrumb {
		font-size: 11px;
	}

	.category-hero-copy h1 {
		font-size: clamp(42px, 14vw, 60px);
	}

	.search-hero-copy h1 {
		font-size: clamp(42px, 14vw, 62px);
	}

	.category-hero-copy p,
	.category-description,
	.search-hero-copy p:not(.category-kicker) {
		font-size: 16px;
	}

	.category-count-box,
	.search-count-box {
		padding: 18px;
	}

	.category-featured-image {
		min-height: 280px;
	}

	.category-featured-copy {
		padding: 22px;
	}

	.category-sidebar,
	.category-post-grid,
	.search-sidebar,
	.search-page-form,
	.search-result-card {
		grid-template-columns: 1fr;
	}

	.search-page-form {
		display: grid;
	}

	.search-result-card {
		gap: 14px;
		padding: 14px;
	}

	.search-result-copy h3 {
		font-size: 25px;
	}

	.search-no-results {
		padding: 22px;
	}

	.office59-ad-card,
	.office59-ad-slot--inline .office59-ad-card {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 18px;
	}

	.office59-ad-media,
	.office59-ad-placeholder,
	.office59-ad-slot--inline .office59-ad-media,
	.office59-ad-slot--inline .office59-ad-placeholder {
		order: 0;
		min-height: 140px;
	}

	.office59-ad-slot--inline .office59-ad-media,
	.office59-ad-slot--inline .office59-ad-placeholder {
		height: 128px;
		min-height: 128px;
		aspect-ratio: auto;
	}

	.office59-ad-copy h2 {
		font-size: 25px;
	}

	.category-posts-heading {
		display: block;
	}
}

@media (max-width: 1080px) {
	.home-lead,
	.category-grid,
		.politics-layout,
		.exclusive-content-grid,
		.recent-layout,
		.single-layout,
		.wide-editorial {
		grid-template-columns: 1fr;
	}

	.hero-card,
	.poster-card {
		min-height: 470px;
	}

	.article-grid,
		.category-grid.no-sidebar,
		.politics-lead-grid,
		.celebrity-card-grid,
		.food-lead-grid,
		.food-mini-grid,
		.recent-card-grid,
		.related-post-grid,
		.feature-row,
		.breaking-feature-grid,
		.ticker-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.breaking-mini-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.politics-list-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.politics-sidebar {
		grid-template-columns: 1fr 1fr;
	}

	.celebrity-feature-grid {
		gap: 28px;
	}

	.celebrity-feature-card {
		grid-template-columns: 1fr;
	}

	.food-banner-ad {
		width: 100%;
	}

	.exclusive-hero-card {
		min-height: 480px;
	}

	.popular-box {
		box-shadow: none;
	}
}

@media (max-width: 760px) {
	.wrap {
		width: min(100% - 22px, 1180px);
	}

	.top-line,
	.header-actions {
		display: none;
	}

	.brand-line {
		padding: 18px 0;
	}

	.brand-line .wrap {
		gap: 8px;
	}

	.premium-menu-trigger,
	.brand-spacer {
		width: 62px;
		flex-basis: 62px;
	}

	.premium-menu-trigger {
		font-size: 0;
	}

	.header-office-tools {
		display: none;
	}

	.premium-menu-icon {
		width: 20px;
	}

	.site-title {
		font-size: 48px;
	}

	.site-logo-img {
		width: min(320px, 82vw);
		max-height: 96px;
	}

	.nav-line .wrap {
		flex-wrap: wrap;
		padding: 6px 0;
	}

	.menu-toggle {
		display: inline-grid;
		place-items: center;
	}

	.menu-list {
		display: none;
		width: 100%;
		order: 3;
		padding: 10px 0 14px;
		border-top: 1px solid var(--of-line);
	}

	.menu-list.is-open {
		display: grid;
		gap: 10px;
		justify-content: start;
	}

	.search-form {
		flex: 1;
	}

	.header-search {
		margin-left: auto;
	}

	.search-popover {
		position: fixed;
		top: 132px;
		left: 11px;
		right: 11px;
		width: auto;
	}

	.search-popover::before {
		right: 24px;
	}

	.premium-modal {
		padding: 18px 11px;
		overflow-y: auto;
	}

	.premium-modal-panel {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 22px;
	}

	.premium-modal-post {
		padding: 18px;
	}

	.home-lead {
		padding-top: 20px;
	}

	.home-lead .hero-card {
		order: -1;
	}

	.ticker-grid .ticker-card:nth-child(n+3) {
		display: none;
	}

	.hero-card,
	.poster-card {
		min-height: 420px;
	}

	.hero-copy,
	.poster-copy {
		padding: 20px;
	}

	.article-grid,
	.article-grid.three,
		.category-grid.no-sidebar,
		.politics-lead-grid,
		.politics-list-grid,
		.politics-sidebar,
		.celebrity-feature-grid,
		.celebrity-card-grid,
		.food-lead-grid,
		.food-mini-grid,
		.exclusive-side-grid,
		.recent-card-grid,
		.related-post-grid,
		.feature-row,
		.breaking-feature-grid,
		.breaking-mini-grid,
	.ticker-grid,
	.two-column-posts,
	.lead-recent,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.breaking-wrap {
		padding-top: 24px;
	}

	.breaking-label {
		left: 0;
	}

	.breaking-feature-card {
		min-height: 360px;
	}

	.food-banner-ad {
		display: grid;
		justify-items: start;
		padding: 18px;
	}

	.exclusive-content-wrap {
		padding: 24px 16px 16px;
	}

	.exclusive-content-label {
		left: 16px;
	}

	.exclusive-hero-card {
		min-height: 430px;
	}

	.section {
		padding: 28px 0;
	}

	.entry-content {
		font-size: 18px;
	}

	.single-hero {
		min-height: 420px;
		width: min(100% - 22px, 1240px);
	}

	.single-layout {
		padding-top: 22px;
	}

	.single-meta-bar,
	.single-post-nav,
	.author-box {
		grid-template-columns: 1fr;
	}

	.single-meta-bar {
		display: grid;
		gap: 8px;
		text-align: center;
	}

	.footer-top {
		align-items: flex-start;
		flex-direction: column;
	}

	.footer-nav {
		justify-content: flex-start;
		gap: 12px 18px;
	}

	.footer-grid {
		gap: 26px;
	}
}
/* OFFICE59 LIGHT DARK MODE SYSTEM */
:root,
html[data-theme="light"] {
  color-scheme: light;
  --office59-bg: #f5f6f8;
  --office59-surface: #ffffff;
  --office59-surface-soft: #f0f1f3;
  --office59-border: #dcdfe4;
  --office59-text: #0b0d12;
  --office59-heading: #050505;
  --office59-muted: #626872;
  --office59-soft-text: #383d45;
  --office59-accent: #d4a017;
  --office59-accent-strong: #f15a24;
  --office59-red: #f53137;
  --office59-shadow: 0 18px 44px rgba(8, 10, 14, 0.08);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --office59-bg: #080a0e;
  --office59-surface: #11141a;
  --office59-surface-soft: #181c24;
  --office59-border: #2a303a;
  --office59-text: #e8ebf0;
  --office59-heading: #ffffff;
  --office59-muted: #a7adb8;
  --office59-soft-text: #cbd0d8;
  --office59-accent: #e0ad2f;
  --office59-accent-strong: #ff7a2f;
  --office59-red: #ff3e47;
  --office59-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
  --of-ink: var(--office59-text);
  --of-muted: var(--office59-muted);
  --of-surface: var(--office59-surface);
  --of-border: var(--office59-border);
}

html[data-theme] body {
  background: var(--office59-bg);
  color: var(--office59-text);
}

html[data-theme] body,
html[data-theme] header,
html[data-theme] footer,
html[data-theme] main,
html[data-theme] section,
html[data-theme] article,
html[data-theme] aside,
html[data-theme] nav,
html[data-theme] .site-header,
html[data-theme] .site-footer,
html[data-theme] .site-main,
html[data-theme] .main-navigation,
html[data-theme] .footer-wrap,
html[data-theme] .office-card,
html[data-theme] .post-card,
html[data-theme] .search-result-card,
html[data-theme] .sidebar,
html[data-theme] .widget,
html[data-theme] .ad-card,
html[data-theme] .premium-modal,
html[data-theme] button,
html[data-theme] input,
html[data-theme] textarea,
html[data-theme] select {
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

html[data-theme] h1,
html[data-theme] h2,
html[data-theme] h3,
html[data-theme] h4,
html[data-theme] h5,
html[data-theme] h6,
html[data-theme] .entry-title,
html[data-theme] .section-title,
html[data-theme] .archive-title,
html[data-theme] .page-title,
html[data-theme] .post-title,
html[data-theme] .widget-title {
  color: var(--office59-heading);
}

html[data-theme] a {
  color: inherit;
}

html[data-theme] .site-header,
html[data-theme] .header-main,
html[data-theme] .top-header,
html[data-theme] .main-navigation,
html[data-theme] .ticker-strip,
html[data-theme] .breaking-strip,
html[data-theme] .search-popover,
html[data-theme] .search-modal,
html[data-theme] .premium-popup,
html[data-theme] .premium-modal,
html[data-theme] .site-footer,
html[data-theme] .footer-main,
html[data-theme] .footer-bottom {
  background: var(--office59-surface);
  color: var(--office59-text);
  border-color: var(--office59-border);
}

html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .footer-main,
html[data-theme="dark"] .footer-bottom {
  background: #0f1116;
}

html[data-theme] .main-navigation a,
html[data-theme] .footer-navigation a,
html[data-theme] .menu a,
html[data-theme] .nav-menu a {
  color: var(--office59-heading);
}

html[data-theme] .main-navigation a:hover,
html[data-theme] .footer-navigation a:hover,
html[data-theme] .menu a:hover,
html[data-theme] .nav-menu a:hover,
html[data-theme] .entry-title a:hover,
html[data-theme] .post-title a:hover {
  color: var(--office59-accent-strong);
}

html[data-theme] .site-content,
html[data-theme] .content-area,
html[data-theme] .home-section,
html[data-theme] .archive-wrap,
html[data-theme] .search-wrap,
html[data-theme] .single-wrap,
html[data-theme] .page-wrap,
html[data-theme] .office-mag-section,
html[data-theme] .latest-section,
html[data-theme] .category-section,
html[data-theme] .editors-picks,
html[data-theme] .recent-posts,
html[data-theme] .more-like-this,
html[data-theme] .comments-area {
  background: var(--office59-bg);
  color: var(--office59-text);
}

html[data-theme] .card,
html[data-theme] .post-card,
html[data-theme] .story-card,
html[data-theme] .feature-card,
html[data-theme] .search-result-card,
html[data-theme] .archive-card,
html[data-theme] .single-content,
html[data-theme] .entry-content,
html[data-theme] .author-box,
html[data-theme] .comment-respond,
html[data-theme] .sidebar-block,
html[data-theme] .widget,
html[data-theme] .subscribe-box,
html[data-theme] .newsletter-box,
html[data-theme] .ad-slot,
html[data-theme] .ad-card,
html[data-theme] .popular-box,
html[data-theme] .office59-sidebar-card {
  background-color: var(--office59-surface);
  color: var(--office59-text);
  border-color: var(--office59-border);
  box-shadow: var(--office59-shadow);
}

html[data-theme] .post-meta,
html[data-theme] .entry-meta,
html[data-theme] .byline,
html[data-theme] .posted-on,
html[data-theme] .excerpt,
html[data-theme] .entry-summary,
html[data-theme] .site-description,
html[data-theme] .footer-copy,
html[data-theme] .muted,
html[data-theme] figcaption {
  color: var(--office59-muted);
}

html[data-theme] .entry-content,
html[data-theme] .post-content,
html[data-theme] .single-content,
html[data-theme] .page-content {
  color: var(--office59-soft-text);
}

html[data-theme] .cat-label,
html[data-theme] .category-label,
html[data-theme] .post-category,
html[data-theme] .badge,
html[data-theme] .exclusive-label,
html[data-theme] .tag-label {
  background: var(--office59-red);
  color: #ffffff;
}

html[data-theme] input[type="text"],
html[data-theme] input[type="search"],
html[data-theme] input[type="email"],
html[data-theme] input[type="url"],
html[data-theme] input[type="password"],
html[data-theme] textarea,
html[data-theme] select {
  background: var(--office59-surface);
  border-color: var(--office59-border);
  color: var(--office59-text);
}

html[data-theme] input::placeholder,
html[data-theme] textarea::placeholder {
  color: var(--office59-muted);
}

html[data-theme] .button,
html[data-theme] button,
html[data-theme] input[type="submit"],
html[data-theme] .search-submit,
html[data-theme] .read-more,
html[data-theme] .subscribe-button {
  border-color: transparent;
}

html[data-theme] .pagination,
html[data-theme] .nav-links,
html[data-theme] .page-numbers {
  color: var(--office59-text);
}

html[data-theme] .page-numbers,
html[data-theme] .pagination a,
html[data-theme] .pagination span {
  border-color: var(--office59-border);
}

html[data-theme] .page-numbers.current,
html[data-theme] .pagination .current {
  background: var(--office59-red);
  color: #ffffff;
}

html[data-theme] .office-mag-title,
html[data-theme] .office-mag-section-title,
html[data-theme] [class*="office-mag"] .section-title {
  color: #f15a24;
}

.header-theme-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: 18px;
}

.office-theme-toggle {
  appearance: none;
  border: 1px solid var(--office59-border, #dcdfe4);
  background: var(--office59-surface, #fff);
  color: var(--office59-heading, #050505);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 11px 4px 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.office-theme-toggle:hover,
.office-theme-toggle:focus-visible {
  border-color: var(--office59-accent-strong, #f15a24);
  outline: none;
}

.office-theme-toggle__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: #eef0f3;
  padding: 0 7px;
  box-sizing: border-box;
}

.office-theme-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 9px rgba(0,0,0,.25);
  transform: translateX(0);
  transition: transform 180ms ease, background-color 180ms ease;
}

.office-theme-toggle__icon {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  z-index: 1;
}

.office-theme-toggle__icon--sun {
  background: #f4b840;
}

.office-theme-toggle__icon--moon {
  background: #232833;
  box-shadow: inset 4px 0 0 #eef0f3;
}

html[data-theme="dark"] .office-theme-toggle__track {
  background: #242a35;
}

html[data-theme="dark"] .office-theme-toggle__knob {
  transform: translateX(22px);
  background: #0f1116;
}

html[data-theme="dark"] .office-theme-toggle__icon--moon {
  box-shadow: inset 4px 0 0 #242a35;
}

.office-theme-toggle--hide-desktop {
  display: none;
}

html[data-theme="dark"] img:not(.custom-logo):not(.site-logo img):not(.footer-logo img) {
  filter: saturate(.94) brightness(.9);
}

html[data-theme="dark"] .ad-placeholder,
html[data-theme="dark"] .ad-slot,
html[data-theme="dark"] .office-ad {
  background: linear-gradient(135deg, #121722, #232a36);
  color: var(--office59-text);
}

html[data-theme="dark"] .modal-backdrop,
html[data-theme="dark"] .premium-overlay,
html[data-theme="dark"] .search-overlay {
  background: rgba(0, 0, 0, .76);
}

@media (max-width: 900px) {
  .header-theme-switcher {
    margin-left: 10px;
  }

  .office-theme-toggle {
    padding-right: 6px;
  }

  .office-theme-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .office-theme-toggle--hide-mobile {
    display: none;
  }

  .office-theme-toggle--hide-desktop {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] *,
  html[data-theme] *::before,
  html[data-theme] *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}