/* Jun Sing: the Customizr "blue" look. White header with a blue top border, blue site title and italic tagline,
   full-width photo slider, three featured pages with round photos and blue "Read more" buttons, grey footer.
   English and Chinese text sit side by side on wide screens. No inline styles: the CSP blocks them. */

body { font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; color: #5a5a5a; font-size: 15px; line-height: 1.7; }
.js-wrap { width: min(1170px, 100% - 32px); margin-inline: auto; }
a { color: #0088cc; }
a:hover { color: #005580; }

/* header */
.js-header { position: sticky; top: 0; z-index: 50; background: #fff; border-top: 5px solid #0088cc; box-shadow: 0 1px 6px rgba(0,0,0,.12); }
.js-header-in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 24px; padding: 14px 0 0; }
.js-brand img { display: block; height: 40px; width: auto; }
.js-tagline { margin: 0; justify-self: end; font-style: italic; font-weight: 700; color: #0088cc; font-size: 15px; }
.js-nav { grid-column: 1 / -1; justify-self: end; }
.js-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
.js-nav a { display: block; padding: 10px 10px 14px; color: #5a5a5a; text-decoration: none; font-size: 13.5px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.js-nav a:hover, .js-nav a[aria-current="page"] { color: #0088cc; border-bottom-color: #0088cc; }
.js-menu-btn { display: none; }

/* sliders */
.js-slider { position: relative; overflow: hidden; background: #e9eef2; }
.js-slide { margin: 0; display: none; }
.js-slide.is-active { display: block; animation: js-fade .8s; }
.js-slide img { width: 100%; display: block; object-fit: cover; }
.js-hero .js-slide img { height: clamp(220px, 36vw, 500px); }
@keyframes js-fade { from { opacity: .35; } to { opacity: 1; } }
.js-prev, .js-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; transition: background .2s; }
.js-prev:hover, .js-next:hover { background: rgba(0,136,204,.8); }
.js-prev { left: 14px; } .js-next { right: 14px; }
.js-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.js-dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: rgba(255,255,255,.3); padding: 0; cursor: pointer; }
.js-dots button[aria-current="true"] { background: #fff; }

/* featured pages */
.js-featured { padding: 50px 0 30px; border-bottom: 1px solid #e5e5e5; }
.js-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; }
.js-round { display: block; width: 170px; height: 170px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px #e5e5e5; transition: transform .3s, box-shadow .3s; }
.js-round img { width: 100%; height: 100%; object-fit: cover; }
.js-feat:hover .js-round { transform: scale(1.05); box-shadow: 0 0 0 5px rgba(0,136,204,.25); }
.js-feat h2 { font-size: 26px; font-weight: 400; color: #5a5a5a; line-height: 1.3; margin: 0 0 10px; }
.js-feat p { font-size: 14px; margin: 0 auto 14px; max-width: 32em; }
.js-btn { display: inline-block; padding: 5px 14px; border-radius: 4px; background: linear-gradient(#0088cc, #0044cc); color: #fff !important; font-size: 13px; text-decoration: none; text-shadow: 0 -1px 0 rgba(0,0,0,.25); transition: filter .2s; }
.js-btn:hover { filter: brightness(1.15); }
.js-home-about { padding: 30px 0 50px; }

/* pages */
.js-page { padding: 24px 0 60px; }
.js-crumbs { font-size: 13px; color: #999; margin-bottom: 12px; }
.js-crumbs a { color: #999; text-decoration: none; }
.js-crumbs a:hover { color: #0088cc; }
.js-title { font-size: clamp(26px, 4vw, 34px); font-weight: 400; color: #5a5a5a; line-height: 1.25; margin: 0 0 24px; padding-bottom: 14px; border-bottom: 1px solid #e5e5e5; }
.js-bi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.js-prose h2 { font-size: 22px; font-weight: 400; color: #5a5a5a; margin: 28px 0 10px; }
.js-prose h3 { font-size: 16px; font-weight: 700; color: #0088cc; margin: 22px 0 4px; }
.js-prose p { margin: 0 0 12px; }
.js-prose ul { margin: 0 0 16px; padding-left: 1.3em; }
.js-prose li { margin-bottom: 4px; }
.js-prose b a, .js-prose a b { font-size: 18px; }
.js-lang { display: inline-block; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #0088cc; border-radius: 3px; padding: 1px 8px; margin-bottom: 14px !important; }
.js-prose[lang="zh"] { line-height: 1.9; }
.js-banner { margin: 0 0 30px; }
.js-banner img, .js-fish-photo img, .js-cert img { width: 100%; height: auto; display: block; border-radius: 4px; }
.js-farm-slider { max-width: 640px; margin: 0 auto 30px; border-radius: 4px; overflow: hidden; }
.js-fish-photo { max-width: 640px; margin: 0 auto 30px; }
.js-fish-photo a, .js-cert a { display: block; overflow: hidden; border-radius: 4px; }
.js-fish-photo img { transition: transform .4s; }
.js-fish-photo a:hover img { transform: scale(1.03); }
.js-back { margin: 30px 0 0; }
.js-cert-title { font-size: 22px; font-weight: 400; margin: 40px 0 14px; text-align: center; }
.js-cert { max-width: 420px; margin: 0 auto; }
.js-fish-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.js-fish-grid a { display: block; text-decoration: none; color: #5a5a5a; text-align: center; }
.js-fish-grid img { width: 100%; height: auto; display: block; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: transform .3s, box-shadow .3s; }
.js-fish-grid a:hover img { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.js-fish-grid span { display: block; margin-top: 10px; font-size: 16px; }
.js-fish-grid a:hover span { color: #0088cc; }
.js-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.js-video { margin: 0; }
.js-yt, .js-video iframe { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: #000; cursor: pointer; border-radius: 4px; overflow: hidden; }
.js-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.js-yt svg { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); color: #fff; background: rgba(0,136,204,.85); border-radius: 50%; padding: 16px; }
.js-yt:hover img { opacity: 1; }
.js-video figcaption { margin-top: 8px; font-size: 15px; }

/* footer */
.js-footer { background: #5a5a5a; color: #fff; margin-top: 0; }
.js-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: 34px 0 26px; font-size: 14px; }
.js-footer h2 { font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.js-footer p { margin: 0 0 8px; }
.js-footer a { color: #fff; }
.js-colophon { background: #fafafa; color: #777; font-size: 12px; border-top: 1px solid #e5e5e5; }
.js-colophon p { margin: 0; padding: 14px 0; text-align: center; }

@media (max-width: 860px) {
  .js-header-in { grid-template-columns: auto 1fr auto; padding: 10px 0; }
  .js-tagline { font-size: 13px; }
  .js-menu-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ddd; background: #fff; border-radius: 4px; padding: 6px 10px; font-size: 13px; color: #5a5a5a; cursor: pointer; }
  .js-menu-btn svg { width: 18px; height: 18px; }
  .js-nav { display: none; justify-self: stretch; }
  .js-nav.is-open { display: block; }
  .js-nav ul { flex-direction: column; padding: 6px 0; }
  .js-nav a { padding: 10px 4px; border-bottom: 1px solid #eee; }
  .js-feat-grid, .js-bi, .js-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .js-fish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 480px) { .js-tagline { display: none; } .js-header-in { grid-template-columns: 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .js-slide.is-active { animation: none; } .js-round, .js-fish-grid img, .js-fish-photo img { transition: none; } }
