body.menu-open {
  overflow: hidden;
}
:root {
  --site-max-width: 960px;
  --content-width: 820px;
  --listing-width: 680px;
  --text: #080808;
  --muted: #6f7680;
  --border: #d8d8d8;
  --accent: #e92aa0;
  --header-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}
/**Header/Footer FILL Screen**/
.site-header,
.site-footer {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  align-self: stretch;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.25);
}

.menu-toggle {
  position: absolute;
  left: max(24px, calc((100vw - var(--site-max-width)) / 2));
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 32px;
  text-decoration: none;
  color: #000;
}
/**MENU**/
.sidebar-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: 300px;
  background: #fff;
  z-index: 250;
  transform: translateX(-100%);
  transition: transform .25s ease;
  padding: 28px 22px;
  box-shadow: 8px 0 24px rgba(0,0,0,.12);
  overflow-y: auto;
  font-family: Arial, Helvetica, sans-serif;
}

.sidebar-search {
  display: flex;
  margin-bottom: 34px;
}

.sidebar-search input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: 2px solid #000;
  border-right: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .95rem;
}

.sidebar-search button {
  height: 42px;
  padding: 0 14px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-nav {
  margin-top: 8px;
}

.sidebar-nav ul,
.sidebar-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li,
.sidebar-menu-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li + li,
.sidebar-menu-list li + li {
  margin-top: 12px;
}

.sidebar-nav a,
.sidebar-menu-list a {
  display: block;
  padding: 6px 4px;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: left;
  text-decoration: none;
}

.sidebar-nav a:hover,
.sidebar-menu-list a:hover {
  color: var(--accent);
}

.sidebar-footer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}


.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  border-radius: 999px;
}


body.menu-open .sidebar-menu {
  transform: translateX(0);
}

.sidebar-overlay {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

body.menu-open .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}
.site-logo-img {
  display: block;
  width: auto;
  height: 42px;
}

.site-main {
  width: min(var(--site-max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.latest-section {
  max-width: var(--content-width);
  margin: 0 auto;
}

.latest-section > h1 {
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.post-featured {
  margin-bottom: 48px;
  text-align: center;
}

.post-featured-image {
  display: block;
  margin-bottom: 18px;
}

.post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-featured-title {
  max-width: 680px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.03;
  /*text-transform: uppercase;*/
}

.post-featured-title a {
  text-decoration: none;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 40px;
  align-items: start;
}

.post-card {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 18px;
  align-items: start;
}

.post-card-title {
  margin: 0 0 18px;
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.15;
}

.post-card-image {
  display: block;
}

.post-card-image img {
  display: block;
  width: 96px;
  height: 76px;
  object-fit: cover;
}

.post-card .post-meta,
.post-featured .post-meta {
  margin-top: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .02em;
}
.section-plus {
  margin: -18px 0 34px;
  text-align: center;
  color: #ef3b2d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}

/* Single post
--------------------------------------------- */

.single-main {
  width: min(var(--site-max-width), calc(100% - 32px));
  padding-top: 56px;
}

.single-article {
  max-width: var(--content-width);
  margin: 0 auto;
}

.single-header {
  margin-bottom: 28px;
  text-align: center;
}

.single-header h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.single-header .post-meta {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .04em;
}

.single-featured-image {
  margin: 0 0 36px;
}

.single-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.single-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.single-content p {
  margin: 0 0 1.35em;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  line-height: 1.1;
}

.single-content h2 {
  margin: 2.2em 0 .7em;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.single-content h3 {
  margin: 2em 0 .65em;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.single-content strong {
  font-weight: 800;
}

.single-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.single-content ul,
.single-content ol {
  margin: 0 0 1.5em 1.25em;
  padding: 0;
}

.single-content li + li {
  margin-top: .45em;
}

.single-content blockquote {
  margin: 2em 0;
  padding: .2em 0 .2em 1em;
  border-left: 4px solid var(--accent);
  font-size: 1.25em;
  line-height: 1.35;
}

.single-content img {
  display: block;
  margin: 2em auto;
}
.single-category {
  display: inline-block;
  margin-bottom: 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}

/* Search page
--------------------------------------------- */

.search-section {
  max-width: var(--content-width);
  margin: 0 auto;
}

.search-header {
  margin-bottom: 42px;
}

.search-header h1 {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
}

.search-header h1 span {
  color: var(--accent);
}

.search-page-form {
  display: flex;
  max-width: 520px;
  margin-top: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.search-page-form input {
  min-width: 0;
  flex: 1;
  height: 44px;
  padding: 0 12px;
  border: 2px solid #000;
  border-right: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.search-page-form button {
  height: 44px;
  padding: 0 18px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
}

.search-page-form button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.search-results-grid {
  margin-top: 12px;
}

.search-empty {
  max-width: 620px;
  font-size: 1.2rem;
  line-height: 1.5;
}
/* Archive + Search listings
--------------------------------------------- */

.archive-main,
.search-main {
  width: min(var(--listing-width), calc(100% - 32px));
}

.search-section,
.archive-header {
  max-width: var(--listing-width);
  margin-left: auto;
  margin-right: auto;
}

.archive-header {
  margin-bottom: 42px;
}

.archive-main .post-grid,
.search-main .post-grid,
.search-results-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Force archive/search result lists into one column */
.archive-main .post-grid,
.search-main .post-grid,
.search-results-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Keep the same card style as the lower posts on home */
.archive-main .post-card,
.search-main .post-card {
  grid-template-columns: 1fr 96px;
  gap: 18px;
  align-items: start;
}

.archive-main .post-card-title,
.search-main .post-card-title {
  margin-bottom: 0;
}
.navigation.pagination {
  margin-top: 48px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-weight: 700;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.navigation.pagination a,
.navigation.pagination span {
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--border);
}

.navigation.pagination .current {
  background: #000;
  border-color: #000;
  color: #fff;
}

.navigation.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer
--------------------------------------------- */

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-footer {
  margin-top: auto;
  background: #171d1f;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer-inner {
  width: min(var(--site-max-width), calc(100% - 32px));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-logo {
  display: block;
  width: 96px;
  height: auto;
  /*filter: brightness(0) invert(1);*/
}

.footer-copy {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-copy p {
  margin: 0;
}

.footer-copy p + p {
  margin-top: 4px;
}

@media (max-width: 700px) {
  .site-main {
    width: min(100% - 24px, var(--site-max-width));
    padding-top: 28px;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .post-card {
    grid-template-columns: 1fr 88px;
  }

  .post-card-image img {
    width: 88px;
    height: 70px;
  }

  .post-featured-title {
    font-size: 2rem;
  }

  .latest-section > h1 {
    font-size: 2.1rem;
  }
  .single-main {
    padding-top: 36px;
  }

  .single-header {
    text-align: left;
  }

  .single-header h1 {
    font-size: 2.35rem;
    letter-spacing: -0.02em;
  }

  .single-content {
    font-size: 1.08rem;
    line-height: 1.58;
  }

  .single-featured-image {
    margin-bottom: 28px;
  }
  .search-page-form {
    max-width: none;
  }

  .search-header h1 {
    font-size: 2.1rem;
  }

  .search-page-form input,
  .search-page-form button {
    height: 42px;
  }
  .site-footer-inner {
    min-height: 150px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo {
    width: 82px;
  }

  .footer-copy {
    font-size: .82rem;
  }
}
@media (max-width: 480px) {
  .sidebar-menu {
    width: 80vw;
    max-width: 320px;
  }
}