/* ==========================================================
   NTPC NEWS v1.0.0 — isolated from the menu, header and footer
   ========================================================== */
.ntpc-news-section,
.ntpc-news-section * ,
.ntpc-news-article,
.ntpc-news-article * { box-sizing: border-box; }

.ntpc-news-section {
  --ntpc-news-navy: #07142d;
  --ntpc-news-midnight: #0e2042;
  --ntpc-news-gold: #c6a052;
  --ntpc-news-cream: #f1d48a;
  --ntpc-news-white: #ffffff;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 24px) !important;
  max-width: 1750px !important;
  margin: 28px 0 50px !important;
  padding: clamp(38px, 5vw, 74px) clamp(20px, 4vw, 65px) !important;
  border: 1px solid #b99545;
  border-radius: 7px;
  background: linear-gradient(140deg, #07142d 0%, #101f40 54%, #08152f 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.20);
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  isolation: isolate;
}
.ntpc-news-section .ntpc-news-inner { max-width: 100%; margin: 0 auto; }
.ntpc-news-section .ntpc-news-heading { text-align: center; margin: 0 0 40px; }
.ntpc-news-section .ntpc-news-eyebrow { display: block; color: #e2c079; font-size: 13px; font-weight: 800; letter-spacing: 2.6px; margin-bottom: 14px; }
.ntpc-news-section .ntpc-news-heading h2 { margin: 0 0 12px !important; color: #fff !important; font-size: clamp(29px, 3.4vw, 43px) !important; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.ntpc-news-section .ntpc-news-heading p { color: #d9e4f4 !important; font-size: 17px !important; line-height: 1.5; margin: 0 !important; }
.ntpc-news-section .ntpc-news-rule { width: 74px; height: 3px; margin: 26px auto 0; background: linear-gradient(90deg,#92702e,#efd68e,#ad8442); }

.ntpc-news-section .ntpc-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.ntpc-news-section .ntpc-news-card { min-width:0; display:flex; flex-direction:column; margin:0; overflow:hidden; border:1px solid rgba(198,160,82,.66); border-radius:9px; background:linear-gradient(160deg,#12264c,#081731); box-shadow:0 7px 20px rgba(0,0,0,.18); transition:transform .25s ease, border-color .25s ease,box-shadow .25s ease; }
.ntpc-news-section .ntpc-news-card:hover { transform:translateY(-4px); border-color:#f0cf83; box-shadow:0 15px 28px rgba(0,0,0,.28); }
.ntpc-news-section .ntpc-news-photo-link { display:block; position:relative; width:100%; aspect-ratio:3/2; background:#07142d; overflow:hidden; border-bottom:2px solid #c6a052; }
.ntpc-news-section .ntpc-news-photo { display:block; width:100% !important; height:100% !important; aspect-ratio:3/2; object-fit:cover; object-position:center; border:0!important; margin:0!important; border-radius:0!important; transition:transform .35s ease; }
.ntpc-news-section .ntpc-news-card:hover .ntpc-news-photo { transform:scale(1.035); }
.ntpc-news-section .ntpc-news-no-photo { display:flex; align-items:center;justify-content:center; width:100%;height:100%;background:radial-gradient(ellipse at center,#20395e,#08142d 75%); }
.ntpc-news-section .ntpc-news-no-photo span { color:#e8c978; font-size:34px; font-weight:900; font-style:italic; letter-spacing:3px; }
.ntpc-news-section .ntpc-news-card-body { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:25px 25px 26px; }
.ntpc-news-section .ntpc-news-category,
.ntpc-news-article .ntpc-news-category { display:inline-block; color:#f3d389; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1.2px; background:rgba(198,160,82,.11); border:1px solid rgba(198,160,82,.62); border-radius:4px; padding:7px 10px; }
.ntpc-news-section .ntpc-news-card-title { margin:17px 0 15px!important; padding:0!important; font-size:clamp(19px,1.4vw,24px)!important; line-height:1.3; font-weight:800; }
.ntpc-news-section .ntpc-news-card-title a { color:#fff!important; text-decoration:none!important; }
.ntpc-news-section .ntpc-news-card-title a:hover { color:#f3d389!important; }
.ntpc-news-section .ntpc-news-date,
.ntpc-news-article .ntpc-news-date { color:#ced9e9; font-size:14px; font-weight:500; letter-spacing:.1px; }
.ntpc-news-section .ntpc-news-readmore { display:inline-flex; align-items:center; gap:11px; margin-top:auto; padding:23px 0 0; font-weight:800; font-size:13px; letter-spacing:1px; color:#f4d68c!important; text-decoration:none!important; }
.ntpc-news-section .ntpc-news-readmore span { font-size:20px; transition:transform .22s ease; }
.ntpc-news-section .ntpc-news-readmore:hover { color:#fff!important; }
.ntpc-news-section .ntpc-news-readmore:hover span { transform:translateX(4px); }
.ntpc-news-section .ntpc-news-readmore:focus-visible,
.ntpc-news-section a:focus-visible { outline:2px solid #f0d084; outline-offset:4px; }
.ntpc-news-section .ntpc-news-empty { color:#edf2f9!important; text-align:center; font-size:17px; padding:20px; }
.ntpc-news-section .ntpc-news-pagination { margin:34px 0 0; }
.ntpc-news-section .ntpc-news-pagination ul { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; }
.ntpc-news-section .ntpc-news-pagination a,
.ntpc-news-section .ntpc-news-pagination span { display:inline-block; min-width:40px; padding:9px 14px; color:#f4d68c!important; text-decoration:none!important; border:1px solid #c6a052; border-radius:5px; text-align:center; }
.ntpc-news-section .ntpc-news-pagination span.current,
.ntpc-news-section .ntpc-news-pagination a:hover { color:#07142d!important; background:#e8c778; }

/* Individual news story opened by READ MORE. Theme supplies the site's header/footer. */
.ntpc-news-article { --ntpc-news-gold:#c6a052; width:min(1100px,calc(100vw - 24px))!important; max-width:1100px!important; position:relative; left:50%; transform:translateX(-50%); margin:30px 0 55px!important; padding:clamp(24px,5vw,64px); border:1px solid #c6a052; border-radius:7px; background:linear-gradient(145deg,#0c1c3d,#07142d); color:#f4f7fd; font-family:Arial,Helvetica,sans-serif; }
.ntpc-news-article .ntpc-news-article-heading h1 { color:#fff!important; font-size:clamp(29px,4vw,45px)!important; line-height:1.22; margin:18px 0 12px!important; }
.ntpc-news-article .ntpc-news-article-heading { margin-bottom:26px; }
.ntpc-news-article .ntpc-news-article-photo { width:100%; margin-bottom:28px; border:1px solid #c6a052; border-radius:8px; overflow:hidden; }
.ntpc-news-article .ntpc-news-article-image { display:block;width:100%!important;height:auto!important;max-height:620px;object-fit:contain;border:0!important; }
.ntpc-news-article .ntpc-news-article-body { color:#eff4ff; font-size:17px; line-height:1.75; }
.ntpc-news-article .ntpc-news-article-body p, .ntpc-news-article .ntpc-news-article-body li { color:#eff4ff!important; font-size:17px!important; line-height:1.75; }
.ntpc-news-article .ntpc-news-article-body h2, .ntpc-news-article .ntpc-news-article-body h3 { color:#f1cf82!important; }
.ntpc-news-article a { color:#f0d18a; }
.single-ntpc_news main .wp-block-post-title, .single-ntpc_news main .entry-title { display:none!important; }

@media(max-width:1050px){ .ntpc-news-section .ntpc-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; } }
@media(max-width:650px){
  .ntpc-news-section { width:calc(100vw - 16px)!important; padding:38px 17px!important; margin:18px 0 35px!important; }
  .ntpc-news-section .ntpc-news-heading { margin-bottom:28px; }
  .ntpc-news-section .ntpc-news-heading p { font-size:15px!important; }
  .ntpc-news-section .ntpc-news-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .ntpc-news-section .ntpc-news-card-body { padding:21px 22px 23px; }
  .ntpc-news-section .ntpc-news-card-title { font-size:21px!important; }
  .ntpc-news-article { width:calc(100vw - 16px)!important;padding:24px 18px; }
}
@media(prefers-reduced-motion:reduce){ .ntpc-news-section .ntpc-news-card, .ntpc-news-section .ntpc-news-photo, .ntpc-news-section .ntpc-news-readmore span { transition:none; } .ntpc-news-section .ntpc-news-card:hover, .ntpc-news-section .ntpc-news-card:hover .ntpc-news-photo { transform:none; } }

/* v1.1.1 — isolated article template and return link. */
.single-ntpc_news .ntpc-news-single-main { width:100%; margin:0; padding:0; }
.single-ntpc_news .ntpc-news-back { display:inline-flex; align-items:center; justify-content:center; margin-top:29px; padding:12px 22px; border:1px solid #c6a052; border-radius:5px; color:#f3d389!important; background:#0f2247; text-decoration:none!important; font-weight:800; font-size:14px; letter-spacing:.6px; }
.single-ntpc_news .ntpc-news-back:hover { color:#08142f!important; background:#f3d389; }
.single-ntpc_news .ntpc-news-back:focus-visible { outline:2px solid #fff; outline-offset:3px; }

/* v1.2.0 — subtle label for the single pinned announcement. */
.ntpc-news-section .ntpc-news-card-pinned { position:relative; }
.ntpc-news-section .ntpc-news-pinned-label { position:absolute; top:12px; right:12px; z-index:2; padding:7px 10px; border:1px solid #f3d992; border-radius:4px; background:rgba(10,23,46,.94); color:#f4d78d; font-size:11px; font-weight:800; letter-spacing:1px; line-height:1; }
