/**
 * css/campus_page.css — the campus page (/campus/?c=<slug>).
 *
 * Builds on css/account_page.css (loaded first by campus/index.php) and only
 * adds what the campus page has and the account page does not: the header,
 * the release box and the "new since your last visit" marker. Vocabulary is
 * the app's own (see the note at the top of css/account_page.css).
 */

#nvc-campus-page {
    width: 100%;
    max-width: 62rem;
    margin: 0 auto;
    font-family: 'Outfit', system-ui, sans-serif;
    text-align: left;
}

.nvc-cp-head {
    margin: 0 0 16px;
}

.nvc-cp-name {
    margin: 2px 0 4px;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #ffd9a3;
    line-height: 1.2;
}

.nvc-cp-meta {
    margin: 0 0 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.nvc-cp-crumbs {
    margin: 0 0 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.nvc-cp-crumb-sep {
    opacity: 0.6;
    margin: 0 2px;
}

.nvc-cp-children {
    margin-bottom: 14px;
}

.nvc-cp-near {
    margin-bottom: 14px;
    border-color: rgba(255, 217, 163, 0.35);
}

.nvc-cp-search {
    margin: 0 0 14px;
}

.nvc-cp-tree-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nvc-cp-tree-children > .nvc-cp-tree-level {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    margin-left: 14px;
}

.nvc-cp-add-member {
    margin-bottom: 14px;
}

.nvc-cp-add-member .nvc-cp-role {
    flex: 0 0 9rem;
}

.nvc-cp-events {
    margin-bottom: 14px;
}

.nvc-cp-event-form {
    padding: 12px 16px 0;
}

.nvc-cp-event-new {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nvc-cp-event-active .nvc-ap-row {
    background: rgba(255, 217, 163, 0.06);
    box-shadow: inset 2px 0 0 #f2b866;
}

.nvc-cp-event-select {
    max-width: 11rem;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
}

.nvc-cp-event-select option {
    color: #111;
    background: #fff;
}

.nvc-cp-site {
    margin: 0 0 8px;
    font-size: 13px;
}

.nvc-cp-website {
    margin-bottom: 14px;
}

.nvc-cp-release {
    margin-bottom: 14px;
}

.nvc-cp-release .nvc-ap-input {
    margin-top: 8px;
}

.nvc-cp-new .nvc-ap-title::after {
    content: 'new';
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0c0c0c;
    background: linear-gradient(165deg, #ffd9a3 0%, #f2b866 100%);
    vertical-align: middle;
}

.nvc-cp-was-released .nvc-ap-title::after {
    content: 'released';
    margin-left: 8px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd9a3;
    border: 1px solid rgba(255, 217, 163, 0.5);
    vertical-align: middle;
}

#nvc-campus-page .nvc-ap-segment-wide {
    margin: 0 0 12px;
}

#nvc-campus-page .nvc-ap-msg {
    margin: 0 0 12px;
}

/* Explorer front page (/campus/ without a slug): a title, one search field and
   the register button, centred like a search engine's start page. Results only
   appear below once something is typed. */
.nvc-cp-home {
    max-width: 560px;
    margin: 12vh auto 22px;
    text-align: center;
}

.nvc-cp-home-title {
    margin: 0 0 22px;
    font-size: 30px;
}

.nvc-cp-home .nvc-cp-search {
    width: 100%;
    margin: 0 0 16px;
    padding: 14px 22px;
    font-size: 16px;
    border-radius: 999px;
    text-align: left;
}

.nvc-cp-home-actions {
    justify-content: center;
}

@media (max-width: 620px) {
    .nvc-cp-home {
        margin-top: 6vh;
    }
}
