/*
Theme Name: Carrino - Child Theme
Theme URI: http://www.3forty.media/carrino
Author: 3FortyMedia
Author URI: http://www.3forty.media
Description: Carrino Child theme for easy and non-destructive editing of Carrino theme
Version: 1.1.2
Text Domain: carrino
Template: carrino
*/

/* Start Custom CSS */

:root {
	--sv-bg: #fbfaf7;
	--sv-paper: #fffdf9;
	--sv-paper-strong: #ffffff;
	--sv-ink: #2c2925;
	--sv-muted: #81786f;
	--sv-soft: #b8aea3;
	--sv-line: #e8dfd7;
	--sv-line-strong: #d8c9be;
	--sv-sage: #65705c;
	--sv-sage-dark: #4d5847;
	--sv-blush: #c78a82;
	--sv-gold: #b89664;
	--sv-shadow: 0 24px 70px rgba(83, 67, 52, 0.09);
	--sv-font-display: "Cormorant Garamond", Georgia, serif;
	--sv-font-body: "Lora", Georgia, serif;
	--sv-font-ui: "Inter", Arial, sans-serif;
}

body {
	background: var(--sv-bg);
	color: var(--sv-ink);
	font-family: var(--sv-font-body);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(101, 112, 92, 0.035) 1px, transparent 1px) 0 0 / 112px 112px,
		linear-gradient(180deg, rgba(184, 150, 100, 0.04), rgba(255, 255, 255, 0) 360px);
}

a,
a:visited {
	color: var(--sv-sage-dark);
}

a:hover,
a:focus {
	color: var(--sv-blush);
}

button,
input,
select,
textarea {
	font-family: var(--sv-font-ui);
}

/* Editorial header */
.site-header {
	max-width: 100%;
	margin: 0 auto 54px;
	padding: 0;
	background: rgba(255, 253, 249, 0.96);
	color: var(--sv-ink);
	border-bottom: 1px solid var(--sv-line);
	box-shadow: 0 16px 38px rgba(57, 46, 38, 0.04);
	backdrop-filter: saturate(140%) blur(10px);
}

.site-header::before {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, var(--sv-sage), var(--sv-blush), var(--sv-gold));
	opacity: 0.7;
}

.site-header .container {
	width: min(1180px, calc(100% - 44px));
	min-height: 92px;
	margin: 0 auto;
	padding: 0;
}

.site-header a.custom-logo-link {
	margin: 24px auto 18px;
	padding: 0;
	color: var(--sv-ink);
	font-family: var(--sv-font-display);
	font-size: 4rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 0.92;
	text-decoration: none;
}

.site-header a.custom-logo-link:hover,
.site-header a.custom-logo-link:focus {
	color: var(--sv-sage-dark);
}

.site-header .custom-logo {
	display: block;
	width: auto;
	max-width: min(360px, 72vw);
	max-height: 92px;
	margin: auto;
}

.site-header .custom-logo-link::after {
	content: none;
}

.site-header.logo-split-menu .container.header-layout-wrapper {
	position: relative;
	justify-content: center;
	min-height: 104px;
}

.site-header.logo-split-menu .container.header-layout-wrapper .logo-wrapper.mobile-only {
	display: flex !important;
	visibility: visible !important;
}

.site-header.logo-split-menu .container.header-layout-wrapper > .toggle {
	display: inline-flex !important;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.site-header.logo-split-menu .container.header-layout-wrapper > .toggle-menu {
	left: 0;
}

.site-header.logo-split-menu .container.header-layout-wrapper > .toggle-search {
	right: 0;
}

.menu-primary-navigation-container {
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid var(--sv-line);
	background: transparent;
}

.primary-nav {
	width: min(1180px, calc(100% - 44px));
	min-height: 52px;
	margin: 0 auto;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.primary-nav li {
	margin: 0 4px;
}

.logo-split-menu .primary-nav {
	gap: 26px;
	flex-wrap: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.logo-split-menu .primary-nav > li.logo-in-menu {
	display: none;
}

.logo-split-menu .primary-nav > li.toggle {
	display: none;
}

.logo-split-menu .primary-nav > li.split-menu {
	display: flex;
	flex: 0 0 auto;
	width: auto !important;
}

.logo-split-menu .primary-nav ul {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.logo-split-menu .primary-nav .menu-primary-navigation-container {
	width: auto;
	border-top: 0;
}

.logo-split-menu .split-menu-left li,
.logo-split-menu .split-menu-right li {
	display: inline-flex;
	margin: 0 10px;
}

.primary-nav a:not(.custom-logo-link) {
	color: var(--sv-muted);
	font-family: var(--sv-font-ui);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
}

.primary-nav li:hover > a,
.primary-nav a:focus {
	color: var(--sv-sage-dark);
}

.primary-nav li ul.sub-menu {
	border: 1px solid var(--sv-line);
	box-shadow: var(--sv-shadow);
}

.toggle span:first-child,
.primary-nav li.toggle span:first-child {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	color: var(--sv-sage-dark);
	background: #f5f0ea;
	border: 1px solid var(--sv-line);
	border-radius: 50%;
}

@media (min-width: 1061px) {
	body.single header.site-header.sticky-nav.fixed {
		position: sticky !important;
		top: 0;
		z-index: 1499;
		max-width: 100%;
		margin-top: 0 !important;
		box-shadow: 0 18px 40px rgba(57, 46, 38, 0.08);
	}

	body.single header.site-header:not(.logo-left-menu-right).sticky-nav.fixed div.container {
		display: flex;
	}

	body.single.has-sticky-nav.body-fix {
		margin-top: 0 !important;
	}
}

/* Single post article layout */
.single #content {
	padding-bottom: 74px;
}

.single.has-sidebar .wrap {
	display: grid;
	grid-template-columns: minmax(0, 790px) minmax(250px, 310px);
	gap: 68px;
	align-items: start;
	width: min(1180px, calc(100% - 64px));
	max-width: 1180px;
	margin: 0 auto;
	padding: 0;
}

.single.has-sidebar .wrap main,
.single.has-sidebar .wrap .aside-sidebar {
	width: auto;
	margin: 0;
}

.single .the-post .single-post {
	display: flex;
	flex-direction: column;
}

.single .single-post .entry-header {
	order: 1;
	position: relative;
	max-width: 760px;
	margin: 0 auto 30px;
	padding: 18px 0 0;
	text-align: center;
}

.single .single-post .entry-header::after {
	content: "";
	display: block;
	width: 94px;
	height: 1px;
	margin: 26px auto 0;
	background: linear-gradient(90deg, transparent, var(--sv-gold), transparent);
}

.single .the-post .single-post > .post-thumbnail {
	order: 2;
	width: 100%;
	max-width: 790px;
	margin: 0 auto 44px;
}

.single .single-content-wrapper {
	order: 3;
}

.single .entry-title {
	margin: 10px 0 0;
	color: var(--sv-ink);
	font-family: var(--sv-font-display);
	font-size: 4.25rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 0.98;
}

.single .entry-title a,
.single .entry-title span {
	color: inherit;
}

.single .entry-meta,
.single .entry-meta a,
.post-tags {
	color: var(--sv-muted);
	font-family: var(--sv-font-ui);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.single .entry-meta a:hover,
.single .entry-meta a:focus {
	color: var(--sv-blush);
}

.single .entry-meta.before-title {
	margin-bottom: 16px;
}

.single .entry-header .entry-meta .avatar {
	display: none;
}

.single .entry-meta.before-title ul li.category-list,
.single .entry-meta.before-title ul.author-category-meta li.category-prepend,
.single .entry-meta.before-title ul li.category-list a,
.single .entry-meta.before-title .post-categories > li {
	color: var(--sv-sage-dark) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.single .entry-meta.before-title .post-categories > li {
	padding: 0 !important;
	border-radius: 0 !important;
}

.single .entry-meta.before-title ul li.category-list a {
	padding: 0 0 2px;
	border-bottom: 1px solid var(--sv-line-strong) !important;
}

.single .the-post .single-post > .post-thumbnail img {
	display: block;
	width: 100%;
	max-height: 515px;
	object-fit: cover;
	border-radius: 7px;
	box-shadow: var(--sv-shadow);
}

.single .featured-media-caption {
	max-width: 790px;
	color: var(--sv-muted);
	font-family: var(--sv-font-ui);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
}

.single .the-post .single-post .entry-content:not(.custom-excerpt),
.single.has-sidebar .the-post .single-post .entry-content,
.single.has-sidebar .the-post .single-post .entry-header {
	max-width: 720px;
	padding-right: 0;
	padding-left: 0;
}

.single .the-post .single-post .entry-content:not(.custom-excerpt) {
	color: var(--sv-ink);
	font-family: var(--sv-font-body);
	font-size: 1.14rem;
	line-height: 1.86;
}

.single .entry-content p {
	margin: 0 0 1.42em;
}

.single .entry-content > p:first-of-type::first-letter {
	float: left;
	padding: 0.08em 0.1em 0 0;
	color: var(--sv-sage-dark);
	font-family: var(--sv-font-display);
	font-size: 4.9rem;
	line-height: 0.75;
}

.single .entry-content h1,
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4 {
	color: var(--sv-ink);
	font-family: var(--sv-font-display);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.08;
}

.single .entry-content h1 {
	margin: 0 0 0.8em;
	font-size: 2.45rem;
}

.single .entry-content h2 {
	margin: 2.2em 0 0.7em;
	font-size: 2.55rem;
}

.single .entry-content h3 {
	margin: 1.8em 0 0.65em;
	font-size: 2rem;
}

.single .entry-content blockquote {
	margin: 2.1em 0;
	padding: 0.2em 0 0.2em 1.35em;
	color: var(--sv-sage-dark);
	font-family: var(--sv-font-display);
	font-size: 1.8rem;
	line-height: 1.2;
	border-left: 1px solid var(--sv-gold);
}

.single .entry-content ul:not([class*="wp-"]) > li::before {
	color: var(--sv-gold);
}

.single .entry-content a {
	color: var(--sv-sage-dark);
	box-shadow: inset 0 -0.09em 0 rgba(199, 138, 130, 0.38);
	text-decoration: none;
	transition: color 0.2s ease, box-shadow 0.2s ease;
}

.single .entry-content a:hover,
.single .entry-content a:focus {
	color: var(--sv-blush);
	box-shadow: inset 0 -0.35em 0 rgba(199, 138, 130, 0.2);
}

.single .hentry-footer,
.single .author-bio,
.single .comments-area {
	max-width: 720px;
	border-color: var(--sv-line);
}

.single .hentry-footer {
	padding-top: 30px;
	color: var(--sv-muted);
}

.single .the-post ul.social-icons.text-icon li.social-icon {
	font-family: var(--sv-font-ui);
	letter-spacing: 0.1em;
}

/* Hide the floating share rail on single posts. */
.single .single-content-wrapper > .sticky-container {
	display: none !important;
}

/* Sidebar */
.single .aside-sidebar {
	color: var(--sv-muted);
	font-family: var(--sv-font-ui);
	font-size: 0.88rem;
	line-height: 1.68;
}

.single .aside-sticky-container {
	top: 28px;
	margin-bottom: 0;
}

.single .aside-sidebar .widget {
	margin: 0;
	padding: 24px 0;
	border-top: 1px solid var(--sv-line);
}

.single .aside-sidebar .widget:first-child {
	padding-top: 4px;
	border-top: 0;
}

.single .aside-sidebar .widget-title {
	margin-bottom: 16px;
	color: var(--sv-ink);
	font-family: var(--sv-font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.single .aside-sidebar a {
	color: var(--sv-sage-dark);
	text-decoration: none;
}

.single .aside-sidebar a:hover,
.single .aside-sidebar a:focus {
	color: var(--sv-blush);
}

.single .aside-sidebar ul li {
	padding-bottom: 0.65em;
	border-bottom-color: var(--sv-line);
}

.single .widget_search form,
.single .search-form {
	position: relative;
}

.single .widget_search input[type="search"],
.single .search-form input[type="search"],
.single input[type="text"],
.single input[type="email"] {
	width: 100%;
	min-height: 44px;
	padding: 12px 14px;
	color: var(--sv-ink);
	background: var(--sv-paper-strong);
	border: 1px solid var(--sv-line-strong);
	border-radius: 4px;
	box-shadow: none;
}

.single .widget_search input[type="submit"],
.single .search-submit,
.single button,
.single input[type="submit"] {
	min-height: 42px;
	padding: 0 18px;
	color: #fff;
	background: var(--sv-sage);
	border: 1px solid var(--sv-sage);
	border-radius: 4px;
	font-family: var(--sv-font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.single .widget_search input[type="submit"]:hover,
.single .search-submit:hover,
.single button:hover,
.single input[type="submit"]:hover,
.single .widget_search input[type="submit"]:focus,
.single .search-submit:focus,
.single button:focus,
.single input[type="submit"]:focus {
	background: var(--sv-sage-dark);
	border-color: var(--sv-sage-dark);
}

.single .widget.threeforty_posts_widget a.entry-title-link {
	color: var(--sv-ink);
	font-family: var(--sv-font-display);
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.12;
}

.single .widget.threeforty_posts_widget .entry-meta,
.single .widget_recent_entries .post-date {
	color: var(--sv-soft);
	font-family: var(--sv-font-ui);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Site footer */
.site-footer {
	background: var(--sv-paper-strong);
	border-top: 1px solid var(--sv-line);
}

@media (max-width: 1060px) {
	.site-header {
		margin-bottom: 34px;
	}

	.site-header a.custom-logo-link {
		font-size: 3.25rem;
	}

	.primary-nav {
		width: 100%;
		justify-content: flex-start;
		padding: 0 20px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.primary-nav li {
		flex: 0 0 auto;
	}

	.single.has-sidebar .wrap {
		display: block;
		width: min(820px, calc(100% - 40px));
	}

	.single.has-sidebar .wrap .aside-sidebar {
		margin-top: 56px;
	}

	.single.has-sidebar .wrap .aside-sidebar .widget {
		max-width: 620px;
	}
}

@media (max-width: 720px) {
	.site-header .container {
		width: calc(100% - 28px);
		min-height: 72px;
	}

	.site-header a.custom-logo-link {
		margin: 18px auto 14px;
		font-size: 2.45rem;
	}

	.primary-nav {
		min-height: 46px;
		padding: 0 14px;
	}

	.primary-nav a:not(.custom-logo-link) {
		font-size: 0.66rem;
		letter-spacing: 0.12em;
	}

	.single.has-sidebar .wrap {
		width: calc(100% - 30px);
	}

	.single .single-post .entry-header {
		margin-bottom: 24px;
		padding-top: 2px;
	}

	.single .entry-title {
		font-size: 2.95rem;
		line-height: 1.02;
	}

	.single .the-post .single-post > .post-thumbnail {
		margin-bottom: 32px;
	}

	.single .the-post .single-post > .post-thumbnail img {
		max-height: 340px;
		border-radius: 5px;
	}

	.single .the-post .single-post .entry-content:not(.custom-excerpt) {
		font-size: 1rem;
		line-height: 1.78;
	}

	.single .entry-content > p:first-of-type::first-letter {
		font-size: 3.9rem;
	}

	.single .entry-content h2 {
		font-size: 2.05rem;
	}

	.single .entry-content h1 {
		font-size: 2rem;
	}

	.single .entry-content h3 {
		font-size: 1.68rem;
	}
}

@media (max-width: 460px) {
	.site-header a.custom-logo-link {
		font-size: 2.08rem;
	}

	.toggle span:first-child,
	.primary-nav li.toggle span:first-child {
		width: 31px;
		height: 31px;
	}

	.single .entry-title {
		font-size: 2.48rem;
	}

	.single .entry-meta,
	.single .entry-meta a,
	.post-tags {
		font-size: 0.66rem;
		letter-spacing: 0.1em;
	}
}
