/* Marketing Journal · September 2026. Scoped frontend refresh. */
:root {
  --mj-bg: #f6f8fb; --mj-paper: #ffffff; --mj-ink: #102a43;
  --mj-muted: #516579; --mj-line: #dce4ec; --mj-blue: #194c85;
  --mj-wash: #edf3f8; --mj-radius: 18px;
}
html[data-theme="dark"] {
  --mj-bg: #0c1521; --mj-paper: #142232; --mj-ink: #eaf2fa;
  --mj-muted: #a9bed0; --mj-line: #2b4053; --mj-blue: #94c9ff; --mj-wash: #1c2d40;
}
html body { background: var(--mj-bg); color: var(--mj-ink); }
html[data-theme="dark"] body { background: var(--mj-bg); }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #3c99d9 !important; outline-offset: 4px;
}
.main-header, html[data-theme="dark"] .main-header { background: var(--mj-paper); box-shadow: none; border-bottom: 1px solid var(--mj-line); }
.main-header .main-menu { max-width: 1140px; margin: 0 auto; min-height: 84px; padding: 12px; justify-content: space-between; }
.main-menu__title { margin: 0; flex-shrink: 0; }
.main-menu__title img { max-width: 200px; max-height: 62px; width: auto; object-fit: contain; border-radius: 8px; }
.main-header .main-menu__nav { flex-grow: 0; }
.main-header .pkp_navigation_primary { gap: 12px; }
.main-header .pkp_navigation_primary > li > a, html[data-theme="dark"] .main-header .pkp_navigation_primary > li > a { font-size: 14px; letter-spacing: 0; color: var(--mj-ink); }
.top-bar { background: #0f2c49; }
.top-bar__content { min-height: 38px; }
.top-bar .top-bar__right { gap: 14px; }
.top-bar .top-bar__value { font-size: 12px; }
html .main__content { margin-top: 36px; }
html .main__title { font-family: 'Work Sans', sans-serif; font-weight: 700; letter-spacing: -.04em; }
.mj-eyebrow { font: 700 11px/1.5 'Work Sans', sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.mj-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 13px 20px; border: 1px solid var(--mj-line); border-radius: 9px; background: var(--mj-blue); color: var(--mj-paper); font: 700 14px/1.4 'Work Sans', sans-serif; text-decoration: none; transition: transform .18s, background .18s; }
.mj-button:hover { transform: translateY(-2px); color: var(--mj-paper); text-decoration: none; }
.mj-button span { font-size: 20px; line-height: 1; }
.mj-button--light, html[data-theme="dark"] .mj-button--light { background: #f1f7fb; color: #102f4c; border-color: #f1f7fb; }
.mj-button--light:hover { background: #dcecf7; color: #102f4c; }
.mj-button--outline, html[data-theme="dark"] .mj-button--outline { background: transparent; color: #edf5ff; border-color: #728ca3; }
.mj-button--outline:hover { background: #244665; color: white; }
.mj-text-link { font-size: 13px; font-weight: 700; color: var(--mj-blue); text-decoration: none; }
.mj-hero { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; padding: 54px 50px 42px; overflow: hidden; border-radius: 24px; background: #103352; color: white; min-height: 510px; margin-bottom: 44px; }
.mj-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 95% 10%, #1c62856b, transparent 60%), linear-gradient(125deg, #0d2944, transparent); }
.mj-hero__copy { z-index: 1; }
.mj-hero .mj-eyebrow { color: #b7d6ec; display: flex; gap: 10px; align-items: center; margin: 0 0 24px; }
.mj-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #92dfbf; box-shadow: 0 0 0 5px #92dfbf14; flex-shrink: 0; }
.mj-hero h1 { color: #fff; font: 700 clamp(36px, 4.2vw, 55px)/1.08 'Work Sans', sans-serif; letter-spacing: -.055em; white-space: pre-line; margin: 0 0 24px; max-width: 560px; }
.mj-hero__intro { color: #c4d6e5; font-size: 16px; line-height: 1.75; max-width: 480px; margin: 0 0 28px; }
.mj-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mj-hero__footnote { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; margin-top: 28px; border-top: 1px solid #ffffff24; color: #a9c3d8; font-size: 11px; }
.mj-hero__edition { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-bottom: 14px; }
.mj-hero__cover { position: relative; z-index: 1; display: block; width: 218px; transform: rotate(6deg); box-shadow: 12px 22px 35px #03172770; border-radius: 3px 10px 10px 3px; transition: transform .3s; }
.mj-hero__cover:hover { transform: rotate(2deg) translateY(-5px); }
.mj-hero__cover img { width: 100%; height: auto; aspect-ratio: 180/254; object-fit: contain; border-radius: inherit; }
.mj-orbit { position: absolute; width: 410px; height: 410px; top: -30px; border: 1px solid #8cbbd433; border-radius: 50%; transform: rotate(-24deg); }
.mj-orbit::before, .mj-orbit::after { content: ''; position: absolute; border: 1px solid #8cbbd425; border-radius: 50%; inset: 28px; }
.mj-orbit::after { inset: -30px; }
.mj-orbit i { position: absolute; width: 14px; height: 14px; background: #bde5d5; border-radius: 50%; top: 70px; left: 18px; }
.mj-orbit i:nth-child(2) { width: 9px; height: 9px; top: 320px; left: 360px; background: #e6c3a0; }
.mj-orbit i:nth-child(3) { width: 52px; height: 52px; left: auto; right: -10px; top: 28px; border: 1px solid #adcde1; background: transparent; }
.mj-hero__edition-label { position: relative; z-index: 2; background: #f3f8fc; color: #123451; padding: 14px 18px; border-radius: 10px; width: 260px; margin: -2px 0 -18px -24px; box-shadow: 0 12px 30px #06213b33; display: grid; grid-template-columns: 1fr auto; gap: 3px 16px; }
.mj-hero__edition-label > span { grid-column: 1/-1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #526c7d; }
.mj-hero__edition-label strong { font-size: 14px; }
.mj-hero__edition-label a { align-self: center; color: #154f7d; font-size: 11px; font-weight: 700; text-decoration: none; }
.mj-home .section-heading { padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--mj-line); }
.mj-home .section-heading__title { font-size: 23px; font-weight: 700; letter-spacing: -.035em; color: var(--mj-ink); }
.mj-home .section-heading__title a { color: inherit; }
.mj-home > section:not(.mj-hero) { margin-bottom: 48px; }
.mj-home .latest-articles__list { max-height: none !important; overflow: visible !important; padding: 0; box-shadow: none !important; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mj-home .latest-articles__list::before, .mj-home .latest-articles__list::after { display: none; }
.mj-home .latest-article--row, html[data-theme="dark"] .mj-home .latest-article--row { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; margin: 0; padding: 24px; background: var(--mj-paper); border: 1px solid var(--mj-line); box-shadow: none; border-radius: 14px; gap: 20px; }
.mj-home .latest-article__main, .mj-home .latest-article__side { width: 100%; min-width: 0; }
.mj-home .latest-article__title { font-size: 16px; line-height: 1.5; letter-spacing: -.015em; margin: 10px 0 0; }
.mj-home .latest-article__title a { color: var(--mj-ink); }
.mj-home .latest-article__date { font-size: 11px; color: var(--mj-muted); }
.mj-home .latest-article__side { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 15px; border-left: 0; border-top: 1px solid var(--mj-line); padding: 14px 0 0; }
.mj-home .latest-article__authors { color: var(--mj-muted); font-size: 12px; line-height: 1.5; text-align: left; }
.mj-home .latest-article__meta { flex-shrink: 0; }
.mj-home .hero, html[data-theme="dark"] .mj-home .hero { background: var(--mj-paper); border: 1px solid var(--mj-line); box-shadow: none; padding: 32px; gap: 32px; }
.mj-home .hero__media { min-height: 0; max-height: 300px; background: var(--mj-wash); }
.mj-home .hero__image { max-height: 300px; object-fit: cover; }
.mj-home .hero__title { color: var(--mj-ink); font-size: 28px; }
.mj-home .hero__eyebrow { letter-spacing: .12em; font-size: 10px; }
.mj-home .hero__summary { color: var(--mj-muted); font-size: 14px; line-height: 1.8; }
.mj-home .announcement-card, html[data-theme="dark"] .mj-home .announcement-card { background: var(--mj-paper); border: 1px solid var(--mj-line); box-shadow: none; border-radius: 14px; }
.mj-home .indexing__glass, html[data-theme="dark"] .mj-home .indexing__glass { background: #fff; box-shadow: none; border: 1px solid var(--mj-line); border-radius: 14px; padding: 22px; }
.mj-home .indexing__row { gap: 25px; }
.mj-archive__header { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 38px 40px; margin-bottom: 30px; border: 1px solid var(--mj-line); border-radius: 20px; background: var(--mj-paper); overflow: hidden; }
.mj-archive__header::after { content: ''; width: 300px; height: 300px; border: 1px solid var(--mj-line); border-radius: 50%; position: absolute; right: -150px; top: -70px; pointer-events: none; box-shadow: 0 0 0 28px var(--mj-wash); }
.mj-archive__header .mj-eyebrow { color: var(--mj-blue); margin: 0 0 14px; }
.mj-archive__header h1 { color: var(--mj-ink); font: 700 clamp(28px, 3.4vw, 43px)/1.15 'Work Sans', sans-serif; letter-spacing: -.045em; margin: 0 0 14px; }
.mj-archive__header p:not(.mj-eyebrow) { color: var(--mj-muted); font-size: 14px; line-height: 1.7; margin: 0; }
.mj-archive__total { z-index: 1; display: flex; flex-direction: column; align-items: center; min-width: 115px; padding: 0 10px; }
.mj-archive__total strong { font: 700 64px/1.1 'Work Sans', sans-serif; color: var(--mj-blue); letter-spacing: -.07em; }
.mj-archive__total span { color: var(--mj-muted); font-size: 12px; }
.mj-archive__tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.mj-year-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mj-year-filter { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--mj-line); border-radius: 9px; background: var(--mj-paper); color: var(--mj-muted); padding: 11px 14px; min-height: 44px; font-size: 13px; font-weight: 700; }
.mj-year-filter span { font-size: 10px; font-weight: 400; }
.mj-year-filter.is-active { background: #123d64; color: #fff; border-color: #123d64; }
html[data-theme="dark"] .mj-year-filter.is-active { background: #aacdeb; color: #102a43; border-color: #aacdeb; }
.mj-archive__search { display: flex; align-items: center; gap: 10px; flex: 0 1 380px; padding: 0 14px; border: 1px solid var(--mj-line); border-radius: 9px; background: var(--mj-paper); color: var(--mj-muted); }
.mj-archive__search input { min-width: 0; width: 100%; border: 0; border-radius: 0; padding: 12px 0; margin: 0; min-height: 44px; background: transparent; box-shadow: none; color: var(--mj-ink); font-size: 12px; }
.mj-archive__search input::placeholder { color: var(--mj-muted); opacity: 1; }
.mj-archive__search:focus-within { outline: 2px solid #3c99d9; outline-offset: 2px; }
.mj-archive__search input:focus-visible { outline: 0 !important; }
.mj-archive__search svg { flex-shrink: 0; }
.mj-archive__status { display: flex; justify-content: space-between; padding: 22px 0 0; color: var(--mj-muted); font-size: 12px; }
.mj-year-heading { display: flex; align-items: center; gap: 14px; padding: 24px 0 18px; }
.mj-year-heading::after { content: ''; height: 1px; flex: 1; background: var(--mj-line); }
.mj-year-heading h2 { font: 700 28px/1.2 'Work Sans', sans-serif; letter-spacing: -.04em; margin: 0; color: var(--mj-ink); }
.mj-year-heading > span { font-size: 11px; color: var(--mj-muted); }
.mj-archive__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.mj-archive__item { min-width: 0; display: flex; }
html body.page_issue.op_archive .mj-archive .archived-issue__card { border: 1px solid var(--mj-line); border-radius: 14px; background: var(--mj-paper); padding: 0; gap: 0; box-shadow: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
html body.page_issue.op_archive .mj-archive .archived-issue__card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px #12283c0d; }
.mj-archive .archived-issue__media { display: flex; align-items: center; justify-content: center; background: var(--mj-wash); border: 0; border-bottom: 1px solid var(--mj-line); border-radius: 0; padding: 22px 32px; box-shadow: none; min-height: 250px; }
html[data-theme="dark"] .mj-archive .archived-issue__media { background: var(--mj-wash); border-color: var(--mj-line); box-shadow: none; }
.mj-archive .archived-issue__cover { width: 100%; max-width: 154px; height: 216px; object-fit: contain; filter: drop-shadow(5px 8px 5px #061e3630); border-radius: 2px 5px 5px 2px; }
.mj-cover-arrow { position: absolute; right: 10px; bottom: 10px; width: 27px; height: 27px; border: 1px solid var(--mj-line); border-radius: 50%; background: var(--mj-paper); color: var(--mj-blue); display: grid; place-items: center; font-size: 17px; }
.mj-archive .archived-issue__info { padding: 17px 18px 20px; gap: 6px; }
.mj-archive .archived-issue__title { font: 700 16px/1.35 'Work Sans', sans-serif; letter-spacing: -.025em; }
.mj-archive .archived-issue__title a { color: var(--mj-ink); }
.mj-archive .archived-issue__series { font-size: 12px; font-weight: 400; color: var(--mj-muted); margin: 0; }
.mj-archive .archived-issue__date { font-size: 11px; color: var(--mj-muted); }
.mj-cover-fallback { min-height: 216px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: #163f6b; color: #fff; font-size: 22px; font-weight: 700; }
.mj-archive__empty { text-align: center; padding: 65px 20px; color: var(--mj-muted); }
.main-footer, html[data-theme="dark"] .main-footer { background: #102c46; color: #d2e0eb; border: 0; margin-top: 56px; padding: 0 0 28px; }
.mj-footer-top { display: flex; justify-content: space-between; gap: 40px; align-items: center; padding: 45px 0 35px; border-bottom: 1px solid #ffffff24; }
.mj-footer-top h2 { font: 700 28px/1.25 'Work Sans', sans-serif; color: white; letter-spacing: -.04em; margin: 12px 0; max-width: 600px; }
.mj-footer-top p { color: #b9cddd; font-size: 13px; margin: 0; line-height: 1.7; }
.mj-footer-top > a { flex-shrink: 0; }
.mj-footer-links { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 26px 0; font-size: 12px; }
.main-footer .mj-footer-links a { color: #e1edf6; text-decoration: none; }
.mj-footer-links > span { margin-left: auto; color: #b9cddd; }
.main-footer .main-footer__publisher { background: transparent; padding: 0; border: 0; box-shadow: none; color: #b9cddd; font-size: 11px; }
.main-footer .main-footer__publisher strong { color: #e1edf6; font-size: 12px; }
.main-footer .main-footer__publisher-label { color: #b9cddd; }
.main-footer .main-footer__block { padding-top: 8px; margin-top: 0; }
@media (min-width: 992px) { .main-header .main-menu__nav { margin-left: auto; } }
@media (max-width: 991px) {
  .mj-hero { padding: 38px 30px; gap: 26px; }
  .mj-hero h1 { font-size: 39px; }
  .mj-hero__cover { width: 185px; }
  .mj-hero__edition-label { width: 235px; }
  .mj-orbit { width: 330px; height: 330px; }
  .mj-archive__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .mj-archive .archived-issue__media { padding: 20px; min-height: 236px; }
  .main-header .main-menu__nav { background: var(--mj-paper); }
  .mj-archive__search { flex: 1 1 280px; }
}
@media (max-width: 767px) {
  .main-header .main-menu { min-height: 76px; padding: 10px 4px; }
  .main-menu__title img { max-width: 176px; max-height: 52px; }
  .top-bar .top-bar__contacts { display: none; }
  .top-bar .top-bar__right { width: 100%; justify-content: flex-end; gap: 15px; }
  .top-bar .top-bar__content { min-height: 40px; }
  html .main__content { margin-top: 20px; }
  .mj-hero { grid-template-columns: 1fr; padding: 30px 24px 35px; border-radius: 18px; gap: 42px; }
  .mj-hero h1 { font-size: 39px; line-height: 1.09; }
  .mj-hero .mj-eyebrow { font-size: 9px; letter-spacing: .09em; margin-bottom: 20px; }
  .mj-hero__intro { font-size: 14px; line-height: 1.7; }
  .mj-hero__actions { gap: 10px; }
  .mj-hero__actions a { font-size: 12px; gap: 12px; min-height: 45px; padding: 12px 14px; }
  .mj-hero__footnote { font-size: 10px; margin-top: 24px; padding-top: 18px; gap: 8px 16px; }
  .mj-hero__edition { padding-top: 6px; }
  .mj-hero__cover { width: 180px; }
  .mj-hero__edition-label { margin-left: 0; width: 250px; }
  .mj-orbit { top: -16px; width: 290px; height: 290px; }
  .mj-orbit i:nth-child(2) { top: 220px; left: 255px; }
  .mj-home .latest-articles__list { grid-template-columns: 1fr; }
  .mj-home .latest-article--row { padding: 20px; }
  .mj-home .section-heading__title { font-size: 21px; }
  .mj-home .section-heading { gap: 18px; align-items: baseline; }
  .mj-home .section-heading .mj-text-link { font-size: 11px; text-align: right; }
  .mj-home .hero { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .mj-home .hero__media { max-height: 240px; }
  .mj-archive__header { padding: 28px 24px; align-items: flex-start; gap: 12px; }
  .mj-archive__header h1 { font-size: 30px; max-width: 270px; }
  .mj-archive__header p:not(.mj-eyebrow) { font-size: 12px; }
  .mj-archive__header .mj-eyebrow { font-size: 9px; }
  .mj-archive__total { min-width: 38px; padding: 0; }
  .mj-archive__total strong { font-size: 39px; }
  .mj-archive__total span { font-size: 10px; }
  .mj-archive__header::after { display: none; }
  .mj-year-filters { gap: 6px; width: 100%; }
  .mj-year-filter { padding: 10px 12px; gap: 7px; font-size: 11px; flex: 1; justify-content: center; }
  .mj-archive__search { flex-basis: 100%; }
  .mj-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mj-archive .archived-issue__media { min-height: 192px; padding: 18px; }
  .mj-archive .archived-issue__cover { height: auto; aspect-ratio: 180/254; max-width: 125px; }
  .mj-archive .archived-issue__info { padding: 14px 12px 16px; }
  .mj-archive .archived-issue__title { font-size: 14px; }
  .mj-archive .archived-issue__series { font-size: 11px; }
  .mj-archive .archived-issue__date { font-size: 10px; }
  .mj-footer-top { flex-direction: column; gap: 22px; align-items: flex-start; padding: 32px 8px; }
  .mj-footer-top h2 { font-size: 25px; }
  .mj-footer-links { padding: 24px 8px; gap: 16px 24px; }
  .mj-footer-links > span { margin-left: 0; width: 100%; }
  .main-footer .main-footer__block { padding: 0 8px; }
}
@media (max-width: 359px) {
  .mj-hero { padding: 26px 18px; }
  .mj-hero h1 { font-size: 34px; }
  .mj-archive__header { padding: 24px 18px; }
  .mj-archive__header h1 { font-size: 27px; }
  .mj-archive__grid { gap: 10px; }
  .mj-archive .archived-issue__media { min-height: 165px; padding: 14px; }
  .mj-year-filter { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .mj-hero *, .mj-archive *, .mj-button { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
/* Keep numeric counters intact at narrow viewport widths. */
.mj-archive__total { flex-shrink: 0; }
.mj-archive__total strong, .mj-archive__total span, .mj-year-filter, .mj-year-filter span { white-space: nowrap; }
@media (max-width: 767px) {
  .mj-archive__total { min-width: 50px; }
  .mj-year-filter:first-child { flex: 1.65; }
}
@media (max-width: 359px) {
  .mj-year-filters { display: grid; grid-template-columns: 1fr 1fr; }
}
/* News uses the available width even when there are only two announcements. */
.mj-home .announcement-block .carousel { --items-per-view: 2; }
.mj-home .announcement-block .announcement-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; gap: 20px; padding: 20px; }
.mj-home .announcement-card__media { margin: 0; width: 100%; height: 100%; min-height: 175px; aspect-ratio: auto; border-radius: 9px; box-shadow: none; }
.mj-home .announcement-card__image { width: 100%; height: 100%; object-fit: cover; }
.mj-home .announcement-card__content { padding: 0; margin: 0; }
.mj-home .announcement-card__title { font-size: 16px; line-height: 1.4; margin: 0 0 12px; }
.mj-home .announcement-card__title a { color: var(--mj-ink); text-decoration: none; }
.mj-home .announcement-card__meta { font-size: 10px; letter-spacing: .05em; color: var(--mj-muted); }
.mj-home .announcement-card__desc { font-size: 13px; line-height: 1.65; color: var(--mj-muted); margin-top: 10px; }
@media (max-width: 991px) { .mj-home .announcement-block .announcement-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 16px; } }
@media (max-width: 640px) { .mj-home .announcement-block .carousel { --items-per-view: 1; } .mj-home .announcement-card__title { font-size: 14px; } .mj-home .announcement-card__desc { font-size: 12px; } }
.mj-home .latest-article__side { flex: 0 0 auto; max-width: none; align-self: stretch; }
.mj-home .latest-article__authors { display: block; flex: 1 1 0; min-width: 0; width: auto; overflow: visible; -webkit-line-clamp: unset; }
.mj-home .latest-article__meta { flex: 0 0 auto; width: auto; }
