@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Kanit:wght@300;400;500;600;700&family=Mitr:wght@300;400;500;600&family=Nanum+Myeongjo:wght@400;700;800&family=Sarabun:wght@300;400;500;600&display=swap");

:root {
  --ink: #18243a;
  --muted: #607087;
  --paper: #fbfaf7;
  --line: #d9ded8;
  --navy: #08345e;
  --gold: #c99a31;
  --soft: #f2f5f4;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans Thai", "Noto Sans KR", Tahoma, sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 10px;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}
.image-nav {
  width: min(1120px, 100%);
  min-height: 56px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 0.82fr 0.9fr 0.96fr;
  align-items: stretch;
  overflow: visible;
  border: 1px solid rgba(8, 52, 94, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(8, 52, 94, 0.12);
}
.nav-logo,
.nav-image-button {
  position: relative;
  min-width: 0;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  color: var(--navy);
  border-right: 1px solid rgba(8, 52, 94, 0.12);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.nav-logo {
  justify-content: center;
  padding-left: 4px;
}
.nav-logo.active,
.nav-image-button.active {
  background: linear-gradient(135deg, #ff9d15, #f08300);
  color: var(--white);
}
.nav-logo.active { border-radius: 7px 0 0 7px; }
.nav-logo.active::after,
.nav-image-button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 10px solid var(--paper);
}
.nav-logo-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 180ms ease;
}
.logo-words {
  display: none;
  gap: 2px;
  transition: transform 180ms ease;
}
.logo-words strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
}
.logo-words small {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}
.nav-logo.active .logo-words small { color: var(--white); }
.nav-image-button { font-weight: 700; }
.nav-image-button strong {
  display: block;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
  transition: transform 180ms ease;
}
.thai-menu strong {
  font-family: Kanit, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 400;
}
.nav-image-button:not(.thai-menu):not(.english-menu) {
  gap: 9px;
}
.nav-image-button:not(.thai-menu):not(.english-menu) strong {
  font-family: "Nanum Myeongjo", "NanumMyeongjo", "AppleMyungjo", "Batang", serif;
  font-weight: 800;
}
.english-menu strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
}
.nav-icon {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: currentColor;
  transition: transform 180ms ease;
}
.bookmark-icon {
  width: 17px;
  height: 29px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 73%, 0 100%);
}
.bookmark-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -1px;
  height: 9px;
  background: currentColor;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}
.book-icon {
  width: 25px;
  height: 27px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: none;
}
.book-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: currentColor;
  border: 0;
}
.book-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 6px;
  border-bottom: 2px solid currentColor;
}
.globe-icon {
  border: 2px solid currentColor;
  border-radius: 50%;
}
.globe-icon::before {
  content: "";
  position: absolute;
  inset: 4px 7px;
  border-left: 1px solid currentColor;
  border-right: 1px solid currentColor;
  border-radius: 50%;
}
.globe-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 11px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 -1px currentColor, 0 6px 0 -1px currentColor;
}
.bookmark-icon,
.book-icon,
.globe-icon {
  width: 29px;
  height: 29px;
  border: 0;
  border-radius: 0;
  clip-path: none;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.bookmark-icon::before,
.bookmark-icon::after,
.book-icon::before,
.book-icon::after,
.globe-icon::before,
.globe-icon::after {
  content: none;
  display: none;
}
.bookmark-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20 4h88v130L64 104 20 134V4zm12 12v95l32-22 32 22V16H32zm16 16h32v10H48V32z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M20 4h88v130L64 104 20 134V4zm12 12v95l32-22 32 22V16H32zm16 16h32v10H48V32z'/%3E%3C/svg%3E");
}
.book-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16 4h92a12 12 0 0 1 12 12v124H42c-12 0-22 0-34 0V16C8 9 10 4 16 4zm12 12v108h16V16H28zm28 0v108h52V16H56zm14 30h28v10H70V46zm0 28h28v10H70V74z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M16 4h92a12 12 0 0 1 12 12v124H42c-12 0-22 0-34 0V16C8 9 10 4 16 4zm12 12v108h16V16H28zm28 0v108h52V16H56zm14 30h28v10H70V46zm0 28h28v10H70V74z'/%3E%3C/svg%3E");
}
.globe-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 144 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M72 6a66 66 0 1 0 0 132A66 66 0 0 0 72 6zm0 12c9 10 16 27 18 48H54c2-21 9-38 18-48zM20 78a52 52 0 0 1 0-12h22a99 99 0 0 0 0 12H20zm34 0a84 84 0 0 1 0-12h36a84 84 0 0 1 0 12H54zm36 12c-2 21-9 38-18 48-9-10-16-27-18-48h36zm12-12a99 99 0 0 0 0-12h22a52 52 0 0 1 0 12h-22zM122 54h-22c-3-15-8-27-15-37 17 5 31 19 37 37zM59 17c-7 10-12 22-15 37H22c6-18 20-32 37-37zM22 90h22c3 15 8 27 15 37-17-5-31-19-37-37zm63 37c7-10 12-22 15-37h22c-6 18-20 32-37 37z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 144 144' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M72 6a66 66 0 1 0 0 132A66 66 0 0 0 72 6zm0 12c9 10 16 27 18 48H54c2-21 9-38 18-48zM20 78a52 52 0 0 1 0-12h22a99 99 0 0 0 0 12H20zm34 0a84 84 0 0 1 0-12h36a84 84 0 0 1 0 12H54zm36 12c-2 21-9 38-18 48-9-10-16-27-18-48h36zm12-12a99 99 0 0 0 0-12h22a52 52 0 0 1 0 12h-22zM122 54h-22c-3-15-8-27-15-37 17 5 31 19 37 37zM59 17c-7 10-12 22-15 37H22c6-18 20-32 37-37zM22 90h22c3 15 8 27 15 37-17-5-31-19-37-37zm63 37c7-10 12-22 15-37h22c-6 18-20 32-37 37z'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) {
  .nav-logo:hover,
  .nav-image-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 52, 94, 0.12);
  }
  .nav-logo:hover .nav-logo-mark,
  .nav-logo:hover .logo-words,
  .nav-image-button:hover .nav-icon,
  .nav-image-button:hover strong {
    transform: scale(1.035);
  }
}
.intro,
.confession-menu,
.reader,
.resource-section {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}
.intro { padding: 34px 0 18px; }
.hero-logo {
  width: min(220px, 58vw);
  height: auto;
  display: block;
  margin: 0 auto 14px;
}
.home-intro {
  padding-top: 22px;
  padding-bottom: 8px;
}
.home-intro .hero-logo {
  width: min(185px, 48vw);
  margin-top: 0;
  margin-bottom: 2px;
}
.intro-copy {
  max-width: 760px;
  margin: 0 auto;
}
.weekly-plan-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin: 16px auto 8px;
  padding: 12px;
  border: 1px solid rgba(8, 52, 94, 0.22);
  border-left: 5px solid var(--gold);
  background:
    linear-gradient(135deg, rgba(248, 242, 227, 0.72), rgba(255, 255, 255, 0.96) 46%),
    var(--white);
  box-shadow: 0 10px 24px rgba(8, 52, 94, 0.10);
}
.weekly-plan-copy {
  min-width: 0;
}
.weekly-plan-copy span {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 2px 8px;
  background: rgba(8, 52, 94, 0.08);
  color: #946f1e;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
}
.weekly-plan-copy strong {
  display: block;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.28;
}
.weekly-plan-card-ko .weekly-plan-copy strong,
.weekly-plan-card-ko .weekly-plan-copy span {
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
}
.weekly-plan-copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.weekly-plan-card button {
  min-height: 44px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  padding: 9px 13px;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(201, 154, 49, 0.95);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.weekly-plan-card-ko button {
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .weekly-plan-card button:hover {
    transform: translateY(-2px);
    background: #0c416f;
    box-shadow: inset 0 -3px 0 rgba(201, 154, 49, 1), 0 8px 16px rgba(8, 52, 94, 0.18);
  }
}
.share-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 20px;
}
.intro-guide {
  margin: 12px 0 0;
  color: #946f1e;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}
.intro-guide-ko {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}
.share-links a,
.share-links button {
  min-height: 38px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  padding: 7px 11px;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(8, 52, 94, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, border-color 160ms ease;
}
.share-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.share-links .share-facebook {
  font-family: Georgia, "Times New Roman", serif;
  color: #244a8f;
}
.share-facebook-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #244a8f;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}
.share-links .share-line {
  padding: 6px 8px;
  border-color: rgba(6, 199, 85, 0.32);
  background: #06c755;
  color: var(--white);
}
.share-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  border-radius: 4px;
  background: #06c755;
  color: var(--white);
  font-family: Arial, "Noto Sans Thai", sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.share-links button.copied {
  border-color: rgba(201, 154, 49, 0.46);
  color: #936915;
}
.korean-text-pdf-button {
  width: min(420px, 100%);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(8, 52, 94, 0.2);
  border-left: 5px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  padding: 11px 14px;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(8, 52, 94, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.korean-text-pdf-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  background: #f3e4bf;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
@media (hover: hover) and (pointer: fine) {
  .share-links a:hover,
  .share-links button:hover,
  .korean-text-pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(8, 52, 94, 0.13);
  }
}
.eyebrow,
.section-title p,
.reader-heading p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 860px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.18;
}
.lead {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}
.section-title h1,
.section-title h2,
.thai-first,
.reader-heading h2,
.background-panel h3,
.downloads h3,
.source-panel h3,
.text-reader h3,
.resource-item h3,
.policy-box h3,
.subhead {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
}
.thai-first {
  color: var(--navy);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}
.lead-ko,
.section-title small,
.ko-subtitle {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.lead-ko {
  margin: 8px 0 0;
  max-width: 760px;
}
.resource-intro-ko {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.korean-reader-shell {
  width: 100%;
  margin: 0 0 26px;
  padding: 0 0 6px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
  transform: none;
}
.korean-reader-shell .korean-reader {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.korean-section-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 34px;
  padding: 12px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 10px 26px rgba(8, 52, 94, 0.08);
}
.korean-section-tabs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  background: var(--line);
}
.korean-section-tabs a {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(8, 52, 94, 0.22);
  background: var(--white);
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 6px 14px rgba(8, 52, 94, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.korean-section-tabs a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 3px;
  background: var(--gold);
  opacity: 0.28;
}
.korean-section-tabs a span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #fbf2dc;
  color: #8f6a18;
  font-size: 14px;
  font-weight: 800;
}
.korean-section-tabs a.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(8, 52, 94, 0.18);
}
.korean-section-tabs a.active::after {
  opacity: 1;
  background: #f1c75e;
}
.korean-section-tabs a.active span {
  background: #f1c75e;
  color: var(--navy);
}
.korean-section-tabs-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
}
.korean-section-tabs-label strong {
  font-size: 18px;
  font-weight: 800;
}
.korean-section-tabs-label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.korean-literal-section,
.video-playlists {
  scroll-margin-top: 112px;
}
.literal-title {
  margin: 22px 0 12px;
}
.literal-download-title {
  padding: 18px 18px 16px;
  border-left: 6px solid var(--gold);
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(8, 52, 94, 0.08);
}
.literal-title h2 {
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(27px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.25;
}
.literal-download-title h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(31px, 7.5vw, 48px);
}
.literal-download-title h2 span {
  display: inline-block;
  padding: 4px 10px;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
  line-height: 1.2;
}
.literal-title small {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
}
.korean-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--navy);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  text-align: center;
}
.korean-intro .korean-wordmark {
  width: min(210px, 48vw);
}
.korean-intro {
  padding-bottom: 6px;
}
.korean-intro .share-links {
  margin-bottom: 6px;
}
.resource-section:has(.korean-reader-shell) {
  margin-top: 8px;
  padding-top: 12px;
}
.korean-wordmark img {
  width: min(92px, 22vw);
  height: auto;
}
.korean-wordmark strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 800;
  line-height: 1.05;
}
.korean-wordmark small {
  display: block;
  color: #9a7628;
  font-size: clamp(15px, 4.5vw, 22px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}
.korean-reader-shell .section-title h2,
.korean-reader-heading h2,
.korean-background-panel h3,
.korean-downloads-panel h3,
.korean-source-panel h3,
.korean-text-reader h3 {
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
}
.korean-reader .reader-heading span {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}
.korean-reader .background-panel p,
.korean-reader .source-panel p,
.korean-reader .notice,
.korean-reader .text-reader p {
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.korean-reader .text-reader {
  padding-left: clamp(16px, 2.4vw, 34px);
  padding-right: clamp(16px, 2.4vw, 34px);
}
.korean-reader .reader-body {
  max-width: none;
}
.korean-reader .text-reader .reader-section-title {
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-weight: 800;
}
.korean-reader .text-reader .korean-document-title {
  margin: 0 0 18px;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(24px, 6.4vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}
.korean-reader .text-reader .korean-document-title + .korean-reader-body .reader-section-title:first-child {
  margin-top: 0.55em;
  padding-top: 0.55em;
}
.korean-reader .text-reader .korean-reader-body > .reader-section-title:first-child,
.korean-reader .text-reader .korean-reader-body > .reader-question:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.korean-reader .text-reader .reader-section-major {
  font-size: 24px;
}
.korean-reader .text-reader .reader-section-minor,
.korean-reader .text-reader .reader-preface-heading {
  font-size: 21px;
}
.korean-reader .text-reader p,
.korean-reader .text-reader .reader-body-text {
  color: #243047;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.95;
  text-align: left;
}
.korean-reader .text-reader .scripture-quote {
  color: #7a5a18;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 0.94em;
  font-weight: 400;
}
.korean-reader .text-reader .reader-question,
.korean-reader[data-reader-id="wsc"] .text-reader .reader-question {
  margin: 1.65em 0 0.55em;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.65;
  text-align: left;
}
.korean-reader .text-reader .reader-answer,
.korean-reader[data-reader-id="wsc"] .text-reader .reader-answer {
  margin: 0 0 1.35em;
  color: #26344a;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.95;
  text-align: left;
}
.korean-reader .text-reader .reader-proof-ko {
  display: block;
  margin-top: 0.35em;
  color: #738097;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.55;
}
.korean-reader[data-reader-id="wcf"] .text-reader p.reader-proof-ko {
  display: block;
  margin: 0 0 0.18em;
  color: #748096;
  font-size: 10.5px;
  font-weight: 300;
  line-height: 1.35;
}
.korean-reader[data-reader-id="wcf"] .text-reader .reader-body-text:has(+ p.reader-proof-ko),
.korean-reader[data-reader-id="wcf"] .text-reader .reader-answer:has(+ p.reader-proof-ko) {
  margin-bottom: 0.22em;
}
.korean-reader[data-reader-id="wcf"] .text-reader p.reader-proof-ko:has(+ .reader-body-text),
.korean-reader[data-reader-id="wcf"] .text-reader p.reader-proof-ko:has(+ .reader-question),
.korean-reader[data-reader-id="wcf"] .text-reader p.reader-proof-ko:has(+ .reader-section-title) {
  margin-bottom: 1.45em;
}
.korean-reader .text-reader .reader-source-url {
  color: #69758a;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
  line-height: 1.65;
}
.korean-reader .reader-error-box {
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #d8c79d;
  background: #f6f1e8;
  color: #26344a;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 16px;
  line-height: 1.8;
}
.korean-reader .reader-error-box strong {
  color: var(--navy);
  font-weight: 800;
}
.korean-reader-body .reader-section-title {
  scroll-margin-top: 126px;
}
@media (max-width: 679px) {
  .weekly-plan-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    margin-top: 14px;
    padding: 11px;
  }
  .weekly-plan-card button {
    width: 100%;
  }
  .resource-section:has(.korean-reader-shell) {
    width: calc(100% - 28px);
    padding-left: 10px;
    padding-right: 10px;
  }
  .korean-reader-shell {
    width: 100%;
  }
  .korean-reader-shell .korean-reader {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .korean-reader .reader-heading,
  .korean-reader .background-panel,
  .korean-reader .downloads,
  .korean-reader .source-panel,
  .korean-reader .text-reader {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .korean-reader .text-reader .reader-body {
    width: 100%;
    max-width: none;
  }
  .korean-section-tabs-label {
    padding: 0 2px;
  }
  .korean-section-tabs-label strong {
    font-size: 15px;
  }
  .korean-section-tabs-label span {
    font-size: 11px;
  }
  .korean-section-tabs {
    gap: 6px;
    padding: 8px;
  }
  .korean-section-tabs a {
    min-height: 52px;
    gap: 5px;
    font-size: 13px;
  }
  .korean-section-tabs a span {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .korean-section-tabs a::after {
    left: 9px;
    right: 9px;
    bottom: 6px;
    height: 2px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .korean-section-tabs a:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 154, 49, 0.5);
    box-shadow: 0 10px 20px rgba(8, 52, 94, 0.12);
  }
}
.recommend-site-card {
  display: grid;
  grid-template-columns: 1fr 74px;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(8, 52, 94, 0.12);
  border-left: 3px solid #2f6f65;
  background: #eef4f1;
  color: #11283f;
  box-shadow: 0 7px 18px rgba(8, 52, 94, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.recommend-site-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.recommend-site-copy strong {
  color: #10243c;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}
.recommend-site-copy span {
  color: rgba(24, 36, 58, 0.66);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.recommend-site-copy small {
  color: rgba(47, 111, 101, 0.72);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 11px;
  font-weight: 400;
}
.recommend-site-card img {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  object-fit: cover;
  justify-self: end;
}
.grace-download-section {
  scroll-margin-top: 112px;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(8, 52, 94, 0.13);
  border-left: 3px solid var(--gold);
  background: #f7f2e7;
  box-shadow: 0 8px 20px rgba(8, 52, 94, 0.08);
}
.compact-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.compact-details summary::-webkit-details-marker {
  display: none;
}
.compact-details summary span {
  min-width: 0;
}
.compact-details summary strong {
  display: block;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(18px, 4.8vw, 24px);
  font-weight: 500;
  line-height: 1.35;
}
.compact-details summary > em {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  background: var(--white);
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}
.compact-details[open] summary > em {
  color: var(--white);
  background: var(--navy);
}
.compact-details[open] summary > em::before {
  content: "- ";
}
.compact-details[open] summary > em {
  font-size: 0;
}
.compact-details[open] summary > em::after {
  content: " 접기";
  font-size: 13px;
}
.compact-details-body {
  padding-top: 14px;
}
.study-plan-section .compact-details-body .thai-first {
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
}
.chicago-summary-card {
  background: #fffdf8;
}
.chicago-year {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  background: #f3e4bf;
  color: var(--navy);
  font-size: 0.62em;
  font-weight: 600;
  line-height: 1.2;
  vertical-align: middle;
}
.chicago-read-button {
  width: 100%;
  margin-top: 4px;
}
.grace-download-copy {
  max-width: 840px;
}
.section-kicker {
  margin: 0 0 4px;
  color: #946f1e;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.grace-download-copy h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
}
.grace-download-copy .thai-first {
  max-width: 800px;
  font-size: 18px;
}
.lead-en {
  margin: 7px 0 0;
  color: rgba(24, 36, 58, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}
.grace-download-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
.grace-download-card {
  display: block;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(8, 52, 94, 0.13);
  background: var(--white);
  color: var(--ink);
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.download-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.grace-download-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  background: #f3e4bf;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.grace-download-card strong {
  display: block;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}
.grace-download-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.pdf-preview-box {
  margin-top: 12px;
  border: 1px solid rgba(8, 52, 94, 0.13);
  background: var(--white);
}
.pdf-preview-box summary {
  padding: 12px 14px;
  color: var(--navy);
  cursor: pointer;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.pdf-preview-box iframe {
  display: block;
  width: 100%;
  height: min(72vh, 720px);
  border: 0;
  border-top: 1px solid rgba(8, 52, 94, 0.13);
  background: #f8f8f8;
}
@media (hover: hover) and (pointer: fine) {
  .recommend-site-card:hover,
  .grace-download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(8, 52, 94, 0.15);
  }
  .grace-download-card:hover {
    border-color: rgba(201, 154, 49, 0.58);
    background: #fffdf8;
  }
}
.confession-menu { padding: 18px 0 14px; }
.section-title { margin-bottom: 14px; }
.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
}
.ko-subtitle {
  margin: -6px 0 12px;
}
.download-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.download-heading-row h3,
.download-heading-row .ko-subtitle {
  margin: 0;
}
.download-heading-row .ko-subtitle {
  font-size: 13px;
  font-weight: 500;
}
.confession-buttons,
.download-list,
.simple-grid,
.korean-list,
.link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.confession-buttons button {
  min-height: 70px;
  border: 1px solid var(--line);
  border-left: 5px solid #165b89;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  padding: 11px 14px;
  font: inherit;
  cursor: pointer;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.confession-buttons button:nth-child(4),
.confession-buttons button:nth-child(5) { border-left-color: #2f6f65; }
.confession-buttons button:nth-child(6) { border-left-color: #7b3f4b; }
.confession-buttons button.active {
  border-color: var(--navy);
  border-left-color: var(--gold);
  box-shadow: 0 10px 24px rgba(8, 52, 94, 0.13);
}
@media (hover: hover) and (pointer: fine) {
  .confession-buttons button:hover {
    transform: translateY(-7px) scale(1.018);
    border-color: rgba(8, 52, 94, 0.26);
    border-left-color: var(--gold);
    background: var(--white);
    box-shadow: 0 16px 30px rgba(8, 52, 94, 0.16);
  }
}
.confession-buttons span,
.download-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 26px;
  margin-bottom: 7px;
  background: var(--soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}
.confession-buttons span {
  display: block;
  min-width: 0;
  min-height: 0;
  margin-bottom: 6px;
  background: transparent;
  color: #946f1e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.confession-year-inline {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  padding: 1px 6px;
  border: 1px solid rgba(201, 154, 49, 0.24);
  background: #f8f2e3;
  color: #667287;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78em;
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  vertical-align: 0.08em;
  white-space: nowrap;
}
.confession-buttons strong,
.download-list strong {
  display: block;
  font-size: 17px;
  line-height: 1.35;
}
.confession-buttons strong {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 500;
}
.korean-confession-buttons strong {
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
}
.confession-buttons small,
.download-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.reader { margin-top: 12px; padding-bottom: 32px; }
.weekly-target-flash {
  animation: weeklyTargetFlash 1800ms ease;
}
@keyframes weeklyTargetFlash {
  0%, 100% { background-color: transparent; }
  18%, 72% { background-color: rgba(201, 154, 49, 0.16); }
}
.reader-heading,
.background-panel,
.downloads,
.source-panel,
.text-reader,
.resource-section {
  border: 1px solid var(--line);
  background: var(--white);
}
.reader-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-bottom: 0;
}
.reader-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.25;
}
.reader-heading span {
  color: var(--muted);
  font-weight: 700;
}
.badge {
  align-self: flex-start;
  padding: 7px 10px;
  background: #e8f2ed;
  color: #255d43;
  font-size: 12px;
  font-weight: 800;
}
.badge.muted { background: #f2eee5; color: #80622a; }
.background-panel,
.downloads,
.source-panel,
.text-reader { padding: 18px 20px; border-top: 0; }
.background-panel h3,
.downloads h3,
.source-panel h3,
.text-reader h3,
.resource-item h3,
.policy-box h3,
.subhead {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}
.subhead { margin-top: 18px; }
.background-panel p,
.source-panel p,
.resource-section p,
.policy-box p { margin: 0 0 12px; }
.download-list a,
.simple-grid span,
.simple-grid a,
.resource-item,
.link-list a,
.policy-box {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
}
.download-list a {
  display: block;
  min-height: 76px;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.download-list a.primary-download-button {
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: var(--navy);
}
.download-list a.primary-download-button span {
  margin: 0;
  background: #f3e4bf;
}
.download-list a.primary-download-button strong,
.download-list a.primary-download-button small {
  margin: 0;
}
.download-list a.primary-download-button small {
  color: var(--muted);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
  font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
  .download-list a:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: rgba(201, 154, 49, 0.62);
    background: var(--white);
    box-shadow: 0 16px 32px rgba(8, 52, 94, 0.18);
  }
}
.source-panel details {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.source-panel summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}
.source-panel p,
.source-panel details p,
.korean-reader .source-panel p {
  color: #667287;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
}
.source-panel:empty {
  display: none;
}
.history-accordion-guide {
  margin-bottom: 12px;
}
.history-accordion {
  margin: 0 0 2px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  background: #fffdf8;
}
.history-accordion summary {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.history-accordion summary::-webkit-details-marker {
  display: none;
}
.history-accordion summary::after {
  content: "+";
  position: absolute;
  right: 15px;
  top: 13px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.history-accordion[open] summary::after {
  content: "-";
}
.history-accordion summary {
  position: relative;
  padding-right: 42px;
}
.history-accordion summary span {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
}
.history-accordion summary span em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
}
.history-accordion summary small {
  color: var(--muted);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.korean-reader .history-accordion summary span {
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-weight: 700;
}
.history-accordion-body {
  padding: 2px 15px 4px;
  border-top: 1px solid rgba(8, 52, 94, 0.12);
}
.history-language-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}
.history-language-button {
  border: 1px solid rgba(8, 52, 94, 0.22);
  background: var(--white);
  color: var(--navy);
  padding: 7px 12px;
  font-family: Kanit, "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.history-language-button:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 154, 49, 0.58);
  box-shadow: 0 8px 16px rgba(8, 52, 94, 0.1);
}
.history-language-panel.is-hidden {
  display: none;
}
.history-accordion-body h4 {
  margin: 16px 0 4px;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}
.history-accordion-body > small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 600;
}
.history-accordion-body p,
.korean-reader .history-accordion-body p {
  margin: 14px 0;
  color: #26344a;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.history-lang-th h4 {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 500;
}
.history-lang-th p {
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.82;
  word-break: normal;
}
.history-accordion-body .history-source-note,
.korean-reader .history-accordion-body .history-source-note {
  margin-top: 16px;
  color: #758197;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 12.5px;
  line-height: 1.65;
}
@media (hover: hover) and (pointer: fine) {
  .history-accordion summary:hover {
    background: #fbf7ec;
    box-shadow: 0 8px 18px rgba(8, 52, 94, 0.09);
    transform: translateY(-1px);
  }
}
.text-reader {
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  padding-top: 12px;
}
.reader-body {
  max-width: 860px;
}
.text-reader p {
  margin: 0 0 1.7em;
  color: #1f2c40;
  font-size: 19px;
  font-weight: 400;
  line-height: 2.02;
  white-space: normal;
  scroll-margin-top: 92px;
}
.text-reader .reader-section-title,
.text-reader .reader-preface-heading {
  margin: 2em 0 1em;
  padding-top: 1em;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  line-height: 1.45;
  scroll-margin-top: 92px;
}
.text-reader .reader-section-major {
  border-top: 1px solid var(--line);
  font-size: 28px;
  font-weight: 500;
}
.text-reader .reader-section-minor,
.text-reader .reader-preface-heading {
  font-size: 25px;
  font-weight: 400;
}
.reader .text-reader .reader-body > .reader-section-title:first-child,
.reader .text-reader .reader-body > .reader-question:first-child,
.reader .text-reader .reader-body > .reader-question-number:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.text-reader .reader-document-cover {
  margin: 0 0 2.2em;
  padding: 1.1em 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.85;
  text-align: center;
  white-space: pre-line;
}
.text-reader .reader-question,
.text-reader .reader-question-number {
  margin: 2em 0 1em;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.65;
}
.text-reader .reader-question-number {
  margin-bottom: 0.35em;
  color: var(--gold);
  font-size: 19px;
}
.text-reader .reader-answer {
  margin-top: 0;
  color: #1f2c40;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 2.02;
}
.reader[data-reader-id="wsc"] .text-reader .reader-question {
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 500;
}
.reader[data-reader-id="wsc"] .text-reader .reader-answer {
  color: #1f2c40;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 400;
}
.text-reader .reader-note {
  margin: 1.4em 0 1.9em;
  padding: 0.85em 1em;
  border-left: 3px solid rgba(201, 154, 49, 0.45);
  background: #fbf7ec;
  color: #344156;
  font-size: 17px;
  line-height: 1.9;
}
.text-reader .reader-source-url {
  margin: -0.8em 0 1.7em;
  color: #607087;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.text-reader .reader-proof {
  margin: 0 0 2.4em;
  color: #778397;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
}
.text-reader .scripture-quote {
  color: #806019;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 0.94em;
  font-weight: 400;
}
.notice { color: var(--muted); font-weight: 700; }
.resource-section {
  margin-top: 24px;
  padding: 20px;
}
.simple-grid,
.korean-list,
.link-list { margin-top: 14px; }
.simple-grid span {
  color: var(--navy);
  font-weight: 800;
}
.resource-item p,
.link-list span { color: var(--muted); }
.english-resource-page .lead {
  margin-top: 0;
  color: #5d6b80;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}
.english-resource-page .link-list strong {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.english-resource-page .link-list span {
  color: #536278;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
}
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.inline-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .inline-links a:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(201, 154, 49, 0.62);
    background: var(--paper);
    box-shadow: 0 12px 24px rgba(8, 52, 94, 0.15);
  }
}
.link-list a {
  display: grid;
  gap: 5px;
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .link-list a:hover {
    transform: translateY(-7px) scale(1.018);
    border-color: rgba(201, 154, 49, 0.56);
    background: var(--white);
    box-shadow: 0 15px 30px rgba(8, 52, 94, 0.14);
  }
}
.link-list strong { color: var(--navy); }
.video-playlists {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.video-playlists-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}
.video-playlists-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.playlist-button-bar {
  position: sticky;
  top: 74px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  margin: 16px -4px 18px;
  padding: 4px;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(10px);
}
.playlist-button-bar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.playlist-video-card {
  scroll-margin-top: 126px;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px;
}
.playlist-video-copy h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}
.playlist-video-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.playlist-video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.playlist-video-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(8, 52, 94, 0.16);
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}
.playlist-resource-link-card {
  display: block;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(8, 52, 94, 0.14);
  border-left: 3px solid var(--gold);
  background: #f7f2e7;
  color: var(--ink);
  transform: translateY(0) scale(1);
  will-change: transform;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}
.playlist-resource-link-card span {
  display: block;
  margin-bottom: 5px;
  color: #946f1e;
  font-size: 12px;
  font-weight: 800;
}
.playlist-resource-link-card strong {
  display: block;
  color: var(--navy);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.playlist-resource-link-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.playlist-frame-wrap {
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  background: #0b1f37;
}
.playlist-frame-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.playlist-video-card-muted {
  background: #f5f4ef;
}
.playlist-placeholder {
  display: grid;
  place-items: center;
  background: #e7ebe8;
  color: var(--muted);
  font-weight: 800;
}
@media (hover: hover) and (pointer: fine) {
  .playlist-button-bar a:hover,
  .playlist-video-actions a:hover,
  .playlist-resource-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 154, 49, 0.56);
    box-shadow: 0 10px 20px rgba(8, 52, 94, 0.12);
  }
}
@media (max-width: 679px) {
  .playlist-button-bar {
    gap: 5px;
    margin-left: 0;
    margin-right: 0;
    padding: 4px 0;
  }
  .playlist-button-bar a {
    min-height: 42px;
    padding: 7px 4px;
    font-size: 11px;
  }
}
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 20;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(8, 52, 94, 0.2);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(8, 52, 94, 0.22);
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}
.reader-side-nav {
  position: fixed;
  left: 0;
  top: 170px;
  z-index: 21;
  transform: translateX(-246px);
  transition: transform 220ms ease;
}
.reader-side-nav.open {
  transform: translateX(0);
}
.reader-nav-tab {
  position: absolute;
  right: -42px;
  top: 0;
  width: 42px;
  height: 48px;
  border: 1px solid rgba(8, 52, 94, 0.18);
  border-left: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(8, 52, 94, 0.2);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: grab;
  touch-action: none;
}
.reader-nav-tab span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 0;
  background: currentColor;
}
.reader-nav-tab:active {
  cursor: grabbing;
}
.reader-nav-panel {
  width: 246px;
  max-height: min(62vh, 520px);
  overflow: auto;
  border: 1px solid rgba(8, 52, 94, 0.14);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(8, 52, 94, 0.18);
}
.reader-nav-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  position: sticky;
  top: 0;
  height: 48px;
  min-height: 48px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  color: var(--white);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
.reader-nav-heading small {
  display: inline;
  color: rgba(255, 255, 255, 0.78);
  font-family: Arial, "Noto Sans KR", sans-serif;
  font-size: 12px;
}
.reader-nav-links {
  display: grid;
  gap: 1px;
  padding: 8px;
}
.reader-nav-links a,
.reader-nav-links span {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.35;
}
.reader-nav-links .toc-major {
  color: var(--navy);
  font-weight: 700;
}
.reader-nav-links .toc-minor {
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.reader-nav-links a:hover {
  background: var(--soft);
  color: var(--navy);
}
.simple-grid a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  transform: translateY(0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.historical-grid span,
.historical-grid a {
  min-height: 78px;
  border-left: 4px solid rgba(201, 154, 49, 0.78);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(22px, 4.8vw, 30px);
  font-weight: 500;
  line-height: 1.25;
}
.historical-grid a:first-child {
  border-left-color: #0b4b78;
  background: #fffdf8;
}
.historical-grid em {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 7px;
  background: #f3e4bf;
  color: var(--navy);
  font-size: 0.62em;
  font-style: normal;
  font-weight: 600;
  vertical-align: middle;
}
.historical-reader summary span .ko-subtitle,
.compact-details summary span .ko-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
  font-weight: 400;
}
.nicene-reader .nicene-thai-subtitle {
  display: block;
  margin-top: 3px;
  color: #5f6d80;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 0.62em;
  font-weight: 400;
  line-height: 1.35;
}
.nicene-reader summary .nicene-thai-subtitle {
  display: inline;
  margin: 0 0 0 6px;
  white-space: nowrap;
}
.nicene-year-inline {
  color: #5f6d80;
  font-size: 0.72em;
  font-weight: 400;
  white-space: nowrap;
}
.nicene-reader summary span .nicene-english-subtitle {
  max-width: 100%;
  color: #6b7587;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(10.5px, 2.65vw, 13px);
  letter-spacing: 0;
  line-height: 1.22;
  white-space: nowrap;
}
.nicene-reader article > .nicene-thai-subtitle,
.nicene-reader article > .ko-subtitle {
  display: block;
  margin: -8px 0 16px;
  color: #6b7587;
  font-size: clamp(13px, 3.5vw, 15px);
  font-weight: 400;
  line-height: 1.45;
}
.simple-grid a small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  font-size: 13px;
  font-weight: 400;
}
@media (hover: hover) and (pointer: fine) {
  .simple-grid a:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 154, 49, 0.48);
    box-shadow: 0 14px 28px rgba(8, 52, 94, 0.13);
  }
}
.historical-reader {
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.historical-reader summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  color: var(--navy);
  cursor: pointer;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 20px;
}
.historical-reader summary small {
  color: var(--muted);
  font-family: "Nanum Myeongjo", "Apple SD Gothic Neo", serif;
  font-size: 13px;
  font-weight: 400;
}
.historical-reader summary span em {
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  padding: 2px 7px;
  background: #f3e4bf;
  color: var(--navy);
  font-size: 0.68em;
  font-style: normal;
  font-weight: 600;
  vertical-align: middle;
}
.korean-creed-text,
.historical-source {
  padding: 18px 18px 6px;
  border-top: 1px solid var(--line);
}
.creed-language-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 14px 18px 0;
  border-top: 1px solid var(--line);
}
.creed-language-button {
  border: 1px solid rgba(8, 52, 94, 0.22);
  background: #fffdf8;
  color: var(--navy);
  padding: 9px 13px;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.creed-language-button:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 154, 49, 0.58);
  box-shadow: 0 10px 18px rgba(8, 52, 94, 0.1);
}
[data-creed-lang].is-hidden {
  display: none;
}
.korean-creed-text h3,
.historical-source h4 {
  margin: 0 0 16px;
  color: var(--navy);
}
.historical-source h4 {
  font-family: Kanit, Mitr, "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(20px, 5.2vw, 26px);
  font-weight: 700;
  line-height: 1.35;
}
.korean-creed-text p,
.historical-source p,
.historical-source li {
  color: #243047;
  font-family: "Apple SD Gothic Neo", "Nanum Myeongjo", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
}
.thai-creed-text h3 {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 500;
}
.thai-creed-text p {
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(18px, 4.8vw, 21px);
  line-height: 1.95;
}
.english-creed-text h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
}
.english-creed-text p {
  color: #253044;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 4.4vw, 21px);
  line-height: 1.8;
}
.historical-source {
  background: var(--soft);
}
.historical-source ol {
  margin: 0 0 12px 20px;
  padding: 0;
}
.second-helvetic-official {
  scroll-margin-top: 118px;
}
.second-helvetic-title-box {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(8, 52, 94, 0.18);
  border-left: 5px solid var(--gold);
  background: #fff;
}
.second-helvetic-title-box h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(24px, 5.8vw, 34px);
  font-weight: 500;
  line-height: 1.28;
}
.second-helvetic-title-box .ko-subtitle {
  display: block;
  color: #5f6d80;
  font-size: clamp(15px, 3.8vw, 18px);
  line-height: 1.45;
}
.second-helvetic-history {
  margin: 18px 0;
  background: #fffdf8;
}
.second-helvetic-history summary span em {
  display: block;
}
.second-helvetic-history summary span em small {
  display: inline;
  margin-left: 7px;
  color: #6b7587;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 12px;
  font-weight: 400;
}
.second-helvetic-reader {
  margin-top: 22px;
}
.second-helvetic-reader summary {
  align-items: center;
  background: #fbf8f0;
}
.second-helvetic-brief {
  color: #4b5a70;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(12.5px, 3.35vw, 14px);
  font-weight: 400;
  line-height: 1.65;
}
.second-helvetic-official .grace-download-copy > .lead-ko {
  color: #6b7587;
  font-size: clamp(12px, 3.2vw, 13.5px);
  font-weight: 400;
  line-height: 1.65;
}
.thai-confession-text {
  padding: 18px clamp(14px, 4vw, 26px) 26px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.document-local-toc {
  margin: 4px 0 28px;
  padding: 14px;
  border: 1px solid rgba(8, 52, 94, 0.14);
  border-left: 4px solid var(--gold);
  background: #fbf8f0;
}
.document-local-toc h4 {
  margin: 0;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
}
.document-local-toc small {
  display: block;
  margin: 2px 0 12px;
  color: var(--muted);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 13px;
}
.document-local-toc div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.document-local-toc a {
  display: block;
  padding: 10px 11px;
  border: 1px solid rgba(8, 52, 94, 0.12);
  background: var(--white);
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.38;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .document-local-toc a:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 154, 49, 0.58);
    box-shadow: 0 8px 18px rgba(8, 52, 94, 0.1);
  }
}
.thai-document-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 500;
  line-height: 1.22;
}
.thai-long-reader-body .reader-section-major {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(8, 52, 94, 0.18);
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(25px, 6vw, 36px);
  font-weight: 500;
  line-height: 1.36;
}
.thai-long-reader-body .reader-section-minor {
  margin: 30px 0 12px;
  color: #946f1e;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(21px, 5vw, 27px);
  font-weight: 400;
  line-height: 1.42;
}
.thai-long-reader-body .reader-body-text {
  margin: 0 0 1.3em;
  color: #253047;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(17px, 4.25vw, 19px);
  font-weight: 400;
  line-height: 1.92;
}
.thai-long-reader-body .reader-note {
  margin: 12px 0 22px;
  padding: 9px 12px;
  border-left: 3px solid rgba(201, 154, 49, 0.5);
  background: #fbf8f0;
  color: #30405c;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: clamp(12px, 3.1vw, 15px);
  font-weight: 400;
  line-height: 1.55;
}
.nicene-reader {
  margin-top: 18px;
}
.nicene-reader summary {
  min-height: 78px;
  border-left: 4px solid #0b4b78;
  background: #fffdf8;
}
.other-materials-page .recommend-site-card {
  grid-template-columns: 1fr 58px;
  gap: 11px;
  margin: 12px 0;
  padding: 10px 12px 10px 13px;
}
.other-materials-page .recommend-site-copy {
  gap: 2px;
}
.other-materials-page .recommend-site-copy strong {
  font-size: clamp(17px, 4.3vw, 20px);
  line-height: 1.2;
}
.other-materials-page .recommend-site-copy span {
  font-size: clamp(13px, 3.5vw, 15px);
  line-height: 1.28;
}
.other-materials-page .recommend-site-copy small {
  font-size: 10.5px;
}
.other-materials-page .recommend-site-card img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}
.other-materials-page .grace-download-section {
  margin: 12px 0;
  padding: 13px 14px;
}
.other-materials-page .compact-details summary {
  gap: 10px;
}
.other-materials-page .compact-details summary strong {
  font-size: clamp(17px, 4.3vw, 21px);
  line-height: 1.24;
}
.other-materials-page .compact-details summary span .ko-subtitle {
  margin-top: 2px;
  font-size: clamp(11.5px, 3vw, 12.5px);
  line-height: 1.22;
}
.other-materials-page .compact-details summary > em {
  padding: 4px 8px;
  font-size: 12px;
}
.other-materials-page .compact-details[open] summary > em::after {
  font-size: 12px;
}
.other-materials-page .compact-details-body {
  padding-top: 10px;
}
.other-materials-page .study-plan-section .compact-details-body .thai-first {
  font-size: clamp(15px, 3.9vw, 17px);
  line-height: 1.65;
}
.other-materials-page .historical-reader {
  margin-top: 12px;
}
.other-materials-page .historical-reader summary {
  gap: 10px;
  padding: 12px 14px;
  font-size: 18px;
  line-height: 1.25;
}
.other-materials-page .nicene-reader summary {
  min-height: 0;
}
.other-materials-page .nicene-year-inline {
  font-size: 0.64em;
}
.other-materials-page .nicene-reader summary span .nicene-english-subtitle {
  font-size: clamp(10px, 2.55vw, 12px);
  line-height: 1.16;
}
.other-materials-page .second-helvetic-title-box {
  margin-bottom: 9px;
  padding: 13px 14px;
}
.other-materials-page .second-helvetic-title-box h3 {
  margin-bottom: 4px;
  font-size: clamp(20px, 4.9vw, 28px);
  line-height: 1.2;
}
.other-materials-page .second-helvetic-title-box .ko-subtitle {
  font-size: clamp(12.5px, 3.3vw, 15px);
  line-height: 1.28;
}
.other-materials-page .second-helvetic-brief,
.other-materials-page .second-helvetic-official .grace-download-copy > .lead-ko {
  line-height: 1.5;
}
@media (max-width: 679px) {
  .resource-section {
    width: min(100% - 16px, 1120px);
    padding-left: 10px;
    padding-right: 10px;
  }
  .second-helvetic-official {
    margin-left: -7px;
    margin-right: -7px;
    padding-left: 7px;
    padding-right: 7px;
    border-left-width: 2px;
  }
  .second-helvetic-reader {
    margin-left: -4px;
    margin-right: -4px;
  }
  .thai-confession-text {
    padding-left: 8px;
    padding-right: 8px;
  }
  .thai-long-reader-body {
    max-width: none;
    width: 100%;
  }
}
@media (min-width: 760px) {
  .document-local-toc div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.chicago-back-link span {
  font-size: 32px;
  line-height: 1;
}
.chicago-title h1 {
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-weight: 500;
}
.chicago-history-card {
  margin: 16px 0 20px;
}
.download-heading {
  margin: 20px 0 8px;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}
.chicago-page .inline-links {
  margin: 18px 0 22px;
}
.chicago-download-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
.chicago-download-links a {
  justify-content: center;
  min-height: 48px;
  font-size: 16px;
}
.thai-jump-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0 20px;
  padding: 12px 16px;
  border: 1px solid rgba(8, 52, 94, 0.2);
  background: var(--navy);
  color: var(--white);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 500;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.thai-jump-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 52, 94, 0.16);
}
.chicago-reader {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}
.chicago-reader h2 {
  margin: 10px 0 18px;
  color: var(--navy);
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 500;
  line-height: 1.24;
}
.chicago-reader h3 {
  margin: 34px 0 14px;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(23px, 6vw, 32px);
  font-weight: 700;
  line-height: 1.35;
}
.chicago-reader h4 {
  margin: 24px 0 8px;
  color: #946f1e;
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 19px;
  font-weight: 700;
}
.chicago-reader p {
  margin: 0 0 1.15em;
  color: #243047;
  font-family: "Nanum Myeongjo", "AppleMyungjo", "Batang", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
}
.chicago-reader .affirm,
.chicago-reader .deny {
  padding: 12px 14px;
  border-left: 3px solid rgba(8, 52, 94, 0.48);
  background: #fbf8f0;
}
.chicago-reader .deny {
  border-left-color: rgba(123, 63, 75, 0.48);
}
.chicago-reader .affirm strong,
.chicago-reader .deny strong {
  display: inline-flex;
  margin-right: 8px;
  color: var(--navy);
  font-family: "Nanum Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 14px;
}
.thai-draft-box {
  margin-top: 26px;
  border: 1px solid var(--line);
  background: #f7f2e7;
}
.thai-draft-box summary {
  padding: 14px 16px;
  color: var(--navy);
  cursor: pointer;
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 20px;
  font-weight: 500;
}
.thai-draft-content {
  padding: 0 16px 14px;
}
.thai-draft-content h4 {
  margin: 20px 0 7px;
  color: var(--navy);
  font-family: Kanit, Mitr, "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 19px;
  font-weight: 500;
}
.thai-draft-content p {
  margin: 0 0 13px;
  color: #243047;
  font-family: Thonburi, "Sarabun", "Noto Sans Thai", Tahoma, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
}
@media (min-width: 680px) {
  h1 { font-size: 46px; }
  .hero-logo { width: 250px; margin-left: 0; }
  .confession-buttons,
  .download-list,
  .simple-grid,
  .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-heading {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}
@media (min-width: 980px) {
  .site-header { padding: 14px 28px; }
  .image-nav {
    min-height: 92px;
    grid-template-columns: 1.35fr 1fr 1fr 1.05fr;
  }
  .nav-logo,
  .nav-image-button {
    min-height: 90px;
    gap: 14px;
    padding: 12px 22px;
  }
  .nav-logo {
    justify-content: flex-start;
    padding-left: 28px;
  }
  .nav-logo-mark { width: 62px; height: 62px; }
  .logo-words { display: grid; }
  .logo-words strong { font-size: 31px; letter-spacing: 2px; }
  .logo-words small { font-size: 17px; letter-spacing: 6px; }
  .nav-icon,
  .bookmark-icon,
  .book-icon,
  .globe-icon {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 0;
    clip-path: none;
  }
  .nav-image-button:not(.thai-menu):not(.english-menu) { gap: 20px; }
  .nav-image-button strong { font-size: 28px; font-weight: 800; }
  .thai-menu strong { font-size: 34px; font-weight: 400; }
  .english-menu strong { font-size: 27px; line-height: 0.94; }
  .intro {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: center;
    gap: 42px;
    padding-top: 54px;
  }
  .intro-copy {
    max-width: 680px;
    margin: 0;
  }
  .intro-copy .lead {
    margin-top: 0;
  }
  .intro .hero-logo {
    width: 300px;
    margin: 0;
  }
  .home-intro {
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 30px;
    padding-top: 34px;
    padding-bottom: 8px;
  }
  .home-intro .hero-logo {
    width: 235px;
    margin: 0;
  }
  .korean-intro .korean-wordmark {
    width: 220px;
  }
  .korean-wordmark img {
    width: 96px;
  }
  .korean-wordmark strong {
    font-size: 34px;
  }
  .korean-wordmark small {
    font-size: 22px;
  }
  .intro .share-links {
    justify-content: flex-start;
    margin: 22px 0 0;
  }
  .korean-intro .share-links {
    margin-top: 16px;
    margin-bottom: 6px;
  }
  .korean-reader-shell {
    width: min(1240px, calc(100vw - 56px));
    margin: 0 50% 26px;
    transform: translateX(-50%);
  }
  .confession-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .download-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .playlist-video-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
  }
  .playlist-frame-wrap {
    margin-top: 0;
  }
  .reader-heading,
  .background-panel,
  .downloads,
  .source-panel,
  .text-reader,
  .resource-section {
    padding-left: 28px;
    padding-right: 28px;
  }
  .text-reader p { font-size: 19px; }
}
