/*
Theme Name: Revista eSpiral
Description: Child theme of Twenty Twenty-Five for revistaespiral.com: section menu, issue-first home page, issue index.
Template: twentytwentyfive
Version: 1.0
Requires at least: 6.7
Text Domain: espiral
*/

/* Small uppercase labels (section / issue) above titles */
.espiral-kicker,
.espiral-kicker a {
	font-family: var(--wp--preset--font-family--fira-sans);
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--accent-3);
}
.espiral-kicker .wp-block-post-terms__separator { color: var(--wp--preset--color--accent-4); }

/* Cards: thin rule on top instead of boxes, so the grid reads as a contents page */
.espiral-cards > li {
	border-top: 1px solid var(--wp--preset--color--contrast);
	padding-top: var(--wp--preset--spacing--30);
}
.espiral-cards .wp-block-post-title a,
.espiral-list .wp-block-post-title a { text-decoration: none; }
.espiral-cards .wp-block-post-title a:hover,
.espiral-list .wp-block-post-title a:hover { text-decoration: underline; }

/* Compact title lists in the section columns */
.espiral-list > li {
	border-bottom: 1px solid var(--wp--preset--color--accent-6);
	padding: 0.6rem 0;
}
.espiral-section-head {
	border-bottom: 3px solid var(--wp--preset--color--contrast);
	padding-bottom: 0.3rem;
}

/* Issue index ([espiral_numeros]) */
.espiral-numeros {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--contrast);
}
.espiral-numeros li { border-bottom: 1px solid var(--wp--preset--color--accent-6); }
.espiral-numeros a {
	display: block;
	padding: 0.9rem 0.75rem 0.9rem 0;
	text-decoration: none;
	color: inherit;
}
.espiral-numeros a:hover .espiral-num { text-decoration: underline; }
.espiral-num {
	display: block;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}
.espiral-num-meta {
	font-family: var(--wp--preset--font-family--fira-sans);
	font-size: 0.85rem;
	color: var(--wp--preset--color--accent-4);
}
/* Header: thin rule under the menu */
.espiral-header { border-bottom: 1px solid var(--wp--preset--color--contrast); }

/* Titles and bylines in ink; red is kept for labels and links inside text */
.wp-block-post-title a,
.wp-block-heading a,
.espiral-numeros a { color: var(--wp--preset--color--contrast); }
.wp-block-post-title a:hover,
.wp-block-heading a:hover { color: var(--wp--preset--color--accent-3); }
.wp-block-post-author-name a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wp-block-post-author-name a:hover { text-decoration: underline; }
.espiral-section-head a { text-decoration: none; }

/* Search: a quiet icon, not a filled pill */
.espiral-header .wp-block-search__button {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--accent-6);
	padding: 0.45rem;
}
