/*
Theme Name: LocalNewsTelugu
Theme URI: https://localnewstelugu.com
Author: LocalNewsTelugu Team
Description: Custom Telugu local news theme with admin-editable sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: localnewstelugu
*/

/* === CSS Variables === */
:root {
    --ln-red: #b71c1c;
    --ln-red-dark: #7f0000;
    --ln-red-light: #e53935;
    --ln-gold: #f9a825;
    --ln-green: #2e7d32;
    --ln-orange: #e65100;
    --ln-bg: #faf3e8;
    --ln-card: #ffffff;
    --ln-text: #222222;
    --ln-muted: #777777;
    --ln-border: #e0d6c8;
    --ln-font-te: 'Noto Sans Telugu', sans-serif;
    --ln-font-en: 'Crimson Pro', 'Playfair Display', serif;
    --ln-font-mixed: 'Crimson Pro', 'Playfair Display', 'Noto Sans Telugu', sans-serif;
    --ln-radius: 8px;
}

/* === Reset / Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--ln-font-te); background: var(--ln-bg); color: var(--ln-text); line-height: 1.7; }
/* Force Telugu font on all form elements (browsers don't inherit body font) */
input, select, textarea, button, option { font-family: var(--ln-font-te); }
a { color: var(--ln-red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.c { max-width: 1220px; margin: 0 auto; padding: 0 16px; }
/* English font first with Telugu fallback for headings */
h1,h2,h3,h4 { font-family: var(--ln-font-mixed); }
.hidden { display: none !important; }

/* === Popup Ad === */
.pop-ov { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pop-ad { background: var(--ln-card); border-radius: var(--ln-radius); width: 90%; max-width: 600px; max-height: 90vh; overflow: hidden; overflow-y: auto; position: relative; box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.pop-x { position: absolute; top: 10px; right: 14px; background: rgba(0,0,0,.45); color: #fff; border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 16px; z-index: 2; }
.pop-body { }
.pop-img-full { display: block; width: 100%; height: auto; }
.pop-text { padding: 16px 24px 20px; text-align: center; }
.pop-ti { font-size: 24px; font-weight: 800; margin: 0 0 6px; }
.pop-sub { font-size: 15px; color: var(--ln-muted); margin: 0 0 12px; }
.pop-cta { background: var(--ln-red); color: #fff; border: none; padding: 10px 32px; border-radius: var(--ln-radius); font-size: 15px; cursor: pointer; font-weight: 600; }

/* === Topbar === */
.topbar { background: var(--ln-red-dark); color: #fff; font-size: 12px; padding: 6px 0; }
.topbar .c { display: flex; justify-content: space-between; flex-wrap: wrap; }
.topbar a { color: #ffcdd2; }
.topbar a:hover { color: #fff; }

/* === Breaking News Ticker === */
.ticker { background: var(--ln-red); color: #fff; display: flex; overflow: hidden; height: 40px; }
.tk-lb { background: var(--ln-red-dark); font-weight: 800; padding: 0 18px; display: flex; align-items: center; white-space: nowrap; font-size: 14px; letter-spacing: 1px; z-index: 1; }
.tk-wr { flex: 1; overflow: hidden; position: relative; }
.tk-sc { display: flex; gap: 60px; white-space: nowrap; align-items: center; height: 100%; will-change: transform; }
.tk-sc span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.tk-sc span::before { content: '•'; color: var(--ln-gold); }

/* === Header === */
.hdr { text-align: center; padding: 20px 0 8px; background: var(--ln-bg); }
.hdr .logo { font-family: var(--ln-font-en); font-size: 48px; font-weight: 900; }
.hdr .logo em { font-style: normal; color: var(--ln-red); }
.hdr .tagline { font-size: 13px; color: var(--ln-muted); margin-top: 2px; }
.hdr .dt { font-size: 13px; color: var(--ln-muted); margin-top: 6px; }
.hdr .ad-banner { background: linear-gradient(135deg, #1565c0, #0d47a1); color: #fff; padding: 12px 20px; border-radius: var(--ln-radius); margin: 12px auto 0; max-width: 700px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; position: relative; }
.hdr .ad-banner .ad-tag { position: absolute; top: -6px; right: 10px; background: rgba(255,255,255,.2); padding: 1px 8px; border-radius: 3px; font-size: 10px; }

/* === Navigation === */
.nav { background: var(--ln-red); position: sticky; top: 0; z-index: 100; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; }
.nav ul li a { color: #fff; padding: 12px 16px; display: block; font-size: 14px; font-weight: 600; transition: background .2s; }

/* Live nav button with blinking red dot */
.lnt-nav-live a { display: flex !important; align-items: center; gap: 6px; }
.lnt-live-dot { display: inline-block; width: 10px; height: 10px; background: #ff1744; border-radius: 50%; animation: lnt-blink 1s ease-in-out infinite; flex-shrink: 0; }
@keyframes lnt-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,23,68,.6); } 50% { opacity: 0.3; box-shadow: 0 0 8px 4px rgba(255,23,68,.3); } }
.nav ul li a:hover, .nav ul li.on > a { background: var(--ln-red-dark); text-decoration: none; }
.nav ul li.dd { position: relative; }
.nav ul li .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--ln-red-dark); min-width: 200px; z-index: 101; }
.nav ul li:hover .sub { display: block; }
.nav ul li .sub a { padding: 10px 16px; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; padding: 10px 16px; cursor: pointer; }

/* === Subscribe CTA + Search Bar === */
.loc-filter { padding: 12px 16px; background: var(--ln-card); border-bottom: 2px solid var(--ln-border); display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.lnt-subscribe-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lnt-sub-tagline { font-size: 14px; font-weight: 600; color: var(--ln-text); white-space: nowrap; }
.lnt-sub-btn { background: linear-gradient(135deg, #b71c1c, #d32f2f); color: #fff; border: none; padding: 9px 22px; border-radius: 24px; cursor: pointer; font-size: 14px; font-weight: 700; transition: all .2s; box-shadow: 0 2px 8px rgba(183,28,28,.25); white-space: nowrap; }
.lnt-sub-btn:hover { background: linear-gradient(135deg, #880e0e, #b71c1c); box-shadow: 0 4px 12px rgba(183,28,28,.35); transform: translateY(-1px); }
/* Search Bar */
.loc-search-wrap { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.loc-search { width: 100%; padding: 8px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); font-size: 14px; background: #fff; box-sizing: border-box; }
.loc-search:focus { border-color: var(--ln-red); outline: none; box-shadow: 0 0 0 2px rgba(183,28,28,.15); }
.loc-search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--ln-border); border-radius: 0 0 var(--ln-radius) var(--ln-radius); box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 1000; max-height: 400px; overflow-y: auto; }
.loc-search-item { display: flex; gap: 10px; padding: 10px 12px; text-decoration: none; color: var(--ln-text); border-bottom: 1px solid #f0f0f0; transition: background .15s; }
.loc-search-item:hover { background: #fef2f2; }
.loc-search-thumb { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.loc-search-no-thumb { background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #ccc; }
.loc-search-info { flex: 1; min-width: 0; }
.loc-search-title { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.loc-search-meta { font-size: 11px; color: #888; margin-top: 4px; display: flex; gap: 8px; }
.loc-search-cat { background: var(--ln-red); color: #fff; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 600; }
.loc-search-loading { padding: 16px; text-align: center; color: #888; font-size: 13px; }
/* Location Filter Results */
#locNewsResults:empty { display: none; }
#locNewsResults { margin-bottom: 20px; }
#locNewsResults .sh { margin-top: 0; }
.loc-results-grid { display: grid; gap: 16px; }
.loc-no-results { background: #fff3e0; border-left: 4px solid var(--ln-orange); padding: 14px 18px; border-radius: var(--ln-radius); font-size: 15px; color: var(--ln-text); }

/* === Hero Slider === */
.slider { position: relative; overflow: hidden; margin: 16px auto; max-width: 1220px; border-radius: var(--ln-radius); }
.sl-track { display: flex; transition: transform .5s ease; }
.sl-slide { min-width: 100%; position: relative; }
.sl-img { width: 100%; height: 500px; background-size: cover; background-position: center; }
.sl-ov { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 24px 20px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; }
.sl-cat { background: var(--ln-red); padding: 4px 14px; border-radius: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.sl-t { font-size: 28px; margin-top: 10px; font-weight: 800; line-height: 1.3; font-family: var(--ln-font-te); }
.sl-m { font-size: 12px; opacity: .8; margin-top: 6px; }
.sl-dots { position: absolute; bottom: 14px; right: 20px; display: flex; gap: 8px; align-items: center; }
.sl-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; border: none; }
.sl-dots .dot.on { background: var(--ln-gold); }
.sl-dots .play { color: #fff; font-size: 14px; cursor: pointer; }
.sl-arr { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 10px; transform: translateY(-50%); pointer-events: none; }
.sl-arr button { pointer-events: auto; background: rgba(0,0,0,.45); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; cursor: pointer; }

/* === Info Tips === */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 auto; max-width: 1220px; }
.tip { padding: 14px 16px; border-left: 4px solid; }
.tip.pwr { border-color: var(--ln-gold); background: #fffde7; }
.tip.hol { border-color: var(--ln-red); background: #ffebee; }
.tip.loc { border-color: var(--ln-green); background: #e8f5e9; }
.tip.wea { border-color: #1565c0; background: #e3f2fd; }
.tip .ti { font-size: 22px; }
.tip .tt { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ln-muted); }
.tip .tc { font-size: 14px; margin-top: 2px; font-weight: 600; }

/* === Mobile Reporter === */
.mr { background: var(--ln-green); color: #fff; padding: 14px 20px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin: 16px auto; max-width: 1220px; border-radius: var(--ln-radius); }
.mr a { color: #fff; text-decoration: underline; }

/* === Main Grid === */
.mg { display: grid; grid-template-columns: 1fr 340px; gap: 24px; max-width: 1220px; margin: 0 auto; padding: 16px; }

/* === Section Headers === */
.sh { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; }
.sh h2 { font-family: var(--ln-font-te); font-size: 24px; color: var(--ln-red); white-space: nowrap; }
.sh::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--ln-red), transparent); }
.sh .va { margin-left: auto; font-size: 13px; color: var(--ln-red); white-space: nowrap; }

/* === Live Stream === */
.ls { background: var(--ln-card); border-radius: var(--ln-radius); overflow: hidden; margin-bottom: 20px; }
.ls-hd { background: var(--ln-red); color: #fff; padding: 10px 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ls-live { display: inline-block; width: 10px; height: 10px; background: #4caf50; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.ls-embed { position: relative; background: #000; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.ls-embed .play-icon { width: 64px; height: 64px; background: var(--ln-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; cursor: pointer; }
.ls-embed iframe { width: 100%; height: 100%; position: absolute; inset: 0; }
.ls-info { padding: 14px 16px; }
.ls-info h3 { font-size: 17px; font-family: var(--ln-font-te); }
.ls-info .live-badge { color: var(--ln-red); font-size: 13px; font-weight: 600; }
.ls-btns { display: flex; gap: 8px; padding: 0 16px 14px; }
.ls-btns button { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--ln-border); background: var(--ln-card); cursor: pointer; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: background .2s, color .2s; }
.ls-btns button.active { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }
.ls-btns button:disabled { opacity: .5; cursor: not-allowed; }
.ls-chat-panel { display: none; }
.ls-chat-panel.open { display: block; }
.ls-chat-panel iframe { width: 100%; height: 360px; border: none; border-top: 1px solid var(--ln-border); }
.ls-upcoming-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,.55); color: #fff; gap: 6px; }
.ls-upcoming-overlay .ls-scheduled { font-size: 13px; opacity: .85; }

/* === News Cards === */
.nc { background: var(--ln-card); border-radius: var(--ln-radius); overflow: hidden; margin-bottom: 16px; }
.nc-img { width: 100%; height: 220px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nc-img .badge { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 12px; }
.nc-img .cat { position: absolute; bottom: 12px; right: 12px; background: var(--ln-red); color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.nc-video-icon { position: absolute; bottom: 10px; right: 10px; background: rgba(255,0,0,.85); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 2px 6px rgba(0,0,0,.3); pointer-events: none; }
.nc-bd { padding: 16px; }
.nc-bd h2, .nc-bd h3 { font-family: var(--ln-font-te); font-size: 20px; line-height: 1.4; margin-bottom: 6px; }
.nc-bd h2 a, .nc-bd h3 a { color: var(--ln-text); }
.nc-bd h2 a:hover, .nc-bd h3 a:hover { color: var(--ln-red); text-decoration: none; }
.nc-bd .ex { font-size: 14px; color: var(--ln-muted); margin-bottom: 8px; }
.nc-bd .meta { font-size: 12px; color: var(--ln-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.nc-bd .meta .au { font-weight: 600; }
/* Horizontal card */
.nc.nc-h { display: grid; grid-template-columns: 260px 1fr; min-height: 200px; }
.nc.nc-h .nc-img { height: 100%; min-height: 200px; }

/* === Social Actions === */
.sa { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--ln-border); font-size: 14px; color: var(--ln-muted); }
.sa span { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.sa span:hover { color: var(--ln-text); }
.sa .share { margin-left: auto; }

/* === Share Popup === */
.share-popup {
    position: fixed;
    background: var(--ln-card);
    border-radius: var(--ln-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
    z-index: 9000;
    width: 280px;
    opacity: 0;
    transform: translateY(8px) scale(.96);
    transition: opacity .2s, transform .2s;
    overflow: hidden;
}
.share-popup.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ln-border);
    font-weight: 700;
    font-size: 15px;
    color: var(--ln-text);
}
.share-popup-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--ln-muted);
    line-height: 1;
    padding: 0 4px;
}
.share-popup-close:hover { color: var(--ln-text); }
.share-popup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 12px;
}
.share-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: var(--ln-radius);
    text-decoration: none !important;
    color: var(--ln-text);
    font-size: 11px;
    font-weight: 600;
    transition: background .15s;
    cursor: pointer;
}
.share-app:hover { background: #f5f5f5; }
.share-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
}
@media (max-width: 480px) {
    .share-popup {
        bottom: 0 !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-radius: var(--ln-radius) var(--ln-radius) 0 0;
        transform: translateY(100%);
    }
    .share-popup.show {
        transform: translateY(0);
    }
    .share-popup-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 16px;
        gap: 8px;
    }
}

/* === Poll === */
.pl { background: var(--ln-card); border-radius: var(--ln-radius); padding: 20px; margin-bottom: 20px; }
.pl h3 { font-family: var(--ln-font-te); font-size: 20px; color: var(--ln-red); margin-bottom: 10px; }
.pl .pq { font-size: 16px; margin-bottom: 14px; font-weight: 600; }
.pl .po { margin-bottom: 8px; background: #f5f5f5; border-radius: var(--ln-radius); overflow: hidden; display: flex; align-items: center; position: relative; }
.pl .po label { padding: 10px 14px; display: flex; align-items: center; gap: 8px; width: 100%; cursor: pointer; position: relative; z-index: 1; font-size: 15px; }
.pl .po .bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(183,28,28,.12); transition: width .5s; }
.pl .po .pct { position: absolute; right: 14px; font-weight: 700; font-size: 14px; color: var(--ln-red); z-index: 1; }
.pl .pm { display: flex; justify-content: space-between; font-size: 12px; color: var(--ln-muted); margin: 10px 0; }
.pvb { width: 100%; padding: 12px; background: var(--ln-red); color: #fff; border: none; border-radius: var(--ln-radius); font-size: 16px; font-weight: 700; cursor: pointer; }

/* === Video Cards === */
.vg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vc { background: var(--ln-card); border-radius: var(--ln-radius); overflow: hidden; }
.vc-img { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a237e, #4a148c); display: flex; align-items: center; justify-content: center; }
.vc-img .play-icon { width: 48px; height: 48px; background: var(--ln-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.vc-img .dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.7); color: #fff; padding: 2px 8px; border-radius: 3px; font-size: 12px; }
.vc-bd { padding: 12px; }
.vc-bd h3 { font-family: var(--ln-font-te); font-size: 16px; margin-bottom: 4px; }
.vc-bd h3 a { color: var(--ln-text); }
.vc-bd .vm { font-size: 12px; color: var(--ln-muted); }

/* === Comments Section === */
.cs { background: var(--ln-card); border-radius: var(--ln-radius); padding: 24px; margin-bottom: 20px; }
.cs h3 { font-size: 18px; margin-bottom: 16px; color: var(--ln-text); border-bottom: 2px solid var(--ln-border); padding-bottom: 12px; }
.cm { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid #f0ebe3; }
.cm:last-child { border-bottom: none; }
.cm .av { width: 44px; height: 44px; border-radius: 50%; background: #eee; flex-shrink: 0; overflow: hidden; border: 2px solid var(--ln-border); }
.cm .av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cm .cm-body { flex: 1; min-width: 0; }
.cm .cn { font-weight: 700; font-size: 15px; color: var(--ln-text); }
.cm .ct { font-size: 14px; color: #444; margin-top: 4px; line-height: 1.6; }
.cm .ct p { margin: 0; }
.cm .ac { font-size: 12px; color: var(--ln-muted); margin-top: 8px; display: flex; gap: 14px; align-items: center; }
.cm .ac a, .cm .ac span a { color: var(--ln-red); font-weight: 600; text-decoration: none; }
.cm .ac a:hover, .cm .ac span a:hover { text-decoration: underline; }
.cm .children { margin-left: 30px; }
.cm .children .cm { border-bottom: 1px solid #f5f0ea; }

/* === Sidebar === */
.sb-widget { background: var(--ln-card); border-radius: var(--ln-radius); overflow: hidden; margin-bottom: 20px; }
.sb-widget .sb-hd { background: var(--ln-red); color: #fff; padding: 12px 16px; font-weight: 700; font-size: 16px; }
.sb-widget .sb-bd { padding: 14px 16px; }
/* Trending */
.tr-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ln-border); }
.tr-item:last-child { border-bottom: none; }
.tr-item .tr-n { font-size: 28px; font-weight: 800; color: rgba(183,28,28,.2); font-family: var(--ln-font-en); line-height: 1; }
.tr-item .tr-t { font-size: 14px; font-weight: 600; }
.tr-item .tr-t a { color: var(--ln-text); }
.tr-item .tr-d { font-size: 11px; color: var(--ln-muted); }
/* Sidebar Ads */
.sb-ad { background: linear-gradient(135deg, var(--ln-red), var(--ln-red-dark)); color: #fff; padding: 24px 16px; text-align: center; border-radius: var(--ln-radius); margin-bottom: 20px; }
.sb-ad h4 { font-size: 18px; margin-bottom: 6px; }
.sb-ad p { font-size: 13px; opacity: .9; }
/* Sidebar Live */
.sb-live-card { background: #000; color: #fff; border-radius: var(--ln-radius); overflow: hidden; padding: 0; position: relative; }
.sb-live-card .lb { position: absolute; top: 10px; left: 10px; background: var(--ln-red); padding: 2px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; z-index: 1; }
.sb-live-card .play-icon { width: 48px; height: 48px; background: var(--ln-red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 30px auto; cursor: pointer; }
.sb-live-card h4 { padding: 10px 14px; font-size: 14px; font-family: var(--ln-font-te); }

/* === Business Directory === */
.bd-section { background: var(--ln-card); border-radius: var(--ln-radius); padding: 20px; margin: 24px auto; max-width: 1220px; }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.bc { background: var(--ln-bg); border: 1px solid var(--ln-border); border-radius: var(--ln-radius); padding: 20px; text-align: center; transition: transform .2s; }
.bc:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.bc-ic { font-size: 36px; width: 70px; height: 70px; background: var(--ln-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.bc h4 { font-family: var(--ln-font-te); font-size: 16px; margin-bottom: 4px; }
.bc .bc-sub { font-size: 13px; color: var(--ln-muted); }
.bc .bc-rate { color: var(--ln-gold); font-size: 14px; margin-top: 6px; }
.bc-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; }
/* Single YP thumbnail & video */
.yp-thumb { margin-bottom: 16px; border-radius: var(--ln-radius); overflow: hidden; }
.yp-thumb img { width: 100%; height: auto; display: block; }
.yp-video { margin-top: 20px; }
.yp-video h3 { font-family: var(--ln-font-te); font-size: 18px; margin-bottom: 10px; }
.yp-video-wrap { position: relative; border-radius: var(--ln-radius); overflow: hidden; aspect-ratio: 16/9; background: #000; cursor: pointer; }
.yp-video-wrap img.yp-video-thumb { width: 100%; height: 100%; object-fit: cover; }
.yp-video-wrap .yp-video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(255,0,0,.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.yp-video-wrap iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
/* Archive filter */
.bd-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.bd-filters a, .bd-filters span { padding: 6px 16px; border-radius: 20px; border: 1px solid var(--ln-border); font-size: 13px; font-weight: 600; background: var(--ln-card); color: var(--ln-text); }
.bd-filters .active { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }

/* === Footer === */
.ft { background: #1a1a2e; color: #ccc; padding: 40px 0 0; margin-top: 40px; }
.ft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1220px; margin: 0 auto; padding: 0 16px; }
.ft h4 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.ft a { color: #aaa; font-size: 14px; }
.ft a:hover { color: #fff; }
.ft ul { list-style: none; }
.ft ul li { margin-bottom: 6px; }
.ft .logo { font-family: var(--ln-font-en); font-size: 24px; color: #fff; font-weight: 800; }
.ft p { font-size: 13px; line-height: 1.6; }
.ft-bar { text-align: center; padding: 16px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.ft-bar a { color: var(--ln-gold); }

/* === Breadcrumbs === */
.lnt-breadcrumbs { font-size: 13px; color: var(--ln-muted); padding: 10px 0; margin-bottom: 12px; font-family: var(--ln-font-te); }
.lnt-breadcrumbs a { color: var(--ln-red); text-decoration: none; }
.lnt-breadcrumbs a:hover { text-decoration: underline; }
.lnt-breadcrumbs .lnt-bc-sep { margin: 0 6px; color: #bbb; }
.lnt-breadcrumbs span:last-child { color: var(--ln-text); font-weight: 600; }

/* === Single Post === */
.single-hero { margin-bottom: 20px; }
.single-hero img { width: 100%; border-radius: var(--ln-radius); }
.single-video { margin-bottom: 20px; }
.single-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--ln-radius); background: #000; cursor: pointer; }
.single-video-wrap iframe, .single-video-wrap .lnt-yt-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.lnt-yt-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 48px; background: rgba(255,0,0,.85); border-radius: 14px; color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lnt-yt-click:hover .lnt-yt-play { background: #f00; }
.single-content { background: var(--ln-card); border-radius: var(--ln-radius); padding: 24px; margin-bottom: 20px; }
.single-content .entry-title { font-family: var(--ln-font-te); font-size: 28px; line-height: 1.4; margin-bottom: 10px; }
.single-content .entry-meta { font-size: 13px; color: var(--ln-muted); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.single-content .entry-meta .au { font-weight: 600; }
.entry-avatar { border-radius: 50%; object-fit: cover; vertical-align: middle; }
.single-content .entry-body { font-size: 17px; line-height: 1.9; }
.single-content .entry-body p { margin-bottom: 16px; }
.single-content .entry-body h3 { font-size: 20px; font-weight: 700; margin: 20px 0 10px; }
.single-content .entry-body blockquote { border-left: 3px solid var(--ln-red); padding: 10px 16px; margin: 16px 0; background: #fef9f0; color: #555; font-style: italic; }
.single-content .entry-body ul, .single-content .entry-body ol { margin: 12px 0; padding-left: 24px; }
.single-content .entry-body li { margin-bottom: 6px; }
.single-content .entry-body img { border-radius: var(--ln-radius); margin: 12px 0; }
.single-content > .sa { margin: 0 -24px -24px; padding: 12px 24px; border-radius: 0 0 var(--ln-radius) var(--ln-radius); background: #fafafa; border-top: 1px solid var(--ln-border); }

/* Per-post font overrides */
/* AI Block */
.lnt-ai-block { margin:16px 0; border:2px solid #e3f2fd; border-radius:var(--ln-radius); overflow:hidden; background:#fafcff; }
.lnt-ai-header { background:linear-gradient(135deg,#1565c0,#0d47a1); color:#fff; padding:12px 16px; font-size:16px; font-weight:700; }
.lnt-ai-body { padding:16px; }
.lnt-ai-actions { display:flex; gap:10px; align-items:center; margin-top:8px; }
.lnt-ai-result-actions { display:flex; gap:8px; margin-top:12px; padding-top:12px; border-top:1px solid #e0e0e0; }
#lnt_ai_content_editor { background:#fff; border:1px solid #ddd; }
/* AI Block on frontend (published post) */
.lnt-ai-analysis { margin:24px 0; padding:20px 24px; background:linear-gradient(135deg,#f8f9ff,#eef1ff); border-left:4px solid #1565c0; border-radius:0 var(--ln-radius) var(--ln-radius) 0; }
.lnt-ai-analysis h3 { font-size:18px; color:#1565c0; margin:0 0 12px; }
.lnt-ai-analysis p { margin:0 0 12px; line-height:1.8; }
.lnt-ai-analysis .lnt-ai-footer { font-size:12px; color:#888; text-align:right; margin-top:12px; }

.lnt-font-title-ramabhadra { font-family: 'Ramabhadra', sans-serif !important; }
.lnt-font-title-mandali { font-family: 'Mandali', sans-serif !important; }
.lnt-font-body-ramabhadra .entry-body { font-family: 'Ramabhadra', sans-serif; }
.lnt-font-body-mandali .entry-body { font-family: 'Mandali', sans-serif; }

/* Greetings Gallery */
.lnt-greet-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.lnt-greet-filters a { padding:6px 16px; border-radius:20px; font-size:13px; font-weight:600; text-decoration:none; color:var(--ln-text); background:#f0f0f0; transition:all .2s; }
.lnt-greet-filters a.active, .lnt-greet-filters a:hover { background:var(--ln-red); color:#fff; }
.lnt-greet-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:16px; }
.lnt-greet-card { background:var(--ln-card); border-radius:var(--ln-radius); overflow:hidden; box-shadow:0 2px 8px rgba(0,0,0,.06); transition:transform .2s, box-shadow .2s; }
.lnt-greet-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.12); }
.lnt-greet-img { position:relative; cursor:pointer; }
.lnt-greet-img img { width:100%; display:block; aspect-ratio:1/1; object-fit:cover; }
.lnt-greet-badge { position:absolute; bottom:8px; left:8px; background:rgba(0,0,0,.6); color:#fff; padding:2px 10px; border-radius:12px; font-size:11px; font-weight:600; }
.lnt-greet-btns { display:flex; border-top:1px solid var(--ln-border); }
.lnt-greet-btn { flex:1; padding:10px; text-align:center; font-size:13px; font-weight:600; cursor:pointer; border:none; background:transparent; color:var(--ln-text); text-decoration:none; transition:background .15s; }
.lnt-greet-btn:hover { background:#f5f5f5; }
.lnt-greet-download { border-right:1px solid var(--ln-border); color:var(--ln-red); }
.lnt-greet-share { color:#1565c0; }
/* Greetings Lightbox */
.lnt-greet-lightbox { position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:10001; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:20px; }
.lnt-greet-lightbox img { max-width:90%; max-height:75vh; border-radius:8px; box-shadow:0 8px 32px rgba(0,0,0,.5); }
.lnt-greet-lb-close { position:absolute; top:16px; right:20px; background:rgba(255,255,255,.2); color:#fff; border:none; border-radius:50%; width:40px; height:40px; font-size:24px; cursor:pointer; z-index:2; }
.lnt-greet-lb-actions { display:flex; gap:12px; margin-top:16px; }
.lnt-greet-lb-actions .lnt-greet-btn { background:rgba(255,255,255,.15); color:#fff; padding:10px 24px; border-radius:8px; font-size:14px; }
.lnt-greet-lb-actions .lnt-greet-btn:hover { background:rgba(255,255,255,.3); }
/* Greetings Management Grid */
.lnt-greeting-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:14px; }
.lnt-greeting-card { background:#fff; border:1px solid var(--ln-border); border-radius:var(--ln-radius); overflow:hidden; }
.lnt-greeting-card img { width:100%; aspect-ratio:1/1; object-fit:cover; display:block; }
.lnt-greeting-info { padding:8px 10px; }
.lnt-greeting-title { font-size:13px; font-weight:600; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lnt-greeting-cat { font-size:11px; color:var(--ln-red); }
.lnt-greeting-actions { display:flex; gap:6px; padding:6px 10px; border-top:1px solid #f0f0f0; }

@media (max-width:768px) {
    .lnt-greet-grid { grid-template-columns:repeat(2, 1fr); gap:10px; }
    .lnt-greet-filters { gap:6px; }
    .lnt-greet-filters a { padding:5px 12px; font-size:12px; }
}

/* Related Posts */
.related-posts { background: var(--ln-card); border-radius: var(--ln-radius); padding: 24px; margin-bottom: 20px; }
.related-posts h3 { font-size: 20px; margin-bottom: 14px; color: var(--ln-red); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Force vertical card layout inside related grid */
.related-grid .nc.nc-h { grid-template-columns: 1fr; }
.related-grid .nc-img { height: 160px; min-height: unset; }
.related-grid .nc-bd h3 { font-size: 15px; line-height: 1.4; }
.related-grid .nc-bd .ex { font-size: 13px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.related-grid .nc-bd .meta { font-size: 11px; }
.related-grid .sa { padding: 8px 12px; font-size: 12px; gap: 10px; }

/* === Single Video === */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--ln-radius); margin-bottom: 20px; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* === Single Business === */
.yp-single { background: var(--ln-card); border-radius: var(--ln-radius); padding: 24px; margin-bottom: 20px; }
.yp-header { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 16px; }
.yp-header .yp-icon { font-size: 48px; width: 80px; height: 80px; background: var(--ln-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.yp-info h1 { font-family: var(--ln-font-te); font-size: 28px; }
.yp-info .yp-sub { color: var(--ln-muted); font-size: 15px; }
.yp-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; margin-top: 10px; }
.yp-meta span { display: flex; align-items: center; gap: 6px; }
.yp-cats { display: flex; gap: 8px; margin-top: 12px; }
.yp-cats a { padding: 4px 14px; background: #f5f5f5; border-radius: 20px; font-size: 13px; }

/* === Archive / Search === */
.archive-hd { margin: 20px 0; }
.archive-hd h1 { font-family: var(--ln-font-te); font-size: 28px; color: var(--ln-red); }
.archive-grid { display: grid; gap: 16px; }
.archive-grid .nc { box-shadow: 0 1px 4px rgba(0,0,0,.06); }

/* === Comments Form === */
.comment-respond { background: var(--ln-card); border-radius: var(--ln-radius); padding: 24px; margin-top: 20px; margin-bottom: 20px; }
.comment-respond > h3 { font-size: 18px; margin-bottom: 16px; color: var(--ln-text); border-bottom: 2px solid var(--ln-border); padding-bottom: 12px; }
.comment-respond .logged-in-as { font-size: 14px; color: var(--ln-muted); margin-bottom: 14px; line-height: 1.6; }
.comment-respond .logged-in-as a { color: var(--ln-red); font-weight: 600; }
.comment-respond .comment-notes { font-size: 13px; color: var(--ln-muted); margin-bottom: 12px; }
.comment-respond .required-field-message { color: var(--ln-muted); }
.comment-respond .required { color: var(--ln-red); }
.comment-respond .comment-form-comment { margin-bottom: 14px; }
.comment-respond .comment-form-comment label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-respond textarea { width: 100%; min-height: 120px; padding: 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); font-size: 15px; font-family: var(--ln-font-te); background: #fafafa; transition: border .2s; resize: vertical; }
.comment-respond textarea:focus { outline: none; border-color: var(--ln-red); background: #fff; }
.comment-respond p { margin-bottom: 12px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"] { width: 100%; padding: 10px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); font-size: 14px; background: #fafafa; transition: border .2s; }
.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus { outline: none; border-color: var(--ln-red); background: #fff; }
.comment-respond .form-submit { margin-top: 8px; margin-bottom: 0; }
.comment-respond .submit { background: var(--ln-red); color: #fff; border: none; padding: 12px 28px; border-radius: var(--ln-radius); cursor: pointer; font-size: 15px; font-weight: 700; transition: background .2s; }
.comment-respond .submit:hover { background: var(--ln-red-dark); }
/* WP reply title */
.comment-respond #reply-title { font-size: 18px; margin-bottom: 16px; color: var(--ln-text); border-bottom: 2px solid var(--ln-border); padding-bottom: 12px; }
.comment-respond #reply-title small { font-size: 13px; margin-left: 10px; }
.comment-respond #reply-title small a { color: var(--ln-red); }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 24px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--ln-radius); border: 1px solid var(--ln-border); font-size: 14px; }
.pagination .current { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }

/* === Topbar Auth Buttons === */
.topbar-auth { display: flex; align-items: center; gap: 10px; }
.lnt-auth-btn { padding: 5px 14px; border-radius: 4px; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.lnt-auth-btn--signin { color: #fff; border: 1px solid rgba(255,255,255,.4); background: transparent; }
.lnt-auth-btn--signin:hover { background: rgba(255,255,255,.15); }
.lnt-auth-btn--signup { background: var(--ln-gold); color: #222; border: 1px solid var(--ln-gold); }
.lnt-auth-btn--signup:hover { opacity: .85; }
.topbar-user { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; }
.topbar-user a { color: #fff; text-decoration: none; opacity: .85; }
.topbar-user a:hover { opacity: 1; text-decoration: underline; }

/* === Auth Modal === */
.lnt-auth-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lnt-auth-modal { background: var(--ln-card); border-radius: 12px; width: 100%; max-width: 420px; position: relative; box-shadow: 0 12px 48px rgba(0,0,0,.3); overflow: hidden; }
.lnt-auth-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 28px; color: var(--ln-muted); cursor: pointer; z-index: 2; line-height: 1; }
.lnt-auth-close:hover { color: var(--ln-text); }
.lnt-auth-form { padding: 32px 28px; }
.lnt-auth-form h2 { font-size: 22px; margin-bottom: 4px; color: var(--ln-red); }
.lnt-auth-desc { color: var(--ln-muted); font-size: 14px; margin-bottom: 16px; }
.lnt-auth-msg { display: none; padding: 10px 14px; border-radius: var(--ln-radius); margin-bottom: 14px; font-size: 14px; }
.lnt-auth-msg.error { display: block; background: #fde8e8; color: #c62828; }
.lnt-auth-msg.success { display: block; background: #e8f5e9; color: #2e7d32; }
.lnt-field { margin-bottom: 14px; }
.lnt-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--ln-text); }
.lnt-field input, .lnt-field textarea, .lnt-field select { width: 100%; padding: 10px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); font-size: 15px; background: #fafafa; transition: border .2s; }
.lnt-field input:focus, .lnt-field textarea:focus, .lnt-field select:focus { outline: none; border-color: var(--ln-red); background: #fff; }
.lnt-field-pw { position: relative; }
.lnt-field-pw input { padding-right: 42px; }
.lnt-pw-eye { position: absolute; right: 10px; top: 50%; transform: translateY(20%); cursor: pointer; font-size: 20px; opacity: .5; user-select: none; transition: opacity .2s; }
.lnt-pw-eye:hover { opacity: .9; }
.lnt-pw-eye.active { opacity: .9; }
.lnt-remember { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-bottom: 14px; cursor: pointer; }
.lnt-auth-submit { width: 100%; padding: 12px; background: var(--ln-red); color: #fff; border: none; border-radius: var(--ln-radius); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; }
.lnt-auth-submit:hover { background: var(--ln-red-dark); }
.lnt-auth-submit:disabled { opacity: .6; cursor: not-allowed; }
.lnt-auth-switch { text-align: center; margin-top: 16px; font-size: 14px; color: var(--ln-muted); }
.lnt-auth-switch a { color: var(--ln-red); font-weight: 600; }

/* === Frontend Dashboard === */
.lnt-dashboard { background: var(--ln-card); border-radius: var(--ln-radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; }
.lnt-dash-header { padding: 24px 28px 16px; border-bottom: 2px solid var(--ln-border); }
.lnt-dash-header h1 { font-size: 24px; margin-bottom: 4px; }
.lnt-dash-header p { color: var(--ln-muted); font-size: 14px; }

/* Dashboard Nav */
.lnt-dash-nav { display: flex; gap: 0; background: #fafafa; border-bottom: 1px solid var(--ln-border); overflow-x: auto; }
.lnt-dash-nav a { padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--ln-muted); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; transition: all .2s; }
.lnt-dash-nav a:hover { color: var(--ln-text); background: rgba(0,0,0,.02); }
.lnt-dash-nav a.active { color: var(--ln-red); border-bottom-color: var(--ln-red); background: #fff; }

/* Dashboard Content */
.lnt-dash-content { padding: 24px 28px; min-height: 300px; }

/* Stat Cards */
.lnt-dash-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.lnt-stat-card { background: #fafafa; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); padding: 20px; text-align: center; }
.lnt-stat-card.lnt-stat-alert { border-color: var(--ln-orange); background: #fff8e1; }
.lnt-stat-num { font-size: 32px; font-weight: 800; color: var(--ln-red); line-height: 1.2; }
.lnt-stat-label { font-size: 13px; color: var(--ln-muted); margin-top: 4px; }

/* Buttons */
.lnt-btn { display: inline-block; padding: 10px 20px; border-radius: var(--ln-radius); font-size: 14px; font-weight: 600; text-decoration: none !important; cursor: pointer; border: none; transition: opacity .2s; }
.lnt-btn:hover { opacity: .85; }
.lnt-btn-primary { background: var(--ln-red); color: #fff; }
.lnt-btn-secondary { background: #f5f5f5; color: var(--ln-text); border: 1px solid var(--ln-border); }
.lnt-btn-green { background: var(--ln-green); color: #fff; }
.lnt-btn-sm { padding: 6px 12px; font-size: 12px; }

/* Dashboard Table */
.lnt-dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lnt-dash-table th { background: #fafafa; padding: 10px 14px; text-align: left; font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--ln-muted); border-bottom: 2px solid var(--ln-border); }
.lnt-dash-table td { padding: 12px 14px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.lnt-dash-table tr:hover td { background: #fafafa; }

/* Status badges */
.lnt-status { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.lnt-status.publish { background: #e8f5e9; color: #2e7d32; }
.lnt-status.pending { background: #fff3e0; color: #e65100; }
.lnt-status.draft { background: #f5f5f5; color: #777; }

/* Post Action Icons */
.lnt-post-actions { white-space: nowrap; }
.lnt-action-icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; text-decoration: none; font-size: 16px; transition: background 0.2s; }
.lnt-action-edit { color: #1565c0; }
.lnt-action-edit:hover { background: #e3f2fd; }
.lnt-action-view { color: #2e7d32; }
.lnt-action-view:hover { background: #e8f5e9; }
.lnt-action-approve { color: #2e7d32; font-weight: 700; }
.lnt-action-approve:hover { background: #e8f5e9; }
.lnt-action-delete { color: #c62828; }
.lnt-action-delete:hover { background: #ffebee; }

/* Dashboard Pagination */
.lnt-dash-pagination { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.lnt-dash-pagination a, .lnt-dash-pagination span { padding: 6px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); font-size: 13px; text-decoration: none; }
.lnt-dash-pagination .current { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }

/* Post Form */
.lnt-post-form-wrap h2 { font-size: 20px; margin-bottom: 16px; }
.lnt-post-msg { display: none; padding: 12px 16px; border-radius: var(--ln-radius); margin-bottom: 16px; font-size: 14px; }
.lnt-msg-success { display: block; background: #e8f5e9; color: #2e7d32; }
.lnt-msg-error { display: block; background: #fde8e8; color: #c62828; }
.lnt-msg-info { display: block; background: #e3f2fd; color: #1565c0; }
.lnt-post-form-wrap .lnt-field textarea { min-height: 100px; resize: vertical; }
/* Rich Text Editor Toolbar */
.lnt-editor-toolbar { display:flex; flex-wrap:wrap; gap:4px; padding:6px 8px; background:#f5f5f5; border:1px solid var(--ln-border); border-bottom:none; border-radius:var(--ln-radius) var(--ln-radius) 0 0; align-items:center; }
.lnt-tb-btn { background:#fff; border:1px solid #ddd; border-radius:4px; padding:4px 10px; cursor:pointer; font-size:14px; line-height:1.4; color:#333; transition:all .15s; min-width:32px; text-align:center; }
.lnt-tb-btn:hover { background:var(--ln-red); color:#fff; border-color:var(--ln-red); }
.lnt-tb-btn:active, .lnt-tb-btn.active { background:#b71c1c; color:#fff; border-color:#b71c1c; }
.lnt-tb-sep { width:1px; height:22px; background:#ddd; margin:0 4px; }
.lnt-richtext { width:100%; min-height:200px; padding:12px 14px; border:1px solid var(--ln-border); border-radius:0 0 var(--ln-radius) var(--ln-radius); font-size:15px; background:#fafafa; line-height:1.8; outline:none; overflow-y:auto; max-height:500px; }
.lnt-richtext:focus { border-color:var(--ln-red); background:#fff; }
.lnt-richtext p { margin:0 0 8px; }
.lnt-richtext blockquote { border-left:3px solid var(--ln-red); padding:8px 14px; margin:8px 0; background:#fef9f0; color:#555; font-style:italic; }
.lnt-richtext h3 { font-size:18px; font-weight:700; margin:12px 0 6px; }
.lnt-richtext a { color:var(--ln-red); text-decoration:underline; }
/* Emoji Dropdown */
.lnt-emoji-dropdown { position:absolute; top:100%; left:0; z-index:50; background:#fff; border:1px solid #ddd; border-radius:8px; box-shadow:0 4px 16px rgba(0,0,0,.15); padding:8px; display:flex; flex-wrap:wrap; gap:4px; width:220px; margin-top:4px; }
.lnt-emoji-item { font-size:22px; cursor:pointer; padding:4px 6px; border-radius:4px; transition:background .15s; line-height:1; }
.lnt-emoji-item:hover { background:#f0f0f0; }
.lnt-location-cascade { display: flex; gap: 8px; flex-wrap: wrap; }
.lnt-location-cascade select { flex: 1; min-width: 140px; }
.lnt-thumb-preview { margin-top: 8px; }
.lnt-thumb-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--ln-radius); border: 1px solid var(--ln-border); }
.lnt-form-actions { display: flex; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ln-border); }
.lnt-font-picker-row { display: flex; gap: 14px; }
.lnt-font-picker-row .lnt-field { flex: 1; }
.lnt-font-preview { margin-top: 10px; background: #fff; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); padding: 16px 20px; position: relative; }
.lnt-fp-label { position: absolute; top: -9px; left: 12px; background: #fff; padding: 0 6px; font-size: 11px; color: var(--ln-muted); text-transform: uppercase; letter-spacing: .5px; }
.lnt-fp-title { font-size: 24px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--ln-text); }
.lnt-fp-body { font-size: 16px; line-height: 1.8; color: #444; }

/* === Responsive === */
@media (max-width: 968px) {
    .mg { grid-template-columns: 1fr; }
    .ft-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    /* Topbar */
    .topbar .c { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
    .topbar-auth { gap: 6px; }
    .lnt-auth-btn { padding: 4px 10px; font-size: 12px; }
    /* Ticker */
    .ticker { height: 36px; }
    .tk-lb { font-size: 12px; padding: 0 12px; }
    .tk-sc span { font-size: 13px; }
    /* Header */
    .hdr .logo { font-size: 32px; }
    .hdr .ad-banner { font-size: 13px; padding: 10px 16px; margin: 10px 16px 0; }
    /* Nav */
    .nav ul { display: none; flex-direction: column; }
    .nav ul.show { display: flex; }
    .nav-toggle { display: block; }
    .nav .c { display: flex; justify-content: space-between; align-items: center; }
    /* Subscribe CTA + Search */
    .loc-filter { padding: 10px 12px; gap: 8px; flex-direction: column; align-items: center; }
    .lnt-subscribe-cta { flex-direction: column; text-align: center; gap: 8px; }
    .lnt-sub-tagline { font-size: 13px; }
    .lnt-sub-btn { width: 100%; padding: 10px 16px; font-size: 14px; }
    .loc-search-wrap { max-width: 100%; min-width: 100%; }
    /* Slider */
    .sl-img { height: 260px; }
    .sl-t { font-size: 18px; }
    .sl-ov { padding: 20px 16px 14px; }
    .sl-m { font-size: 11px; }
    .sl-arr button { width: 36px; height: 36px; font-size: 18px; }
    /* Info Tips */
    .tips { grid-template-columns: repeat(2, 1fr); }
    .tip .ti { font-size: 18px; }
    .tip .tc { font-size: 13px; }
    /* Live Stream */
    .ls-chat-panel iframe { height: 280px; }
    .ls-hd { font-size: 14px; padding: 8px 12px; }
    .ls-btns { flex-wrap: wrap; padding: 0 12px 12px; }
    .ls-btns button { font-size: 12px; padding: 6px 12px; }
    /* News Cards */
    .nc.nc-h { grid-template-columns: 1fr; }
    .nc.nc-h .nc-img { height: 220px; min-height: 220px; }
    .nc-img { height: 220px; }
    .nc-bd h2, .nc-bd h3 { font-size: 17px; }
    /* Videos */
    .vg { grid-template-columns: 1fr; }
    /* Social Actions */
    .sa { padding: 8px 12px; font-size: 13px; gap: 10px; }
    /* Single content */
    .single-content { padding: 16px; }
    .single-content .entry-title { font-size: 22px; }
    .single-content .entry-body { font-size: 16px; }
    .single-content > .sa { margin: 0 -16px -16px; padding: 10px 16px; }
    .related-posts { padding: 16px; }
    .cs { padding: 16px; }
    .comment-respond { padding: 16px; }
    .cm .children { margin-left: 16px; }
    /* Business Directory */
    .bd-section { padding: 16px; margin: 16px auto; }
    .bd-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .bc { padding: 14px; }
    .bd-filters { gap: 6px; }
    .bd-filters a, .bd-filters span { padding: 5px 12px; font-size: 12px; }
    /* Footer */
    .ft { padding: 30px 0 0; margin-top: 24px; }
    .ft-bar { font-size: 12px; padding: 14px 12px; }
    /* YP Single */
    .yp-header { flex-direction: column; align-items: center; text-align: center; }
    .yp-meta { justify-content: center; }
    .yp-cats { justify-content: center; flex-wrap: wrap; }
    /* Dashboard responsive */
    .lnt-dash-header { padding: 16px 18px 12px; }
    .lnt-dash-content { padding: 16px 18px; }
    .lnt-dash-nav a { padding: 12px 14px; font-size: 13px; }
    .lnt-dash-stats { grid-template-columns: repeat(2, 1fr); }
    .lnt-location-cascade { flex-direction: column; }
    .lnt-location-cascade select { min-width: 100%; }
    .lnt-font-picker-row { flex-direction: column; gap: 0; }
    .lnt-form-actions { flex-direction: column; }
    .lnt-form-actions .lnt-btn { text-align: center; }
    /* Dashboard tables scroll */
    .lnt-dash-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .lnt-manage-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
    /* Topbar */
    .topbar { font-size: 11px; padding: 5px 0; }
    .topbar-user { font-size: 12px; gap: 6px; }
    .lnt-auth-btn { padding: 3px 8px; font-size: 11px; }
    /* Header */
    .hdr { padding: 14px 0 6px; }
    .hdr .logo { font-size: 28px; }
    .hdr .tagline, .hdr .dt { font-size: 12px; }
    .hdr .ad-banner { font-size: 12px; padding: 8px 12px; }
    /* Slider */
    .sl-img { height: 200px; }
    .sl-t { font-size: 16px; }
    .sl-cat { font-size: 10px; padding: 3px 10px; }
    .sl-dots .dot { width: 8px; height: 8px; }
    /* Info Tips */
    .tips { grid-template-columns: 1fr; }
    .tip { padding: 10px 12px; }
    /* Live Stream */
    .ls-chat-panel iframe { height: 240px; }
    /* News */
    .nc-img { height: 200px; }
    .nc.nc-h .nc-img { height: 200px; min-height: 200px; }
    .nc-bd { padding: 12px; }
    .nc-bd h2, .nc-bd h3 { font-size: 16px; }
    /* Section headers */
    .sh h2 { font-size: 18px; white-space: normal; }
    .sh { flex-wrap: wrap; }
    /* Footer */
    .ft-grid { grid-template-columns: 1fr; gap: 20px; }
    .ft h4 { margin-bottom: 8px; }
    .ft-bar { font-size: 11px; line-height: 1.8; }
    /* Related / Business */
    .related-grid { grid-template-columns: 1fr; }
    .bd-grid { grid-template-columns: 1fr; }
    .related-grid .nc-img { height: 200px; }
    /* Single */
    .single-content .entry-title { font-size: 20px; }
    /* Poll */
    .pl { padding: 14px; }
    .pl h3 { font-size: 17px; }
    .pl .pq { font-size: 15px; }
    /* Sidebar */
    .sb-widget .sb-hd { font-size: 14px; padding: 10px 12px; }
    .sb-widget .sb-bd { padding: 10px 12px; }
    /* Dashboard mobile */
    .lnt-dash-header { padding: 14px; }
    .lnt-dash-header h1 { font-size: 20px; }
    .lnt-dash-content { padding: 14px; }
    .lnt-dash-nav { gap: 0; }
    .lnt-dash-nav a { padding: 10px 12px; font-size: 12px; }
    .lnt-dash-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .lnt-stat-num { font-size: 24px; }
    .lnt-auth-form { padding: 24px 20px; }
}

/* === Global Toast Notification === */
.lnt-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 999999;
    background: #fff;
    border-radius: 12px;
    padding: 32px 48px;
    box-shadow: 0 8px 40px rgba(0,0,0,.25);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    min-width: 280px;
    max-width: 420px;
}
.lnt-toast.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.lnt-toast-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.lnt-toast-text { font-size: 18px; font-weight: 700; color: #222; line-height: 1.4; }
.lnt-toast-sub { font-size: 14px; color: #777; margin-top: 6px; }
.lnt-toast.success .lnt-toast-text { color: #2e7d32; }
.lnt-toast.error .lnt-toast-text { color: #c62828; }
.lnt-toast.info .lnt-toast-text { color: #1565c0; }
.lnt-toast-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999998;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}
.lnt-toast-overlay.show { opacity: 1; pointer-events: auto; }

/* === Chief Module Cards === */
.lnt-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 16px;
}
.lnt-module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 14px;
    background: #fff;
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius);
    text-decoration: none;
    color: var(--ln-text);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.lnt-module-card:hover {
    border-color: var(--ln-red);
    box-shadow: 0 4px 16px rgba(183,28,28,.12);
    transform: translateY(-2px);
}
.lnt-module-icon { font-size: 32px; }
@media (max-width: 600px) {
    .lnt-modules-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .lnt-module-card { padding: 14px 10px; font-size: 13px; }
    .lnt-module-icon { font-size: 26px; }
}

/* ==========================================================
   Frontend Management Modules
   ========================================================== */

/* -- Toolbar -- */
.lnt-manage-toolbar {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.lnt-manage-toolbar h2 { margin: 0; flex: 1; font-size: 20px; }
.lnt-btn-back { font-size: 13px; padding: 6px 14px; }

/* -- Form Fields -- */
.lnt-manage-form { max-width: 720px; }
.lnt-manage-form h3 { font-size: 16px; margin: 20px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--ln-border); }
.lnt-manage-field { margin-bottom: 14px; }
.lnt-manage-field > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; color: #444; }
.lnt-manage-field input[type="text"],
.lnt-manage-field input[type="url"],
.lnt-manage-field input[type="email"],
.lnt-manage-field input[type="number"],
.lnt-manage-field input[type="date"],
.lnt-manage-field input[type="datetime-local"],
.lnt-manage-field select,
.lnt-manage-field textarea {
    width: 100%; padding: 8px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius);
    font-size: 14px; background: #fff; transition: border-color .2s;
}
.lnt-manage-field input:focus,
.lnt-manage-field select:focus,
.lnt-manage-field textarea:focus { border-color: var(--ln-red); outline: none; }
.lnt-input {
    padding: 8px 12px; border: 1px solid var(--ln-border); border-radius: var(--ln-radius);
    font-size: 14px; background: #fff;
}
.lnt-input:focus { border-color: var(--ln-red); outline: none; }

/* -- Buttons -- */
.lnt-btn {
    display: inline-block; padding: 8px 18px; border-radius: var(--ln-radius);
    font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
    text-decoration: none; text-align: center; transition: all .2s; line-height: 1.4;
}
.lnt-btn:hover { text-decoration: none; }
.lnt-btn-primary { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }
.lnt-btn-primary:hover { background: var(--ln-red-dark); }
.lnt-btn-secondary { background: #f5f5f5; color: #333; border-color: var(--ln-border); }
.lnt-btn-secondary:hover { background: #e8e8e8; }
.lnt-btn-danger { background: #fff; color: #c62828; border-color: #e57373; }
.lnt-btn-danger:hover { background: #ffebee; }
.lnt-btn-sm { padding: 4px 10px; font-size: 12px; }
.lnt-btn:disabled { opacity: .5; cursor: not-allowed; }

/* -- Tables -- */
.lnt-manage-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--ln-radius); overflow: hidden; }
.lnt-manage-table th { background: #f8f8f8; padding: 10px 12px; text-align: left; font-size: 13px; font-weight: 600; color: #555; border-bottom: 2px solid var(--ln-border); }
.lnt-manage-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; font-size: 14px; vertical-align: middle; }
.lnt-manage-table tr:hover td { background: #fafafa; }
.lnt-manage-table-wrap { margin: 12px 0; overflow-x: auto; }

/* -- Form Actions -- */
.lnt-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lnt-save-status { font-size: 13px; color: var(--ln-green); }

/* -- Image Picker -- */
.lnt-img-picker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lnt-img-preview { width: 100px; height: 70px; border: 1px dashed var(--ln-border); border-radius: var(--ln-radius); overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fafafa; }
.lnt-img-preview img { width: 100%; height: 100%; object-fit: cover; }
.lnt-img-field { display: flex; gap: 8px; align-items: center; }
.lnt-img-field input { flex: 1; }

/* -- Toggle -- */
.lnt-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lnt-toggle input { width: 18px; height: 18px; }
.lnt-toggle-sm { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.lnt-toggle-sm input { width: 16px; height: 16px; }

/* -- Repeater Rows -- */
.lnt-repeater-row {
    display: flex; gap: 8px; align-items: center; background: #fff; padding: 10px 12px;
    border: 1px solid #eee; border-radius: var(--ln-radius); margin-bottom: 8px;
}
.lnt-repeater-row input { flex: 1; padding: 6px 10px; border: 1px solid var(--ln-border); border-radius: 4px; font-size: 13px; }

/* -- Location Module -- */
.lnt-loc-breadcrumb { background: #fff; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); padding: 10px 16px; margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lnt-bc-link { text-decoration: none; color: var(--ln-red); font-weight: 500; font-size: 14px; cursor: pointer; }
.lnt-bc-link:after { content: ' \276F '; color: #999; margin: 0 6px; }
.lnt-bc-link.active { color: var(--ln-text); font-weight: 700; cursor: default; }
.lnt-bc-link.active:after { display: none; }
.lnt-loc-hint { background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--ln-radius); padding: 10px 14px; margin-bottom: 12px; font-size: 13px; color: #795548; }
.lnt-loc-actions-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.lnt-loc-add-row { display: flex; gap: 6px; flex: 1; min-width: 220px; }
.lnt-loc-add-row input { flex: 1; }
.lnt-loc-bulk-form { background: #f8f8f8; border: 1px solid var(--ln-border); border-radius: var(--ln-radius); padding: 14px; margin-bottom: 12px; }
.lnt-loc-stats { margin: 12px 0; padding: 10px 14px; background: #f0f6fc; border: 1px solid #d0e3f7; border-radius: var(--ln-radius); font-size: 13px; color: #50575e; }
.lnt-child-badge { background: var(--ln-red); color: #fff; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; cursor: pointer; }
.lnt-child-badge:hover { opacity: .85; }
.lnt-child-badge.zero { background: #ddd; color: #999; cursor: default; }
.lnt-level-tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 10px; margin-left: 6px; font-weight: 600; }
.lnt-level-tag.lvl-0 { background: #ffeaa7; color: #6c5ce7; }
.lnt-level-tag.lvl-1 { background: #dfe6e9; color: #0984e3; }
.lnt-level-tag.lvl-2 { background: #d5f5e3; color: #27ae60; }
.lnt-level-tag.lvl-3 { background: #fce4ec; color: #c62828; }
.lnt-level-tag.lvl-4 { background: #e8eaf6; color: #283593; }
.lnt-level-tag.lvl-deep { background: #f3e5f5; color: #6a1b9a; }
.lnt-inline-edit { display: flex; gap: 6px; align-items: center; }
.lnt-inline-edit input { width: 200px; }

/* -- Poll Options -- */
.lnt-poll-option-row { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.lnt-poll-option-row input { padding: 6px 10px; border: 1px solid var(--ln-border); border-radius: 4px; font-size: 13px; }

/* -- Comment Moderation -- */
.lnt-comment-filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.lnt-btn-filter { background: #f5f5f5; color: #555; border: 1px solid var(--ln-border); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lnt-btn-filter.active { background: var(--ln-red); color: #fff; border-color: var(--ln-red); }
.lnt-btn-filter:hover { opacity: .85; }
.lnt-comment-card {
    background: #fff; border: 1px solid #eee; border-radius: var(--ln-radius); padding: 14px;
    margin-bottom: 10px; transition: border-color .2s;
}
.lnt-comment-card:hover { border-color: var(--ln-border); }
.lnt-comment-header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.lnt-comment-avatar { width: 36px; height: 36px; border-radius: 50%; }
.lnt-comment-body { font-size: 14px; line-height: 1.6; color: #333; margin-bottom: 10px; padding: 8px 12px; background: #f9f9f9; border-radius: 6px; }
.lnt-comment-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.lnt-comment-pagination { display: flex; gap: 6px; margin-top: 12px; justify-content: center; flex-wrap: wrap; }

/* -- Status Badges (reuse from dashboard) -- */
.lnt-status { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 700; }
.lnt-status-published { background: #e8f5e9; color: #2e7d32; }
.lnt-status-draft { background: #f3f3f3; color: #888; }

/* -- Responsive for manage modules -- */
@media (max-width: 768px) {
    .lnt-hide-mobile { display: none !important; }
    .lnt-manage-toolbar { gap: 8px; }
    .lnt-manage-toolbar h2 { font-size: 17px; }
    .lnt-repeater-row { flex-wrap: wrap; }
    .lnt-repeater-row input[style*="width:160px"] { width: 100% !important; }
    .lnt-loc-actions-bar { flex-direction: column; align-items: stretch; }
    .lnt-loc-add-row { min-width: 100%; }
    .lnt-comment-filters { gap: 6px; }
    .lnt-btn-filter { padding: 5px 12px; font-size: 12px; }
    .lnt-poll-option-row { flex-wrap: wrap; }
    .lnt-img-picker { flex-direction: column; align-items: flex-start; }
    .lnt-manage-table th, .lnt-manage-table td { padding: 8px 8px; font-size: 13px; }
}
@media (max-width: 480px) {
    .lnt-manage-toolbar { flex-direction: column; align-items: flex-start; }
    .lnt-manage-toolbar .lnt-cpt-add { width: 100%; }
    .lnt-comment-card { padding: 10px; }
    .lnt-form-actions { flex-direction: column; }
    .lnt-form-actions .lnt-btn { width: 100%; text-align: center; }
}
