/* ========== Синяя плашка в баннере ========== */
.container-slider-hero .story--copytext.webinar-hero__box {
	max-width: 460px;
	padding: 32px 36px;	
	border-radius: 8px;
	color: #fff;
	margin-bottom: 1rem;
}

.slider.regular .slide .story h1 {
	margin-top: 0.5rem;
}

.webinar-hero__text-main {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
}
.webinar-hero__meta {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 14px 18px 16px;
	margin-top: 1rem;
}
.webinar-hero__meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.webinar-hero__meta-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;	
	display: flex;
	align-items: center;
	justify-content: center;
}
.webinar-hero__meta-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}
.webinar-hero__meta-date {
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0px;
}
.webinar-hero__meta-location {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
}

/* ========== Секции — белый фон ========== */
.webinar-section {
	background: #fff;
	font-family: 'Fira Sans', Arial, sans-serif;
}
.webinar-section__inner {
	padding-top: 40px;
	padding-bottom: 40px;
}
.webinar-section__title {
	color: #063E6D;
	font-size: 40px;
	margin: 0 0 16px;
}

@media (max-width: 768px) {
	.webinar-section__title {
		font-size: 30px;
	}
}

/* О мероприятии */
.webinar-about__text {
	color: #555555 !important;
	line-height: 1.6;
	margin: 0 0 24px;
}
.webinar-about__text p {
	color: inherit;
}
.webinar-about__title {
	text-align: left;
}
.webinar-about__gallery-outer {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -51vw;
	margin-right: -50vw;
	width: 100vw;
}
.webinar-about__gallery {	
	margin-left: 0;
	margin-right: calc((100vw - 1240px) / 2 + 10px);
	display: flex;
	align-items: stretch;
	gap: 20px;
	margin-top: 24px;
}
.webinar-about__gallery-left {
	flex: 2 1 0;
}
.webinar-about__gallery-left figure,
.webinar-about__gallery-right figure {
	margin: 0;
	overflow: hidden;
	border-radius: 0;
}
.webinar-about__gallery-left img,
.webinar-about__gallery-right img {
	width: 100%;
	display: block;
}
.webinar-about__gallery-right {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.webinar-about__gallery-right figure {
	flex: 1 1 0;
}
.webinar-about__gallery-right img {
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.webinar-about__gallery-outer {
		position: static;
		margin-left: 0;
		margin-right: 0;
		width: auto;
	}
	.webinar-about__gallery {
		max-width: none;
		margin-right: 0;
		flex-direction: column;
	}
	.webinar-about__gallery-left,
	.webinar-about__gallery-right {
		flex: 1 1 auto;
	}
}

/* Цифры */
.webinar-numbers {
	position: relative;
	color: #fff;
}
.webinar-numbers__inner {
	padding: 120px 0;
	position: relative;
	z-index: 1;
}
.webinar-numbers__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.webinar-numbers__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 60, 110, 0.8);
}
.webinar-numbers__grid {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 0;
}
.webinar-numbers__col {
	flex: 1 0 0;
	text-align: left;
	padding: 24px 32px;
	position: relative;
}
.webinar-numbers__col--border {
	border-right: none;
}
.webinar-numbers__col--border::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	height: 80%;
	width: 2px;
	background: rgba(255, 255, 255, 0.6);
}
.webinar-numbers__value {
	font-size: 46px;
	font-weight: bold;
	color: #fff;
	margin: 0 0 2rem;
}
.webinar-numbers__desc {
	font-size: 14px;
	color: #ffffff;
    font-weight: 100;    
    margin: 0;
}
@media (max-width: 768px) {
	.webinar-numbers__col--border {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	}
}

/* Программа */
.webinar-program__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 24px;
}
.webinar-program__head-left {
	flex: 1 1 auto;
}
.webinar-program__subtitle {
	color: #555555;
	font-size: 15px;
	font-weight: 300;
	margin: 4px 0 0;
	letter-spacing: -0.75px;
}
.webinar-program__tabs {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.webinar-program__tab {
	padding: 10px 20px;
	background: #fff;
	border: none;
	background: rgba(232, 245, 251, 1);
	color: #063E6D;
	border-radius: 6px;
	cursor: pointer;
	font-size: 15px;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.webinar-program__tab:hover {
	background: rgba(210, 236, 247, 1);
}
.webinar-program__tab.is-active {
	background: rgba(17, 155, 207, 1);
	color: #fff;
}
.webinar-program__panel {
	display: none;
}
.webinar-program__panel.is-active {
	display: block;
}
.webinar-program__item {
	display: flex;
	gap: 0;
	margin-bottom: 16px;
	border: 1px solid #e3eef5;
	background: #fff;
	border-radius: 4px;
}
.webinar-program__item--break {
	background: #e6f5ff;
	border-color: #e6f5ff;
}
.webinar-program__item--break .webinar-program__time,
.webinar-program__item--break .webinar-program__topic {
	color: #063E6D;
}
.webinar-program__time {
	flex: 0 0 120px;
	padding: 18px 16px;
	background: rgba(17, 155, 207, 1);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	display: flex;
	align-items: flex-start;
}
.webinar-program__item--break .webinar-program__time {
	background: transparent;
	color: #063E6D;
}
.webinar-program__content {
	flex: 1;
	padding: 18px 22px 20px;
}
.webinar-program__topic {
	color: #063E6D;
	font-weight: 500;
	margin: 0 0 6px;
	font-size: 23px;
	line-height: 32px;
}
.webinar-program__item--break .webinar-program__topic {
	color: #063E6D;
}
.webinar-program__speaker {
	display: flex;
	align-items: center;
	gap: 15px;
    margin: 20px 0;
}
.webinar-program__speaker-photo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}
.webinar-program__speaker-name {
	color: #64748B;
	font-size: 16px;
	line-height: 23px;
	font-weight: 700;
}
.webinar-program__speaker-name .webinar-program__speaker-name span {
	font-weight: 400;
	color: #64748B;
}

.webinar-program__speaker-role {
	font-weight: 400;
	color: #64748B;
}

.webinar-program__desc {
	color: #555555;
	font-size: 15px;
	font-weight: 300;
	line-height: 20px;
	letter-spacing: -0.75px;
	margin-top: 10px;
}
.webinar-program__desc p {
	margin: 0 0 0.5em;
}

/* Спикеры */
.webinar-speakers__title {
	text-align: left;
}
.webinar-speakers__subtitle {
	text-align: left;
    color: #555555;
    font-size: 15px;
    max-width: 700px;
    margin: 0 0 32px!important;
    line-height: 1.5;
}
.webinar-speakers__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
@media (max-width: 992px) {
	.webinar-speakers__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 576px) {
	.webinar-speakers__grid {
		grid-template-columns: 1fr;
	}
}
.webinar-speakers__card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}
.webinar-speakers__photo {
	margin: 0;
	aspect-ratio: 1;
	overflow: hidden;
}
.webinar-speakers__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.webinar-speakers__footer {
	padding: 16px;
	background: #fff;
	text-align: center;
}
.webinar-speakers__name {
	color: #063E6D;
	font-weight: 600;
	font-size: 16px;
	margin: 0 0 4px;
}
.webinar-speakers__position {
	color: #666;
	font-size: 14px;
	margin: 0;
}

/* CTA */
.webinar-cta {
	background: #fff;
	padding: 80px 0 100px;
}
.webinar-cta__inner {
	text-align: center;
	max-width: none;
	margin: 0;
	background: linear-gradient(135deg, #0296de 0%, #0bb0f1 100%);
	border-radius: 24px;
	padding: 60px 40px 70px;
	position: relative;
	overflow: hidden;
}
.container .webinar-cta__inner {
	width: 100%;
}
.webinar-cta__inner::before,
.webinar-cta__inner::after {
	content: '';
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}
.webinar-cta__inner::before {
	width: 136px;
	height: 130px;
	left: 28px;
	top: 29px;
	opacity: 1;
	transform: rotate(18deg);
	background-image: url('../images/yandex_left.svg');
}
.webinar-cta__inner::after {
	width: 211px;
	height: 211px;
	top: 261px;
	right: 70px;
	opacity: 1;
	transform: rotate(-12deg);
	background-image: url('../images/yandex_right.svg');
}
.webinar-cta__badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.25);
	color: #fff;
	padding: 6px 22px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 28px;
}
.webinar-cta__title {
	color: #fff;
	font-size: 60px;
	font-weight: 700;
	margin: 0 auto 24px;
	line-height: 53px;
	max-width: 80%;
}
.webinar-cta__text {
	color: rgba(255, 255, 255, 0.95);
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.75px;
	margin-bottom: 40px;
}
.webinar-cta__text p {
	margin: 0 0 0.5em;
	color: inherit;
}
.webinar-cta__btn-wrap {
	margin: 0;
}
.webinar-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	white-space: nowrap;
	background: #fff;
	color: #008ee6;
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 23px 40px;
	min-width: 280.75px;
	height: 59.98px;
	border-radius: 14.04px;
	font-weight: 600;
	font-size: 18px;
	text-decoration: none;
	text-transform: lowercase;
	transition: transform 0.2s, border-color 0.2s, color 0.2s, background 0.2s;
}
.webinar-cta__btn:hover {
	transform: translateY(-1px);
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
}
.webinar-cta__btn-arrow {
	font-size: 18px;
	color: #008ee6;
}
.webinar-cta__btn:hover .webinar-cta__btn-arrow {
	color: #008ee6;
}

/* ========== Адаптив ========== */

@media (max-width: 992px) {
	/* О мероприятии */
	.webinar-about__gallery {
		margin-right: 0;
		gap: 16px;
	}

	/* Цифры */
	.webinar-numbers__grid {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.webinar-numbers__value {
		font-size: 32px;
		margin-bottom: 1rem;
	}
	.webinar-numbers__col {
		padding: 12px 0;
		text-align: left;
	}
	.webinar-numbers__col--border::after {
		display: none;
	}

	/* CTA */
	.webinar-cta__inner {
		padding: 50px 32px 60px;
		border-radius: 20px;
	}
	.webinar-cta__title {
		font-size: 38px;
		line-height: 1.15;
		max-width: 90%;
	}
	.webinar-cta__text {
		font-size: 18px;
		line-height: 1.3;
	}
}

@media (max-width: 768px) {	
	.page-template-tpl-webinar-page .slider.regular .slide {     
        height: 40.5rem;
    }
	.page-template-tpl-webinar-page .slider.regular .slide .story {		                    
        max-height: 24.75rem;        
        height: 23.75rem;
	}

	/* О мероприятии */
	.webinar-section__inner {
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.webinar-about__gallery-outer {
		position: static;
		margin-left: 0;
		margin-right: 0;
		width: auto;
	}
	.webinar-about__gallery {
		flex-direction: column;
		margin-right: 0;
	}

	/* Цифры */
	.webinar-numbers__col {
		padding: 16px 0;
		text-align: left;
	}
	.webinar-numbers__value {
		font-size: 26px;
	}

	/* CTA */
	.webinar-cta {
		padding: 60px 0 80px;
	}
	.webinar-cta__inner {
		padding: 40px 20px 50px;
		border-radius: 18px;
	}
	.webinar-cta__title {
		font-size: 28px;
		max-width: 100%;
	}
	.webinar-cta__text {
		font-size: 16px;
		line-height: 1.4;
	}
	.webinar-cta__btn {
		min-width: 0;
		width: 100%;
		max-width: 320px;
	}
	.webinar-cta__inner::before,
	.webinar-cta__inner::after {
		opacity: 0.15;
	}
}

@media (max-width: 480px) {
	/* CTA — мелкие устройства */
	.webinar-cta__inner::before,
	.webinar-cta__inner::after {
		display: none;
	}
}