/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
 Description:  Child theme de Astra para hemodinamica.eu
*/

/* ---- Tipografía editorial (estilo NYTimes), sin tocar la maquetación ---- */

body,
p,
li,
.entry-content,
.wp-block-post-excerpt,
.wp-block-post-excerpt__excerpt {
	font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
	line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.wp-block-post-title,
.wp-block-post-title a,
.section-title,
.hero h1 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	letter-spacing: -0.01em;
}

.hero h1 {
	font-weight: 700;
}

.hero p {
	font-family: 'PT Serif', Georgia, serif;
	font-style: italic;
}

.section-title {
	font-weight: 700;
}

.topic-card {
	font-family: 'Playfair Display', Georgia, serif;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.topic-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.wp-block-post-date {
	display: none;
}

/* ---- Barra de búsqueda superior ---- */

.hemo-top-search {
	padding: 15px 0 25px;
}

.hemo-top-search-inner {
	display: flex;
	justify-content: center;
}

.hemo-search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 500px;
	width: 100%;
}

.hemo-search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #0d47a1;
	pointer-events: none;
	z-index: 1;
}

.hemo-search-field {
	flex: 1;
	box-sizing: border-box !important;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 10px 14px 10px 40px !important;
	font-family: 'PT Serif', Georgia, serif;
}

/* Por si el icono nativo de búsqueda de Astra queda visible y duplica el buscador */
.ast-search-icon {
	display: none !important;
}
