/* PSTN column article detail, adapted from the PSTN1 editorial system. */
:root {
  --pstn-page-reading: 820px;
  --pstn-page-gutter: 48px;
  --pstn-page-border: #dce5f0;
  --pstn-page-soft: #f6f8fb;
  --pstn-page-blue-soft: #f1f6ff;
  --pstn-page-warm: #f6f3ed;
}

.pstn-editorial-main {
  min-height: 640px;
  padding-top: var(--pstn-chrome-height);
  background: #fff;
  color: #172232;
}

body.pstn-promotion-hidden .pstn-editorial-main { padding-top: var(--pstn-header-height); }
.pstn-editorial-main,
.pstn-editorial-main * { box-sizing: border-box; }
.pstn-editorial-main img { display: block; max-width: 100%; height: auto; }
.pstn-editorial-main a { color: inherit; text-decoration: none; }
.pstn-editorial-article { margin: 0; }
.pstn-page-container { width: min(calc(100% - var(--pstn-page-gutter)), 1320px); margin-right: auto; margin-left: auto; }
/* pstn-seo 플러그인은 Quick Answer와 참고 자료에 `pstn-page-container`를 함께 붙인다.
   그러면 이 테마의 1320px 규칙이 플러그인의 읽기 폭(820px) 규칙을 이겨서 본문보다
   400px 가까이 넓어진다. 본문(.pstn-editorial-content)과 같은 폭으로 되돌린다.
   클래스 2개 선택자라 로드 순서와 무관하게 우선한다. */
.pstn-seo-answer-wrap.pstn-page-container,
.pstn-seo-sources.pstn-page-container { width: min(calc(100% - var(--pstn-page-gutter)), var(--pstn-page-reading)); }
.pstn-editorial-hero { padding: clamp(78px,8vw,126px) 0 clamp(64px,7vw,102px); background: var(--pstn-page-warm); border-top: 1px solid rgba(220,229,240,.65); border-bottom: 1px solid var(--pstn-page-border); }
.pstn-editorial-hero .pstn-page-container { width: min(calc(100% - var(--pstn-page-gutter)), 980px); }
.pstn-editorial-kicker { display: flex; gap: 10px; align-items: center; margin: 0 0 22px; color: #0455cf; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.pstn-editorial-kicker::before { width: 28px; height: 2px; background: #0455cf; content: ""; }
.pstn-editorial-hero h1 { max-width: 920px; margin: 0 0 25px; color: #10233f; font-size: clamp(40px,5.4vw,70px); font-weight: 700; line-height: 1.2; letter-spacing: -.045em; }
.pstn-editorial-lead { max-width: 760px; margin: 0 0 26px; color: #647084; font-size: clamp(17px,1.7vw,21px); line-height: 1.8; }
.pstn-editorial-meta { display: flex; gap: 18px; margin-top: 30px; padding-top: 19px; border-top: 1px solid rgba(16,35,63,.14); color: #7d8795; font-size: 12px; }
.pstn-editorial-cover { width: min(calc(100% - var(--pstn-page-gutter)), var(--pstn-page-reading)); margin: clamp(44px,5vw,72px) auto 0; overflow: hidden; background: var(--pstn-page-soft); }
.pstn-editorial-cover img { width: 100%; max-height: 760px; object-fit: cover; }
.pstn-editorial-content { width: min(calc(100% - var(--pstn-page-gutter)), var(--pstn-page-reading)); margin: 0 auto; padding: clamp(58px,7vw,104px) 0; color: #29394e; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.pstn-editorial-content > p { margin: 0 0 1.65em; }
.pstn-editorial-content h2 { margin: 2.25em 0 .8em; color: #10233f; font-size: clamp(28px,3vw,39px); }
.pstn-editorial-content h3 { margin: 2em 0 .75em; color: #10233f; font-size: clamp(22px,2.4vw,29px); }
.pstn-editorial-content h2:first-child,
.pstn-editorial-content h3:first-child { margin-top: 0; }
.pstn-editorial-content ul,
.pstn-editorial-content ol { margin: 28px 0; padding-left: 1.4em; }
.pstn-editorial-content li + li { margin-top: 9px; }
.pstn-editorial-content blockquote { margin: 46px 0; padding: 27px 30px; background: var(--pstn-page-blue-soft); border: 0; border-left: 3px solid #0455cf; color: #10233f; font-size: 19px; font-style: normal; }
.pstn-editorial-content figure,
.pstn-editorial-content .wp-block-image { margin: 48px 0; }
.pstn-editorial-content figcaption { margin-top: 11px; color: #758093; font-size: 12px; text-align: center; }
.pstn-editorial-content a:not(.pstn-button):not(.button) { color: #0455cf; text-decoration: underline; text-underline-offset: 3px; }
.pstn-editorial-back { width: min(calc(100% - var(--pstn-page-gutter)), var(--pstn-page-reading)); margin: 0 auto; padding: 40px 0 100px; }
.pstn-editorial-back .pstn-button { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border: 1px solid #aab4c2; transition: .2s ease; }
.pstn-editorial-back .pstn-button:hover { border-color: #10233f; background: #10233f; color: #fff; }

@media (max-width: 1180px) {
}

@media (max-width: 767px) {
  :root { --pstn-page-gutter: 24px; }
  .pstn-editorial-hero { padding: 68px 0 58px; }
  .pstn-editorial-hero h1 { margin-bottom: 19px; font-size: clamp(35px,11vw,49px); }
  .pstn-editorial-lead { font-size: 16px; }
  .pstn-editorial-cover { margin-top: 30px; }
  .pstn-editorial-content { padding: 52px 0 68px; font-size: 16px; }
  .pstn-editorial-content blockquote { margin: 34px 0; padding: 22px; font-size: 17px; }
}

/* 관련 글·안내문 — 템플릿(single.php)이 그리는 본문 꼬리 블록 (2026-08-22). */
.pstn-editorial-content .pstn-insight-next { margin-top: 64px; padding-top: 36px; border-top: 1px solid #e3e9f1; }
.pstn-editorial-content .pstn-insight-next h2 { margin-top: 0; font-size: clamp(22px,2.4vw,29px); }
.pstn-editorial-content .pstn-insight-next ul { margin: 18px 0 22px; }
.pstn-editorial-content .pstn-insight-next p { margin: 0; font-size: 15px; color: #4b5a70; }
.pstn-editorial-content .pstn-insight-notice { margin: 48px 0 0; padding-top: 20px; border-top: 1px dashed #d6dfea; color: #758093; font-size: 14px; line-height: 1.75; }

/* Brand pharmacy invitation: a permanent article footer, before related posts. */
.pstn-editorial-pharmacy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 72px 0 0;
  border-radius: 16px;
  background: #ebf2fc;
  color: #10233f;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.pstn-editorial-pharmacy__copy {
  position: relative;
  z-index: 1;
  width: 69%;
  padding: 42px 36px;
}
.pstn-editorial-content .pstn-editorial-pharmacy :where(p, h2) { margin: 0; padding: 0; }
.pstn-editorial-pharmacy .pstn-editorial-pharmacy__eyebrow {
  margin-bottom: 16px;
  color: #1460ae;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .14em;
}
.pstn-editorial-pharmacy .pstn-editorial-pharmacy__title {
  color: #10233f;
  font-size: 27px;
  font-weight: 750;
  line-height: 1.42;
  letter-spacing: -.045em;
}
.pstn-editorial-pharmacy .pstn-editorial-pharmacy__lead {
  margin-top: 22px;
  color: #24374e;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: -.035em;
}
.pstn-editorial-pharmacy .pstn-editorial-pharmacy__body {
  max-width: 390px;
  margin-top: 24px;
  color: #56667a;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -.02em;
}
.pstn-editorial-pharmacy .pstn-editorial-pharmacy__emphasis {
  margin-top: 12px;
  color: #172b45;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: -.025em;
}
.pstn-editorial-content .pstn-editorial-pharmacy__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 100%;
  min-height: 50px;
  margin-top: 26px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #006acf;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s ease;
}
.pstn-editorial-pharmacy__cta span { font-size: 22px; line-height: 1; }
.pstn-editorial-content .pstn-editorial-pharmacy__cta:hover { background: #0058b0; color: #fff; }
.pstn-editorial-content .pstn-editorial-pharmacy__cta:focus-visible { outline: 3px solid #1460ae; outline-offset: 4px; }
.pstn-editorial-pharmacy__media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: 44%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 28%);
  mask-image: linear-gradient(to right, transparent, #000 28%);
}
.pstn-editorial-pharmacy__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% bottom;
}
.pstn-editorial-content .pstn-editorial-pharmacy + .pstn-insight-next {
  margin-top: 64px;
  padding-top: 32px;
}
@media (max-width: 600px) {
  .pstn-editorial-pharmacy { margin-top: 48px; border-radius: 12px; }
  .pstn-editorial-pharmacy__copy { width: 100%; padding: 30px 24px 16px; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__eyebrow { margin-bottom: 14px; font-size: 10px; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__title { font-size: clamp(21px, 5.7vw, 25px); line-height: 1.45; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__lead { margin-top: 18px; font-size: 17px; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__title br,
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__lead br { display: none; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__body { max-width: none; margin-top: 22px; font-size: 15px; line-height: 1.8; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__emphasis { margin-top: 12px; }
  .pstn-editorial-content .pstn-editorial-pharmacy__cta { min-height: 48px; margin-top: 22px; padding: 12px 22px; font-size: 13px; }
  .pstn-editorial-pharmacy__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 60vw, 300px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%);
    mask-image: linear-gradient(to bottom, transparent, #000 25%);
  }
  .pstn-editorial-pharmacy__media img { object-position: center 72%; }
  .pstn-editorial-content .pstn-editorial-pharmacy + .pstn-insight-next { margin-top: 48px; padding-top: 28px; }
}

/* Article-only desktop layout: readable type within the existing reading width. */
@media (min-width: 1000px) {
  .pstn-editorial-pharmacy {
    width: 100%;
    border-radius: 0;
  }
  .pstn-editorial-pharmacy__copy {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    min-height: 300px;
    padding: 32px;
  }
  .pstn-editorial-pharmacy__intro { display: flex; flex-direction: column; }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__title {
    font-size: 22px;
    color: #080b0e;
    line-height: 1.45;
  }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__lead {
    margin-top: auto;
    padding-top: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #111;
  }
  .pstn-editorial-pharmacy__answer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 0 0 24px;
    border-left: 1px solid #bfc8d2;
  }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__body {
    width: 100%;
    max-width: 270px;
    margin-top: 0;
    color: #56667a;
    font-size: 16px;
    line-height: 1.7;
  }
  .pstn-editorial-pharmacy .pstn-editorial-pharmacy__emphasis {
    max-width: 270px;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.7;
    color: #111;
  }
  .pstn-editorial-content .pstn-editorial-pharmacy__cta {
    gap: 12px;
    min-height: 44px;
    margin-top: 20px;
    padding: 10px 18px;
    font-size: 14px;
  }
  .pstn-editorial-pharmacy__cta span { font-size: 20px; }
  .pstn-editorial-pharmacy__media { width: 30%; overflow: hidden; }
  .pstn-editorial-pharmacy__media img { width: 140%; margin-left: -15%; object-position: center 80%; }
}
