/*
Theme Name: Terre dell'anima
Theme URI: https://www.terredellanima.it/
Description: Tema figlio Kadence per Terre dell'anima.
Author: Tiziano Solignani
Template: kadence
Version: 1.0.7
Text Domain: kadence-tda
*/

:root {
	--global-palette1: #986044;
	--global-palette2: #b77755;
	--global-palette3: #263b33;
	--global-palette4: #41584d;
	--global-palette5: #6f7f76;
	--global-palette6: #a6afa9;
	--global-palette7: #e3ddd0;
	--global-palette8: #f5f1e8;
	--global-palette9: #ffffff;
	--global-palette9rgb: 255, 255, 255;
	--global-content-edge-padding: 1.5rem;
}

body {
	background: #f5f1e8;
	color: #263b33;
}

.site-main-header-wrap .site-header-row-container-inner {
	background:
		linear-gradient(90deg, rgba(38, 59, 51, .08) 0%, rgba(245, 241, 232, .08) 38%, rgba(245, 241, 232, .82) 69%, rgba(245, 241, 232, .95) 100%),
		url("assets/intestazione-terre-dellanima.jpg") center center / cover no-repeat;
	border-bottom: 4px solid #986044;
}

.site-main-header-inner-wrap {
	align-items: flex-start;
	min-height: 280px !important;
	padding-bottom: 0;
	padding-top: 18px;
}

@media (min-width: 1025px) {
	.site-main-header-inner-wrap {
		position: relative;
	}

	.site-header-main-section-left {
		bottom: 18px;
		position: absolute;
		right: 0;
		width: auto;
	}
}

.site-branding,
.main-navigation .primary-menu-container {
	background: rgba(245, 241, 232, .92);
	border: 1px solid rgba(38, 59, 51, .12);
	border-radius: 10px;
	box-shadow: 0 7px 22px rgba(38, 59, 51, .16);
}

.site-branding {
	padding: .9rem 1.4rem;
}

.main-navigation .primary-menu-container {
	padding: .15rem .45rem;
}

.site-branding .site-title,
.site-branding .site-title a,
.site-branding .site-description,
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.mobile-toggle-open-container .menu-toggle-open {
	color: #263b33;
}

.site-branding .site-title {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: -.02em;
	white-space: nowrap;
}

.site-branding .site-description {
	opacity: .84;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a {
	color: #986044;
}

.site-main-header-wrap .site-header-row-container-inner a:focus-visible,
.site-main-header-wrap button:focus-visible {
	outline: 3px solid #c99567;
	outline-offset: 3px;
}

.tda-header-search {
	left: max(18px, calc((100vw - 1290px) / 2 + 18px));
	position: absolute;
	top: 18px;
	z-index: 1200;
}

.tda-header-search summary {
	align-items: center;
	background: rgba(245, 241, 232, .95);
	border: 1px solid rgba(38, 59, 51, .2);
	border-radius: 50%;
	box-shadow: 0 6px 18px rgba(38, 59, 51, .2);
	color: #263b33;
	cursor: pointer;
	display: flex;
	height: 46px;
	justify-content: center;
	list-style: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
	width: 46px;
}

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

.tda-header-search summary:hover,
.tda-header-search[open] summary {
	background: #986044;
	color: #fff;
	transform: translateY(-1px);
}

.tda-header-search summary:focus-visible {
	outline: 3px solid #986044;
	outline-offset: 3px;
}

.tda-header-search summary svg {
	fill: currentColor;
	height: 23px;
	width: 23px;
}

.tda-search-form {
	align-items: stretch;
	background: #fff;
	border: 1px solid #d8d0c2;
	border-radius: 10px;
	box-shadow: 0 14px 34px rgba(38, 59, 51, .22);
	display: flex;
	gap: .55rem;
	left: 0;
	padding: .65rem;
	position: absolute;
	top: 56px;
	width: min(390px, calc(100vw - 36px));
}

.tda-search-form input[type="search"] {
	background: #fff;
	border: 1px solid #b9b0a2;
	border-radius: 7px;
	font-size: 1rem;
	margin: 0;
	min-width: 0;
	padding: .7rem .8rem;
	width: 100%;
}

.tda-search-form button {
	flex: 0 0 auto;
	margin: 0;
	padding: .7rem 1rem;
}

.tda-home-heading {
	margin-bottom: .5rem;
	margin-top: 2.4rem;
	text-align: center;
}

.tda-home-heading h1 {
	color: #263b33;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.1rem, 4vw, 3.5rem);
	line-height: 1.05;
	margin: 0 0 .55rem;
}

.tda-home-heading p {
	color: #56685e;
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	margin: 0;
}

.tda-home-actions {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 2rem auto 0;
	max-width: 1100px;
	text-align: left;
}

.tda-home-action {
	align-items: flex-start;
	background: #fff;
	border: 1px solid #ded7ca;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(38, 59, 51, .08);
	box-sizing: border-box;
	color: #263b33;
	display: flex;
	flex-direction: column;
	height: 218px;
	justify-content: center;
	padding: 1.35rem 4.25rem 1.35rem 1.45rem;
	position: relative;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tda-home-action__icon {
	align-items: center;
	background: #f0e7dc;
	border-radius: 50%;
	color: #986044;
	display: flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	right: 1.25rem;
	top: 1.25rem;
	width: 44px;
}

.tda-home-action__icon svg {
	fill: currentColor;
	height: 23px;
	width: 23px;
}

.tda-home-action--facebook .tda-home-action__icon {
	background: #e6edf7;
	color: #315f9d;
}

.tda-home-action--phone .tda-home-action__icon {
	background: #e5eee9;
	color: #3f7159;
}

.tda-home-action[href]:hover,
.tda-home-action[href]:focus-visible {
	border-color: #986044;
	box-shadow: 0 13px 30px rgba(38, 59, 51, .14);
	color: #263b33;
	transform: translateY(-2px);
}

.tda-home-action[href]:focus-visible {
	outline: 3px solid #c99567;
	outline-offset: 3px;
}

.tda-home-action__eyebrow {
	color: #986044;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	margin-bottom: .4rem;
	text-transform: uppercase;
}

.tda-home-action__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 1.75vw, 1.55rem);
	font-weight: 700;
	line-height: 1.18;
}

.tda-home-action__detail {
	color: #56685e;
	font-size: .93rem;
	line-height: 1.35;
	margin-top: .45rem;
}

.tda-home-subscribe-form {
	margin-top: .85rem;
	width: 100%;
}

.tda-home-subscribe-form .wp-block-jetpack-subscriptions__container,
.tda-home-subscribe-form .jetpack_subscription_widget,
.tda-home-subscribe-form form {
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.tda-home-subscribe-form form {
	align-items: stretch;
	display: grid !important;
	gap: .55rem !important;
	grid-template-columns: minmax(0, 1fr) auto;
}

.tda-home-subscribe-form #subscribe-email,
.tda-home-subscribe-form #subscribe-submit {
	margin: 0 !important;
}

.tda-home-subscribe-form input[type="email"] {
	background: #fff;
	border: 1px solid #b9b0a2;
	border-radius: 8px;
	box-sizing: border-box;
	font-size: .95rem;
	height: 46px;
	margin: 0;
	min-width: 0;
	padding: .65rem .75rem;
	width: 100% !important;
}

.tda-home-subscribe-form button,
.tda-home-subscribe-form input[type="submit"] {
	height: 46px;
	margin: 0 !important;
	min-width: 76px;
	padding: .55rem .85rem;
}

.tda-home-subscribe-form .wp-block-jetpack-subscriptions__subscount {
	display: none;
}

.blog .content-area,
.archive .content-area,
.search-results .content-area {
	margin-top: 2rem;
}

.blog .grid-cols,
.archive .grid-cols,
.search-results .grid-cols {
	column-gap: 2rem;
	row-gap: 2rem;
}

.blog .entry.loop-entry,
.archive .entry.loop-entry,
.search-results .entry.loop-entry {
	background: #fff;
	border: 1px solid #ded7ca;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(38, 59, 51, .08);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.blog .entry.loop-entry:hover,
.archive .entry.loop-entry:hover,
.search-results .entry.loop-entry:hover {
	box-shadow: 0 16px 36px rgba(38, 59, 51, .14);
	transform: translateY(-2px);
}

.blog .loop-entry .post-thumbnail,
.archive .loop-entry .post-thumbnail,
.search-results .loop-entry .post-thumbnail {
	aspect-ratio: 8 / 5;
	display: block;
	height: auto !important;
	margin: 0;
	overflow: hidden;
	padding-bottom: 0 !important;
	position: relative;
}

.blog .loop-entry .post-thumbnail img,
.archive .loop-entry .post-thumbnail img,
.search-results .loop-entry .post-thumbnail img {
	display: block;
	height: 100% !important;
	inset: 0;
	max-width: none;
	object-fit: cover;
	object-position: center;
	position: absolute;
	width: 100% !important;
}

.blog .loop-entry .post-thumbnail-inner,
.archive .loop-entry .post-thumbnail-inner,
.search-results .loop-entry .post-thumbnail-inner {
	height: 100% !important;
	inset: 0 !important;
	padding: 0 !important;
	position: absolute !important;
	width: 100% !important;
}

.blog .loop-entry .entry-content-wrap,
.archive .loop-entry .entry-content-wrap,
.search-results .loop-entry .entry-content-wrap {
	padding: 1.6rem 1.7rem 1.8rem;
}

.loop-entry .entry-title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 2vw, 1.8rem);
	line-height: 1.18;
}

.loop-entry .entry-title a,
.single-content,
.entry-content {
	color: #263b33;
}

.loop-entry .entry-title a:hover,
.loop-entry .more-link-wrap .post-more-link {
	color: #986044;
}

.loop-entry .entry-meta,
.loop-entry .entry-taxonomies {
	font-size: .82rem;
	letter-spacing: .025em;
}

.loop-entry .entry-summary {
	color: #41584d;
	font-size: 1.04rem;
	line-height: 1.62;
	text-align: justify;
}

.loop-entry .more-link-wrap .post-more-link {
	font-weight: 700;
}

.single .content-bg,
.page .content-bg {
	border-radius: 14px;
}

button,
.button,
.wp-block-button__link,
input[type="submit"] {
	background: #986044;
	border-radius: 8px;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: #76452f;
}

@media (max-width: 767px) {
	:root {
		--global-content-edge-padding: 1rem;
	}

	.site-main-header-wrap .site-header-row-container-inner {
		background-position: left center;
	}

	.site-main-header-inner-wrap {
		align-items: flex-end;
		min-height: 205px !important;
		padding-bottom: 12px;
		padding-top: 0;
	}

	.site-mobile-header-wrap .site-main-header-inner-wrap {
		position: relative;
	}

	.site-mobile-header-wrap .site-header-main-section-left {
		bottom: 12px;
		left: auto;
		max-width: calc(100% - 24px);
		min-width: 0;
		padding: 0;
		position: absolute;
		right: 12px;
		width: auto;
	}

	.site-mobile-header-wrap .mobile-site-branding {
		background: rgba(38, 59, 51, .8);
		border: 1px solid rgba(255, 255, 255, .35);
		border-radius: 10px;
		box-shadow: 0 7px 20px rgba(38, 59, 51, .25);
		box-sizing: border-box;
		display: block;
		max-width: 100%;
		padding: .85rem 1.2rem !important;
		width: max-content;
	}

	.site-mobile-header-wrap .mobile-site-branding .brand,
	.site-mobile-header-wrap .mobile-site-branding .site-title-wrap,
	.site-mobile-header-wrap .mobile-site-branding .site-title {
		display: block;
		margin: 0 !important;
		max-width: 100%;
		padding: 0 !important;
	}

	.site-mobile-header-wrap .mobile-site-branding .site-title,
	.site-mobile-header-wrap .mobile-site-branding .site-title a {
		color: #fff;
		font-size: clamp(1rem, 4.5vw, 1.22rem);
		line-height: 1.1;
		text-shadow: 0 1px 2px rgba(38, 59, 51, .55);
		white-space: nowrap;
	}

	.site-mobile-header-wrap .mobile-toggle-open-container {
		background: rgba(245, 241, 232, .94);
		border-radius: 8px;
		position: absolute;
		right: 12px;
		top: 12px;
	}

	.tda-header-search {
		left: 12px;
		top: 12px;
	}

	.tda-header-search summary {
		height: 42px;
		width: 42px;
	}

	.tda-search-form {
		max-width: calc(100vw - 24px);
		top: 50px;
	}

	.tda-home-heading {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.tda-home-actions {
		gap: .85rem;
		grid-template-columns: minmax(0, 1fr);
		margin-top: 1.5rem;
	}

	.tda-home-action {
		height: 218px;
		padding: 1.15rem 4.1rem 1.15rem 1.25rem;
	}

	.tda-home-subscribe-form form {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.blog .grid-cols,
	.archive .grid-cols,
	.search-results .grid-cols {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}
