/* Drink With Us — In the News

   The publication name is the graphic. Decanter, VinePair and Portland
   Monthly are the credibility signal, so they're set large in mauve
   rather than as a small caption — which also means the cards carry
   visual weight without borrowing anyone's photography.

   Three-class selectors throughout: .fl-page p and .fl-builder-content *
   print after this file and will otherwise win. */

.dwu-news {
	--dwu-n-ink: var(--color-inky-green, #0f2e26);
	--dwu-n-soft: rgba(15, 46, 38, 0.66);
	--dwu-n-rule: rgba(15, 46, 38, 0.1);
	--dwu-n-accent: var(--color-dusty-mauve, #ba7157);
	--dwu-n-card: #ffffff;
	position: relative;
	padding: var(--space-12, 3rem) 0;
}

/* Head */

.dwu-news__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--space-4, 1rem);
	margin: 0 0 var(--space-6, 1.5rem);
}

.dwu-news__headings {
	flex: 1 1 320px;
	min-width: 0;
}

.fl-page .dwu-news .dwu-news__eyebrow {
	margin: 0 0 8px;
	max-width: none;
	color: var(--dwu-n-accent);
	font-family: var(--font-body, sans-serif);
	font-size: 0.8125rem !important;
	line-height: 1.2 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase;
}



.fl-page .dwu-news .dwu-news__title {
	margin: 0;
	color: var(--dwu-n-ink);
	font-family: var(--font-heading, sans-serif);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.015em;
}

.fl-page .dwu-news .dwu-news__intro {
	flex: 1 1 100%;
	max-width: 52ch;
	margin: 6px 0 0;
	color: var(--dwu-n-soft);
	font-size: var(--text-xs, 0.875rem);
	line-height: 1.5;
}

/* Scroll buttons — only shown when the track actually overflows */

.dwu-news__nav {
	display: flex;
	gap: 8px;
}

.dwu-news__nav[hidden] {
	display: none;
}

.fl-page .dwu-news .dwu-news__arrow {
	position: relative;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--dwu-n-ink);
	border-radius: 999px;
	color: var(--dwu-n-ink);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.fl-page .dwu-news .dwu-news__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translate(-25%, -50%) rotate(-135deg);
}

.fl-page .dwu-news .dwu-news__arrow--next::before {
	transform: translate(-75%, -50%) rotate(45deg);
}

.fl-page .dwu-news .dwu-news__arrow:hover:not(:disabled) {
	background: var(--dwu-n-ink);
	color: var(--dwu-n-card);
}

/* Solid */

.dwu-news--solid .dwu-news__arrow {
	background: var(--dwu-n-ink);
	border-color: var(--dwu-n-ink);
	color: var(--dwu-n-card);
}

.fl-page .dwu-news--solid .dwu-news__arrow:hover:not(:disabled) {
	background: var(--dwu-n-accent);
	border-color: var(--dwu-n-accent);
	color: #fff;
}

/* Plain */

.dwu-news--plain .dwu-news__arrow {
	width: 32px;
	border-color: transparent;
	background: transparent;
}

.fl-page .dwu-news--plain .dwu-news__arrow:hover:not(:disabled) {
	background: transparent;
	color: var(--dwu-n-accent);
}

.fl-page .dwu-news .dwu-news__arrow:disabled {
	opacity: 0.28;
	cursor: default;
}

/* Track. The fade on the right edge is what tells people there's more —
   a card clipped mid-word reads as broken, not as scrollable. */

.dwu-news__viewport {
	position: relative;
}

.dwu-news__viewport::after {
	content: "";
	position: absolute;
	top: 0;
	right: -1px;
	bottom: 14px;
	width: 64px;
	pointer-events: none;
	background: linear-gradient(to right, rgba(249, 249, 246, 0), var(--dwu-n-fade, #ece7d3));
	opacity: 0;
	transition: opacity 0.25s ease;
}

.dwu-news__viewport.has-more::after {
	opacity: 1;
}

.dwu-news__track {
	display: flex;
	gap: var(--space-4, 1rem);
	list-style: none;
	margin: 0;
	padding: 0 0 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.dwu-news__track::-webkit-scrollbar {
	height: 5px;
}

.dwu-news__track::-webkit-scrollbar-track {
	background: rgba(15, 46, 38, 0.06);
	border-radius: 3px;
}

.dwu-news__track::-webkit-scrollbar-thumb {
	background: rgba(15, 46, 38, 0.22);
	border-radius: 3px;
}

.dwu-news__item {
	flex: 0 0 var(--dwu-n-card-w, 290px);
	scroll-snap-align: start;
	display: flex;
}

/* Card */

.fl-page .dwu-news .dwu-news__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-height: 240px;
	padding: var(--space-5, 1.25rem);
	background: var(--dwu-n-card);
	border: 1px solid var(--dwu-n-rule);
	border-radius: var(--border-radius-lg, 8px);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fl-page .dwu-news a.dwu-news__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(15, 46, 38, 0.12);
}

/* Media */

.dwu-news__media {
	display: block;
	aspect-ratio: var(--dwu-n-ratio, 16 / 9);
	margin: calc(var(--space-5, 1.25rem) * -1) calc(var(--space-5, 1.25rem) * -1) var(--space-4, 1rem);
	overflow: hidden;
	border-radius: var(--border-radius-lg, 8px) var(--border-radius-lg, 8px) 0 0;
	background: rgba(15, 46, 38, 0.06);
}

.dwu-news__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.fl-page .dwu-news a.dwu-news__card:hover .dwu-news__media img {
	transform: scale(1.03);
}

/* No image in the sheet — the publication name fills the slot instead */

.dwu-news__media-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 16px;
	background: rgba(186, 113, 87, 0.1);
	color: var(--dwu-n-accent);
	font-family: var(--font-heading, sans-serif);
	font-size: 1.25rem;
	line-height: 1.2;
	text-align: center;
}

.dwu-news__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* With an image above, the source line drops its rule and shrinks */

.dwu-news--has-images .dwu-news__source {
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
	margin-bottom: 6px !important;
	font-size: 0.8125rem !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
}

/* Source — the graphic element */

.fl-page .dwu-news .dwu-news__source {
	margin: 0 0 var(--space-4, 1rem);
	max-width: none;
	padding-bottom: var(--space-3, 0.75rem);
	border-bottom: 1px solid var(--dwu-n-rule);
	color: var(--dwu-n-accent);
	font-family: var(--font-heading, sans-serif);
	font-size: 1.0625rem;
	line-height: 1.15;
	letter-spacing: -0.005em;
	text-transform: none;
}

.fl-page .dwu-news .dwu-news__headline {
	margin: 0;
	color: var(--dwu-n-ink);
	font-family: var(--font-heading, sans-serif);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.fl-page .dwu-news a.dwu-news__card:hover .dwu-news__headline {
	color: var(--dwu-n-accent);
}

.fl-page .dwu-news .dwu-news__excerpt {
	margin: 8px 0 0;
	max-width: none;
	color: var(--dwu-n-soft);
	font-size: var(--text-xs, 0.875rem);
	line-height: 1.5;

	/* Cap at three lines so cards with long excerpts don't tower over
	   cards with none. */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Foot pins to the bottom, so every card ends on the same line */

.fl-page .dwu-news .dwu-news__foot {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: auto 0 0;
	max-width: none;
	padding-top: var(--space-4, 1rem);
	font-family: var(--font-body, sans-serif);
	font-size: 0.75rem !important;
	line-height: 1.2 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase;
}

.fl-page .dwu-news .dwu-news__foot .dwu-news__date {
	color: var(--dwu-n-soft);
}

.fl-page .dwu-news .dwu-news__foot .dwu-news__read {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: auto;
	color: var(--dwu-n-accent);
}

.dwu-news__read::after {
	content: "";
	width: 16px;
	height: 7px;
	flex: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 7' fill='none' stroke='%23ba7157' stroke-width='1.2'%3E%3Cpath d='M0 3.5h14M11 1l3 2.5-3 2.5'/%3E%3C/svg%3E");
	transition: transform 0.2s ease;
}

.fl-page .dwu-news a.dwu-news__card:hover .dwu-news__read::after {
	transform: translateX(3px);
}

/* Heading alignment */

.dwu-news--align-center .dwu-news__headings {
	text-align: center;
}

.dwu-news--align-center .dwu-news__intro {
	margin-left: auto;
	margin-right: auto;
}

.dwu-news--align-center .dwu-news__head {
	justify-content: center;
}

/* Arrow placement */

.dwu-news--arrows-left .dwu-news__head {
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-5, 1.25rem);
}

.dwu-news--arrows-left.dwu-news--align-center .dwu-news__head {
	align-items: center;
}

.dwu-news__foot-nav {
	display: flex;
	justify-content: center;
	margin-top: var(--space-6, 1.5rem);
}

@media (max-width: 767px) {
	.dwu-news__item {
		flex: 0 0 min(var(--dwu-n-card-w, 290px), 78vw);
	}

	.dwu-news__head .dwu-news__nav {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dwu-news__track {
		scroll-behavior: auto;
	}

	.fl-page .dwu-news .dwu-news__card {
		transition: none;
	}

	.fl-page .dwu-news a.dwu-news__card:hover {
		transform: none;
	}
}

.dwu-news__empty {
	padding: var(--space-4, 1rem);
	border: 1px dashed var(--dwu-n-rule);
	color: var(--dwu-n-soft);
	font-size: var(--text-xs, 0.875rem);
}
