:root {
  --dark: #202020;
  --light: #ffffe0;
  --primary: #9eb9d4;
  --secondary: #6f4e37;
  --white: #e6e6e6;
  --nav-height: 5rem;
  --footer-height: 3rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
html {
  scroll-padding-top: var(--nav-height);
}

hr {
  max-width: 70%;
  margin: auto;
  margin-block: 1rem;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: Verdana, Geneva, sans-serif;
}

@media (max-width: 1100px) {
  .left-rail {
    display: none;
  }
  .right-rail {
    display: none;
  }
}
.main-content {
  grid-area: main-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

@media (min-width: 1100px) {
  .main-content {
    padding-inline: 2rem;
    margin-top: 3rem;
  }
}
#nav-bar {
  width: 100%;
  min-height: var(--nav-height);
  background-color: white;
  color: var(--dark);
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  color: rgb(32, 32, 32);
}

ul.nav-items {
  list-style-type: none;
}

.nav-items {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 5rem, 10%);
  height: 100%;
  width: 95%;
  flex-wrap: wrap;
}

.nav-item-label {
  font-size: 18px;
}
.nav-item-label:hover {
  text-decoration: underline solid rgb(32, 32, 32);
}

.lang-select {
  flex-grow: 2;
  text-align: right;
  font-size: large;
}

.logo {
  font-size: 28px;
}
.logo:hover {
  text-decoration: none;
}

.category-tag {
  font-size: 0.9rem;
  font-weight: bold;
  color: #000000;
  border: 2px solid #c4c4c4;
  border-radius: 20px;
  padding-inline: 15px;
  padding-block: 5px;
  background-color: #f5f5f5;
  font-style: normal;
  text-wrap: nowrap;
}

main {
  line-height: 1.6;
  margin-block-end: 2rem;
  min-height: calc(100vh - var(--nav-height) - var(--footer-height));
}

footer {
  background-color: var(--dark);
  height: var(--footer-height);
  color: var(--white);
  position: relative;
}
footer .footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
  padding-inline: 2%;
  align-items: center;
}
footer .footer-content a {
  color: var(--white);
}

.story-card {
  position: relative;
  display: grid;
  grid-template-areas: "image" "preview-text";
  border-radius: 10px;
  gap: 1rem;
  max-width: 100vw;
  padding-inline: 20px;
}
.story-card:hover {
  background-color: #f7f7f7;
}
.story-card img {
  grid-area: image;
  z-index: 10;
  cursor: pointer;
  height: auto;
  max-width: 100%;
  filter: contrast(1.2);
  border-radius: 10px;
}
.story-card:hover .story-header, .story-card:has(a:focus) .story-header {
  text-decoration: underline solid rgb(32, 32, 32);
}
.story-card:hover img {
  filter: contrast(1.3);
}
.story-card .story-text {
  grid-area: preview-text;
  max-width: 33rem;
  text-align: left;
}
.story-card .story-text .story-meta {
  font-style: italic;
  color: rgb(82, 82, 82);
}
.story-card .story-text .story-header {
  font-weight: 300;
  z-index: 10;
  margin-block: 1rem;
}
.story-card .story-text .story-preview {
  margin-block: 1rem;
}
.story-card .story-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
}

.page-cover {
  grid-area: cover;
  position: relative;
}
.page-cover img {
  object-fit: cover;
  display: block;
  width: 100%;
}

.image-overlay {
  position: absolute;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.692) 25%, rgba(0, 0, 0, 0));
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3rem;
}

.page-header {
  font-size: 2.5rem;
  text-align: center;
  max-width: 1000px;
  color: white;
  font-weight: normal;
  font-family: sans-serif;
}

/*# sourceMappingURL=blog.css.41ab7250f93f.map */
