/*
Theme Name: Bitácora Child
Theme URI: 
Description: Child theme for Bitácora. Adds a full-width, year-grouped archive page template.
Author: 
Author URI: 
Template: bitacora
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bitacora-child
*/

/*
 * Archive list – year-grouped post listing
 * Used on the page-archive template.
 */
.bitacora-archive-list {
	margin-top: var(--wp--preset--spacing--60);
}

.bitacora-archive-year {
	margin-bottom: var(--wp--preset--spacing--60);
}

.bitacora-archive-year-heading {
	font-family: var(--wp--preset--font-family--alegreya);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	margin-bottom: var(--wp--preset--spacing--40);
}

.bitacora-archive-entries {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bitacora-archive-entry {
	display: flex;
	align-items: baseline;
	gap: var(--wp--preset--spacing--60);
	padding: 0.75rem 0;
	border-top: 1px solid var(--wp--preset--color--tertiary);
}

.bitacora-archive-entry:last-child {
	border-bottom: 1px solid var(--wp--preset--color--tertiary);
}

.bitacora-archive-date {
	flex-shrink: 0;
	width: 4.5rem;
	font-family: var(--wp--preset--font-family--alegreya);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--foreground);
}

.bitacora-archive-title {
	font-family: var(--wp--preset--font-family--alegreya);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	color: var(--wp--preset--color--foreground);
	text-decoration: none;
}

.bitacora-archive-title:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.5px !important;
}
