
        :root {
        --primary: #FF5B23;
        --primary-hover: #E05A00;
        --text-dark: #242529;
        --text-medium: #5A5D66;
        --text-light: #8D8F99;
        --background: #EEEFF1;
        --white: #FFFFFF;
        --radius-sm: 8px;
        --radius-md: 12px;
        --radius-lg: 16px;
        --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        --transition: all 0.3s ease;
        }

        .work_spec {
            max-width: 1160px;
            height: auto;
            margin: 0 auto;
        }

        body {
            margin: 0;
            background-color: #EEEFF1;
            font-family: Golos Text;
            padding: 40px 0;
        }
        a {
            color: var(--primary);
            text-decoration: none;
        }
        .events-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 8px;  /* Расстояние между элементами */
            margin-bottom: 80px;
        }

        .events-item {
            text-decoration: none;
            background-color: #ffffff;
            border-radius: 16px;
            height: 388px;
            padding: 0px;
        }

        .events-img {
            width: 100%;
            height: 216px;
            border-radius: 16px 16px 0px 0px;
            overflow: hidden;
        }

        .events-img img{
            object-fit: cover; 
            width: 100%; 
            height: 100%;
        }

        .events-text {
            margin: 0;
            box-sizing: border-box;
        }

        .events-text p{
            color: #000000A1;
            margin: 0;
            font-size: 16px;
            font-weight: 400;
            line-height: 24px;
            display: inline-block;
        }
        .events-text .zagl {
            margin-top: 8px;
            color: #000000CC;
            font-size: 20px;
            font-weight: 500;
            line-height: 32px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -moz-box;
            -moz-box-orient: vertical;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            line-clamp: 2;
            box-orient: vertical;
        }

        .event-head {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .event-type {
            display: inline-block !important;
            padding: 1px 8px !important;
            gap: 10px !important;
            border-radius: 4px !important;
            opacity: 0px !important;
        }

        .event-type p{
            font-size: 12px !important;
        }

        .vebinar{
            background: #FF5B2326 !important;
        }

        .vebinar p{
            color: #FF5B23 !important;
        }

        .kyrs{
            background: #914EBC26 !important;
        }

        .kyrs p{
            color: #914EBC !important;
        }
        .event_title {
            display: flex;
            background: white;
            max-height: 416px;
            border-radius: 16px;
        }
        .events-text {
            padding: 40px 56px 48px 56px;
            display: block !important;
            width: 100%;
            align-content: center;
        }
        .event-back {
            width: 100%;
            border-radius: 16px;
            overflow: hidden;
            object-fit: cover;
            height: 416px; 
        }        
        .event-back > img {
            border-radius: 16px;
            width: 100%;
            height: 416px;
            object-fit: cover;
        }

.event-name {
	font-family: Golos Text;
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	color: #242529;
	margin: 20px 0 36px;
}
.go_link {
	text-decoration: none;
	background-color: #FF5B23;
	padding: 16px 28px;
	font-family: Golos Text;
	font-size: 16px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: 0.01em;
	text-align: left;
	text-underline-position: from-font;
	text-decoration-skip-ink: none;
	display: flex;
	border-radius: 8px;
	width: fit-content;
	transition: all 0.15s ease-in-out;
}
.go_link:hover {
	background-color:rgb(221, 79, 31);
}
.go_link:active {
	background-color:rgb(158, 57, 23);
}
.go_link > p {
	color: #ffffff;
	font-family: Golos Text;
	font-weight: 500;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 1%;
}
.work_area {
	max-width: 1400px;
	box-sizing: border-box;
	margin: 80px auto !important;
}
.block-title {
	font-family: Golos Text;
	font-weight: 500;
	font-size: 40px;
	line-height: 48px;
	color: #242529;
	padding-left: 22px;
    margin-top: 0;
}
#tema {
	padding: 0 22px;
	font-family: Golos Text;
	font-weight: 400;
	font-size: 24px;
	line-height: 36px;
	color: #5A5D66;
}
#members > p {
	border-radius: 16px;
	background: white;
	padding: 28px;
	font-family: Golos Text;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	color: #5A5D66;
}
.speakers-list {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}
.speaker-item {
	background: white;
    border-radius: 16px;
}
.speaker-img {
    border-radius: 16px;
    width: 100%;
    height: 328px;
    overflow: hidden;
}
.speaker-img > img {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.speaker-info {
	padding: 20px 28px;
	display: flex;
	gap: 8px;
	flex-direction: column;
}
.speaker-info > p {
	margin: 0;
}
.speaker-title {
	font-family: Golos Text;
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	color: #242529;
}
.speaker-position {
	font-family: Golos Text;
	font-weight: 400;
	font-size: 16px;
	line-height: 20px;
	color: #5A5D66;
}
.main-info {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-container {
    margin: 0 auto;
}

.days-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.day-btn {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    padding: 14px 28px;
    border: none;
    border-radius: 100px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 16px;
    color: #242529;
}

.day-btn.active {
    background: #FF5B23;
    color: #FFFFFF;
}

.day-btn:hover {
    background: #CF4617;
    color: #FFFFFF;
}

.day-events {
    display: none;
    gap: 25px;
    flex-direction: column;
}

.event-item {
    display: flex;
    margin-bottom: 12px;
    gap: 20px;
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    /* box-shadow: 0 2px 15px rgba(0,0,0,0.1); */
}

.event-time {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #FF5B23;
}

.event-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.event-title {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0%;
    margin: 0;
    color: #2c3e50;
    padding-right: 20px;
}

.event-desc {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #5A5D66;
    margin-bottom: 0;
}





/* -------------------- program (event plan) tweaks -------------------- */
#event-plan .event-main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    gap: 12px;
}

#event-plan .main-info {
    width: 100%;
    max-width: 100%;
    padding-right: 0;
}

#event-plan .event-desc {
    margin-top: 12px;
}

#event-plan .event-speakers {
    width: 100%;
    flex-direction: column;
    gap: 0;
}

#event-plan .speaker-card {
    width: 100%;
    gap: 0;
}

#event-plan .speaker-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #242529;
}

.event-speakers {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
    flex-direction: column;
}

.speaker-photo img {
    width: 88px;
    height: 88px;
    border-radius: 12px;
    object-fit: cover;
}

.speaker-name {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0px;
    color: #242529;
}

.event-speaker-info {
    padding: 0;
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.speaker-position {
    font-family: Golos Text;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #5A5D66;
}

.speaker-role {
    font-size: 20px;
    color: #242529;
}

.speaker-card {
    width: 100%;
    display: flex;
    gap: 20px;
}

			.mobile-app {
				max-height: 508px;
				background: radial-gradient(35.25% 111.66% at 68.83% 54.6%, #2E4051 0%, #1D2226 100%);
				background-position: right;
				overflow: hidden;
				gap: 0px;
				border-radius: 16px;
				opacity: 0px;
				padding: 46px 0 56px 56px;
				box-sizing: border-box;
				position: relative;
				margin-bottom: 80px;
			}
			.mobile-app h1{
				margin: 0;
				max-width: 700px;
				color: #FFFFFF;
				gap: 0px;
				opacity: 0px;
				font-size: 40px;
				font-weight: 500;
				line-height: 48px;
				text-align: left;
    			position: relative;
				z-index: 2;
			}

			.links {
				display: grid;
    			grid-template-columns: 141px 163px 143px;
				gap: 20px;
				position: relative;
				z-index: 1;
				margin-top: 20px;
			}

			.link {
				display: inline-block;
				background: #1F2A2A;
				width: fit-content;
				height: 48px;
				gap: 20px;
				border-radius: 12px;
				z-index: 1;
				transition: all 0.2s ease-in-out;
			}

			.link:hover {
				background: #5A5D66;
			}

            .link-mini {
                display: none;
            }

			.mobile-qr {
				width: 140px;
				height: 140px;
				padding: 0;
				gap: 0px;
				border-radius: 12px;
				margin-top: 32px;
			}

			.mobile-banner {
				position: absolute;
				bottom: 0px;
				right: 0px;
                max-width: 773px;
			}
            @media screen and (max-width: 1432px){
				.area {
					margin: 0 16px 0 16px;
				}
				.mobile-banner {
					width: 55%;
				}
			}
			@media screen and (max-width: 768px){
				.block-title-grid > a {
					font-size: 16px;
					line-height: 24px;
				}
				.work_spec {
					width: auto;
					padding: 0 20px;
				}
				.block-title-grid {
					padding: 0 8px;
					margin-bottom: 20px;
				}
				.partners-title {
					text-align: left;
					font-size: 28px;
					font-weight: 500;
					line-height: 36px;
					margin: 0;
				}
				.cifry {
					grid-template-columns: repeat(2, 1fr);
				}

				.cifra h1{
					font-size: 48px;
				}

				.news-grid {
					grid-template-columns: 1fr;
					grid-template-rows: 1fr;
					margin-bottom: 40px;
				}

				.news-text .zagl {
					font-size: 20px;
					font-weight: 500;
					line-height: 32px;
					text-align: left;
				}
				
				.news-text {
				    padding: 16px 20px;
				}

				.first .news-img {
					height: 222px;
				}

				.first {
					grid-row-start: 1;
					grid-row-end: 1;
				}

				.events-grid {
					grid-template-columns: 1fr;
					margin-bottom: 40px;
				}
				.events-img {
					height: 230px;
				}
				.events-text {
					height: 176px;
					padding: 16px 20px;
				}
				.event-head {
					margin-bottom: 4px;
				}
				.abouttext p {
					margin: 0 20px;
					font-size: 20px;
					font-weight: 400;
					line-height: 32px;
				}
				.slider { 
					margin-bottom: 40px;
					height: 416px;
				}
				.abouttext {
					margin-bottom: 32px;
				}
				.block-title {
					padding-left: 0px;
					font-size: 28px;
					font-weight: 500;
					line-height: 36px;
					text-align: left;
					text-underline-position: from-font;
					text-decoration-skip-ink: none;
				}
				.mobile-app {
					margin-bottom: 40px;
					height: 398px;
					padding: 32px 20px 20px 20px;
				}
				.mobile-app h1 {
					font-size: 28px;
					font-weight: 500;
					line-height: 36px;
				}
				.mobile-banner {
					width: 100%;
				}
				.mobile-qr {
					display: none;
				}
				.links {
					grid-template-columns: 48px 48px 48px;
					gap: 12px;
					margin-top: 16px;
				}
				.link {
					display: none;
				}
				.link-mini {
					display: block;
				}
				.content {
					padding: 36px 26px 26px 26px;
					position: relative;
					height: 100%;
					box-sizing: border-box;
				}
				.content a {
					left: 26px;
					bottom: 26px;
				}	
				.section_partner {
					margin: 40px 0;
				}
				.team-banner {
					margin: 40px 0 64px;
				}
				.team-banner h1 {
					font-size: 44px;
					line-height: 52px;
				}
				.overview {
					font-size: 18px;
					line-height: 28px;
				}
				.area {
					padding: 5px 0 0 0;
				}
                .speaker-card {
                    width: 100%;
                    display: flex;
                    gap: 0;
                    flex-direction: column;
                }
			}
			@media screen and (max-width: 480px){
				.abouttext p {
					font-size: 18px;
					line-height: 26px;
				}
				.abouttext > p > span {
					font-size: 18px;
					line-height: 30px;
				}
				.cifry {
					grid-template-columns: repeat(1, 1fr);
				}
				.napravleniya {
					grid-template-columns: repeat(1, 1fr);
				}
				.content {
					font-size: 32px;
					font-weight: 500;
					line-height: 40px;
					padding: 26px 26px 0 16px;
				}	
				.content {
					font-size: 32px;
					font-weight: 500;
					line-height: 40px;
					padding: 26px 26px 0 16px;
				}	
				.content a {
					left: 16px;
					bottom: 16px;
					width: calc(100% - 32px);
				}	
				.team-banner h1 {
					font-size: 28px;
					line-height: 36px;
					margin: 0 0 20px;
				}
				.overview {
					margin-top: 10px;
					font-size: 16px;
					line-height: 24px;
				}
			}

.event-simple-list {
    counter-reset: num;
    list-style: none;
    margin: 0;
    padding: 0 0 0 0;
}
.event-simple-list li {
    counter-increment: num;
    position: relative;
    margin: 0 0 0 32px;
    padding: 0;
    font-size: 16px;
}
.event-simple-list li:nth-child(-n+9):before {
    content: "0" counter(num);
    color: #FF5B23;
}
.event-simple-list li:before {
    content: counter(num);
    color: #FF5B23;
    position: absolute;
    left: -30px;
    top: 1px;
    font-size: 21px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.24;
    letter-spacing: normal;
}
.event-simple-list li h3 {
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #242529;
    margin: 0;
}
.events-list-element {
    background: white;
    padding: 20px 28px;
    border-radius: 16px;
    margin: 0 0 8px;
}

        #chat-banner {
            max-width: 1400px;
            width: 100%;
            background: white;
            padding: 56px;
            border-radius: 16px;
            height: 356px;
            display: flex;
            align-items: center;
        }

        .chat {
            border-radius: 12px;
            padding: 0;
            max-width: 600px;
            margin-bottom: 20px;
            margin: auto 0 auto auto;
        }

        .chat-info {
            display: flex;
            flex-direction: column;
            gap: 26px;
        }

        .chat-desc-button {
            display: flex;
            flex-direction: column;
            background: #EBECEF;
            color: #242529;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            padding: 16px 28px;
            width: fit-content;
            border-radius: 8px;
            text-decoration: none;
        }
        .chat-mobile-button {
            display: none;
            flex-direction: column;
            background: #EBECEF;
            color: #242529;
            font-weight: 500;
            font-size: 16px;
            line-height: 24px;
            width: 100%;
            border-radius: 8px;
            text-decoration: none;
        }
        .chat-mobile-button > p {
            margin: 16px auto;
        }

        .chat-title {
            font-family: Golos Text;
            font-weight: 500;
            font-size: 40px;
            line-height: 48px;
            color: #242529;
            margin: 0;
        }

        .message {
            position: relative;
            background: white;
            padding: 12px 20px;
            border-radius: 12px;
            margin-bottom: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            width: fit-content;
            max-width: 95%;
            margin-left: 8px;
            border-radius: 100px 100px 100px 0;
            font-weight: 400;
            font-size: 16px;
            line-height: 18px;
            padding: 12px 20px;
        }

        .message::before {
            content: '';
            position: absolute;
            width: 22px;
            height: 27px;
            bottom: 0px;
            left: -10px;
            clip-path: path("M11.5 5.49986C11.5 18.2727 4.70308 24.2476 0.754887 26.6408C0.269821 26.9348 0.514505 27.9999 1.08173 27.9999L22 28.0002C22 28.0002 11.5 -12.5013 11.5 5.49986Z");
            background: white;
            filter: drop-shadow(-2px 2px 2px rgba(0, 0, 0, 0.05));
        }

        .message.user {
            background: #FF5B23;
            color: white;
            margin-left: auto;
            margin-right: 8px;
            border-radius: 100px 100px 0;
            font-weight: 400;
            font-size: 16px;
            line-height: 18px;
            padding: 12px 20px;
        }

        .message.user::before {
            left: auto;
            right: -10px;
            clip-path: path("M10.5 5.49986C10.5 18.2727 17.2969 24.2476 21.2451 26.6408C21.7302 26.9348 21.4855 27.9999 20.9183 27.9999L0 28.0002C0 28.0002 10.5 -12.5013 10.5 5.49986Z");
            filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
            background: #FF5B23;
        }
.work_spec {
    max-width: 1400px;
}
@media screen and (min-width: 767px) {
    body .event_inf .event_title {
        min-height: auto;
    }
}

@media screen and (max-width: 1480px) {
    .work_spec {
        padding: 0 !important;
        margin: 0 40px !important;
    }
    .work_area {
        margin: 40px !important;
    }
}

@media screen and (max-width: 1150px) {
    .speakers-list {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }
}
@media screen and (max-width: 960px) {
    .event-back > img {
        position: absolute;
        right: 0;
        z-index: 1;
        filter: brightness(40%);
    }
    .events-text {
        z-index: 1;
    }
    .events-text {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    }
    #tema {
        padding: 0 20px;
        font-size: 16px;
        line-height: 24px;
    }
    .speakers-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .event-item {
    display: flex;
    margin-bottom: 12px;
    gap: 4px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    flex-direction: column;
}
.event-main {
    flex-grow: 1;
    display: flex
;
    justify-content: space-between;
    flex-direction: column;
}
.main-info {
	display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding-right: 20px;
}
.speaker-role {
    margin-top: 12px;
}
.event-speakers {
    gap: 0;
}
.event-speaker {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    flex-direction: column;
}
.speaker-photo img {
    margin-top: 16px;
}
.event-time, .event-time, .event-desc, .speaker-name, .speaker-position {
    font-size: 14px;
    line-height: 24px;
}
.day-btn {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    padding: 12px 16px;
}
.block-title {
    margin: 20px 0;
    padding-left: 8px;
}

#members > p {
    padding: 18px 20px 20px;
    font-size: 14px;
    line-height: 24px;
}

.event-head {
    align-items: flex-start;
    flex-direction: column-reverse;
}

.events-text p {
    color: #000000A1;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    display: inline-block;
}
.events-text-p {
    color: #FFFFFF !important;
}
.date {
    color: #FFFFFF99 !important;
}
.event-name {
    margin: 10px 0 20px;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
}
.event-name.long-title {
    font-size: 24px;
    line-height: 32px;
}
.event-back {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    object-fit: cover;
    height: 416px;
}
    .events-text {
        height: 100%;
        padding: 16px 20px;
    }

.go_link {
    justify-content: center;
    margin: auto;
    width: calc(100% - 92px);
    position: absolute;
    bottom: 20px;
}
.go_link > p {
    color: white;
}

}

@media screen and (max-width: 768px) {
    .speakers-list {
        grid-template-columns: 1fr;
    }
    .block-title {
        margin: 20px 0;
        padding-left: 8px;
    }
    .speaker-item {
        padding: 20px;
    }
    .speaker-img {
        width: 120px;
        height: 120px;
        margin-bottom: 14px;
    }
    .speaker-info {
        padding: 0;
        display: flex;
        gap: 2px;
        flex-direction: column;
    }
    .speaker-title {
        font-size: 16px;
        line-height: 24px;
    }
    .speaker-position {
        font-size: 14px;
        line-height: 22px;
    }
    #chat-banner {
        width: auto;
        align-items: center;
        flex-direction: column;
        padding: 16px 20px;
        align-items: flex-start;
        gap: 40px;
        height: auto;
    }
    
    .chat-title {
        font-size: 24px;
        line-height: 32px;
    }
    .message {
        margin-bottom: 24px;
    }
    .chat {
        max-width: auto;
        width: 100%;
    }
    .chat-desc-button {
        display: none;
    }
    .chat-mobile-button {
        display: flex;
    }
    .events-list-element {
        padding: 18px 20px;
    }
    .event-simple-list li:before {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
    }
    .event-simple-list li h3 {
        font-weight: 400;
        font-size: 14px;
        line-height: 24px;
    }

}
@media screen and (max-width: 580px) {
    .work_area {
        margin: 40px 16px !important;
    }
    .work_spec {
        margin: 0 16px !important;
    }
    .event_title {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        max-height: none;
    }
    
    .event-back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .event-back > img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        filter: brightness(40%);
    }
    
    .events-text {
        position: relative;
        z-index: 2;
        padding: 16px 20px;
        min-height: 0; /* Минимальная высота */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .go_link {
        align-self: flex-start;
        margin-top: auto;
        width: 100%;
        position: revert;
    }
}

/* -------------------- extracted from inline <style> blocks -------------------- */

/* Стили для версии без видео */
.materials-container.without-video .files-block {
    width: 100%;
    height: auto;
    background: none;
    padding: 0;
}

.materials-container.without-video .files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Вся карточка становится ссылкой (только в версии без видео) */
.materials-container.without-video .file-item.file-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.materials-container.without-video .file-item.file-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.materials-container.without-video .file-card .file-info {
    flex: 1;
}

.materials-container.without-video .file-card .file-name {
    max-width: 90%;
    white-space: normal;
    word-wrap: break-word;
    color: #242529;
}

.materials-container.without-video .file-card .file-size {
    color: #5A5D66;
    margin-top: 4px;
}

/* Убираем стандартный стиль ссылки */
.materials-container.without-video .file-item.file-card,
.materials-container.without-video .file-item.file-card:hover,
.materials-container.without-video .file-item.file-card:focus {
    text-decoration: none;
    color: inherit;
}

/* Скрываем файлы после 4-го в свернутом состоянии (только в версии без видео) */
.materials-container.without-video .files-list.collapsed .file-item.file-card:nth-child(n+5) {
    display: none;
}

/* Показываем все файлы в раскрытом состоянии (только в версии без видео) */
.materials-container.without-video .files-list:not(.collapsed) .file-item.file-card {
    display: flex !important;
}

/* Стили для кнопки (только в версии без видео) */
.show-all-materials-btn {
    display: block;
    margin: 32px auto 0;
    padding: 18px 100px;
    background: #23262E;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #FFFFFF;
    font-family: 'Golos Text';
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
}

.show-all-materials-btn:hover {
    background: #3A3E4A;
}

/* Остальные существующие стили */
.materials-container {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.video-block-wrapper {
    flex: 1;
    position: relative;
    height: 529px;
    display: none;
}

.video-block {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.video-block .video-js {
    width: 100% !important;
    height: 100% !important;
    padding-top: 0 !important;
}

.files-block {
    width: 436px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 28px;
    height: 529px;
    box-sizing: border-box;
    /* Добавляем transition для плавности */
    transition: padding-right 0.2s ease;
}
.files-block.has-scrollbar {
    padding: 18px 8px 18px 28px;
}
.files-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;    
    padding: 0;
    /* Включаем вертикальную прокрутку при необходимости */
    overflow-y: auto;
    /* Отступ от скроллбара */
    scrollbar-gutter: stable;
    /* Стилизация скроллбара */
    scrollbar-width: thin; /* Для Firefox */
    scrollbar-color: #c1c1c1 transparent; /* Для Firefox */
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    gap: 8px;
}

.file-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.file-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.file-icon-play {
    background-image: url('/upload/video-icon.svg');
}

.file-icon-default {
    background-image: url('/upload/file-icon.svg');
}

.file-details {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.file-name {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    color: #242529;    
    max-width: 226px;
}

.file-size {
    font-size: 20px;
    line-height: 28px;
    color: #5A5D66;
}

.file-download-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url('/upload/load-icon.svg');
    background-size: contain;
}

/* Добавляем padding-right ТОЛЬКО когда есть скроллбар */
.files-block.has-scrollbar .files-list {
    padding-right: 20px; /* Расстояние до скроллбара */
}

/* Стилизация скроллбара для Webkit-браузеров (Chrome, Safari, Edge) */
.files-list::-webkit-scrollbar {
    width: 6px;
}

.files-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
    margin: 0; /* Убираем отступы сверху и снизу */
}

.files-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.files-list::-webkit-scrollbar-button {
    display: none; /* Скрываем кнопки стрелочек */
}

.files-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Стилизация для Webkit-браузеров */
.files-list::-webkit-scrollbar {
    width: 6px;
}

.files-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
    margin: 12px 0; /* Отступ сверху и снизу */
}

.files-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.files-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Убираем угловую область между вертикальным и горизонтальным скроллбаром */
.files-list::-webkit-scrollbar-corner {
    display: none;
}

@media (max-width: 768px) {
    .materials-container {
        flex-direction: column;
        gap: 16px;
    }

    /* Видео-плеер в мобильной версии */
    .video-block-wrapper {
        width: 100%;
        height: auto;
        padding-bottom: 56.25%; /* 16:9 */
        position: relative;
        display: block !important; /* На всякий случай, чтобы показать */
    }
    
    /* Общие стили для файлов в мобильной версии - применяются всегда */
    .files-block {
        background: none; /* Убираем фон у контейнера */
        padding: 0; /* Убираем паддинги у контейнера */
        width: 100%;
        height: auto;
        max-height: none;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .files-list {
        background: white; /* Переносим белый фон на список */
        border-radius: 16px;
        padding: 20px; /* Паддинги для списка */
        gap: 20px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }
    
    .file-item {
        padding: 0;
        background: none;
        border-radius: 0;
        margin: 0;
        display: flex;
        align-items: center; /* Выравниваем по центру по вертикали */
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .file-info {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        flex: 1;
        min-width: 0;
    }
    
    .file-details {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: row; /* Объем файла в одной строке с названием */
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px;
        overflow: hidden;
    }
    
    .file-name {
        font-size: 14px;
        line-height: 24px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        color: #242529;
        font-weight: 400;
        margin: 0;
        text-align: left;
        overflow: hidden;
        flex: 1;
        min-width: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .file-size {
        font-size: 14px;
        line-height: 24px;
        color: #5A5D66;
        flex-shrink: 0; /* Запрещаем сжатие */
        white-space: nowrap; /* Запрещаем перенос размера */
    }
    
    .file-item:hover {
        box-shadow: none;
        transform: none;
    }
    
    /* Иконки файлов */
    .file-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .file-icon-play {
        background-image: url(/upload/video-icon.svg);
    }
    
    .file-icon-default {
        background-image: url(/upload/file-icon.svg);
    }
    
    /* Иконка скачивания */
    .file-download-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        background-image: url('/upload/load-icon.svg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-top: 6px;
    }
    
    /* Кнопка "Все материалы" - показываем всегда в мобильной версии если файлов больше 4 */
    .show-all-materials-btn {
        width: 100%;
        padding: 16px;
        margin-top: 16px;
        background: #23262E;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #FFFFFF;
        font-family: 'Golos Text';
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        box-sizing: border-box;
        display: block;
    }
    
    .show-all-materials-btn:hover {
        background: #3A3E4A;
    }
    
    /* Скрываем файлы после 4-го в свернутом состоянии для мобильной версии */
    .files-list.collapsed .file-item:nth-child(n+5) {
        display: none;
    }
    
    /* Показываем все файлы в раскрытом состоянии для мобильной версии */
    .files-list:not(.collapsed) .file-item {
        display: flex !important;
    }
    .materials-container.without-video .files-list {
        padding: 20px;
        gap: 20px;
    }
    .materials-container.without-video .file-item.file-card {
        padding: 0;
        align-items: flex-start;
    }
    .materials-container.without-video .file-card .file-info {
        align-items: flex-start;
    }
    .file-info {
        align-items: flex-start;
    }
    .files-list:not(.collapsed) .file-item {
        align-items: flex-start;
    }
        .files-block {
        height: auto;
        max-height: none;
        padding: 0;
        background: none;
    }
    
    .files-list {
        overflow-y: visible;
        background: white;
        border-radius: 16px;
        padding: 20px;
        gap: 20px;
    }
    
    /* В мобильной версии используем кнопку для раскрытия */
    .files-list.collapsed {
        max-height: none; /* Убираем ограничение высоты в свернутом состоянии */
    }
    
    .files-list.collapsed .file-item:nth-child(n+5) {
        display: none;
    }
    
    .files-list:not(.collapsed) .file-item {
        display: flex !important;
    }
}

/* -------------------- extracted from inline <style> blocks -------------------- */

.speakers-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    /* 1150px - 3 колонки */
    @media screen and (max-width: 1150px) {
        .speakers-list {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    /* 960px - 2 колонки */
    @media screen and (max-width: 960px) {
        .speakers-list {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    /* 480px - 1 колонка */
    @media screen and (max-width: 480px) {
        .speakers-list {
            grid-template-columns: 1fr;
        }
    }

    /* Скрываем все спикеры кроме первого ряда */
    .speakers-list.collapsed .speaker-item {
        display: none;
    }
    
    /* Показываем только первый ряд спикеров */
    .speakers-list.collapsed .speaker-item:nth-child(-n+4) {
        display: block;
    }
    
    /* Для 3-колоночного режима */
    @media screen and (max-width: 1150px) {
        .speakers-list.collapsed .speaker-item:nth-child(-n+4) {
            display: none;
        }
        .speakers-list.collapsed .speaker-item:nth-child(-n+3) {
            display: block;
        }
    }
    
    /* Для 2-колоночного режима */
    @media screen and (max-width: 960px) {
        .speakers-list.collapsed .speaker-item:nth-child(-n+3) {
            display: none;
        }
        .speakers-list.collapsed .speaker-item:nth-child(-n+2) {
            display: block;
        }
    }
    
    /* Для 1-колоночного режима */
    @media screen and (max-width: 480px) {
        .speakers-list.collapsed .speaker-item:nth-child(-n+2) {
            display: none;
        }
        .speakers-list.collapsed .speaker-item:nth-child(1) {
            display: block;
        }
    }

    /* Показываем всех спикеров при раскрытии */
    .speakers-list.expanded .speaker-item {
        display: block !important;
    }

    /* Стили для кнопки */
    .show-all-speakers-btn {
        display: none;
        margin: 32px auto 0;
        padding: 18px 100px;
        background: #23262E;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #FFFFFF;
        font-family: 'Golos Text';
        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
    }

    /* Показывать кнопку только когда нужно */
    .speakers-list.has-many-desktop + .show-all-speakers-btn,
    .speakers-list.has-many-mobile + .show-all-speakers-btn {
        display: block;
    }

/* -------------------- extracted from inline <style> blocks -------------------- */

.map-block {
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    height: 424px;
}
.map-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 28px 28px;
}
.map-title {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    margin: 0;
    color: #242529;
}
.map-image {
    border-radius: 16px;
    width: 60%;
    overflow: hidden;
    display: flex;
    justify-content: right;
}
.map-image > img {
    border-radius: 16px;
    height: 100%;
}
.map-address {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #5A5D66;
}
.address-button {
    flex-direction: column;
    background: #EBECEF;
    color: #242529;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    width: fit-content;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
}
.address-button > p {
    margin: 16px 28px;
}

@media screen and (max-width: 768px) {

.map-block {
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    height: auto;
    flex-direction: column-reverse;
}
.address-button {
    flex-direction: column;
    background: #EBECEF;
    color: #242529;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
}
    .address-button > p {
margin: 16px auto;
font-weight: 500;
font-size: 14px;
line-height: 28px;

}
.map-image > img {
    border-radius: 16px;
    height: 216px;
    width: 100%;
    object-fit: cover;
}
.map-image {
    border-radius: 16px;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}
.map-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.map-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
}
.map-address {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    margin: 8px 0 24px;
}

}

@media screen and (min-width: 767px) {
    .few-speakers{
        grid-template-columns: 1fr !important;
    }
    .speaker-solo {
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
    }
    .speaker-solo > .speaker-img {
        width: 348px;
    }

    .speaker-solo > .speaker-info {
        margin-left: 24px;
        background: white;
        border-radius: 16px;
        width: calc(100% - 348px - 24px);
    }
    .speaker-solo > .speaker-info > .speaker-title {
        font-size: 32px;
        line-height: 40px;
    }
    .solo-right {
        flex-direction: row-reverse !important;
    }
    .solo-right > .speaker-info {
        margin-left: 0;
        margin-right: 24px;
    }
}

/* --- Program tabs: mobile horizontal scroll --- */
@media (max-width: 768px) {
  .days-nav-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .days-nav-container::-webkit-scrollbar { display: none; }

  .days-nav {
    flex-wrap: nowrap;
    width: max-content;
  }
  .day-btn { flex-shrink: 0; }
}
.event-main .speaker-name {
  font-family: Golos Text;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: #242529;
  margin: 10px 0 0;
}
.event-main .speaker-name a { color: inherit; }


/* ===== EXPECTATIONS SECTION (ported) ===== */
.expectations-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.expectations-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  color: var(--text-medium);
  background: #FFF;
  padding: 28px;
  width: 100%;
  border-radius: 16px;
  box-sizing: border-box;
  margin: 0;
}

/* ===== REVIEWS SECTION (ported) ===== */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.reviews-carousel-controls {
  display: flex;
}

.reviews-carousel-prev,
.reviews-carousel-next {
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.reviews-carousel-prev[disabled],
.reviews-carousel-next[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.reviews-carousel-prev img,
.reviews-carousel-next img {
  width: 48px;
  height: 48px;
}

.reviews-container {
  position: relative;
  margin-bottom: 40px;
}

.reviews-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  margin-bottom: 0;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-list::-webkit-scrollbar { display: none; }

.review-item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: auto;
  box-sizing: border-box;
  cursor: pointer;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-user-info { flex: 1; }

.review-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #242529;
  margin-bottom: 2px;
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-stars .star-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.review-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #5A5D66;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.review-photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-photo-item {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.review-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-reviews {
  background: white;
  text-align: center;
  height: 356px;
  color: var(--text-dark);
  border-radius: 16px;
  width: 100%;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MODAL / REVIEW FORM (ported 1:1) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
  box-sizing: border-box;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
  align-content: center;
}

.modal-content {
  background: #fff;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  min-height: 72px;
  box-sizing: border-box;
}

.modal-title {
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #242529;
  margin: 0;
}

.modal-close {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 32px;
  right: 32px;
}

.modal-form-scroll {
  padding: 0 28px 28px;
  max-height: 100%;
  overflow: auto;
}

.review-form-container { width: 100%; }

.rating-section {
    background: #F2F2F2;
    border-radius: 16px;
    padding: 24px 0;
    text-align: center;
    margin-bottom: 32px;
}

.rating-title {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-dark);
    margin: 0 0 2px 0;
}

.stars-container { display: flex; justify-content: center; margin-top: 0;}

.stars {
  display: flex;
  gap: 8px;
}

.star {
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.star-icon {
  width: 24px;
  height: 24px;
}

.form-field { margin-bottom: 20px; }

.field-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #5A5D66;
}

.field-label.required span::after {
  content: " *";
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  font-family: 'Golos Text', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  box-sizing: border-box;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 91, 35, 0.12);
}

.photos-upload-container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.photo-upload-btn {
    height: 88px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px dashed rgba(0, 0, 0, 0.22);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
    flex-direction: column;
    justify-content: center;
}

.photo-upload-btn:hover { background: #fff8f6; border-color: #FF5B23; color: #FF5B23; }
.photo-upload-btn img { width: 24px; height: 24px; }
.photo-upload-btn span { font-weight: 400; font-size: 12px; line-height: 20px; color: #B6B8BC; }

.photos-preview { display: flex; gap: 12px; flex-wrap: wrap; }
.photo-item { position: relative; width: 90px; height: 90px; border-radius: 6px; overflow: hidden; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }

.remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: url(remove-icon.svg) center/contain no-repeat;
}

.submit-btn {
  font-family: 'Golos Text', sans-serif;
  width: 100%;
  padding: 16px 24px;
  background: #FF5B23;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover:not(:disabled) { background: #E05A00; transform: translateY(-1px); }
.submit-btn:disabled { background: #8D8F99; cursor: not-allowed; transform: none; }

.loading-spinner { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.thankyou-modal { align-content: center; }

.thankyou-container {
  padding: 64px 44px;
  text-align: center;
}

.thankyou-title {
  margin-top: 14px;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #242529;
}

.thankyou-message {
  margin-top: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #5A5D66;
}

@media (max-width: 768px) {
  body { padding: 24px 0; }
  .review-item { flex: 0 0 calc(100% - 16px); }
  .review-stars .star-icon { width: 20px; height: 20px; }
  .review-text { font-size: 14px; line-height: 20px; -webkit-line-clamp: 5; }
  #event-plan .event-main { flex-direction: column; }
  .speaker-name { font-weight: 400 !important; font-size: 16px !important; line-height: 20px !important; margin: 0 !important; }
  .expectations-text { font-weight: 400; font-size: 14px; line-height: 24px; padding: 16px 20px 20px; }
  .modal-close { top: 14px; right: 14px; }
  .modal-content { height: 100%; border-radius: 0; }
  #modal-review { padding: 0; }
}

@media (max-width: 480px) {
  .modal-header { padding: 12px 16px; min-height: auto; }
  .modal-title { font-size: 18px; line-height: 24px; }
  .modal-form-scroll { padding: 0 12px 12px; }
  .rating-section { padding: 16px 0; margin-bottom: 20px; }
  .stars { gap: 4px; }
  .thankyou-container { padding: 44px 18px; }
}

.btn{background: var(--primary); color:#fff; border:none; border-radius:8px; padding:16px 28px; font-family:'Golos Text',sans-serif; font-size:16px; font-weight:500; line-height:24px; cursor:pointer; transition: var(--transition);} 
.btn:hover{background: var(--primary-hover);} 
.btn:active{transform: translateY(1px);} 


/* -------------------- partners -------------------- */

#partners {
    margin-top: 80px;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 28px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    max-width: 240px;
    margin: 0 24px;
}

.partner-item img {
    height: 60px;
    max-height: 100%;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 768px) {
    .partners-list {
        gap: 20px;
        padding: 24px 20px;
    }

    .partner-item img {
        height: 48px;
    }
}
