/* Blog & News page (shared by all brands): light page with a dark banner, as in BRELYON5.pdf. Prefix: bn- */
.page-blog { background: #fff; color: #1b1f26; }
.page-blog main { background: #fff; }

/* ---------- banner (dynamic: background picture via inline background-image + .bn-has-pic, title/text colour via --bn-banner-ink) ---------- */
.bn-banner {
  position: relative; display: flex; align-items: center;
  height: clamp(220px, 22vw, 380px);
  background: #2a2c34 center / cover no-repeat;
  color: var(--bn-banner-ink, #fff);
}
.bn-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1d1f27 0%, #30323b 45%, #585a64 100%); }
.bn-banner.bn-has-pic::before { background: linear-gradient(90deg, rgba(20,22,28,.85), rgba(60,64,74,.45)); }
.bn-banner-inner { position: relative; padding-left: max(var(--inset), min(9.8vw, 190px)); padding-top: 6px; }
.bn-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--body); }
.bn-crumbs a { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-left: -4px; color: inherit; border-radius: 3px; opacity: .9; transition: opacity .2s; }
.bn-crumbs a:hover { opacity: 1; }
.bn-crumbs a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bn-crumbs svg { width: 15px; height: 15px; }
.bn-sep svg { width: 8px; height: 8px; display: block; opacity: .8; }
.bn-title { margin-top: clamp(28px, 3.6vw, 52px); font: 700 clamp(28px, 3.1vw, 46px)/1.1 var(--head); color: inherit; letter-spacing: .005em; }

/* ---------- intro / latest news ---------- */
.bn-intro { padding: clamp(36px, 3.8vw, 56px) 0 clamp(20px, 2.4vw, 34px); }
.bn-intro-inner { padding-left: max(var(--inset), min(7.7vw, 150px)); padding-right: var(--inset); }
.bn-post { max-width: 805px; }
.bn-meta { display: flex; align-items: center; gap: 10px; }
.bn-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 3px; background: #e8643f; color: #fff; font: 500 12.5px/1 var(--body); letter-spacing: .02em; }
.bn-meta time { font-size: 11.5px; color: #8b9097; }
.bn-post-body { margin-top: 18px; }
.bn-post-body p { font-size: 14px; line-height: 1.34; color: #3f444b; margin-top: 14px; }
.bn-post-body p:first-child { margin-top: 0; }
.bn-readmore { display: inline-block; margin-top: 6px; padding: 4px 3px; font-size: 14.5px; color: #2b2f35; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
.bn-readmore:hover { color: var(--red); }
.bn-readmore:focus-visible { outline: 2px solid #1b1f26; outline-offset: 2px; }

/* ---------- story rows (old NEWS page /inner/inner-2/) ---------- */
.bn-stories { padding: clamp(28px, 4vw, 56px) 0 clamp(16px, 2vw, 28px); }
.bn-rows { width: min(1180px, 76.5vw); margin-inline: auto; display: grid; gap: clamp(40px, 4.7vw, 68px); }
.bn-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--bn-panel, #c9c9c9); }
.bn-row template { display: none; }
.bn-media-right .bn-media { order: 2; }
.bn-media { min-width: 0; }
.bn-media img, .bn-media video { display: block; width: 100%; height: auto; }
.bn-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.bn-video video { height: 100%; object-fit: cover; }
.bn-text { align-self: center; padding: clamp(20px, 2.36vw, 40px); }
.bn-row-title { font: 300 clamp(20px, 1.8vw, 28px)/1.25 var(--body); color: var(--bn-title, #212529); letter-spacing: -.005em; }
.bn-text p { margin-top: 10px; font-size: clamp(12px, .95vw, 13.5px); line-height: 1.75; color: var(--bn-text, #626262); text-align: justify; }

@media (min-width: 901px) {
  .bn-media img, .bn-video { height: 100%; }
  .bn-media img { object-fit: cover; }
}

/* AOS fade-right (media) / fade-left (text): 100 px, 1.4 s linear, replays on scroll back (see blog.js) */
.js .bn-fx { opacity: 0; transition: opacity 1.4s cubic-bezier(.25, .25, .75, .75), transform 1.4s cubic-bezier(.25, .25, .75, .75); }
.js .bn-fx-r { transform: translate3d(-100px, 0, 0); }
.js .bn-fx-l { transform: translate3d(100px, 0, 0); }
.js .bn-fx.bn-in { opacity: 1; transform: translate3d(0, 0, 0); }

/* client 29 Oct: posts as blocks (tag + date over the title) */
.bn-row.bn-no-media { grid-template-columns: minmax(0, 1fr); }
.bn-post-row .bn-meta { margin-top: 0; }
.bn-post-row .bn-row-title { margin-top: 12px; }
.bn-post-row .bn-media a { display: block; height: 100%; }

/* video pause / play */
.bn-vbtn { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.bn-vbtn:hover, .bn-vbtn:focus-visible { opacity: 1; background: rgba(0,0,0,.8); }
.bn-vbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bn-vbtn svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.bn-vbtn .bn-i-play { display: none; }
.bn-vbtn[data-paused="true"] .bn-i-play { display: block; }
.bn-vbtn[data-paused="true"] .bn-i-pause { display: none; }

/* ---------- products launching at GITEX (old NEWS page .colorboxes) ---------- */
.bn-launch { padding: clamp(48px, 6vw, 88px) 0 clamp(96px, 24vw, 340px); }
.bn-launch-h { text-align: center; font: 300 clamp(16px, 1.45vw, 21px)/1.35 var(--body); color: #2b2f35; letter-spacing: .01em; }
.bn-launch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 25px); width: min(965px, 100%); margin: clamp(28px, 3.4vw, 48px) auto 0; }
.bn-card { padding: 20px; text-align: center; background: #fff; border: 1px solid transparent; border-radius: 5px; transition: transform .5s ease-in-out, border-color .5s ease-in-out, box-shadow .5s ease-in-out, border-radius .5s ease-in-out; }
.bn-card:hover { transform: scale(1.05); border-color: #c9c9c9; border-radius: 0; box-shadow: 0 4px 4px rgba(0,0,0,.6); }
.bn-card img { width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 362 / 312; object-fit: contain; }
.bn-card h3 { margin-top: 30px; font: 300 clamp(17px, 1.4vw, 20px)/1.3 var(--body); color: #26292e; }
.bn-card p { margin-top: 30px; font-size: 13px; line-height: 1.45; color: #4a4f56; }
/* classic effect (left / up / right, 1.5 s linear) as on the Main and Details pages */
.js .bn-card-cell.reveal.in { transition-duration: 1.5s; transition-timing-function: linear; }

/* dark bands keep light text on this light page */
.page-blog .s-stats b, .page-blog .s-cta h2, .page-blog .s-cta p { color: #fff; }
.page-blog .s-cta p { color: #e2e5ea; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .bn-rows { width: min(100% - 2 * var(--gutter), 960px); } }
@media (max-width: 900px) {
  .bn-row { grid-template-columns: 1fr; }
  .bn-media-right .bn-media { order: 0; }
  .bn-text { padding: 22px 20px 26px; }
  .bn-text p { font-size: 13.5px; line-height: 1.7; }
  .bn-launch-grid { grid-template-columns: 1fr; max-width: 420px; gap: 28px; }
  .bn-intro-inner { padding-right: 0; }
}
@media (max-width: 520px) {
  .bn-banner { height: 200px; }
  .bn-banner-inner, .bn-intro-inner { padding-left: var(--inset); }
  .bn-text p { text-align: left; }
  .bn-post-body p { font-size: 14.5px; line-height: 1.55; }
}
@media (hover: none) { .bn-card:hover { transform: none; box-shadow: none; border-color: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .js .bn-fx { opacity: 1; transform: none; }
  .bn-card:hover { transform: none; }
}

/* ---------- client 'Blog&News page' PDF, 22 Oct ---------- */
/* banner: lower, the breadcrumb close to the header, as in his second picture */
.bn-banner { height: auto; align-items: flex-start; padding: clamp(16px, 1.6vw, 26px) 0 clamp(46px, 4.8vw, 76px); }
.bn-title { margin-top: clamp(22px, 2.5vw, 38px); }
/* intro: starts on the same left edge as the story rows below, and its lines run a little longer */
.bn-intro-inner { width: min(1180px, 76.5vw); margin-inline: auto; padding-left: 0; padding-right: 0; }
.bn-post { max-width: min(100%, 960px); }
@media (max-width: 1100px) { .bn-intro-inner { width: min(100% - 2 * var(--gutter), 960px); } }
@media (max-width: 900px) { .bn-banner-inner { padding-left: var(--inset); } }
.bn-readmore { margin-left: -3px; } /* text of the link on the same edge as the paragraphs */
