body.app-body {
  margin: 0;
  height: 100dvh;
  overflow: hidden;
  background: #241f1c;
  color: #241f1c;
  font-family: "Lato", sans-serif;
}

h1,
h2,
h3,
.sidebar-brand,
.mobile-title,
.pane-title {
  font-family: "Righteous", cursive;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  min-height: 0;
  min-width: 0;
}

.app-mobilebar {
  display: none;
}

.app-sidebar {
  background: #241f1c;
  color: #f6efe6;
}

.app-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 7rem),
    #f7f1e8;
  scrollbar-width: auto;
  scrollbar-color: #8d6f58 #f3ebe1;
}

.app-main::-webkit-scrollbar {
  width: 16px;
}

.app-main::-webkit-scrollbar-track {
  background: #f3ebe1;
}

.app-main::-webkit-scrollbar-thumb {
  background: #c4a484;
  border: 4px solid #f3ebe1;
  border-radius: 999px;
}

.app-main::-webkit-scrollbar-thumb:hover {
  background: #8d6f58;
}

.app-feed {
  background: #f3ebe1;
  color: #241f1c;
}

.app-sidebar,
.app-feed {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.sidebar-body,
.feed-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
  overflow: hidden;
  padding: 1rem 0.85rem 1.25rem;
}

.rail-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-bottom: 1.5rem;
  scrollbar-width: none;
}

#post-nav .offcanvas-body,
#news-feed .offcanvas-body {
  overflow: hidden;
  scrollbar-width: none;
}

.sidebar-body {
  overflow: hidden;
  padding: 1.25rem 0.9rem 1.25rem;
}

.sidebar-brand {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
  padding: 0.15rem 0.45rem 0;
}

.sidebar-brand:hover,
.sidebar-brand:focus-visible {
  color: #f0d7b8;
}

.sidebar-kicker,
.sidebar-label,
.blog-kicker,
.entry-date,
.feed-item time {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-kicker {
  margin: 0.35rem 0 1rem;
  padding: 0 0.45rem;
  color: #cbbba8;
  font-size: 0.72rem;
}

.sidebar-label,
.feed-heading {
  margin: 0.4rem 0 0.35rem;
  font-family: "Lato", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-label {
  color: #cbbba8;
  padding: 0 0.45rem;
}

.post-nav-list,
.feed-list {
  display: flex;
  flex-direction: column;
}

.post-nav-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.post-nav-list::-webkit-scrollbar,
.rail-scroll::-webkit-scrollbar,
#post-nav .offcanvas-body::-webkit-scrollbar,
#news-feed .offcanvas-body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sidebar-head {
  flex: 0 0 auto;
}

.post-nav-sentinel {
  height: 1px;
}

.post-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.2rem;
  padding: 0.7rem 0.75rem;
  border-radius: 0.8rem;
  color: #f6efe6;
}

.post-link time {
  color: #cbbba8;
  font-size: 0.75rem;
}

.post-link-title,
.feed-item-title,
.feed-item-summary {
  min-width: 0;
  overflow-wrap: anywhere;
}

.post-link-title,
.feed-item-title {
  font-weight: 700;
  line-height: 1.3;
}

.post-link:hover,
.post-link:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.post-link.up-current,
.post-link[aria-current="page"] {
  background: #3c332e;
  color: #fff;
}

.sidebar-empty,
.feed-empty {
  margin: 0.4rem 0.45rem;
  color: #8d7b6c;
  font-size: 0.95rem;
}

.sidebar-empty {
  color: #cbbba8;
}

.pane-content {
  width: min(44rem, 100%);
  margin-inline: auto;
  padding: 2.25rem 1.4rem 4.5rem;
}

.pane-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 1rem;
}

.blog-kicker,
.entry-date {
  margin-bottom: 0.35rem;
  color: #8d6f58;
  font-size: 0.78rem;
}

.blog-stream {
  display: flex;
  flex-direction: column;
}

.blog-entry + .blog-entry {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e4d5c6;
}

.entry-title {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.entry-title a:hover,
.entry-title a:focus-visible {
  color: #6d4c38;
}

.entry-intro,
.blog-intro,
.blog-body {
  font-size: 1.08rem;
  line-height: 1.7;
}

.blog-intro {
  margin-bottom: 1.75rem;
}

.entry-intro {
  margin: 0;
}

.blog-body > :last-child {
  margin-bottom: 0;
}

.blog-body img,
.blog-intro img,
.featured-image img {
  max-width: 100%;
  height: auto;
}

.featured-image {
  margin: 0 0 1.25rem;
}

.featured-image img {
  display: block;
  width: 100%;
  border-radius: 0.7rem;
}

.comments {
  margin-top: 2.75rem;
}

.comments-title {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

.month-heading {
  position: sticky;
  top: 0;
  margin: 0.85rem 0 0.2rem;
  padding: 0.35rem 0.45rem 0.2rem;
  background: #241f1c;
  color: #cbbba8;
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.month-calendar {
  flex: 0 0 auto;
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.55rem 0.8rem;
  border: 1px solid #e4d5c6;
  border-radius: 1rem;
  background: #fffdf9;
}

.calendar-bar {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.25rem;
}

.calendar-bar button {
  border: 0;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  background: transparent;
  color: #241f1c;
  font-size: 1.3rem;
  line-height: 1;
}

.calendar-bar button:hover,
.calendar-bar button:focus-visible {
  background: #f3ebe1;
}

.calendar-day.has-posts:hover,
.calendar-day.has-posts:focus-visible {
  background: #241f1c;
  color: #f6efe6;
}

a.month-dot.has-posts:hover,
a.month-dot.has-posts:focus-visible {
  background: #c4a484;
  color: #241f1c;
}

.calendar-title {
  margin: 0;
  color: #241f1c;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
  text-transform: capitalize;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.15rem;
  margin-top: 0.45rem;
}

.calendar-weekday,
.calendar-day,
.calendar-empty {
  display: grid;
  place-items: center;
  min-height: 1.7rem;
  color: #8d6f58;
  font-size: 0.72rem;
}

.calendar-day {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0;
}

.calendar-day.has-posts {
  background: #e7d3c0;
  color: #241f1c;
  font-weight: 700;
}

.archive-note,
.draft-copy {
  margin: 0 0 0.8rem;
  color: #6d5848;
  font-size: 0.92rem;
  line-height: 1.45;
}

.archive-legend,
.year-row {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
}

.archive-legend {
  margin-bottom: 0.25rem;
  color: #8d6f58;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.year-months {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.12rem;
}

.year-label {
  color: #241f1c;
  font-size: 0.78rem;
  font-weight: 700;
}

.month-dot {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 1.35rem;
  border-radius: 0.35rem;
  color: #b7a89b;
  font-size: 0.58rem;
  line-height: 1;
}

a.month-dot.has-posts {
  background: #e7d3c0;
  color: #241f1c;
  font-weight: 700;
}

a.month-dot.is-selected {
  background: #241f1c;
  color: #f6efe6;
}

.archive-years {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.info-links {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e4d5c6;
}

.info-link {
  display: block;
  padding: 0.42rem 0.1rem;
  color: #241f1c;
  font-weight: 700;
  line-height: 1.35;
}

.info-link:hover,
.info-link:focus-visible,
.info-link.up-current,
.info-link[aria-current="page"] {
  color: #6d4c38;
}

.news-draft {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid #e4d5c6;
}

.draft-kicker {
  margin: 0 0 0.25rem;
  color: #8d6f58;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-heading {
  color: #6d5848;
  padding: 0 0.15rem;
}

.feed-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.95rem 0.15rem;
  border-bottom: 1px solid #e4d5c6;
  color: #241f1c;
}

a.feed-item:hover,
a.feed-item:focus-visible {
  color: #6d4c38;
}

.feed-item time {
  color: #8d6f58;
  font-size: 0.75rem;
}

.feed-item-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #4e433b;
  font-size: 0.95rem;
  line-height: 1.45;
}

.post-link:focus-visible,
.feed-item:focus-visible,
.sidebar-brand:focus-visible,
.mobile-title:focus-visible,
.entry-title a:focus-visible {
  outline: 2px solid #c4a484;
  outline-offset: 3px;
}

.app-mobilebar {
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.85rem;
  background: #241f1c;
  color: #f6efe6;
}

.mobile-button {
  border: 0;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: #3c332e;
  color: #f6efe6;
  font-size: 0.85rem;
  font-weight: 700;
}

.mobile-button-end {
  margin-left: auto;
}

.mobile-title {
  color: #fff;
  font-size: 1.05rem;
}

@media (max-width: 1199.98px) {
  .app-shell {
    flex-direction: column;
  }

  .app-mobilebar {
    display: flex;
    flex: 0 0 auto;
  }

  .app-main {
    flex: 1 1 auto;
    height: auto;
  }
}

@media (min-width: 992px) {
  .app-sidebar.offcanvas-lg {
    flex: 0 0 280px;
    width: 280px !important;
    height: auto;
    overflow: hidden;
    background-color: #241f1c !important;
    color: #f6efe6;
    border-right: 1px solid #3a312b;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .app-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .app-mobilebar {
    grid-column: 1 / -1;
  }

  .app-sidebar,
  .app-main {
    grid-row: 2;
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  .app-shell {
    display: flex;
    flex-direction: row;
    height: 100dvh;
  }

  .app-sidebar,
  .app-main,
  .app-feed {
    height: 100dvh;
    min-height: 0;
  }

  .app-feed.offcanvas-xl {
    flex: 0 0 340px;
    width: 340px !important;
    overflow: hidden;
    background-color: #f3ebe1 !important;
    color: #241f1c;
    border-left: 1px solid #e4d5c6;
  }
}
