/**
* Стилі сторінки "Про нас"
*
* Секції: intro, brands, banner, cooperation, FAQ, Instagram
*
* Залежності: base.css, components.css
* Використовується в: pages/about-us.php
*
* Історія змін:
* - 2026-02-15: Додано padding секцій, мобільні стилі карток, grid/slider брендів
* - 2026-02-14: Створено стилі сторінки
*/

/* Intro & Advantages - Start */
.about-us-page .woocommerce-breadcrumb {
	background: var(--light-gray);
}
.about-intro {
	background: var(--light-gray);
	padding: 40px 0 80px 0;
}
.about-intro .about-intro-label {
	color: var(--dark-gray);
}
.about-intro .about-intro-title {
	padding: 10px 0 80px 0;
}
.about-intro .advantage-card {
	background: var(--white);
	padding: 20px;
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.about-intro .advantage-card-head {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	flex-direction: row-reverse;
	justify-content: space-between;
}
.about-intro img.advantage-icon {
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}
.about-intro .advantage-description {
	margin-top: auto;
}
.about-intro .advantage-card.card-photo {
	padding: 0;
	overflow: hidden;
	min-height: 280px;
}
.about-intro .advantage-card.card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.about-intro > .container + .container {
	grid-auto-rows: 1fr;
}
@media (max-width: 1680px) {
	.about-intro .about-intro-title {
		padding: 10px 0 60px 0;
	}
	.about-intro .advantage-card {
		padding: 16px;
	}
}
/* Intro & Advantages - End */

/* Brands - Start */
.about-brands {
	padding: 80px 0;
	background: var(--light-gray);
}
.about-brands .about-brands-slider {
	grid-column: 1 / -1;
}
.about-brands > .container + .container {
	margin-top: 40px;
}
.about-brands .about-brands-grid {
	display: flex;
}
.about-brands a.brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Brands - End */

/* Banner - Start */
.about-banner picture.about-banner-image,
.about-banner picture.about-banner-image img {
	display: block;
	width: 100%;
}
/* Banner - End */

/* Cooperation - Start */
.about-cooperation {
	padding: 80px 0 80px 0;
}
.about-cooperation-wrapper {
	overflow: hidden;
}
.about-cooperation .about-cooperation-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 60px;
    max-width: 500px;
    align-items: center;
    text-align: center;
    margin: auto;
}
.about-cooperation img.about-cooperation-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Cooperation - End */

/* FAQ - Start */
.about-faq {
	padding: 80px 0;
}
.about-faq .container {
	align-items: start;
}
/* FAQ - End */

/* Instagram - Start */
.about-instagram {
	padding: 80px 0;
}
.about-instagram > .container + .container {
	margin-top: 40px;
}
.about-instagram a.about-instagram-username {
	color: var(--dark-gray);
}
.about-instagram-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--blocks-indent);
}
.about-instagram-grid a.instagram-photo {
	position: relative;
	padding-bottom: 100%;
	overflow: hidden;
	display: block;
}
.about-instagram-grid a.instagram-photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Instagram - End */

/* Mobile - Start */
@media (max-width: 1279px) {
	.about-intro {
		padding: 40px 0;
	}
	.about-intro .about-intro-title {
		padding: 10px 0 40px 0;
	}
	.about-intro .advantage-card {
		padding: 20px;
	}
	.about-intro .advantage-card.card-photo {
		min-height: 200px;
	}
	.about-intro img.advantage-icon {
		width: 32px;
		height: 32px;
	}
	.about-intro .advantage-card-head .h3 {
		font-size: 14px;
		line-height: 18px;
	}
	.about-intro .advantage-photo-col {
		order: 10;
	}

	.about-brands {
		padding: 40px 0;
	}
	.about-brands > .container + .container {
		margin-top: 30px;
	}
	.about-brands .about-brands-grid {
		display: flex;
	}

	.about-cooperation {
		padding: 40px 0;
	}
	.about-cooperation .about-cooperation-content {
		padding: 30px;
		max-width: 100%;
	}

	.about-faq {
		padding: 40px 0;
	}

	.about-instagram {
		padding: 40px 0;
	}
	.about-instagram > .container + .container {
		margin-top: 20px;
	}
	.about-instagram-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.about-instagram-grid a.instagram-photo:nth-child(5) {
		display: none;
	}
}
/* Mobile - End */
