:root {
    --primary-dark: #0a251f;
    --primary-medium: #0f4a3c;
    --accent-teal: #0b6e63;
    --accent-light: #4db6ac;

    --bg-offwhite: #f2f1ee;
    --text-dark: #11221f;
    --text-muted: #5a6e69;

    --white: #ffffff;
    --border-color: #e2e0d9;

    --success: #2e7d32;
    --warning: #ed6c02;
    --danger: #d32f2f;
    --info: #1565c0;

    --shadow-sm: 0 4px 12px rgba(10, 37, 31, 0.05);
    --shadow-lg: 0 12px 32px rgba(10, 37, 31, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}





/* =========================
           MAIN
        ========================== */

main {
    max-width: 1100px;
    width: 100%;
    margin: -2.5rem auto 4rem;
    padding: 0 1rem;
    position: relative;
    z-index: 5;
}
.bl-hero {
    --bl-dark: #0c3128;
    --bl-dark-2: #092a23;
    --bl-green: #146b62;
    --bl-green-light: #8fd2b7;
    --bl-gold: #b8874f;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 105px 0 55px;
    color: #fff;
    background: radial-gradient( circle at 82% 18%, rgba(20,107,98,.38), transparent 31% ), radial-gradient( circle at 8% 92%, rgba(184,135,79,.12), transparent 28% ), linear-gradient( 135deg, var(--bl-dark), var(--bl-dark-2) );
  }
.bl-hero {
    padding: 100px 0 20px;
    overflow: hidden;
    position: relative;
  }
.bl-hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .045;
    background-image: linear-gradient( rgba(255,255,255,.6) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.6) 1px, transparent 1px );
    background-size: 80px 80px;
    mask-image: linear-gradient( to bottom, transparent, black 20%, black 80%, transparent );
  }
  .bl-hero-wrap {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .bl-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 850px;
    margin: 60px auto 0;
    border-top: 1px solid rgba(255,255,255,.13);
    border-bottom: 1px solid rgba(255,255,255,.13);
  }
  .bl-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
    color: var(--bl-green-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;text-align: center;
    display: block;
  }
  .bl-hero::before {
    content: "";
    position: absolute;
    top: -260px;
    right: -220px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient( circle at 30% 30%, rgba(11, 110, 99, 0.15), rgba(11, 110, 99, 0) 70% );
    pointer-events: none;
  }
  .bl-hero-orb-1 {
    width: 380px;
    height: 380px;
    top: -210px;
    right: -80px;
    border: 1px solid rgba(143,210,183,.16);
    box-shadow: 0 0 0 45px rgba(143,210,183,.025), 0 0 0 90px rgba(143,210,183,.015);
  }
  .bl-hero-orb-2 {
    width: 250px;
    height: 250px;
    bottom: -180px;
    left: -90px;
    border: 1px solid rgba(184,135,79,.15);
  }
  .bl-hero-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
  }

  .bl-hero-grid-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .045;
    background-image: linear-gradient( rgba(255,255,255,.6) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255,255,255,.6) 1px, transparent 1px );
    background-size: 80px 80px;
    mask-image: linear-gradient( to bottom, transparent, black 20%, black 80%, transparent );
  }
  .bl-hero-wrap {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .bl-hero h1 {
    font-size: clamp(34px, 4.6vw, 58px);
  }
  .wp-block-paragraph{max-width: 680px;
    text-align: center;
    margin: auto;}
  .bl-hero-title {
    max-width: 850px;
    margin: 0 auto;
    color: #fff;
    font-family: var(--Font-2, inherit);
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -.04em;
    text-wrap: balance;text-align: center;
  }
  .bl-hero-title-accent {
    display: inline-block;
    margin-left: 8px;
    color: var(--bl-green-light);
    font-family: var(--Font-2, inherit);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.035em;
  }
  .bl-stat {
    position: relative;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 15px;
    text-align: center;
  }
  .bl-stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -.025em;
  }
  .bl-stat-label {
    max-width: 160px;
    margin-top: 9px;
    color: rgba(255,255,255,.50);
    font-size: 11px;
    line-height: 1.45;
  }
/* =========================
           TABS
        ========================== */

.tab-nav {
    background: var(--white);
    padding: .5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: .45rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    border: 0;
    background: transparent;
    color: var(--text-muted);

    padding: .9rem .75rem;

    border-radius: var(--radius-md);

    font-size: .95rem;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}

.tab-btn:hover {
    background: rgba(11, 110, 99, .06);
    color: var(--primary-dark);
}

.tab-btn.active {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* =========================
           CALCULATOR CARDS
        ========================== */

.calculator-card {
    display: none;

    background: var(--white);

    border-radius: var(--radius-lg);

    padding: clamp(1.25rem, 4vw, 2.2rem);

    box-shadow: var(--shadow-lg);

    animation: fadeIn .3s ease;
}

.calculator-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-header {
    padding-bottom: 1.2rem;
    margin-bottom: 1.7rem;

    border-bottom: 2px solid var(--bg-offwhite);
}

.card-header h2 {
    color: var(--primary-dark);
    font-size: 1.55rem;
    font-weight: 800;
}

.card-header p {
    color: var(--text-muted);
    margin-top: .35rem;
    font-size: .95rem;
}

/* =========================
           FORM
        ========================== */

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;

    margin-bottom: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-group label {
    color: var(--primary-dark);
    font-size: .92rem;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.form-group select {
    width: 100%;

    padding: .85rem 1rem;

    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);

    background: var(--white);

    color: var(--text-dark);

    font-size: 1rem;

    outline: none;

    transition: .2s ease;
}

.input-wrapper input:focus,
.form-group select:focus {
    border-color: var(--accent-teal);

    box-shadow:
        0 0 0 3px rgba(11, 110, 99, .12);
}

.unit-badge {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);

    color: var(--text-muted);
    font-size: .82rem;

    pointer-events: none;
}

.radio-group {
    display: flex;
    gap: .7rem;
}

.radio-option {
    flex: 1;
}

.radio-option input {
    display: none;
}

.radio-label {
    display: block;

    text-align: center;

    padding: .75rem;

    border: 1.5px solid var(--border-color);

    border-radius: var(--radius-md);

    color: var(--text-muted);

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.radio-option input:checked+.radio-label {
    background: rgba(11, 110, 99, .08);
    border-color: var(--accent-teal);
    color: var(--primary-dark);
}

/* =========================
           BUTTON
        ========================== */

.submit-btn {
    width: 100%;

    border: 0;

    padding: 1rem;

    border-radius: var(--radius-md);

    background: var(--accent-teal);

    color: var(--white);

    font-size: 1.05rem;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 5px 15px rgba(11, 110, 99, .22);

    transition: .2s ease;
}

.submit-btn:hover {
    background: #08564d;
    transform: translateY(-1px);
}

/* =========================
           RESULTS
        ========================== */

.results-box {
    display: none;

    margin-top: 2rem;

    padding: 1.3rem;

    background: rgba(242, 241, 238, .7);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-md);

    animation: fadeIn .3s ease;
}

.results-box.active {
    display: block;
}

.results-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(190px, 1fr));

    gap: 1rem;

    margin-bottom: 1.2rem;
}

.result-card {
    background: var(--white);

    padding: 1.2rem;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);

    text-align: center;
}

.result-card .title {
    color: var(--text-muted);

    font-size: .84rem;

    font-weight: 700;

    margin-bottom: .25rem;
}

.result-card .value {
    color: var(--primary-dark);

    font-size: 1.7rem;

    font-weight: 800;
}

.result-card small {
    color: var(--text-muted);
    font-size: .75rem;
}

.status-badge {
    display: inline-block;

    padding: .3rem .8rem;

    border-radius: 50px;

    margin-top: .35rem;

    font-size: .82rem;

    font-weight: 800;
}

.status-normal {
    background: #e8f5e9;
    color: var(--success);
}

.status-warning {
    background: #fff3e0;
    color: var(--warning);
}

.status-danger {
    background: #ffebee;
    color: var(--danger);
}

.status-info {
    background: #e3f2fd;
    color: var(--info);
}

.medical-advice {
    background: var(--white);

    border-right: 4px solid var(--accent-teal);

    padding: 1rem 1.2rem;

    border-radius: 0 var(--radius-md) var(--radius-md) 0;

    color: var(--text-dark);

    font-size: .92rem;

    margin-bottom: 1.2rem;
}

/* =========================
           CTA
        ========================== */

.cta-banner {
    background:
        linear-gradient(135deg,
            var(--primary-dark),
            var(--primary-medium));

    color: var(--white);

    padding: 1.3rem 1.5rem;

    border-radius: var(--radius-md);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    flex-wrap: wrap;
}

.cta-banner p {
    font-size: .92rem;
}

.cta-btn {
    display: inline-block;

    background: var(--white);

    color: var(--primary-dark);

    text-decoration: none;

    padding: .7rem 1.25rem;

    border-radius: var(--radius-md);

    font-size: .88rem;

    font-weight: 800;

    white-space: nowrap;

    transition: .2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: var(--bg-offwhite);
}

/* =========================
           INFO BOX
        ========================== */

.info-box {
    background: #f5f9f8;

    border: 1px solid #dbe9e5;

    border-radius: var(--radius-md);

    padding: 1rem 1.2rem;

    color: var(--text-muted);

    font-size: .88rem;

    margin-top: 1rem;
}

.info-box strong {
    color: var(--primary-dark);
}

/* =========================
           SOURCES
        ========================== */

.sources-section {
    background: var(--white);

    border-radius: var(--radius-lg);

    padding: 2rem;

    margin-top: 1.5rem;

    box-shadow: var(--shadow-sm);

    border: 1px solid var(--border-color);
}

.sources-section h2 {
    color: var(--primary-dark);

    font-size: 1.35rem;

    margin-bottom: .7rem;
}

.sources-section>p {
    color: var(--text-muted);

    font-size: .88rem;

    margin-bottom: 1rem;
}

.sources-list {
    display: grid;

    gap: .65rem;

    list-style: none;
}

.sources-list li {
    padding: .8rem 1rem;

    background: var(--bg-offwhite);

    border-radius: var(--radius-sm);

    font-size: .84rem;

    color: var(--text-dark);
}

.sources-list a {
    color: var(--accent-teal);

    font-weight: 700;

    text-decoration: none;
}

.sources-list a:hover {
    text-decoration: underline;
}



/* =========================
           RESPONSIVE
        ========================== */

@media (max-width: 800px) {

    .tab-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    header {
        padding: 2.4rem 1rem 4rem;
    }

    .tab-nav {
        grid-template-columns: 1fr;
    }

    .calculator-card {
        padding: 1.15rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        flex-direction: column;

        text-align: center;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
    }

    .sources-section {
        padding: 1.25rem;
    }
}