/* Types of Fish: underwater landing and server-rendered field guide. */
.types-page { position:relative; isolation:isolate; font-family:"Segoe UI","Atlas Inter",sans-serif; --types-line: rgba(159,218,236,.42); --types-muted:#b6d7e3; color:#f0f8fc; background:#031e2c; }
.types-page::before { content:""; position:fixed; z-index:-1; inset:0; height:auto; background:url("/assets/types-of-fish/ocean.webp") center top/cover no-repeat; pointer-events:none; }
.types-opening { max-width:1440px; margin:auto; padding:0 0 16px; }
.types-intro { position:relative; padding:43px 84px 14px; }
.types-eyebrow { margin:0 0 13px; color:#b9e0eb; font-size:10px; font-weight:500; line-height:1.7; letter-spacing:2.4px; }
.types-intro .types-eyebrow { color:#e0fbff; font-size:11px; letter-spacing:3px; }
.types-intro h1 { font:400 clamp(44px,3.7vw,62px)/1.12 "Atlas Serif",Georgia,serif; letter-spacing:.5px; margin:0 0 13px; text-wrap:balance; }
.types-lead { font:400 21px/1.4 "Atlas Serif",Georgia,serif; color:#d2e9f1; margin:0; }
.types-side-note { position:absolute; right:40px; top:72px; font-size:10px; color:#a3c9db; letter-spacing:2px; line-height:2.2; }
.types-side-note span,.types-journey blockquote span { display:block; width:44px; height:1px; background:#87adbc; margin-top:10px; }
.types-pathways { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.types-pathway { position:relative; display:grid; grid-template-columns:38% minmax(0,1fr); grid-template-rows:1fr auto; align-items:center; min-height:219px; border:1px solid var(--types-line); border-radius:16px; padding:19px 19px 17px 23px; background:rgba(6,50,70,.60); box-shadow:inset 0 1px 2px rgba(185,242,255,.2),0 8px 30px rgba(0,14,29,.12); backdrop-filter:blur(12px); transition:background .2s,border-color .2s,transform .2s; }
.types-pathway:hover { border-color:#a6dce8; background:rgba(9,64,84,.8); transform:translateY(-2px); }
.types-pathway-art { width:100%; height:142px; object-fit:contain; grid-column:1; grid-row:1; transform:scale(1.12); }
.types-pathway-habitat .types-pathway-art { transform:scale(1.06); border-radius:14px; mask-image:radial-gradient(ellipse at center,#000 45%,transparent 72%); }
.types-pathway-region .types-pathway-art { transform:scale(1.02); }
.types-pathway-copy { min-width:0; padding-left:14px; align-self:start; padding-top:18px; }
.types-pathway-copy .types-eyebrow { margin-bottom:7px; }
.types-pathway h2 { margin:0 0 8px; font:400 clamp(23px,1.95vw,31px)/1.15 "Atlas Serif",Georgia,serif; white-space:nowrap; }
.types-pathway h2 a { color:inherit; text-decoration:none; }
.types-pathway-copy>p:last-child { font-size:13px; line-height:1.7; color:#c5e0eb; margin:0; max-width:230px; }
.types-pathway-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; grid-column:1/-1; width:100%; }
.types-chips { list-style:none; display:flex; flex-wrap:wrap; gap:7px; padding:0; margin:0; }
.types-chips a { display:block; text-decoration:none; font-size:12px; line-height:1; color:#e8f5fc; padding:9px 15px; border:1px solid rgba(123,196,218,.32); border-radius:24px; background:rgba(8,57,77,.6); box-shadow:inset 0 1px 0 rgba(167,226,243,.08); }
.types-chips a:hover { background:#23637b; border-color:#a0dcea; }
.types-arrow { display:grid; place-items:center; width:39px; height:39px; flex-shrink:0; border:1px solid #79adbf; border-radius:50%; color:#e1f3fd; font-size:22px; text-decoration:none; background:rgba(60,116,139,.25); }
.types-arrow:hover { background:#247188; }
.types-journey { display:grid; grid-template-columns:1fr auto 280px; align-items:center; gap:60px; margin-top:21px; padding:25px 67px 25px 86px; min-height:144px; border:1px solid var(--types-line); border-radius:16px; background:rgba(4,39,56,.78); backdrop-filter:blur(12px); box-shadow:inset 0 1px 2px #8cb8c33b; }
.types-journey h2 { font:400 32px/1.2 "Atlas Serif",Georgia,serif; margin:0 0 8px; }
.types-journey .types-eyebrow { margin-bottom:6px; }
.types-journey p:last-child { color:var(--types-muted); margin:0; font-size:16px; }
.types-gold-button { display:inline-flex; align-items:center; gap:20px; justify-content:center; padding:14px 19px; background:#efd18b; color:#14242b; border:1px solid #ffe7a7; border-radius:14px; font-size:13px; font-weight:600; text-decoration:none; white-space:nowrap; box-shadow:inset 0 1px 1px #fff5d5; }
.types-gold-button:hover { background:#ffe4a5; }
.types-journey blockquote { margin:0; padding-left:70px; border-left:1px solid #447084; color:#9ec5d7; font:italic 17px/1.6 "Atlas Serif",Georgia,serif; }
.types-journey blockquote span { margin-top:12px; }
.types-guide { max-width:1256px; margin:80px auto 0; padding:0 24px; }
.types-breadcrumbs { display:flex; gap:13px; font-size:12px; color:#91b6c6; margin-bottom:36px; }
.types-guide a { color:#bee8ee; text-underline-offset:4px; }
.types-guide a:hover { color:#fff; }
.types-guide h2 { font:400 38px/1.2 "Atlas Serif",Georgia,serif; margin:0 0 15px; color:#f0f6f8; }
.types-guide h3 { font:400 26px/1.25 "Atlas Serif",Georgia,serif; color:#edf5f8; margin:0 0 12px; }
.types-guide p { line-height:1.8; color:#bdd0d9; font-size:15px; }
.types-guide .types-eyebrow { font-size:10px; color:#92c9d5; line-height:1.7; }
.types-guide-intro { display:grid; grid-template-columns:1fr 1.2fr; gap:80px; padding-bottom:28px; }
.types-guide-intro h2 { font-size:44px; }
.types-guide-intro p { margin-top:0; }
.types-guide .types-meta { font-size:12px; color:#97b6c2; }
.types-jump-nav { display:flex; flex-wrap:wrap; gap:8px; padding:20px 0; border-block:1px solid #335262; }
.types-jump-nav a { font-size:13px; text-decoration:none; border:1px solid #406477; border-radius:22px; padding:9px 16px; background:#0b2d3e; }
.types-jump-nav a:hover { background:#17475b; }
.types-collection { padding:65px 0 10px; }
.types-collection-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.types-collection-heading .types-eyebrow { margin-bottom:8px; }
.types-collection-heading h2 { margin-bottom:7px; }
.types-guide .types-collection-tagline { font:italic 18px/1.6 "Atlas Serif",Georgia,serif; color:#97c9d4; margin:0; }
.types-text-link { font-size:13px; white-space:nowrap; }
.types-collection-intro { max-width:1040px; margin:22px 0 28px; }
.types-fish-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.types-fish-card { background:#082b3b; border:1px solid #315463; border-radius:15px; overflow:hidden; min-width:0; }
.types-fish-photo { display:block; height:218px; background:#062131; border-bottom:1px solid #284a59; }
.types-fish-photo img { width:100%; height:100%; object-fit:contain; padding:12px; }
.types-fish-copy { padding:22px; }
.types-water-badges { display:flex; gap:5px; flex-wrap:wrap; margin-bottom:14px; }
.types-water-badges span { font-size:10px; color:#c0dfe6; background:#164254; border-radius:12px; padding:4px 8px; }
.types-fish-card h3 { font-size:24px; margin:0; }
.types-fish-card h3 a { display:flex; justify-content:space-between; gap:12px; text-decoration:none; color:#edf5f8; }
.types-fish-card h3 span { font:18px sans-serif; color:#9bcddc; }
.types-guide .types-scientific { color:#8db8c9; font-size:12px; margin:5px 0 15px; }
.types-guide .types-fish-note { font-size:13px; min-height:100px; }
.types-card-links { display:flex; justify-content:space-between; gap:10px; margin-top:20px; }
.types-card-links a { font-size:10px; }
.types-credit { margin-top:16px; border-top:1px solid #30515f; padding-top:12px; font-size:11px; color:#9bbfcf; }
.types-credit summary { cursor:pointer; padding:3px 0; }
.types-credit p,.types-guide .types-credit p { font-size:11px; overflow-wrap:anywhere; }
.types-guide .types-conservation { background:#163947; padding:12px; border-left:2px solid #e9bd81; font-size:11px; color:#eacead; }
.types-conservation strong,.types-conservation span { display:block; }
.types-conservation a { font-size:10px; }
.types-other-ways,.types-az,.types-faq,.types-sources { padding-top:80px; }
.types-notes-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.types-notes-grid article { padding:30px; border:1px solid #325765; border-radius:15px; background:#082b3b; }
.types-notes-grid ul { padding-left:18px; font-size:14px; color:#b6cfd9; line-height:2; }
.types-water-note { margin-top:24px; padding:24px 30px; display:grid; grid-template-columns:1fr 1fr; gap:40px; border:1px solid #325765; border-radius:15px; }
.types-water-note h3 { font-size:22px; }
.types-section-heading { margin-bottom:30px; }
.types-local-search { margin-bottom:22px; max-width:500px; }
.types-local-search label { display:block; font-size:12px; margin-bottom:8px; }
.types-local-search>div { display:flex; gap:10px; }
.types-local-search input { color:#ecf6fa; background:#0b3041; border:1px solid #4a7084; border-radius:10px; padding:13px; width:100%; }
.types-local-search button { border:1px solid #668fa1; border-radius:10px; color:#e2f1f6; background:#143c50; padding:0 15px; cursor:pointer; }
.types-guide #types-result-count { font-size:12px; }
.types-table-wrap { overflow-x:auto; border:1px solid #355765; border-radius:12px; }
.types-az-table { width:100%; border-collapse:collapse; font-size:13px; }
.types-az-table th { padding:16px; background:#103749; color:#d7ecf0; font-size:11px; text-align:left; }
.types-az-table td { padding:16px; border-top:1px solid #244957; color:#accad6; line-height:1.8; }
.types-az-table td:first-child a { color:#edf5f6; font-weight:500; text-decoration:none; }
.types-az-table td:last-child a { display:inline-block; margin-right:10px; }
.types-faq details { border-bottom:1px solid #365b6a; }
.types-faq summary { padding:24px 30px 24px 0; font:400 21px/1.5 "Atlas Serif",Georgia,serif; cursor:pointer; }
.types-faq details p { max-width:900px; margin:0 0 24px; }
.types-sources { max-width:950px; }
.types-sources h2 { font-size:32px; }
.types-sources p { font-size:13px; }
.types-bottom-cta { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:32px; margin:60px 0 25px; background:#0c3345; border:1px solid #547b8b; border-radius:15px; }
.types-bottom-cta h2 { font-size:28px; margin:0; }
.types-guide .types-gold-button { color:#14242b; }
.types-back-top { display:block; text-align:center; padding:20px; font-size:12px; }
.types-page :target { scroll-margin-top:25px; }
.types-page a:focus-visible,.types-page button:focus-visible,.types-page summary:focus-visible,.types-page input:focus-visible { outline:2px solid #f3d58b; outline-offset:5px; }
.types-page [hidden] { display:none!important; }
.types-page .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; }
@media(min-width:1500px) { .types-opening { padding-top:0; } .types-intro { padding-bottom:14px; } .types-pathway { min-height:220px; } }
@media(max-width:1500px) { .types-opening { margin-inline:5vw; } .types-intro { padding-left:6vw; } .types-pathway { padding:17px; grid-template-columns:37% minmax(0,1fr); } .types-chips a { padding:8px 11px; font-size:11px; } .types-journey { padding-inline:6vw; gap:35px; grid-template-columns:1fr auto 230px; } .types-journey blockquote { padding-left:40px; } }
@media(max-width:1100px) { .types-intro { padding-left:2vw; } .types-side-note { display:none; } .types-pathways { grid-template-columns:repeat(2,minmax(0,1fr)); } .types-pathway { min-height:215px; } .types-pathway h2 { font-size:28px; } .types-pathway-copy { padding-top:15px; } .types-journey { grid-template-columns:1fr auto; padding:25px 30px; gap:20px; } .types-journey blockquote { display:none; } .types-guide-intro { gap:40px; } .types-fish-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .types-guide { margin-top:65px; } }
@media(max-width:760px) { .types-opening { margin-inline:5%; } .types-intro { padding:32px 0 27px; } .types-intro h1 { font-size:43px; max-width:500px; } .types-intro .types-eyebrow { font-size:9px; letter-spacing:2px; } .types-lead { font-size:18px; } .types-desktop-break { display:none; } .types-pathway { min-height:224px; padding:15px; grid-template-columns:37% 1fr; } .types-pathway h2 { font-size:24px; white-space:normal; } .types-pathway-copy { padding-left:10px; } .types-pathway-copy>p:last-child { font-size:12px; } .types-pathway-art { height:135px; } .types-chips { gap:5px; } .types-chips a { font-size:10px; padding:8px; } .types-arrow { width:34px; height:34px; font-size:19px; } .types-journey h2 { font-size:26px; } .types-journey p:last-child { font-size:13px; } .types-journey { padding:25px; grid-template-columns:1fr; justify-items:start; } .types-guide { padding-inline:5%; margin-top:55px; } .types-guide-intro { grid-template-columns:1fr; gap:10px; } .types-guide-intro h2 { font-size:36px; } .types-guide h2 { font-size:32px; } .types-collection-heading { display:block; } .types-collection-heading>a { display:inline-block; margin-top:16px; } .types-fish-grid { gap:15px; } .types-fish-copy { padding:17px; } .types-fish-card h3 { font-size:21px; } .types-fish-photo { height:180px; } .types-card-links { flex-direction:column; } .types-notes-grid,.types-water-note { grid-template-columns:1fr; gap:18px; } .types-notes-grid article { padding:24px; } .types-az-table { min-width:700px; } .types-bottom-cta { flex-direction:column; align-items:flex-start; padding:25px; } .types-faq summary { font-size:19px; } }
@media(max-width:540px) { .types-pathways,.types-fish-grid { grid-template-columns:minmax(0,1fr); } .types-page::before { background-position:35% top; } .types-pathway { min-height:214px; padding:18px 16px; grid-template-columns:37% minmax(0,1fr); } .types-pathway h2 { font-size:clamp(23px,6.8vw,28px); white-space:normal; } .types-pathway-copy>p:last-child { font-size:12px; } .types-pathway-copy { padding-top:17px; padding-left:10px; } .types-chips a { font-size:10px; padding:8px 10px; } .types-pathway-art { height:139px; } .types-intro h1 { font-size:41px; max-width:340px; } .types-fish-photo { height:225px; } .types-fish-copy { padding:22px; } .types-fish-card h3 { font-size:26px; } .types-guide .types-fish-note { min-height:0; } .types-card-links { flex-direction:row; } .types-jump-nav { gap:7px; } .types-jump-nav a { font-size:12px; padding:8px 12px; } }
@media(prefers-reduced-motion:reduce) { .types-pathway { transition:none; } .types-pathway:hover { transform:none; } }

.types-arrow img { width:18px; height:18px; filter:brightness(0) invert(1); }
.types-external-icon { width:13px; height:13px; display:inline-block; transform:rotate(-45deg); vertical-align:middle; filter:brightness(0) invert(1); }
.types-gold-button .types-external-icon { filter:brightness(0); }

/* Editorial child pages: finite landing pages, not generated catalog filters. */
.types-detail { max-width:1256px; margin:0 auto; padding:36px 24px 90px; }
.types-detail a { color:#bee8ee; text-underline-offset:4px; }
.types-detail .types-gold-button { color:#14242b; }
.types-detail-hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr); gap:clamp(36px,7vw,92px); align-items:center; padding:42px 0 62px; }
.types-detail-hero h1 { margin:8px 0 22px; font:400 clamp(52px,7vw,96px)/.96 "Atlas Serif",Georgia,serif; letter-spacing:-2px; }
.types-detail-lead { max-width:680px; margin:0 0 30px; color:#c3dce5; font:400 clamp(17px,1.6vw,21px)/1.7 "Atlas Serif",Georgia,serif; }
.types-detail-hero-image { position:relative; margin:0; }
.types-detail-hero-image img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; padding:18px; border:1px solid #3b6574; border-radius:52% 48% 47% 53% / 43% 46% 54% 57%; background:#082b3b; box-shadow:0 28px 70px rgba(0,10,20,.35); }
.types-detail-hero-image figcaption { position:absolute; right:18px; bottom:14px; max-width:84%; padding:10px 14px; background:rgba(3,30,44,.9); color:#d8edf2; font-size:12px; }
.types-detail-nav { display:flex; gap:8px; overflow-x:auto; padding:16px 0; border-block:1px solid #315463; scrollbar-width:thin; }
.types-detail-nav a { flex:0 0 auto; padding:8px 13px; border:1px solid #3d6878; border-radius:999px; text-decoration:none; font-size:11px; letter-spacing:.04em; }
.types-detail-story { display:grid; grid-template-columns:210px minmax(0,820px); column-gap:56px; padding:76px 0 8px; }
.types-detail-story>.types-eyebrow { grid-column:1; grid-row:1 / span 2; padding-top:9px; }
.types-detail-story h2 { grid-column:2; margin:0 0 16px; font:400 clamp(36px,5vw,54px)/1.1 "Atlas Serif",Georgia,serif; }
.types-detail-story>p:last-child { grid-column:2; margin:0; color:#bdd0d9; font-size:17px; line-height:1.85; }
.types-detail-story-alt { padding-top:48px; }
.types-detail-common,.types-detail-pictures,.types-detail-representatives,.types-detail-list,.types-detail-faq { padding-top:78px; }
.types-detail .types-section-heading h2 { margin:0 0 14px; font:400 clamp(34px,4.5vw,48px)/1.15 "Atlas Serif",Georgia,serif; }
.types-detail .types-section-heading>p:last-child { color:#a9c7d2; line-height:1.7; }
.types-detail-common-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.types-detail-common-grid article { min-height:170px; padding:23px; border:1px solid #315463; border-radius:12px; background:#082b3b; }
.types-detail-common-grid span { color:#e8c883; font-size:10px; font-weight:700; letter-spacing:2px; }
.types-detail-common-grid h3 { margin:50px 0 0; color:#edf5f8; font:400 22px/1.25 "Atlas Serif",Georgia,serif; }
.types-detail-photo-grid { display:grid; grid-template-columns:1.25fr .9fr .9fr; gap:16px; }
.types-detail-photo-grid figure { margin:0; overflow:hidden; border:1px solid #315463; border-radius:12px; background:#082b3b; }
.types-detail-photo-grid img { display:block; width:100%; height:280px; object-fit:contain; padding:10px; }
.types-detail-photo-grid figcaption { display:flex; justify-content:space-between; gap:12px; padding:13px 15px; border-top:1px solid #315463; color:#9dbfcb; font-size:12px; }
.types-detail .types-fish-note { min-height:44px; color:#a9c7d2; font-size:12px; line-height:1.7; }
.types-detail-list .types-text-link { display:inline-block; margin-top:24px; }
.types-detail-next { display:flex; align-items:flex-end; justify-content:space-between; gap:36px; margin-top:86px; padding:38px; border:1px solid #547b8b; border-radius:15px; background:#0c3345; }
.types-detail-next h2 { margin:5px 0 8px; font:400 clamp(30px,4vw,44px)/1.15 "Atlas Serif",Georgia,serif; }
.types-detail-next p { max-width:650px; margin:0; color:#b9d0d9; line-height:1.7; }
@media(max-width:820px) { .types-detail-hero { grid-template-columns:1fr; } .types-detail-story { grid-template-columns:1fr; gap:6px; } .types-detail-story>.types-eyebrow,.types-detail-story h2,.types-detail-story>p:last-child { grid-column:1; } .types-detail-common-grid { grid-template-columns:repeat(2,1fr); } .types-detail-photo-grid { grid-template-columns:1fr 1fr; } .types-detail-photo-grid figure:first-child { grid-column:1/-1; } .types-detail-next { align-items:flex-start; flex-direction:column; } }
@media(max-width:520px) { .types-detail { padding-inline:5%; } .types-detail-hero h1 { font-size:48px; } .types-detail-common-grid,.types-detail-photo-grid { grid-template-columns:1fr; } .types-detail-photo-grid figure:first-child { grid-column:auto; } .types-detail-common-grid article { min-height:135px; } .types-detail-common-grid h3 { margin-top:30px; } .types-detail-next { padding:26px; } }

/* The hub alone uses six staggered editorial panels; guide pages keep their layout. */
.types-ocean-gallery { max-width:1800px; margin:0 auto; padding:22px 3.8% 28px; }
.types-ocean-gallery .types-intro { padding:0 0 22px; }
.types-ocean-gallery .types-intro .types-eyebrow { display:flex; align-items:center; gap:16px; margin-bottom:10px; font:500 11px/1.6 "Atlas Inter",sans-serif; letter-spacing:2.4px; }
.types-ocean-gallery .types-intro .types-eyebrow::after { content:""; width:88px; border-top:1px solid #b9d9e0; }
.types-ocean-gallery .types-intro h1 { font:800 clamp(42px,4.3vw,74px)/1.1 "Atlas Inter","Microsoft YaHei",sans-serif; letter-spacing:.015em; margin:0 0 14px; }
.types-ocean-gallery .types-lead { font:400 clamp(15px,1.2vw,20px)/1.6 "Atlas Inter","Microsoft YaHei",sans-serif; color:#e2f3f7; max-width:720px; }
.types-ocean-gallery .types-pathways { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:start; gap:clamp(14px,1.35vw,25px); padding-top:32px; }
.types-ocean-gallery .types-pathway { --panel:#f5efdf; --offset:0px; position:relative; display:flex; flex-direction:column; align-items:stretch; min-height:550px; padding:30px 21px 0; border:0; border-radius:18px; color:#051c29; background:var(--panel); box-shadow:0 12px 26px #00182635; backdrop-filter:none; transform:translateY(var(--offset)) skewY(-5deg); transition:transform .22s,box-shadow .22s; isolation:isolate; }
.types-ocean-gallery .types-pathway:hover { transform:translateY(calc(var(--offset) - 8px)) skewY(-5deg); box-shadow:0 20px 35px #00182655; }
.types-ocean-gallery .types-pathway-groups { --panel:#4fc4e6; --offset:18px; min-height:600px; }
.types-ocean-gallery .types-pathway-use { --panel:#f8ce59; --offset:-68px; min-height:590px; }
.types-ocean-gallery .types-pathway-region { --panel:#8dd9d3; --offset:16px; min-height:580px; }
.types-ocean-gallery .types-pathway-appearance { --panel:#b6a6ec; --offset:-58px; min-height:630px; }
.types-ocean-gallery .types-pathway-lifestyle { --panel:#a0dcad; --offset:23px; min-height:580px; }
.types-ocean-gallery .types-pathway-copy { position:relative; z-index:2; padding:0; min-width:0; align-self:auto; }
.types-card-index { display:flex; align-items:center; gap:16px; margin-bottom:21px; font:600 16px/1 "Atlas Inter",sans-serif; }
.types-card-index img { width:31px; height:31px; object-fit:contain; filter:brightness(0) saturate(100%); }
.types-ocean-gallery .types-pathway h2 { font:800 clamp(20px,2.05vw,36px)/1.15 "Atlas Inter","Microsoft YaHei",sans-serif; letter-spacing:-.045em; white-space:normal; margin:0 0 3px; }
.types-ocean-gallery .types-pathway h2 a { color:#041925; text-decoration:none; }
.types-ocean-gallery .types-card-label { margin:0 0 20px; font:900 clamp(18px,1.8vw,32px)/1.04 Impact,"Arial Narrow","Atlas Inter",sans-serif; letter-spacing:-.04em; color:#041925; overflow-wrap:anywhere; }
.types-ocean-gallery .types-card-note { margin:0 0 15px; color:#143543; font:400 clamp(13px,1.04vw,18px)/1.5 "Atlas Inter","Microsoft YaHei",sans-serif; max-width:210px; }
.types-ocean-gallery .types-arrow { width:37px; height:37px; margin:0 0 14px; background:transparent; border:1.5px solid #102c39; }
.types-ocean-gallery .types-arrow img { filter:brightness(0); }
.types-ocean-gallery .types-arrow:hover { background:#ffffff70; }
.types-ocean-gallery .types-chips { gap:6px; margin:0; }
.types-ocean-gallery .types-chips a { display:block; padding:6px 10px; font:600 clamp(11px,.9vw,15px)/1.15 "Atlas Inter","Microsoft YaHei",sans-serif; border:0; background:#ffffff42; border-radius:20px; color:#102b38; box-shadow:none; overflow-wrap:anywhere; }
.types-ocean-gallery .types-chips a:hover { background:#ffffffb0; }
.types-ocean-gallery .types-more { margin-top:7px; }
.types-ocean-gallery .types-more summary { display:block; list-style:none; width:fit-content; cursor:pointer; padding:6px 10px; border-radius:20px; font-size:12px; background:#ffffff60; }
.types-ocean-gallery .types-more summary::-webkit-details-marker { display:none; }
.types-ocean-gallery .types-more[open] .types-chips { margin-top:8px; }
.types-ocean-gallery .types-pathway-art { display:block; position:relative; z-index:1; grid-area:auto; width:calc(100% + 42px); max-width:none; height:250px; object-fit:contain; margin:auto -21px 0; transform:none; border-radius:0 0 18px 18px; mask-image:none; pointer-events:none; }
.types-ocean-gallery .types-pathway-habitat .types-pathway-art { height:260px; object-fit:cover; object-position:center bottom; margin-top:-15px; }
.types-ocean-gallery .types-pathway-groups .types-pathway-art { height:270px; transform:scaleX(-1); }
.types-ocean-gallery .types-pathway-use .types-pathway-art { height:280px; padding:0 9px 14px; }
.types-ocean-gallery .types-pathway-region .types-pathway-art { object-fit:cover; object-position:center top; height:240px; }
.types-ocean-gallery .types-pathway-appearance .types-pathway-art { height:290px; padding:0 10px 12px; }
.types-ocean-gallery .types-pathway-lifestyle .types-pathway-art { padding-bottom:10px; }
.types-ocean-caption { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; padding-top:48px; }
.types-ocean-caption blockquote { margin:0; padding-left:24px; border-left:1px solid #b4ced7; font:italic 18px/1.5 "Atlas Serif",serif; color:#d5e6ea; }
.types-ocean-caption>p { margin:0; text-align:right; font:500 10px/1.8 "Atlas Inter",sans-serif; letter-spacing:2px; color:#d5e6ea; }
.types-ocean-gallery a:focus-visible,.types-ocean-gallery summary:focus-visible { outline:3px solid #092c42; outline-offset:3px; }
@media(min-width:1201px) { html[lang=en] .types-ocean-gallery .types-pathway h2 { font-size:clamp(18px,1.6vw,27px); } html[lang=en] .types-ocean-gallery .types-card-label { font-size:clamp(19px,1.65vw,29px); } }
@media(max-width:1200px) {
  .types-ocean-gallery { padding:28px 5% 32px; }
  .types-ocean-gallery .types-pathways { grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px 22px; padding-top:35px; }
  .types-ocean-gallery .types-pathway { --offset:0px; min-height:560px; }
  .types-ocean-gallery .types-pathway:nth-child(3n + 2) { --offset:20px; }
  .types-ocean-gallery .types-pathway h2 { font-size:30px; }
  .types-ocean-gallery .types-card-label { font-size:29px; }
  .types-ocean-gallery .types-card-note { font-size:16px; }
  .types-ocean-gallery .types-chips a { font-size:13px; }
}
@media(max-width:760px) {
  .types-ocean-gallery .types-pathways { grid-template-columns:repeat(2,minmax(0,1fr)); gap:35px 18px; }
  .types-ocean-gallery .types-pathway:nth-child(n) { --offset:0px; }
  .types-ocean-gallery .types-pathway:nth-child(even) { --offset:15px; }
  .types-ocean-gallery .types-pathway { padding:24px 18px 0; min-height:550px; }
  .types-ocean-gallery .types-pathway h2 { font-size:26px; }
  .types-ocean-gallery .types-card-label { font-size:26px; }
  .types-ocean-gallery .types-pathway-art { width:calc(100% + 36px); margin-inline:-18px; }
}
@media(max-width:520px) {
  .types-ocean-gallery { padding:25px 7% 35px; }
  .types-ocean-gallery .types-intro h1 { font-size:44px; }
  .types-ocean-gallery .types-pathways { grid-template-columns:minmax(0,1fr); gap:34px; padding-top:20px; }
  .types-ocean-gallery .types-pathway:nth-child(n) { --offset:0px; min-height:550px; padding-top:28px; }
  .types-ocean-gallery .types-pathway h2 { font-size:34px; }
  .types-ocean-gallery .types-card-label { font-size:31px; margin-bottom:17px; }
  .types-ocean-gallery .types-card-note { max-width:260px; }
  .types-ocean-gallery .types-chips a { padding:8px 12px; }
  .types-ocean-gallery .types-pathway-art { height:270px; }
  .types-ocean-gallery .types-pathway-habitat .types-pathway-art { height:290px; }
  .types-ocean-caption { padding-top:30px; }
  .types-ocean-caption blockquote { padding-left:14px; font-size:15px; }
  .types-ocean-caption>p { font-size:8px; letter-spacing:1px; }
}
@media(prefers-reduced-motion:reduce) { .types-ocean-gallery .types-pathway { transition:none; } .types-ocean-gallery .types-pathway:hover { transform:translateY(var(--offset)) skewY(-5deg); } }
/* Reuse the ocean photograph as the texture of the colored panels. */
.types-ocean-gallery .types-pathway:not(.types-pathway-habitat) { background-image:url('/assets/types-of-fish/ocean.webp'); background-position:48% bottom; background-size:auto 100%; background-blend-mode:soft-light; }
@media(min-width:1201px) {
  .types-ocean-gallery .types-lead { max-width:32%; }
  .types-ocean-gallery .types-pathway { height:530px; min-height:530px; }
  .types-ocean-gallery .types-pathway-groups { height:570px; }
  .types-ocean-gallery .types-pathway-use { height:560px; }
  .types-ocean-gallery .types-pathway-region { height:550px; }
  .types-ocean-gallery .types-pathway-appearance { height:590px; }
  .types-ocean-gallery .types-pathway-lifestyle { height:550px; }
  .types-ocean-gallery .types-pathway-art { position:absolute; bottom:0; left:0; margin:0; width:100%; }
  .types-ocean-gallery .types-pathway-region .types-pathway-art { height:210px; }
  .types-ocean-gallery .types-pathway-use .types-pathway-art { height:240px; }
  .types-ocean-gallery .types-pathway-appearance .types-pathway-art { height:250px; }
  .types-ocean-gallery .types-pathway:has(.types-more[open]) { height:auto; padding-bottom:245px; }
  .types-ocean-gallery .types-ocean-caption { margin-top:-12px; padding-top:0; }
}

/* The selected panel holds the first slot while the other categories disperse. */
.types-ocean-gallery .types-pathways { position:relative; }
.types-ocean-gallery .types-pathway { cursor:pointer; }
.types-page:has(.types-pathways.is-expanded) { overflow-x:clip; }
.types-pathways.is-expanded .types-pathway { pointer-events:none; }
.types-pathways.is-expanded .types-pathway.is-selected { z-index:2; }
.types-subcategories { position:absolute; right:0; z-index:3; padding:0 0 30px; animation:types-reveal .45s .28s both; }
.types-back { display:inline-flex; align-items:center; gap:6px; text-decoration:none; padding:11px 17px; margin-bottom:32px; border:1px solid #a2cfdd; border-radius:24px; color:#effaff; background:#093247d9; cursor:pointer; font:500 14px/1.4 "Atlas Inter","Microsoft YaHei",sans-serif; }
.types-back:hover { background:#22586b; }
.types-back:focus-visible { outline:3px solid #f3d58b; outline-offset:4px; }
.types-subcategories-note { max-width:680px; margin:0 0 36px; color:#d2e5eb; font:400 clamp(17px,1.5vw,22px)/1.9 "Atlas Serif","Microsoft YaHei",serif; text-wrap:pretty; }
/* Repeating staggered bands on an invisible grid; numbers preserve reading order. */
.types-subcategory-links { display:grid; grid-template-columns:repeat(var(--index-columns,3),minmax(0,1fr)); align-items:start; column-gap:clamp(24px,4vw,72px); row-gap:32px; margin:38px 0 30px; padding:0; list-style:none; }
.types-subcategory-links li { min-width:0; grid-column:var(--index-column); grid-row:var(--index-row); margin-top:var(--entry-offset,0px); }
.types-subcategory-links a { position:relative; display:grid; justify-items:start; gap:9px; width:100%; max-width:220px; padding:0 0 20px; border:0; border-bottom:1px solid #b6d7e366; border-radius:0; background:none; color:#f0faff; text-decoration:none; transition:color .2s,border-color .2s; }
.types-index-number { color:#b9d3dd; font:400 12px/1.5 "Atlas Inter",sans-serif; letter-spacing:.08em; }
.types-index-title { font:400 clamp(20px,1.9vw,29px)/1.35 "Atlas Serif","Microsoft YaHei",serif; overflow-wrap:anywhere; }
.types-index-label { color:#a9c9d5; font:400 10px/1.7 "Atlas Inter",sans-serif; letter-spacing:.15em; }
.types-subcategory-links a::after { content:"↗"; position:absolute; right:0; top:0; color:#c4dce5; opacity:0; transition:opacity .2s,translate .2s; translate:-3px 3px; }
.types-subcategory-links a:hover,.types-subcategory-links a:focus-visible { color:#f5dca0; border-bottom-color:#f5dca0; }
.types-subcategory-links a:hover::after,.types-subcategory-links a:focus-visible::after { opacity:1; translate:0 0; }
.types-subcategory-links.is-spacious { max-width:820px; row-gap:44px; }
.types-subcategory-links.is-spacious .types-index-title { font-size:clamp(23px,2.4vw,36px); }
.types-subcategory-links.is-compact { row-gap:20px; }
.types-index-preview { box-sizing:border-box; position:fixed; z-index:100; width:320px; max-width:calc(100vw - 48px); max-height:calc(100dvh - 48px); overflow:hidden; display:flex; flex-direction:column; margin:0; padding:10px; border:1px solid #fff7e1; border-radius:14px; pointer-events:none; background:#f5efdf; color:#12323e; box-shadow:0 16px 40px #00101c66,0 2px 6px #00101c33; }
.types-index-preview[hidden] { display:none; }
.types-index-preview img { display:block; flex:1 1 auto; min-height:0; width:100%; height:200px; object-fit:cover; border-radius:7px; background:#082d3c; }
.types-index-preview figcaption { flex:0 0 auto; display:grid; grid-template-columns:24px minmax(0,1fr) 20px; align-items:center; gap:5px 9px; padding:16px 6px 8px; }
.types-preview-number { font:500 10px/1.5 "Atlas Inter",sans-serif; color:#677b80; align-self:start; padding-top:5px; }
.types-preview-title { font:400 23px/1.25 "Atlas Serif","Microsoft YaHei",serif; overflow-wrap:anywhere; }
.types-preview-label { grid-column:2; color:#61767d; font:500 9px/1.5 "Atlas Inter",sans-serif; letter-spacing:.13em; }
.types-preview-arrow { grid-column:3; grid-row:1 / span 2; font-size:23px; }
.types-subcategories a:focus-visible,.types-subcategories button:focus-visible { outline:3px solid #f3d58b; outline-offset:4px; }
@keyframes types-reveal { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@media(min-width:761px) and (max-width:1000px) { .types-subcategory-links { column-gap:20px; } .types-index-title { font-size:20px; } }
@media(max-width:760px) { .types-subcategories { padding-top:5px; } .types-back { margin-bottom:20px; } .types-subcategory-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; margin-top:30px; } .types-subcategory-links li { grid-column:auto; grid-row:auto; margin-top:0; } .types-subcategory-links a { padding-bottom:18px; } .types-subcategory-links a::after { display:none; } .types-index-title,.types-subcategory-links.is-spacious .types-index-title { font-size:22px; } .types-index-preview { display:none; } }
@media(hover:none) { .types-index-preview { display:none; } }
@media(prefers-reduced-motion:reduce) { .types-subcategories { animation:none; } .types-subcategory-links a { transition:none; } }
html:has(.types-pathways.is-expanded) { overflow-x:clip; }

/* Return to the resting grid before animating, without hover or transition drift. */
.types-pathways.is-returning .types-pathway { pointer-events:none; transition:none; }
.types-ocean-gallery .types-pathways.is-returning .types-pathway { transform:translateY(var(--offset)) skewY(-5deg); }
.types-ocean-gallery a:focus:not(:focus-visible),.types-back:focus:not(:focus-visible) { outline:none; }
html:has(.types-pathways.is-returning),.types-page:has(.types-pathways.is-returning) { overflow-x:clip; }
