/* KSH theme overrides on Bootstrap Package 15 */
/* Hero carousel: full bleed */
#p1 #c170 .frame-container { max-width: 100%; padding-left: 0; padding-right: 0; }
#p1 #c170 .carousel-item img { width: 100%; height: auto; }

/* Homepage tiles (colPos 20-25): image fills column, blue heading */
.section-column-third .gallery-item { width: 100% !important; max-width: 100%; flex: 0 0 100%; }
.section-column-third figure.image img, .section-column-third .frame-type-textpic img { width: 100%; height: auto; }
.section-column-third h2, .section-column-third h3 { color: #0557a0; }
.section-column-third h2 a, .section-column-third h3 a { color: #0557a0; text-decoration: none; }

/* Homepage news (uid 455): static 3-col grid instead of slick */
#c455 .news-list-view { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
#c455 .news-list-item { display: block; margin: 0; padding: 0; text-align: left; }
#c455 .news-list-item .col-md-3, #c455 .news-list-item .col-md-9 { width: 100%; max-width: 100%; flex: none; padding-left: 0; padding-right: 0; }
#c455 .news-list-item img { width: 100%; max-width: 100%; height: 180px; object-fit: cover; }
#c455 .news-list-item img.img-dummy { display: none; }
#c455 .news-list-view > .page-navigation, #c455 .news-list-view > nav { grid-column: 1 / -1; }
#c455 h3 a { color: #0557a0; }
@media (max-width: 767px) {
  #c455 .news-list-view { grid-template-columns: minmax(0,1fr); }
}
#page-content .section-column-third h2, #page-content .section-column-third h3,
#page-content .section-column-third h2 a, #page-content .section-column-third h3 a { color: #0557a0; }
#page-content .section-column-third h2, #page-content .section-column-third h3,
#page-content .section-column-third h2 a, #page-content .section-column-third h3 a { color: #0557a0; }
#c455 .news-list-view.slick-initialized { display: block; }
#c455 .news-list-item .col-md-3 { display: none; }
#c455 .news-list-view .slick-prev:before { content: "\2039"; font-family: inherit; }
#c455 .news-list-view .slick-next:before { content: "\203a"; font-family: inherit; }
#c455 img.news_icon { width: 54px; height: auto; }
#c455 .news-list-item { text-align: center; }
#c455 img.news_icon { width: 54px; height: 54px; object-fit: contain; }
#c455 img.news_icon { width: 96px; height: 96px; }
#c455 .slick-prev, #c455 .slick-next { width: 52px; height: 52px; z-index: 5; }
#c455 .slick-prev { left: -12px; }
#c455 .slick-next { right: -12px; }
#c455 .news-list-view .slick-prev:before, #c455 .news-list-view .slick-next:before { font-size: 52px; line-height: 1; opacity: .9; }
#c455 .news-list-view.slick-slider { padding-left: 56px; padding-right: 56px; box-sizing: border-box; }
#c455 .slick-prev { left: 0; }
#c455 .slick-next { right: 0; }
#c455 .news-list-view .slick-prev:before, #c455 .news-list-view .slick-next:before { font-size: 72px; }

/* Top meta bar */
.ksh-topbar { background: #8a9ba8; color: #fff; font-size: 13px; }
.ksh-topbar-inner { display: flex; align-items: center; gap: 18px; min-height: 42px; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.ksh-topbar a { color: #fff; text-decoration: none; }
.ksh-topbar a:hover { text-decoration: underline; }
.ksh-home { font-size: 20px; line-height: 1; }
.ksh-search { display: flex; margin: 0; }
.ksh-search input[type="text"] { border: 0; padding: 4px 8px; min-width: 180px; color: #333; }
.ksh-search button { border: 0; background: #0557a0; color: #fff; padding: 4px 12px; cursor: pointer; }
.ksh-meta-links { display: flex; gap: 16px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.wechatIconWrapper { position: relative; display: inline-block; }
.wechatIconWrapper > img { height: 22px; width: auto; display: block; }
.qrCodeWrapper { z-index: 1000; }
#p1 #c170 .carousel-control-prev, #p1 #c170 .carousel-control-next { width: 64px; opacity: .95; }
#p1 #c170 .carousel-control-prev-icon, #p1 #c170 .carousel-control-next-icon { width: 48px; height: 48px; }
.ksh-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:16px}
.ksh-card img{width:100%;height:auto;display:block}
.ksh-card-ph{display:block;aspect-ratio:2/1;background:#d9dee2}
.ksh-card h3{font-size:20px;margin:10px 0 6px}
.ksh-card p{color:#555}
@media(max-width:768px){.ksh-cards{grid-template-columns:1fr}}
@media(min-width:769px){
.section-row:has(>.subnav-wrap){display:flex;gap:32px}
.section-row:has(>.subnav-wrap)>.subnav-wrap{flex:0 0 230px}
.section-row:has(>.subnav-wrap)>.maincontent-wrap{flex:1 1 auto;min-width:0}
}
.section-row:has(>.subnav-wrap){flex-wrap:nowrap}
.section-row:has(>.subnav-wrap)>.subnav-wrap{min-width:0}
.section-row:has(>.subnav-wrap)>.maincontent-wrap{min-width:0}
.ksh-cards{min-width:0}
.section-row:has(>.subnav-wrap){flex-wrap:nowrap}
.section-row:has(>.subnav-wrap)>.subnav-wrap{min-width:0}
.section-row:has(>.subnav-wrap)>.maincontent-wrap{min-width:0}
.ksh-cards{min-width:0}
