/* 2B — Paired Boards: related sections sit side by side in rows */

#l7-body { display: flex; flex-direction: column; gap: 0; }

.l7-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
}
.l7-grid-2x2 > * { min-width: 0; } /* grid items default to min-width:auto, so wide content inside forces the grid wider */

.l7-board {
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    margin: 14px 0;
    box-sizing: border-box;
}

.l7-grid-2x2 .l7-board {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.l7-board-full { max-width: 95%; margin: 28px auto; }

.l7-board h2 { margin: 0 0 20px; color: #0d2b52; }

#l7-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.l7-strip-item h3 { margin: 0 0 6px; font-size: 15px; }
.l7-strip-item p { margin: 0; font-size: 12px; color: #666; }

.l7-step { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.l7-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: #fff; background: #0d2b52;
    border-radius: 50%; width: 28px; height: 28px; flex-shrink: 0;
}
.l7-step h3 { margin: 0 0 4px; font-size: 14px; }
.l7-step p { margin: 0; font-size: 13px; color: #555; line-height: 1.6; }

.l7-deal { margin-bottom: 16px; }
.l7-deal h3 { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #0d2b52; }
.l7-deal p { margin: 0; font-size: 13px; color: #555; line-height: 1.6; }

/* ── Real-component demo accents ─────────────────────────── */
.orbit-search-card-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border: 2px solid #0d2b52;
    color: #0d2b52;
    white-space: nowrap;
}

.l7-demo-badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.l7-demo-caption { font-size: 11px; color: #999; font-style: italic; }

.l7-demo-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #0d2b52;
    color: #EFDC75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    object-fit: cover;
}
.l7-demo-avatar-sm { width: 30px; height: 30px; font-size: 11px; }

.l7-demo-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #000;
    padding: 10px 12px;
    margin-bottom: 16px;
}
.l7-demo-chip-name { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; }
.l7-demo-chip-sub { font-size: 11px; color: #666; margin-top: 2px; }

.l7-demo-fee {
    border: 2px solid #000;
    padding: 10px 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.l7-demo-fee span { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: #888; }
.l7-demo-fee strong { font-size: 13px; color: #0d2b52; }

.l7-demo-inbox {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #000;
    padding: 8px 12px;
    margin-top: 4px;
}
.l7-demo-inbox-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.l7-demo-inbox-text span:first-child { font-size: 12px; font-weight: 700; }
.l7-demo-inbox-preview { font-size: 11px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l7-demo-unread {
    min-width: 18px;
    height: 18px;
    background: #000;
    color: #EFDC75;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
    flex-shrink: 0;
}

.l7-board ul { padding-left: 20px; margin: 0 0 20px; }
.l7-board li { font-size: 13px; line-height: 1.9; color: #333; }

/* ── "See it in action" showcase board: text left, demo right ── */
.l7-showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.l7-showcase-split > * { min-width: 0; } /* grid items default to min-width:auto, so a wide demo card forces the whole grid wider */
.l7-showcase-split h2 { margin: 0 0 14px; }
.l7-showcase-split > div:first-child p { font-size: 14px; color: #555; line-height: 1.7; margin: 0 0 16px; }
.l7-showcase-split ul { padding-left: 20px; margin: 0; }
.l7-showcase-split li { font-size: 13px; line-height: 1.9; color: #333; }

.l7-showcase-demo { display: flex; flex-direction: column; gap: 16px; align-items: flex-end; }

/* ── Platform overview strip: a taste of every part of the app ── */
.l7-overview { text-align: center; }
.l7-overview-sub { max-width: 560px; margin: -8px auto 24px; font-size: 13px; color: #666; line-height: 1.6; }
.l7-overview-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
.l7-overview-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0; /* grid items default to min-width:auto, which lets nowrap text inside force the column wider than its track */
}
.l7-overview-item-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #EFDC75;
    color: #000;
    padding: 3px 8px;
}

/* ── Real user search-card, copied exactly from search.css ────── */
.search-card {
    display: flex;
    align-items: stretch;
    height: 120px;
    border: 3px solid black;
    box-shadow: 4px 4px 0px 0px black;
    background: white;
    overflow: visible;
    box-sizing: border-box;
}
.search-card-avatar-col { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 5px; }
.search-card-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 2.5px solid black;
    object-fit: cover;
    object-position: center top;
    display: block;
    flex-shrink: 0;
}
.search-card-body { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; overflow: visible; }
.search-card-name-row { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.search-card-name-wrap { display: flex; align-items: center; min-width: 0; overflow: visible; }
.search-card-name { font-size: 16px; font-weight: 700; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.search-card-followers { font-size: 11px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0; }
.search-card-icons { flex: 1; display: flex; flex-wrap: nowrap; gap: 4px; align-items: center; overflow: visible; }
.search-card-icons svg { width: 20px; height: 20px; flex-shrink: 0; }
.search-card-desc { flex: 2; padding: 12px 14px; font-size: 12px; line-height: 1.55; color: #555; overflow: hidden; border-left: 2px solid #e8e8e8; }

@media (max-width: 700px) {
    .search-card-desc { display: none; }
}

/* Each teaser nests the actual real, bordered component — not a generic box.
   All four are pinned to the same 120px height as the real search card. */
.l7-mini-card.orbit-search-card,
.l7-mini-profile,
.l7-mini-stats,
.l7-overview-item .l7-demo-inbox {
    border: 3px solid #000;
    box-shadow: 4px 4px 0 #000;
    padding: 14px 16px;
    height: 120px;
    overflow: hidden;
    box-sizing: border-box;
}

.l7-mini-card.orbit-search-card { background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.l7-mini-card .orbit-search-card-header { margin-bottom: 0; }
.l7-mini-card .orbit-search-card-description {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: none;
}
.l7-mini-card-footer { display: flex; justify-content: flex-end; }

.l7-mini-profile { display: flex; align-items: stretch; gap: 14px; background: #fff; padding: 14px; }
.l7-mini-profile-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #0d2b52;
    color: #EFDC75;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 26px;
    flex-shrink: 0;
}
.l7-mini-profile-body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-width: 0; }
.l7-mini-profile-text { min-width: 0; }
.l7-mini-profile-name { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 700; }
.l7-mini-profile-type { font-size: 13px; color: #666; margin-top: 4px; }
.l7-mini-profile-footer { display: flex; justify-content: flex-end; }

.l7-mini-message-btn {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
    cursor: default;
    white-space: nowrap;
    flex-shrink: 0;
}

.l7-mini-stats { background: #000; display: flex; flex-direction: column; justify-content: center; }
.l7-mini-stats .l7-overview-stat-value { color: #fff; }
.l7-mini-stats .l7-overview-stat-label { color: rgba(255,255,255,0.6); margin-top: 4px; }

.l7-overview-item .l7-demo-inbox { margin-top: 0; align-items: center; }
.l7-overview-item-row { display: flex; align-items: center; gap: 8px; }
.l7-overview-item-name { font-size: 13px; font-weight: 700; }
.l7-overview-item-text { margin: 0; font-size: 12px; color: #555; }
.l7-overview-item-title { font-size: 14px; font-weight: 700; color: #111; }
.l7-overview-stat-value { font-size: 22px; font-weight: 900; color: #0d2b52; }
.l7-overview-stat-label { margin: 0; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.l7-overview-item .l7-demo-inbox { margin-top: 0; }

@media (max-width: 600px) {
    .l7-overview-row { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .l7-showcase-split { grid-template-columns: 1fr; }
    .l7-showcase-demo { align-items: stretch; }
}

.l7-faq-item { margin-bottom: 14px; }
.l7-faq-item h3 { margin: 0 0 4px; font-size: 14px; }
.l7-faq-item p { margin: 0; font-size: 13px; color: #555; line-height: 1.6; }
.l7-text-link { font-size: 13px; font-weight: 700; color: #0d2b52; text-decoration: none; }
.l7-text-link:hover { text-decoration: underline; }

.l7-split-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.l7-cta-block {
    padding-left: 32px;
    border-left: 2px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.l7-cta-block p { color: #555; margin: 0 0 20px; }
.l7-cta-block .l2-cta-row { justify-content: center; }

@media (max-width: 700px) {
    .l7-split-2col { grid-template-columns: 1fr; }
    .l7-cta-block { padding-left: 0; border-left: none; padding-top: 24px; border-top: 2px solid #eee; margin-top: 8px; }
}

#l7-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
#l7-footer a { font-size: 12px; letter-spacing: 1px; color: #666; text-decoration: none; }
#l7-footer a:hover { text-decoration: underline; }

#l7-footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

#l7-footer-social { display: flex; align-items: center; gap: 16px; }
#l7-footer-social a { display: flex; line-height: 0; opacity: 0.85; transition: opacity 0.15s; }
#l7-footer-social a:hover { opacity: 1; }

@media (max-width: 600px) {
    #l7-footer { justify-content: center; text-align: center; }
}

@media (max-width: 900px) {
    .l7-grid-2x2 { grid-template-columns: 1fr; }
    #l7-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Public profile search widget (styles copied from home.css / search.css) ── */
#search-area { display: flex; flex-direction: column; align-items: center; justify-content: center; }
#search-area h2 { margin: 0 0 16px 0; }
.search-filter-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #888; margin-bottom: 4px; }
.search-filter-group { display: flex; flex-direction: column; text-align: left; }
#home-filters { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px 16px; margin-bottom: 16px; position: relative; z-index: 20; width: 100%; max-width: 1000px; }
#home-filters .dropdown { width: 100%; }
.home-option { display: flex; align-items: center; padding: 9px 12px; font-size: 13px; border-bottom: 1px solid #eee; text-transform: none; letter-spacing: 0; cursor: pointer; text-align: left; }
.home-option:last-child { border-bottom: none; }
.home-option:hover { background: #f0f0f0; }
#search-type-tabs { display: flex; margin-bottom: 20px; }
.search-tab { font-family: "Open Sans", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #000; background: white; border: 2px solid #000; border-right: none; padding: 7px 18px; cursor: pointer; transition: background 0.15s, color 0.15s; user-select: none; }
.search-tab:last-child { border-right: 2px solid #000; }
.search-tab.is-active { background: var(--backgroundColor); color: var(--textColor); }
#l7-search-note { margin: 14px 0 0 0; font-size: 13px; opacity: .8; }
@media (max-width: 700px) { #home-filters { grid-template-columns: 1fr 1fr !important; gap: 8px; } #search-type-tabs { flex-wrap: wrap; } }
