.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
	word-break: normal !important;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}
/* =================== АККОРДЕОН =================== */
.accordion {
  max-width: 100%;
  width: 100%;
}

.acc-item {
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  background: #ffffff;
  position: relative;
  overflow: visible;
}

.acc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0%;
  background: linear-gradient(180deg, #3F51B5 0%, #673AB7 100%);
  border-radius: 4px;
  transition: height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.acc-item.open::before {
  height: 100%;
}

.acc-trigger {
  padding: 24px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.acc-trigger:hover {
  background: none;
}

.acc-trigger:hover h4 {
  color: #673AB7;
  transition: color 0.3s ease;
}

.acc-trigger h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  padding-right: 48px;
}

.acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3F51B5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.acc-trigger:hover .acc-icon {
  background: #673AB7;
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding-left: 20px;
}

.acc-content.active {
  max-height: 300px;
  padding: 0 32px 32px;
}

.acc-content p {
  margin: 0 0 20px 0;
  line-height: 1.7;
  color: #5a6c7d;
}
/* ================================================ *//* ===== TEAM SECTION ===== */
.team-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Сетка: 3 колонки */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 1440px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 959px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Карточка участника */
.team-card {
  cursor: pointer;
  text-align: center;
  padding: 20px 15px;
  border: 2px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
  border-radius: 4px;
}

.team-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.team-card.active {
  border-color: #5548b0; /* подбери под цвет бренда 24gen */
  box-shadow: 0 4px 18px rgba(0,87,183,0.15);
}

.team-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 14px;
}

.team-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.team-card .team-role {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Панель биографии */
.team-bio-panel {
  display: none;
  position: relative;
  margin-top: 30px;
  padding: 40px;
  background: #f8f8f8;
  border-radius: 4px;
  border-top: 3px solid #5548b0;
  animation: bioFadeIn 0.3s ease;
}

@keyframes bioFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.team-bio-panel.open {
  display: block;
}

.team-bio-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #999 ;
  line-height: 1;
}

.team-bio-close:hover,
.team-bio-close:focus {
  color: #5548b0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.team-bio-header {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.team-bio-header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.team-bio-header h2 {
  margin: 0 0 6px;
}

.team-socials {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.team-socials a {
  font-size: 0.85rem;
  color: #5548b0;
  text-decoration: none;
  border: 1px solid #5548b0;
  padding: 4px 10px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.team-socials a:hover {
  background: #5548b0;
  color: #fff;
}

.team-bio-text p {
  line-height: 1.7;
  color: #444;
}

@media (max-width: 767px) {
  .team-bio-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .team-socials {
    justify-content: center;
  }
}