/* BIOGG / BIOFLUX 1.0.4 — organic boundaries shared across templates.
 * Mirrors the approved contour from bio-sector-hero__edge, without changing
 * page typography, layout grids, Gutenberg content or plugin styles.
 */
.biogg-theme .bioflux-hero-edge {
    position: absolute;
    z-index: 5;
    left: -3%;
    bottom: -2px;
    width: 106%;
    height: 90px;
    pointer-events: none;
    background: #fcfaf4;
    clip-path: polygon(0 65%,4% 58%,9% 64%,14% 48%,21% 61%,27% 58%,35% 44%,43% 61%,51% 56%,58% 45%,65% 61%,73% 52%,81% 68%,87% 59%,93% 68%,100% 53%,100% 100%,0 100%);
}
/* The organic transition leads into each template's actual reading surface. */
.biogg-theme .biogg-single--v1 .bioflux-hero-edge {background: #faf9f2;}
.biogg-theme .biogg-page .bioflux-hero-edge {background: #fcfaf4;}
.biogg-theme .bf09-home .bioflux-hero-edge {background: #f7f5ec;}
/* Keep the small bottom annotation safely above the wavy edge. */
.biogg-theme .biogg-page-hero__inner {padding-bottom: 68px;}
/* Do not let the edge conceal the byline at the end of the article hero. */
.biogg-theme .biogg-single--v1 .biogg-article-hero__content {
    padding-bottom: clamp(78px, 7vw, 110px);
}
/* Matching irregular top of footer. Existing decorative membrane remains. */
.biogg-theme .biogg-footer--v1 {overflow: visible !important;}
.biogg-theme .biogg-footer--v1::before {
    content: "" !important;
    display: block;
    position: absolute;
    left: 0;
    top: -44px;
    width: 100%;
    height: 45px;
    z-index: 3;
    pointer-events: none;
    background: #09291f;
    clip-path: polygon(0 65%,4% 58%,9% 64%,14% 48%,21% 61%,27% 58%,35% 44%,43% 61%,51% 56%,58% 45%,65% 61%,73% 52%,81% 68%,87% 59%,93% 68%,100% 53%,100% 100%,0 100%);
}
@media (max-width: 650px) {
    .biogg-theme .bioflux-hero-edge {height: 56px;}
    .biogg-theme .biogg-page-hero__inner {padding-bottom: 58px;}
    .biogg-theme .biogg-footer--v1::before {height: 30px;top: -29px;}
}
@supports not (clip-path: polygon(0 0,100% 0,100% 100%,0 100%)) {
    .biogg-theme .bioflux-hero-edge,
    .biogg-theme .biogg-footer--v1::before {display:none;}
}
