/* supplement.css — Phase 4 visual fixes hook (shamisen-komatsuya.com) */

/* Blog listing + article pages (main site design) */
.blog-listing {
  position: relative;
  display: block;
  width: 1070px;
  margin: 0 auto 60px;
}
.blog-layout {
  position: relative;
  display: block;
  width: 1070px;
  margin: 0 auto 60px;
  overflow: hidden;
}
.blog-article {
  float: left;
  width: 740px;
}
.blog-article-title {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #282828;
  line-height: 1.5;
  margin: 0 0 28px;
  font-feature-settings: "palt";
}
.blog-article-body p {
  margin: 0 0 1.1em;
}
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  font-weight: bold;
  color: #282828;
  margin: 1.6em 0 0.6em;
  line-height: 1.4;
}
.blog-article-body h2 { font-size: 22px; }
.blog-article-body h3 { font-size: 18px; }
.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 1.2em 1.4em;
}
.blog-article-body li { margin-bottom: 0.3em; }
.blog-article-body img {
  height: auto;
  max-width: 100%;
  margin: 1em 0;
}
.blog-article-body table {
  margin: 1.2em 0;
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9em;
}
.blog-article-body th,
.blog-article-body td {
  vertical-align: top;
  border: 1px solid #d8d8d8;
  padding: 0.4rem 0.55rem;
  text-align: left;
}
.blog-article-body th {
  font-weight: 600;
  background: #f3f3f3;
}
.blog-article-body blockquote {
  padding-left: 0.75rem;
  color: #555;
  border-left: 3px solid #000;
  margin: 1.1em 0;
}
.blog-back {
  margin-top: 40px;
  font-family: 'Palanquin Dark', sans-serif;
}
.blog-back a {
  text-decoration: none;
  color: #000;
}
.blog-sidebar {
  float: right;
  width: 280px;
  background: #f5f5f5;
  padding: 22px 18px;
  box-sizing: border-box;
}
.blog-sidebar-title {
  font-family: 'Palanquin Dark', sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  color: #000;
  margin: 0 0 16px;
  font-weight: 600;
  text-transform: uppercase;
}
.blog-sidebar-item {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  line-height: 1.5;
}
.blog-sidebar-item a {
  color: #282828;
  text-decoration: none;
  font-weight: 600;
}
.blog-sidebar-item a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .blog-listing,
  .blog-layout {
    width: 90%;
  }
  .blog-article,
  .blog-sidebar {
    float: none;
    width: 100%;
  }
  .blog-sidebar {
    margin-top: 40px;
  }
}

/* Footer address: do not clip against the Facebook widget height */
footer#footer > .box-inner:first-child {
  overflow: visible;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}
footer#footer .fb-page {
  flex: 1 1 500px;
  min-width: 0;
}
footer#footer .address {
  position: relative;
  top: auto;
  right: auto;
  width: 440px;
  flex: 0 0 440px;
  color: #1f1f1f;
  z-index: 1;
}
footer#footer .romlifooter {
  margin: 36px 0 24px;
  color: #1f1f1f;
  overflow: hidden;
}
footer#footer .romlifooter a {
  color: #000;
}

@media screen and (max-width: 767px) {
  footer#footer > .box-inner:first-child {
    display: block;
  }
  footer#footer .address {
    width: auto;
    flex: none;
  }
}
