/* ==========================================================================
   Investicii.mk: design system v5
   Clean white news page, black type, pari-green accent (#7CB35A), minimal lines.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --text: #111111;
  --prose: #222222;          /* article body text */
  --hair: #E8E8E8;          /* the only light line, used sparingly */
  --pari: #7CB35A;          /* brand green (pari.com.mk): fills, bars, large marks */
  --pari-dark: #6A9E4A;
  --green: #4C8A2B;         /* same hue, darker: small text on white */
  --up: #3F8A2A;
  --down: #C8102E;
  --radius: 4px;
  --container: 1120px;
  --gutter: 16px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0F0F; --ink: #FFFFFF; --text: #EDEDED; --prose: #E4E4E4; --hair: #2A2C2C;
    --green: #9CCB7C; --up: #8CC46A; --down: #FF5A67; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0F0F; --ink: #FFFFFF; --text: #EDEDED; --prose: #E4E4E4; --hair: #2A2C2C;
  --green: #9CCB7C; --up: #8CC46A; --down: #FF5A67; color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.up { color: var(--up); } .down { color: var(--down); }

/* ---------- Utility line ---------- */
.utility { font-size: 12px; color: var(--text); }
.utility .container { display: flex; align-items: center; gap: 18px; height: 32px; }
.utility__status { display: inline-flex; align-items: center; gap: 6px; }
.utility__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--down); }
.utility__status.is-open .dot { background: var(--up); }
.utility__clocks { font-variant-numeric: tabular-nums; }
.utility__spacer { flex: 1; }
.utility a:hover, .theme-toggle:hover { color: var(--green); }
.theme-toggle { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: inherit; font-size: 12px; padding: 0; }
.theme-toggle svg { width: 12px; height: 12px; }
@media (max-width: 720px) { .utility__clocks, .utility__date { display: none; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: 0 1px 0 var(--hair); }
.header .container { display: flex; align-items: center; gap: 40px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; border-radius: var(--radius); background: var(--pari); display: grid; place-items: center; }
.logo__mark svg { width: 18px; height: 18px; }
.logo__mark path { stroke: #fff; }
.logo__word { font-weight: 900; font-size: 23px; letter-spacing: -.03em; line-height: 1; }
.logo__tld { color: var(--green); }
.nav { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav a { position: relative; display: block; padding: 8px 10px; font-weight: 500; font-size: 15px; color: var(--ink); transition: color .15s; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); font-weight: 700; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 0; background: none; color: var(--ink); transition: color .15s; }
.icon-btn:hover { color: var(--green); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header.is-open .nav { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 62px; background: var(--bg); box-shadow: 0 1px 0 var(--hair); padding: 8px var(--gutter) 16px; }
  .header.is-open .nav a { padding: 10px 0; font-size: 16px; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--bg); box-shadow: 0 1px 0 var(--hair); overflow: hidden; position: relative; }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__item { display: flex; align-items: baseline; gap: 7px; padding: 9px 22px 9px 0; margin-left: 22px; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticker__sym { font-weight: 700; color: var(--ink); }
.ticker__chg { font-weight: 700; }
.ticker__badge { position: absolute; right: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 12px 0 32px; background: linear-gradient(90deg, transparent, var(--bg) 35%); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- Common ---------- */
.section { padding: 36px 0 4px; }
.sec-h { margin: 0 0 20px; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--ink); }
.sec-h::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 8px; background: var(--pari); }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--text); }
.meta span + span::before { content: "·"; margin-right: 8px; }
.thumb { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; background: var(--bg); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hair), inset 0 -3px 0 var(--pari); pointer-events: none; }

/* Brand corner tab on every photo: flush top-left, with concave "notch" flares */
.img-brand { --r: 10px; position: absolute; z-index: 2; top: 0; left: 0; display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--pari); border-bottom-right-radius: var(--r); color: #000; line-height: 1; pointer-events: none; }
.img-brand::before, .img-brand::after { content: ""; position: absolute; width: var(--r); height: var(--r); background: radial-gradient(circle at 100% 100%, transparent calc(var(--r) - .5px), var(--pari) var(--r)); }
.img-brand::before { left: 100%; top: 0; }
.img-brand::after { top: 100%; left: 0; }
.img-brand i { display: block; width: 20px; height: 20px; background: url(/assets/img/mark.svg) center / 17px no-repeat; }
.img-brand--full { --r: 14px; padding: 9px 16px 9px 12px; }
.img-brand--full i { width: 22px; height: 22px; background-size: 20px; }
.img-brand--full span { font-weight: 900; font-size: 16px; letter-spacing: -.03em; }
.img-brand--full b { color: #fff; font-weight: 900; }
.list-item .img-brand { --r: 7px; padding: 3px; }
.list-item .img-brand i { width: 15px; height: 15px; background-size: 13px; }
@media (max-width: 700px) { .img-brand--full { --r: 11px; padding: 7px 12px 7px 9px; } .img-brand--full span { font-size: 14px; } }
.cover-fig { margin: 0; }
.cat-h { font-size: 32px; }
.cat-desc { margin: -6px 0 26px; font-size: 16px; }
.empty { padding: 28px 0; font-size: 16px; }
.empty a { color: var(--green); text-decoration: underline; }
.figcap a { text-decoration: underline; }
.quotes__src { margin: 8px 0 0; font-size: 11.5px; }
a:hover .thumb img { transform: scale(1.03); }
.t-hover { transition: color .15s; }
a:hover .t-hover { color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 20px; border-radius: var(--radius); font-weight: 700; font-size: 14px; border: 0; white-space: nowrap; transition: background .15s; }
.btn--accent { background: var(--pari); color: #000; }
.btn--accent:hover { background: var(--pari-dark); }

/* ---------- Top news block ---------- */
.top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) 270px; gap: 26px; }
.lead-story { position: relative; display: block; min-height: 500px; height: 100%; overflow: hidden; border-radius: var(--radius); background: #000; color: #fff; }
.lead-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.lead-story:hover img { transform: scale(1.03); }
.lead-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.7) 38%, rgba(0,0,0,0) 72%); }
.lead-story__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px; }
.lead-story .kicker { background: var(--pari); color: #000; padding: 4px 8px; border-radius: 3px; }
.lead-story h2 { margin: 8px 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; font-weight: 900; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.lead-story:hover h2 { text-decoration: underline; text-decoration-color: var(--pari); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lead-story p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: #fff; max-width: 60ch; }
.lead-story .meta { color: #fff; }
@media (max-width: 700px) { .lead-story { min-height: 440px; } .lead-story__body { padding: 20px; } .lead-story p { display: none; } }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.list-item { display: grid; grid-template-columns: 100px 1fr; gap: 14px; }
.list-item .thumb { aspect-ratio: 4 / 3; }
.list-item h3 { margin: 2px 0 4px; font-size: 15.5px; line-height: 1.3; font-weight: 700; color: var(--ink); }

.side { display: flex; flex-direction: column; gap: 28px; }
.sb-slot { display: flex; flex-direction: column; gap: 4px; }
.sb-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sb-frame { width: 100%; aspect-ratio: 300 / 250; display: grid; place-content: center; text-align: center; gap: 2px; border: 1px dashed #B5B5B5; border-radius: var(--radius); font-size: 14px; }
.sb-frame small { font-size: 12px; }
.box-h { margin: 0 0 10px; font-size: 17px; font-weight: 900; letter-spacing: -.01em; color: var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.box-h small { font-weight: 400; font-size: 11px; }
.quotes { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.quotes td { padding: 6px 0; }
.quotes td:first-child { font-weight: 700; color: var(--ink); }
.quotes td:nth-child(2) { text-align: right; padding-right: 12px; }
.quotes td:last-child { text-align: right; width: 64px; }
.chg { font-weight: 700; }
.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; gap: 12px; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; font-size: 14.5px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.ranked li::before { content: counter(r); font-weight: 900; color: var(--pari); font-size: 20px; line-height: 1; }
.ranked a { transition: color .15s; }
.ranked a:hover { color: var(--green); }
@media (max-width: 1060px) { .top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .top, .side { grid-template-columns: 1fr; display: grid; } .list-item { grid-template-columns: 100px 1fr; } }

/* ---------- Card grid ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.card { display: flex; flex-direction: column; gap: 6px; }
.card .thumb { margin-bottom: 6px; }
.card h3 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.card p { margin: 0; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }

/* ---------- Education steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps > li { display: flex; }
.step { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.step__n { font-size: 34px; font-weight: 900; line-height: 1; color: var(--pari); }
.step h3 { margin: 4px 0 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); transition: color .15s; }
.step:hover h3 { color: var(--green); }
.step p { margin: 0; font-size: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { margin-top: 44px; background: var(--pari); color: #000; border-radius: var(--radius); padding: 26px 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.newsletter h2 { margin: 0; font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.newsletter p { margin: 3px 0 0; font-size: 15px; }
.newsletter > div:first-child { flex: 1 1 300px; }
.nl-form { display: flex; gap: 8px; flex: 1 1 380px; }
.nl-form input { flex: 1; min-width: 0; height: 42px; border: 0; border-radius: var(--radius); background: #fff; color: #000; padding: 0 14px; font: inherit; font-size: 14.5px; }
.nl-form input::placeholder { color: #555; }
.nl-form input:focus { outline: 2px solid #000; outline-offset: 0; }
.newsletter .btn--accent { background: #000; color: #fff; height: 42px; }
.newsletter .btn--accent:hover { background: #222; }
.nl-done { margin: 0; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { margin-top: 56px; background: #0E0F0F; color: #fff; padding: 40px 0 24px; font-size: 14px; }
.footer .logo { color: #fff; }
.footer .logo__mark { background: var(--pari); }
.footer .logo__tld { color: var(--pari); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 24px; }
.footer h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--pari); }
.footer__about { margin: 12px 0 0; max-width: 38ch; }
.disclaimer { margin: 32px 0 0; font-size: 12.5px; line-height: 1.65; opacity: .85; }
.disclaimer a { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 12.5px; opacity: .85; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   Article
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--pari); z-index: 60; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 700px) 290px; gap: 60px; justify-content: space-between; padding-top: 28px; }
.crumbs { display: flex; gap: 6px; align-items: center; font-size: 13px; margin-bottom: 14px; }
.crumbs a:hover { color: var(--green); }
.article-title { margin: 8px 0 14px; font-size: clamp(28px, 3.8vw, 42px); line-height: 1.12; font-weight: 900; letter-spacing: -.025em; color: var(--ink); }
.article-dek { margin: 0 0 20px; font-size: 19px; line-height: 1.5; }
.byline { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.byline__name { font-weight: 700; color: var(--ink); font-size: 14px; }
.share { margin-left: auto; display: flex; gap: 2px; }
.article-cover { margin: 0 0 8px; aspect-ratio: 2 / 1; }
.figcap { font-size: 13px; margin: 0 0 28px; }

/* Article body text: matched to pari.com.mk: Open Sans 16/25.6, #222, 26px paragraph rhythm */
.prose { font-family: "Open Sans", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--prose); }
.prose > * + * { margin-top: 26px; }
.prose p { margin-bottom: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: "Open Sans", Arial, sans-serif; font-size: 21px; line-height: 1.35; font-weight: 700; letter-spacing: 0; color: var(--prose); margin: 38px 0 0; scroll-margin-top: 80px; }
.prose h2 + * { margin-top: 12px; }
.prose a { color: var(--pari); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--prose); font-weight: 700; }
.prose ul { padding-left: 1.3em; margin-bottom: 0; } .prose li + li { margin-top: 8px; } .prose li::marker { color: var(--pari); }
.hl { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--pari); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.keypoints { border-left: 4px solid var(--pari); padding: 2px 0 2px 20px; font-size: 16px; }
.keypoints h2 { margin: 0 0 6px !important; font-size: 14px !important; font-weight: 900 !important; letter-spacing: .04em !important; text-transform: uppercase; color: var(--green) !important; }
.keypoints ul { margin: 0; padding-left: 1.1em; }
.keypoints li { line-height: 1.6; }
.pullquote { margin: 34px 0 !important; font-family: var(--font); font-size: 24px; line-height: 1.3; font-weight: 900; letter-spacing: -.02em; color: var(--green); }
.callout { font-size: 16px; line-height: 1.6; border-left: 4px solid var(--ink); padding: 2px 0 2px 20px; }
.callout__title { display: flex; align-items: center; gap: 6px; font-weight: 900; color: var(--ink); margin-bottom: 2px; font-size: 14px; }
.callout__title svg { width: 16px; height: 16px; }

.figure { margin: 1.8em 0 !important; }
.figure__title { font-weight: 900; font-size: 18px; color: var(--ink); margin: 0 0 2px; }
.figure__sub { font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; margin-bottom: 6px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 16px; height: 3px; display: inline-block; }
.figure figcaption { font-size: 12.5px; line-height: 1.5; margin-top: 8px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--hair); stroke-width: 1; }
.chart .axis { fill: var(--text); font: 400 11.5px var(--font); }
.chart path { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.chart .s-10 { stroke: var(--ink); stroke-width: 3; } .chart .s-10-dot, .chart .s-10-t { fill: var(--ink); }
.chart .s-7 { stroke: var(--pari); stroke-width: 3.2; } .chart .s-7-dot, .chart .s-7-t { fill: var(--green); }
.chart .s-4 { stroke: var(--ink); stroke-width: 1.4; } .chart .s-4-dot, .chart .s-4-t { fill: var(--ink); }
.chart .s-contrib { stroke: var(--ink); stroke-dasharray: 2 4; stroke-width: 1.4; } .chart .s-contrib-t { fill: var(--ink); }
.chart .end-label { font: 700 12.5px var(--font); }

.table-wrap { overflow-x: auto; margin: 1.6em 0 !important; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 10px 14px 10px 0; text-align: left; border-bottom: 1px solid var(--hair); vertical-align: top; }
.table-wrap thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 900; color: var(--ink); border-bottom: 2px solid var(--ink); }
.table-wrap tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap tr.is-focus th:first-child { color: var(--green); }

.disclosure { margin-top: 34px !important; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 13.5px; line-height: 1.6; }
.disclosure strong { color: var(--ink); font-style: normal; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.tags a { font-size: 13.5px; font-weight: 700; color: var(--green) !important; text-decoration: none !important; }
.tags a::before { content: "#"; }
.tags a:hover { text-decoration: underline !important; }

.article-side { display: flex; flex-direction: column; gap: 28px; }
.toc { position: sticky; top: 80px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.toc ol a { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; transition: color .15s; }
.toc ol a:hover { color: var(--green); }
.toc ol a.is-active { color: var(--green); font-weight: 700; }
.side-nl { padding: 20px; border-radius: var(--radius); background: var(--pari); color: #000; font-size: 14px; }
.side-nl strong { display: block; font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.side-nl p { margin: 0 0 14px; }
.side-nl .btn--accent { background: #000; color: #fff; }
@media (max-width: 1040px) { .article-wrap { grid-template-columns: 1fr; } .article-side { display: none; } }

/* ---------- Simple page ---------- */
.page { max-width: 740px; padding: 28px 0 0; margin: 0 auto; }
.page h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin: 8px 0 16px; }
.page .prose { font-size: 16px; }

/* ---------- Stock analyses: red $TICKER tags ---------- */
:root { --tick: #D62828; }
.tag-wrap { position: relative; }
.tick-tags { position: absolute; z-index: 3; top: 8px; right: 8px; display: flex; gap: 4px; }
.tick-tag { display: inline-block; background: var(--tick); color: #fff; font: 800 13px/1 var(--font); letter-spacing: .02em; padding: 6px 8px; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: background .15s; }
.tick-tag:hover { background: #A81D1D; }
.tw-list .tick-tags { top: 4px; right: auto; left: 96px; transform: translateX(-100%); }
.tw-list .tick-tag { font-size: 10px; padding: 3px 5px; }
.lead-wrap { height: 100%; }
.lead-wrap .tick-tags, .article-cover .tick-tags { top: 16px; right: 16px; }
.lead-wrap .tick-tag, .article-cover .tick-tag { font-size: 16px; padding: 8px 12px; }
.tick-chip { display: inline-block; margin-left: 8px; background: var(--tick); color: #fff !important; font: 800 12px/1 var(--font); padding: 4px 7px; border-radius: 4px; vertical-align: 1px; }
.tick-chip--lg { font-size: 22px; padding: 6px 10px; margin: 0 6px 0 0; vertical-align: 3px; }
.quote-box { border: 2px solid var(--tick); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 26px; }
.quote-box__sym { font-weight: 900; font-size: 18px; color: var(--tick); }
.quote-box__sym small { color: var(--text); font-weight: 500; font-size: 13px; }
.quote-box__px { font-size: 26px; font-weight: 900; margin-top: 4px; font-variant-numeric: tabular-nums; color: var(--ink); }
.quote-box__px .chg { font-size: 15px; }
.quote-box__eur { font-size: 14px; }
.quote-box__note { font-size: 11.5px; margin-top: 6px; }
.ticker-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ticker-head .quote-box { min-width: 270px; }
.disclosure .todo { background: #FFF3B0; color: #000; padding: 0 4px; font-weight: 700; }

/* ---------- TradingView slots + cookie banner ---------- */
.ticker { min-height: 46px; }
.tv-slot { position: relative; min-height: 46px; }
.tv-tape { min-height: 46px; }
/* Ticker tape in fixed "regular" mode is always one line (58px): trim its empty padding everywhere for a thin bar */
.ticker, .tv-tape { min-height: 0; height: 40px; overflow: hidden; }
.tv-tape iframe { margin-top: -5px; }
.tv-tape .tv-consent-btn { height: 26px; font-size: 12px; }
.tv-quotes { min-height: 340px; }
.tv-mini { min-height: 200px; margin-top: 8px; }
.tv-consent-btn { position: absolute; inset: 0; margin: auto; height: 32px; width: max-content; padding: 0 14px; border: 1px dashed #B5B5B5; border-radius: var(--radius); background: var(--bg); color: var(--text); font: 500 13px var(--font); cursor: pointer; }
.tv-consent-btn:hover { border-color: var(--pari); color: var(--green); }
.quotes__src a, .quote-box__note a { text-decoration: underline; }
.btn--plain { background: transparent; color: var(--text); border: 1px solid #C9C9C9; }
.btn--plain:hover { border-color: var(--ink); }
.cookie-banner { position: fixed; z-index: 100; left: 16px; bottom: 16px; max-width: 340px; padding: 14px 16px; border-radius: 8px; background: var(--bg); color: var(--text); box-shadow: 0 6px 28px rgba(0,0,0,.18); border: 1px solid var(--hair); font-size: 13.5px; line-height: 1.45; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 10px; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner__btns { display: flex; gap: 8px; }
.cookie-banner .btn { height: 34px; padding: 0 14px; font-size: 13px; }
@media (max-width: 520px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; } }

/* ---------- Ads ---------- */
.sb-house { color: var(--text); text-decoration: none; transition: border-color .15s; }
.sb-house:hover { border-color: var(--pari); }
.sb-house strong { color: var(--green); }
.sb-creative { display: block; }
.sb-creative img { display: block; width: 100%; height: auto; }
.sb-top { padding-top: 14px; text-align: center; }
.sb-top[hidden] { display: none; }
.sb-top .sb-label { display: block; text-align: left; max-width: 970px; margin: 0 auto 4px; }
.sb-creative--wide { max-width: 970px; margin: 0 auto; }
.sb-creative--mobile { display: none; max-width: 320px; margin: 0 auto; }
@media (max-width: 760px) { .sb-creative--wide { display: none; } .sb-creative--mobile { display: block; } }
/* takeover: branded background left and right of the content, clickable */
body.has-takeover { background: var(--skin-color) var(--skin-image, none) center top / cover fixed no-repeat; }
body.has-takeover main, body.has-takeover .header, body.has-takeover .utility, body.has-takeover .ticker, body.has-takeover .sb-top { background-color: var(--bg); }
body.has-takeover main, body.has-takeover .sb-top { max-width: 1120px; margin-left: auto; margin-right: auto; }
.skin-link { position: fixed; top: 0; bottom: 0; width: calc((100vw - 1120px) / 2); z-index: 1; }
.skin-link--left { left: 0; } .skin-link--right { right: 0; }
@media (max-width: 1220px) { body.has-takeover { background: var(--bg); } .skin-link { display: none; } }

/* ---------- Advertising page ---------- */
.page--wide { max-width: 1100px; }
.lead-p { font-size: 18px; line-height: 1.55; margin: 0 0 30px; max-width: 760px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 14px; }
.price-card { position: relative; border: 1px solid var(--hair); border-radius: 8px; padding: 20px; }
.price-card--top { border: 2px solid var(--pari); }
.price-card__badge { position: absolute; top: -11px; left: 16px; background: var(--pari); color: #000; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.price-card h3 { margin: 0 0 4px; font-size: 18px; font-weight: 900; color: var(--ink); }
.price-card__size { margin: 0 0 14px; font-size: 13px; }
.price-card__price { margin: 0; font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.price-card__price span { font-size: 13px; font-weight: 500; color: var(--text); }
.price-card__alt { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--green); }
.price-card ul { margin: 14px 0 0; padding-left: 1.1em; font-size: 14px; line-height: 1.5; }
.price-card li + li { margin-top: 4px; }
.price-note { font-size: 14px; margin: 0 0 34px; }
.ad-contact { margin-top: 36px; padding: 26px 28px; border-radius: 8px; background: var(--pari); color: #000; }
.ad-contact h2 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.ad-contact p { margin: 0 0 16px; }
.ad-contact .btn--accent { background: #000; color: #fff; }
@media (max-width: 960px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .price-grid { grid-template-columns: 1fr; } }
.page--wide .sec-h { margin-top: 38px; } .page--wide .price-grid + .price-note + .sec-h { margin-top: 0; }
/* Lead story keeps its own proportions; the sidebar (ads, market widget) no longer stretches it */
@media (min-width: 1061px) {
  .top { align-items: start; }
  .lead-wrap { height: auto; }
  .lead-story { height: 640px; min-height: 0; }
}
/* Homepage: second highlighted article on top of the middle column (≈ a third of the main story's height) */
.top-mid { display: flex; flex-direction: column; gap: 20px; }
.lead-story--second { height: 220px; min-height: 0; }
.lead-story--second .lead-story__body { padding: 16px 18px; }
.lead-story--second h2 { font-size: 19px; line-height: 1.2; margin: 6px 0 0; }
.lead-story--second .kicker { font-size: 10.5px; padding: 3px 6px; }
.lead-story--second::after { background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.05) 100%); }
.lead-wrap--second { height: auto; }
.lead-wrap--second .tick-tags { top: 10px; right: 10px; }
.lead-wrap--second .tick-tag { font-size: 12px; padding: 5px 7px; }
.top-mid .list { gap: 16px; }
@media (max-width: 700px) { .lead-story--second { height: 240px; } }

/* House promo for the empty ad position: green surface + white "sticky note" */
.sb-frame.sb-house { border: 0; }
.sb-house { display: grid; place-items: center; width: 100%; aspect-ratio: 300 / 250; padding: 22px; border-radius: 12px; text-decoration: none;
  background: radial-gradient(120% 90% at 25% 15%, #9ccd7d 0%, #7CB35A 48%, #67993f 100%); }
.sb-note { display: block; width: 100%; padding: 16px 18px 18px; border-radius: 12px; background: #fff; color: #000;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 34px -14px rgba(0,0,0,.45); transform: rotate(-2.5deg); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.sb-house:hover .sb-note { transform: rotate(0deg) translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 24px 40px -14px rgba(0,0,0,.5); }
.sb-note__eyebrow { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #4C8A2B; }
.sb-note__title { display: block; margin: 6px 0 8px; font-size: 23px; font-weight: 900; line-height: 1.05; letter-spacing: -.03em; color: #000; }
.sb-note__meta { display: block; font-size: 11.5px; line-height: 1.4; color: #333; }
.sb-note__cta { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #000; color: #fff; font-size: 12.5px; font-weight: 700; }
