/* NettVenn – sosial forside */

.nv-online-panel {
  margin-bottom: 10px;
  padding-bottom: 4px;
}
.nv-online-heading {
  padding: 9px 13px 6px;
  color: #648096;
  font-size: 13px;
  font-weight: bold;
}
.nv-online-heading span:last-child {
  color: #8497a5;
  font-weight: normal;
}
.nv-online-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 13px;
  padding: 4px 12px 9px;
}
.nv-online-member {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px;
  border-radius: 20px;
  color: #35617f;
  text-decoration: none;
  font-size: 12px;
}
.nv-online-member:hover { background: #edf7fc; }
.nv-online-avatar {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e9f3f8;
  border: 1px solid #d4e4ed;
  font-size: 16px;
}
.nv-online-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nv-online-details {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nv-online-name {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nv-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58ae72;
}
.nv-online-empty {
  color: #8495a2;
  font-size: 12px;
}

/* Status */
.nv-status-inner { padding: 13px 15px 14px; }
.nv-status-current {
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #d6e5ee;
  border-radius: 7px;
  background: linear-gradient(#f9fcfe,#f0f7fb);
}
.nv-status-label {
  color: #7890a1;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}
.nv-status-current p {
  margin: 6px 0 0;
  color: #315570;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.nv-status-empty {
  color: #8797a2 !important;
  font-style: italic;
}
.nv-status-form {
  padding: 10px;
  border-radius: 7px;
  background: #f2f8fc;
  border: 1px solid #dceaf2;
}
.nv-status-form input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #b7cddd;
  border-radius: 5px;
  background: white;
  color: #24445a;
  font: inherit;
}
.nv-status-footer,
.nv-guestbook-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}
.nv-status-settings { margin: 9px 0 0; }

/* Gjestebok */
.nv-guestbook-inner { padding: 13px 15px; }
.nv-guestbook-form {
  padding: 12px;
  border: 1px solid #d7e7f0;
  border-radius: 7px;
  background: #f3f9fd;
}
.nv-guestbook-form label {
  display: block;
  margin-bottom: 7px;
  color: #315d7c;
  font-weight: bold;
}
.nv-guestbook-form textarea {
  display: block;
  width: 100%;
  min-height: 82px;
  box-sizing: border-box;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #b8cfdd;
  border-radius: 5px;
  background: white;
  color: #24445a;
  font: inherit;
}
.nv-guestbook-entries { margin-top: 12px; }
.nv-guestbook-entry {
  display: flex;
  gap: 11px;
  padding: 13px 4px;
  border-bottom: 1px dotted #c8dce8;
}
.nv-guestbook-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #c5dbe9;
  border-radius: 8px;
  background: #e9f6fd;
  font-size: 24px;
  text-decoration: none;
}
.nv-guestbook-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nv-guestbook-message { min-width: 0; flex: 1; }
.nv-guestbook-message-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 6px;
}
.nv-guestbook-message-head a {
  color: #075b9b;
  font-weight: bold;
  text-decoration: none;
}
.nv-guestbook-message-head time {
  color: #8194a2;
  font-size: 11px;
}
.nv-guestbook-bubble {
  padding: 10px 12px;
  border: 1px solid #d7e5ed;
  border-radius: 3px 11px 11px;
  background: white;
  color: #314e63;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.nv-guestbook-empty {
  padding: 17px 12px;
  border: 1px dashed #c8dce8;
  border-radius: 7px;
  color: #778c9b;
  text-align: center;
  background: #f8fbfd;
}
.nv-guestbook-error {
  padding: 9px 11px;
  border-radius: 5px;
  background: #fff0f0;
  color: #922;
}

/* Nyheter på offentlig velkomstside */
.nv-public-news .inside { padding: 13px; }
.nv-public-news-list { display: grid; gap: 12px; }
.nv-public-news-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px;
  border: 1px solid #d5e5ee;
  border-radius: 7px;
  background: linear-gradient(#fff,#f7fbfe);
}
.nv-public-news-cover {
  display: block;
  width: 126px;
  flex: 0 0 126px;
  overflow: hidden;
  border-radius: 5px;
  background: #eaf3f8;
}
.nv-public-news-cover img {
  display: block;
  width: 100%;
  height: 94px;
  object-fit: cover;
}
.nv-public-news-content { min-width: 0; flex: 1; }
.nv-public-news-category {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 3px;
  background: #e9f3fa;
  color: #52748b;
  font-size: 11px;
  font-weight: bold;
}
.nv-public-news-card h3 {
  margin: 5px 0;
  font-size: 16px;
}
.nv-public-news-card h3 a {
  color: #075b98;
  text-decoration: none;
}
.nv-public-news-card p {
  margin: 5px 0 8px;
  color: #536c7d;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.nv-public-news-link {
  color: #0874b7;
  font-weight: bold;
  text-decoration: none;
}
.nv-public-news-all { margin: 13px 0 0; }
.nv-login-to-comment {
  padding: 12px;
  border: 1px solid #dceaf2;
  border-radius: 6px;
  background: #f5f9fc;
}
@media(max-width:700px) {
  .nv-public-news-card { gap: 9px; padding: 8px; }
  .nv-public-news-cover { width: 100px; flex-basis: 100px; }
  .nv-public-news-cover img { height: 82px; }
  .nv-public-news-card h3 { font-size: 15px; }
  .nv-guestbook-inner,
  .nv-status-inner { padding: 10px; }
  .nv-guestbook-entry { gap: 8px; }
  .nv-guestbook-avatar { width: 36px; height: 36px; flex-basis: 36px; }
}
