* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f3f5;
  color: #000;
}

/* Top Navigation */

header.site-header {
  border-bottom: 1px solid #000;
  background: #fff;
}

.site-header-inner {
  display: flex;
  align-items: stretch;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid #000;
  font-weight: 600;
  font-size: 22px;
}

nav.main-nav {
  display: flex;
  flex: 1;
}

nav.main-nav a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #000;
  text-decoration: none;
  color: #000;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  font-size: 18px;
}

nav.main-nav a:last-child {
  border-right: none;
}

nav.main-nav a:hover {
  background: #f0ecef;
}

/* Main layout */

main {
  padding: 60px 20px;
}

.post {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #000;
}

.post-header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #000;
}

.post-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 20px 30px; */
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}

.post-title a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 20px 30px;
}

.page-index .post-title a:hover {
  background: #f0ecef;
}

.page-post .post-title a {
  pointer-events: none;
  cursor: default;
}

.post-date {
  width: 260px;
  border-left: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  font-size: 16px;
}

.post-image {
  background: #000;
  text-align: center;
  padding: 50px 0;
  border-bottom: 1px solid #000;
}

.post-image img {
  max-width: 80%;
  height: auto;
  display: inline-block;
}

.post-body {
  padding: 40px 80px 60px;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .post-body {
    padding: 30px 20px 40px;
  }

  .post-header {
    flex-direction: column;
  }

  .post-date {
    width: 100%;
    border-left: none;
    border-top: 1px solid #000;
  }

  .site-header-inner {
    flex-direction: column;
  }

  .brand {
    border-right: none;
    border-bottom: 1px solid #000;
    justify-content: center;
  }

  nav.main-nav a {
    font-size: 16px;
}
}

/* Tabs */

.post-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  font-weight: 600;
  font-size: 20px;
  border-right: 1px solid #000;
  cursor: pointer;
}

.post-tab:last-child {
  border-right: none;
}

.post-tab:hover {
  background: #f0ecef;
}

.post-tab.active {
  background: #000;
  color: #fff;
}
