/* ============================================================
   NUMERIS — site.css
   Base HTML sizing + logo animation colours
   All major design tokens live in dark-theme.css
   ============================================================ */

html { font-size: 14px; }

@media (min-width: 768px) {
    html { font-size: 16px; }
}

html, body { height: auto; }

/* Focus ring */
.btn:focus, .btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #b5763a;
}

/* ============================================================
   LOGO (colours defined here, animations in dark-theme.css)
   ============================================================ */
.numeris-logo-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1c1b18 !important;
    letter-spacing: -0.03em;
}
/* ============================================================
   SECTION HEADER — luft under rubriken före tjänstebannern
   ============================================================ */
.section-header {
    margin-top: 48px;
}

/* ============================================================
   FOOTER CTA BOX — luft ovanför och nedanför knappen
   ============================================================ */
.footerbox {
    margin-top: 16px;
    padding-bottom: 64px;
}

/* ============================================================
   SUBPAGE HERO CARD (Consult page legacy)
   ============================================================ */
.subconsultHero {
    margin-top: 16px;
    margin-bottom: 40px;
}

.subconsultLink {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subconsultLink:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.subconsultImage {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    filter: brightness(0.88);
    transition: filter 0.3s;
}

.subconsultLink:hover .subconsultImage {
    filter: brightness(0.8);
}

.subconsultOverlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 52px 26px 22px;
    background: linear-gradient(to top, rgba(28,27,24,0.82), transparent);
    transform: translateZ(0);
}

.subconsultTitle {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1.1;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   LEGACY WRAP (for pages not yet redesigned)
   ============================================================ */
.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   FOOTER LEGACY COMPAT — hidden, replaced by dark footer
   ============================================================ */
.siteFooter { display: none !important; }
.footerInner { display: none !important; }
.footerRow   { display: none !important; }
