/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
*/
@import 'browser-tw.css';
html {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
  tab-size: 4;
  /* 3 */
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
}

/*
Remove the default font size and weight for headings.
*/
h1 {
  font-family: "Manrope", "Outfit", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-family: "Manrope", "Outfit", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
}

h3 {
  font-family: "Manrope", "Outfit", sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

h4 {
  font-family: "Manrope", "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h5 {
  font-family: "Besley", "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: 2rem;
  font-weight: normal;
}

h6 {
  font-family: "Besley", "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  font-weight: normal;
}

body {
  font-family: "Literata", "Georgia", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
  min-height: 100vh;
}

p {
  font-family: "Literata", "Georgia", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 350;
  font-size: 1.1rem;
  line-height: 150%;
}

.article-text p {
  margin-bottom: 1em;
}

p2 {
  font-family: "Literata", serif;
  font-size: 0.9rem;
}

.body {
  background-color: #fffefd;
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.container, .footer-container, .mobile-menu, .menu, .header-container {
  width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

@media screen and (max-width: 1200px) {
  .container, .footer-container, .mobile-menu, .menu, .header-container {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .container, .footer-container, .mobile-menu, .menu, .header-container {
    width: 100%;
  }
}
.header {
  background-color: #fffefd;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-placeholder {
  width: 100%;
  height: 95px;
}

.header-container {
  border-bottom: 10px solid #000000;
  padding-bottom: 0;
  background-color: #fffefd;
  position: relative;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  padding-top: 1rem;
  padding-bottom: 0;
  margin: 0 auto;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo {
  width: 100%;
  max-width: 18rem;
  min-width: 10rem;
  display: flex;
  align-items: flex-end;
  justify-self: start;
}

.logo-desktop {
  position: relative;
  display: block;
  bottom: -2px;
  width: auto;
  height: auto;
  max-height: 50px;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-mobile {
  display: none;
  max-width: 100px;
  border-radius: 50%;
  border: 0;
}

.header-buttons {
  display: flex;
  align-items: flex-end;
  height: 100%;
  justify-self: end;
  margin-right: 0;
}

.language-container {
  position: relative;
  justify-items: flex-end;
  display: block;
  min-width: 6.5rem;
  max-width: auto;
  margin-top: 20px;
  margin-bottom: -2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: right bottom;
}

.language-container-mobile {
  justify-items: flex-end;
  display: block;
  min-width: 6.5rem;
  max-width: auto;
}

.language-flag img {
  position: absolute;
  max-width: 50px;
  z-index: 50;
  bottom: -4px;
  right: 20px;
}

.language-flag .active-flag {
  position: absolute;
  max-width: 60px;
  z-index: 51;
  bottom: -8px;
  right: 40px;
}

.language-flag-list li {
  display: inline-block;
  margin-right: 0px;
  max-width: 55px;
}

.navigation_toggle {
  display: none;
}

.navigation_checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.navigation {
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  justify-self: center;
}

.navigation_list {
  margin: 0;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation li {
  display: inline-block;
  margin: 0 1rem;
  vertical-align: text-bottom;
  font-family: sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center bottom;
  position: relative;
  top: -3px;
}

.navigation a {
  color: #000000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Icon Styling */
.dots {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 40px;
  cursor: pointer;
  transform: scale(1) translateY(4px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #000000;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Change the dots when the checkbox is checked */
.navigation_checkbox:checked + .navigation_toggle .dots .dot:nth-child(1) {
  transform: translateX(15px) scale(0.8);
}

.navigation_checkbox:checked + .navigation_toggle .dots .dot:nth-child(2) {
  transform: scale(1.5);
}

.navigation_checkbox:checked + .navigation_toggle .dots .dot:nth-child(3) {
  transform: translateX(-15px) scale(0.8);
}

.menu {
  padding: 0;
  margin: 0 auto;
  height: auto;
  position: relative;
  z-index: -1;
}

.mobile-menu {
  padding: 0;
  margin: 0;
  height: auto;
  position: relative;
}

.navigation-mobile {
  position: absolute;
  visibility: hidden;
  z-index: -2;
  background-color: #EDD66E;
  border-bottom: 2px solid #000000;
  width: 80%;
  left: 10%;
  right: 10%;
  padding-inline: 10px;
  top: 0;
  transform: translateY(-100%);
  transition: all 0.4s ease;
}

.navigation-mobile.open {
  visibility: visible;
  transform: translateY(0);
  z-index: 1;
}

.profile_checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.profile-mobile {
  position: absolute;
  visibility: hidden;
  z-index: 2;
  background-color: #2AA587;
  border-bottom: 2px solid #000000;
  padding-inline: 10px;
  width: auto;
  left: auto;
  right: 1rem;
  transform: translateY(-100%);
  transition: all 0.4s ease;
}

.profile-mobile.open {
  visibility: visible;
  transform: translateY(0);
}

/* Compact header state */
.header.header-compact .header-container {
  padding-top: 0;
  padding-bottom: 0;
}
.header.header-compact .header-content {
  padding-top: 0;
  padding-bottom: 0;
}
.header.header-compact .logo-desktop {
  max-height: 30px;
}
.header.header-compact .navigation_list {
  margin: 0;
}
.header.header-compact .navigation li {
  font-size: 1.6rem;
  margin: 0 0.8rem;
}
.header.header-compact .language-container {
  margin-top: 10px;
  margin-bottom: -2px;
  transform: scale(0.85);
}
.header.header-compact .dots {
  transform: scale(0.85) translateY(2px);
  width: 34px;
}
.header.header-compact .dot {
  width: 7px;
  height: 7px;
}

/* Add media query for smaller screens */
@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr auto auto;
    grid-gap: 0.5rem;
  }
  .header-logo {
    justify-self: start;
  }
  .navigation {
    justify-self: end;
  }
  .menu {
    width: 100%;
  }
  .profile-mobile {
    width: 80%;
    left: 10%;
    right: 10%;
  }
  .navigation_list {
    display: none;
  }
  .navigation_toggle {
    display: inline-block;
    margin: 10px;
  }
  .header-buttons {
    display: none !important; /* Hide header buttons including language switcher on mobile */
  }
  .navigation_list-mobile {
    display: flex;
    flex-direction: column;
  }
  .navigation_item-mobile {
    width: 100%;
    text-align: center;
  }
  /* Style language switcher in mobile menu */
  .navigation_item-mobile .language-container-mobile {
    display: block;
    padding: 10px 0;
    height: 50px;
    position: relative;
    margin: 0 auto;
    width: 120px;
  }
  .navigation_item-mobile .language-flag {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    top: -10px;
  }
  .navigation_item-mobile .language-flag img {
    position: absolute;
    bottom: 0px;
    right: 15px;
  }
  .navigation_item-mobile .language-flag .active-flag {
    position: absolute;
    bottom: -4px;
    right: 25px;
  }
}
@media (max-width: 480px) {
  .logo-desktop {
    display: block;
  }
  .logo-mobile {
    display: none;
  }
}
.main {
  flex: 1;
  min-height: 80%;
  padding-bottom: 120px;
  transition: padding-top 0.3s ease;
}

.footer {
  text-align: center;
  background-color: #EDD66E;
  width: 100%;
  position: absolute;
  bottom: 0;
}

.footer-container {
  border-top: 10px solid #000000;
}

.grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(241px, 1fr));
  grid-auto-rows: 240px;
  gap: 10px;
}

#articles-container {
  display: contents;
}

.grid-sidebar {
  grid-area: span 2/4/auto/5;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 35px;
}

.grid-item-big {
  background-color: #fffefd;
  border: 2px solid #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  grid-area: 1/1/span 2/span 3;
}
.grid-item-big:hover {
  box-shadow: -3px 3px 12px 0px rgba(0, 0, 0, 0.2);
}

.grid-item-normal {
  background-color: #fffefd;
  border: 2px solid #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  grid-area: auto;
}
.grid-item-normal:hover {
  box-shadow: -3px 3px 12px 0px rgba(0, 0, 0, 0.2);
}

.item-image-small > img,
.item-image-big > img {
  object-fit: cover;
  object-position: center;
  max-width: auto;
}

.item-image-small {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  min-height: 241px;
  min-width: 100%;
  max-width: 150%;
}

.item-image-big {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  min-height: 241px;
  min-width: 100%;
  max-width: 150%;
  min-height: 482px;
}

.grid-item-big > img {
  min-height: 480px;
}

.item-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  border-top: 10px solid #000000;
  background-color: #fffefd;
  padding: 5px;
  white-space: nowrap; /* Prevent wrapping */
  overflow: hidden; /* Hide the overflow */
  text-overflow: ellipsis; /* Show ellipsis when text is too long */
}

.item-big-heading,
.item-small-heading {
  white-space: normal; /* Allow text to wrap */
}

.item-big-subheading,
.item-small-subheading {
  white-space: nowrap; /* Prevent wrapping */
  overflow: hidden; /* Hide the overflow */
  text-overflow: ellipsis; /* Show ellipsis when text is too long */
}

.grid-item-color {
  background-color: #fffefd;
  border: 2px solid #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding: 20px;
}
.grid-item-color:hover {
  box-shadow: -3px 3px 12px 0px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1024px) {
  .grid-sidebar {
    grid-area: span 2/auto/auto/auto;
  }
  .grid-item-big {
    grid-area: 1/1/span 2/span 2;
  }
}
@media screen and (max-width: 480px) {
  .grid-sidebar {
    grid-column: auto/auto;
    grid-row: 4/span 2;
  }
  .grid-item-big {
    grid-area: auto;
  }
  .item-big-heading {
    font-size: 1.5rem;
  }
  .item-big-subheading {
    font-size: 1rem;
  }
}
.load-more {
  grid-column: 1/-1;
  text-align: center;
  margin: 2rem 0;
}

.load-more-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #ffffff;
  border: 2px solid #000000;
  color: inherit;
  text-decoration: none;
  font-family: "Literata", "Georgia", serif;
  cursor: pointer;
}
.load-more-button:hover {
  background-color: #fffefd;
}

.grid-authors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}

.grid-author-normal, .grid-author-article {
  background-color: #fffefd;
  border: 2px solid #000000;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  grid-area: auto;
  box-shadow: -1px 1px 4px 0px rgba(0, 0, 0, 0.15);
}
.grid-author-normal:hover, .grid-author-article:hover {
  box-shadow: -3px 3px 12px 0px rgba(0, 0, 0, 0.2);
}

.author-image {
  display: flex;
  justify-content: center; /* Horizontally center the image */
  align-items: center; /* Vertically center the image */
  border-top: 10px solid #000000;
  padding-top: 10px;
  padding-bottom: 10px;
}

.author-img {
  max-height: 120px;
  border-radius: 50%;
  border: 0;
}

.author-content, .author-content-article {
  width: 100%;
  background-color: #fffefd;
  padding: 5px;
  text-align: center;
}

.cut-off {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .grid-authors {
    grid-template-columns: repeat(auto-fill, minmax(240px, 0.8fr));
    justify-content: center;
  }
}
.grid-article {
  display: grid;
  grid-template-columns: 1fr 4fr;
  row-gap: 50px;
  column-gap: 10px;
}

.grid-article-author {
  grid-column: 1/2;
  grid-row: 2/3;
}

.grid-article-func {
  grid-column: 1/3;
  display: flex;
  justify-content: flex-end;
  position: sticky;
  top: 0;
  z-index: 99;
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
  padding-top: 0;
  overflow: visible;
}

.grid-article-main {
  grid-column: 2/3;
}

.grid-author-article {
  margin-bottom: 5px;
}

.author-content-article {
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 20%;
}
.author-content-article .clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Article metadata styling */
.article-meta {
  padding: 12px;
  background-color: #fffefd;
}
.article-meta .article-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 12px;
}
.article-meta .article-themes .theme-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background-color: #fffefd;
  border: 2px solid #000000;
  font-size: 0.9rem;
  color: #000000;
  transition: all 0.2s ease;
  text-decoration: none;
}
.article-meta .article-themes .theme-tag:hover {
  background-color: var(--theme-color, #fff1e4);
}
.article-meta .article-dates {
  margin-bottom: 1.5rem;
}
.article-meta .article-dates p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #000000;
}
.article-meta .article-dates p svg {
  flex-shrink: 0;
}
.article-meta .article-dates p a {
  color: inherit;
  text-decoration: none;
}
.article-meta .article-dates p a:hover {
  text-decoration: underline;
}

.article-type-label {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.article-themes {
  margin-top: 0;
}

.theme-label {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  margin-bottom: 4px;
  background-color: transparent;
  padding: 0;
}

/* CSS for Basic Version Switcher Box */
.version-switcher-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 30px;
  border: 2px solid #000000;
  border-top: 10px solid #000000;
  position: relative;
  background-color: #fffefd; /* Match header background */
}

/* Three sections within the box */
.version-short {
  border-right: 2px solid #000000;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* Make clickable */
  transition: background-color 0.3s ease;
  width: 20px;
}

.version-mid {
  border-right: 2px solid #000000;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* Make clickable */
  transition: background-color 0.3s ease;
  width: 30px;
}

.version-long {
  border-right: 2px solid #000000;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* Make clickable */
  transition: background-color 0.3s ease;
  width: 50px;
  border-right: none !important; /* Override the mixin border */
}

.version-short:last-child, .version-mid:last-child, .version-long:last-child {
  border-right: none !important; /* Remove border from the last section */
}

/* Specific Selected States */
/* JavaScript needed for version-specific styles based on URL (?version=short/mid/long) */
.version-switcher-box.selected-short .version-short {
  background-color: #2AA587; /* Example color if selected */
}

.version-switcher-box.selected-mid .version-mid {
  background-color: #EDD66E; /* Example color if selected */
}

.version-switcher-box.selected-long .version-long {
  background-color: #CC804E; /* Example color if selected */
}

/* Placeholder for adding icons */
.version-icon {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.version-icon img {
  max-width: 100%;
  height: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .version-switcher-box {
    height: auto;
  }
  /*.version-short, .version-mid, .version-long {
      border-right: none;
      border-bottom: $border-full-theme;
      flex: unset;
  } */
}
/* Links within the box sections */
.version-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}

/* Hover effect */
.version-short:hover, .version-mid:hover, .version-long:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Light hover effect */
}

/* Labels */
.version-switcher {
  position: relative;
}

.version-switcher-box {
  position: relative;
}

.version-switcher-box ul.version-labels {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 2px 0;
  list-style: none;
  text-align: center;
  display: none;
}

/* Show the label box when hovering over switcher box */
.version-switcher-box:hover ul.version-labels {
  display: block;
}

/* Hide all list items by default */
.version-switcher-box ul.version-labels li {
  display: none;
  margin: 0;
  padding: 3px 0;
}

/* Show only the active item by default */
.version-switcher-box:hover ul.version-labels li.active {
  display: block;
}

/* Show specific label when hovering over version */
.version-short:hover ~ ul.version-labels li:nth-child(1) {
  display: block !important;
}

.version-short:hover ~ ul.version-labels li.active:not(:nth-child(1)) {
  display: none !important;
}

.version-mid:hover ~ ul.version-labels li:nth-child(2) {
  display: block !important;
}

.version-mid:hover ~ ul.version-labels li.active:not(:nth-child(2)) {
  display: none !important;
}

.version-long:hover ~ ul.version-labels li:nth-child(3) {
  display: block !important;
}

.version-long:hover ~ ul.version-labels li.active:not(:nth-child(3)) {
  display: none !important;
}

/* Style the label links with black text */
.version-switcher-box ul.version-labels li a {
  text-decoration: none;
  color: black;
  display: block;
  padding: 2px 0;
  font-size: 0.9rem;
}

/* Make active items bold */
.version-switcher-box ul.version-labels li a.active {
  font-weight: bold;
}

.article-main, .article-image-caption, .article-image, .article-text, .article-title {
  max-width: calc(1024px - 40%);
  padding-inline: 30px;
}

.article-title {
  padding-bottom: 20px;
  max-width: 100%;
}

.article-image {
  padding-block: 20px;
}

.article-image-caption {
  padding-bottom: 20px;
}

.article-quote {
  max-width: 100%;
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding: 15px;
  margin-block: 10px;
}

.quote-text {
  background-color: #fffefd;
  grid-column: 1;
  grid-row: 1;
  padding: 15px;
}

.quote-logo {
  grid-column: 2;
  grid-row: 1;
  padding-left: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1024px) {
  .grid-article {
    grid-template-columns: auto;
    grid-auto-rows: auto;
    max-width: calc(1024px - 40%);
    margin: 0 auto;
    justify-content: center;
    row-gap: 30px; /* Reduced gap for mobile */
  }
  .grid-article-func {
    grid-column: auto;
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    justify-content: flex-end;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .grid-article-main {
    grid-column: auto;
  }
  .article-main, .article-title, .article-text, .article-image, .article-image-caption {
    max-width: calc(1024px - 40%);
    padding-inline: 0;
  }
  .grid-article-author {
    grid-row: auto;
    grid-column: auto;
    padding: 0; /* Ensure no padding on mobile */
  }
  .article-meta {
    margin-top: 0; /* Remove top margin since we have row-gap */
  }
}
@media screen and (max-width: 480px) {
  .grid-article-main {
    padding-inline: 0;
  }
  .article-title-heading {
    font-size: 2.5rem;
  }
  .article-title-subheading {
    font-size: 1.5rem;
  }
}
/* Share functionality styling */
.share-container {
  display: flex;
  flex-direction: row;
  height: 30px;
  border: 2px solid #000000;
  border-top: 10px solid #000000;
  position: relative;
  margin-right: 20px; /* Space between share container and version switcher */
  background-color: #fffefd; /* Match header background */
}

.share-button, .copy-link-button {
  border-right: 2px solid #000000;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* Make clickable */
  transition: background-color 0.3s ease;
  /* Reuse the version section mixin for consistent styling */
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
}
.share-button svg, .copy-link-button svg {
  width: 15px;
  height: 15px;
  fill: #000000;
  transition: fill 0.3s ease;
}
.share-button:hover, .copy-link-button:hover {
  background-color: #EDD66E;
}
.share-button:hover svg, .copy-link-button:hover svg {
  fill: white;
}

/* Share labels styling */
.share-labels {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 2px 0;
  list-style: none;
  text-align: center;
  display: none;
}

.share-button:hover .share-labels,
.copy-link-button:hover .share-labels {
  display: block;
}

.share-labels li {
  margin: 0;
  padding: 3px 0;
  font-size: 0.9rem;
  color: black;
}

.copy-link-button {
  border-right: none !important;
}
.copy-link-button.copied {
  background-color: #EDD66E;
}
.copy-link-button.copied svg {
  fill: white;
}
.copy-link-button.copied ~ .share-labels li {
  color: #EDD66E;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .share-container {
    height: auto;
  }
}
.themes-grid {
  column-count: 2;
  column-gap: 2rem;
  padding: 2rem 0;
}

.theme-block {
  break-inside: avoid; /* Prevent blocks from breaking across columns */
  margin-bottom: 2rem; /* Space between blocks */
  border: 2px solid #000000;
  background: #ffffff;
  position: relative;
}

.theme-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.theme-image {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}
.theme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-title {
  position: absolute;
  bottom: -15px;
  left: 0;
  margin-left: 20px;
}

.theme-content {
  border-top: 10px solid #000000;
  background-color: #fffefd;
  padding: 0.5rem;
}

.theme-article-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: -0.5rem; /* Compensate for padding */
  padding: 0.5rem; /* Add padding around all items */
}

.article-type-group {
  flex: 0 0 calc(33.333% - 0.67rem);
  padding: 0.5rem;
}
.article-type-group h4 {
  margin: 0 0 0.5rem;
}
.article-type-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-type-group ul li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.article-type-group ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.article-type-group ul li a {
  color: inherit;
  text-decoration: none;
  font-family: "Literata", "Georgia", serif;
  line-height: 1.2;
  display: block;
}
.article-type-group ul li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .themes-grid {
    column-count: 1;
    padding: 1rem 0;
  }
  .theme-block {
    margin-bottom: 1.5rem;
  }
  .article-type-group {
    flex: 0 0 calc(50% - 1rem); /* Adjust to ensure two columns */
  }
}
@media screen and (max-width: 768px) {
  .themes-grid {
    gap: 1rem;
    padding: 0.5rem 0;
  }
  .theme-block {
    margin-bottom: 1rem;
  }
  .article-type-group {
    flex: 0 0 100%;
  }
  .theme-image {
    height: 100px;
  }
  .theme-content {
    padding: 0.25rem;
  }
  .theme-title {
    bottom: -10px;
    font-size: 2rem; /* h2 size */
  }
}
/* Dit is er voor wanneer ik een sidebar maak, maar die zit nu in index/homecontent */
.grid-special {
  display: grid;
  gap: 20px;
}

.special-title {
  line-height: 0.7;
  margin-left: 20px;
}

.special-content {
  background-color: #fffefd;
  border: 2px solid #000000;
  border-top: 10px solid #000000;
  padding: 1vh;
}
.special-content .remove-filter {
  display: inline-block;
  margin-top: 0.5rem;
  color: #000000;
  text-decoration: none;
  font-size: 0.9rem;
}
.special-content .remove-filter:hover {
  text-decoration: underline;
}

.theme-filter {
  --theme-color: #000;
}
.theme-filter .special-title {
  color: var(--theme-color);
}
.theme-filter .special-content {
  border-color: var(--theme-color);
}

.author-filter .special-title {
  color: #000000;
}
.author-filter .special-content {
  border-color: #000000;
}

.site-footer {
  text-align: center;
  background-color: #EDD66E;
  width: 100%;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  border-top: 10px solid #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-section {
  text-align: center;
}
.footer-section h6 {
  font-family: "Besley", "Libre Baskerville", serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #000000;
  font-style: italic;
  font-weight: 400;
}
.footer-section p {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-section .contact-info {
  margin-top: 1rem;
}
.footer-section .contact-info p {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  color: #000000;
  text-decoration: none;
}
.footer-section ul li a:hover {
  text-decoration: underline;
}

.newsletter {
  margin-bottom: 1.5rem;
}
.newsletter p {
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.newsletter .button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s;
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
}
.newsletter .button:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links .social-icon {
  width: 24px;
  height: 24px;
  color: #000000;
}
.social-links .social-icon:hover {
  opacity: 0.8;
}

.footer-bottom {
  padding: 1rem 0;
  font-family: "Literata", "Georgia", serif;
  font-size: 0.9rem;
}

.reference {
  cursor: pointer;
  color: #666;
  font-size: 0.7em;
  vertical-align: super;
  line-height: 0;
  transition: color 0.2s ease;
  position: relative;
  top: -0.3em;
  margin-left: 0.1em;
}
.reference:hover {
  color: #000000;
}

.reference-tooltip {
  position: fixed;
  display: none;
  background: #fffefd;
  border: 2px solid #000000;
  border-top: 10px solid #000000;
  padding: 15px 20px;
  min-width: 300px;
  max-width: 800px;
  box-shadow: -1px 1px 4px 0px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  font-size: 0.9em;
  line-height: 1.4;
  z-index: 1000;
  pointer-events: none;
  font-family: "Literata", "Georgia", serif;
  font-weight: 350;
  white-space: normal;
  word-wrap: break-word;
}
.reference-tooltip.visible {
  display: block;
}
.reference-tooltip.mobile {
  pointer-events: auto;
  width: 96vw;
  max-height: 40vh;
  overflow-y: auto;
  left: 50% !important;
  transform: translate(-50%, 100%);
  bottom: 10px;
  margin: 0 auto;
  padding: 20px;
  font-size: 1em;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.reference-tooltip.mobile.visible {
  transform: translate(-50%, 0);
}
.reference-tooltip.mobile.hiding {
  transform: translate(-50%, 100%);
}

/*# sourceMappingURL=output.css.map */
