/* =========================================================
   NutriWorkers — Legal page (Terms)
   Accent: #303e7a
   ========================================================= */

:root{
  --nw-accent: #303e7a;
  --nw-ink: #0b1220;
  --nw-border: rgba(11,18,32,0.10);
  --nw-surface: rgba(255,255,255,0.96);
  --nw-shadow: 0 18px 60px rgba(11,18,32,.10);
  --nw-radius: 18px;
  --nw-radius-lg: 26px;
  --nw-max: 980px;
  --nw-ease: cubic-bezier(.2,.8,.2,1);
}

/* Oculta header nativo GP si se cuela */
body.page-template-terms-page #masthead.site-header{
  display: none !important;
}

/* 1) Neutraliza el layout de GP */
body.page-template-terms-page .site-content,
body.page-template-terms-page .content-area,
body.page-template-terms-page #primary{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
}

/* 2) Centra TU main */
.nw-legal{
  width: 100%;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
}

/* 3) El ancho real lo controla el container */
.nw-legal .nw-container{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}


@media (max-width: 1200px){
  .nw-legal .nw-container{ padding: 0 25px; }
}

/* =========================================================
   Hero
   ========================================================= */
.nw-legalHero{
  padding: 90px 0 40px;
  text-align: center;
}

@media (max-width: 1200px){
  .nw-legalHero{ padding: 86px 0 26px; }
}

.nw-legalKicker{
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11,18,32,.55);
}

.nw-legalTitle{
  margin: 0;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.nw-legalTitle__line1{
  display: block;
  font-weight: 700;
  font-size: 68px;
  color: var(--nw-accent);
}


.nw-legalTitle__line2{
  display: block;
  font-weight: 400;
  font-style: italic;
  font-size: 68px;
  color: #000;
}

@media (max-width: 720px){
  .nw-legalTitle__line1{
      font-size: 52px;
    }


  .nw-legalTitle__line2{
      font-size: 52px;
    }
}

/* Divisor elegante */
.nw-legalDivider{
  width: min(520px, 86%);
  height: 1px;
  margin: 20px auto 16px;
  background: linear-gradient(90deg,
    transparent,
    rgba(48,62,122,0.45),
    transparent
  );
  position: relative;
}

.nw-legalDivider::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(48,62,122,0.18);
  border: 1px solid rgba(48,62,122,0.35);
  border-radius: 2px;
}

.nw-legalLead{
  margin: 0 auto;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(11,18,32,0.70);
}

/* =========================================================
   Body card
   ========================================================= */
.nw-legalBody{
  padding: 22px 0 150px;
}

.nw-legalCard{
  background: var(--nw-surface);
  border: 1px solid var(--nw-border);
  border-radius: var(--nw-radius-lg);
  
  padding: 25px 25px 15px 25px;
}

@media (max-width: 720px){
    .nw-legalCard{
        text-align:center;
    }
    
}
.nw-legalContent{
  font-size: 16px;
  line-height: 1.9;
  color: black;
}

/* Headings */
.nw-legalContent h2{
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
  color: #303e7a;
  font-weight:600;
}

.nw-legalContent p{
  margin: 0 0 12px;
  font-size:18px;
  line-height: 1.7;
}

.nw-legalContent strong{
  color: black;
}

.nw-legalContent a{
  color: rgba(48,62,122,0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(48,62,122,0.25);
}

.nw-legalContent a:hover{
  border-bottom-color: rgba(48,62,122,0.55);
}

/* List */
.nw-legalContent ul{
  margin: 10px 0 14px 18px;
  padding: 0;
}

.nw-legalContent li{
  margin: 8px 0;
}
.nw-terms .nw-registered { position: static; vertical-align: super; font-size: .6em; line-height: 0; }
.nw-terms .nw-legalContent a { overflow-wrap: anywhere; }
