/* BibliaREM Home Associated Brands R6 — freer logo composition, no inner framed panels. */
.br-ecosystem{position:relative;margin:0 auto clamp(2.5rem,4vw,4rem);padding:clamp(1.2rem,2.3vw,1.8rem) 0 0}
.br-ecosystem__intro{max-width:820px;margin:0 auto 1.5rem;text-align:center}
.br-ecosystem__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch}
.br-project-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1.35rem 1.25rem 1.4rem;border:1px solid color-mix(in srgb,var(--line-gold,#c6a86a) 34%, transparent);border-radius:28px;background:linear-gradient(180deg,rgba(5,29,44,.96),rgba(6,23,36,.99));box-shadow:0 18px 52px rgba(5,10,18,.22), inset 0 1px 0 rgba(255,255,255,.04);overflow:hidden;min-height:360px;text-align:center;isolation:isolate}
.br-project-card::before{content:"";position:absolute;inset:auto 50% 1rem;translate:-50% 0;width:74%;height:68%;border-radius:50%;filter:blur(46px);opacity:.28;z-index:0;pointer-events:none}
.br-project-card--qedem::before{background:radial-gradient(circle, rgba(149,181,156,.82) 0%, rgba(70,109,89,.34) 42%, transparent 72%);top:.6rem}
.br-project-card--noctarya::before{background:radial-gradient(circle, rgba(92,112,156,.45) 0%, rgba(41,55,86,.22) 44%, transparent 72%);top:.7rem}
.br-project-card--kidsrem::before{background:radial-gradient(circle, rgba(84,174,214,.28) 0%, rgba(255,190,73,.16) 34%, rgba(48,87,134,.18) 52%, transparent 74%);top:.9rem}
.br-project-card:has(>h3 .br-project-card__link){cursor:pointer;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease}
.br-project-card:hover{transform:translateY(-2px);box-shadow:0 22px 60px rgba(5,10,18,.28), inset 0 1px 0 rgba(255,255,255,.06);border-color:color-mix(in srgb,var(--line-gold,#c6a86a) 50%, transparent)}
.br-project-card__brand{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:165px;margin:.15rem auto .2rem;padding:0;background:none!important;border:0!important;box-shadow:none!important;width:100%}
.br-project-card__logo{display:block;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 12px 26px rgba(0,0,0,.18))}
.br-project-card--qedem .br-project-card__logo{max-width:min(100%,355px);max-height:175px}
.br-project-card--noctarya .br-project-card__logo{max-width:min(100%,400px);max-height:122px}
.br-project-card--kidsrem .br-project-card__logo{max-width:min(100%,390px);max-height:158px}
.br-project-card h3{position:relative;z-index:1;margin:.1rem 0 0;font-size:1.16rem;line-height:1.2;letter-spacing:-.02em;color:#f3ecdd}
.br-project-card h3 .br-project-card__link{color:inherit;text-decoration:none}
.br-project-card h3 .br-project-card__link::before{content:"";position:absolute;inset:-10rem;z-index:2}
.br-project-card p{position:relative;z-index:1;margin:.55rem auto 0;max-width:27ch;color:rgba(246,246,245,.94);line-height:1.56;font-size:1rem}
.br-project-card:focus-within{outline:2px solid var(--gold,#d6b16a);outline-offset:3px;border-color:var(--line-gold,#c6a86a)}
.br-project-card h3 .br-project-card__link:focus-visible{outline:0}
.br-ecosystem__epilogue{max-width:680px;margin:1.2rem auto 0;text-align:center;color:var(--text-muted,#5b6771);font-style:italic}
html[data-theme="light"] .br-project-card{background:linear-gradient(180deg,#12323a,#08253b)}
html[data-theme="light"] .br-project-card p{color:rgba(255,255,255,.95)}
html[data-theme="light"] .br-project-card h3{color:#f6eedf}
html[data-theme="dark"] .br-project-card p, html[data-theme="dark"] .br-ecosystem__epilogue{color:rgba(229,235,240,.88)}
@media (max-width: 980px){.br-ecosystem__grid{grid-template-columns:1fr}.br-project-card{min-height:0;padding:1.25rem 1.15rem 1.35rem}.br-project-card__brand{min-height:138px}.br-project-card--qedem .br-project-card__logo{max-height:150px}.br-project-card--noctarya .br-project-card__logo{max-height:108px}.br-project-card--kidsrem .br-project-card__logo{max-height:142px}}
@media (prefers-reduced-motion:reduce){.br-project-card{transition:none}}
