/* ==========================================================================
   자주 묻는 질문 (FAQ) 전용 번들
   목록·주제는 critical-blog, 상세는 critical-single 위에 로드된다.
   목업에서 함께 사용한 검색창·필터·상세 본문·필진 카드·콜아웃 스타일을 먼저 두고,
   목업의 FAQ 전용 CSS와 유튜브 클릭 재생 스타일을 이어 붙인다.
   ========================================================================== */

/* 1. 검색창 (critical-glossary 공용 마크업) */
.glossary-search {
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  height: 48px;
  margin: 40px auto 0;
  padding: 0 4px 0 12px;
  background: var(--bg-cream);
  border-radius: 10px;
  box-shadow: 0 2px 10px #3827230f;
}
.glossary-search--icon {
  display: inline-flex;
  flex-shrink: 0;
  color: #98918e;
}
.glossary-search--input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--gray4);
  -webkit-appearance: none;
  appearance: none;
}
.glossary-search--input::placeholder {
  color: #948b8b;
}
.glossary-search--input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.glossary-search--clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--gray2);
}
.glossary-search--clear[hidden] {
  display: none;
}
@media (min-width: 640px) {
  .glossary-search {
    box-shadow: 0 2px 10px #3827230f;
  }
}
@media (min-width: 1024px) {
  .glossary-search {
    width: 348px;
    max-width: 100%;
    margin-top: 48px;
    margin-left: max(var(--gutter), calc((100% - var(--container-wide)) / 2));
    background: var(--white);
    box-shadow: 0 4px 16px #38272314;
  }
}

/* 2. 주제 필터 칩 (blog.min.css 공용 마크업) */
.post-filter--wrap {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  margin: 24px auto 32px;
}
.post-filter {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}
.post-filter::-webkit-scrollbar {
  display: none;
}
.post-filter--pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 40px;
  padding: 0 14px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  background-color: var(--white);
  color: var(--gray5);
  border: 1px solid var(--line-brown);
  transition: background-color 0.2s ease;
}
.post-filter--pill:hover:not(.is-active) {
  background-color: var(--bg-cream);
}
.post-filter--pill.is-active {
  background-color: var(--p-brand);
  color: var(--white);
  border-color: transparent;
}
@media (max-width: 639px) {
  .post-filter--wrap {
    width: 100%;
  }
  .post-filter {
    padding-inline: var(--gutter);
  }
}
@media (min-width: 1024px) {
  .post-filter--wrap {
    margin-top: 32px;
    margin-bottom: 40px;
  }
}

/* 3. 상세 본문과 필진 카드 (single.min.css 공용 마크업) */
.single-body--content {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray4);
}
.single-body--content h2 {
  scroll-margin-top: 72px;
  margin: 110px 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--p-600);
}
.single-body--content h3 {
  scroll-margin-top: 72px;
  margin: 32px 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--p-600);
}
.single-body--content h4 {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--p-600);
}
.single-body--content p {
  margin: 0 0 24px;
}
.single-body--content a {
  color: var(--p-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-body--content ul,
.single-body--content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.single-body--content ul {
  list-style: disc;
}
.single-body--content ol {
  list-style: decimal;
}
.single-body--content li {
  margin-bottom: 20px;
}
.single-body--content ul li::marker {
  color: var(--p-brand);
  font-size: 0.85em;
}
.single-body--content ol li::marker {
  color: var(--p-600);
  font-weight: 700;
}
.single-body--content blockquote {
  margin: 32px 0;
  padding: 24px;
  border: 0.5px solid var(--line-gray);
  border-radius: 8px;
  font-style: normal;
  color: var(--gray4);
}
.single-body--content blockquote p,
.single-body--content td p,
.single-body--content th p {
  margin-bottom: 0;
}
.single-body--content hr {
  border: none;
  border-top: 1px solid var(--line-gray);
  margin: 40px 0;
}
.single-body--content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 32px auto;
}
.single-body--content figure img {
  margin-top: 0;
  margin-bottom: 0;
}
.single-body--content figcaption {
  text-align: center;
  font-size: 15px;
  color: var(--gray2);
  margin-top: 8px;
  margin-bottom: 32px;
}
.single-body--content .wp-block-table,
.single-body--content .wp-block-table table {
  border: none;
  border-collapse: separate;
}
.single-body--content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 15px;
}
.single-body--content thead tr:first-child th:first-child,
.single-body--content tbody:first-child tr:first-child td:first-child {
  border-top-left-radius: 8px;
}
.single-body--content thead tr:first-child th:last-child,
.single-body--content tbody:first-child tr:first-child td:last-child {
  border-top-right-radius: 8px;
}
.single-body--content tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}
.single-body--content tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}
.single-body--content .wp-block-table th,
.single-body--content .wp-block-table td {
  padding: 16px 14px;
  color: var(--gray4);
  text-align: left;
  border-top: none;
  border-left: none;
  border-right: 1px solid var(--line-gray);
  border-bottom: 1px solid var(--line-gray);
  word-break: break-all;
}
.single-body--content .wp-block-table th:not(:first-child),
.single-body--content .wp-block-table td:not(:first-child) {
  padding-left: 20px;
  padding-right: 20px;
}
.single-body--content .wp-block-table th:last-child,
.single-body--content .wp-block-table td:last-child {
  border-right: none;
}
.single-body--content .wp-block-table tbody tr:last-child td {
  border-bottom: none;
}
.single-body--content .wp-block-table th {
  background: var(--p-point);
  font-weight: 700;
}
.single-body--content .wp-block-table td {
  background: var(--bg-cream);
  font-weight: 500;
}
.single-body--content .wp-block-table td:first-child {
  background: var(--p-point);
  font-weight: 700;
}
.single-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line-gray);
}
.single-author--avatar {
  width: 122px;
  height: 122px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  flex-shrink: 0;
  background: var(--bg-cream);
}
.single-author--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-author--name {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--gray5);
}
.single-author--bio {
  margin: 0 0 28px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: var(--gray4);
  max-width: 520px;
  word-break: auto-phrase;
}
.single-author--more {
  display: inline-block;
  padding: 12px 24px;
  background: var(--p-point);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--p-600);
  text-decoration: none;
  transition: background 0.15s;
}
.single-author--more:hover {
  background: var(--bg-cream2);
}
@media (min-width: 768px) {
  .single-body--content {
    font-size: 18px;
  }
  .single-body--content h2 {
    margin: 110px 0 20px;
    font-size: 32px;
  }
  .single-body--content h3 {
    font-size: 24px;
  }
  .single-body--content h4 {
    font-size: 20px;
  }
  .single-body--content table {
    font-size: 17px;
  }
  .single-body--content .wp-block-table th,
  .single-body--content .wp-block-table td {
    padding: 20px 14px;
  }
  .single-body--content .wp-block-table th:not(:first-child),
  .single-body--content .wp-block-table td:not(:first-child) {
    padding-left: 20px;
    padding-right: 20px;
  }
  .single-author--name {
    font-size: 22px;
  }
  .single-author--bio {
    font-size: 18px;
  }
}

/* 4. 관련 칼럼 콜아웃 (block-callout.min.css 공용 마크업) */
.block-callout {
  background: var(--p-point);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.block-callout .block-callout--header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--p-600);
}
.block-callout--emoji {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
}
.block-callout .block-callout--content {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.02em;
  color: var(--gray4);
}
@media (min-width: 768px) {
  .block-callout .block-callout--header,
  .block-callout .block-callout--content {
    font-size: 18px;
  }
}

/* 5. FAQ 전용 스타일 (목업 그대로) */
:root {
  --faq-accent: #6b5a50;
  --faq-accent-hover: #584940;
  --faq-text: #333333;
  --faq-muted: #6e655f;
  --faq-beige: #f4eee7;
  --faq-line: #e5ded6;
}
.faq-kicker {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--faq-accent);
  font-family: inherit;
}
.faq-search-wrap {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto 24px;
  padding: 0;
}
.faq-search-wrap .glossary-search {
  margin-left: 0;
  margin-right: auto;
}
.glossary-search--clear {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.glossary-search--clear[hidden] {
  display: none !important;
}
.faq-wrap {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 0 96px;
}
.faq-count {
  margin: 28px 0 0;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--faq-muted);
}
.faq-group {
  margin-top: 44px;
}
.faq-group:first-of-type {
  margin-top: 20px;
}
.faq-group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
}
.faq-group-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--faq-text);
}
.faq-group-head > span {
  font-size: 14px;
  color: var(--faq-muted);
}
.faq-group-head a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--faq-accent);
  text-decoration: none;
}
.faq-group-head a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--faq-line);
}
.faq-list.faq-flat {
  margin-top: 16px;
}
.faq-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--faq-line);
  color: var(--faq-text);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.faq-row:hover {
  background-color: var(--faq-beige);
}
.faq-row:hover .faq-t {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-q {
  flex: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--faq-accent);
}
.faq-t {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-break: keep-all;
  color: var(--faq-text);
}
.faq-t small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--faq-muted);
}
.faq-arrow {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  color: #9c928a;
}
.faq-chevron-sm {
  flex: none;
  width: 15px;
  height: 15px;
}
.faq-chevron-xs {
  flex: none;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  opacity: 0.75;
}
.faq-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 16px;
  color: var(--faq-muted);
}
.single-hero--cat.faq-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.faq-single-body {
  display: block;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}
.faq-single-body .single-body--content {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
}
.faq-videos {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}
.faq-video {
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}
.faq-video--frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--faq-beige);
}
.faq-video--frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.faq-video--caption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--faq-muted);
  text-align: center;
  word-break: keep-all;
}
.faq-cta {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}
.faq-cta--btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 15px 32px;
  border-radius: 999px;
  background-color: var(--faq-accent);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.faq-cta--btn:hover {
  background-color: var(--faq-accent-hover);
  color: #ffffff;
}
.faq-author-wrap {
  max-width: 780px;
  margin: 48px auto 0;
  padding: 0 20px;
}
.faq-related {
  max-width: 780px;
  margin: 56px auto 0;
  padding: 0 20px 80px;
}
.faq-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--faq-line);
}
.faq-related-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--faq-text);
}
.faq-all-wrap {
  margin-top: 28px;
  text-align: center;
}
.faq-all-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 22px;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  background-color: #ffffff;
  color: var(--faq-accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.faq-all-link:hover {
  background-color: var(--faq-beige);
  border-color: var(--faq-accent);
}
@media (max-width: 767px) {
  .faq-wrap {
    padding: 0 16px 72px;
  }
  .faq-row {
    padding: 16px 4px;
    gap: 10px;
  }
  .faq-q,
  .faq-t {
    font-size: 16px;
  }
  .faq-arrow {
    margin-top: 2px;
  }
  .faq-group-head h2,
  .faq-related-head h2 {
    font-size: 18px;
  }
  .faq-single-body,
  .faq-cta,
  .faq-author-wrap,
  .faq-related {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.faq-tabs {
  width: min(var(--container-wide), calc(100% - var(--gutter) * 2));
  margin: 8px auto 0;
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e5e0db;
}
.faq-tabs a {
  position: relative;
  padding: 12px 0 13px;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: #8c8580;
  text-decoration: none;
}
.faq-tabs a:hover {
  color: #333;
}
.faq-tabs a[aria-current="page"] {
  color: #333;
  font-weight: 700;
}
.faq-tabs a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--p-brand, #8a7363);
}
@media (max-width: 640px) {
  .faq-tabs {
    gap: 20px;
  }
  .faq-tabs a {
    font-size: 15px;
  }
}

/* 6. 유튜브 쇼츠 썸네일 클릭 재생 (가벼운 임베드) */
.faq-video--trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background-color: #1a1715;
  cursor: pointer;
  display: block;
}
.faq-video--trigger:focus-visible {
  outline: 3px solid var(--faq-accent);
  outline-offset: -3px;
}
.faq-video--thumb {
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  display: block;
}
.faq-video--play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-video--play-bg {
  fill: #212121;
  fill-opacity: 0.82;
  transition: fill 0.2s ease, fill-opacity 0.2s ease;
}
.faq-video--trigger:hover .faq-video--play,
.faq-video--trigger:focus-visible .faq-video--play {
  transform: translate(-50%, -50%) scale(1.06);
}
.faq-video--trigger:hover .faq-video--play-bg,
.faq-video--trigger:focus-visible .faq-video--play-bg {
  fill: #ff0000;
  fill-opacity: 1;
}

/* 7. 상세 화면 관련 콘텐츠 섹션과 기존 카드 부품 스타일 */
.faq-section {
  width: 100%;
  max-width: 740px;
  margin: 56px auto 0;
}
.faq-section--title {
  scroll-margin-top: 72px;
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--p-600);
}
@media (min-width: 768px) {
  .faq-section {
    margin-top: 72px;
  }
  .faq-section--title {
    margin: 0 0 24px;
    font-size: 32px;
  }
}

/* 7-1. 관련 진료 (php-parts/sub-navcard.php, tmj.min.css 카드 스타일) */
.faq-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
.faq-service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.faq-service-group {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--p-600);
  text-align: center;
}
.sub-navcard--media {
  width: 100%;
  aspect-ratio: 1;
  max-height: 360px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-cream);
}
.sub-navcard--thumb {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
  display: block;
}
.sub-navcard--title {
  margin: 20px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--gray5);
  text-align: center;
}
.sub-navcard--desc {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--gray4);
  text-align: center;
  word-break: keep-all;
}
.sub-navcard--descline {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sub-navcard--links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.sub-navcard--link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--p-brand);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--p-brand);
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.sub-navcard--link:hover {
  background: var(--p-brand);
  color: #ffffff;
}
@media (min-width: 640px) {
  .faq-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 44px;
  }
}
@media (min-width: 768px) {
  .sub-navcard--title {
    margin-top: 24px;
    font-size: 22px;
  }
  .sub-navcard--desc {
    font-size: 16px;
  }
  .sub-navcard--link {
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* 7-2. 관련 칼럼 (php-parts/blog-card.php, blog.min.css 카드 스타일) */
.faq-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card--link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-card--thumb {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 350 / 197;
}
.blog-card--thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card--thumb-img {
  transform: scale(1.1);
}
@media (hover: none) {
  .blog-card:active .blog-card--thumb-img {
    transform: scale(1.1);
  }
}
.blog-card--body {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card--title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: var(--gray5);
}
.blog-card--excerpt {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: var(--gray4);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card--meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.blog-card--meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: var(--gray2);
}
.blog-card--dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background-color: var(--gray2);
  flex-shrink: 0;
}
.blog-card--author,
.blog-card--tag {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: inherit;
}
.blog-card--author:hover {
  text-decoration: underline;
}
.blog-card--tag {
  padding: 2px 10px;
  border-radius: 6px;
  background-color: var(--p-point);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--gray4);
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.blog-card--tag:hover {
  background-color: var(--bg-cream2);
}
@media (min-width: 640px) {
  .faq-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 40px;
  }
  .blog-card--title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* 7-3. 관련 용어 (php-parts/glossary-cards.php, glossary.min.css 카드 스타일) */
.faq-glossary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.glossary-card {
  position: relative;
  display: flex;
  min-width: 0;
  gap: 20px;
  padding: 16px 20px 20px;
  background: var(--bg-cream2);
  border-radius: 30px;
  box-shadow: 0 4px 12px #998e7c1a, 0 4px 12px -2px #998e7c0f;
  transition: box-shadow 0.25s ease;
}
.glossary-card--link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.glossary-card:hover {
  box-shadow: 8px 12px 16px #998e7c24, 8px 12px 16px -2px #998e7c14;
}
@media (hover: none) {
  .glossary-card:active {
    box-shadow: 8px 12px 16px #998e7c24, 8px 12px 16px -2px #998e7c14;
  }
}
.glossary-card--side {
  min-width: 0;
  max-width: 46%;
}
.glossary-card--tag {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--p-600);
  white-space: nowrap;
}
.glossary-card--cat {
  font-weight: 500;
}
.glossary-card--main {
  flex: 1;
  min-width: 0;
}
.glossary-card--title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.04em;
  color: var(--gray5);
}
.glossary-card--desc {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.04em;
  word-break: keep-all;
  color: var(--gray4);
}
@media (min-width: 640px) {
  .faq-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .glossary-card {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    min-height: 200px;
    padding: 24px 20px;
  }
  .glossary-card--side {
    max-width: 100%;
  }
  .glossary-card--tag {
    margin-top: 0;
  }
  .glossary-card--main {
    flex: 0 0 auto;
  }
}

/* FAQ 상세의 관련 진료 카드: 본문 폭이 좁아 정사각형 사진이 화면을 덮으므로 가로형으로 줄인다 */
.faq-service-card .sub-navcard--media {
  aspect-ratio: 4 / 3;
  max-height: none;
}
.faq-service-card .sub-navcard--thumb {
  object-fit: cover;
}

/* 관련 진료, 관련 칼럼: 테두리 없는 베이지 바탕 가로형 박스, 왼쪽 썸네일과 오른쪽 글(혜진님 11-25 A안 확정) */
.faq-rel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.faq-rel-card {
  position: relative;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px 60px 16px 16px;
  border-radius: 12px;
  background: var(--bg-cream);
  transition: background-color 0.2s ease;
}
.faq-rel-card:hover {
  background: #f4eee7;
}
.faq-rel-card::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--p-brand);
  border-right: 1.5px solid var(--p-brand);
  transform: translateY(-50%) rotate(45deg);
}
.faq-rel-card--link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.faq-rel-card--thumb {
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.faq-rel-card--img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faq-rel-card--body {
  min-width: 0;
}
.faq-rel-card--label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--p-brand);
}
.faq-rel-card--title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gray5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.faq-rel-card--desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 767px) {
  .faq-rel-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 36px 12px 12px;
    border-radius: 10px;
  }
  .faq-rel-card::after {
    right: 14px;
    width: 7px;
    height: 7px;
  }
  .faq-rel-card--thumb {
    border-radius: 6px;
  }
  .faq-rel-card--title {
    font-size: 15px;
  }
  .faq-rel-card--desc {
    font-size: 13px;
  }
}
