/* Ahoj Epoxy blog */
.ae-blog-page {
  --ae-blog-bg: #f3f3f2;
  --ae-blog-surface: #fff;
  --ae-blog-text: #171716;
  --ae-blog-muted: #64635f;
  --ae-blog-line: rgba(23, 23, 22, .13);
  background: var(--ae-blog-bg);
  color: var(--ae-blog-text);
}

.ae-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 54px;
}

.ae-blog-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .48;
  background:
    repeating-radial-gradient(ellipse at 84% 58%, transparent 0 28px, rgba(211, 164, 86, .14) 29px 30px);
}

.ae-blog-hero__layout,
.ae-blog-listing > .container {
  position: relative;
  z-index: 1;
}

.ae-blog-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: end;
  gap: 72px;
}

.ae-blog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 14px;
  border: 1px solid var(--ae-blog-line);
  border-radius: 999px;
  color: var(--ae-blog-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.ae-blog-kicker::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d3a456;
  content: "";
}

.ae-blog-kicker i + * {
  display: none;
}

.ae-blog-hero h1 {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--ae-blog-text);
  font-size: 76px;
  line-height: .98;
  letter-spacing: 0;
}

.ae-blog-hero h1 span {
  color: #d3a456;
}

.ae-blog-hero__layout > p {
  max-width: 480px;
  margin: 0 0 6px;
  color: var(--ae-blog-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ae-blog-listing {
  position: relative;
  padding: 44px 0 112px;
  scroll-margin-top: 92px;
}

.ae-blog-page-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0 0 24px;
  color: var(--ae-blog-muted);
  font-size: 13px;
  line-height: 1;
}

.ae-blog-page-status strong {
  color: var(--ae-blog-text);
  font-weight: 700;
}

.ae-blog-listing .post-card .post-thumb img {
  transform: scale3d(1, 1, 1);
  transition: transform 1.15s cubic-bezier(.22, .61, .36, 1) !important;
}

.ae-blog-listing .post-card:hover .post-thumb img {
  transform: scale3d(1.04, 1.04, 1);
}

.ae-blog-grid {
  row-gap: 52px;
}

.ae-blog-entry[hidden] {
  display: none !important;
}

.ae-blog-entry {
  display: flex;
}

.ae-blog-entry--entering {
  animation: ae-blog-card-enter .52s cubic-bezier(.22, .72, .28, 1) both;
  animation-delay: var(--ae-blog-enter-delay, 0ms);
}

@keyframes ae-blog-card-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-blog-entry--entering {
    animation: none;
  }
}

.ae-blog-listing .post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ae-blog-listing .post-card .post-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.ae-blog-listing .post-card .post-content .title {
  min-height: 0;
  margin-bottom: 14px;
}

.ae-blog-listing .post-card .post-content .title a {
  display: inline;
  overflow: visible;
  background-image: none !important;
  text-decoration: none !important;
}

.ae-blog-listing .post-card .post-content .title a::before,
.ae-blog-listing .post-card .post-content .title a::after {
  display: none !important;
  content: none !important;
}

.ae-blog-listing .post-card .post-content .title a:hover,
.ae-blog-listing .post-card .post-content .title a:focus-visible {
  color: var(--tl-color-theme-primary);
  text-decoration: none !important;
}

.ae-blog-listing .post-card .post-content .ae-blog-card__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ae-blog-muted);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  text-overflow: ellipsis;
}

.ae-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 72px;
}

.ae-blog-pagination button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 15px;
  border: 1px solid var(--ae-blog-line);
  border-radius: 50%;
  background: transparent;
  color: var(--ae-blog-text);
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.ae-blog-pagination button[data-blog-page-button] {
  padding: 0;
}

.ae-blog-pagination button:hover:not(:disabled),
.ae-blog-pagination button:focus-visible,
.ae-blog-pagination button[aria-current="page"] {
  border-color: #d3a456;
  background: #d3a456;
  color: #fff;
}

.ae-blog-pagination button:disabled {
  cursor: default;
  opacity: .32;
}

body.ae-dark .ae-blog-page {
  --ae-blog-bg: #0f0f0e;
  --ae-blog-surface: #181715;
  --ae-blog-text: #f7f2e9;
  --ae-blog-muted: #b9b5ad;
  --ae-blog-line: rgba(255, 255, 255, .14);
}

body.ae-dark .ae-blog-hero::before {
  opacity: .7;
  background:
    repeating-radial-gradient(ellipse at 84% 58%, transparent 0 28px, rgba(211, 164, 86, .08) 29px 30px);
}

body.ae-dark .ae-blog-listing .post-card .post-content .title a {
  color: var(--ae-blog-text);
}

body.ae-dark .ae-blog-listing .post-card .post-content .title a:hover,
body.ae-dark .ae-blog-listing .post-card .post-content .title a:focus-visible {
  color: #d3a456;
}

body.ae-dark .ae-blog-listing .post-card .post-content p {
  color: var(--ae-blog-muted);
}

@media (max-width: 1199px) {
  .ae-blog-hero {
    padding: 148px 0 46px;
  }

  .ae-blog-hero h1 {
    font-size: 62px;
  }

  .ae-blog-hero__layout {
    gap: 44px;
  }

}

@media (max-width: 767px) {
  .ae-blog-hero {
    padding: 108px 0 34px;
  }

  .ae-blog-hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ae-blog-hero h1 {
    margin-top: 18px;
    font-size: 44px;
    line-height: 1.02;
  }

  .ae-blog-hero__layout > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .ae-blog-listing {
    padding: 34px 0 76px;
  }

  .ae-blog-page-status {
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .ae-blog-grid {
    row-gap: 38px;
  }

  .ae-blog-listing .post-card .post-content .title {
    min-height: 0;
  }

  .ae-blog-pagination {
    margin-top: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ae-blog-listing .post-card .post-thumb img {
    transition: none !important;
  }
}
