.post-info {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
}

.post-navigation {
  background: #fff;
}

.post-navigation .navigation-head {
  background: var(--gray);
}

.last-news__tabs .tab {
  background: #737D75;
}

.last-news__tabs .tab.active {
  background: var(--dark-blue);
}

table {
  border-spacing: 0;
}

table tr th {
  background: var(--gray);
  color: var(--dark-blue);
}

table tr td {
  background: #fff;
  border-bottom: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
}

table tr td:first-child {
  border-left: 1px solid var(--gray);
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

blockquote.read-also {
  background: #fff;
  border-color: var(--gray);
}

.post-content {
  color: var(--text-color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4 {
  color: var(--dark-blue);
}

.ads-banner .h4 {
  color: #fff;
}

.calendar-block {
  display: none;
}

.calendar-block__position:empty {
  display: none;
}

.calendar-sidebar {
  grid-area: calendar;
}

.holiday-grid {
  grid-template-areas:
    "breadcrumbs breadcrumbs"
    "post calendar"
    "post aside";
  grid-template-rows: repeat(2, max-content) 1fr;
}

.holiday-grid:not(:has(.info-top)) {
  grid-template-areas:
    "breadcrumbs breadcrumbs"
    "post calendar"
    "post aside";
  grid-template-rows: repeat(2, max-content) 1fr;
}

.calendar-table {
  border-spacing: 0;
}

.calendar-table tr th,
.calendar-table tr td {
  padding: 0;
  border: 0 !important;
}

.calendar-table tr th {
  border-radius: 0 !important;
  font-size: 14px;
  color: var(--text-color);
  height: 41px;
  vertical-align: middle;
  text-align: center;
  background: var(--gray);
  font-weight: 400;
  position: relative;
}

.calendar-table tr th:first-child:before,
.calendar-table tr th:last-child:before {
  content: '';
  display: block;
  background: var(--gray);
  position: absolute;
  height: 100%;
  width: 5px;
  left: -5px;
  top: 0;
}

.calendar-table tr th:last-child:before {
  left: auto;
  right: -5px;
}

.calendar-table tr td {
  text-align: center;
  vertical-align: middle;
  height: 36px;
  font-size: 14px;
  color: #000000;
  background: transparent;
  font-weight: 400;
}

.calendar-table tr td.prev-month,
.calendar-table tr td.next-month {
  opacity: 0.2;
}

.calendar-table tr td .no-url {
  opacity: 0.6;
}

#calendar-body {
  padding: 0 5px 5px;
}

#calendar-wrapper {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.calendar-header {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: var(--dark-blue);
  font-weight: 400;
}

.calendar-header button {
  border: 0;
  outline: none;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
}

.calendar-header button * {
  pointer-events: none;
}

.calendar-table tr td span,
.calendar-table tr td a {
  transition: all .4s ease;
}

.calendar-table tr td.today a,
.calendar-table tr td.today span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--dark-blue);
  font-weight: 500;
  height: 100%;
  color: #fff;
}

.calendar-table tr td span,
.calendar-table tr td a {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.calendar-table tr td span:hover,
.calendar-table tr td a:hover {
  background: var(--gray);
  color: #000000;
}

.post-middle {
  position: relative;
}

.post-middle:before {
  content: '';
  display: block;
  position: absolute;
  height: 770px;
  background: linear-gradient(to bottom, #19432F 0%, #F6F5F0 100%);
  top: 0;
  right: 0;
  left: 0;
}

.breadcrumbs li a {
  color: #F6F5F0;
}

.breadcrumbs li:not(:first-child)>svg path,
.breadcrumbs li:first-child>svg path {
  stroke: #F6F5F0;
}

.breadcrumbs li:last-child {
  color: #CFCFCF;
}

.last-news,
.main-week {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.ads-banner-1 .h4 {
  color: #fff;
}

.faq-item {
  border: 1px solid var(--gray);
  padding-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-head,
.faq-question,
.schema-faq-question {
  background: var(--gray);
  padding: 12px 32px 12px 12px;
  color: var(--dark-blue);
}

.faq-icon,
.faq-question i {
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
}

.faq-content,
.faq-answer,
.schema-faq-answer {
  background: #FFFFFF;
}

.faq-content p,
.faq-answer p,
.schema-faq-answer p {
  padding: 12px;
}

.faq-content p:not(:last-child),
.faq-answer p:not(:last-child),
.schema-faq-answer p:not(:last-child) {
  padding-bottom: 0;
}

.faq-item .faq-content,
.faq-item .faq-answer,
.schema-faq-section .schema-faq-answer {
  padding-right: 0;
}

.faq-item.active .faq-content,
.faq-item.active .faq-answer,
.schema-faq-section.active .schema-faq-answer {
  padding-top: 0;
}

.schema-faq-section:last-child,
.faq-item:last-child {
  border-bottom: 1px solid var(--gray);
}

.holiday-link {
  display: flex;
  margin-top: 16px;
  gap: 12px;
}

.holiday-link .btn {
  flex-grow: 1;
  flex-basis: 0;
  padding-right: 0;
  padding-left: 0;
}

.holiday-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}

.holiday-list .item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 12px 24px;
  gap: 12px;
  transition: all .4s ease;
}

.holiday-list .item:hover {
  background: var(--gray);
}

.holiday-list .item .text {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--dark-blue);
  font-weight: 400;
}

.holiday-date {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 32px;
}

.holiday-date__block {
  flex-grow: 1;
  flex-basis: 0;
}

.holiday-date__head {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-blue);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray);
  margin-bottom: 8px;
  gap: 8px;
  white-space: nowrap;
}

.holiday-date__content {
  font-size: 14px;
  color: var(--text-color);
}

.timeline-block {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.timeline-block:before {
  content: '';
  display: block;
  border-right: 2px dashed var(--gray);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.timeline-block>div {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.timeline-block .even-items {
  margin-top: 120px;
}

.timeline-block .item {
  max-width: 303px;
  border: 1px solid var(--gray);
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-block .item .date {
  margin-left: auto;
  font-weight: 500;
  font-size: 16px;
  color: var(--dark-blue);
  border-radius: 12px;
  background: var(--gray);
  padding: 12px;
  position: relative;
}

.timeline-block .item .date:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--gray);
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -79px;
  z-index: 2;
}

.timeline-block .item .date:after {
  content: '';
  display: block;
  width: 75px;
  height: 4px;
  background: var(--gray);
  top: 50%;
  transform: translateY(-50%);
  right: -75px;
  position: absolute;
  z-index: 1;
}

.timeline-block .item .text {
  font-size: 14px;
  color: var(--text-color);
}

.timeline-block .even-items .item .date {
  margin-left: 0;
  margin-right: auto;
}

.timeline-block .even-items .item .date:before {
  right: auto;
  left: -79px;
}

.timeline-block .even-items .item .date:after {
  right: auto;
  left: -75px;
}

.info-block {
  display: flex;
  gap: 24px;
}

.info-block .block {
  flex-grow: 1;
  flex-basis: 0;
  border-radius: 12px;
  overflow: hidden;
}

.info-block .block .head {
  background: var(--dark-blue);
  font-size: 18px;
  color: #fff;
  text-align: center;
  padding: 16px 24px;
  position: relative;
  overflow: hidden;
  font-weight: 500;
  text-align: left;
}

.info-block .block .head .icon {
  position: absolute;
  right: -20px;
  top: -24px;
  background: transparent;
  max-width: 93px;
}

.info-block .block .content {
  background: #fff;
  padding: 24px;
  color: var(--text-color);
  height: 100%;
}

.info-block .block .content ul {
  margin: 0;
  padding-left: 0;
}

.info-block .block .content ul li {
  padding-left: 32px;
  font-size: 16px;
  color: var(--text-color);
}

.info-block .block .content ul li:before {
  width: 24px;
  height: 24px;
  background: url(../../img/holiday/icon__church-1.svg) no-repeat;
  left: 0;
  top: 0;
}

.info-block .block.minus .content ul li:before {
  background-image: url(../../img/holiday/icon__church-2.svg);
}

.greetings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.greetings-list .item {
  background: #fff;
  font-size: 16px;
  color: var(--text-color);
  border-radius: 12px;
  padding: 20px 68px 20px 32px;
  position: relative;
  line-height: 140%;
  font-family: 'Exo';
  font-weight: 600;
}

.greetings-list .item strong {
  color: var(--dark-blue);
}

.greetings-list .item .btn-copy {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s ease;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  cursor: pointer;
}

.greetings-list .item .btn-copy:before {
  content: '';
  display: block;
  background: url(../../img/holiday/icon__copy.svg) no-repeat;
  width: 20px;
  height: 20px;
  transition: all .4s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.greetings-list .item .btn-copy:after {
  content: '';
  display: block;
  background: url(../../img/holiday/icon__ok.svg) no-repeat;
  width: 20px;
  height: 20px;
  opacity: 0;
  transition: all .4s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.greetings-list .item .btn-copy.copied:before {
  opacity: 0;
}

.greetings-list .item .btn-copy.copied:after {
  opacity: 1;
}

.greetings-list .item .btn-copy:hover {
  background: #00AD62;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 45px;
}

.facts-list .item {
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  font-family: 'Exo';
  font-weight: 600;
  padding: 16px 16px 16px 40px;
  text-indent: 30px;
  color: var(--text-color);
  position: relative;
  line-height: 140%;
}

.facts-list .item .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #E0E8D9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -28px;
  left: -8px;
  transform: rotate(9deg);
}

.sources {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sources a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: underline;
}

.sources a span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.sources a:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url(../../img/holiday/icon__link.svg) no-repeat;
  flex-shrink: 0;
}

.moreIdeas-list .item {
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.moreIdeas-list .item a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.moreIdeas-list .item .image {
  width: 114px;
  height: 92px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.moreIdeas-list .item .image picture {
  height: 100%;
}

.moreIdeas-list .item .image img {
  max-width: unset !important;
  height: 100% !important;
  width: auto !important;
}

.moreIdeas-list .item h4 {
  color: var(--dark-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 130%;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.postcard-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.postcard-block .wp-block-image {
  position: relative;
}

.postcard__btns {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

.postcard__btns .btn {
  background: #F6F5F0;
  color: var(--dark-blue);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: all .4s ease;
  cursor: pointer;
}

.postcard__btns .btn:hover {
  background: var(--dark-blue);
  color: var(--white);
}

.date-info {
  background: #fff;
  margin-top: 32px;
  padding: 20px 18px;
}

.date-info__text {
  font-size: 16px;
}
.date-info__item {
  background: #F6F5F0;
  border: 1px solid #CCE2B6;
  font-size: 14px;
  padding: 12px;
}

.ny-block {
  margin-top: 16px;
  background: #fff;
  padding: 20px 0;
}

.ny-block strong {
  font-size: 16px;
  margin-bottom: 16px;
}

@media (max-width: 1279px) {
  .postcard__btns {
    left: 8px;
    bottom: 8px;
  }

  .postcard__btns .btn {
    padding: 8px 12px;
  }

  .post-middle:before {
    height: 650px;
  }

  .calendar-block {
    display: block;
  }

  .faq-head h3,
  .faq-question span,
  .schema-faq-question {
    font-size: 14px;
  }

  .post-info,
  .last-news,
  .main-week {
    padding: 12px;
  }

  .custom-grid .info-top {
    background: var(--gray);
    display: none;
  }

  .custom-grid .post-top {
    padding-top: 15px;
  }

  .single-bottom {
    background: #E0E8D9;
  }

  .holiday-date {
    flex-direction: column;
    gap: 16px;
  }

  .holiday-date__block {
    display: flex;
    align-items: center;
  }

  .holiday-date__head {
    font-size: 12px;
    width: 50%;
    border-bottom: 0;
    margin-bottom: 0;
    border-right: 1px solid var(--gray);
    padding: 4px 8px 4px 0;
    white-space: pre-wrap;
  }

  .holiday-date__content {
    font-size: 12px;
    padding-left: 8px;
  }

  .timeline-block__wrapper {
    margin-right: -15px;
    margin-left: -15px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .timeline-block {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 0px;
    /* row-gap: 98px; */
    width: fit-content;
  }

  .timeline-block:before {
    grid-row: 2;
    border-top: 2px dashed var(--gray);
    border-right: 0;
    transform: unset;
    right: 15px;
    left: 0;
    bottom: auto;
  }

  .timeline-block .item-block:nth-child(odd) {
    grid-row: 1;
    padding-right: 48px;
    padding-bottom: 45px;
    margin-top: auto;
  }

  .timeline-block .item-block:nth-child(odd) .item {
    flex-direction: column-reverse;
  }

  .timeline-block .item-block:nth-child(odd) .item .date {
    margin-right: auto;
    margin-left: 0;
  }

  .timeline-block .item-block:nth-child(even) {
    grid-row: 3;
    padding-left: 48px;
    padding-top: 45px;
    /* border-top: 2px dashed var(--gray); */
  }

  .timeline-block .item {
    width: 280px;
  }

  .timeline-block .item .date:before {
    left: 50%;
    transform: translateX(-50%);
    top: 95px;
  }

  .timeline-block .item .date:after {
    width: 4px;
    height: 65px;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
  }

  .timeline-block .item-block:nth-child(even) .date:before {
    top: -73px;
  }

  .timeline-block .item-block:nth-child(even) .date:after {
    top: -53px;
  }

  .info-block {
    gap: 24px;
    flex-direction: column;
  }

  .info-block .block {
    flex-basis: unset;
    flex-grow: 0;
  }

  .info-block .block .head {
    font-size: 16px;
    padding: 16px;
  }

  .info-block .block .content ul li {
    font-size: 14px;
  }

  .greetings-list .item {
    padding: 12px 68px 12px 16px;
    font-size: 14px;
  }

  .facts-list .item {
    padding: 16px 16px 16px 32px;
    font-size: 14px;
  }
  .date-info__text {
    font-size: 14px;
  }
  .date-info__item {
    padding: 8px;
  }
}