/**
 * "Off the Cuff" page (template/off-the-cuff.php).
 */

.page-off-the-cuff {
	--ar-gold: rgb(200, 169, 106);
	--ar-ink: rgb(17, 17, 17);
	--ar-foreground: rgb(17, 17, 17);
	--ar-muted-foreground: #6b6b6b;
	--ar-border: #f4f4fd;
	--ar-bg: #ffffff;
	background: var(--ar-bg);
	color: var(--ar-foreground);
}

/* ----- Hero ----- */
.page-off-the-cuff .otc-hero {
	position: relative;
	overflow: hidden;
	background: var(--ar-ink);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 128px 0 64px;
}

.page-off-the-cuff .otc-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: 0.28;
	pointer-events: none;
}

.page-off-the-cuff .otc-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(17, 17, 17, 0.97) 0%,
		rgba(17, 17, 17, 0.72) 55%,
		rgba(17, 17, 17, 0.4) 100%
	);
	pointer-events: none;
}

.page-off-the-cuff .otc-hero__inner {
	position: relative;
	padding: 0 40px;
	width: 100%;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-hero__inner {
		padding: 0 80px;
	}
}

.page-off-the-cuff .otc-hero__rule {
	width: 28px;
	height: 1px;
	background: var(--ar-gold);
	margin-bottom: 28px;
}

.page-off-the-cuff .otc-hero__kicker {
	margin: 0 0 20px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(200, 169, 106, 0.6);
}

.page-off-the-cuff .otc-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(2.2rem, 4.5vw, 4.2rem);
	font-weight: 300;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.page-off-the-cuff .otc-hero__lead {
	margin: 20px 0 0;
	max-width: 500px;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.45);
}

/* ----- Featured ----- */
.page-off-the-cuff .otc-featured {
	border-top: 1px solid var(--ar-border);
}

.page-off-the-cuff .otc-featured__inner {
	padding: 56px 40px;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-featured__inner {
		padding: 56px 80px;
	}
}

.page-off-the-cuff .otc-featured__kicker {
	margin: 0 0 32px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--ar-gold);
}

.page-off-the-cuff .otc-featured__card {
	margin: 0;
	border-top: 1px solid var(--ar-border);
	border-bottom: 1px solid var(--ar-border);
}

.page-off-the-cuff .otc-featured__link {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 1024px) {
	.page-off-the-cuff .otc-featured__link {
		grid-template-columns: 1fr 1fr;
	}
}

.page-off-the-cuff .otc-featured__media {
	position: relative;
	overflow: hidden;
	min-height: 380px;
}

.page-off-the-cuff .otc-featured__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.page-off-the-cuff .otc-featured__link:hover .otc-featured__img,
.page-off-the-cuff .otc-featured__link:focus-visible .otc-featured__img {
	transform: scale(1.03);
}

.page-off-the-cuff .otc-featured__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 0;
}

@media (min-width: 1024px) {
	.page-off-the-cuff .otc-featured__body {
		padding: 0 0 0 56px;
	}
}

.page-off-the-cuff .otc-featured__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
}

.page-off-the-cuff .otc-featured__category {
	color: var(--ar-gold);
}

.page-off-the-cuff .otc-featured__date,
.page-off-the-cuff .otc-featured__read {
	color: var(--ar-muted-foreground);
}

.page-off-the-cuff .otc-featured__title {
	margin: 0 0 20px;
	color: var(--ar-foreground);
	font-size: clamp(1.3rem, 2vw, 1.9rem);
	line-height: 1.25;
	letter-spacing: -0.022em;
	font-weight: 300;
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-featured__link:hover .otc-featured__title,
.page-off-the-cuff .otc-featured__link:focus-visible .otc-featured__title {
	opacity: 0.65;
}

.page-off-the-cuff .otc-featured__excerpt {
	margin: 0 0 32px;
	max-width: 460px;
	color: var(--ar-muted-foreground);
	font-size: 13px;
	line-height: 1.8;
}

.page-off-the-cuff .otc-featured__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--ar-gold);
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-featured__link:hover .otc-featured__cta,
.page-off-the-cuff .otc-featured__link:focus-visible .otc-featured__cta {
	opacity: 0.6;
}

/* ----- Grid ----- */
.page-off-the-cuff .otc-grid {
	border-top: 1px solid var(--ar-border);
}

.page-off-the-cuff .otc-grid__inner {
	padding: 48px 40px;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-grid__inner {
		padding: 64px 80px;
	}
}

.page-off-the-cuff .otc-grid__toolbar {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 40px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--ar-border);
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-grid__toolbar {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
}

.page-off-the-cuff .otc-grid__kicker {
	margin: 0;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--ar-muted-foreground);
	flex-shrink: 0;
}

.page-off-the-cuff .otc-grid__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-off-the-cuff .otc-filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	font-family: inherit;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	line-height: 1;
	color: var(--ar-muted-foreground);
	background: transparent;
	border: 1px solid var(--ar-border);
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-off-the-cuff .otc-filter:hover,
.page-off-the-cuff .otc-filter:focus-visible {
	color: var(--ar-foreground);
	border-color: rgba(17, 17, 17, 0.25);
	outline: 0;
}

.page-off-the-cuff .otc-filter.is-active {
	color: #fff;
	background: var(--ar-gold);
	border-color: var(--ar-gold);
}

.page-off-the-cuff .otc-card[hidden] {
	display: none;
}

.page-off-the-cuff .otc-grid__empty {
	margin: 0;
	padding: 48px 0;
	font-size: 14px;
	color: var(--ar-muted-foreground);
	text-align: center;
}

.page-off-the-cuff .otc-grid__filter-empty {
	grid-column: 1 / -1;
}

.page-off-the-cuff .otc-grid__filter-empty[hidden] {
	display: none;
}

.page-off-the-cuff .otc-grid__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--ar-border);
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-grid__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.page-off-the-cuff .otc-grid__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.page-off-the-cuff .otc-card {
	margin: 0;
	border-bottom: 1px solid var(--ar-border);
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-card {
		border-right: 1px solid var(--ar-border);
	}

	.page-off-the-cuff .otc-card:nth-child(2n) {
		border-right: none;
	}
}

@media (min-width: 1024px) {
	.page-off-the-cuff .otc-card {
		border-right: 1px solid var(--ar-border);
	}

	.page-off-the-cuff .otc-card:nth-child(2n) {
		border-right: 1px solid var(--ar-border);
	}

	.page-off-the-cuff .otc-card:nth-child(3n) {
		border-right: none;
	}
}

.page-off-the-cuff .otc-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 40px 0;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-card__link {
		padding: 40px 32px;
	}

	.page-off-the-cuff .otc-card:nth-child(2n + 1) .otc-card__link {
		padding-left: 0;
	}

	.page-off-the-cuff .otc-card:nth-child(2n) .otc-card__link {
		padding-right: 0;
	}
}

@media (min-width: 1024px) {
	.page-off-the-cuff .otc-card:nth-child(2n + 1) .otc-card__link {
		padding-left: 32px;
	}

	.page-off-the-cuff .otc-card:nth-child(2n) .otc-card__link {
		padding-right: 32px;
	}

	.page-off-the-cuff .otc-card:nth-child(3n + 1) .otc-card__link {
		padding-left: 0;
	}

	.page-off-the-cuff .otc-card:nth-child(3n) .otc-card__link {
		padding-right: 0;
	}
}

.page-off-the-cuff .otc-card__media {
	position: relative;
	overflow: hidden;
	height: 220px;
	margin-bottom: 24px;
	flex-shrink: 0;
	background: #ececea;
}

.page-off-the-cuff .otc-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: transform;
}

.page-off-the-cuff .otc-card__link:hover .otc-card__img,
.page-off-the-cuff .otc-card__link:focus-visible .otc-card__img {
	transform: scale(1.05);
}

.page-off-the-cuff .otc-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 12px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
}

.page-off-the-cuff .otc-card__category {
	color: var(--ar-gold);
}

.page-off-the-cuff .otc-card__date {
	color: var(--ar-muted-foreground);
}

.page-off-the-cuff .otc-card__read {
	margin-left: auto;
	color: var(--ar-muted-foreground);
}

.page-off-the-cuff .otc-card__title {
	margin: 0 0 12px;
	color: var(--ar-foreground);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.35;
	letter-spacing: -0.018em;
	font-weight: 300;
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-card__link:hover .otc-card__title,
.page-off-the-cuff .otc-card__link:focus-visible .otc-card__title {
	opacity: 0.7;
}

.page-off-the-cuff .otc-card__excerpt {
	margin: 0 0 16px;
	color: var(--ar-muted-foreground);
	font-size: 13px;
	line-height: 1.75;
	flex-grow: 1;
}

.page-off-the-cuff .otc-card__author {
	margin: 0 0 16px;
	font-family: "Verdana Pro", Verdana, Geneva, sans-serif;
	font-size: 0.5rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.32);
}

.page-off-the-cuff .otc-card__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 2px;
	border-bottom: 1px solid currentColor;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--ar-gold);
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-card__link:hover .otc-card__cta,
.page-off-the-cuff .otc-card__link:focus-visible .otc-card__cta {
	opacity: 0.6;
}

/* ----- Newsletter band ----- */
.page-off-the-cuff .otc-newsletter {
	background: #f8f6f2;
	border-top: 1px solid var(--ar-border);
	border-bottom: 1px solid var(--ar-border);
}

.page-off-the-cuff .otc-newsletter__inner {
	padding: 56px 40px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-newsletter__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 64px;
		padding: 64px 80px;
	}
}

.page-off-the-cuff .otc-newsletter__kicker {
	margin: 0 0 8px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--ar-gold);
}

.page-off-the-cuff .otc-newsletter__title {
	margin: 0 0 8px;
	color: var(--ar-foreground);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.page-off-the-cuff .otc-newsletter__text {
	margin: 0;
	max-width: 380px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--ar-muted-foreground);
}

.page-off-the-cuff .otc-newsletter__form-col {
	width: 100%;
	min-width: 0;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-newsletter__form-col {
		flex: 0 1 420px;
	}
}

.page-off-the-cuff .otc-newsletter__label-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-off-the-cuff .otc-newsletter__form {
	display: flex;
	flex-direction: column;
}

@media (min-width: 640px) {
	.page-off-the-cuff .otc-newsletter__form {
		flex-direction: row;
	}
}

.page-off-the-cuff .otc-newsletter__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 16px;
	font-family: "Verdana Pro", Verdana, Geneva, sans-serif;
	font-size: 0.8rem;
	color: var(--ar-ink);
	background: #fff;
	border: 1px solid var(--ar-border);
	outline: 0;
	transition: border-color 0.2s ease;
}

@media (min-width: 640px) {
	.page-off-the-cuff .otc-newsletter__input {
		border-right: 0;
	}
}

.page-off-the-cuff .otc-newsletter__input:focus-visible {
	border-color: rgba(17, 17, 17, 0.35);
}

.page-off-the-cuff .otc-newsletter__submit {
	flex-shrink: 0;
	padding: 16px 32px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: #fff;
	background: var(--ar-gold);
	border: 1px solid var(--ar-gold);
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-newsletter__submit:hover,
.page-off-the-cuff .otc-newsletter__submit:focus-visible {
	opacity: 0.85;
	outline: 0;
}

.page-off-the-cuff .otc-newsletter__note {
	margin: 12px 0 0;
	font-size: 10px;
	line-height: 1.6;
	color: var(--ar-muted-foreground);
}

.page-off-the-cuff .otc-newsletter__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.2s ease;
}

.page-off-the-cuff .otc-newsletter__link:hover,
.page-off-the-cuff .otc-newsletter__link:focus-visible {
	opacity: 0.7;
}

.page-off-the-cuff .otc-newsletter__confirmation {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ar-foreground);
}

.page-off-the-cuff .otc-newsletter__confirmation[hidden],
.page-off-the-cuff .otc-newsletter__form[hidden] {
	display: none;
}

/* ----- Bottom CTA band ----- */
.page-off-the-cuff .otc-cta {
	background: var(--ar-ink);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-off-the-cuff .otc-cta__inner {
	padding: 64px 40px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

@media (min-width: 768px) {
	.page-off-the-cuff .otc-cta__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 64px 80px;
	}
}

.page-off-the-cuff .otc-cta__kicker {
	margin: 0 0 16px;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(200, 169, 106, 0.5);
}

.page-off-the-cuff .otc-cta__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 2.4vw, 2.4rem);
	line-height: 1.15;
	letter-spacing: -0.022em;
	font-weight: 300;
}

.page-off-the-cuff .otc-cta__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-shrink: 0;
}

@media (min-width: 640px) {
	.page-off-the-cuff .otc-cta__actions {
		flex-direction: row;
	}
}

.page-off-the-cuff .otc-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 40px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	text-decoration: none;
	transition: opacity 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-off-the-cuff .otc-cta__btn--primary {
	background: var(--ar-gold);
	color: #fff;
}

.page-off-the-cuff .otc-cta__btn--primary:hover,
.page-off-the-cuff .otc-cta__btn--primary:focus-visible {
	opacity: 0.88;
}

.page-off-the-cuff .otc-cta__btn--ghost {
	color: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-off-the-cuff .otc-cta__btn--ghost:hover,
.page-off-the-cuff .otc-cta__btn--ghost:focus-visible {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.4);
}

@media (prefers-reduced-motion: reduce) {
	.page-off-the-cuff .otc-filter,
	.page-off-the-cuff .otc-featured__img,
	.page-off-the-cuff .otc-card__img,
	.page-off-the-cuff .otc-cta__btn,
	.page-off-the-cuff .otc-featured__title,
	.page-off-the-cuff .otc-card__title {
		transition: none;
	}
}
