/* Shared editorial category layout. Loaded only for enabled category archives. */
.itj-category .essential-grid.with-aside{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.itj-category .essential-aside{padding:36px;background:var(--slate);display:flex;flex-direction:column;justify-content:center;gap:16px}
.itj-category .essential-aside h3{font-size:32px;line-height:1.25}
.itj-category .essential-grid>.no-results:only-child{grid-column:1/-1}
@media(max-width:760px){.itj-category .essential-grid.with-aside{grid-template-columns:1fr}.itj-category .essential-aside{padding:24px}.itj-category .essential-aside h3{font-size:28px}}

.itj-category{--slate:#f3f7f8;--line:#d6e2e5;--teal:#00625f;--deep:#143b43;--muted:#425d66;color:#112f39;font-size:18px;line-height:1.75}
.itj-category *{min-width:0}
.itj-category .wrap{width:min(1248px,calc(100% - 80px));margin-inline:auto}
.itj-category h1,.itj-category h2,.itj-category h3{line-height:1.2}
.itj-category p{color:#243f48}
.itj-category a:focus-visible,.itj-category button:focus-visible,.itj-category input:focus-visible,.itj-category summary:focus-visible{outline:3px solid #007e8b;outline-offset:4px}
.itj-category section[id]{scroll-margin-top:30px}
.itj-category .breadcrumb{display:flex;flex-wrap:wrap;gap:10px;font-size:16px;padding-top:27px;color:var(--muted)}
.itj-category .hero{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:48px;align-items:center;padding:38px 0}
.itj-category .hero h1{font-size:clamp(42px,5vw,66px);line-height:1.06;letter-spacing:-2.5px;margin:14px 0 24px}
.itj-category .hero .intro{font-size:20px;line-height:1.7}
.itj-category .eyebrow{font-size:14px;text-transform:uppercase;letter-spacing:1.2px;font-weight:600;color:var(--teal)}
.itj-category .hero-kicker{display:flex;align-items:center;gap:12px}
.itj-category .hero-kicker:before{content:'';width:32px;height:2px;background:var(--teal)}
.itj-category figure{margin:0}
.itj-category .hero figure img{width:100%;height:auto}
.itj-category .hero figcaption{font-size:16px;color:var(--muted);padding:14px 18px;border-bottom:1px solid var(--line)}
.itj-category .hero-linkline{display:flex;gap:24px;align-items:baseline;flex-wrap:wrap}
.itj-category .hero-action{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px;margin-top:24px;background:var(--teal);color:#fff;padding:12px 20px;font-size:16px;font-weight:600;text-decoration:none}
.itj-category .hero-action:hover{background:var(--deep)}
.itj-category .text-link{color:var(--teal);font-size:16px;font-weight:600;text-underline-offset:4px}
.itj-category .quick-nav{display:flex;align-items:center;gap:8px 28px;flex-wrap:wrap;background:var(--deep);color:#fff;padding:10px 24px}
.itj-category .quick-nav span{margin-right:auto;color:#c3dadc;font-size:16px}
.itj-category .quick-nav a{display:flex;align-items:center;min-height:44px;font-size:16px;font-weight:600}
.itj-category .quick-nav a:hover{color:#a5e6d9}
.itj-category .quick-nav a:focus-visible{outline-color:#a5e6d9}
.itj-category .essentials{padding:54px 0 10px}
.itj-category .section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}
.itj-category .section-head h2{font-size:clamp(30px,3vw,40px);margin-top:8px}
.itj-category .section-head>p{max-width:390px}
.itj-category .essential-grid,.itj-category .article-grid,.itj-category .related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.itj-category .essential-card,.itj-category .article-card{display:flex;flex-direction:column;border:1px solid var(--line);background:#fff;padding:0}
.itj-category .essential-photo,.itj-category .card-photo{display:block;aspect-ratio:4/3;background:var(--slate)}
.itj-category .essential-photo img,.itj-category .card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.itj-category .essential-copy,.itj-category .card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:22px;gap:12px}
.itj-category .essential-copy h3,.itj-category .card-copy h3{font-size:24px;line-height:1.35;margin:0}
.itj-category .essential-copy .text-link,.itj-category .card-copy .text-link{margin-top:auto;padding-top:12px}
.itj-category .guide-intro{display:grid;grid-template-columns:1fr 1.15fr;gap:64px;padding:54px 0 28px;align-items:center}
.itj-category .guide-intro h2{font-size:38px;margin-top:12px}
.itj-category .chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:44px;align-items:start}
.itj-category .chapter-card{border:1px solid var(--line);background:#fff}
.itj-category .chapter-card>summary{display:flex;gap:16px;align-items:center;min-height:138px;padding:18px;cursor:pointer;list-style:none}
.itj-category .chapter-card>summary::-webkit-details-marker{display:none}
.itj-category .chapter-card>summary:after{content:'+';font-size:24px;color:var(--teal);margin-left:auto}
.itj-category .chapter-card[open]>summary:after{content:'−'}
.itj-category .chapter-photo{width:86px;aspect-ratio:4/3;flex-shrink:0;background:var(--slate)}
.itj-category .chapter-photo img{width:100%;height:100%;object-fit:contain}
.itj-category .chapter-number{font-size:14px;letter-spacing:1px;font-weight:600;color:var(--teal)}
.itj-category .chapter-title{display:block;font-size:21px;line-height:1.3;font-weight:600;margin:7px 0}
.itj-category .chapter-kind{display:block;font-size:14px;color:var(--muted)}
.itj-category .chapter-copy{margin:0 18px;padding:18px 2px 22px;border-top:1px solid var(--line)}
.itj-category .chapter-copy p{margin-bottom:16px}
.itj-category .editorial-band{background:var(--slate);padding:36px 0;margin-bottom:48px}
.itj-category .editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.itj-category .editorial-photo img{width:100%;height:auto}
.itj-category .editorial-grid h2{font-size:36px;margin:12px 0 20px}
.itj-category .library{padding:0 0 64px;background:#fff}
.itj-category .controls{display:block;background:var(--slate);padding:22px;margin-bottom:28px}
.itj-category .search-label{display:block;font-size:16px;font-weight:600}
.itj-category .search-line{display:flex;gap:12px;margin:8px 0 18px;align-items:stretch}
.itj-category .search-line input[type=search]{flex:1;width:100%;border:1px solid #8fa6ad;min-height:52px;padding:10px 14px;background:#fff;font:inherit}
.itj-category .search-line button,.itj-category .reset{display:inline-flex;align-items:center;justify-content:center;padding:8px 16px;min-height:52px;border:1px solid #8fa6ad;background:#fff;font:inherit;font-size:16px}
.itj-category .search-line button{background:var(--teal);color:#fff;border-color:var(--teal);cursor:pointer}
.itj-category .filter-buttons{display:flex;gap:8px;flex-wrap:wrap}
.itj-category .filter-buttons a{display:inline-flex;align-items:center;min-height:44px;padding:9px 15px;border:1px solid #9fb3b8;background:#fff;font-size:16px;border-radius:3px}
.itj-category .filter-buttons a[aria-current]{background:var(--deep);color:#fff;border-color:var(--deep)}
.itj-category .result-status{font-size:16px;margin-top:12px;color:var(--muted)}
.itj-category .no-results{padding:24px;background:#eaf5f2}
.itj-category .category-pagination ul{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;list-style:none;padding:0;margin:30px 0 0}
.itj-category .category-pagination .page-numbers:not(ul){display:flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;padding:8px 14px;border:1px solid var(--teal)}
.itj-category .category-pagination .current{background:var(--deep);color:white}
.itj-category .trust-note{margin-top:36px;padding:22px 26px;border:1px solid var(--line);background:var(--slate)}
.itj-category .trust-note summary{min-height:44px;cursor:pointer;font-size:18px;font-weight:600;align-content:center}
.itj-category .trust-note p{margin-top:15px;font-size:16px}
.itj-category .related{padding:44px 0;background:var(--slate)}
.itj-category .route-card{border:1px solid var(--line);background:#fff}
.itj-category .route-photo{display:block;aspect-ratio:4/3;background:var(--slate)}
.itj-category .route-photo img{width:100%;height:100%;object-fit:cover}
.itj-category .route-card .copy{padding:24px}
.itj-category .route-card h3{font-size:25px;margin:8px 0 12px}
body.category .category-nav a[aria-current=page]{color:#00625f;border-bottom:3px solid #00625f;font-weight:600}
@media(max-width:1100px){
.itj-category .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.itj-category .hero{gap:30px}
.itj-category .guide-intro{gap:36px}
}
@media(max-width:1000px){
.itj-category .wrap{width:calc(100% - 48px)}
.itj-category .article-grid,.itj-category .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.itj-category .essential-copy h3{font-size:22px}
}
@media(max-width:760px){
.itj-category .wrap{width:calc(100% - 40px)}
.itj-category .hero{grid-template-columns:1fr;gap:28px;padding:30px 0 32px}
.itj-category .hero h1{font-size:clamp(36px,9vw,44px);letter-spacing:-1.5px}
.itj-category .hero .intro{font-size:19px}
.itj-category .hero-action{width:100%}
.itj-category .hero-linkline{gap:18px}
.itj-category .quick-nav{padding:8px 14px;gap:4px 18px}
.itj-category .quick-nav span{display:none}
.itj-category .essentials{padding:34px 0 0}
.itj-category .section-head{display:block}
.itj-category .section-head>p{margin-top:16px;max-width:none}
.itj-category .essential-grid,.itj-category .chapter-grid,.itj-category .article-grid,.itj-category .related-grid{grid-template-columns:1fr;gap:18px}
.itj-category .essential-card:has(.essential-photo){display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center}
.itj-category .essential-copy{padding:18px}
.itj-category .essential-copy h3{font-size:21px}
.itj-category .guide-intro{grid-template-columns:1fr;gap:16px;padding:38px 0 22px}
.itj-category .guide-intro h2{font-size:32px}
.itj-category .chapter-card>summary{min-height:110px;padding:14px}
.itj-category .editorial-grid{grid-template-columns:1fr;gap:22px}
.itj-category .editorial-grid h2{font-size:32px}
.itj-category .editorial-band{padding:28px 0;margin-bottom:34px}
.itj-category .controls{padding:16px}
.itj-category .search-line{flex-wrap:wrap;gap:8px}
.itj-category .search-line input[type=search]{flex-basis:100%}
.itj-category .filter-buttons a{padding:9px 12px}
.itj-category .library{padding-bottom:38px}
.itj-category .trust-note{padding:20px}
}
@media(max-width:380px){.itj-category .essential-card:has(.essential-photo){grid-template-columns:88px minmax(0,1fr)}.itj-category .essential-copy{padding:12px}.itj-category .chapter-photo{width:70px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
