/* Health Tip — Split Horizontal Zone (2-zone horizontal layout).
 * Clipboard design matching main/sidebar. */

.health-split-wrap {
    width: 100cqw;
    height: 100cqh;
    container-type: size;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible;
    background: transparent;
    color: #2a1f12;
    font-family: 'Geist Mono', 'Roboto Mono', monospace;
}

.health-split-paper {
    position: relative;
    width: 80%;
    /* Total visible group (clip overhang above the paper + chipboard
     * paper itself) = 80% of the zone height.
     * paper_height + (clip_height / 2) = 80%
     * 70.5% + (19cqh / 2 = 9.5%) = 80%
     *
     * margin-top equal to the clip overhang shifts the paper down so
     * the GROUP — not just the paper — is vertically centered. */
    height: 70.5%;
    margin-top: 9.5cqh;
    box-sizing: border-box;
    background: url("../img/chipboard.76bcddc62b07.svg") center / 100% 100% no-repeat,
                #a87439;
    border-radius: 4.5cqmin;
    isolation: isolate;
    padding: 5.5cqmin;
    display: grid;
    grid-template-rows: 7% 1fr 8%;
    grid-template-areas:
        "banner"
        "paper"
        "footer";
    overflow: visible;
    box-shadow: 0 1.2cqmin 2.4cqmin rgba(0, 0, 0, 0.32);
}

.health-split-paper::before {
    content: "";
    position: absolute;
    inset: 5.5cqmin;
    background: #fbf7ec;
    box-shadow:
        0 0.8cqmin 1.6cqmin rgba(0, 0, 0, 0.7),
        0 0.3cqmin 0.6cqmin rgba(0, 0, 0, 0.45);
}

.health-split-banner-block {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
    height: 19cqh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(to bottom,
            #f1f3f5 0%,
            #d4d8dd 30%,
            #abb0b6 65%,
            #7e8388 100%);
    border-radius: 0.5cqmin;
    box-shadow:
        0 0.7cqmin 1.4cqmin rgba(0, 0, 0, 0.38),
        inset 0 0.12cqmin 0 rgba(255, 255, 255, 0.7),
        inset 0 0 0 0.1cqmin rgba(70, 72, 76, 0.45);
    z-index: 3;
    padding: 0 7cqw;
    box-sizing: border-box;
}

.health-split-banner-block::before,
.health-split-banner-block::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1.8cqmin;
    height: 1.8cqmin;
    border-radius: 50%;
    transform: translateY(-50%);
    background: radial-gradient(
        circle at 35% 35%,
        #ffffff 0%,
        #9a9ea3 35%,
        #4f5256 80%,
        #2c2e30 100%
    );
    box-shadow:
        0 0.12cqmin 0.3cqmin rgba(0, 0, 0, 0.55),
        inset 0 0 0 0.08cqmin rgba(40, 42, 44, 0.7);
}
.health-split-banner-block::before { left: 8%; }
.health-split-banner-block::after  { right: 8%; }

.health-split-banner-fit {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 3.5cqmin;
    width: max-content;
    max-width: 100%;
}

.health-split-wrap .health-split-header {
    font-family: 'Geist Mono', 'Roboto Mono', monospace;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #3b3d40;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 0.05cqmin 0 rgba(255, 255, 255, 0.55);
}

.health-split-paper-block {
    grid-area: paper;
    padding: 6cqh 7cqw 3cqh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #2a1f12;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.health-split-wrap .health-split-body {
    font-size: inherit;
    line-height: 1.35;
    font-family: 'Georgia', serif;
    text-align: start;
}

.health-split-wrap .health-split-headline {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35em;
    font-weight: 700;
    line-height: 1.08;
    color: #2a1f12;
    letter-spacing: -0.005em;
    margin-bottom: 0.25em;
}

.health-split-wrap .health-split-headline-icon {
    color: #c0392b;
    font-size: 0.85em;
    margin-right: 0.4em;
    vertical-align: baseline;
}

.health-split-wrap .health-split-category {
    font-family: 'Georgia', serif;
    font-size: 0.62em;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6b4d2a;
    opacity: 0.85;
    margin-bottom: 0.9em;
    font-style: normal;
    line-height: 1;
}

.health-split-wrap .health-split-text {
    font-family: 'Georgia', serif;
    font-size: 1em;
    line-height: 1.4;
    color: #2a1f12;
}

.health-split-wrap .health-split-source {
    font-family: 'Georgia', serif;
    font-size: 0.7em;
    line-height: 1.35;
    margin-top: 0.7em;
    color: #2a1f12;
    opacity: 0.7;
    text-align: start;
}

.health-split-footer-block {
    grid-area: footer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4cqw 0;
    position: relative;
    z-index: 2;
}

.health-split-wrap .health-split-disclaimer {
    font-family: 'Geist Mono', 'Roboto Mono', monospace;
    font-size: 1.7cqmin;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #6b4d2a;
    opacity: 0.7;
    line-height: 1;
    text-align: center;
}
