/* ==========================================================================
   吉米亨利幼兒園 — base.css (design system v2.1 "less AI, more 幼兒園")
   1 Tokens · 2 Base & typography · 3 Layout helpers · 4 Buttons, cards, chips
   4b Hand-made helpers · 5 Motion utilities · 6 Header · 7 Drawer · 8 Mobile bar & to-top
   9 Inner hero & sub-nav · 10 Content · 11 News list & single · 12 Footer
   13 Parent-theme neutralisers · 14 Reduced motion

   v2.1 rules (see design-humanize.md): Huninn only for h1/h2, big numbers and .jh-note.
   Everything else (menu, buttons, h3+, card titles) is Noto Sans TC 500/700.
   Cards are flat (1.5px border, no shadow). No looping float/spin/blob animation:
   .jh-float*, .jh-spin-slow, .jh-blob and .jh-wave-anim still exist but are inert.

   ---- Helper classes for page writers (all safe inside .jh-content) ----------
   .jh-split            two columns, 5/12 text + 7/12 media, stacks under 860px.
                        <div class="jh-split"><div>text…</div><div>photo…</div></div>
     .jh-split--rev     media first on desktop (7/12 left, 5/12 right).
     .jh-split--even    6/6 columns.  .jh-split--top  align to top instead of centre.
   .jh-photo            "printed photo": white border, soft shadow, tilted ±1.5°.
                        <figure class="jh-photo"><img src=… alt=…><figcaption>中秋節，大家一起做月餅</figcaption></figure>
                        The figcaption is written in the handwritten style under the photo.
     .jh-photo--l / --r tilt left (-1.8°) / right (1.6°); default is -1.2°. .jh-photo--flat = no tilt.
     .jh-photo--wide    16:10 crop; .jh-photo--tall 4:5 crop; .jh-photo--square 1:1 (img is object-fit: cover).
   .jh-tape             washi-tape strip on top of a .jh-photo (put it on the figure: class="jh-photo jh-tape").
     .jh-tape--blue / --green  tape colour (default orange).  Use on 1–2 photos per page.
   .jh-note             handwritten-style note (Huninn, peri, rotated -2°). <p class="jh-note">每月都有小小壽星慶生會</p>
   .jh-squiggle         hand-drawn underline under ONE key word per page: <span class="jh-squiggle">長大</span>
   .jh-sticker          an ocean-animal <img> as a sticker (white outline, slight tilt, wiggles on hover).
   .jh-label            plain small label above a heading (replaces dotted eyebrows; .jh-eyebrow now looks the same).
   .jh-facts            a typographic fact row: <dl class="jh-facts"><div><dt>2009</dt><dd>年核准設立</dd></div>…</dl>
   .jh-newslist         dated news list, output by the shortcode [jh_latest_news count="3" cat="招生公告-slug"].
   .jh-rows             ruled list of label/value rows (fees, contacts): <dl class="jh-rows"><div><dt>第1胎</dt><dd>$3,000</dd></div>…</dl>
   ========================================================================== */

/* 1 ─ Tokens ------------------------------------------------------------- */
:root {
	--jh-blue-900: #001489;
	--jh-blue-700: #1A2FA0;
	--jh-ink: #17204D;
	--jh-text: #4A5070;
	--jh-muted: #7A80A0;
	--jh-peri: #5B7FDB;
	--jh-aqua: #00AEC7;
	--jh-aqua-600: #0090A8;
	--jh-aqua-ink: #0A7486;
	--jh-green: #78BE20;
	--jh-orange: #FFB25B;
	--jh-orange-600: #F39A3A;
	--jh-cream: #FFF9F1;
	--jh-sky: #EEF3FF;
	--jh-sea: #E6F7FA;
	--jh-sun: #FFF1DF;
	--jh-leaf: #EFF8E3;
	--jh-white: #FFFFFF;
	--jh-line: #E6E9F5;
	--jh-line-2: #D6DBEC;
	--jh-paper: #FFFDF8;
	--jh-shadow-sm: 0 1px 2px rgba(23, 32, 77, .05);
	--jh-shadow: 0 6px 18px rgba(23, 32, 77, .08);
	--jh-shadow-lg: 0 16px 40px rgba(23, 32, 77, .12);
	--jh-shadow-photo: 0 1px 2px rgba(23, 32, 77, .08), 0 8px 22px rgba(23, 32, 77, .10);
	--jh-radius-sm: 8px;
	--jh-radius: 14px;
	--jh-radius-lg: 20px;
	--jh-pill: 999px;
	--jh-ease: cubic-bezier(.22, .61, .36, 1);
	--jh-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
	--jh-container: 1200px;
	--jh-gutter: 24px;
	--jh-font-display: "Huninn", "Noto Sans TC", sans-serif;
	--jh-font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--jh-topbar-h: 40px;
	--jh-bar-h: 84px;
	--jh-bar-h-scrolled: 68px;
	--jh-admin: 0px;
}
.admin-bar { --jh-admin: 32px; }
@media (max-width: 782px) { .admin-bar { --jh-admin: 46px; } }
@media (max-width: 600px) { .admin-bar { --jh-admin: 0px; } }
@media (max-width: 480px) { :root { --jh-gutter: 16px; } }
@media (max-width: 767px) { :root { --jh-bar-h: 68px; --jh-bar-h-scrolled: 60px; } }

/* 2 ─ Base & typography ---------------------------------------------------- */
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--jh-bar-h-scrolled) + var(--jh-admin) + 16px); -webkit-text-size-adjust: 100%; }
html body {
	margin: 0;
	background: var(--jh-white);
	color: var(--jh-text);
	font-family: var(--jh-font-body);
	font-size: 17px;
	line-height: 1.85;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
@media (max-width: 767px) { html body { font-size: 16px; } }
html body button, html body input, html body select, html body textarea { font-family: var(--jh-font-body); }

body h1, body h2 {
	font-family: var(--jh-font-display);
	font-weight: 400;
	color: var(--jh-ink);
	letter-spacing: .02em;
	line-height: 1.35;
}
body h3 { font-family: var(--jh-font-body); font-weight: 700; color: var(--jh-ink); line-height: 1.5; letter-spacing: .02em; }
body h4, body h5, body h6 { font-family: var(--jh-font-body); font-weight: 700; color: var(--jh-ink); line-height: 1.55; letter-spacing: .02em; }
body h1 { font-size: clamp(32px, 3.6vw + 12px, 52px); }
body h2 { font-size: clamp(28px, 1.6vw + 18px, 40px); }
body h3 { font-size: clamp(19px, .4vw + 16px, 22px); }
body h4 { font-size: 19px; }
body h5 { font-size: 17px; }
body h6 { font-size: 16px; }
body h1 a:hover, body h2 a:hover, body h3 a:hover, body h4 a:hover { color: var(--jh-blue-700); }
body a { color: var(--jh-blue-700); transition: color .2s ease; }
body a:hover { color: var(--jh-blue-900); }
::selection { background: var(--jh-sun); color: var(--jh-ink); }
img { max-width: 100%; height: auto; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--jh-peri);
	outline-offset: 2px;
	border-radius: 6px;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.jh-skip { position: fixed; left: 16px; top: -80px; z-index: 3000; padding: 12px 20px; border-radius: var(--jh-pill); background: var(--jh-blue-900); color: #fff !important; font-weight: 700; text-decoration: none; transition: top .2s; }
.jh-skip:focus { top: 16px; }
.jh-main { display: block; outline: none; }

/* 3 ─ Layout helpers ------------------------------------------------------- */
.jh-header, .jh-header *, .jh-drawer, .jh-drawer *, .jh-footer, .jh-footer *, .jh-hero, .jh-hero *,
.jh-page, .jh-page *, .jh-mbar, .jh-mbar *, .jh-subnav, .jh-subnav *, [class*="jh-"] { box-sizing: border-box; }
.jh-container { width: 100%; max-width: calc(var(--jh-container) + 2 * var(--jh-gutter)); margin: 0 auto; padding-left: var(--jh-gutter); padding-right: var(--jh-gutter); }
.jh-section { position: relative; padding: 120px 0; }
@media (max-width: 1024px) { .jh-section { padding: 88px 0; } }
@media (max-width: 767px) { .jh-section { padding: 64px 0; } }
.jh-bg-cream { background-color: var(--jh-cream); }
.jh-bg-sky { background-color: var(--jh-sky); }
.jh-bg-sea { background-color: var(--jh-sea); }
.jh-bg-sun { background-color: var(--jh-sun); }
.jh-bg-leaf { background-color: var(--jh-leaf); }
.jh-bg-blue { background-color: var(--jh-blue-900); color: #DCE3FF; }
.jh-bg-blue h1, .jh-bg-blue h2, .jh-bg-blue h3, .jh-bg-blue .jh-title { color: #fff; }
.jh-center { text-align: center; }

.jh-eyebrow, .jh-label {
	display: block;
	margin: 0 0 10px;
	font-family: var(--jh-font-body); font-weight: 700; font-size: 14.5px; line-height: 1.5;
	letter-spacing: .08em;
	color: var(--jh-peri);
}
.jh-bg-blue .jh-eyebrow, .jh-bg-blue .jh-label { color: #AFC2FF; }
@media (max-width: 767px) { .jh-eyebrow, .jh-label { font-size: 14px; } }
body .jh-title { font-family: var(--jh-font-display); font-weight: 400; font-size: clamp(28px, 1.6vw + 18px, 40px); line-height: 1.35; color: var(--jh-ink); margin: 0 0 16px; }
.jh-title--squiggle::after { content: ""; display: block; width: 96px; height: 12px; margin-top: 8px; background: url(../img/deco/squiggle.svg) left center / contain no-repeat; }
.jh-center .jh-title--squiggle::after, .jh-title--squiggle.jh-center::after { margin-left: auto; margin-right: auto; }
.jh-lead { font-size: 18px; line-height: 1.9; color: var(--jh-text); max-width: 34em; }
.jh-center .jh-lead { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .jh-lead { font-size: 16.5px; } }

/* wave dividers: put on a section; colour via --wave (defaults to white) */
.jh-wave-top, .jh-wave-bottom { position: relative; }
.jh-wave-top::before, .jh-wave-bottom::after {
	content: ""; position: absolute; left: 0; right: 0; height: 60px; pointer-events: none; z-index: 1;
	background: var(--wave, #fff);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v28c-120 18-240 26-360 20S840 22 720 22 480 46 360 48 120 40 0 28z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1440v28c-120 18-240 26-360 20S840 22 720 22 480 46 360 48 120 40 0 28z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.jh-wave-top::before { top: -1px; }
.jh-wave-bottom::after { bottom: -1px; transform: scaleY(-1); }
@media (max-width: 767px) { .jh-wave-top::before, .jh-wave-bottom::after { height: 32px; } }

/* 4 ─ Buttons, cards, chips ------------------------------------------------ */
.jh-btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 11px 24px;
	border: 2px solid transparent; border-radius: 12px;
	font-family: var(--jh-font-body); font-weight: 700; font-size: 16.5px; line-height: 1.3; letter-spacing: .04em;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .2s var(--jh-ease), background-color .2s ease, color .2s ease, border-color .2s ease;
	-webkit-tap-highlight-color: transparent;
}
.jh-btn:hover { transform: translateY(-1px); }
.jh-btn:active { transform: translateY(1px); }
.jh-btn .jh-ico { width: 19px; height: 19px; flex: none; }
.jh-ui .jh-btn--primary { background: var(--jh-orange); color: var(--jh-ink); box-shadow: 0 2px 0 var(--jh-orange-600); }
.jh-ui .jh-btn--primary:hover { background: #FFA33F; color: var(--jh-ink); }
.jh-ui .jh-btn--secondary { background: var(--jh-blue-900); color: #fff; }
.jh-ui .jh-btn--secondary:hover { background: var(--jh-blue-700); color: #fff; }
.jh-ui .jh-btn--ghost { background: transparent; color: var(--jh-blue-900); border-color: var(--jh-line-2); }
.jh-ui .jh-btn--ghost:hover { background: #fff; color: var(--jh-blue-900); border-color: var(--jh-blue-900); }
.jh-ui .jh-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.jh-ui .jh-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.jh-btn.jh-btn--sm { min-height: 44px; padding: 8px 18px; font-size: 15.5px; }
.jh-btn.jh-btn--block { display: flex; width: 100%; }

.jh-card {
	position: relative; background: #fff; border: 1.5px solid var(--jh-line); border-radius: var(--jh-radius);
	padding: 28px; transition: border-color .2s ease, transform .25s var(--jh-ease);
}
a.jh-card:hover, .jh-card.jh-lift:hover { border-color: var(--jh-line-2); }
.jh-card h3, .jh-card h4 { margin-top: 0; }
.jh-chip, .jh-ui a.jh-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
	border: 1.5px solid var(--jh-line); border-radius: 10px; background: #fff;
	color: var(--jh-ink); font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}
.jh-ui a.jh-chip:hover { border-color: var(--jh-peri); color: var(--jh-blue-900); }
.jh-ui .jh-chip.is-current { background: var(--jh-ink); border-color: var(--jh-ink); color: #fff; }
.jh-badge, .jh-ui a.jh-badge {
	display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 6px;
	background: var(--jh-sun); color: #85480A; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; text-decoration: none;
}
.jh-ico { display: inline-block; vertical-align: middle; flex: none; }


/* 4b ─ Hand-made helpers (documented at the top of this file) -------------- */
.jh-newslist { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--jh-ink); }
.jh-newslist li { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--jh-line); }
.jh-content .jh-newslist li { padding: 0; } .jh-content .jh-newslist li::before { content: none; }
.jh-newslist a { display: grid; grid-template-columns: 7.2em auto 1fr; align-items: baseline; gap: 4px 18px; padding: 18px 4px; color: var(--jh-ink); text-decoration: none; transition: background-color .2s; }
.jh-content .jh-newslist a { text-decoration: none; }
.jh-newslist a:hover { background: var(--jh-cream); }
.jh-newslist time { font-family: var(--jh-font-display); font-size: 16px; color: var(--jh-muted); font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.jh-newslist__cat { font-size: 13px; font-weight: 700; color: var(--jh-peri); white-space: nowrap; }
.jh-newslist__title { font-size: 17px; font-weight: 500; line-height: 1.6; }
.jh-newslist a:hover .jh-newslist__title { color: var(--jh-blue-900); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--jh-orange); }
@media (max-width: 640px) { .jh-newslist a { grid-template-columns: auto 1fr; padding: 14px 2px; } .jh-newslist__title { grid-column: 1 / -1; font-size: 16px; } }

.jh-split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin: 2.4em 0; }
.jh-split--rev { grid-template-columns: 7fr 5fr; }
.jh-split--rev > :first-child { order: 2; }
.jh-split--even { grid-template-columns: 1fr 1fr; }
.jh-split--top { align-items: start; }
.jh-split > * { min-width: 0; }
.jh-split > * > :first-child { margin-top: 0; }
.jh-split > * > :last-child { margin-bottom: 0; }
@media (max-width: 860px) {
	.jh-split, .jh-split--rev, .jh-split--even { grid-template-columns: 1fr; gap: 28px; }
	.jh-split--rev > :first-child { order: 0; }
}
.jh-content .jh-split { margin: 2.4em 0; }

.jh-photo {
	--tilt: -1.2deg;
	position: relative; display: block; margin: 0; padding: 10px 10px 12px;
	background: #fff; border-radius: 3px; box-shadow: var(--jh-shadow-photo);
	rotate: var(--tilt);
}
.jh-photo--l { --tilt: -1.8deg; }
.jh-photo--r { --tilt: 1.6deg; }
.jh-photo--flat { --tilt: 0deg; }
.jh-ui .jh-photo img, .jh-content .jh-photo img { display: block; width: 100%; height: auto; margin: 0; border-radius: 1px; object-fit: cover; }
.jh-photo--wide img { aspect-ratio: 16 / 10; }
.jh-photo--tall img { aspect-ratio: 4 / 5; }
.jh-photo--square img { aspect-ratio: 1; }
.jh-photo figcaption, .jh-content .jh-photo figcaption {
	margin: 10px 4px 0; text-align: left;
	font-family: var(--jh-font-display); font-size: 16px; line-height: 1.5; color: var(--jh-peri); letter-spacing: .04em;
}
.jh-tape::before {
	content: ""; position: absolute; z-index: 2; top: -13px; left: 50%; width: 112px; height: 28px; margin-left: -56px;
	background: rgba(255, 178, 91, .62); rotate: -3deg;
	clip-path: polygon(0 0, 100% 0, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 0 100%, 3% 75%, 0 50%, 3% 25%);
}
.jh-tape--blue::before { background: rgba(91, 127, 219, .45); }
.jh-tape--green::before { background: rgba(120, 190, 32, .5); }

.jh-note, .jh-content .jh-note {
	display: inline-block; margin: 0; font-family: var(--jh-font-display); font-size: 17px; line-height: 1.5;
	color: var(--jh-peri); letter-spacing: .04em; rotate: -2deg;
}
.jh-squiggle { position: relative; display: inline-block; white-space: nowrap; }
.jh-squiggle::after {
	content: ""; position: absolute; left: -2%; right: -2%; bottom: -.18em; height: .32em;
	background: url(../img/deco/squiggle.svg) center / 100% 100% no-repeat; pointer-events: none;
}
.jh-sticker {
	display: inline-block; width: 96px; height: auto; rotate: var(--tilt, -4deg);
	filter: drop-shadow(0 0 0 #fff) drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 3px 4px rgba(23, 32, 77, .14));
	transition: rotate .3s var(--jh-ease-bounce), transform .3s var(--jh-ease-bounce);
}
.jh-sticker:hover { rotate: 0deg; transform: scale(1.06); }

.jh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 2em 0; padding: 0; border-top: 1.5px solid var(--jh-ink); }
.jh-facts > div { padding: 18px 20px 4px 0; border-right: 1px solid var(--jh-line); }
.jh-facts > div + div { padding-left: 20px; }
.jh-facts > div:last-child { border-right: 0; }
.jh-facts dt { margin: 0; font-family: var(--jh-font-display); font-size: clamp(30px, 2vw + 16px, 42px); line-height: 1.15; color: var(--jh-blue-900); font-variant-numeric: tabular-nums; }
.jh-facts dt small { margin-left: 3px; font-size: .45em; color: var(--jh-ink); }
.jh-facts dd { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: var(--jh-text); }
@media (max-width: 640px) {
	.jh-facts { grid-template-columns: 1fr 1fr; }
	.jh-facts > div, .jh-facts > div + div { padding: 16px 12px 14px 0; border-right: 0; border-bottom: 1px solid var(--jh-line); }
	.jh-facts > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--jh-line); }
}

.jh-rows { margin: 1.5em 0; padding: 0; border-top: 1.5px solid var(--jh-ink); }
.jh-rows > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--jh-line); }
.jh-rows dt { margin: 0; font-weight: 700; color: var(--jh-ink); }
.jh-rows dd { margin: 0; color: var(--jh-text); text-align: right; }

/* 5 ─ Motion utilities ----------------------------------------------------- */
/* Short, quiet entrances: 12px, .55s. */
.jh-js .jh-reveal, .jh-js .jh-reveal-left, .jh-js .jh-reveal-right, .jh-js .jh-reveal-zoom, .jh-js .jh-stagger > * {
	opacity: 0;
	transition: opacity .55s var(--jh-ease), transform .55s var(--jh-ease);
	transition-delay: var(--d, 0ms);
}
.jh-js .jh-reveal, .jh-js .jh-stagger > * { transform: translateY(12px); }
.jh-js .jh-reveal-left { transform: translateX(-12px); }
.jh-js .jh-reveal-right { transform: translateX(12px); }
.jh-js .jh-reveal-zoom { transform: scale(.97); }
.jh-js .jh-reveal.is-in, .jh-js .jh-reveal-left.is-in, .jh-js .jh-reveal-right.is-in, .jh-js .jh-reveal-zoom.is-in, .jh-js .jh-stagger > .is-in { opacity: 1; transform: none; }
.jh-d1 { --d: 60ms; } .jh-d2 { --d: 120ms; } .jh-d3 { --d: 180ms; } .jh-d4 { --d: 240ms; } .jh-d5 { --d: 300ms; } .jh-d6 { --d: 360ms; }
/* the Elementor editor never runs ui.js: always show */
.elementor-editor-active .jh-reveal, .elementor-editor-active .jh-reveal-left, .elementor-editor-active .jh-reveal-right,
.elementor-editor-active .jh-reveal-zoom, .elementor-editor-active .jh-stagger > * { opacity: 1 !important; transform: none !important; }

/* Looping decorations are retired in v2.1. The classes stay (old content may use them) but do nothing. */
.jh-float, .jh-float-slow, .jh-float-fast, .jh-spin-slow, .jh-wave-anim { animation: none; }
.jh-blob { border-radius: var(--jh-radius-lg); overflow: hidden; }
.jh-wiggle-hover:hover { animation: jh-wiggle .6s var(--jh-ease) both; }
@keyframes jh-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -7deg; } 55% { rotate: 5deg; } 80% { rotate: -2deg; } }
.jh-lift { transition: transform .25s var(--jh-ease), border-color .2s ease; }
.jh-lift:hover { transform: translateY(-3px); }
/* The one allowed pulse: the phone CTA. */
.jh-pulse-ring { position: relative; isolation: isolate; }
.jh-pulse-ring::before {
	content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: inherit;
	border: 2px solid var(--jh-orange); opacity: 0; pointer-events: none;
	animation: jh-pulse 2.8s var(--jh-ease) infinite;
}
@keyframes jh-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.35); } }
.jh-underline { text-decoration: none; background: linear-gradient(currentColor, currentColor) left 100% / 0 2px no-repeat; transition: background-size .3s var(--jh-ease), color .2s; padding-bottom: 2px; }
.jh-underline:hover, .jh-underline:focus-visible { background-size: 100% 2px; }
.jh-shine { isolation: isolate; } /* retired: no light sweep */
.jh-count { font-variant-numeric: tabular-nums; }
.jh-marquee { overflow: hidden; display: flex; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.jh-marquee__track { display: flex; flex: none; gap: var(--gap, 48px); padding-right: var(--gap, 48px); width: max-content; animation: jh-marquee var(--speed, 60s) linear infinite; }
.jh-marquee:hover .jh-marquee__track { animation-play-state: paused; }
@keyframes jh-marquee { to { transform: translateX(-50%); } }

/* 6 ─ Header --------------------------------------------------------------- */
.jh-header {
	position: sticky; top: calc(var(--jh-admin) - var(--jh-topbar-h)); z-index: 1000;
	font-family: var(--jh-font-body);
}
.jh-topbar { height: var(--jh-topbar-h); background: var(--jh-blue-900); color: #DCE3FF; font-size: 14px; line-height: 1; }
.jh-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.jh-topbar ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.jh-topbar li { margin: 0; }
.jh-header .jh-topbar a { display: inline-flex; align-items: center; gap: 7px; color: #DCE3FF; text-decoration: none; letter-spacing: .04em; }
.jh-header .jh-topbar a:hover { color: #fff; }
.jh-topbar .jh-ico { width: 16px; height: 16px; color: var(--jh-orange); }
.jh-topbar__social .jh-ico { color: #fff; }
.jh-topbar__social a { padding: 6px 2px; }
.jh-topbar__badge { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; letter-spacing: .06em; }
.jh-topbar__leaf { width: 12px; height: 8px; border-radius: 0 100% 0 100%; background: var(--jh-green); rotate: -20deg; }

.jh-mainbar {
	position: relative;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
	box-shadow: 0 1px 0 var(--jh-line);
	transition: box-shadow .3s var(--jh-ease), background-color .3s;
}
.jh-header.is-scrolled .jh-mainbar { background: rgba(255, 255, 255, .98); box-shadow: 0 1px 0 var(--jh-line), 0 4px 14px rgba(23, 32, 77, .05); }
.jh-mainbar__in { display: flex; align-items: center; gap: 20px; height: var(--jh-bar-h); transition: height .3s var(--jh-ease); }
.jh-header.is-scrolled .jh-mainbar__in { height: var(--jh-bar-h-scrolled); }
.jh-logo { display: block; flex: none; line-height: 0; border-radius: 8px; }
.jh-logo img { display: block; height: 56px; width: auto; transform-origin: left center; transition: transform .3s var(--jh-ease); }
.jh-header.is-scrolled .jh-logo img { transform: scale(.79); }
.jh-logo:hover img { transform: scale(1.03); }
.jh-header.is-scrolled .jh-logo:hover img { transform: scale(.81); }

.jh-nav { margin-left: auto; }
.jh-menu, .jh-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.jh-menu { display: flex; align-items: center; gap: 0; }
.jh-menu > li { position: relative; margin: 0; }
.jh-header .jh-menu > li > a {
	position: relative; display: flex; align-items: center; gap: 6px;
	padding: 10px 11px; min-height: 44px;
	font-family: var(--jh-font-body); font-weight: 500; font-size: 16px; letter-spacing: .04em; line-height: 1.3;
	color: var(--jh-ink); text-decoration: none; white-space: nowrap;
}
.jh-header .jh-menu > li > a::after {
	content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
	background: var(--jh-orange); transform: scaleX(0); transition: transform .3s var(--jh-ease);
}
.jh-header .jh-menu > li:hover > a, .jh-header .jh-menu > li:focus-within > a { color: var(--jh-blue-900); }
.jh-header .jh-menu > li:hover > a::after, .jh-header .jh-menu > li:focus-within > a::after { transform: scaleX(1); }
.jh-header .jh-menu > .current-menu-item > a, .jh-header .jh-menu > .current-menu-ancestor > a,
.jh-header .jh-menu > .current-page-ancestor > a, .jh-header .jh-menu > .current_page_parent > a { color: var(--jh-blue-900); }
.jh-header .jh-menu > .current-menu-item > a::after, .jh-header .jh-menu > .current-menu-ancestor > a::after,
.jh-header .jh-menu > .current-page-ancestor > a::after, .jh-header .jh-menu > .current_page_parent > a::after { transform: scaleX(1); background: var(--jh-blue-900); }
.jh-menu > .menu-item-has-children > a::before {
	content: ""; order: 2; width: 7px; height: 7px; margin: -4px 0 0 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; opacity: .55;
	transition: rotate .3s var(--jh-ease), margin .3s var(--jh-ease), opacity .2s;
}
.jh-menu > .menu-item-has-children:hover > a::before, .jh-menu > .menu-item-has-children:focus-within > a::before { rotate: 225deg; margin-top: 4px; opacity: 1; }

.jh-menu .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 50%; z-index: 20; min-width: 232px;
	padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--jh-line);
	box-shadow: 0 12px 28px rgba(23, 32, 77, .10);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity .25s var(--jh-ease), transform .3s var(--jh-ease), visibility 0s linear .3s;
}
.jh-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.jh-menu > li:hover > .sub-menu, .jh-menu > li:focus-within > .sub-menu, .jh-menu > li.is-open > .sub-menu {
	opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.jh-menu > li.jh-suppress > .sub-menu { opacity: 0; visibility: hidden; }
.jh-menu .sub-menu li { position: relative; z-index: 1; margin: 0; }
.jh-header .jh-menu .sub-menu a {
	position: relative; display: block; padding: 9px 14px; border-radius: 8px;
	color: var(--jh-text); font-size: 15.5px; font-weight: 500; line-height: 1.5; text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.jh-header .jh-menu .sub-menu a:hover, .jh-header .jh-menu .sub-menu a:focus-visible { background: var(--jh-cream); color: var(--jh-blue-900); }
.jh-header .jh-menu .sub-menu .current-menu-item > a { color: var(--jh-blue-900); font-weight: 700; }

.jh-mainbar__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.jh-header__cta { margin-left: 8px; }
.jh-iconbtn, .jh-burger {
	display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 12px; background: var(--jh-sky); color: var(--jh-blue-900); cursor: pointer;
	transition: background-color .2s;
}
.jh-iconbtn:hover, .jh-burger:hover { background: #E1E9FF; }
.jh-iconbtn .jh-ico { width: 21px; height: 21px; }
.jh-burger { background: var(--jh-blue-900); color: #fff; }
.jh-burger:hover { background: var(--jh-blue-700); }
.jh-burger__box { position: relative; display: block; width: 20px; height: 14px; }
.jh-burger__box i { position: absolute; left: 0; height: 2.5px; width: 100%; border-radius: 2px; background: currentColor; transition: transform .35s var(--jh-ease), opacity .2s, width .3s var(--jh-ease); }
.jh-burger__box i:nth-child(1) { top: 0; }
.jh-burger__box i:nth-child(2) { top: 6px; width: 70%; }
.jh-burger__box i:nth-child(3) { top: 12px; }
.jh-burger:hover .jh-burger__box i:nth-child(2) { width: 100%; }
.jh-burger[aria-expanded="true"] .jh-burger__box i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.jh-burger[aria-expanded="true"] .jh-burger__box i:nth-child(2) { opacity: 0; }
.jh-burger[aria-expanded="true"] .jh-burger__box i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1279px) {
	.jh-header .jh-menu > li > a { padding: 10px 8px; font-size: 16px; }
	.jh-header .jh-menu > li > a::after { left: 8px; right: 8px; }
	.jh-logo img { height: 50px; }
}
@media (max-width: 1179px) {
	.jh-nav { display: none; }
	.jh-mainbar__actions { margin-left: auto; }
	.jh-iconbtn, .jh-burger { display: inline-flex; }
}
@media (max-width: 767px) {
	.jh-header { top: var(--jh-admin); }
	.jh-topbar { display: none; }
	.jh-ui .jh-header .jh-header__cta { display: none; }
	.jh-logo img { height: 44px; }
	.jh-header.is-scrolled .jh-logo img { transform: scale(.86); }
	.jh-mainbar__actions { gap: 8px; }
	.jh-iconbtn, .jh-burger { width: 44px; height: 44px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.jh-topbar__badge { display: none; }
}

/* 7 ─ Off-canvas drawer ---------------------------------------------------- */
.jh-drawer { position: fixed; inset: 0; z-index: 2000; overflow: hidden; visibility: hidden; transition: visibility 0s linear .5s; }
.jh-drawer.is-open { visibility: visible; transition-delay: 0s; }
.jh-drawer__overlay { position: absolute; inset: 0; background: rgba(23, 32, 77, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s var(--jh-ease); }
.jh-drawer.is-open .jh-drawer__overlay { opacity: 1; }
.jh-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 400px);
	display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 0; box-shadow: var(--jh-shadow-lg);
	transform: translateX(105%); transition: transform .5s var(--jh-ease);
}
.jh-drawer.is-open .jh-drawer__panel { transform: none; }
.jh-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 12px 24px; position: sticky; top: 0; background: #fff; z-index: 2; }
.jh-drawer__logo img { display: block; height: 40px; width: auto; }
.jh-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--jh-sky); color: var(--jh-blue-900); cursor: pointer; transition: background-color .2s; }
.jh-drawer__close:hover { background: #E1E9FF; }
.jh-drawer__nav { padding: 4px 24px 12px; }
.jh-mmenu, .jh-mmenu .sub-menu { list-style: none; margin: 0; padding: 0; }
.jh-mmenu > li { position: relative; margin: 0; border-bottom: 1px solid var(--jh-line); }

.jh-drawer .jh-mmenu > li > a {
	display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 52px 10px 4px;
	font-family: var(--jh-font-body); font-weight: 500; font-size: 17.5px; color: var(--jh-ink); text-decoration: none;
}
.jh-drawer .jh-mmenu > .current-menu-item > a, .jh-drawer .jh-mmenu > .current-menu-ancestor > a, .jh-drawer .jh-mmenu > .current-page-ancestor > a { color: var(--jh-blue-900); font-weight: 700; }
.jh-mmenu__toggle {
	position: absolute; right: 0; top: 6px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: transparent; color: var(--jh-blue-900); cursor: pointer; transition: background-color .2s;
}
.jh-mmenu__toggle:hover { background: var(--jh-sky); }
.jh-mmenu__toggle .jh-ico { width: 20px; height: 20px; transition: rotate .3s var(--jh-ease); }
.jh-mmenu li.is-open > .jh-mmenu__toggle .jh-ico { rotate: 180deg; }
.jh-mmenu .sub-menu { display: none; padding: 0 0 12px 18px; }
.jh-mmenu li.is-open > .sub-menu { display: block; animation: jh-fadedown .35s var(--jh-ease) both; }
@keyframes jh-fadedown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.jh-drawer .jh-mmenu .sub-menu a { display: block; padding: 9px 12px; border-radius: var(--jh-radius-sm); color: var(--jh-text); font-size: 16px; text-decoration: none; }
.jh-drawer .jh-mmenu .sub-menu a:hover, .jh-drawer .jh-mmenu .sub-menu .current-menu-item > a { background: var(--jh-sky); color: var(--jh-blue-900); }
.jh-drawer__foot { margin-top: auto; padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: var(--jh-cream); border-top: 1px solid var(--jh-line); position: relative; }
.jh-drawer__addr { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--jh-text); }
.jh-drawer__addr .jh-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--jh-aqua-600); }
.jh-drawer__social { display: flex; gap: 10px; }
.jh-drawer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--jh-line); color: var(--jh-blue-900); }
.jh-drawer__social .jh-ico { width: 20px; height: 20px; }
html.jh-lock, html.jh-lock body { overflow: hidden; }
@media (min-width: 1180px) { .jh-drawer { display: none; } }

/* 8 ─ Mobile action bar & back-to-top -------------------------------------- */
.jh-mbar { display: none; }
@media (max-width: 768px) {
	.jh-mbar {
		position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 900;
		display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 6px; padding: 6px;
		background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-radius: 16px; box-shadow: 0 6px 24px rgba(23, 32, 77, .16), 0 0 0 1px rgba(23, 32, 77, .06);
		transform: translateY(160%); transition: transform .4s var(--jh-ease);
	}
	.jh-mbar.is-shown { transform: none; }
	.jh-mbar.is-hidden { transform: translateY(160%); transition-timing-function: var(--jh-ease); }
	body.jh-has-mbar { padding-bottom: 0; }
	.jh-footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}
.jh-mbar a.jh-mbar__btn {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px;
	border-radius: 11px; color: var(--jh-ink); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-decoration: none;
	transition: background-color .2s, transform .2s var(--jh-ease);
}
.jh-mbar a.jh-mbar__btn:active { transform: scale(.95); }
.jh-mbar__btn .jh-ico { width: 22px; height: 22px; color: var(--jh-blue-900); }
.jh-mbar__btn--line .jh-ico { color: #06A846; }
.jh-mbar a.jh-mbar__btn--cta { flex-direction: row; gap: 8px; background: var(--jh-orange); font-size: 16px; }
.jh-mbar a.jh-mbar__btn--cta .jh-ico { color: var(--jh-ink); }

.jh-totop {
	position: fixed; right: 22px; bottom: 26px; z-index: 890; width: 54px; height: 54px; padding: 0;
	display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--jh-line); border-radius: 50%;
	background: #fff; color: var(--jh-blue-900); box-shadow: var(--jh-shadow); cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
	transition: opacity .35s var(--jh-ease), transform .35s var(--jh-ease), visibility 0s linear .35s, box-shadow .25s;
}
.jh-totop.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.jh-totop:hover { border-color: var(--jh-line-2); }
.jh-totop .jh-ico { width: 22px; height: 22px; position: relative; }
.jh-totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.jh-totop__ring circle { fill: none; stroke: var(--jh-orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset .15s linear; }
@media (max-width: 768px) { .jh-totop { right: 16px; bottom: calc(96px + env(safe-area-inset-bottom)); width: 48px; height: 48px; } }

/* 9 ─ Inner-page hero & sub-nav -------------------------------------------- */
/* Quiet paper header: breadcrumb, left-aligned title, one ocean-animal sticker. No loops, no blobs. */
.jh-hero {
	position: relative; isolation: isolate;
	padding: 36px 0 44px;
	background: var(--jh-cream);
	border-bottom: 1px solid #F1E6D6;
}
.jh-hero__in { position: relative; z-index: 1; padding-right: 180px; }
.jh-hero .jh-eyebrow { margin: 18px 0 4px; }
body .jh-hero__title { margin: 14px 0 0; max-width: 20em; font-size: clamp(30px, 2vw + 18px, 46px); line-height: 1.3; color: var(--jh-ink); }
.jh-hero__sub { margin: 12px 0 0; max-width: 36em; font-size: 17.5px; line-height: 1.85; color: var(--jh-text); }
.jh-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; font-size: 15px; color: var(--jh-text); }
.jh-hero__meta time { display: inline-flex; align-items: center; gap: 6px; }
.jh-hero__meta .jh-ico { width: 17px; height: 17px; color: var(--jh-aqua-600); }
.jh-hero__animal { position: absolute; right: var(--jh-gutter); top: 50%; z-index: 1; width: 112px; line-height: 0; translate: 0 -38%; }
.jh-hero__animal .jh-sticker { width: 100%; --tilt: -6deg; }
.jh-hero--programs .jh-hero__animal .jh-sticker, .jh-hero--parents .jh-hero__animal .jh-sticker { --tilt: 5deg; }

.jh-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.6; }
.jh-crumbs li { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: var(--jh-muted); }
.jh-crumbs li + li::before { content: "/"; color: #C2C6D8; margin-right: 2px; }
.jh-crumbs a { display: inline-flex; align-items: center; gap: 5px; padding: 2px 0; color: var(--jh-text); text-decoration: none; }
.jh-crumbs a:hover { color: var(--jh-blue-900); text-decoration: underline; text-underline-offset: 3px; }
.jh-crumbs li[aria-current] span { color: var(--jh-muted); }
.jh-crumbs .jh-ico { display: none; }

/* sub-nav: a plain row of section tabs under the header (no pills) */
.jh-subnav { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--jh-line); }
.jh-subnav__list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.jh-subnav__list li { margin: 0; }
.jh-ui .jh-subnav .jh-chip, .jh-ui .jh-subnav a.jh-chip {
	min-height: 52px; padding: 12px 0 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none;
	color: var(--jh-text); font-size: 15.5px; font-weight: 500; box-shadow: none;
}
.jh-ui .jh-subnav a.jh-chip:hover { color: var(--jh-blue-900); border-bottom-color: var(--jh-line-2); background: none; }
.jh-ui .jh-subnav .jh-chip.is-current { color: var(--jh-ink); font-weight: 700; border-bottom-color: var(--jh-orange); background: none; }

@media (max-width: 1024px) {
	.jh-hero__in { padding-right: 140px; }
	.jh-hero__animal { width: 96px; }
}
@media (max-width: 767px) {
	.jh-hero { padding: 20px 0 28px; }
	.jh-hero__in { padding-right: 76px; }
	body .jh-hero__title { margin-top: 10px; font-size: clamp(26px, 6vw + 4px, 32px); }
	.jh-hero__sub { font-size: 16px; margin-top: 8px; }
	.jh-hero__animal { width: 64px; right: 14px; }
	.jh-crumbs ol { font-size: 13px; }
	.jh-subnav__list { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; padding: 0 var(--jh-gutter); margin: 0 calc(-1 * var(--jh-gutter)); scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
	.jh-subnav__list::-webkit-scrollbar { display: none; }
	.jh-subnav__list li { scroll-snap-align: start; flex: none; }
	.jh-ui .jh-subnav .jh-chip, .jh-ui .jh-subnav a.jh-chip { min-height: 48px; font-size: 15px; }
}

/* 10 ─ Inner-page content -------------------------------------------------- */
.jh-page { position: relative; padding: 48px 0 120px; }
.jh-page--list { padding-top: 40px; }
@media (max-width: 767px) { .jh-page { padding: 32px 0 72px; } }
.jh-content { max-width: 860px; margin: 0 auto; font-size: 17px; line-height: 1.9; color: var(--jh-text); }
.jh-content::after { content: ""; display: table; clear: both; }
.jh-content > :first-child { margin-top: 0; }
.jh-content p { margin: 0 0 1.3em; }
.jh-content h2 { position: relative; margin: 2.2em 0 .8em; font-size: clamp(26px, 1vw + 20px, 34px); }
.jh-content h3 { margin: 1.9em 0 .5em; color: var(--jh-ink); }
.jh-content h4 { margin: 1.6em 0 .5em; }
.jh-content h5, .jh-content h6 { margin: 1.4em 0 .4em; }
.jh-content h6 { color: var(--jh-aqua-ink); letter-spacing: .1em; }
.jh-content a:not(.jh-btn):not(.wp-block-button__link):not(.jh-chip) { color: var(--jh-blue-700); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(91, 127, 219, .5); transition: color .2s, text-decoration-color .2s; }
.jh-content a:not(.jh-btn):not(.wp-block-button__link):not(.jh-chip):hover { color: var(--jh-blue-900); text-decoration-color: var(--jh-orange); }
.jh-content strong, .jh-content b { color: var(--jh-ink); font-weight: 700; }
.jh-content mark { background: linear-gradient(transparent 55%, var(--jh-sun) 55%); color: inherit; padding: 0 2px; }
.jh-content ul, .jh-content ol { margin: 0 0 1.4em; padding: 0; list-style: none; }
.jh-content li { position: relative; margin: 0 0 .5em; padding-left: 30px; }
.jh-content ul > li::before { content: ""; position: absolute; left: 8px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--jh-orange); }
.jh-content ul ul > li::before { width: 12px; height: 7px; border-radius: 0 100% 0 100%; background: var(--jh-green); box-shadow: none; rotate: -20deg; }
.jh-content ul ul, .jh-content ol ol, .jh-content ul ol, .jh-content ol ul { margin: .5em 0 .4em; }
.jh-content ol { counter-reset: jh-ol; }
.jh-content ol > li { counter-increment: jh-ol; padding-left: 40px; }
.jh-content ol > li { padding-left: 34px; }
.jh-content ol > li::before { content: counter(jh-ol) "."; position: absolute; left: 2px; top: 0; min-width: 24px; color: var(--jh-blue-900); font-family: var(--jh-font-display); font-size: 18px; line-height: inherit; }
.jh-content blockquote, .jh-content .wp-block-quote {
	position: relative; margin: 2em 0; padding: 4px 0 4px 24px; border: 0; border-left: 3px solid var(--jh-orange); border-radius: 0;
	background: none; color: var(--jh-ink); font-size: 18px; line-height: 1.85;
}
.jh-content blockquote p:last-child { margin-bottom: 0; }
.jh-content blockquote cite { display: block; margin-top: 10px; font-size: 14.5px; font-style: normal; color: var(--jh-text); }
.jh-content hr, .jh-content .wp-block-separator { height: 0; margin: 3em 0; border: 0; border-top: 1px solid var(--jh-line); max-width: none; background: none; }
.jh-content img { border-radius: 6px; }
.jh-content figure { margin: 2em 0; }
.jh-content figcaption, .jh-content .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--jh-muted); text-align: left; }
.jh-content table { width: 100%; margin: 0; border-collapse: collapse; border-spacing: 0; border-top: 1.5px solid var(--jh-ink); font-size: 16px; line-height: 1.7; background: #fff; }
.jh-content .wp-block-table, .jh-content .jh-table-wrap { margin: 2em 0; overflow-x: auto; }
.jh-content > table { margin: 2em 0; }
.jh-content th, .jh-content td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--jh-line); }
.jh-content thead th, .jh-content table > tbody > tr:first-child > th { background: var(--jh-cream); color: var(--jh-ink); font-weight: 700; letter-spacing: .04em; border-bottom: 1px solid var(--jh-line-2); }
.jh-content tbody th { color: var(--jh-ink); font-weight: 700; }
.jh-content code { padding: 2px 6px; border-radius: 6px; background: var(--jh-sky); color: var(--jh-blue-900); font-size: .9em; }
.jh-content .wp-block-button__link, .jh-content .wp-block-file__button {
	display: inline-flex; align-items: center; min-height: 50px; padding: 11px 24px; border-radius: 12px;
	background: var(--jh-orange); color: var(--jh-ink); font-family: var(--jh-font-body); font-weight: 700; font-size: 16.5px; text-decoration: none;
	box-shadow: 0 2px 0 var(--jh-orange-600); transition: background-color .2s;
}
.jh-content .wp-block-button__link:hover, .jh-content .wp-block-file__button:hover { background: #FFA33F; color: var(--jh-ink); }
.jh-content .is-style-outline .wp-block-button__link { background: transparent; border: 2px solid var(--jh-line-2); color: var(--jh-blue-900); box-shadow: none; }
.jh-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; border-radius: var(--jh-radius); border: 1.5px solid var(--jh-line); background: #fff; }
.jh-content .wp-block-file__button { min-height: 44px; padding: 8px 22px; font-size: 16px; }
.jh-content details { margin: 0; border-bottom: 1px solid var(--jh-line); background: none; }
.jh-content details:first-of-type { border-top: 1px solid var(--jh-line); }
.jh-content summary { position: relative; padding: 18px 48px 18px 0; cursor: pointer; list-style: none; font-family: var(--jh-font-body); font-weight: 700; font-size: 17px; color: var(--jh-ink); }
.jh-content summary::-webkit-details-marker { display: none; }
.jh-content summary::after { content: "+"; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; color: var(--jh-blue-900); font: 24px/30px var(--jh-font-body); text-align: center; transition: rotate .3s var(--jh-ease); }
.jh-content details[open] summary::after { rotate: 45deg; }
.jh-content details > :not(summary) { margin-left: 0; margin-right: 0; }
.jh-content details[open] > :last-child { margin-bottom: 18px; }
.jh-content iframe { max-width: 100%; border: 0; border-radius: 8px; }
.jh-content .alignleft { float: left; margin: .4em 1.6em 1em 0; }
.jh-content .alignright { float: right; margin: .4em 0 1em 1.6em; }
.jh-content .aligncenter { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
	.jh-content { font-size: 16px; }
	.jh-content blockquote { padding-left: 18px; font-size: 16.5px; }
	.jh-content th, .jh-content td { padding: 12px 14px; }
	.jh-content table { font-size: 15px; }
	.jh-content .alignleft, .jh-content .alignright { float: none; margin: 1em 0; }
}

/* forms (Contact Form 7 & search) */
.jh-ui .wpcf7 { max-width: 760px; }
.jh-ui .wpcf7 label { display: block; font-size: 15.5px; font-weight: 700; color: var(--jh-ink); }
.jh-ui .wpcf7 p { margin: 0 0 18px; }
.jh-ui .wpcf7 input[type="text"], .jh-ui .wpcf7 input[type="email"], .jh-ui .wpcf7 input[type="tel"], .jh-ui .wpcf7 input[type="number"],
.jh-ui .wpcf7 input[type="date"], .jh-ui .wpcf7 input[type="url"], .jh-ui .wpcf7 select, .jh-ui .wpcf7 textarea, .jh-search input[type="search"] {
	width: 100%; min-height: 52px; margin-top: 6px; padding: 12px 18px;
	border: 1.5px solid var(--jh-line-2); border-radius: 10px; background: #fff; color: var(--jh-ink);
	font-size: 16px; font-weight: 400; line-height: 1.5; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.jh-ui .wpcf7 textarea { min-height: 150px; resize: vertical; }
.jh-ui .wpcf7 input:focus, .jh-ui .wpcf7 select:focus, .jh-ui .wpcf7 textarea:focus, .jh-search input[type="search"]:focus { outline: none; border-color: var(--jh-peri); box-shadow: 0 0 0 4px rgba(91, 127, 219, .18); }
.jh-ui .wpcf7 input.wpcf7-submit {
	min-height: 52px; padding: 12px 36px; border: 0; border-radius: 12px;
	background-color: var(--jh-orange) !important; color: var(--jh-ink) !important;
	font-family: var(--jh-font-body); font-weight: 700; font-size: 17px; letter-spacing: .06em; cursor: pointer;
	box-shadow: 0 2px 0 var(--jh-orange-600); transition: background-color .2s;
}
.jh-ui .wpcf7 input.wpcf7-submit:hover { background-color: #FFA33F !important; }
.jh-ui .wpcf7-not-valid-tip { font-size: 14px; color: #C23B22; }
.jh-ui .wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; font-size: 15px; }
.jh-ui .wpcf7-list-item { margin: 0 16px 0 0; }
.jh-search { position: relative; display: flex; max-width: 480px; margin: 0 auto; }
.jh-search input[type="search"] { margin: 0; padding-right: 60px; border-radius: 12px; -webkit-appearance: none; appearance: none; }
.jh-search button { position: absolute; right: 5px; top: 5px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: var(--jh-orange); color: var(--jh-ink); cursor: pointer; transition: transform .25s var(--jh-ease); }
.jh-search button:hover { transform: scale(1.08); }
.jh-search .jh-ico { width: 20px; height: 20px; }

/* 11 ─ News list & single -------------------------------------------------- */
.jh-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 40px; }
.jh-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.jh-postcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--jh-radius); background: #fff; border: 1.5px solid var(--jh-line); transition: border-color .2s; }
.jh-postcard:hover { border-color: var(--jh-line-2); }
.jh-postcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--jh-sky); }
.jh-postcard__media > img, .jh-postcard__media .jh-postcard__img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .7s var(--jh-ease); }
.jh-postcard:hover .jh-postcard__media > img { transform: scale(1.03); }
.jh-ph { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--ph-a); overflow: hidden; }
.jh-ph--sky { --ph-a: #EEF3FF; --ph-b: #DCE6FF; } .jh-ph--sea { --ph-a: #E6F7FA; --ph-b: #CBEFF5; }
.jh-ph--sun { --ph-a: #FFF5E8; --ph-b: #FFE2BF; } .jh-ph--leaf { --ph-a: #F3FAEA; --ph-b: #DDF0C6; }
.jh-ph__dots { display: none; }
.jh-ph img { position: relative; width: 38%; height: auto; max-height: 70%; object-fit: contain; border-radius: 0; transition: transform .7s var(--jh-ease); }
.jh-postcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
.jh-postcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--jh-muted); }
.jh-postcard__meta time { display: inline-flex; align-items: center; gap: 6px; }
.jh-postcard__meta .jh-ico { width: 16px; height: 16px; color: var(--jh-aqua-600); }
body .jh-postcard__title { margin: 0 0 8px; font-size: 19px; line-height: 1.55; }
.jh-postcard__title a { color: var(--jh-ink); text-decoration: none; }
.jh-postcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.jh-postcard:hover .jh-postcard__title a { color: var(--jh-blue-900); }
.jh-postcard__excerpt { margin: 0 0 16px; font-size: 15.5px; line-height: 1.8; color: var(--jh-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jh-postcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 15px; font-weight: 700; color: var(--jh-blue-700); }
.jh-postcard__more .jh-ico { width: 18px; height: 18px; transition: transform .3s var(--jh-ease); }
.jh-postcard:hover .jh-postcard__more .jh-ico { transform: translateX(5px); }
.jh-postcard .jh-badge { position: relative; z-index: 2; }
.jh-postcard:focus-within { box-shadow: 0 0 0 3px var(--jh-peri); }

.jh-pager { margin-top: 56px; }
.jh-pager .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jh-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 10px; background: #fff; border: 1.5px solid var(--jh-line); color: var(--jh-ink); font-weight: 500; font-size: 16px; text-decoration: none; transition: border-color .2s, color .2s; }
.jh-pager a.page-numbers:hover { border-color: var(--jh-peri); color: var(--jh-blue-900); }
.jh-pager .page-numbers.current { background: var(--jh-ink); border-color: var(--jh-ink); color: #fff; }
.jh-pager .jh-ico { width: 20px; height: 20px; }
.jh-pager--inline { display: flex; gap: 8px; margin-top: 2em; }
.jh-empty { max-width: 560px; margin: 24px auto; text-align: center; display: grid; gap: 22px; justify-items: center; }

.jh-article__cover { margin: 0 0 40px; border-radius: var(--jh-radius); overflow: hidden; }
.jh-article__cover img { display: block; width: 100%; border-radius: 0; }
.jh-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.jh-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 64px auto 40px; padding-top: 32px; border-top: 1px solid var(--jh-line); }
.jh-postnav__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: var(--jh-radius); border: 1.5px solid var(--jh-line); background: #fff; text-decoration: none; }
.jh-ui a.jh-postnav__item { color: var(--jh-ink); }
.jh-postnav__item--next { text-align: right; align-items: flex-end; }
.jh-postnav__item--empty { border: 0; }
.jh-postnav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--jh-muted); letter-spacing: .04em; }
.jh-postnav__label .jh-ico { width: 18px; height: 18px; }
.jh-postnav__title { font-weight: 700; font-size: 17px; line-height: 1.55; }
@media (max-width: 640px) { .jh-postnav { grid-template-columns: 1fr; gap: 14px; } .jh-postnav__item--empty { display: none; } .jh-postgrid { grid-template-columns: 1fr; gap: 24px; } }

.jh-404 { text-align: center; }
.jh-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }

/* 12 ─ Footer -------------------------------------------------------------- */
/* One still wave with the class animals peeking over it; everything below is plain and quiet. */
.jh-footer { position: relative; margin-top: 24px; color: #CFD8FF; font-size: 15.5px; line-height: 1.85; }
.jh-page + .jh-footer, .jh-main + .jh-footer { margin-top: 0; }
.jh-footer__sea { position: relative; height: 118px; overflow: hidden; }
.jh-footer__wave { position: absolute; left: 0; bottom: -1px; z-index: 3; width: 100%; height: 56px; display: block; fill: var(--jh-blue-900); pointer-events: none; }
.jh-footer__wave--back { display: none; }
.jh-footer__peek { position: absolute; inset: 0; z-index: 2; max-width: 1440px; margin: 0 auto; pointer-events: none; }
.jh-peek { position: absolute; left: var(--x); bottom: 14px; width: var(--w); pointer-events: auto; rotate: var(--r, 0deg); }
.jh-peek img { display: block; width: 100%; height: auto; }
.jh-peek--whale { bottom: 0; --r: -4deg; } .jh-peek--starfish { bottom: 22px; --r: 12deg; } .jh-peek--dolphin { --r: -6deg; }
.jh-peek--octopus { bottom: 4px; --r: 3deg; } .jh-peek--seahorse { bottom: 12px; --r: -5deg; } .jh-peek--penguin { bottom: 6px; --r: 4deg; }
.jh-footer__bubble { display: none; }
.jh-footer__body { position: relative; background: var(--jh-blue-900); padding-top: 40px; }
.jh-footer__grid { position: relative; display: grid; grid-template-columns: 1.35fr .9fr 1.15fr 1.25fr; gap: 48px; padding-bottom: 56px; }
.jh-footer__col p { margin: 0 0 8px; }
.jh-footer__col p[style] { margin-bottom: 8px !important; }
body .jh-footer__title { margin: 6px 0 16px; font-family: var(--jh-font-body); font-weight: 700; font-size: 16px; letter-spacing: .08em; color: #fff; }
.jh-footer a { color: #fff; text-decoration: none; }
.jh-footer a:hover { color: var(--jh-orange); }
.jh-footer__info a, .jh-footer__clist a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.jh-footer__info a:hover, .jh-footer__clist a:hover { color: #fff; text-decoration-color: var(--jh-orange); }
.jh-footer__brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.jh-footer__emblem { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.jh-footer__emblem img { width: 40px; height: 40px; }
.jh-footer__name { font-family: var(--jh-font-display); font-size: 22px; line-height: 1.3; color: #fff; }
.jh-footer__name small { display: block; margin-top: 2px; font-family: var(--jh-font-body); font-size: 12.5px; letter-spacing: .08em; color: #9FB0F5; }
.jh-footer__about p { max-width: 30em; }
.jh-footer__social { display: flex; gap: 8px; margin-top: 18px; }
.jh-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: border-color .2s, color .2s; }
.jh-footer__social a:hover { border-color: var(--jh-orange); color: var(--jh-orange); }
.jh-footer__social .jh-ico { width: 20px; height: 20px; }
.jh-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jh-footer__links li { margin: 0; }
.jh-footer__links a { display: inline-block; padding: 4px 0; color: #DCE3FF; }
.jh-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--jh-orange); }
.jh-footer__clist { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.jh-footer__clist li { display: flex; align-items: flex-start; gap: 10px; margin: 0; line-height: 1.6; }
.jh-footer__clist .jh-ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--jh-orange); }
.jh-footer__clist span { color: #DCE3FF; }
.jh-footer__clist li a, .jh-footer__clist li span { word-break: break-all; }
.jh-btn.jh-footer__cta { min-height: 48px; }
.jh-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.jh-footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; color: #AEBBEF; }
.jh-footer__bottom a { color: #DCE3FF; }
.jh-footer__bottom-in > div { float: none; width: auto; text-align: inherit; }
@media (max-width: 1024px) { .jh-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; } }
@media (max-width: 640px) {
	.jh-footer__sea { height: 84px; }
	.jh-footer__wave { height: 36px; }
	.jh-peek { width: calc(var(--w) * .6); bottom: 10px; }
	.jh-peek--seahorse, .jh-peek--starfish { display: none; }
	.jh-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
	.jh-footer__bottom-in { flex-direction: column; text-align: center; }
}

/* 13 ─ Parent-theme neutralisers ------------------------------------------- */
.jh-ui .sidr, .jh-ui #sidr-main, .jh-ui .to_top, .jh-ui .edit_wrap { display: none !important; }
.jh-ui .header_wrap, .jh-ui .footer_wrap { display: none; }
.jh-ui #content { padding: 0; }
.jh-ui .layer_wrapper { float: none; width: auto; }
.jh-ui .page_head, .jh-ui .post_head, .jh-ui .skt-page-title { display: none; }
body.jh-ui .single_post, body.jh-ui .thn_post_wrap { margin: 0; padding: 0; }
/* Elementor full-width pages: no stray gaps above the footer */
.jh-ui .page_fullwidth_wrap.fullwide { padding: 0; margin: 0; }
.jh-ui .wp_link_pages:empty { display: none; }
/* travel theme blog-shortcode fallback image (see functions.php) */
.jh-ui img.jh-fallback-img { width: 100%; height: 100%; aspect-ratio: 740 / 600; object-fit: contain; padding: 18%; background: var(--jh-cream); }

/* 14 ─ Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.jh-marquee__track, .jh-wiggle-hover:hover, .jh-pulse-ring::before { animation: none !important; }
	.jh-pulse-ring::before { display: none; }
	.jh-js .jh-reveal, .jh-js .jh-reveal-left, .jh-js .jh-reveal-right, .jh-js .jh-reveal-zoom, .jh-js .jh-stagger > * { transform: none !important; transition: opacity .3s linear; transition-delay: 0s; }
	.jh-btn:hover, .jh-card:hover, .jh-lift:hover, .jh-sticker:hover { transform: none; }
	.jh-drawer__panel, .jh-mbar, .jh-menu .sub-menu { transition-duration: .01ms !important; }
}

/* News cards without a featured image: whole ocean friend on a tint (overrides cover-cropping) */
.skt-home-posts-thumb img.jh-fallback-img, .jh-postcard img.jh-fallback-img { object-fit: contain !important; padding: 10% 26%; box-sizing: border-box; width: 100%; height: 100% !important; }
.jh-fallback-img--sky { background: var(--jh-sky); } .jh-fallback-img--sea { background: var(--jh-sea); }
.jh-fallback-img--sun { background: var(--jh-sun); } .jh-fallback-img--leaf { background: var(--jh-leaf); }

/* Classic themes wrap core group-block children in .wp-block-group__inner-container, which breaks
   grid helpers built from group blocks. Let the wrapper's children take part in the parent grid. */
.jh-content .jh-split > .wp-block-group__inner-container { display: contents; }
.jh-content .jh-split > .wp-block-group__inner-container > * { min-width: 0; margin-top: 0; margin-bottom: 0; }
.jh-content .jh-split--rev > .wp-block-group__inner-container > :first-child { order: 2; }
@media (max-width: 860px) { .jh-content .jh-split--rev > .wp-block-group__inner-container > :first-child { order: 0; } }

/* Skip link: fully invisible until keyboard focus (it can otherwise flash in some capture/print contexts). */
.jh-skip:not(:focus) { clip-path: inset(50%); opacity: 0; pointer-events: none; }
