/* =========================
   NHW Guides – Card Layout
   ========================= */

.nhw-guides{
  --nhw-text: #101010;
  --nhw-muted: rgba(16,16,16,.7);
  --nhw-border: rgba(0,0,0,.12);
  --nhw-surface: #ffffff;
  --nhw-accent: #53B0E6;
  --nhw-accent-ink: #0b2a3a;

  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.nhw-guides__list{
  display: grid;
  gap: 14px;
}

/* =========================
   Series Card
   ========================= */

.nhw-item{
  background: var(--nhw-surface);
  border: 1px solid var(--nhw-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(0,0,0,.02);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}

.nhw-item:hover{
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.16);
}

.nhw-item__row{
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
}

.nhw-item__media{
  align-self: start;
}

.nhw-item__thumb{
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  background: #f2f2f2;
  display: block;
}

.nhw-item__content{
  min-width: 0;
}

.nhw-item__title{
  margin: 0;
  color: var(--nhw-text);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}

.nhw-item__meta{
  margin-top: 6px;
  color: var(--nhw-muted);
  font-size: 14px;
  line-height: 1.4;
}

.nhw-item__desc{
  margin: 10px 0 0;
  color: rgba(16,16,16,.82);
  max-width: 75ch;
  line-height: 1.55;
}

.nhw-item__actions{
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
}

.nhw-item__status{
  color: var(--nhw-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* =========================
   Buttons / Links
   ========================= */

.nhw-guides a,
.nhw-guides a:visited{
  color: var(--nhw-accent);
}

.nhw-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--nhw-accent) 45%, transparent);
  background: transparent;
  color: var(--nhw-accent);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.nhw-btn:hover{
  background: color-mix(in srgb, var(--nhw-accent) 10%, transparent);
  transform: translateY(-1px);
}

.nhw-btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 700px){
  .nhw-guides{
    padding: 32px 14px;
  }

  .nhw-item{
    padding: 16px;
  }

  .nhw-item__row{
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: start;
  }

  .nhw-item__thumb{
    width: 72px;
    height: 56px;
    border-radius: 10px;
  }

  .nhw-item__title{
    font-size: 18px;
  }

  .nhw-item__actions{
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 12px;
  }

  .nhw-btn{
    white-space: normal;
    text-align: center;
  }
}