/* ============================================================
   Kunde-portal — Hjælp / FAQ (Stream H). Scoped tillæg til portal.css.
   Kun ekstra komponenter der ikke findes i portal.css:
   kontakt-metoder + FAQ-accordion. Bruger portal.css' :root-tokens.
   Indlæses EFTER portal.css i figmahjaelp.php.
   ============================================================ */

/* ---------- Kontakt-kort ---------- */
.port-contact__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}
.port-contact__title {
    font-size: clamp(1.05rem, 2.6vw, 1.25rem);
    font-weight: 600;
    color: var(--port-ink);
    line-height: 1.2;
}
.port-contact__sub {
    font-size: 13.5px;
    color: var(--port-ink-3);
    margin-top: 2px;
}

.port-contact-methods { margin-top: 20px; }

/* .port-stat genbruges fra portal.css; her gøres den klikbar + tekst-wrap */
a.port-stat { text-decoration: none; color: inherit; }
.port-stat--contact { min-width: 0; }
.port-stat__text { display: flex; flex-direction: column; min-width: 0; }
.port-stat--contact .port-stat__value {
    font-size: 15.5px;
    line-height: 1.25;
    word-break: break-word;
    transition: color .15s ease;
}
a.port-stat--contact:hover .port-stat__value,
a.port-stat--contact:focus-visible .port-stat__value { color: var(--port-blue); }
a.port-stat--contact:focus-visible {
    outline: 2px solid var(--port-blue);
    outline-offset: 3px;
    border-radius: var(--port-radius-sm);
}

.port-contact-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
@media (max-width: 480px) {
    .port-contact-cta .port-btn { width: 100%; }
}

/* ---------- FAQ-accordion (<details>/<summary>) ---------- */
.port-faq { display: grid; gap: 12px; }

.port-faq__item {
    background: var(--port-card);
    border: 1px solid var(--port-line);
    border-radius: var(--port-radius-sm);
    box-shadow: var(--port-shadow);
    overflow: hidden;
    transition: box-shadow .18s ease, border-color .18s ease;
}
.port-faq__item[open] {
    border-color: #d8dae9;
    box-shadow: var(--port-shadow-md);
}

.port-faq__q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--port-ink);
    transition: color .15s ease;
}
.port-faq__q::-webkit-details-marker { display: none; }
.port-faq__q:hover { color: var(--port-blue); }
.port-faq__q:focus-visible {
    outline: 2px solid var(--port-blue);
    outline-offset: -2px;
    border-radius: var(--port-radius-sm);
}

.port-faq__chev {
    flex: 0 0 auto;
    display: inline-flex;
    color: var(--port-ink-3);
    transition: transform .2s ease, color .2s ease;
}
.port-faq__item[open] .port-faq__chev {
    transform: rotate(180deg);
    color: var(--port-blue);
}

.port-faq__a {
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--port-ink-2);
}
.port-faq__a a {
    color: var(--port-blue);
    font-weight: 600;
    text-decoration: none;
}
.port-faq__a a:hover { text-decoration: underline; }
