/* Index */
.aak-content .aak-select {
    -webkit-appearance: none; /* Safari/Chrome */
    -moz-appearance: none; /* Firefox */
    appearance: none; /* fallback */

    background-image: url('data:image/svg+xml;utf8,<svg class="c-umbraco-svg c-umbraco-svg--colorize w-1em h-1em mt-.18em" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M218.3 413.7c3.1 3.1 8.2 3.1 11.3 0l216-216c3.1-3.1 3.1-8.2 0-11.3s-8.2-3.1-11.3 0L224 396.7 13.7 186.3c-3.1-3.1-8.2-3.1-11.3 0s-3.1 8.2 0 11.3l216 216z"></path></svg>');
    background-repeat: no-repeat;
    background-size: 0.8em auto;
    background-position: right 1rem center;
}

.aak-content .c-block-list-structured-data,
.aak-content .c-block-list-structured-data .c-block-heading,
.aak-content .c-block-list-structured-data .c-block-list-structured-data__table {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.aak-content .c-block-list-structured-data__table {
    width: 100% !important;
    margin-left: 0 !important;
}

    .aak-content .c-block-list-structured-data__table .c-base-table__content:before,
    .aak-content .c-block-list-structured-data__table .c-base-table__content:after {
        display: none !important;
    }

    .aak-content .c-block-list-structured-data__table .c-base-scrollbar__horizontal {
        left: 0 !important;
        width: 100% !important;
    }

.aak-content .c-block-list-structured-data .c-base-table__table {
    transform: none !important;
}

.aak-content.aak-index .c-structured-data__cell {
    max-width: 45vw;
    padding: 18px 2px 18px 22px;
    font-size: 16px;
}

@media (max-width: 480px) {
    .aak-content .c-structured-data__cell {
        padding: 12px;
    }
}

.aak-content .c-structured-data__cell p,
.aak-content .c-structured-data__cell {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
}

.aak-content .c-base-table__content,
.aak-content .c-base-table__scroll-shadow,
.aak-content .c-structured-data {
    min-width: 0 !important;
}


@media (max-width: 850px) {

    .aak-content.aak-index .c-structured-data,
    .aak-content.aak-index .c-structured-data tbody,
    .aak-content.aak-index .c-structured-data tr,
    .aak-content.aak-index .c-structured-data td,
    .aak-content.aak-index .c-structured-data th {
        display: block;
        width: 100%;
    }

    .aak-content.aak-index .c-structured-data__row:first-child {
        display: none !important;
    }

    .aak-content.aak-index .c-structured-data__row {
        background-color: #f1f1f6;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 1rem 1.25rem;
        margin-bottom: 1rem;
    }

    .aak-content.aak-index .c-structured-data__cell {
        border: none;
        padding: 0.25rem 0 0;
        line-height: 1.5;
        max-width: fit-content;
    }

        /* Første celle (vandværksnavn) */
        .aak-content.aak-index .c-structured-data__cell:first-child {
            font-weight: 600;
            color: #111827;
            font-size: 1.20rem;
        }
}
/* VisCenter */
.aak-content .img-header {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.aak-content .img-card {
    flex: 1 1 calc(33.333% - 16px);
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0.25rem;
}

.aak-content .img-institution {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aak-content a {
    text-decoration-line: underline;
    --un-text-opacity: 1;
    color: rgb(20, 25, 105);
}

.aak-content ul {
    margin-left: 20px;
}

    .aak-content ul li {
        list-style-position: inside;
        list-style-type: disc;
    }

@media (max-width: 768px) {
    .aak-content .img-header {
        flex-direction: column;
        gap: 12px;
    }

    .aak-content .img-card {
        flex: none;
        width: 100%;
        aspect-ratio: auto;
    }
}