/* [georgia_hall_of_fame] — Omega purple and old gold. */

/* Same wide, centered page area as the other directories, only on pages
   holding the Hall of Fame. */
#main-content .container:has(.oppga-hof):not(:has(.oppga-hof-profile)) {
	width: 94%;
	max-width: 1400px;
}

.oppga-hof {
	--hof-purple: #4b2c71;
	--hof-purple-soft: #f4f0f9;
	--hof-gold: #cfb53b;
	--hof-border: #e3dfe8;
	--hof-text: #4b2c71; /* Purple, not black. */
	--hof-muted: #6e5a8a;
	color: var(--hof-text);
	font-size: 16px;
	line-height: 1.45;
}

.oppga-hof__class {
	margin: 0 0 36px;
}
.oppga-hof__heading {
	margin: 0 0 16px !important;
	padding: 0 0 8px !important;
	border-bottom: 3px solid var(--hof-gold);
	color: var(--hof-purple);
	font-size: 24px !important;
	font-weight: 700;
}

.oppga-hof__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.oppga-hof__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 4px;
	padding: 18px 16px 18px;
	border: 1px solid var(--hof-border);
	border-top: 4px solid var(--hof-gold);
	border-radius: 8px;
	background: #fff;
}
.oppga-hof__photo {
	width: 170px;
	height: 220px;
	margin-bottom: 10px;
	border-radius: 6px;
	object-fit: cover;
	object-position: top;
	border: 3px solid var(--hof-gold);
}
.oppga-hof__name {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1.3 !important;
}
.oppga-hof__name a {
	color: var(--hof-purple) !important;
	text-decoration: none;
}
.oppga-hof__name a:hover,
.oppga-hof__name a:focus-visible {
	text-decoration: underline;
}
.oppga-hof__distinction {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 14px;
	color: var(--hof-muted);
}
.oppga-hof__more {
	margin-top: 8px;
	padding: 4px 14px;
	border: 1px solid var(--hof-border);
	border-radius: 999px;
	color: var(--hof-purple) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.oppga-hof__more:hover,
.oppga-hof__more:focus-visible {
	background: var(--hof-purple-soft);
	border-color: var(--hof-purple);
}

@media (max-width: 640px) {
	.oppga-hof__grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 12px;
	}
	.oppga-hof__photo {
		width: 120px;
		height: 156px;
	}
}

/* Inductee pages ------------------------------------------------------------ */

/* The profile header shows his name; hide the theme's page title. */
.oppga-hof-profile-page .entry-title.main_title {
	display: none;
}
#main-content .container:has(.oppga-hof-profile) {
	width: 94%;
	max-width: 1100px;
}

.oppga-hof-profile__hero {
	display: grid;
	grid-template-columns: minmax(180px, 280px) 1fr;
	gap: 32px;
	align-items: center;
	margin: 8px 0 36px;
	padding: 28px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--hof-purple) 0%, #2f1a4a 100%);
	color: #fff;
	box-shadow: 0 10px 30px rgba(75, 44, 113, 0.18);
}
.oppga-hof-profile__photo {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top;
	border: 4px solid var(--hof-gold);
	border-radius: 10px;
	background: var(--hof-purple-soft);
}
.oppga-hof-profile__kicker {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: var(--hof-gold);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.oppga-hof-profile__name {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: clamp(28px, 4vw, 44px) !important;
	font-weight: 700;
	line-height: 1.15 !important;
}
.oppga-hof-profile__distinction {
	margin: 10px 0 0 !important;
	padding: 0 !important;
	color: #e9e0f5;
	font-size: 19px;
}
.oppga-hof-profile__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	align-items: center;
	margin: 22px 0 0 !important;
	padding: 0 !important;
	font-size: 14px;
	color: #d9cdea;
}
.oppga-hof-profile__meta a {
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
}
.oppga-hof-profile__meta a:hover,
.oppga-hof-profile__meta a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--hof-gold);
}

/* The biography: one comfortable reading column. */
.oppga-hof-profile__bio {
	max-width: 720px;
	margin: 0 auto;
	color: var(--hof-text);
	font-size: 18px;
	line-height: 1.75;
}
.oppga-hof-profile__bio p {
	margin: 0 0 1.1em !important;
	padding: 0 !important;
}
.oppga-hof-profile__bio > p:first-of-type {
	font-size: 21px;
	line-height: 1.6;
	color: var(--hof-purple);
}
.oppga-hof-profile__bio ul,
.oppga-hof-profile__bio ol {
	margin: 0 0 1.2em 1.3em !important;
	padding: 0 !important;
}
.oppga-hof-profile__bio li {
	margin-bottom: 0.4em;
}
.oppga-hof-profile__bio li::marker {
	color: var(--hof-gold);
}
.oppga-hof-profile__bio strong {
	color: var(--hof-purple);
}
.oppga-hof-profile__bio a {
	color: var(--hof-purple);
	text-decoration: underline;
	text-decoration-color: var(--hof-gold);
	text-underline-offset: 3px;
}
/* Photos kept in the biography (other than his portrait). */
.oppga-hof-profile__bio img {
	max-width: 100%;
	height: auto;
	border: 3px solid var(--hof-gold);
	border-radius: 8px;
}
.oppga-hof-profile__bio img.alignright {
	float: right;
	max-width: 42%;
	margin: 6px 0 16px 24px;
}
.oppga-hof-profile__bio img.alignleft {
	float: left;
	max-width: 42%;
	margin: 6px 24px 16px 0;
}
.oppga-hof-profile__bio::after {
	content: "";
	display: block;
	clear: both;
}

.oppga-hof-profile__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	max-width: 720px;
	margin: 40px auto 0;
	padding-top: 24px;
	border-top: 3px solid var(--hof-gold);
}
.oppga-hof-profile__step {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 18px;
	border: 1px solid var(--hof-border);
	border-radius: 8px;
	background: #fff;
	text-decoration: none;
}
.oppga-hof-profile__step--next {
	text-align: right;
}
a.oppga-hof-profile__step:hover,
a.oppga-hof-profile__step:focus-visible {
	background: var(--hof-purple-soft);
	border-color: var(--hof-purple);
}
.oppga-hof-profile__step--empty {
	border: 0;
	background: none;
}
.oppga-hof-profile__step-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--hof-muted);
}
.oppga-hof-profile__step-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--hof-purple);
}
.oppga-hof-profile__all {
	max-width: 720px;
	margin: 18px auto 0 !important;
	text-align: center;
}
.oppga-hof-profile__all a {
	color: var(--hof-purple);
	font-weight: 600;
}

@media (max-width: 760px) {
	.oppga-hof-profile__hero {
		grid-template-columns: 1fr;
		gap: 18px;
		padding: 20px;
		text-align: center;
	}
	.oppga-hof-profile__photo {
		max-width: 220px;
		margin: 0 auto;
	}
	.oppga-hof-profile__meta {
		justify-content: center;
	}
	.oppga-hof-profile__bio {
		font-size: 17px;
	}
	.oppga-hof-profile__bio img.alignright,
	.oppga-hof-profile__bio img.alignleft {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 auto 16px;
	}
	.oppga-hof-profile__nav {
		grid-template-columns: 1fr;
	}
	.oppga-hof-profile__step--next {
		text-align: left;
	}
}
