/* ==========================================================================
   HONORS.CSS — The Law Offices of Jimmy Cha, APC.
   Honors & Recognition page (honors.php). Loaded on slug "honors".
   The most gold-forward page on the site — antique gold throughout.
   01 Hero · 02 Each Honor · 03 Memberships & CE · 04 CTA
   (CTA + buttons come from component.css.)
   ========================================================================== */

@keyframes jcFadeUp {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}

/* ==========================================================================
   01 — HERO (gold-forward)
   ========================================================================== */
.honors-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(55% 70% at 50% 0%, rgba(184, 148, 94, 0.18), transparent 62%),
		radial-gradient(40% 60% at 90% 100%, rgba(166, 24, 44, 0.12), transparent 60%),
		var(--ink);
	border-bottom: 1px solid var(--gold-dim);
}
.honors-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 940px;
	margin-inline: auto;
	text-align: center;
	padding-block: 104px 84px;
}
.honors-hero-title {
	font-size: clamp(36px, 5.4vw, 60px);
	font-weight: 700;
	color: var(--warm-white);
	line-height: 1.08;
	letter-spacing: -0.4px;
	margin-bottom: 36px;
	animation: jcFadeUp 0.8s ease both;
}
.honors-hero-title em {
	font-style: italic;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.honors-hero-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	animation: jcFadeUp 0.8s ease 0.16s both;
}
.honors-hero-badges span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--gold);
	padding: 10px 18px;
	border: 1px solid var(--gold-dim);
	border-radius: 50px;
	background: var(--gold-dim);
}
.honors-hero-badges i {
	font-size: 14px;
}

/* ==========================================================================
   02 — EACH HONOR (detailed cards)
   ========================================================================== */
.honors-detail {
	background: var(--charcoal);
}
.honor-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 14px;
}
.honor-detail-card {
	position: relative;
	border: 1px solid transparent;
	border-radius: var(--radius-lg);
	padding: 34px;
	overflow: hidden;
	background:
		linear-gradient(160deg, rgba(184, 148, 94, 0.08), rgba(20, 20, 25, 0.45)) padding-box,  
		linear-gradient(160deg, rgba(184, 148, 94, 0.45), rgba(184, 148, 94, 0.08)) border-box;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Antique-gold top accent — the design system's "Honor the Honors" treatment */
.honor-detail-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--grad-gold);
	opacity: 0.85;
}
.honor-detail-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--glow-gold);
}
.honor-detail-head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--gold-dim);
}
.honor-detail-icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	font-size: 24px;
	color: var(--gold);
	background: var(--gold-dim);
	border: 1px solid rgba(184, 148, 94, 0.3);
}
.honor-detail-name {
	font-size: 21px;
	font-weight: 600;
	color: var(--gold-light);
	line-height: 1.2;
	margin-bottom: 5px;
}
.honor-detail-year {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--gold);
}
.honor-detail-block {
	margin-bottom: 18px;
}
.honor-detail-block:last-child {
	margin-bottom: 0;
}
.honor-detail-label {
	display: block;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 7px;
}
.honor-detail-block p {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.7;
}

/* ==========================================================================
   03 — MEMBERSHIPS & CONTINUING EDUCATION
   ========================================================================== */
.credentials-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 14px;
}
.credential-item {
	border: 1px solid var(--gunmetal);
	border-radius: var(--radius-lg);
	padding: 30px;
	background: var(--grad-surface);
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.credential-item:hover {
	transform: translateY(-4px);
	border-color: rgba(184, 148, 94, 0.4);
}
.credential-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 13px;
	font-size: 21px;
	color: var(--gold);
	background: var(--gold-dim);
	border: 1px solid rgba(184, 148, 94, 0.3);
	margin-bottom: 18px;
}
.credential-name {
	font-size: 21px;
	color: var(--warm-white);
	margin-bottom: 10px;
}
.credential-desc {
	font-size: 14.5px;
	color: var(--silver-light);
	line-height: 1.65;
	margin-bottom: 14px;
}
.credential-note {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--gold);
	line-height: 1.5;
}
.credential-note span {
	color: var(--gray-300);
	letter-spacing: 0.5px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
	.honor-detail-grid {
		grid-template-columns: 1fr;
	}
	.credentials-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 680px) {
	.honors-hero-inner {
		padding-block: 64px 52px;
	}
	.honor-detail-card {
		padding: 26px;
	}
}
