/*
 * site-overrides.css
 * peterhornsby.com specific tweaks layered on top of the shared theme.
 * The theme's banner CSS references --site-banner-height without ever
 * defining it, so the banner image collapses to zero height unless we
 * set it here.
 */

:root {
	--site-banner-height: clamp(198px, 25.2vw, 378px);
}

.article-listing {
	margin-top: 2rem;
	padding: 1.25rem 0 0.5rem;
	border-top: 3px solid #EF7215;
}

.article-listing__title {
	margin: 0 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #e0e0e0;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #1a1a1a;
}

.article-list {
	gap: 0.75rem;
}

.article-list li {
	padding: 1.1rem 1.25rem;
	border-left: 4px solid #999;
	background-color: #d6d6d6;
}

.article-list li:hover,
.article-list li:focus-within,
.article-list li:has(a[aria-current="page"]) {
	border-left-color: #EF7215;
	background-color: rgba(239, 114, 21, 0.75);
}

.article-list a {
	font-size: 1.2rem;
	line-height: 1.5;
}

.resume-content {
	max-width: 860px;
	font-family: "Helvetica Neue", Arial, sans-serif;
}

.resume-subtitle {
	margin-top: -0.75rem;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	color: #555;
}

.resume-placeholder {
	padding: 0.9rem 1rem;
	border-left: 4px solid #EF7215;
	background-color: #d6d6d6;
}

.resume-section {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 2px solid #999;
}

.resume-section h3 {
	margin: 0 0 0.75rem;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #1a1a1a;
}

.resume-content {
	width: 100%;
}

.resume-card {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
}

.resume-header {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	align-items: flex-start;
	border-bottom: 3px solid #EF7215;
	padding-bottom: 1rem;
}

.resume-contact {
	text-align: right;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.8rem;
	line-height: 1.7;
	color: #555;
}

.resume-contact a { color: #555; }

.resume-content a { color: #555; }

.resume-summary {
	margin: 1.5rem 0;
	font-size: 1.05rem;
	line-height: 1.8;
}

.resume-section ul {
	margin: 0;
	padding-left: 1.25rem;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 0.98rem;
	line-height: 1.7;
}

.resume-role {
	margin-bottom: 1.5rem;
}

.resume-role:last-child { margin-bottom: 0; }

.resume-role h4 {
	margin: 0;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
	color: #1a1a1a;
}

.resume-role__meta {
	margin: 0.2rem 0 0.5rem;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.82rem;
	font-weight: 500;
	color: #888;
}

.resume-skills {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.5rem;
}

.resume-skill-group strong {
	display: block;
	margin-bottom: 0.2rem;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #1a1a1a;
}

.resume-skill-group__icon {
	display: block;
	width: 2.25rem;
	height: 2.25rem;
	margin-bottom: 0.5rem;
	object-fit: contain;
}

.resume-skill-group span {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #555;
}

.skylogic-app-store-link { text-align: center; }

.skylogic-app-store-link a,
.skylogic-app-store-link a:hover,
.skylogic-app-store-link a:focus-visible {
	text-decoration: none;
}

.resume-aside {
	border-left: 4px solid #EF7215;
	padding-left: 1rem;
}

@media screen and (max-width: 700px) {
	.resume-header { flex-direction: column; gap: 0.75rem; }
	.resume-contact { text-align: left; }
	.resume-skills { grid-template-columns: 1fr; }
}
