/**
 * Press (СМИ об Артеке) listing — live /press parity (no image, year-only).
 */

body.page-template-page-press-php,
body.page-template-page-press {
  background: #fff !important;
}

body.page-template-page-press-php .site-main--content .artek-content-entry::before,
body.page-template-page-press .site-main--content .artek-content-entry::before,
body.page-template-page-press-php .site-main--inner > .entry::before,
body.page-template-page-press .site-main--inner > .entry::before {
  background: #fff !important;
}

.artek-press-page {
  --artek-press-base: #001330;
  --artek-press-weak: #ffffff;
  --artek-press-faint: #808997;
  --artek-press-accent: #ee712b;
  --artek-press-accent-strong: #e64840;
  --artek-press-complement-weak: #e6f0ff;
  --artek-press-gradient: linear-gradient(226deg, #d80960 0%, #fec200 100%);
  --artek-press-shadow: drop-shadow(0 20px 13px rgba(0, 0, 0, 0.03)) drop-shadow(0 8px 5px rgba(0, 0, 0, 0.08));

  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 0 var(--artek-content-footer-clearance, 5rem);
  color: var(--artek-press-base);
  background: #fff;
}

.artek-press-page *,
.artek-press-page *::before,
.artek-press-page *::after {
  box-sizing: border-box;
}

.artek-press-page__filters {
  width: min(100% - 2.5rem, 87.5rem);
  margin: 0 auto 2rem;
}

.artek-press-page__list-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 12rem;
  padding: 2.5rem 0 1rem;
  background: #fff;
}

.artek-press-page__list {
  width: min(100% - 2.5rem, 87.5rem);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.artek-press-page__empty {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100% - 2.5rem, 87.5rem);
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
  color: #001330;
  background: #fff;
  font-family: "Lato-Regular", Lato, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.25;
  text-align: center;
}

.artek-press-page__empty[hidden] {
  display: none !important;
}

.artek-press-page__item {
  margin: 0 0 1.25rem;
  padding: 0;
}

.artek-press-page__card {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artek-press-page__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: var(--artek-press-complement-weak);
  border-radius: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.artek-press-page__date {
  margin: 0;
  background-image: var(--artek-press-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: "Lato-Regular", Lato, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.artek-press-page__date--desktop {
  display: none;
}

.artek-press-page__date--mobile {
  display: flex;
  align-self: center;
  flex-shrink: 0;
}

.artek-press-page__main {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.artek-press-page__body {
  flex-grow: 1;
  min-width: 0;
  margin-bottom: 2rem;
  color: var(--artek-press-base);
}

.artek-press-page__item-title {
  margin: 0 0 1.25rem;
  color: var(--artek-press-base);
  /* Lato-Black is a real @font-face family; "Lato-Bold" is not and falls back too light. */
  font-family: "Lato-Black", Lato, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.333;
  text-transform: uppercase;
}

.artek-press-page__source {
  margin: 0;
  color: var(--artek-press-faint);
  font-family: "Lato-Regular", Lato, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.artek-press-page__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.artek-press-page__arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--artek-press-accent-strong);
  border-radius: 9999px;
  color: var(--artek-press-weak);
  transition: color 0.4s ease, border-color 0.4s ease;
}

.artek-press-page__arrow-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background-image: var(--artek-press-gradient);
  border-radius: 9999px;
  transition: opacity 0.4s ease;
}

.artek-press-page__arrow svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.artek-press-page__sentinel {
  height: 1px;
  pointer-events: none;
}

.artek-press-page__loader {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 5rem auto 0;
  padding: 0 1.25rem;
}

.artek-press-page__loader[hidden] {
  display: none !important;
}

.artek-press-page__loader-spin {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  animation: artek-press-loader-spin 1s linear infinite;
}

.artek-press-page__loader-spin svg {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  width: 1.125rem;
  height: auto;
  max-width: none;
  transform: translateX(-50%);
}

@keyframes artek-press-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .artek-press-page__list-wrap {
    background: #fff;
    padding-top: 1rem;
  }

  .artek-press-page__item {
    margin-bottom: 0;
  }

  .artek-press-page__card {
    border-radius: 0;
    overflow: visible;
  }

  .artek-press-page__card-inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    padding: 3rem 0;
    margin-bottom: 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 19, 48, 0.2);
  }

  .artek-press-page__date--desktop {
    display: flex;
    align-self: flex-start;
    flex-shrink: 0;
    width: 20%;
    font-size: 1rem;
    line-height: 1.5;
  }

  .artek-press-page__date--mobile {
    display: none;
  }

  .artek-press-page__main {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    width: 80%;
  }

  .artek-press-page__body {
    margin-bottom: 0;
    align-self: flex-start;
    flex: 1 1 auto;
    padding-right: 2rem;
  }

  .artek-press-page__item-title {
    margin-bottom: 0.75rem;
  }

  .artek-press-page__meta {
    justify-content: flex-end;
    margin-left: 2rem;
    align-self: center;
  }

  .artek-press-page__arrow {
    color: var(--artek-press-accent-strong);
  }

  .artek-press-page__arrow-fill {
    opacity: 0;
  }

  .artek-press-page__card:hover .artek-press-page__arrow,
  .artek-press-page__card:focus-visible .artek-press-page__arrow {
    color: var(--artek-press-weak);
    border-color: transparent;
  }

  .artek-press-page__card:hover .artek-press-page__arrow-fill,
  .artek-press-page__card:focus-visible .artek-press-page__arrow-fill {
    opacity: 1;
  }
}
