/*
Theme Name: 홀인원 토닥이
Description: 사진과 이용 정보를 위한 중앙 프레임 테마.
Version: 2.7.0
Text Domain: holinone
*/

/* 1. Tokens and foundation */
:root {
  --hl-width: 640px;
  --hl-paper: #fff;
  --hl-ground: #eeedea;
  --hl-ink: #191918;
  --hl-muted: #666660;
  --hl-line: #ddddd7;
  --hl-soft: #f5f5f2;
  --hl-gutter: clamp(20px, 5.2vw, 32px);
  --hl-header: 72px;
  --hl-admin: 0px;
  --hl-font: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hl-header) + var(--hl-admin) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--hl-ink); background: var(--hl-ground); font-family: var(--hl-font); font-size: 15px; line-height: 1.8; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: break-word; }
body.admin-bar { --hl-admin: 32px; }
html:has(body.admin-bar) { --hl-admin: 32px; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
button, a, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--hl-ink); outline-offset: 4px; }
::selection { color: #fff; background: #30302d; }
[hidden] { display: none !important; }
.screen-reader-text, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 50%; z-index: 10000; transform: translate(-50%, -200%); background: var(--hl-ink); color: #fff; padding: 10px 18px; }
.skip-link:focus { transform: translate(-50%, 0); }
.hl-shell { width: 100%; max-width: var(--hl-width); min-height: 100svh; margin-inline: auto; background: var(--hl-paper); }

/* 2. The same frame and navigation on every screen */
.site-header { position: sticky; top: var(--hl-admin); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; max-width: var(--hl-width); min-height: var(--hl-header); margin-inline: auto; padding: 12px var(--hl-gutter); background: var(--hl-paper); border-bottom: 1px solid var(--hl-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.brand { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; color: var(--hl-ink); font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.065em; text-decoration: none; }
.brand-mark { display: inline-block; align-self: center; font-size: 9px; line-height: 1; margin-right: 2px; }
.brand-main, .brand > b { font-weight: 650; }
.brand-sub, .brand > span:not(.brand-mark):not(.brand-main) { font-size: 12px; font-weight: 450; letter-spacing: -.025em; }
.desktop-nav { display: none; }
.mobile-menu { margin: 0; padding: 0; border: 0; }
.menu-summary { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 54px; min-height: 44px; padding: 0; font-size: 12px; font-weight: 500; list-style: none; }
.menu-summary::-webkit-details-marker { display: none; }
.menu-summary::after { content: ""; width: 15px; height: 8px; border-block: 1px solid currentColor; }
.mobile-menu[open] .menu-summary::after { height: 1px; border-bottom: 0; }
.mobile-links { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 10px var(--hl-gutter) 22px; background: var(--hl-paper); border-bottom: 1px solid var(--hl-ink); max-height: calc(100svh - var(--hl-header) - var(--hl-admin) - 72px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-links ul { list-style: none; padding: 0; margin: 0; }
.mobile-links a { display: flex; align-items: center; min-height: 48px; padding-block: 10px; border-bottom: 1px solid var(--hl-line); font-size: 15px; text-decoration: none; }
.mobile-links a:hover, .mobile-links a[aria-current="page"] { text-decoration: underline; }
.site-main { width: 100%; max-width: var(--hl-width); min-height: 55svh; margin-inline: auto; background: var(--hl-paper); }
.hl-page, .hl-home { padding: 0 var(--hl-gutter) 64px; }
.hl-page > :first-child, .hl-home > :first-child { margin-top: 0; }

/* 3. Editorial type, quiet rules, and section rhythm */
.hl-hero { padding: 44px 0 36px; border-bottom: 1px solid var(--hl-ink); }
.eyebrow { display: block; margin: 0 0 15px; color: var(--hl-muted); font-size: 10px; font-weight: 550; line-height: 1.6; letter-spacing: .12em; }
.hl-hero h1 { max-width: 100%; margin: 0; font-size: clamp(30px, 7.8vw, 44px); font-weight: 550; line-height: 1.32; letter-spacing: -.065em; text-wrap: balance; }
.hl-hero > p:not(.eyebrow) { max-width: 34em; margin: 20px 0 0; color: #4e4e48; font-size: 15px; line-height: 1.9; }
.hl-hero strong { font-weight: 550; color: var(--hl-ink); }
.lead { margin-top: 22px; color: #4e4e48; font-size: 16px; line-height: 1.9; }
.hl-hero .hl-links { margin-top: 25px; }
.hl-page:not(.hl-home) > .hl-hero { padding-top: 28px; padding-bottom: 25px; }
.hl-home > .hl-hero { padding: 24px 0 18px; border-bottom: 0; }
.hl-home > .hl-hero h1 { font-size: 34px; }
.hl-intro { padding-top: 20px; }
.hl-home > .entry-content > .hl-intro { padding-top: 0; }
.hl-home .hl-intro > p { font-size: 15px; line-height: 1.8; }
.hl-home .hl-intro .hl-links { display: flex; flex-wrap: wrap; column-gap: 14px; row-gap: 0; margin: 12px 0 0; border: 0; }
.hl-home .hl-intro .hl-links > a { display: inline-flex; flex: 0 1 auto; justify-content: flex-start; gap: 5px; min-height: 44px; padding: 8px 0; border: 0; font-size: 12px; }
.hl-home .hl-intro .hl-links > a::after { font-size: 12px; }
.hl-home #managers { margin-top: 24px; }
.hl-section, .hl-profiles, .hl-course, .hl-faq, .hl-related { margin-top: 46px; }
.hl-section .hl-section { margin-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 18px; row-gap: 8px; margin-bottom: 20px; }
.section-head h2, .section-head h3 { margin: 0; }
.section-head > p, .section-head > span, .section-head > a { margin: 0; color: var(--hl-muted); font-size: 12px; font-weight: 400; }
.hl-page h2, .hl-home h2 { margin: 0 0 18px; font-size: 24px; font-weight: 550; line-height: 1.45; letter-spacing: -.055em; }
.hl-page h3, .hl-home h3 { margin: 28px 0 10px; font-size: 18px; font-weight: 550; line-height: 1.55; letter-spacing: -.035em; }
.hl-page .section-head h2, .hl-home .section-head h2 { margin: 0; }
.hl-page p, .hl-home p { margin: 0 0 16px; }
.hl-page .hl-hero > p, .hl-home .hl-hero > p { margin: 20px 0 0; }
.hl-page .hl-hero > .eyebrow, .hl-home .hl-hero > .eyebrow { margin: 0 0 15px; }
.hl-page p:last-child, .hl-home p:last-child { margin-bottom: 0; }
.hl-page ul, .hl-page ol, .hl-home ul, .hl-home ol { padding-left: 20px; margin: 16px 0; }
.hl-page li, .hl-home li { padding-left: 3px; margin: 6px 0; }
.hl-page strong, .hl-home strong { font-weight: 600; }
.hl-page hr, .hl-home hr { margin: 36px 0; border: 0; border-top: 1px solid var(--hl-line); }
.hl-page blockquote, .hl-home blockquote { margin: 25px 0; padding: 2px 0 2px 18px; border-left: 1px solid var(--hl-ink); }
.hl-note { margin: 22px 0; padding: 16px 0 0; border-top: 1px solid var(--hl-line); color: var(--hl-muted); font-size: 13px; line-height: 1.85; }
.hl-note strong { color: var(--hl-ink); }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 23px; color: var(--hl-muted); font-size: 11px; line-height: 1.7; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs + .hl-hero { padding-top: 27px; }

/* 4. Profiles: one complete 4:5 photograph, no invented metadata */
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin: 0; padding: 0; }
.profile-card { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
.profile-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: var(--hl-soft); text-decoration: none; }
button.profile-photo, a.profile-photo[data-profile-open] { cursor: zoom-in; }
.profile-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.profile-photo:focus-visible { outline-offset: 4px; }
.profile-label { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; padding-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.6; }
.profile-label h2, .profile-label h3, .profile-label p, .profile-label strong { margin: 0; font-size: inherit; font-weight: 500; letter-spacing: -.03em; }
.profile-label span, .profile-label small { color: var(--hl-muted); font-size: 11px; font-weight: 400; }
.profile-label a { font-size: 11px; font-weight: 400; text-decoration: none; }
.profile-label a:hover { text-decoration: underline; }
.profile-card > p { margin-top: 5px; color: var(--hl-muted); font-size: 12px; }
.hl-page .profile-hint, .hl-home .profile-hint { margin: 0 0 14px; color: var(--hl-muted); font-size: 12px; line-height: 1.7; }
.profile-card > a:not(.profile-photo) { display: inline-flex; align-items: center; min-height: 36px; font-size: 12px; }

/* 5. Courses, ordinary prose, and link rows */
.table-wrap { max-width: 100%; margin: 20px 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-wrap .course-table { margin: 0; }
.course-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--hl-ink); table-layout: fixed; margin: 20px 0; font-size: 14px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.course-table caption { padding: 0 0 13px; text-align: left; font-size: 13px; color: var(--hl-muted); }
.course-table th, .course-table td { padding: 17px 8px; border-bottom: 1px solid var(--hl-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.course-table th:first-child, .course-table td:first-child { padding-left: 0; }
.course-table th:last-child, .course-table td:last-child { padding-right: 0; text-align: right; }
.course-table thead th { color: var(--hl-muted); font-size: 11px; font-weight: 450; }
.course-table tbody th { font-weight: 550; }
.course-table small { display: block; margin-top: 5px; color: var(--hl-muted); font-size: 11px; font-weight: 400; }
.hl-course > h3 { margin-top: 0; }
.hl-course + .hl-course { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--hl-line); }
.hl-links { display: grid; border-top: 1px solid var(--hl-line); }
.hl-link, .hl-links > a { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; padding: 15px 0; border-bottom: 1px solid var(--hl-line); font-size: 15px; line-height: 1.6; text-decoration: none; }
.hl-link::after, .hl-links > a::after { content: "↗"; flex: none; font-size: 17px; font-weight: 400; }
.hl-link:hover, .hl-links > a:hover { text-decoration: underline; }
.hl-link small { color: var(--hl-muted); font-size: 12px; }
.hl-button, .button, a.wp-element-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid var(--hl-ink); border-radius: 0; background: var(--hl-ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.hl-button:hover, .button:hover { background: #363633; }
.hl-button--secondary { background: transparent; color: var(--hl-ink); }
.hl-button--secondary:hover { background: var(--hl-soft); }
.hl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hl-actions > * { flex: 1 1 auto; }

/* 6. Native disclosure and meaningful local navigation */
.hl-faq > details, .hl-faq .faq-item { border-top: 1px solid var(--hl-line); }
.hl-faq > details:last-child, .hl-faq .faq-item:last-child { border-bottom: 1px solid var(--hl-line); }
.hl-faq summary { position: relative; display: block; min-height: 58px; padding: 17px 30px 17px 0; font-size: 15px; font-weight: 500; line-height: 1.7; list-style: none; }
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary::after { content: "+"; position: absolute; right: 1px; top: 17px; font-size: 19px; font-weight: 350; line-height: 1.3; }
.hl-faq details[open] > summary::after { content: "−"; }
.hl-faq details > p, .hl-faq details > div { margin: 0; padding: 0 20px 20px 0; color: #55554f; font-size: 14px; line-height: 1.85; }
.hl-area-groups { display: grid; gap: 26px; margin-top: 22px; }
.hl-area-groups h3 { margin: 0 0 9px; font-size: 15px; }
.area-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.area-links a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--hl-line); font-size: 14px; text-decoration: none; }
.area-links a:hover { border-color: var(--hl-ink); }
.hub-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 24px 0; border-top: 1px solid var(--hl-ink); }
.hub-index a { display: flex; align-items: center; min-height: 50px; padding: 12px 0; border-bottom: 1px solid var(--hl-line); font-size: 14px; text-decoration: none; }
.hub-index a:hover { text-decoration: underline; }
.hl-page input[type="search"], .hl-home input[type="search"] { display: block; width: 100%; min-height: 48px; margin: 18px 0; padding: 12px 14px; color: var(--hl-ink); border: 1px solid var(--hl-line); border-radius: 0; background: var(--hl-paper); -webkit-appearance: none; }
.hl-page input[type="search"]::placeholder, .hl-home input[type="search"]::placeholder { color: var(--hl-muted); opacity: 1; }
.hl-related { padding-top: 26px; border-top: 1px solid var(--hl-ink); }
.hl-related h2 { font-size: 18px; }

/* 7. Footer and fixed consultation bar */
.site-footer { width: 100%; max-width: var(--hl-width); margin-inline: auto; padding: 30px var(--hl-gutter) calc(108px + env(safe-area-inset-bottom)); background: var(--hl-soft); border-top: 1px solid var(--hl-line); font-size: 11px; line-height: 1.9; color: var(--hl-muted); }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { color: var(--hl-ink); font-size: 15px; font-weight: 550; letter-spacing: -.04em; }
.footer-nav, .footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hl-line); }
.site-footer p { margin: 0 0 8px; }
.hl-contact-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.hl-contact-links a, .hl-contact-links button, .hl-contact-links > span { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 120px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--hl-line); color: var(--hl-ink); background: transparent; font-size: 13px; line-height: 1.6; text-decoration: none; }
.hl-contact-links a:hover { border-color: var(--hl-ink); }
.hl-contact-links [aria-disabled="true"], .hl-contact-links :disabled, .hl-contact-links .is-disabled { color: var(--hl-muted); cursor: default; }
.bottom-nav { position: fixed; z-index: 60; bottom: 0; left: 50%; transform: translateX(-50%); display: flex; width: 100%; max-width: var(--hl-width); padding-bottom: env(safe-area-inset-bottom); background: var(--hl-paper); border-top: 1px solid var(--hl-ink); }
.bottom-nav a { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 62px; padding: 11px 7px; border-right: 1px solid var(--hl-line); color: var(--hl-ink); font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; text-decoration: none; }
.bottom-nav a:last-child { border-right: 0; background: var(--hl-ink); color: #fff; }
.bottom-nav a:hover { text-decoration: underline; }
.bottom-nav small { font-size: 10px; font-weight: 400; }
.bottom-nav svg { width: 17px; height: 17px; stroke-width: 1.5; }

/* 8. One reusable photo dialog */
html.hl-dialog-open { overflow: hidden; }
.hl-profile-dialog { width: calc(100% - 28px); max-width: 510px; max-height: calc(100svh - 28px); margin: auto; padding: 0; border: 0; border-radius: 0; color: var(--hl-ink); background: var(--hl-paper); overflow: auto; overscroll-behavior: contain; }
.hl-profile-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.hl-profile-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 9px 5px 20px; }
.hl-profile-dialog__title { margin: 0; font-size: 14px; font-weight: 550; line-height: 1.6; }
.hl-profile-dialog__close { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; padding: 10px; border: 0; background: transparent; font-size: 12px; }
.hl-profile-dialog__close:hover { text-decoration: underline; }
.hl-profile-dialog__image { display: block; width: 100%; max-height: calc(100svh - 84px); object-fit: contain; background: var(--hl-soft); }

/* 9. WordPress output and narrow screens */
.wp-block-image { margin: 24px 0; }
.wp-block-image figcaption { margin-top: 8px; color: var(--hl-muted); font-size: 12px; }
.wp-block-table { margin: 20px 0; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { padding: 14px 8px; border-bottom: 1px solid var(--hl-line); text-align: left; }
@media (min-width: 641px) {
  .hl-shell { border-inline: 1px solid var(--hl-line); }
  .profile-grid { gap: 30px 16px; }
}
@media (max-width: 782px) {
  body.admin-bar { --hl-admin: 46px; }
  html:has(body.admin-bar) { --hl-admin: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}
@media (max-width: 374px) {
  :root { --hl-gutter: 18px; }
  .hl-hero h1 { font-size: 29px; }
  .profile-grid { gap: 24px 10px; }
  .course-table { font-size: 12px; }
  .course-table th, .course-table td { padding-inline: 5px; }
  .bottom-nav a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; }
  .hl-shell { max-width: none; border: 0; }
  .site-header { position: static; }
  .mobile-menu, .bottom-nav, .skip-link { display: none; }
  .site-footer { padding-bottom: 24px; }
  .profile-card, .hl-course, .course-table tr { break-inside: avoid; }
}

/* Service-led homepage. Profiles are owned by /managers/. */
body.home .hl-home { padding-bottom: 64px; }
body.home .home-cover { margin: 0 calc(-1 * var(--hl-gutter)); }
body.home .home-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
body.home .hl-home-hero { padding: 34px 0 36px; }
body.home .home-site-title { margin: 0; font-size: clamp(30px, 8vw, 38px); line-height: 1.3; font-weight: 650; letter-spacing: -.045em; }
body.home .hl-home .home-headline { margin: 12px 0 0; font-size: 18px; font-weight: 500; line-height: 1.65; letter-spacing: -.025em; }
body.home .hl-home .home-description { margin: 20px 0 0; color: #454641; font-size: 16px; line-height: 1.85; letter-spacing: -.015em; }
body.home .home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
body.home .home-hero-actions a { display: inline-flex; flex: 1 1 auto; min-height: 48px; align-items: center; justify-content: center; padding: 10px 8px; border-bottom: 1px solid var(--hl-ink); text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.5; }
body.home .home-hero-actions .home-primary { background: var(--hl-ink); color: white; border: 1px solid var(--hl-ink); }
body.home .home-hero-actions a:hover { text-decoration: underline; }
body.home .hl-home-section { padding: 40px 0; border-top: 1px solid var(--hl-line); }
body.home .hl-home .hl-home-section h2 { margin: 0 0 24px; font-size: 23px; font-weight: 650; line-height: 1.5; letter-spacing: -.035em; text-wrap: balance; }
body.home .hl-home .hl-home-section > p { margin: 0 0 22px; color: #30312d; font-size: 16px; line-height: 1.85; letter-spacing: -.015em; }
body.home .hl-home .hl-home-section > p:last-child { margin-bottom: 0; }
body.home .hl-home .home-text-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hl-ink); font-size: 15px; line-height: 1.65; }
body.home .hl-home #home-courses .course-table { font-size: 14px; line-height: 1.75; letter-spacing: -.02em; }
body.home .hl-home #home-courses .course-table thead th { font-size: 12px; }
body.home .hl-home #home-courses .course-table :is(th,td) { padding: 16px 5px; overflow-wrap: break-word; }
body.home .hl-home #home-courses .course-table :is(th,td):nth-child(1) { width: 15%; padding-left: 0; }
body.home .hl-home #home-courses .course-table :is(th,td):nth-child(2) { width: 18%; white-space: nowrap; }
body.home .hl-home #home-courses .course-table :is(th,td):nth-child(3) { width: 46%; }
body.home .hl-home #home-courses .course-table :is(th,td):nth-child(4) { width: 21%; padding-right: 0; white-space: nowrap; }
body.home .home-area-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; margin: 22px 0 12px; border-top: 1px solid var(--hl-line); }
body.home .home-area-links a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--hl-line); font-size: 16px; text-decoration: none; }
body.home .home-area-links a:hover { text-decoration: underline; }
@media (min-width: 560px) { .home-title-break { display: none; } }
@media (max-width: 374px) {
  body.home .home-hero-actions { gap: 9px; }
  body.home .hl-home .hl-home-section h2 { font-size: 22px; }
  body.home .hl-home #home-courses .course-table :is(th,td) { padding-inline: 4px; }
}

/* Holinone homepage: blue ink, gold rings, and diagrams on open paper. */
body.home {
  --home-blue: #17549c;
  --home-gold: #b58a39;
  --home-rule: #d9e0e7;
}

body.home .hl-home .hl-home-section > .home-section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.6;
  letter-spacing: .015em;
}
body.home .home-section-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid var(--home-gold);
  border-radius: 50%;
}

/* A compact chapter index, without another panel or button stack. */
body.home .home-visual-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
  margin: 0 0 8px;
  border-top: 1px solid var(--home-rule);
}
body.home .home-visual-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid var(--home-rule);
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
}
body.home .home-visual-nav a::after { content: "↓"; flex: 0 0 auto; }
body.home .home-visual-nav a:hover { text-decoration: underline; }

/* Two considerations can coexist; the circles intentionally do not rank them. */
body.home .home-choice-graphic { margin: 28px 0 30px; }
body.home .choice-axis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 24px 0 20px;
  border-block: 1px solid var(--home-rule);
}
body.home .choice-axis > div { min-width: 0; }
body.home .choice-axis > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--home-rule);
}
body.home .choice-symbol {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 0 20px;
  border: 2px solid var(--home-gold);
  border-radius: 50%;
}
body.home .choice-symbol::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 2px solid var(--home-blue);
  border-radius: 50%;
}
body.home .choice-axis > div + div .choice-symbol::after {
  inset: 9px 1px 9px 17px;
  background: #fff;
}
body.home .hl-home .choice-axis h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.025em;
}
body.home .hl-home .choice-axis p {
  margin: 0 0 10px;
  color: #343a40;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: -.015em;
}
body.home .choice-axis a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 550;
}
body.home .home-choice-graphic figcaption,
body.home .home-editorial-image figcaption {
  margin-top: 12px;
  color: #59636d;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: -.01em;
}

/* Images interrupt long prose, while captions stay in live, selectable text. */
body.home .home-editorial-image { margin: 30px 0; }
body.home .home-editorial-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}
body.home .hl-home .home-pullquote {
  margin: 32px 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--home-gold);
}
body.home .hl-home .home-pullquote p {
  margin: 0;
  color: var(--home-blue);
  font-size: clamp(21px, 5.8vw, 25px);
  font-weight: 550;
  line-height: 1.7;
  letter-spacing: -.035em;
  text-wrap: balance;
}
body.home .home-pullquote .quote-brand {
  display: block;
  margin-top: 12px;
  color: #59636d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .02em;
}

/* Both course options remain side by side, including at 360px. */
body.home .home-course-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0 20px;
  padding: 25px 0 23px;
  border-block: 1px solid var(--home-rule);
}
body.home .course-option { min-width: 0; }
body.home .course-option + .course-option {
  padding-left: 23px;
  border-left: 1px solid var(--home-rule);
}
body.home .hl-home .course-option .course-name {
  margin: 0 0 12px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}
body.home .course-option .course-duration {
  display: inline-block;
  color: var(--hl-ink);
  font-size: 44px;
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
body.home .course-duration span,
body.home .course-duration + span {
  margin-left: 5px;
  color: #454e57;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -.015em;
}
body.home .hl-home .course-option .course-price {
  margin: 12px 0 18px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
body.home .course-price > span { display: block; margin-bottom: 3px; color: #59636d; font-size: 12px; font-weight: 400; }
body.home .hl-home .hl-home-section > .home-course-note { color: #59636d; font-size: 13px; line-height: 1.75; }
body.home .course-bar {
  height: 3px;
  margin: 0 0 18px;
  background: #e3e8ed;
}
body.home .course-bar::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--home-blue);
}
body.home .course-option[data-course="B"] .course-bar::before { width: 75%; }
body.home .hl-home .course-option .course-components,
body.home .hl-home .course-option .course-signature {
  margin: 0;
  color: #343a40;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: -.01em;
}
body.home .hl-home .course-option .course-signature {
  margin-top: 8px;
  color: var(--home-blue);
  font-weight: 600;
}
body.home .home-course-table {
  margin: 22px 0 26px;
  border-block: 1px solid var(--home-rule);
}
body.home .home-course-table summary {
  position: relative;
  display: block;
  min-height: 50px;
  padding: 13px 28px 13px 0;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.7;
  list-style: none;
}
body.home .home-course-table summary::-webkit-details-marker { display: none; }
body.home .home-course-table summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 11px;
  color: var(--home-blue);
  font-size: 20px;
  font-weight: 400;
}
body.home .home-course-table[open] summary::after { content: "−"; }
body.home .home-course-table .course-table { margin-top: 4px; }

/* Repeat visits: two equal paths, not a preference test. */
body.home .home-choice-paths { margin: 27px 0; }
body.home .home-choice-paths > div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--home-rule);
}
body.home .home-choice-paths > div:last-child { border-bottom: 1px solid var(--home-rule); }
body.home .home-choice-paths dt {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}
body.home .home-choice-paths dt::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--home-gold);
  border-radius: 50%;
}
body.home .home-choice-paths dd {
  margin: 0;
  color: #343a40;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -.01em;
}
body.home .home-area-links a { color: var(--home-blue); }
body.home .home-area-links a:hover { border-bottom-color: var(--home-blue); }

/* A short, vertically aligned preparation sequence. */
body.home .hl-home .home-booking-steps {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
body.home .hl-home .home-booking-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 15px;
  row-gap: 7px;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--home-rule);
}
body.home .hl-home .home-booking-steps li:last-child { border-bottom: 1px solid var(--home-rule); }
body.home .home-booking-steps .step-number {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 2px;
  color: var(--home-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  font-variant-numeric: tabular-nums;
}
body.home .home-booking-steps strong {
  grid-column: 2;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}
body.home .hl-home .home-booking-steps p {
  grid-column: 2;
  margin: 0;
  color: #454e57;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: -.015em;
}
body.home .home-visual-nav a:focus-visible,
body.home .choice-axis a:focus-visible,
body.home .home-area-links a:focus-visible,
body.home .home-course-table summary:focus-visible {
  outline-color: var(--home-blue);
}

@media (max-width: 420px) {
  body.home .choice-axis { gap: 17px; }
  body.home .choice-axis > div + div { padding-left: 16px; }
  body.home .hl-home .choice-axis h3 { font-size: 17px; }
  body.home .home-course-compare { gap: 17px; }
  body.home .course-option + .course-option { padding-left: 16px; }
  body.home .course-option .course-duration { font-size: 38px; }
  body.home .hl-home .course-option .course-price { font-size: 19px; }
  body.home .home-choice-paths > div { grid-template-columns: 103px minmax(0, 1fr); gap: 14px; }
  body.home .home-choice-paths dt { gap: 7px; font-size: 14px; }
  body.home .home-choice-paths dd { font-size: 14px; }
}
@media print {
  body.home .home-choice-graphic,
  body.home .home-editorial-image,
  body.home .home-course-compare,
  body.home .home-booking-steps li { break-inside: avoid; }
}

/* Holinone detailed guides: opening answer and choice criteria. */

/* 1. Opening answer and next links: the homepage's blue ink. */
:is(#post-16, #post-46, #post-10) > .entry-content > .hl-intro > .lead {
  color: #17549c;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.85;
}

:is(#post-16, #post-46, #post-10) > .entry-content > .hl-intro .hl-links > a {
  color: #17549c;
  font-weight: 500;
}

:is(#post-16, #post-46, #post-10) > .entry-content > .hl-intro .hl-links > a:focus-visible {
  outline-color: #17549c;
}

/* 2. One quiet list pattern for the two existing explanation lists. */
:is(#post-16 #meaning, #post-46 #manager-choice) > ul {
  margin: 24px 0;
  padding-left: 20px;
  list-style-type: disc;
}

:is(#post-16 #meaning, #post-46 #manager-choice) > ul > li {
  margin: 0;
  padding: 14px 0 14px 3px;
  border-top: 1px solid #d9e0e7;
  line-height: 1.85;
  overflow-wrap: break-word;
}

:is(#post-16 #meaning, #post-46 #manager-choice) > ul > li:last-child {
  border-bottom: 1px solid #d9e0e7;
}

:is(#post-16 #meaning, #post-46 #manager-choice) > ul > li > strong {
  color: #17549c;
  font-weight: 600;
}

/* Holinone explanatory images: preserve complete artwork and text. */
.entry-content .hl-page-visual {
  margin: 26px 0 30px;
  max-width: 100%;
}
.entry-content .hl-page-visual .hl-visual-image {
  display: block;
  color: inherit;
  line-height: 0;
  cursor: zoom-in;
  border: 0;
}
.entry-content .hl-page-visual .hl-visual-image:focus-visible {
  outline: 3px solid #17549c;
  outline-offset: 5px;
}
.entry-content .hl-page-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.entry-content .hl-page-visual figcaption {
  margin-top: 13px;
  color: #485766;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.entry-content .hl-page-visual .hl-visual-caption {
  display: block;
}
body.home .hl-page-visual .choice-axis {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}
body.home .hl-page-visual .choice-symbol {
  display: none;
}
body.home .hl-home .hl-page-visual .choice-axis h3 {
  font-size: 17px;
  line-height: 1.5;
}
body.home .hl-home .hl-page-visual .choice-axis p {
  margin: 8px 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

/* Holinone detail imagery 20261001 */
.hl-detail-visual{margin:0 0 28px;width:100%;line-height:0;overflow:hidden;border-radius:14px;background:#f5f4ef}.hl-detail-visual img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain}.hl-detail-image-link{display:block}.hl-region-hero{margin-top:0}.hl-detail-visual+*{margin-top:0}body.home .home-cover img{aspect-ratio:auto;height:auto;object-fit:contain}@media(max-width:480px){.hl-detail-visual{border-radius:10px;margin-bottom:24px}}
