/* ------------------------------------------------------------------
   Medcore BioTek - Wound Care area styles
   Loaded by Areas/WoundCare/Views/Home/Index.cshtml and Products.cshtml
   Depends on Bootstrap 5 (already loaded by the site layout).
   Brand accents match the printed Wound Care brochure.
   ------------------------------------------------------------------ */

:root {
    --wc-navy: #102036;
    --wc-blue: #004A80;
    --wc-teal: #0E7C86;
    --wc-coral: #D9622B;
    --wc-gold: #E8A33D;
    --wc-cream: #FBF9F4;
    --wc-gray: #56636C;
}

/* In-page section navigation (sticky under the site navbar) */
.wc-subnav {
    position: sticky;
    top: 84px;            /* height of the sticky site navbar (logo 40px + padding) */
    z-index: 1010;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem .6rem;
    padding: .6rem .8rem;
    background: var(--wc-cream);
    border: 1px solid rgba(16, 32, 54, .12);
    border-radius: .5rem;
}

    .wc-subnav a {
        font-size: .85rem;
        font-weight: 600;
        color: var(--wc-blue);
        text-decoration: none;
        padding: .2rem .55rem;
        border-radius: 999px;
    }

        .wc-subnav a:hover,
        .wc-subnav a.active {
            background: var(--wc-blue);
            color: #fff;
        }

/* Priority cards */
.wc-card-coral { border-top: 4px solid var(--wc-coral); }
.wc-card-teal  { border-top: 4px solid var(--wc-teal); }
.wc-card-gold  { border-top: 4px solid var(--wc-gold); }

/* Attribute call-outs */
.wc-attr {
    background: var(--wc-cream);
    border-left: 4px solid var(--wc-teal);
    padding: .9rem 1rem;
    border-radius: 0 .4rem .4rem 0;
    height: 100%;
}

/* Mechanism and comparison tables */
.wc-mech thead th,
.wc-cmp thead th {
    color: #fff;
    background: var(--wc-navy);
    vertical-align: middle;
}

.wc-th-coral { background: var(--wc-coral) !important; }
.wc-th-teal  { background: var(--wc-teal) !important; }
.wc-th-navy  { background: var(--wc-blue) !important; }
.wc-th-gray  { background: var(--wc-gray) !important; }

.wc-cmp td.wc-hl {
    background: #E2F1F2;
    font-weight: 600;
    color: var(--wc-navy);
}

/* Dose calculator result tiles */
.wc-result {
    background: #fff;
    border: 1px solid rgba(16, 32, 54, .12);
    border-radius: .5rem;
    padding: .8rem .5rem;
    height: 100%;
}

    .wc-result .h4 { color: var(--wc-blue); }

/* Coding lists */
.wc-codes li {
    padding: .35rem 0;
    border-bottom: 1px dashed rgba(16, 32, 54, .15);
}

    .wc-codes li:last-child { border-bottom: 0; }

    .wc-codes code {
        color: var(--wc-blue);
        font-weight: 700;
        background: transparent;
        padding-right: .35rem;
    }

/* References */
.wc-refs li {
    margin-bottom: .35rem;
    line-height: 1.35;
}

    .wc-refs a { overflow-wrap: anywhere; }

/* Superscript citation markers inside copy */
main sup {
    font-size: .68em;
    color: var(--wc-blue);
}

/* Anchor offset so section headings are not hidden under the sticky bars */
main section[id] { scroll-margin-top: 130px; }

@media (max-width: 992px) {
    .wc-subnav { position: static; }
    main section[id] { scroll-margin-top: 80px; }
}

@media print {
    .wc-subnav, .btn { display: none !important; }
    main sup { color: inherit; }
}
