/* AB-Baza visual refresh, 2026-10-04. Kept separate from the platform styles. */
:root { --ab-ink:#14263d; --ab-blue:#175d96; --ab-accent:#087f94; --ab-surface:#fff; --ab-line:#e3ebf1; --ab-muted:#617489; }
body { color:var(--ab-ink); background:#f5f8fb; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
a { color:var(--ab-blue); }
a:hover { color:#0c7796; }
.rn-header { background:#fff; box-shadow:0 4px 24px rgba(20,38,61,.07); }
.rn-header-in { min-height:76px; }
.rn-header-logo-title { color:#143f6c; font-weight:800; letter-spacing:-.035em; }
.rn-header-logo-subtitle { color:var(--ab-muted); }
.rn-header-nav-in a { font-weight:600; }
.rn-f-search-h-index { background:linear-gradient(120deg,#113c67 0%,#176697 62%,#138b9b 100%) !important; border-radius:18px; box-shadow:0 16px 34px rgba(20,67,105,.17); padding:22px 24px; }
.rn-f-search-h-index .rn-f-search-h-line { border-radius:12px; overflow:hidden; background:#fff; border:0; }
.rn-f-search-h-index input, .rn-f-search-h-index button { min-height:48px; }
#main.container { max-width:1200px; }
#main h1 { color:#173858; font-size:clamp(24px,2.4vw,34px); line-height:1.2; letter-spacing:-.035em; font-weight:800; margin:32px auto 25px; }
.index__catlist { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:10px 0 38px; }
.index__catlist__item { width:auto !important; min-height:185px; float:none !important; box-sizing:border-box; padding:22px 18px !important; border:1px solid var(--ab-line); border-radius:16px; background:#fff; box-shadow:0 5px 18px rgba(25,57,83,.045); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.index__catlist__item:hover { transform:translateY(-3px); border-color:#aacbdc; box-shadow:0 15px 28px rgba(25,57,83,.1); }
.index__catlist__item .img { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:14px; background:#eaf5f8; }
.index__catlist__item .img img { max-width:38px; max-height:38px; object-fit:contain; }
.index__catlist__item .title { margin:12px 0 8px; font-size:17px; line-height:1.25; font-weight:750; }
.index__catlist__item .title a { color:#173858; }
.index__catlist__item .links { color:#94a3b3; font-size:13px; line-height:1.65; }
.index__catlist__item .links a { color:#526b81; }
.index__heading, .news__link-all-box { margin:36px 0 18px; }
.index__heading .l-content__title, .news__link-all { color:#173858; font-size:25px; font-weight:800; letter-spacing:-.025em; }
.news__item, .sr-2-grid-item-in { background:#fff; border:1px solid var(--ab-line); border-radius:14px; overflow:hidden; box-shadow:0 5px 18px rgba(25,57,83,.045); }
.sr-2-grid-item-in img { object-fit:cover; }
.l-info { background:#fff; border:1px solid var(--ab-line); border-radius:16px; padding:25px 30px; line-height:1.75; color:#41566b; }
.l-info p:first-child { color:#173858; font-size:24px; font-weight:800; }
.l-footer { margin-top:48px; background:#102a44; color:#d8e6f0; }
.l-footer a { color:#e7f5fd; }
@media(max-width:1100px) { .index__catlist { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .index__catlist { grid-template-columns:repeat(2,minmax(0,1fr)); } .rn-f-search-h-index { border-radius:12px; padding:15px; } #main h1 { margin:22px 0 15px; } }
@media(max-width:480px) { .index__catlist { grid-template-columns:1fr; } .l-info { padding:18px; } }
.index__catlist > .clearfix { display:none !important; }
.index__catlist > .collapse.show { display:contents !important; }
.index__catlist > .index__more { grid-column:1/-1; width:auto !important; }
.index__catlist__item { margin:0 !important; height:auto !important; min-height:205px; }
.index__catlist__item .title, .index__catlist__item .links { margin-left:0 !important; margin-right:0 !important; }
.index__catlist > .collapse.show > .clearfix { display:none !important; }

/* Historical blog posts are accessible in the archive, but not featured on the homepage. */
.index-page > .news { display:none; }
