:root {
	--fon:#F4F3F7;
	--white: #FFFFFF;
	--dark:#1C3445;
	--darkbg:#274961;
	--lightgrey:#C3C3D4;
	--grey:#A2ACBF;
	--lightblue:#D9F1FF;
	--bluebg:#268CC6;
	--bluehover:#08679D;
	--shadow:rgba(28,52,69,0.5);
	--gradient: linear-gradient(108deg, #C18FFF -1.1%, #42ABE6 123.23%);
	--lightpink:#E2CFFF;
	--blue:#42ABE6;
	--purple:#BB90FE; 
	--violet:#9A5AFF;

	--p: 500 1.0625rem/140% 'Aneliza';
	--ptable: 500 0.875rem/130% 'Aneliza';
	--psmall: 600 0.9375rem/140% 'Aneliza';
	--p1: 500 1.1875rem/140% 'Aneliza';
	--ptext:500 1.125rem/150% 'Aneliza';
	--pbig:500 1.25rem/130% 'Aneliza';

	--h1:600 3.375rem/110% 'Aneliza';
	--h2:600 2.25rem/110% 'Aneliza';
	--h3:600 1.5rem/110% 'Aneliza';
	--h4:600 1.375rem/110% 'Aneliza';
	--h5:600 1.25rem/110% 'Aneliza';
	--h6:600 1.0625rem/110% 'Aneliza';
}

@font-face {
  font-family: 'icomoon';
  src:  url('/css/fonts/icomoon.eot?s3or9r12');
  src:  url('/css/fonts/icomoon.eot?s3or9r12#iefix') format('embedded-opentype'),
    url('/css/fonts/icomoon.woff2?s3or9r12') format('woff2'),
    url('/css/fonts/icomoon.ttf?s3or9r12') format('truetype'),
    url('/css/fonts/icomoon.woff?s3or9r12') format('woff'),
    url('/css/fonts/icomoon.svg?s3or9r12#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.icon-burger:before {
  content: "\e92e";
}
.icon-subject-kddit:before {
  content: "\e911";
}
.icon-subject-bshd:before {
  content: "\e912";
}
.icon-subject-litr:before {
  content: "\e913";
}
.icon-subject-math:before {
  content: "\e914";
}
.icon-subject-ttitt:before {
  content: "\e915";
}
.icon-subject-amxk:before {
  content: "\e916";
}
.icon-subject-chin:before {
  content: "\e917";
}
.icon-subject-russ:before {
  content: "\e918";
}
.icon-subject-pcul:before {
  content: "\e919";
}
.icon-subject-ekol:before {
  content: "\e91a";
}
.icon-subject-secr:before {
  content: "\e91b";
}
.icon-subject-phys:before {
  content: "\e91c";
}
.icon-subject-law:before {
  content: "\e91d";
}
.icon-subject-robo:before {
  content: "\e91e";
}
.icon-subject-astr:before {
  content: "\e91f";
}
.icon-subject-germ:before {
  content: "\e920";
}
.icon-subject-econ:before {
  content: "\e921";
}
.icon-subject-soci:before {
  content: "\e922";
}
.icon-subject-geog:before {
  content: "\e923";
}
.icon-subject-ital:before {
  content: "\e924";
}
.icon-subject-hist:before {
  content: "\e925";
}
.icon-subject-biol:before {
  content: "\e926";
}
.icon-subject-span:before {
  content: "\e927";
}
.icon-subject-engl:before {
  content: "\e928";
}
.icon-subject-fren:before {
  content: "\e929";
}
.icon-subject-prog:before {
  content: "\e92a";
}
.icon-subject-ai:before {
  content: "\e92b";
}
.icon-subject-chem:before {
  content: "\e92c";
}
.icon-search:before {
  content: "\e910";
}
.icon-bell2:before {
  content: "\e90f";
}
.icon-clip:before {
  content: "\e90e";
}
.icon-download:before {
  content: "\e90d";
}
.icon-filter:before {
  content: "\e90c";
}
.icon-certificate:before {
  content: "\e909";
}
.icon-settings:before {
  content: "\e90a";
}
.icon-heart:before {
  content: "\e90b";
}
.icon-s-arrow-right:before {
  content: "\e907";
}
.icon-s-arrow-left:before {
  content: "\e908";
}
.icon-cros:before {
  content: "\e906";
}
.icon-down:before {
  content: "\e905";
}
.icon-triangle:before {
  content: "\e904";
}
.icon-menu:before {
  content: "\e903";
}
.icon-arrow:before {
  content: "\e902";
}
.icon-bell:before {
  content: "\e901";
}
.icon-dot-star:before {
  content: "\e900";
}

.icon-arrow-up:before {
  content: "\e92d";
}


body, html
{
	padding: 0;
	margin: 0;
	background:var(--fon);
	color: var(--dark);
	font-size: 16px;
	font-family: 'Aneliza';
	min-height: 100vh;
}
div,a,p,span, ul, li
{
	position: relative;
	box-sizing: border-box;
}
h1, .h1 {font:var(--h1);margin:0}
h2, .h2 {font:var(--h2);margin:0}
h3, .h3 {font:var(--h3);margin:0}
h4, .h4 {font:var(--h4);margin:0}
h5, .h5 {font:var(--h5);margin:0}
img
{
	max-width: 100%;
}
a
{
	text-decoration: none;
	color:var(--blue);
	transition: all 0.3s ease;
}
a:hover
{
	color: var(--bluehover);
}

hr {
	margin: 0;
	color: transparent;
  border: none;
  height: 1px;
  background-color: var(--dark);
  width: 100%;
}
.flex
{
	display: flex;
}
.radius, .why-participate .slide, .news-list>a, .tasks-block,
.results-groups>.image, .results-groups .res-info-list>div
{
	border-radius: 1.875rem;
}
.blue-color
{
	color: var(--blue);
}
.grey-color
{
	color: var(--grey);
}

/*ol {
  counter-reset: item;
  list-style: none;
  margin: 0;
  padding: 0;
}

ol li {
  counter-increment: item;
  margin-bottom: 0;
}

ol li::before {
  content: counter(item) ".";
  display: inline-block;
  margin-right: 0.8em; 
}*/
ol
{
	padding-left:26px;
}
.maxcontent, .page-not-found>.maxcontent .content404
{
	display: block;
	position: relative;
	width: 83rem;
	margin:0 auto;
}
.news-full-div table{
  border-collapse: collapse;
  width: 100%;
  background-color: var(--white);
  font: var(--ptable);
  border-radius: 0.875rem;
  overflow: hidden;
  /* Внешняя граница через outline */
  outline: 1px solid var(--grey);
  outline-offset: -1px;
}

.news-full-div th,
.news-full-div td {
  padding: 0.625rem 0.75rem;
  text-align: left;
  border-right: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  vertical-align: top;
}

.news-full-div th:last-child,
.news-full-div td:last-child {
  border-right: none;
}

.news-full-div tr:last-child td {
  border-bottom: none;
}

/* Шапка */
.news-full-div thead th,.news-full-div thead td {
  background-color: var(--blue);
  color: var(--white);
  font-weight: 600;
  border-bottom: 2px solid var(--grey);
  vertical-align: middle;
}

/* Нечетные строки (белый фон) */
.news-full-div tbody tr:nth-child(odd) {
  background-color: var(--white);
}

/* Четные строки (голубой фон) */
.news-full-div tbody tr:nth-child(even) {
  background-color: var(--lightblue);
}

/* Границы для внешних ячеек */
.news-full-div tr:first-child th,
.news-full-div tr:first-child td {
  border-top: 1px solid var(--grey);
}

.news-full-div tr th:first-child,
.news-full-div tr td:first-child {
  border-left: 1px solid var(--grey);
}

.news-full-div tr th:last-child,
.news-full-div tr td:last-child {
  border-right: 1px solid var(--grey);
}

.news-full-div tr:last-child th,
.news-full-div tr:last-child td {
  border-bottom: 1px solid var(--grey);
}

.news-full-div thead th, .news-full-div thead td 
{
	border-color: var(--white);
}
/* Убираем дублирующие границы */
.news-full-div thead th {
  border-top: none;
}

.news-full-div th:first-child,
.news-full-div td:first-child {
  border-left: none;
}

.news-full-div th:last-child,
.news-full-div td:last-child {
  border-right: none;
}

.news-full-div tr:last-child td {
  border-bottom: none;
}

/* СТИЛИ ДЛЯ ЯЧЕЕК С ROWSPAN */
.news-full-div td[rowspan] {
  vertical-align: middle;
  background-color: inherit;
}

.news-full-div tr:nth-child(odd) td[rowspan] {
  background-color: var(--white);
}

.news-full-div tr:nth-child(even) td[rowspan] {
  background-color: var(--lightblue);
}

.news-full-div td[rowspan] {
  text-align: center;
}

.news-full-div td[rowspan] > * {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.yp-text .news-full-div td[rowspan] > * {
justify-content: left;
display: initial;
}

/* Стили для многострочного контента */
.news-full-div td p {
  margin: 0.25rem 0;
  line-height: 1.4;
}

.news-full-div td br {
  content: "";
  display: block;
  margin: 0.25rem 0;
}
.main-top-gradient
{
	background: var(--gradient);
	padding:0.75rem 0 3rem;
	margin-bottom: 6.25rem;
}
.main-top-header-and-baner
{
	display: block;
	position: relative;
	width: calc(83rem + 5.5rem);
	margin:0 auto;	
	border-radius: 1.875rem;
	background-color: var(--white);
	padding-bottom: 2.74rem;
	margin-bottom: 4.375rem;
}
.main-top-header-and-baner header
{
	margin-bottom: 1.75rem;
}
.main-baner
	{
		display: flex;
		flex-direction: column;
		background: url('/images/main_baner.svg') center center no-repeat;
		background-size: contain;
		aspect-ratio: 1331/422;
		justify-content: flex-end;
		align-items: center;
		gap:1.5rem;
	}
.main-baner>span
{
	font:var(--h5);
	font-weight: 500;
}
.main-baner>a.button
{
	display: flex;
	align-items: center;
	justify-content: center;
	flex:none;
	background: var(--lightblue);
	color: var(--dark);
	border-radius: 100px;
	height: 2.75rem;
	padding: 0.875rem 1.3125rem;
}
.main-baner>a.button:hover, .full-search-line .bluebutton:hover
{
	color:var(--white);
	background-color: var(--blue);
}
.full-search-line .bluebutton:hover
{
	background-color: var(--bluehover);
}
	.wp-list
	{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap:1rem;
		margin-bottom:22px;
	}
	.wp-list>div
	{
		aspect-ratio: 439/150;
		border-radius: 30px;
	}
	.wp-list>div.image
	{
		background-position:center center;
		background-repeat: no-repeat;
		background-size: cover;
	}
	.wp-list>div.text
	{
		padding:2.5rem;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap:1.25rem;
		font:var(--h5);
		font-weight: 500;
		background-color: var(--fon);
	}
	.wp-list>div.text i
	{
		font-size:2.75rem;
	}
	i.blue
	{
		color: var(--blue);
	}
	i.violet
	{
		color: var(--violet);
	}
.why-participate-div .title, .why-participate-div .more
{
	color: var(--white);
}
.header-content
{
	/*z-index: 4;*/
}

.show-subjects .header-content
{
	/*background: var(--white);*/
}

header, .logo-block, .header-menu, .menu-list
{
	display: flex;
	align-items: center;
}
header
{
	width: 100%;
	padding:2rem 0 1.25rem;
	border-bottom: 1px solid var(--lightgrey);
	justify-content: space-between;
	margin-bottom: 3.4375rem;
	
}
header .logo
{
	width: 8.125rem;
}

.subjects-fs-list
{
	display: none;
}


.logo-block
{
	gap:1.25rem;
	font-weight: 600;
}
.logo-block .separate-line
{
	display: block;
	height: 100%;
	min-height: 2.5rem;
	width: 2px;
	background-color: var(--lightgrey);
}
.header-menu .menu-list
{
	gap:1rem;
	font-size: 1rem;
}
.header-menu .menu-list a
{
	color: var(--dark);
}
.header-menu .menu-list a.selected
{
	color: var(--violet);
}
.header-menu .menu-list>a:hover
{
	color: var(--bluehover);
}
.header-menu 
{
	gap:2.1875rem;
}

.header-menu .multilevel
{
	position: relative;
}

.header-menu .multilevel a
{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}
.header-menu .multilevel.school-a>a, .header-menu .multilevel.school-a>a:after
{
	color: var(--violet);
}

.header-menu .multilevel a:after
{
	content: "\e905";
	font-family: "icomoon";
	color: var(--dark);
	font-size: 0.6rem;
}

.multilevel .submenu
{
	display: block;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	border-radius: 0.5rem;
	border: 1px solid var(--lightgrey);
	z-index: 2;
	transition: all 0.3s ease;
	/*transform: scale(0.1);*/
	transform: scale(0.1) translate3d(-25%, -75%, 0px);
	/*transform: translatex(-25%);*/
}

.multilevel:hover .submenu
{
	opacity: 1;
	pointer-events: initial;
	/*transform: scale(1.0);*/
	transform: scale(1.0) translate3d(0px, 0px, 0px);
	/*transform: translateY(0);
	transform: translatex(0);*/
}

.multilevel .submenu a
{
	color: var(--black);
	background: var(--white);
	text-align: center;
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--lightgrey);
	white-space: nowrap;
}

.multilevel .submenu a:hover
{
	background: var(--lightblue);
}

.multilevel .submenu a:after
{
	display: none;
}

.multilevel .submenu a:first-child
{
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

.multilevel .submenu a:last-child
{
	border-bottom-left-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
	border-bottom: none;
}

.subjects-button, .bluebutton
{
	background: var(--blue);
	color: var(--white);
	gap: 0.625rem;
}

button.bluebutton
{
	border: none;
	font-size: 1rem;
}
.subjects-button:hover
{
	background-color: var(--bluehover);
	color: var(--white);
}
.subject-headline-div
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	/*gap: 2rem;*/
}
.subject-headline-div .profile
{
	margin-top: 0.75rem;
	color: var(--bluehover);
	font: var(--ptext);
	line-height: 110%;
}
.subject-headline-div h1
{
	font:var(--h1);
	margin:0;
}
.title-with-image {
display: flex;
align-items: flex-end;
justify-content: flex-start;
gap: 2rem;
}

.title-with-image>img {
margin-top: -0.5rem;
}
.bread-crumbs
{
	display: flex;
	gap:0.625rem;
	align-items: center;
	font:var(--psmall);
	/*margin-top:0.625rem;*/
	min-width: 0; 
}
.bread-crumbs>i
{
	font-size: 0.75rem;
}
.bread-crumbs>span
{
	color: var(--blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Занимает всё доступное пространство */
  /*max-width: 200px;*/
}
.bread-crumbs>i, .bread-crumbs>a 
{
	color:var(--lightgrey);
	text-decoration: none;
}
.subject-top-block
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1rem;
	margin-bottom: 6.25rem;
	margin-top:2.625rem;
}
.stb-left-block
{
	display: grid;
	grid-template-rows: 5.1875rem 1fr;
	grid-gap: 1rem;
	font:var(--p1);
}
.stb-current
{
	display: flex;
	align-items: center;
	height: 5.1875rem;
	color: var(--white);
	gap:1.375rem;
	padding:1.8rem 2.1875rem;
	background: var(--gradient);
}
.stb-current .title
{
	gap:0.8125rem;
	align-items: center;
	color: var(--lightpink);
	font-weight: 600;
}
.stb-text-block
{
	display: block;
	background-color: var(--white);
	padding: 1.75rem 1.875rem;
}
.stb-text-block>a
{
	font-weight: 600;
}
.stb-image
{
	background-size: cover;
	background-position: center;
}
.main-content-block
{
	display: flex;
	flex-direction: column;
	gap:6.25rem;
}
.olimp-block>.title
{
	display: block;
	font:var(--h2);
	margin-bottom: 1.875rem;
}
.search-results .title
{
	font:var(--h3);
}
.title-with-filter
{
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.875rem;
}
.title-with-filter>.title
{
	font:var(--h2);
}
.content-with-menu
{
	display: grid;
	grid-template-columns: 10fr 2fr;
	gap:1rem;
}
.right-menu-div
{
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}
.right-menu-div .right-menu
{
	display: flex;
	flex-direction: column;
	gap:0.625rem;
	position: sticky;
	top:2rem;
	width: 9.625rem;
}
.right-menu-div .right-menu>a 
{
	color: var(--lightgrey);
}
.right-menu-div .right-menu>a.selected
{
	cursor:default;
	color:var(--blue);
}
.why-participate
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap:1rem;
}
.why-participate .slide
{
	border: 2px solid var(--lightgrey);
	padding:1.625rem 1.625rem 1.875rem 1.625rem;
}
.why-participate .slide>img
{
	display: block;
	height: 2.75rem;
	margin-bottom: 2rem;
}
.why-participate .slide>.title
{
	font:var(--h5);
	font-weight: 600;
	margin-bottom: 0.375rem;
	display: block;
}
.news-list, .results-list
{
	display: flex;
	flex-direction: column;
	gap:0.875rem;
	margin-bottom: 1.875rem;
}
.results-list>.results-stage, .news-list>a, .selected-stage-full-info, .passing-score-div,
.tasks-block
{
	display: flex;
	padding: 2.125rem;
	color: var(--dark);
	background: var(--white);
}
.results-list>.results-stage
{
	flex-direction: column;
	gap:1.125rem;
}

.full-tasks-div .tasks-blocks-list{
	gap: 2rem;
}

.full-tasks-div .tasks-container
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tasks-group
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tasks-blocks-list .tasks-block
{
	flex-direction: column;
	gap:1.875rem;
}
.tasks-solutions, .tasks-blocks-list
{
	display: flex;
	flex-direction: column;
	gap:0.875rem;
}
.tasks-solutions>div, .classes-list-links 
{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap:0.375rem;
	font:var(--psmall);
	flex-wrap: wrap;
}
.tasks-solutions>div>a, .classes-list-links>a
{
	display: flex;
	align-items: center;
	gap:0.625rem;
}
.tasks-solutions>div>span
{
	margin-right: 0.875rem;
}
.format
{
	color: var(--white);
	background-color: var(--blue);
	padding: 0.3125rem 0.75rem 0.375rem;
	border-radius: 100px;
}
.results-list>.results-stage .title, .tasks-block .title
{
	font: var(--h3);
}
.year-list, .classes-list-links
{
	display: flex;
	gap:0.375rem;
}
.year-list>a, .tasks-solutions>div>a, .classes-list-links>a
{
	display: flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	height: 2.5625rem;
	border-radius: 0.625rem;
	border: 1px solid var(--lightgrey);
	color: var(--dark);
	white-space: nowrap;
	background-color: var(--white);
}


.year-list>a:hover, .tasks-solutions>div>a:hover, .classes-list-links>a:hover, .stages-list>a:hover
{
	background-color: var(--lightblue);
	border-color: var(--lightblue);
}
.tasks-solutions>div>a.selected
{
	border-color: var(--lightblue);
}
.news-list>a 
{
	align-items: center;
	gap: 2.6875rem;
	color: var(--dark);
	background: var(--white);
}
.news-list>a:hover
{
	background: var(--lightblue);
}
.news-list>a .date 
{
	display: flex;
	align-items: center;
	gap:0.8125rem;
	width: 140px;
}
.news-list>a .type, header.search-mode  .search-block .search-results>a .type
{
	font:var(--psmall);
	color: var(--white);
	background: var(--blue);
	padding: 0.25rem 0.625rem;
	border-radius: 1rem;
}
.news-list>a .date .day 
{
	font:var(--h1);
	font-size: 3rem;
	line-height: 3.625rem;
}
.news-list>a .date .month-and-year
{	
	font:var(--p);
	font-weight: 400;
	line-height: 110%;
	text-transform: uppercase;
	color: var(--lightgrey);
}
.news-list>a:hover .date .month-and-year
{
	color: var(--dark);
}
.news-list>a:hover .arrow
{
	background: var(--bluehover);
}
.news-list>a .arrow, .other-olimp-block .logo-block:after
{
	display: flex;
	flex:none;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.25rem;
	width: 3.1875rem;
	height: 3.1875rem;
	background: var(--blue);
	color: var(--white);
}

.other-olimp-block.slide.hidden
{
	display: none;
}

.news-list>a .news-headline
{
	font-weight: 600;
	flex:1;
}
.more
{
	display: inline-block;
	gap:0.675rem;
	padding-right: 1.5rem;
}
.more:after
{
	position: absolute;
	top: 0.25rem;
	right: 0;
	font-family: "icomoon";
	content: "\e902";
	font-size: 1rem;
}
.how-to-get-into
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	padding:2.125rem 30% 2.125rem 2.125rem;
	gap:1.875rem;
	background: var(--gradient);
	color: var(--white);
}
.how-to-get-into:before
{
	content:'';
	position: absolute;
	top:0;
	right:0;
	left:0;
	bottom:0;
	background-image: url('/images/stars_fon.svg');
	background-position: right center;
	background-size: cover;
	background-repeat: no-repeat;
}
.how-to-get-into:after
{
	content:'';
	position: absolute;
	top:1.6875rem;
	right:2.25rem;
	bottom:1.25rem;
	/*width: 20.625rem;*/
	width: 25vw;
	max-width: 19rem;
	background: url('/images/howtogetinto.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.how-to-get-into .title
{
	font:var(--h2);
}
.how-to-get-into .button, .subjects-button, .task-of-the-day .button, .bluebutton, .button.white
{
	display: flex;
	height: 3.1875rem;
	padding: 0.875rem 1.3125rem;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
}



.header-buttons
{
	display: flex;
	gap:0.625rem;
	align-items: center;
}

.answer-block
{
	display: none;
}

.answer-block.visible
{
	display: flex;
	flex-direction: column;
}

.button.more
{
	padding-right: 2.8125rem;
}
.button.more:after
{
	top:1.125rem;
	right: 1.3125rem;
}
.how-to-get-into .button, .task-of-the-day .button, .button.white
{
	background: var(--white);
}
.how-to-get-into .button:hover, .task-of-the-day .button:hover, .button.white:hover
{
	background: var(--lightblue);
}
.other-olympiads-list
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 1rem;
}
.other-olimp-block
{
	color: var(--dark);
}
.other-olimp-block>span
{
	display: block;
	font:var(--h5);
	font-weight: 600;
	padding:1.25rem 0.75rem;

}
.other-olimp-block .logo-block
{
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 179/93;
	background-color: var(--white);
	border-radius: 1.125rem;
}
.other-olimp-block .logo-block>img
{
	max-height: 7.5rem;
	max-width: initial;/*13.75rem;*/
}
.other-olimp-block .logo-block:after
{
	position: absolute;
	bottom:-1.5rem;
	right: 0.5rem;
	font-family: 'icomoon' !important;
	content: "\e902";
	border:3px solid var(--white);
}
.other-olimp-block:hover .logo-block:after
{
	background-color: var(--bluehover);
}
/*.results-list:after
{
	position: absolute;
	content: '';
	bottom:-2.75rem;
	right: 2.125rem;
	width: 6.375rem;
	height: 7.8125rem;
	background-image: url('/images/results-decor.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}*/
footer
{
	background: var(--dark);
	color: var(--white);
	margin-top: 6.25rem;
}
.footer-top
{
	padding:2rem 0 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.footer-top .header-menu
{
	align-items: flex-start;
}
.footer-top .logo-block
{
	flex:none;
}
.footer-top .header-menu .menu-list a
{
	color: var(--white);
}
.footer-top .header-menu .menu-list a.selected
{
	color: var(--blue);
}
.footer-top .header-menu .menu-list
{
	gap:1.75rem;
}
.footer-top .header-menu .menu-list>div
{
	display: flex;
	flex-direction: column;
	gap:0.625rem;
}
.partners
{
	display: flex;
	gap:1.25rem;
	align-items: center;
	color: var(--grey);
}
.partners>.partner-div
{
	height: 5.625rem;
	padding:1.25rem 1.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--darkbg);
	border-radius: 1.25rem;
}
.footer-bottom
{
	display: block;
	color: var(--grey);
	border-top:2px solid var(--darkbg);
	padding: 1rem 0 1.875rem;
	margin-top:1.5rem;
}
.stages
{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap:1rem;
	margin:0.5rem 0 0rem;
}
.sub-stages-list
{
	flex-direction: row;
	display: flex;
	overflow: hidden;
	flex: 1;
	padding-bottom: 1.25rem;
	padding-top: 2rem;
}
.stages .arrow
{
	color: var(--blue);
	font-size: 1.125rem;
}
.stages .arrow.left 
{
	transform: rotate(180deg); 
}
.stage-div
{
	padding:0.875rem 1rem;
	text-align: center;
	color: var(--lightgrey);
	cursor: pointer;
}
.stage-div .title
{
	font: var(--h4);
	display: block;
}
.stage-div .period
{

}
.stage-div.selected
{
	background-color: var(--white);
	border-radius: 0.625rem;
}
.stage-div.selected .title
{
	color: var(--blue);
}
.stage-div.selected .period
{
	color: var(--dark);
}
.stage-div .current-mark
{
	position: absolute;
	left:calc(50% - 3.25rem);
	top:-1.625rem;
	height: 2rem;
	width: 6.5rem;
	border: 1px solid var(--lightgrey);
	border-radius: 100px;
	display: flex;
	gap:0.375rem;
	align-items: center;
	justify-content: center;
	background-color: var(--fon);
	color: var(--dark);
}
.cm-dot
{
	border:4px solid rgba(191, 147, 255, 0.13);
	border-radius: 50%;
}
.cm-dot>div
{
	display:block;
	width:0.4376rem;
	aspect-ratio: 1/1;
	border-radius: 50%;
	background-color: var(--purple);
	border:3px solid rgba(191, 147, 255, 0.30);
}
.stage-div.selected:after
{
	display: block;
	position: absolute;
	bottom:-2.75rem;
	right: calc(50% - 1.1875rem);
	color:var(--white);
	font-size: 2.5rem;
	font-family: 'icomoon' !important;
	content: "\e904";
}
.selected-stage-full-info
{
	display: grid;
	grid-template-columns: 306fr 195fr;
	grid-gap: 1.875rem;
}
.selected-stage-full-info .left, .selected-stage-full-info .tabs-info, .passing-score-div
{
	display: flex;
	flex-direction: column;
	gap:1.625rem;
	align-items: flex-start;
	justify-content: flex-start;
}
.passing-score-div
{
	gap:1.875rem;
}
.passing-score-list
{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap:1rem;
}
.passing-score-list>div
{
	display: flex;
	padding: 1.125rem;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	border-radius: 0.875rem;
	background: var(--fon);
}
.passing-score-list>div .class
{
	color: var(--blue);
}
.passing-score-list>div .passing-score
{
	font-size: 1.75rem;
	font-weight: 600;
}
.selected-stage-full-info .left p
{
	padding: 0;
	margin:0;
}
.selected-stage-full-info .title, .passing-score-div .title
{
	font:var(--h3);
	/*font-size: 2.5rem;*/
}
.passing-score-div .title
{
	font-weight: 600;
}
.selected-stage-full-info .tabs-list
{
	margin-top: 0.625rem;
	display: flex;
	align-items: center;
	gap:0.5rem;
	flex-wrap: wrap;
}
.selected-stage-full-info .tabs-list>a 
{
	display: flex;
	padding: 0.5rem 0.875rem 0.5625rem;
	justify-content: center;
	align-items: center;
	border-radius: 100px;
	background-color: var(--fon);
	color: var(--dark);
}
.selected-stage-full-info .tabs-list>a:hover
{
	background-color: var(--lightblue);
	color: var(--black);
}
.selected-stage-full-info .tabs-list>a.selected
{
	background-color: var(--blue);
	color: var(--white);
}
.selected-stage-full-info .right
{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}
.dates-block
{
	width: 100%;
	display: flex;
	gap:1rem;
	justify-content: space-between;
	align-items: flex-start;
	padding: 1.125rem;
	border-radius: 0.875rem;
	background: var(--gradient);
	color: var(--white);
}
.dates-block .project
{
	font-size: var(--psmall);
	padding:0.3125rem 0.75rem 0.375rem;
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	border-radius: 100px;
}
ul
{
	display: flex;
	flex-direction: column;
	gap: 1rem;
	list-style-type: none;
	padding-left: 0;
	margin:0;
}
ol>li ul,ol>li ol,ul>li ul, ul>li ol
{
	padding:0.4375rem 0;
}

ol>li
{
	padding:0.4375rem 0;
}
ol>li:nth-child(1)
{
	padding-top: 0;
}
ol>li:last-child
{
	padding-bottom: 0;
}
ul li
{
	padding-left: 1.375rem;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap:0.375rem;
	flex-wrap: wrap;
}
.yp-text ul li
{
	display: inline-flex;
}

ul li ul
{
	width: 100%;
	/*margin-top: 0.875rem;*/
	gap:0.375rem;
}
ul li ul li ul
{
	gap:0.375rem;	
}
.classes-dates-list
{
	gap: 0.625rem;
	width: 100%;
}
.classes-dates-list li
{
	justify-content: space-between;
}
ul li:before
{
	position: absolute;
	font-size: 1rem;
	font-family: 'icomoon' !important;
	content: "\e900";
	top:0.2rem;
	left:0;
	color: var(--bluebg);
}
ul li ul li:before
{
	font-size: 0.75rem;
	top:0.2rem;
}
ul li ul li ul li:before
{
	font-size: 0.65rem;
	top:0.1rem;
}
ul>li ul
{
	padding: 0;
}
.classes-dates-list li:before
{
	color:var(--lightpink);
}
.classes-dates-list .date
{
	display: block;
	font-weight: 600;
}
.passing-score-div
{
	margin-top:0.875rem;
}
.news-onmain:after, .full-news-list:after
{
	position: absolute;
	content:'';
	top:4.375rem;
	right:0;
	width: 9.25rem;
	height: 11.25rem;
	background: url('/images/results-decor.svg') center center no-repeat;
	background-size: cover;
}
.full-news-list
{
	margin-top:3.125rem;
}
.full-news-list:after
{
	top:19rem;
}
.onmain-results:after
{
	position: absolute;
	content:'';
	top:1rem;
	right:0;
	width: 7.875rem;
	height: 9.625rem;
	background: url('/images/books.svg') center center no-repeat;
	background-size: cover;
}
.ring-top:after
{
	position: absolute;
	content:'';
	top: -2.75rem;
	right: 0.5rem;
	width: 3.3125rem;
	height: 3.75rem;
	background: url('/images/ring.svg') center center no-repeat;
	background-size: cover;
}
.task-of-the-day:before
{
	position: absolute;
	content:'';
	top: 0;
	bottom:0;
	right: 0;
	aspect-ratio: 432/651;
	height: 100%;
	background: url('/images/stars_task.svg') center center no-repeat;
	background-size: cover;
}
.task-of-the-day:after
{
	position: absolute;
	content:'';
	top: 9.875rem;
	right: 2.125rem;
	width: 14.5rem;
	height: 11.125rem;
	background: url('/images/stage_decor.svg') center center no-repeat;
	background-size: cover;
}
.stages-list
{
	display: flex;
	gap:14px;
	flex-wrap: wrap;
}
.stages-list>a
{
	border-radius: 0.625rem;
	border: 1px solid var(--grey);
	color: var(--dark);
	padding:0.75rem;
	background-color: var(--white);
}
.onmain-results .stages-list
{
	margin-bottom: 1.875rem;
}


.form-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            justify-content: flex-start;
            margin-bottom: 2.125rem;
        }
.select-group {
    width: 320px;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.custom-select.disabled .select-header	
{
	background-color: var(--lightgrey);
	cursor: default;
}

       /* .select-group, .clear-filter {
            flex: 1;
        }*/

        .clear-filter
        {
        	display: flex;
        	justify-content: flex-end;
        	align-items: center;
        	margin-top: 1.8125rem;
        }
        .clear-filter a
        {
        	display: flex;
        	gap:0.5rem;
        	align-items: center;
        }

        .clear-filter.hidden a
        {
        	display: none;
        }
        .clear-filter a>i,  .option i, .option>label i
        {
        	margin-top:0.2rem;
        	font-size: 0.75rem;
        	
        }
        .option>label
        {
        	margin-bottom: 0;
        }
        
        .select-group>label {
            display: block;
            margin-bottom: 0.5rem;
            font:var(--psmall);
            font-weight: 600;
            color: var(--lightgrey);
        }
        
        .custom-select {
            position: relative;
            width: 100%;
        }
        
        .select-header {
            padding: 0.875rem 1.125rem;
            border-radius: 0.5rem;
            cursor: pointer;
            background-color: #fff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
        }
       
        .select-header:after {
            font-family: 'icomoon' !important;
			content: "\e905";
            font-size: 0.5625rem;
            width:0.5625rem;
            aspect-ratio: 1/1;
            position: absolute;
            top:calc(50% - 0.25rem);
            right: 1.125rem;
            color: var(--dark);
        }
        
        .select-options {
            position: absolute;
            top: calc(100% + 0.625rem);
            left: 0;
            right: 0;
            background: var(--white);
            border: 1px solid var(--lightgrey);
            border-radius: 0.875rem;
            padding:1.25rem 1.5rem 1.25rem 1.25rem;
            max-height: 19.75rem;
            overflow-y: auto;
            display: none;
            z-index: 10;
        }
        
        .select-options.show {
            display: flex;
            flex-direction: column;
            gap:0.375rem;
        }
        .select-options.stage-options
        {
        	flex-direction: row;
        	flex-wrap: wrap;
        	width: 200%;
        	max-width: 29.625rem;
        	right: initial;
        }
        
        .option, .subjects-fs-list a {
        	display: flex;
        	border: 1px solid var(--lightgrey);
        	border-radius: 0.625rem;
            padding: 0.75rem;
            text-align: center;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            gap:0.625rem;
        }
        .option>label
        {
        	display: flex;
            text-align: center;
            align-items: center;
            justify-content: center;
            gap:0.625rem;
        }

        .option>label i
        {
        	display: none;
        }

        .option.selected>label i
        {
        	display: block;
        }

        .option>input[type=checkbox]
        {
        	display: none;
        }
        
        .option:hover {
            background-color: var(--lightblue);
            border-color: var(--lightblue);
        }
        .option.selected
        {
			background-color: var(--blue);
            border-color: var(--blue);
            color: var(--white);
        }

        
        /*.option.selected {
            background-color: #e0e0e0;
        }*/
        
        .multi-select .option {
            display: flex;
            align-items: center;
        }
        
        .multi-select .option input {
            margin-right: 10px;
        }
        
        .selected-items {
            margin-top: 5px;
            font-size: 12px;
            color: #666;
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
        }
        
        .selected-tag {
            background-color: #e0e0e0;
            padding: 2px 5px;
            border-radius: 3px;
            display: inline-flex;
            align-items: center;
        }
        
        .selected-tag button {
            margin-left: 5px;
            background: none;
            border: none;
            cursor: pointer;
            color: #666;
            font-size: 10px;
        }


.shadow
{
	display: block;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	z-index: 3;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100vh;
	background: var(--shadow);
	transition: all 0.3s ease;
}
.subjects-tabs
{
	display: flex;
	gap:0.5rem;
}
.subjects-tabs>a
{
	display: flex;
	gap:0.5rem;
	align-items: center;
	font:var(--p);
	padding:0.5rem 0.75rem;
	border-radius: 0.5rem;
	background: var(--white);
	color: var(--dark);
}
.subjects-tabs>a>i 
{
	font-size: 1.125rem;
}
.subjects-tabs>a.selected
{
	background: var(--blue);
	color: var(--white);
}
.subject-list
{
	display: none;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
}

.subject-list a span
{
	color: var(--dark);
}

.subject-list a span .note
{
	color: var(--blue);
}
.subject-list>div
{
	grid-column: span 4;
	font-size: var(--h4);
	padding-top: 1rem;
}
.grafik-item
{
	display: flex;
	flex-direction: column;
	gap:1rem;
}
 .subject-list>a
{
	background: var(--white);
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 5.2rem;
	padding:1.125rem 1.25rem;	
	border-radius: 0.625rem;
	gap:1.5rem;
}
.subject-list>div>i, .subject-list>a>i
{
	font-size: 1.25rem;
	color: var(--blue);
}
.subject-list>div>span, .subject-list>a>span
{

}

.subject-list>a>span .note
{
	display: block;
	font-size: 0.7em;
	/*color: var(--dark);*/
}

.results-groups
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 1rem;
}
.results-groups .image, .logo-block.image-block
{
	background-size: cover;
	background-position: center;
}
.results-groups .res-info-list
{
	display: flex;
	flex-direction: column;
	gap:1rem;
}
.results-groups .res-info-list>div 
{
	/*display: flex;
	align-items: center;*/
	display: grid;
	grid-template-columns: 3.75rem 1fr;
	gap:1rem;
	background-color: var(--white);
	padding:1.5rem 2rem;
}
.results-groups .res-info-list>div .name 
{
	font-size: 1.625rem;
	font-weight: 600;
	display: block;
	margin-bottom:0.375rem;
}
.task-of-the-day
{
	background: var(--darkbg);
	padding:2.125rem;
	color: var(--white);
}

.task-of-the-day .desc
{
	display: flex;
	gap:1.875rem;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	width: 65%;
	max-width: 51.875rem;
}
.task-of-the-day .desc p
{
	margin:0.5rem 0;
	font-size: 20px;
	line-height: 150%;
}
.task-of-the-day .desc ul
{
	margin:0.5rem 0;
}

.tags
{
	display: flex;
	gap:0.25rem;
}
.tags>span
{
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--blue);
	color: var(--white);
	border-radius: 100px;
	padding:0.24rem 0.75rem;
	height: 1.75rem;
}
.notfull
{
	padding-right:17%;
}
.title-big-div
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--gradient);
	padding:1.875rem 2.5rem 2.25rem 2.5rem;
	color: var(--white);
	min-height: 13.25rem;
	margin-bottom: 2rem;
}
.gap60
{
	display: flex;
	flex-direction: column;
	gap:3.75rem;
}
.title-with-bread-crumbs
{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap:1.5rem;
}
.title-with-bread-crumbs, .subject-headline-div
{
		flex-direction: column-reverse;
}
.title-big-div.blue-bg
{
	background: var(--blue);
}
.title-with-bread-crumbs .bread-crumbs
{
	margin-top: 0;
}
.title-big-div .bread-crumbs a 
{
	color: var(--white);
}
.bread-crumbs span 
{
	color: var(--bluehover);
}
.title-big-div .bread-crumbs span 
{
	color: var(--lightpink);
}
.title-big-div.blue-bg .bread-crumbs span
{
	color: var(--lightblue);
}
.title-big-div .bread-crumbs i
{
	color: var(--fon);
}
.title-big-div h1
{
	margin:0.625rem 0 2rem;
}
.title-big-div .desc 
{
	display: block;
	flex:none;
	max-width: 36.5rem;
}
/*.title-big-div .image
{
	position: absolute;
	width: ;
	height: ;
	right: ;
}*/

.docs-list
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1rem;
}
.docs-list>a.doc
{
	padding:1.25rem 1.875rem;
	background-color: var(--white);
	border:1px solid var(--lightgrey);
	border-radius: 0.875rem;
	gap:1.125rem;
	display: flex;
	align-items: center;
	font-weight: 600;
	line-height: 120%;
	color: var(--dark);
}
.docs-list>a.doc:hover
{
	background-color: var(--lightblue);
	border-color: var(--lightblue);
}
.docs-list>a.doc:after
{
	font-family: "icomoon";
	position: relative;
	display: block;
	content: "\e90d";
	font-size: 1.5rem;
	color: var(--blue);
}
.docs-list>a.doc .type
{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 1.8125rem;
	padding:0.5625rem 0.75rem;
	border-radius: 0.25rem;
	background-color: var(--blue);
	color: var(--white);
	text-transform: uppercase;
	font-weight: 600;
}
.docs-list>a.doc .type.html 
{
	background-color: var(--grey);
}
.contacts-links-div
{
	display: flex;
	flex-direction: column;
	gap:0.5rem;
	margin: 2rem 0;
}
.contacts-links-div>a
{
	padding:0.75rem 1.125rem 0.75rem 2.75rem;
	gap:0.75rem;
	background-color: var(--white);
	border:1px solid var(--lightgrey);
	border-radius: 0.875rem;
	color: var(--dark);
	font-size: 1.125rem;
	line-height: 150%;
}
.contacts-links-div>a>b,.contacts-links-div>a>span.selected
{
	font-weight: 600;
}
.contacts-links-div>a>span.selected{
	color: var(--blue);
}
.contacts-links-div>a:before
{

	font-family: "icomoon";
	position: absolute;
	top:0.75rem;
	left:0.8rem;
	display: block;
	content: "\e90e";
	font-size: 1.5rem;
	color: var(--grey);
}
.contacts-full-div, .news-full-div
{
	max-width: 49.1875rem;
}
.contacts-info-data
{
	margin:2.75rem 0 2rem;
}
.contacts-info-data .name, .news-full-div .title
{
	display: block;
	font-size: 1.125rem;
	font-weight: 600;
}
.contacts-info-data .name,.list-with-title .title
{
	margin-bottom: 0.875rem;
}
/*.contacts-info-data>ul, .list-with-title>ul
{
	gap:0.5rem;
}*/
.contacts-info-data ul li:before, .list-with-title ul li:before
{
	color: var(--purple);
}
.caption
{
	color: var(--grey);
	font-size: initial;
}
.news-title-and-source
{
	margin:0.75rem 0 2.75rem;
	max-width: 62rem;
}
.news-title-and-source h1
{
	font:var(--h2);
	margin-bottom: 0.75rem;
}
.news-title-and-source .source
{
	font-weight: 600;
}
.news-full-div
{
	display: flex;
	flex-direction: column;
	gap:2rem;
	font: var(--ptext);
	align-items: flex-start;
}
.news-full-div .more
{
	font-size: initial;
	line-height: initial;
}

.news-full-div p, .news-full-div ol
{
	margin:0;
}
.news-full-div img
{
	border-radius: 1.25rem;
}
.news-full-div ol.black a
{
	text-decoration: underline;
	color: var(--dark);
}
.no-results
{
	margin:1rem 0;
	font: var(--ptext);
}
.filter-message.news-full-div
{
	font-weight: 600;
}
.important
{
	background: var(--blue);
	padding:1.125rem 1.25rem 1.125rem 3.625rem;
	border-radius: 1.25rem;
	color: var(--white);
}
.important a
{
	color: var(--white);
	text-decoration: underline;
}
.important a:hover
{
	text-decoration: none;
}
.important:before
{
	font-family: "icomoon";
	position: absolute;
	top:1.5rem;
	left:1rem;
	font-size: 1.75rem;
	display: block;
	content: "\e90f";
}
.full-search-line
{
	margin:3.125rem 0 3.75rem;
	display: flex;
	gap:0.625rem;
}
.full-search-line .search-icon,.header-buttons .search-button
{
	width: 4.375rem;
	height: 4.375rem;
	border-radius: 50%;
	font-size: 1.75rem;
	color: var(--dark);
	background-color: var(--lightblue);
}
.full-search-line .search-icon,.full-search-line .search-input, .full-search-line .bluebutton, .header-buttons .search-button
{
	height: 4.375rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.header-buttons .search-button
{
	width: 3.1875rem;
	height: 3.1875rem;
	font-size: 1.25rem;
}
.header-buttons .search-button:hover
{
	background-color: var(--blue);
	color: var(--white);
}
.full-search-line .search-input
{
	flex:1;
	gap:2rem;
	padding:1rem 1.875rem;
	background-color: var(--white);
	color: var(--dark);
	border-radius: 5rem;
}
.full-search-line .search-input input, header.search-mode .search-block form input
{
	flex: 1;
	font:var(--pbig);
	outline: none;
	border:none;
}
header.search-mode .search-block form input
{
	font:var(--p);
}

header.search-mode .search-block
{
	border: 2px solid #F4F3F7;
}

#verify input, .defaultView
{
	flex:1;
	display: block;
	padding:1rem 1.875rem;
	background-color: var(--white);
	color: var(--dark);
	border-radius: 5rem;
	font:var(--pbig);
	outline: none;
	border:none;
}

label {
	display: block;
	margin-bottom: 1rem;
}

.full-search-line .bluebutton
{
	width: 8.75rem;
	font:var(--pbig);
}
.noresults
{
	padding-top:2.1875rem;
}
header .search-block form, header .search-block .search-results
{
	display: none;
}
header.search-mode .menu-list
{
	display: none;
}
header.search-mode .search-block
{
	display: flex;
	align-items: center;
	background-color: var(--white);
	border-radius: 1.59375rem;
	height: 3.1875rem;
	gap:1rem;
	width: 31.9375rem;
}
header.search-mode  .search-block.has-results
{
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
header.search-mode .search-block form
{
	flex: 1;
	display: flex;
	align-items: center;
	gap:1rem;
	padding-left: 1.5rem;
} 
header.search-mode .search-block form>a
{
	display: flex;
	align-items: center;
	justify-content: center;
}	
header.search-mode  .search-block.has-results .search-results
{
	position: absolute;
	top:100%;
	left:0;
	right: 0;
	height: 9.25rem;
	overflow: auto;
	background-color: var(--white);
	display: flex;
	flex-direction: column;
	gap:0;	
	border-bottom-left-radius: 0.5rem;
	border-bottom-right-radius: 0.5rem;
}
header.search-mode  .search-block.has-results .search-results>a
{
	border-top: 1px solid var(--lightgrey);
	display: flex;
	align-items: center;
	gap:0.5rem;
	padding:0.5rem 0.75rem;
	color: var(--dark);
	height: 3.125rem;
}
header.search-mode  .search-block.has-results .search-results>a:hover
{
	background-color: var(--lightblue);
}
.page-not-found>.maxcontent,.page-not-found header, .page-not-found footer
{
	margin:0;
}
.page-not-found>.maxcontent
{
	background: var(--gradient);
	padding:3.125rem 0 8rem;
	width: 100%;
}
.page-not-found>.maxcontent .content404:before, .page-not-found>.maxcontent .content404>div.text:after, .news-full-div:after
{
	position: absolute;
	content:'';
	background-size: cover;
}
.news-full-div:after
{
	bottom:-22rem;
	right:-10rem;
	width: 43.75;
	height: 43rem;
	background: url('/images/news_star_decor.svg') center center no-repeat;
}
.page-not-found>.maxcontent .content404:before
{
	top:-0.625rem;
	left:-2.5625rem;
	width: 6.375rem;
	height: 6.25rem;
	background: url('/images/star_decor.svg') center center no-repeat;
}
.page-not-found>.maxcontent .content404>div.text:after
{	
	top:9rem;
	right:-1.6875rem;
	width: 16rem;
	height: 15rem;
	background: url('/images/starandquestion.svg') center center no-repeat;
}
.page-not-found>.maxcontent .content404
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.page-not-found>.maxcontent .content404>div.text
{
	display: flex;
	flex-direction: column;
	padding:0 2.5rem;
	gap:3.375rem;
	align-items: flex-start;
	justify-content: flex-start;
	color: var(--white);
	z-index: 2;
}
.page-not-found>.maxcontent .content404>.image
{
	width: 27.6875rem;
}
.olimp-block.docs-group .h4
{
	display: block;
	margin-bottom: 1.875rem;
}

.olimp-block.docs-group.hideble .h4
{
	cursor: pointer;
}

.olimp-block.docs-group.hideble .h4:after
{
	display: inline-flex;
	content: "\e905";
font-family: "icomoon";
color: var(--dark);
font-size: 0.8rem;
margin-left: 0.5rem;
}
.olimp-block.hideble .h4:after
{
	transform: rotate(180deg);
	padding-top: 2px;
}
.olimp-block.hideble.hidden .h4:after
{
	transform: none;
}
.olimp-block.docs-group.hideble.hidden .docs-list
{
	display: none;
}

.tab-content
{
	display: none;
}

.tab-content ul li{
	justify-content: flex-start;
	gap: 2px;
}

.tab-content.active
{
	display: flex;
}

.tab-content
{
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1.625rem;
}

.yp-title h1
{
	flex: 3;
}

.yp-title
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.yp-text
{
	margin-top: 40px;
}


.yp-text td
{
	vertical-align: top;
}

.zakl-subjects
{
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-gap: 0.5rem;
	margin-top: 2rem;
}

.zakl-subjects a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 0.75rem;
	
	border-radius: 0.625rem;
	border: 1px solid var(--lightgrey);
	color: var(--dark);
}

.zakl-subjects a span
{
	font-weight: bold;
	display: block;
	color: var(--blue);
}

.zakl-subjects a:hover
{
	border-color: var(--lightblue);
	background: var(--lightblue);
}

.gallery
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
	margin-top: 2rem;
}

.gallery a
{
	display: block;
	padding-top: 70%;
	background-size: cover;
	background-position: center;
	border-radius: 1rem;
}

.schools-list h3
{
	margin: 1rem 0 0.5rem;
}

.schools-list .school_name
{
	display: block;
}

.subjects_for_schools
{
	border-collapse: collapse;
}

.subjects_for_schools td
{
	padding: 0.5rem 1rem;
}

.twin-block
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.twin-block form
{
	padding: 2rem;
	border-radius: 1rem;
	color: var(--white);
	background: var(--darkbg);
}

.twin-block form .custom-select
{
	color: var(--blue);
}
.nav-menu-grid ul li
{
	justify-content: flex-start;
}
.world-year-info
{
	margin:40px 0 60px;
	gap:40px;
}
.world-year-info.news-full-div 
{
	max-width: 100%;
}

.world-year-info.news-full-div  tbody td a {
  /*display: inline-block;*/
  max-width: 100%; /* чтобы не вылезали за ячейку */
  /*word-break: break-all;  перенос по любым символам (включая слеши) */
}
.world-year-info.news-full-div tr > td[colspan]{
  text-align: center;
}
.world-year-info.news-full-div tr > td[colspan]:first-child, .world-year-info.news-full-div tr > td[rowspan] {
  text-align: left !important;
}
.world-year-info.news-full-div thead tr td
{
	background-color: var(--blue) !important;
}
.world-year-info.news-full-div:not(.colored) tbody tr:nth-child(even), .world-year-info.news-full-div:not(.colored) tbody tr:nth-child(odd), .world-year-info.news-full-div:not(.colored) tr:nth-child(even) td[rowspan]
{
	background-color: var(--white);
} 


.news-full-div thead a
{
	text-decoration: underline;
	color: var(--white);
}
.news-full-div thead a:hover
{
	text-decoration: none;
}
.top-year-links {
    display: flex;
    flex-wrap: wrap;
    gap:20px;
}

.top-year-links > div {
    flex: 1 0 0; /* все блоки растягиваются равномерно */
    min-width: 150px; /* минимальная ширина блока */
    box-sizing: border-box;
}
.top-year-links ul li
{
	display: block;
}

.upper {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--darkbg);
	color: var(--white);
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	transform: scale(0.01);
	transition: 0.3s all ease;
	z-index: 10;
	cursor: pointer;
}

.upper.visible {
	transform: scale(1.0);
}

.upper:hover
{
	color:var(--white);
}

.slider-arrow {
  position: absolute;
  top: 0;
  bottom:0;
  padding: 0;
  width: 1.6rem;
	background: transparent;
  border: none;
  
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow i {
	width: 1.6rem;
	height: 1.6rem;
	background: var(--blue);
	color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow.left {
  left: -15px;
}

.slider-arrow.right {
  right: -15px;
}

.slider-arrow i {
  font-size: 0.8rem;
	line-height: 100%;
}

.stages .arrow.hidden 
{
	opacity: 0;
}

.gpmk-note {
	color: var(--blue);
	display: block;
	font-size: 0.9em;
}

@media all and (min-width: 1100px)
{
	.show-subjects .subjects-fs-list
	{
		width: 50%;
	}
}

@media all and (min-width: 768px)
{
	.ms {display: none !important;}

	.olimp-list-slider .slider-arrow
	{
		/*display: none !important;*/
	}

	.maxcontent {
		max-width: 83rem;
		width: 100%;
	}

	.slider-arrow i{
		margin-top: -5rem;
	}
	.news-list>a  .type-continer>i
	{
		display: none;
	}
	.news-list>a .type-continer .type
	{
		background: var(--bluehover);
		width: 8.75rem;
		text-align: center;
		text-transform: lowercase;
	}
	.title-with-bread-crumbs.bc-long h1
	{
		flex: 2;
	}

	.title-with-bread-crumbs.bc-long .bread-crumbs
	{
		flex: 1;
		justify-content: flex-end;
	}

	.show-subjects .subjects-fs-list
	{
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-gap: 0.375rem;
		background: var(--white);
		position: absolute;
		top: 7.6875rem;
		right: 0;
		width: 70%;
		padding: 1.5rem;
		border-radius: 0.875rem;
		z-index: 10;
	}

	.show-subjects .subjects-fs-list a
	{
		display: flex;
		flex-direction: column;
		align-items: center;
		gap:2px;
		color: var(--dark);
		line-height: 110%;
	}
	.show-subjects .subjects-fs-list a .s-note 
	{
		font-size: 0.6875rem;
		line-height: 110%;
		color: var(--blue);
	}
	.show-subjects .subjects-fs-list a.selected .s-note
	{
		color: var(--white);
	}

	.show-subjects .subjects-fs-list a.selected, .show-subjects .subjects-fs-list a.selected:hover
	{
		border-color: var(--blue);
		background: var(--blue);
		color: var(--white);
	}

	.show-subjects .subjects-fs-list a:hover
	{
		border-color: var(--lightblue);
		background: var(--lightblue);
	}

	.show-subjects .shadow
	{
		opacity: 1;
		pointer-events: initial;
	}

	.why-participate-slider .slider-arrow,
	.why-participate-slider .slider-dots {
	display: none;
	}

	
}


@media all and (min-width:768px)
{
	.nav-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
	}
	.logo-block>span
	{
		max-width:140px;
		font:500 15px/95% 'Aneliza';
	}
}

@media all and (min-width: 1560px)
{
	body
	{
		font-size:17px;
	}
	.right-menu-div .right-menu
	{
		width: 10.5rem;
	}
}
@media all and (min-width: 1760px)
{
	body
	{
		font-size:18px;
	}
}
@media all and (min-width: 1920px)
{
	body
	{
		font-size:19px;
	}
	.right-menu-div .right-menu
	{
		width: 11.5rem;
	}
}
@media all and (min-width: 2520px)
{
	body
	{
		font-size:20px;
	}
}
/* Для планшетной версии */
@media all and (max-width: 1400px)
{
		.main-top-header-and-baner
		{
			width: initial;
		}
		.main-top-header-and-baner .maxcontent {
		padding: 0 1rem;
		}
		.main-baner
		{
			margin:0 -1rem;
		}
		.maxcontent 
		{
			padding:0 20px;
		}
		.wp-list
		{
			grid-template-columns: repeat(2, 1fr);
		}
		.notfull {
		padding-right: 0;
		}
		.news-onmain:after, .full-news-list:after
		{
			display: none;
		}
		.subject-list {
		grid-template-columns: repeat(3, 1fr);
		}
		.subject-list>div
		{
			grid-column: span 3;
		}
		.main-top-header-and-baner
		{
			width: calc(100% - 12px);
			margin: 0 auto 64px;
		}
		.partners>span
		{
			display: block;
			width: 100%;
		}
		.partners
		{
			flex-wrap: wrap;
		}
		.content-with-menu
		{
			display: block;
		}
		.right-menu-div
		{
			display: none;
		}
		.why-participate .slide
		{
			border-radius: 16px;
		}

}
@media all and (max-width: 1119px)
{
	/*header .menu-list, header .subjects-button>span,.subjects-button i.icon-menu {
	display: none;
	}*/
	.subjects-button>i {
font-size: 18px;
}
/*header .subjects-button {
width: 51px;
}*/
	/*.subjects-button::before {
content: "\2630";
font-size: 28px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transform: translateY(-3px);
}*/
	.results-groups {
grid-template-columns: repeat(1, 1fr);
}
.results-groups .image {
aspect-ratio: 280/158;
}

}
@media all and (max-width: 900px)
{
	.wp-list
		{
			grid-template-columns: repeat(1, 1fr);
		}
		.wp-list>div {
		aspect-ratio: initial;
		}
		.wp-list>div.image {
		aspect-ratio: 280/98;
		}
		.wp-list>div.text, .results-groups .res-info-list>div, .task-of-the-day {
		padding: 20px;
		gap: 10px;
		}
		.subject-list {
				grid-template-columns: repeat(2, 1fr);
		}
		.project.fs {display: none !important;}
		.project.ms {display: block !important;}
		.dates-block {flex-direction: column; align-items: flex-end;}
		.subject-list>div
		{
			grid-column: span 2;
		}

}
@media all and (max-width: 1400px) and (min-width:901px)
{
 /* третий элемент (второе изображение) — ставим во вторую колонку */

.wp-list > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2; /* явно указать строку */
  }
  .wp-list > div:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }
}
/* ---------Конец--------Для планшетной версии */
@media all and (max-width: 768px)
{
	:root {
	--p: 500 16px/130% 'Aneliza';
	--psmall: 14px/130% 'Aneliza';
	--p1: 500 18px/130% 'Aneliza';

	--h1:700 32px/110% 'Aneliza';
	--h2:700 26px/110% 'Aneliza';
	--h3:700 22px/110% 'Aneliza';
	--h4:700 20px/110% 'Aneliza';
	--h5:700 17px/110% 'Aneliza';
	--h6:700 17px/110% 'Aneliza';
	}

	.olimp-block .results-list:after
	{
		display: none;
	}
	.task-of-the-day .button.toggleanswer
	{
		margin-top:9rem;
	}
	.task-of-the-day  .answer-block .title-with-filter
	{
		margin-bottom: 0;
	}
	.zakl-subjects
	{
		grid-template-columns: repeat(1, 1fr);
	}
	.task-of-the-day .desc
	{
		gap:3rem;
	}

	.full-search-line .search-input {
		width: calc(100% - 5rem);
		box-sizing: border-box;
	}

	.full-search-line .search-input input {
		width: calc(100% - 2rem);
	}

	.full-search-line
	{
		flex-wrap: wrap;
		margin: 28px 0 28px;
	}
	.full-search-line .search-input
	{
		padding:10px 20px;
	}
	.full-search-line .search-icon, .full-search-line .search-input, .full-search-line .bluebutton, .header-buttons .search-button
	{
			height: 40px;
	}

	.search-mode .header-buttons, .search-mode .header-menu {
		width: 100%;
	}
	.full-search-line .search-icon
	{
		width: 40px;
		font-size: 16px;
	}
	.search-answer-block
	{
		display: none;
	}
	.full-search-line .bluebutton{
		width: 100%;
	}
	.fs {display: none !important;}
	.yp-title {
		flex-direction: column;
		align-items: flex-start;
		gap:20px;
	}
	.sub-stages-list
	{
		padding-top: 0;
	}
	.yp-title .select-group
	{
		width: 100%;
	}

	body, html
	{
		font:var(--p);
		font-size: 16px !important;
	}
	.radius,.main-top-header-and-baner, .wp-list>div, .results-groups .res-info-list>div, .news-list>a, .news-full-div img,
	.important
	{
		border-radius: 20px;
	}
	.maxcontent {
	width:100%;
	margin:0;
	padding:0 20px;
	}
	header
	{
		padding:23px 0 10px;
		margin-bottom:33px;
	}
	.logo-block
	{
		gap:11px;
	}
	.logo-block>.logo
	{
		width: 94px;
	}
	.logo-block>span
	{
		width:108px;
		font:500 12px/95% 'Aneliza';
	}
	header .menu-list, header .subjects-button>span
	{
		display: none;
	}
	.subjects-button
	{
		font-size: 17px !important;
		-webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
		padding:initial;
		height: 40px;
		align-items: center;
		justify-content: center;
	}
	.subjects-button::before
	{
		font-size: 20px !important;
		line-height: 20px !important;
		font-family: icomoon;
		-webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
	}
	footer .subjects-button
	{
		height: 51px;
	}
	.subjects-button>i
	{
		font-size: 18px;
	}
	header .subjects-button
	{
		width: 40px;
	}
	.bread-crumbs
	{
		margin-top: 0;
		gap:8px;
		font:var(--p);
	}
	.bread-crumbs>i 
	{
		font-size: 8px;
	}
	.title-with-image
	{
		align-items: center;
		gap:20px;
	}
	.title-with-image>img
	{
		height: 41px;
	}
	.subject-headline-div .title-with-image img
	{
		display: none;
	}
	.subject-headline-div
	{
		flex-direction: column-reverse;
		gap:16px;
	}
	.subject-top-block
	{
		display: flex;
		flex-direction: column;
		gap:14px;
		margin-top: 30px;
		margin-bottom: 64px;
	}
	.subject-top-block .stb-image
	{
		aspect-ratio: 28/13;
	}
	.menu-list {
		align-items: flex-start;
	}
	.stb-left-block
	{
		display: flex;
		gap:14px;
		flex-direction: column;
	}
	.stb-current
	{
		padding:20px;
		height: 62px;
		gap:14px;
	}
	.stb-current .title>span 
	{
		display: none;
	}
	.stb-text-block, 
	.why-participate .slide,
	.selected-stage-full-info,
	.passing-score-div,
	.news-list>a, 
	.how-to-get-into,
	.tasks-block
	{
		padding: 20px;
	}

	.why-participate .slide .description, .other-olimp-block>span {
		-webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
	}
	.olimp-block>.title
	{
		margin-bottom: 30px;
	}
	.why-participate .slide
	{
		gap:31px;
	}
	.why-participate .slide .title
	{
		font:var(--h5);
		margin-bottom: 6px;
	}
	.stage-div .period
	{
		font:var(--p1);
	}
	.selected-stage-full-info
	{
		display: flex;
		flex-direction: column;
		gap:36px;
	}
	.right-menu-div
	{
		display: none;
	}
	.content-with-menu
	{
		display: block;
	}
	.tabs-list, .form-container, .partners
	{
		display: flex;
		flex-direction: column;
	}
	.selected-stage-full-info .tabs-list
	{
		gap:8px;
		align-items: flex-start;
		justify-content: flex-start;
		margin-top: 10px;
		flex-direction: row;
		width: 100%;
	}
	.selected-stage-full-info .right>img
	{
		margin-right: -35px;
		margin-bottom: -52px;
		width: 67px;
		z-index: 5;
	}
	.tabs-list>a 
	{
		flex:none;
	}
	.selected-stage-full-info .left
	{
		gap:26px;
	}
	.selected-stage-full-info .left .title, .passing-score-div .title
	{
		font: var(--h3);
	}
	.passing-score-div
	{
		gap:30px;
	}
	.passing-score-list
	{
		flex-wrap: wrap;
		gap:15px;
	}
	.passing-score-list>div
	{
		padding:18px 12px;
		width: 94px;
		gap:4px;
	}
	.passing-score-list>div .class
	{
		font: var(-p1);
		font-weight: 400;
	}
	.passing-score-list>div .passing-score
	{
		font-weight: 600;
		line-height: 130%;
	}
	.main-content-block
	{
		gap:64px;
	}
	.news-list>a
	{
		display: grid;
		grid-template-areas: "date arrow" "title title";
		grid-template-columns: 1fr 40px;
		grid-gap:20px;
		/*padding:9px 20px;*/
	}
	.news-list>a .date
	{
		grid-area: date;
	}
	.news-list>a .arrow
	{
		grid-area: arrow;
	}
	.news-list>a .news-headline
	{
		grid-area: title;
		font:var(--p1);
	}
	.news-list>a .arrow, .other-olimp-block .logo-block:after
	{
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
	.news-list>a .date .day
	{
		font-size: 36px;
		height: 40px;
		line-height: 40px;
	}
	.news-list>a .date .month-and-year
	{
		font-size: 15px;
		line-height: 100%;
	}
	.olimp-block.search-results>.title
	{
		margin-bottom: 20px;
	}
	.olimp-block.search-results>.title .grey-color
	{
		display: block;
	}
	.news-list>a.search-results-block
	{
			grid-template-areas: "date title arrow";
			grid-template-columns: 18px 1fr 40px;
			grid-gap: 10px;
	}
	.news-list>a.search-results-block .type
	{
		display: none;
	}
	.more 
	{
		font: var(--p1);
		gap:0.5rem;
		display: inline-block;
		padding-right:1.5rem;
	}
	/*.more i
	{
		margin-left: 0.5rem;
		position: relative;
		top: 2px;
	}*/

	body>.menu-list {
		display: none;
	}

	.subjects-button {
    /* 1. Очищаем контент, но НЕ используем font-size:0 на родителе */
    text-decoration: none;
    display: inline-flex; /* или flex */
    align-items: center;  /* Центрируем по вертикали */
    justify-content: center;
    min-height: 40px;     /* Задайте вашу высоту */
    min-width: 40px;      /* Чтобы бургер не прыгал */
  }

  /* 2. Скрываем старые элементы полностью (чтобы не занимали место) */
  .subjects-button i.icon-menu,
  .subjects-button span {
    display: none !important; /* Важно: именно display:none, а не visibility */
  }

  /* 3. Рисуем бургер через псевдоэлемент */
  .subjects-button::before {
    content: "\e92e"; /* Символ ☰ */
    font-size: 28px;  /* Размер бургера */
    line-height: 1;   /* Убираем лишние отступы */
    display: flex;    /* Чтобы сам псевдоэлемент центрировался */
    align-items: center;
    justify-content: center;
    
    /* Если бургер всё ещё смещен вниз - добавляем это: */
    /*transform: translateY(-3px);*/ /* Поднимите на 2px вверх (подберите значение) */
  }
  .tags>span
  {
  	height: initial;
  	border-radius:0.625rem;
  }
  .main-top-gradient {
padding-bottom: 1.5rem;
margin-bottom: 64px;
}
	.show-menu .shadow
	{
		opacity: 1;
		z-index: 3;
		pointer-events: initial;
	}

	 .stages {
	    display: flex;
	    flex-wrap: nowrap;
	    /*padding: 0 50%; /* Центрируем выбранный элемент */
	    scroll-behavior: smooth;
	     width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    	justify-content: flex-start;
    	padding-top: 1.7rem;
    	gap:0;
	  }
	  
	  .stages .arrow {
	    display: none; /* Скрываем стрелки */
	  }

	  .sub-stages-list {
	  	overflow: auto;
	  }
	  
	  .stage-div {
	    flex: none;
	    /*margin: 0 10px;*/
	    scroll-snap-align: center; /* Для привязки при скролле */
	  }
	  
	  /* Центрируем выбранный элемент при загрузке */
	  .stage-div.selected {
	    /*transform: translateX(-50%);*/
	  }

	  .stage-div.selected:after
	  {
	  	display: none;
	  }
	  .why-participate-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-container {
  overflow: hidden;
  width: 100%;
}

.why-participate, .other-olympiads-list {
  display: flex;
  gap: 0;
  grid-gap: 0;
  transition: transform 0.3s ease;
}

.slide {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.slide.hidden
{
	opacity: 0;
	pointer-events: none;
}

.slide.visible
{
	opacity: 1;
	pointer-events: initial;
}
	  .slider-dots {
  text-align: center;
  padding: 15px 0;
}

.slider-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots span.active {
  background: var(--blue);
}

.upper.onfooter
{
	background: var(--purple);
}

/* Стрелки */


.olimp-list-slider .slider-arrow {
	/*top: 32%;*/
}



.how-to-get-into
{
	gap:30px;
	padding-bottom: 280px/*calc( (240 / 312) * 100% - 40px)*/;
}
.how-to-get-into:after
{
	height: auto;/*calc(100% - 40px);*/
	right: -20px;
	bottom: 12px;
	width: calc(100% + 30px);
	background: url('/images/howtogetinto_mob.svg') bottom center no-repeat;
}
.how-to-get-into .desc
{
	font:var(--p1);
}
.form-container
{
	margin-bottom: 44px;
	gap:16px;
}
.row
{
	flex-direction: column;
	gap:16px;
}
.select-header
{
	font-size: 16px;
}
.select-header:after
{
	top: calc(50% - 0.5rem);
}
.select-group>label {
margin-bottom: 8px;
font-size:15px;
}
.clear-filter
{
	justify-content: flex-start;
	margin-top:8px;
}
.select-options.show
{
	align-items: flex-start;
	justify-content: flex-start;
}
.select-options.show>.option
{
	/*flex:none;*/
}
.select-options
{
	padding:0.5rem;
}
.select-options.show>.option
{
	padding: 8px 8px;
	border-radius: 4px;
	border: none;
	flex:1;
	text-align: left;
	width: 100%;
	align-items: flex-start;
	justify-content: flex-start;
}
.select-options.stage-options {
flex-direction: column;
max-width: 100%;
}
.tasks-block
{
	gap:30px;
}
.tasks-solutions>div
{
	gap:6px;
	font-size: 15px;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
}
.year-list
{
	flex-wrap: wrap;
}
.tasks-solutions>div .name
{
	display: block;
	width: 100%;
	margin-bottom: 8px;
	font-size: 15px;
}
.results-list:after {
	bottom: -17px;
	right: -17px;
	width: 50px;
	height: 61px;
}
.partners
{
	align-items: flex-start;
	justify-content: flex-start;
	gap:14px;
}
.partner-div
{
	width: 100%;
}
.partners>span 
{
	margin-bottom: 8px;
	font:var(--h5);
}
.footer-top
{
	margin:35px 0 46px;
	flex-direction: column;
	gap:46px;
}
footer .header-menu, footer .menu-list
{
	flex-direction: column;
}
.footer-top .header-menu .menu-list, .footer-top .header-menu .menu-list>div
{
	gap:14px;
}
.footer-top .header-menu .menu-list>div a 
{
	font: var(--p1);
}
footer .subjects-button, footer .header-menu,.task-of-the-day .desc
{
	width: 100%;
}
header .menu-list a
{
	font-size: 18px;
} 
header .menu-list a:after
{
	font-size: 9px;
}

.other-olimp-block.slide
{
	padding:0;
}
.other-olimp-block .logo-block:after
{
	display: none;
}
.other-olimp-block>span
{
	padding:10px 12px;
}
.other-olimp-block .logo-block>img {
max-height: 100px;
max-width: initial;/*165px;*/
}
.other-olimp-block .logo-block
{
	aspect-ratio: 280/146;
}
.wp-list, .subject-list, .results-groups
{
	grid-template-columns: repeat(1, 1fr);
}

.subject-list>div
{
	grid-column: span 1;
}

.notfull
{
	padding-right: 0;
}
.news-onmain:after, .full-news-list:after 
{
	display: none;
}
.title-with-filter
{
	flex-direction: column;
}
.main-top-header-and-baner {
width: calc(100% - 12px);
margin: 6px auto 64px;
padding-bottom: 23px;
overflow: hidden;
}
.main-top-header-and-baner .maxcontent
{
	padding:0 14px;
}
.main-top-header-and-baner header {
margin-bottom: 13px;
}
.main-baner {
background-image: url('/images/main_baner_mob.svg');
/*background-size: 100%;
aspect-ratio: 358/471;
margin:0 -53px;*/
background-size: 132%;
aspect-ratio: 32/52;
margin:0 -14px;
gap: 81px;
background-position: top center;
}
.main-baner>span
{
	text-align: center;
	max-width: 204px;
}
.wp-list>div.text,.results-groups .res-info-list>div, .task-of-the-day{
padding: 20px;
gap:10px;
}
.results-groups .res-info-list>div
{
	gap:16px;
}
.task-of-the-day
{
	gap:30px;
}
.wp-list>div {
aspect-ratio: initial;
}
.wp-list>div.image
{
	aspect-ratio: 280/98;
}
.results-groups .image
{
	aspect-ratio: 280/158;
}
.ring-top:after
{
	margin-top: -170px;
}
.title-with-filter>.title
{
	margin-bottom: 30px;
}
.subjects-tabs,.results-groups .res-info-list>div,.task-of-the-day
{
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.results-groups .res-info-list>div .name {
font:var(--h5);
margin-bottom: 6px;
}
.task-of-the-day .title-with-filter
{
	margin-bottom: 30px;
}
.task-of-the-day .title-with-filter .title
{
	margin-bottom: 18px;
}
.task-of-the-day .button.more
{
	margin-top:150px;
}
.task-of-the-day:after {
top: initial;
bottom:100px;
right: initial;
left:20px;
width: 160px;
height: 123px;
}
.task-of-the-day .desc p
{
	font:var(--p1);
}
.onmain-results .stages-list, .subject-list .stages-list
{
	margin-bottom: 30px;
	gap:6px;
}
.onmain-results .stages-list>a, .subject-list .stages-list>a 
{
	width: 100%;
	text-align: center;
}
.option, .subjects-fs-list a
{
	text-align: left;
}
.top-year-links
{
	flex-direction: column;
	gap: 1rem;
}
.onmain-results:after {
top: 33px;
right: 0;
width: 40px;
height: 49px;
}
.header-buttons .search-button
{
	/*display: none;*/
	width: 40px;
	height: 40px;
}
header.search-mode .logo-block, header.search-mode .subjects-button
{
	display: none;
}

header.search-mode .search-block
{
	width: 100%;
	padding-right: 5px;
	box-sizing: border-box;
}

header.search-mode .search-block form input{
	width: 50%;
	font-size: 15px;
}

.full-search-line .search-input input
{
	font: var(--p1);
}

.subject-list
{
	grid-gap: 12px;
}
.more:after
{
	top:1px;
}
.docs-list>a.doc {
padding: 14px;
border-radius: 14px;
gap: 18px;
align-items: flex-start;
}
.docs-list>a.doc:after {
position: absolute;
font-size: 16px;
bottom:14px;
left:14px;
}
.docs-list
{
	grid-template-columns: repeat(1, 1fr);
	grid-gap: 12px;
}
.olimp-block.docs-group .h4
{
	margin-bottom: 20px;
}

.olimp-block.docs-group.hideble .h4:after
{
	content: "\e905";
	font-family: "icomoon";
	color: var(--dark);
	font-size: 0.6rem;
}


.title-with-bread-crumbs
{
	flex-direction: column-reverse;
	gap:16px;
}
.gap60
{
	gap:44px;
}
.title-big-div h1
{
	margin:20px 0 12px;
}
.title-big-div
{
	flex-direction: column;
	align-items:flex-start;
	justify-content: space-between;
	padding:20px;
}
.title-big-div .image
{
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 100%;
}
.title-big-div .image>img 
{
	height: 74px;
}
.title-big-div.news-title-div
{
	height: 180px;
}
.title-big-div.news-title-div h1
{
	margin-bottom: 0;
}
.page-not-found .footer-top
{
	margin-top: 0;
}
.content404
{
	flex-direction: column;
}
.page-not-found>.maxcontent .content404>.image
{
	width: 100%;
	margin-right: -5px;
}
.page-not-found>.maxcontent
{
	padding:44px 20px;
}
.maxcontent, .page-not-found>.maxcontent .content404
{
	width: initial;
	align-items: flex-start;
	justify-content: flex-start;
	gap:20px;
}
.page-not-found>.maxcontent .content404>div.text:after
{
	display: none;
}
.page-not-found>.maxcontent .content404>div.text .button
{
	width: 100%;
	justify-content: flex-start;
}
.page-not-found>.maxcontent .content404>div.text {
gap: 28px;
padding: 0;
}
.how-to-get-into .button, .task-of-the-day .button, .bluebutton, .button.white {
height: 51px;
padding: 14px 21px;
font: var(--p1);
font-weight: 600;
}
.how-to-get-into .button.more
{
	z-index: 1;
}
.button.more {
	padding-right: 48px;
}
.button.more:after {
top: 14px;
right: 21px;
}
.page-not-found>.maxcontent .content404:before {
top: -28px;
left: -31px;
width: 38px;
height: 37px;
background-size: cover;
}
.bread-crumbs {
    flex-wrap: nowrap;
    width: 100%;
    overflow: auto;
}

.bread-crumbs span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0; /* Ключевое свойство для работы */
}

.bread-crumbs a,
.bread-crumbs .icon-dot-star {
    flex-shrink: 0;
    white-space: nowrap;
}
.news-title-and-source
{
	margin: 10px 0 44px;
}
.news-full-div
{
	font:var(--p1);
}
.news-title-and-source .source, .classes-list-links>a, .caption,
.show-menu .header-content .header-menu .menu-list .sub-list .subjects>a 
{
	font-size: 15px;
}
.classes-list-links
{
	flex-wrap: wrap;
}
.year-list>a, .tasks-solutions>div>a, .classes-list-links>a {
padding: 12px;
height: 41px;
border-radius: 10px;
}
ul li
{
	padding-left:22px;
}
ul li:before {
font-size:14px;
top: 1px;
}
.important {
padding: 57px 20px 18px;
}
.important:before
{
	top:18px;
	left:20px;
	font-size: 24px;
}
.docs-list>a.doc
{
	min-height: 78px;
}
.docs-list>a.doc .type
{
	flex:none;
	height: 22px;
	width:40px;
	padding:5px 6px;
	border-radius: 2px;
	font-size: 12px;
}
.dates-block
{
	flex-direction: column;
	gap:20px;
}
.dates-block .project
{
	font-size: 15px;
	line-height: 110%;
}
.subject-headline-div .profile
{
	font: var(--p);
	line-height: 110%;
	margin-top:3px;
}
.ring-top:after 
{
	display: none;
}
.results-groups>.image:nth-child(1):after {/*
position: absolute;
content: '';
top: -2.75rem;
right: 0.5rem;
width: 3.3125rem;
height: 3.75rem;
background: url('/images/ring.svg') center center no-repeat;
background-size: cover;*/
display: none;
}
.type-continer
{
	display: flex;
	justify-content: flex-start;
}

.twin-block
{
	grid-template-columns: 1fr;
}
}


/* ===== Поисковые подсказки ===== */



/* Контейнер подсказок */
.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--lightgrey);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(28, 52, 69, 0.15);
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    min-width: 280px;
    padding: 0px 0;
}

/* Список подсказок */
.search-suggest-list {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
}

.search-suggest-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    gap: 12px;
}

.search-suggest-item:hover {
    background: var(--lightblue);
}

.search-suggest-item.is-subject {
    border-left: 3px solid var(--blue);
}

.search-suggest-item .suggest-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    width: 24px;
    text-align: center;
    display: none;
}

.search-suggest-item .suggest-content {
    flex: 1;
    min-width: 0;
}

.search-suggest-item .suggest-title {
    font: var(--psmall);
    font-weight: 500;
    color: var(--dark);
    word-wrap: break-word;
}

.search-suggest-item .suggest-title mark {
    background: #ffeb3b;
    padding: 0 2px;
    border-radius: 2px;
    color: var(--dark);
}

.search-suggest-item .suggest-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin-top: 4px;
}

.search-suggest-item .suggest-type {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    background: var(--lightblue);
    padding: 0 10px;
    border-radius: 100px;
    line-height: 20px;
}

.search-suggest-item .suggest-desc {
    font-size: 12px;
    color: var(--grey);
    line-height: 20px;
}

/* Дополнительные ссылки для предметов */
.search-suggest-item .suggest-extra {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.search-suggest-item .suggest-sub-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 12px;
    background: var(--fon);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 22px;
}

.search-suggest-item:before
{
	display: none;
}

.search-suggest-item .suggest-sub-link:hover {
    background: var(--lightblue);
    text-decoration: none;
}

.search-suggest-item .suggest-sub-link.tasks-link {
    background: #f3e5f5;
    color: #7b1fa2;
}

.search-suggest-item .suggest-sub-link.tasks-link:hover {
    background: #e1bee7;
}

.search-suggest-item .suggest-sub-link.results-link {
    background: #fff3e0;
    color: #e65100;
}

.search-suggest-item .suggest-sub-link.results-link:hover {
    background: #ffe0b2;
}

/* Ссылка "Показать все" */
.search-suggest-all {
    padding: 10px 16px;
    border-top: 1px solid var(--lightgrey);
    text-align: center;
    background: var(--fon);
    border-radius: 0 0 16px 16px;
    margin-top: 4px;
}

.search-suggest-all:before
{
	display: none;
}

.search-suggest-all a {
    color: var(--blue);
    text-decoration: none;
    font: var(--psmall);
    font-weight: 600;
    display: block;
    transition: color 0.2s ease;
}

.search-suggest-all a:hover {
    color: var(--bluehover);
    text-decoration: underline;
}

/* Состояния */
.search-loading {
    padding: 20px;
    text-align: center;
    color: var(--grey);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font: var(--psmall);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--lightgrey);
    border-top: 3px solid var(--blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-no-results {
    padding: 20px 16px;
    text-align: center;
    color: var(--grey);
    font: var(--psmall);
}

.search-no-results strong {
    color: var(--dark);
}

.search-no-results a {
    color: var(--blue);
    text-decoration: none;
}

.search-no-results a:hover {
    text-decoration: underline;
}

.search-error {
    padding: 20px 16px;
    color: #d32f2f;
    text-align: center;
    font: var(--psmall);
}

/* Анимация */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggestions {
    animation: slideDown 0.2s ease;
}

/* Стили для прокрутки */
.search-suggestions::-webkit-scrollbar {
    width: 4px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: var(--fon);
    border-radius: 2px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: var(--lightgrey);
    border-radius: 2px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--grey);
}

.olimp-block .results-list:after {
	position: absolute;
	content: '';
	bottom: -2rem;
	right: 2rem;
	width: 6.35rem;
	height: 7.72rem;
	background: url('/images/results-decor.svg') center center no-repeat;
	background-size: cover;
}


/* Меню */
@media (max-width: 1119px)

{
	body.show-menu>.menu-list, .show-menu .header-menu .menu-list
	{
		display: flex;
		flex-direction: column;
		background: var(--white);
		width: 80vw;
		height: 100vh;
		overflow: auto;
		top: 0;
		right: 0;
		bottom: 0;
		position: fixed;
		z-index: 4;
		gap: 2rem;
		padding: 26px 23px 26px 20px;
	}

	/*.m-closer
	{
		width: 100%;
		display: flex !important;
		justify-content: flex-end;
	}*/

	.header-menu {
gap: 0.8rem;
flex-direction: column-reverse;
align-items: flex-end;
}
	.multilevel .submenu
	{
		left: initial;
		right: 0;
	}

	body.show-menu .menu-list .m-closer a
	{
		width: auto;
		color: var(--blue);
		font-size: 20px;
	}

	body.show-menu .menu-list .sub-list .subjects
	{
		display: none;
		flex-direction: column;
		gap: 12px;
		justify-content: flex-start;
		align-items: flex-start;
		padding-left: 22px;
		padding-top: 14px;
	}

	body.show-menu .menu-list a
	{
		color: var(--dark);
		width: 100%;
		font-size: 20px;
	}
	body.show-menu .menu-list div div a 
	{
		font-size: 18px;
	}
	body.show-menu .menu-list .s-note
	{
		display: block;
		color: var(--blue);
		font-size: 14px;
		line-height: 110%;
	}
	body.show-menu .menu-list .sub-list
	{
		width: 100%;
		display: block !important;
	}

	body.show-menu .menu-list .multilevel
	{
		width: 100%;
	}
	body.show-menu .menu-list .sub-list>a, body.show-menu .menu-list .multilevel>a
	{
		display: flex;
		justify-content: flex-start;
		align-items: center;
		gap: 8px;
	}

	body.show-menu .menu-list .sub-list>a:after, body.show-menu .menu-list .multilevel>a:after
	{
		font-family: "icomoon";
		position: relative;
		display: block;
		content: "\e905";
		transition: all 0.3s ease;
		font-size: 10px;
	}

	body.show-menu>.menu-list .sub-list.visible-subs>a:after, body.show-menu .menu-list .multilevel.visible>a:after
	{
		transform: rotate(180deg);
	}

	body.show-menu .menu-list .sub-list.visible-subs .subjects
	{
		display: flex;
	}

	body.show-menu .menu-list a.selected
	{
		color: var(--blue);
	}

	body.show-menu>.menu-list .multilevel .submenu, body.show-menu>.menu-list .multilevel:hover .submenu
	{
		display: none;
	}

	body.show-menu>.menu-list .multilevel .submenu, body.show-menu>.menu-list .multilevel:hover .submenu
	{
		position: relative;
		
		border: none;
		transform: scale(1.0);
		top:0;
	}

	body.show-menu>.menu-list .multilevel.visible .submenu
	{
		display: flex;
		opacity: 1;
		pointer-events: initial;
		flex-direction: column;
		gap: 12px;
		justify-content: flex-start;
		align-items: flex-start;
		padding-left: 22px;
		padding-top: 14px;
	}

	body.show-menu>.menu-list .multilevel .submenu a
	{
		display: block;
		text-align: left;
		border-bottom: none;
		padding: 0;
	}

	body.show-menu>.menu-list .multilevel .submenu a:hover
	{
		background: none;
	}
}
/* Мобильная адаптация */
@media (max-width: 720px) {
    .search-suggestions {
        border-radius: 12px;
        max-height: 300px;
        min-width: auto;
    }
    
    .search-suggest-item {
        padding: 8px 14px;
        gap: 10px;
    }
    
    .search-suggest-item .suggest-title {
        font-size: 14px;
    }
    
    .search-suggest-item .suggest-icon {
        font-size: 16px;
        width: 20px;
        display: none;
    }
    
    .search-suggest-all {
        padding: 8px 14px;
    }
    
    .search-suggest-all a {
        font-size: 14px;
    }
}