/* Maker identity comes from verified source artwork. Color fields and spacing
   are BWE's presentation; product photography remains complete and unfiltered. */
.bwe-home .bwe-home__brand-recommendations { padding:24px; }
.bwe-home .bwe-home__brand-recommendations .bwe-home__frame-head { margin-bottom:20px; }
.bwe-home .bwe-home__brand-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; min-width:0; }
.bwe-home .bwe-home__brand-card {
  --brand-accent:#d3d2c9;
  --brand-edge:#50534f;
  --brand-line:#414540;
  --brand-bg:#1b1d1c;
  --brand-head-bg:#232624;
  --brand-image-bg:#0c0e0d;
  --brand-text:#eeede6;
  --brand-muted:#cecec6;
  --brand-link:#eeede6;
  --brand-arrow:#d3d2c9;
  display:flex; flex-direction:column; min-width:0; min-height:280px;
  border:1px solid var(--brand-edge); color:var(--brand-text);
  background:var(--brand-bg); box-shadow:0 2px 0 #080a09;
  text-decoration:none;
}
.bwe-home .bwe-home__brand-card-masthead {
  position:relative; display:flex; flex:none; align-items:center; justify-content:space-between;
  gap:10px; min-width:0; min-height:52px; padding:6px 13px;
  background:var(--brand-head-bg); border-bottom:1px solid var(--brand-line);
}
.bwe-home .bwe-home__brand-card-masthead > strong {
  display:flex; align-items:center; min-width:0; max-width:100%;
  color:var(--brand-text); font:900 21px/1.05 Arial,sans-serif;
  letter-spacing:-.025em; overflow-wrap:anywhere;
}
.bwe-home .bwe-home__brand-card-mark {
  display:flex; align-items:center; justify-content:center;
  flex:0 0 40px; width:40px; height:40px;
}
.bwe-home .bwe-home__brand-card-mark > .bwe-maker-identity {
  width:100%; height:100%; max-width:100%; max-height:100%;
}
.bwe-home .bwe-home__brand-card-masthead > strong > .bwe-maker-identity {
  display:block; width:116px; height:28px; max-width:100%;
}
.bwe-home .bwe-home__brand-card-image {
  position:relative; display:block; flex:none; height:148px; min-width:0;
  overflow:hidden; background:var(--brand-image-bg); border-bottom:1px solid var(--brand-line);
}
.bwe-home .bwe-home__brand-card-image img {
  position:absolute; inset:0; display:block; width:100%; height:100%; max-height:100%;
  object-fit:contain; filter:none; opacity:1;
}
.bwe-home .bwe-home__brand-card-image::before,.bwe-home .bwe-home__brand-card-image::after { content:none; }
.bwe-home .bwe-home__brand-card-image--empty { display:flex; align-items:center; justify-content:center; }
.bwe-home .bwe-home__brand-card-wordmark {
  max-width:100%; padding:16px; color:var(--brand-text);
  font:900 clamp(22px,2.2vw,34px)/1.05 Arial,sans-serif;
  overflow-wrap:anywhere; text-align:center;
}
.bwe-home .bwe-home__brand-card-copy { display:flex; flex:1; flex-direction:column; min-width:0; padding:9px 13px 0; }
.bwe-home .bwe-home__brand-card-description {
  display:block; min-height:2.8em; color:var(--brand-muted);
  font:13px/1.4 var(--home-mono,"Courier New",monospace); letter-spacing:0; overflow-wrap:anywhere;
}
.bwe-home .bwe-home__brand-card-link {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  min-height:44px; margin-top:auto; border-top:1px solid var(--brand-line); color:var(--brand-link);
  font:700 11px/1.3 var(--home-mono,"Courier New",monospace); letter-spacing:.025em;
}
.bwe-home .bwe-home__brand-card-link > span { color:var(--brand-arrow); font-size:18px; }
.bwe-home .bwe-home__brand-card:focus-visible { outline:3px solid var(--brand-focus,var(--brand-accent)); outline-offset:3px; }

/* AC: yellow cartoon identity and pale cyan/purple editorial fields. */
.bwe-home .bwe-home__brand-card[data-brand="ac-edc"] {
  --brand-accent:#d6b46b; --brand-edge:#695974; --brand-line:#b5a6c4;
  --brand-focus:#675372;
  --brand-bg:#dbe4e2; --brand-head-bg:#e4dfe7; --brand-image-bg:#dbe4e2;
  --brand-text:#3e2b53; --brand-muted:#4d425a; --brand-link:#4a3165; --brand-arrow:#695974;
}
.bwe-home [data-brand="ac-edc"] .bwe-home__brand-card-masthead { border-top:3px solid #d6b46b; padding-top:3px; }
.bwe-home [data-brand="ac-edc"] .bwe-home__brand-card-masthead > strong { letter-spacing:-.045em; }

/* 01 EDC: verified black/orange identity; product colors stay intact. */
.bwe-home .bwe-home__brand-card[data-brand="01-edc"] {
  --brand-accent:#d18a55; --brand-edge:#a45422; --brand-line:#5f3d28;
  --brand-bg:#181a19; --brand-head-bg:#101211; --brand-image-bg:#101211;
  --brand-text:#d99b6b; --brand-muted:#ded6cf; --brand-link:#ddb08a; --brand-arrow:#d99b6b;
}
.bwe-home [data-brand="01-edc"] .bwe-home__brand-card-masthead { border-left:3px solid #d18a55; padding-left:10px; }
.bwe-home [data-brand="01-edc"] .bwe-home__brand-card-masthead > strong { letter-spacing:-.035em; }

/* JJ: genuine angular wordmark with a small lime identity extension. */
.bwe-home .bwe-home__brand-card[data-brand="jj-edc"] {
  --brand-accent:#9daf78; --brand-edge:#758553; --brand-line:#46572d;
  --brand-bg:#171c14; --brand-head-bg:#0f140c; --brand-image-bg:#0c100a;
  --brand-text:#f4f7e9; --brand-muted:#d0d9c0; --brand-link:#bdcca0; --brand-arrow:#9daf78;
}
.bwe-home [data-brand="jj-edc"] .bwe-home__brand-card-masthead { border-bottom:3px solid #9daf78; padding-bottom:4px; }

/* LAUTIE: the original black script wordmark on white paper. */
.bwe-home .bwe-home__brand-card[data-brand="lautie"] {
  --brand-accent:#e9e6df; --brand-edge:#d3d4cc; --brand-line:#c8cac3;
  --brand-focus:#151515;
  --brand-bg:#e9e6df; --brand-head-bg:#eeece5; --brand-image-bg:#dcded6;
  --brand-text:#111412; --brand-muted:#454943; --brand-link:#111412; --brand-arrow:#111412;
}
.bwe-home [data-brand="lautie"] .bwe-home__brand-card-masthead { border-bottom:2px solid #151815; padding-bottom:5px; }

/* The real LAUTIE/JJ wordmark replaces the visual typed-name duplicate. */
.bwe-home [data-brand="lautie"] .bwe-home__brand-name,
.bwe-home [data-brand="jj-edc"] .bwe-home__brand-name {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
}
.bwe-home [data-brand="lautie"] .bwe-home__brand-card-mark,
.bwe-home [data-brand="jj-edc"] .bwe-home__brand-card-mark { display:none; }

/* WANWU: blue/yellow from its current maker-authored Bilibili emblem. */
.bwe-home .bwe-home__brand-card[data-brand="wanwu"] {
  --brand-accent:#c6a76c; --brand-edge:#637b9e; --brand-line:#35537f;
  --brand-bg:#222e41; --brand-head-bg:#465f89; --brand-image-bg:#101720;
  --brand-text:#eeece5; --brand-muted:#dbe5f7; --brand-link:#d5bf8d; --brand-arrow:#d5bf8d;
}
.bwe-home [data-brand="wanwu"] .bwe-home__brand-card-masthead { border-bottom:3px solid #c6a76c; padding-bottom:4px; }
.bwe-home [data-brand="wanwu"] .bwe-home__brand-card-masthead > strong { font-style:italic; letter-spacing:.025em; }

/* MCZHI: light technical stock and orange titles from its supplied series. */
.bwe-home .bwe-home__brand-card[data-brand="mczhi"] {
  --brand-accent:#bd965d; --brand-edge:#ba8c4b; --brand-line:#ccbda5;
  --brand-focus:#8b5200;
  --brand-bg:#e5dfd3; --brand-head-bg:#eae4d9; --brand-image-bg:#d9d4c9;
  --brand-text:#3a2c19; --brand-muted:#554b3a; --brand-link:#764900; --brand-arrow:#8b5200;
}
.bwe-home [data-brand="mczhi"] .bwe-home__brand-card-masthead { border-top:3px solid #bd965d; padding-top:3px; }
.bwe-home [data-brand="mczhi"] .bwe-home__brand-card-masthead > strong { letter-spacing:.015em; }

@media (hover:hover) and (pointer:fine) {
  .bwe-home .bwe-home__brand-card:hover { border-color:var(--brand-accent); }
  .bwe-home .bwe-home__brand-card:hover .bwe-home__brand-card-link { text-decoration:underline; text-underline-offset:3px; }
}
@media (max-width:700px) {
  .bwe-home .bwe-home__brand-recommendations { padding:20px 16px; }
  .bwe-home .bwe-home__brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .bwe-home .bwe-home__brand-card { min-height:0; }
  .bwe-home .bwe-home__brand-card-masthead { min-height:44px; padding:6px 9px; gap:6px; }
  .bwe-home .bwe-home__brand-card-masthead > strong { font-size:19px; }
  .bwe-home .bwe-home__brand-card-mark { flex-basis:30px; width:30px; height:30px; }
  .bwe-home .bwe-home__brand-card-masthead > strong > .bwe-maker-identity { width:116px; height:28px; max-width:100%; }
  .bwe-home .bwe-home__brand-card-image { height:auto; aspect-ratio:1/1; }
  .bwe-home .bwe-home__brand-card-copy { padding:10px 9px 0; }
  .bwe-home .bwe-home__brand-card-description { min-height:4.2em; font-size:13px; line-height:1.4; }
  .bwe-home .bwe-home__brand-card-link { min-height:44px; font-size:13px; letter-spacing:0; }
  .bwe-home [data-brand="01-edc"] .bwe-home__brand-card-masthead { padding-left:6px; }
}
@media (max-width:359px) {
  .bwe-home .bwe-home__brand-card-masthead { padding-inline:7px; gap:4px; }
  .bwe-home .bwe-home__brand-card-masthead > strong { font-size:16px; }
  .bwe-home .bwe-home__brand-card-mark { flex-basis:26px; width:26px; height:26px; }
  .bwe-home .bwe-home__brand-card-link { gap:3px; font-size:12px; }
}
/* Both rows remain available inside the shorter desktop archive window. */
@media (min-width:960px) and (max-height:940px) {
  .bwe-home .bwe-home__brand-recommendations { padding-block:16px; }
  .bwe-home .bwe-home__brand-recommendations .bwe-home__frame-head { margin-bottom:12px; }
  .bwe-home .bwe-home__brand-card { min-height:252px; }
  .bwe-home .bwe-home__brand-card-image { height:120px; }
}
