/* ======================= TOP BAR & HEADER ======================= */
.top-bar{background:var(--topbar-bg);color:var(--topbar-fg);font-size:16px;min-height:36px;display:flex;align-items:center}
.top-bar a{color:var(--topbar-fg);text-decoration:none}
.top-bar .divider{opacity:.5;margin:0 .4rem}
.top-bar .left{white-space:nowrap;flex-wrap:nowrap}
@media (max-width:575.98px){
  .top-bar{font-size:14px}
  .top-bar .container>.d-flex{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:.5rem}
  .top-bar .left,.top-bar .right{white-space:nowrap}
  .top-bar i{font-size:1.1rem}
  .top-bar .right a{font-weight:600}
}

.site-header{background:#fff}
.site-header .logo a{display:inline-block;max-width:100%}
.site-header .logo img{height:auto;width:auto;max-height:96px;max-width:100%}
.site-header .left-meta{font-size:16px;color:#666;white-space:nowrap}
.site-header .right-stack{flex-wrap:nowrap;white-space:nowrap}
.site-header .right-stack .social-icons a{display:inline-flex}
.site-header .right-stack .epaper-btn{border:1px solid rgba(0,0,0,.12)}
@media (max-width:991.98px){
  .site-header .right-stack{align-items:center;justify-content:center!important;gap:.75rem}
  .site-header .logo{order:2;text-align:center}
  .site-header .left-meta{order:1}
  .site-header .right-stack{order:3}
  .site-header .logo img{max-height:92px;max-width:90vw}
}
@media (max-width:575.98px){
  .site-header .logo img{max-height:84px;max-width:85vw}
  .site-header .logo{padding:4px 0}
}

.social-icons a{font-size:18px;margin-left:.5rem;text-decoration:none;opacity:.9}
.social-icons a:hover{opacity:1}
.social-facebook{color:#1877F2}.social-twitter{color:#1DA1F2}
.social-instagram{color:#C13584}.social-youtube{color:#FF0000}

.epaper-btn{white-space:nowrap;border:1px solid rgba(0,0,0,.1)}
.epaper-btn i{margin-right:.4rem}

.search-trigger{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.1)}
.search-trigger:hover{background:#f7f7f7}
@media (max-width:575.98px){.search-trigger{width:36px;height:36px}}

/* ======================= NAVBAR ======================= */
.navbar-deepred{background:linear-gradient(90deg,#8B0000 0%,#B31217 100%);box-shadow:0 1px 0 rgba(0,0,0,.06);min-height:48px}
.navbar-deepred .nav-link,.navbar-deepred .navbar-brand{color:#fff}
.navbar-deepred .nav-link:hover,.navbar-deepred .nav-link:focus{color:#ffe7e7}
.navbar-deepred .navbar-toggler{border-color:rgba(255,255,255,.5)}
.navbar-deepred .navbar-toggler-icon{filter:invert(1) brightness(2)}
.navbar-deepred .nav-link{font-size:1.125rem;font-weight:700;line-height:1.3;padding:.75rem 1rem}
@media (min-width:992px){.navbar-deepred .nav-link{font-size:1.1875rem;padding:.8rem 1.05rem}}
.navbar-deepred .nav-link.active,.navbar-deepred .nav-link:focus-visible{background:rgba(255,255,255,.08);border-radius:.375rem}

/* ======================= UTILITIES ======================= */
.x-gap-8{gap:.5rem}.x-gap-10{gap:.625rem}
h3.mb-2.fw-bold.lh-sm{font-size:36px;line-height:35px!important}
p.text-muted.mb-0{font-size:19px;line-height:25px;color:#000}
h6.mb-1.fw-semibold{font-size:18px}
h6.mb-0.fw-semibold{font-size:20px}

/* ======================= LIST PILL (DEDUPED) ======================= */
.sel-pill{display:block;height:100%;border:2px solid #1ea7ff;border-radius:9999px;background:#fff;padding:2px 4px;text-decoration:none}
.sel-pill:hover{background:#f7fbff}
.sel-thumb{width:64px;height:64px;border-radius:50%;overflow:hidden;flex:0 0 64px}
.sel-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.sel-title{font-weight:800;font-size:16px;line-height:1.3;margin:0 0 4px;color:#111827}
.sel-excerpt{font-size:14px;line-height:1.35;color:#374151;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sel-meta{font-size:12px;color:#6b7280;margin-top:4px}
.sel-badge{font-weight:700;color:#0b7fd1}
@media (max-width:576px){
  .row.g-3{--bs-gutter-x:.5rem;--bs-gutter-y:.5rem}
  .sel-thumb{width:48px;height:48px;flex:0 0 48px}
  .sel-title{font-size:14px;line-height:1.2}
  .sel-excerpt{font-size:12px}
  .sel-pill{border:1px solid #1ea7ff;padding:2px 3px}
}

/* ======================= PHOTO STORIES (DEDUPED) ======================= */
.photo-stories{border:1px solid #d9d9d9;border-radius:16px;padding:16px}
.photo-stories .gradient-title{font-weight:900;background:linear-gradient(90deg,#ff4d4d,#ff2bd7,#3b82f6,#22d3ee,#22c55e,#f59e0b);-webkit-background-clip:text;background-clip:text;color:transparent;position:relative;display:inline-block;font-size:clamp(1.1rem,1vw + 1rem,1.6rem)}
.photo-stories .gradient-title::after{content:"";display:block;height:4px;border-radius:999px;margin-top:6px;background:linear-gradient(90deg,#ff4d4d,#ff2bd7,#3b82f6,#22d3ee,#22c55e,#f59e0b)}
.photo-stories .gallery-card{display:block;height:100%}
.photo-stories .gallery-card .card-inner{position:relative;overflow:hidden;border-radius:16px;background:#0c0e13;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.photo-stories .gallery-card .card-inner::before{content:"";display:block;padding-top:56.25%}
.photo-stories .gallery-card .card-inner>img,
.photo-stories .gallery-card .card-inner>.overlay{position:absolute;inset:0}
.photo-stories .gallery-card img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1);transition:transform .5s ease}
@media (hover:hover){.photo-stories .gallery-card:hover img{transform:scale(1.06)}}
.photo-stories .overlay{background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.85) 100%);pointer-events:none}
.photo-stories .title{position:absolute;left:16px;right:16px;bottom:14px;color:#fff;font-weight:800;line-height:1.3;text-shadow:0 2px 10px rgba(0,0,0,.6);font-size:clamp(1rem,1.2vw + .7rem,1.5rem)}
.photo-stories .small-title{font-weight:700;font-size:clamp(.9rem,.6vw + .6rem,1rem);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.photo-stories .gborder{border-radius:18px;padding:2px;background:linear-gradient(135deg,#ff4d4d,#ff2bd7,#3b82f6,#22d3ee,#22c55e,#f59e0b);background-size:300% 300%;animation:rainbow 6s ease infinite;box-shadow:0 8px 24px rgba(34,211,238,.15)}
.photo-stories .gborder .card-inner{border-radius:16px}
.photo-stories .gborder:hover{box-shadow:0 10px 30px rgba(255,45,85,.25)}
@keyframes rainbow{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@media (prefers-reduced-motion:reduce){.photo-stories .gborder{animation:none}.photo-stories .gallery-card img{transition:none}}

/* ======================= VIDEO CARD ======================= */
.video-card{position:relative;overflow:hidden;border-radius:12px}
.video-thumb{height:190px;object-fit:cover;display:block}
.play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.play-badge{width:58px;height:58px;border-radius:50%;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px);transition:background .2s ease}
.video-card:hover .play-badge{background:rgba(0,0,0,.75)}
.play-badge svg{width:22px;height:22px;fill:#fff;margin-left:2px}

/* ======================= COMMON CARDS / TITLES (DEDUPED) ======================= */
.card:hover{transform:translateY(-3px);transition:transform .2s ease,box-shadow .2s ease}
.card-img-top{object-fit:cover;height:180px}
.news-title{font-size:1.05rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-excerpt{color:#475569;font-size:.95rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.meta{font-size:.85rem;color:#6b7280}

/* ======================= SEARCH PAGE (MIN) ======================= */
.search-header{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.search-badge{font-size:.9rem;padding:.35rem .6rem;border-radius:999px;background:#eef2ff;color:#3730a3}
.placeholder{height:180px;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);display:flex;align-items:center;justify-content:center;color:#64748b;font-weight:600}
.result-meta{font-size:.85rem;color:#6b7280}

/* ======================= SARADESH (sd-*) ======================= */
:root{--sd-accent:#f97316;--sd-border:#e5e7eb;--sd-muted:#6b7280;--sd-bg:#fafafa}
.sd-wrap{border:1px solid var(--sd-border);border-radius:16px;padding:16px;background:#fff}
.sd-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.sd-title{display:flex;gap:10px;align-items:center;font-weight:800;font-size:22px}
.sd-accent-bar{width:6px;height:22px;background:var(--sd-accent);border-radius:3px}
.sd-more{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #111;border-radius:999px;text-decoration:none;color:#111;font-weight:600}
.sd-more:hover{background:#111;color:#fff}
.sd-card{border:1px solid #eee;border-radius:14px;overflow:hidden;height:100%;background:#fff;transition:transform .15s ease,box-shadow .15s ease}
.sd-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,0,0,.06)}
.sd-thumb{position:relative;width:100%;aspect-ratio:16/9;background:#f4f4f5}
.sd-thumb>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sd-chip{position:absolute;left:10px;top:10px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;padding:3px 8px;border-radius:999px}
.sd-body{padding:10px}
.sd-title-sm{font-size:15px;font-weight:700;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sd-time{font-size:12px;color:var(--sd-muted);margin-top:6px}
.sd-sidebar{border:1px solid var(--sd-border);border-radius:16px;padding:14px;background:#fff;position:sticky;top:16px}
.sd-side-title{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px;margin-bottom:12px}
.form-label{font-size:12px;color:var(--sd-muted);margin-bottom:6px}
.form-select{height:42px;border-radius:10px}
.btn-follow{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;border:0;border-radius:10px;background:var(--sd-accent);color:#fff;font-weight:700;width:100%}
.btn-follow:hover{opacity:.92}
.sd-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.sd-chip-filter{background:var(--sd-bg);border:1px solid var(--sd-border);padding:6px 10px;border-radius:999px;font-size:12px}
.sd-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.sd-reset{color:#ef4444;text-decoration:none;font-size:13px}
.sd-reset:hover{text-decoration:underline}

/* ======================= ZOOM / VIEWER (DEDUPED) ======================= */
.zoom-frame{--logo-size:26px;position:relative;border:2px solid #0f766e;border-radius:14px;background:#fff;padding:16px}
.zoom-frame .zoom-logo{position:absolute;left:14px;top:-14px;display:inline-flex;align-items:center;gap:8px;background:#fff;padding:2px 8px;border-radius:8px;font-weight:800;color:#0f766e;line-height:1;box-shadow:0 2px 6px rgba(0,0,0,.06)}
.zoom-frame .zoom-logo img{display:block;height:var(--logo-size);width:auto}
.zoom-frame .zoom-content{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:6px}
.zoom-frame canvas{width:100%;height:auto;display:block}

.ep-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px 14px;margin-bottom:12px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.ep-title{font-weight:800;font-size:20px}.ep-sub{color:#6b7280;font-size:13px}
.ep-center{min-width:0}
.ep-pages-scroll{display:flex;gap:.5rem;align-items:center;overflow:auto;scroll-snap-type:x mandatory;padding:6px 8px;border:1px solid #e5e7eb;border-radius:999px;background:#f8fafc;width:100%;min-width:0}
.ep-pages-scroll::-webkit-scrollbar{height:6px}
.ep-pages-scroll::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:999px}
.ep-pages-scroll{scrollbar-color:#d1d5db transparent;scrollbar-width:thin}
.ep-page-pill{scroll-snap-align:center;display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:999px;border:1px solid #e5e7eb;background:#fff;font-weight:600;font-size:.9rem;color:#374151;text-decoration:none;line-height:1;transition:all .12s;white-space:nowrap}
.ep-page-pill:hover{border-color:#c7d2fe;box-shadow:inset 0 0 0 1px #c7d2fe}
.ep-page-pill.active{background:#0d6efd;color:#fff;border-color:#0d6efd}
@media (max-width:991.98px){.ep-title{font-size:18px}}

.thumbs-wrap{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:10px;position:sticky;top:12px}
.thumbs-grid{display:grid;grid-template-columns:1fr;gap:.5rem;max-height:calc(100vh - 170px);overflow:auto;padding-right:.25rem}
.thumb{position:relative;border:1px solid #dee2e6;border-radius:.5rem;overflow:hidden;background:#fff;cursor:pointer;transition:transform .12s}
.thumb:hover{transform:translateY(-2px)}
.thumb img{width:100%;display:block;height:auto}
.thumb .badge{position:absolute;top:.25rem;left:.25rem;background:rgba(0,0,0,.65);color:#fff;font-size:.75rem}
.thumb.active{outline:2px solid #0d6efd;border-radius:6px}
@media (max-width:991.98px){
  .thumbs-grid{grid-template-columns:repeat(1,110px);grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;max-height:unset}
  .thumb img{height:150px;object-fit:cover}
}

#viewerCard{background:#111;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
#viewerWrap{position:relative}
#pageImg{display:block;max-width:100%;height:auto;margin:0 auto;user-select:none;-webkit-user-drag:none}
.hotspot{position:absolute;border:2px solid transparent;background:transparent;border-radius:.35rem;cursor:pointer;transition:box-shadow .12s,background .12s,border-color .12s;z-index:3;pointer-events:auto}
@media (hover:hover){.hotspot:hover{border-color:rgba(0,190,255,.95);background:rgba(0,190,255,.18);box-shadow:0 0 0 3px rgba(13,110,253,.25) inset}}
.hotspot.active{border-color:rgba(0,190,255,.95);background:rgba(0,190,255,.18);box-shadow:0 0 0 3px rgba(13,110,253,.25) inset}
.hotspot:focus-visible{outline:2px solid rgba(0,190,255,.9)}
.zoom-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:12px;position:sticky;top:12px}
.zoom-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.zoom-meta{color:#6b7280;font-size:12px}
.zoom-wrap{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:6px}
#zoomCanvas,#zoomCanvasM{width:100%;height:auto;display:block}
.modal-zoom .modal-dialog{width:auto;max-width:min(900px,calc(100vw - 2rem));margin:1rem auto}
.modal-zoom .modal-content{border-radius:14px}
.modal-zoom .modal-body{padding:12px}

/* ======================= CATEGORY PAGE ======================= */
.page-head{background:linear-gradient(120deg,#f8fbff,#eef4ff);border:1px solid #eaf0ff;border-radius:16px;padding:16px 18px}
.page-head .title{font-weight:800;margin:0}
.breadcrumb{--bs-breadcrumb-divider:'›'}
.card-news{border:1px solid #eef2f7;border-radius:16px;overflow:hidden;height:100%;transition:transform .18s ease,box-shadow .18s ease;background:#fff}
.card-news:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.card-news .thumb{width:100%;height:180px;object-fit:cover}
.card-news .meta{color:#6b7280;font-size:.85rem}
.sidebar-sticky{position:sticky;top:90px}
.latest-list .item{display:flex;gap:.6rem;align-items:flex-start;padding:.55rem .6rem;border-radius:10px}
.latest-list .item:hover{background:#f8fafc}
.latest-thumb{width:64px;height:48px;object-fit:cover;border-radius:8px}
.section-title{display:flex;align-items:center;gap:.5rem;font-weight:800;margin:0}
.section-title:before{content:"";width:6px;height:22px;background:#0d6efd;border-radius:3px}
.divider-soft{height:1px;background:linear-gradient(90deg,transparent,#e5e7eb,transparent);margin:1rem 0}

/* ======================= NEWS-SCOPE (DEDUPED) ======================= */
.news-scope{--gap:12px;--title-lines:2;--title2-lines:2;--accent:#0ea5e9;--ink:#0f172a;--text:#111;--muted:#6b7280;--radius:14px}
.news-scope a,.news-scope a:link,.news-scope a:visited{color:var(--text)!important;text-decoration:none!important}
.news-scope a:hover,.news-scope a:focus{color:var(--text)!important;text-decoration:none!important;outline:none}
.news-scope .sec-wrap{border:1px solid #e5e7eb;border-radius:14px;padding:16px;background:#fff}
.news-scope .sec-head{display:flex;align-items:center;justify-content:space-between;margin:2px 0 8px 0}
.news-scope .sec-title a,.news-scope .sec-title span{font-size:22px;font-weight:800;line-height:1.15;color:var(--ink)}
.news-scope .sec-more{width:40px;height:40px;border:1px solid var(--ink);border-radius:999px;display:flex;align-items:center;justify-content:center;color:#cacbcb;background:var(--ink)}
.news-scope .cat-label{position:relative;display:inline-block;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:var(--ink);padding-left:10px;line-height:1;margin:0 0 6px 0}
.news-scope .cat-label:before{content:"";position:absolute;left:0;top:.15em;bottom:.15em;width:4px;background:var(--accent);border-radius:2px}

.news-scope .lead-card{display:block;border:0;border-radius:12px;overflow:hidden}
.news-scope .lead-media{position:relative;width:100%;aspect-ratio:16/9;background:#f3f4f6;border-radius:12px}
.news-scope .lead-media::before{content:"";display:block;padding-top:56.25%}
.news-scope .lead-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.news-scope .lead-body{padding:8px 2px}
.news-scope .lead-title{font-weight:800;line-height:1.3;margin:4px 0 2px 0;display:-webkit-box;-webkit-line-clamp:var(--title-lines);-webkit-box-orient:vertical;overflow:hidden}
.news-scope .lead-ex{color:var(--muted);margin:6px 0 0 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-scope .meta{color:var(--muted);font-size:13px;margin-top:2px}

.news-scope .h-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #eee}
.news-scope .h-item:last-child{border-bottom:none}
.news-scope .h-thumb{width:96px;height:72px;flex:0 0 96px;border-radius:10px;object-fit:cover;background:#f3f4f6;display:block}
.news-scope .h-title{font-weight:700;line-height:1.35;margin-top:2px;display:-webkit-box;-webkit-line-clamp:var(--title-lines);-webkit-box-orient:vertical;overflow:hidden}

.news-scope .title-list{list-style:none;margin:0;padding:0}
.news-scope .title-list li{border-bottom:1px solid #eee}
.news-scope .title-list li:last-child{border-bottom:none}
.news-scope .title-list a{display:flex;gap:8px;align-items:flex-start;padding:10px 0}
.news-scope .chev{font-weight:900;margin-right:2px}
.news-scope .t2{font-weight:700;font-size:16px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:var(--title2-lines);-webkit-box-orient:vertical;overflow:hidden}
.news-scope .t2 .t2-cat{font-weight:700;font-size:12px;color:var(--ink)}
.news-scope .latest-card img{border-radius:10px;display:block}
@media (max-width:576px){
  .news-scope .h-item{gap:8px}
  .news-scope .h-thumb{width:84px;height:64px;flex-basis:84px}
  .news-scope .t2{font-size:15px}
  .news-scope .lead-media::before{padding-top:62%}
}

/* ======================= CATEGORY GRID WIDGETS ======================= */
.cat-wrap{border:1px solid #e5e7eb;border-radius:12px;padding:14px;height:100%}
.cat-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.cat-title{font-size:20px;font-weight:800}
.cat-more{font-size:14px;text-decoration:none;color:#111}
.hero-img{height:200px;object-fit:cover;border-radius:10px}
.hero-title{font-size:16px;font-weight:700;line-height:1.4;margin-top:6px}
.list-news{font-size:14px;line-height:1.5;margin-top:6px}
.list-news a{display:flex;align-items:flex-start;gap:8px;text-decoration:none;color:#111;margin-bottom:10px}
.list-news a:hover{color:#d00}
.list-news img{width:70px;height:55px;object-fit:cover;border-radius:6px;flex-shrink:0}
.list-news .lt{flex:1;line-height:1.4;font-size:14px;font-weight:500}

/* ======================= FEATURE + SIDE LISTS + PHOTOS ======================= */
:root{--thumb-w:160px;--gap:12px}
.object-fit-cover{object-fit:cover}
.line-2{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.feature-hero{position:relative;overflow:hidden;border-radius:.4rem;border:1px solid #eee}
.feature-hero .headline-band{position:absolute;left:0;right:0;bottom:.9rem;display:flex;justify-content:center;padding:0 .5rem}
.feature-hero .headline-band .band{background:#c8131a;color:#fff;font-weight:800;padding:.5rem 1rem;border-radius:.3rem;max-width:96%;text-align:center;font-size:1.05rem;line-height:1.35}

.media-sm{display:flex;gap:var(--gap);padding:.7rem 0;border-bottom:1px dashed #e5e5e5}
.media-sm:last-child{border-bottom:0}
.media-sm .thumb{width:var(--thumb-w);flex:0 0 var(--thumb-w)}
.media-sm .thumb .ratio{width:100%}
.media-sm .thumb img{width:100%;height:100%;object-fit:cover;border-radius:.35rem}
.media-sm .title{font-weight:700;line-height:1.35;color:#111;text-decoration:none;display:block;font-size:1.02rem}
.media-sm .title:hover{text-decoration:underline}

.photo-card{border:1px solid #eee;border-radius:.4rem;background:#fff;overflow:hidden;height:100%;display:flex;flex-direction:column}
.photo-card .pc-img,.photo-card .pc-img .ratio{width:100%}
.photo-card .pc-img img{width:100%;height:100%;object-fit:cover}
.photo-card .pc-title{font-weight:700;color:#111;padding:.65rem .8rem;line-height:1.35;display:block;text-decoration:none}
.photo-card .pc-title:hover{text-decoration:underline}
.photo-card .pc-title.line-2{min-height:calc(1.35em*2 + .6rem)}

.ad-slot{min-height:250px;border:1px solid #eee;border-radius:.4rem;background:#f8f9fa;display:flex;align-items:center;justify-content:center}
.ad-tall{min-height:600px}
@media (min-width:992px){.ad-sticky{position:sticky;top:72px}}
@media (max-width:1199.98px){:root{--thumb-w:148px}}
@media (max-width:991.98px){:root{--thumb-w:140px}}
@media (max-width:575.98px){
  :root{--thumb-w:120px}
  .media-sm{padding:.55rem 0}
  .feature-hero .headline-band .band{font-size:.98rem}
}

/* ======================= L6 / OPINION / EDITORIAL ======================= */
.l6-title{display:flex;gap:10px;align-items:center;font-weight:800;font-size:18px;margin-bottom:10px}
.l6-title .bar{width:6px;height:18px;background:#bebebe;border-radius:3px}
.op-item{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #6d6d6d;border-radius:10px;margin-bottom:10px;background:#fff7f7;transition:transform .12s,box-shadow .12s}
.op-item:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.06)}
.op-avatar{width:64px;height:64px;border-radius:999px;object-fit:cover;flex-shrink:0;border:2px solid #fff;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.op-tt{font-size:15px;font-weight:700;line-height:1.35;margin:0 0 4px}
.op-ex{font-size:13px;color:#6b7280;margin:0}

.ed-wrap{border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#fff7ed 0%,#cae2f8 100%);border:1px solid #d8d8d8}
.ed-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border-bottom:1px dashed #d4d4d4}
.ed-body{padding:12px}
.ed-hero{display:block}
.ed-hero img{width:100%;height:232px;object-fit:cover;border-radius:10px}
.ed-hero h3{font-size:16px;font-weight:700;margin:8px 0 6px}
.ed-hero p{font-size:13px;color:#6b7280;margin:0 0 6px}
.ed-list-item{display:flex;gap:8px;align-items:flex-start;padding:8px;border:1px solid #fee2e2;background:#fff;border-radius:8px;margin-bottom:8px;text-decoration:none;color:#111}
.ed-list-item img{width:80px;height:60px;object-fit:cover;border-radius:6px;flex-shrink:0}
.ed-list-item h4{font-size:14px;font-weight:600;margin:0 0 4px}
.ed-list-item p{font-size:12px;color:#6b7280;margin:0}
.more-link{font-size:13px;font-weight:700;color:#9a3412;text-decoration:none}

/* ======================= NEWS BLOCK (LEAD + MINI) ======================= */
.news-block{border-top:2px solid #dc2626;padding-top:10px;margin-bottom:20px}
.news-block .sec-head{display:flex;align-items:center;margin-bottom:12px}
.news-block .sec-head h2{font-weight:900;font-size:20px;margin:0;color:#111;display:flex;align-items:center;gap:8px}
.news-block .sec-head h2::before{content:"\f009";font-family:"Font Awesome 6 Free";font-weight:900;color:#dc2626}
.news-block .lead-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eee}
.news-block .lead-thumb{flex:0 0 45%;border-radius:8px;overflow:hidden}
.news-block .lead-thumb img{width:100%;height:100%;object-fit:cover}
.news-block .lead-body{flex:1}
.news-block .lead-title{font-weight:800;font-size:17px;margin:0 0 6px;line-height:1.35}
.news-block .lead-title a{color:#111;text-decoration:none}
.news-block .lead-title a:hover{text-decoration:underline}
.news-block .lead-ex{font-size:14px;color:#555;line-height:1.4}
.news-block .mini{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #eee}
.news-block .mini:last-child{border-bottom:0}
.news-block .mini .thumb{flex:0 0 90px;border-radius:6px;overflow:hidden}
.news-block .mini .thumb img{width:100%;height:100%;object-fit:cover}
.news-block .mini-body{flex:1}
.news-block .mini-body .title{font-weight:700;font-size:15px;margin:0 0 4px;line-height:1.35}
.news-block .mini-body .title a{color:#111;text-decoration:none}
.news-block .mini-body .title a:hover{text-decoration:underline}
.news-block .mini-body .ex{font-size:13px;color:#666;line-height:1.3}
@media(max-width:767.98px){
  .news-block .lead-item{flex-direction:column}
  .news-block .lead-thumb{flex:unset;width:100%;height:200px}
  .news-block .mini{flex-direction:column}
  .news-block .mini .thumb{width:100%;height:180px}
}

/* ======================= L8 (GRID + SIDEBAR) ======================= */
.l8-wrap{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:14px}
.l8-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.l8-title{display:flex;gap:10px;align-items:center;font-weight:800;font-size:20px}
.l8-title .bar{width:6px;height:20px;background:#f97316;border-radius:3px}
.l8-card{border:1px solid #eee;border-radius:12px;overflow:hidden;height:100%;transition:transform .15s,box-shadow .15s}
.l8-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.06)}
.l8-thumb{position:relative;width:100%;aspect-ratio:16/9;background:#f5f5f5}
.l8-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.l8-body{padding:10px}
.l8-title-sm{font-size:15px;font-weight:700;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.l8-time{font-size:12px;color:#6b7280;margin-top:6px}
.l8-sidebar{border:1px solid #e5e7eb;border-radius:14px;padding:14px;position:sticky;top:16px;background:#fff}
.l8-label{font-size:12px;color:#6b7280;margin-bottom:6px}
.btn-go{height:42px;border-radius:10px;background:#f97316;color:#fff;border:0;font-weight:700;width:100%}
.btn-go:hover{opacity:.92}

/* ======================= DROPDOWN (MULTI-LEVEL) ======================= */
.dropdown-submenu{position:relative}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-.25rem}
@media (max-width:991.98px){.dropdown-submenu>.dropdown-menu{left:0;margin-left:0}}

/* ======================= ADMIN UI (COMPACT) ======================= */
:root{--admin-header-h:56px}
.ui-wrap{max-width:1200px;margin:0 auto}
.ui-toolbar{position:sticky;top:var(--admin-header-h);z-index:1030;background:#fff;border-bottom:1px solid rgba(0,0,0,.06)}
.ui-toolbar .form-control{height:38px}
.ui-tip{font-size:12.5px;color:#475569;background:#f8fafc;border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:.5rem .75rem}
.ui-stats{font-size:12.5px;color:#6b7280}
.ui-actions .btn{padding:.3rem .55rem}
.ui-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media (max-width:991.98px){.ui-grid{grid-template-columns:1fr}}
.ui-card{border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:12px;background:#fff}
.ui-card.changed{box-shadow:0 4px 18px rgba(0,0,0,.06);border-color:#facc15;background:#fffbeb}
.ui-key{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12.5px}
.ui-en{font-size:.92rem;color:#475569;background:#f8fafc;border:1px solid rgba(0,0,0,.06);border-radius:10px;padding:.5rem .6rem;line-height:1.35;margin-top:8px;max-height:4.2em;overflow:hidden}
.ui-ovr-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 6px}
.ui-pill{display:inline-block;font-size:12px;padding:.2rem .5rem;border-radius:999px;border:1px solid}
.pill-default{color:#475569;border-color:#cbd5e1;background:#f8fafc}
.pill-custom{color:#065f46;border-color:#86efac;background:#ecfdf5}
.ui-rightmini{display:flex;align-items:center;gap:10px;font-size:12px;color:#64748b}
.ui-rightmini .btn-reset{border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:.2rem .5rem;line-height:1}
.ui-override{resize:vertical;min-height:2.6em;height:2.6em;max-height:5.4em;line-height:1.35;font-size:.94rem;padding:.4rem .55rem}
.ui-head-actions{display:flex;align-items:center;gap:8px}

/* ======================= POLL ======================= */
.poll-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.poll-head{padding:10px 12px;border-bottom:1px solid #f1f5f9;display:flex;gap:10px;align-items:center}
.poll-body{padding:12px}
.poll-title{font-weight:800;margin:0}
.poll-img{width:100%;max-height:250px;object-fit:cover;border-radius:10px;margin-bottom:10px}
.poll-opt{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #eee;border-radius:10px;margin-bottom:8px}
.poll-opt input{margin-top:2px}
.poll-btn{display:inline-flex;align-items:center;gap:6px;height:40px;border:0;border-radius:8px;background:#f97316;color:#fff;font-weight:700;padding:0 14px}
.poll-meta{font-size:12px;color:#64748b;margin-top:6px}
.bar{height:10px;background:#fecaca;border-radius:999px;overflow:hidden}
.bar>span{display:block;height:100%;background:#ef4444}

/* ======================= EPAPER THUMBS / FRAME ======================= */
.thumb-img{width:72px;height:96px;object-fit:cover;border:1px solid #e7e7e7;border-radius:4px}
.thumb-item{display:flex;align-items:center;gap:10px;padding:8px;border-radius:6px;border:1px solid #eee;background:#fff;margin-bottom:8px;cursor:pointer;transition:transform .08s ease,box-shadow .12s ease}
.thumb-item.active{border-color:#0d6efd;box-shadow:0 0 0 3px rgba(13,110,253,.12)}
.thumb-item:hover{transform:translateY(-1px)}
.paper-frame{border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.paper-header{border-bottom:1px solid #f1f3f5;padding:10px 14px;text-align:center}
.brand-logo{max-height:42px}
.brand-fallback{font-weight:700;font-size:20px}
.pub-date{font-size:14px;color:#6c757d}
.viewer-wrap{position:relative}
.viewer-wrap img{width:100%;height:auto;display:block;border-radius:8px}
.overlay{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:8px;pointer-events:none}
#zoomPanel{border:1px solid #e5e7eb;border-radius:8px;background:#fff;padding:8px}
#zoomPanel img{max-width:100%;height:auto;display:block;border-radius:6px}
#zoomModal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.85);z-index:10000}
#zoomInner{position:absolute;inset:5%;overflow:auto;background:#111;border-radius:8px;padding:8px}
#zoomInner img{width:100%;height:auto;display:block}
#zoomClose{position:absolute;top:8px;right:12px;font-size:28px;color:#fff;cursor:pointer}

/* ======================= SMALL TWEAK ======================= */
h3.mb-3.cat.title{padding:9px 9px 1px;border-bottom:solid 2px red}
