/* 공개 화면. 디자인은 Babo/casino-travel-guide(globals.css + theme.css + site-pages.css)를 한 파일로 합친 것 (Tailwind 없이),
   배너 목록(.banner-*)은 3단 카드: 왼쪽 배너 이미지 · 가운데 제목과 설명 · 오른쪽 버튼.
   기준(../사이트-공통-기본기.txt): 375px 가로 넘침 없음, 한글 keep-all, 누르는 곳 40px 안팎, 작은 글자도 대비 4.5:1 이상.
   색을 바꿀 때는 아래 :root 의 값만 바꿉니다 (예: 예전 버건디·베이지 판은 --wine:#642c3c, --ivory·--paper:#f5efe6). */
:root {
  /* 파스텔 무광 (사용자 선택 2026-11-10). 색상 값은 여기에서만 관리합니다. */
  --sage: #709d98;
  --rose: #c88d88;
  --lavender: #9e91bd;
  --sage-soft: #f1f5f5;
  --sage-card: #ecf2f2;
  --sage-line: #dbe7e5;
  --sage-ink: #4a6367;
  --rose-soft: #f8f0f0;
  --rose-line: #ecdcd9;
  --rose-ink: #765b5c;
  --lavender-soft: #f2f0f6;
  --lavender-line: #e4dfed;
  --lavender-ink: #605870;
  --butter-soft: #f8f5ec;
  --butter-line: #e9e1ce;
  --butter-ink: #6d6147;
  --sky-soft: #eff4f8;
  --sky-line: #d9e5ed;
  --sky-ink: #4e6577;
  --wine: var(--sage-ink); /* 기존 제목·링크 토큰과 호환 */
  --dark-wine: #354c50;
  --ivory: #ffffff;
  --paper: #ffffff;
  --ink: #242936;
  --muted: #596171;
  --line: #dfe6e5;
  --border-strong: #b7cac7;
  --selection: #dce9e7;
  --shadow: #e4eceb;
  --shadow-soft: #354c500c;
  --surface-shadow: 0 4px 0 var(--shadow);
  --title-shadow: none;
  --cta: var(--sage-ink);
  --cta-glow: var(--sage-ink);
  --cta-ring: var(--sage-line);
  --heading: "Noto Sans KR", sans-serif;
  --sans: "DM Sans", "Noto Sans KR", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 19px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
::selection { background: var(--selection); color: var(--dark-wine); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { word-break: keep-all; color: var(--wine); }
svg { flex-shrink: 0; vertical-align: middle; }
img { max-width: 100%; }
a, button { touch-action: manipulation; }
[hidden] { display: none !important; }
.wrap { width: calc(100% - 112px); max-width: 1264px; margin-inline: auto; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2px; line-height: 1.6; color: var(--wine); }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 100; padding: 16px; background: var(--wine); color: var(--paper); }
.skip-link:focus { top: 8px; }

/* ---------- 머리말 ---------- */
.site-header { position: relative; height: 94px; background: var(--sage-soft); border-bottom: 1px solid var(--sage-line); box-shadow: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 15px; color: var(--sage-ink); }
.brand-symbol { display: block; flex-shrink: 0; width: 49px; height: 49px; border-radius: 10px; background: var(--paper); object-fit: contain; }
.brand-words { font-size: 18px; font-weight: 800; letter-spacing: 1px; line-height: 1.3; }
.brand-words small { display: block; margin-top: 6px; font-size: 11px; font-weight: 400; letter-spacing: .8px; color: var(--muted); }
.desktop-nav { display: flex; flex-wrap: wrap; gap: 9px; font-size: 17px; font-weight: 600; }
.desktop-nav a { padding: 12px 18px; border-radius: 8px; color: var(--sage-ink); line-height: 1.6; white-space: nowrap; transition: background .2s; }
.desktop-nav a:hover { background: var(--sage-line); color: var(--dark-wine); }
.desktop-nav a[aria-current="page"] { background: var(--paper); color: var(--sage-ink); box-shadow: 0 2px 0 var(--sage-line); font-weight: 800; }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--sage-ink); }
.menu-toggle { display: none; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--sage-ink); }
.mobile-nav { display: none; }

/* ---------- 소개 ---------- */
.intro-lead { margin-top: 25px; margin-bottom: 28px; padding: 25px 28px 27px; background: var(--paper); border: 1px solid var(--sage-line); border-top: 5px solid var(--sage); border-radius: 15px; box-shadow: var(--surface-shadow); }
.intro-lead > .eyebrow { display: inline-block; padding: 5px 10px; background: var(--sage-card); border: 1px solid var(--sage-line); border-radius: 5px; font-size: 12px; font-weight: 700; letter-spacing: .4px; }
.intro-lead h1, .page-intro h1 { font-family: var(--heading); font-weight: 900; letter-spacing: -1.8px; color: var(--sage-ink); text-shadow: var(--title-shadow); }
.intro-lead h1 { margin: 12px 0 11px; font-size: 45px; line-height: 1.4; }
.intro-deck { margin-bottom: 20px; font-family: var(--sans); font-size: 21px; font-weight: 700; line-height: 1.6; letter-spacing: -.5px; color: var(--ink); word-break: keep-all; }
.intro-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; align-items: start; }
.intro-copy p { font-size: 18px; line-height: 1.9; color: var(--muted); word-break: keep-all; overflow-wrap: break-word; }
.intro-copy p + p { margin-top: 15px; }
.official-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 620px; margin-bottom: 28px; }
.official-actions a { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 14px 20px; border: 1px solid var(--sage-line); border-radius: 10px; background: var(--sage-card); color: var(--sage-ink); font-size: 18px; font-weight: 700; line-height: 1.5; transition: background .2s; }
.official-actions a:hover { background: var(--sage-line); }
.official-actions a:nth-child(2) { background: var(--lavender-soft); border-color: var(--lavender-line); color: var(--lavender-ink); }
.official-actions a:nth-child(2):hover { background: var(--lavender-line); }
@media (max-width: 580px) {
  .has-official-actions { padding-bottom: calc(77px + env(safe-area-inset-bottom, 0px)); }
  .has-official-actions .official-actions { position: fixed; inset: auto 0 0; z-index: 40; width: 100%; max-width: none; margin: 0; gap: 10px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--sage-line); background: var(--paper); }
  .official-actions a { min-height: 52px; padding: 10px 8px; font-size: 16px; }
  .official-actions svg { display: none; }
  .has-official-actions :focus-visible { scroll-margin-bottom: calc(89px + env(safe-area-inset-bottom, 0px)); }
}
.intro-copy a { color: var(--wine); font-weight: 600; text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; }
.hero-image { position: relative; overflow: hidden; background: #c7c7c7; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: saturate(.65); }
.intro-media .hero-image { height: 190px; border: 1px solid #b7b7b7; border-radius: 10px; box-shadow: 0 4px 0 #c7c7c7; }
.intro-shortcuts { display: flex; flex-direction: column; gap: 12px; margin-top: 17px; padding: 17px 18px; background: #eaeaea; border: 1px solid #cccccc; border-radius: 9px; box-shadow: 0 3px 0 #d2d2d2; }
.intro-shortcuts > span { margin-bottom: 2px; font-size: 13px; font-weight: 800; color: var(--wine); }
.intro-shortcuts a { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 500; }
.intro-shortcuts a:hover { color: var(--wine); }

/* ---------- 섹션 제목 ---------- */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2, .journal-heading h2, .chapter > h2, .faq-heading h2, .closing > p:nth-child(2) { font-family: var(--heading); font-weight: 800; letter-spacing: -1px; text-shadow: var(--title-shadow); }
.section-heading h2 { margin-top: 12px; font-size: 32px; }
.section-heading > p { font-size: 16px; line-height: 1.9; color: var(--muted); }

/* ---------- 해외 카지노 사이트 목록: 3단 배너 카드 ---------- */
.directory-section { padding-top: 10px; padding-bottom: 35px; }
.directory-section .section-heading { margin-bottom: 20px; }
.banner-list { display: flex; flex-direction: column; gap: 22px; }
.banner-row {
  display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; align-items: center; gap: 32px;
  min-height: 190px; padding: 30px 36px; background: var(--paper);
  border: 1px solid #c7c7c7; border-bottom: 36px solid var(--wine); border-radius: 18px;
  box-shadow: 0 5px 0 #d2d2d2, 0 7px 16px #2b2b2b09;
}
/* 배너 이미지 칸: 1200×900 (4:3) 비율. 1200×900 이미지가 꽉 차고, 다른 비율은 잘리지 않게 안에 맞춰요(contain). */
.banner-image { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1200 / 900; border-radius: 10px; overflow: hidden; }
.banner-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.banner-copy { min-width: 0; }
.banner-copy h3 { margin: 0 0 12px; font-family: var(--heading); font-size: 19px; font-weight: 800; line-height: 1.5; letter-spacing: -.3px; }
.banner-title { color: var(--wine); overflow-wrap: anywhere; }
.banner-copy p { font-size: 17px; font-weight: 700; line-height: 1.75; color: #232323; word-break: keep-all; overflow-wrap: anywhere; }
/* 확인 정보 (라이선스 · 조건 · 확인 날짜) */
.banner-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.banner-facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border: 1px solid #cfcfcf; border-radius: 6px; background: #f3f3f3; font-size: 13px; font-weight: 600; line-height: 1.5; color: #333333; word-break: keep-all; overflow-wrap: anywhere; }
.banner-facts li > span { flex: none; font-weight: 700; color: #5c5c5c; white-space: nowrap; }

/* ---------- 제휴 사이트 소개 (src/content/reviews.js): 번호 제목 → 화면 그림 → 소개 → 포인트 목록. 링크 없음 ---------- */
.review-section { padding-top: 10px; padding-bottom: 45px; }
.review-list { display: flex; flex-direction: column; gap: 26px; }
.review-card { padding: 32px 36px; background: var(--paper); border: 1px solid #cccccc; border-radius: 16px; box-shadow: 0 5px 0 #d2d2d2, 0 8px 20px #29292908; }
.review-card > h3 { margin-bottom: 20px; font-family: var(--heading); font-size: 23px; font-weight: 800; line-height: 1.5; letter-spacing: -.6px; color: #2c2c2c; word-break: keep-all; }
.review-card > h4 { margin: 26px 0 12px; font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: -.3px; color: #1f1f1f; }
.review-summary { font-size: 17px; line-height: 1.9; color: #4a4a4a; word-break: keep-all; }
/* 화면 그림: 어두운 사이트 화면처럼 그린 장식 (이미지 파일 아님) */
.review-visual { display: flex; flex-direction: column; overflow: hidden; margin-bottom: 22px; border-radius: 10px; background: radial-gradient(120% 90% at 85% 40%, #4d4d4d 0%, #262626 45%, #121212 100%); color: #ffffff; aspect-ratio: 16 / 7; min-height: 210px; }
/* 관리자가 이미지를 올린 경우: 올린 비율 그대로 칸을 꽉 채워요 */
.review-visual.is-image { display: block; margin: 0 0 22px; min-height: 0; aspect-ratio: auto; background: #121212; }
.review-visual.is-image img { display: block; width: 100%; height: auto; }
.review-visual-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #0e0e0e; border-bottom: 1px solid #2f2f2f; }
.review-visual-logo { font-family: var(--heading); font-size: 16px; font-weight: 900; letter-spacing: .5px; color: #f0f0f0; }
.review-visual-pills { display: flex; gap: 6px; }
.review-visual-pills span { padding: 2px 8px; border: 1px solid #6a6a6a; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #dcdcdc; }
.review-visual-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 8%; }
.review-visual-kicker { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: #bdbdbd; }
.review-visual-body strong { display: flex; flex-direction: column; font-family: var(--heading); font-size: clamp(22px, 3.4vw, 38px); font-weight: 900; line-height: 1.3; letter-spacing: -1px; text-shadow: 0 3px 0 #000000; word-break: keep-all; }
.review-visual-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0 16px 14px; }
/* 아래 칸 수(관리자에서 0~5칸)만큼 나눠요 */
.review-visual-tiles[data-tiles="1"] { grid-template-columns: minmax(0, 1fr); }
.review-visual-tiles[data-tiles="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-visual-tiles[data-tiles="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-visual-tiles[data-tiles="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.review-visual-tiles span { padding: 9px 6px; border: 1px solid #8c8c8c; border-radius: 6px; background: linear-gradient(#3a3a3a, #1d1d1d); font-size: 13px; font-weight: 700; text-align: center; color: #f2f2f2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 포인트 목록 (사이트 소개 · 회사소개 공용): 왼쪽 띠가 있는 회색 줄 */
.point-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.point-list li { position: relative; padding: 11px 16px 11px 34px; border-left: 4px solid var(--sage); border-radius: 0 7px 7px 0; background: var(--sage-soft); font-size: 16px; line-height: 1.7; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.point-list li::before { content: ""; position: absolute; left: 15px; top: 1.35em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-ink); }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 22px; font-size: 14px; line-height: 1.7; color: #5a5a5a; word-break: keep-all; }

/* 메인 소개 아래 운영·정리일 표기 */
.intro-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -6px 0 22px; font-size: 15px; font-weight: 600; color: var(--muted); }
.intro-byline a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 회사소개 ---------- */
.about-page .about-section + .about-section { margin-top: 24px; }
.about-section h2 { margin-bottom: 16px; }
.about-facts { margin: 0; }
.about-facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts > div:last-child { border: 0; }
.about-facts dt { font-size: 16px; font-weight: 800; color: var(--wine); }
.about-facts dd { margin: 0; font-size: 16px; line-height: 1.8; color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.about-facts dd a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .review-card { padding: 24px 20px; border-radius: 13px; }
  .review-card > h3 { font-size: 20px; }
  .review-visual { aspect-ratio: auto; }
  .review-visual-tiles:not([data-tiles="1"], [data-tiles="2"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-visual-tiles span:nth-child(n+4) { display: none; }
  .about-facts > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) {
  .review-card { padding: 22px 16px; }
  .review-summary, .point-list li { font-size: 15px; }
  .review-visual-pills { display: none; }
  .review-visual-tiles { gap: 6px; padding: 0 12px 12px; }
  .review-visual-tiles span { padding: 8px 2px; font-size: 12px; letter-spacing: -.4px; }
}
.banner-cta {
  display: flex; align-items: center; justify-content: center; min-height: 68px; padding: 12px 26px;
  border: 3px solid var(--cta-ring); border-radius: 999px; background: radial-gradient(circle at 50% 50%, var(--cta-glow), var(--cta) 72%);
  color: #ffffff; font-size: 19px; font-weight: 700; line-height: 1.4; text-align: center; word-break: keep-all;
  box-shadow: 0 4px 0 #1f1f1f, inset 0 1px 0 #ffffff24; transition: transform .15s, filter .15s;
}
.banner-cta:hover { transform: translateY(-2px); filter: brightness(1.15); }
.banner-cta:focus-visible { outline-offset: 4px; }

/* ---------- 범위 띠 · 세 가지 시선 ---------- */
.scope-strip { border-block: 1px solid var(--rose-line); background: var(--rose-soft); }
.scope-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding: 21px 0; }
.scope-inner > span { display: flex; align-items: center; justify-content: center; gap: 11px; border-right: 1px solid var(--rose-line); color: var(--rose-ink); font-size: 15px; font-weight: 500; }
.scope-inner > span:last-child { border: 0; }
.scope-inner svg { width: 16px; height: 16px; stroke-width: 1.3; }
.intro-section { padding-top: 38px; padding-bottom: 38px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { display: block; padding: 26px; background: var(--feature-fill); border: 1px solid var(--feature-line); border-radius: 12px; box-shadow: none; transition: none; --feature-accent: var(--sage); --feature-fill: var(--sage-card); --feature-line: var(--sage-line); --feature-ink: var(--sage-ink); border-bottom: 5px solid var(--feature-accent); }
.feature-card:nth-child(2) { --feature-accent: var(--rose); --feature-fill: var(--rose-soft); --feature-line: var(--rose-line); --feature-ink: var(--rose-ink); }
.feature-card:nth-child(3) { --feature-accent: var(--lavender); --feature-fill: var(--lavender-soft); --feature-line: var(--lavender-line); --feature-ink: var(--lavender-ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: var(--feature-ink); }
.card-top svg { width: 29px; height: 29px; }
.card-top > span { font-family: var(--sans); font-size: 29px; font-weight: 800; color: var(--feature-ink); }
.feature-card h3 { margin-bottom: 13px; font-family: var(--heading); font-size: 23px; font-weight: 800; letter-spacing: -.7px; color: var(--feature-ink); }
.feature-card p { font-size: 16px; line-height: 1.9; color: var(--muted); word-break: keep-all; }
.text-link { display: inline-flex; align-items: center; gap: 24px; color: var(--wine); font-size: 15px; font-weight: 700; }
.feature-card .text-link { margin-top: 25px; }
.feature-card .text-link svg { transition: transform .2s; }
.feature-card:hover .text-link svg { transform: translateX(4px); }

/* ---------- 가이드 본문 ---------- */
.journal-heading { padding: 40px 0 44px; background: var(--lavender-soft); border-top: 1px solid var(--lavender-line); border-bottom: 5px solid var(--lavender); color: var(--lavender-ink); }
.journal-heading .eyebrow { color: var(--lavender-ink); font-size: 13px; font-weight: 700; letter-spacing: 2px; }
.journal-heading-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 15px; }
.journal-heading h2 { font-size: 35px; letter-spacing: -1.5px; color: var(--lavender-ink); text-shadow: var(--title-shadow); }
.journal-heading-bottom > p { position: relative; padding-right: 42px; font-size: 15px; line-height: 1.8; color: var(--lavender-ink); }
.journal-heading-bottom svg { position: absolute; right: 0; top: 9px; }
.longread { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 42px; padding-top: 65px; padding-bottom: 70px; }
.sidebar-sticky { position: sticky; top: 25px; padding: 20px 14px; background: #e4e4e4; border: 1px solid #cccccc; border-radius: 10px; }
.reading-sidebar .eyebrow { font-size: 12px; letter-spacing: 1.8px; color: #555555; }
.reading-sidebar h3 { margin: 10px 0 23px; font-family: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.reading-sidebar nav { display: flex; flex-direction: column; gap: 3px; padding-top: 15px; border-top: 1px solid #c9c9c9; }
.reading-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.6; color: #555555; transition: color .2s, background .2s; }
.reading-sidebar nav a span { font-size: 13px; color: #666666; }
.reading-sidebar nav a.active { border-color: var(--wine); border-radius: 4px; background: #d2d2d2; color: var(--wine); font-weight: 700; }
.reading-sidebar nav a:hover { background: #dadada; color: var(--wine); }
.sidebar-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 19px 10px; border-top: 1px solid #c9c9c9; font-size: 14px; color: #555555; }
.chapters { min-width: 0; padding: 29px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--surface-shadow); }
.chapter { padding-bottom: 58px; margin-bottom: 54px; border-bottom: 1px solid var(--line); }
.chapter:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.chapter-kicker { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.chapter-kicker span:first-child { color: var(--wine); }
.chapter-kicker span:last-child { padding-left: 18px; border-left: 1px solid var(--sage-line); letter-spacing: .3px; }
.chapter > h2 { margin: 18px 0 17px; font-size: 31px; line-height: 1.55; }
.fiction-notice { margin: 20px 0 24px; padding: 16px 18px; border: 1px solid #bebebe; border-left: 4px solid var(--wine); border-radius: 6px; background: #e5e5e5; color: #3a3a3a; font-size: 16px; line-height: 1.85; word-break: keep-all; }
.chapter-intro { margin-bottom: 33px; padding-left: 20px; border-left: 4px solid var(--sage); font-size: 19px; line-height: 1.95; color: var(--muted); word-break: keep-all; }
.chapter-media { margin: 0 0 32px; }
.chapter-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #ececec; }
.chapter-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px; padding-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
.chapter-media-credit { flex-shrink: 0; font-size: 12px; }
.article-part { margin-top: 29px; }
.article-part h3 { margin-bottom: 15px; font-family: var(--heading); font-size: 20px; font-weight: 800; letter-spacing: -.25px; color: var(--sage-ink); text-shadow: var(--title-shadow); }
.article-part p { margin-top: 15px; font-size: 18px; line-height: 2.1; color: var(--muted); word-break: keep-all; overflow-wrap: break-word; }
.editorial-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 27px; padding: 21px 23px; background: var(--rose-soft); font-size: 15px; line-height: 1.9; color: var(--rose-ink); }
.editorial-note svg { margin-top: 3px; }
.source-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line); }
.source-links > span { width: 100%; font-size: 13px; letter-spacing: .5px; color: #666666; }
.source-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; line-height: 2; color: var(--wine); text-decoration: underline; text-decoration-color: #adadad; text-underline-offset: 4px; }
.source-links a:hover { text-decoration-color: var(--wine); }
.inline-reference { color: var(--wine); text-decoration: underline; text-decoration-color: #9a9a9a; text-underline-offset: 4px; }
.inline-reference:hover { text-decoration-color: var(--wine); }

/* ---------- 자주 묻는 질문 · 맺음 ---------- */
.faq-section { padding: 65px 0; background: var(--lavender-soft); border-block: 1px solid var(--lavender-line); }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; }
.faq-heading h2 { margin-top: 14px; font-size: 31px; color: var(--lavender-ink); }
.faq-heading > p:not(.eyebrow) { margin-top: 19px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.faq-deco { display: block; margin-top: 38px; font: italic 62px Georgia, serif; color: var(--lavender-ink); }
.faq-deco span { padding: 0 4px; font-size: 35px; vertical-align: middle; color: var(--lavender-ink); }
.faq-list { border-top: 1px solid var(--lavender-line); }
.faq-list details { border-bottom: 1px solid var(--lavender-line); }
.faq-list summary { display: flex; align-items: center; gap: 18px; padding: 22px 0; font-size: 17px; line-height: 1.8; list-style: none; cursor: pointer; user-select: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-number { font-size: 13px; color: var(--lavender-ink); }
.faq-list summary h3 { flex: 1; font: inherit; font-weight: 700; color: var(--lavender-ink); letter-spacing: -.3px; word-break: keep-all; }
.faq-list summary > svg { color: var(--lavender-ink); transition: transform .2s; }
.faq-list details[open] summary > svg { transform: rotate(45deg); }
.faq-list details > p { padding: 0 30px 23px; font-size: 16px; line-height: 2.05; color: var(--muted); word-break: keep-all; }
.closing { padding-top: 70px; padding-bottom: 70px; text-align: center; }
.closing .eyebrow { font-size: 12px; letter-spacing: 2px; color: #666666; }
.closing > p:nth-child(2) { margin: 18px 0 23px; font-size: 27px; word-break: keep-all; color: var(--wine); }
.closing .text-link { gap: 17px; font-size: 14px; }

/* ---------- 꼬리말 ---------- */
/* 꼬리말: '해외 카지노 사이트' 한 줄 (메인으로 가는 키워드 링크) */
.site-footer { padding: 30px 0; background: var(--sage-soft); border-top: 5px solid var(--sage); color: var(--sage-ink); }
.footer-keyword { display: inline-flex; align-items: center; min-height: 40px; font-size: 18px; font-weight: 800; letter-spacing: -.2px; color: var(--sage-ink); }
.footer-keyword:hover { color: var(--dark-wine); text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline-color: var(--sage-ink); }

/* ---------- 이용 규칙 · 문의하기 · 안내 화면 ---------- */
.page-shell { padding-top: 35px; padding-bottom: 60px; }
.page-intro { padding-bottom: 29px; }
.page-intro > .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.page-intro h1 { margin: 12px 0 17px; font-size: 41px; line-height: 1.5; }
.page-intro > p:last-child { max-width: 970px; font-size: 18px; line-height: 1.9; color: var(--muted); word-break: keep-all; }
.surface-card { padding: 30px; background: var(--paper); border: 1px solid var(--sage-line); border-radius: 14px; box-shadow: var(--surface-shadow); }
.surface-card h2 { font-family: var(--heading); font-size: 27px; font-weight: 800; line-height: 1.55; letter-spacing: -.8px; text-shadow: var(--title-shadow); }
.solid-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 14px 22px; border: 1px solid var(--wine); border-radius: 8px; background: var(--cta); color: var(--paper); font: 700 16px/1.6 var(--sans); box-shadow: none; cursor: pointer; }
.solid-button:hover { background: var(--dark-wine); }
.solid-button:disabled { opacity: .7; cursor: wait; }
.rules-page { max-width: 1100px; }
.rules-index { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 26px; }
.rules-index a { padding: 11px 19px; border: 1px solid #c0c0c0; border-radius: 7px; background: #dedede; color: var(--wine); font-size: 15px; font-weight: 700; box-shadow: 0 3px 0 #c2c2c2; }
.rules-index a:hover { background: #cbcbcb; }
.rules-section { margin-bottom: 27px; }
.section-icon { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #666666; }
.section-icon span { font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.section-icon svg { width: 21px; height: 21px; }
.rules-section > p { margin-top: 20px; font-size: 18px; line-height: 1.9; color: #5a5a5a; word-break: keep-all; }
.rules-section > h3 { margin-top: 26px; font-size: 21px; font-weight: 800; color: #595959; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 27px; margin-bottom: 24px; }
.score-grid > div { padding: 24px 15px; text-align: center; background: #eaeaea; border: 1px solid #cccccc; border-radius: 10px; }
.score-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 105px; height: 120px; margin: 0 auto 20px; background: #fafafa; border: 1px solid #bbbbbb; border-radius: 9px; box-shadow: 4px 5px 0 #c4c4c4; color: var(--wine); font-size: 22px; font-weight: 900; transform: rotate(-4deg); }
.score-card > span { font-size: 29px; }
.score-grid h3 { margin-bottom: 10px; font-size: 19px; font-weight: 800; }
.score-grid p { font-size: 20px; font-weight: 700; color: #5c5c5c; }
.rules-section > .rule-source { margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: #666666; }
.rule-source a, .rules-section > p a { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.score-example { display: flex; align-items: center; justify-content: center; gap: 38px; margin-top: 25px; padding: 27px; background: #333333; border: 1px solid #262626; border-bottom: 5px solid #1f1f1f; border-radius: 10px; color: #f2f2f2; }
.score-example > div { text-align: center; }
.score-example > div > span { display: block; margin-bottom: 10px; font-size: 13px; color: #c9c9c9; }
.score-example b { font-size: 33px; font-weight: 900; text-shadow: 0 3px 0 #141414; }
.score-arrow { font-size: 30px; color: #bdbdbd; }
.rules-glossary { margin: 25px 0 0; }
.rules-glossary > div { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rules-glossary > div:last-child { border: 0; }
.rules-glossary dt { font-size: 18px; font-weight: 800; color: var(--wine); }
.rules-glossary dd { margin: 0; font-size: 17px; line-height: 1.9; color: #5b5b5b; word-break: keep-all; }
.rules-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding: 22px; border-radius: 9px; background: var(--sage-soft); }
.rules-contact p { font-size: 16px; line-height: 1.8; color: var(--wine); }
.rules-contact .solid-button { font-size: 14px; white-space: nowrap; }

.contact-page { max-width: 760px; padding-top: 42px; }
.contact-page .page-intro { padding-bottom: 24px; }
.contact-page .page-intro h1 { margin: 0; font-size: 32px; color: var(--sage-ink); text-shadow: none; }
.contact-page .contact-form { padding: 28px 0; background: var(--paper); border: 0; border-top: 2px solid var(--sage); border-radius: 0; box-shadow: none; }
.contact-form fieldset { display: flex; flex-direction: column; gap: 23px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form label { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: 3px; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sage-ink); outline-offset: 1px; }
.contact-form textarea { min-height: 200px; resize: vertical; }
.contact-form .solid-button { align-self: flex-end; min-width: 120px; padding: 11px 22px; border-radius: 3px; box-shadow: none; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 20px; padding: 14px 16px; background: var(--rose-soft); border: 1px solid var(--rose-line); border-radius: 7px; color: var(--rose-ink); font-size: 15px; line-height: 1.7; }
.contact-success { padding: 30px; text-align: left; border-radius: 3px; box-shadow: none; }
.contact-success h2 { font-size: 24px; text-shadow: none; }
.contact-success > span { display: block; margin: 16px 0 30px; font-size: 14px; color: var(--muted); }
.contact-success .solid-button { border-radius: 3px; box-shadow: none; }
.message-page .page-intro h1 { font-size: 34px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .desktop-nav a { padding: 11px 13px; font-size: 16px; }
  .brand-words { font-size: 16px; }
  .intro-lead h1 { font-size: 41px; }
  .feature-card { padding: 22px; }
  .feature-card h3 { font-size: 21px; }
  .feature-card p { font-size: 15px; }
  .longread { grid-template-columns: 205px minmax(0, 1fr); column-gap: 25px; }
  .chapters { padding: 24px; }
  .chapter > h2 { font-size: 29px; }
  .journal-heading h2 { font-size: 32px; }
  .faq-layout { gap: 40px; }
  .banner-row { grid-template-columns: 190px minmax(0, 1fr) 190px; gap: 24px; padding: 26px 28px; }
}
@media (max-width: 1000px) {
  .intro-body { grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; }
  .intro-media .hero-image { height: 165px; }
  .intro-shortcuts { padding: 15px 13px; }
  .banner-row { grid-template-columns: 170px minmax(0, 1fr); gap: 18px 22px; }
  .banner-image { grid-row: span 2; }
  .banner-cta { justify-self: start; min-height: 54px; padding: 10px 34px; font-size: 17px; }
}
@media (max-width: 960px) {
  .surface-card { padding: 24px; }
  .rules-contact { flex-direction: column; align-items: flex-start; }
  .page-intro h1 { font-size: 35px; }
  .score-grid { gap: 13px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { height: 90px; }
  .header-inner { gap: 16px; }
  .brand-words { font-size: 14px; }
  .brand-words small { font-size: 10px; }
  .brand-symbol { width: 42px; height: 42px; }
  .desktop-nav { gap: 3px; }
  .desktop-nav a { padding: 10px 11px; font-size: 14px; }
  .intro-lead { padding: 23px; }
  .intro-lead h1 { font-size: 39px; }
  .intro-deck { font-size: 20px; }
  .intro-body { grid-template-columns: 1fr; }
  .intro-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .intro-shortcuts { margin-top: 0; }
  .intro-media .hero-image { height: 170px; }
  .scope-inner > span { gap: 7px; font-size: 13px; }
  .section-heading h2, .faq-heading h2 { font-size: 29px; }
  .section-heading > p { font-size: 14px; }
  .feature-grid { gap: 13px; }
  .feature-card { padding: 22px 18px; }
  .feature-card h3 { font-size: 20px; }
  .feature-card .text-link { gap: 10px; font-size: 13px; }
  .journal-heading { padding: 33px 0; }
  .journal-heading h2 { font-size: 29px; }
  .journal-heading-bottom { flex-direction: column; align-items: flex-start; gap: 15px; }
  .journal-heading-bottom > p { font-size: 13px; }
  .journal-heading-bottom > p br { display: none; }
  .longread { grid-template-columns: 1fr; gap: 24px; padding-top: 35px; }
  .sidebar-sticky { position: static; padding: 15px; }
  .reading-sidebar h3, .sidebar-bottom { display: none; }
  .reading-sidebar nav { flex-direction: row; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 0; }
  .reading-sidebar nav a { gap: 6px; padding: 6px 8px; font-size: 13px; background: #eaeaea; border-left: 0; border-bottom: 1px solid transparent; }
  .reading-sidebar nav a.active { border-bottom-color: var(--wine); }
  .reading-sidebar nav a span { font-size: 12px; }
  .chapter > h2 { font-size: 28px; }
  .chapter-intro { font-size: 18px; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-heading { position: relative; }
  .faq-deco { position: absolute; right: 0; top: 0; margin: 0; font-size: 49px; }
  .faq-heading > p:not(.eyebrow) { font-size: 15px; }
  .faq-heading > p:not(.eyebrow) br { display: none; }
  .faq-section { padding: 45px 0; }
  .closing { padding-block: 55px; }
  .closing > p:nth-child(2) { font-size: 26px; }
  .banner-row { grid-template-columns: 120px minmax(0, 1fr); gap: 14px 18px; padding: 22px 20px; border-bottom-width: 24px; border-radius: 14px; }
  .banner-image { grid-row: auto; }
  .banner-copy h3 { margin-bottom: 6px; font-size: 18px; }
  .banner-copy p { font-size: 15px; }
  .banner-cta { grid-column: 1 / -1; justify-self: stretch; min-height: 52px; }
}
@media (max-width: 700px) {
  .form-pair { grid-template-columns: 1fr 1fr; }
  .page-shell { padding-top: 26px; }
  .page-intro h1 { font-size: 32px; }
  .rules-glossary > div { grid-template-columns: 1fr; gap: 8px; }
  .surface-card h2 { font-size: 25px; }
  .score-grid { grid-template-columns: 1fr; }
  .score-grid > div { display: grid; grid-template-columns: 90px 1fr; gap: 0 20px; align-items: center; padding: 19px; text-align: left; }
  .score-card { grid-row: span 2; width: 75px; height: 90px; margin: 0; font-size: 16px; }
  .score-card > span { font-size: 23px; }
  .score-grid h3 { margin-bottom: 0; }
  .score-grid p { font-size: 19px; }
  .rules-section > p { font-size: 17px; }
}
@media (max-width: 580px) {
  html { scroll-padding-top: 16px; }
  .wrap { width: calc(100% - 32px); }
  .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  .site-header { height: 79px; }
  .brand { gap: 12px; }
  .brand-words { font-size: 15px; letter-spacing: 1.3px; }
  .brand-words small { margin-top: 4px; font-size: 10px; letter-spacing: .5px; }
  /* 스크립트가 있으면 ☰ 메뉴, 없으면 메뉴를 로고 아래 줄에 */
  .js .desktop-nav { display: none; }
  .js .menu-toggle { display: block; margin-right: -8px; }
  html:not(.js) .site-header { height: auto; padding: 12px 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; gap: 10px; }
  .mobile-nav { position: absolute; top: 100%; left: 0; z-index: 30; display: flex; flex-direction: column; width: 100%; padding: 10px 22px 17px; background: var(--sage-soft); border-bottom: 1px solid var(--sage-line); box-shadow: 0 10px 16px var(--shadow-soft); }
  .mobile-nav > a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 13px 0; border-bottom: 1px solid var(--sage-line); color: var(--sage-ink); font-size: 17px; }
  .mobile-nav > a:last-child { border: 0; }
  .mobile-nav > a[aria-current="page"] { color: var(--dark-wine); font-weight: 800; }
  .intro-lead { margin-top: 18px; margin-bottom: 24px; padding: 20px 18px; border-radius: 11px; }
  .intro-lead h1 { font-size: 32px; line-height: 1.45; letter-spacing: -1.7px; }
  .intro-deck { margin-bottom: 16px; font-size: 19px; line-height: 1.7; }
  .intro-copy p { font-size: 17px; line-height: 1.9; word-break: normal; }
  .intro-copy p + p { margin-top: 14px; }
  .intro-body { gap: 20px; }
  .intro-aside { grid-template-columns: 1fr; gap: 14px; }
  .intro-media { width: 100%; max-width: 320px; }
  .intro-media .hero-image { height: 160px; }
  .intro-shortcuts { flex-direction: row; flex-wrap: wrap; gap: 11px 16px; padding: 16px; }
  .intro-shortcuts > span { width: 100%; }
  .intro-shortcuts a { gap: 10px; font-size: 13px; }
  .scope-inner { grid-template-columns: 1fr; gap: 14px; padding: 19px 0; }
  .scope-inner > span { justify-content: flex-start; gap: 10px; border: 0; font-size: 14px; }
  .intro-section { padding-top: 30px; padding-bottom: 30px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 23px; }
  .section-heading h2 { font-size: 28px; line-height: 1.5; }
  .section-heading > p { display: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 23px; }
  .feature-card h3 { font-size: 23px; }
  .feature-card p { font-size: 16px; }
  .feature-card .text-link { gap: 16px; margin-top: 17px; font-size: 15px; }
  .card-top { margin-bottom: 14px; }
  .card-top svg { width: 26px; height: 26px; }
  .directory-section { padding-top: 6px; padding-bottom: 25px; }
  .banner-list { gap: 16px; }
  .banner-row { grid-template-columns: 92px minmax(0, 1fr); padding: 18px 16px; border-bottom-width: 18px; border-radius: 12px; }
  .banner-copy h3 { font-size: 17px; }
  .banner-cta { min-height: 50px; font-size: 16px; }
  .journal-heading { padding: 30px 0; }
  .journal-heading h2 { font-size: 26px; line-height: 1.6; letter-spacing: -1px; }
  .journal-heading-bottom > p { margin-top: 2px; font-size: 14px; }
  .longread { padding-top: 28px; padding-bottom: 45px; }
  .reading-sidebar nav { gap: 6px; }
  .chapters { padding: 22px 18px; border-radius: 10px; }
  .chapter { padding-bottom: 35px; margin-bottom: 35px; }
  .chapter-kicker { gap: 12px; font-size: 12px; }
  .chapter-kicker span:last-child { padding-left: 12px; }
  .chapter > h2 { margin: 14px 0 17px; font-size: 26px; line-height: 1.65; }
  .chapter-intro { padding-left: 14px; margin-bottom: 25px; font-size: 17px; line-height: 1.95; }
  .chapter-media { margin-bottom: 26px; }
  .chapter-media img { border-radius: 6px; }
  .chapter-media figcaption { gap: 4px 12px; font-size: 12px; }
  .article-part { margin-top: 25px; }
  .article-part h3 { margin-bottom: 11px; font-size: 19px; line-height: 1.7; }
  .article-part p { margin-top: 13px; font-size: 17px; line-height: 2; word-break: normal; }
  .editorial-note { gap: 10px; padding: 18px 16px; font-size: 14px; }
  .source-links a { font-size: 13px; }
  .faq-heading h2 { font-size: 28px; }
  .faq-deco { display: none; }
  .faq-list summary { gap: 12px; padding: 19px 0; font-size: 16px; }
  .faq-list details > p { padding: 0 22px 21px; font-size: 16px; word-break: normal; }
  .closing > p:nth-child(2) { max-width: 340px; margin-inline: auto; font-size: 25px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .page-intro h1 { font-size: 29px; letter-spacing: -1px; }
  .page-intro > p:last-child { font-size: 17px; }
  .surface-card { padding: 23px 18px; border-radius: 11px; }
  .surface-card h2 { font-size: 24px; }
  .form-pair { grid-template-columns: 1fr; gap: 23px; }
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .solid-button { padding: 13px 16px; font-size: 15px; }
  .rules-index { gap: 8px; }
  .rules-index a { padding: 9px 12px; font-size: 14px; }
  .score-example { gap: 18px; padding: 21px 15px; }
  .score-example b { font-size: 25px; }
  .score-example > div > span { font-size: 12px; }
  .score-arrow { font-size: 22px; }
  .rules-section > .rule-source { font-size: 12px; }
  .contact-page { padding-top: 28px; }
  .contact-page .page-intro h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .official-actions { display: none; }
  .has-official-actions { padding-bottom: 0; }
  .site-header, .reading-sidebar, .scope-strip, .feature-grid, .directory-section, .closing, .site-footer, .intro-aside { display: none; }
  .wrap { width: 100%; max-width: none; }
  .longread, .faq-layout, .intro-body { display: block; }
  .intro-lead, .chapters { border: 0; box-shadow: none; background: white; }
  h1, h2, h3 { text-shadow: none !important; }
  body { background: white; color: black; }
  .journal-heading { padding: 20px 0; background: white; color: var(--wine); }
  .journal-heading h2 { color: var(--wine); }
}

/* ---------- 본문 표 (두 약 비교·가격대) ---------- */
.table-wrap { margin-top: 26px; overflow-x: auto; border: 1px solid var(--sage-line); border-radius: 10px; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.7; word-break: keep-all; }
.guide-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.guide-table th, .guide-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--muted); }
.guide-table thead th { background: var(--sage-card); font-weight: 700; color: var(--sage-ink); }
.guide-table tbody th { width: 30%; font-weight: 700; color: var(--sage-ink); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: 0; }
.article-part .point-list { margin-top: 15px; }
@media (max-width: 580px) {
  .guide-table { font-size: 14px; }
  .guide-table th, .guide-table td { padding: 10px 10px; }
}

/* ---------- 페이지 안 이동 링크 없음 (사용자 결정 2026-11-10): 목차·바로 읽기 상자를 뺀 한 단 배치 ---------- */
.longread, .intro-body { display: block; }
.longread .chapters { max-width: 860px; margin: 0 auto; }

/* 홈 요약과 약별 상세 안내 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.purchase-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.purchase-card:nth-child(2) { background: var(--lavender-soft); border-color: var(--lavender-line); }
.purchase-card h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--sage-ink); font-size: 16px; font-weight: 700; line-height: 1.7; text-decoration: underline; text-underline-offset: 5px; word-break: keep-all; }
.purchase-card .text-link { margin-top: 20px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: underline; text-underline-offset: 4px; }
.purchase-page .intro-lead { margin-top: 10px; }
.purchase-cialis .intro-lead { border-top-color: var(--lavender); }
.purchase-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.purchase-facts dt { font-size: 14px; line-height: 1.7; color: var(--muted); }
.purchase-facts dd { margin: 5px 0 0; color: var(--sage-ink); font-size: 16px; font-weight: 700; line-height: 1.8; word-break: keep-all; }
.official-actions a[aria-current="page"] { box-shadow: inset 0 -3px 0 currentColor; }
.purchase-next { padding-block: 36px 48px; }
.purchase-next h2 { font-size: 26px; margin-bottom: 22px; }
.purchase-next-links, .home-related { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.home-related { padding-bottom: 36px; }
@media (min-width: 581px) and (max-width: 960px) {
  .site-header { height: auto; }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 16px; }
  .desktop-nav { flex-wrap: wrap; }
}
@media (max-width: 580px) {
  .purchase-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .purchase-facts { grid-template-columns: 1fr; gap: 10px; }
  .purchase-facts > div { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 8px; }
  .purchase-facts dd { margin: 0; font-size: 15px; }
  .purchase-next-links { align-items: flex-start; flex-direction: column; }
  .purchase-next .solid-button { max-width: 100%; }
}

/* 홈의 구매 정보 카드: 예시 이미지와 본문을 함께 제공 */
.home-purchase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-purchase-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--card-line); border-radius: 14px; background: var(--card-fill); --card-fill: var(--sage-card); --card-line: var(--sage-line); --card-ink: var(--sage-ink); }
.home-purchase-viagra { --card-fill: var(--sky-soft); --card-line: var(--sky-line); --card-ink: var(--sky-ink); }
.home-purchase-cialis { --card-fill: var(--butter-soft); --card-line: var(--butter-line); --card-ink: var(--butter-ink); }
.home-purchase-cost { --card-fill: var(--lavender-soft); --card-line: var(--lavender-line); --card-ink: var(--lavender-ink); }
.home-purchase-image { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-bottom: 1px solid var(--card-line); }
.home-purchase-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.home-purchase-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--card-ink); font-size: 12px; line-height: 1.6; font-weight: 600; word-break: keep-all; }
.home-purchase-label span { font-size: 14px; font-weight: 800; }
.home-purchase-card h3 { margin-bottom: 12px; color: var(--card-ink); font-size: 22px; line-height: 1.5; letter-spacing: -.8px; }
.home-purchase-text { margin-bottom: 18px; color: var(--muted); font-size: 16px; line-height: 1.9; word-break: keep-all; }
.home-purchase-content .text-link { margin-top: auto; color: var(--card-ink); font-size: 14px; }
.home-image-note { margin-top: 15px; color: var(--muted); font-size: 13px; line-height: 1.7; word-break: keep-all; }
@media (max-width: 1100px) {
  .home-purchase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .home-purchase-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-purchase-image { aspect-ratio: 4 / 3; object-fit: cover; }
  .home-purchase-content { padding: 22px; }
}

/* ---------- 식약처 이동 화면 ---------- */
