/* #region NORMALIZE */
*,
::before,
::after {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html {
	line-height: normal;
	-webkit-text-size-adjust: 100%;
	tab-size: 4;
	scroll-behavior: smooth;
}

a {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

ul,
ol {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-style: none;
	object-fit: cover;
}

video {
	max-width: 100%;
	height: auto;
	width: 100%;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp,
pre {
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo,
		monospace;
	font-size: 1rem;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25rem;
}

sup {
	top: -0.5rem;
}

table {
	border-color: currentcolor;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	appearance: button;
	border: none;
	background: transparent;
}

legend {
	padding: 0;
}

progress {
	vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	appearance: textfield;
	outline-offset: -2px;
}

::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

summary {
	display: list-item;
}

/* #endregion NORMALIZE */

/* #region GLOBAL */

body {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.5px;
	color: #1d1d1d;
	background-color: #fff;
}

h1 {
	font-size: 25px;
	font-weight: 900;
	line-height: 1.36;
}

h2 {
	font-size: 22px;
	font-weight: 700;
}

.wrapper {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow: clip;
}

main {
	flex-grow: 1;
}

.container {
	max-width: 770px;
	width: 100%;
	margin-inline: auto;
	padding-inline: 30px;
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	border: 0 !important;
	padding: 0 !important;
	white-space: nowrap !important;
	clip-path: inset(100%) !important;
	clip: rect(0 0 0 0) !important;
	overflow: hidden !important;
}

.form-wrapper {
	max-width: 678px;
	width: 100%;
	margin-inline: auto;
	margin-top: 12px;
}

@media (max-width: 1200px) {
	.container {
		max-width: 100%;
		padding-inline: 16px;
	}

	h1 {
		font-size: 22px;
	}
}

/* #endregion GLOBAL */

/* #region HEADER SECTION */
.header__container {
	max-width: 1408px;
	margin-inline: auto;
	width: 100%;
	padding-inline: 16px;
}

.header__top {
	border-bottom: 1px solid #e6e8ea;
}

.header__menu,
.header__logo,
.header__user {
	transition: opacity 0.3s;
}

.header__menu:hover,
.header__logo:hover,
.header__user:hover {
	opacity: 0.7;
}

.header__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 5px 24px;
}

.header__auth {
	display: flex;
	align-items: center;
	gap: 20px;
}

.header__reg,
.header__sign,
.header__user {
	display: flex;
	padding: 8px 14px;
	justify-content: center;
	align-items: center;
	line-height: 1.1;
	font-weight: 400;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.header__user {
	display: none;
}

.header__reg {
	background: #000;
	color: #fff;
	border: 1px solid #000;
}

.header__reg:hover {
	background: #fff;
	color: #000;
	border-color: #000;
}

.header__sign:hover {
	background: #000;
	color: #fff;
}

.header__bottom {
	border-bottom: 1px solid #e6e8ea;
}

.header__nav {
	display: flex;
	justify-content: center;
	align-items: center;
}

.header__nav-list {
	display: flex;
	align-items: center;
}

.header__nav-link {
	position: relative;
	display: flex;
	padding: 12px 8px;
	font-size: 14px;
	font-weight: 400;
}

.header__earth {
	border-right: 1px solid #e6e8ea;
}

.header__nav-link::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	opacity: 0;
	transition: opacity 0.3s;
}

.header__nav-link.active {
	font-weight: 700;
}

.header__nav-link.active::before {
	opacity: 1;
}

.header__nav-link:hover::before {
	opacity: 1;
}

@media (max-width: 1200px) {
	.header__bottom {
		display: none;
	}
}

@media (max-width: 744px) {
	.header__container {
		padding-inline: 12px;
	}

	.header__sign,
	.header__reg {
		display: none;
	}

	.header__user {
		display: flex;
		padding: 8px;
	}
}

/* #endregion HEADER SECTION */

/* #region NEWS SECTION  */
.news {
	padding-block: 60px 28px;
}

.highlight {
	color: #e60505;
}

.news__title {
	margin-bottom: 12px;
}

.news__info {
	margin-bottom: 12px;
	font-size: 14px;
}

.news__author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.news__author-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.news__author-info {
	color: #1d1d1d;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
}

.news__author-job {
	color: #787878;
	font-weight: 700;
}

.news__social {
	display: flex;
	margin-bottom: 12px;
}

.news__photo {
	margin-bottom: 15px;
}
.news__subtitle {
	margin-bottom: 15px;
}
.news__paragraph {
	margin-bottom: 15px;
}

.news__btn {
	display: flex;
	padding: 20px 20px 16px 20px;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	background: #0d1985;
	box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
	color: #fff;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin-inline: auto;
	max-width: 310px;
	margin-bottom: 15px;
	box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.1);
	transition: scale 0.3s, translate 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.news__btn:hover {
	scale: 1.03;
	translate: 0 -5px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
		rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
	background-color: #253091;
}

.news__calculator {
	text-align: center;
}

.news__calculator .news__subtitle {
	margin-bottom: 24px;
}

.news__form {
	display: flex;
	padding: 16px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border-radius: 25px;
	background: linear-gradient(28deg, #069933 0%, #024a4c 100%);
}

.news__form-img {
	border-radius: 12px;
}

.news__form .news__subtitle {
	color: #fff;
	text-align: center;
	font-size: 26px;
}

.news__subtitle--green {
	color: #20c200;
	font-size: 42px;
}

.news__protect {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	letter-spacing: -0.6px;
	line-height: normal;
	padding: 10px 25px 25px 25px;
}

.news__protect-title {
	font-size: 10px;
	font-weight: 700;
}

.news__protect-paragraph {
	font-size: 6px;
	font-weight: 400;
}

@media (max-width: 1200px) {
	.news {
		padding-block: 30px;
	}

	.news__form .news__subtitle {
		font-size: 20px;
	}

	.news__subtitle--green {
		font-size: 26px;
	}
}

@media (max-width: 744px) {
	.news {
		padding-block: 20px 26px;
	}
	.news__btn {
		margin-block: 20px;
		padding: 20px 0;
	}
}

/* #endregion NEWS SECTION */

/* #region PROGRESS BLOCK */
.top__list {
	padding-block: 14px 30px;
}

.top__list .item {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: 10px;
}

.top__list .item .place {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-shrink: 0;
	width: 265px;
}

.top__list .item .place__num {
	font-weight: 700;
	font-size: 18px;
	width: 25px;
}

.top__list .item .place__avatar {
	min-width: 50px;
	width: 50px;
	margin-left: 20px;
}

.top__list .item .place__avatar .place__avatar-img {
	width: 100%;
}

.top__list .item .place__name {
	margin-left: 10px;
	font-size: 16px;
}

.top__list .item .progress {
	flex-grow: 1;
	margin-left: 20px;
}

.progress {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	background-color: #fff;
	border: none;
	box-shadow: none;
}

@media (max-width: 991px) {
	.top__list .item .place {
		width: 150px;
	}

	.top__list .item .place__num {
		width: 26px;
		font-size: 14px;
	}
	.top__list .item .place__name {
		margin-left: 20px;
	}

	.top__list .item .progress {
		margin-left: 10px;
	}
}

.progress__bar {
	display: block;
	height: 25px;
	width: 0;
	margin-right: 20px;
	background-color: #008000;
	background-image: linear-gradient(
		45deg,
		rgba(0, 0, 0, 0.1) 25%,
		transparent 25%,
		transparent 50%,
		rgba(0, 0, 0, 0.1) 50%,
		rgba(0, 0, 0, 0.1) 75%,
		transparent 75%,
		transparent
	);
	background-size: 40px 40px;
	border-radius: 3px;
	animation: progress-bar-stripes 2s linear infinite;
	transition: 800ms ease-out;
}

.bar-1 {
	width: 60%;
}
.bar-2 {
	width: 57%;
}
.bar-3 {
	width: 55%;
}
.bar-4 {
	width: 53%;
}
.bar-5 {
	width: 50%;
}
.bar-6 {
	width: 46%;
}
.bar-7 {
	width: 39%;
}
.bar-8 {
	width: 30%;
}
.bar-9 {
	width: 26%;
}
.bar-10 {
	width: 18%;
}

.progress__info {
	font-size: 16px;
}

@media screen and (max-width: 991px) {
	.top__list .item {
		flex-direction: column;
	}
	.top__list .item .place {
		width: 100% !important;
	}
	.progress {
		width: 100%;
		margin: 10px 0px;
	}
}

@-webkit-keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
	}
	to {
		background-position: 0 0;
	}
}

@keyframes progress-bar-stripes {
	from {
		background-position: 40px 0;
	}
	to {
		background-position: 0 0;
	}
}
/* #endregion PROGRESS BLOCK */

/* #region CALCULATOR BLOCk */
.news__calc {
	text-align: center;
	background-color: #fff;
	animation: fadeIn 0.5s ease-in-out;
	width: 100%;
}
.slider-container {
	position: relative;
	margin-bottom: 20px;
}
.slider {
	width: 100%;
	opacity: 0;
	animation: fadeIn 0.5s ease-in-out 0.5s forwards;
	-webkit-appearance: none;
	appearance: none;
	height: 20px !important;
	background: #5cb95c;
	border-radius: 10px;
	outline: none;
	padding: 0;
	position: relative;
	z-index: 2;
}

.slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 25px;
	height: 25px;
	background: #fff;
	border-radius: 50%;
	cursor: pointer;
	border: 2px solid #5cb95c;
	margin-top: 0px !important;
	z-index: 3;
}

.current-value {
	width: 30%;
	margin: 0 auto;
	padding-top: 3px;
	padding-bottom: 3px;
	font-size: 18px;
	margin-top: -5px;
	margin-bottom: 10px;
	border-left: 2px solid #5cb95c;
	border-right: 2px solid #5cb95c;
	border-bottom: 2px solid #5cb95c;
}

.slider-labels {
	width: 100% !important;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}

.slider-label {
	position: relative;
}

.slider-label::before {
	content: "";
	position: absolute;
	width: 1px;
	height: 10px;
	background: #000;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 10px;
}

.result {
	font-size: 18px;
	margin-bottom: 10px;
	opacity: 0;
	animation: fadeIn 0.5s ease-in-out 1s forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (max-width: 744px) {
	.result {
		font-size: 16px;
	}
}

/* #endregion CALCULATOR BLOCk */

/* #region COMMENTS SECTION */
.news__comments-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #4b4f56;
	font-size: 14px;
	font-weight: 700;
	padding-block: 10px;
	border-bottom: 1px solid #e9ebee;
	margin-bottom: 15px;
}

.news__comments-sort {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
}

.news__comments-link {
	border-radius: 2px;
	border: 1px solid #ccd0d5;
	background: #f5f6f7;
	padding-inline: 6px;
	color: #4b4f56;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.8;
}

.news__comments-link:hover {
	background: #e7e8eb;
}

.news__comments-form {
	display: flex;
	gap: 8px;
	font-size: 16px;
	margin-bottom: 20px;
}

.news__comments-form-img {
	width: 50px;
	height: 50px;
}

.news__comments-input {
	display: flex;
	flex-direction: column;
	width: 100%;
	border: 1px solid #d3d6db;
}

.comment-textarea {
	width: 100%;
	max-height: 62px;
	padding: 12px 16px;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
	border: 1px solid transparent;
	resize: none;
	overflow: auto;
	transition: border-color 0.2s, box-shadow 0.2s;

	&::placeholder {
		color: #999;
	}

	&:focus {
		border-color: #007aff;
		box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
		outline: none;
	}
}

.comment-textarea::placeholder {
	color: #999;
}

.comment-textarea:focus {
	border-color: #007aff;
	box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
	outline: none;
}

.news__checkbox-wrapper {
	display: flex;
	align-items: center;
	padding: 6px;
	justify-content: space-between;
	background: #f5f6f7;
	border-top: 1px solid #d3d6db;
	gap: 8px;
	text-wrap: balance;
}

.news__checkbox-link {
	display: flex;
	padding: 5px 10px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	border-radius: 2px;
	background: #9cb4d8;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	transition: scale 0.3s;

	&:hover {
		scale: 1.03;
	}
}

.news__checkbox-link:hover {
	scale: 1.03;
}

.news__checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #90949c;
	font-size: 12px;
	font-weight: 400;
}

.news__checkbox-input,
.news__checkbox-label {
	cursor: pointer;
	transition: color 0.3s;
}

.news__checkbox-input:hover,
.news__checkbox-label:hover {
	color: #000;
}

.news__comments-wrapper {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-bottom: 60px;
}

.news__comments-item {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 15px;
	color: #4b4f56;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: -0.6px;
}

.news__comments-avatar {
	width: 48px;
	height: 48px;
}

.news__comments-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.news__comments-text-more {
	color: #4267b2;
}

.news__comments-text-more:hover {
	text-decoration: underline;
}

.news__comments-author {
	color: #365899;
	font-size: 14px;
	font-weight: 700;
}

.news__comments-info {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 1.2;
}

.news__comments-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #4267b2;
}

.news__comments-actions:hover {
	text-decoration: underline;
}

.news__comments-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.news__comments-reply {
	margin-left: 65px;
	padding-left: 10px;
	border-left: 1px dashed #d3d6db;
}

.news__comments-avatar {
	width: 36px;
	height: 36px;
}

.news__comments-show {
	display: flex;
	padding: 8px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	background: #f6f7f9;
	color: #365899;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.33;
	letter-spacing: -0.6px;
	margin-top: 12px;
	margin-left: -50px;
}

.news__comments-show:hover {
	text-decoration: underline;
}

@media (max-width: 744px) {
	.news__comments-wrapper {
		margin-bottom: 12px;
	}

	.news__comments-item {
		gap: 8px;
	}

	.news__comments-reply {
		margin-left: 60px;
	}
}

/* #endregion COMMENTS SECTION */

/* #region LINKS SECTION */
.links {
	border-top: 1px solid #e9ebee;
	padding-block: 9px 12px;
	color: #365899;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -0.6px;
}

.links__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 26px;
}

.links__link:hover {
	text-decoration: underline;
}

@media (max-width: 744px) {
	.links__list {
		justify-content: center;
		gap: 14px;
	}
}

/* #endregion LINKS SECTION */

/* #region FOOTER SECTION */
.footer {
	padding-block: 30px;
	border-top: 1px solid #e6e8ea;
}

.footer__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* #endregion FOOTER SECTION */
