/* NAM Journal legal pages – v3.9.3 */

/* No decorative/colored page background on legal pages. */
body:has(.nam-legal-page),
.nam-legal-page,
.nam-legal-hero,
.nam-legal-body{
  background:#fff!important;
  background-image:none!important;
  color:var(--nam-text);
}

.nam-legal-page::before,
.nam-legal-page::after,
.nam-legal-hero::before,
.nam-legal-hero::after,
.nam-legal-body::before,
.nam-legal-body::after{
  display:none!important;
  content:none!important;
}

.nam-legal-hero{
  padding:72px 0 48px;
  border-bottom:1px solid var(--nam-border);
}

.nam-legal-hero__inner,
.nam-legal-layout{
  max-width:1080px;
}

.nam-legal-eyebrow{
  margin:0 0 12px;
  color:var(--nam-gold);
  font-size:13px;
  font-weight:700;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.nam-legal-hero h1{
  margin:0;
  color:var(--nam-text)!important;
  font-size:clamp(44px,5vw,68px)!important;
  font-weight:700!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}

.nam-legal-body{
  padding:52px 0 110px;
}

/* One unified content card for Impressum and Datenschutz. */
.nam-legal-content{
  width:100%;
  padding:46px 50px;
  color:var(--nam-text);
  background:#fff!important;
  background-image:none!important;
  border:1px solid var(--nam-border);
  border-radius:22px;
  box-shadow:0 12px 36px rgba(20,58,102,.045);
}

/* Remove legacy Elementor backgrounds, overlays and spacers. */
.nam-legal-content .elementor,
.nam-legal-content .elementor-section,
.nam-legal-content .elementor-container,
.nam-legal-content .elementor-column,
.nam-legal-content .elementor-widget-wrap,
.nam-legal-content .elementor-element,
.nam-legal-content .e-con,
.nam-legal-content .e-con-inner,
.nam-legal-content .elementor-widget-container,
.nam-legal-content .elementor-background-overlay{
  max-width:none!important;
  min-height:0!important;
  margin-left:0!important;
  margin-right:0!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
}

.nam-legal-content .elementor-section::before,
.nam-legal-content .elementor-section::after,
.nam-legal-content .elementor-element::before,
.nam-legal-content .elementor-element::after,
.nam-legal-content .e-con::before,
.nam-legal-content .e-con::after{
  background:none!important;
  background-image:none!important;
}

.nam-legal-content .elementor-section,
.nam-legal-content .e-con,
.nam-legal-content .e-con-inner{
  width:100%!important;
  padding:0!important;
}

.nam-legal-content .elementor-column,
.nam-legal-content .elementor-widget,
.nam-legal-content .elementor-widget-container{
  width:100%!important;
}

.nam-legal-content .elementor-widget:not(:last-child){
  margin-bottom:0!important;
}

/* Flatten old inner legal cards: the outer card is the single visual container. */
.nam-legal-content .nam-legal-page,
.nam-legal-content .nam-legal-card,
.nam-legal-content .nam-shop-privacy{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

.nam-legal-content h1{
  display:none!important;
}

.nam-legal-content h2,
.nam-legal-content h3,
.nam-legal-content h4,
.nam-legal-content h5{
  color:var(--nam-text)!important;
  font-family:inherit!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}

.nam-legal-content h2{
  margin:42px 0 16px!important;
  font-size:29px!important;
  line-height:1.2!important;
}

.nam-legal-content h2:first-child{
  margin-top:0!important;
}

.nam-legal-content h3{
  margin:30px 0 11px!important;
  font-size:20px!important;
  line-height:1.3!important;
}

.nam-legal-content h4{
  margin:24px 0 9px!important;
  font-size:17px!important;
}

.nam-legal-content p,
.nam-legal-content li,
.nam-legal-content address,
.nam-legal-content .elementor-widget-text-editor,
.nam-legal-content .elementor-widget-text-editor *{
  color:var(--nam-text)!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:1.72!important;
}

.nam-legal-content p{
  margin:0 0 17px!important;
}

.nam-legal-content ul,
.nam-legal-content ol{
  margin:8px 0 22px 24px!important;
  padding:0!important;
}

.nam-legal-content li{
  margin:0 0 7px!important;
}

.nam-legal-content strong,
.nam-legal-content b{
  color:var(--nam-text)!important;
  font-weight:700!important;
}

.nam-legal-content a,
.nam-legal-content a:visited{
  color:#1f5f86!important;
  font-weight:600;
  text-decoration:underline!important;
  text-decoration-color:rgba(31,95,134,.35)!important;
  text-decoration-thickness:1.5px!important;
  text-underline-offset:4px!important;
}

.nam-legal-content a:hover,
.nam-legal-content a:focus{
  color:var(--nam-text)!important;
  text-decoration-color:var(--nam-gold)!important;
}

/* Privacy accordion */
.nam-legal-page--datenschutz .nam-legal-content--accordion{
  display:grid;
  gap:14px;
}

.nam-privacy-section{
  width:100%;
  margin:0!important;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--nam-border);
  border-radius:15px;
}

.nam-privacy-section__summary{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:66px;
  padding:18px 54px 18px 20px;
  color:var(--nam-text);
  background:#fff;
  cursor:pointer;
  list-style:none;
  font-size:19px;
  font-weight:700;
  line-height:1.3;
}

.nam-privacy-section__summary::-webkit-details-marker{
  display:none;
}

.nam-privacy-section__summary:hover{
  background:#fafcfd;
}

.nam-privacy-section__summary::before{
  content:"";
  position:absolute;
  left:0;
  top:14px;
  bottom:14px;
  width:4px;
  border-radius:99px;
  background:var(--nam-gold);
}

.nam-privacy-section__icon{
  position:absolute;
  right:20px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
}

.nam-privacy-section__icon::before,
.nam-privacy-section__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:2px;
  background:var(--nam-text);
  border-radius:99px;
  transform:translate(-50%,-50%);
  transition:transform .18s ease, opacity .18s ease;
}

.nam-privacy-section__icon::after{
  transform:translate(-50%,-50%) rotate(90deg);
}

.nam-privacy-section[open] .nam-privacy-section__icon::after{
  opacity:0;
  transform:translate(-50%,-50%) rotate(0);
}

.nam-privacy-section__body{
  padding:4px 22px 24px;
  border-top:1px solid var(--nam-border);
}

.nam-privacy-section__body > :first-child{
  margin-top:20px!important;
}

.nam-privacy-section__body > :last-child{
  margin-bottom:0!important;
}

/* Once sections are accordionized, don't re-style nested section headings as large top-level blocks. */
.nam-legal-page--datenschutz .nam-privacy-section__body h2{
  margin:26px 0 12px!important;
  font-size:22px!important;
}

@media(max-width:760px){
  .nam-legal-hero{
    padding:54px 0 40px;
  }

  .nam-legal-body{
    padding:32px 0 76px;
  }

  .nam-legal-content{
    padding:24px 18px;
    border-radius:18px;
  }

  .nam-privacy-section__summary{
    min-height:60px;
    padding:16px 48px 16px 17px;
    font-size:17px;
  }

  .nam-privacy-section__icon{
    right:16px;
  }

  .nam-privacy-section__body{
    padding:2px 17px 20px;
  }
}


/* v3.9.4 – section 6 must visually match sections 1–5 */
.nam-privacy-section--shop .nam-privacy-section__body,
.nam-privacy-section--shop .nam-privacy-section__body p,
.nam-privacy-section--shop .nam-privacy-section__body li,
.nam-privacy-section--shop .nam-privacy-section__body div,
.nam-privacy-section--shop .nam-privacy-section__body span{
  font-weight:400!important;
  font-size:16px!important;
  line-height:1.72!important;
}

.nam-privacy-section--shop .nam-privacy-section__body strong,
.nam-privacy-section--shop .nam-privacy-section__body b,
.nam-privacy-section--shop .nam-privacy-section__body h3,
.nam-privacy-section--shop .nam-privacy-section__body h4{
  font-weight:700!important;
}

.nam-privacy-section--shop .nam-privacy-section__summary,
.nam-privacy-section--shop .nam-privacy-section__summary *{
  font-weight:700!important;
  font-size:19px!important;
  line-height:1.3!important;
}


/* v3.9.5 – point 6 uses the exact same accordion typography as points 1–5 */
.nam-legal-page--datenschutz details.nam-privacy-section--shop{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border:1px solid var(--nam-border)!important;
  border-radius:15px!important;
  box-shadow:none!important;
}

.nam-legal-page--datenschutz details.nam-privacy-section--shop > summary{
  min-height:66px!important;
  padding:18px 54px 18px 20px!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1.3!important;
}

.nam-legal-page--datenschutz .nam-privacy-section--shop .nam-privacy-section__title{
  font-size:19px!important;
  font-weight:700!important;
  line-height:1.3!important;
}

.nam-legal-page--datenschutz .nam-privacy-section--shop .nam-privacy-section__body{
  padding:4px 22px 24px!important;
  font-weight:400!important;
}

.nam-legal-page--datenschutz .nam-privacy-section--shop .nam-privacy-section__body p,
.nam-legal-page--datenschutz .nam-privacy-section--shop .nam-privacy-section__body li{
  font-size:16px!important;
  font-weight:400!important;
  line-height:1.72!important;
}

.nam-legal-page--datenschutz .nam-privacy-section--shop .nam-privacy-section__body h3{
  margin:30px 0 11px!important;
  font-size:20px!important;
  font-weight:700!important;
  line-height:1.3!important;
}
