/*
 * Template: Про сайт klopotenko.com
 * Підключається умовно через wp_enqueue_scripts (див. functions.php).
 */

.page-about {
	--about-red: #9e0909;
	--about-cream: #f5ebdf;
	--about-text: #1e1e1e;
	--about-muted: #731414;
	--about-border: #9e9e9e;
	--about-radius: 14px;
}

.page-about .breadcrumb-area .entry-breadcrumb,
.page-about .breadcrumb-area {
	color: var(--about-muted);
	text-transform: uppercase;
	font-size: 14px;
	margin-bottom: 24px;
}

/* ===========================
 * HERO  (у Figma: 1000 × 667)
 * =========================== */
.page-about__hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--about-red);
	border-radius: var(--about-radius);
	overflow: hidden;
	aspect-ratio: 1000 / 667;
	margin-bottom: 64px;
}

.page-about__hero-content {
	display: grid;
	grid-template-rows: auto 1fr auto;
	justify-items: center;
	text-align: center;
	padding: 60px 70px;
	color: var(--about-cream);
}

.page-about__hero-icon {
	width: 67px;
	height: 48px;
	color: var(--about-cream);
}
.page-about__hero-icon svg {
	width: 100%;
	height: 100%;
	display: block;
	fill: currentColor;
}

.page-about__hero-brand {
	align-self: center;
	margin: 0;
	font-family: 'Rubik', sans-serif;
	font-weight: 800;
	font-size: clamp(24px, 3.5vw, 40px);
	line-height: 1.2;
	color: var(--about-cream);
	text-transform: uppercase;
	letter-spacing: 0;
	white-space: nowrap;
}

.page-about__hero-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}
.page-about__hero-badge-text {
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}

.page-about__hero-image {
	position: relative;
	overflow: hidden;
}
.page-about__hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===========================
 * LEAD
 * =========================== */
.page-about__lead {
	max-width: 782px;
	margin: 0 auto 48px;
	text-align: center;
}

.page-about__lead-title {
	font-family: 'Rubik', sans-serif;
	font-weight: 800;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.3;
	color: var(--about-text);
	text-transform: uppercase;
	margin: 0 0 24px;
}

.page-about__lead-text {
	font-family: 'Rubik', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
	color: #000;
}
.page-about__lead-text p { margin: 0 0 1em; }
.page-about__lead-text p:last-child { margin-bottom: 0; }

/* ===========================
 * FEATURES (3 cards)
 * =========================== */
.page-about__features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 64px;
}

.page-about__feature {
	background: var(--about-cream);
	border-radius: var(--about-radius);
	padding: 48px 28px 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 400px;
}

.page-about__feature-icon {
	width: 96px;
	height: 72px;
	margin-bottom: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.page-about__feature-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.page-about__feature-title {
	font-family: 'Rubik', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
	color: var(--about-text);
	text-transform: uppercase;
	margin: 0 0 16px;
}

.page-about__feature-text {
	font-family: 'Rubik', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.31;
	color: #000;
	margin: 0;
}

/* ===========================
 * COOPERATION
 * =========================== */
.page-about__coop {
	display: grid;
	grid-template-columns: 385px 1fr;
	gap: 56px;
	align-items: center;
	margin-bottom: 56px;
}

.page-about__coop-image {
	border-radius: var(--about-radius);
	overflow: hidden;
	height: 480px;
}
.page-about__coop-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.page-about__coop-body {
	min-width: 0;
}

.page-about__coop-title {
	font-family: 'Rubik', sans-serif;
	font-weight: 800;
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.2;
	color: var(--about-text);
	text-transform: uppercase;
	margin: 0 0 32px;
}

.page-about__coop-text {
	font-family: 'Rubik', sans-serif;
	font-weight: 300;
	font-size: 18px;
	line-height: 1.6;
	color: #000;
	margin-bottom: 32px;
}
.page-about__coop-text p { margin: 0 0 1em; }
.page-about__coop-text p:last-child { margin-bottom: 0; }
.page-about__coop-text strong,
.page-about__coop-text b {
	color: var(--about-red);
	font-weight: 500;
}

.page-about__coop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--about-red);
	border: 1px solid var(--about-border);
	border-radius: var(--about-radius);
	padding: 22px 32px;
	font-family: 'Rubik', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.page-about__coop-btn:hover,
.page-about__coop-btn:focus {
	background: var(--about-red);
	color: #fff;
	border-color: var(--about-red);
	text-decoration: none;
}

/* ===========================
 * RESPONSIVE
 * =========================== */
@media (max-width: 991px) {
	.page-about__hero {
		grid-template-columns: 1fr;
		aspect-ratio: auto;
		margin-bottom: 40px;
	}
	.page-about__hero-content {
		padding: 32px 28px;
		grid-template-rows: auto auto auto;
		gap: 24px;
	}
	.page-about__hero-icon {
		width: 45px;
		height: 32px;
	}
	.page-about__hero-brand {
		align-self: center;
		font-size: 22px;
		white-space: normal;
	}
	.page-about__hero-image {
		aspect-ratio: 328 / 216;
	}

	.page-about__lead {
		margin-bottom: 40px;
	}
	.page-about__lead-title {
		font-size: 26px;
		margin-bottom: 20px;
	}
	.page-about__lead-text {
		font-size: 16px;
	}

	.page-about__features {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 40px;
	}
	.page-about__feature {
		min-height: 0;
		padding: 36px 28px;
	}
	.page-about__feature-icon {
		margin-bottom: 24px;
	}
	.page-about__feature-title {
		font-size: 16px;
	}
	.page-about__feature-text {
		font-size: 16px;
	}

	.page-about__coop {
		grid-template-columns: 1fr;
		gap: 24px;
		text-align: center;
	}
	.page-about__coop-image {
		height: auto;
		max-height: none;
		aspect-ratio: 328 / 215;
	}
	.page-about__coop-title {
		font-size: 26px;
		margin-bottom: 16px;
	}
	.page-about__coop-text {
		font-size: 16px;
		margin-bottom: 24px;
	}
	.page-about__coop-btn {
		width: 100%;
		padding: 16px 20px;
	}
    #main {
        padding: 0 12px;
    }
}

@media (max-width: 575px) {
	.page-about__hero-content { padding: 28px 20px; }
	.page-about__hero-brand { font-size: 22px; }
	.page-about__lead-title { font-size: 22px; }
	.page-about__coop-title { font-size: 22px; }
}
