/*
Theme Name: Fox Tour
Theme URI: 
Author: 
Author URI: 
Description: 
Text Domain: 
Domain Path: /languages
Template: alba-longa
*/
/* Размещайте ваши стили под этой строкой. */ 

/*
============================================
= 16 Разметка карточки
============================================
*/

.cpt-item {
  margin-bottom: 2.6rem;
  display: grid;
  grid-column-gap: 3rem;
  grid-template-columns: repeat(12, 1fr);
}

@media (max-width: 1160px) {
  .cpt-item {
    display: flex;
    flex-direction: column;
  }
}

.cpt-item__content {
  grid-column: span 8;
  background-color: var(--lightColor);
  border-radius: var(--bradius);
}

@media (max-width: 1160px) {
  .cpt-item__content {
    order: 2
  }
}

@media (max-width: 415px) {
  .cpt-item__content {
    padding: 1rem;
  }
}

.cpt-item__aside {
  grid-column: span 4;
  border-radius: var(--bradius);
}

@media (max-width: 1160px) {
  .cpt-item__aside {
    order: 1;
    padding-bottom: 0;
  }
}

@media (max-width: 415px) {
  .cpt-item__aside {
    padding: 1rem;
  }
}

.cpt-item__aside iframe {
  margin: 0 auto;
}

.cpt-content__image {
  margin-bottom: 2rem;
}

@media (max-width: 415px) {
  .cpt-content__image {
    margin-bottom: 1.5rem;
  }
}

.cpt-content__image img {
  border-radius: var(--bradius);
}

.cpt-content .event-item__date {
  margin-bottom: 1rem;
  font-size: 1rem;
  border-radius: var(--bradius);
  overflow: hidden;
}

.cpt-info-list {
  display: flex;
  flex-direction: column;
}

.cpt-info__item {
  padding: 0.8rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  border: 1px solid var(--borderColor);
  border-radius: var(--bradius);
  font-size: 1rem;
}

.cpt-info__item:not(:last-child) {
  margin-bottom: 1rem;
}

.cpt-info-list__label {
  margin-bottom: 0.4rem;
  display: block;
  color: var(--greyColor);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cpt-item__wrap {
  display: flex;
  flex-direction: column;
  flex: 1 0 70%;
  overflow: auto;
}

.cpt-info__map {
  margin-bottom: 1rem;
  border-radius: var(--bradius);
  background-color: #f7f6fb;
  overflow: hidden;
}

@media (max-width: 1160px) {
  .cpt-info__map {
    display: none;
  }

  .cpt-info__map.is-shown {
    display: flex;
    animation: scale-display .3s;
  }
}

.cpt-item__price {
  font-weight: var(--bold);
}

.cpt-info__item p:not(:last-child) {
  margin-bottom: 0.2rem;
}

.cpt-item__icon {
  margin-right: 1rem;
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--accent1);
}

.cpt-info__item a {
  text-decoration: none;
}

.single-hotels .post-content,
.single-eat .post-content,
.single-events .post-content,
.single-attractions .post-content,
.single-excursions .post-content,
.single .post-content {
  margin-bottom: 1.5rem;
}

.cpt-item__tags,
.post-tags {
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
  display: flex;
  flex-flow: row wrap;
}

@media (max-width: 1160px) {
  .event-page .cpt-item__tags {
    margin-bottom: 0;
  }
}

@media (max-width: 700px) {
  .cpt-item__tags,
  .post-tags {
    margin-bottom: 1rem;
  }
}

.cpt-tags__item,
.post-tags a {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .cpt-tags__item,
.post-tags a {
    margin-bottom: 0.6rem;
  }
}

.cpt-tags__item:not(:last-child),
.post-tags a:not(:last-child) {
  margin-right: 1rem;
}

@media (max-width: 700px) {
  .cpt-tags__item:not(:last-child),
  .post-tags a:not(:last-child) {
    margin-right: 0.5rem;
  }
}

.cpt-tags__link,
.post-tags a {
  padding: 0.3rem 0.8rem;
  display: inline-flex;
  border: 1px solid var(--greyColor);
  text-decoration: none;
  border-radius: var(--bradius);
  color: var(--greyColor);
}

.cpt-tags__link::before,
.post-tags a::before {
  content: "#";
}

.cpt-tags__link:hover,
.post-tags a:hover {
  border-color: var(--hoverColor);
  text-decoration: none;
}

.page__related {
  margin-top: 4rem;
}

@media (max-width:415px) {
  .page__related {
    margin-top: 0;
  }
}

.single-attractions .page__related {
  margin-bottom: 3rem;
}

.list-item--related .list-item__footer {
  padding-top: 0.5rem;
}

.list-item--related .list-item__wrap {
  padding: 1.4rem;
}

.related-items__title {
  margin-bottom: 2rem;
  padding-bottom: 0.9rem;
  position: relative;
    font-size: 1.4rem;
    line-height: 135%;
    font-weight: var(--medium);
}

.related-items__title::after {
  content: "";
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, #e1b2f2, transparent);
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  z-index: 1;
}

/*
============================================
б.н. Кастомные стили. Подвал.
============================================
*/

.footer {
  border-top: 1px solid #eee;
}

.footer .container {
  padding: 3rem 1rem;
}

.footer-content-list {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(3, 1fr)
}

@media (max-width: 1160px) {
  .footer-content-list {
    gap: 3rem;
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 720px) {
  .footer-content-list {
   display: block;
  }
}

.footer-list__item {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  background-color: var(--lightColor);
  overflow: hidden;

}

.footer-content {
  margin: 0 auto;
  display: flex;;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 900px;
}

.footer-content__title {
  padding: 0 0.5rem;
  margin-bottom: 0.8rem;
  display: block;
  max-width: 400px;
  font-size: 1.0rem;
  font-weight: var(--medium);
}

.footer-content__contacts {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap
  font-size: 1rem;
  color: var(--greyColor);
}

.footer-contacts__wrap {
  border-left: 1px solid #eee;
  margin-bottom: 0.2rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: left;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-contacts__wrap {
    margin-bottom: 0.4rem;
    flex-direction: row;
    text-align: center;
    font-size: 1rem;
  }
}

.footer-content__link {
  padding: 0 1.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-content__link {
    padding: 0.3rem;
  }
}

.footer-content__socials {
  margin-top: 2rem;
  margin-bottom: 2rem;
  justify-content: center;
}

@media (max-width: 415px) {.exc-info__header {flex-flow: row wrap !important}}
@media (max-width: 415px) { .order-btn { margin-top: 0 !important}}

.feedback-list__item {
  margin-bottom: 1.8rem;
}

/*
============================================
Изменения в Header
============================================
*/

.site-header {
  margin-bottom: 0rem;
  border-bottom: none;
}

.header-bottom {
  margin-bottom: 3rem;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.9rem;
  padding: 0 2rem 0.5rem 0;
  text-align: right;
}

.header-content__link {
  min-width: 150px;
  white-space: normal;
  text-decoration: none;
  padding: 0 ;
}

/*
============================================
Карточки особых предложений на главной
============================================
*/

.page-sale_list {
  display: grid;
  grid-column-gap: 2rem;
  grid-template-columns: repeat(4, 1fr);
}

.single-attractions .page-sale_list {
  grid-row-gap: 2rem; 
}

@media (max-width: 1160px) {
  .page-sale_list {
    grid-column-gap: 3rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .page-sale_list {
    grid-column-gap: 2rem;
  }
}

@media (max-width: 520px) {
  .page-sale_list {
    display: block;
  }
}