/* QUANTUM modern additions: overlays only; preserves legacy visual system */
.home-update,.home-latest{margin-bottom:20px}
.update-row{display:grid;grid-template-columns:100px 1fr;gap:10px;padding:12px 10px;border-bottom:1px solid #b98862}
.update-row time{font-weight:bold;color:#222}
.home-feed-item{display:grid;grid-template-columns:100px 72px 1fr;gap:10px;padding:12px 10px;border-bottom:1px solid #ddd}
.home-feed-date{font-size:12px;color:#666}
.home-feed-category{display:inline-block;padding:2px 6px;text-align:center;font-size:10px;font-weight:bold;color:#fff}
.home-feed-category--media{background:#ed5b13}.home-feed-category--works{background:#218d28}.home-feed-category--news{background:#1d2088}
.home-feed-copy h3{margin:0;padding:0;border:0;font-size:14px}.home-feed-copy p{margin:3px 0 0;color:#666;font-size:12px}
.home-latest-links,.past-update{text-align:right;padding-top:7px;font-size:12px}.feed-loading,.feed-empty{padding:12px;color:#777}
.business-calendar-panel{padding:16px 10px;border:1px solid #eee;border-radius:6px;background:#fff}
.business-calendar-title{text-align:center;margin:0 0 10px;font-weight:bold}
.business-calendar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
.business-calendar-month h3{margin:0;text-align:center;font-size:14px;font-weight:normal;border:0;padding:0}
.business-calendar-month table{width:100%;border-collapse:collapse;table-layout:fixed}
.business-calendar-month th,.business-calendar-month td{height:21px;padding:0;text-align:center;border:1px solid #d6d6d6;font-size:12px;line-height:1}
.business-calendar-month th{background:#d8edf5;font-weight:normal}.business-calendar-month td{background:#fff}
.business-calendar-month .calendar-day--closed{background:#ffcaca}.business-calendar-month .calendar-day--event{background:#ff9800;color:#fff}.business-calendar-month .calendar-day--special{background:#d9f1d8}.calendar-empty{background:#fafafa!important}
.business-calendar-legend{margin-top:14px;text-align:center;font-size:12px}.legend-chip{display:inline-block;width:12px;height:12px;margin-right:3px;vertical-align:-2px}.legend-chip--closed{background:#ffcaca}.legend-chip--event{background:#ff9800}.legend-chip--special{background:#d9f1d8}
@media(max-width:768px){.home-feed-item{grid-template-columns:86px 62px 1fr}.home-feed-copy{grid-column:1/-1}.business-calendar-grid{grid-template-columns:1fr;gap:18px}.business-calendar-month{max-width:340px;width:100%;margin:0 auto}}

/* QUANTUM-MIGRATION-STABILIZE-START */
@media screen and (min-width:769px){
#hp_base #main>#content{float:left!important;width:760px!important;margin:10px 5px 0 0!important;box-sizing:border-box!important}
#hp_base #main>#side{display:block!important;float:right!important;width:220px!important;margin-top:10px!important;box-sizing:border-box!important}
#hp_base #main:after{content:"";display:block;clear:both}
}
#side .side_box img{max-width:100%;height:auto}

#content .home-feed-copy h3{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#222!important;font-size:14px!important;line-height:1.5!important;font-weight:normal!important;letter-spacing:0!important}
#content .home-feed-copy h3 a,#content .home-feed-copy h3 a:visited,#content .feed-title-link,#content .feed-title-link:visited,#content .home-latest-links a,#content .home-latest-links a:visited,#content .past-update a,#content .past-update a:visited{color:#1d2088!important}
#content a.btn_s,#content a.btn_s:visited,#side .side_btn a,#side .side_btn a:visited,#to_top a,#to_top a:visited{color:#fff!important}#content a:not(.btn_s):link,#content a:not(.btn_s):visited,#pankuzu a:link,#pankuzu a:visited{color:#1d2088}

.business-calendar-month table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important}
.business-calendar-month th,.business-calendar-month td{display:table-cell!important;width:14.285714%!important;height:32px!important;padding:0!important;text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;line-height:32px!important;box-sizing:border-box!important}
.business-calendar-month th{height:24px!important;line-height:24px!important}

#content .flex-container{display:flex;align-items:center;gap:18px;margin:0 0 20px;padding:10px;box-sizing:border-box;border-radius:5px;background:#fff;box-shadow:rgba(0,0,0,.1) 0 0 3px}
#content .flex-container .item1{flex:0 1 62%}
#content .flex-container .item2{flex:1 1 38%}
#content .flex-container img{display:block;max-width:100%;height:auto}

@media screen and (max-width:768px){
#hp_base #main>#content,#hp_base #main>#side{float:none!important;width:100%!important;margin:0!important}
#content .flex-container{display:block}
}
/* QUANTUM-MIGRATION-STABILIZE-END */

/* QUANTUM-HOME-FINAL-CONSISTENCY-START */
a,a:link,a:visited,a:hover,a:focus{text-decoration:none!important}
a,a:link,a:visited{color:#1d2088}
a:hover,a:focus{color:#0f166b}
a:focus-visible{outline:2px solid #1d2088;outline-offset:2px}
#content a.btn_s,#content a.btn_s:visited,#side .side_btn a,#side .side_btn a:visited,#to_top a,#to_top a:visited{color:#fff!important}

@media screen and (min-width:769px){
  #content .clfix_2c:has(> .box_3l){
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  #content .clfix_2c:has(> .box_3l) > .box_3l{
    float:none!important;width:auto!important;min-width:0!important;height:100%!important;
    margin:0!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  }
  #content .clfix:has(> .box_33){
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
  }
  #content .clfix:has(> .box_33) > .box_33{
    float:none!important;width:auto!important;min-width:0!important;height:100%!important;
    margin:0!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
  }
}
#content .box_3l > a.btn_s,#content .box_33 > a.btn_s{
  margin-top:auto!important;margin-bottom:0!important;align-self:center!important;box-sizing:border-box!important;
}
#content .box_3l h3,#content .box_33 h3{min-height:30px;box-sizing:border-box}
#content > h3{margin-top:24px!important;margin-bottom:0!important}
#content > h3:first-child{margin-top:0!important}
#content > h3 + .cont_box,#content > h3 + .nb_box{margin-top:0!important;padding:18px 20px!important;box-sizing:border-box!important}
#content > h3 + .cont_box > :first-child,#content > h3 + .nb_box > :first-child{margin-top:0!important}
#content > h3 + .cont_box > :last-child,#content > h3 + .nb_box > :last-child{margin-bottom:0!important}

/* Final footer appearance on the legacy home page */
#foot_base{clear:both!important;width:100%!important;margin:40px 0 0!important;padding:0!important;border-top:1px solid #d9dde3!important;background:#f6f7f9!important;color:#333!important}
@media(max-width:768px){
}
/* QUANTUM-HOME-FINAL-CONSISTENCY-END */


/* QUANTUM-SECTION-HIERARCHY-START */
#content > h3{
  margin:24px 0 0!important;
  padding:8px 12px!important;
  border:0!important;
  border-left:4px solid #1d2088!important;
  border-bottom:1px solid #d9dde3!important;
  border-radius:0!important;
  background:#f3f4f6!important;
  color:#222!important;
  box-shadow:none!important;
  font-size:15px!important;
  line-height:1.5!important;
  font-weight:bold!important;
  letter-spacing:0!important;
}
#content > h3:first-child{margin-top:0!important}
#content > h3 a,#content > h3 a:visited{color:#1d2088!important}/* QUANTUM-SECTION-HIERARCHY-END */



/* QUANTUM-FOOTER-LINK-AND-CONTACT-CTA-LOCK-20261003-START */
/* Footer links are deliberately neutral text,not site-link blue. */
#foot_base footer .quantum-footer-group a{
  color:#444!important;
}
/* Main-content inquiry CTAs are redundant with the sidebar inquiry button. */
#content a[href*="contact.php"].btn_s,
#content a[href*="contact.php"].btn_m,
#content a[href*="contact.php"].button,
#content a[href*="contact.php"].cta{
  display:none!important;
}
/* QUANTUM-FOOTER-LINK-AND-CONTACT-CTA-LOCK-20261003-END */
