/* 정본한의원 건강정보 목록 전용 스타일 */
.jeongbone-site .jb-article-list {
  --jb-list-line: rgba(0, 82, 140, .16);
  --jb-list-shadow: 0 18px 42px rgba(40, 40, 40, .08);
  background: var(--jb-paper-soft);
}

.jeongbone-site .jb-article-list-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(248, 245, 241, .98) 0%, rgba(248, 245, 241, .92) 56%, rgba(234, 245, 251, .74) 100%),
    url("images/blue-ink-flow.svg") center 58% / cover no-repeat;
  border-bottom: 1px solid var(--jb-list-line);
}

.jeongbone-site .jb-article-list-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -42%;
  width: clamp(280px, 32vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 108, 180, .14);
  border-radius: 50%;
  content: "";
}

.jeongbone-site .jb-article-list-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 330px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.jeongbone-site .jb-article-list-hero__copy {
  max-width: 720px;
}

.jeongbone-site .jb-article-list-hero .jb-eyebrow {
  margin: 0 0 16px;
}

.jeongbone-site .jb-article-list-hero h1 {
  margin: 0;
  color: var(--jb-ink);
  font-family: var(--jb-serif);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.jeongbone-site .jb-article-list-hero__copy > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--jb-muted);
  font-size: clamp(.94rem, 1.4vw, 1.06rem);
  line-height: 1.8;
}

.jeongbone-site .jb-article-list-hero__mark {
  display: grid;
  width: 168px;
  min-width: 168px;
  aspect-ratio: 1;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(0, 82, 140, .28);
  background: rgba(255, 255, 255, .46);
  color: var(--jb-blue-deep);
  transform: rotate(-3deg);
}

.jeongbone-site .jb-article-list-hero__mark strong {
  font-family: var(--jb-serif);
  font-size: 2.85rem;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1;
}

.jeongbone-site .jb-article-list-hero__mark span {
  margin-top: 13px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
}

.jeongbone-site .jb-article-list-wrap.jb-blog-wrap {
  width: min(1180px, calc(100vw - 80px)) !important;
  padding: clamp(72px, 8vw, 112px) 0 clamp(96px, 10vw, 144px);
}

.jeongbone-site .jb-article-list-grid.wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 30px 26px !important;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.jeongbone-site .jb-article-list-grid > .wp-block-post {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--jb-list-line);
  background: var(--jb-white);
  box-shadow: 0 1px 0 rgba(0, 82, 140, .04);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.jeongbone-site .jb-article-list-grid > .wp-block-post:hover {
  border-color: rgba(0, 82, 140, .34);
  box-shadow: var(--jb-list-shadow);
  transform: translateY(-3px);
}

.jeongbone-site .jb-article-list-media.wp-block-post-featured-image {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--jb-list-line);
  background: #f5f2ed;
}

.jeongbone-site .jb-article-list-media.wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.jeongbone-site .jb-article-list-media.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: filter .24s ease;
}

.jeongbone-site .jb-article-list-grid > .wp-block-post:hover .jb-article-list-media img {
  filter: saturate(1.04) contrast(1.02);
}

.jeongbone-site .jb-article-list-media.is-fallback a {
  display: grid;
  place-content: center;
  background:
    linear-gradient(rgba(0, 82, 140, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 82, 140, .06) 1px, transparent 1px),
    linear-gradient(145deg, #fbf8f3, #eaf5fb);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--jb-blue-deep);
  text-align: center;
}

.jeongbone-site .jb-article-list-fallback__seal {
  display: block;
  font-family: var(--jb-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .08em;
  line-height: 1;
}

.jeongbone-site .jb-article-list-fallback__name {
  display: block;
  margin-top: 18px;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
}

.jeongbone-site .jb-article-list-card__body.wp-block-group {
  display: flex;
  min-height: 300px;
  flex: 1;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 25px 25px 27px;
}

.jeongbone-site .jb-article-list-card__date.wp-block-post-date {
  margin: 0 0 11px;
  color: var(--jb-blue);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
}

.jeongbone-site .jb-article-list-card__title.wp-block-post-title {
  display: -webkit-box;
  min-height: calc(1.5em * 3);
  margin: 0;
  overflow: hidden;
  color: var(--jb-ink);
  font-family: var(--jb-serif);
  font-size: clamp(1.22rem, 1.8vw, 1.48rem);
  font-weight: 600;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jeongbone-site .jb-article-list-card__title a {
  color: inherit;
  text-decoration: none;
}

.jeongbone-site .jb-article-list-card__excerpt.wp-block-post-excerpt {
  display: -webkit-box;
  margin: 18px 0 0;
  overflow: hidden;
  color: var(--jb-muted);
  font-size: .86rem;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.jeongbone-site .jb-article-list-card__excerpt p {
  margin: 0;
}

.jeongbone-site .jb-article-list-card__more.wp-block-read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--jb-blue-deep);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}

.jeongbone-site .jb-article-list-card__more::after {
  margin-left: 10px;
  content: "→";
  transition: transform .2s ease;
}

.jeongbone-site .jb-article-list-card__more:hover::after {
  transform: translateX(4px);
}

.jeongbone-site .jb-article-list-pagination.wp-block-query-pagination {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: clamp(52px, 7vw, 82px) 0 0;
}

.jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.jeongbone-site .jb-article-list-pagination .page-numbers,
.jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-previous,
.jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-next {
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--jb-blue-deep);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.jeongbone-site .jb-article-list-pagination .page-numbers {
  border: 1px solid rgba(0, 82, 140, .22);
  background: rgba(255, 255, 255, .66);
}

.jeongbone-site .jb-article-list-pagination .page-numbers.current {
  border-color: var(--jb-blue-deep);
  background: var(--jb-blue-deep);
  color: var(--jb-white);
}

.jeongbone-site .jb-article-list-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-previous,
.jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-next {
  min-width: 44px;
  border: 0;
  background: transparent;
}

.jeongbone-site .jb-article-list-pagination a:hover {
  color: var(--jb-blue);
}

.jeongbone-site .jb-article-list a:focus-visible {
  outline: 3px solid var(--jb-blue);
  outline-offset: 3px;
}

.jeongbone-site .jb-article-list-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 68px 30px;
  border: 1px solid var(--jb-list-line);
  background: rgba(255, 255, 255, .62);
  text-align: center;
}

.jeongbone-site .jb-article-list-empty::before {
  display: block;
  margin-bottom: 18px;
  color: var(--jb-blue);
  font-family: var(--jb-serif);
  font-size: 2.2rem;
  content: "正本";
}

.jeongbone-site .jb-article-list-empty h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.jeongbone-site .jb-article-list-empty p {
  margin: 12px 0 0;
  color: var(--jb-muted);
}

@media (max-width: 1100px) {
  .jeongbone-site .jb-article-list-wrap.jb-blog-wrap {
    width: min(880px, calc(100vw - 64px)) !important;
  }

  .jeongbone-site .jb-article-list-grid.wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 24px !important;
  }
}

@media (max-width: 680px) {
  .jeongbone-site .jb-article-list-hero__inner {
    min-height: 300px;
  }

  .jeongbone-site .jb-article-list-hero__copy {
    max-width: 520px;
  }

  .jeongbone-site .jb-article-list-hero__mark {
    display: none;
  }

  .jeongbone-site .jb-article-list-wrap.jb-blog-wrap {
    width: calc(100vw - 40px) !important;
    padding: 56px 0 90px;
  }

  .jeongbone-site .jb-article-list-grid.wp-block-post-template {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .jeongbone-site .jb-article-list-card__body.wp-block-group {
    min-height: 284px;
    padding: 22px 21px 24px;
  }

  .jeongbone-site .jb-article-list-card__title.wp-block-post-title {
    font-size: 1.22rem;
  }
}

@media (max-width: 390px) {
  .jeongbone-site .jb-article-list-hero__inner {
    width: calc(100vw - 32px);
  }

  .jeongbone-site .jb-article-list-wrap.jb-blog-wrap {
    width: calc(100vw - 32px) !important;
  }

  .jeongbone-site .jb-article-list-pagination.wp-block-query-pagination,
  .jeongbone-site .jb-article-list-pagination .wp-block-query-pagination-numbers {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jeongbone-site .jb-article-list-grid > .wp-block-post,
  .jeongbone-site .jb-article-list-media img,
  .jeongbone-site .jb-article-list-card__more::after {
    transition: none;
  }

  .jeongbone-site .jb-article-list-grid > .wp-block-post:hover {
    transform: none;
  }
}
