/* Marathi Live News — public theme.
   Identity comes from the channel logo: sindoor red, studio navy, marigold.
   All classes are prefixed mln- so older page styles never collide. */
:root {
    --red: #c8102e;
    --navy: #0b2a5b;
    --gold: #ffc21a;
    --headline: #b00d23;
    --ink: #141a24;
    --muted: #5b6575;
    --paper: #f2f4f8;
    --card: #ffffff;
    --line: #e1e6ee;
    --ui-font: 'Anek Devanagari', 'Mukta', system-ui, sans-serif;
    --read-font: 'Mukta';
    --logo-scale: 1;
    --wrap: 1240px;
}

body.mln { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui-font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
:where(.mln) *, :where(.mln) *::before, :where(.mln) *::after { box-sizing: border-box; }
:where(.mln) img { max-width: 100%; display: block; }
:where(.mln) a { color: inherit; text-decoration: none; }
:where(.mln) button { font-family: inherit; cursor: pointer; }
.mln :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.mln-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.mln-skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 10px 16px; z-index: 10000; font-weight: 700; }
.mln-skip:focus { left: 8px; top: 8px; }
.mln-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gold); z-index: 9999; }
.mln-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255, 59, 59, .7); animation: mlnPulse 1.6s infinite; }
@keyframes mlnPulse { 70% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); } }

/* ---------- utility strip ---------- */
.mln-util { background: #071c3f; color: #c9d4e8; font-size: .82rem; }
.mln-util-in { display: flex; align-items: center; gap: 18px; min-height: 34px; }
.mln-util-clock { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.mln-util-social { margin-left: auto; display: flex; gap: 4px; }
.mln-util-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #c9d4e8; }
.mln-util-social a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- masthead: the logo is the stage ---------- */
.mln-mast { position: relative; overflow: hidden; background:
    radial-gradient(ellipse 60% 120% at 50% 110%, rgba(200, 16, 46, .55), transparent 62%),
    radial-gradient(ellipse 40% 90% at 50% 40%, rgba(255, 194, 26, .16), transparent 70%),
    linear-gradient(180deg, #0b2a5b, #071c3f);
    background-color: var(--navy); color: #fff; }
.mln-mast::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); opacity: .9; }
.mln-mast-in { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 22px; }
.mln-logo { grid-column: 2; position: relative; display: grid; place-items: center; }
.mln-logo-img { position: relative; display: block; height: min(calc(150px * var(--logo-scale)), 46vw); aspect-ratio: 1589 / 989; animation: mlnLogoIn .9s cubic-bezier(.2, 1.4, .4, 1) both, mlnLogoFloat 6s ease-in-out 1s infinite; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); will-change: transform; }
.mln-logo-img img { width: 100%; height: 100%; object-fit: contain; }
.mln-logo:hover .mln-logo-img { animation-play-state: paused; }
/* light sweep, clipped to the logo's own shape */
.mln-logo-shine { position: absolute; inset: 0; -webkit-mask: var(--logo-url) center / contain no-repeat; mask: var(--logo-url) center / contain no-repeat; overflow: hidden; pointer-events: none; }
.mln-logo-shine::before { content: ''; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 28%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); animation: mlnShine 5.5s ease-in-out 1.2s infinite; }
/* broadcast rings behind the logo */
.mln-logo-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.mln-logo-rings i { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 194, 26, .55); opacity: 0; animation: mlnRing 4.5s ease-out infinite; }
.mln-logo-rings i:nth-child(2) { animation-delay: 1.5s; }
.mln-logo-rings i:nth-child(3) { animation-delay: 3s; }
.mln-logo-text { font-size: 2.2rem; font-weight: 800; }
@keyframes mlnLogoIn { from { opacity: 0; transform: scale(.72) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mlnLogoFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-.6deg); } }
@keyframes mlnShine { 0%, 55% { left: -40%; } 85%, 100% { left: 120%; } }
@keyframes mlnRing { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

.mln-search { grid-column: 1; grid-row: 1; position: relative; display: flex; max-width: 300px; }
.mln-search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .28); border-right: 0; border-radius: 6px 0 0 6px; background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: .95rem; }
.mln-search input::placeholder { color: #b9c6dd; }
.mln-search input:focus { background: #fff; color: var(--ink); outline: none; }
.mln-search button { width: 46px; border: 0; border-radius: 0 6px 6px 0; background: var(--gold); color: #1c1400; font-size: 1rem; }
.mln-suggest { position: absolute; top: 50px; left: 0; right: 0; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: 0 18px 40px rgba(7, 28, 63, .28); overflow: hidden; display: none; z-index: 60; }
.mln-suggest.is-open { display: block; }
.mln-suggest a { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 9px 10px; border-bottom: 1px solid var(--line); align-items: center; }
.mln-suggest a:hover { background: var(--paper); }
.mln-suggest img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; }
.mln-suggest strong { display: block; font-size: .86rem; line-height: 1.3; font-weight: 600; }
.mln-suggest small { color: var(--muted); font-size: .74rem; }
.mln-suggest p { margin: 0; padding: 12px; color: var(--muted); font-size: .88rem; }
.mln-send { grid-column: 3; justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 6px; background: transparent; color: #fff; font-weight: 600; border: 1px solid rgba(255, 255, 255, .4); }
.mln-send:hover { background: rgba(255, 255, 255, .1); }

/* ---------- sticky section nav ---------- */
.mln-nav { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px rgba(11, 42, 91, .06); }
.mln-nav-in { display: flex; align-items: stretch; gap: 6px; }
.mln-nav-logo { width: 0; overflow: hidden; display: flex; align-items: center; transition: width .25s ease; }
.mln-nav-logo img { height: 40px; width: auto; max-width: none; }
.mln-nav.is-stuck .mln-nav-logo { width: 74px; }
.mln-nav-scroll { flex: 1; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mln-nav-scroll::-webkit-scrollbar { display: none; }
.mln-nav-scroll a { position: relative; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 15px 14px 13px; font-weight: 600; font-size: 1rem; color: #26303f; border-bottom: 3px solid transparent; }
.mln-nav-scroll a i { font-size: .82rem; color: var(--red); }
.mln-nav-scroll a:hover { color: var(--red); }
.mln-nav-scroll a.is-active { color: var(--red); border-bottom-color: var(--red); }
.mln-nav-search { display: none; width: 46px; place-items: center; color: var(--navy); }

/* ---------- ticker: TV lower-third ---------- */
.mln-ticker { display: flex; align-items: stretch; background: var(--gold); color: #1a1300; height: 42px; overflow: hidden; }
.mln-ticker-label { position: relative; z-index: 2; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 30px 0 18px; background: var(--red); color: #fff; font-weight: 800; font-size: .95rem; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.mln-ticker-label .mln-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); animation-name: mlnPulseW; }
@keyframes mlnPulseW { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.mln-ticker-view { flex: 1; overflow: hidden; margin-left: -8px; }
.mln-ticker-track { display: inline-flex; align-items: center; height: 100%; white-space: nowrap; will-change: transform; }
.mln-ticker-track a { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; font-weight: 600; font-size: 1rem; border-right: 2px solid rgba(26, 19, 0, .22); line-height: 1; }
.mln-ticker-track a:hover { text-decoration: underline; }
.mln-ticker-time { font-size: .74rem; font-weight: 700; background: #1a1300; color: var(--gold); padding: 4px 7px; border-radius: 3px; }
.mln-ticker-pause { flex: none; width: 42px; border: 0; background: #1a1300; color: var(--gold); }
@keyframes mlnTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section heading ---------- */
.mln-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 0 0 16px; border-bottom: 2px solid var(--navy); }
.mln-sec-head h2, .mln-sec-head h1 { margin: 0; padding: 7px 22px 5px 14px; background: var(--navy); color: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1.3; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); }
.mln-sec-head a.more { font-size: .9rem; font-weight: 700; color: var(--red); padding-bottom: 6px; }
.mln-sec-head a.more:hover { text-decoration: underline; }

/* ---------- page frame ---------- */
.mln-page { padding-top: 22px; padding-bottom: 10px; display: flex; flex-direction: column; gap: 30px; }
.mln-cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.mln-side { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 66px; }
.mln-main-col { display: flex; flex-direction: column; gap: 30px; min-width: 0; }

/* ---------- hero ---------- */
.mln-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.mln-lead { position: relative; border-radius: 8px; overflow: hidden; background: #071c3f; min-height: 420px; }
.mln-lead-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; display: block; color: #fff; }
.mln-lead-slide.is-active { opacity: 1; visibility: visible; }
.mln-lead-slide img { width: 100%; height: 100%; object-fit: cover; }
.mln-lead-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 28, 63, 0) 35%, rgba(7, 20, 45, .93) 88%); }
.mln-lead-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 26px 46px; }
.mln-lead-copy h2 { margin: 10px 0 8px; font-size: clamp(1.4rem, 2.6vw, 2.15rem); line-height: 1.28; font-weight: 800; text-wrap: balance; }
.mln-lead-copy p { margin: 0; color: #d5deee; font-size: .98rem; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mln-lead-nav { position: absolute; z-index: 3; left: 26px; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mln-lead-nav .bars { flex: 1; display: flex; gap: 6px; }
.mln-lead-nav .bars button { flex: 1; max-width: 54px; height: 16px; padding: 6px 0; border: 0; background: none; }
.mln-lead-nav .bars button::before { content: ''; display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.mln-lead-nav .bars button.is-active::before { background: var(--gold); }
.mln-lead-nav .arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(7, 28, 63, .5); color: #fff; }
.mln-lead-nav .arrow:hover { background: var(--red); border-color: var(--red); }
.mln-hero-list { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mln-hero-list a { flex: 1; display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.mln-hero-list a:last-child { border-bottom: 0; }
.mln-hero-list a:hover strong { color: var(--red); }
.mln-hero-list img { width: 112px; height: 78px; object-fit: cover; border-radius: 5px; }
.mln-hero-list strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 1rem; line-height: 1.35; font-weight: 700; }
.mln-hero-list small { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }

/* ---------- tags + cards ---------- */
.mln-tag { display: inline-block; align-self: flex-start; padding: 3px 9px 2px; border-radius: 3px; background: var(--tag, var(--red)); color: #fff; font-size: .76rem; font-weight: 700; line-height: 1.4; }
.mln-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mln-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mln-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.mln-card:hover { border-color: #c5cede; box-shadow: 0 12px 28px rgba(11, 42, 91, .12); }
.mln-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe5ee; }
.mln-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mln-card:hover .mln-card-media img { transform: scale(1.045); }
.mln-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 15px 13px; flex: 1; }
.mln-card-title { font-size: 1.08rem; line-height: 1.38; font-weight: 700; color: var(--headline); }
.mln-card-text { color: var(--muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mln-card-meta { margin-top: auto; padding-top: 6px; display: flex; gap: 14px; color: var(--muted); font-size: .8rem; }
.mln-card.is-row { flex-direction: row; }
.mln-card.is-row .mln-card-media { flex: 0 0 38%; aspect-ratio: auto; }

/* ---------- auto-scrolling rail ---------- */
.mln-rail-ctrl { display: flex; gap: 6px; padding-bottom: 6px; }
.mln-rail-ctrl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.mln-rail-ctrl button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.mln-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.mln-rail::-webkit-scrollbar { display: none; }
.mln-rail-item { flex: 0 0 262px; scroll-snap-align: start; }
.mln-rail-item .mln-card-title { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- widgets ---------- */
.mln-widget { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.mln-widget h3 { margin: -16px -16px 14px; padding: 11px 16px 9px; font-size: 1.05rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 8px 8px 0 0; border-bottom: 3px solid var(--gold); }
.mln-rank { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.mln-rank li { counter-increment: rank; border-bottom: 1px solid var(--line); }
.mln-rank li:last-child { border-bottom: 0; }
.mln-rank a { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; padding: 11px 0; }
.mln-rank a::before { content: counter(rank); grid-row: span 2; font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.mln-rank strong { font-size: .97rem; line-height: 1.35; font-weight: 600; }
.mln-rank a:hover strong { color: var(--red); }
.mln-rank span { grid-column: 2; color: var(--muted); font-size: .78rem; margin-top: 3px; }
.mln-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mln-chips a { padding: 5px 12px 4px; border: 1px solid var(--line); border-radius: 30px; font-size: .9rem; font-weight: 600; background: var(--paper); }
.mln-chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.mln-poll label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.mln-poll label:hover { border-color: var(--navy); }
.mln-poll input { accent-color: var(--red); width: 17px; height: 17px; }
.mln-poll-q { font-weight: 700; margin: 0 0 12px; line-height: 1.4; }
.mln-poll-row { margin-bottom: 10px; font-size: .92rem; font-weight: 600; }
.mln-poll-row div { display: flex; justify-content: space-between; }
.mln-poll-row i { display: block; height: 8px; border-radius: 4px; background: var(--paper); margin-top: 4px; overflow: hidden; }
.mln-poll-row i b { display: block; height: 100%; background: var(--red); border-radius: 4px; transition: width .8s ease; }
.mln-news-form { display: flex; }
.mln-news-form input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; padding: 0 12px; font: inherit; font-size: .95rem; }
.mln-news-form button { border: 0; background: var(--red); color: #fff; font-weight: 700; padding: 0 16px; border-radius: 0 6px 6px 0; }
.mln-form-msg { font-size: .88rem; margin: 8px 0 0; color: var(--muted); min-height: 1.2em; }
.mln-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mln-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.mln-ad { text-align: center; }
.mln-ad::before { content: 'जाहिरात'; display: block; font-size: .7rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 5px; }
.mln-ad img { margin: 0 auto; max-height: 280px; width: auto; border-radius: 6px; }
.mln-ad.is-wide img { max-height: 160px; }

/* ---------- buttons ---------- */
.mln-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 6px; border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: .98rem; }
.mln-btn:hover { filter: brightness(1.08); }
.mln-btn-wa { background: #128c4a; }
.mln-btn-navy { background: var(--navy); }
.mln-btn-line { background: transparent; border: 1px solid rgba(255, 255, 255, .5); }
.mln-btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.mln-btn-ghost:hover { border-color: var(--navy); filter: none; }
.mln-btn.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- videos / epaper / stories ---------- */
.mln-video { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #000; color: #fff; }
.mln-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; }
.mln-video span.play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -45px 0 0 -29px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.2rem; }
.mln-video strong { display: block; padding: 10px 12px; font-size: .96rem; line-height: 1.35; background: #071c3f; }
.mln-epaper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mln-epaper a { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; }
.mln-epaper img { width: 76px; height: 98px; object-fit: cover; border-radius: 3px; background: #e8e2d0; }
.mln-epaper strong { display: block; font-size: .98rem; line-height: 1.3; }
.mln-epaper small { color: var(--muted); }
.mln-stories { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.mln-stories a { flex: 0 0 82px; text-align: center; font-size: .78rem; font-weight: 600; }
.mln-stories img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--red); padding: 2px; background: #fff; margin: 0 auto 5px; }

/* ---------- pager / empty ---------- */
.mln-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 24px; }
.mln-pager a, .mln-pager span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-weight: 700; font-size: .92rem; }
.mln-pager a:hover { border-color: var(--navy); }
.mln-pager .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.mln-pager .gap { border: 0; background: none; min-width: 20px; padding: 0; }
.mln-empty { background: #fff; border: 1px dashed #c5cede; border-radius: 8px; padding: 34px 22px; text-align: center; color: var(--muted); }
.mln-empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- article ---------- */
.mln-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); }
.mln-crumb a { color: var(--red); font-weight: 600; }
.mln-article { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 30px 34px; }
.mln-article h1 { margin: 12px 0 10px; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.28; font-weight: 800; color: var(--headline); text-wrap: balance; }
.mln-article .sub { margin: 0 0 16px; padding-left: 14px; border-left: 4px solid var(--gold); font-size: 1.12rem; color: #333d4d; font-weight: 500; }
.mln-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.mln-byline b { color: var(--ink); font-weight: 700; }
.mln-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.mln-tools .mln-btn { min-height: 40px; padding: 0 13px; font-size: .9rem; }
.mln-figure { margin: 0 0 22px; }
.mln-figure > img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 6px; background: #dfe5ee; }
.mln-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.mln-thumbs button { flex: 0 0 84px; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: none; }
.mln-thumbs button.is-active { border-color: var(--red); }
.mln-thumbs img { width: 84px; height: 60px; object-fit: cover; }
.mln-brief { background: #fff8e1; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 6px 6px 0; margin: 0 0 22px; font-weight: 500; }
.mln-brief strong { display: block; color: #7a5600; font-size: .85rem; margin-bottom: 2px; }
.mln-content { font-family: var(--read-font), var(--ui-font); font-size: 1.16rem; line-height: 1.95; max-width: 72ch; overflow-wrap: anywhere; }
.mln-content p { margin: 0 0 1.15em; }
.mln-content img, .mln-content iframe, .mln-content video { max-width: 100%; height: auto; border-radius: 6px; margin: 10px auto; }
.mln-content iframe { aspect-ratio: 16 / 9; width: 100%; }
.mln-content a { color: var(--red); text-decoration: underline; }
.mln-content h1, .mln-content h2, .mln-content h3, .mln-content h4 { font-family: var(--ui-font); line-height: 1.5; margin: 1.1em 0 .5em; font-weight: 700; }
.mln-content h1 { font-size: 1.3em; } .mln-content h2 { font-size: 1.2em; } .mln-content h3, .mln-content h4 { font-size: 1.1em; }
.mln-content blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--red); color: #333d4d; }
.mln-react { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.mln-react button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 30px; background: #fff; font-weight: 700; font-size: .92rem; color: var(--ink); }
.mln-react button:hover { border-color: var(--red); }
.mln-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.mln-share span { font-weight: 700; margin-right: 4px; }
.mln-share a, .mln-share button { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.05rem; }
.mln-share .wa { background: #128c4a; width: auto; border-radius: 30px; padding: 0 18px; display: inline-flex; gap: 8px; font-weight: 700; font-size: .95rem; }
.mln-share .fb { background: #1877f2; } .mln-share .tw { background: #111; } .mln-share .tg { background: #1c8adb; } .mln-share .cp { background: #5b6575; }
.mln-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mln-prevnext a { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.mln-prevnext a:hover { border-color: var(--navy); }
.mln-prevnext small { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 3px; }
.mln-prevnext strong { font-size: .98rem; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mln-prevnext a.next { text-align: right; }
.mln-panel { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; }
.mln-field { width: 100%; padding: 12px 14px; border: 1px solid #c9d1de; border-radius: 6px; font: inherit; font-size: 1rem; background: #fff; color: var(--ink); margin-bottom: 12px; }
.mln-field:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 42, 91, .14); }
textarea.mln-field { min-height: 120px; resize: vertical; }
.mln-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mln-note { padding: 12px 14px; border-radius: 6px; background: #e7f6ec; color: #0c5a2c; font-weight: 600; margin-bottom: 14px; }
.mln-note.is-bad { background: #fde8ea; color: #8f0a1c; }
.mln-comment { padding: 14px 0; border-top: 1px solid var(--line); }
.mln-comment b { font-weight: 700; }
.mln-comment small { color: var(--muted); margin-left: 8px; }
.mln-comment p { margin: 5px 0 0; }
.mln-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* static pages */
.mln-prose { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 30px 34px; max-width: 860px; margin: 0 auto; width: 100%; }
.mln-prose h1 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 3px solid var(--red); font-size: 1.9rem; color: var(--navy); }
.mln-prose .mln-content { max-width: none; font-size: 1.08rem; }
.mln-photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mln-photo-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mln-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.mln-photo-grid figcaption { padding: 8px 10px; font-size: .9rem; font-weight: 600; }
.mln-lightbox { position: fixed; inset: 0; z-index: 9990; background: rgba(4, 12, 28, .93); display: none; place-items: center; padding: 20px; }
.mln-lightbox.is-open { display: grid; }
.mln-lightbox img { max-width: 100%; max-height: 88vh; border-radius: 6px; }
.mln-lightbox button { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; font-size: 1.2rem; }

/* ---------- footer ---------- */
.mln-foot { margin-top: 44px; background: #071c3f; color: #c3cee2; }
.mln-foot-join { background: var(--navy); border-top: 4px solid var(--gold); }
.mln-foot-join-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.mln-foot-join p { margin: 0; color: #fff; font-size: 1.15rem; font-weight: 700; }
.mln-foot-join div { display: flex; flex-wrap: wrap; gap: 10px; }
.mln-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-top: 36px; padding-bottom: 34px; }
.mln-foot h4 { margin: 0 0 12px; color: var(--gold); font-size: 1rem; font-weight: 700; }
.mln-foot ul { list-style: none; margin: 0; padding: 0; }
.mln-foot li a { display: block; padding: 5px 0; font-size: .95rem; }
.mln-foot li a:hover { color: #fff; text-decoration: underline; }
.mln-foot-editor { display: flex; gap: 14px; align-items: flex-start; }
.mln-foot-editor img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); flex: none; }
.mln-foot-editor strong { display: block; color: #fff; font-size: 1.15rem; }
.mln-foot-editor span, .mln-foot-editor a { display: block; font-size: .92rem; margin-top: 4px; }
.mln-foot-editor a { color: var(--gold); font-weight: 700; }
.mln-foot-base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 14px 0; font-size: .85rem; text-align: center; }

/* ---------- floating bits ---------- */
.mln-tabbar { display: none; }
.mln-top { position: fixed; right: 18px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(7, 28, 63, .35); opacity: 0; visibility: hidden; transition: .25s; z-index: 800; }
.mln-top.is-on { opacity: 1; visibility: visible; }
.mln-toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: #071c3f; color: #fff; padding: 11px 18px; border-radius: 6px; font-weight: 600; font-size: .95rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; visibility: hidden; transition: .25s; z-index: 9995; max-width: calc(100vw - 30px); border-left: 4px solid var(--gold); }
.mln-toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mln-splash { position: fixed; inset: 0; z-index: 99999; background: var(--navy); display: grid; place-items: center; transition: opacity .5s, visibility .5s; }
.mln-splash.is-hide { opacity: 0; visibility: hidden; }
.mln-splash img { max-width: 260px; max-height: 200px; animation: mlnLogoIn .8s both; }
.mln-popup { position: fixed; inset: 0; z-index: 9980; background: rgba(4, 12, 28, .75); display: none; place-items: center; padding: 20px; }
.mln-popup.is-open { display: grid; }
.mln-popup > div { position: relative; max-width: 480px; background: #fff; border-radius: 8px; overflow: hidden; }
.mln-popup button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; font-size: 1.2rem; }
.mln-cookie { position: fixed; left: 16px; bottom: 16px; z-index: 9970; max-width: 420px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 6px; box-shadow: 0 14px 36px rgba(7, 28, 63, .2); padding: 14px 16px; display: none; gap: 12px; align-items: center; font-size: .92rem; }
.mln-cookie.is-open { display: flex; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .mln-cols { grid-template-columns: 1fr; }
    .mln-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .mln-hero { grid-template-columns: 1fr; }
    .mln-hero-list { display: grid; grid-template-columns: 1fr 1fr; }
    .mln-hero-list a { border-right: 1px solid var(--line); }
    .mln-foot-grid { grid-template-columns: 1fr 1fr; }
    .mln-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    body.mln { font-size: 16px; padding-bottom: 62px; }
    .mln-wrap { padding: 0 12px; }
    .mln-util-date { display: none; }
    .mln-mast-in { grid-template-columns: 1fr; padding-top: 12px; padding-bottom: 16px; }
    .mln-logo { grid-column: 1; }
    .mln-logo-img { height: min(calc(120px * var(--logo-scale)), 50vw); }
    .mln-search, .mln-send { display: none; }
    .mln-nav-search { display: grid; }
    .mln-nav-scroll a { padding: 13px 11px 11px; font-size: .96rem; }
    .mln-ticker { height: 40px; }
    .mln-ticker-label { padding: 0 24px 0 12px; font-size: .85rem; }
    .mln-ticker-track a { font-size: .95rem; padding: 0 18px; }
    .mln-page { padding-top: 16px; gap: 24px; }
    .mln-lead { min-height: 0; aspect-ratio: 4 / 4.2; }
    .mln-lead-copy { padding: 16px 16px 44px; }
    .mln-lead-copy p { display: none; }
    .mln-lead-nav { left: 16px; right: 12px; }
    .mln-hero-list { grid-template-columns: 1fr; }
    .mln-hero-list a { grid-template-columns: 104px 1fr; border-right: 0; }
    .mln-hero-list img { width: 104px; height: 72px; }
    .mln-grid, .mln-grid.cols-2 { grid-template-columns: 1fr; gap: 12px; }
    .mln-grid .mln-card { flex-direction: row; }
    .mln-grid .mln-card .mln-card-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 104px; }
    .mln-grid .mln-card .mln-card-body { padding: 10px 12px; gap: 5px; }
    .mln-grid .mln-card .mln-card-title { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .mln-grid .mln-card .mln-card-text { display: none; }
    .mln-rail-item { flex-basis: 220px; }
    .mln-side { grid-template-columns: 1fr; }
    .mln-epaper { grid-template-columns: 1fr; }
    .mln-article { padding: 18px 16px; }
    .mln-content { font-size: 1.1rem; line-height: 1.9; }
    .mln-panel, .mln-prose { padding: 18px 16px; }
    .mln-two, .mln-prevnext { grid-template-columns: 1fr; }
    .mln-prevnext a.next { text-align: left; }
    .mln-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .mln-foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 26px; }
    .mln-foot-editor { grid-column: 1 / -1; }
    .mln-foot-editor img { width: 112px; height: 112px; }
    .mln-foot-join-in { justify-content: center; text-align: center; }
    .mln-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(7, 28, 63, .1); padding-bottom: env(safe-area-inset-bottom); }
    .mln-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 6px; font-size: .72rem; font-weight: 600; color: var(--muted); }
    .mln-tabbar a i { font-size: 1.15rem; }
    .mln-tabbar a.is-active { color: var(--red); }
    .mln-top { bottom: 78px; right: 12px; }
    .mln-toast { bottom: 76px; }
    .mln-cookie { left: 10px; right: 10px; bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
    .mln-logo-img, .mln-logo-shine::before, .mln-logo-rings i, .mln-dot { animation: none !important; }
    .mln-lead-slide, .mln-card-media img { transition: none; }
}
@media print {
    .mln-util, .mln-mast, .mln-nav, .mln-ticker, .mln-foot, .mln-tabbar, .mln-top, .mln-side, .mln-tools, .mln-share, .mln-react, .mln-rail-sec, .mln-ad, .mln-prevnext, .mln-comments { display: none !important; }
    .mln-article { border: 0; padding: 0; }
}
