/* About page (template) styles */

.hotsmoke-about-template {
	/*background-color: var(--color-white);*/
	padding: 70px 0 90px;
}

.hotsmoke-about__layout {
	display: flex;
	gap: 70px;
	align-items: flex-start;
}

.hotsmoke-about__media {
	flex: 0 0 41%;
	max-width: 520px;
}

.about-media-item {
	display: none;
}

.about-media-item.is-active {
	display: block;
}

.about-media-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 20px;
	object-fit: cover;
}

.about-image-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	background-image: radial-gradient(#d8d8d8 1.5px, transparent 1.5px);
	background-size: 24px 24px;
	background-repeat: repeat;
	border-radius: 20px;
	opacity: 0.55;
}

.hotsmoke-about__content {
	flex: 1;
	min-width: 0;
}

.about-tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 18px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--color-border);
}

.about-tabs__item {
	margin: 0;
	padding: 0;
}

.about-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg-light);
	border: 1px solid #DDE3D3;
	border-radius: 4px;
	padding: 10px 18px;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.about-tab:hover {
	background-color: #EFF3E8;
	border-color: #C5D0BA;
}

.about-tab:focus-visible {
	outline: 2px solid var(--site-accent-color);
	outline-offset: 6px;
	border-radius: 8px;
}

.about-tab-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	color: var(--site-text-color);
	transition: color 0.2s ease;
	position: static;
	padding-bottom: 0;
}

.about-tab-title::after {
	content: none;
}

.about-tab.is-active .about-tab-title {
	color: var(--color-white);
}

.about-tab-title--h1 {
	font-size: 18px;
}

.about-tab-title--h2 {
	font-size: 18px;
}

.about-tab-title--h3 {
	font-size: 18px;
}

.about-tab.is-active {
	background-color: var(--site-accent-color);
	border-color: var(--site-accent-color);
}

.about-panels {
	margin-top: 26px;
}

.about-panel {
	display: none;
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 13px;
	line-height: 1.75;
	color: #4A4A4A;
	max-width: 560px;
}

.about-panel.is-active {
	display: block;
}

.about-panel p {
	margin: 0 0 14px;
}

.about-panel p:last-child {
	margin-bottom: 0;
}

.about-panel a {
	color: var(--site-accent-color);
	text-decoration: underline;
}

.about-panel ul,
.about-panel ol {
	margin: 0 0 14px 18px;
	padding: 0;
}

.about-panel ul:last-child,
.about-panel ol:last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.hotsmoke-about__layout {
		flex-direction: column;
		gap: 28px;
	}

	.hotsmoke-about__media {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
	}

	.about-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
		padding-bottom: 14px;
		margin-bottom: 16px;
	}

	.about-tab {
		flex: 0 0 auto;
		padding: 9px 14px;
	}

	.about-tab-title,
	.about-tab-title--h1,
	.about-tab-title--h2,
	.about-tab-title--h3 {
		font-size: 16px;
	}

	.about-panels {
		margin-top: 16px;
	}

	.about-panel {
		max-width: 100%;
	}
}

