/*--------------------------------------------------------------
# Archive Page Styles
--------------------------------------------------------------*/

.archive-page-title {
	margin-top: 0;
	margin-bottom: 0.6em;
}

/* Search
--------------------------------------------- */
.archive-search-wrap {
	margin-bottom: 1.4em;
}

.archive-search {
	width: 100%;
	padding: 0.6em 0;
	border: none;
	border-bottom: 2px solid #e0ddd5;
	background: transparent;
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 1.05rem;
	color: #3a3a3a;
	outline: none;
	transition: border-color 0.25s ease;
}

.archive-search::placeholder {
	color: #b0aaa0;
	font-style: italic;
}

.archive-search:focus {
	border-bottom-color: #82A0BC;
}

/* Controls row
--------------------------------------------- */
.archive-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2em;
	margin-bottom: 1em;
	flex-wrap: wrap;
}

.archive-control-group {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.archive-label {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.82rem;
	color: #999;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.archive-select {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.92rem;
	color: #3a3a3a;
	padding: 0.3em 1.8em 0.3em 0.5em;
	border: 1px solid #e0ddd5;
	border-radius: 3px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 0.6em center;
	background-size: 10px 6px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.archive-select:focus {
	outline: none;
	border-color: #82A0BC;
}

/* Status
--------------------------------------------- */
.archive-status {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.85rem;
	color: #b0aaa0;
	margin-bottom: 2em;
}

/* Loading / Empty
--------------------------------------------- */
.archive-loading,
.archive-empty {
	font-family: 'Source Serif 4', Georgia, serif;
	font-style: italic;
	color: #999;
	font-size: 0.95rem;
	padding: 2em 0;
}

/* Year group
--------------------------------------------- */
.archive-year-group {
	margin-bottom: 1em;
}

.archive-year-divider {
	display: flex;
	align-items: center;
	gap: 0.8em;
	margin-bottom: 1.2em;
}

.archive-year-label {
	font-family: 'Source Sans 3', Helvetica, sans-serif;
	font-size: 1.0rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #b0aaa0;
	white-space: nowrap;
	flex-shrink: 0;
}

.archive-year-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e0ddd5;
}

/* Post entry
--------------------------------------------- */
.archive-post {
	padding: 0.6em 0 0.6em 0.8em;
	margin-bottom: 0.6em;
	border-left: 3px solid transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.archive-post:hover {
	border-left-color: #82A0BC;
	background-color: #fafaf8;
}

.archive-post-date {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.8rem;
	color: #b0aaa0;
	margin-bottom: 0.15em;
	letter-spacing: 0.02em;
}

.archive-post-title {
	font-family: 'Source Sans 3', Helvetica, sans-serif;
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 0.2em;
}

.archive-post-title a {
	color: #1a1a1a;
}

.archive-post-title a:visited {
	color: #1a1a1a;
}

.archive-post-title a:hover {
	color: #63ADF2;
}

.archive-post-excerpt {
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 0.88rem;
	color: #888;
	line-height: 1.55;
	margin: 0;
}

/* Responsive
--------------------------------------------- */
@media screen and (max-width: 500px) {
	.archive-controls {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.6em;
	}
}
