.p-authorBox {
  border: 1px solid #e1e1e1;
  border-radius: var(--swl-radius--8, 0);
  margin: 1vw;
  padding: 18px;
}

.p-authorBox__l {
  margin: 0 0 1em;
  text-align: center;
}

.p-authorBox__name {
  color: inherit;
  display: block;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 8px;
  text-decoration: none;
}

.p-authorBox__position {
  display: block;
  font-style: italic;
  line-height: 1.2;
  margin-top: 4px;
}

.p-authorBox__r {
  width: 100%;
  align-self: center;
}

.p-authorBox__r {
  border-left: 1px solid #e1e1e1;
  display: flex;
  flex-direction: column;
  padding-left: 1.5em;
  width: calc(100% - 160px - 1.5em);
}

/* Style for 2-column layout */
.p-postList--2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */

  gap: 20px; /* Space between items */
  list-style: none;
  padding: 0;
  margin: 70px 20px 20px;
}

.p-postList {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 20px;
  padding: 16px;
  list-style: none;
  margin: 0;
}

/* Style for each post item */
.p-postList__item {
  /* background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; */
}

.p-postList__item:hover {
  /* transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* Thumbnail image */
.c-postThumb__figure img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

/* Meta data */
.p-postList__meta {
  margin-top: 10px;
}

.p-postList__title {
  font-size: 14px;
  font-weight: bold;
  margin: 6px;
}

.p-postList__times {
  font-size: 14px;
  color: #777;
  margin: 6px;
}

.pagination {
  display: flex; /* Align items in a row */
  justify-content: center; /* Center the pagination items */
  list-style: none; /* Remove default list styles */
  padding: 0; /* Remove extra padding */
  margin: 20px 0; /* Add spacing around pagination */
}

.pagination .page-numbers {
  display: inline-block; /* Ensure elements are inline */
  margin: 0 5px; /* Add spacing between items */
  padding: 10px 15px; /* Add padding inside the buttons */
  border: 1px solid #ddd; /* Optional: Border around buttons */

  background-color: #f9f9f9; /* Optional: Background color */
  text-decoration: none; /* Remove default link underline */
  color: #333; /* Default text color */
  font-size: 14px; /* Adjust font size */
  transition: all 0.3s ease; /* Add hover effects smoothly */
}

.pagination .page-numbers:hover {
  background-color: #df0a27; /* Hover background color */
  color: #fff; /* Hover text color */
  border-color: #df0a27; /* Hover border color */
}

.pagination .page-numbers.current {
  background-color: #df0a27; /* Current page background */
  color: #fff; /* Current page text color */
  border-color: #df0a27; /* Current page border color */
  font-weight: bold; /* Highlight current page */
}

.main {
  width: 100%;
  padding: 0 10%;
}

.author-bio {
  margin: 45px 17px;
}

.c-pageTitle__subTitle {
  font-style: italic;
  margin-left: 1em;
  opacity: 0.8;
  letter-spacing: 1px;
  font-size: 14px;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.author-bio .c-pageTitle {
  position: relative; /* For positioning the pseudo-element */
  display: inline-block; /* Allow proper width handling */

  width: 100%; /* Stretch to full width */
  margin: 0 auto; /* Center in the parent container */
}

/* Add the underline using a pseudo-element */
.author-bio .c-pageTitle::after {
  content: ""; /* Empty pseudo-element for the underline */
  position: absolute;
  left: 0;
  bottom: -5px; /* Adjust distance from the text */
  width: 100%; /* Full width underline */
  height: 1px; /* Thickness of the underline */
  background: linear-gradient(
    to right,
    red,
    #e2e2e2 50%
  ); /* Half red, half grey */
}

/* Adjust text styles if needed */
.c-pageTitle__inner {
  display: inline-block; /* Ensure only the text has the red underline */
  position: relative; /* Keep text above the underline */
  z-index: 1; /* Ensure the text stays on top */
}

img.avatar {
  border-radius: 50px;
  border: 2px solid #e2e2e2;
}

.p-postList__item {
  margin-bottom: 40px;
}

.c-postThumb {
  position: relative; /* Make this the positioning context */
}

.c-postThumb__cat {
  position: absolute;
  top: 6px;
  right: 1px;
  background-color: #de1122;
  padding: 5px 10px;
  font-size: 10px;
  z-index: 10;
  color: white;
}

.icon-folder:before {
  font-family: "Font Awesome 6 Free";
  content: "\f07b";
  font-weight: 900;
  font-size: 11px;
  color: white;
  padding-right: 3px;
}

/* Optional: Add mobile styling */
@media (max-width: 767px) {
  .main {
    width: 100%;
    padding: 0 4%;
  }

  .p-postList {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  img {
    width: auto;
    object-fit: contain;
  }

  .p-authorBox__r {
    border-left: transparent;
    display: flex;
    flex-direction: column;
    padding: 0 0.5em;
    width: auto;
  }

  .c-tabBody.p-postListTabBody {
    margin-top: 53px;
  }

  .p-postList--2col {
    margin: 0;
  }
  .p-authorBox {
    margin: 0;
  }

  .p-postList--2col {
    gap: 50px;
  }

  .p-postList__meta {
    margin: 6px;
  }
}

@media (min-width: 600px) {
  .p-authorBox {
    align-content: stretch;
    display: flex;
    justify-content: space-between;
    /* padding: 1.5em; */
  }

  .p-authorBox__l {
    margin-bottom: 0;
    width: 160px;
  }

  .c-pageTitle {
    font-size: 1.5em;
  }
}

@media (min-width: 960px) {
}
