/* ==========================================================================
   pages-admissions.css — 招生資訊 (20–25) and 家長專區 (28–33) inner pages.
   Prefix: .jh-pd-*. Builds on base.css v2.1 helpers (.jh-rows, .jh-note …).
   ========================================================================== */

/* inline 【待…】 marker: visible but quiet */
.jh-content .jh-pd-todo { color: var(--jh-muted); font-size: .9em; white-space: nowrap; }

/* notice at the top of a page (e.g. "this is the 115 brochure") */
.jh-content .jh-pd-banner { margin: 0 0 1.6em; padding: 18px 22px; border-left: 4px solid var(--jh-orange); border-radius: 0 var(--jh-radius-sm) var(--jh-radius-sm) 0; background: var(--jh-sun); color: var(--jh-ink); }
.jh-content .jh-pd-banner p:last-child { margin-bottom: 0; }

/* label/value rows with long values: label column + left-aligned value */
.jh-content .jh-pd-kv > div { flex-wrap: nowrap; justify-content: flex-start; }
.jh-content .jh-pd-kv dt { flex: 0 0 9.5em; }
.jh-content .jh-pd-kv dd { flex: 1 1 auto; text-align: left; }
@media (max-width: 600px) {
	.jh-content .jh-pd-kv > div { gap: 4px 14px; padding: 14px 0; }
	.jh-content .jh-pd-kv dt { flex-basis: 6.6em; font-size: 15px; }
}
.jh-content a[href^="tel:"]:not(.wp-block-button__link) { white-space: nowrap; }
.jh-content .jh-pd-num { font-family: var(--jh-font-display); font-weight: 400; font-size: 1.35em; color: var(--jh-blue-900); font-variant-numeric: tabular-nums; }

/* section index on the two overview pages */
.jh-content .jh-pd-index { margin: 1.2em 0 2em; padding: 0; border-top: 1.5px solid var(--jh-ink); }
.jh-content .jh-pd-index > li { display: grid; grid-template-columns: 13em 1fr; gap: 4px 24px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--jh-line); }
.jh-content .jh-pd-index > li::before { display: none; }
.jh-content .jh-pd-index a { font-weight: 700; }
.jh-content .jh-pd-index span { font-size: 15.5px; color: var(--jh-text); }
@media (max-width: 600px) { .jh-content .jh-pd-index > li { grid-template-columns: 1fr; } }

/* phone call box */
.jh-content .jh-pd-call { margin: 2.6em 0 0; padding: 26px 28px; border: 1.5px solid var(--jh-line-2, var(--jh-line)); border-radius: var(--jh-radius); background: var(--jh-cream); }
.jh-content .jh-pd-call p { margin: 0 0 .7em; }
.jh-content .jh-pd-call__title { font-family: var(--jh-font-display); font-size: 22px; line-height: 1.4; color: var(--jh-ink); }
.jh-content .jh-pd-call .wp-block-buttons { margin: 16px 0 0; }
.jh-content .jh-pd-big a { font-family: var(--jh-font-display); font-size: clamp(30px, 2vw + 20px, 40px); line-height: 1.2; letter-spacing: .04em; color: var(--jh-blue-900); text-decoration: none; }
.jh-content > .jh-pd-call:first-child { margin-top: 0; }

/* buttons row: wrap nicely on phones */
.jh-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0 1.6em; }
@media (max-width: 480px) {
	.jh-content .wp-block-buttons > .wp-block-button { width: 100%; }
	.jh-content .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* 入園流程 steps: numbered list with a thin connecting line */
.jh-content .jh-pd-steps > li { margin: 0; padding: 0 0 28px 52px; }
.jh-content .jh-pd-steps > li::before { content: counter(jh-ol); left: 0; top: 0; width: 34px; min-width: 0; height: 34px; border-radius: 50%; background: var(--jh-blue-900); color: #fff; font-family: var(--jh-font-display); font-size: 17px; line-height: 34px; text-align: center; }
.jh-content .jh-pd-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--jh-line-2, var(--jh-line)); }
.jh-content .jh-pd-steps strong { display: block; font-size: 19px; line-height: 1.5; }
.jh-content .jh-pd-when { display: block; margin: 2px 0 6px; font-size: 15px; font-weight: 700; color: var(--jh-aqua-ink); }

/* tables: keep the narrow two-column tables from stretching on desktop */
.jh-content .jh-pd-fee table { max-width: 520px; }
.jh-content .jh-pd-cal td:first-child { width: 42%; font-weight: 500; color: var(--jh-ink); }
@media (max-width: 600px) { .jh-content .jh-pd-cal td:first-child { width: 46%; } }

/* 下載專區 */
.jh-content .jh-pd-files { margin: 0 0 2em; padding: 0; border-top: 1.5px solid var(--jh-ink); }
.jh-content .jh-pd-files > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--jh-line); }
.jh-content .jh-pd-files > li::before { display: none; }
.jh-content .jh-pd-files strong { display: block; }
.jh-content .jh-pd-files span:not(.jh-pd-todo) { display: block; font-size: 15px; color: var(--jh-muted); }
.jh-content .jh-pd-files .jh-btn { text-decoration: none; }

/* online booking slot: empty until the form arrives */
.jh-visit-form-slot:empty { display: none; }
