*[class$=__container] {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

:root {
  --font-primary: Fredoka, sans-serif;
  --font-secondary: Inter, sans-serif;
  --color-black: #000000;
  --color-blue: #127DCA;
  --color-pink: #C12D88;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-dark-grey);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  line-height: 1.2;
}

.nf-modal__content,
.se-modal__content,
.ev-modal__content,
.ts-modal__content,
.ne-modal__content,
.nf-modal__box,
.se-modal__box,
.ev-modal__box,
.ts-modal__box,
.ne-modal__box {
  scrollbar-width: thin;
  scrollbar-color: #C12D88 transparent;
}
.nf-modal__content::-webkit-scrollbar,
.se-modal__content::-webkit-scrollbar,
.ev-modal__content::-webkit-scrollbar,
.ts-modal__content::-webkit-scrollbar,
.ne-modal__content::-webkit-scrollbar,
.nf-modal__box::-webkit-scrollbar,
.se-modal__box::-webkit-scrollbar,
.ev-modal__box::-webkit-scrollbar,
.ts-modal__box::-webkit-scrollbar,
.ne-modal__box::-webkit-scrollbar {
  width: 0.375rem;
}
.nf-modal__content::-webkit-scrollbar-track,
.se-modal__content::-webkit-scrollbar-track,
.ev-modal__content::-webkit-scrollbar-track,
.ts-modal__content::-webkit-scrollbar-track,
.ne-modal__content::-webkit-scrollbar-track,
.nf-modal__box::-webkit-scrollbar-track,
.se-modal__box::-webkit-scrollbar-track,
.ev-modal__box::-webkit-scrollbar-track,
.ts-modal__box::-webkit-scrollbar-track,
.ne-modal__box::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 0.625rem;
}
.nf-modal__content::-webkit-scrollbar-thumb,
.se-modal__content::-webkit-scrollbar-thumb,
.ev-modal__content::-webkit-scrollbar-thumb,
.ts-modal__content::-webkit-scrollbar-thumb,
.ne-modal__content::-webkit-scrollbar-thumb,
.nf-modal__box::-webkit-scrollbar-thumb,
.se-modal__box::-webkit-scrollbar-thumb,
.ev-modal__box::-webkit-scrollbar-thumb,
.ts-modal__box::-webkit-scrollbar-thumb,
.ne-modal__box::-webkit-scrollbar-thumb {
  background: #C12D88;
  border-radius: 0.625rem;
}
.nf-modal__content::-webkit-scrollbar-thumb:hover,
.se-modal__content::-webkit-scrollbar-thumb:hover,
.ev-modal__content::-webkit-scrollbar-thumb:hover,
.ts-modal__content::-webkit-scrollbar-thumb:hover,
.ne-modal__content::-webkit-scrollbar-thumb:hover,
.nf-modal__box::-webkit-scrollbar-thumb:hover,
.se-modal__box::-webkit-scrollbar-thumb:hover,
.ev-modal__box::-webkit-scrollbar-thumb:hover,
.ts-modal__box::-webkit-scrollbar-thumb:hover,
.ne-modal__box::-webkit-scrollbar-thumb:hover {
  background: #DE05AB;
}

.wp-block-media-text {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0.9375rem;
}

@media (max-width: 47.99875rem) {
  .g-recaptcha {
    display: none;
  }
}

.wp-block-paragraph,
.wp-block-heading,
.wp-block-image,
.wp-block-gallery,
.wp-block-list,
.wp-block-quote,
.wp-block-pullquote,
.wp-block-table,
.wp-block-code,
.wp-block-preformatted,
.wp-block-html,
.wp-block-audio,
.wp-block-video,
.wp-block-file,
.wp-block-button,
.wp-block-buttons,
.wp-block-columns,
.wp-block-column,
.wp-block-group,
.wp-block-cover,
.wp-block-media-text,
.wp-block-separator,
.wp-block-spacer,
.wp-block-embed,
.wp-block-search,
.wp-block-calendar,
.wp-block-archives,
.wp-block-categories,
.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-tag-cloud,
.wp-block-rss {
  max-width: 70.625rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.search-page__hero {
  padding: 3.75rem 0 3rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.search-page__container {
  max-width: 82.5rem;
}
.search-page__hero .search-page__container {
  max-width: 53.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.search-page__heading {
  font-family: "Fredoka", sans-serif;
  font-size: 2.625rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
}
@media (max-width: 47.99875rem) {
  .search-page__heading {
    font-size: 1.75rem;
  }
}
.search-page__form-wrap {
  display: flex;
  align-items: center;
  border: 0.125rem solid rgba(0, 0, 0, 0.15);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.3s ease;
}
.search-page__form-wrap:focus-within {
  border-color: #C12D88;
}
.search-page__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.875rem 1.25rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #000000;
  background: transparent;
}
.search-page__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.search-page__input::-webkit-search-cancel-button {
  display: none;
}
.search-page__submit {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.25rem;
  background: none;
  border: none;
  border-left: 0.0625rem solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  color: #000000;
  transition: color 0.3s ease;
}
.search-page__submit:hover {
  color: #C12D88;
}
.search-page__submit svg {
  display: block;
}
.search-page__results {
  padding-bottom: 5rem;
}
.search-page__empty {
  padding: 5rem 0;
  text-align: center;
}
.search-page__empty p {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  color: rgba(0, 0, 0, 0.5);
}
.search-page__section {
  padding: 3rem 0 0;
}
.search-page__section + .search-page__section {
  padding-top: 3.5rem;
}
.search-page__section .search-page__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.search-page__section-title {
  font-family: "Fredoka", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  padding-bottom: 1rem;
  border-bottom: 0.1875rem solid #C12D88;
  display: inline-block;
}
@media (max-width: 47.99875rem) {
  .search-page__section-title {
    font-size: 1.5rem;
  }
}
.search-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 6.25rem;
}
@media (max-width: 63.99875rem) {
  .search-page__grid {
    gap: 2.5rem 3rem;
  }
}
@media (max-width: 47.99875rem) {
  .search-page__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.search-page__item {
  display: flex;
  gap: 1.5rem;
  background: #ffffff;
  border-radius: 0.5rem;
}
@media (max-width: 29.99875rem) {
  .search-page__item {
    flex-direction: column;
  }
}
.search-page__item-thumbnail {
  flex: 0 0 12.5rem;
  width: 12.5rem;
  border-radius: 1rem;
  overflow: hidden;
  align-self: stretch;
}
.search-page__item-thumbnail img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  display: block;
}
@media (max-width: 63.99875rem) {
  .search-page__item-thumbnail {
    flex: 0 0 10rem;
    width: 10rem;
  }
}
@media (max-width: 29.99875rem) {
  .search-page__item-thumbnail {
    flex: none;
    width: 100%;
    height: 12.5rem;
  }
  .search-page__item-thumbnail img {
    height: 100%;
  }
}
.search-page__item-placeholder {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-page__item-placeholder svg {
  width: 100%;
  height: 100%;
  display: block;
}
.search-page__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.search-page__item-title {
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}
.search-page__item-subtitle {
  font-family: "Fredoka", sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: #000000;
  margin: 0;
}
.search-page__item-date {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
}
.search-page__item-excerpt {
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 300;
  color: #000000;
  line-height: 1.65;
  margin: 0.25rem 0 0;
  flex: 1;
}
.search-page__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.search-page__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border: 1px solid #d9d9d9;
  border-radius: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}
.search-page__pagination .page-numbers:hover {
  border-color: #C12D88;
  color: #C12D88;
}
.search-page__pagination .page-numbers.current {
  background: #C12D88;
  border-color: #C12D88;
  color: #ffffff;
  font-weight: 600;
}
.search-page__pagination .page-numbers.dots {
  border-color: transparent;
  pointer-events: none;
}
.search-page__pagination .page-numbers.prev svg, .search-page__pagination .page-numbers.next svg {
  display: block;
}
.search-page__item-btn {
  margin-top: 0.75rem;
  align-self: flex-start;
}
.search-page__item-btn span {
  border-radius: 0.625rem !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 1rem !important;
}
.search-page__item-btn::before {
  border-radius: 0.625rem !important;
}