@charset "UTF-8";

/* Site-wide type: Poppins (matches moonsoft.es brand font) */
body,
.card-header,
.btn,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.card-header {
  font-weight: 600;
}

/* Modern module titles: no boxed header, bold text + thin accent rule */
.card > .card-header {
  background: transparent;
  border: 0;
  padding: 1.1rem 0 .9rem;
  margin: 0 1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--body-color);
  position: relative;
}

.card > .card-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.4rem;
  height: 3px;
  border-radius: 3px;
  background: var(--link-color, #337ab7);
}

/* Breadcrumb (example pages): brand link colour + a light chevron divider
   instead of Bootstrap's stock grey "/" and --breadcrumb-item-active-color,
   which don't track the site's colour customization at all. */
.mod-breadcrumbs__wrapper {
  margin: 0 0 1.5rem;
}

.mod-breadcrumbs__wrapper .breadcrumb {
  --breadcrumb-divider: "\203a";
  --breadcrumb-divider-color: color-mix(in srgb, var(--body-color), transparent 60%);
  --breadcrumb-item-padding-x: .55rem;
  /* template.css sets a flat, unscoped ".breadcrumb { background-color:
     #00000008 }" - override it so this sits flush with the page background. */
  background-color: transparent;
  font-size: .85rem;
  font-weight: 600;
}

.mod-breadcrumbs__wrapper .breadcrumb-item a {
  color: var(--link-color, #337ab7);
  text-decoration: none;
}

.mod-breadcrumbs__wrapper .breadcrumb-item a:hover,
.mod-breadcrumbs__wrapper .breadcrumb-item a:focus-visible {
  text-decoration: underline;
}

.mod-breadcrumbs__wrapper .breadcrumb-item.active {
  color: var(--body-color);
  font-weight: 700;
}

/* Header: title next to the logo + link back to moonsoft.es */
/* (.container-header .navbar-brand in template.css also sets display,
   so this needs to match that selector's specificity to win) */
.container-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  font-size: 1rem;
  width: 100%;
}

.navbar-brand .brand-logo img {
  max-height: 52px;
  width: auto;
}

.navbar-brand .site-description {
  flex: 1 1 auto;
  font-family: 'Outfit', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 2.3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--link-color, var(--headercolor, var(--body-color)));
  padding-left: .9rem;
  border-left: 2px solid color-mix(in srgb, var(--headercolor, #2a2a2a), transparent 75%);
  text-align: center;
}

.navbar-brand .back-to-moonsoft {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--link-color, #337ab7);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--link-color, #337ab7), transparent 60%);
  border-radius: 999px;
  padding: .35rem .9rem;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.navbar-brand .back-to-moonsoft:hover {
  background: var(--link-color, #337ab7);
  color: #fff;
}

@media (max-width: 767.98px) {
  .navbar-brand .site-description {
    padding-left: 0;
    border-left: 0;
    font-size: 1.5rem;
  }

  .navbar-brand .back-to-moonsoft {
    margin-left: 0;
  }
}

/* Component promo module (logo + Buy Now) */
.ms-promo {
  text-align: center;
}

.ms-promo img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.ms-promo .ms-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  justify-content: center;
  background: var(--link-color, #337ab7);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border-radius: .5rem;
  padding: .65rem 1rem;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.ms-promo .ms-buy-btn:hover {
  background: var(--link-hover-color, #1a6cae);
  color: #fff;
  transform: translateY(-1px);
}

.ms-promo p {
  font-size: .85rem;
  color: var(--ms-muted, #707070);
  margin: 0 0 1rem;
}

/* Footer legal block (copied from webms's footer) */
/* Cassiopeia's .footer .grid-child is space-between, which left-aligns a
   single item instead of centering it - override so it sits centered with
   equal space on both sides. */
.footer .grid-child {
  justify-content: center;
}

.ms-footer-legal {
  text-align: center;
  padding: 1.5rem 1rem;
}

.ms-footer-legal .ms-footer-copyright {
  font-weight: 600;
  margin: 0 0 .5rem;
}

.ms-footer-legal .ms-footer-address {
  /* No opacity dimming: white-on-blue at .85 opacity measured ~3.77:1,
     below the WCAG AA 4.5:1 minimum for this font size. Full opacity
     matches the copyright line above at ~4.56:1. */
  font-size: .8rem;
  margin: 0 0 .25rem;
}
