/* ==========================================================================
   News: the listing and a story
   ========================================================================== */

.bud-newsroom {
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.bud-newsroom-head {
	margin: clamp(1rem, 2vw, 1.5rem) 0 0.75rem;
}

.bud-newsroom-head h1 {
	margin: 0;
	font-family: var(--bud-face);
	font-size: clamp(2.25rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

.bud-newsroom-head p {
	margin: 0.5rem 0 0;
	color: #dfe4df;
}

/* A story in a list --------------------------------------------------------- */

.bud-story {
	position: relative;
	min-width: 0;
}

.bud-story-art {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
	background: var(--bud-surface);
}

.bud-story-art img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.bud-story:hover .bud-story-art img {
	transform: scale(1.03);
}

.bud-story-art.is-blank {
	display: grid;
	place-items: center;
}

.bud-story-art.is-blank img {
	width: 22%;
	height: auto;
	object-fit: contain;
	opacity: 0.35;
}

.bud-story-copy {
	min-width: 0;
}

.bud-story-label {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--bud-lime);
}

.bud-story h2,
.bud-story h3 {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--bud-sans);
	font-weight: 800;
	letter-spacing: -0.015em;
	text-transform: none;
	color: #fff;
}

.bud-story h2 a,
.bud-story h3 a {
	color: inherit;
	text-decoration: none;
}

/* The whole story is the link. */
.bud-story h2 a::after,
.bud-story h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.bud-story:hover h2,
.bud-story:hover h3 {
	color: var(--bud-lime);
}

.bud-story-dek {
	margin: 0.3rem 0 0;
	font-size: 0.92rem;
	line-height: 1.4;
	color: #c9d0ca;
}

.bud-story-date {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.78rem;
	color: #9aa49c;
}

/* The top stories */
.bud-news-top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(1.25rem, 2.5vw, 2rem);
	padding-bottom: clamp(1.25rem, 2vw, 1.75rem);
	border-bottom: 1px solid var(--bud-line-strong);
	margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.bud-news-top.is-solo {
	grid-template-columns: minmax(0, 1fr);
}

.bud-news-top-side {
	display: grid;
	gap: 0;
	align-content: start;
}

.bud-story.is-lead .bud-story-art {
	aspect-ratio: 2 / 1;
}

.bud-story.is-lead .bud-story-copy {
	padding-top: 0.75rem;
}

.bud-story.is-lead h2 {
	font-size: clamp(1.4rem, 2.2vw, 2rem);
	line-height: 1.12;
}

.bud-story.is-lead .bud-story-dek {
	max-width: 50rem;
	font-size: 0.98rem;
}

/* Beside the lead: small picture, headline next to it. */
.bud-news-top-side .bud-story {
	display: grid;
	grid-template-columns: 136px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	padding-block: 0.75rem;
	border-top: 1px solid var(--bud-line);
}

.bud-news-top-side .bud-story:first-child {
	padding-top: 0;
	border-top: 0;
}

.bud-news-top-side .bud-story-art {
	aspect-ratio: 4 / 3;
}

.bud-story.is-side .bud-story-copy {
	padding-top: 0.6rem;
}

.bud-news-top-side .bud-story.is-side .bud-story-copy {
	padding-top: 0;
}

.bud-story.is-side h3 {
	font-size: 1.02rem;
	line-height: 1.22;
}

/* The river */
.bud-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: clamp(1.75rem, 3vw, 2.75rem);
	justify-content: space-between;
	align-items: start;
}

.bud-news-river > h2,
.bud-news-rail h2,
.bud-story-more > h2 {
	margin: 0 0 0.6rem;
	padding: 0;
	border: 0;
	font-family: var(--bud-face);
	font-size: clamp(1.4rem, 2vw, 1.7rem);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
}

.bud-story.is-row {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	padding-block: 0.8rem;
	border-top: 1px solid var(--bud-line);
}

.bud-story.is-row h3 {
	font-size: clamp(1.02rem, 1.3vw, 1.2rem);
	line-height: 1.2;
}

.bud-news-river .bud-ad {
	margin-block: 1.25rem;
}

/* The rail */
.bud-news-rail {
	display: grid;
	gap: 1.5rem;
	min-width: 0;
}

.bud-story.is-mini {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: 0.65rem;
	align-items: start;
	padding-block: 0.55rem;
	border-top: 1px solid var(--bud-line);
}

.bud-story.is-mini .bud-story-art {
	aspect-ratio: 1;
	border-radius: 8px;
}

.bud-story.is-mini h3 {
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}

.bud-story.is-mini .bud-story-label {
	font-size: 0.76rem;
}

.bud-news-topics {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bud-news-topics li {
	border-top: 1px solid var(--bud-line);
}

.bud-news-topics a {
	display: block;
	padding: 0.4rem 0;
	font-size: 0.92rem;
	font-weight: 600;
	color: #dfe4df;
	text-decoration: none;
}

.bud-news-topics a:hover {
	color: var(--bud-lime);
}

/* A story ------------------------------------------------------------------- */

.bud-story-page .bud-news-layout {
	padding-top: clamp(1rem, 2vw, 1.75rem);
}

.bud-story-article {
	min-width: 0;
}

.bud-story-head {
	max-width: 54rem;
	margin-bottom: 1.1rem;
}

.bud-story-kicker {
	display: inline-block;
	margin-bottom: 0.6rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bud-lime);
	text-decoration: none;
}

.bud-story-head h1 {
	margin: 0;
	font-family: var(--bud-sans);
	font-size: clamp(1.7rem, 2.8vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: #fff;
}

.bud-story-head .bud-story-dek {
	margin: 0.6rem 0 0;
	font-size: clamp(1rem, 1.3vw, 1.12rem);
	line-height: 1.4;
	color: #dfe4df;
}

.bud-story-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-top: 0.9rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--bud-line);
}

.bud-story-meta p {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
	margin: 0;
	font-size: 0.92rem;
	color: #aeb7af;
}

.bud-story-meta p span:first-child {
	font-weight: 700;
	color: #fff;
}

.bud-story-meta .bud-share {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.bud-story-meta .bud-share-label {
	margin-right: 0.3rem;
	font-size: 0.86rem;
	color: #aeb7af;
}

.bud-story-meta .bud-share a,
.bud-story-meta .bud-share button {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--bud-surface-elevated);
	color: #fff;
	cursor: pointer;
}

.bud-story-meta .bud-share a:hover,
.bud-story-meta .bud-share button:hover,
.bud-story-meta .bud-share a:focus-visible,
.bud-story-meta .bud-share button:focus-visible {
	background: var(--bud-lime);
	color: #0a0c0a;
}

.bud-story-meta .bud-share button[hidden] {
	display: none;
}

.bud-story-meta .bud-share button .bud-ui-icon + .bud-ui-icon,
.bud-story-meta .bud-share button.is-copied .bud-ui-icon:first-child {
	display: none;
}

.bud-story-meta .bud-share button.is-copied .bud-ui-icon + .bud-ui-icon {
	display: block;
}

.bud-story-photo,
.bud-story-more {
	max-width: 54rem;
}

.bud-story-photo {
	margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
}

.bud-story-photo img {
	display: block;
	width: 100%;
	max-height: 460px;
	aspect-ratio: 2 / 1;
	border-radius: 14px;
	object-fit: cover;
}

.bud-story-photo figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #9aa49c;
}

.bud-story-text {
	max-width: 44rem;
}

.bud-story-text .bud-body {
	max-width: none;
	font-size: 1.02rem;
	line-height: 1.65;
}

.bud-story-source {
	margin: 1.25rem 0 0;
	font-size: 0.9rem;
	color: #aeb7af;
}

.bud-story-source a {
	font-weight: 600;
	color: #fff;
}

.bud-story-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1rem;
	margin: 1.75rem 0 0;
	font-size: 0.92rem;
}

.bud-story-tags a {
	font-weight: 600;
	color: #c9d0ca;
}

.bud-story-more {
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
	padding-top: clamp(1.25rem, 2vw, 1.5rem);
	border-top: 1px solid var(--bud-line-strong);
}

.bud-story-more-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
	gap: 1rem;
}

/* Phones and tablets -------------------------------------------------------- */

@media (max-width: 980px) {
	.bud-news-layout,
	.bud-news-top {
		grid-template-columns: minmax(0, 1fr);
	}

	.bud-news-top-side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 1.25rem;
	}

	.bud-news-top-side .bud-story:nth-child(2) {
		padding-top: 0;
		border-top: 0;
	}
}

@media (max-width: 640px) {
	.bud-news-top-side {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	/* Only the lead keeps a full-width picture; the rest are quick rows. */
	.bud-news-top-side .bud-story,
	.bud-story.is-row {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 0.85rem;
		padding-block: 0.9rem;
		border-top: 1px solid var(--bud-line);
	}

	.bud-news-top-side .bud-story .bud-story-copy {
		padding-top: 0;
	}

	.bud-news-top-side .bud-story .bud-story-art,
	.bud-story.is-row .bud-story-art {
		aspect-ratio: 1;
		border-radius: 10px;
	}

	.bud-story.is-row h3,
	.bud-news-top-side .bud-story h3 {
		font-size: 1.05rem;
	}

	.bud-story.is-row .bud-story-dek {
		display: none;
	}

	.bud-story-text .bud-body {
		font-size: 1.0625rem;
	}
}
