/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* === Обёртка для фона на всю ширину === */
.custom-top-bar {
	background-color: #3b5998;
	width: 100%;
}

/* === Кастомное меню по центру === */
.custom-top-menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	padding: 15px 30px;
	max-width: 1280px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* === Логотип === */
.menu-logo {
	display: flex;
	align-items: center;
}

.menu-logo a {
	display: inline-block;
	line-height: 0;
}

.menu-logo img {
	max-height: 50px;
	height: auto;
	width: auto;
	display: block;
	object-fit: contain;
}

/* === Ссылки справа === */
.menu-links {
	display: flex;
	gap: 20px;
	align-items: center;
}

.menu-links a {
	color: #fff;
	text-decoration: none;
	padding: 10px 20px;
	background-color: transparent;
	border-radius: 6px;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	font-weight: 500;
	font-size: 16px;
}

.menu-links a:hover {
	background-color: #2e4777;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* === Адаптив === */
@media (max-width: 768px) {
	.custom-top-menu {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.menu-logo {
		margin-bottom: 15px;
		justify-content: center;
	}

	.menu-links {
		flex-direction: column;
		width: 100%;
		gap: 10px;
	}

	.menu-links a {
		width: 80%;
		text-align: center;
	}
}

.custom-top-bar {
	background-color: #3b5998;
	width: 100%;
	position: sticky;
	top: 0;
	z-index: 999;
}

.monitoring-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px 30px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 12px;
  font-family: Arial, sans-serif;
}

.monitoring-section h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yt-link {
  font-size: 20px;
  text-decoration: none;
}

.monitoring-section p {
  font-size: 16px;
  margin-bottom: 10px;
  color: #444;
}

.monitoring-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.monitoring-table th, .monitoring-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.monitoring-table th {
  background-color: #3b5998;
  color: #fff;
}

.monitoring-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.monitoring-table tr:hover {
  background-color: #eef1f7;
}

.monitoring-section {
	padding: 40px 20px;
	background: #fff;
	border-radius: 10px;
	margin-bottom: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.monitoring-section h1 {
	font-size: 28px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.monitoring-section p {
	font-size: 16px;
	color: #333;
	margin-bottom: 25px;
	max-width: 800px;
}

.monitoring-table {
	width: 100%;
	border-collapse: collapse;
}

.monitoring-table thead {
	background-color: #f1f1f1;
}

.monitoring-table th,
.monitoring-table td {
	padding: 12px 15px;
	border: 1px solid #ccc;
	text-align: left;
	font-size: 15px;
}

.monitoring-table tbody tr:nth-child(even) {
	background-color: #fafafa;
}

.monitoring-section {
	padding: 40px 20px;
	background: #fff;
	border-radius: 10px;
	margin-bottom: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.monitoring-section h1 {
	font-size: 28px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.monitoring-section p {
	font-size: 16px;
	color: #333;
	margin-bottom: 25px;
	max-width: 800px;
}

.monitoring-table {
	width: 100%;
	border-collapse: collapse;
}

.monitoring-table thead {
	background-color: #f1f1f1;
}

.monitoring-table th,
.monitoring-table td {
	padding: 12px 15px;
	border: 1px solid #ccc;
	text-align: left;
	font-size: 15px;
}

.monitoring-table tbody tr:nth-child(even) {
	background-color: #fafafa;
}

.yt-promo-container {
	background-color: #f2f8ff;
	border: 1px solid #d3e3fc;
	border-radius: 10px;
	padding: 20px 30px;
	max-width: 980px;
	margin: 40px auto 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}

.yt-promo-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.yt-icon {
	width: 90px;
	height: auto;
	object-fit: contain;
}

.yt-text-block {
	display: flex;
	flex-direction: column;
}

.yt-text {
	font-weight: 500;
	font-size: 16px;
	color: #000;
	margin: 0;
}

.yt-recommend {
	color: #d9534f;
	font-size: 13px;
	margin: 0;
}

.yt-button {
	background-color: #3b5998;
	color: #fff !important;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.3s ease;
	white-space: nowrap;
}

.yt-button:hover {
	background-color: #2e4777;
	color: #fff !important;
}

@media (max-width: 768px) {
	.yt-promo-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 15px;
	}

	.yt-promo-left {
		justify-content: center;
	}
}

<style>
.faq-section {
  max-width: 800px;
  margin: 40px auto;
  font-family: sans-serif;
}

.faq-question {
  width: 100%;
  background-color: #20488f;
  color: white;
  padding: 15px 20px;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  position: relative;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #f9f9f9;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 15px 20px;
  max-height: 300px;
}

.faq-item {
	padding: 10px;
}


</style>

#donutCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: -1;
}
