/* Personvern / Privacy Policy - aligned with VM info band & design guidelines */

.nav {
    top: 0;
}

.nav::before {
    content: unset;
}

.personvern-page {
    padding: calc(72px + clamp(2rem, 5vw, 3.5rem)) clamp(1.25rem, 5vw, 3rem)
        clamp(2.5rem, 6vw, 4rem);
    background: #171717;
    min-height: 100vh;
}

.personvern-inner {
    max-width: 820px;
    margin: 0 auto;
}

/* Header - vm-info kicker + title pattern */
.personvern-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 0.65rem;
    color: #e53935;
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.72rem, 1.5vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.personvern-kicker::before,
.personvern-kicker::after {
    content: "";
    width: clamp(22px, 3vw, 36px);
    height: 2px;
    background: #e53935;
}

.personvern-title {
    display: flex;
    flex-direction: column;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);
    line-height: 0.95;
}

.personvern-title-main {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.personvern-title-script {
    margin-top: 0.08em;
    font-family: "Kaushan Script", cursive;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 400;
    line-height: 1.1;
    color: #c89a54;
}

.personvern-updated {
    margin: 0 0 clamp(1.75rem, 3vw, 2.25rem);
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.78rem, 1.3vw, 0.85rem);
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* Sections */
.personvern-section {
    margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.personvern-section-heading {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.72rem, 1.4vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c89a54;
    margin: 0 0 0.85rem;
    padding: 0;
}

.personvern-section-heading::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 3px;
    margin-top: 0.55rem;
    background: #c89a54;
    border-radius: 2px;
    opacity: 0.85;
}

.personvern-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.85rem, 1.35vw, 0.95rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 1rem;
}

.personvern-text:last-child {
    margin-bottom: 0;
}

.personvern-text a {
    color: #c89a54;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.personvern-text a:hover {
    color: #e6b56d;
}

.personvern-text strong {
    color: #fff;
    font-weight: 600;
}

.personvern-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.85rem, 1.35vw, 0.95rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.personvern-list li {
    margin-bottom: 0.45rem;
}

.personvern-list li:last-child {
    margin-bottom: 0;
}

/* Cookie table */
.personvern-table-wrap {
    overflow-x: auto;
    margin: 0 0 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.personvern-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.8rem, 1.25vw, 0.9rem);
    line-height: 1.5;
}

.personvern-table th,
.personvern-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.personvern-table th {
    font-size: clamp(0.68rem, 1.1vw, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c89a54;
    background: rgba(255, 255, 255, 0.03);
}

.personvern-table td {
    color: rgba(255, 255, 255, 0.88);
}

.personvern-table tbody tr:last-child td {
    border-bottom: none;
}

.personvern-table code {
    font-family: "Source Sans 3", monospace;
    font-size: 0.92em;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

.personvern-table td:nth-child(3) {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.65);
}

/* Retract consent */
.personvern-retract {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    font-size: clamp(0.82rem, 1.3vw, 0.9rem);
    color: rgba(255, 255, 255, 0.65);
}

.personvern-retract-btn {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: #c89a54;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.personvern-retract-btn:hover {
    color: #e6b56d;
}

@media screen and (max-width: 640px) {
    .personvern-table th,
    .personvern-table td {
        padding: 0.7rem 0.75rem;
    }

    .personvern-table td:nth-child(3) {
        white-space: normal;
    }
}
