/**
 * setupcompany.eu — Resources hub
 */

/* ---- resource category cards (section 2) --------------------- */
.sc-res-cat__grid {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.sc-res-cat__card {
	align-items: flex-start;
}

.sc-res-cat__items {
	list-style: none;
	margin: 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--border-white);
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
}

.sc-res-cat__items li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-2);
}

.sc-res-cat__items a {
	color: var(--text-2);
	text-decoration: none;
}

.sc-res-cat__items a:hover {
	color: var(--eu-blue);
	text-decoration: underline;
}

.sc-res-cat__meta {
	flex: none;
	font-size: 12.5px;
	color: var(--text-3);
	white-space: nowrap;
}

/* ---- case studies "coming soon" (section 3) -------------------- */
.sc-res-soon {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background: var(--warm);
	border-radius: 18px;
	padding: 30px 32px;
	border: 1px dashed var(--border-2);
}

.sc-res-soon__title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0 0 6px;
}

.sc-res-soon__body {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-2);
	margin: 0;
	max-width: 60ch;
}

/* ---- newsletter / lead-magnet strip (section 5) ---------------- */
.sc-res-news__grid {
	display: grid;
	grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
	gap: 48px;
	align-items: center;
}

.sc-res-news__body {
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--on-ink-cap);
	max-width: 48ch;
	margin: 14px 0 0;
}

.sc-res-news__form {
	display: flex;
	align-items: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.sc-res-news__subtext {
	font-size: 13.5px;
	color: var(--on-ink-cap);
	margin: 10px 0 0;
}

/* form-alert states — .sc-input/.sc-field are core.css, but .sc-formalert
   isn't; this page is the only place on the site that shows one without
   also loading contact.css, so it's defined here too. */
.sc-formalert {
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 15px;
	line-height: 1.55;
}

.sc-formalert--ok {
	background: var(--go-tint);
	color: #1c5c39;
}

@media (max-width: 700px) {
	/* Two 280px-minimum columns can't fit a phone: stack copy above the form. */
	.sc-res-news__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.sc-res-news__form {
		flex-direction: column;
		align-items: stretch;
	}
}

/* .sc-faq__grid/__intro/__note/__list are only defined in services-hub.css
   (not loaded on this template) — provide them here too for the inline FAQ
   teaser section. */
.sc-faq__grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.75fr) minmax(320px, 1.25fr);
	gap: 56px;
	align-items: start;
}

.sc-faq__intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.sc-faq__intro .sc-h2 {
	max-width: 15ch;
}

.sc-faq__note {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-2);
	max-width: 40ch;
}

.sc-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (max-width: 900px) {
	.sc-faq__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
