/* Magazine. Newly written; every value is the final effective value of the live page's
   own stylesheet (BRAG-REFERENCE39), with its later overrides folded in. */
.bm-frame { max-width: 1289.6px; margin: 0 auto; padding: 0 0.768% 60px 1.92%; }   /* page-builder column, inferred */
.bm { overflow: hidden; background: var(--cream); color: var(--ink); font: 17px/1.65 var(--font-body); }
.bm-wrap { width: calc(100% - 64px); max-width: 1180px; margin: 0 auto; }
.bm h1, .bm h2, .bm h3, .bm p { margin-top: 0; }
.bm h1, .bm h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
.bm h1 { margin-bottom: 18px; font-size: clamp(44px, 4.5vw, 58px); line-height: 1; }
.bm h2 { margin-bottom: 18px; font-size: clamp(38px, 4.1vw, 50px); line-height: 1.06; }
.bm p { margin-bottom: 18px; text-wrap: pretty; }
.bm strong { font-weight: 700; }
.bm .brand { font-weight: 700; white-space: nowrap; }
.bm .star { color: var(--gold); font-weight: 800; }
.bm .gold { color: var(--gold); }
.bm img { display: block; max-width: 100%; height: auto; }
.bm .bm-kicker { margin-bottom: 12px; color: var(--bronze); font: 700 10px/1.5 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.bm a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.bm-text-link { color: var(--bronze); font-size: 13px; font-weight: 700; line-height: 1.6; text-decoration: underline; text-decoration-color: rgba(145, 99, 66, .4); text-underline-offset: 4px; }
.bm-text-link:hover { text-decoration-color: currentColor; }
.bm-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; min-height: 46px; padding: 11px 20px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: var(--ink); font: 700 13px/1.4 var(--font-body); text-align: center; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.bm-button:hover, .bm-button:focus { border-color: var(--ink); background: var(--ink); color: var(--gold); transform: translateY(-1px); }
.bm-button__arrow { display: inline-block; font-size: 1.08em; font-weight: 700; line-height: 1; transition: transform .2s ease; }
.bm-button:hover .bm-button__arrow, .bm-button:focus .bm-button__arrow { transform: translateX(3px); }

/* Hero */
.bm-hero { position: relative; overflow: hidden; isolation: isolate; padding: 38px 0 0; background: var(--cream); }
.bm-hero::before { content: "★"; position: absolute; top: 5%; right: -45px; z-index: 0; color: var(--gold); opacity: .055; font-size: clamp(220px, 22vw, 345px); line-height: 1; transform: rotate(10deg); pointer-events: none; }
.bm-hero::after { content: ""; position: absolute; right: 7%; bottom: 12%; z-index: 0; width: 310px; height: 310px; border: 1px solid rgba(228, 180, 70, .07); border-radius: 50%; pointer-events: none; }
.bm-hero .bm-wrap { position: relative; z-index: 1; }
.bm-hero__layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(430px, 1.07fr); gap: 46px; align-items: center; padding-bottom: 34px; }
.bm-hero__layout > *, .bm-proof__grid > *, .bm-editorial__row > *, .bm-stories__grid > *, .bm-testimonial__grid > *, .bm-close__main > * { min-width: 0; }
.bm-hero__copy { max-width: 600px; }
.bm .bm-hero__copy .bm-kicker { margin-bottom: 10px; color: var(--ink); }
.bm-hero h1 span { display: block; }
.bm-hero h1 span:last-child { color: var(--bronze); }
.bm-hero__copy > p:last-child { max-width: 555px; margin: 0; font-size: 16.5px; line-height: 1.65; }
.bm-hero__visual { display: flex; align-items: center; justify-content: center; }
.bm-hero__image { width: 100%; max-width: 545px; margin: 0 auto; filter: contrast(1.035) saturate(1.025) drop-shadow(0 16px 28px rgba(17, 17, 17, .09)); }

/* Editorial approach strip */
.bm-proof { position: relative; width: min(100%, 1040px); margin: 0 auto; padding: 28px 0 31px; }
.bm-proof::before, .bm-proof::after { content: ""; position: absolute; left: 50%; width: min(100%, 880px); height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(228, 180, 70, .4) 13%, var(--gold) 50%, rgba(228, 180, 70, .4) 87%, transparent 100%); transform: translateX(-50%); }
.bm-proof::before { top: 0; }
.bm-proof::after { bottom: 0; }
.bm-proof__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-proof__item { padding: 3px 31px; text-align: center; }
.bm-proof__item + .bm-proof__item { border-left: 1px solid rgba(228, 180, 70, .27); }
.bm-proof__item strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 14px; line-height: 1.35; letter-spacing: .045em; text-transform: uppercase; text-wrap: balance; }
.bm-proof__item span { display: block; max-width: 275px; margin: 0 auto; color: #555; font-size: 12.5px; line-height: 1.52; text-wrap: pretty; }

/* Editorial / Top 100 */
.bm-editorial { position: relative; overflow: hidden; isolation: isolate; padding: 48px 0 82px; background: radial-gradient(circle at 79% 46%, rgba(228, 180, 70, .26) 0, rgba(228, 180, 70, .12) 21%, transparent 46%), radial-gradient(circle at 14% 17%, rgba(145, 99, 66, .2), transparent 37%), linear-gradient(135deg, #0B0A09 0%, #1D1711 53%, #100E0B 77%, #080808 100%); color: var(--cream); }
.bm-editorial::before { content: "Magazine"; position: absolute; top: 55%; left: 56%; z-index: 0; color: rgba(228, 180, 70, .07); font: italic 500 clamp(56px, 10vw, 150px)/.8 var(--font-display); letter-spacing: -.045em; white-space: nowrap; transform: translate(-50%, -50%) rotate(-5deg); pointer-events: none; }
.bm-editorial::after { content: ""; position: absolute; top: 19%; left: -72px; width: 275px; height: 275px; border: 1px solid rgba(228, 180, 70, .07); border-radius: 50%; pointer-events: none; }
.bm-editorial .bm-wrap { position: relative; z-index: 1; }
.bm-editorial__row { display: grid; grid-template-columns: 205px minmax(0, 590px); justify-content: center; align-items: center; gap: 48px; }
.bm-editorial__row > img { width: 205px; margin: 0 auto; border: 1px solid rgba(228, 180, 70, .34); box-shadow: 0 18px 44px rgba(0, 0, 0, .24); }
.bm-editorial .bm-kicker { color: var(--gold); }
.bm-editorial h2 { max-width: 720px; margin-bottom: 16px; color: #fff; font-size: clamp(40px, 4.1vw, 54px); line-height: 1.04; }
.bm-editorial h2 span { display: block; }
.bm-editorial p { max-width: 590px; margin-bottom: 15px; color: #D7D0C4; font-size: 15.5px; line-height: 1.68; }
.bm-editorial .brand { color: #fff; }
.bm-editorial__break { display: block; }
.bm-editorial .bm-text-link { color: var(--gold); font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-decoration-color: rgba(228, 180, 70, .48); }

/* Newest stories (a WordPress query of the three latest Journal articles) */
.bm-stories { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 58px; background: var(--cream); }
.bm-stories::before { content: "★"; position: absolute; top: 36px; right: -42px; z-index: 0; color: var(--gold); opacity: .045; font-size: 285px; line-height: 1; transform: rotate(-10deg); pointer-events: none; }
.bm-stories .bm-wrap { position: relative; z-index: 1; }
.bm-stories__head { max-width: 820px; margin: 0 auto 29px; text-align: center; }
.bm-stories h2 { margin-bottom: 13px; color: #111; font-size: clamp(38px, 3.8vw, 50px); line-height: 1.08; }
.bm-stories h2 span { color: var(--bronze); }
.bm-stories__head > p:last-child { max-width: 720px; margin: 0 auto; color: #444; font-size: 14.5px; line-height: 1.65; }
.bm-stories__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.bm-stories__column { position: relative; padding-top: 18px; }
.bm-stories__column::before { content: ""; position: absolute; top: 0; left: 50%; width: min(82%, 255px); height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(145, 99, 66, .52) 18%, var(--gold) 50%, rgba(145, 99, 66, .52) 82%, transparent 100%); transform: translateX(-50%); }
/* The live label rule (10px) loses to the general paragraph margin, so 18px renders. */
.bm .bm-stories__label { margin: 0 0 18px; color: var(--bronze); font-size: 10px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.bm-post__image { display: block; position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; background: #F1E7DA; }
.bm-post__image > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bm-post__title { margin: 15px 0 9px; font: 500 19px/1.28 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.bm-post__title a { display: -webkit-box; overflow: hidden; color: #111; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bm-post__title a:hover { color: var(--bronze); }
.bm-post--lead .bm-post__title { font-size: clamp(25px, 2.5vw, 31px); line-height: 1.14; letter-spacing: -.02em; }
.bm-post--lead .bm-post__title a { -webkit-line-clamp: 3; }
.bm .bm-post__excerpt { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: #444; font-size: 13px; line-height: 1.58; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.bm-post--lead .bm-post__excerpt { -webkit-line-clamp: 3; }
.bm-post__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 6px 0; border-top: 1px solid rgba(145, 99, 66, .18); border-bottom: 1px solid rgba(145, 99, 66, .18); color: #555; font-size: 10px; line-height: 1.5; }
.bm-post__meta a[rel~="author"] { color: #111; }
.bm-post__more { color: var(--bronze); font-weight: 700; }
.bm-stories__foot { display: flex; justify-content: center; margin-top: 24px; }
.bm-journal-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; color: var(--bronze); font-size: 13px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-decoration-color: rgba(145, 99, 66, .35); text-underline-offset: 4px; }
.bm-journal-link:hover { text-decoration-color: currentColor; }

/* Tarek El Moussa */
.bm-testimonial { position: relative; overflow: hidden; isolation: isolate; padding: 66px 0; background: radial-gradient(circle at 81% 42%, rgba(228, 180, 70, .2), transparent 38%), radial-gradient(circle at 13% 18%, rgba(145, 99, 66, .18), transparent 36%), linear-gradient(135deg, #0B0A09 0%, #1D1711 53%, #100E0B 77%, #080808 100%); color: #F5F5F5; }
.bm-testimonial::before { content: "★"; position: absolute; top: 48%; right: -25px; z-index: 0; color: rgba(228, 180, 70, .06); font-size: 300px; line-height: 1; transform: translateY(-50%) rotate(8deg); pointer-events: none; }
.bm-testimonial .bm-wrap { position: relative; z-index: 1; }
.bm-testimonial__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 50px; align-items: center; }
.bm-testimonial__video { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(228, 180, 70, .26); border-radius: 3px; background: var(--ink); box-shadow: 0 18px 38px rgba(0, 0, 0, .3), 0 0 0 6px rgba(228, 180, 70, .025); }
.bm-testimonial .bm-kicker, .bm-testimonial .accent { color: var(--gold); }
.bm-testimonial h2 { margin-bottom: 16px; color: #fff; font-size: clamp(38px, 3.8vw, 50px); line-height: 1.08; }
.bm-testimonial h2 > span { display: block; }
.bm-testimonial__copy > p:not(.bm-kicker):not(.bm-testimonial__name) { max-width: 480px; color: #D7D0C4; font-size: 15.5px; line-height: 1.68; }
/* Live: the general testimonial paragraph size (15.5px/1.7) and paragraph margins win over the name rule. */
.bm .bm-testimonial__name { display: inline-block; margin: 0 0 18px; padding-top: 10px; border-top: 1px solid rgba(228, 180, 70, .25); color: var(--gold); font-size: 15.5px; font-weight: 700; line-height: 1.7; }

/* Page close */
.bm-close { position: relative; overflow: hidden; isolation: isolate; padding: 58px 0 36px; border-top: 1px solid #DCCFBE; background: var(--cream); }
.bm-close::before { content: "★"; position: absolute; top: 45%; left: -72px; z-index: 2; color: var(--gold); opacity: .12; font-size: 320px; line-height: 1; transform: translateY(-50%) rotate(-12deg); pointer-events: none; }
.bm-close .bm-wrap { position: relative; z-index: 1; }
.bm-close__main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 56px; align-items: center; padding: 38px 40px; border: 1px solid #E3D7C8; background: linear-gradient(108deg, rgba(255, 255, 255, .94) 0%, rgba(250, 248, 242, .96) 58%, rgba(247, 237, 216, .78) 100%); box-shadow: 0 14px 34px rgba(58, 43, 27, .07); }
.bm-close__main > *, .bm-signature { position: relative; z-index: 3; }
.bm-close .bm-kicker { color: var(--ink); }
.bm-close h2 { margin: 0; color: var(--ink); font-size: clamp(38px, 4.1vw, 52px); line-height: 1.04; }
.bm-close h2 span { display: block; }
.bm-close .accent { color: var(--bronze); }
.bm-close__copy p { max-width: 520px; margin-bottom: 22px; font-size: 15.5px; line-height: 1.65; }
.bm-close__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 285px; }
.bm-close__actions .bm-button { display: flex; justify-content: space-between; width: 100%; min-height: 48px; text-align: left; }
.bm-button--secondary { border-color: rgba(17, 17, 17, .48); background: transparent; }
.bm .bm-signature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; width: 100%; margin-top: 46px; padding: 23px 0 0; border-top: 1px solid rgba(145, 99, 66, .22); font-size: 14px; font-weight: 700; line-height: 1.4; }
.bm-signature > span { display: inline-flex; align-items: center; white-space: nowrap; }
.bm-signature > span:nth-child(1) { justify-self: start; }
.bm-signature > span:nth-child(2) { justify-self: center; }
.bm-signature > span:nth-child(3) { justify-self: end; }
.bm-signature__star { margin-right: 9px; color: var(--gold); font-size: .9em; font-weight: 800; line-height: 1; }

/* Shared preview helpers */
/* Video: the live page embeds youtube-nocookie.com/embed/LslL1Y8rOAY (title "Tarek El Moussa on Broker Agent Advisor").
   The preview links to the same video instead of embedding it (no third-party player loaded). */
.bm-video-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 20px; box-sizing: border-box; color: #FAF8F2; text-align: center; text-decoration: none; }
.bm-video-link__play { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: 22px; transition: background .2s; }
.bm-video-link__title { font: 500 22px/1.2 var(--font-display); }
.bm-video-link__note { max-width: 340px; color: #d9cfbd; font-size: 12px; line-height: 1.5; }
.bm-video-link:hover .bm-video-link__play, .bm-video-link:focus-visible .bm-video-link__play { background: rgba(228, 180, 70, .16); }
.bm-video-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.pending-inline { max-width: 80%; margin: 0 !important; color: #d9cfbd; font-size: 13px; line-height: 1.5; text-align: center; }

@media (max-width: 980px) {
  .bm-wrap { width: calc(100% - 40px); }
  .bm-hero__layout { grid-template-columns: minmax(0, .96fr) minmax(350px, 1.04fr); gap: 30px; }
  .bm h1 { font-size: clamp(40px, 5vw, 52px); }
  .bm-hero__image { max-width: 500px; }
  .bm-proof__item { padding-left: 19px; padding-right: 19px; }
  .bm-proof__item strong { font-size: 12.5px; }
  .bm-proof__item span { font-size: 11.5px; }
  .bm-editorial__row { grid-template-columns: 190px minmax(0, 540px); gap: 36px; }
  .bm-editorial__row > img { width: 190px; }
  .bm-stories__grid { gap: 16px; }
  .bm-stories__column::before { width: min(82%, 220px); }
  .bm-post__title { font-size: 18px; }
  .bm-post--lead .bm-post__title { font-size: 27px; }
  .bm-testimonial__grid { gap: 36px; }
  .bm-close__main { gap: 34px; }
  .bm-signature { font-size: 12px; }
}
@media (max-width: 800px) {
  .bm-editorial { padding: 38px 0 64px; }
  .bm-editorial h2 { font-size: clamp(34px, 9vw, 44px); }
  .bm-stories h2, .bm-testimonial h2 { font-size: clamp(34px, 8.5vw, 42px); }
  .bm-close__main { padding: 28px 26px; gap: 24px; }
  .bm-close h2 { font-size: clamp(36px, 9vw, 46px); }
  .bm-close__actions { max-width: none; }
}
@media (max-width: 760px) {
  .bm-wrap { width: calc(100% - 36px); }
  .bm-hero { padding: 34px 0 0; }
  .bm-hero::before { top: 7%; right: -90px; opacity: .04; font-size: 260px; }
  .bm-hero::after { display: none; }
  .bm-hero__layout, .bm-editorial__row, .bm-stories__grid, .bm-testimonial__grid, .bm-close__main { grid-template-columns: 1fr; }
  .bm-hero__layout { gap: 26px; padding-bottom: 30px; }
  .bm h1 { font-size: clamp(38px, 8.7vw, 54px); line-height: 1.03; }
  .bm-hero__copy > p:last-child { max-width: 100%; font-size: 16px; line-height: 1.62; }
  .bm-proof { width: min(100%, 450px); padding: 22px 0 25px; }
  .bm-proof::before, .bm-proof::after { width: min(100%, 360px); }
  .bm-proof__grid { grid-template-columns: 1fr; }
  .bm-proof__item { width: min(100%, 345px); margin: 0 auto; padding: 16px 10px; }
  .bm-proof__item:first-child { padding-top: 4px; }
  .bm-proof__item:last-child { padding-bottom: 4px; }
  .bm-proof__item + .bm-proof__item { border-top: 1px solid rgba(228, 180, 70, .24); border-left: 0; }
  .bm-proof__item strong { margin-bottom: 5px; font-size: 13px; }
  .bm-proof__item span { max-width: 300px; font-size: 12px; line-height: 1.45; }
  .bm-editorial__row { gap: 26px; }
  .bm-editorial__row > img { width: 185px; }
  .bm-editorial__break { display: none; }
  .bm-stories { padding: 52px 0 56px; }
  .bm-stories::before { right: -95px; font-size: 220px; }
  .bm-stories__head { margin-bottom: 25px; }
  .bm-stories__grid { gap: 28px; }
  .bm-stories__column { padding-top: 17px; }
  .bm-stories__column::before { width: min(74%, 260px); }
  .bm-post__title { font-size: 22px; }
  .bm-post--lead .bm-post__title { font-size: 30px; }
  .bm-post__image { aspect-ratio: 16 / 9; }
  .bm-testimonial { padding: 54px 0; }
  .bm-testimonial::before { right: -105px; font-size: 230px; }
  .bm-testimonial__grid { gap: 28px; }
  .bm-close { padding: 52px 0 30px; }
  .bm-close__actions .bm-button { flex: 1 1 100%; }
  .bm .bm-signature { grid-template-columns: 1fr; gap: 9px; margin-top: 40px; font-size: 12px; text-align: center; }
  .bm-signature > span, .bm-signature > span:nth-child(1), .bm-signature > span:nth-child(2), .bm-signature > span:nth-child(3) { justify-self: center; }
}
@media (max-width: 480px) {
  .bm-wrap { width: calc(100% - 30px); }
  .bm h1 { font-size: clamp(34px, 9.3vw, 44px); }
  .bm-proof__item strong { font-size: 12.5px; }
  .bm-proof__item span { font-size: 11.5px; }
  .bm-editorial__row > img { width: 170px; }
  .bm-stories__column::before { width: min(78%, 245px); }
  .bm-close::before { left: -110px; font-size: 250px; }
  .bm-close__main { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .bm-button, .bm-button__arrow { transition: none; } }
