/* Baseball Navi: opt-in category explorer page template, v3.2.0.
 * Loaded only when page-templates/navi-category-index.php is selected. */
.bb-site-shell .navi-category-index { min-height: 70vh; padding: 16px 0 55px; background: #f0f4f8; }
.navi-category-index, .navi-category-index * { box-sizing: border-box; }
.navi-category-index a { text-decoration: none; }
.nci-wrap { max-width: 1810px; }
.nci-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 0 0 15px; color: #76879d; font-size: 12px; font-weight: 700; }
.nci-breadcrumb a { color: #385779; }
.nci-breadcrumb a:hover { color: #0762b4; }
.nci-breadcrumb span[aria-hidden] { color: #b7c6d8; }
.nci-hero { min-height: 213px; position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-radius: 9px; padding: 27px clamp(24px,4vw,60px); margin-bottom: 16px; background: linear-gradient(110deg,#061b38 3%,#0a3361 60%,#1169b2 100%); color: #fff; box-shadow: 0 8px 24px rgba(9,40,79,.1); }
.nci-hero::before, .nci-hero::after { content: ''; position: absolute; z-index: -1; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.nci-hero::before { left: 54%; top: -205px; }
.nci-hero::after { left: 68%; bottom: -240px; }
.nci-hero__copy { position: relative; z-index: 1; width: min(100%,770px); }
.nci-hero__kicker { display: inline-flex; align-items: center; gap: 9px; color: #b7ddff; font-weight: 900; font-family: Arial,sans-serif; font-size: 11px; letter-spacing: .16em; }
.nci-hero__kicker::before { content: ''; display: block; height: 16px; width: 4px; background: #ef3445; }
.bb-site-shell .nci-hero h1 { margin: 11px 0 8px !important; padding: 0 !important; border: 0 !important; background: none !important; color: white !important; font-size: clamp(28px,2.9vw,45px) !important; font-weight: 950; line-height: 1.22; letter-spacing: -.055em; }
.nci-hero__copy > p { margin: 0; color: #dcecff; font-size: 13px; line-height: 1.75; font-weight: 650; }
.nci-hero__stats { display: flex; flex-wrap: wrap; align-items: baseline; gap: 23px; margin-top: 16px; color: #c4dbf6; font-size: 12px; font-weight: 750; }
.nci-hero__stats strong { margin-right: 5px; font-family: Arial,sans-serif; font-size: 23px; color: #fff; font-weight: 900; font-variant-numeric: tabular-nums; }
.nci-hero__art { position: absolute; z-index: 0; top: 0; right: 0; height: 100%; width: 39%; overflow: hidden; display: grid; place-items: center; }
.nci-hero__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0b3969,rgba(7,28,59,.1) 58%,rgba(5,22,48,.25)); }
.nci-hero__art img { width: 100%; height: 100% !important; object-fit: cover; opacity: .50; filter: saturate(.8); }
.nci-hero__art span { position: absolute; z-index: 2; right: 10%; bottom: 18px; color: rgba(255,255,255,.85); font-family: Arial,sans-serif; font-size: clamp(17px,2.2vw,35px); font-weight: 950; font-style: italic; letter-spacing: -.04em; line-height: 1.06; text-align: right; }
.nci-intro { margin: -2px 0 17px; padding: 14px 21px; background: #fff; border: 1px solid #d6e1ed; border-radius: 7px; color: #405777; font-size: 13px; line-height: 1.8; }
.nci-intro > *:first-child { margin-top: 0; }
.nci-intro > *:last-child { margin-bottom: 0; }
.nci-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(278px,22%); align-items: start; gap: 15px; }
.nci-main, .nci-side { min-width: 0; }
.nci-main { display: flex; flex-direction: column; gap: 15px; }
.nci-side { display: flex; flex-direction: column; gap: 15px; }
.nci-panel { min-width: 0; background: white; border: 1px solid #d5e1ed; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 11px rgba(13,43,80,.045); }
.nci-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 14px; border-bottom: 1px solid #e5ecf3; }
.nci-panel__eyebrow { display: block; margin-bottom: 4px; color: #1764a3; font-family: Arial,sans-serif; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.bb-site-shell .navi-category-index .nci-panel__header h2, .bb-site-shell .navi-category-index .nci-results__toolbar h2 { position: relative; padding: 0 0 0 15px !important; margin: 0 !important; border: none !important; background: none !important; color: #122b4b !important; font-size: clamp(17px,1.32vw,21px) !important; line-height: 1.35; font-weight: 950; letter-spacing: -.025em; }
.nci-panel__header h2::before, .nci-results__toolbar h2::before { content: ''; width: 4px; position: absolute; left: 0; top: 2px; bottom: 2px; background: #dc2634; border-radius: 2px; }
.nci-panel__hint { color: #8593a7; font-size: 10px; }
.nci-filter__form { display: grid; grid-template-columns: minmax(150px,1.25fr) minmax(140px,1.35fr) minmax(112px,.8fr) auto; align-items: end; gap: 12px; padding: 17px 20px 16px; }
.nci-field { display: flex; flex-direction: column; min-width: 0; gap: 6px; color: #243c5d; font-size: 11px; font-weight: 850; }
.nci-field > :is(input,select) { width: 100%; height: 42px; min-width: 0; background: #f9fbfe; border: 1px solid #c5d3e3; border-radius: 4px; padding: 0 12px; color: #163150; font: inherit; font-weight: 700; font-size: 12px; box-shadow: none; }
.nci-field > :is(input,select):focus { outline: 2px solid #72b2ec; outline-offset: 1px; background: white; }
.nci-field input::placeholder { color: #899bb0; font-weight: 550; }
.nci-filter__button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 42px; white-space: nowrap; border: 0; border-radius: 4px; background: #095ba5; padding: 0 17px; color: #fff; font-size: 12px; font-weight: 900; transition: background .2s; }
.nci-filter__button:hover { background: #0b3767; }
.nci-filter__button span { font-size: 18px; }
.nci-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 20px 18px; }
.nci-chips a { display: inline-flex; gap: 7px; align-items: center; min-height: 31px; padding: 6px 11px; border: 1px solid #d4e0ee; border-radius: 4px; background: #f9fbfd; color: #2f4e72; font-size: 11px; font-weight: 850; line-height: 1.2; }
.nci-chips a span { color: #8499ae; font: 750 10px Arial,sans-serif; }
.nci-chips a:hover { background: #edf6fe; border-color: #a7c7eb; color: #064a89; }
.nci-chips a.is-active { background: #084b8c; border-color: #084b8c; color: #fff; box-shadow: inset 3px 0 #ef3442; }
.nci-chips a.is-active span { color: #cae5ff; }
.nci-filter__help { margin: -8px 20px 15px; color: #8593a7; font-size: 11px; }
.nci-results__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 19px 20px 17px; border-bottom: 1px solid #dfe8f2; }
.nci-results__description { max-width: 780px; margin: 6px 0 0; color: #72849c; font-size: 11px; line-height: 1.6; }
.nci-results__count { color: #516b8a; text-align: right; white-space: nowrap; font-size: 13px; font-weight: 850; }
.nci-results__count strong { color: #d42532; font: 950 25px Arial,sans-serif; }
.nci-results__count small { display: block; color: #8999ad; font-size: 10px; font-weight: 650; margin-top: 3px; }
.nci-posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; padding: 18px 19px 22px; }
.nci-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e1e9f1; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,39,86,.03); }
.nci-card__image { display: block; position: relative; aspect-ratio: 1.65; overflow: hidden; background: #0e3d70; }
.nci-card__image img { display: block; width: 100%; height: 100% !important; object-fit: cover; transition: transform .2s; }
.nci-card__image:hover img { transform: scale(1.05); }
.nci-card__image-arrow { display: grid; place-items: center; position: absolute; bottom: 8px; right: 8px; width: 25px; height: 25px; border-radius: 50%; background: rgba(0,22,48,.85); color: #fff; font-size: 16px; }
.nci-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 14px 15px 16px; }
.nci-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 9px; font-size: 10px; }
.nci-card__meta a { color: #0d67ad; font-weight: 900; }
.nci-card__meta a:hover { text-decoration: underline; }
.nci-card__meta time { color: #8495aa; font-variant-numeric: tabular-nums; }
.bb-site-shell .navi-category-index .nci-card h3 { margin: 0 0 9px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #102644 !important; font-size: clamp(13px,1.03vw,16px) !important; line-height: 1.57; letter-spacing: -.015em; font-weight: 900; overflow-wrap: anywhere; }
.nci-card h3 a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #132740; }
.nci-card h3 a:hover { color: #0e68b6; }
.nci-card__body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 15px; color: #657991; font-size: 11px; line-height: 1.65; }
.nci-card__read { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #0860a8; font-size: 11px; font-weight: 850; }
.nci-card__read span { color: #d42532; font-size: 16px; }
.nci-no-posts { padding: 68px 20px; text-align: center; color: #6c7d93; }
.nci-no-posts > span { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e7eff7; font-size: 30px; }
.bb-site-shell .navi-category-index .nci-no-posts h3 { font-size: 18px; margin: 17px 0 6px; padding: 0; border: 0; background: none; color: #1c3758; }
.nci-no-posts p { font-size: 12px; }
.nci-no-posts a { display: inline-flex; margin-top: 10px; color: #075ca5; font-weight: 850; font-size: 12px; }
.nci-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0 15px 24px; }
.nci-pagination a,.nci-pagination .nci-pagination__page { display: inline-grid; place-items: center; min-width: 37px; min-height: 37px; border: 1px solid #d2e0ef; border-radius: 4px; padding: 7px 10px; color: #285071; font-size: 12px; font-weight: 850; }
.nci-pagination a:hover { background: #eef6fd; border-color: #8eb8df; }
.nci-pagination .is-active { color: #fff; background: #0a569a; border-color: #0a569a; }
.nci-pagination__previous,.nci-pagination__next { white-space: nowrap; }
.nci-pagination__dots { margin: 0 6px; color: #8da1b5; }
.nci-side-categories nav { display: flex; flex-direction: column; padding: 7px 10px 11px; max-height: 480px; overflow-y: auto; }
.nci-side-categories__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 8px 10px; border-bottom: 1px solid #ecf0f5; color: #324b68; font-size: 12px; font-weight: 850; }
.nci-side-categories__link:last-child { border-bottom: 0; }
.nci-side-categories__link b { flex: 0 0 auto; background: #eff4fa; padding: 3px 7px; border-radius: 20px; color: #59738c; font: 850 10px Arial,sans-serif; }
.nci-side-categories__link:hover,.nci-side-categories__link.is-active { background: #eaf4fd; color: #075ba4; }
.nci-side-categories__link.is-active { border-left: 3px solid #d92436; padding-left: 7px; }
.nci-side .navi-sidebar { gap: 14px; }
.nci-side .navi-panel__header { padding: 10px 12px; }
@media (max-width: 1320px) {
  .nci-layout { grid-template-columns: minmax(0,1fr) minmax(255px,23%); }
  .nci-posts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nci-filter__form { grid-template-columns: minmax(160px,1fr) minmax(150px,1fr) minmax(120px,.8fr); }
  .nci-filter__button { grid-column: 1 / -1; justify-self: end; min-width: 175px; }
}
@media (max-width: 960px) {
  .nci-layout { grid-template-columns: minmax(0,1fr); }
  .nci-side-categories { display: none; }
  .nci-side .navi-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nci-hero__art { width: 40%; }
}
@media (max-width: 700px) {
  .bb-site-shell .navi-category-index { padding-top: 12px; }
  .nci-hero { min-height: 200px; padding: 22px; }
  .nci-hero__art { width: 50%; opacity: .65; }
  .nci-hero__art span { display: none; }
  .nci-hero__copy { width: 100%; }
  .nci-hero__copy > p { max-width: 450px; font-size: 12px; }
  .nci-panel__hint { display: none; }
  .nci-filter__form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; }
  .nci-field--category { grid-column: 1 / -1; }
  .nci-filter__button { grid-column: auto; width: 100%; min-width: 0; }
  .nci-posts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 13px; }
  .nci-card__body { padding: 12px; }
  .nci-card__body > p { -webkit-line-clamp: 2; }
  .nci-side .navi-sidebar { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 520px) {
  .nci-breadcrumb { font-size: 11px; padding-bottom: 11px; }
  .nci-hero { min-height: 180px; padding: 20px 18px; margin-bottom: 11px; }
  .nci-hero__kicker { font-size: 9px; }
  .bb-site-shell .nci-hero h1 { font-size: 27px !important; }
  .nci-hero__copy > p { font-size: 11px; }
  .nci-hero__stats { gap: 14px; margin-top: 11px; font-size: 10px; }
  .nci-hero__stats strong { font-size: 18px; }
  .nci-main { gap: 11px; }
  .nci-panel__header { padding: 13px 15px; }
  .nci-filter__form { grid-template-columns: minmax(0,1fr); padding: 14px 15px; gap: 10px; }
  .nci-field--category,.nci-filter__button { grid-column: auto; }
  .nci-filter__button { min-height: 43px; }
  .nci-chips { flex-wrap: nowrap; overflow-x: auto; padding: 0 15px 15px; scrollbar-width: thin; }
  .nci-chips a { flex: 0 0 auto; }
  .nci-posts { grid-template-columns: minmax(0,1fr); padding: 12px; gap: 12px; }
  .nci-card { display: grid; grid-template-columns: minmax(0,37%) minmax(0,1fr); }
  .nci-card__image { min-height: 146px; height: 100%; aspect-ratio: auto; }
  .nci-card__body { min-width: 0; padding: 11px; }
  .nci-card__meta { margin-bottom: 7px; gap: 5px; font-size: 9px; }
  .bb-site-shell .navi-category-index .nci-card h3 { font-size: 13px !important; line-height: 1.45; margin-bottom: 6px !important; }
  .nci-card__body > p { font-size: 10px; margin-bottom: 8px; line-height: 1.45; }
  .nci-card__read { font-size: 10px; }
  .nci-results__toolbar { padding: 14px 15px; }
  .nci-results__count strong { font-size: 20px; }
}
@media (max-width: 370px) {
  .nci-card { grid-template-columns: minmax(0,33%) minmax(0,1fr); }
  .nci-card__image { min-height: 155px; }
  .nci-card__body > p { display: none; }
  .nci-hero__stats span { white-space: nowrap; }
  .nci-results__count { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .nci-card__image img,.nci-filter__button { transition: none; } }
