/*
Theme Name: APRcenter
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: CODD
Author URI: https://wordpress.org
Description: APRcenter
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: APRcenter
Tags: 
*/

/* Custom style */

.page {
  font-size: 16px;
  line-height: 185%;
}

.section__nav-link {
  font-size: 24px;
  line-height: 30px;
}

.news__block-description p {
  font-size: 16px;
  line-height: 185%;
}

.services__content-text p {
  font-size: 16px;
  line-height: 185%;
}

.section__hero {
  z-index: 0;
}

.section__nav-links li {
  list-style: none;
}

.footer__nav li {
  list-style: none;
}

.header {
  position: relative;
  z-index: 5;
}

@media screen and (max-width: 768px) {
  ul.footer__nav {
    padding-left: 0;
  }

  ul.footer__nav li {
    padding-left: 0;
  }

  .participants__content-inrto_head-img {
    height: auto;
  }

  .menu-item {
    padding: 0;
    font-size: 1em;
  }
}

.main .card__title a {
  text-decoration: none;
  color: inherit;
}

.participants__content-inrto_head-img img {
  max-width: 200px;
  min-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
}

.section__hero {
  margin-bottom: 0;
}

figure.wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.main .card__info {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main .card__button {
  margin-top: auto;
}

@media (width >= 768px) {
  .main .card__title {
    font-size: 1.45em;
  }

  .about__content-wrapper {
    gap: 1.875em 2%;
    flex-wrap: wrap;
  }
}

.about__content-text p span {
  font-weight: normal;
}

.about__content-text p span b {
  font-weight: 700;
}


.maps-ates {
  color: #000;
  font-size: 16px;
  font-style: normal;
  line-height: 185%; /* 29.6px */
  font-variant: small-caps;
  max-width: 1120px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.maps-ates h2 {
  color: #030A30;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 187.5%; /* 60px */
  font-variant: small-caps;
  text-align: center;
}

.maps-ates__list {
  display: flex;
  margin: 24px auto 48px;
  flex-wrap: wrap;
  max-width: 820px;
  gap: 24px 0;
}
.maps-ates__list-item {
  width: 33%;
  padding: 12px;
  box-sizing: border-box;
}
.maps-ates__list-item:nth-child(4),
.maps-ates__list-item:nth-child(5) {
  width: 50%;
}
@media screen and (max-width: 740px) {
  .maps-ates__list-item {
    width: 50%;
  }
}
.maps-ates__list-item-wrap {
  background: #DADAE2;
  border-radius: 12px;
  padding: 12px;
  height: 100%;
  box-sizing: border-box;
}
.maps-ates__list-item-wrap h3 {
  margin-top: 0;
}

.maps-ates__list-item-wrap p {
  margin-bottom: 0;
}

.maps-ates__flags {
  display: flex;
  flex-wrap: wrap;
  max-width: 796px;
  margin: 0 auto;
}

.maps-ates__flags-item {
  width: 50%;
  display: flex;
  align-items: center;
  padding-right: 20px;
  box-sizing: border-box;
}
.maps-ates__flags-item-map {
  width: 50px;
  min-width: 50px;
  margin-right: 12px;
  position: relative;
}

.maps-ates__flags-item-map:before {
  border: 1px solid #999999;
  position: absolute;
  left: 1px;
  top: 9px;
  right: 1px;
  bottom: 9px;
  content: '';
}

.maps-ates__flags-item-map img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .maps-ates__flags-item {
    width: 100%;
  }  

}

.services__content-item {
  min-height: 10px;
  padding: 12px 0;
  border: none;
  /* padding-left: 74px; */
}

.services__content-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.services__content-icon {
  width: 30px;
  min-width: 30px;  
}

.services__content-icon img {
  width: 100%;
  height: auto;
}

.services__content-title {
  margin-bottom: 0;
}

.services__content-buttons {
  margin-top: 24px;
  display: none;
}

.services__content {
  max-width: 1120px;
  padding: 0 20px;
  margin: 0 auto;
}

.services__content-header {
  margin-bottom: 14px;
}

.services__content-item#section-1 .services__content-title {
  margin-bottom: 40px;
}

.services__content-item:not(#section-1) .services__content-title {
  font-size: 16px;
}

.news {
  padding: 40px;
}

.news__content {
  margin-top: -40px;
}

.section__nav-link {
  padding-left: 20px;
  padding-right: 20px;
}

.news__item {
  padding-bottom: 10px;
  padding-top: 40px;
  border-bottom: 1px solid #ddd;
}

.news__item-link {
  display: flex;
  align-items: flex-start;
  color: #000;
  text-decoration: none;
  gap: 40px;
}

.news__item-link label {
  font-size: 14px;
  opacity: .5;
}

.news__item-link h2 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 5px;
}

.news__item-link:hover h2 {
  text-decoration: underline;
}

.news__item-link h5 {
  font-weight: normal;
  font-size: 18px;
  margin-top: 10px;
}

.news__item-preview {
  width: 300px;
  min-width: 300px;
  margin-top: 36px;
}

.news__item-preview img {
  max-width: 100%;
  height: auto;
}

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

  .news__item-link {
    flex-direction: column;
  }

  .news__item-preview {
    width: 100%;
    min-width: 1px;
    margin-top: 0;
  }
  
}

.content {
  font-size: 18px;
  line-height: 24px;
}

.content p {
  margin-bottom: 24px;
}

@media screen and (width <= 47.9937rem) {
  .about__content {
      margin: 0 0;
      padding: 20px;
  }

  .news {
    padding: 20px;
  }

  .about__content-item:first-child {
    padding-top: 0;
  }

  .participants__content {
    margin: 0;
    padding: 0 20px;
  }

  .page-template-template-page-about .about__content {
    padding: 0 20px;
  }

  .news__wrapper {
    padding: 0;
  }
}

iframe {
  border: none;
  outline: none;
}