/* #region HEADER */
.header__content {
	color: var(--white);
	background: #222;
}

.header__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid #2c2c2c;
	font-size: 14px;
	gap: 12px;
}

.header__top-menu {
	display: flex;
	gap: 20px;

	a {
		transition: color 0.3s;

		&:hover {
			color: #d42a23;
		}
	}
}

.header__social {
	display: flex;

	a {
		display: flex;
		align-items: center;
		justify-content: center;
		padding-inline: 10px;
		transition: color 0.3s;

		&:hover {
			color: #d42a23;
		}
	}
}

.header__middle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 12px;
	gap: 12px;
}

.header__location {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header__location-link {
	display: flex;
	flex-direction: column;

	span {
		display: flex;
		align-items: center;
		font-size: 14px;
		line-height: 1.2;
		text-transform: uppercase;

		&:first-of-type {
			font-size: 20px;
			text-transform: none;
		}
	}
}
.header__auth {
	display: flex;
	align-items: center;
}

.header__signin {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: 4px;
	transition: color 0.3s, background-color 0.3s;

	&:hover {
		background-color: var(--white);
		color: var(--primary);
	}
}

.header__watch {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: 4px;
	background: #d42a23;
	transition: color 0.3s;

	&:hover {
		color: var(--primary);
	}
}
.header__bottom {
	background: #d42a23;
	color: var(--white);
}

.header__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 6px;
}

.header__nav-menu {
	display: flex;
	align-items: center;

	a {
		display: flex;
		align-items: center;
		gap: 4px;
		padding: 8px 18px;
		transition: color 0.3s;

		span {
			border-left: 4px solid transparent;
			border-right: 4px solid transparent;
			border-top: 4px solid #fff;
			transition: border-color 0.3s;
		}

		&:hover {
			color: var(--primary);

			span {
				border-top-color: currentColor;
			}
		}
	}
}
.header__search-btn {
	padding: 10px 18px;
	transition: color 0.3s;

	&:hover {
		color: var(--primary);
	}
}
.header__signin--mob {
	display: none;
}

.header__menu {
	display: none;
}

@media (max-width: 1200px) {
	.header__top,
	.header__signin--dec,
	.header__nav-menu,
	.header__search-btn {
		display: none;
	}

	.header__middle {
		flex-direction: column;
		padding-inline: 0;
		gap: 24px;
	}

	.header__location {
		order: 1;
	}

	.header__signin--mob {
		display: flex;
	}

	.header__menu {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		width: 18px;
		height: 20px;

		&::before,
		&::after,
		span {
			content: "";
			width: 100%;
			height: 2px;
			background-color: #fff;
			transition: background-color 0.3s;
		}

		&:hover {
			cursor: pointer;

			&::before,
			&::after,
			span {
				background-color: var(--primary);
			}
		}
	}
}

/* #endregion HEADER */

/* #region BREADCRUMBS SECTION */
.breadcrumbs {
	padding-block: 16px 24px;

	.breadcrumbs__wrapper {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: 8px;
		color: #6c757d;

		a {
			color: #d42a23;

			&:hover {
				text-decoration: underline;
			}
		}
	}
}
/* #endregion BREADCRUMBS SECTION */

/* #region NEWS SECTION  */
.news {
	padding-bottom: 30px;
}

.news__wrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: linear-gradient(
			180deg,
			rgba(0, 0, 0, 0) 40%,
			rgba(0, 0, 0, 0.9) 100%
		),
		url("/img/hero.webp") center/cover no-repeat;
	min-height: 728px;
	padding: 45px 20px;
	color: #fff;
	margin-bottom: 30px;
}

.news__content {
	max-width: 1080px;
	margin-inline: auto;
}

.news__category {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: fit-content;
	padding: 4px 8px;
	background: #d42a23;
	text-align: center;
}

.news__info {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 8px;
}

.news__author {
	font-weight: 700;

	.today {
		font-weight: 400;
	}
}

.news__link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px;
	transition: color 0.3s;

	&:hover {
		color: #d42a23;
	}
}

.news__subtitle {
	margin-bottom: 8px;
}

.news__text {
	margin-bottom: 16px;
}
.news__img {
	width: 100%;
	max-height: 400px;
	margin-bottom: 16px;
	object-position: 50% 60%;
}
.news__publish {
	color: #d42a23;
}

/* #endregion NEWS SECTION */

/* #region SOCIAL SECTION */
.social {
	padding-bottom: 24px;
}

.social__list {
	display: flex;
	align-items: center;
	gap: 15px;
	padding-block: 20px;
	border-block: 1px solid #dfdddd;
	max-width: 1080px;
	margin-inline: auto;

	a {
		display: flex;
		align-items: center;
		padding: 6px 12px;
		gap: 8px;
		color: #fff;
		transition: background-color 0.3s;

		&.social__link-fb {
			background-color: #516eab;
		}

		&.social__link-tw {
			background-color: #29c5f6;
		}

		&.social__link-pn {
			background-color: #ca212a;
		}

		&.social__link-go {
			background-color: #222;

			&:hover {
				background-color: #d42a23;
			}
		}

		&:hover {
			background-color: #222;
		}
	}
}

@media (max-width: 1200px) {
	.social__list {
		flex-direction: column;
		align-items: start;
		gap: 10px;
	}
}

/* #endregion SOCIAL SECTION */

/* #region MORE SECTION */

.more {
	padding-bottom: 48px;
}
.more__wrapper {
	max-width: 1080px;
	margin-inline: auto;
}
.more__link {
	position: relative;
	display: flex;
	padding: 10px;
	flex-direction: column;
	align-items: center;
	background: #222;
	width: fit-content;
	color: #fff;
	margin-bottom: 24px;

	&::before {
		content: "";
		position: absolute;
		bottom: -6px;
		left: 10px;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-top: 6px solid #222;
	}
}

.more__list {
	display: flex;
	justify-content: space-between;
	gap: 25px;
	margin-bottom: 24px;
	overflow: hidden;
	position: relative;
}

.more__item {
	padding-bottom: 40px;
	max-width: 350px;
	flex: 0 0 100%;
	transition: transform 0.3s ease;

	h3 {
		margin-block: 16px 8px;
		transition: text-shadow 0.3s;
	}

	&:hover {
		.more__image {
			scale: 1.03;
		}
		h3 {
			text-shadow: 1px 1px 2px #000;
		}
	}
}

.more__image {
	display: flex;
	align-items: flex-end;
	width: 100%;
	min-height: 250px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 16px 10px;
	transition: scale 0.3s;

	&.more__image--1 {
		background-image: url("/img/photo3.webp");
	}

	&.more__image--2 {
		background-image: url("/img/photo4.webp");
	}
	&.more__image--3 {
		background-image: url("/img/photo5.webp");
	}

	span {
		padding: 5px;
		background: #d42a23;
		color: #fff;
	}
}
.more__text {
	color: #686868;
	font-size: 15px;
	font-weight: 700;

	span {
		font-size: 14px;
		font-weight: 400;
	}
}

.more__buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.more__btn {
	display: flex;
	padding: 12px;
	border-radius: 5px;
	background-color: #212529;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s;

	&:hover {
		background-color: #d42a23;
	}
}

@media (max-width: 1200px) {
	.more__item {
		max-width: 100%;

		&:not(:first-child) {
			display: none;
		}
	}
}

/* #endregion MORE SECTION */

/* #region FOOTER */
.footer {
	background: #222;
	padding-block: 24px 20px;
	color: #fff;
}

.footer__content {
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.footer__column {
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex: 1 1 330px;

	h3 {
		padding-bottom: 12px;
		border-bottom: 1px solid #363636;
	}
}

.footer__column-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: #bbb;
	font-size: 15px;
	text-transform: capitalize;

	li {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	a {
		display: flex;
		align-items: center;
		gap: 4px;
		transition: color 0.3s;

		&:hover {
			color: #fff;
		}
	}

	.footer__btn {
		padding: 8px 12px;
		justify-content: center;
		align-self: stretch;
		background: #d42a23;
		color: #fff;
		width: 100%;

		&:hover {
			color: var(--primary);
		}
	}
}

.footer__input {
	display: flex;
	padding: 8px 12px;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;

	&::-webkit-input-placeholder {
		color: #6c757d;
	}
}

.footer__bottom {
	text-align: center;
	padding-top: 16px;
	font-size: 14px;
	margin-top: 16px;
	border-top: 1px solid rgb(187, 187, 187, 0.75);
}

@media (max-width: 1200px) {
	.footer {
		padding-block: 48px 30px;
	}
	.footer__content {
		flex-direction: column;
	}
	.footer__column {
		flex: 1 1 100%;
	}
}

/* #endregion FOOTER */
