body {
  /* Fonts loaded in font-loading.css primarily - also see font-loading.js */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-size: var(--font-base-size);
  color: var(--color-grey);
  font-family: var(--font-family-primary);
  line-height: 1.25;
}

body.page-template-template-general-page .site-main {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

body.menu-open {
  overflow: hidden;

  & main {
    filter: blur(2px);
  }
}

.site {
  position: relative;
  margin-top: -0.125rem;
}

.single-post .post-content__content a {
  color: #c1ab94;
}

.single-post .post-content__content h2 {
  font-size: 2rem;
}

.single-post .post-content__content :is(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
  text-wrap: initial;
  margin-top: 0.75em;
  margin-bottom: 0.5em;
}

.post-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  padding-block: 6rem;
}

.post-content__side {
  width: 17rem;

  @media (width <= 1200px) {
    width: 100%;
    order: 0;
  }
}

.post-content__aside {
  width: 15rem;

  @media (width <= 1200px) {
    width: 100%;
  }
}

.post-content__content {
  flex: 1;
}

.post-content__caption {
  font-size: 1.125rem;
  margin: 0 0 2rem;
  text-transform: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1;
}

.post-content__caption:after {
  content: '';
  flex: 1;
  height: 1px;
  border-top: 1px solid #D9D9D9;
  top: 0.125rem;
  position: relative;
}

.post-content__posts {
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);

  @media (width <= 640px) {
    grid-template-columns: initial;
  }
}

.post-content__title {
  margin: -0.125em 0 0.5rem;
  color: #c1ab94 !important;
  line-height: 1;
}

.post-content__sidebar {
  width: 15rem;

  @media (width <= 1200px) {
    width: 100%;
  }
}

p {
  margin-top: 0;
  margin-bottom: 1.35em;
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-black);

  margin-top: .5em;
  margin-bottom: .25em;
  letter-spacing: 1px;
 font-family: 'Steelfish', sans-serif;
}

h1 {
  font-size: var(--title-xxxl);
}

h2 {
  font-size: var(--title-xxl);
}

h3 {
  font-size: var(--title-xl);
}

h4 {
  font-size: var(--title-lg);
}

h5 {
  font-size: var(--title-md);
}

h6 {
  font-size: var(--title-sm);
}

ul {
  margin-top: 1em;
}

li {
  margin-bottom: .25em;
}

blockquote {
  background-color: #F3F3F3;
  border-inline-start: 6px solid var(--color-red);
  font-style: italic;
  margin-inline: 0;
  padding: 1rem 1.125rem 1.125rem;
}

blockquote:before {
  content: '';
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  display: block;
  background-position: center;
  background-size: 2rem;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' viewBox='0 0 32 32'%3E%3Cpath fill='%23BE2F37' d='M14.5 9v11a6 6 0 0 1-6 6 1 1 0 0 1 0-2 4 4 0 0 0 4-4v-1H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h7.5a2 2 0 0 1 2 2ZM27 7h-7.5a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2H27v1a4 4 0 0 1-4 4 1 1 0 0 0 0 2 6 6 0 0 0 6-6V9a2 2 0 0 0-2-2Z'/%3E%3C/svg%3E");
}

/* Table Container */
.table-container {
  overflow-x: auto;
  margin: 20px 0;
}

/* Basic Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Table Header */
table th {
  background-color: #f4f4f4;
  color: #333;
  font-weight: bold;
  padding: 10px;
  text-align: left;
  border-bottom: 2px solid #ddd;
}

/* Table Body */
table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

/* First Row Styles if no thead */
table tr:first-child td {
  border-top: 1px solid #ddd;
}

/* Alternate Row Coloring */
table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Handle Borders for columns */
table th:first-child,
table td:first-child {
  border-left: 1px solid #ddd;
}

table th,
table td {
  border-right: 1px solid #ddd;
}

.screen-reader-text {
  visibility: hidden;
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Blocks Support */
.alignleft {
  float: left;
  margin-right: 1em;
}

.alignright {
  float: right;
  margin-left: 1em;
}

.aligncenter {
  & img {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 2rem;
  }
}

.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
}

.pagination .nav-links {
  display: flex;
  gap: 0.8125rem;
  flex-flow: wrap;
}

.pagination .nav-links .page-numbers {
  width: 2.5rem;
  height: 2.5rem;
  place-content: center;
  place-items: center;
  color: var(--color-mute);
  background-color: var(--color-grey-lighter);
  display: inline-flex;
  text-decoration: none;
  border: 1px solid transparent;
}

.pagination .nav-links a.page-numbers:hover {
  color: #fff;
  background-color: #415243;
}

.pagination .nav-links .page-numbers.current {
  color: #415243;
  border: 1px solid #415243;
  background-color: transparent;
}