@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

.website-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: #182c4f;
  color: #fff;
  pointer-events: none;
  animation: website-loader-exit 500ms ease-out 1500ms forwards;
}

.website-page-loader img {
  height: 6rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: invert(1) grayscale(1) brightness(200%);
  animation: website-loader-pulse 3s cubic-bezier(.4, 0, .6, 1) infinite;
}

.website-page-loader span {
  font: 700 .75rem/1.5 Inter, system-ui, sans-serif;
  letter-spacing: .4em;
  text-transform: uppercase;
  animation: website-loader-caption 800ms ease-out both;
}

@keyframes website-loader-exit {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes website-loader-pulse {
  50% {
    opacity: .5;
  }
}

@keyframes website-loader-caption {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-page-loader {
    display: none;
  }
}

[data-cookie-banner][hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-cookie-banner] {
    animation: none;
  }
}

.static-message {
  padding: 1rem;
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  color: #475569;
}

.static-message.error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.article-body {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.8;
}

.article-body>*+* {
  margin-top: 1.25rem;
}

.article-body h2,
.article-body h3 {
  color: #182c4f;
  font-family: Georgia, serif;
}

.article-body img {
  max-width: 100%;
  height: auto;
}

nav[aria-label="Blog topics"] button[aria-pressed="true"] {
  background: #182c4f;
  color: #fff;
}

.blog-detail-layout {
  display: grid;
  gap: 4rem;
}

.blog-detail-layout>article {
  min-width: 0;
}

.blog-cover {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-cover,
.blog-recent-image {
  object-position: 50% 30%;
}

@media (min-width: 1024px) {
  .blog-detail-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
  }

  .blog-detail-layout>article {
    grid-column: span 8;
  }

  .blog-detail-sidebar {
    grid-column: span 4;
    position: sticky;
    top: 10rem;
    align-self: start;
  }
}