/* SABCVA Network - LinkedIn-style layout on top of the site styles (assets/css/style.css) */
.util-r { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.net-bar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.net-bar-in { display: flex; align-items: center; gap: 18px; min-height: 58px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.net-brand { text-decoration: none; color: var(--ink); font: 600 1.15rem/1 var(--display); margin-right: auto; }
.net-brand b { color: var(--brass); }
.net-bar nav { display: flex; gap: 4px; flex-wrap: wrap; }
.net-bar nav a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 0.92rem; padding: 8px 12px; border-radius: 10px; }
.net-bar nav a:hover, .net-bar nav a.active { color: var(--ink); background: rgba(201, 162, 83, 0.14); }
.net-bar form { margin: 0; }
.net-link { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 700; font-size: 0.9rem; color: var(--brass); cursor: pointer; text-decoration: none; }
.net-link:hover { text-decoration: underline; }
.net-link.on { color: var(--ink); }
.net-link.danger { color: #C0392B; }

.net-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; min-width: 0; }
.net-card h3, .net-h { font: 600 1.15rem/1.25 var(--display); margin: 0 0 10px; }
.net-h-out { margin: 26px 0 12px; }
.net-flash { margin-bottom: 14px; }
.post-sub { display: block; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.post-name { font-weight: 800; color: var(--ink); text-decoration: none; }
.post-name:hover { text-decoration: underline; }

/* layout */
.net-grid { display: grid; gap: 20px; padding-top: 28px; padding-bottom: 60px; grid-template-columns: minmax(0, 1fr); }
.net-main { display: grid; gap: 16px; align-content: start; min-width: 0; }
.net-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
@media (min-width: 760px) { .net-grid { grid-template-columns: 230px minmax(0, 1fr); } .net-grid > .net-side:last-child { grid-column: 2; } .net-grid-2 { grid-template-columns: minmax(0, 1fr) 260px; } .net-grid-2 > .net-side:last-child { grid-column: auto; } }
@media (min-width: 1100px) { .net-grid { grid-template-columns: 230px minmax(0, 1fr) 280px; } .net-grid > .net-side:last-child { grid-column: auto; } .net-grid-2 { grid-template-columns: minmax(0, 1fr) 300px; } }
.net-narrow { max-width: 860px; padding-top: 28px; padding-bottom: 60px; }
.net-wide { max-width: 1120px; }

/* avatars */
.av { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; background: linear-gradient(135deg, #0A1633, #1E3A8A); color: #D9B66A; font-weight: 800; font-size: 1rem; }
.av-sm { width: 34px; height: 34px; font-size: 0.75rem; }
.av-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.av-xl { width: 140px; height: 140px; font-size: 2.6rem; border: 4px solid var(--surface); }

/* left card */
.me-card { display: grid; justify-items: center; text-align: center; gap: 6px; padding-top: 0; overflow: hidden; }
.me-cover { height: 56px; margin: 0 -20px -36px; align-self: stretch; background: linear-gradient(120deg, #0A1633, #1E3A8A 60%, #C9A253); }
.me-card .av { border: 3px solid var(--surface); }

/* composer */
.composer { display: grid; gap: 12px; }
.composer-top { display: flex; gap: 12px; align-items: flex-start; }
.composer textarea { flex: 1; min-width: 0; min-height: 78px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; background: var(--bg); color: var(--ink); }
.composer-bot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.composer-bot select, .net-search select, .net-search input { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--bg); color: var(--ink); min-width: 0; }
.net-file { cursor: pointer; font-weight: 700; color: var(--muted); padding: 8px 10px; border-radius: 10px; }
.net-file:hover { background: rgba(201, 162, 83, 0.14); }
.net-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.net-file:focus-within { outline: 2px solid var(--brass); }
.net-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.net-tabs a { text-decoration: none; font-weight: 700; font-size: 0.86rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--surface); }
.net-tabs a.active, .net-tabs a:hover { background: #0A1633; color: #D9B66A; border-color: #0A1633; }

/* posts */
.post { display: grid; gap: 12px; }
.post-h { display: flex; gap: 12px; align-items: flex-start; }
.post-h > div { flex: 1; min-width: 0; }
.post-del { margin: 0; }
.post-body { line-height: 1.6; overflow-wrap: anywhere; }
.post-img { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.post-img img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 12px; display: block; }
.post-stats { font-size: 0.84rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.post-act form { margin: 0; }
.kind { font-weight: 700; }
.kind-achievement { color: var(--brass); }
.cmts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmts li { display: flex; gap: 10px; }
.cmts li > div { background: var(--bg); border-radius: 12px; padding: 8px 12px; flex: 1; min-width: 0; }
.cmts p { margin: 4px 0 0; overflow-wrap: anywhere; }
.cmt-form { display: flex; gap: 8px; align-items: center; margin: 0; }
.cmt-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font: inherit; background: var(--bg); color: var(--ink); }
.cmt-form .btn { padding: 8px 16px; }

/* lists */
.mini-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.mini-list a { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.mini-list span { display: grid; min-width: 0; }
.mini-list small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px; background: rgba(201, 162, 83, 0.16); color: var(--brass); }

/* profile */
.prof-top { padding: 0 0 20px; overflow: hidden; }
.prof-top > *:not(.prof-cover):not(.prof-id) { padding-left: 24px; padding-right: 24px; }
.prof-cover { height: 180px; background: linear-gradient(120deg, #0A1633, #1E3A8A 55%, #C9A253) center / cover no-repeat; }
.prof-id { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 0 24px; margin-top: -70px; flex-wrap: wrap; }
.prof-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; }
.prof-name { font: 600 clamp(1.6rem, 4vw, 2.2rem)/1.15 var(--display); margin: 12px 0 4px; }
.prof-head { margin: 0 0 6px; font-size: 1.05rem; }
.exp { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.exp li { display: flex; gap: 14px; }
.exp-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.exp li > div { display: grid; gap: 2px; min-width: 0; }
.exp small { color: var(--muted); }
.exp p { margin: 6px 0 0; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; }
.skills .chip { font-size: 0.86rem; letter-spacing: 0; }

/* edit profile */
.exp-edit { display: grid; gap: 14px; }
.exp-row { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px dashed var(--line); border-radius: 12px; padding: 12px; }
.exp-wide { grid-column: 1 / -1; }

/* members */
.net-search { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.net-search input { flex: 1 1 220px; }
.mem-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.mem { display: grid; justify-items: center; text-align: center; gap: 6px; text-decoration: none; color: var(--ink); }
.mem:hover { border-color: var(--brass); }

/* auth pages */
.net-auth { display: grid; gap: 30px; padding-top: 40px; padding-bottom: 70px; align-items: start; }
@media (min-width: 900px) { .net-auth { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.net-auth-sm { max-width: 520px; grid-template-columns: minmax(0, 1fr) !important; }
.net-auth h1 { font: 600 clamp(1.9rem, 4vw, 2.8rem)/1.1 var(--display); margin: 10px 0 14px; }
.net-ticks { padding-left: 20px; display: grid; gap: 8px; }
.net-feats { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* admin */
.adm-wrap { overflow-x: auto; margin-top: 12px; }
.adm { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.adm th, .adm td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.adm-act { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.adm-act form { margin: 0; }
.st { font-weight: 800; font-size: 0.8rem; }
.st-pending { color: #B7791F; } .st-approved { color: #2F855A; } .st-blocked { color: #C0392B; }

/* "Join the network" box on the membership page */
.net-cta { margin-bottom: 30px; }

/* inputs the site stylesheet does not cover (no type, password, url, number) */
.fld input:not([type]), .fld input[type=password], .fld input[type=url], .fld input[type=number] { width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.fld input:not([type])::placeholder, .fld input[type=url]::placeholder { color: var(--muted); }
.fld .av { margin-bottom: 8px; }
