/*
Theme Name: Encuentra tu Hobby Child
Description: Child theme de Astra para Encuentra tu Hobby.
Author: Encuentra tu Hobby
Template: astra
Version: 1.4.0
Text Domain: encuentra-tu-hobby-child
*/

:root {
	--eth-color-cream: #f3e7d3;
	--eth-color-paper: #fff9ef;
	--eth-color-ink: #24382f;
	--eth-color-green: #3f6b55;
	--eth-color-green-dark: #29483a;
	--eth-color-terracotta: #b85f45;
	--eth-color-yellow: #e8cf78;
	--eth-color-line: #c9bca8;
	--eth-font-display: "Newsreader", Georgia, serif;
	--eth-font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--eth-space-1: 0.5rem;
	--eth-space-2: 0.75rem;
	--eth-space-3: 1rem;
	--eth-space-4: 1.5rem;
	--eth-space-5: 2rem;
	--eth-space-6: 3rem;
	--eth-space-7: 4.5rem;
	--eth-space-8: 7rem;
	--eth-radius-small: 0.5rem;
	--eth-radius-medium: 1rem;
	--eth-shadow-paper: 0 1.5rem 4rem rgba(36, 56, 47, 0.12);
	--eth-container: 74rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--eth-color-cream);
	color: var(--eth-color-ink);
	font-family: var(--eth-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--eth-color-yellow);
	color: var(--eth-color-ink);
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title {
	color: var(--eth-color-ink);
	font-family: var(--eth-font-display);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

p,
li {
	max-width: 72ch;
}

a {
	color: var(--eth-color-green-dark);
	text-decoration-color: currentColor;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--eth-color-terracotta);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--eth-color-yellow);
	outline-offset: 4px;
}

.eth-container {
	margin-inline: auto;
	max-width: var(--eth-container);
	padding-inline: clamp(1.25rem, 4vw, 3rem);
	width: 100%;
}

.eth-section {
	padding-block: clamp(var(--eth-space-7), 9vw, var(--eth-space-8));
}

.eth-section__intro {
	margin-bottom: clamp(var(--eth-space-5), 5vw, var(--eth-space-6));
	max-width: 45rem;
}

.eth-section__title {
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	margin: 0 0 var(--eth-space-3);
}

.eth-section__copy {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	margin: 0;
}

.eth-button,
.wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
	align-items: center;
	background: var(--eth-color-green-dark);
	border: 2px solid var(--eth-color-green-dark);
	border-radius: 999px;
	color: var(--eth-color-paper);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--eth-font-body);
	font-size: 1rem;
	font-weight: 700;
	gap: var(--eth-space-1);
	justify-content: center;
	letter-spacing: -0.01em;
	line-height: 1;
	min-height: 3.25rem;
	padding: 0.9rem 1.4rem;
	text-decoration: none;
}

.eth-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	background: var(--eth-color-terracotta);
	border-color: var(--eth-color-terracotta);
	color: var(--eth-color-paper);
}

.eth-button--secondary {
	background: transparent;
	border-color: var(--eth-color-ink);
	color: var(--eth-color-ink);
}

.eth-button--secondary:hover {
	background: var(--eth-color-ink);
	border-color: var(--eth-color-ink);
	color: var(--eth-color-paper);
}

.eth-card {
	background: var(--eth-color-paper);
	border: 1px solid var(--eth-color-line);
	border-radius: var(--eth-radius-medium);
}

.eth-disconnection {
	align-items: center;
	display: flex;
	gap: 0.3rem;
}

.eth-disconnection__bar {
	background: rgba(36, 56, 47, 0.18);
	border-radius: 999px;
	display: block;
	height: 0.45rem;
	width: 1.35rem;
}

.eth-disconnection__bar.is-active {
	background: var(--eth-color-terracotta);
}

.eth-screen-reader-text {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.ast-primary-header-bar {
	background: var(--eth-color-cream);
	border-bottom-color: rgba(36, 56, 47, 0.18);
}

.site-title a,
.ast-builder-menu-1 .menu-item > .menu-link {
	color: var(--eth-color-ink);
}

.site-title a {
	font-family: var(--eth-font-display);
	font-size: 1.55rem;
	font-weight: 400;
}

.eth-site-footer {
	background: #1e3329;
	color: #fbf9f5;
	font-family: var(--eth-font-body);
	padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
}

.eth-site-footer__main {
	display: grid;
	gap: clamp(2.5rem, 7vw, 6rem);
	grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.4fr);
}

.eth-site-footer__brand a {
	color: #fbf9f5;
	font-family: var(--eth-font-display);
	font-size: clamp(1.6rem, 3vw, 2rem);
	font-weight: 500;
	line-height: 1.1;
	text-decoration: none;
}

.eth-site-footer__brand p {
	color: #d99b43;
	font-size: 0.875rem;
	font-weight: 600;
	margin: 0.75rem 0 0;
}

.eth-site-footer__navigation {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eth-site-footer h2 {
	color: rgba(251, 249, 245, 0.68);
	font-family: var(--eth-font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin: 0 0 0.9rem;
}

.eth-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eth-site-footer li + li {
	margin-top: 0.55rem;
}

.eth-site-footer nav a {
	color: #fbf9f5;
	font-size: 0.875rem;
	text-decoration-color: rgba(251, 249, 245, 0.35);
}

.eth-site-footer nav a:hover {
	color: #e2b066;
}

.eth-site-footer__copyright {
	border-top: 1px solid rgba(251, 249, 245, 0.16);
	color: rgba(251, 249, 245, 0.6);
	font-size: 0.75rem;
	margin: clamp(2.5rem, 5vw, 4rem) 0 0;
	max-width: none;
	padding-top: 1.25rem;
}

.eth-product-recommendations {
	background: #fbf9f5;
	border-block: 1px solid #e8e2d8;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.eth-product-recommendations__header {
	display: grid;
	gap: 1rem 2rem;
	grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
	margin-bottom: 2rem;
}

.eth-product-recommendations__header h2 {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	margin: 0;
}

.eth-product-recommendations__header p {
	align-self: end;
	color: #5c625e;
	font-size: 1rem;
	margin: 0;
}

.eth-product-recommendations__list {
	border-top: 1px solid #d8d0c3;
}

.eth-product-recommendation {
	align-items: center;
	border-bottom: 1px solid #d8d0c3;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 7rem minmax(0, 1fr);
	padding-block: 1.25rem;
}

.eth-product-recommendation__media {
	aspect-ratio: 1;
	background: #f5f1ea;
	overflow: hidden;
}

.eth-product-recommendation__media img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.eth-product-recommendation__label {
	color: #a64f36;
	font-size: 0.75rem;
	font-weight: 600;
	margin: 0 0 0.35rem;
}

.eth-product-recommendation h3 {
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
}

.eth-product-recommendation__content > p:not(.eth-product-recommendation__label) {
	color: #5c625e;
	font-size: 0.9375rem;
	margin: 0 0 0.75rem;
}

.eth-product-recommendation a {
	font-size: 0.875rem;
	font-weight: 600;
}

.eth-ad-slot {
	margin-block: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 48rem) {
	:root {
		--eth-space-7: 3.5rem;
		--eth-space-8: 5rem;
	}

	.eth-button {
		width: 100%;
	}

	.eth-site-footer__main,
	.eth-product-recommendations__header {
		grid-template-columns: 1fr;
	}

	.eth-site-footer__navigation {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.eth-site-footer__navigation {
		grid-template-columns: 1fr;
	}

	.eth-product-recommendation {
		grid-template-columns: 5.5rem minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
