:root {
  --background-color: #fff;
  --text-color: #000;
  --headers-color: #111;
  --navbar-top-border-color: #efefef;
  --navbar-bottom-border-color: #000;
  --navbar-hamburger-color: #333;
  --widget-border-color: #e2e2e2;
  --widget-excerpt-color: #4a4a4a;
  --widget-tag-color: #4a4a4a;
  --widget-meta-color: #666;
  --widget-item-hl-background-color: antiquewhite;
  --widget-item-hl-border-color: #868686;
  --widget-item-hl-tags-background-color: #antiquewhite;
  --widget-item-hl-excerpt-color: #191b1d;
  --post-link-color: #016ca2;
  --post-meta-share-icons-background-color: #fff;
  --post-meta-share-icons-background-hover-color: #efefef;
  --light-border-color: #e2e2e2;
  --post-meta-color: #666;
  --post-item-excerpt-color: #4a4a4a;
  --side-panel-secondary-color: #efefef;
  --toggle-button-background-color: #f2f2f2;
  --toggle-button-handle-color: #9b9b9b;
  --footer-items-color: #191b1d;
}

* {
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
  font-family: "DS", sans-serif;
}

.contrast {
  filter: grayscale(100%) invert(100%);
  main img {
    filter: invert(1);
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--background-color);
  color: var(--text-color);
}

/* Wrapper */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Generic */
.center {
  text-align: center;
}

.italic {
  font-style: italic;
}

/* Header */
header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Date */
.top-date {
  font-family: sans-serif;
  font-size: .7rem;
  text-align: left;
  text-transform: capitalize;
  padding-top: 7px;
}

/* Logo */
.header-logo {
  text-align: center;
  margin-bottom: 25px;
  margin-top: 40px;
}

.header-logo img {
  height: 50px;
  width: auto;
}

/* Navbar */
.navbar {
  top: 0;
  z-index: 15;
  background: var(--background-color);
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  border-top: 1px solid var(--navbar-top-border-color);
  border-bottom: 1px solid var(--navbar-bottom-border-color);
  height: 38px;
}

.navbar-logo {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 10px;
  height: 100%;
}

.navbar-logo-link {
  height: 100%;
  width: auto;
  display: flex;
  align-content: center;
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;
}

.navbar-logo img {
  height: auto;
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain
}

.navbar-menu {
  display: flex;
  flex-grow: 1;
  margin-right: 54px;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
}

.navbar-menu::-webkit-scrollbar {
  display: none;
}

.navbar-menu ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  justify-content: center;
}

.navbar-menu ul li {
  margin: 0 15px;
  white-space: nowrap;
}

.navbar-menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-family: sans-serif;
  font-size: .9rem;
  text-transform: uppercase;
  padding: 8px 10px;
}

.navbar-menu-item-selected {
  border-bottom: 2px solid var(--text-color);
}

.navbar-search .search-btn {
  padding-right: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: .6875rem;
  color: var(--text-color);
}

.search-btn svg {
  height: 12px;
  width: auto;
}

.hamburger-menu {
  display: none;
}

.hamburger {
  font-size: 30px;
  background: none;
  border: none;
  color: var(--navbar-hamburger-color);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
}

.hamburger-button {
  font-size: 1rem;
  margin: 10px;
  background: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 500;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
}

.hamburger svg {
  width: 1.625rem;
}

/* Mobile top info */
.mobile-top-info {
  display: none;
  margin: 10px 0px;
  align-items: center;
  /*justify-content: center;*/
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 0px 20px;
}

.mobile-top-info span {
  font-family: sans-serif;
  font-size: .625rem;
}

/* Main section */
main {
  margin-top: 20px !important;
}

/* Special cover posts */
.cover-special-post {
  text-align: center;
  padding: 20px 7vw;
  margin-bottom: 30px;
  border-bottom: 3px double var(--text-color);
  border-top: 3px double var(--text-color);
}

.cover-special-post-tags {
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: .175rem;

  a {
    font-family: sans-serif;
    text-decoration: none;
    color: var(--text-color);
  }
}

.cover-special-post-title {
  font-weight: bold;
  line-height: 1;
  margin: 0;
  font-size: 2rem;

  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }

  a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.5s;
  }
}

.cover-special-post-meta {
  margin-top: 10px;
}

.cover-special-post-excerpt {
  color: var(--widget-excerpt-color);
  font-size: 1.15rem;
  line-height: 1.1975rem;
  margin: 0;
  margin-top: 20px;
}

.cover-special-post-2.cover-widget-content {
  display: flex;
  border-top: 3px double;
  border-bottom: 3px double;
  padding: 2.5rem 0;
}

.cover-special-post-2-top.cover-widget-content {
  display: flex;
  border-bottom: 3px double;
  padding: 2.5rem 0;
  padding-top: 0;
}

.cover-special-post-2, .cover-special-post-2-top {
  figure {
    margin: 0;
    flex: 1 1 50%;
  }

  header {
    display: flex;
    flex-direction: column;
    flex: 1 1 50%;
    padding: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;

    h2 {
      font-family: "DS", sans-serif;
      margin-bottom: 2.75rem;
      margin-top: 0;
      
      a {
        font-family: "DS", sans-serif;
        font-size: 2rem;
        font-weight: 300;
        line-height: 2rem;
        text-decoration: none;
        color: var(--text-color);
      }
    }

    .cover-special-post-2-widget-excerpt {
      font-size: 1.1rem;
      line-height: 1.15rem;
      color: var(--widget-excerpt-color);
      margin: 0;
      margin-top: 5px;
    }
  }
}

/* Cover Widget */
.cover-widget {
  margin: 0;
  justify-content: center;
  margin-bottom: 40px;
}

.cover-widget-header {
  margin: 0;
  margin-bottom: 20px;
  padding:0;
  border-bottom: 3px solid var(--text-color);

  * {
    font-family: "DSHeadings", sans-serif;
  }

  h1, a {
    font-size: 1.925rem;
    margin: 0;
  }

  h1 {
    display: inline;
    padding-right: 15px;
    padding-left: 5px;
    border-bottom: 5px solid var(--text-color);
  }

  a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.5s;
  }

  a:hover {
    opacity: 0.7;
  }
}

.cover-widget-content {
  display: flex;
  justify-content: center;
}

.cover-widget-col-big,
.cover-widget-col-small {
  padding-inline: 15px;
}

.cover-widget-col {
  order: 2;
  border-right: 1px solid var(--widget-border-color);
}

.cover-widget-col-first {
  order: 1;
  padding-left: 0;
  border-left: 0;
}

.cover-widget-col-last {
  order: 3;
  padding-right: 0;
  border-right: 0;
}

.cover-widget-col-big {
  width: 100%;
}

.cover-widget-col-small {
  width: 50%;
}

.cover-widget-item {
  padding: 0px 0px 15px 0px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.cover-widget-item:not(:last-child) {
  border-bottom: 1px solid var(--widget-border-color);
}

.cover-widget-item-content-highlighted {
  background: var(--widget-item-hl-background-color);
  padding: 10px;
  border-radius: 5px;
  border: 3px double var(--widget-item-hl-border-color);

  .cover-widget-item-tags a {
    font-size: 0.925rem;
    background: var(--widget-item-hl-tags-background-color);
  }

  .cover-widget-item-meta li {
    font-size: 0.725rem;
    color: var(--text-color);
  }

  .cover-widget-item-excerpt,
  .cover-widget-item-meta li {
    color: var(--widget-item-hl-excerpt-color);
  }
}

.cover-widget-item-thumbnail {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  max-height: 350px;
  object-fit: cover;
}

.cover-widget-item-tags {
  text-transform: uppercase;
  font-size: .625rem;
  line-height: 1.3;
  margin-bottom: .175rem;
}

.cover-widget-item-tags a {
  font-family: sans-serif;
  text-decoration: none;
  color: var(--text-color);
  font-size: .725rem;
}

.cover-widget-item-tags a:not(:last-child) {
  padding: 0px 5px 0px 0px;
  margin-right: 2px;
  border-right: 1px solid var(--text-color);
}

.cover-widget-item-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.6rem;
}

.cover-widget-item-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.5s;
}

.cover-widget-item-title a:hover {
  opacity: 0.7;
}

.cover-widget-item-meta {
  margin: 10px 0px 0px 0px;
}

.cover-widget-item-meta ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cover-widget-item-meta li {
  padding: 0px 5px 0px 0px;
  text-transform: uppercase;
  color: var(--widget-meta-color);
  font-family: sans-serif;
  font-size: .625rem;
  line-height: .75rem;
}

.cover-widget-item-meta li:not(:last-child) {
  border-right: 1px solid var(--widget-meta-color);
  margin-right: 5px;
}

.cover-widget-item-meta a {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.cover-widget-item-excerpt {
  font-size: 14px;
  color: var(--widget-excerpt-color);
  font-size: .9375rem;
  line-height: 1.1875rem;
  margin: 0;
  margin-top: 10px;
}

.cover-widget-content {
  h1 * { font-family: "DSHeadings", sans-serif; font-size: 1.8rem; line-height: 1.9rem; }
  h2 * { font-family: "DSHeadings", sans-serif; font-size: 1.5rem; line-height: 1.6rem; }
  h3 * { font-family: "DSHeadings", sans-serif; font-size: 1.4rem; line-height: 1.4rem; }
  h4 * { font-family: "DSHeadings", sans-serif; font-size: 1.3rem; line-height: 1.2rem; }
  h5 * { font-family: "DSHeadings", sans-serif; font-size: 1.2rem; line-height: 1.1rem; }
  h6 * { font-family: "DSHeadings", sans-serif; font-size: 1.1rem; line-height: 1rem; }
  h1 { font-family: "DSHeadings", sans-serif; font-size: 1.8rem; line-height: 1.9rem; }
  h2 { font-family: "DSHeadings", sans-serif; font-size: 1.5rem; line-height: 1.6rem; }
  h3 { font-family: "DSHeadings", sans-serif; font-size: 1.4rem; line-height: 1.4rem; }
  h4 { font-family: "DSHeadings", sans-serif; font-size: 1.3rem; line-height: 1.2rem; }
  h5 { font-family: "DSHeadings", sans-serif; font-size: 1.2rem; line-height: 1.1rem; }
  h6 { font-family: "DSHeadings", sans-serif; font-size: 1.1rem; line-height: 1rem; }
  
  .e1 {
    font-size: 1.3rem;
    line-height: 1.22rem;
  }
  .e2 {
    font-size: 1.1rem;
    line-height: 1.15rem;
  }
  .e3 {
    font-size: 1rem;
    line-height: 1.11rem;
  }
}

.cover-widget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /*gap: 20px;*/

  .cover-widget-item {
    padding: 10px 10px 10px 10px;
    border: 0;
  }

  .cover-widget-item:not(:first-child) {
    border-left: 1px solid var(--widget-border-color);
  }

  .cover-widget-item-title {
    font-style: italic;
  }

  .cover-widget-item-meta li {
    font-size: .825rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: .8rem; }
}

.cover-widget-grid-item-highlighted {
  grid-column: span 2;
  justify-content: center;
}

.cover-widget-content-centered {
  text-align: center;
  ul {
    justify-content: center;
  }
}

/* Page */
.page {
  padding-bottom: 30px;
  margin-bottom: 1.5em;
}

.page-header h1 {
  letter-spacing: -.0675rem;
  font-size: 2.3125rem;
  line-height: 2.625rem;
  margin-bottom: 25px;
}

.page-content {
  font-size: 1.3275rem;
  line-height: 2rem;
  max-width: 750px;
}

.page-content a {
  color: var(--post-link-color);
}

.page-content p {
  margin-bottom: 10px;
}

.page-content ul {
  margin: 0 0 1.5em 3em;
}

/* Post */
.post {
  padding-bottom: 30px;
  margin-bottom: 1.5em;
}

.post-header-heading {
  padding-left: 4rem;
  padding-right: 4rem;
  margin-bottom: 30px;
  margin-top: 40px;
}

.post-header-heading.post-header-heading-special
{
  margin-top: 4rem;
}

.post-tags {
  text-transform: uppercase;
  font-size: .9rem;
  margin-bottom: .375rem;
}

.post-tags a:not(:last-child) {
  border-right: 1px solid var(--text-color);
}

.post-tags a {
  font-family: sans-serif;
  text-decoration: none;
  color: var(--text-color);
  padding: 0px 5px 0px 0px;
}

.post-tags.post-tags-highlighted {
  font-size: 1.125rem;
}

.post-title {
  padding: 0;
  margin: 0;
  font-family: "DSHeadings", sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 2.4rem;
  color: var(--headers-color);
}

.post-excerpt {
  margin-top: 1.8125rem;
  font-size: 1.725rem;
  line-height: 1.8125rem;
  letter-spacing: -.00625rem;
  font-weight: 100;
  color: var(--headers-color);
}

.post-image {
  padding: 0px 15px;
  margin-top: 50px;
}

.post-image img {
  margin-bottom: 0px;
  max-height: 560px;
  object-fit: cover;
  height: auto;
  width: 100%;
  max-width: 100%;
}

.post-image-meta {
  font-size: .85rem;
  line-height: 1rem;
  text-align: right;
  padding-top: .5625rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--text-color);

  a {
    color: inherit;
  }
}

.post-image-meta-source {
  display: block;
  font-weight: 600;
  line-height: 1rem;
  text-transform: uppercase;
}

.post-meta {
  padding: 15px;
  padding-bottom: 0;
  margin-top: 3rem;
}

.post-meta-author {
  font-size: .8rem;
  line-height: 1.1875rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-color);
}

.post-meta-date {
  font-family: sans-serif;
  font-size: .6875rem;
  white-space: nowrap;
  letter-spacing: .1px;
  text-transform: uppercase;
  margin-top: 5px;
}

.post-meta-share-icons {
  border-top: 1px solid var(--text-color);
  padding-top: .9375rem;
  margin-top: .8125rem;
  display: inline-block;
}

.post-meta-share-icons-list {
  display: flex;
  list-style-type: none;
  font-size: 1em;
  flex-wrap: wrap;
  align-items: center;
  box-sizing: border-box;
  margin-left: 0;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 1.5em;
  padding-left: 0;
  padding-right: 0;
  text-indent: 0;
  gap: 0.5em;
}

.post-meta-share-icon {
  margin: 3px;
  color: black;
  background: var(--post-meta-share-icons-background-color);
  border-radius: 50%;
  border: 1px solid var(--text-color);
}

.post-meta-share-icon:hover {
  filter: grayscale(1);
  background: var(--post-meta-share-icons-background-hover-color);
}

.post-meta-share-icon a {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  padding: .25em;
}

.post-meta-share-icon svg {
  height: 1em;
  width: 1em;
}

.post-body {
  display: flex;
  /*flex-wrap: wrap;*/
  padding-bottom: 30px;
  margin-bottom: 20px;
}

.post-content {
  font-size: 1.4rem;
  line-height: 2rem;
  margin-top: 0;
  margin-left: 10%;
  margin-right: auto;
  max-width: 650px;
}

.post-content-special {
  font-size: 1.375rem;
  line-height: 2rem;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 850px;
  text-align: justify;
}

.post-content a {
  color: var(--post-link-color);
}

.post-sidebar {
  border-left: 1px solid var(--light-border-color);
  margin-left: 50px;
  padding-left: 20px;
}

.post-sidebar-widget-header {
  border-bottom: 3px solid var(--text-color);
}

.post-sidebar-widget-title {
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.4rem;
  padding-left: 10px;
  margin-bottom: 0px;
  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }
}

.featured-posts-list-item {
  flex-grow: 1;
  padding: 15px 5px;
  margin: 5px;
  align-self: center;
}

.featured-posts-list-item:not(:last-child) {
  border-bottom: 1px solid var(--light-border-color);
}

.featured-post-title {
  line-height: 1;
  margin: 0px;
  margin-bottom: 5px;
  font-size: 1.1rem;
  line-height: 1.125rem;
  letter-spacing: .01rem;
  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }
}

.featured-post-title a {
  text-decoration: none;
  color: var(--text-color);
}

.featured-post-meta {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.featured-post-meta a {
  text-decoration: none;
  text-transform: uppercase;
  font-family: sans-serif;
  font-size: .625rem;
  line-height: .75rem;
  color: var(--post-meta-color);
}

.post-footer {
  margin-top: 50px;
}

.post-footer-widget:not(:last-child) {
  margin-bottom: 30px;
}

.post-footer-widget-header {
  border-bottom: 3px solid var(--text-color);
}

.post-footer-widget-title {
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.4rem;
  margin-top: unset;
  margin: 0;
  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }
}

.related-posts {
  margin-top: 20px;
}

.related-post {
  display: flex;
  padding-bottom: 10px;
  margin: 10px 0px;
}

.related-post:not(:last-child) {
  border-bottom: 1px solid var(--light-border-color);
}

.related-post-image {
  display: flex;
  flex: 0 0 20%;
  justify-content: center;
  align-items: center;
}

.related-post-image img {
  object-fit: cover;
  max-height: 350px;
  width: 100%;
}

.related-post-content {
  flex-grow: 1;
  padding: 10px 10px 10px 20px;
  align-self: center;
}

.related-post-tags {
  font-size: .7125rem;
  margin-bottom: .375rem;
  text-transform: uppercase;
  line-height: 1.3;
}

.related-post-tags a {
  font-family: sans-serif;
  text-decoration: none;
  color: var(--color-text);
  padding: 0px 5px 0px 0px;
  margin-right: 1px;
  font-size: .725rem;
}

.related-post-tags a:not(:last-child) {
  border-right: 1px solid var(--text-color);
}

.related-post-title {
  font-size: 1.2rem;
  line-height: 1.125rem;
  letter-spacing: .01rem;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }
}

.related-post-title a {
  text-decoration: none;
  color: var(--text-color);
}

.related-post-excerpt {
  color: var(--post-item-excerpt-color);
  font-size: .9375rem;
  line-height: 1rem;
  margin: 0;
  margin-top: 5px;
}

.archived-in {
  text-decoration: none;
  color: var(--text-color);
  padding: 0px 5px 0px 0px;
  margin-right: 1px;
  margin-top: 10px;
  font-size: 1.1rem;

  a {
    text-decoration: none;
    color: var(--color-text);
  }
}

/* Page and post */
.page, .post {
  margin-top: 30px;

  img {
    width: 100%;
    height: auto;
  }

  hr {
    color: var(--text-color);
  }

  blockquote {
    margin: 1.75em 0 1.75em;
    padding-left: 1em;
    font-size: 1.3em;
    font-weight: 300;
  }

  figure {
    margin: 20px 0px;
    padding: 0;
  }

  figcaption {
    font-size: .8rem;
    line-height: 1rem;
    margin-top: 5px;
    text-align: right;
    
    p {
      margin: 0;
    }
  }

  /* KG */
  .kg-embed-card {
    iframe, objetc, embed {
      position: relative;
      width: 100%;
      height: 400px;
    }
  }

  .kg-gallery-image img {
    cursor: pointer;
  }
  
  .kg-width-wide {
    width: 100%;
  }
  
  .kg-width-full {
    width: 100%; 
  }

  canvas, img, picture, svg, video {
    display: block;
    height: auto;
    max-width: 100%;
  }
}

/* Post Archive */
.post-archive-header {
  margin-bottom: 20px;
  border-bottom: 3px solid var(--text-color);
}

.post-archive-header h1 {
  font-size: 2.125rem;
  padding: 0px 20px 0px 10px;
  margin: 0;
  border-bottom: 5px solid var(--text-color);
  display: inline;
  font-family: "DSHeadings", sans-serif;
}

.post-archive-header-hl {
  margin-top: 50px;
  border-top: 6px double var(--text-color);
  border-bottom: 6px double var(--text-color);
  text-align: center;

  h1 {
    padding: 0px 20px;
    border-bottom: 5px solid var(--text-color);
    border-top: 5px solid var(--text-color);
  }
}

.post-archive-hl {
  margin: auto;
  max-width: 800px;

  .post-archive-list-item:not(:last-child) {
    border-bottom: 3px double var(--text-color);
  }

  .post-archive-list-item-content {
    text-align: center;
  }

  .post-archive-list-item-meta ul {
    justify-content: center;
  }

  .post-archive-list-item-title {
    font-size: 2rem;
  }

  .post-archive-list-item-meta li {
    font-size: 0.825rem;
  }

  .post-archive-list-item-excerpt {
    font-size: 1.15rem;
  }
}

.post-archive-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));

  .post-archive-list-item-content {
    text-align: center;
  }

  .post-archive-list-item-meta ul {
    justify-content: center;
  }

  .post-archive-list-item:last-child {
    border-bottom: 1px solid var(--light-border-color);
  }
}

.post-archive-list-item {
  display: flex;
  margin: 0 0 1.5em;
  padding-bottom: 1.5em;
}

.post-archive-list-item:not(:last-child) {
  border-bottom: 1px solid var(--light-border-color);
}

.post-archive-list-item-image {
  flex: 0 0 50%;
  max-width: 30%;
}

.post-archive-list-item-image a {
  display: block;
  height: 100%;
  width: 100%;
  line-height: 0;
}

.post-archive-list-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.post-archive-list-item-content {
  flex-grow: 1;
  padding: 20px;
  align-self: center;
}

.post-archive-list-item-tags {
  margin-bottom: .275rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.post-archive-list-item-tags a {
  font-family: sans-serif;
  text-decoration: none;
  color: var(--text-color);
  padding: 0px 5px 0px 0px;
  font-size: .725rem;
}

.post-archive-list-item-tags a:not(:last-child) {
  border-right: 1px solid var(--text-color);
}

.post-archive-list-item-title {
  font-size: 1.5rem;
  line-height: 1;
  margin: 0;
  margin-bottom: 10px;
  font-family: "DSHeadings", sans-serif;
  * {
    font-family: "DSHeadings", sans-serif;
  }
}

.post-archive-list-item-title a {
  color: var(--text-color);
  text-decoration: none;
}

.post-archive-list-item-meta ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-archive-list-item-meta li {
  padding: 0px 5px 0px 0px;
  text-transform: uppercase;
  color: var(--post-meta-color);
  font-family: sans-serif;
  font-size: .725rem;
  line-height: .75rem;
}

.post-archive-list-item-meta li:not(:last-child) {
  border-right: 1px solid var(--post-meta-color);
  margin-right: 5px;
}

.post-archive-list-item-meta a {
  color: inherit;
  font-family: inherit;
  text-decoration: none;
}

.post-archive-list-item-excerpt {
  color: var(--widget-excerpt-color);
  font-size: 1.15rem;
}

.post-archive-list-item-excerpt p {
  padding: 0;
  margin: 0;
  margin-top: 8px;
}

.pagination {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.pagination-page-numbers {
  font-family: sans-serif;
  text-decoration: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text-color);
  border: 1px solid var(--text-color);
  transition: all 0.3s ease;
}

.pagination-page-numbers.current,
.pagination-page-numbers:hover {
  color: var(--background-color);
  background: var(--text-color);
}

.pagination-page-numbers.dots {
  border: none;
}

.pagination-page-numbers.dots:hover {
  color: var(--text-color);
  background: var(--background-color);
}

.pagination-page-counter {
  font-family: sans-serif;
  justify-content: center;
  display: flex;
  align-items: center;
  margin: 0px 10px;
}

/* Footer */
footer * {
  font-family: sans-serif;
}

footer {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 7px;
  border-top: 1px solid var(--text-color);
  margin-top: 50px;
}

.footer-logo {
  margin-bottom: 20px;  
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}

.social-icons a,
.common-pages a {
  color: var(--footer-items-color);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.common-pages a {
  margin: 0 10px;
  font-size: 14px;
  white-space: nowrap;
}

.common-pages ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.common-pages a:hover {
  color: var(--text-color);
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  line-height: 0px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid var(--text-color);
  padding: .25em;
  margin: 0px;
  font-size: 1.1rem;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.social-icons svg {
  color: var(--footer-items-color);
  height: 1em;
  width: 1em;
}

/* Side Panel */
.side-panel * {
  font-family: sans-serif;
}

.side-panel {
  font-family: sans-serif;
  position: fixed;
  padding: 4.25rem 2.5rem;
  top: 0;
  left: -350px;
  height: 100%;
  width: 350px;
  background: var(--background-color);
  color: var(--text-color);
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 20;
}

.side-panel.open {
  left: 0;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.side-panel .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  position: absolute;
  top: 10px;
  right: 16px;
  cursor: pointer;
}

.side-panel section {
  padding-bottom: 1.5625rem;
  margin-bottom: 1.5625rem;

  h1 {
    margin: 0;
    margin-bottom: 0px;
    margin-bottom: 15px;
    font-size: 1rem;
  }
}

.side-panel section:not(:last-child) {
  border-bottom: .0625rem solid var(--side-panel-secondary-color);
}

.side-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-panel ul li {
  margin: 0;
  font-size: .85rem;
  line-height: .85rem;
}

.side-panel ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-size: .95rem;
  text-transform: uppercase;
  transition: font-weight 0.1s ease;
  line-height: 24px;
}

.side-panel-pages ul li a {
  text-transform: none;
}

.side-panel ul li a:hover {
  font-weight: 700;
}

.side-panel p {
  margin: 0;
}

.side-panel-logo {
  text-align: center;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;

  img {
    max-width: 60px;
  }
}

.side-panel-search-form {
  display: flex;
}

.side-panel-search-form label {
  width: 100%;
}

.side-panel-search-form-field {
  background: var(--side-panel-secondary-color);
  padding: .5rem .75rem;
  border-radius: 5px 0px 0px 5px;
  border: none;
  width: 100%;
}

.side-panel-search-form-field:focus {
  outline: none;  
}

.side-panel-search-form-submit {
  background: var(--side-panel-secondary-color);
  border-radius: 0px 5px 5px 0px;
  border: none;
  padding: .3125rem .5rem;
}

.side-panel-categories .navbar-menu-item-selected {
  border: none;
}

.side-panel-contrast {
  display: flex;
  
  b {
    text-transform: uppercase;
    font-size: .75rem;
    margin-right: .4375rem;
  }
}

.toggle-button {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.toggle-button-body {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: var(--toggle-button-background-color);
  width: 2.3125rem;
  height: .875rem;
  padding: 0 .125rem;
  border-radius: .4375rem;
}

.toggle-button[aria-checked="true"] .toggle-button-body {
  justify-content: flex-end;
}

#toggle-contrast[aria-checked="true"] .toggle-button-body {
  justify-content: flex-end;
  background: #ccc;
}

.toggle-button-handle {
  width: .625rem;
  height: .625rem;
  background: var(--toggle-button-handle-color);
  border-radius: 50%;
}

/* Scroll to top */
.scroll-to-top {
  opacity: 1;
  visibility: visible;
  color: var(--text-color);
  background: var(--background-color);
  /*border: 1px solid var(--text-color);*/
  border-radius: 50%;
  position: fixed;
  bottom: 53px;
  right: 30px;
  height: 40px;
  width: 40px;
  z-index: 17;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-to-top svg {
  height: 30px;
  width: auto;
}

.scroll-to-top:hover {
  color: var(--background-color);
  background: var(--text-color);
  border: 1px solid var(--background-color);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  transform: translateY(-10px);
}

a.scroll-to-top:active {
  outline: 0;
}

/* Mobile size media queries */
@media (max-width: 680px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .common-pages {
    line-height: 2rem;
  }

  .date {
    text-align: center;
  }

  .post-archive-header h1 {
    font-size: 7vw;
  }

  .post-archive-list-grid {
    display: block;
  }

  .cover-widget-header {
    h1, a {
      font-size: 6.3vw;
    }
  }

  .cover-widget-content {
    flex-direction: column;
  }

  .cover-widget-col {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border: 0 !important;
  }

  .cover-widget-col-big,
  .cover-widget-col-small {
    width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cover-widget-item {
    border-bottom: 1px solid var(--widget-border-color);
  }

  .cover-widget-grid {
    display: flex;
    gap: 0px;

    .cover-widget-item:not(:first-child) {
      border: 0;
    }
  
    .cover-widget-item {
      margin-top: 0px;
      margin-bottom: 5px;
      padding: 25px 40px 30px 40px;
      border: 0;
      border-bottom: 1px solid var(--widget-border-color) !important;
    }
  }

  .cover-special-post-2, .cover-special-post-2-top {
    figure {
      order: 2;
    }

    header {
      order: 1;
      padding-top: 0;
      
      h2 {
        margin-bottom: 2rem;
      }
    }
  }

  .cover-special-post-2-top {
    margin-top: 40px;
  }

  .post-header-heading {
    margin: 0;
    padding: 0;

    .post-tags {
      font-size: .8rem;
    }

    .post-tags.post-tags-highlighted {
      font-size: 1.125rem;
    }

    .post-title {
      font-size: 1.875rem;
      line-height: 2.0625rem;
      letter-spacing: -.061875rem;
    }

    .post-excerpt{
      font-size: 1.4125rem;
      line-height: 1.4625rem;
      letter-spacing: -.005625rem;
    }

  }

  .post-header-heading.wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .post-header {
    .post-image {
      padding: 0;
      margin-top: 30px;
    }
    .post-image-meta {
      padding-left: 15px;
      padding-right: 15px;
      border-bottom: none;
    }
  }

  .post-meta {
    margin-top: 1rem;
  }

  .post-special .post-meta {
    margin-top: 3rem;
  }

  .post-body {
    padding-bottom: 0;
  }

  .post-content {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.6rem;
  }

  .center-mobile {
    text-align: center;
  }

  .post-sidebar-widget-title, .post-footer-widget-title {
    font-size: .9rem;
  }

  .related-post-content {
    padding: 0px 20px;
  }

  .related-post-image {
    flex: 0 0 30%;
  }

  .related-post-title {
    font-size: 1.1rem;
  }

  .related-post-tags a {
    font-size: .7rem;
  }

  .post-archive-list-item {
    flex-direction: column;
  }

  .post-archive-list-item-image {
    max-width: 100%;
    margin-bottom: 10px;
    img {
      aspect-ratio: 1/0.7;
    }
  }

  .post-archive-list-item-content {
    padding: 0;
    padding-top: 15px;
  }

  .side-panel.open {
    width: 100%;
  }
}

@media (min-width: 681px) {
  .navbar.full-fixed {
    position: sticky;
    max-width: 100%;
    margin: 0;
    padding: 0;
    padding-left: 3.4375rem;
    padding-right: 3.4375rem;
    box-shadow: 0 .0625rem .25rem #00000005,0 .125rem .25rem #00000017;
    border-bottom: none;
    height: 50px;
  
    .navbar-menu {
      display: none;
    }
  
    .navbar-logo {
      display: flex;
      flex-grow: 1;
    }

    .hamburger {
      position: absolute;
      left: 4.4rem;
      transform: translateX(-50%);
    
      .hamburger-button {
        z-index: 3;
      }
    }
  }
}

/* Tablet size media Queries */
@media (max-width: 1200px) {
  .wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .header-logo, .top-date {
    display: none;
  }

  .mobile-top-info {
    display: none;
  }

  .navbar {
    position: sticky;
  }

  .navbar-menu {
    display: none;
  }

  .navbar.full-fixed {
    .navbar-logo {
      margin: 0;
    }
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-button {
    margin: 10px 0px 10px 10px;
  }

  .navbar-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-menu ul li {
    margin: 10px 0;
  }

  .navbar {
    height: 50px;
    border: none;
    margin-bottom: 10px;
    box-shadow: 0 .0625rem .25rem #00000005,0 .125rem .25rem #00000017;
  }

  .navbar.wrapper {
    padding: 0;
  }

  .navbar-logo {
    display: flex;
    flex-grow: 1;
  }

  .navbar.wrapper {
    padding: 0;
  }

  .navbar-menu {
    margin: 0;
  }
  
  .center-tablet {
    text-align: center;
  }

  .post-header-heading {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .post-body {
    display: flex;
    flex-wrap: wrap;
  }
  
  .post-sidebar {
    border-left: none;
    width: 100%;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .post-footer {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .post-content {
    margin-left: auto;
    margin-right: auto;
  }

  .post-sidebar-widget-title, .post-footer-widget-title {
    font-size: .9rem;
  }

  .post-sidebar-widget-title {
    padding-left: 0;
  }

  .related-post-excerpt {
    display: none;
  }

  .cover-widget-item {
    padding: 0px 0px 20px 0px;
    margin-bottom: 20px;
  }

  .cover-widget-col {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .cover-widget-col-big {
    order: 1;
    width: 100%;
    border: 0 !important;
  }

  .cover-widget-col-small {
    width: 50%;
    order: 2;
  }

  .cover-widget-col-small:not(:last-child) {
    border-right: 1px solid var(--widget-border-color);
    padding-right: 10px;
  }

  .cover-widget-col-small:last-child {
    padding-left: 10px;
    border-right: none;
  }

  .cover-widget-content {
    display: flex;
    flex-wrap: wrap;
  }

  .cover-widget-grid {
    .cover-widget-item:not(:first-child) {
      border: 0;
    }
  }
}
