/* =========================================================
   FamilyNet Standard user.css (for www.familynet.ca)
   Use this same file across www / partners / bc / future provinces
   Focus: consistent header + typography + footer, responsive
   Compatible with Mobile Menu CK (minimal interference)
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root{
  --fn-primary: #0072c4;
  --fn-primary-dark: #0f3d66;

  --fn-text: #1f2a37;
  --fn-muted: rgba(31,42,55,.72);

  --fn-heading-1: #1f3a5f;
  --fn-heading-2: #2a4e7e;

  --fn-border: rgba(0,0,0,.10);

  /* Footer (light grey like Facebook) */
  --fn-footer-bg: #eeeeee;
  --fn-footer-bg2: #f5f5f5;

  --fn-radius: 10px;
}

/* ---------- Base readability ---------- */
body{
  color: var(--fn-text);
}

p{
  line-height: 1.65;
  margin-bottom: 1rem;
}

a{
  text-underline-offset: .18em;
}

/* ---------- Header (Cassiopeia) ---------- */
.container-header{
/* background-color: #193B7F; */
  background-color:#ffffff;
    background-image: none;
  box-shadow: 0 1px 0 var(--fn-border), inset 0 5px 5px rgba(0,0,0,.03);
  line-height: 1.3;
}

/* Comfortable header padding */
.container-header .navbar,
.container-header .grid-child{
  padding-top: 10px;
  padding-bottom: 10px;
  color: #193b7f;
}

/* Desktop menu styling (safe defaults) */
.container-header .mod-menu{
  color: var(--fn-primary);
  flex: 1 0 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

/* Menu links */
.container-header .mod-menu a{
  color: var(--fn-primary);
  text-decoration: none;
  font-weight: 500;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus{
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

/* Active menu item */
.container-header .mod-list li.active > a,
.container-header .mod-menu li.active > a{
  text-decoration: underline;
  text-decoration-color: var(--fn-primary);
  text-decoration-thickness: .10em;
  text-underline-offset: .18em;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb{
  font-size: .85rem;
  color: var(--fn-muted);
}

.breadcrumb a{
  color: var(--fn-primary);
  text-decoration: none;
}

.breadcrumb a:hover{
  text-decoration: underline;
}

/* =========================================================
   Heading Typography (Responsive)
   ========================================================= */
h1, h2, h3, h4, h5{
  margin-top: 1.2em;
  margin-bottom: .55em;
}

h1{
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--fn-heading-1);
}

h2{
  font-size: clamp(1.55rem, 2.1vw, 1.95rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--fn-heading-1);
}

h3{
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--fn-heading-2);
}

h4{
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--fn-heading-2);
}

h5{
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .02em;
  color: var(--fn-heading-2);
  text-transform: none;
}

/* Lists after headings */
h1 + ul, h2 + ul, h3 + ul, h4 + ul, h5 + ul,
h1 + ol, h2 + ol, h3 + ol, h4 + ol, h5 + ol{
  margin-top: .5rem;
}

/* ---------- Tables: comfortable spacing ---------- */
table{
  width: 100%;
}

table td, table th{
  padding: .6rem .7rem;
}

/* =========================================================
   Footer Standard (Light Grey + Responsive)
   Targets your footer module wrapper: .fn-footer
   ========================================================= */
.fn-footer{
  background-color: var(--fn-footer-bg);
  background-image: linear-gradient(180deg, var(--fn-footer-bg2) 0%, var(--fn-footer-bg) 100%);
  border-top: 1px solid var(--fn-border);
  color: var(--fn-text);
  width: 100%;
}

/* Footer text */
.fn-footer p,
.fn-footer li,
.fn-footer small,
.fn-footer .small{
  color: var(--fn-text);
}

/* Footer headings inside footer */
.fn-footer .fn-footer-title{
  font-weight: 400;
  color: #999999;
  margin-bottom: 4px;
}

.fn-footer .fn-footer-sub{
  font-size: .8rem;
  color: #999999;
}

.fn-footer .fn-footer-heading{
  font-weight: 600;
  color: #999999;
  margin-bottom: 8px;
}

/* Footer links */
.fn-footer .fn-footer-links{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.fn-footer .fn-footer-links li{
  margin: 6px 0;
}

.fn-footer a{
  color: var(--fn-primary-dark);
  text-decoration: none;
  font-weight: 400;
}

.fn-footer a:hover,
.fn-footer a:focus{
  text-decoration: underline;
  text-underline-offset: .18em;
}

.fn-footer .fn-footer-note{
  margin-top: 8px;
  font-size: .8rem;
  color: var(--fn-muted);
}

/* Mobile comfort: footer container padding */
@media (max-width: 640px){
  .fn-footer .container{
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* =========================================================
   Mobile Menu CK compatibility (light touch)
   We avoid overriding its layout; we only ensure link color is consistent.
   ========================================================= */
.mobilemenuck a,
.mobilemenuck a:visited{
  color: var(--fn-primary);
}

/* =========================================================
   Force the Cassiopeia footer area to be light grey
   ========================================================= */
footer,
footer.footer,
footer .grid-child{
  background-color: #eeeeee !important;
  background-image: linear-gradient(180deg, #f5f5f5 0%, #eeeeee 100%) !important;
}

/* Footer text + links default */
footer,
footer p,
footer li{
  color: #1f2a37 !important;
}

footer a{
  color: #0f3d66 !important;
  text-decoration: none;
  font-weight: 400;
}

footer a:hover,
footer a:focus{
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* Give footer content room */
footer .container,
footer .container-fluid{
  max-width: 1320px;
  width: 100%;
}

@media (min-width: 1200px){
  footer .container{
    max-width: 1320px;
  }
}

/* =========================================================
   Fix Cassiopeia footer scrunching:
   footer .grid-child flex causes inner content to shrink
   ========================================================= */
footer .grid-child{
  display: block !important;
  width: 100%;
}

/* Ensure footer content spans properly and stays centered */
footer .grid-child > .container,
footer .grid-child > .container-fluid{
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FamilyNet Button Standard
   Works with Joomla / Bootstrap button classes
   ========================================================= */
.btn{
  --btn-padding-x: 1.0rem;
  --btn-padding-y: .65rem;

  font-weight: 500;
  border-radius: .35rem;

  transition:
    color .15s ease-in-out,
    background-color .15s ease-in-out,
    border-color .15s ease-in-out,
    box-shadow .15s ease-in-out,
    transform .08s ease-in-out;
}

.btn-primary{
  background-color: var(--fn-primary);
  border-color: var(--fn-primary);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus{
  background-color: var(--fn-primary-dark);
  border-color: var(--fn-primary-dark);
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
}

.btn-primary:active{
  transform: translateY(1px);
}

.btn-outline-primary{
  color: var(--fn-primary);
  border-color: var(--fn-primary);
  background: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus{
  background: var(--fn-primary);
  color: #ffffff;
  border-color: var(--fn-primary);
}

@media (max-width: 640px){
  .btn{
    padding: .7rem 1.2rem;
  }
}
.list-unstyled, .list-inline
Specificity: (0,1,0)
 {
    padding-left: 0;
    list-style: none;
    display: none !important;
}
.rsblog-entry-meta {
    font-size: 85%;
    display: none;
}
.container-header .navbar-brand {
  color: #193b7f;
}
.card {
  --card-border-color: #fff;
}