/* Page-specific styles for main-site inner pages (keep app.css for the design system). */

/* ---------- Shared helpers ---------- */
.center-block { margin-inline: auto; }

/* Link tiles (Quick Links grid: contact, 404) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.link-tile { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink); height: 100%; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.link-tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.link-tile__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--g-ink); color: var(--kin-2); transition: background .35s, color .35s; }
.link-tile:hover .link-tile__icon { background: var(--g-shu); color: #fff; }
.link-tile__icon .icon { width: 21px; height: 21px; }
.link-tile .bi .en { font: 700 .96rem/1.35 var(--f-head); }
.link-tile__arrow { width: 18px; color: var(--shu); transition: transform .3s var(--ease); }
.link-tile:hover .link-tile__arrow { transform: translateX(4px); }

/* ---------- Upcoming Conferences ---------- */
.conf-intro .sec-head { margin-bottom: 0; }
.conf-results { padding-top: clamp(3rem, 6vw, 5rem); }
.filters { position: relative; z-index: 2; }
.filters__label-icon { width: 15px; height: 15px; color: var(--shu); vertical-align: -2px; margin-right: .35rem; }
.filters .field__label { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.filters .field__label .ja { margin-left: .3rem; }
.filters__actions { display: flex; gap: .6rem; align-items: stretch; }
.filters__actions .btn { min-height: 48px; }
.js .filters__submit { display: none; }
.js .filters__actions:not(:has(a)) { display: none; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: -1rem 0 1.75rem; }
.results-bar__count { display: flex; align-items: center; gap: .7rem; margin: 0; }
.results-bar__count strong { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 .6rem; border-radius: 14px; background: var(--g-shu); color: #fff; font: 800 1.35rem/1 var(--f-head); box-shadow: var(--sh-shu); }
.results-bar__count .en { font: 700 1.05rem var(--f-head); color: var(--ink); }
.results-bar__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.results-bar__chips .tag { padding: .45rem .85rem; font-size: .8rem; }

/* ---------- Awards ---------- */
.award-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.award-cat { position: relative; padding: clamp(1.5rem, 2.6vw, 2.1rem); border-radius: var(--r-xl); background: rgba(255, 255, 255, .05); border: 1px solid rgba(241, 215, 154, .18); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), background .35s, border-color .35s; }
.award-cat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--kin), var(--kin-2), var(--kin)); opacity: .8; }
.award-cat::after { content: ""; position: absolute; right: -70px; top: -70px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 215, 154, .18), transparent 70%); z-index: -1; transition: transform .6s var(--ease); }
.award-cat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .09); border-color: rgba(241, 215, 154, .4); }
.award-cat:hover::after { transform: scale(1.4); }
.award-cat__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.award-cat__medal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--g-kin); color: var(--ink); box-shadow: 0 0 0 6px rgba(201, 164, 92, .14), 0 14px 30px -12px rgba(201, 164, 92, .8); }
.award-cat__medal .icon { width: 28px; height: 28px; }
.award-cat__num { font: 800 2.6rem/1 var(--f-head); color: rgba(241, 215, 154, .16); letter-spacing: -.04em; }
.award-cat__title { display: flex; flex-direction: column; gap: .3rem; font-size: 1.2rem; margin-bottom: 1rem; color: #fff; }
.award-cat__title .ja { font-family: var(--f-mincho); font-size: .8em; color: var(--kin-2); font-weight: 700; }
.award-cat .bi-p { font-size: .94rem; }
.award-cat:nth-child(3n+2) { transition-delay: .06s; }
.award-cat:nth-child(3n) { transition-delay: .12s; }

.awardee-stat { display: inline-flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.5rem 1.1rem 1.1rem; border-radius: var(--r-xl); background: var(--g-ink); color: #fff; box-shadow: var(--sh-2); }
.awardee-stat__medal { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--g-kin); color: var(--ink); }
.awardee-stat__medal .icon { width: 26px; height: 26px; }
.awardee-stat strong { display: block; font: 800 2.2rem/1 var(--f-head); color: #fff; }
.awardee-stat .bi .en { color: #D7DEEE; font-weight: 600; font-size: .9rem; }
.awardee-stat .bi .ja { color: var(--kin-2); }

/* ---------- Benefits of Participation ---------- */
.benefit-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px dashed rgba(201, 164, 92, .45); }
.benefit-index li { display: flex; gap: .7rem; align-items: baseline; font: 600 .9rem/1.4 var(--f-head); color: var(--ink); }
.benefit-index span { font-size: .75rem; color: var(--shu); font-feature-settings: "tnum"; letter-spacing: .04em; }
.benefit-grid .card--feature { display: grid; grid-template-columns: auto 1fr; column-gap: 1.35rem; align-items: start; }
.benefit-grid .card__icon { grid-row: span 2; margin-bottom: 0; }
.benefit-grid .card__title { margin-bottom: .6rem; padding-right: 2.5rem; }
.benefit-grid .card__text { grid-column: 2; }

/* ---------- Contact ---------- */
.contact-panel { position: relative; padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: var(--r-xl); background: var(--g-ink); color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--sh-3); }
.contact-panel::before { content: ""; position: absolute; inset: 0; background-image: var(--seigaiha); background-size: 56px 28px; opacity: .07; z-index: -1; }
.contact-panel::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: var(--g-shu); opacity: .75; z-index: -1; }
.contact-panel__title { display: flex; flex-direction: column; gap: .3rem; color: #fff; font-size: 1.4rem; margin-bottom: 1.4rem; }
.contact-panel__title .ja { font-family: var(--f-mincho); color: var(--kin-2); font-size: .7em; }
.contact-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: background .3s, transform .35s var(--ease); }
.contact-row + .contact-row { margin-top: .8rem; }
.contact-row:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateX(4px); }
.contact-row__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--g-shu); color: #fff; }
.contact-row__icon .icon { width: 22px; height: 22px; }
.contact-row__text { display: flex; flex-direction: column; min-width: 0; }
.contact-row__text small { font-size: .74rem; color: #AEB9D2; }
.contact-row__text strong { font: 700 clamp(1rem, 1.8vw, 1.2rem)/1.3 var(--f-head); overflow-wrap: anywhere; }
.contact-row__go { width: 20px; color: var(--kin-2); }
.contact-aside__photo { margin-top: 1.75rem; }

/* ---------- FAQs ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-layout__aside { position: sticky; top: calc(var(--header-h) + 80px); }
.faq-layout__aside .sec-head { margin-bottom: 1.5rem; }
.faq-art { position: relative; margin-top: 2.25rem; max-width: 420px; }
.faq-art .frame img { aspect-ratio: 16 / 10; }
.faq-art__q { position: absolute; right: -14px; bottom: -22px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--g-shu); color: #fff; font: 800 2.6rem/1 var(--f-head); box-shadow: var(--sh-shu); border: 5px solid var(--paper); }
.faq summary .bi { gap: .25rem; }
.faq summary .bi .ja { font-weight: 500; }
.faq__a .bi-p { font-size: .98rem; }

/* ---------- Do's & Don'ts ---------- */
.dd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); }
.dd__col { --dd: var(--success); --dd-soft: rgba(15, 123, 85, .08); position: relative; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.dd__col--dont { --dd: var(--danger); --dd-soft: rgba(192, 40, 26, .07); }
.dd__head { position: relative; display: flex; align-items: center; gap: 1.1rem; padding: 1.6rem clamp(1.4rem, 3vw, 2.2rem); background: linear-gradient(135deg, #0D6B4A, #0F7B55 55%, #169A6C); color: #fff; overflow: hidden; isolation: isolate; }
.dd__col--dont .dd__head { background: var(--g-shu); }
.dd__head::before { content: ""; position: absolute; inset: 0; background-image: var(--seigaiha); background-size: 56px 28px; opacity: .1; z-index: -1; }
.dd__mark { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dd); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .45); flex: none; }
.dd__mark .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.dd__head h3 { display: flex; flex-direction: column; gap: .2rem; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dd__head h3 .ja { font-family: var(--f-mincho); font-size: .55em; color: rgba(255, 255, 255, .85); letter-spacing: .08em; }
.dd__glyph { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); font: 700 7.5rem/1 var(--f-mincho); color: #fff; opacity: .14; z-index: -1; pointer-events: none; }
.dd__list { counter-reset: dd; padding: .5rem clamp(1rem, 2.4vw, 1.6rem) 1rem; }
.dd__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; padding: 1.05rem .4rem; border-bottom: 1px dashed var(--line); transition: background .3s; border-radius: 10px; }
.dd__list li:last-child { border-bottom: 0; }
.dd__list li:hover { background: var(--dd-soft); }
.dd__num { font: 800 .82rem/1 var(--f-head); color: var(--dd); padding-top: .35rem; font-feature-settings: "tnum"; }
.dd__list .bi { gap: .2rem; }
.dd__list .en { color: var(--text); font-weight: 600; }
.dd__list .ja { font-size: .86em; color: var(--muted); font-weight: 400; }
.dd__tick { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--dd-soft); color: var(--dd); margin-top: .1rem; }

/* ---------- Gallery ---------- */
.gallery-count { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .6rem 1rem .6rem .6rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.gallery-count > .icon { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--g-shu); color: #fff; }
.gallery-count strong { font: 800 1.4rem/1 var(--f-head); color: var(--ink); }
.gallery-count .en { font: 600 .88rem var(--f-head); color: var(--ink); }
/* Even rows: every photo gets the same 4:3 tile so the grid ends on one line. */
.gallery--page { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery--page .gallery__item { margin: 0; aspect-ratio: 4 / 3; }
.gallery--page .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__cap { position: absolute; left: .9rem; right: 3.6rem; bottom: .8rem; z-index: 2; color: #fff; font: 600 .82rem/1.35 var(--f-head); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .4s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

/* ---------- Digital Library ---------- */
.library-art { position: relative; min-height: 340px; border-radius: var(--r-xl); background: var(--g-ink); overflow: hidden; isolation: isolate; box-shadow: var(--sh-3); }
.library-art::before { content: ""; position: absolute; inset: 0; background-image: var(--seigaiha); background-size: 56px 28px; opacity: .07; z-index: -1; }
.library-art::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--g-shu); opacity: .8; z-index: -1; }
.library-art__kanji { position: absolute; left: 1.5rem; bottom: -2.2rem; font: 700 11rem/1 var(--f-mincho); color: #fff; opacity: .06; z-index: -1; }
.library-art__book { position: absolute; display: flex; flex-direction: column; justify-content: space-between; width: 150px; height: 200px; padding: 1.1rem; border-radius: 10px 16px 16px 10px; color: #fff; font: 700 .78rem var(--f-head); letter-spacing: .14em; text-transform: uppercase; box-shadow: -6px 0 0 rgba(0, 0, 0, .18) inset, 0 24px 40px -18px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.library-art__book .icon { width: 30px; height: 30px; }
.library-art__book--a { left: 12%; top: 18%; background: linear-gradient(160deg, #2B4FBF, #13275C); transform: rotate(-8deg); }
.library-art__book--b { left: 38%; top: 12%; background: var(--g-kin); color: var(--ink); transform: rotate(3deg); z-index: 2; }
.library-art__book--c { left: 62%; top: 24%; background: var(--g-shu); transform: rotate(10deg); }
.library-art:hover .library-art__book--a { transform: rotate(-12deg) translateY(-8px); }
.library-art:hover .library-art__book--b { transform: rotate(0) translateY(-14px); }
.library-art:hover .library-art__book--c { transform: rotate(14deg) translateY(-8px); }
.pub-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pub-list .pub-card { position: relative; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s; }
.pub-list .pub-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pub-card__body { flex: 1; min-width: 0; }
.pub-card h3 a { color: var(--ink); }
.pub-card h3 a:hover { color: var(--shu); }
.pub-card__authors { display: flex; gap: .4rem; align-items: flex-start; }
.pub-card__authors .icon { width: 14px; margin-top: .2rem; color: var(--shu); }
.pub-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem !important; }
.pub-card__go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); flex: none; transition: background .3s, color .3s; }
.pub-card__go:hover { background: var(--shu); border-color: var(--shu); color: #fff; }
.pub-card__go .icon { width: 17px; }

/* ---------- Instructions for Participants ---------- */
.guide-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(247, 245, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.guide-nav__list { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding: .6rem 0; }
.guide-nav__list::-webkit-scrollbar { display: none; }
.guide-nav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .85rem; border-radius: 12px; color: var(--ink); white-space: nowrap; transition: background .25s; }
.guide-nav a:hover { background: #fff; color: var(--ink); }
.guide-nav__num { font: 800 .72rem var(--f-head); color: var(--shu); }
.guide-nav .bi .en { font: 600 .84rem/1.2 var(--f-head); }
.guide-nav .bi .ja { font-size: .68rem; }
@media (min-width: 1281px) { .guide-nav { top: 58px; } }
.guide-anchor { scroll-margin-top: calc(var(--header-h) + 90px); }
.guide-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.guide-pair .sec-head { margin-bottom: 2.2rem; }
.present-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.present-grid .benefit__head { padding: 1.6rem; }
.present-grid .check-list { font-size: .93rem; }
.duo__h { display: flex; flex-direction: column; gap: .3rem; font-size: 1.5rem; margin-bottom: 1.4rem; }
.duo__h .ja { font-family: var(--f-mincho); font-size: .62em; color: var(--kin-dark); }
.duo__item--dark .duo__h { color: #fff; }
.duo__item--dark .duo__h .ja { color: var(--kin-2); }
.duo__item--dark .check-list .en { color: #E3E8F3; }
.duo__item--dark .check-list .ja { color: #97A3BF; }
.duo__item--dark .check-list__icon { background: rgba(241, 215, 154, .12); color: var(--kin-2); }
.duo__item .kicker { margin-bottom: .6rem; }
.duo__item--dark .kicker__num { color: var(--kin-2); }
.card--glass .check-list .en { color: #E3E8F3; }
.card--glass .check-list .ja { color: #97A3BF; }
.card--glass .check-list__icon { background: rgba(241, 215, 154, .12); color: var(--kin-2); }
.guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }

/* ---------- 404 ---------- */
.nf { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem); text-align: center; }
.nf__bg { position: absolute; inset: 0; z-index: -1; }
.nf__bg .aurora { inset: -30%; opacity: .9; }
.nf__bg .seigaiha { position: absolute; inset: 0; background-image: var(--seigaiha); background-size: 56px 28px; opacity: .06; }
.nf__inner { display: flex; flex-direction: column; align-items: center; }
.nf__code { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.2rem); font: 800 clamp(6rem, 18vw, 12rem)/1 var(--f-head); letter-spacing: -.05em; color: #fff; margin-bottom: 1.5rem; }
.nf__sun { width: clamp(5rem, 14vw, 9.5rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF9A76, #E2412A 55%, #A8230F); box-shadow: 0 0 80px rgba(226, 65, 42, .5); animation: float 7s ease-in-out infinite; }
.nf__title { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.nf__title .en { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.nf__title .ja { font-family: var(--f-mincho); color: var(--kin-2); font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: .08em; }
.nf__text { max-width: 620px; margin-top: 1.2rem; }
.nf__text .en { color: #CAD3E7; }
.nf__text .ja { color: #97A3BF; border-color: rgba(241, 215, 154, .25); }
.nf .btn-row { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .award-cats, .present-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .faq-layout, .dd, .pub-list { grid-template-columns: 1fr; }
  .faq-layout__aside { position: static; }
  .faq-art { display: none; }
  .filters__actions { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .award-cats, .present-grid, .benefit-index { grid-template-columns: 1fr; }
  .benefit-grid .card--feature { grid-template-columns: 1fr; }
  .benefit-grid .card__icon { grid-row: auto; margin-bottom: 1rem; }
  .benefit-grid .card__text { grid-column: auto; }
  .library-art { min-height: 260px; }
  .library-art__book { width: 110px; height: 150px; padding: .8rem; font-size: .66rem; }
  .dd__glyph { font-size: 5.5rem; }
  .results-bar { margin-top: -1rem; }
  .filters__actions .btn { flex: 1; justify-content: space-between; }
  .contact-row { grid-template-columns: auto 1fr; }
  .contact-row__go { display: none; }
}
.guide-pair { gap: clamp(1.5rem, 4vw, 3rem); }
.guide-pair .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .guide-pair { grid-template-columns: 1fr; } .guide-pair .timeline::before { display: block; } }
@media (max-width: 680px) { .guide-pair .timeline { grid-template-columns: 1fr; } .guide-pair .timeline::before { display: none; } }
.benefit-grid .card--feature { grid-template-rows: auto 1fr; }
.benefit-grid .card--link.card--num::after { right: 4.4rem; }
.section--tight .container--narrow > .assist:first-child, .center-block > .assist:first-child { margin-top: 0; }
.cta-band + .center-block { margin-top: clamp(2rem, 4vw, 3rem); }
.contact-form .fieldset legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.guide-links + .center-block { margin-top: clamp(2rem, 4vw, 2.75rem); }
.tech-photo { max-width: 480px; }
.tech-photo img { aspect-ratio: 16 / 10; }
.guide-nav__list { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
/* Wide screens: wrap the 8 tabs so 07 and 08 are never hidden behind the fade. */
@media (min-width: 961px) {
  .guide-nav__list { flex-wrap: wrap; justify-content: center; row-gap: .1rem; overflow: visible; -webkit-mask-image: none; mask-image: none; }
}
.guide-nav .bi .ja { display: none; }
html[data-lang="ja"] .guide-nav .bi .ja { display: inline; }

/* Upcoming Conferences: search bar + pager (server-side pagination) */
.filters--search { grid-template-columns: 1.5fr 1fr 1fr auto; }
.filters--search .filters__actions { display: flex; gap: .5rem; }
.js .filters--search .filters__actions { display: flex !important; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.pager__num, .pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 600 .9rem var(--f-head); transition: background .2s, color .2s, border-color .2s; }
.pager__num:hover, .pager__btn:hover { border-color: var(--ink); color: var(--ink); }
.pager__num[aria-current] { background: var(--g-ink); color: #fff; border-color: transparent; }
.pager__btn .icon { width: 16px; }
.pager__gap { color: var(--muted); padding: 0 .2rem; }
@media (max-width: 960px) { .filters--search { grid-template-columns: 1fr 1fr; } .filters--search .filters__q { grid-column: 1 / -1; } }
@media (max-width: 680px) { .filters--search { grid-template-columns: 1fr; } }
