.container {
  margin-right: auto;
  margin-left: auto;
}

.breadcrumbs li:last-child span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumbs li:last-child {
  overflow: hidden;
}

.section-top {
  background: linear-gradient(to bottom, #19432F 0%, #F6F5F0 100%);
  padding-bottom: 72px;
}

.section-top .breadcrumbs {
  color: #F6F5F0;
}

.section-top .breadcrumbs .cur-post {
  color: #CFCFCF;
}

.top-block {
  background: #FFFFFF;
  border-radius: 32px;
  padding: 32px;
  margin-bottom: 48px;
}

.top-block__top {
  display: flex;
  gap: 24px;
}

.top-block__top .img-block {
  width: 100%;
  max-width: 447px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-block__top .img-block img {
  border-radius: 12px;
}

.top-block__top .text-block {
  font-size: 16px;
  color: var(--text-color);
  font-weight: 300;
}

.top-block__top .text-block h1 {
  margin-bottom: 24px;
  font-size: 32px;
  color: var(--dark-blue);
}

.top-block__top .text-block strong {
  color: var(--dark-blue);
}

.top-block__top .text-block p:not(:last-child) {
  margin-bottom: 20px;
}

.top-block .year-day {
  background: #F6F5F0;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 400;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border: 1px solid var(--gray);
}

.top-block__bottom {
  border-top: 1px solid #CCE2B6;
  padding-top: 24px;
  margin-top: 24px;
}

.top-block__bottom .title-month {
  text-align: center;
  font-size: 18px;
  color: var(--dark-blue);
  margin-bottom: 12px;
  font-weight: 400;
}

.calendar-block {
  display: flex;
  justify-content: space-between;
}

.calendar-block .btn-item {
  background: #CCE2B6;
  font-size: 14px;
  color: var(--dark-blue);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: all .4s ease;
  border: 0;
  outline: none;
  font-family: inherit;
  font-weight: 300;
  min-width: 116px;
}
.calendar-block .btn-item * {
  pointer-events: none;
}

.calendar-block .btn-item.prev {
  order: 1;
}

.calendar-block .btn-item.next {
  order: 3;
  justify-content: flex-end;
}

.calendar-block .btn-item.no-url {
  opacity: 0.6;
}

.calendar-block .btn-item:hover {
  background: var(--dark-blue);
  color: #F6F5F0;
}

.calendar-block__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin: 0 16px; */
  order: 2;
}

.calendar-block__inner .item {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #686C68;
  border-radius: 8px;
  transition: all .4s ease;
}

.calendar-block__inner .item.no-url {
  opacity: 0.6;
}

.calendar-block__inner .item:empty {
  display: none;
}

.calendar-block__inner .item.active {
  background: var(--dark-blue);
  color: #fff;
}

.calendar-block__inner .item:not(.active):not(:empty):hover {
  background: var(--gray);
  color: #686C68;
}

.page-menu {
  height: 120px;
  perspective: 800px;
  position: relative;
}

.page-menu:before {
  content: '';
  position: absolute;
  background: #fff;
  transform: rotateX(19deg);
  transform-origin: top;
  border-radius: 24px;
  left: 27px;
  right: 27px;
  height: 100px;
  top: auto;
  bottom: -20px;
}

.page-menu__inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0px;
  padding: 0 37px 32px;
  justify-content: center;
  align-items: flex-start;
}

.page-menu__inner .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.page-menu__inner .item .icon {
  transition: all .4s ease;
  -webkit-backface-visibility: hidden;
}

.page-menu__inner .item .text {
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-blue);
  transition: all .4s ease;
  text-align: center;
  line-height: 130%;
  white-space: nowrap;
}

.page-menu__inner .item:hover .icon {
  transform: rotate(4deg) translatez(0);
}

.page-menu__inner .item:hover .text {
  color: var(--blue);
}

section {
  padding: 80px 0;
}

section .top {
  max-width: 1025px;
  margin: 0 auto;
  margin-bottom: 24px;
  text-align: center;
}

section .top p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 140%;
}

section .top p:not(:last-child) {
  margin-bottom: 20px;
}

section .top strong {
  color: var(--dark-blue);
}

/* .second-bg {
  background: #E0E8D9;
} */

.holiday-main > *:nth-child(even) {
  background: #E0E8D9;
}

.holiday-ukraine .inner {
  display: flex;
  gap: 24px;
}

.holiday-ukraine .sidebar {
  width: 390px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.title-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  justify-content: center;
}

.title-block .icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astro-calendar .inner {
  display: flex;
  gap: 12px;
  padding: 0 70px;
}

.astro-calendar .inner .block {
  flex-grow: 1;
  flex-basis: 0;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
}

.astro-calendar .inner .block .name {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-blue);
}

.astro-calendar .inner .block-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.astro-calendar .inner .block-list .item {
  background: #F6F5F0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  font-size: 14px;
}

.astro-calendar .astro-links {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

.astro-calendar .astro-links .item {
  font-size: 16px;
  color: var(--dark-blue);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  flex-grow: 1;
  flex-basis: 0;
  transition: all .4s ease;
  text-align: center;
  font-weight: 400;
}

.astro-calendar .astro-links .item:hover {
  background: var(--dark-blue);
  color: #fff;
}

.post-def {
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  display: flex;
}

.post-def:not(:last-child) {
  margin-bottom: 24px;
}

.post-def .post-thumb {
  width: 380px;
  flex-shrink: 0;
  position: relative;
}

.post-def .repeat {
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: #fff;
  font-size: 14px;
  padding: 4px 8px;
  color: #000000;
  text-transform: lowercase;
  gap: 8px;
}

.post-def .repeat-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  font-size: 14px;
  color: var(--text-color);
  margin-top: 4px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0, 12%);
  opacity: 0;
  transition: all .4s ease;
  pointer-events: none;
  text-transform: none;
}

.post-def .repeat:hover .repeat-tooltip {
  opacity: 1;
}

.post-def .post-thumb img {
  width: 100%;
  border-radius: 8px;
}

.post-def .descr {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: inherit;
}

.post-def .h4 {
  font-size: 20px;
}

.post-def .descr p {
  color: var(--text-color);
  font-size: 16px;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.post-def .btn-block {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: auto;
  align-items: flex-end;
}

.post-def .btn-block .share-count__block {
  margin-right: auto;
}

.post-def .btn-block .share-count {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-blue);
  font-weight: 400;
}

.post-def .btn-block .share-count .text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-def .btn-block .share-stats {
  display: flex;
  gap: 8px;
  margin-left: 4px;
}

.post-def .btn-block .share-stats__item {
  border: 1px solid #25D366;
  color: #25D366;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  gap: 4px;
  border-radius: 24px;
  align-items: center;
  padding: 6px 8px;
  overflow: hidden;
}

.post-def .btn-block .share-stats__item:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url(../../img/holiday/share/icon__shared-wa.svg) no-repeat;
}

.post-def .btn-block .share-stats__item.tg {
  color: #23A0DC;
  border-color: #23A0DC;
}

.post-def .btn-block .share-stats__item.tg:before {
  background-image: url(../../img/holiday/share/icon__shared-tg.svg);
}

.post-def .btn-block .share-stats__item.fb {
  color: #0866FF;
  border-color: #0866FF;
}

.post-def .btn-block .share-stats__item.fb:before {
  background-image: url(../../img/holiday/share/icon__shared-fb.svg);
}

.post-def .btn-block .share-stats__item.vb {
  color: #735FF2;
  border-color: #735FF2;
}

.post-def .btn-block .share-stats__item.vb:before {
  background-image: url(../../img/holiday/share/icon__shared-vb.svg);
}

.post-def .btn-block .share-stats__item.copy {
  color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.post-def .btn-block .share-stats__item.copy:before {
  background-image: url(../../img/holiday/share/icon__shared-copy.svg);
}

.post-def .btn-block .btn {
  border-radius: 24px;
  background: var(--gray);
  font-size: 14px;
  color: var(--dark-blue);
  padding: 8px 16px;
}

.post-def .btn-block .btn:hover {
  background: var(--dark-blue);
  color: #fff;
}

.post-def .btn-block .btn.dark {
  background: var(--dark-blue);
  color: #fff;
}

.post-def .btn-block .btn.dark:hover {
  background: var(--gray);
  color: var(--dark-blue);
}

.who-born {
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.who-born__head {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-blue);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray);
}

.who-born__content {
  flex: 1 1 0px;
  min-height: 0;
}

.who-born__slider {
  height: 100%;
}

.who-born__slider .swiper-slide {
  height: auto;
}

.who-born__slider .item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
}

.who-born__slider .item .photo {
  flex-shrink: 0;
}

.who-born__slider .item .photo img {
  border-radius: 50%;
}

.who-born__slider .item .name {
  font-size: 18px;
  font-weight: 400;
  color: var(--dark-blue);
}

.who-born__slider .item .desc {
  font-size: 14px;
  color: var(--text-color);
  margin-top: 8px;
}

.day-history .top {
  max-width: 100%;
  margin-left: 0;
  margin-bottom: 32px;
}

.day-history .title-block {
  justify-content: flex-start;
}

.day-history .top p {
  text-align: left;
}

.day-history .content {
  display: flex;
  gap: 24px;
}

.day-history .content .left {
  flex: 1;
}

.day-history .content .right {
  max-width: 390px;
}

.day-history .inner {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
}

.day-history .list {
  gap: 16px;
}

.day-history .list li:before {
  background: var(--dark-blue) !important;
}

.day-history .list li {
  display: flex;
  font-size: 16px !important;
  color: var(--text-color);
  gap: 4px;
  font-weight: 300 !important;
}

.day-history .list li span {
  font-size: 18px;
  color: var(--dark-blue);
  width: 45px;
  font-weight: 500;
  flex-shrink: 0;
}

.sidebar-block {
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-block__head {
  background: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  padding: 16px;
}

.sidebar-block__content {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  color: #40405D;
}

.sidebar-block__content .name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sidebar-block__content .name-list .item {
  font-size: 18px;
  color: var(--dark-blue);
  background: #E0E8D9;
  border-radius: 8px;
  padding: 16px 24px;
  font-weight: 500;
}

.astro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.astro-list .item {
  width: calc(50% - 2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  font-size: 16px;
  color: var(--text-color);
  background: #fff;
  border-radius: 8px;
}

.astro-list .item .text {
  text-align: center;
  line-height: 120%;
}

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

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

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

.info-block .block .head .icon {
  position: absolute;
  right: -20px;
  top: -24px;
}

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

.info-block .block .content ul {
  margin-top: 12px;
  margin-left: 13px;
  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);
}

/* Last news Start */
.last-news {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.last-news .h3 {
  display: block;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C5C5C5;
  font-size: 20px;
}

.last-news__content {
  flex: 1 1 0px;
  min-height: 0;
}

.last-news__tabs {
  display: flex;
  margin-bottom: 16px;
  gap: 8px;
}

.last-news__tabs .tab {
  flex-grow: 1;
  flex-basis: 0;
  border-radius: 8px;
  background: #737D75;
  font-size: 16px;
  color: #F1F1F1;
  cursor: pointer;
  padding: 8px 20px;
  text-align: center;
  transition: all .4s ease-in-out;
}

.last-news__tabs .tab:hover:not(.active) {
  background: #3F3F3F;
}

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

.last-news__item {
  max-height: 100%;
  overflow-y: hidden;
  position: relative;
  padding-right: 17px;
  touch-action: manipulation;
  overscroll-behavior: contain;
}

.last-news__item .swiper-wrapper {
  transition-timing-function: linear;
}

.last-news .item {
  margin-bottom: 20px;
}

.last-news .item .date {
  font-size: 10px;
  color: #595965;
  font-weight: 300;
  margin-bottom: 7px;
  text-transform: lowercase;
}

.last-news .item a {
  font-size: 14px;
  font-weight: 500;
  color: #0B0B2F;
  display: block;
}

.last-news .item a:hover {
  text-decoration: underline;
}

.last-news__block {
  display: none;
  padding: 32px 0;
}

.last-news__position {
  margin-bottom: 32px;
}

@media (max-width: 1279px) {
  .last-news__block {
    display: block;
  }
}

/* Last news End */


.last-block .inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px
}

.swiper-vertical .swiper-slide {
  padding-right: 17px;
}

.last-block .content .h3 {
  display: block;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C5C5C5;
  font-size: 20px;
}

.last-block .content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.no-bg {
  background: transparent;
  padding: 0;
}

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

.post-def.vertical-post .descr {
  padding: 0;
}

.post-def.vertical-post .detal-right-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.post-def.vertical-post .post-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-color);
}

.post-def.vertical-post .watch {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-def.vertical-post .h4 {
  line-clamp: 3;
  -webkit-line-clamp: 3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.post-def.vertical-post .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}

.post-def.vertical-post .post-thumb img {
  border-radius: 0;
}

.post-def.vertical-post:not(:last-child) {
  margin-bottom: 0;
}

.category-desc .content {
  display: flex;
  gap: 32px;
}

.category-desc .right {
  max-width: 360px;
  flex-shrink: 0;
}

.category-desc .left {
  flex: 1;
}

.category-desc .inner {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-desc .h1 {
  margin-bottom: 24px;
}

footer {
  margin-top: 0px !important;
}

#share-post .modal-body {
  width: 600px;
  gap: 40px;
}

#share-post .modal-title {
  color: #383D38;
  padding-bottom: 24px;
  position: relative;
}

#share-post .modal-title:after {
  content: '';
  display: block;
  height: 1px;
  background: #CCE2B6;
  position: absolute;
  bottom: 0;
  right: -24px;
  left: -24px;
}

#share-post .modal-close {
  top: 27px;
  z-index: 2;
}

#share-post .model-descr {
  width: 100%;
}

#share-post .share-inner {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

#share-post .share-inner .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 18px;
  color: #787889;
  transition: all .4s ease;
}

#share-post .share-inner .item:hover {
  color: var(--dark-blue);
}

#share-post .btn {
  width: 100%;
  background: var(--dark-blue);
  color: #F6F5F0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px;
  height: 50px;
}

#share-post .btn:hover {
  background: var(--gray);
  color: #60607C;
}

.church-calendar .inner {
  display: flex;
  gap: 140px;
  margin-bottom: 32px;
}

.church-calendar .top {
  max-width: 100%;
  margin: 0;
}

.church-calendar .top p {
  text-align: left;
}

.church-calendar .title-block {
  justify-content: flex-start;
}

.download-calendar {
  width: 270px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.download-calendar .name {
  font-size: 18px;
  color: var(--dark-blue);
  text-align: center;
  font-weight: 500;
}

.download-calendar .btn {
  background: var(--dark-blue);
  font-size: 14px;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  width: 100%;
  justify-content: center;
}

/* Recent Start */
.recent-posts__scrollbar {
  overflow-x: hidden;
  position: relative;
}

.recent-posts__list {
  display: flex;
  padding-bottom: 17px !important;
}

.recent-posts__list .swiper-slide {
  width: 207px;
}

.recent-posts__list .item {
  width: 207px;
  height: 247px;
  flex-shrink: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.recent-posts__list .item img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  height: 100%;
  object-fit: cover;
}

.recent-posts__list .item:before {
  content: '';
  display: block;
  background: linear-gradient(to top, rgba(39, 39, 39, 65%) 0%, rgba(39, 39, 39, 0%) 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.recent-posts__list .item .info {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  z-index: 3;
}

.recent-posts__list .item .info .h3 {
  font-size: 14px;
  color: #F1F1F1;
  margin-bottom: 12px;
  line-height: 130%;
  display: block;
}

.recent-posts__list .item .info .h3:hover {
  text-decoration: underline;
}

.recent-posts__list .item .info .category {
  font-size: 10px;
  color: #F1F1F1;
  text-transform: uppercase;
}

.recent-posts__list .item .info .category a:hover {
  text-decoration: underline;
}

.signs-block .top {
  margin-left: 0;
}

.signs-block .title-block {
  justify-content: flex-start;
}

.signs-block .top p {
  text-align: left;
}

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

.signs-block .left {
  flex: 1;
}

.signs-block .right {
  max-width: 390px;
}

.signs-block__list {
  padding: 0 !important;
  margin: 0 !important;
}

.signs-block__list li {
  background: #fff;
  border-radius: 12px;
  font-size: 20px !important;
  color: var(--dark-blue);
  font-weight: 500 !important;
  padding: 24px 20px 24px 48px;
}

.signs-block__list li:before {
  width: 12px !important;
  height: 12px !important;
  background: var(--dark-blue) !important;
  top: 28px !important;
  left: 20px !important;
}

@media (max-width: 1279px) {
  .recent-posts .h2 {
    font-size: 20px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .recent-posts {
    padding: 32px 0;
  }

  .recent-posts__list {
    gap: 12px;
    padding-right: 30px;
  }

  .recent-posts__list .swiper-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
  }

  .recent-posts__scrollbar {
    margin-right: -15px;
    margin-left: -15px;
  }

  .recent-posts__scrollbar .ps__rail-x {
    margin-right: 15px;
    margin-left: 15px;
  }
}

/* Recent End */

.memory-date {
  position: relative;
}

.memory-date .bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.memory-date .container {
  position: relative;
  z-index: 2;
}

.memory-date .title-block {
  color: #fff;
}

.memory-date .top p {
  color: #fff;
}

.memory-date .top p strong {
  color: #fff;
}

/* Ads Banner - Start */
.ads-banner-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--dark-blue);
  border-radius: 12px;
  overflow: hidden;
}

.ads-banner-1:before {
  content: "";
  display: flex;
  position: absolute;
  top: -17px;
  right: -67px;
  width: 245px;
  height: 245px;
  background: url(/wp-content/themes/gosta/img/banners/banner-main.webp);
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: contain;
  z-index: 1;
}

.ads-banner-1 * {
  color: #fff;
  z-index: 2;
}

.ads-banner-1 .h3 {
  z-index: 100;
  position: relative;
}

.ads-banner-1 p {
  font-size: 16px;
  line-height: 24px;
  margin: 16px 0 48px 0;
}
.copy-link {
  transition: all .4s ease;
}
.copy-link:after {
  transition: all .4s ease;
}
.copy-link.copied {
  position: relative;
  border-color: #25bd25 !important;
}
.copy-link.copied:after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background-color: #25bd25;
  background-image: url(../../img/holiday/icon__ok.svg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

@media (max-width: 1279px) {
  .post-top {
    padding: 25px 0;
  }

  .section-top {
    padding-bottom: 64px;
  }

  .top-block {
    padding: 16px;
    margin-bottom: 36px;
  }

  .top-block__top {
    flex-direction: column;
  }

  .top-block__top .img-block {
    gap: 16px;
  }

  .top-block .year-day {
    font-size: 12px;
    padding: 7px 0;
  }

  .top-block__top .text-block h1 {
    font-size: 22px;
    line-height: 120%;
  }

  .top-block__top .text-block p:not(:last-child) {
    margin-bottom: 16px;
  }

  .top-block__bottom {
    border-top: 0;
    padding-top: 0;
    margin-top: 24px;
  }

  .calendar-block {
    flex-wrap: wrap;
  }

  .calendar-block .btn-item.prev {
    order: 2;
  }

  .calendar-block__inner {
    flex-wrap: wrap;
    order: 1;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    width: 100%;
  }

  .calendar-block__inner .item:empty {
    display: block;
  }

  .calendar-block__inner a.item ~ .item:empty,
  .calendar-block__inner span.no-url ~ .item:empty {
    display: none;
  }

  .page-menu {
    background: #fff;
    border-radius: 24px;
    padding: 16px 0;
    height: auto;
  }

  .page-menu:before {
    display: none;
  }

  .page-menu__inner {
    flex-wrap: wrap;
    padding: 0;
    justify-content: flex-start;
  }

  .page-menu__inner .item {
    flex-direction: row;
    padding: 12px 24px;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
  }

  .page-menu__inner .item .icon {
    flex-shrink: 0;
  }

  .page-menu__inner .item img {
    width: 36px;
    height: 36px;
  }

  .page-menu__inner .item .text {
    font-size: 16px;
    white-space: unset;
    text-align: left;
  }

  .page-menu__inner .item .text br {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  section .top p {
    font-size: 14px;
  }

  section .top p:not(:last-child) {
    margin-bottom: 16px;
  }

  .holiday-ukraine .inner {
    flex-direction: column;
  }

  .holiday-ukraine .sidebar {
    width: 100%;
  }

  .holiday-ukraine .top {
    margin-bottom: 20px;
  }

  .holiday-ukraine .top p {
    font-size: 14px;
    text-align: center;
  }

  .title-block {
    flex-direction: column;
    justify-content: center;
  }

  .title-block .h2 {
    font-size: 24px;
    line-height: 130%;
    text-align: center;
  }

  .title-block .icon {
    width: 48px;
    height: 48px;
  }

  .title-block .icon img {
    width: 24px;
    height: 24px;
  }

  .post-def {
    flex-direction: column;
  }

  .post-def .repeat {
    font-size: 12px;
  }

  .post-def .post-thumb {
    width: 100%;
  }

  .post-def .descr {
    padding: 12px;
  }

  .post-def .h4 {
    font-size: 18px;
    line-height: normal;
  }

  .post-def .descr p {
    font-size: 14px;
  }

  .post-def .btn-block {
    display: grid;
    gap: 8px;
    row-gap: 12px;
    grid-template-columns: 1fr max-content;
    grid-template-areas:
      "share btn"
      "count count";
  }

  .post-def .btn-block .btn {
    font-size: 12px;
    grid-area: btn;
  }

  .post-def .btn-block .share-count__block {
    grid-area: count;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .post-def .btn-block .share-count {
    flex-direction: column;
    gap: 12px;
    font-size: 12px;
  }

  .post-def .btn-block .share-stats {
    margin-left: 0;
  }

  .post-def .btn-block .share-popup {
    width: 100%;
    grid-area: share;
  }

  .post-def:not(:last-child) {
    margin-bottom: 20px;
  }

  .info-block {
    flex-direction: column;
  }

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

  .info-block .block .head {
    padding: 16px 20px;
    font-size: 16px;
    text-align: left;
    padding-right: 30%;
    height: 76px;
    line-height: 135%;
  }

  .info-block .block .head .icon {
    width: 77px;
    height: 77px;
    top: 10px;
    right: -7px;
  }

  .info-block .block .content {
    padding: 20px 16px;
  }

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

  .last-block .inner {
    display: flex;
    flex-direction: column;
  }

  .last-block .content-list {
    grid-template-columns: 1fr;
  }

  .who-born {
    padding: 20px 16px;
    height: 740px !important;
    display: block;
  }

  .who-born__head {
    font-size: 20px;
  }

  .who-born__slider .item .name {
    font-size: 16px;
  }

  .who-born__slider .item .desc {
    font-size: 12px;
  }

  .who-born__content {
    flex: none;
    height: 670px;
  }

  .who-born__slider {
    height: inherit;
  }

  .day-history .list li span {
    font-size: 16px;
  }

  .sidebar-block__head {
    font-size: 16px;
  }

  .sidebar-block__head img {
    width: 36px;
    height: 36px;
  }

  .sidebar-block__content {
    padding: 20px 12px;
    font-size: 14px;
  }

  .sidebar-block__content .name-list .item {
    font-size: 16px;
  }

  .astro-list .item {
    font-size: 14px;
  }

  .post-def.vertical-post .h4 {
    font-size: 16px;
  }

  #share-post .share-inner {
    gap: 0;
  }

  #share-post .share-inner .icon img {
    width: 40px;
    height: 40px;
  }

  #share-post .share-inner .item {
    font-size: 11px;
    gap: 8px;
    padding: 0 5px;
  }

  #share-post .modal-body {
    padding: 16px;
    gap: 32px;
  }

  #share-post .modal-title {
    padding-bottom: 16px;
  }

  #share-post .modal-close {
    top: 14px;
  }

  #share-post .btn {
    font-size: 14px;
    height: 36px;
    border-radius: 24px;
  }

  .category-desc .content {
    flex-direction: column;
  }

  .astro-calendar .inner {
    padding: 0;
    flex-direction: column;
  }

  .astro-calendar .inner .block-list {
    justify-content: center;
    align-items: center;
  }

  .astro-calendar .astro-links {
    flex-direction: column;
    margin-top: 20px;
  }

  .church-calendar .top p {
    text-align: center;
  }

  .church-calendar .inner {
    flex-direction: column;
    gap: 32px;
  }

  .download-calendar {
    width: 100%;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    grid-template-areas: "icon name"
      "btn btn";
  }

  .download-calendar .icon {
    grid-area: icon;
    text-align: center;
  }

  .download-calendar .icon img {
    height: 64px;
    margin: 0 auto;
  }

  .download-calendar .name {
    grid-area: name;
    font-size: 16px;
    text-align: left;
  }

  .download-calendar .btn {
    grid-area: btn;
  }

  .signs-block .top p {
    text-align: center;
  }

  .signs-block .inner {
    flex-direction: column;
    gap: 32px;
  }

  .signs-block__list {
    gap: 16px !important;
  }

  .signs-block__list li {
    font-size: 16px !important;
    padding: 12px 12px 12px 34px;
  }

  .signs-block__list li:before {
    width: 10px !important;
    height: 10px !important;
    top: 50% !important;
    transform: translateY(-50%);
    left: 12px !important;
  }

  .day-history .content {
    flex-direction: column;
    gap: 32px;
  }

  .day-history .top p {
    text-align: center;
  }

  .memory-date .bg {
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    max-width: unset;
    width: auto;
  }

  .post-def .btn-block .share-stats__item {
    padding: 10px 14px;
  }
}