:root {
	--dark_primary: #e64a19;
	--light_primary: #ffccbc;
	--primary: #c3c3c3;
	--accent: #ffc107;
	--primary_text: #212121;
	--secondary_text: #757575;
	--divider: #dbdbdb;
}

* {
	margin: 0;
	padding: 0;
	outline: 0;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}

iframe {
	width: 100%;
}

body {
	height: calc(100vh - 180px);
}

header {
	position: sticky;
	top: 0;
	z-index: 5;
}

header .navbar {
	background-color: var(--primary) !important;
	padding: 0 !important;
	height: 80px !important;
}

header .navbar a {
	color: var(--primary_text) !important;
}

header .navbar .navbar-brand {
	font-weight: 400;
	font-size: 36px;
	line-height: 170%;
	text-align: center;
	text-transform: uppercase;
	color: #ffffff;
}

header .navbar .navbar-nav li a {
	font-weight: 400;
	font-size: 16px;
	text-align: center;
	text-transform: uppercase;
	color: #ffffff;
	padding: 0 !important;
	padding-left: 16px !important;
	padding-right: 16px !important;
}

header .search-button {
	background-color: transparent;
	border: 0;
	padding-left: 16px;
	color: var(--primary_text);
}

header .search-input {
	max-width: 200px;
	padding-left: 16px;
	padding-right: 16px;
	border: 1px solid #dee2e6;
	transition: all 0.2s ease;
}

header .search-input.search-secret {
	max-width: 0px;
	padding-left: 0px;
	padding-right: 0px;
	border: 0;
}

header .dropdown-menu li a.dropdown-item {
	color: var(--primary_text) !important;
	padding-top: 12px !important;
	padding-bottom: 12px !important;
}

#home {
	padding-bottom: 80px;
}

#home .last {
	margin-top: 40px;
}

#home .card {
	width: 100%;
	border: 0;
	border-radius: 0;
	display: flex;
	align-items: flex-end;
	flex-direction: column;
	justify-content: flex-end;
	background-size: cover;
	background-position: center;
}

#home a {
	text-decoration: none;
}

#home .card.card1 {
	height: 460px;
}

#home .card.card2,
#home .card.card3 {
	height: 215px;
}

#home .card.card3 {
	margin-top: 30px;
}

#home .card .text {
	background-color: rgba(0, 0, 0, 0.6);
	padding: 16px;
	width: 100%;
	max-height: 92px;
}

#home .card .text h3 {
	font-weight: 400;
	font-size: 20px;
	line-height: 140%;
	color: #ffffff;
}

#home .category {
	margin-top: 80px;
}

#home .category h3 {
	font-weight: 700;
	font-size: 32px;
	line-height: 140%;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	position: relative;
	color: var(--dark_primary);
}

#home .category .title {
	display: flex;
	align-items: center;
	gap: 32px;
}

#home .category .slash {
	width: 220px;
	height: 2px;
	background-color: var(--dark_primary);
}

#home .category .cards {
	margin-top: 32px;
}

.cards .card-sm {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.cards .card-sm img {
	width: 200px;
	height: 200px;
	object-fit: cover;
}

.cards a {
	text-decoration: none;
}

.cards .card-sm .text {
	padding: 0 16px;
	width: 100%;
}

.cards .card-sm {
	margin-bottom: 32px;
}

.cards .card-sm .text h4,
.cards .card-opinion .text h4 {
	font-weight: 500;
	font-size: 20px;
	line-height: 140%;
	color: var(--primary_text);
	text-decoration: none !important;
}

.cards .card-sm .text p,
.cards .card-opinion .text p {
	width: 100%;
	font-size: 14px;
	color: var(--secondary_text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cards .card-sm .text .details {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cards .card-sm .text span,
.cards .card-opinion .text span {
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: var(--secondary_text);
}

.cards .card-sm .text strong,
.cards .card-opinion .text strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 140%;
	color: var(--secondary_text);
}

#home .category .more {
	font-weight: 400;
	font-size: 20px;
	line-height: 140%;
	color: #60a3d9;
	text-decoration: none;
}

.more-views {
	margin-top: 80px;
}

.more-views h3 {
	font-weight: 500;
	font-size: 24px;
	line-height: 140%;
	color: #003b73;
}

.more-views .cards {
	margin-top: 32px;
}

.more-views .cards a {
	text-decoration: none;
}

.more-views .cards .card-more {
	margin-top: 32px;
}

.more-views .cards .card-more .image {
	width: 100%;
	height: 200px;
}

.more-views .cards .card-more .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.more-views .cards .card-more .text {
	padding: 16px;
}

.more-views .cards .card-more .text h4 {
	font-weight: 500;
	font-size: 20px;
	line-height: 140%;
	color: #000000;
}

.more-views .cards .card-more .text .details {
	display: flex;
	align-items: center;
	gap: 8px;
}

.more-views .cards .card-more .text span {
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: #000000;
}

.more-views .cards .card-more .text strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 140%;
	color: #000000;
}

#search .search-bar form {
	margin-top: 80px;
	display: flex;
	align-items: center;
}

#search .search-bar input {
	width: 100%;
	height: 40px;
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 8px 0px 0px 8px;
	padding: 10px 16px;
}

#search .search-bar button {
	background-color: var(--primary);
	width: 60px;
	height: 40px;
	border-radius: 0px 8px 8px 0px;
	border: 0;
	color: #fff;
}

#search .term-info {
	margin-top: 16px;
}

#search .term-info h3 {
	font-weight: 400;
	font-size: 20px;
	line-height: 140%;
	color: var(--primary_text);
	margin-bottom: 4px;
}

#search .term-info h3 strong {
	color: var(--primary);
	font-weight: 400;
}

#search .term-info span {
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: rgba(0, 0, 0, 0.6);
}

#category {
	min-height: 100%;
}

#category .term-info {
	margin-top: 16px;
}

#category .term-info h3 {
	font-weight: 400;
	font-size: 32px;
	line-height: 140%;
	text-transform: uppercase;
	color: var(--dark_primary);
	margin-bottom: 4px;
}

#category .term-info span {
	color: var(--secondary_text);
}

#post .post {
	margin-top: 80px;
}

#post .post h3 {
	font-weight: 400;
	font-size: 32px;
	line-height: 115%;
	color: var(--primary_text);
}

#post .post .details {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 52px;
}

#post .post span {
	font-weight: 400;
	font-size: 14px;
	line-height: 140%;
	color: var(--secondary_text);
}

#post .post strong {
	font-weight: 600;
	font-size: 14px;
	line-height: 140%;
	color: var(--secondary_text);
}

#post .post .image img {
	width: 100%;
	object-fit: contain;
	margin-bottom: 32px;
	aspect-ratio: 16/9;
}

#post .post .text {
	max-width: 100%;
}

#post .post .text p {
	max-width: 100% !important;
}

#post .post .image .pagination {
	margin: 40px 0;
	justify-content: center;
}

#post .text p img {
	width: 100% !important;
}

.pagination a {
	color: var(--primary);
}

.pagination a.active {
	background-color: var(--primary);
}

#contact .contact {
	margin: 80px 0;
}

#contact .contact h3 {
	font-weight: 400;
	font-size: 32px;
	line-height: 170%;
	color: #000000;
	margin-bottom: 40px;
}

#contact .contact form {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

#contact .contact form .form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

#contact .contact form .form-group input {
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 8px;
	height: 40px;
	padding: 0 16px;
}

#contact .contact form .form-group textarea {
	border: 1px solid rgba(0, 0, 0, 0.6);
	border-radius: 8px;
	padding: 16px;
}

#contact .contact form button {
	background-color: var(--primary);
	color: #fff;
	border-radius: 8px;
	border: 0;
	font-weight: 600;
	font-size: 16px;
	line-height: 170%;
	text-align: center;
	text-transform: uppercase;
	height: 40px;
}

footer {
	background-color: var(--primary);
	height: 100px;
	width: 100%;
}

footer .container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

footer .socials {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
}

footer .socials a {
	color: var(--primary_text);
}

footer span {
	font-weight: 500;
	font-size: 16px;
	line-height: 140%;
	color: var(--primary_text);
}

.annoucement {
	margin: 40px auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1140px;
	max-width: 100%;
	height: 250px;
}

.annoucement a {
	width: 100%;
	height: 100%;
}

.annoucement img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.annoucement-side {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 356px;
	height: 356px;
}

.annoucement-side a {
	width: 100%;
	height: 100%;
}

.annoucement-side img {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.side-annoucement {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 80px;
}

.card-opinion {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

.card-opinion img {
	height: 160px;
	width: 160px;
	object-fit: cover !important;
}

.card-opinion h4 {
	font-size: 16px !important;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card-opinion .details {
	display: flex;
	flex-direction: column;
	align-items: flex-start !important;
}

.link-opinion {
	display: block;
	width: 160px;
}

.options .cards {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.bg-primary {
	background-color: var(--primary) !important;
	color: #fff !important;
	margin-bottom: 16px;
}

@media (max-width: 991px) {
	header .navbar {
		height: unset !important;
	}

	.navbar-nav .nav-item {
		display: block !important;
		margin: 16px auto;
	}

	header .search-input.search-secret {
		max-width: 200px;
		padding-left: 16px;
		padding-right: 16px;
		border: 1px solid #dee2e6;
		transition: all 0.2s ease;
	}

	.cards .card-sm .text h4 {
		font-size: 18px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cards .card-sm .text p {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.cards .card-sm .text .details {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.more-views .cards .card-more .text h4 {
		font-size: 16px;
	}

	.more-views .cards .card-more .text .details {
		flex-direction: column;
		gap: 4px;
		align-items: flex-start;
	}

	.options .cards {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
	}
}

@media (max-width: 767px) {
	.annoucement {
		height: unset;
		aspect-ratio: 16/5;
	}
}

@media (max-width: 500px) {
	.cards .card-sm {
		flex-direction: column;
	}

	.cards .card-sm .image {
		width: 100%;
	}

	.cards .card-sm .image img {
		width: 100%;
	}
}
