/*
Theme Name: Child them ooometkor
Template: ooometkor
Version: 1.0
*/

/* Add child styles */

/* --FILES SECTION-- */
.files {
	background-color: #1b232a;
	position: relative;
	z-index: 1;
}

.page__files {
	padding-top: 100px;
	padding-bottom: 60px;
}

.files__title {
	margin-bottom: 95px;
}

.files__list {
	margin-bottom: 0;
}

@media (min-width: 500px) {
	.files__list {
		padding-left: 20px;
	}
}

.files__item {
	display: block;
	padding: 1rem;
	border: 1px solid rgb(155 172 200/20%);
	border-radius: 20px;
	position: relative;
}

@media (min-width: 500px) {
	.files__item {
		display: flex;
		justify-content: space-between;
		gap: 2rem;
		align-items: end;
		border: none;
		padding: 0;
	}

	.files__item:before {
		content: "";
		position: absolute;
		display: inline-block;
		position: absolute;
		top: 8px;
		left: -15px;
		width: 5px;
		height: 5px;
		background-color: var(--acent-color);
	}
}

.files__item:not(:last-child) {
	margin-bottom: 1.25rem;
}

.files__text {
	display: block;
	position: relative;
	overflow: hidden;
	flex-grow: 1;
	line-height: 150%;
	margin-bottom: 1rem;
}

@media (min-width: 500px) {
	.files__text {
		margin-bottom: 0;
	}

	.files__text:after {
		content: "";
		display: inline-block;
		width: calc(100% - 3px); /* Фикс! */
		margin: 0 -99% 0 3px;
		vertical-align: baseline;
		border-bottom: 1px dashed rgb(153 153 153/20%);
	}
}

.files__url {
	display: flex;
	position: relative;
	margin-left: 1rem;
	padding-left: 0.625rem;
	font-weight: 400;
	text-align: right;
	color: white;
	transition: all 0.4s;
}

@media (min-width: 575.98px) {
	.files__url {
		padding-left: 10px;
		font-weight: 400;
		text-align: right;
	}
}

.files__url:hover {
	color: var(--acent-color);
}

.files__url:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	z-index: 1;
	width: 1.2rem;
	height: 1.2rem;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' id='arrow-right-sm' viewBox='0 0 24 24' fill='none'%3e%3cpath id='Vector' d='M8 16L16 8M16 8H10M16 8V14' stroke-width='2' stroke='%23f9a34f' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: translate(-1rem, -45%) rotate(90deg);
}

.files__url span {
	border-bottom: 1px dashed var(--acent-color);
}

/* --POPUP EMAIL & CHAT-- */
.email__body {
	padding: 1rem 2rem 2rem;
}

.email__text {
	font-size: 1.4rem;
	color: var(--acent-color);
}

.chat__header,
.email__header {
	padding: 1.5rem 2rem 0;
}

@media (min-width: 600px) {
	.chat__header,
	.email__header {
		padding: 2rem 2rem 0;
	}
}

.chat__title,
.email__title {
	margin-bottom: 1rem;
	display: block;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 120%;
	color: white;
}

@media (min-width: 600px) {
	.chat__title,
	.email__title {
		font-size: 1.6rem;
	}
}

.chat__descr,
.email__descr {
	display: block;
	font-size: 1rem;
	line-height: 150%;
}

.chat-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: start;
	padding: 2rem;
}

@media (min-width: 800px) {
	.chat-btns {
		flex-wrap: nowrap;
	}
}

.chat-btns__item {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	flex-grow: 1;
}

.chat-btns__item:has(img) {
	padding: 0;
	border: 0;
}

@media (min-width: 800px) {
	.chat-btns__item:has(img) {
		padding: 1rem;
		border: 1px solid #55545c;
	}
}

a.btn--chat {
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
	color: white;
}

.btn--chat:hover {
	color: #ffffff;
}

.btn--chat svg {
	width: 1.8rem;
	height: 1.8rem;
}

/* --QR-- */
.chat-btns__qr {
	width: 180px;
	aspect-ratio: 1;
	height: 100%;
	display: none;
}

@media (min-width: 800px) {
	.chat-btns__qr {
		display: block;
	}
}

/* Email copy to clipboard styles */
.email__text--clickable {
	cursor: pointer;
	transition:
		color 0.3s ease,
		background-color 0.3s ease;
	padding: 2px 4px;
	border-radius: 3px;
}

.email__text--clickable:hover {
	color: #f9a34f;
}

.btn.poster-btn span span {
    color: var(--acent-color);
}
