/*
Theme Name: Cyprus Car Rental Modern
Theme URI: https://cypruscarrental.net/
Author: CyprusCarRental
Description: A modern, responsive editorial theme for Cyprus car rental guides, road trips and travel advice. Includes editable header, hero, menus, footer, colours and widget areas.
Version: 1.4.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cyprus-car-rental-modern
Tags: blog, travel, custom-logo, custom-menu, custom-header, featured-images, footer-widgets, one-column, two-columns
*/

:root {
	--ccr-primary: #0867c7;
	--ccr-primary-dark: #073b73;
	--ccr-accent: #ffd64a;
	--ccr-text: #132231;
	--ccr-muted: #607080;
	--ccr-page: #f4f7f8;
	--ccr-card: #ffffff;
	--ccr-line: #dce5ea;
	--ccr-footer: #071d33;
	--ccr-radius-sm: 12px;
	--ccr-radius: 20px;
	--ccr-radius-lg: 30px;
	--ccr-shadow: 0 16px 50px rgba(7, 29, 51, 0.09);
	--ccr-shadow-hover: 0 24px 70px rgba(7, 29, 51, 0.15);
	--ccr-logo-height: 46px;
	--ccr-wrap: 1180px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background: var(--ccr-page);
	color: var(--ccr-text);
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	margin: 0;
}

body.menu-open {
	overflow: hidden;
}

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

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
}

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

figure {
	margin: 0;
}

a {
	color: var(--ccr-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--ccr-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--ccr-text);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.14;
	margin: 0 0 0.65em;
}

p {
	margin: 0 0 1.4em;
}

ul,
ol {
	margin: 0 0 1.5em 1.25em;
	padding: 0;
}

.site {
	min-height: 100vh;
	overflow: visible;
}

.content-wrap {
	margin-inline: auto;
	max-width: calc(var(--ccr-wrap) + 48px);
	padding-inline: 24px;
	width: 100%;
}

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

.screen-reader-text:focus {
	background: #fff;
	border-radius: 8px;
	box-shadow: var(--ccr-shadow);
	clip: auto !important;
	clip-path: none;
	color: var(--ccr-text);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	padding: 12px 18px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.alignleft {
	float: left;
	margin: 0.35em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.35em 0 1em 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-inline: auto;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
	align-items: center;
	background: var(--ccr-primary);
	border: 0;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	gap: 10px;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 22px;
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--ccr-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button-accent {
	background: var(--ccr-accent);
	color: #142637;
}

.button-accent:hover,
.button-accent:focus {
	background: #ffe170;
	box-shadow: 0 10px 24px rgba(255, 214, 74, 0.28);
	color: #142637;
}

/* Header */
.site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(7, 29, 51, 0.07);
	position: relative;
	transition: box-shadow 180ms ease, background-color 180ms ease;
	z-index: 1000;
}

.has-sticky-header .site-header {
	position: sticky;
	top: 0;
}

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

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 10px 35px rgba(7, 29, 51, 0.09);
}

.header-shell {
	align-items: center;
	display: flex;
	gap: 34px;
	min-height: 82px;
}

.site-branding {
	flex: 0 0 auto;
	min-width: 0;
}

.custom-logo-link,
.text-logo {
	align-items: center;
	display: inline-flex;
	gap: 12px;
	max-width: 320px;
	text-decoration: none;
}

.custom-logo {
	height: var(--ccr-logo-height);
	max-height: 76px;
	object-fit: contain;
	width: auto;
}

.text-logo > img {
	border-radius: 12px;
	height: var(--ccr-logo-height);
	width: var(--ccr-logo-height);
}

.text-logo-copy {
	color: var(--ccr-text);
	display: grid;
	line-height: 1.05;
}

.text-logo-copy strong {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.035em;
}

.text-logo-copy small {
	color: var(--ccr-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-top: 5px;
	max-width: 210px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.main-navigation {
	align-items: center;
	display: flex;
	gap: 22px;
	justify-content: flex-end;
	margin-left: auto;
	min-width: 0;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation > ul,
.main-navigation .menu {
	align-items: center;
	display: flex;
	gap: 4px;
}

.main-navigation li {
	margin: 0;
	position: relative;
}

.main-navigation a {
	border-radius: 999px;
	color: #344556;
	display: block;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 14px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation a:hover,
.main-navigation a:focus {
	background: #edf5fc;
	color: var(--ccr-primary-dark);
}

.main-navigation .sub-menu,
.main-navigation .children {
	background: #fff;
	border: 1px solid var(--ccr-line);
	border-radius: 14px;
	box-shadow: var(--ccr-shadow);
	left: 0;
	min-width: 220px;
	opacity: 0;
	padding: 8px;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 10px);
	transform: translateY(-4px);
	transition: opacity 160ms ease, transform 160ms ease;
	z-index: 30;
}

.main-navigation .sub-menu .sub-menu,
.main-navigation .children .children {
	left: calc(100% + 6px);
	top: -8px;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .children,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li:focus-within > .children {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.main-navigation .sub-menu a,
.main-navigation .children a {
	border-radius: 9px;
	padding: 10px 12px;
}

.header-cta {
	flex: 0 0 auto;
	font-size: 13px;
	min-height: 44px;
	padding: 11px 18px;
}

.menu-toggle,
.submenu-toggle {
	display: none;
}

.menu-overlay {
	background: rgba(4, 19, 32, 0.58);
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity 180ms ease;
	z-index: 990;
}

/* Hero */
.home-hero {
	border-radius: var(--ccr-radius-lg);
	height: clamp(530px, 66vw, 690px);
	margin: 24px auto 0;
	max-width: calc(var(--ccr-wrap) + 48px);
	overflow: hidden;
	position: relative;
	width: calc(100% - 48px);
}

.home-hero-image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 700ms ease;
	width: 100%;
}

.home-hero:hover .home-hero-image {
	transform: scale(1.018);
}

.home-hero-shade {
	background: linear-gradient(90deg, rgba(3, 19, 34, 0.82) 0%, rgba(4, 30, 54, 0.63) 44%, rgba(4, 30, 54, 0.12) 78%);
	inset: 0;
	position: absolute;
}

.home-hero-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.home-hero-content > * {
	max-width: 700px;
}

.hero-eyebrow,
.section-kicker {
	color: var(--ccr-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.hero-eyebrow {
	align-items: center;
	color: var(--ccr-accent);
	display: flex;
	gap: 11px;
}

.hero-eyebrow::before {
	background: var(--ccr-accent);
	border-radius: 999px;
	content: "";
	height: 3px;
	width: 34px;
}

.home-hero h1 {
	color: #fff;
	font-size: clamp(42px, 5.7vw, 72px);
	letter-spacing: -0.058em;
	margin-bottom: 22px;
}

.hero-description {
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.7;
	margin-bottom: 30px;
	max-width: 620px;
}

.hero-button {
	align-self: flex-start;
	max-width: none;
}

/* Main content and cards */
.site-content > .content-wrap {
	padding-bottom: 90px;
	padding-top: 82px;
}

.section-heading,
.page-heading {
	margin-bottom: 36px;
	max-width: 760px;
}

.section-heading {
	scroll-margin-top: 112px;
}

.section-heading h1,
.section-heading h2,
.page-heading h1 {
	font-size: clamp(34px, 4vw, 52px);
	margin-bottom: 14px;
}

.section-heading > div > p:last-child,
.archive-description,
.page-heading > p:last-child {
	color: var(--ccr-muted);
	font-size: 17px;
	margin-bottom: 0;
	max-width: 680px;
}

.posts-grid {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.guide-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: -10px 0 28px;
}

.guide-filter {
	background: #fff;
	border: 1px solid #cddde8;
	border-radius: 999px;
	color: var(--ccr-primary-dark);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 40px;
	padding: 12px 17px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.guide-filter:hover,
.guide-filter:focus {
	background: #eaf4fc;
	border-color: rgba(8, 103, 199, 0.38);
	color: var(--ccr-primary-dark);
	transform: translateY(-2px);
}

.guide-filter.is-active {
	background: var(--ccr-accent);
	border-color: var(--ccr-accent);
	color: #142637;
}

/* Category cross-linking */
.category-crosslinks {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(7, 59, 115, 0.1);
	border-radius: var(--ccr-radius);
	box-shadow: 0 12px 36px rgba(7, 29, 51, 0.06);
	display: grid;
	gap: 24px 36px;
	grid-template-columns: minmax(190px, 0.7fr) minmax(0, 2fr);
	margin: -8px 0 32px;
	padding: 24px 26px;
}

.category-crosslinks-heading h2 {
	font-size: 20px;
	margin: 0;
}

.category-crosslinks-kicker {
	color: var(--ccr-primary);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.11em;
	margin: 0 0 5px;
	text-transform: uppercase;
}

.category-crosslinks-list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.category-crosslinks-list a {
	align-items: center;
	background: #eaf4fc;
	border: 1px solid rgba(8, 103, 199, 0.1);
	border-radius: 999px;
	color: var(--ccr-primary-dark);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 9px;
	justify-content: space-between;
	min-height: 40px;
	padding: 10px 15px;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-crosslinks-list a span:last-child {
	color: var(--ccr-primary);
	font-size: 16px;
	transition: transform 180ms ease;
}

.category-crosslinks-list a:hover,
.category-crosslinks-list a:focus {
	background: var(--ccr-accent);
	border-color: var(--ccr-accent);
	color: #142637;
	transform: translateY(-2px);
}

.category-crosslinks-list a:hover span:last-child,
.category-crosslinks-list a:focus span:last-child {
	color: #142637;
	transform: translateX(3px);
}

.post-card {
	background: var(--ccr-card);
	border: 1px solid rgba(7, 29, 51, 0.07);
	border-radius: var(--ccr-radius);
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	transition: box-shadow 220ms ease, transform 220ms ease;
}

.post-card:hover {
	box-shadow: var(--ccr-shadow-hover);
	transform: translateY(-6px);
}

.post-card-image {
	background: linear-gradient(135deg, #cfe8fa, #8bc9e7);
	display: block;
	overflow: hidden;
	position: relative;
}

.post-card-image::after {
	background: linear-gradient(180deg, transparent 65%, rgba(7, 29, 51, 0.18));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.post-card-image img,
.post-card-placeholder {
	aspect-ratio: 16 / 8.7;
	display: block;
	height: auto;
	object-fit: cover;
	transition: filter 300ms ease, transform 450ms ease;
	width: 100%;
}

.post-card:hover .post-card-image img {
	filter: contrast(1.025) saturate(1.06);
	transform: scale(1.035);
}

.post-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 25px 24px;
}

.post-card-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

.post-category {
	background: #eaf4fc;
	border-radius: 999px;
	color: var(--ccr-primary-dark);
	display: inline-flex;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.09em;
	line-height: 1.2;
	padding: 7px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

.post-category:hover,
.post-category:focus {
	background: var(--ccr-primary);
	color: #fff;
}

.entry-date,
.article-meta {
	color: var(--ccr-muted);
	font-size: 12px;
	font-weight: 700;
}

.post-card .entry-title {
	font-size: clamp(21px, 2.2vw, 27px);
	margin-bottom: 11px;
}

.post-card .entry-title a {
	color: var(--ccr-text);
	text-decoration: none;
}

.post-card .entry-title a:hover {
	color: var(--ccr-primary);
}

.entry-summary {
	color: var(--ccr-muted);
	display: -webkit-box;
	font-size: 14px;
	line-height: 1.75;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.entry-summary p {
	margin-bottom: 20px;
}

.read-more {
	align-items: center;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 9px;
	margin-top: auto;
	text-decoration: none;
}

.read-more span {
	font-size: 18px;
	transition: transform 160ms ease;
}

.read-more:hover span {
	transform: translateX(4px);
}

@media (min-width: 820px) {
	.posts-grid .post-card:only-child {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
		height: 360px;
		max-height: 360px;
		min-height: 0;
	}

	.posts-grid .post-card:only-child .post-card-image {
		height: 360px;
		min-height: 0;
	}

	.posts-grid .post-card:only-child .post-card-image img,
	.posts-grid .post-card:only-child .post-card-placeholder {
		aspect-ratio: auto;
		height: 100%;
		min-height: 0;
	}

	.posts-grid .post-card:only-child .post-card-content {
		justify-content: center;
		max-height: 360px;
		min-height: 0;
		overflow: hidden;
		padding: 32px 36px;
	}
}

/* Single posts and pages */
.single-layout {
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 900px);
	justify-content: center;
}

.has-article-sidebar .single-layout {
	grid-template-columns: minmax(0, 1fr) 320px;
	justify-content: initial;
}

.article-main,
.widget-area {
	min-width: 0;
}

.article-card,
.comments-area {
	background: var(--ccr-card);
	border: 1px solid rgba(7, 29, 51, 0.07);
	border-radius: var(--ccr-radius-lg);
	box-shadow: var(--ccr-shadow);
	margin: 0;
	overflow: hidden;
}

.article-header {
	padding: clamp(30px, 5vw, 58px) clamp(24px, 6vw, 68px) 32px;
}

.article-header .post-category {
	margin-bottom: 20px;
}

.article-header .entry-title {
	font-size: clamp(36px, 5vw, 60px);
	letter-spacing: -0.055em;
	margin-bottom: 22px;
}

.article-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.article-featured-image {
	margin: 0 clamp(18px, 3vw, 34px);
	overflow: hidden;
	border-radius: var(--ccr-radius);
}

.article-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: filter 300ms ease, transform 450ms ease;
	width: 100%;
}

.entry-content {
	font-size: 17px;
	line-height: 1.82;
	padding: 46px clamp(24px, 6vw, 68px) clamp(42px, 6vw, 70px);
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	font-size: clamp(28px, 3.3vw, 38px);
	margin-top: 1.7em;
}

.entry-content h3 {
	font-size: clamp(22px, 2.6vw, 29px);
	margin-top: 1.55em;
}

.entry-content h4 {
	font-size: 20px;
	margin-top: 1.5em;
}

.entry-content a {
	font-weight: 700;
}

.entry-content img {
	border-radius: var(--ccr-radius-sm);
	transition: box-shadow 260ms ease, filter 260ms ease, transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.article-featured-image:hover img {
		filter: contrast(1.025) saturate(1.055);
		transform: scale(1.022);
	}

	.entry-content img:hover {
		box-shadow: 0 16px 36px rgba(7, 59, 115, 0.16);
		filter: contrast(1.02) saturate(1.045);
		transform: translateY(-3px) scale(1.008);
	}
}

.entry-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.entry-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) > li {
	padding-left: 30px;
	position: relative;
}

.entry-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) > li + li {
	margin-top: 0.55em;
}

.entry-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) > li::before {
	background: var(--ccr-accent);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--ccr-primary);
	content: "";
	height: 10px;
	left: 3px;
	position: absolute;
	top: 0.72em;
	transform: translateY(-50%);
	width: 10px;
}

.entry-content ol {
	counter-reset: ccr-ordered-list;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.entry-content ol > li {
	counter-increment: ccr-ordered-list;
	min-height: 30px;
	padding-left: 40px;
	position: relative;
}

.entry-content ol > li + li {
	margin-top: 0.65em;
}

.entry-content ol > li::before {
	background: var(--ccr-primary);
	border-radius: 9px;
	box-shadow: 0 5px 13px rgba(8, 103, 199, 0.2);
	color: var(--ccr-accent);
	content: counter(ccr-ordered-list);
	display: block;
	font-size: 12px;
	font-weight: 800;
	height: 27px;
	left: 0;
	line-height: 27px;
	position: absolute;
	text-align: center;
	top: 0.12em;
	width: 27px;
}

.entry-content blockquote,
.wp-block-quote {
	background: #eef6fc;
	border-left: 5px solid var(--ccr-primary);
	border-radius: 0 var(--ccr-radius-sm) var(--ccr-radius-sm) 0;
	color: #294357;
	font-size: 18px;
	font-weight: 600;
	margin: 2em 0;
	padding: 25px 28px;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	background: #fff;
	border: 1px solid rgba(7, 59, 115, 0.14);
	border-radius: 16px;
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 12px 32px rgba(7, 29, 51, 0.08);
	font-size: 14px;
	margin: 2em 0;
	overflow: hidden;
	width: 100%;
}

.entry-content table caption {
	color: var(--ccr-primary-dark);
	font-size: 13px;
	font-weight: 800;
	padding: 0 0 10px;
	text-align: left;
}

.entry-content th,
.entry-content td {
	border-bottom: 1px solid var(--ccr-line);
	border-right: 1px solid var(--ccr-line);
	padding: 14px 16px;
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: linear-gradient(135deg, var(--ccr-primary-dark), var(--ccr-primary));
	border-bottom-color: rgba(255, 255, 255, 0.16);
	border-right-color: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-weight: 800;
}

.entry-content th:last-child,
.entry-content td:last-child {
	border-right: 0;
}

.entry-content tbody tr:last-child td {
	border-bottom: 0;
}

.entry-content tr:nth-child(even) td {
	background: #f5f9fc;
}

.entry-content tbody td {
	transition: background-color 180ms ease;
}

.entry-content tbody tr:hover td {
	background: #eaf4fc;
}

.article-footer {
	border-top: 1px solid var(--ccr-line);
	padding: 22px clamp(24px, 6vw, 68px) 34px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-list a {
	background: #eef3f6;
	border-radius: 999px;
	color: var(--ccr-muted);
	font-size: 12px;
	font-weight: 700;
	padding: 7px 11px;
	text-decoration: none;
}

.post-navigation {
	margin-top: 26px;
}

.post-navigation .nav-links {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-navigation a {
	background: #fff;
	border: 1px solid var(--ccr-line);
	border-radius: var(--ccr-radius-sm);
	display: grid;
	gap: 4px;
	height: 100%;
	padding: 18px 20px;
	text-decoration: none;
}

.post-navigation .nav-next {
	text-align: right;
}

.nav-label {
	color: var(--ccr-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.nav-title {
	color: var(--ccr-text);
	font-size: 14px;
	font-weight: 800;
}

/* Widgets */
.widget-area {
	align-self: stretch;
	height: 100%;
	min-height: 100%;
	position: relative;
}

.widget-area .widget_categories,
.widget-area .widget:has(.wp-block-categories),
.widget-area .widget:has(.wp-block-categories-list),
.widget-area > .widget.is-sticky-categories,
.widget-area > .widget:last-child {
	position: sticky;
	top: 112px;
	z-index: 2;
}

.admin-bar .widget-area .widget_categories,
.admin-bar .widget-area .widget:has(.wp-block-categories),
.admin-bar .widget-area .widget:has(.wp-block-categories-list),
.admin-bar .widget-area > .widget.is-sticky-categories,
.admin-bar .widget-area > .widget:last-child {
	top: 144px;
}

.widget-area .widget {
	background: #fff;
	border: 1px solid rgba(7, 29, 51, 0.07);
	border-radius: var(--ccr-radius);
	box-shadow: 0 12px 36px rgba(7, 29, 51, 0.07);
	margin: 0 0 20px;
	padding: 24px;
}

.widget-title {
	font-size: 17px;
	letter-spacing: -0.02em;
	margin-bottom: 18px;
}

.widget_categories .widget-title,
.widget:has(.wp-block-categories) .widget-title,
.widget:has(.wp-block-categories-list) .widget-title,
.widget.is-sticky-categories .widget-title {
	margin-bottom: 20px;
	transform: translateY(-3px);
}

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

.widget li {
	border-bottom: 1px solid var(--ccr-line);
	font-size: 13px;
	padding: 10px 0;
}

.widget li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.widget a {
	font-weight: 700;
	text-decoration: none;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
	background: #fff;
	border: 1px solid #cad6dc;
	border-radius: 10px;
	color: var(--ccr-text);
	max-width: 100%;
	padding: 11px 13px;
	width: 100%;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--ccr-primary);
	box-shadow: 0 0 0 3px rgba(8, 103, 199, 0.12);
	outline: 0;
}

.search-submit {
	border-radius: 10px;
	font-size: 12px;
	min-height: 44px;
	padding: 10px 15px;
}

/* Scroll to top */
.scroll-top {
	align-items: center;
	background: var(--ccr-primary);
	border: 2px solid rgba(255, 255, 255, 0.92);
	border-radius: 16px;
	bottom: 24px;
	box-shadow: 0 14px 34px rgba(7, 59, 115, 0.28);
	color: var(--ccr-accent);
	display: inline-flex;
	height: 50px;
	justify-content: center;
	min-height: 50px;
	opacity: 0;
	padding: 0;
	pointer-events: none;
	position: fixed;
	right: 24px;
	transform: translateY(14px);
	transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
	width: 50px;
	z-index: 950;
}

.scroll-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.scroll-top:hover,
.scroll-top:focus {
	background: var(--ccr-primary-dark);
	color: var(--ccr-accent);
	transform: translateY(-3px);
}

.scroll-top svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
	width: 22px;
}

/* Pagination, empty states and comments */
.navigation.pagination {
	margin-top: 38px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.pagination .page-numbers {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ccr-line);
	border-radius: 10px;
	color: var(--ccr-text);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	justify-content: center;
	min-height: 42px;
	min-width: 42px;
	padding: 8px 12px;
	text-decoration: none;
}

.pagination .current,
.pagination a:hover {
	background: var(--ccr-primary);
	border-color: var(--ccr-primary);
	color: #fff;
}

.no-results,
.error-404 {
	background: #fff;
	border-radius: var(--ccr-radius-lg);
	box-shadow: var(--ccr-shadow);
	margin: 0 auto;
	max-width: 760px;
	padding: clamp(34px, 7vw, 70px);
	text-align: center;
}

.comments-area {
	margin-top: 28px;
	padding: clamp(26px, 5vw, 48px);
}

.comments-title,
.comment-reply-title {
	font-size: 25px;
}

.comment-list {
	list-style: none;
	margin: 0;
}

.comment-list .children {
	list-style: none;
}

.comment-body {
	border-bottom: 1px solid var(--ccr-line);
	padding: 22px 0;
}

.comment-form label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 6px;
}

/* Footer */
.site-footer {
	background: var(--ccr-footer);
	color: rgba(255, 255, 255, 0.7);
	padding: 70px 0 26px;
}

.footer-grid {
	display: grid;
	gap: 44px;
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(140px, 1fr));
}

.footer-widget-count-0 {
	grid-template-columns: minmax(260px, 520px);
}

.footer-widget-count-1 {
	grid-template-columns: minmax(260px, 1.3fr) minmax(200px, 1fr);
}

.footer-widget-count-2 {
	grid-template-columns: minmax(260px, 1.35fr) repeat(2, minmax(160px, 1fr));
}

.footer-brand-column {
	max-width: 360px;
}

.footer-brand {
	align-items: center;
	color: #fff;
	display: inline-flex;
	font-size: 18px;
	font-weight: 800;
	gap: 12px;
	letter-spacing: -0.035em;
	margin-bottom: 18px;
	text-decoration: none;
}

.footer-brand img {
	border-radius: 13px;
	height: 48px;
	width: 48px;
}

.footer-brand:hover {
	color: #fff;
}

.footer-description {
	font-size: 14px;
	line-height: 1.75;
	margin-bottom: 22px;
}

.footer-cta {
	align-items: center;
	color: var(--ccr-accent);
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	text-decoration: none;
}

.footer-cta:hover {
	color: #fff;
}

.footer-column .widget,
.site-footer .widget {
	background: transparent;
	border: 0;
	box-shadow: none;
	margin: 0 0 24px;
	padding: 0;
}

.site-footer .widget-title {
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.1em;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.site-footer .widget li {
	border: 0;
	padding: 5px 0;
}

.site-footer .widget a,
.footer-navigation a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

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

.footer-bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-top: 52px;
	padding-top: 24px;
}

.site-info {
	font-size: 11px;
	margin: 0;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Responsive */
@media (max-width: 1020px) {
	.footer-grid {
		grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 1fr));
	}

	.footer-widget-count-0 {
		grid-template-columns: minmax(260px, 520px);
	}

	.footer-widget-count-1 {
		grid-template-columns: minmax(260px, 1.3fr) minmax(200px, 1fr);
	}

	.footer-widget-count-3 .footer-column-3 {
		grid-column: 2;
	}
}

@media (max-width: 920px) {
	.admin-bar.has-sticky-header .site-header {
		top: 46px;
	}

	.header-shell {
		min-height: 74px;
	}

	.menu-toggle {
		align-items: center;
		background: #eef4f7;
		border-radius: 12px;
		display: inline-flex;
		height: 44px;
		margin-left: auto;
		min-height: 44px;
		padding: 0;
		position: relative;
		width: 44px;
		z-index: 1010;
	}

	.menu-toggle:hover,
	.menu-toggle:focus {
		background: #e3edf2;
		transform: none;
	}

	.menu-toggle-lines {
		display: grid;
		gap: 5px;
		margin: auto;
		width: 19px;
	}

	.menu-toggle-lines i {
		background: var(--ccr-text);
		border-radius: 999px;
		display: block;
		height: 2px;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	.menu-open .menu-toggle-lines i:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-open .menu-toggle-lines i:nth-child(2) {
		opacity: 0;
	}

	.menu-open .menu-toggle-lines i:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.main-navigation {
		align-items: stretch;
		background: #fff;
		display: flex;
		flex-direction: column;
		gap: 24px;
		height: 100vh;
		justify-content: flex-start;
		overflow-y: auto;
		padding: 96px 28px 32px;
		position: fixed;
		right: 0;
		top: 0;
		transform: translateX(102%);
		transition: transform 220ms ease;
		width: min(88vw, 390px);
		z-index: 1005;
	}

	.menu-open .main-navigation {
		transform: translateX(0);
	}

	.menu-open .menu-overlay {
		opacity: 1;
		pointer-events: auto;
	}

	.main-navigation > ul,
	.main-navigation .menu {
		align-items: stretch;
		display: block;
	}

	.main-navigation li {
		border-bottom: 1px solid var(--ccr-line);
	}

	.main-navigation li a {
		border-radius: 0;
		font-size: 16px;
		padding: 14px 42px 14px 4px;
	}

	.main-navigation .sub-menu,
	.main-navigation .children {
		background: #f6f9fa;
		border: 0;
		border-radius: 10px;
		box-shadow: none;
		display: none;
		left: auto;
		margin-bottom: 10px;
		min-width: 0;
		opacity: 1;
		padding: 7px;
		pointer-events: auto;
		position: static;
		transform: none;
	}

	.main-navigation .submenu-open > .sub-menu,
	.main-navigation .submenu-open > .children {
		display: block;
	}

	.submenu-toggle {
		background: transparent;
		border-radius: 8px;
		color: var(--ccr-text);
		display: inline-flex;
		height: 36px;
		min-height: 36px;
		padding: 0;
		position: absolute;
		right: 0;
		top: 7px;
		width: 36px;
	}

	.submenu-toggle:hover {
		background: #eef4f7;
		color: var(--ccr-text);
		transform: none;
	}

	.submenu-toggle span {
		margin: auto;
		transition: transform 160ms ease;
	}

	.submenu-open > .submenu-toggle span {
		transform: rotate(180deg);
	}

	.header-cta {
		align-self: stretch;
		margin-top: 4px;
	}

	.home-hero {
		height: 590px;
		width: calc(100% - 32px);
	}

	.has-article-sidebar .single-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.widget-area {
		position: static;
	}

	.widget-area .widget_categories,
	.widget-area .widget:has(.wp-block-categories),
	.widget-area .widget:has(.wp-block-categories-list),
	.widget-area > .widget.is-sticky-categories,
	.widget-area > .widget:last-child {
		position: static;
	}

	.category-crosslinks {
		align-items: start;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.content-wrap {
		padding-inline: 16px;
	}

	.text-logo-copy small {
		display: none;
	}

	.home-hero {
		border-radius: 0 0 24px 24px;
		height: 540px;
		margin-top: 0;
		width: 100%;
	}

	.home-hero-shade {
		background: linear-gradient(0deg, rgba(3, 19, 34, 0.88) 0%, rgba(4, 30, 54, 0.55) 67%, rgba(4, 30, 54, 0.2) 100%);
	}

	.home-hero-content {
		justify-content: flex-end;
		padding-bottom: 52px;
	}

	.home-hero h1 {
		font-size: clamp(38px, 11vw, 54px);
	}

	.site-content > .content-wrap {
		padding-bottom: 64px;
		padding-top: 60px;
	}

	.post-card-content {
		padding: 23px 22px 26px;
	}

	.guide-filters {
		gap: 8px;
		margin-bottom: 22px;
	}

	.guide-filter {
		font-size: 11px;
		min-height: 38px;
		padding: 11px 14px;
	}

	.category-crosslinks {
		gap: 18px;
		margin-bottom: 26px;
		padding: 21px 20px;
	}

	.category-crosslinks-list {
		gap: 8px;
	}

	.category-crosslinks-list a {
		font-size: 11px;
		min-height: 38px;
		padding: 9px 13px;
	}

	.scroll-top {
		bottom: 16px;
		right: 16px;
	}

	.article-header {
		padding-bottom: 24px;
	}

	.article-header .entry-title {
		font-size: clamp(34px, 10vw, 47px);
	}

	.entry-content {
		font-size: 16px;
		padding-top: 34px;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

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

	.footer-widget-count-0,
	.footer-widget-count-1 {
		grid-template-columns: 1fr;
	}

	.footer-brand-column {
		grid-column: 1 / -1;
	}

	.footer-column-3 {
		grid-column: auto;
	}

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

	.footer-navigation ul {
		gap: 12px 16px;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 1em auto;
	}
}

@media (max-width: 420px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-brand-column,
	.footer-column-3 {
		grid-column: auto;
	}
}

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