@charset "UTF-8";
:root {
  --font-xs: 12px;
  --font-s: 14px;
  --font-base: 16px;
  --font-m: clamp(18px, 2vw, 24px);
  --font-l: clamp(26px, 2.8vw, 32px);
  --font-xl: clamp(32px, 3.5vw, 40px);
}

/* ===============================================
  WordPress Post Decoration
=============================================== */
.post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 {
  color: #1a2d70;
}
.post .post-content h1 {
  font-size: 28px;
}
.post .post-content h2 {
  font-size: 24px;
}
.post .post-content h3 {
  font-size: 22px;
}
.post .post-content h4 {
  font-size: 20px;
}
.post .post-content h5 {
  font-size: 18px;
}
.post .post-content h6 {
  font-size: 16px;
}
.post .post-content img {
  width: auto;
}
.post .post-content p {
  margin-bottom: 1.2em;
}
.post .post-content em {
  font-style: italic;
  font-weight: bold;
}
.post .post-content strong {
  font-weight: bold;
}
.post .post-content pre:not(.wp-block-code) {
  position: relative;
  padding: 16px;
  margin-bottom: 1.2em;
  color: white;
  white-space: pre-wrap;
  background-color: black;
}
.post .post-content blockquote {
  position: relative;
  padding: 40px 30px;
  margin-bottom: 1.2em;
  background-color: #f5f5f5;
  border: 5px solid #dfdfdf;
}
.post .post-content blockquote:not(.wp-block-quote) {
  padding: 40px 30px 15px;
}
.post .post-content blockquote::before, .post .post-content blockquote::after {
  position: absolute;
  font-family: "Arial";
  font-size: 60px;
  font-weight: bold;
  line-height: 1;
  color: #dfdfdf;
}
.post .post-content blockquote::before {
  top: 5px;
  left: 20px;
  content: "“";
}
.post .post-content blockquote::after {
  right: 20px;
  bottom: -25px;
  content: "”";
}
.post .post-content blockquote cite {
  display: flex;
  justify-content: flex-end;
}
.post .post-content .wp-block-pullquote blockquote {
  padding: 40px 30px;
}
.post .post-content code:not(.wp-block-code code) {
  font-family: monospace;
  color: red;
}
.post .post-content table:not(.wp-block-table table) {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  border-top: 1px solid #f5f5f5;
}
.post .post-content table:not(.wp-block-table table) td, .post .post-content table:not(.wp-block-table table) th {
  padding: 1em;
  border-bottom: 1px solid #f5f5f5;
}
.post .post-content dt, .post .post-content dd {
  padding: 15px 10px;
}
.post .post-content dt {
  background-color: #f5f5f5;
}
.post .post-content dd {
  border-bottom: solid 1px black;
}
.post .post-content ol, .post .post-content ul {
  display: block;
  padding-inline-start: 40px;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  margin-top: 1.5em;
  margin-bottom: 1.2em;
}
.post .post-content ol {
  list-style-type: decimal;
}
.post .post-content ul {
  list-style: disc;
}
.post .post-content li {
  margin-bottom: 0.8em;
  line-height: 1.65em;
}
.post .post-content .alignleft, .post .post-content img.alignleft {
  display: inline;
  float: left;
  margin-top: 4px;
  margin-right: 20px;
}
.post .post-content .alignright, .post .post-content img.alignright {
  display: inline;
  float: right;
  margin-top: 4px;
  margin-left: 20px;
}
.post .post-content .aligncenter, .post .post-content img.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
  clear: both;
}
.post .post-content .wp-caption {
  max-width: 100% !important;
  padding: 0 0 5px;
  line-height: 18px;
  text-align: center;
}
.post .post-content .wp-caption p.wp-caption-text {
  margin: 10px 0 0;
  font-size: 12px;
  color: #dfdfdf;
}
.post .post-content .wp-caption + * {
  margin-top: 1.5em;
}
.post .post-nav-links {
  margin-top: 40px;
  font-size: 110%;
  text-align: center;
}
.post .post-nav-links a {
  text-decoration: underline;
}
.post .post-nav-links span.current {
  color: #1a2d70;
}
.post .post-password-form input[type=password] {
  padding: 3px;
  border: solid 1px black;
}
.post .post-password-form input[type=submit] {
  padding: 3px 10px;
  border: solid 1px black;
  transition: all 0.3s;
}
.post .post-password-form input[type=submit]:hover {
  color: white;
  cursor: pointer;
  background-color: black;
}
.post .wp-block-button .wp-block-button__link {
  opacity: 1;
  transition: opacity 0.3s;
}
.post .wp-block-button .wp-block-button__link:hover {
  opacity: 0.7;
}

.pagination .screen-reader-text {
  display: none;
}
.pagination .nav-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 30px));
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 56px;
  font-weight: bold;
}
.pagination .nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  color: #333;
  border: solid 1px transparent;
  transition: color 0.3s, background-color 0.3s;
}
.pagination .nav-links .page-numbers.dots {
  position: relative;
}
.pagination .nav-links .page-numbers.current {
  color: white;
  background-color: #1a2d70;
  border: solid 1px #1a2d70;
}
.pagination .nav-links a.page-numbers:hover {
  color: white;
  background-color: #1a2d70;
}

.pagenav {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}
.pagenav .pagenav__return {
  text-decoration: underline;
}
@media screen and (min-width: 768px){
  .post .post-content h1 {
    font-size: 32px;
  }
  .post .post-content h2 {
    font-size: 28px;
  }
  .post .post-content h3 {
    font-size: 24px;
  }
  .post .post-content h4 {
    font-size: 22px;
  }
  .pagination .nav-links {
    gap: 10px;
  }
}
