/* news-article.css - public News article "story" page (/news/ReadNews/{category}/{id}/{slug}).
   Loads after redesign-core.css + profile-header-footer.css + vip-news.css, which already provide
   :root tokens, header/footer, .btn, .reveal, .card/.cards, .side-block, .top-list, .newsletter-card,
   .ad-slot, .ad-banner/.ticket-banner and dark theme. Only story-specific rules live here.
   Adapted from redesign/vip-news-article.html. */

.article-page .page { align-items: start; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .82rem; font-weight: 600; color: var(--muted-2); margin: 0 0 20px; }
.crumbs a { color: var(--muted); transition: color .15s; }
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { color: var(--muted-2); }
.crumbs .here { color: var(--ink-2); max-width: 40ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Story card ---------- */
.story { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 28px; }
.story-hero { position: relative; min-height: 340px; background: var(--bg-soft) center/cover no-repeat; }
.story-hero .ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-soft), var(--bg-tint) 55%, var(--bg-soft)); }
.story-hero .ph::after { content: ""; position: absolute; right: -120px; top: -160px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,102,0,.20), rgba(255,102,0,0) 68%); }
.story-hero .ph .material-icons { font-size: 88px; color: var(--orange); opacity: .5; position: relative; z-index: 1; }
.hero-cap { display: flex; align-items: center; gap: 8px; padding: 14px 48px 0; font-size: .76rem; color: var(--muted-2); font-weight: 600; }
.hero-cap .material-icons { font-size: 15px; color: var(--orange); }

.story-body { padding: 44px 48px 40px; }
.story .cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.story h1 { font-size: clamp(1.9rem,3.6vw,2.7rem); line-height: 1.07; font-weight: 900; letter-spacing: -.032em; margin-bottom: 18px; color: var(--ink); }
.story .standfirst { font-size: 1.13rem; line-height: 1.6; color: var(--ink-2); font-weight: 500; margin-bottom: 22px; max-width: 62ch; }

.story-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.story-meta .left { display: flex; align-items: center; gap: 12px; }
.story-meta .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); font-weight: 800; font-size: .8rem; letter-spacing: .02em; }
.story-meta .who b { display: block; font-size: .88rem; color: var(--ink); font-weight: 700; line-height: 1.2; }
.story-meta .who span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; margin-top: 2px; }
.story-meta .share { display: flex; gap: 9px; }
.story-meta .share a, .story-meta .share button { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--muted); transition: all .2s; }
.story-meta .share a:hover, .story-meta .share button:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.story-meta .share svg { width: 16px; height: 16px; fill: currentColor; }
[data-theme="dark"] .story-meta .share a, [data-theme="dark"] .story-meta .share button { background: var(--bg-soft); }

/* ---------- Story body prose (NyhedTekst real HTML, inline styles stripped server-side) ---------- */
.story-text { max-width: 680px; font-size: 1.03rem; line-height: 1.72; color: var(--ink-2); }
.story-text p { margin: 0 0 20px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text p:first-of-type::first-letter { float: left; font-size: 3.3em; line-height: .85; font-weight: 900; color: var(--orange); padding: 4px 10px 0 0; }
.story-text a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.story-text strong, .story-text b { color: var(--ink); }
.story-text h2, .story-text h3 { margin: 1.5em 0 .5em; color: var(--ink); }
.story-text ul, .story-text ol { margin: 0 0 20px; padding-left: 1.4em; }
.story-text li { margin-bottom: .4em; }
.story-text img { border-radius: 12px; margin: 1.2em 0; }
.story-text .pull { margin: 30px 0; padding: 22px 26px; border-left: 4px solid var(--orange); background: var(--bg-tint); border-radius: 0 14px 14px 0; font-size: 1.12rem; line-height: 1.55; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }

.story-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 0; }
.story-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: .78rem; font-weight: 700; }
.story-tags .material-icons { font-size: 14px; color: var(--orange); }

/* ---------- Share bar ---------- */
.share-bar { margin: 32px 0 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; }
.share-bar .sb-lbl { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); display: inline-flex; align-items: center; gap: 8px; }
.share-bar .sb-lbl .material-icons { font-size: 17px; }
.sb-btns { display: flex; gap: 9px; flex-wrap: wrap; }
.sb-btns a, .sb-btns button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--ink-2); font: 700 .8rem 'Inter',sans-serif; cursor: pointer; transition: all .2s; }
.sb-btns a:hover, .sb-btns button:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.sb-btns svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.sb-btns .material-icons { font-size: 16px; }
[data-theme="dark"] .sb-btns a, [data-theme="dark"] .sb-btns button { background: var(--bg-soft); }

/* ---------- Prev / next story ---------- */
.story-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.story-nav a { display: flex; flex-direction: column; gap: 6px; padding: 22px 28px; transition: background .2s; }
.story-nav a:hover { background: var(--bg-tint); }
.story-nav a:hover .lbl, .story-nav a:hover .ttl { color: var(--orange); }
.story-nav .next { text-align: right; border-left: 1px solid var(--line); align-items: flex-end; }
.story-nav .lbl { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.story-nav .lbl .material-icons { font-size: 15px; }
.story-nav .ttl { font-size: .94rem; font-weight: 700; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.story-nav a.disabled { pointer-events: none; opacity: .4; }

/* ---------- Platform bridge banner illustration (banner-visual variant) ---------- */
/* width:auto overrides vip-news.css's .ticket-banner .illus{width:212px} (that width is for the
   hub's mini-map illustration; here the illus hugs the compact icon+count visual instead). */
.ad-banner .illus { width: auto; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.banner-visual { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 13px 15px; box-shadow: var(--shadow-sm); }
.bv-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); display: grid; place-items: center; color: var(--orange); }
.bv-icon .material-icons { font-size: 22px; }
.bv-lines b { display: block; font-size: 1.05rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.bv-lines small { display: block; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; white-space: nowrap; }
[data-theme="dark"] .banner-visual { background: var(--bg-soft); }

/* ---------- Sidebar Top 10: mark the story currently being read ---------- */
.top-list li.current { margin: 0 -12px; padding: 13px 12px; background: var(--bg-tint); border-radius: 12px; border-bottom-color: transparent; }
.top-list li.current .t a { color: var(--orange); }
.top-list li.current .t a::after { content: " \00b7 Reading"; margin-left: 2px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width:1000px) {
    .story-body { padding: 34px 28px; }
    .story-hero { min-height: 240px; }
}
@media (max-width:760px) {
    .hero-cap { padding: 12px 22px 0; }
    .story h1 { font-size: 1.85rem; }
    .story-body { padding: 28px 22px; }
    .story-text p:first-of-type::first-letter { font-size: 2.8em; }
    .story-nav { grid-template-columns: 1fr; }
    .story-nav .next { border-left: none; border-top: 1px solid var(--line); text-align: left; align-items: flex-start; }
    .share-bar { padding: 18px 20px; }
}
