*, *::before, *::after {
  box-sizing: border-box;
}
.pt-50 {
  padding-top: 50px;
}
header {
  background-color: #37517e;
}
section {
  padding: 72px 0;
}
.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}
.bg-light {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}
.section {
  --bs-footer-text-color: #71717a;
  --bs-footer-link-color: #3f3f46;
  --bs-footer-link-hover-color: var(--bs-primary);
  --bs-section-separator-color: #d4d4d8;
}
.section.section-with-sidebar > .container {
  display: flex;
  flex-direction: column;
}
.section.section-with-sidebar .main-area {
  flex: 0 0 100%;
}
.section.section-with-sidebar .sidebar-area {
  flex: 0 0 100%;
  margin-top: 1rem;
}
.posts-list {
  display: flex;
  flex-direction: column;
}
.posts-list .post {
  display: flex;
  position: relative;
  margin-bottom: 2.5rem;
  flex-direction: column;
}
.posts-list .post .post-thumbnail {
  flex: 0 0 auto;
  max-width: 100%;
  margin-bottom: auto;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.375rem;
  text-decoration: none;
}
.posts-list .post .post-thumbnail.post-has-thumbnail::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  z-index: 20;
  display: block;
  position: absolute;
  box-shadow: inset 0 0 50px 25px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.posts-list .post .post-thumbnail img {
  width: 100%;
  height: 300px;
  z-index: 15;
  filter: grayscale(80%);
  display: block;
  position: relative;
  object-fit: cover;
  object-position: top;
  border-radius: 0.375rem;
  transition: filter 200ms ease;
}
.posts-list .post .post-thumbnail .post-badges {
  top: 15px;
  right: 15px;
  display: flex;
  position: absolute;
  flex-direction: row;
  justify-content: flex-end;
  z-index: 15;
  color: white;
}
.posts-list .post .post-thumbnail .post-badges .post-badge {
  display: flex;
  align-items: center;
}
.posts-list .post .post-content {
  flex: 1 1 auto;
  padding: 1rem;
}
.posts-list .post .post-content .post-category {
  opacity: 0.75;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.posts-list .post .post-content .post-meta {
  font-size: 0.8rem;
}
.posts-list .post .post-content .posts-list .post .post-content .post-summary {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.8rem;
  font-weight: 600;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.posts-list .post .post-content .post-title a {
  color: var(--bs-body-color);
  text-decoration: none;
  transition: color 200ms ease;
}
.posts-list .post .post-content .post-title a:hover {
  color: var(--bs-primary);
}
.post-single header .container {
  display: flex;
  flex-direction: column;
}
.post-single header .container .post-header {
  order: 2;
  flex: 0 0 100%;
  padding: 2rem 0;
}
.post-single header .container .post-header.post-has-thumbnail {
  flex: 1 1 auto;
}
.post-single header .container .post-published {
  color: var(--bs-body-color);
  opacity: 0.5;
  font-weight: 600;
}
.post-single header .container .post-thumbnail {
  order: 1;
  flex: 0 0 100%;
  width: auto;
  height: auto;
}
.post-single header .container .post-thumbnail img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: top;
}
.post-single article .container aside {
  margin-bottom: 3rem;
}
.card {
  width: 100%;
}
.card.card-simple {
  border: 0;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background-color: #fafafa;
}
.card.card-simple .card-header {
  margin-bottom: 1rem;
}
.card.card-simple .card-title {
  color: #52525b;
  font-size: 1.4rem;
}
.card.card-simple .card-subtitle {
  color: #71717a;
  font-size: 0.9rem;
}
.card.card-simple .card-header, .card.card-simple .card-body {
  border: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
}
.card.card-simple .card-title, .card.card-simple .card-subtitle {
  display: block;
  text-align: left;
  line-height: 1.4rem;
  font-family: "Alegreya Sans", sans-serif;
}
.card.card-simple .card-body .list-group-flush .list-group-item {
  padding: 0;
  background-color: rgba(0, 0, 0, 0);
}
.card.card-simple .card-body .list-group-flush a {
  color: var(--bs-dark);
  padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
  display: block;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
  background-color: #e4e4e7;
}
.card.card-simple .card-body .list-group-flush a:hover {
  color: var(--bs-light);
  background-color: var(--bs-dark);
}
.card .card-body > *:last-child {
  margin-bottom: 0;
}
.post-button {
  display: flex;
  text-decoration: none;
}
.post-button .post-thumbnail, .post-button .post-no-thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  border-radius: 0.375rem;
}
.post-button .post-title {
  color: var(--bs-body-color);
  font-size: 1.2rem;
  line-height: 1.7rem;
  font-family: "Alegreya Sans", sans-serif;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
}
.post-button:hover .post-title {
  background-size: 100% 2px;
}
.post-button .post-content {
  flex: 1 1 auto;
  padding: 0.25rem 1rem;
}
.card-header {
  padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
  margin-bottom: 0;
  color: var(--bs-card-cap-color);
  background-color: var(--bs-card-cap-bg);
  border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.card-title {
  margin-bottom: var(--bs-card-title-spacer-y);
}
.posts-list {
  display: flex;
  flex-direction: column;
}
.posts-list .post {
  display: flex;
  position: relative;
  margin-bottom: 2.5rem;
  flex-direction: column;
}
.posts-condensed {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}
.list-group-item {
  position: relative;
  display: block;
  padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
  color: var(--bs-list-group-color);
  text-decoration: none;
  background-color: var(--bs-list-group-bg);
  border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}
.list-group-flush > .list-group-item {
  border-width: 0 0 var(--bs-list-group-border-width);
}
@media (min-width: 768px) {
  .section.section-with-sidebar .sidebar-area {
    display: flex;
    flex-wrap: wrap;
  }
  .section.section-with-sidebar .sidebar-area > * {
    flex: 0 0 50%;
  }
  .posts-list {
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .posts-list .post {
    flex: 0 0 calc(50% - .5rem);
  }
  .posts-list .post .post-thumbnail img {
    height: 400px;
  }
  .posts-condensed {
    margin-left: 0;
    margin-right: 0;
  }
  .posts-condensed .post {
    flex: 0 0 100%;
  }
  .post-single header .container .post-thumbnail img {
    max-height: 600px;
  }
}
@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
  .posts-list {
    gap: 0;
    flex-direction: column;
  }
  .posts-list .post {
    flex-basis: 100%;
    flex-direction: row;
  }
  .posts-list .post .post-thumbnail {
    flex: 0 0 300px;
    max-width: none;
  }
  .posts-list .post .post-thumbnail img {
    width: 300px;
    height: 300px;
  }
  .posts-list .post .post-content {
    padding: 1rem 1.5rem 1rem 3rem;
  }
  .posts-list .post .post-content .post-category {
    margin-bottom: 0;
  }
  .posts-list .post .post-content .post-meta {
    font-size: 1rem;
    text-align: right;
    margin-bottom: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .section.section-with-sidebar > .container {
    flex-direction: row;
  }
  .section.section-with-sidebar .main-area {
    flex: 1 1 calc(100% - 400px) !important;
    max-width: calc(100% - 400px) !important;
  }
  .section.section-with-sidebar .main-area.post-content + .sidebar-area {
    padding-left: 0;
  }
  .section.section-with-sidebar .sidebar-area {
    flex: 0 0 400px;
    display: block;
    margin-top: 1rem;
    padding-left: 3rem;
  }
  .section.section-with-sidebar .sidebar-area > * {
    flex: 0 0 100%;
  }
  .post-single header {
    max-height: 240px;
  }
  .post-single header .container {
    flex-direction: row;
  }
  .post-single header .container .post-header {
    order: 1;
    padding: 0;
  }
  .post-single header .container .post-thumbnail {
    order: 2;
    flex: 0 0 400px;
    width: 400px;
    margin-top: -5rem;
  }
  .post-single header .container .post-thumbnail img {
    max-height: 400px;
  }
  .post-single article .container aside {
    margin-bottom: 0;
  }
  .post-single article .container aside.post-has-thumbnail {
    padding-top: 160px;
  }
}
.posts-condensed .post {
  display: flex;
  margin-bottom: 0.5rem;
  text-decoration: none;
  flex-direction: row;
}
.posts-condensed .post .post-thumbnail, .posts-condensed .post .post-no-thumbnail {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
}
.posts-condensed .post .post-title {
  color: var(--bs-body-color);
  font-size: 16px;
  line-height: 1;
  font-family: "Alegreya Sans", sans-serif;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s ease;
}
.posts-condensed .post .post-content {
  flex: 1 1 auto;
  padding: 0.2rem 1rem;
}
.posts-condensed .post:hover .post-title {
  background-size: 100% 2px;
}
