/* ==========================================================================
   BeThree Child – Τεχνικές (techniques hub)
   Composed from the Παθήσεις page layout (Figma 68:1791) and the photo cards of
   the condition category pages; no dedicated Figma frame.
   Loaded only on pages using templates/page-technikes.php (key "page-technikes").
   .be_icard lives in main.css.
   ========================================================================== */

.be_technikes {
	position: relative;
	overflow: hidden;
	overflow: clip;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 60px;
	padding: 100px 100px 120px;
	background: var(--be-color-white);
	color: var(--be-color-dark);
}

.be_technikes::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -180px;
	width: max(2249px, 117.15vw);
	height: 243px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: var(--be-color-cream);
	pointer-events: none;
}

.be_technikes > * {
	position: relative;
	width: 100%;
}

/* --- Intro ---------------------------------------------------------------- */
.be_technikes-intro {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1216px;
}

.be_technikes-title {
	font: var(--be-h1);
}

.be_technikes-text {
	font: 400 24px/32px var(--be-font-primary);
	color: #666666;
}

.be_technikes-text p {
	margin: 0;
}

.be_technikes-text p + p {
	margin-top: 32px;
}

/* --- Cards: four columns of photo cards ---------------------------------- */
.be_technikes-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.be_technikes-item {
	justify-content: flex-end;
}

.be_technikes-item .be_btn {
	white-space: normal;
	text-align: center;
}

.be_technikes-item .be_icard-icon {
	width: 100%;
	height: 160px;
}

.be_technikes-item .be_icard-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1440px) {
	.be_technikes-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.be_technikes {
		gap: 48px;
		padding: 80px 60px 100px;
	}

	.be_technikes-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.be_technikes {
		gap: 32px;
		padding: 60px 20px 32px;
	}

	.be_technikes::before {
		top: -29px;
		width: 492px;
		height: 53px;
	}

	.be_technikes-intro {
		gap: 24px;
	}

	.be_technikes-text {
		font-size: 20px;
		line-height: 24px;
	}

	.be_technikes-text p + p {
		margin-top: 24px;
	}

	.be_technikes-list {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.be_technikes-item .be_btn {
		font-size: 18px;
	}
}
