@import '_content/Citizen.Portal.Dkfds.Components/Citizen.Portal.Dkfds.Components.bundle.scp.css';

/* /Areas/Cookiepolitik/Cookiepolitik.razor.rz.scp.css */
.cookiepolitik-content[b-2p9dod2tk9] {
  padding-bottom: 4rem;
}
/* /Areas/FrontPage/LoggedInFrontPage.razor.rz.scp.css */
/* LoggedInFrontPage styles */
/* DKFDS: Use natural h1 margin-bottom (0.5rem) + add margin-top to CardRow for proper spacing */
/* Following DKFDS 8-point baseline grid: 2rem = 32px spacing */
[b-cyeaulm71d] .card-row {
    margin-top: 2rem; /* 32px - DKFDS 8-point baseline grid */
}

/* Make welcome text bigger on logged-in page */
[b-cyeaulm71d] .hero-welcome-text {
    font-size: 4rem;
    line-height: 1.1;
    overflow: hidden;
    word-wrap: break-word;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Keep full name on one line with text truncation */
[b-cyeaulm71d] .hero-name {
    white-space: nowrap;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make left side of hero take more space */
[b-cyeaulm71d] .hero-left {
    flex: 0 1 50%;
    max-width: 800px;
    min-width: 600px;
    overflow: hidden;
    background: transparent;
}

/* Remove spacing from hero section to content below */
[b-cyeaulm71d] .hero-section + .container.page-container {
    padding-top: 0 !important;
}

.container[b-cyeaulm71d] {
    padding-top: 2rem;
}

/* Reduce margin on h2 after hero section */
.container.page-container h2:first-child[b-cyeaulm71d] {
    margin-top: 0;
}

/* Tablet breakpoint - iPad Air, Surface Pro */
@media (max-width: 1024px) {
    .hero-section[b-cyeaulm71d] {
        height: 228px; /* 60% of 380px */
        min-height: 228px;
    }

    [b-cyeaulm71d] .hero-left {
        min-width: auto;
        flex: 0 0 40%;
        max-width: 40%;
        display: flex;
        align-items: flex-end;
        padding-bottom: 1.5rem;
        padding-left: 1.5rem;
    }

    [b-cyeaulm71d] .hero-right {
        flex: 0 0 60%;
        width: 60%;
    }

    /* Show only left clipping mask on tablet */
    [b-cyeaulm71d] .hero-right::before {
        display: block;
    }

    [b-cyeaulm71d] .hero-right::after {
        display: none;
    }

    [b-cyeaulm71d] .hero-welcome-text {
        font-size: 2.5rem;
        margin: 0;
        padding: 0;
    }

    /* Allow name to wrap on multiple lines on tablet */
    [b-cyeaulm71d] .hero-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 768px) {
    .hero-section[b-cyeaulm71d] {
        min-height: 150px;
        height: 150px;
        display: flex;
        align-items: flex-end;
    }

    [b-cyeaulm71d] .hero-content {
        align-items: flex-end;
    }

    [b-cyeaulm71d] .hero-left {
        flex: 0 0 50%;
        min-width: auto;
        max-width: 50%;
        align-self: flex-end;
        padding-bottom: 1.5rem;
        padding-left: 1.5rem;
    }

    [b-cyeaulm71d] .hero-welcome-text {
        font-size: 2.5rem;
    }

    /* Allow name to wrap on multiple lines on mobile */
    [b-cyeaulm71d] .hero-name {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .container[b-cyeaulm71d] {
        padding-top: 1.5rem;
    }

    /* Show hero image at 50% width on mobile with left clipping mask */
    [b-cyeaulm71d] .hero-right {
        display: block;
        flex: 0 0 50%;
        width: 50%;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: auto;
    }
}

/* /Areas/LoginDisabled.razor.rz.scp.css */
/* LoginDisabled styles */
.container[b-2hhcmaxpab] {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0 rem;
    padding: 0 1rem;
    width: 100%;
}

.alert-wrapper[b-2hhcmaxpab] {
    max-width: 800px;
    width: 100%;
    margin: 2rem auto 0;
}

.button-link[b-2hhcmaxpab] {
    display: inline-block;
    text-decoration: none;
}

/* /Areas/Tilgaengelighed/Tilgaengelighed.razor.rz.scp.css */
.tilgaengelighed-content[b-i49laujt10] {
  padding-bottom: 4rem;
}
