/* Home Children Canada - Heritage theme (Option A) */
:root{--hcc-navy:#1F2A5C;--hcc-red:#B3202F;--hcc-red-dark:#8E1824;--hcc-cream:#FAF6EE;--hcc-ink:#1B1F2A}
body{background:var(--hcc-cream)!important;color:var(--hcc-ink);font-family:'Source Sans 3',system-ui,sans-serif;font-size:18px;line-height:1.55}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Lora',Georgia,serif;color:var(--hcc-navy);text-transform:none;letter-spacing:0}
h1,.h1{font-weight:700}
#the_page_content p a,#the_page_content li a{color:var(--hcc-red)}
#the_page_content p a:hover,#the_page_content li a:hover{color:var(--hcc-red-dark)}
/* header */
#the_header_holder{background:#fff!important;border-bottom:4px solid var(--hcc-navy);box-shadow:none!important}
#the_header .navbar,#the_header .navbar-light{background:#fff!important}
#the_header .nav-link{color:var(--hcc-navy)!important;font-family:'Source Sans 3',system-ui,sans-serif;font-weight:600;font-size:17px;text-transform:none!important;letter-spacing:0!important}
#the_header .nav-link:hover,#the_header .nav-link.active{color:var(--hcc-red)!important}
#the_header .dropdown-menu{border:0;border-top:3px solid var(--hcc-red);border-radius:0 0 4px 4px;box-shadow:0 4px 14px rgba(31,42,92,.18)}
#the_header .dropdown-item{color:var(--hcc-navy);font-weight:600}
#the_header .dropdown-item:hover,#the_header .dropdown-item.active{background:var(--hcc-cream);color:var(--hcc-red)}
#the_header a[href*="donate"]{display:inline-block!important;visibility:visible!important;opacity:1!important;background:var(--hcc-red)!important;color:#fff!important;border-radius:4px;padding:10px 24px!important;font-weight:700}
#the_header a[href*="donate"]:hover{background:var(--hcc-red-dark)!important;color:#fff!important}
/* buttons and forms */
.btn-primary,.btn-success,.btn-info,.btn-secondary,input[type=submit],button[type=submit]:not(.btn-close){background:var(--hcc-red)!important;border-color:var(--hcc-red)!important;color:#fff!important;border-radius:4px;font-weight:700}
.btn-primary:hover,.btn-success:hover,.btn-info:hover,.btn-secondary:hover,input[type=submit]:hover,button[type=submit]:not(.btn-close):hover{background:var(--hcc-red-dark)!important;border-color:var(--hcc-red-dark)!important}
.form-control,.form-select{border:1px solid #b9b2a2;border-radius:4px;background:#fff}
.form-control:focus,.form-select:focus{border-color:var(--hcc-navy);box-shadow:0 0 0 .2rem rgba(31,42,92,.2)}
.card{border:0;border-top:5px solid var(--hcc-navy);border-radius:0;box-shadow:0 1px 4px rgba(31,42,92,.15);background:#fff}
.table thead th{background:var(--hcc-navy);color:#fff;border-color:var(--hcc-navy)}
/* footer */
#footer,#the_footer_content{background:var(--hcc-navy)!important;color:#E6E9F7!important}
#footer a,#the_footer_content a{color:#fff!important;font-weight:600}
#footer a:hover,#the_footer_content a:hover{text-decoration:underline}
#footer p,#footer span{color:#E6E9F7!important}
/* stop sideways scrolling */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%;height:auto}
#the_header a.nav-link[href*="donate"],#the_header a.nav-link.active[href*="donate"],#the_header a.nav-link[href*="donate"] *,#the_header a.nav-link.active[href*="donate"] *{color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:17px!important;line-height:1.3!important}
#the_header a.nav-link.active[href*="donate"]{background:var(--hcc-red-dark)!important}
