/* Layout */
.board-wrapper {
  padding: 0 1rem;
}

.board-content {
  min-height: 600px;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #2b2b2b;
}

.nav-avoider {
  padding-top: 74px;
}

.category-crumb {
  padding: 2rem 0;
  color: #909090;
  text-align: center;
  font-size: 2rem;
}

/* Board List Banner */
.top-bannerCommunity{height: 714px !important; background-size: cover;text-align: center;display: flex;align-items: center; position:relative;flex-direction: column;}

.top-bannerCommunity > p.text01 {
    display: block;
    text-align: center;
    font-family: 'Playfair Display';
    font-size: 105px;
    padding-top: 300px;
    text-transform: uppercase;
    font-weight: 600;
}
.top-bannerCommunity > p.text02 {
    display: block;
    text-align: center;
    font-family: "Noto Serif", serif;
    font-size: 27px;
    padding-top: 0;
}

.top-bannerCommunity.bg-blog{background-image: url('../images/community/blogBg.webp')}
.top-bannerCommunity.bg-event{background-image: url('../images/community/eventBg.webp')}
.top-bannerCommunity.bg-trend{background-image: url('../images/sub_03/sub_04_bg.webp')}
.top-bannerCommunity .banner-wrapper{width: 100%;text-align: center;position: relative;padding: 0;margin: 0 auto;}
.top-bannerCommunity .title-box{width: 100%;z-index: 1;position: absolute;}
.top-bannerCommunity .title-vertical{writing-mode:sideways-rl;position: absolute;text-transform: uppercase;white-space: nowrap;left:0;top:50%;transform: translate(-0,-50%);font-size: 20px;letter-spacing: 0.32em;font-weight: 500;font-family: var(--font-playfair), serif;margin:0;}
.top-bannerCommunity .title-box .sub-title{display: inline-block;font-family: var(--font-playfair), serif;font-weight: 500;font-size: 20px;line-height: 1;letter-spacing: 0.12em;text-transform: uppercase;word-break: break-word;}
.top-bannerCommunity .title-box p{display: block;font-size: 30px;line-height: 1.33em;letter-spacing: 0.02em;margin-top: 29px;}
.top-bannerCommunity .title-box .title{display: block;text-transform: uppercase;font-size: 2rem;line-height: 1;font-family: var(--font-playfair), serif;font-weight: bold;letter-spacing: 0.04em;}
.top-bannerCommunity .title-box .title.small{font-size: 60px;}
.top-bannerCommunity .title-box .title.small > .mobile-only{display:none}
.top-bannerCommunity .title-box .title.small > .pc-only{display:block}

.top-bannerCommunity .title-box .scroll{display: block;border:1px solid #000;position: relative;width: 39px;height: 65px;border-radius: 19px;box-sizing: border-box;margin: 35px auto 0;}
.top-bannerCommunity .title-box .scroll::after{content:'';position: absolute;left:50%;top: calc(0% + 10px);width: 1px;height: 16px;background-color: #000;transform: translate(-50%,0);animation: upDown 1s ease-in-out infinite alternate;}

/* Content Header Start */
table.board-header {
  border: none;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1rem;
}

.board-header tr{
  width: 100%;
}

.board-header td {
  padding: 0.8rem 0;
  border-style: solid;
  border-color: #000000;
  border-right-width: 1px;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.board-content tr td:first-child {
  background-color: #ededed;
}

.board-content tr:first-child td {
  border-top-width: 3px;
}

.board-header td:first-child {
  border-left: none;
  border-right-width: 2px;
}

.board-header td:last-child {
  border-right: none;
}

.board-header tr td:first-child {
  width: 20%;
  text-align: center;
}

.board-header tr td:last-child {
  width: 80%;
  padding: 0.8rem 0.5rem;
}

/* Content Header End */

/*.Search */
.content-wrapper .search-form {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  gap: 0.5rem;
}

.content-wrapper .search-form .search-input {
  width: 200px;
  border: none;
  border-bottom: 1px solid #2b2b2b;
  padding: 0.5rem;
  outline: none;
}

.content-wrapper .search-form .search-btn {
  padding: 0.5rem;
  background-color: #2b2b2b;
  border: none;
  color: #fff;
}

/*.Content List */
.content-list {
  display: grid;
  margin: 4rem auto;
  place-items: center;
  grid-template-rows: repeat(2, 320px);
  grid-template-columns: repeat(1, 100%);
  gap: 2rem 1rem;
}

.content-list .content-item {
  width: 300px;
  height: 300px;
  border-bottom: 2px solid #ebebeb;
  align-self: center;
}

.content-item .post-thumbnail-wrapper {
  overflow: hidden;
  position: relative;
  width: 300px;
  height: 200px;
  
}

.content-item .post-thumbnail-wrapper > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content-list .content-item .content-body {
  box-sizing: border-box;
  height: 100px;
  position: relative;
  padding: 0.5rem;
}

.content-body .post-title {
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;

  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.content-body .post-date {
  color: #6b6b6b;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0.5rem;
}

.content-wrapper .content-list-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

/* Content List End */

/* Post */
.aligncenter {
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

ul.wp-block-list li {
  list-style: disc;
  margin-left: 1.5rem;
}

/* Pagination */ 
.pagination-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.pagination-wrapper * {
  background-color: #ebebeb;
  color: #000;
  padding: 0 0.5rem;
}

.pagination-wrapper *.pagination-placeholder {
  background-color: #ebebeb;
  cursor: not-allowed;
}

.pagination-wrapper .current {
  color: #fff;
  background-color: #2b2b2b;
}

/* Button */
.button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.button-wrapper .to-list-btn {
  border: none;
  background-color: #2b2b2b;
  padding: 0.5rem 2rem;
  border-radius: 0;
  color: #fff;
}
/* Button */

@media (max-width: 767px) {
  .top-bannerCommunity{
      flex-direction: column;
      height: auto;
      padding: 0;
  }
  .top-bannerCommunity.bg-blog{
    background-image: url(../images/community/blogBg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 65% bottom;
  }
  .top-bannerCommunity.bg-event{
    background-image: url(../images/community/eventBg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 35% bottom;
  }
  .top-bannerCommunity > p.text01 {
      font-size: 5em;
      margin-top: 2.5em;
      padding: 0;
  }
  .top-bannerCommunity > p.text02 {
      font-size:1.6em;
      padding-top: 0;
  }
}

@media (min-width: 768px) {
  .board-wrapper {
    margin: 0 auto;
    padding: 0;
  }


  .top-banner {
    height: 480px;
  }

  .content-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-avoider {
    padding-top: 121px;
  }


}

@media (min-width: 1024px) {
  .content-wrapper {
    width: 1024px;
    margin: 0 auto;
  }

  .board-content, .content-list {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .board-content {
    margin-bottom: 1rem;
  }
}

@media (max-width:1100px) {
    .title-vertical{display: none;}
    .top-banner .title-box .scroll{display: none;}
}

@media (min-width: 1480px) {
  .nav-avoider {
    padding-top: 168px;
  }
}

