


/* Start:/bitrix/templates/fancy_east/styles.css*/
.center{
	text-align:center ;
}
.hidden{
	display:none;
}
#name-error{
	text-align:center;
	color:#fd1202;
}
div.edit-form  span.pole-name{
	float:left;
	width:100px;
	display:block;
	text-align:left;
	margin-left:53px;
	font-weight:bold;
}
div.edit-form {
	margin-top:40px;
}
div.edit-form  div.pole {
	margin: 5px 0 15px 263px;	
}
span.pole-name span{
	color:#fd1202;
}
div.edit-form div.pole input {
	width:343px;
	height: 23px;
	border:0;
	background: none;
	background: url('/bitrix/templates/fancy_east/images/input-auth.png') no-repeat;
	float:left;
	padding: 0 10px;
	outline:none;
}
div.edit-form  input.next-ed{
	float:right;
	width:126px;
	height: 23px;
	border:0;
	background: none;
	cursor:pointer;
	text-decoration:underline;
	margin:20px 415px 0 0;
	background: url('/bitrix/templates/fancy_east/images/next.png');
	outline:none;
}

/* ТИПЫ НОВОСТЕЙ */
.o_type{	
	float:right;
	margin-top:-3px;
	margin-right:8px;
	width:21px;
	height:21px;
	display:block;	
}
.news_item .o_type{
	margin-top:-18px;
	margin-right:0px;
	
}
.news_mini .o_type{
	margin-top:-18px;
	margin-right:10px;
}
.o_type.p{
	background:url('/bitrix/templates/fancy_east/./images/_p.png') no-repeat;
}
.jcarousel-item:hover .o_type.p, .news_item .boxed:hover .o_type.p, .news_mini:hover .o_type.p{
	background:url('/bitrix/templates/fancy_east/./images/_p1.png') no-repeat;
}
.o_type.m{
	background:url('/bitrix/templates/fancy_east/./images/_m.png') no-repeat;
}
.jcarousel-item:hover .o_type.m, .news_item .boxed:hover .o_type.m, .news_mini:hover .o_type.m{
	background:url('/bitrix/templates/fancy_east/./images/_m1.png') no-repeat;
}
.o_type.v{
	background:url('/bitrix/templates/fancy_east/./images/_v.png') no-repeat;
}
.jcarousel-item:hover .o_type.v, .news_item .boxed:hover .o_type.v, .news_mini:hover .o_type.v{
	background:url('/bitrix/templates/fancy_east/./images/_v1.png') no-repeat;
}
.o_type.t{
	background:url('/bitrix/templates/fancy_east/./images/_t.png') no-repeat;
}
.jcarousel-item:hover .o_type.t, .news_item .boxed:hover .o_type.t, .news_mini:hover .o_type.t{
	background:url('/bitrix/templates/fancy_east/./images/_t1.png') no-repeat;
}
/***********************************/
.mid_content_deteil{
width:750px;
float:left;
}
.block_pan.right.detail{
margin-top:10px;
}
a.none {
 color: #000;
 }
 
/******Вкладки*****/

#tab_panel { 
	display:block;
	height:258px !important;
}
.news_show{
	display:block;
	height:36px;
	text-align:center;
	background: url('/bitrix/templates/fancy_east/./images/back.png');
	margin-bottom:10px;
}
.news_show span{
	font-family: "Arial", "Verdana", sans-serif;
	font-size:12px;
	cursor:pointer;
	color:#948f99;
	border-bottom:1px dashed #948f99;
}
.news_show a{
	float:left;
}
.news_show .itemA{
	padding: 9px 12px 11px 12px;
}
.news_show .itemB{
	padding: 9px 16px 11px 13px;
}
.news_show  a.ch{
	background: none;
	-webkit-border-top-left-radius: 3px;
	-moz-border-top-left-radius: 3px;
	border-top-left-radius: 3px;	
	-webkit-border-top-right-radius: 3px;
	-moz-border-top-right-radius: 3px;
	border-top-right-radius: 3px;	
	background:url('/bitrix/templates/fancy_east/./images/back_pan.png'); 
	background: rgba(255, 255, 255,0.5);   
}
.news_show  a.ch span{
	color:#ff0000;
	background: none;
	border-bottom:none;
}


.wrapper_name {
	text-align:left;
	font-size:18px;
	font-weight:bold;
	color:#f25927;
	height:43px;
	}
.wrapper_name span{
	position:absolute;
	margin-top:20px;
}
.wrapper_name span a{
	color:#f25927;
}
.wrapper_name span a:hover{
	text-decoration:underline;
}
/***********регистрация***************/
.reg-text{
	color:#fd1202;
	font-weight:bold;
	font-family: "Verdana";
font-size:13px;
width:700px;
margin:20px 0 0 80px;
text-align:left;
}
img#baner-autor{
	margin-right:20px;
}
.baner-sect{
	margin-top:10px;
}
/* End */



/* Start:/bitrix/templates/fancy_east/template_styles.css*/
/* =====================================================================
   02-A · СТИЛИ ШАБЛОНА — ПОЛНЫЙ ФАЙЛ ДЛЯ ВОССТАНОВЛЕНИЯ
   Вставлять: Настройки → Продукты → Сайты → Шаблоны сайтов →
   fancy_east → «Стили шаблона» → Ctrl+A → вставить ЦЕЛИКОМ → Сохранить
   → Сбросить кеш. Внутри уже есть весь 02-A и патч §31.
   Проверка: в конце файла строка 02-A END OK
   ===================================================================== */
/******body.css********/
body{
font-family: "Arial", "Verdana", sans-serif;
font-size:13px;
	margin:auto;
	width:100%;	
	text-align:center;
background:url('/bitrix/templates/fancy_east/./images/back.png');
behavior: url('/bitrix/templates/fancy_east/js/pie.htc');
}
div.clear {
	clear: both;
}
div.clear1 {
	clear: both;
}
#elka{
	position: fixed;
	right: 0;
	bottom: 0;
	width:140px;
	height:218px;
	background:url('/bitrix/templates/fancy_east/./images/new_year/bottom.png') no-repeat;
}
#small-elka{
	position: absolute;
	right: 0;
	top: 0;
	width:148px;
	height:174px;
	background:url('/bitrix/templates/fancy_east/./images/new_year/top.png') no-repeat;
}
footer{	
	margin:auto;
	text-align:center;		
}
.body_top{
	z-index:20;
	text-align:center;
	margin:auto;
	height:259px;
	width:100%;
	margin-bottom:-147px;
	background:url('/bitrix/templates/fancy_east/./images/header.png');
}
.body_middle{	
	z-index:20;
	text-align:center;
	margin:auto;
	width:1000px;
	min-height:600px; 
}
.body_bottom{
text-align:center;
	z-index:50;
	margin:auto;
	margin-bottom:-8px;
	width:100% !important;	
	height:100px;
	background:url('/bitrix/templates/fancy_east/./images/footer.png');
	float:left;
}
/* ! ВНИМАНИЕ ! влияет на размер страницы !!!!!!!! ! */
.body_bottom_img{
	z-index:-10;
	margin:auto;
	height:870px;
	width:100%;
	display:block;
	background:url('/bitrix/templates/fancy_east/./images/for_footer.png') no-repeat -370px 485px;
	position:relative;
	top:30px;
}
.body_bottom_img{
 float:left;
 z-index:-10;
 margin:auto;
 height:1px;
 width:100%;
 display:block;
 /*src="img/for_footer.png" background:url('/bitrix/templates/fancy_east/./images/for_footer.png') no-repeat -370px 485px;*/
 position:relative;
}
.body_bottom_img.A{ 
}
.body_bottom_img .back_img{ 
background:url('/bitrix/templates/fancy_east/./images/for_footer.png') no-repeat -370px;
width:100%;
 height:370px;
 display:block;
 margin-top:-340px;
}
/*****************************/
/*************contents.css****************/
a, img, div:focus
{ 
border:none;
outline: none !important;
}
/*  Header  */
.topper{
	width:1000px;
	margin:auto;
	height:48px;	
}
.topper .links{	
	float:left;
	margin-top:-8px;
	padding-left: 300px;
}
.topper .links li{	
	list-style: none;
	float:left;
	margin-right:38px;
}
.topper .auth{
	float:right;
	color:#fff;
	font-size:11px;
	margin-top:7px;
	}
.topper .auth a{
	color:#fff;
	text-decoration:underline;
	}
.topper .links a{
	color:#fff;
	font-size:11px;
	text-decoration:underline;
}
.topper .auth span{
	margin:0 10px;
}
.topper .links li:hover a, .topper .auth a:hover{
	text-decoration:none;	
}
.topper .search{
	float:right;
	width:200px;
	height:40px;
	margin-top:10px;
	margin-bottom:-10px;
}
.topper .search .box{
	position:relative;
	top:7px;
	left:6px;
	width:186px;
	height:24px;
	float:right;
	background:url('/bitrix/templates/fancy_east/./images/inputer.png') 1px no-repeat;
}
.topper .search .box input{
	margin-top:2px;
	margin-left:5px;
	color:#fff;
	height:16px;
	width:142px;
	float:left;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	background: none;		
	border:none;
	behavior: url('/bitrix/templates/fancy_east/js/PIE.htc');
}

.topper .search .box .find{
	border:none;
	position:relative;
	top:0px;
	left:12px;
	background:url('/bitrix/templates/fancy_east/./images/sc.png') 1px no-repeat;
	width:30px;
	height:20px;
	display:block;
	cursor:pointer;
}
.topper .search img{
	position:relative;
	top:3px;
	left:-118px;		
}
.panel_menu{
	width:1000px;
	margin:auto;
	margin-top:37px;
	min-height:20px;
	text-align:center;
}
.panel_menu a{
	float:left;
}
.logo_wrap{
	float: left;
	width:360px;
	height:160px;
	margin: -115px 0 -55px -50px;
	background:url('/bitrix/templates/fancy_east/./images/lamp_logo.png') no-repeat;	
}
.logo{
	display:block;
	width: 100%;
	height: 100%;
	
}
.navigation{
	position: relative;
	z-index: 2;
	margin-left:25px;
	float:right;	
}
.navigation li{
	float:left;		
	margin-top:-14px;
	margin-left:12px;
	list-style: none;	
}
.navigation li{
	margin-top:-14px\0/;
	background: url('/bitrix/templates/fancy_east/./images/but_.png') no-repeat;
	opacity:0.7;
	filter:alpha(opacity=76); /* IE8 only */ 
}
.navigation a{
	margin:auto;
	margin-top:7px;
	font-size:13px;
	text-decoration:none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	-webkit-border-bottom-left-radius: 0px;
	-moz-border-bottom-left-radius: 0px;
	border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-moz-border-bottom-right-radius: 0px;
	border-bottom-right-radius: 0px;
	color:#2e3192;
	width:184px;
	height:23px;
	behavior: url('/bitrix/templates/fancy_east/js/PIE2.htc'); 
	behavior: url('/bitrix/templates/fancy_east/border-radius.htc'); /*  IE border-radius */
}
.navigation li:hover{
	color:#f15a24;
	opacity:1;
	filter:none; /* IE8 only */ 
}
.navigation li:hover a{
	color:#f15a24;
}
.navigation li.ch{
	color:#f15a24;
	opacity:1;
	filter:alpha(opacity=100); /* IE8 only */
}
.navigation li.ch a{
	color:#f15a24;
}
/*  Middle  */


/* --------- */
.slider_pan{
	min-height:200px;
	width:100%;
}
.slider_pan.a{	
	margin-top:1px;
}
.slider_pan.b{
margin-top: 20px;
	border:0px dashed #ccc;
	border-bottom-width:2px;		
}
.block_pan{
	margin-top:9px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	behavior: url('/bitrix/templates/fancy_east/js/pie.htc');
	min-height:160px;
	width:730px;
	float:left;
}
.block_pan.a{		
	background:url('/bitrix/templates/fancy_east/./images/back2.png'); 
	background: rgba(128,128,128,0.1);
	behavior: url('/bitrix/templates/fancy_east/js/pie.htc');
}
.block_pan.b{
	background:url('/bitrix/templates/fancy_east/./images/back2.png'); 
	background: rgba(128,128,128,0.1);
	behavior: url('/bitrix/templates/fancy_east/js/pie.htc'); 
}
/* Правая полоса (блоки по возрастанию)*/
.block_pan.right{
	margin-top:18px;
	width:260px !important;
	text-align:right;
	float:right !important;
}
.block_mini{
	margin:auto;
	width:216px;
}
.block_mini.first{
	text-align:left;
	min-height:160px;	
	max-height:700px;	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	behavior: url('/bitrix/templates/fancy_east/js/PIE.htc');
	background:url('/bitrix/templates/fancy_east/./images/back_pan.png'); 
	background: rgba(255, 255, 255,0.5); 
}
.block_mini.a{
	margin-top:28px;
	min-height:160px;
	
}
.block_mini.b{
	margin-top:30px;
	max-height:224px;
}
.block_mini.c{		
	margin-top:30px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
	behavior: url('/bitrix/templates/fancy_east/js/PIE.htc');
	height:142px;
	background:url('/bitrix/templates/fancy_east/./images/back2.png'); 
	background: rgba(128,128,128,0.1);
}
/*  Footer  */

.bottomer{
	margin:auto;
	width:1000px;
	
}
.bottomer .links{	
	margin-top:10px;
	float:left;
	
}
.bottomer .links li{
	list-style: none;
	float:left;	
}
.bottomer .links a{
	color:#000000;
	font-size:12px;
	margin-left:14px;
	text-decoration:underline;
	padding: 2px 10px 2px 10px;
}
.bottomer .links a:hover{
	background:#f15a24;
	text-decoration:none;	
}
.soc{
	float:left;
	display:block;
	height:30px;
	width:30px;
	margin-left:4px;
	margin-top:17px;
}
.soc img{	
	height:30px;
	width:30px;
}
.copyright{
	font-style: oblique;
	letter-spacing: 0.01em;
	margin-top:6px;
	width:240px;
	height:28px;
	display:block;	
	float:right;
	text-decoration: underline;
}
.copyright:hover{
	text-decoration: none;
}
.body_bottom .block.right{
	margin-top:0px;
	background:url('/bitrix/templates/fancy_east/./images/copyright.png') no-repeat 220px 0;
	height:28px;
margin-top: 16px;
}
.on_bottom{
	font-size:11px;
	width:100%;
	margin:auto;	
	float:right;
}
.on_bottom .block{
	width:320px;
	margin:auto;		
	margin-top:10px;
	min-height:10px;
	float:left;
}
.on_bottom .block.left{
	text-align:left;
}
.on_bottom .block.left span{
	margin-left:6px;
	margin-left:6px;
	margin-left:6px;
	margin-left:6px;
}
.on_bottom .block.middle{
	text-align:center;
	margin-top:20px;
}
.on_bottom .block.middle img{
	margin-top:-6px;
}
.on_bottom .block.right{
	text-align:left;
	width:350px;
}
/*****************************/
div#RTBDIV_7124 {
	background: #fff;
	z-index: 3;
}

.my-advert {
	text-align: justify;
}

.my-item-list {
	list-style-type: decimal;
	margin-left: 0px;
	list-style-position: inside;
	padding-left: 0px;
}
 
.my-table {
	border-collapse: collapse;
	margin: 0px 0px;
} 
 
.my-table td {
	padding: 10px 17px;
	border: 1px solid black;
	border-collapse: collapse;
	text-align: center;
	margin-right: 10px;
}

.my-table .title {
	text-align: center;
	font-weight: bold;
	color: white;
	background-color: #b16638;
} 

.my-table .semi-title {
	background-color: #cccccc;
}

.my-alert {
	font-size: 10px;
	text-align: center;
	margin-right: 10px;
}

.row-gallery {
	width: 1000px;
	vertical-align: top;
	margin-bottom: 20px;
	margin-top: 20px;
	height: 400px;
}
	.row-gallery div {
		float: left;
	}

.gallery-item {
	margin: 0px 40px;
}

	.gallery-item img {
		max-width: 150px;
		border: 1px solid black;
		padding: 8px;
		border-radius: 7px; 
	}
.for-table {
	float: left;
	margin-bottom: 15px;
}

.my-text {
}


/* #####################################################################
   НИЖЕ — БЛОК «02-A» (ФАНТАЗИИ ВОСТОКА), ВЕРСИЯ 2.4 (проверена в браузере).
   Всё, что выше, — ваш исходный CSS без изменений.
   ОТКАТ: удалить всё от этой строки до конца файла.
   ##################################################################### */

/* =====================================================================
   ARAB-N.RU — ЖУРНАЛЬНЫЙ ШАБЛОН «ФАНТАЗИИ ВОСТОКА» / ВАРИАНТ 02-A
   Файл: template_styles.css  (вкладка «Стили» шаблона fancy_east)
   Палитра: Royal Emerald #0B332B · Champagne Gold #DFBE78 ·
            Antique Gold #B68B3A · Silk Travertine #F7F3EB/#FAF7F0 ·
            Black Bakhoor #1A1816
   Шрифты: Cormorant Garamond 600/700 + Montserrat 400/500/600
   ===================================================================== */

/* ---------- 1. ПЕРЕМЕННЫЕ 02-A ---------- */
body.an{
  --an-emerald:#0B332B;
  --an-emerald-h:#134E41;
  --an-emerald-d:#07241E;
  --an-gold:#DFBE78;
  --an-gold-d:#B68B3A;
  --an-gold-l:#F4DC9E;
  --an-trav:#F7F3EB;
  --an-trav-2:#FAF7F0;
  --an-white:#FFFFFF;
  --an-ink:#1A1816;
  --an-ink-2:#2B2723;
  --an-mute:#6E675C;
  --an-line:#E4DAC3;
  --an-line-2:#ECE4D2;
  --an-radius:14px;
  --an-radius-s:10px;
  --an-shadow:0 10px 30px rgba(11,51,43,.08);
  --an-shadow-s:0 4px 14px rgba(11,51,43,.06);
  --an-serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --an-sans:'Montserrat',Arial,'Helvetica Neue',sans-serif;
}

/* ---------- 2. БАЗА ---------- */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body.an{
  margin:0;
  width:100%;
  min-width:0;
  text-align:left;
  font-family:var(--an-sans);
  font-size:16px;
  line-height:1.65;
  color:var(--an-ink-2);
  background-color:var(--an-trav);
  /* «травертиновый лён» — только CSS-градиенты, без файлов */
  background-image:
    radial-gradient(1200px 420px at 50% -140px, rgba(11,51,43,.055), transparent 62%),
    radial-gradient(760px 340px at 88% 1220px, rgba(223,190,120,.13), transparent 70%),
    linear-gradient(180deg,#FAF7F0 0%,#F6F1E6 46%,#F3EDE0 100%);
  background-repeat:no-repeat;
  background-attachment:scroll;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.an *{box-sizing:border-box}
body.an img{max-width:100%;height:auto;border:0}
body.an a{color:var(--an-emerald);text-decoration:none;transition:color .18s ease}
body.an a:hover{color:var(--an-gold-d);text-decoration:none}
body.an p{margin:0 0 1em}
body.an ul,body.an ol{margin:0 0 1em;padding-left:1.15em}
body.an ul{list-style:disc}
body.an ol{list-style:decimal}
body.an li{margin:.35em 0}
body.an h1,body.an h2,body.an h3,body.an h4,body.an h5,body.an h6{
  font-family:var(--an-serif);
  color:var(--an-emerald);
  font-weight:700;
  line-height:1.22;
  margin:0 0 .5em;
  font-variant-numeric:lining-nums;
  font-feature-settings:'lnum' 1;
}
body.an h1{font-size:clamp(28px,3.4vw,42px)}
body.an h2{font-size:clamp(23px,2.4vw,30px)}
body.an h3{font-size:clamp(20px,2vw,24px)}
body.an strong,b{font-weight:600;color:var(--an-ink)}
body.an ::selection{background:rgba(223,190,120,.42);color:var(--an-ink)}
body.an :focus-visible{outline:2px solid var(--an-gold-d);outline-offset:2px;border-radius:3px}

/* убираем артефакты старого шаблона */
body.an .body_bottom_img,
body.an #elka,
body.an #small-elka,
body.an .fb-comments,
body.an #fb-root,
body.an .alt.topimg,
body.an #banner_bottom:empty,
body.an .o_type,
body.an .shadow{display:none!important}

/* ---------- 3. КОНТЕЙНЕРЫ ---------- */
body.an .an-wrap{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding:0 22px;
}
body.an header.an-header{position:relative;z-index:30}
body.an .body_middle{
  width:100%;
  max-width:1160px;
  min-height:60vh;
  margin:0 auto;
  padding:22px 22px 46px;
  text-align:left;
}
body.an .body_middle > .navigator{margin-bottom:6px}

/* сетка «контент + правая колонка» — на старых float-потоках, без grid */
body.an .body_middle > .mid_content,
body.an .body_middle > .mid_content_deteil{
  width:auto;
  max-width:none;
  float:none;
  min-width:0;
  text-align:left;
}
body.an .body_middle > .mid_content::after,
body.an .body_middle > .mid_content_deteil::after{content:"";display:table;clear:both}

/* ---------- 4. ВЕРХНЯЯ СЛУЖЕБНАЯ ПОЛОСА ---------- */
body.an .an-topbar{
  background:var(--an-emerald-d);
  color:#D9D2C2;
  font-size:12.5px;
  letter-spacing:.01em;
}
body.an .an-topbar__in{
  display:flex;
  align-items:center;
  gap:18px;
  min-height:40px;
  padding:4px 0;
}
body.an .an-topbar nav{flex:1 1 auto;min-width:0}
body.an .an-topbar ul{
  display:flex;
  flex-wrap:wrap;
  gap:4px 20px;
  margin:0;
  padding:0;
  list-style:none;
}
body.an .an-topbar li{margin:0}
body.an .an-topbar nav a{
  color:#CFC7B5;
  font-size:12.5px;
  font-weight:500;
  white-space:nowrap;
}
body.an .an-topbar nav a:hover{color:var(--an-gold)}
body.an .an-topbar .an-auth{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  color:#B9B1A0;
  font-size:12.5px;
}
body.an .an-topbar .an-auth a{color:#CFC7B5;text-decoration:none}
body.an .an-topbar .an-auth a:hover{color:var(--an-gold)}
body.an .an-topbar .an-auth .bx-system-auth-form,
body.an .an-topbar .an-auth form{display:inline-flex;align-items:center;gap:8px;margin:0}
body.an .an-topbar .an-auth span{opacity:.45}

/* ---------- 5. ШАПКА С ЛОГОТИПОМ ---------- */
body.an .an-head{
  background:
    radial-gradient(900px 200px at 82% -40px, rgba(223,190,120,.18), transparent 68%),
    linear-gradient(135deg,#0B332B 0%,#114739 58%,#07241E 100%);
  border-bottom:2px solid rgba(223,190,120,.55);
  position:relative;
}
body.an .an-head::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(223,190,120,.85),transparent);
  opacity:.55;
  pointer-events:none;
}
body.an .an-head__in{
  display:flex;
  align-items:center;
  gap:20px;
  padding:16px 0 15px;
}
body.an .an-logo{
  display:flex;
  align-items:center;
  gap:13px;
  flex:0 0 auto;
  min-width:0;
}
body.an .an-logo svg,body.an .an-logo img{
  width:52px;height:52px;
  flex:0 0 auto;
  display:block;
}
body.an .an-logo__txt{display:block;min-width:0}
body.an .an-logo__name{
  display:block;
  font-family:var(--an-serif);
  font-weight:700;
  font-size:23px;
  line-height:1.05;
  letter-spacing:.015em;
  color:var(--an-trav-2);
  white-space:nowrap;
}
body.an .an-logo__sub{
  display:block;
  margin-top:5px;
  font-size:10.5px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--an-gold);
  white-space:nowrap;
}
body.an .an-head__tools{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
}

/* кнопка-переход в магазин */
body.an .an-cta{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:11px 20px;
  border-radius:999px;
  background:linear-gradient(135deg,#E7CB8E 0%,#DFBE78 45%,#C9A059 100%);
  color:#0B332B!important;
  font-family:var(--an-sans);
  font-size:13px;
  font-weight:600;
  letter-spacing:.02em;
  white-space:nowrap;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.28);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
body.an .an-cta:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
  box-shadow:0 10px 24px rgba(0,0,0,.3);
  color:#0B332B!important;
}
body.an .an-cta .an-cta__ar{font-size:15px;line-height:1}

/* поиск в шапке */
body.an .an-search{position:relative;flex:0 0 auto}
body.an .an-search form{display:flex;align-items:center;gap:0;margin:0}
body.an .an-search input[type=text]{
  width:218px;
  height:40px;
  padding:0 42px 0 15px;
  border-radius:999px;
  border:1px solid rgba(223,190,120,.42);
  background:rgba(255,255,255,.06);
  color:var(--an-trav-2);
  font-family:var(--an-sans);
  font-size:13.5px;
  outline:none;
  transition:border-color .18s ease,background .18s ease,width .18s ease;
}
body.an .an-search input[type=text]::placeholder{color:rgba(247,243,235,.55)}
body.an .an-search input[type=text]:focus{
  border-color:var(--an-gold);
  background:rgba(255,255,255,.12);
  width:238px;
}
body.an .an-search input[type=submit],
body.an .an-search .find{
  position:absolute;
  top:50%;
  right:5px;
  transform:translateY(-50%);
  width:32px;height:32px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--an-gold);
  font-size:16px;
  line-height:1;
  cursor:pointer;
  padding:0;
}
body.an .an-search input[type=submit]:hover,
body.an .an-search .find:hover{background:rgba(223,190,120,.16);color:var(--an-gold-l)}

/* ---------- 6. НАВИГАЦИЯ ПО РУБРИКАМ ---------- */
body.an .an-nav{
  background:rgba(7,36,30,.55);
  border-top:1px solid rgba(223,190,120,.22);
  backdrop-filter:saturate(120%) blur(2px);
}
body.an .an-nav__in{
  display:flex;
  align-items:center;
  gap:6px;
  min-height:52px;
}
body.an .an-nav nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px;
}
body.an .an-nav nav ul{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
  width:auto;
}
body.an .an-nav nav > li{
  display:block;
  float:none;
  width:auto;
  margin:0;
  list-style:none;
}
body.an .an-nav ul{
  display:flex;
  flex-wrap:wrap;
  gap:2px;
  margin:0;
  padding:0;
  list-style:none;
}
body.an .an-nav li{margin:0}
body.an .an-nav nav a{
  display:block;
  padding:9px 15px;
  border-radius:999px;
  color:#E6DFD0;
  font-size:13.5px;
  font-weight:500;
  letter-spacing:.015em;
  white-space:nowrap;
  border:1px solid transparent;
  transition:background .16s ease,color .16s ease,border-color .16s ease;
}
body.an .an-nav nav a:hover,
body.an .an-nav nav li.ch > a,
body.an .an-nav nav .selected > a{
  background:rgba(223,190,120,.14);
  border-color:rgba(223,190,120,.42);
  color:var(--an-gold-l);
}
body.an .an-nav .an-nav__all{
  flex:0 0 auto;
  color:var(--an-gold)!important;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
  padding:9px 0 9px 14px;
}

/* кнопка мобильного меню */
body.an .an-burger{
  display:none;
  align-items:center;
  gap:9px;
  height:42px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid rgba(223,190,120,.5);
  background:rgba(223,190,120,.1);
  color:var(--an-trav-2);
  font-family:var(--an-sans);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  cursor:pointer;
}
body.an .an-burger i,
body.an .an-burger i::before,
body.an .an-burger i::after{
  display:block;
  width:18px;height:2px;
  border-radius:2px;
  background:var(--an-gold);
  content:"";
}
body.an .an-burger i{position:relative}
body.an .an-burger i::before{position:absolute;top:-6px;left:0}
body.an .an-burger i::after{position:absolute;top:6px;left:0}

/* выдвижное меню */
body.an .an-drawer{
  position:fixed;
  inset:0 0 0 auto;
  width:min(360px,88vw);
  z-index:120;
  background:linear-gradient(160deg,#0B332B 0%,#114739 62%,#07241E 100%);
  border-left:1px solid rgba(223,190,120,.35);
  box-shadow:-20px 0 60px rgba(0,0,0,.35);
  padding:22px 22px 34px;
  overflow-y:auto;
  transform:translateX(102%);
  transition:transform .26s cubic-bezier(.4,.02,.2,1);
  visibility:hidden;
}
body.an.an-menu-open .an-drawer{transform:translateX(0);visibility:visible}
body.an .an-drawer__close{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;height:38px;
  margin:0 0 16px auto;
  border-radius:50%;
  border:1px solid rgba(223,190,120,.45);
  background:transparent;
  color:var(--an-gold);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
body.an .an-drawer h4{
  margin:18px 0 10px;
  font-family:var(--an-sans);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--an-gold);
}
body.an .an-drawer ul{margin:0;padding:0;list-style:none}
body.an .an-drawer li{margin:0}
body.an .an-drawer a{
  display:block;
  padding:11px 2px;
  color:#EDE7DA;
  font-size:15px;
  border-bottom:1px solid rgba(223,190,120,.14);
}
body.an .an-drawer a:hover{color:var(--an-gold)}
body.an .an-drawer__cta{margin:22px 0 0;width:100%;justify-content:center}
body.an .an-overlay{
  position:fixed;
  inset:0;
  z-index:110;
  background:rgba(7,36,30,.55);
  backdrop-filter:blur(2px);
  opacity:0;
  visibility:hidden;
  transition:opacity .26s ease,visibility .26s ease;
}
body.an.an-menu-open .an-overlay{opacity:1;visibility:visible}
body.an.an-menu-open{overflow:hidden}

/* ---------- 7. ХЛЕБНЫЕ КРОШКИ ---------- */
body.an .navigator{margin:0 0 14px}
body.an .breadcrumb-navigation{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:12.5px;
  color:var(--an-mute);
}
body.an .breadcrumb-navigation li{display:inline-flex;align-items:center;margin:0}
body.an .breadcrumb-navigation .separator{color:var(--an-gold-d);opacity:.65;font-size:11px}
body.an .breadcrumb-navigation a{color:var(--an-mute)}
body.an .breadcrumb-navigation a:hover{color:var(--an-emerald)}
body.an .navigator .navi_page{font-weight:500}

/* ---------- 8. ПРАВАЯ КОЛОНКА ---------- */
body.an #right_panel > div > br,
body.an #right_panel > br{display:none}
body.an #right_panel .block_mini.first{
  background:var(--an-white)!important;
  border:1px solid var(--an-line);
  border-radius:var(--an-radius);
  box-shadow:var(--an-shadow-s);
  margin:0 0 20px!important;
  padding:16px 14px 14px;
  overflow:hidden;
}
body.an #right_panel .news_show{
  display:flex;
  gap:6px;
  height:auto!important;
  margin:0 0 12px!important;
  padding:0 0 10px;
  background:none!important;
  border-bottom:1px solid var(--an-line-2);
  text-align:left;
}
body.an #right_panel .news_show a{
  float:none;
  display:inline-block;
  padding:6px 12px!important;
  border-radius:999px;
  background:var(--an-trav-2);
  border:1px solid var(--an-line-2);
}
body.an #right_panel .news_show a.ch{
  background:var(--an-emerald)!important;
  border-color:var(--an-emerald);
}
body.an #right_panel .news_show span{
  font-family:var(--an-sans);
  font-size:11.5px!important;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--an-mute)!important;
  border-bottom:none!important;
  cursor:pointer;
}
body.an #right_panel .news_show a.ch span{color:var(--an-gold)!important}
body.an #right_panel #tab_panel_recomend,
body.an #right_panel .block_mini.first{height:auto!important;max-height:none!important}
body.an #right_panel .news_mini,
body.an .block_pan.right .news_mini{
  width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 8px!important;
  padding:8px 6px!important;
  border-radius:var(--an-radius-s);
  background:transparent;
  transition:background .16s ease;
}
body.an #right_panel .news_mini:hover,
body.an .block_pan.right .news_mini:hover{background:var(--an-trav-2)!important}
body.an #right_panel .news_mini img,
body.an .block_pan.right .news_mini img{
  float:left;
  width:66px!important;
  height:52px!important;
  object-fit:cover;
  border:1px solid var(--an-line)!important;
  border-radius:8px;
  margin:2px 11px 4px 0!important;
  z-index:auto;
}
body.an #right_panel .news_mini .date,
body.an .block_pan.right .news_mini .date{
  font-size:10.5px!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--an-gold-d)!important;
  width:auto!important;
  margin:0 0 2px!important;
  display:block;
}
body.an #right_panel .news_mini .info,
body.an .block_pan.right .news_mini .info{
  width:auto!important;
  font-size:12.5px!important;
  line-height:1.42;
  color:var(--an-ink-2)!important;
  margin:0!important;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
body.an #right_panel .news_mini:hover .info{text-decoration:none!important}
body.an #right_panel .news_mini .img_wrap{display:none!important}

/* баннеры в правой колонке — аккуратные карточки */
body.an #banner_top,
body.an #banner_middle,
body.an #banner_top2{
  margin:0 0 18px!important;
  text-align:center;
  width:auto;
  float:none;
}
body.an #banner_top img,
body.an #banner_middle img,
body.an #banner_top2 img{
  display:block;
  width:100%!important;
  height:auto!important;
  max-width:100%;
  margin:0!important;
  border:1px solid var(--an-line)!important;
  border-radius:var(--an-radius);
  box-shadow:var(--an-shadow-s);
  object-fit:cover;
}
body.an #right_panel > div > a > img{
  border:1px solid var(--an-line)!important;
  border-radius:var(--an-radius);
  max-width:100%;
  height:auto;
}

/* опрос */
body.an .quest_board{
  background:var(--an-white);
  border:1px solid var(--an-line);
  border-radius:var(--an-radius);
  padding:16px 16px 18px;
  box-shadow:var(--an-shadow-s);
}
body.an .quest_board .question{
  font-family:var(--an-serif);
  font-size:19px;
  font-weight:700;
  color:var(--an-emerald);
  line-height:1.25;
  margin-bottom:10px;
}
body.an .quest_board .rad_item{display:flex;align-items:flex-start;gap:9px;margin:8px 0}
body.an .quest_board .rad_item input[type=radio]{accent-color:var(--an-emerald);margin-top:3px}
body.an .quest_board label{font-size:13px;line-height:1.4;cursor:pointer;color:var(--an-ink-2)}
body.an .quest_board .inbutton{
  width:100%;
  height:42px;
  margin-top:14px;
  border:0;
  border-radius:999px;
  background:var(--an-emerald);
  color:var(--an-gold);
  font-family:var(--an-sans);
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  background-image:none!important;
  transition:background .18s ease;
}
body.an .quest_board .inbutton:hover{background:var(--an-emerald-h)}

/* ---------- 9. ПОДВАЛ ---------- */
body.an footer.an-footer{
  margin-top:26px;
  background:
    radial-gradient(700px 260px at 12% 0,rgba(223,190,120,.14),transparent 70%),
    linear-gradient(160deg,#0B332B 0%,#0A2E27 55%,#07241E 100%);
  color:#CFC7B5;
  border-top:2px solid rgba(223,190,120,.5);
}
body.an .an-footer__in{padding:38px 0 26px}
body.an .an-footer__grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:30px 34px;
  align-items:start;
}
body.an .an-footer h4{
  margin:0 0 14px;
  font-family:var(--an-sans);
  font-size:10.5px;
  font-weight:600;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:var(--an-gold);
}
body.an .an-footer ul{margin:0;padding:0;list-style:none}
body.an .an-footer li{margin:0 0 9px}
body.an .an-footer a{color:#D8D1C1;font-size:13.5px}
body.an .an-footer a:hover{color:var(--an-gold)}
body.an .an-footer__brand{max-width:360px}
body.an .an-footer__logo{display:flex;align-items:center;gap:12px;margin-bottom:14px}
body.an .an-footer__logo svg,
body.an .an-footer__logo img{width:44px;height:44px;flex:0 0 auto}
body.an .an-footer__logo b{
  display:block;
  font-family:var(--an-serif);
  font-size:20px;
  font-weight:700;
  color:var(--an-trav-2);
  line-height:1.1;
}
body.an .an-footer__logo span{
  display:block;
  margin-top:4px;
  font-size:9.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--an-gold);
}
body.an .an-footer__desc{font-size:13px;line-height:1.6;color:#B9B1A0;margin:0 0 16px}
body.an .an-footer__social{display:flex;gap:10px;flex-wrap:wrap}
body.an .an-footer__social a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(223,190,120,.35);
  background:rgba(255,255,255,.04);
  font-size:12.5px;
  font-weight:500;
  color:#EDE7DA;
}
body.an .an-footer__social a:hover{
  border-color:var(--an-gold);
  background:rgba(223,190,120,.14);
  color:var(--an-gold-l);
}
body.an .an-footer__social svg{width:15px;height:15px;fill:currentColor;flex:0 0 auto}
body.an .an-footer__bottom{
  margin-top:30px;
  padding-top:18px;
  border-top:1px solid rgba(223,190,120,.18);
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:#9E9788;
}
body.an .an-footer__bottom a{color:#B9B1A0;font-size:12px}
body.an .an-footer__legal{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0;padding:0;list-style:none}
body.an .an-footer__counters{display:flex;align-items:center;gap:12px;opacity:.75}

/* ---------- 10. АДАПТИВ ---------- */
@media (max-width:1100px){
  body.an .an-logo__name{font-size:21px}
  body.an .an-search input[type=text]{width:170px}
  body.an .an-search input[type=text]:focus{width:186px}
}
@media (max-width:999px){
  body.an .body_middle{display:block;padding:18px 18px 38px}
  body.an .an-wrap{padding:0 18px}
  body.an .an-nav{display:none}
  body.an .an-burger{display:inline-flex}
  body.an .an-head__in{gap:14px;padding:13px 0}
  body.an .an-search{display:none}
  body.an .an-cta{padding:10px 16px;font-size:12.5px}
  body.an .an-footer__grid{grid-template-columns:1fr 1fr;gap:26px}
  body.an .an-footer__brand{grid-column:1/-1;max-width:none}
}
@media (max-width:720px){
  body.an{font-size:15.5px}
  body.an .body_middle{padding:14px 14px 34px}
  body.an .an-wrap{padding:0 14px}
  body.an .an-logo svg,body.an .an-logo img{width:40px;height:40px}
  body.an .an-logo__name{font-size:18px;white-space:normal;line-height:1.1}
  body.an .an-logo__sub{font-size:8.5px;letter-spacing:.12em;white-space:normal}
  body.an .an-cta{display:none}
  body.an .an-topbar{font-size:11.5px}
  body.an .an-topbar__in{min-height:34px}
  body.an .an-topbar nav{display:none}
  body.an .an-topbar .an-auth{margin-left:auto}
  body.an .an-footer__grid{grid-template-columns:1fr}
  body.an .an-footer__in{padding:28px 0 20px}
  body.an .an-footer__bottom{flex-direction:column;align-items:flex-start;gap:10px}
}
@media (max-width:420px){
  body.an .an-logo__sub{display:none}
}

/* ---------- 11. ПЕЧАТЬ ---------- */
@media print{
  body.an{background:#fff!important}
  body.an .an-topbar,body.an .an-nav,body.an .an-burger,body.an .an-drawer,
  body.an .an-overlay,body.an #right_panel,body.an footer.an-footer,
  body.an .slider_pan,body.an #social_box,body.an .an-crumbs-print{display:none!important}
  body.an .body_middle{display:block!important;max-width:none;padding:0}
  body.an a{color:#000!important;text-decoration:none}
}


/* =====================================================================
   12. ГЛАВНАЯ: ГЛАВНЫЙ МАТЕРИАЛ (#slider_top) — без «пилюль» и без grid
   ===================================================================== */
body.an .slider_pan{width:100%!important;min-height:0!important;float:none!important;margin:0 0 24px!important;display:block}
body.an .slider_pan.b,body.an .slider_pan.bottom{border:0!important}
body.an .slider_top_clip{display:none}

/* обёртка-ссылка внутри «главного материала» — не кнопка */
body.an #slider_top .left_box > a,
body.an #slider_top .iBoxer > a{
  display:block!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;background:none!important;
  border-radius:0!important;box-shadow:none!important;color:inherit!important;
  font-size:inherit!important;letter-spacing:normal!important;text-transform:none!important;
}
body.an #slider_top .left_box > a::after,
body.an #slider_top .iBoxer > a::after{content:none!important}

body.an #slider_top{
  width:100%!important;height:auto!important;min-height:0!important;
  margin:0!important;float:none!important;
  background:#fff!important;border:1px solid var(--an-line);
  border-radius:var(--an-radius);box-shadow:var(--an-shadow);
  overflow:hidden;font-family:var(--an-sans);
}
body.an #slider_top::after{content:"";display:table;clear:both}
body.an #slider_top .left_box{
  float:left!important;width:56%!important;
  padding:26px 28px 22px;
  background:radial-gradient(420px 200px at 0% 0,rgba(223,190,120,.10),transparent 70%),#fff;
}
body.an #slider_top .iBoxer::before{
  content:"Главное за неделю";display:block;margin-bottom:10px;
  font-size:10.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--an-gold-d);
}
body.an #slider_top .name{
  height:auto!important;width:auto!important;margin:0 0 12px!important;
  font-family:var(--an-serif)!important;font-size:clamp(22px,2.4vw,32px)!important;
  font-weight:700!important;line-height:1.18;color:var(--an-emerald)!important;
}
body.an #slider_top .info{
  height:auto!important;width:auto!important;margin:0 0 14px!important;
  font-size:14.5px;line-height:1.6;color:var(--an-mute)!important;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;
}
body.an #slider_top .info p{margin:0}
body.an #slider_top .right_box{
  float:right!important;width:44%!important;height:auto;min-height:100%;
  position:relative;background:var(--an-emerald-d);
}
body.an #slider_top .right_box a{display:block}
body.an #slider_top .right_box img{
  display:block;width:100%!important;height:100%!important;min-height:320px;
  max-width:none;margin:0!important;border:0!important;object-fit:cover;
}

/* миниатюры — маленькие картинки без текста */
body.an .news_slider{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;
  margin:16px 0 0!important;padding:14px 0 0!important;border-top:1px solid var(--an-line-2);
}
body.an .news_slider .item{
  position:relative!important;float:none!important;display:block!important;
  width:72px!important;height:52px!important;flex:0 0 auto!important;
  margin:0!important;padding:0!important;overflow:hidden!important;border-radius:8px;cursor:pointer;
}
body.an .news_slider .item img,
body.an .news_slider img{
  display:block!important;width:72px!important;height:52px!important;max-width:none!important;
  object-fit:cover;border-radius:8px!important;opacity:.8;
  transition:opacity .16s ease,transform .16s ease;
}
body.an .news_slider .item:hover img,
body.an .news_slider img.ch{opacity:1;transform:translateY(-1px)}
body.an .news_slider .name,
body.an .news_slider .info{display:none!important}

/* баннер, который стоит внутри .slider_pan.a рядом с главным материалом */
body.an .slider_pan.a > #banner_top{display:block;margin:18px 0 0!important;text-align:center}
body.an .slider_pan.a > #banner_top img{
  display:block;width:100%!important;height:auto!important;max-height:220px!important;
  object-fit:cover;margin:0!important;border-radius:var(--an-radius);border:1px solid var(--an-line)!important;
}

/* =====================================================================
   13. ЛЕНТА РУБРИК: сохраняем старую float-сетку, меняем только вид
   ===================================================================== */
body.an .mid_content{width:100%!important;float:none!important;min-width:0;text-align:left}
body.an .mid_content > .block_pan.left{
  float:left!important;width:calc(100% - 290px)!important;
  margin:0!important;min-width:0;
}
body.an #right_panel,
body.an .mid_content > .block_pan.right{
  float:right!important;width:270px!important;
  margin:0!important;text-align:left;
}
body.an .block_pan,
body.an .block_pan.a,
body.an .block_pan.b{
  float:none!important;width:auto!important;min-height:0!important;
  margin:0 0 22px!important;padding:20px 20px 10px;
  background:#fff!important;border:1px solid var(--an-line);
  border-radius:var(--an-radius);box-shadow:var(--an-shadow-s);
}
body.an .block_pan.a .content,body.an .block_pan.b .content{margin:0!important}
body.an .block_pan.left > a{display:block;margin:0 0 18px}
body.an img.baner-sect{display:block;width:100%!important;height:auto!important;border-radius:var(--an-radius);border:1px solid var(--an-line)}

/* карточка рубрики */
body.an .news_item{
  float:left!important;
  width:calc(33.333% - 14px)!important;
  margin:0 21px 22px 0!important;
  padding:0;min-height:0!important;text-align:left;
}
body.an .news_item:nth-child(3n){margin-right:0!important}
body.an .news_item > a.name,
body.an .wrapper_name span a,
body.an .wrapper_name a{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--an-sans);font-size:11.5px!important;font-weight:600!important;
  letter-spacing:.14em;text-transform:uppercase;color:var(--an-emerald)!important;
  text-decoration:none!important;padding:0 0 8px;border-bottom:1px solid var(--an-line-2);margin-bottom:12px;
}
body.an .news_item > a.name::before,
body.an .wrapper_name a::before{content:"✦";color:var(--an-gold-d);font-size:11px;line-height:1}
body.an .news_item > a.name:hover,body.an .wrapper_name a:hover{color:var(--an-gold-d)!important}
body.an .news_item .boxed{padding:0!important;margin:0!important;background:none!important;border-radius:var(--an-radius-s);overflow:hidden}
body.an .news_item img{
  display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;
  object-fit:cover;border:0!important;border-radius:var(--an-radius-s);margin:0 0 10px!important;
  transition:transform .3s ease;
}
body.an .news_item:hover img{transform:scale(1.02)}
body.an .boxed .inname{
  font-family:var(--an-serif);font-size:18.5px!important;font-weight:700!important;line-height:1.24;
  color:var(--an-ink)!important;text-decoration:none!important;margin:0 0 6px;
}
body.an .boxed:hover .inname{color:var(--an-emerald)!important;text-decoration:none!important}
body.an .news_item .date,body.an .boxed .date,body.an .news_mini .date{
  font-size:10.5px!important;font-weight:500;letter-spacing:.05em;color:var(--an-gold-d)!important;
}
body.an .news_item .info,body.an .boxed .info{
  width:auto!important;margin-top:5px;font-size:12.5px;line-height:1.5;color:var(--an-mute)!important;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
}
body.an .boxed .info p{margin:0}
body.an .news_item .news_mini.a{display:block;margin-top:12px;padding-top:12px;border-top:1px dashed var(--an-line-2)}
body.an .news_mini span.line{display:none}
body.an .news_item .news_mini img{
  float:left;width:64px!important;height:48px!important;aspect-ratio:auto;
  border-radius:7px;margin:2px 10px 4px 0!important;
}
body.an .news_item .news_mini .info{font-size:12px!important;-webkit-line-clamp:2}

/* полосы-заголовки («Смотрите также») */
body.an .wrapper_name{height:auto!important;margin:0 0 14px!important;padding:0;font-size:18px!important;color:var(--an-emerald)!important}
body.an .wrapper_name span{position:static!important;margin:0!important}

/* =====================================================================
   14. КАРУСЕЛЬ
   ===================================================================== */
body.an #wrapper{
  height:auto!important;margin:0 0 22px!important;padding:18px 14px 10px;
  background:#fff;border:1px solid var(--an-line);border-radius:var(--an-radius);box-shadow:var(--an-shadow-s);
}
body.an .d-carousel .jcarousel-container{float:none!important;margin:0!important;padding:0 40px!important;width:auto!important;overflow:hidden}
body.an .d-carousel .jcarousel-container-horizontal{width:auto!important;max-width:none}
body.an .d-carousel .jcarousel-item{width:236px!important;height:auto!important}
body.an .d-carousel ul li{width:236px!important;border-radius:var(--an-radius-s);background:none!important}
body.an .d-carousel ul li:hover{background:var(--an-trav-2)!important}
body.an .carousel{height:auto!important}
body.an .carousel img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover;border:0!important;border-radius:var(--an-radius-s);margin:0!important}
body.an .carousel .info{
  width:100%!important;margin:8px 0 0!important;font-family:var(--an-serif);font-size:16px;font-weight:700;
  line-height:1.24;color:var(--an-ink)!important;overflow:hidden;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
}
body.an .carousel .date{margin:6px 0 0!important;width:auto!important;font-size:10.5px!important;color:var(--an-gold-d)!important}
body.an .d-carousel .jcarousel-next-horizontal,
body.an .d-carousel .jcarousel-prev-horizontal{
  top:calc(50% - 20px)!important;width:36px!important;height:36px!important;border-radius:50%!important;
  background:var(--an-trav-2)!important;border:1px solid var(--an-line)!important;box-shadow:var(--an-shadow-s);
}
body.an .d-carousel .jcarousel-next-horizontal::after,
body.an .d-carousel .jcarousel-prev-horizontal::after{
  content:"";position:absolute;top:50%;left:50%;width:9px;height:9px;
  border-top:2px solid var(--an-emerald);border-right:2px solid var(--an-emerald);
}
body.an .d-carousel .jcarousel-next-horizontal::after{transform:translate(-60%,-50%) rotate(45deg)}
body.an .d-carousel .jcarousel-prev-horizontal::after{transform:translate(-40%,-50%) rotate(-135deg)}
body.an .d-carousel .jcarousel-next-horizontal{right:0!important;margin:0!important}
body.an .d-carousel .jcarousel-prev-horizontal{left:0!important;margin:0!important}

/* =====================================================================
   15. РАЗДЕЛ (СПИСОК СТАТЕЙ) — старые панели, только новый вид
   ===================================================================== */
body.an #news_panelTop,
body.an .block_pan.b.top,
body.an #news_panelB{
  float:none!important;width:auto!important;
  background:#fff!important;border:1px solid var(--an-line);border-radius:var(--an-radius);
  box-shadow:var(--an-shadow-s);padding:20px 20px 4px;margin:0 0 20px!important;
}
body.an .just_line{display:none}
body.an #news_panelB::after,body.an #news_panelTop::after{content:"";display:table;clear:both}
body.an #news_panelA.block_pan.news{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
body.an #news_panelA.block_pan.news #top_article{
  background:#fff;border:1px solid var(--an-line);border-radius:var(--an-radius);
  box-shadow:var(--an-shadow-s);padding:22px 24px 18px;margin:0 0 20px;
}
body.an #news_panelA.block_pan.news #top_article::after{content:"";display:table;clear:both}
body.an div.modern-page-navigation{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;
  margin:4px 0 22px!important;font-size:14px!important;color:var(--an-emerald)!important;
}
body.an div.modern-page-navigation a,
body.an div.modern-page-navigation span{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;
  border-radius:999px;border:1px solid var(--an-line);background:#fff;color:var(--an-emerald)!important;
  font-size:13px!important;font-weight:600!important;text-decoration:none!important;
}
body.an div.modern-page-navigation a:hover{border-color:var(--an-gold-d);color:var(--an-gold-d)!important}
body.an div.modern-page-navigation span.modern-page-current{
  background:var(--an-emerald)!important;border-color:var(--an-emerald)!important;color:var(--an-gold)!important;font-size:13px!important;
}

/* =====================================================================
   16. СТРАНИЦА СТАТЬИ
   ===================================================================== */
body.an .mid_content_deteil{
  float:left!important;width:calc(100% - 300px)!important;
  margin:0!important;min-width:0;text-align:left;
}
body.an .body_middle > .mid_content_deteil + #right_panel,
body.an .body_middle > .mid_content_deteil ~ #right_panel{float:right!important}
body.an #news_panelB.block_pan.b{
  background:none!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;width:100%!important;font-size:16px;
}
body.an #news_panelB .left_box{float:none!important;width:100%!important;text-align:left}
body.an #news_panelB .left_box p{margin:0 0 1em;text-align:left}
body.an #news_panelB .right_box{
  float:none!important;width:100%!important;text-align:left;
  margin:24px 0 0!important;padding:18px 18px 6px;
  background:var(--an-trav-2);border:1px solid var(--an-line);border-radius:var(--an-radius);
}
body.an #news_panelB .right_box .top_mini_title{
  float:none!important;width:auto!important;height:auto!important;
  margin:0 0 14px!important;padding:0 0 10px;background:none!important;border-bottom:1px solid var(--an-line-2);
}
body.an #news_panelB .right_box .top_mini_title .text_top{
  position:static!important;margin:0!important;font-size:10.5px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--an-gold-d)!important;
}
body.an #news_panelB .right_box section.content{display:flex!important;flex-wrap:wrap;gap:0}
body.an #news_panelB .right_box .boxed{
  float:left!important;width:calc(33.333% - 12px)!important;height:auto!important;
  margin:0 18px 16px 0!important;padding:0 0 12px!important;border-bottom:1px solid var(--an-line-2);
  background:none!important;
}
body.an #news_panelB .right_box .boxed:nth-child(3n){margin-right:0!important}
body.an #news_panelB .right_box img{
  display:block;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;
  margin:0 0 9px!important;border:0!important;border-radius:var(--an-radius-s);
}
body.an #news_panelB .right_box .wrapper{margin:0!important}
body.an #news_panelB .right_box .inname{
  font-family:var(--an-serif);font-size:16px!important;font-weight:700!important;line-height:1.24;
  color:var(--an-ink)!important;text-decoration:none!important;
}
body.an #news_panelB .right_box .info{font-size:12px!important;line-height:1.45;color:var(--an-mute)!important;margin-top:4px!important}

/* сама статья */
body.an #news_panelA.block_pan.news{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
body.an #top_article{
  width:100%!important;text-align:left;background:#fff;border:1px solid var(--an-line);
  border-radius:var(--an-radius);box-shadow:var(--an-shadow);
  padding:clamp(20px,2.4vw,32px) clamp(18px,2.6vw,34px) 24px;
}
body.an #top_article::after{content:"";display:table;clear:both}
body.an #top_article .article{width:100%!important;float:none!important;margin:0!important;line-height:1.7}
body.an #top_article .inname{
  display:block;margin:0 0 12px!important;font-family:var(--an-serif)!important;
  font-size:clamp(25px,3vw,38px)!important;font-weight:700!important;line-height:1.16;
  color:var(--an-emerald)!important;text-decoration:none!important;
}
body.an #top_article .date{
  display:inline-block;float:none!important;width:auto!important;margin:0 12px 8px 0!important;
  padding:5px 12px;border-radius:999px;background:var(--an-trav-2);
  border:1px solid var(--an-line-2);font-size:11.5px!important;color:var(--an-mute)!important;
}
body.an #art_marks{float:none!important;display:inline-flex;align-items:center;vertical-align:middle;margin:0 0 8px!important}
body.an #top_image{
  float:none!important;display:block;width:100%!important;height:auto!important;
  aspect-ratio:16/9;object-fit:cover;margin:14px 0 16px!important;border:0!important;
  border-radius:var(--an-radius);box-shadow:var(--an-shadow-s);
}
body.an #top_article .tegs{margin:0 0 14px!important;font-size:12px;color:var(--an-mute)!important;line-height:2}
body.an #top_article .tegs a{
  display:inline-block;margin:0 6px 0 0;padding:4px 12px;border-radius:999px;
  background:var(--an-trav-2);border:1px solid var(--an-line-2);color:var(--an-emerald)!important;
  font-size:11.5px;font-weight:500;
}
body.an #top_article .tegs a:hover{background:var(--an-emerald);color:var(--an-gold)!important;border-color:var(--an-emerald)}
body.an #top_article .info,body.an div.info#rex{
  float:none!important;width:100%!important;margin:0!important;
  font-size:16.5px;line-height:1.72;color:var(--an-ink-2)!important;text-align:left;
}
body.an div.info#rex > p:first-of-type{font-size:18px;line-height:1.6;color:var(--an-ink)}
body.an div.info#rex h2{margin:32px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--an-line-2);font-size:clamp(22px,2.2vw,28px)}
body.an div.info#rex h3{margin:26px 0 12px;font-size:21px;color:var(--an-emerald)}
body.an div.info#rex a{color:var(--an-emerald);font-weight:600;text-decoration:underline;text-decoration-color:rgba(223,190,120,.7);text-underline-offset:3px}
body.an div.info#rex a:hover{color:var(--an-gold-d)}
body.an div.info#rex img{max-width:100%;height:auto;border-radius:var(--an-radius-s)}
body.an div.info#rex ul,body.an div.info#rex ol{padding-left:22px}
body.an div.info#rex li{margin:.4em 0}
body.an div.info#rex blockquote{
  margin:22px 0;padding:16px 22px;border-left:3px solid var(--an-gold);background:var(--an-trav-2);
  border-radius:0 var(--an-radius-s) var(--an-radius-s) 0;
  font-family:var(--an-serif);font-size:20px;line-height:1.5;color:var(--an-emerald);
}
body.an div.info#rex blockquote p{margin:0}
body.an div.info#rex table{width:100%!important;max-width:100%;border-collapse:collapse;margin:20px 0}
body.an div.info#rex table td{padding:0 7px 12px;vertical-align:top}
body.an div.info#rex hr{border:0;border-top:1px solid var(--an-line-2);margin:26px 0}
body.an div.info#rex iframe,body.an div.info#rex video{max-width:100%;border-radius:var(--an-radius-s)}

/* комментарии */
body.an #social_box{
  float:none!important;margin:22px 0 0!important;padding:18px 18px 6px;
  background:#fff;border:1px solid var(--an-line);border-radius:var(--an-radius);box-shadow:var(--an-shadow-s);
}
body.an #social_box #vk_comments{float:none!important;width:100%!important;max-width:100%;overflow:hidden}
body.an .dashed_divider{display:none}
body.an .middle_box{float:none!important;width:100%!important}

/* =====================================================================
   17. ФОРМЫ
   ===================================================================== */
body.an .title3{font-family:var(--an-serif);font-size:clamp(23px,2.4vw,30px);font-weight:700;color:var(--an-emerald);margin:0 0 16px}
body.an div.mfeedback{
  width:100%!important;height:auto!important;max-width:680px;margin:0 0 28px!important;padding:24px 24px 18px;
  background:#fff;border:1px solid var(--an-line);border-radius:var(--an-radius);box-shadow:var(--an-shadow-s);
}
body.an div.mfeedback .mf-text{margin:0 0 6px;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--an-mute)}
body.an div.mfeedback .mf-req{color:#B3261E;margin-left:2px}
body.an div.mfeedback input[type=text],
body.an div.mfeedback input[type=email],
body.an div.mfeedback textarea,
body.an .bx-auth-reg input[type=text],
body.an .bx-auth-reg input[type=password],
body.an .bx-auth-reg input[type=email],
body.an .bx-system-auth-form input[type=text],
body.an .bx-system-auth-form input[type=password]{
  width:100%!important;max-width:100%;float:none!important;margin:0 0 14px!important;padding:12px 15px;
  border:1px solid var(--an-line);border-radius:var(--an-radius-s);background:var(--an-trav-2);
  font-family:var(--an-sans);font-size:15px;color:var(--an-ink);outline:none;
}
body.an div.mfeedback textarea{min-height:150px;resize:vertical;line-height:1.6}
body.an div.mfeedback input:focus,body.an div.mfeedback textarea:focus,body.an .bx-auth-reg input:focus{
  border-color:var(--an-gold-d);background:#fff;box-shadow:0 0 0 3px rgba(223,190,120,.22);
}
body.an div.mfeedback input[type=submit],
body.an .bx-auth-reg input[type=submit],
body.an .bx-system-auth-form input[type=submit],
body.an input.next,body.an input.next-ed,body.an input.button{
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 26px;
  border:0!important;border-radius:999px;background:var(--an-emerald)!important;background-image:none!important;
  color:var(--an-gold)!important;font-family:var(--an-sans);font-size:12.5px;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;cursor:pointer;text-decoration:none!important;
}
body.an div.mfeedback input[type=submit]:hover,
body.an .bx-auth-reg input[type=submit]:hover,
body.an input.next:hover,body.an input.next-ed:hover{background:var(--an-emerald-h)!important}
body.an .mf-captcha{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}

/* согласие 152-ФЗ */
body.an .an-consent{
  display:flex;align-items:flex-start;gap:10px;margin:2px 0 16px;padding:12px 14px;
  background:var(--an-trav-2);border:1px solid var(--an-line-2);border-radius:var(--an-radius-s);
  font-size:12.5px;line-height:1.5;color:var(--an-mute);
}
body.an .an-consent input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:var(--an-emerald);cursor:pointer}
body.an .an-consent label{cursor:pointer}
body.an .an-consent a{color:var(--an-emerald);font-weight:600;text-decoration:underline}
body.an .an-consent.is-error{border-color:#D1462F;background:#FDF1EE}

/* регистрация: страны/рубрики */
body.an .contry{
  display:inline-block;vertical-align:top;width:calc(25% - 14px);margin:0 10px 14px 0;padding:8px;
  background:#fff;border:1px solid var(--an-line-2);border-radius:var(--an-radius-s);cursor:pointer;
  text-align:center;transition:border-color .16s ease,box-shadow .16s ease;
}
body.an .contry:hover{border-color:var(--an-gold-d);box-shadow:var(--an-shadow-s)}
body.an .contry.act{border-color:var(--an-emerald);box-shadow:0 0 0 2px rgba(11,51,43,.14)}
body.an .contry img.preview_picture{float:none!important;display:block;width:100%!important;height:110px!important;object-fit:cover;border-radius:7px}
body.an .contry .con-name{margin-top:8px;font-family:var(--an-serif);font-size:17px;font-weight:700;color:var(--an-emerald)}
body.an .contry.act .con-name{color:var(--an-gold-d)}

/* вход */
body.an .bx-system-auth-form{max-width:520px;padding:24px;background:#fff;border:1px solid var(--an-line);border-radius:var(--an-radius);box-shadow:var(--an-shadow-s)}
body.an .bx-system-auth-form .pole{margin-bottom:12px}
body.an .bx-system-auth-form span.pole-name{
  float:none!important;display:block;width:auto!important;margin:0 0 6px!important;
  font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--an-mute);
}

/* =====================================================================
   18. ПОИСК
   ===================================================================== */
body.an #search-page a.name{
  display:block;margin:18px 0 4px;font-family:var(--an-serif);font-size:21px;font-weight:700;
  line-height:1.25;color:var(--an-emerald)!important;
}
body.an #search-page a.name:hover{color:var(--an-gold-d)!important}
body.an #search-page b{display:block;font-weight:500;color:var(--an-mute);font-size:14.5px;line-height:1.6}
body.an #search-page br{display:none}

/* =====================================================================
   19. АДАПТИВ (потоки, без grid)
   ===================================================================== */
@media (max-width:1100px){
  body.an .mid_content > .block_pan.left{width:calc(100% - 290px)!important}
  body.an .news_item{width:calc(50% - 11px)!important;margin-right:21px!important}
  body.an .news_item:nth-child(3n){margin-right:21px!important}
  body.an .news_item:nth-child(2n){margin-right:0!important}
}
@media (max-width:999px){
  html,body.an{overflow-x:hidden!important}
  body.an .mid_content > .block_pan.left,
  body.an .mid_content_deteil,
  body.an .mid_content > .block_pan.right,
  body.an #right_panel{float:none!important;width:100%!important;margin:0 0 20px!important}
  body.an #slider_top .left_box{float:none!important;width:100%!important;padding:20px 18px}
  body.an #slider_top .right_box{float:none!important;width:100%!important;height:230px}
  body.an #slider_top .right_box img{height:230px!important;min-height:0}
  body.an #slider_top .name{font-size:clamp(21px,5.6vw,26px)!important}
  body.an #top_article{padding:18px 16px 18px}
  body.an .slider_pan.a > #banner_top img{max-height:200px!important}
  body.an #news_panelB .right_box .boxed{width:100%!important;margin-right:0!important}
}
@media (max-width:640px){
  body.an .news_item{width:100%!important;margin:0 0 20px!important}
  body.an .news_slider .item,body.an .news_slider .item img,body.an .news_slider img{width:64px!important;height:46px!important}
  body.an .contry{width:calc(50% - 10px)}
  body.an div.info#rex{font-size:16px}
}

/* =====================================================================
   20. ДОБИВКА: плотная полоса, поиск без «полосок», баннер справа,
       чипы без переносов, теги без запятых
   ===================================================================== */
/* полоса рубрик — плотный изумруд */
body.an .an-nav{background:#0A2E27!important;border-top:1px solid rgba(223,190,120,.26)!important}
body.an .an-nav__in{background:transparent!important}

/* поиск: убираем фоновые спрайты старого шаблона */
body.an .an-search .box,
body.an .an-search form,
body.an .an-search input[type=text]{
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.an .an-search input[type=text]{
  width:210px!important;
  height:40px!important;
  padding:0 42px 0 16px!important;
  border-radius:999px!important;
  border:1px solid rgba(223,190,120,.55)!important;
  background:rgba(255,255,255,.07)!important;
  color:var(--an-trav-2)!important;
  font-family:var(--an-sans)!important;
  font-size:13.5px!important;
  line-height:38px!important;
  float:none!important;
  margin:0!important;
  outline:none!important;
}
body.an .an-search input[type=text]::placeholder{color:rgba(247,243,235,.6)}
body.an .an-search input[type=text]:focus{border-color:var(--an-gold)!important;background:rgba(255,255,255,.12)!important}
body.an .an-search .find,
body.an .an-search input[type=submit]{
  position:absolute!important;top:50%!important;right:4px!important;transform:translateY(-50%)!important;
  width:32px!important;height:32px!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:50%!important;background-color:transparent!important;
  background-image:none!important;
}
body.an .an-search .find::after,
body.an .an-search input[type=submit]::after{
  content:"";position:absolute;top:50%;left:50%;width:15px;height:15px;
  transform:translate(-50%,-50%);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DFBE78' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E") no-repeat center/15px 15px;
}
body.an .an-search .find:hover{background-color:rgba(223,190,120,.18)!important}

/* баннер рядом с главным материалом — справа, как боковая афиша */
@media (min-width:1000px){
  body.an .slider_pan.a{display:flex!important;align-items:stretch;gap:20px}
  body.an .slider_pan.a > #slider_top{flex:1 1 auto;min-width:0}
  body.an .slider_pan.a > #banner_top{flex:0 0 300px;margin:0!important;display:flex}
  body.an .slider_pan.a > #banner_top a{display:flex;width:100%}
  body.an .slider_pan.a > #banner_top img{
    width:100%!important;height:100%!important;max-height:none!important;
    object-fit:cover;border-radius:var(--an-radius);border:1px solid var(--an-line)!important;
  }
}

/* панели разделов: нормальные внутренние отступы */
body.an #news_panelTop,
body.an .block_pan.b.top,
body.an #news_panelB{padding:20px 20px 6px!important}
body.an #news_panelTop .news_item,
body.an #news_panelB .news_item{padding:0!important}

/* чипы «Популярное / Рекомендуемое» — в одну строку */
body.an #right_panel .news_show{flex-wrap:wrap!important;gap:6px!important}
body.an #right_panel .news_show a{white-space:nowrap!important}
body.an #right_panel .news_show span{white-space:nowrap!important;font-size:10.5px!important}
body.an .block_mini.first{width:100%!important;max-width:100%!important}

/* теги: убираем лишние запятые между «таблетками» */
body.an #top_article .tegs{font-size:0!important}
body.an #top_article .tegs::before{
  content:"Теги";display:inline-block;margin-right:6px;vertical-align:middle;
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--an-mute);
}
body.an #top_article .tegs a{font-size:11.5px!important;vertical-align:middle}

/* =====================================================================
   21. ДОБИВКА-2: поиск, «верблюды» из старого шаблона, высота фото, карусель
   ===================================================================== */
/* картинка-украшение из старого компонента поиска не нужна */
body.an .an-search img,
body.an .an-head img[src*="jirafs"],
body.an img[src*="for_header"]{display:none!important}

/* иконка лупы — фоном на самой кнопке (у input псевдоэлементы не работают) */
body.an .an-search .find,
body.an .an-search input[type=submit]{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DFBE78' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:15px 15px!important;
  background-color:transparent!important;
  color:transparent!important;
  font-size:0!important;
}
body.an .an-search .find::after,
body.an .an-search input[type=submit]::after{content:none!important}

/* главный материал — флекс, чтобы фото было одной высоты с текстом */
body.an #slider_top{display:flex!important;align-items:stretch;flex-wrap:wrap}
body.an #slider_top .left_box{flex:1 1 520px;float:none!important;width:auto!important}
body.an #slider_top .right_box{flex:1 1 380px;float:none!important;width:auto!important;display:flex}
body.an #slider_top .right_box a{display:flex;width:100%}
body.an #slider_top .right_box img{
  width:100%!important;height:100%!important;min-height:300px;max-height:none;
  object-fit:cover;display:block;
}
@media (max-width:999px){
  body.an #slider_top{flex-direction:column}
  body.an #slider_top .right_box{flex:0 0 auto}
  body.an #slider_top .right_box img{min-height:0;height:230px!important}
}

/* карусель: 4 карточки ровно в ряд, даты не обрезаются */
body.an #wrapper{padding-bottom:18px!important}
body.an .d-carousel .jcarousel-item{width:222px!important}
body.an .d-carousel ul li{width:222px!important}
body.an .d-carousel .jcarousel-item-horizontal{margin:3px 8px 3px 0!important}
body.an .carousel .info{margin-top:7px!important}

/* =====================================================================
   22. ДОБИВКА-3: главный материал строго 2 колонки, афиша — без обрезки
   ===================================================================== */
body.an #slider_top .left_box{flex:1 1 52%!important;min-width:0}
body.an #slider_top .right_box{flex:1 1 48%!important;min-width:0}
@media (max-width:999px){
  body.an #slider_top .left_box,body.an #slider_top .right_box{flex:1 1 100%!important}
}
/* афиша справа — естественные пропорции, прижата к верху */
@media (min-width:1000px){
  body.an .slider_pan.a{align-items:flex-start}
  body.an .slider_pan.a > #banner_top{align-self:flex-start}
  body.an .slider_pan.a > #banner_top img{
    height:auto!important;max-height:none!important;object-fit:contain!important;
    background:var(--an-trav-2);
  }
}

/* =====================================================================
   23. ДОБИВКА-4: вложенные панели рубрик не рисуют вторую «карточку»
   ===================================================================== */
body.an .block_pan.left .block_pan,
body.an .block_pan.left .block_pan.a,
body.an .block_pan.left .block_pan.b,
body.an .mid_content .block_pan.left .block_pan{
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
}
/* «Популярное / Рекомендуемое» — в одну строку */
body.an #right_panel .news_show{gap:5px!important;padding-bottom:8px!important}
body.an #right_panel .news_show a{padding:5px 10px!important;border-radius:999px!important}
body.an #right_panel .news_show span{font-size:10px!important;letter-spacing:.05em!important}

/* чипы в правой колонке — гарантированно в одну строку */
body.an #right_panel .news_show{gap:4px!important}
body.an #right_panel .news_show a{padding:4px 8px!important}
body.an #right_panel .news_show span{font-size:9.5px!important;letter-spacing:.02em!important;font-weight:600!important}

/* =====================================================================
   24. ДОБИВКА-5: .clear снова работает (как разделитель строк), сетка стран
   ===================================================================== */
body.an .clear,
body.an .clear1{
  display:block!important;
  height:0!important;
  clear:both!important;
  font-size:0!important;
  line-height:0!important;
  visibility:hidden!important;
  overflow:hidden!important;
}
body.an .body_middle::after,
body.an .body_middle > div::after{content:"";display:table;clear:both}
body.an .contry{
  float:left!important;
  display:block!important;
  vertical-align:top;
  width:calc(25% - 11px)!important;
  margin:0 14px 14px 0!important;
}
body.an .contry:nth-child(4n){margin-right:0!important}
@media (max-width:1100px){
  body.an .contry{width:calc(33.333% - 12px)!important}
  body.an .contry:nth-child(3n){margin-right:0!important}
  body.an .contry:nth-child(4n){margin-right:14px!important}
}
@media (max-width:760px){
  body.an .contry{width:calc(50% - 8px)!important;margin-right:14px!important}
  body.an .contry:nth-child(2n){margin-right:0!important}
}

/* =====================================================================
   25. ДОБИВКА-6: форма входа в шапке — одна строка, без «карточки»
   ===================================================================== */
body.an .an-topbar .an-auth,
body.an .an-topbar .an-auth .bx-system-auth-form,
body.an .an-topbar .an-auth form{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  background:none!important;border:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;position:static!important;
  min-height:0!important;height:auto!important;width:auto!important;
}
body.an .an-topbar .an-auth form > a,
body.an .an-topbar .an-auth form > span,
body.an .an-topbar .an-auth form > input[type="submit"],
body.an .an-topbar .an-auth form > button{display:inline-block!important;vertical-align:middle!important}
body.an .an-topbar .an-auth input[type="submit"],
body.an .an-topbar .an-auth button{
  display:inline-block!important;width:auto!important;min-width:0!important;height:auto!important;
  padding:0!important;background:none!important;border:0!important;box-shadow:none!important;
  color:#CFC7B5!important;font:inherit!important;font-size:12.5px!important;letter-spacing:0!important;
  text-transform:none!important;text-decoration:underline!important;text-underline-offset:3px!important;
  opacity:1!important;cursor:pointer!important;
}
body.an .an-topbar .an-auth input[type="submit"]:hover,
body.an .an-topbar .an-auth button:hover{color:var(--an-gold)!important;background:none!important}
/* согласие в шапке и в шапке сайта не нужно вовсе */
body.an .an-topbar .an-auth form .an-consent,
body.an .an-topbar .an-auth .an-consent,
body.an .an-topbar .an-consent,
body.an .an-head .an-consent,
body.an .an-head form .an-consent,
body.an #anDrawer .an-consent,
body.an .an-drawer .an-consent{display:none!important;height:0!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important}

/* =====================================================================
   26. ДОБИВКА-7: согласие 152-ФЗ — компактное, в одну-две строки
   ===================================================================== */
body.an .an-consent{
  margin:0 0 12px!important;
  padding:10px 12px!important;
  gap:9px!important;
  font-size:12px!important;
  line-height:1.45!important;
  border-radius:8px!important;
  background:#FBF8F1!important;
  border:1px solid var(--an-line-2)!important;
}
body.an .an-consent input[type=checkbox]{width:16px!important;height:16px!important;margin:1px 0 0!important}
body.an .an-consent a{font-weight:500!important;text-decoration:underline!important;text-underline-offset:2px!important}

/* =====================================================================
   27. ДОБИВКА-8: верхний блок раздела/списка встаёт рядом с правой
       колонкой, а не над ней (иначе справа пустая полоса на 2 экрана)
   ===================================================================== */
@media (min-width:1000px){
  body.an .mid_content > .block_pan.top,
  body.an .mid_content > .block_pan.b.top,
  body.an .mid_content > #news_panelTop{
    float:none!important;
    width:100%!important;
    margin:0 0 18px 0!important;
  }
  body.an .mid_content > .block_pan.top .news_item,
  body.an .mid_content > #news_panelTop .news_item{width:calc(33.333% - 14px)!important}
  body.an .mid_content > .block_pan.top .news_item img,
  body.an .mid_content > #news_panelTop .news_item img{height:auto!important;aspect-ratio:4/3;object-fit:cover}
}
/* пустые панели-«пустышки» не рисуем */
body.an .block_pan:empty,
body.an .content:empty{display:none!important}

/* на разделах и списках #right_panel — СОСЕД .mid_content (а на главной — потомок).
   Поэтому ширину контентной колонки задаём через :has(+ #right_panel), иначе
   правая колонка уезжает под контент и справа остаётся пустая полоса. */
@supports selector(:has(*)){
  @media (min-width:1000px){
    body.an .body_middle > .mid_content:has(~ #right_panel),
    body.an .body_middle > .mid_content_deteil:has(~ #right_panel){
      float:left!important;
      width:calc(100% - 290px)!important;
      max-width:calc(100% - 290px)!important;
      min-width:0!important;
      margin-right:0!important;
    }
    body.an .body_middle > .mid_content:has(~ #right_panel) > .block_pan.left,
    body.an .body_middle > .mid_content:has(~ #right_panel) > #news_panelA{
      float:none!important;width:100%!important;max-width:100%!important;
    }
  }
}


/* =====================================================================
   29. Резерв места под правую колонку на разделах/списках.
   Компонент вставляет #right_panel скриптом уже после загрузки —
   из-за этого контент сначала во всю ширину, потом «прыгает».
   Скрипт шаблона заранее ставит невидимый .an-ghost-right, а когда
   настоящая колонка появилась — он скрывается.
   ===================================================================== */
body.an .body_middle > .an-ghost-right{float:right;width:270px;height:0;margin:0;padding:0}
body.an .body_middle:has(> #right_panel) > .an-ghost-right{display:none}
@supports selector(:has(*)){
  @media (min-width:1000px){
    body.an .body_middle > .mid_content:has(~ .an-ghost-right),
    body.an .body_middle > .mid_content_deteil:has(~ .an-ghost-right){
      float:left!important;
      width:calc(100% - 290px)!important;
      max-width:calc(100% - 290px)!important;
      min-width:0!important;
    }
  }
}

/* =====================================================================
   30. «Главный материал рубрики» (#top_article на страницах разделов)
   Текст заезжал на картинку: .article был во всю ширину, а картинка
   стояла float:left. Возвращаем нормальное обтекание.
   ===================================================================== */
body.an .mid_content #top_article{
  display:block!important;
  overflow:hidden;
  margin:0 0 18px!important;
  padding:22px 24px!important;
  background:#fff;
  border:1px solid var(--an-line-2);
  border-radius:var(--an-radius);
  box-shadow:0 6px 22px rgba(11,51,43,.05);
}
body.an .mid_content #top_article > img{
  float:left!important;
  width:42%!important;
  max-width:360px!important;
  height:auto!important;
  aspect-ratio:7/5;
  object-fit:cover;
  border-radius:10px;
  margin:0 24px 10px 0!important;
}
body.an .mid_content #top_article .article{
  float:none!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  display:block!important;
  overflow:hidden;
}
body.an .mid_content #top_article .article .date{
  display:inline-block!important;
  margin:0 0 8px!important;
  padding:5px 11px!important;
  border-radius:999px!important;
  background:var(--an-trav-2)!important;
  font-size:11.5px!important;
  color:var(--an-mute)!important;
}
body.an .mid_content #top_article .inname{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  font-size:27px!important;
  line-height:1.16!important;
  font-weight:700!important;
  margin:0 0 10px!important;
  color:var(--an-ink)!important;
}
body.an .mid_content #top_article .inname a{color:inherit!important;text-decoration:none!important;background:none!important;border-radius:0!important;padding:0!important;display:inline!important}
body.an .mid_content #top_article .inname a:hover{color:var(--an-emerald-h)!important}
body.an .mid_content #top_article .info{
  font-size:13.5px!important;
  line-height:1.55!important;
  color:var(--an-mute)!important;
  max-height:6.4em;
  overflow:hidden;
  margin:0!important;
}
body.an .mid_content #top_article .an-share{display:none!important}
@media (max-width:640px){
  body.an .mid_content #top_article{padding:16px!important}
  body.an .mid_content #top_article > img{float:none!important;width:100%!important;max-width:none!important;margin:0 0 14px!important}
  body.an .mid_content #top_article .inname{font-size:22px!important}
}

/* --- 30.1 Обёртка-ссылка вокруг «главного материала рубрики».
   Компонент отдаёт <a style="display:inline"> вокруг карточки: строчная
   ссылка не вмещает блочный блок, из-за чего карточка «вываливалась» из
   своей панели, а текст наезжал на следующий материал. Делаем обёртку
   блочной и снимаем с неё оформление кнопки/ссылки. ------------------- */
body.an .mid_content #news_panelA > a,
body.an .mid_content .block_pan > a:has(> #top_article){
  display:block!important;
  background:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
  text-decoration:none!important;
  color:inherit!important;
  height:auto!important;
  overflow:visible!important;
}
body.an .mid_content #news_panelA > a:hover{background:none!important}
body.an .mid_content #news_panelA:has(> a){height:auto!important;min-height:0!important}

/* =====================================================================
   02-A · ПАТЧ §31 — вёрстка arab-new.ru, 05.11.2026
   Вставлять ЦЕЛИКОМ в конец «Настройки → Продукты → Сайты → Шаблоны
   сайтов → fancy_east → Стили шаблона», затем «Сбросить кеш».
   ===================================================================== */

/* 31.1 «Читайте по теме» внутри новости: 4 карточки в строку -------- */
body.an div.info#rex .an-topic{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:12px 0 6px;align-items:stretch}
body.an div.info#rex .an-topic>a{display:block!important;float:none!important;width:auto!important;min-width:0;height:100%;margin:0!important;padding:15px 15px 13px!important;box-sizing:border-box;border-radius:12px!important;border:1px solid var(--an-line)!important;background:var(--an-trav-2)!important;text-decoration:none!important;color:var(--an-ink)!important;transition:border-color .16s,box-shadow .16s,transform .16s}
body.an div.info#rex .an-topic>a:hover{border-color:rgba(223,190,120,.85)!important;box-shadow:var(--an-shadow-s);transform:translateY(-2px)}
body.an div.info#rex .an-topic>a>span{font-size:15px!important;line-height:1!important;color:var(--an-gold-d)!important}
body.an div.info#rex .an-topic>a>strong{font-size:13px!important;line-height:1.4!important;font-weight:600;color:var(--an-ink)!important}
body.an div.info#rex .an-topic>a>br+span{font-size:10.5px!important;letter-spacing:.04em;text-transform:uppercase;color:var(--an-mute)!important}

/* 31.2 страница автора: фото и текст в две колонки ------------------ */
body.an .article-auth{display:grid!important;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:24px 30px;align-items:start;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;margin:22px 0 4px!important;padding:0;background:none!important;border:0!important;box-sizing:border-box}
body.an .article-auth .auth-img{float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important}
body.an .article-auth .auth-img img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;border:1px solid var(--an-line)!important;border-radius:14px;box-shadow:var(--an-shadow-s);object-fit:cover}
body.an .article-auth .auth-text{float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-wrap:break-word}
body.an .article-auth .auth-name{font-size:inherit!important;text-align:left!important;margin:0 0 14px!important;padding:0 0 12px;border-bottom:1px solid rgba(223,190,120,.65)}
body.an .article-auth .auth-name .in-name{font-family:var(--an-serif);font-size:27px;font-weight:700;line-height:1.15;color:var(--an-emerald)}
body.an .article-auth .auth-info{float:none!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;text-align:left!important;font-size:15.5px;line-height:1.65;color:var(--an-ink-2)}
body.an .article-auth .auth-info>div{margin:0}
body.an .article-auth .auth-info a{color:var(--an-emerald);text-decoration:underline;text-decoration-color:rgba(223,190,120,.7);text-underline-offset:3px}
body.an #news_panelB>.inname2{font-family:var(--an-serif);font-size:clamp(22px,2.4vw,30px);font-weight:700;line-height:1.2;color:var(--an-emerald);margin:0 0 6px}
@media(max-width:760px){
  body.an .article-auth{grid-template-columns:minmax(0,1fr)!important;gap:16px}
  body.an .article-auth .auth-img img{max-height:320px}
  body.an .article-auth .auth-name .in-name{font-size:22px}
  body.an .article-auth .auth-info{font-size:15px;line-height:1.6}
}

/* 31.3 правая колонка главной: опрос и «Товар недели» --------------- */
body.an #right_panel>*{float:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body.an #right_panel .block_mini,body.an #right_panel .block_mini.first,body.an #right_panel .block_mini.a,body.an #right_panel .block_mini.b,body.an #right_panel .block_mini.c{width:100%!important;max-width:100%!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:visible!important}
body.an #right_panel #tab_panel_recomend{margin:0 0 18px!important;overflow:hidden!important}
body.an #right_panel .quest_board{width:100%!important;box-sizing:border-box;margin:0!important}
body.an #right_panel .block_mini.a{float:none!important;clear:both!important;width:100%!important;margin:0 0 22px!important;padding:0!important}
body.an #right_panel #banner_middle{float:none!important;clear:both!important;display:grid!important;width:100%!important;max-width:100%!important;gap:12px;margin:0!important;padding:20px 0 0;border-top:1px solid rgba(223,190,120,.55);box-sizing:border-box}
body.an #right_panel #banner_middle>*{width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box}
body.an #right_panel #banner_middle .an-side{margin:0!important;width:100%!important}
body.an #right_panel #banner_top2{margin:0 0 10px!important}
body.an #right_panel #banner_top2 img{width:100%!important;height:auto!important;border-radius:var(--an-radius)}

/* 31.4 второй блок «Читать по теме:» — 3 в строку -------------------- */
body.an .right_box section.content{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;align-items:stretch;width:100%!important;height:auto!important;margin:0!important}
body.an .right_box section.content>article{display:block!important;float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important}
body.an .right_box section.content>article>a{display:flex!important;flex-direction:column;height:100%;text-decoration:none!important;color:inherit!important}
body.an .right_box section.content>article .boxed{float:none!important;width:100%!important;max-width:100%!important;height:100%!important;margin:0!important;padding:12px 12px 14px!important;box-sizing:border-box;background:var(--an-white)!important;border:1px solid var(--an-line)!important;border-radius:var(--an-radius);transition:border-color .16s,box-shadow .16s,transform .16s}
body.an .right_box section.content>article:hover .boxed{border-color:rgba(223,190,120,.9)!important;box-shadow:var(--an-shadow-s);transform:translateY(-2px)}
body.an .right_box section.content img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/10;object-fit:cover;margin:0 0 10px!important;border:0!important;border-radius:var(--an-radius-s)}
body.an .right_box section.content .wrapper{display:block;margin:0!important;height:auto!important}
body.an .right_box section.content .date{display:block!important;margin:0 0 4px!important;font-size:10.5px!important;font-weight:600;letter-spacing:.06em;color:var(--an-gold-d)!important}
body.an .right_box section.content .o_type{display:none!important}
body.an .right_box section.content .inname{font-family:var(--an-serif);font-size:16px!important;font-weight:700!important;line-height:1.22!important;color:var(--an-ink)!important;margin:0 0 6px!important;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.an .right_box section.content .info{font-size:12.5px!important;line-height:1.5!important;color:var(--an-mute)!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:760px){
  body.an .right_box section.content{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.an .right_box section.content>article .boxed{padding:9px 9px 11px!important}
  body.an .right_box section.content .inname{font-size:14px!important}
  body.an .right_box section.content .info{display:none!important}
}
@media(max-width:400px){body.an .right_box section.content{grid-template-columns:1fr}}

/* 31.5 «Подписаться на новости по теме» — отступ от низа статьи ------
   Компонент ставит .podpiska с margin-top:-20px, из-за чего ссылка
   прилипает к линии окончания блока новости. Даём воздух и аккуратный
   вид: верхний отступ 24 px, золотая подчёркивающая линия.            */
body.an #news_panelA .podpiska,
body.an .block_pan.news .podpiska,
body.an .podpiska{
  float:none!important;
  display:inline-block!important;
  height:auto!important;
  margin:26px 0 4px!important;
  padding:0 0 3px!important;
  background:none!important;
  border:0!important;
  border-bottom:1px solid rgba(223,190,120,.8);
  line-height:1.2!important;
}
body.an .podpiska span{
  display:inline!important;
  font-family:var(--an-sans);
  font-size:11.5px!important;
  font-weight:600!important;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--an-emerald)!important;
}
body.an a:has(>.podpiska){
  display:inline-block!important;
  margin:0 0 22px!important;
  padding:0!important;
  text-decoration:none!important;
  background:none!important;
  border:0!important;
}
body.an a:has(>.podpiska):hover{border:0!important;background:none!important}

/* ===== 02-A END OK · файл дошёл до конца ===== *//* 31.6 Второй блок «Читать по теме:» — перебиваем §16 с id-специфичностью.
   В шаблоне есть body.an #news_panelB .right_box section.content{display:flex}
   — у него id в селекторе, поэтому прежнее правило §31.4 (без id) проигрывало,
   и карточки снова вставали по одной в столбец. Здесь та же сила + !important. */
body.an #news_panelB .right_box section.content,
body.an #news_panelB .right_box > section.content,
body.an .mid_content_deteil .right_box section.content{
  display:grid!important;
  flex:none!important;
  flex-wrap:nowrap!important;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
  gap:14px!important;
  align-items:stretch!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
}
body.an #news_panelB .right_box section.content > article,
body.an .mid_content_deteil .right_box section.content > article{
  display:block!important;
  float:none!important;
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  flex:none!important;
}
body.an #news_panelB .right_box section.content > article > a,
body.an .mid_content_deteil .right_box section.content > article > a{
  display:flex!important;
  flex-direction:column;
  height:100%;
  text-decoration:none!important;
  color:inherit!important;
}
body.an #news_panelB .right_box section.content > article .boxed,
body.an .mid_content_deteil .right_box section.content > article .boxed{
  float:none!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:12px 12px 14px!important;
  box-sizing:border-box;
  background:var(--an-white)!important;
  border:1px solid var(--an-line)!important;
  border-bottom:1px solid var(--an-line)!important;
  border-radius:var(--an-radius);
  transition:border-color .16s,box-shadow .16s,transform .16s;
}
body.an #news_panelB .right_box section.content > article:hover .boxed,
body.an .mid_content_deteil .right_box section.content > article:hover .boxed{
  border-color:rgba(223,190,120,.9)!important;
  box-shadow:var(--an-shadow-s);
  transform:translateY(-2px);
}
body.an #news_panelB .right_box section.content > article img,
body.an .mid_content_deteil .right_box section.content > article img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/10;
  object-fit:cover;
  margin:0 0 10px!important;
  border:0!important;
  border-radius:var(--an-radius-s);
}
body.an #news_panelB .right_box section.content .wrapper{
  display:block!important;margin:0!important;height:auto!important;
}
body.an #news_panelB .right_box section.content .date{
  display:block!important;margin:0 0 4px!important;font-size:10.5px!important;
  font-weight:600;letter-spacing:.06em;color:var(--an-gold-d)!important;
}
body.an #news_panelB .right_box section.content .o_type{display:none!important}
body.an #news_panelB .right_box section.content .inname{
  font-family:var(--an-serif);font-size:16px!important;font-weight:700!important;
  line-height:1.22!important;color:var(--an-ink)!important;margin:0 0 6px!important;
  display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
body.an #news_panelB .right_box section.content .info{
  font-size:12.5px!important;line-height:1.5!important;color:var(--an-mute)!important;margin:0!important;
  display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
@media(max-width:760px){
  body.an #news_panelB .right_box section.content,
  body.an .mid_content_deteil .right_box section.content{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.an #news_panelB .right_box section.content > article .boxed{padding:9px 9px 11px!important}
  body.an #news_panelB .right_box section.content .inname{font-size:14px!important}
  body.an #news_panelB .right_box section.content .info{display:none!important}
}
@media(max-width:400px){
  body.an #news_panelB .right_box section.content,
  body.an .mid_content_deteil .right_box section.content{grid-template-columns:1fr!important}
}/* ============================================================
   02-A · ПАТЧ §32 — мобильная карусель в Safari / iOS
   Вставлять в КОНЕЦ «Стили шаблона» (после §31), затем
   «Сбросить кеш». Ничего не удалять из существующих стилей.
   ============================================================ */

/* 32.1 Карусель «Новости Востока» и «Выбор редактора» — всегда ОДИН ряд.
   Причина сбоя: карточки карусели плавающие (float:left), а jCarousel 1.x
   в WebKit (Safari и все браузеры на iOS) считает margin-right особым
   способом ($.browser.safari) и ошибается в ширине. При ширине экрана
   390–430 px вторая карточка уже не влезает и падает во второй ряд, но
   высота контейнера остаётся в один ряд — второй ряд вылезает наружу,
   поверх следующего блока и подвала. Переводим ленту на flex: ширину
   списка считает сам браузер, ряд всегда один.                          */
body.an .d-carousel ul.jcarousel-list,
body.an .d-carousel ul.carousel{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:flex-start;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
}
body.an .d-carousel ul.jcarousel-list>li,
body.an .d-carousel ul.carousel>li{
  float:none!important;
  flex:0 0 auto!important;
  height:auto!important;
  margin:3px 10px 3px 0!important;
}
body.an .d-carousel ul.jcarousel-list>li:last-child,
body.an .d-carousel ul.carousel>li:last-child{margin-right:0!important}

/* 32.2 Контейнер и обрезка: высота по содержимому, ничего не вылезает */
body.an .d-carousel,
body.an .d-carousel .jcarousel-container,
body.an .d-carousel .jcarousel-clip{
  height:auto!important;
  max-height:none!important;
}
body.an .d-carousel .jcarousel-clip,
body.an .d-carousel .jcarousel-container{overflow:hidden!important}
body.an #wrapper{height:auto!important;min-height:0!important}
body.an .slider_pan,
body.an .slider_pan.b{height:auto!important;min-height:0!important}

/* 32.3 Подвал не наезжает на плавающие блоки выше */
body.an footer.an-footer{clear:both!important}
body.an .slider_pan::after,
body.an #wrapper::after{content:"";display:table;clear:both}

/* 32.4 Мобильная ширина: одна карточка крупно + «подгляд» следующей */
@media (max-width:640px){
  body.an .d-carousel .jcarousel-item,
  body.an .d-carousel ul li{width:222px!important}
  body.an .d-carousel .jcarousel-container{padding:0 34px!important}
  body.an .d-carousel .jcarousel-next-horizontal,
  body.an .d-carousel .jcarousel-prev-horizontal{top:calc(50% - 18px)!important}
  body.an .carousel .info{-webkit-line-clamp:3}
}
@media (max-width:400px){
  body.an .d-carousel .jcarousel-item,
  body.an .d-carousel ul li{width:200px!important}
}
/* End */
/* /bitrix/templates/fancy_east/styles.css */
/* /bitrix/templates/fancy_east/template_styles.css */
