/*  Post Tab -- style 01
/*--------------------------------------------------------- */
.tab_base_post_block {
  background: var(--wp--preset--color--primary-lighter);
  padding: 4px;
  border-radius: 5px;
}
.tab_base_post_block .nav-tabs {
  display: flex;
}
.tab_base_post_block .nav-tabs .nav-item {
  flex: 1;
}
.tab_base_post_block .nav-tabs .nav-item .nav-link {
  font-size: var(--wp--preset--font-size--medium);
  background: var(--wp--preset--color--primary-lighter);
  border-color: var(--wp--preset--color--primary-lighter);
  color: var(--wp--preset--color--primary-dark);
  width: 100%;
  border-color: transparent;
  background: transparent;
  text-align: left;
  font-size: 1.6em;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--roboto);
  padding: 10px 30px;
  transition: all 500ms ease;
}
.tab_base_post_block .nav-tabs .nav-item .nav-link:hover:not(.active) {
  background: var(--wp--preset--color--primary-light);
}
.tab_base_post_block .nav-tabs .nav-item .nav-link:focus {
  outline: none;
}
.tab_base_post_block .tab-content {
  background: var(--wp--preset--color--base);
  padding: 30px;
  height: 445px;
  container-type: inline-size;
}
@media (max-width: 479px) {
  .tab_base_post_block .tab-content {
    height: auto;
  }
}
.tab_base_post_block .tab-content .tab-pane {
  padding: 0 20px 0 0;
  height: 385px;
}
@media (max-width: 479px) {
  .tab_base_post_block .tab-content .tab-pane {
    padding: 0;
    height: auto;
  }
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block {
  display: flex;
  gap: 20px;
  padding: 0 0 20px;
  margin-bottom: 20px;
  align-items: center;
  border-bottom: 1px dashed #c8c8c8;
  transition: all 500ms ease;
}
@media (max-width: 479px) {
  .tab_base_post_block .tab-content .tab-pane .latest-post-block {
    flex-direction: column;
  }
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-thumb {
    width: 100%;
  }
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block:last-child {
  padding: 0;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-thumb img {
  max-height: 115px;
  max-width: 160px;
  object-fit: cover;
  transition: all 500ms ease;
}
@media (max-width: 479px) {
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-thumb img {
    width: 100%;
    max-width: 100%;
    min-height: 180px;
  }
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-thumb a {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 4px;
  transition: all 500ms ease;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-thumb a:hover img {
  transform: scale(1.05);
  opacity: 0.5;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-title {
  font-size: var(--wp--preset--font-size--medium);
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-title a {
  color: var(--wp--preset--color--text-body-color);
  transition: all 500ms ease;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-title a:hover {
  color: var(--wp--preset--color--text-primary-light);
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-excerpt {
  display: none;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta {
  font-size: var(--wp--preset--font-size--small);
  display: flex;
  gap: 30px;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span {
  font-size: 0.8rem;
  color: var(--wp--preset--color--text-body-color-light);
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span:first-child {
  flex: 0 0 auto;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span strong {
  font-weight: 700;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block:hover .post-thumb img {
  transform: scale(1.05);
  opacity: 0.5;
}
.tab_base_post_block .tab-content .tab-pane .latest-post-block:hover .post-title a {
  color: var(--wp--preset--color--text-primary-light);
}
@container (max-width: 500px) {
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-title {
    font-size: var(--wp--preset--font-size--medium);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta {
    display: block;
  }
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span {
    display: block;
    line-height: 16px;
  }
  .tab_base_post_block .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span:first-child {
    margin-bottom: 5px;
  }
}
.tab_base_post_block.is-style-highlight {
  background: var(--wp--preset--color--gray);
  border: 0;
  padding: 4px;
  border-radius: 5px;
}
@media (max-width: 479px) {
  .tab_base_post_block.is-style-highlight {
    margin-top: 20px;
  }
}
.tab_base_post_block.is-style-highlight .nav-tabs .nav-item .nav-link {
  border-color: transparent;
  background: transparent;
  text-align: left;
  font-size: 1.6em;
  font-weight: 600;
  font-family: var(--wp--preset--font-family--roboto);
  padding: 10px 30px;
}
.tab_base_post_block.is-style-highlight .tab-content {
  background: transparent;
  padding: 0;
}
.tab_base_post_block.is-style-highlight .tab-content a {
  text-decoration: none;
  transition: 300ms;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane {
  padding: 0;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block {
  padding: 20px 30px;
  position: relative;
  cursor: pointer;
  z-index: 1;
  border-bottom: none;
  transition: all 300ms linear;
  transition-delay: 0.1s;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  height: 1px;
  background: var(--wp--preset--color--text-body-color-lighter);
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:last-child:before {
  content: none;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  z-index: -1;
  opacity: 1;
  -webkit-transform: perspective(400px) rotateX(90deg);
  transform: perspective(400px) rotateX(90deg);
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  background: var(--wp--preset--color--primary);
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block .post-contents .post-title {
  margin-bottom: 0.7rem;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block .post-contents .post-meta > span strong {
  font-weight: 500 !important;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:hover {
  border-color: var(--wp--preset--color--primary);
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:hover:after {
  opacity: 1;
  -webkit-transform: perspective(400px) rotateX(0deg);
  transform: perspective(400px) rotateX(0deg);
  -webkit-transition: all 300ms linear;
  transition: all 300ms linear;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:hover:before {
  background: var(--wp--preset--color--primary);
}
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:hover .post-contents *,
.tab_base_post_block.is-style-highlight .tab-content .tab-pane .latest-post-block:hover .post-contents a:hover {
  color: var(--wp--preset--color--base);
}
@-webkit-keyframes hideScrollbars {
  from {
    overflow-y: auto;
    overflow-y: overlay;
  }
}
@keyframes hideScrollbars {
  from {
    overflow-y: auto;
    overflow-y: overlay;
  }
}
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--wp--preset--color--text-primary-light) var(--wp--preset--color--primary-lighter);
  -ms-overflow-style: -ms-autohiding-scrollbar;
  overscroll-behavior: none;
  -ms-scroll-chaining: none;
  -ms-flex-positive: 1;
  flex-grow: 1;
  overflow-y: auto;
}
.custom-scroll:focus-within,
.custom-scroll:hover {
  overflow-y: auto;
  overflow-y: overlay;
}
.custom-scroll:not(.ace-scroll-wrap):not(.is-always-on) {
  overflow-x: hidden;
}
.custom-scroll:not(:hover) {
  -webkit-animation: 2s hideScrollbars;
  animation: 2s hideScrollbars;
}