/*
 * Base del layout HC Gardening.
 * Reemplaza los estilos base que en WordPress ponía el tema padre Astra (4.13.6) y de los
 * que depende hcgardening.css: reset, tipografía por defecto, márgenes de párrafos y listas,
 * enlaces, imágenes y formularios. Valores tomados del CSS que Astra inyectaba en el sitio.
 */
html {
	box-sizing: border-box;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
}

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

address, blockquote, body, dd, dl, dt, fieldset, figure, h1, h2, h3, h4, h5, h6, hr,
html, iframe, legend, li, ol, p, pre, textarea, ul {
	border: 0;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

body {
	margin: 0;
	background: #fff;
	color: #334155;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

p {
	margin-bottom: 1.75em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: #1e293b;
	font-weight: 600;
}

h1 { font-size: 2.25rem; line-height: 1.4em; }
h2 { font-size: 1.875rem; line-height: 1.3em; }
h3 { font-size: 1.5rem; line-height: 1.3em; }
h4 { font-size: 1.25rem; line-height: 1.2em; }
h5 { font-size: 1.2em; line-height: 1.6; }
h6 { font-size: 1.1em; line-height: 1.7; }

a {
	background-color: transparent;
	color: #046bd2;
	text-decoration: none;
	transition: all .2s linear;
}

a:hover,
a:focus {
	color: #045cb4;
	text-decoration: none;
}

img {
	border: 0;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}

figure {
	margin: 0;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
	vertical-align: baseline;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
	background-color: #046bd2;
	color: #fff;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1em;
	padding: 15px 30px;
	text-transform: none;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"] {
	-webkit-appearance: none;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
	color: #475569;
	font-size: 16px;
	height: 40px;
	line-height: 24px;
	outline: none;
	padding: 12px 16px;
	width: 100%;
}

textarea {
	-webkit-appearance: none;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	color: #475569;
	overflow: auto;
	padding-left: 3px;
	width: 100%;
}

@media (max-width: 921px) {
	html { font-size: 91.2%; }
	h1 { font-size: 1.875rem; }
	h2 { font-size: 1.5625rem; }
	h3 { font-size: 1.25rem; }
	button,
	input[type="submit"] { padding: 14px 28px; }
}

@media (max-width: 544px) {
	button,
	input[type="submit"] { padding: 12px 24px; }
}

/* Botón "Scroll to Top" (en WordPress lo agregaba Astra con estos mismos valores). */
.hc-scroll-top {
	display: none;
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 99;
	width: 2.1em;
	height: 2.1em;
	padding: 0;
	font-size: 15px;
	line-height: 2.1;
	text-align: center;
	color: #fff;
	background-color: #046bd2;
	border-radius: 2px;
	box-shadow: none;
}
.hc-scroll-top.is-visible {
	display: block;
}
.hc-scroll-top svg {
	width: 1em;
	height: auto;
	vertical-align: middle;
	transform: translate(0, -20%) rotate(180deg);
}
