/* IVWORK News — Board & Landing Styles */

/* === Landing === */
.ivwork-news-landing{max-width:1200px;margin:0 auto;padding:20px}
.news-landing-head{text-align:center;padding:30px 0 20px}
.news-landing-head h1{font-size:clamp(28px,4vw,42px);margin:0 0 8px}
.news-landing-head p{color:#99a5ba;font-size:15px;margin:0}
.news-landing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:20px}
.news-landing-board{padding:20px;border:1px solid #242a39;border-radius:13px;background:#10141e}
.news-landing-board-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.news-landing-board-head h2{font-size:18px;margin:0}
.news-landing-board-head h2 a{color:#e5d9ff;text-decoration:none}
.news-live-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:99px;background:#301a22;color:#ff8794;font-size:11px;font-weight:700}
.news-live-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#ff5267;box-shadow:0 0 8px #ff5267}
.news-landing-list{list-style:none;padding:0;margin:0 0 12px}
.news-landing-list li{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid #1a1f2e}
.news-landing-list li:last-child{border-bottom:none}
.news-landing-thumb{width:80px;height:54px;object-fit:cover;border-radius:6px;flex:none}
.news-landing-list a{color:#c3cada;text-decoration:none;font-size:14px;line-height:1.4;display:block}
.news-landing-list a:hover{color:#e5d9ff}
.news-landing-list small{color:#6b7689;font-size:11px;display:block;margin-top:3px}
.news-landing-more{display:inline-block;color:#c4b5fd;font-size:13px;font-weight:600;text-decoration:none;margin-top:4px}
.news-landing-more:hover{text-decoration:underline}
.news-empty{color:#6b7689;font-size:14px;padding:20px 0;text-align:center}

/* === Board Page === */
.ivwork-news-board{max-width:1200px;margin:0 auto;padding:20px}
.news-board-head{padding:20px 0;border-bottom:1px solid #242a39;margin-bottom:24px}
.news-board-head h1{font-size:clamp(24px,3.5vw,34px);margin:0 0 12px}
.news-board-tabs{display:flex;gap:8px;flex-wrap:wrap}
.news-board-tabs a{padding:6px 14px;border-radius:99px;background:#1a1f2e;color:#99a5ba;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s}
.news-board-tabs a:hover{background:#242a39;color:#c3cada}
.news-board-tabs a.is-active{background:#3b2a5e;color:#e5d9ff}

/* Zone A: Live */
.news-zone-a{margin-bottom:28px}
.news-zone-title{font-size:18px;font-weight:700;margin:0 0 14px;color:#e5d9ff}
.news-live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.news-live-card{border:1px solid #242a39;border-radius:12px;background:#10141e;overflow:hidden}
.news-live-embed{position:relative;padding-bottom:56.25%;height:0}
.news-live-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.news-live-info{padding:12px 14px}
.news-live-info strong{display:block;font-size:15px;margin-bottom:4px}
.news-live-status{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:99px;background:#301a22;color:#ff8794;font-size:11px;font-weight:700;margin-bottom:6px}
.news-live-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#ff5267;box-shadow:0 0 8px #ff5267}
.news-live-title{display:block;color:#99a5ba;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Zone B: Articles */
.news-zone-b{margin-bottom:28px}
.news-article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.news-article-card{border:1px solid #242a39;border-radius:12px;background:#10141e;overflow:hidden;transition:border-color .2s}
.news-article-card:hover{border-color:#3b2a5e}
.news-article-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.news-article-thumb img{width:100%;height:100%;object-fit:cover}
.news-article-body{padding:14px}
.news-article-body h3{font-size:15px;margin:0 0 8px;line-height:1.4}
.news-article-body h3 a{color:#c3cada;text-decoration:none}
.news-article-body h3 a:hover{color:#e5d9ff}
.news-article-summary{color:#99a5ba;font-size:13px;line-height:1.5;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-article-meta{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6b7689}
.news-source{font-weight:600}

/* Pagination */
.news-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px}
.news-pagination a{padding:8px 16px;border-radius:8px;background:#1a1f2e;color:#c3cada;text-decoration:none;font-size:14px;font-weight:600}
.news-pagination a:hover{background:#242a39}
.news-page-info{color:#6b7689;font-size:13px}

/* Zone C: Videos */
.news-zone-c{margin-bottom:28px}
.news-video-scroll{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px;scroll-snap-type:x mandatory}
.news-video-card{flex:none;width:240px;border:1px solid #242a39;border-radius:10px;background:#171629;padding:12px;text-decoration:none;scroll-snap-align:start}
.news-video-thumb{aspect-ratio:16/9;border-radius:6px;overflow:hidden;margin-bottom:10px}
.news-video-thumb img{width:100%;height:100%;object-fit:cover}
.news-video-card strong{display:block;font-size:13px;line-height:1.4;color:#c3cada;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-video-card span{color:#6b7689;font-size:11px}

/* Zone D: Featured */
.news-zone-d{margin-bottom:28px}
.news-featured-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px}
.news-featured-card{border:1px solid #34334d;border-radius:14px;background:#171629;overflow:hidden}
.news-featured-thumb{display:block;aspect-ratio:16/9;overflow:hidden}
.news-featured-thumb img{width:100%;height:100%;object-fit:cover}
.news-featured-body{padding:18px}
.news-featured-body h3{font-size:17px;margin:0 0 10px;line-height:1.4}
.news-featured-body h3 a{color:#e5d9ff;text-decoration:none}
.news-featured-body p{color:#99a5ba;font-size:14px;line-height:1.6;margin:0 0 12px}

/* Board Nav */
.news-board-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;padding:20px 0;border-top:1px solid #242a39;margin-top:20px}
.news-board-nav a{padding:8px 18px;border-radius:99px;background:#1a1f2e;color:#99a5ba;font-size:13px;font-weight:600;text-decoration:none}
.news-board-nav a:hover{background:#242a39;color:#c3cada}
.news-board-nav a.is-active{background:#3b2a5e;color:#e5d9ff}

/* === Article Detail === */
.ivwork-news-article{max-width:800px;margin:0 auto;padding:20px}
.news-breadcrumb{font-size:13px;color:#6b7689;margin-bottom:20px}
.news-breadcrumb a{color:#99a5ba;text-decoration:none}
.news-breadcrumb a:hover{color:#c4b5fd}
.news-article-detail h1{font-size:clamp(22px,3vw,30px);line-height:1.3;margin:0 0 12px}
.news-article-meta-detail{display:flex;gap:16px;align-items:center;margin-bottom:20px;font-size:13px;color:#99a5ba}
.news-article-hero{margin-bottom:20px;border-radius:12px;overflow:hidden}
.news-article-hero img{width:100%;display:block}
.news-article-content{font-size:16px;line-height:1.7;color:#c3cada}
.news-article-source-link{margin-top:28px;padding:20px;border:1px solid #242a39;border-radius:12px;background:#10141e;text-align:center}
.news-article-source-link p{color:#99a5ba;font-size:14px;margin:0 0 12px}
.news-read-original{display:inline-block;padding:10px 24px;border-radius:8px;background:#3b2a5e;color:#e5d9ff;font-size:14px;font-weight:600;text-decoration:none}
.news-read-original:hover{background:#4a3a6e}

/* === Video Detail === */
.ivwork-news-video{max-width:900px;margin:0 auto;padding:20px}
.news-video-detail{margin-bottom:28px}
.news-video-player{position:relative;padding-bottom:56.25%;height:0;border-radius:12px;overflow:hidden;margin-bottom:16px}
.news-video-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.news-video-info h1{font-size:clamp(20px,2.5vw,26px);margin:0 0 10px}
.news-video-summary{color:#99a5ba;font-size:15px;line-height:1.6}

/* === Related === */
.news-related{margin-top:32px;padding-top:24px;border-top:1px solid #242a39}
.news-related h2{font-size:18px;margin:0 0 16px;color:#e5d9ff}
.news-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.news-related-card{border:1px solid #242a39;border-radius:10px;background:#10141e;padding:12px;text-decoration:none;overflow:hidden}
.news-related-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px;margin-bottom:10px}
.news-related-card strong{display:block;font-size:13px;line-height:1.4;color:#c3cada;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-related-card small{color:#6b7689;font-size:11px}

/* === 410 Gone === */
.ivwork-news-gone{max-width:600px;margin:40px auto;padding:40px 20px;text-align:center}
.ivwork-news-gone h1{font-size:24px;margin:0 0 16px}
.ivwork-news-gone p{color:#99a5ba;font-size:15px;margin:0 0 20px}

/* === Landing Zone Enhancements === */
.news-zone-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.news-zone-title{font-size:20px;font-weight:700;margin:0 0 14px;color:#e5d9ff}

/* Live card (landing) */
.news-live-card{display:block;border:1px solid #242a39;border-radius:12px;background:#10141e;overflow:hidden;text-decoration:none;transition:border-color .2s}
.news-live-card:hover{border-color:#3b2a5e}
.news-live-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0a0e17}
.news-live-thumb img{width:100%;height:100%;object-fit:cover}
.news-live-status{position:absolute;top:8px;left:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:99px;background:rgba(48,26,34,.92);color:#ff8794;font-size:10px;font-weight:700;backdrop-filter:blur(4px)}
.news-live-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#ff5267;box-shadow:0 0 6px #ff5267}
.news-live-info{padding:12px 14px}
.news-live-info strong{display:block;font-size:14px;color:#e5d9ff;margin-bottom:4px}
.news-live-title{display:block;color:#99a5ba;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:8px}
.news-live-meta{display:flex;justify-content:space-between;align-items:center}
.news-platform-tag{font-size:10px;font-weight:700;color:#6b7689;text-transform:uppercase;letter-spacing:.5px}
.news-viewers{font-size:11px;color:#99a5ba}

/* Featured mini card (inside board) */
.news-featured-mini{display:flex;gap:12px;padding:12px;border:1px solid #34334d;border-radius:10px;background:#171629;margin-bottom:12px;text-decoration:none;transition:border-color .2s}
.news-featured-mini:hover{border-color:#4a3a6e}
.news-featured-mini-thumb{width:100px;height:64px;object-fit:cover;border-radius:6px;flex:none}
.news-featured-mini-body{flex:1;min-width:0}
.news-featured-tag{display:inline-block;font-size:9px;font-weight:700;color:#c4b5fd;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.news-featured-mini-body strong{display:block;font-size:13px;line-height:1.4;color:#e5d9ff;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-featured-mini-body small{color:#6b7689;font-size:11px}

/* Video play overlay */
.news-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:36px;height:36px;border-radius:50%;background:rgba(59,42,94,.85);color:#e5d9ff;font-size:14px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.news-video-thumb{position:relative}

/* === Responsive === */
@media (max-width:768px){
    .news-landing-grid{grid-template-columns:1fr}
    .news-article-grid{grid-template-columns:repeat(2,1fr)}
    .news-featured-grid{grid-template-columns:1fr}
    .news-live-grid{grid-template-columns:1fr}
    .news-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
    .news-article-grid{grid-template-columns:1fr}
    .news-related-grid{grid-template-columns:1fr}
    .news-video-scroll{gap:8px}
    .news-video-card{width:200px}
}

/* === Rebuild 2026-11-21: three pillars === */
.news-landing-head{text-align:left;padding:22px 0 18px}
.news-landing-title{font-size:clamp(26px,4vw,40px);font-weight:800;margin:0 0 8px;color:#e5d9ff;line-height:1.15}
.news-landing-head p{text-align:left}
.news-board-nav{justify-content:flex-start;padding:14px 0 0;border-top:none;margin-top:12px}
.news-zone-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.news-zone-header .news-zone-title{margin:0}
.news-zone-more{color:#c4b5fd;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.news-zone-more:hover{text-decoration:underline}
.news-channel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.news-channel-card{border:1px solid #242a39;border-radius:12px;background:#10141e;overflow:hidden;text-decoration:none;transition:border-color .2s;display:block}
.news-channel-card:hover{border-color:#3b2a5e}
.news-channel-card.is-live{border-color:#5a2a3a}
.news-channel-thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0a0e17}
.news-channel-thumb img{width:100%;height:100%;object-fit:cover}
.news-channel-thumb .news-live-status,.news-channel-thumb .news-offline-status{position:absolute;top:8px;left:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:99px;font-size:10px;font-weight:700;backdrop-filter:blur(4px)}
.news-live-status{background:rgba(48,26,34,.92);color:#ff8794}
.news-live-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#ff5267;box-shadow:0 0 6px #ff5267}
.news-offline-status{background:rgba(26,31,46,.92);color:#99a5ba}
.news-channel-info{padding:10px 12px}
.news-channel-info strong{display:block;font-size:13px;color:#e5d9ff;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-channel-meta{display:flex;justify-content:space-between;align-items:center}
.news-viewers{font-size:11px;color:#99a5ba}
@media(max-width:480px){.news-channel-grid{grid-template-columns:repeat(2,1fr)}}
.news-board-title{font-size:clamp(24px,3.5vw,34px);font-weight:800;margin:0 0 12px;color:#e5d9ff;line-height:1.15}

/* ==========================================================================
   IVWORK NEWSROOM — Landing Redesign v2  (2026-11-21)
   Scope: /news/ landing only. All legacy board/article/video styles preserved.
   ========================================================================== */
.ivwork-news-landing{
  --nw-bg:#0b0e15;
  --nw-panel:#121722;
  --nw-panel-2:#171d2b;
  --nw-line:#242c3d;
  --nw-line-soft:#1b2230;
  --nw-ink:#f2f4fa;
  --nw-ink-2:#c3cbdc;
  --nw-muted:#8b96ad;
  --nw-dim:#66718a;
  --nw-brand:#a78bfa;
  --nw-brand-2:#7c5cff;
  --nw-live:#ff4d6d;
  max-width:1280px;
  padding:18px 22px 56px;
}

/* Masthead */
.news-landing-head{
  text-align:left;padding:24px 0 18px;margin-bottom:26px;
  border-bottom:1px solid var(--nw-line);position:relative;
}
.news-landing-head::after{
  content:"";position:absolute;left:0;bottom:-1px;width:82px;height:3px;
  background:linear-gradient(90deg,var(--nw-brand-2),var(--nw-brand));border-radius:2px;
}
.news-landing-title{
  font-size:clamp(30px,5vw,46px);font-weight:900;letter-spacing:-1px;
  color:var(--nw-ink);margin:0 0 9px;line-height:1.05;
  display:flex;align-items:center;gap:13px;
}
.news-landing-title::before{
  content:"";width:10px;height:10px;border-radius:50%;background:var(--nw-live);flex:none;
  box-shadow:0 0 0 4px rgba(255,77,109,.15),0 0 16px rgba(255,77,109,.55);
}
.news-landing-head p{color:var(--nw-muted);font-size:14px;line-height:1.6;margin:0;max-width:660px;}
.news-board-nav{
  display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-start;
  padding:18px 0 0;border-top:0;margin-top:18px;
}
.news-board-nav a{
  padding:8px 16px;border-radius:8px;background:transparent;color:var(--nw-ink-2);
  font-size:13px;font-weight:700;text-decoration:none;border:1px solid var(--nw-line);
  transition:all .18s;
}
.news-board-nav a:hover{background:var(--nw-panel-2);color:var(--nw-ink);border-color:#3a4460;}
.news-board-nav a:first-child{
  background:linear-gradient(135deg,var(--nw-brand-2),var(--nw-brand));
  color:#fff;border-color:transparent;
}

/* Hero headline */
.news-hero{margin-bottom:32px;}
.news-hero-card{
  position:relative;display:block;border-radius:16px;overflow:hidden;
  min-height:390px;border:1px solid var(--nw-line);background:var(--nw-panel);
  text-decoration:none;box-shadow:0 12px 36px rgba(0,0,0,.34);
}
.news-hero-img{position:absolute;inset:0;}
.news-hero-img img{
  width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
}
.news-hero-card:hover .news-hero-img img{transform:scale(1.045);}
.news-hero-card::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(90deg,rgba(7,9,15,.95) 0%,rgba(7,9,15,.82) 36%,rgba(7,9,15,.20) 74%,rgba(7,9,15,.05) 100%);
}
.news-hero-card::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(0deg,rgba(7,9,15,.72) 0%,transparent 46%);
}
.news-hero-body{
  position:relative;z-index:2;padding:40px 42px;max-width:740px;
  display:flex;flex-direction:column;justify-content:center;min-height:390px;
}
.news-hero-tag{
  align-self:flex-start;display:inline-flex;align-items:center;gap:6px;
  padding:5px 12px;border-radius:6px;background:var(--nw-live);color:#fff;
  font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;margin-bottom:17px;
}
.news-hero-body h2{
  font-size:clamp(22px,3vw,34px);line-height:1.22;font-weight:850;letter-spacing:-.5px;
  color:var(--nw-ink);margin:0 0 13px;
}
.news-hero-body p{
  color:var(--nw-ink-2);font-size:14px;line-height:1.62;margin:0 0 17px;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.news-hero-body small{color:var(--nw-brand);font-size:12px;font-weight:700;letter-spacing:.3px;}

/* Zone headers */
.news-zone-a,.news-zone-b,.news-zone-c{margin-bottom:34px;}
.news-zone-header{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  margin-bottom:16px;padding-bottom:11px;border-bottom:1px solid var(--nw-line-soft);
}
.news-zone-title{
  display:flex;align-items:center;gap:10px;margin:0;
  font-size:19px;font-weight:800;color:var(--nw-ink);letter-spacing:-.2px;
}
.news-zone-title::before{
  content:"";width:4px;height:19px;border-radius:3px;
  background:linear-gradient(180deg,var(--nw-brand),var(--nw-brand-2));
}
.news-zone-more{
  color:var(--nw-brand);font-size:12px;font-weight:700;text-decoration:none;
  padding:6px 12px;border:1px solid var(--nw-line);border-radius:7px;transition:all .18s;white-space:nowrap;
}
.news-zone-more:hover{background:var(--nw-panel-2);border-color:var(--nw-brand);}

/* Pillar 1: Live channels */
.news-channel-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.news-channel-card{
  display:block;border-radius:11px;overflow:hidden;text-decoration:none;
  background:var(--nw-panel);border:1px solid var(--nw-line);transition:all .2s;
}
.news-channel-card:hover{transform:translateY(-3px);border-color:var(--nw-brand-2);box-shadow:0 8px 22px rgba(0,0,0,.42);}
.news-channel-card.is-live{border-color:#4a2733;}
.news-channel-thumb{position:relative;aspect-ratio:16/10;overflow:hidden;background:#0a0d14;}
.news-channel-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.news-channel-card:hover .news-channel-thumb img{transform:scale(1.06);}
.news-live-status{
  position:absolute;top:7px;left:7px;display:inline-flex;align-items:center;gap:5px;
  padding:3px 8px;border-radius:5px;background:rgba(255,77,109,.94);color:#fff;
  font-size:10px;font-weight:800;letter-spacing:.5px;backdrop-filter:blur(4px);z-index:2;
}
.news-live-status::before{
  content:"";width:6px;height:6px;border-radius:50%;background:#fff;
  box-shadow:0 0 5px rgba(255,255,255,.85);animation:nwpulse 1.6s infinite;
}
@keyframes nwpulse{0%,100%{opacity:1}50%{opacity:.35}}
.news-channel-info{padding:9px 10px 10px;}
.news-channel-info strong{
  display:block;font-size:12px;color:var(--nw-ink);margin-bottom:6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.news-channel-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;}
.news-platform-tag{
  font-size:9px;font-weight:800;letter-spacing:.6px;color:var(--nw-brand);
  background:rgba(167,139,250,.13);padding:2px 6px;border-radius:4px;
}
.news-viewers{font-size:10px;color:var(--nw-muted);}

/* Pillar 2: Article boards */
.news-landing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.news-landing-board{
  background:var(--nw-panel);border:1px solid var(--nw-line);border-radius:14px;
  padding:18px;box-shadow:0 6px 20px rgba(0,0,0,.18);
}
.news-landing-board-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid var(--nw-line-soft);
}
.news-landing-board-head h2{margin:0;font-size:16px;font-weight:800;}
.news-landing-board-head h2 a{color:var(--nw-ink);text-decoration:none;}
.news-landing-board-head h2 a:hover{color:var(--nw-brand);}
.news-live-badge{
  display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:99px;
  background:rgba(255,77,109,.14);color:var(--nw-live);font-size:10px;font-weight:800;white-space:nowrap;
}
.news-live-badge::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--nw-live);}
.news-featured-mini{
  display:flex;gap:12px;padding:10px;margin-bottom:12px;border-radius:10px;
  background:linear-gradient(90deg,rgba(124,92,255,.12),rgba(18,23,34,.35));
  border:1px solid #2b2b45;text-decoration:none;transition:all .2s;
}
.news-featured-mini:hover{border-color:var(--nw-brand-2);}
.news-featured-mini-thumb{width:112px;height:70px;object-fit:cover;border-radius:7px;flex:none;background:#0a0d14;}
.news-featured-mini-body{flex:1;min-width:0;}
.news-featured-tag{
  display:inline-block;font-size:9px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;
  color:var(--nw-brand);margin-bottom:5px;
}
.news-featured-mini-body strong{
  font-size:13px;line-height:1.4;color:var(--nw-ink);margin-bottom:5px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.news-featured-mini-body small{color:var(--nw-muted);font-size:10px;}
.news-article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.news-article-card{
  display:flex;flex-direction:column;border-radius:9px;overflow:hidden;text-decoration:none;
  background:var(--nw-panel-2);border:1px solid var(--nw-line-soft);transition:all .2s;
}
.news-article-card:hover{border-color:var(--nw-brand-2);transform:translateY(-2px);}
.news-article-thumb{display:block;aspect-ratio:16/9;overflow:hidden;background:#0a0d14;}
.news-article-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.news-article-card:hover .news-article-thumb img{transform:scale(1.05);}
.news-article-body{padding:10px 11px;display:flex;flex-direction:column;gap:8px;flex:1;}
.news-article-body h3{
  margin:0;font-size:12px;line-height:1.42;font-weight:700;color:var(--nw-ink-2);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.news-article-card:hover .news-article-body h3{color:var(--nw-ink);}
.news-article-meta{
  display:flex;justify-content:space-between;gap:6px;align-items:center;
  font-size:10px;color:var(--nw-dim);margin-top:auto;
}
.news-source{font-weight:700;color:var(--nw-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.news-landing-more{
  display:inline-block;margin-top:14px;color:var(--nw-brand);font-size:12px;font-weight:700;text-decoration:none;
}
.news-landing-more:hover{text-decoration:underline;}

/* Pillar 3: Short videos */
.news-video-scroll{
  display:flex;gap:12px;overflow-x:auto;padding:4px 2px 12px;
  scroll-snap-type:x mandatory;scrollbar-width:thin;
}
.news-video-scroll::-webkit-scrollbar{height:6px;}
.news-video-scroll::-webkit-scrollbar-thumb{background:var(--nw-line);border-radius:99px;}
.news-video-card{
  flex:none;width:228px;scroll-snap-align:start;text-decoration:none;
  background:var(--nw-panel);border:1px solid var(--nw-line);border-radius:11px;
  padding:10px;transition:all .2s;
}
.news-video-card:hover{border-color:var(--nw-brand-2);transform:translateY(-3px);}
.news-video-thumb{position:relative;aspect-ratio:16/9;border-radius:7px;overflow:hidden;margin-bottom:9px;background:#0a0d14;}
.news-video-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s;}
.news-video-card:hover .news-video-thumb img{transform:scale(1.06);}
.news-video-play{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(124,92,255,.88);color:#fff;font-size:14px;backdrop-filter:blur(4px);
  box-shadow:0 4px 14px rgba(0,0,0,.4);
}
.news-video-card strong{
  font-size:12px;line-height:1.4;color:var(--nw-ink-2);margin-bottom:5px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.news-video-card>span{color:var(--nw-dim);font-size:10px;}

/* Responsive */
@media(max-width:1100px){.news-channel-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:900px){
  .news-landing-grid{grid-template-columns:1fr;}
  .news-hero-body{padding:30px 26px;min-height:330px;}
  .news-hero-card{min-height:330px;}
}
@media(max-width:760px){.news-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:480px){
  .news-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .news-hero-body h2{font-size:20px;}
  .news-hero-body p{display:none;}
}

/* v2.1 — hero text overflow fix on narrow screens */
.news-hero-body h2{overflow-wrap:break-word;word-wrap:break-word;hyphens:auto;}
@media(max-width:480px){
  .news-hero-body{max-width:100%;padding:24px 18px;}
  .news-hero-body h2{font-size:18px;line-height:1.28;}
}

/* v2.2 — flex child shrink fix (definitive) */
.ivwork-news-landing{overflow-x:hidden;}
.news-hero-body,.news-hero-body h2,.news-hero-body p,
.news-landing-head p,.news-article-body h3,.news-featured-mini-body strong{
  min-width:0;max-width:100%;box-sizing:border-box;
}
.news-hero-body h2,.news-hero-body p{overflow-wrap:anywhere;word-break:break-word;}

/* ============================================================
   IVWORK News — v3 polish (2026-11-21)
   作用域：本文件仅在 get_query_var('ivwork_news') 时 enqueue，
   所以以下规则只影响 news 路由，不改全站。
   ============================================================ */

/* 1) 隐藏主题默认 header（斜体 IVWORK + 下划线）与其后 <hr>，
      让 news 自有报头成为页面唯一的品牌入口，消除双 LOGO 割裂。 */
body #header,
body #headerimg,
body #header + hr,
body #page > hr:first-child { display: none !important; }

/* 2) 隐藏全局 header 后补偿顶部呼吸空间，报头不贴顶。 */
.ivwork-news-landing,
.ivwork-news-board { padding-top: 28px; }

/* 3) 报头标题升级为 <h1> 后，沿用原视觉（去掉 h1 默认外边距/字重差异）。 */
.news-landing-title,
.news-board-title {
  margin: 0 0 9px;
  font-weight: 900;
}
.news-landing-title { margin: 0 0 9px; }

/* 4) 无封面文章的视觉兜底：给纯文字卡片一个柔和渐变占位，
      避免 52/101 无图文章呈现时的空洞感（仅影响有图区的 img 失败场景）。 */
.news-article-card:has(img[src=""]),
.news-related-card:has(img[src=""]) { background-image: linear-gradient(135deg,#1a2030,#121722); }


/* ===== Unified product footer (parity with homepage/live/channels) ===== */
.ivwork-news-landing ~ .ivwork-product-footer,
.ivwork-news-board ~ .ivwork-product-footer,
.ivwork-news-article ~ .ivwork-product-footer,
.ivwork-news-video ~ .ivwork-product-footer,
body .ivwork-product-footer {
    display:block!important; box-sizing:border-box; width:100%; margin:0;
    padding:28px clamp(18px,2.2vw,42px) 18px;
    border-top:1px solid rgba(186,203,230,.12);
    color:#8996ab; font-family:inherit; font-size:12px;
}
.ivwork-product-footer-main{display:flex;align-items:center;justify-content:space-between;gap:28px;min-width:0}
.ivwork-product-footer-brand{flex:none;color:#fff;text-decoration:none;font-size:18px;font-weight:900;letter-spacing:.14em}
.ivwork-product-footer-nav,.ivwork-product-footer-legal{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;min-width:0}
.ivwork-product-footer-nav{justify-content:flex-end}
.ivwork-product-footer-nav a,.ivwork-product-footer-legal a{display:inline-block;color:#8996ab;text-decoration:none;font-size:12px;line-height:1.5;white-space:nowrap;word-break:normal;overflow-wrap:normal}
.ivwork-product-footer-nav a:hover,.ivwork-product-footer-legal a:hover{color:#fff}
.ivwork-product-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;margin-top:20px;padding-top:14px;border-top:1px solid rgba(186,203,230,.1)}
.ivwork-product-footer-copyright{border:0;padding:0;color:#8996ab;font-size:12px;white-space:nowrap}
@media(max-width:760px){
  .ivwork-product-footer-main{align-items:flex-start;flex-direction:column;gap:16px}
  .ivwork-product-footer-nav{justify-content:flex-start;gap:10px 18px}
  .ivwork-product-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}
  .ivwork-product-footer-legal{gap:9px 16px}
}
/* ==========================================================================
   IVWORK NEWSROOM v2.1 — unification & polish (2026-11-22)
   1) Landing video rail cards aligned to v2 design language
   2) Board pages adopt the same --nw token set and v2 look
   3) Mobile breakpoints for channel grid / hero / video rail
   Legacy rules above stay intact; overrides win by cascade order.
   ========================================================================== */
/* --- Shared tokens on board pages (landing already defines them) --- */
.ivwork-news-board{
  --nw-bg:#0b0e15;--nw-panel:#121722;--nw-panel-2:#171d2b;--nw-line:#242c3d;
  --nw-line-soft:#1b2230;--nw-ink:#f2f4fa;--nw-ink-2:#c3cbdc;--nw-muted:#8b96ad;
  --nw-dim:#66718a;--nw-brand:#a78bfa;--nw-brand-2:#7c5cff;--nw-live:#ff4d6d;
}
/* --- Landing: video rail cards to v2 look --- */
.news-video-scroll{gap:14px;scrollbar-width:thin;scrollbar-color:#242c3d transparent;}
.news-video-scroll::-webkit-scrollbar{height:6px}
.news-video-scroll::-webkit-scrollbar-thumb{background:#242c3d;border-radius:3px}
.news-briefing .news-video-card,
.ivwork-news-landing .news-video-card{
  width:262px;padding:0;border:1px solid #242c3d;
  border-radius:12px;background:#121722;overflow:hidden;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.ivwork-news-landing .news-video-card:hover{
  transform:translateY(-3px);border-color:#7c5cff;
  box-shadow:0 8px 22px rgba(0,0,0,.42);
}
.ivwork-news-landing .news-video-thumb{border-radius:0;margin:0;position:relative;background:#0a0d14}
.ivwork-news-landing .news-video-thumb img{transition:transform .4s}
.ivwork-news-landing .news-video-card:hover .news-video-thumb img{transform:scale(1.05)}
.ivwork-news-landing .news-video-card strong{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  white-space:normal;font-size:13px;line-height:1.45;color:#c3cbdc;
  margin:0;padding:11px 12px 4px;
}
.ivwork-news-landing .news-video-card span{display:block;padding:0 12px 11px;color:#66718a;font-size:11px}
.ivwork-news-landing .news-video-card:hover strong{color:#f2f4fa}
/* --- Board page: unify masthead / tabs to v2 --- */
.ivwork-news-board .news-board-head{padding:26px 0 18px;margin-bottom:26px;border-bottom:1px solid #242c3d;position:relative}
.ivwork-news-board .news-board-head::after{
  content:"";position:absolute;left:0;bottom:-1px;width:82px;height:3px;
  background:linear-gradient(90deg,#7c5cff,#a78bfa);border-radius:2px;
}
.ivwork-news-board .news-board-title{font-weight:900;letter-spacing:-1px;line-height:1.05}
.ivwork-news-board .news-board-tabs{gap:7px}
.ivwork-news-board .news-board-tabs a{
  padding:8px 16px;border-radius:8px;background:transparent;border:1px solid #242c3d;
  color:#c3cbdc;font-weight:700;transition:all .18s;
}
.ivwork-news-board .news-board-tabs a:hover{background:#171d2b;color:#f2f4fa;border-color:#3a4460}
.ivwork-news-board .news-board-tabs a.is-active{
  background:linear-gradient(135deg,#7c5cff,#a78bfa);
  color:#fff;border-color:transparent;
}
.ivwork-news-board .news-zone-title{color:#f2f4fa;letter-spacing:-.2px}
.ivwork-news-board .news-zone-header{
  padding-bottom:11px;border-bottom:1px solid #1b2230;
}
/* Board live cards to v2 panel look */
.ivwork-news-board .news-live-card{
  border:1px solid #242c3d;border-radius:12px;background:#121722;
  overflow:hidden;transition:border-color .2s,box-shadow .2s;
}
.ivwork-news-board .news-live-card:hover{border-color:#7c5cff;box-shadow:0 8px 22px rgba(0,0,0,.42)}
.ivwork-news-board .news-live-info{padding:12px 14px;background:#121722}
.ivwork-news-board .news-live-info strong{color:#f2f4fa;font-size:15px}
.ivwork-news-board .news-live-title{color:#8b96ad}
/* Board article cards to v2 polish */
.ivwork-news-board .news-article-card{
  border:1px solid #242c3d;border-radius:12px;background:#121722;
  transition:transform .2s,border-color .2s,box-shadow .2s;
}
.ivwork-news-board .news-article-card:hover{
  transform:translateY(-3px);border-color:#7c5cff;box-shadow:0 8px 22px rgba(0,0,0,.42);
}
.ivwork-news-board .news-article-body h3 a{color:#c3cbdc}
.ivwork-news-board .news-article-body h3 a:hover{color:#f2f4fa}
.ivwork-news-board .news-article-summary{color:#8b96ad}
.ivwork-news-board .news-article-meta{color:#66718a}
/* --- Mobile breakpoints --- */
@media(max-width:900px){
  .ivwork-news-landing .news-channel-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
  .ivwork-news-landing{padding:14px 14px 44px}
  .ivwork-news-landing .news-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .news-hero-card{min-height:300px}
  .news-hero-body{padding:26px 22px;min-height:300px}
  .news-hero-body h2{font-size:clamp(19px,5.4vw,24px)}
  .ivwork-news-landing .news-video-card{width:210px}
  .ivwork-news-board{padding:14px 14px 44px}
}
@media(prefers-reduced-motion:reduce){
  .news-hero-img img,.ivwork-news-landing .news-video-thumb img,
  .news-channel-thumb img,.news-channel-card,.ivwork-news-landing .news-video-card{transition:none}
}
