/* ==========================================================================
   Resources Section
   Figma: cards row gap 23px, card 385×443, image 202px,
   body column gap 8px, outline download button with arrow
   ========================================================================== */

.resources-section {
	background: #fff;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

/* Watermark - Figma: centered, 120px, opacity 0.3 */
.resources-watermark {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-family: 'Marcellus', serif;
	font-size: 120px;
	font-weight: 400;
	color: #0E0E0E;
	opacity: 0.03;
	letter-spacing: -0.00083em;
	line-height: 1.25;
	pointer-events: none;
	white-space: nowrap;
	margin: 0;
}

.resources-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: content-box;
	position: relative;
	z-index: 1;
}

.resources-heading {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 33px;
	font-weight: 700;
	color: #000;
	text-align: center;
	margin: 0 0 40px;
	line-height: 1.2;
}

/* Cards - Figma: row, gap 23px */
.resources-cards {
	display: flex;
	gap: 23px;
}

/* Card - Figma: 385×443, border 1px #E3E3E3 */
.resources-card {
	flex: 1;
	border: 1px solid #E3E3E3;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}

/* Thumbnail - Figma: 385×202, border-radius top 8px */
.resources-thumbnail {
	height: 202px;
	background: #D9D9D9;
	width: 100%;
	overflow: hidden;
	border-radius: 8px 8px 0 0;
}

.resources-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Card body - Figma: column, gap 8px, x:24, y:218 */
.resources-card-body {
	padding: 16px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.resources-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 19px;
	font-weight: 700;
	color: #000;
	margin: 0;
	line-height: 1.2;
}

.resources-desc {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #000;
	line-height: 1.5;
	margin: 0;
	max-width: 337px;
}

/* Download button - Figma: outline, border 1px #000, radius 4px, arrow icon */
.resources-download-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	border: 1px solid #000;
	border-radius: 4px;
	padding: 12px 24px 12px 16px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	text-decoration: none;
	margin-top: auto;
	transition: background 0.2s, color 0.2s;
}

.resources-download-button:hover {
	background: #000;
	color: #fff;
}

.resources-download-button:hover .resources-dl-arrow {
	background: #fff;
}

.resources-download-button:hover .resources-dl-arrow::after {
	border-color: #E51F1F;
}

.resources-dl-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #E51F1F;
	border-radius: 50%;
	flex-shrink: 0;
}

.resources-dl-arrow::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	margin-left: -2px;
}

/* CTA button - mirroring case-study-cta style */
.resources-cta-wrap {
	text-align: center;
	margin-top: 40px;
}

.resources-cta-link {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	background: #fff;
	color: #000;
	border: 1px solid #CCCCCC;
	border-radius: 4px;
	padding: 16px 16px 16px 24px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.resources-cta-link:hover {
	background: #000;
	color: #fff;
}

.resources-cta-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #E51F1F;
	border-radius: 50%;
	flex-shrink: 0;
}

.resources-cta-arrow::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	margin-left: -2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
	.resources-section {
		padding: 60px 0;
	}

	.resources-container {
		padding: 0 24px;
	}

	.resources-watermark {
		font-size: 60px;
	}

	.resources-heading {
		font-size: 24px;
	}

	.resources-cards {
		flex-direction: column;
		gap: 16px;
	}
}
