/*
Theme Name: CityNews 3 Дочерняя тема
Theme URI: https://goodwinpress.ru/wp-tema-citynews-3
Author: Алексей Goodwin
Author URI: https://goodwinpress.ru/
Description: Используем дочернюю тему лишь в тех случаях, когда собрались менять разметку или функции темы.
Text Domain: citynews-3
Domain Path: /languages
Template: citynews-3
*/

/* Размещайте ваши стили под этой строкой. */

@font-face {
  font-family: 'neuemachina-400';
  font-weight: 400;
  font-style: normal;
  src: local('NeueMachina'), local('NeueMachina'),
  url('/assets/fonts/NeueMachina/NeueMachina-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/assets/fonts/NeueMachina/NeueMachina-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
font-family: 'graphiklcg-regular';
font-weight: 400;
font-style: normal;
src: local('GraphikLCG'), local('GraphikLCG'),
url('/assets/fonts/GraphikLCG/GraphikLCG-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/assets/fonts/GraphikLCG/GraphikLCG-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
 

/* фиксим элементы шапки и ссылок под конкретный сайт */

.nav-menu {
	margin-bottom: 0
}

.page .single-post__header {
  padding-bottom: 0;
}

.post-content a {
  color: var(--hoverColor);
  text-decoration: none;
}

html[data-theme="dark"] .post-content a {
  color: #ff7200;
}

.post-content a:hover,
.widget a:hover {
  text-decoration: underline;
  color: #ff7200;
}

.single-post__header {
  padding-top: 0;
}

@media(max-width: 800px) {
  .credits__site-descr {
    text-align: center;
  }
}

/* блок подписаться на телеграм из старой темы */
.cta-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border: 1px solid var(--borderColor);
  -webkit-border-radius: 2px;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0
}

@media only screen and (min-width: 768px) {
  .cta-row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row
  }
}

.cta-row__text {
  font-weight: 500;
  padding-right: 15px;
  margin-bottom: 20px
}

@media only screen and (min-width: 768px) {
  .cta-row__text {
    padding-right: 0;
    margin-bottom: 0
  }
}

.cta-row__text:hover {
  text-decoration: none
}

.cta-row .btn:hover span {
  color: #fff
}

.btn-full {
  border: 0;
  color: #fff;
  background: -webkit-gradient(linear, left top, left bottom, from(#ffa85f), to(#ff7502));
  background: -webkit-linear-gradient(#ffa85f, #ff7502);
  background: linear-gradient(#ffa85f, #ff7502);
  -webkit-box-shadow: 0 2px 0 rgba(128, 60, 6, 0.35);
  box-shadow: 0 2px 0 rgba(128, 60, 6, 0.35);
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
  position: relative;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
  -webkit-border-radius: 2rem;
  border-radius: 2rem;
  padding: .375rem 2.5rem;
  font-size: 1rem
}

.btn-full span {
  position: relative;
  z-index: 3;
  color: var(--lightColor);
}

.btn-full:before,
.btn-full:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 2rem;
  border-radius: 2rem;
  -webkit-transition: opacity .15s ease-in-out;
  transition: opacity .15s ease-in-out;
  opacity: 0
}

.btn-full:before {
  background: -webkit-gradient(linear, left top, left bottom, from(#ffa050), to(#e46b06));
  background: -webkit-linear-gradient(#ffa050, #e46b06);
  background: linear-gradient(#ffa050, #e46b06);
  z-index: 2
}

.btn-full:after {
  background: -webkit-gradient(linear, left top, left bottom, from(#ff7502), to(#ffa85f));
  background: -webkit-linear-gradient(#ff7502, #ffa85f);
  background: linear-gradient(#ff7502, #ffa85f);
  z-index: 2
}

.btn-full:hover:before {
  opacity: 1
}

.btn-full:active:after {
  opacity: 1
}

.btn-full:focus {
  -webkit-box-shadow: 0 2px 0 rgba(128, 60, 6, 0.35);
  box-shadow: 0 2px 0 rgba(128, 60, 6, 0.35)
}

.btn-full:active {
  -webkit-box-shadow: 0 0 0 .2rem rgba(255, 130, 26, 0.25);
  box-shadow: 0 0 0 .2rem rgba(255, 130, 26, 0.25)
}


/* баннер вверху */

.banner-top {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1100px;
}

.home .banner-top,
.archive .banner-top,
.search .banner-top {
  margin-bottom: 0;
}

.banner-top img {
  border-radius: 8px;
}

@media(max-width: 500px) {
  .banner-top {
    padding: 0 1rem;
  }
}


.banner-top-mob {
	display: none;
	  margin: 2rem auto;
}

@media(max-width: 600px) {
	.banner-top { 
		display: none;
	}
	
  .banner-top-mob {
     display: flex;
    justify-content: center;
  }
}


 .site-header__branding {
  max-width: 500px !important;
  align-items: center;
 }

 @media(max-width: 700px) {
  .site-header__branding {
    flex-direction: column;
   }
 }


.site-title__descr {
	display: block;
  max-width: 230px;
  margin-left: 1rem;
	font-size: 0.8rem;
	line-height: 115%;
	color: var(--greyColor);
}

@media(max-width: 700px) {
  .site-title__descr {
    margin-left: 0;
    margin-top: 0.3rem;
   }
 }

 @media(max-width: 600px) {
  .site-title__descr {
    text-align: center;
   }
 }
 

.footer .site-title__descr {
  display: none;
}


.featured-list__item::before {
  display: none;
}


.search-panel, .mob-socials-panel {
  top: 50%;
  left: 50%;
}

.search-panel.is-open,
.mob-socials-panel.is-open {
  transform: translate(-50%, -50%);
  transition: opacity 1300ms ease-in-out, transform 500ms ease-in-out;
}


.menu-item-has-children > a:hover,
.headhesive .menu-item-has-children > a:hover {
  text-decoration: none;
  color: inherit;
  cursor: default;
}

 

.item-footer__name {
  font-size: 0.8rem;
}


.item-footer__link {
  text-decoration: none;
  color: var(--greyColor);
}


.headhesive__logo {
  display: none;
}

.headhesive--stick .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.headhesive--stick .headhesive__logo {
  display: block;
  margin-right: 2rem;
}


.footer__widget .textwidget {
  font-size: 0.8rem;
}
 
.top-section__item .item-footer__link {
  color: var(--lightColor);
}

html[data-theme="dark"] .top-section__item .item-footer__link {
  color: var(--mainColor);
}

.comp-list {
  display: flex;
  flex-direction: column;
}

.widget .comp-list__item {
  list-style-type: none;
}

.comp-list__item {
  position: relative;
  display: none;
  align-items: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--borderColor);
  border-radius: 10px;
  transition: background-color 0.3s;
}

 .comp-list__item:nth-child(-n+10) {
	display: flex;
}

.widget .comp-list__item:not(:last-child) {
  margin-bottom: 1.2rem;
}

.comp-list__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.comp-list__name  {
  display: block;
  margin-bottom: 3px;
  font-size: 0.96rem;
  line-height: 140%;
  color: var(--mainColor);
}

.comp-list__item:hover {
  background-color: #f7f6fb;
  transition: background-color 0.3s;
}

html[data-theme="dark"] .comp-list__item:hover {
  background-color: #262638;
}

.comp-list__item:hover .comp-list__name {
  color: var(--hoverColor);
  transition:  color 0.3s;
}

.comp-list__img {
	  width: 40px;
  height: 40px;
  margin-right: 1rem;
  border-radius: 50%;
}

.comp-list__wrap {
  display: flex;
  flex-direction: column;
}

.comp-list__count {
  position: relative;
  display: block;
  padding-left: 1.1rem;
  font-size: 0.75rem;
}

.comp-list__count::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  background-image: url("assets/show.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.8;
  transform: translateY(-50%);
}

html[data-theme="dark"] .comp-list__count::before {
  background-image: url("assets/show-alt.svg");
}


.category-19212 .blog-grid {
  grid-template-columns: repeat(2, 1fr);
}

.category-19212 .post-archive {
  margin-bottom: 3rem;
}


a.news-btn {
  margin-top: 1.5rem;
  padding: 0.9rem 0;
  width: 100%;
  border-radius: 6px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 1;
  font-weight: var(--medium);
  cursor: pointer;
  background-color: var(--btnBg);
  color: var(--btnColor);
  text-decoration: none;
  box-shadow: 1px 5px 25px rgba(45, 55, 133, 0.1);
  transition:  background-color 300ms ease-in-out, box-shadow 300ms ease-in-out, transform 300ms ease-in-out;
}

a.news-btn::before {
  background-image: url("assets/arrow-right.svg");
}

a.news-btn:hover {
  background-color: var(--btnBgHover);
}


.textwidget blockquote {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none;
}

.textwidget blockquote p {
  margin-bottom: 0.8rem;
  font-size: 0.8rem !important;
  line-height: 140%;
  hyphens: none;
}

.textwidget blockquote cite {
  font-size: 0.6rem;
}

.footer__widget {
  padding: 1rem 1.4rem;
}

.footer__widget .menu-item {
  list-style: none;
}

.item-footer {
  flex-flow: row wrap;
}

.doomsday_html {
  height: unset;
}

.sp-landing-text-center {
	display: flex;
	justify-content: center
}

.sp-landing-text-center a {
	margin: 0 5px
}


.bigtable {
	display: block; 
	width: 100%; 
	overflow-x: scroll;
}

.bigtable td {
	font-size: 0.7rem !important;
}
 
/**
=============================================================================
ROADMAP
=============================================================================
*/

:root {
  --progress1: 1;
}

.roadmap-container {
  max-width: 90% !important;
  display: block;
  border-bottom: 0;
  position: relative;
}

.roadmap-container .roadmap-title {
  z-index: 1;
  position: relative;
}

.roadmap-first {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 0 !important;
  max-width: 50%;
  filter: opacity(50%);
}

.roadmap-container .post-content {
  position: relative;
  z-index: 1;
}

.roadmap-container .single-post__header {
  display: none;
}

.roadmap-title {
  text-align: center;
  margin-top: 20px;
  font-size: 8.4vmin;
  font-weight: 700;
  color: var(--btnBg);
  text-transform: uppercase;
}

.roadmap-container p {
  font-size: 3.5vmin !important;
  color: var(--mainColor);
}

.road {
  margin-top: 15vh;
  scroll-margin-top: 50px;
}

.road h2 {
  color: var(--btnBg);
  text-align: center;
  font-size: 38vmin;
}

.road-content {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 728px) {
  .road-content {
    grid-template-columns: 5fr 6fr;
  }

  .road-reverse {
    grid-template-columns: 6fr 5fr;
  }

  .road-reverse .road-description {
    order: 2;
  }
}

.road-description {
  border-top: 1px solid var(--borderColor);
  padding-top: 50px;
}

.road-description h3 {
  font-weight: bold;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.road-description p {
  font-size: 2vmin !important;
}

.road-description ul li {
  list-style-type: disc;
  list-style-position: inside;
  font-size: 1.8vmin !important;
}


.road-image {
  width: 100%;
  height: autos
}

.road-image .road-image__description {
  font-size: 1rem !important;
  margin-top: 6px;
  color: var(--placeholder);
}

.roadmap-navigation {
  position: sticky;
  width: 100%;
  bottom: 0;
  display: block;
  background-color: var(--bodyBg);
  /* border: 1px solid var(--mainColor); */
  padding-top: 20px;
  z-index: 2;
}

.roadmap-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  overflow-x: scroll;
}

.roadmap-wrapper a {
  text-decoration: none;
  color: var(--mainColor);
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  height: 22px;
}

.roadmap-wrapper a:hover {
  text-decoration: underline var(--hoverColor);
  text-underline-offset: 2px;
}

.roadmap-wrapper .road-selected {
  color: var(--btnBg);
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.2rem;
  height: unset;
}

.roadmap-wrapper .road-selected:hover {
  color: var(--mainColor);
  text-decoration: none;
}


.road-selected::after {
  content: "|";
  display: block;
  text-align: center;
}

.roadmap-wrapper span {
  line-height: 50%;
  height: 22px;
  margin-bottom: 10px;
}

.roadmap-wrapper div {
  cursor: pointer;
}

.roadmap-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;

}

@media (max-width: 600px) {
.roadmap-partner {
  margin-top: 1.2rem;
}
}

.roadmap-partner span {
  color: var(--greyColor);
  font-size: 0.8rem;
  line-height: 115%;
}

.roadmap-partner img {
  max-height: 40px;
  max-width: 200px;
  height: auto;
  width: auto;
}

.roadmap-container .post-content__additional {
  margin-top: 2rem;
  text-align: left;
}

.post-content__additional p {
	font-size: 2vmin !important;
}

.post-content__additional h3 {
	font-size: 3vmin !important;
	text-align: center;
}

.post-content__additional figure {
	width: 100% !important;
 	max-height: 500px;
}

.post-content__additional figcaption {
	text-align: center
}

.post-content__additional img {
	width: 100%;
 	max-height: 500px;
 	object-fit: contain;
}


.roadmap-persons {
  width: fit-content;
  padding: 20px;
  margin-top: 50px;
  border: 1px solid var(--borderColor);
  border-radius: .25rem;
}

.roadmap-persons p {
  font-size: 2vmin !important;
}

.roadmap-persons h3 {
  color: var(--btnBg);
  margin-bottom: 20px;
  font-size: 1.75rem;
}