/**
 * Theme Name: Blocksy Child — NepaliMovie
 * Description: Custom child theme for nepalimovie.net — Cinema amber & editorial white
 * Author: NepaliMovie
 * Template: blocksy
 * Version: 2.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --ink:        #111111;
  --ink2:       #333333;
  --ink3:       #555555;
  --ink4:       #888888;
  --ink5:       #bbbbbb;
  --paper:      #ffffff;
  --paper2:     #faf9f7;
  --paper3:     #f4f3f0;
  --rule:       #e2e0db;
  --rule2:      #d0cdc7;
  --amber:      #D4820A;
  --amber-lt:   #F5A623;
  --amber-pale: #FEF5E7;
  --amber-dark: #A86208;
  --serif:      'Playfair Display', Georgia, serif;
  --sans:       'Inter', 'Helvetica Neue', Arial, sans-serif;
  --container:  1200px;
  --r:          4px;
  --r-lg:       10px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.07);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --ease:       0.2s ease;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink2); background: var(--paper3); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--amber-dark); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--amber); }
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); line-height: 1.2; color: var(--ink); margin-top: 0; }

/* ============================================================
   BLOCKSY OVERRIDES
   ============================================================ */
.site-header,
#wpadminbar ~ .site-header { display: none !important; }
.site-footer { display: none !important; }
.site-content, .content-wrap { padding-top: 0 !important; }
.ct-breadcrumbs-wrap { display: none; }
.single .entry-content, .page .entry-content { max-width: 100%; margin: 0; }

/* ============================================================
   LAYOUT
   ============================================================ */
.nm-container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   AD STRIPS
   ============================================================ */
.nm-ad-top {
  background: var(--paper3);
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  text-align: center;
}
.nm-ad-slot-728 {
  display: inline-flex; align-items: center; justify-content: center;
  width: 728px; max-width: 100%; height: 52px;
  border: 1px dashed var(--rule2); background: var(--paper);
  font-size: 10px; color: var(--ink5); letter-spacing: .8px; text-transform: uppercase;
}
.nm-ad-slot-300 {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  width: 100%; height: 220px;
  border: 1px dashed var(--rule2); background: var(--paper3);
  font-size: 10px; color: var(--ink5); letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 20px;
}
.nm-ad-mid {
  background: var(--paper3); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 12px 24px; text-align: center;
}

/* ============================================================
   HEADER
   ============================================================ */
.nm-header {
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nm-header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 60px; gap: 20px;
}
.nm-logo { display: flex; flex-direction: column; flex-shrink: 0; text-decoration: none; }
.nm-logo-main {
  font-family: var(--serif); font-size: 24px; font-weight: 700; color: #fff;
  letter-spacing: -.5px; line-height: 1;
}
.nm-logo-main span { color: var(--amber-lt); font-weight: 400; font-style: italic; }
.nm-logo-sub { font-size: 9px; color: rgba(255,255,255,.35); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
.nm-nav { display: flex; flex: 1; gap: 0; margin-left: 8px; }
.nm-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase;
  color: rgba(255,255,255,.6); padding: 8px 12px; text-decoration: none;
  border-bottom: 2px solid transparent; transition: var(--ease);
}
.nm-nav a:hover, .nm-nav a.current { color: #fff; border-bottom-color: var(--amber); }
.nm-header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nm-search-box {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r); padding: 6px 14px; font-size: 12px; color: rgba(255,255,255,.55);
  font-family: var(--sans); outline: none; width: 160px; transition: var(--ease);
}
.nm-search-box::placeholder { color: rgba(255,255,255,.4); }
.nm-search-box:focus { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); color: #fff; }
.nm-lang { display: flex; gap: 3px; }
.nm-lang-btn {
  font-size: 10px; font-weight: 700; padding: 4px 9px; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5); background: transparent; border-radius: 2px; cursor: pointer;
  font-family: var(--sans); transition: var(--ease);
}
.nm-lang-btn.active, .nm-lang-btn:hover { background: var(--amber); border-color: var(--amber); color: #fff; }

/* SUBNAV */
.nm-subnav { background: #1d1c1a; border-bottom: 1px solid #2d2c2a; }
.nm-subnav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; overflow-x: auto; scrollbar-width: none;
}
.nm-subnav-inner::-webkit-scrollbar { display: none; }
.nm-subnav-inner a {
  font-size: 11px; font-weight: 500; color: rgba(255,255,255,.45); padding: 9px 12px;
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: var(--ease); flex-shrink: 0;
}
.nm-subnav-inner a:hover, .nm-subnav-inner a.active { color: #fff; border-bottom-color: var(--amber); }

/* TICKER */
.nm-ticker { background: var(--amber); display: flex; height: 28px; align-items: center; overflow: hidden; }
.nm-ticker-label {
  background: rgba(0,0,0,.25); color: #fff; font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 0 14px;
  height: 100%; display: flex; align-items: center; flex-shrink: 0; white-space: nowrap;
}
.nm-ticker-track {
  display: flex; align-items: center;
  animation: nm-tick 28s linear infinite; white-space: nowrap; padding-left: 24px;
}
.nm-ticker-track:hover { animation-play-state: paused; }
.nm-ticker-item { font-size: 11px; color: #fff; font-weight: 500; padding-right: 48px; }
.nm-ticker-item a { color: #fff; text-decoration: none; }
.nm-ticker-sep { color: rgba(255,255,255,.5); padding-right: 48px; }
@keyframes nm-tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   HERO
   ============================================================ */
.nm-hero { display: grid; grid-template-columns: 1fr 300px; background: var(--ink); min-height: 380px; }
.nm-hero-main {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(135deg, #1a0e02, #0d0a05);
}
.nm-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .35; transition: opacity .4s;
}
.nm-hero-main:hover .nm-hero-bg { opacity: .45; }
.nm-hero-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,13,2,.98) 0%, rgba(17,13,2,.55) 50%, rgba(17,13,2,.1) 100%);
}
.nm-hero-content { position: relative; z-index: 2; padding: 32px 32px 36px; }
.nm-hero-badge {
  display: inline-flex; align-items: center; gap: 6px; background: var(--amber);
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 12px; margin-bottom: 14px;
}
.nm-hero-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: nm-pulse 1.5s infinite; }
@keyframes nm-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.8)} }
.nm-hero-title {
  font-family: var(--serif); font-size: 36px; font-weight: 700; color: #fff;
  line-height: 1.12; margin-bottom: 12px; letter-spacing: -.5px;
}
.nm-hero-title em { font-weight: 400; color: rgba(255,255,255,.8); }
.nm-hero-chips { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.nm-chip {
  font-size: 10px; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.15);
  padding: 3px 9px; border-radius: 2px;
}
.nm-chip-amber { background: var(--amber); color: #fff; border-color: var(--amber); font-weight: 700; }
.nm-hero-desc {
  font-family: var(--serif); font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.58);
  margin-bottom: 22px; max-width: 460px; font-style: italic;
}
.nm-hero-actions { display: flex; gap: 10px; }
.nm-btn-amber {
  background: var(--amber); color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 700;
  padding: 9px 20px; border: none; border-radius: var(--r); cursor: pointer; letter-spacing: .3px;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: var(--ease);
}
.nm-btn-amber:hover { background: var(--amber-dark); color: #fff; }
.nm-btn-ghost {
  background: transparent; color: rgba(255,255,255,.75); font-family: var(--sans); font-size: 12px;
  font-weight: 500; padding: 9px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r);
  cursor: pointer; text-decoration: none; transition: var(--ease);
}
.nm-btn-ghost:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.nm-hero-sidebar { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.07); }
.nm-hero-mini {
  flex: 1; padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.06);
  cursor: pointer; background: rgba(255,255,255,.02); transition: background var(--ease); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.nm-hero-mini:hover { background: rgba(255,255,255,.05); }
.nm-hero-mini:last-child { border-bottom: none; }
.nm-mini-cat { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--amber-lt); margin-bottom: 6px; }
.nm-mini-title { font-family: var(--serif); font-size: 14px; font-weight: 700; color: rgba(255,255,255,.85); line-height: 1.35; margin-bottom: 4px; }
.nm-mini-meta { font-size: 10px; color: rgba(255,255,255,.3); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.nm-sec { padding: 32px 0; }
.nm-sec-alt { background: var(--paper2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.nm-sec-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.nm-sec-accent { width: 4px; height: 20px; background: var(--amber); border-radius: 2px; flex-shrink: 0; }
.nm-sec-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); flex: 1; margin: 0; font-family: var(--sans); }
.nm-sec-more { font-size: 11px; color: var(--amber); font-weight: 600; cursor: pointer; letter-spacing: .3px; text-decoration: none; }
.nm-sec-more:hover { color: var(--amber-dark); }

/* ============================================================
   MOVIE CARDS
   ============================================================ */
.nm-movie-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.nm-movie-card { cursor: pointer; }
.nm-movie-card:hover .nm-movie-title { color: var(--amber); }
.nm-movie-card:hover .nm-poster { box-shadow: var(--shadow-lg); }
.nm-poster {
  aspect-ratio: 2/3; position: relative; overflow: hidden; border-radius: var(--r);
  background: #1a1510; box-shadow: var(--shadow-sm); transition: box-shadow var(--ease);
}
.nm-poster img { width: 100%; height: 100%; object-fit: cover; }
.nm-poster-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; color: rgba(255,255,255,.2); text-align: center; padding: 16px;
}
/* gradient overlays per genre feel */
.nm-poster-bg { position: absolute; inset: 0; }
.nm-poster-shine { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(255,255,255,.04) 0%,transparent 60%); }
.nm-poster-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 55%; background: linear-gradient(transparent,rgba(0,0,0,.85)); }
.nm-poster-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px; z-index: 2; }
.nm-poster-name { font-family: var(--serif); font-size: 12px; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1px; }
.nm-poster-genre { font-size: 9px; color: rgba(255,255,255,.5); }
.nm-poster-tag {
  position: absolute; top: 8px; left: 8px; background: var(--amber); color: #fff;
  font-size: 8px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 8px; z-index: 3; border-radius: 2px;
}
.nm-poster-score {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.8); color: var(--amber-lt); font-size: 11px; font-weight: 700;
  padding: 3px 8px; z-index: 3; border: 1px solid rgba(212,130,10,.3); border-radius: 2px;
}
.nm-movie-title { font-size: 13px; font-weight: 600; color: var(--ink); margin: 10px 0 2px; line-height: 1.3; transition: color var(--ease); }
.nm-movie-sub { font-size: 10px; color: var(--ink4); }

/* ============================================================
   NEWS LAYOUT
   ============================================================ */
.nm-news-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.nm-news-main-img {
  aspect-ratio: 16/9; background: var(--paper3); border: 1px solid var(--rule);
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink5); text-transform: uppercase; letter-spacing: .5px;
}
.nm-news-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nm-news-main-img:hover img { transform: scale(1.03); }
.nm-cat-label {
  display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px; border-bottom: 2px solid var(--amber); padding-bottom: 1px;
}
.nm-news-title-lg {
  font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 8px; cursor: pointer;
}
.nm-news-title-lg:hover { color: var(--amber); }
.nm-news-dek { font-family: var(--serif); font-size: 13px; line-height: 1.7; color: var(--ink3); font-style: italic; margin-bottom: 10px; }
.nm-byline { font-size: 10px; color: var(--ink4); }
/* News list */
.nm-news-list { display: flex; flex-direction: column; }
.nm-news-item { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.nm-news-item:first-child { padding-top: 0; }
.nm-news-item:last-child { border-bottom: none; }
.nm-news-thumb { width: 76px; height: 56px; border-radius: var(--r); background: var(--paper3); border: 1px solid var(--rule); flex-shrink: 0; overflow: hidden; }
.nm-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nm-news-item-title { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.38; margin-bottom: 3px; cursor: pointer; transition: color var(--ease); }
.nm-news-item-title:hover { color: var(--amber); }
.nm-news-item-meta { font-size: 10px; color: var(--ink4); }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.nm-sidebar { display: flex; flex-direction: column; gap: 20px; }
.nm-sidebar-sticky { position: sticky; top: 76px; }
.nm-widget { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.nm-widget-head {
  background: var(--ink); color: #fff; font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px; font-family: var(--sans);
}
.nm-widget-head::before { content: ''; display: inline-block; width: 3px; height: 12px; background: var(--amber); flex-shrink: 0; border-radius: 1px; }
.nm-widget-body { padding: 14px 16px; }
.nm-trend-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--paper3); }
.nm-trend-row:last-child { border-bottom: none; padding-bottom: 0; }
.nm-trend-n { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--rule2); width: 22px; flex-shrink: 0; line-height: 1; }
.nm-trend-n.hi { color: var(--amber); }
.nm-trend-title { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.nm-trend-sub { font-size: 10px; color: var(--ink4); }

/* ============================================================
   BOX OFFICE TABLE
   ============================================================ */
.nm-bo-wrap { border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.nm-bo-table { width: 100%; border-collapse: collapse; }
.nm-bo-table thead tr { background: var(--ink); }
.nm-bo-table thead th { padding: 11px 16px; text-align: left; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--sans); }
.nm-bo-table tbody tr { border-bottom: 1px solid var(--rule); transition: background var(--ease); }
.nm-bo-table tbody tr:last-child { border-bottom: none; }
.nm-bo-table tbody tr:hover { background: var(--amber-pale); }
.nm-bo-table tbody td { padding: 12px 16px; vertical-align: middle; }
.nm-bo-rank { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--rule2); }
.nm-bo-rank.top { color: var(--amber); }
.nm-bo-poster { width: 32px; height: 46px; border-radius: 3px; background: var(--paper3); border: 1px solid var(--rule); overflow: hidden; flex-shrink: 0; }
.nm-bo-poster img { width: 100%; height: 100%; object-fit: cover; }
.nm-bo-film { display: flex; align-items: center; gap: 12px; }
.nm-bo-name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.nm-bo-sub { font-size: 10px; color: var(--ink4); }
.nm-bo-gross { font-size: 14px; font-weight: 700; color: var(--ink); }
.nm-bo-pill { font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.nm-bo-pill.showing { background: var(--amber-pale); color: var(--amber); }
.nm-bo-pill.ott     { background: var(--paper3); color: var(--ink3); }

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.nm-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nm-review-card {
  background: var(--paper); border: 1px solid var(--rule); border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm);
}
.nm-rv-top { display: flex; gap: 14px; margin-bottom: 14px; }
.nm-rv-poster { width: 52px; height: 74px; border-radius: 3px; background: var(--paper3); border: 1px solid var(--rule); flex-shrink: 0; overflow: hidden; }
.nm-rv-poster img { width: 100%; height: 100%; object-fit: cover; }
.nm-rv-film { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.nm-rv-score-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.nm-rv-score { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--amber); line-height: 1; }
.nm-rv-score-max { font-size: 11px; color: var(--ink5); align-self: flex-end; margin-bottom: 3px; }
.nm-rv-bar { flex: 1; height: 3px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.nm-rv-fill { height: 100%; background: var(--amber); border-radius: 2px; }
.nm-rv-stars { font-size: 12px; color: var(--amber); letter-spacing: 2px; }
.nm-rv-pull {
  font-family: var(--serif); font-size: 13px; line-height: 1.7; color: var(--ink3);
  font-style: italic; border-left: 3px solid var(--amber-pale); padding-left: 12px; margin-bottom: 10px;
}
.nm-rv-by { font-size: 10px; color: var(--ink4); }
.nm-rv-by strong { color: var(--ink3); }

/* ============================================================
   SINGLE POST / ARTICLE
   ============================================================ */
.nm-article-header { background: var(--ink); padding: 48px 0 40px; border-bottom: 3px solid var(--amber); }
.nm-article-cat { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.nm-article-title { font-family: var(--serif); font-size: 36px; color: #fff; line-height: 1.15; margin-bottom: 14px; max-width: 720px; }
.nm-article-dek { font-family: var(--serif); font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.65; font-style: italic; max-width: 680px; margin-bottom: 18px; }
.nm-article-meta { font-size: 12px; color: rgba(255,255,255,.4); display: flex; gap: 16px; flex-wrap: wrap; }
.nm-article-body { padding: 40px 0; }
.nm-article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.nm-article-content { font-size: 16px; line-height: 1.8; color: var(--ink2); }
.nm-article-content h2 { font-family: var(--serif); font-size: 24px; margin: 32px 0 14px; }
.nm-article-content h3 { font-family: var(--serif); font-size: 20px; margin: 24px 0 12px; }
.nm-article-content p  { margin-bottom: 20px; }
.nm-article-content img { border-radius: var(--r-lg); margin: 24px 0; }
.nm-article-content blockquote {
  border-left: 4px solid var(--amber); padding: 16px 20px; margin: 24px 0;
  background: var(--amber-pale); border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink2);
}
.nm-featured-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; }
.nm-featured-img img { width: 100%; height: auto; }

/* ============================================================
   MOVIE DETAIL PAGE
   ============================================================ */
.nm-movie-hero { background: var(--ink); padding: 48px 0 0; border-bottom: 3px solid var(--amber); }
.nm-movie-hero-inner { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.nm-movie-hero-poster { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); aspect-ratio: 2/3; background: #2a1a06; }
.nm-movie-hero-poster img { width: 100%; height: 100%; object-fit: cover; }
.nm-movie-info { color: #fff; padding-bottom: 36px; }
.nm-movie-h1 { font-family: var(--serif); font-size: 38px; color: #fff; margin-bottom: 10px; }
.nm-movie-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.nm-movie-desc { font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; font-style: italic; margin-bottom: 20px; max-width: 540px; }
.nm-rating-ring {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--amber);
  margin-right: 16px; flex-shrink: 0;
}
.nm-rating-ring-num { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--amber); line-height: 1; }
.nm-rating-ring-max { font-size: 10px; color: rgba(255,255,255,.4); }
.nm-detail-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.nm-detail-table td { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.nm-detail-table td:first-child { color: var(--ink4); width: 140px; font-weight: 500; }

/* ============================================================
   ARCHIVE (Movies / News listing)
   ============================================================ */
.nm-archive-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.nm-archive-news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.nm-archive-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--ease), box-shadow var(--ease); cursor: pointer; }
.nm-archive-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nm-archive-thumb { aspect-ratio: 16/9; background: var(--paper3); overflow: hidden; }
.nm-archive-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.nm-archive-card:hover .nm-archive-thumb img { transform: scale(1.04); }
.nm-archive-body { padding: 16px; }
.nm-archive-title { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: 6px; transition: color var(--ease); }
.nm-archive-card:hover .nm-archive-title { color: var(--amber); }
.nm-archive-meta { font-size: 11px; color: var(--ink4); }

/* ============================================================
   PAGINATION
   ============================================================ */
.nm-pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; }
.nm-page-btn {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--rule);
  border-radius: var(--r); color: var(--ink3); background: var(--paper); cursor: pointer; transition: var(--ease);
}
.nm-page-btn:hover, .nm-page-btn.active { background: var(--amber); border-color: var(--amber); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.nm-footer { background: var(--ink); border-top: 3px solid var(--amber); }
.nm-footer-body { padding: 40px 0 0; }
.nm-footer-brand {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nm-footer-logo { font-family: var(--serif); font-size: 26px; font-weight: 700; color: #fff; }
.nm-footer-logo span { color: var(--amber-lt); font-weight: 400; font-style: italic; }
.nm-footer-tagline { font-size: 12px; color: rgba(255,255,255,.35); font-style: italic; font-family: var(--serif); }
.nm-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.nm-footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; margin-bottom: 16px; font-family: var(--serif); font-style: italic; }
.nm-footer-np { font-size: 11px; color: rgba(255,255,255,.2); font-style: italic; margin-bottom: 14px; }
.nm-footer-socials { display: flex; gap: 6px; }
.nm-fsocial {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 11px; font-weight: 700; cursor: pointer; transition: var(--ease);
  font-family: var(--sans); text-decoration: none;
}
.nm-fsocial:hover { border-color: var(--amber); color: var(--amber); }
.nm-fcol-title {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--sans);
}
.nm-fcol ul { list-style: none; margin: 0; padding: 0; }
.nm-fcol ul li { margin-bottom: 9px; }
.nm-fcol ul a { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--ease); }
.nm-fcol ul a:hover { color: #fff; }
.nm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px;
}
.nm-footer-bottom-links { display: flex; gap: 16px; }
.nm-footer-bottom-links a { font-size: 11px; color: rgba(255,255,255,.3); text-decoration: none; transition: color var(--ease); }
.nm-footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nm-movie-grid    { grid-template-columns: repeat(4,1fr); }
  .nm-hero          { grid-template-columns: 1fr; }
  .nm-hero-sidebar  { flex-direction: row; max-height: 160px; }
  .nm-footer-cols   { grid-template-columns: 1fr 1fr; }
  .nm-archive-grid  { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .nm-nav           { display: none; }
  .nm-movie-grid    { grid-template-columns: repeat(2,1fr); }
  .nm-news-wrap     { grid-template-columns: 1fr; }
  .nm-review-grid   { grid-template-columns: 1fr; }
  .nm-hero-sidebar  { display: none; }
  .nm-hero-title    { font-size: 26px; }
  .nm-article-grid  { grid-template-columns: 1fr; }
  .nm-movie-hero-inner { grid-template-columns: 1fr; }
  .nm-footer-cols   { grid-template-columns: 1fr; }
  .nm-archive-grid  { grid-template-columns: repeat(2,1fr); }
  .nm-archive-news-grid { grid-template-columns: 1fr; }
  .nm-container     { padding: 0 16px; }
}
@media (max-width: 480px) {
  .nm-movie-grid    { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .nm-sec           { padding: 22px 0; }
}
