/* ============================================================
   Pujcovna theme – custom overrides inspired by nbas.cz design
   Primary: #0011b1 | Footer/Hover: #307fe2 | Text: #26263b
   Font: Inter (already loaded by the base theme)
   ============================================================ */

/* --- Root CSS variable overrides (light mode) --- */
:root {
  /* Primary brand color */
  --bs-blue:                    #0011b1;
  --bs-primary:                 #0011b1;
  --bs-primary-rgb:             0,17,177;
  --bs-primary-text-emphasis:   #0011b1;
  --bs-primary-bg-subtle:       #d6d9f7;
  --bs-primary-border-subtle:   #adb3ef;

  /* Links */
  --bs-link-color:              #0011b1;
  --bs-link-color-rgb:          0,17,177;
  --bs-link-hover-color:        #307fe2;
  --bs-link-hover-color-rgb:    48,127,226;

  /* Body text */
  --bs-body-color:              #26263b;
  --bs-body-color-rgb:          38,38,59;
  --bs-secondary-color:         rgba(38,38,59,.75);
  --bs-secondary-color-rgb:     38,38,59;

  /* Header top bar links */
  --header-top-color:           #26263b;
  --header-top-color-hover:     #0011b1;
}

/* --- Headings – bolder weight and primary color, same as nbas.cz --- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: #0011b1;
  font-weight: 700;
}

/* --- Buttons – primary filled --- */
.btn-primary {
  background-color: #0011b1;
  border-color:     #0011b1;
  color:            #ffffff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #307fe2;
  border-color:     #307fe2;
  color:            #ffffff;
}

/* --- Footer – medium blue background (nbas.cz footer color) --- */
.footer__main {
  background: #307fe2 !important;
  color:      #ffffff;
}

.footer-block__title,
.footer-block__title a {
  color: #ffffff;
}

.footer-block a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-block a:hover {
  color: #ffffff;
}

/* Footer copyright bar */
.footer__bottom,
#footer .footer-container {
  background-color: #0011b1;
  color: rgba(255, 255, 255, 0.75);
}
#footer .footer-container a {
  color: rgba(255, 255, 255, 0.75);
}
#footer .footer-container a:hover {
  color: #ffffff;
}

/* --- Navigation – active/current item uses primary blue --- */
.ps-mainmenu__tree-link:hover,
.ps-mainmenu__tree-link:focus,
.ps-mainmenu__tree > li.current .ps-mainmenu__tree-link {
  color: #0011b1;
}

/* --- Breadcrumb active color --- */
.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before {
  color: #26263b;
}

/* --- Focus outlines use primary color --- */
:focus-visible {
  outline-color: #0011b1;
}
