/*
 * Zinn Awards — award trust-mark styles.
 *
 * Palette is the house cream/gold set, stated explicitly so the block can never inherit the
 * retired dark treatment:
 *   cream page  #fdfcf5   cream tile #fef3d4   cream border #ecd9a0
 *   deep gold   #8a6410 (5.2:1 on cream - AA body text)
 *   bright gold #D4A84B (decorative only, never used for text on cream)
 *   body text   #555     (7.2:1 on cream)
 *
 * HARD RULE being honoured here: the theme ships a global a:hover{color:...} that beats a
 * plain .class:hover rule, which has repeatedly turned gold-on-gold labels invisible. Every
 * link below therefore locks its colour across :link,:visited,:hover,:focus,:active with
 * !important, and only the background/border moves on hover.
 *
 * No animation, no transform, nothing that can shift layout. Images carry intrinsic
 * width/height in the markup, so the boxes below never reflow when the bitmap lands.
 */

.zaw {
	margin: 0 0 1.25rem;
	font-family: inherit;
}

.zaw__link,
.zaw__link:link,
.zaw__link:visited,
.zaw__link:hover,
.zaw__link:focus,
.zaw__link:active {
	color: #55503f !important;
	text-decoration: none !important;
}

.zaw__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	background: #fdfcf5;
	border: 1px solid #ecd9a0;
	border-radius: 12px;
	line-height: 1.4;
}

.zaw__link:hover,
.zaw__link:focus {
	background: #fef3d4;
	border-color: #d4b56a;
}

.zaw__link:focus-visible {
	outline: 3px solid #8a6410;
	outline-offset: 2px;
}

.zaw__mark {
	flex: 0 0 auto;
	display: block;
	height: auto;
	max-width: 100%;
}

.zaw__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}

.zaw__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8a6410;
}

.zaw__title {
	font-size: 15px;
	font-weight: 700;
	color: #3f3a30;
}

.zaw__body,
.zaw__chip-sub {
	font-size: 12.5px;
	color: #555;
}

.zaw__cta {
	flex: 0 0 auto;
	margin-inline-start: auto;
	padding-inline-start: 14px;
	font-size: 13px;
	font-weight: 600;
	color: #8a6410;
	white-space: nowrap;
}

.zaw__cta::after {
	content: " \2192";
}

/* ---- Wide strip, used at the top of marketing and SEO pages ---- */

/*
 * Symmetric vertical margin. The strip is the FIRST child of .entry-content and nothing in
 * the ancestor chain (.entry-content / article / main / .content-wrapper) carries any top
 * padding, so a zero top margin left it butted flush against the site header on the front
 * page. Equal space top and bottom makes it read as a deliberate band on every surface.
 */

.zaw--strip {
	margin: 1.5rem 0;
}

.zaw--strip .zaw__title {
	font-size: 16px;
}

/* ---- Compact chip, used on cart and checkout ---- */

.zaw--chip .zaw__link {
	padding: 10px 14px;
	gap: 10px;
}

.zaw--chip .zaw__chip-line {
	font-size: 13.5px;
	font-weight: 700;
	color: #3f3a30;
}

.zaw--chip {
	max-width: 520px;
	margin: 1.25rem 0 0;
}

/*
 * Static (non-clickable) mark, used on cart and checkout. Same box as the linked chip, but
 * it must not look or behave interactive: no hover state, no pointer cursor.
 */

.zaw--static .zaw__link {
	cursor: default;
	color: #55503f;
}

.zaw--static .zaw__link:hover {
	background: #fdfcf5;
	border-color: #ecd9a0;
}

/* ---- Footer variant ---- */

/*
 * The footer branding column is narrow (~210px on desktop) and everything in it is
 * centred, so the horizontal row layout used elsewhere wraps badly and reads as misaligned
 * against its neighbours. Stack and centre this variant to match the column.
 */

.zaw--footer {
	margin: 0 auto 22px;
	max-width: 300px;
}

.zaw--footer .zaw__link {
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	padding: 16px 14px;
}

.zaw--footer .zaw__text {
	align-items: center;
}

.zaw--footer .zaw__title {
	font-size: 13px;
	line-height: 1.35;
}

.zaw--footer .zaw__body {
	font-size: 11.5px;
}

/* ---- Narrow screens: stack, never overflow ---- */

@media (max-width: 640px) {
	.zaw__link {
		flex-wrap: wrap;
		gap: 12px;
	}

	.zaw__cta {
		margin-inline-start: 0;
		padding-inline-start: 0;
		flex-basis: 100%;
	}

	.zaw__title {
		font-size: 14.5px;
	}
}

/* =====================================================================
 * /awards/ page
 * ================================================================== */

.zaw-page {
	color: #444;
	line-height: 1.7;
}

.zaw-page__hero {
	display: flex;
	align-items: flex-start;
	gap: 26px;
	padding: 26px;
	margin: 0 0 28px;
	background: #fdfcf5;
	border: 1px solid #ecd9a0;
	border-radius: 16px;
}

.zaw-page__mark {
	flex: 0 0 auto;
	display: block;
	height: auto;
	max-width: 100%;
}

.zaw-page__herotext {
	min-width: 0;
}

.zaw-page__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8a6410;
}

.zaw-page__lead {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 600;
	color: #3f3a30;
}

.zaw-page__meta {
	margin: 0 0 14px;
	font-size: 14px;
	color: #555;
}

.zaw-page__verify {
	margin: 0;
	font-size: 14px;
}

.zaw-page__verifylink,
.zaw-page__verifylink:link,
.zaw-page__verifylink:visited,
.zaw-page__verifylink:hover,
.zaw-page__verifylink:focus,
.zaw-page__verifylink:active {
	color: #8a6410 !important;
	text-decoration: underline !important;
	font-weight: 600;
}

.zaw-page__verifylink:focus-visible {
	outline: 3px solid #8a6410;
	outline-offset: 2px;
}

.zaw-page__verifynote {
	display: block;
	font-size: 12.5px;
	color: #666;
}

.zaw-page__figure {
	margin: 0 0 30px;
	padding: 0;
}

.zaw-page__figure img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid #ecd9a0;
}

.zaw-page__h2 {
	margin: 34px 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #3f3a30;
}

.zaw-page__criteria {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 8px 22px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.zaw-page__criteria li {
	position: relative;
	padding-inline-start: 24px;
	font-size: 15px;
}

.zaw-page__criteria li::before {
	content: "\2713";
	position: absolute;
	inset-inline-start: 0;
	color: #8a6410;
	font-weight: 700;
}

.zaw-page__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0;
}

.zaw-page__links a,
.zaw-page__links a:link,
.zaw-page__links a:visited,
.zaw-page__links a:hover,
.zaw-page__links a:focus,
.zaw-page__links a:active {
	color: #8a6410 !important;
	text-decoration: none !important;
}

.zaw-page__links a {
	display: inline-block;
	padding: 9px 16px;
	background: #fdfcf5;
	border: 1px solid #ecd9a0;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}

.zaw-page__links a:hover,
.zaw-page__links a:focus {
	background: #fef3d4;
	border-color: #d4b56a;
}

.zaw-page__links a:focus-visible {
	outline: 3px solid #8a6410;
	outline-offset: 2px;
}

/* Wide content must scroll inside its own container, never the page body. */
.zaw-page__tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.zaw-page__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.zaw-page__table th,
.zaw-page__table td {
	padding: 11px 14px;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid #ecd9a0;
}

.zaw-page__table th {
	width: 34%;
	white-space: nowrap;
	font-weight: 700;
	color: #3f3a30;
	background: #fdfcf5;
}

@media (max-width: 640px) {
	.zaw-page__hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 18px;
		padding: 22px 18px;
	}

	.zaw-page__h2 {
		font-size: 21px;
	}

	.zaw-page__table th {
		white-space: normal;
	}
}
