.acds-stories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 24px;
}

.acds-stories__empty {
	margin: 0;
	color: #555;
}

.acds-story-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.acds-story-card__body {
	padding: 28px 28px 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.acds-story-card__type {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}
.acds-story-card__type-icon {
	font-size: 15px;
	line-height: 1;
}
.acds-story-card__type-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}

.acds-story-card__title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	color: #111827;
}
.acds-story-card__title a {
	color: inherit;
	text-decoration: none;
}
.acds-story-card__title a:hover {
	text-decoration: underline;
}

.acds-story-card__excerpt {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #6b7280;
}
.acds-story-card__excerpt p {
	margin: 0;
}

.acds-story-card__link {
	margin-top: 12px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1d4ed8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.acds-story-card__link:hover {
	text-decoration: underline;
}
.acds-story-card__arrow {
	display: inline-block;
	transition: transform 0.15s ease;
}
.acds-story-card__link:hover .acds-story-card__arrow {
	transform: translateX(2px);
}

.acds-related-stories {
	margin: 40px 0;
}
.acds-related-stories__title {
	margin: 0 0 16px;
	font-size: 1.5rem;
}
a.acds-story-variable {
	text-decoration: underline;
}

/* ============================
   MOBILE RESPONSIVE ADDITIONS
   ============================ */

/* Tablet: slightly reduce min card width and gap */
@media screen and (max-width: 989px) {
	.acds-stories__grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 20px;
	}
}

/* Mobile: force single column, this is the important fix.
   minmax(340px, 1fr) alone will overflow on screens under ~375px
   once you factor in body padding/scrollbars — auto-fill doesn't
   protect you the way you'd expect on very small viewports. */
@media screen and (max-width: 749px) {
	.acds-stories__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.acds-story-card__body {
		padding: 20px 20px 18px;
		gap: 8px;
	}

	.acds-story-card__title {
		font-size: 1.1rem;
	}

	.acds-story-card__excerpt {
		font-size: 0.9rem;
	}

	.acds-related-stories {
		margin: 28px 0;
	}

	.acds-related-stories__title {
		font-size: 1.25rem;
		margin-bottom: 12px;
	}
}

/* Extra small phones */
@media screen and (max-width: 375px) {
	.acds-story-card__body {
		padding: 16px 16px 14px;
	}
}