/* Explain: Styles for financing solutions centre, structures, and evaluation pages. */
/* ==========================================================================
   Phase 2 — financing solutions centre, structures, evaluation, checklist
   ========================================================================== */

/* ---------- Header financing dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-drop-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.nav-drop-toggle i { font-size: .6rem; transition: transform .25s ease; }
.nav-dropdown.is-open .nav-drop-toggle i,
.nav-dropdown:hover .nav-drop-toggle i { transform: rotate(180deg); }
.nav-drop-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 15.5rem;
    padding: .55rem;
    background: rgba(5, 16, 33, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 70;
}
.nav-dropdown:hover .nav-drop-panel,
.nav-dropdown.is-open .nav-drop-panel { display: block; }
.nav-drop-link {
    display: block;
    padding: .6rem .7rem;
    font-size: .84rem;
    color: rgba(255, 255, 255, .8);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background .25s ease, color .25s ease;
}
.nav-drop-link:hover { background: rgba(39, 200, 243, .12); color: var(--gold-400); }

/* ---------- Rich text sub-headings on detail pages ---------- */
.rich-heading { font-size: 1.35rem; margin-bottom: .35rem; color: #fff; }

/* ---------- Financing structure cards ---------- */
.struct-dl { margin: .95rem 0 0; }
.struct-dl dt {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-top: 1.05rem;
}
.struct-dl dd { margin: .3rem 0 0; font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Evaluation table ---------- */
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-md); }
.eval-table { width: 100%; border-collapse: collapse; min-width: 44rem; }
.eval-table th, .eval-table td {
    text-align: left;
    padding: .95rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: .88rem;
    vertical-align: top;
}
.eval-table thead th {
    background: rgba(16, 42, 80, .82);
    color: #fff;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}
.eval-table tbody th { color: #fff; font-weight: 600; width: 22%; }
.eval-table td { color: rgba(255, 255, 255, .82); line-height: 1.7; }
.eval-table tr:last-child th, .eval-table tr:last-child td { border-bottom: none; }

/* ---------- Documentation checklist ---------- */
.doc-note {
    border-left: 3px solid var(--accent-color);
    background: rgba(39, 200, 243, .08);
    padding: 1.15rem 1.35rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.doc-note p { font-size: .88rem; color: rgba(255, 255, 255, .82); line-height: 1.75; }

/* ---------- Related links row ---------- */
.related-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }

/* ---------- Mobile: keep dropdown desktop-only ---------- */
@media (max-width: 1279px) {
    .nav-drop-panel { display: none !important; }
}