

/* Start:/local/templates/lenapillars/components/bitrix/news/routes-and-maps/style.css?17594712644066*/
@media (max-width:880px){
    .content{flex-direction:column}
    .routes{width:100%}
    .map{max-width:100%}
  }

:root{
    --accent:#de6c2b;        /* оранжевый */
    --green:#4e8a4f;         /* зеленый для меток */
    --muted:#8a8a8a;         /* серый текст */
    --title:#4b5a5a;         /* цвет заголовка */
    --bg:#ffffff;
    --container-w:1100px;
    --max-map-height:420px;
  }
 *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    background:var(--bg);
    color:#222;
    justify-content:center;
  }

  h1{
	text-align: center;
    letter-spacing:1px;
    font-weight:700;
	font-family: 'Museo Cyrl 500';
  }

.subtitle{
	text-align: center;
    color:var(--muted);
	font-size:22px;
    font-style:italic;
  }
.content{
    display:flex;
    gap:30px;
    padding-top:20px;
    border-top:1px solid #eee;
  }

  /* Левый блок — список маршрутов */
  .routes{
    width:380px;
  }

  .routes h3{
    margin:0 0 18px 0;
    font-size:18px;
  }

  .route-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    margin-bottom:18px;
  }

  .pin{
    width:46px;
    height:60px;
    flex:0 0 46px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .route-text .title{
	margin-bottom:6px;
font-weight:700;
    color:#2f4a45;

  }
  .route-text .desc{
    color:var(--muted);
  }
  .route-text .count{
    display:block;
    margin-top:6px;
    color:var(--accent);
    font-weight:700;
  }

  /* --- Правая часть — карта --- */
  .map-wrap{
    flex:1;
    min-width:300px;
    position:relative;
    display:flex;
    justify-content:center;
  }

  .map{
    width:100%;
    max-width:640px;
    border-radius:6px;
    box-shadow:0 6px 18px rgba(0,0,0,0.06);
    overflow:hidden;
    position:relative;
  }

  .map img{
    display:block;
    width:100%;
    height:auto;
    max-height:var(--max-map-height);
    object-fit:cover;
  }

  /* Маркеры поверх карты (позиционируются через проценты) */
  .map-marker{
    position:absolute;
    transform:translate(-50%,-100%); /* маркер "низу" привязан к точке */
    cursor:default;
    user-select:none;
  }

  /* Стили для иконки в маркерах (внутри SVG) */
  .map-marker svg{ display:block; width:56px; height:76px; }

  /* Небольшая подпись рядом с маркером (если нужно) */
  .map-marker .label{
    position:absolute;
    top:calc(100% + 6px);
    left:50%;
    transform:translateX(-50%);
    font-size:12px;
		/*color:var(--muted);*/
    white-space:nowrap;
  }

.banner {
  position: relative;
  margin: 3% 0;
  border-radius: 16px;
  overflow: hidden;
  //min-height: 320px;
}

.banner-title {
	max-width: 550px;
    margin-bottom: 15px;
    color: #333;
}

.banner-title h2 {
  font-size: clamp(12px, 2.5vw, 26px);
  margin-bottom: 15px;
font-family: 'Museo Cyrl 700';
}

.banner-title a {
  text-decoration: none;
}

.banner p {
  margin: -14px auto;
  line-height: 1.6;
  text-align: justify;
  font-family: 'Museo Cyrl 500';
font-size: clamp(5px, 1.8vw, 15px);

}

.banner-image {
  position: relative;

}

.banner-image img {
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  max-width: 100%;
  max-height: auto;
}

.banner-content {
  position: absolute;
  top: 10%;   /* вместо фиксированных px */
  left: 4%;
  right: 5%;

}

.banner-desc {
	max-width: 550px;
	max-height: 360px;
    margin-bottom: 20px;
}

.passport-overlay {
  position: absolute;
  left: 4%;     /* где именно кнопка на картинке */
  bottom: 17%;    /* отступ от низа картинки */
  width: 18%;    /* ширина кнопки относительно баннера */
  height: 12%;   /* высота кнопки */
  display: block;
  cursor: pointer;
  background: transparent;
}

/* End */


/* Start:/local/templates/lenapillars/components/bitrix/news/routes-and-maps/bitrix/news.detail/.default/style.css?17598089823209*/
h1 {
  margin: 0;
  color: #4B545E;
font-size: 28px;
font-family: 'Museo Cyrl 500';
}
.title {
font-size: 48px;
font-family: 'Museo Cyrl 700';
color: #4B545E;
}
.info-blocks {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  border: 2px solid #EDDBB5;
margin: 48px 0;
border-radius: 10px;
}
.info-item {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
  text-align: center;
  font-size: 24px;
color: #4B545E;
font-family: 'Museo Cyrl 500';
min-width: 185px;
}
.info-item strong {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
color: #6F5D4C;
}
.description {
display: grid;
grid-template-columns: repeat(2, 1fr);
  padding: 30px 0;
margin: 0;
  width: 100%;
font-family: 'Museo Cyrl 500';
position: relative;
clip-path: inset(0 -500%);
}
.description-background {
position: absolute;
background: #EDDBB5;
top: 0;
left: -500%;
width: 1000%;
height: 600px;
z-index: -1;
}
.description-text {
  flex: 1;
  padding-right: 20px;
}
.description-text h2 {
  margin-top: 0;
  font-size: 32px;
  margin-bottom: 15px;
font-family: 'Museo Cyrl 700';
color: #4B4B4B;
}
.description-text p {
  line-height: 30px;
font-size: 20px;
color: #4B4B4B;
}
.description img {
  width: 100%;
}

.rules {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 30px 0;
	gap: 46px;
margin: 48px 0;
}
.rule {
  flex: 1;
  padding: 10px;
  font-size: 14px;
}
.rule img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.rule strong {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
  color: #6F5D4C;
}
.forest-rule {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
max-width: 259px;
}

.litter-rule {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
max-width: 259px;
}
.bag-rule {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
max-width: 259px;
}
.food-rule {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
max-width: 259px;
}



.forest-rule strong {
  font-size: 20px;
  color: #6F5D4C;
}
.forest-rule p {
  font-size: 18px;
  color: #4B545E;
}


.litter-rule strong {
  font-size: 20px;
  color: #6F5D4C;
}
.litter-rule p {
  font-size: 18px;
  color: #4B545E;
}


.bag-rule strong {
  font-size: 20px;
  color: #6F5D4C;
}
.bag-rule p {
  font-size: 18px;
  color: #4B545E;
}


.food-rule strong {
  font-size: 20px;
  color: #6F5D4C;
}
.food-rule p {
  font-size: 18px;
  color: #4B545E;
}

@media screen and (max-width: 920px) {
	.info-blocks {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	}
	.description {
	grid-template-columns: 1fr;
	}
	.description-background {
	height: 1000px;
	}
	.rules {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	}
	.forest-rule {
 	justify-self: center;
	}
	.bag-rule {
 	justify-self: center;
	}
	.litter-rule {
 	justify-self: center;
	}
	.food-rule {
 	justify-self: center;
	}
}


@media screen and (max-width: 570px) {
.title {
font-size: 34px;
}
	.info-item {
font-size: 20px;
}
	.info-blocks {
display: flex;
flex-direction: column;
}
.description-text h2 {
  font-size: 28px;
}
.rules {
display: grid;
grid-template-columns: 1fr;
}
}
/* End */
/* /local/templates/lenapillars/components/bitrix/news/routes-and-maps/style.css?17594712644066 */
/* /local/templates/lenapillars/components/bitrix/news/routes-and-maps/bitrix/news.detail/.default/style.css?17598089823209 */
