/* =========================
   VARIABLES
========================= */
:root{
  --nm-bg:#0b0f16;
  --nm-header:#11161d;
  --nm-white:#ffffff;
  --nm-muted:#9aa3ab;
  --nm-gold:#d7b56d;
  --nm-red:#c21d1d;
  --nm-line:rgba(255,255,255,0.08);
  --nm-text:#111111;
  --nm-text-soft:#4f5661;
  --nm-beige:#f7f3ee;
  --nm-newsletter:#f3f1ec;
}

/* =========================
   RESET / GLOBAL
========================= */


.nm-divider{
  width:50px;
  height:1px;
  background:linear-gradient(to right, transparent, var(--nm-red), transparent);
  margin:1.2rem auto;
}

.nm-divider-sm{
  width:32px;
  height:1px;
  background:var(--nm-red);
  margin:0.8rem 0;
}
.nm-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, transparent, #c21d1d, transparent);
  margin: 1.2rem auto;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter', sans-serif;
  background:var(--nm-bg);
  color:var(--nm-white);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
  transition:all 0.25s ease;
}

a:hover{
  color:var(--nm-gold);
}

.section-title{
  font-family:'Playfair Display', serif;
  font-size:2.8rem;
  font-weight:700;
  line-height:1.05;
  letter-spacing:-0.02em;
  text-align:center;
  color:var(--nm-text);
  margin-bottom:0;
}

.nm-divider{
  width:50px;
  height:1px;
  background:linear-gradient(to right, transparent, var(--nm-red), transparent);
  margin:1.2rem auto;
}

/* =========================
   HEADER
========================= */
.main-header{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  z-index:20;
  background:rgba(0,0,0,0.18);
  backdrop-filter:blur(6px);
  padding-bottom:1.5rem;
}

.header-brand-wrap{
  padding-top:1.5rem;
}

.brand-center{
  text-align:center;
}

.brand-logo img{
  max-height:52px;
  width:auto;
  display:inline-block;
  margin-bottom:0.5rem;
}

.brand-name{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:0.6rem;
  font-family:'Playfair Display', serif;
  color:#fff;
}

.brand-nuria,
.brand-magazine{
  font-size:2.6rem;
  line-height:1;
  letter-spacing:0.06em;
}

.header-tagline{
  text-align:center;
  color:rgba(255,255,255,0.85);
  font-size:0.95rem;
  letter-spacing:0.22em;
  margin-top:0.5rem;
  margin-bottom:1.1rem;
  text-transform:uppercase;
}

/* =========================
   NAVBAR
========================= */
.nm-navbar{
  border-top:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.12);
  background:rgba(5,10,18,0.32);
  backdrop-filter:blur(6px);
}

.nm-navbar .navbar-nav{
  gap:1.75rem;
}

.nm-navbar .nav-link{
  color:rgba(255,255,255,0.92);
  text-transform:uppercase;
  font-size:0.92rem;
  font-weight:500;
  letter-spacing:0.12em;
  padding:1rem 0;
}

.nm-navbar .nav-link:hover,
.nm-navbar .nav-link:focus{
  color:var(--nm-gold);
}

.nm-search a,
.nm-search i{
  color:#fff;
  font-size:1.2rem;
}

.nm-search a:hover,
.nm-search i:hover{
  color:var(--nm-gold);
}

/* =========================
   HERO
========================= */
.nm-hero{
  position:relative;
  min-height:100vh;
  background:url('/assets/img/nm-hero.png') center center / cover no-repeat;
  overflow:hidden;
  color:#fff;
}

.nm-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to right, rgba(5,10,18,0.82) 8%, rgba(5,10,18,0.32) 58%, rgba(5,10,18,0.60) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.10) 38%, rgba(0,0,0,0.56) 100%);
  z-index:1;
}

.nm-hero-content{
  position:relative;
  z-index:2;
  padding-top:13rem;
  padding-bottom:8rem;
}

.hero-kicker{
  color:var(--nm-gold);
  font-size:1rem;
  font-weight:600;
  letter-spacing:0.30em;
  margin-bottom:1rem;
  text-transform:uppercase;
}

.hero-title{
  font-family:'Playfair Display', serif;
  font-size:clamp(3.8rem, 8vw, 6.8rem);
  line-height:0.95;
  font-weight:700;
  letter-spacing:-0.03em;
  color:#fff;
  margin-bottom:0.8rem;
  text-shadow:0 4px 20px rgba(0,0,0,0.6);
}

.hero-subtitle{
  font-size:clamp(1.3rem, 2.2vw, 2.3rem);
  font-weight:500;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.95);
  margin-bottom:1.5rem;
}

.hero-description{
  font-family:'Playfair Display', serif;
  font-size:clamp(1.2rem, 2vw, 1.8rem);
  line-height:1.35;
  max-width:760px;
  color:rgba(255,255,255,0.90);
  margin-bottom:2rem;
  text-shadow:0 2px 10px rgba(0,0,0,0.5);
}

.hero-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:0.95rem 1.8rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  font-weight:600;
}

.btn-hero-primary{
  background:linear-gradient(180deg, #e1c487 0%, #cfa45c 100%);
  border:1px solid var(--nm-gold);
  color:#111111;
}

.btn-hero-primary:hover{
  color:#111111;
  transform:translateY(-1px);
}

.btn-hero-secondary{
  background:rgba(0,0,0,0.25);
  border:1px solid rgba(215,181,109,0.70);
  color:#ffffff;
  backdrop-filter:blur(4px);
}

.btn-hero-secondary:hover{
  color:#ffffff;
  border-color:var(--nm-gold);
  background:rgba(255,255,255,0.06);
}

/* =========================
   HERO CARDS
========================= */
.hero-cards{
  position:relative;
  margin-top:-120px;
  z-index:5;
}

.hero-cards .container{
  background:rgba(0,0,0,0.55);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(10px);
}

.hero-card{
  background:rgba(5,10,18,0.75);
  backdrop-filter:blur(8px);
  padding:2rem 1.5rem;
  border-right:1px solid rgba(255,255,255,0.08);
  text-align:left;
  height:100%;
  transition:all 0.25s ease;
}

.hero-card:last-child{
  border-right:none;
}

.hero-card:hover{
  background:rgba(10,18,32,0.85);
}

.hero-card h3{
  font-family:'Playfair Display', serif;
  font-size:1.6rem;
  margin:0;
  color:#fff;
}

.hero-card:hover h3{
  color:var(--nm-gold);
}

.card-label{
  display:block;
  font-size:0.75rem;
  letter-spacing:0.25em;
  text-transform:uppercase;
  color:var(--nm-gold);
  margin-bottom:0.5rem;
}

/* =========================
   FEATURED
========================= */

.featured{
  padding:6rem 0;
  background:#ffffff;
}

.story-card{
  background:#ffffff;
  height:100%;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card:hover{
  transform:translateY(-8px);
}

.story-card-image-wrap{
  overflow:hidden;
  margin-bottom:1.25rem;
}

.story-card-image-wrap img{
  width:100%;
  height:260px;
  object-fit:cover;
}

.story-card-body{
  padding-right:0.5rem;
}

.story-category{
  display:inline-block;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--nm-gold);
  margin-bottom:0.65rem;
}

.story-card h3{
  font-family:'Playfair Display', serif;
  font-size:2rem;
  line-height:1.08;
  letter-spacing:-0.015em;
  color:var(--nm-text);
  margin-bottom:0.75rem;
}

.story-card p{
  font-size:1.02rem;
  line-height:1.6;
  color:var(--nm-text-soft);
  margin-bottom:0;
}

/* =========================
   EDITORIAL GRID
========================= */

.nm-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.nm-card h3{
  font-family:'Playfair Display', serif;
}
.editorial-grid{
  padding:5rem 0;
  background:#ffffff;
}

.editorial-main,
.editorial-side{
  background:#ffffff;
  transition:transform 0.25s ease;
}

.editorial-main:hover,
.editorial-side:hover{
  transform:translateY(-5px);
}

.editorial-main-image-wrap,
.editorial-side-image-wrap{
  overflow:hidden;
  margin-bottom:1rem;
}

.editorial-main-image-wrap img{
  width:100%;
  height:430px;
  object-fit:cover;
}

.editorial-side-image-wrap img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.editorial-body,
.editorial-side-body{
  padding-right:0.5rem;
}

.editorial-kicker{
  display:inline-block;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--nm-gold);
  margin-bottom:0.7rem;
}

.editorial-main h3{
  font-family:'Playfair Display', serif;
  font-size:2.3rem;
  line-height:1.08;
  letter-spacing:-0.015em;
  color:var(--nm-text);
  margin-bottom:0.85rem;
}

.editorial-main p{
  font-size:1.02rem;
  line-height:1.65;
  color:var(--nm-text-soft);
  margin-bottom:0;
}

.editorial-side h4{
  font-family:'Playfair Display', serif;
  font-size:1.45rem;
  line-height:1.15;
  color:var(--nm-text);
  margin-bottom:0;
}

/* =========================
   LATEST STORIES
========================= */
.latest-stories{
  padding:5rem 0;
  background:var(--nm-beige);
}

.latest-intro{
  max-width:700px;
  font-size:1.02rem;
  line-height:1.6;
  color:#5a6270;
}

.latest-view-all{
  display:inline-block;
  font-size:0.82rem;
  font-weight:600;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--nm-text);
  border-bottom:1px solid rgba(17,17,17,0.25);
  padding-bottom:0.2rem;
}

.latest-view-all:hover{
  color:var(--nm-gold);
  border-color:var(--nm-gold);
}

.latest-card{
  background:#ffffff;
  border:1px solid rgba(17,17,17,0.06);
  height:100%;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(0,0,0,0.08);
}

.latest-card-image-wrap{
  overflow:hidden;
}

.latest-card-image-wrap img{
  width:100%;
  height:230px;
  object-fit:cover;
}

.latest-card-body{
  padding:1.4rem 1.3rem 1.5rem;
}

.latest-kicker{
  display:inline-block;
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.22em;
  text-transform:uppercase;
  color:var(--nm-gold);
  margin-bottom:0.75rem;
}

.latest-card h3{
  font-family:'Playfair Display', serif;
  font-size:1.7rem;
  line-height:1.12;
  color:var(--nm-text);
  margin-bottom:0.85rem;
}

.latest-card p{
  font-size:0.98rem;
  line-height:1.65;
  color:#5a6270;
  margin-bottom:1rem;
}

.latest-link{
  display:inline-block;
  font-size:0.82rem;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--nm-text);
}

.latest-link:hover{
  color:var(--nm-gold);
}

/* =========================
   NEWSLETTER
========================= */
.nm-newsletter{
  background:var(--nm-newsletter);
  color:var(--nm-text);
  padding:80px 0;
}

.nm-newsletter input{
  background:#ffffff;
  border:1px solid rgba(17,17,17,0.12);
  min-height:52px;
  padding:0.85rem 1rem;
}

.nm-newsletter .btn,
.nm-newsletter button{
  background:linear-gradient(180deg, #e1c487 0%, #cfa45c 100%);
  border:1px solid var(--nm-gold);
  color:#111111;
  font-weight:600;
  letter-spacing:0.04em;
}

.nm-newsletter .btn:hover,
.nm-newsletter button:hover{
  color:#111111;
  filter:brightness(1.03);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px){
  .brand-nuria,
  .brand-magazine{
    font-size:1.9rem;
  }

  .header-tagline{
    font-size:0.78rem;
    letter-spacing:0.14em;
    padding:0 1rem;
  }

  .nm-navbar{
    background:rgba(5,10,18,0.75);
  }

  .nm-hero{
    min-height:88vh;
    background-position:center center;
  }

  .nm-hero-content{
    text-align:center;
    padding-top:12rem;
    padding-bottom:6rem;
  }

  .hero-description{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-actions{
    justify-content:center;
  }

  .hero-cards{
    margin-top:-80px;
  }

  .hero-card{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,0.08);
    text-align:center;
  }

  .section-title{
    font-size:2.3rem;
  }

  .story-card h3{
    font-size:1.7rem;
  }

  .story-card-image-wrap img{
    height:230px;
  }

  .editorial-main-image-wrap img{
    height:320px;
  }

  .editorial-side-image-wrap img{
    height:220px;
  }

  .editorial-main h3{
    font-size:1.95rem;
  }

  .editorial-side h4{
    font-size:1.3rem;
  }

  .latest-card-image-wrap img{
    height:220px;
  }

  .latest-card h3{
    font-size:1.45rem;
  }
}

@media (max-width: 768px){
  .nm-foot-bottom,
  .nm-foot-note{
    text-align:center;
  }
}