:root {
    --berlin-blue: #002850;
    --leiden-lilac: #b4b9ff;
    --leiden-lilac-light: #D1D4FF;
    --sand: #e1dccd;
    --sand-300: #f0ede6;
    --cobalt: #265add;
    --yellow: #f6dd34;
    --berlin-blue-filter: brightness(0) saturate(100%) invert(73%) sepia(20%) saturate(1486%) hue-rotate(197deg) brightness(101%) contrast(106%);
    --cobalt-filter: brightness(0) saturate(100%) invert(29%) sepia(58%) saturate(3083%) hue-rotate(217deg) brightness(87%) contrast(98%);
    --padding: calc((100vw - 320px) / (352 - 320) * 16);
    --image-width: 208px;
    --mobile-width: 352px;
    --tablet-width: 768px;
    --desktop-width: 992px;
    --ultrawide-width: 1440px;
}

@media only screen and (min-width: 352px) {
    :root {
        --padding: calc((1px + (100vw - 352px) / (768 - 352)) * 16)
    }
}

@media only screen and (min-width: 768px) {
    :root {
        --padding: calc((2px + (100vw - 768px) / (992 - 768)) * 16)
    }
}

@media only screen and (min-width: 992px) {
    :root {
        --padding: calc((3px + 2 * (100vw - 992px) / (1440 - 992)) * 16)
    }
}

@media only screen and (min-width: 1440px) {
    :root {
        --padding: 5rem
    }
}


@font-face {
    font-family: "Haffer";
    src: url("../woff2/haffervf.woff2") format("woff2"),
    url("../woff/haffervf.woff") format("woff"),
    url("../ttf/haffervf.ttf") format("truetype");
    font-weight: 100 900; /* Supports font weights from 100 to 900 */
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    background: #002850;
    /* narrow mode */
    /*display: grid;*/
    place-content: center;
}

/* Style reset from the old main.less */
.dgb-homepage {
    h1, h2, p {
        font-weight: initial;
    }

    a:hover {
        text-decoration: none !important;
    }

    a:focus-visible {
        background: var(--yellow);
        color: var(--berlin-blue);
        outline: none;
    }

    label {
        display: inline;
    }

    img {
        max-width: inherit;
        max-height: inherit;
    }

    * {
        box-sizing: initial;
    }

    select {
        box-sizing: border-box;
    }
}

/* utility classes missing from Bootstrap */
.dgb-center {
    text-align: center;
}

.dgb-right {
    text-align: right;
}

.dgb-wide {
    display: flex;
    flex-direction: column;
    font-family: "Haffer", sans-serif !important;
}

.dgb-container {
    max-width: 1440px;
    align-self: center;
    padding: 48px 16px;
    width: 100%;
    box-sizing: border-box;
}

@media only screen and (min-width: 768px) {
    .dgb-container {
        padding: 64px 32px;
    }
}

@media only screen and (min-width: 992px) {
    .dgb-container {
        padding: 80px 48px;
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-container {
        padding: 80px 48px;
    }
}

.dgb-hero-bg {
    background: linear-gradient(
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2)
    ),
    #b4b9ff url("../jpg/hero-image.jpg") no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: bottom;
}

.dgb-hero {
    padding: 0;
    z-index: 1;

    .dgb-hero-carousel {
        padding: 80px 16px 40px;
        place-content: center;
    }

}

@media screen and (min-width: 768px) {
    .dgb-hero {
        .dgb-hero-carousel {
            padding: 160px 32px;
        }
    }
}

@media screen and (min-width: 992px) {
    .dgb-hero {
        display: grid;
        grid-template-columns: 1fr auto;
        .dgb-hero-carousel {
            min-height: calc(100vh - 425px);
        }
    }
}

.dgb-hero-quote {
    font-family: "Reckless Neue", serif !important;
    font-weight: lighter;
    font-size: 48px;
    line-height: 48px;
    text-align: center;
    color: white;
    width: 100%;
    display: block;
    margin-bottom: 64px;
}

.dgb-hero-subtitle {
    color: #FFF;
    font-family: Haffer, sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    text-align: center;
}

.dgb-hero-action {
    color: white;
    border-bottom: 1px solid white;
    font-family: Haffer, sans-serif;
    font-size: 20px;
    display: inline-block;
    line-height: 24px;
    text-decoration: none;
    padding: 8px 0;
}

.dgb-hero-action:hover {
    color: white;
}

.dgb-hero-action:focus-visible {
    color: var(--berlin-blue);
    background: yellow;
    border-color: transparent;
    outline-color: var(--berlin-blue);
    padding: 8px;
}

@media screen and (min-width: 768px) {
    .dgb-hero-quote {
        font-size: 64px;
        line-height: 64px;
    }
    .dgb-hero-action {
        font-size: 20px;
        line-height: 24px;
    }
}


@media screen and (min-width: 992px) {
    .dgb-hero-quote {
        font-size: 80px;
        line-height: 80px;
    }
}

#dgb-hero-array {
    div {
        display: none;
    }

    .dgb-content-selected {
        display: block;
    }
}

#dgb-carousel {
    margin-top: 45px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.dgb-carousel-btn {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 24px;
    border: 2px white solid;
}

.dgb-carousel-selected {
    background: white;
}

.dgb-comma-anchor {
    display: flex;
    place-content: center;
    margin-bottom: 32px;
}

@media only screen and (min-width: 768px) {
    .dgb-comma-anchor {
        place-content: initial;
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        overflow: visible;
        height: 0;
        margin-bottom: 60px;
    }

    .dgb-comma-space {
        height: 1400px;
    }
}

@media only screen and (min-width: 992px) {
    .dgb-comma-space {
        height: calc(100vh + 900px)
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-comma-anchor {
        display: flex;
        flex-direction: row-reverse;
        overflow: visible;
        height: 0;
        z-index: 2;
    }

    .dgb-comma-space {
        height: calc(100vh + 900px)
    }
}

.dgb-comma {
    display: block;
    position: sticky;
    top: 80px;
    width: 300px;
    height: 612px;
    background: url("../svg/comma.svg") no-repeat;
    background-size: 300px;
    color: var(--berlin-blue);
}

.dgb-comma {
    .dgb-comma-form {
        padding: 24px;
        line-height: 24px;
    }

    .dgb-select {
        display: block;
        width: 100%;
        margin: 4px 0 12px;
        font-size: inherit;
        padding: 16px 24px;
        border: 1px solid var(--berlin-blue);
        border-radius: 32px;
        background-size: 12px 8px;
        background: transparent url("../svg/select-arrow.svg") no-repeat right 16px center;
        appearance: none;
    }

    .dgb-select:focus {
        outline: none;
    }

    .dgb-button {
        padding: 12px 32px;
        border-radius: 32px !important;
        background: var(--berlin-blue);
        border: none;
        font-size: 16px;
        line-height: 20px;
        color: #A1DCD8;
        margin-top: 28px;
    }
    .dgb-button:hover {
        background-color: var(--cobalt);
        color: white;
    }
    .dgb-button:focus-visible {
        background-color: var(--yellow);
        color: var(--berlin-blue);
        outline: var(--berlin-blue) 1px solid;
    }
}

.dgb-stats-bg {
    background: var(--berlin-blue);
    color: white;
}

.dgb-stats {
    display: flex;
    gap: 32px;
    flex-direction: column;
    padding: 32px 16px;

    .dgb-number {
        font-size: 56px;
        line-height: 64px;
        color: white;
        margin: 0;
        font-family: Haffer, sans-serif !important;
    }

    .dgb-subtitle {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 12px;
        font-family: Haffer, sans-serif !important;
    }

    .dgb-action {
        font-size: 20px;
        line-height: 24px;
        color: var(--leiden-lilac);
        text-decoration: none;
        display: inline-block;
        border-bottom: 1px solid var(--leiden-lilac);
        margin-bottom: 8px;
        font-family: Haffer, sans-serif !important;
    }

    .dgb-action:hover {
        color: var(--leiden-lilac-light);
    }
    .dgb-action:focus-visible {
        background: var(--yellow);
        color: var(--berlin-blue);
        outline: none;
        border-radius: 0;
        border-color: transparent;
        text-decoration: none;
    }
;
}

@media only screen and (min-width: 768px) {
    .dgb-stats {
         padding: 32px;
    }
}

@media only screen and (min-width: 992px) {
    .dgb-stats {
        padding: 48px;
        gap: 48px;
        flex-direction: row;
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-stats {
        gap: 80px;

        .dgb-number {
            font-size: 48px;
        }

        .dgb-subtitle {
            font-size: 24px;
        }

        .dgb-action {
            font-size: 16px;
            line-height: 24px;
        }

    }
}

.dgb-partner-bg {
    background: var(--leiden-lilac);
    color: var(--berlin-blue);
}

.dgb-partner-array {
    display: flex;
    gap: 32px;
    width: fit-content;
    flex-shrink: 0;

    .dgb-card {
        width: 260px;
        text-decoration: none;
        color: var(--berlin-blue);
        hyphens: auto;

        img {
            width: 100%;
            margin-bottom: 16px;
        }

        h2 {
            font-size: 24px;
            line-height: 28px;
            margin-bottom: 12px;
            font-family: Haffer, sans-serif !important;
            color: var(--berlin-blue);
        }

        .dgb-subtitle {
            font-size: 16px;
            line-height: 24px;
            margin-bottom: 16px;
            font-family: Haffer, sans-serif !important;
            color: var(--berlin-blue);
        }

        .dgb-action {
            color: var(--berlin-blue);
            display: inline-block;
            font-size: 16px;
            border: 0;
            border-bottom: 1px solid var(--berlin-blue);
            border-radius: 0;
            padding: 0;
        }

        .dgb-action:hover {
            color: var(--cobalt);
            border-color: var(--cobalt);
        }
    }
}

@media only screen and (min-width: 768px) {
    .dgb-partner-array {
        .dgb-card {
            width: 310px;

            img {
                width: 100%;
            }
        }
    }
}

.dgb-partner-scroller {
    width: calc(260px + 44px);
}

@media only screen and (min-width: 768px) {
    .dgb-partner-scroller {
        width: calc(310px + 44px);
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-partner-scroller {
        width: calc(310px * 2 + 32px + 44px);
    }
}

@media only screen and (min-width: 1440px) {
    .dgb-partner-scroller {
        width: 100%;
    }
}

.dgb-sand-300-bg {
    background: var(--sand-300);
}

.dgb-sand-bg {
    background: var(--sand);
}

.dgb-lilac-bg {
    background: var(--leiden-lilac);
}

.dgb-lilac-light-bg {
    background: var(--leiden-lilac-light);
}

.dgb-header {
    font-size: 32px;
    line-height: initial;
    margin-bottom: 48px;
    color: var(--berlin-blue);
    font-family: Haffer, sans-serif !important;
}

@media only screen and (min-width: 500px) {
    .sgb-header {
        margin-bottom: 80px;
    }
}

@media only screen and (min-width: 768px) {
    .dgb-header {
        font-size: 48px;
        line-height: 48px;
    }
}

.dgb-button {
    display: inline-block;
    padding: 24px 12px;
    border-radius: 32px;
    background: transparent;
    color: var(--berlin-blue);
    border: 1px solid var(--berlin-blue);
    text-decoration: none;
    font-size: 24px;
    font-family: Haffer, sans-serif;
}

.dgb-switch-button, .dgb-switch-button-selected {
    display: flex;
    padding: 8px 12px;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    font-family: Haffer, sans-serif !important;
    background: transparent;
    border: 1px solid var(--berlin-blue);
    border-radius: 32px;
    color: var(--berlin-blue);
}

.dgb-switch-button-selected, .dgb-switch-button:hover {
    background: var(--berlin-blue, #002850);
    color: var(--sand-300);
}

.dgb-switch-button:focus-visible, .dgb-switch-button-selected:focus-visible {
    outline: none;
    background: var(--yellow);
    color: var(--berlin-blue);
}

@media only screen and (min-width: 768px) {
    .dgb-switch-button, .dgb-switch-button-selected {
        font-size: 24px;
        line-height: 24px;
        padding: 12px 24px;
    }
}

@media only screen and (min-width: 1000px) {
    .dgb-switch-button, .dgb-switch-button-selected {
        padding: 12px 24px;
        font-size: 24px;
    }
}

.dgb-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;

    .dgb-header {
        width: 100%;
        margin: 0 0 12px;
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-section-header {
        justify-content: flex-end;

        .dgb-header {
            width: auto;
            margin: 0 auto 0 0;
        }
    }
}

.dgb-selected.dgb-button {
    background: var(--berlin-blue);
    color: white;
}

.dgb-carousel-next {
    transform: scaleX(-1);
    border: none;
    width: 44px;
    flex-shrink: 0;
    align-self: stretch;
    padding: 0;
    background-color: transparent;
}

.dgb-carousel-prev {
    border: none;
    width: 44px;
    flex-shrink: 0;
    align-self: stretch;
    padding: 0;
    background: transparent;
}

.dgb-carousel-prev, .dgb-carousel-next {
    img {
        padding: 10px;
        border-radius: 32px;
    }
}

.dgb-carousel-prev:hover, .dgb-carousel-next:hover {
    img {
        background-color: var(--sand);
    }
}

.dgb-carousel-prev:focus-visible, .dgb-carousel-next:focus-visible {
    outline: none;
    img {
        background-color: var(--yellow);
        outline: 1px solid var(--berlin-blue);
    }
}

.dgb-suggestions {
    .dgb-card-array {
        display: flex;
        gap: 24px;
        flex-shrink: 0;
        width: fit-content;
        hyphens: auto;
        margin-bottom: 1px;

        .dgb-card {
            padding: 31px;
            border-radius: 32px;
            color: black;
            text-decoration: none;
            border: 1px solid transparent;
            width: 207px; /* should be 208px, something's off */
            position: relative;

            .dgb-cover-image {
                z-index: 3;
                position: relative;
                width: 208px;
            }

            .dgb-cover-space {
                position: relative;
                margin-bottom: 16px;
                width: 208px;
                height: 306px;
                display: grid;
                place-content: end;
            }

            .dgb-cover-image-2 {
                width: 208px;
                position: absolute;
                top: 48px;
                left: 48px;
                z-index: 2;
                filter: brightness(75%);
            }

            .dgb-cover-image-3 {
                width: 208px;
                position: absolute;
                top: 64px;
                left: 64px;
                z-index: 1;
                filter: brightness(50%);
            }

            h2 {
                font-size: 24px;
                line-height: 28px;
                margin: 0 0 8px;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 4;
                display: -webkit-box;
                word-break: break-word;
                -webkit-box-orient: vertical;
                font-family: Haffer, sans-serif !important;
                color: var(--berlin-blue);
            }

            .dgb-subtitle {
                font-size: 16px;
                line-height: 20px;
                margin-bottom: 16px;
                font-family: Haffer, sans-serif !important;
                color: var(--berlin-blue);
            }

            .dgb-genre {
                color: var(--cobalt);
                font-weight: bold;
            }

            .dgb-card-open-access {
                font-size: 16px;
                line-height: 19px;
                font-weight: bold;
                text-align: left;
                text-underline-position: from-font;
                text-decoration-skip-ink: none;
                font-family: Haffer, sans-serif !important;
                color: var(--berlin-blue);
            }

            .dgb-card-open-access::before {
                content: "";
                width: 16px;
                height: 16px;
                background: url("../png/open-access.png");
                background-size: cover;
                background-position-x: center;
                display: inline-block;
                vertical-align: middle;
                margin-right: 4px;
            }
        }

        .dgb-card:hover {
            border-color: var(--berlin-blue);
            transition: border 0.2s;
        }

        .dgb-card:focus-visible {
            border-color: var(--berlin-blue);
        }
    }
}

.dgb-suggestions {
    .dgb-card-array {
        .dgb-card-series {
            width: calc(208px + 32px);

            .dgb-cover-image {
                margin-bottom: 48px;
            }
        }
    }
}

dgb-horizontal-scroller {
    display: block;
}

.dgb-item-carousel {
    display: flex;
    justify-content: space-between;

    .dgb-horizontal-scroller-container {
        display: flex;
        column-gap: 1.5rem;
        overflow-y: visible;
        overflow-x: scroll;
        position: relative;
        scrollbar-width: none;
    }
}

@media only screen and (max-width: 767px){
    .dgb-horizontal-scroller-container {
        column-gap: 1rem;
    }
}

.dgb-suggestion-scroller {
    width: calc(var(--image-width) + 2 * 32px - 1px);
}

@media only screen and (min-width: 768px) {
    .dgb-suggestion-scroller {
        width: calc((var(--image-width) + 2 * 32px - 1px) * 2 + 24px);
    }
}

@media only screen and (min-width: 1060px) {
    .dgb-suggestion-scroller {
        width: calc((var(--image-width) + 2 * 32px - 1px) * 3 + 24px * 2); /* image width + padding */
    }
}

@media only screen and (min-width: 1440px) {
    .dgb-suggestion-scroller {
        width: calc((var(--image-width) + 2 * 32px - 1px) * 4 + 24px * 3);
    }
}

.dgb-suggestion-scroller-series {
    width: calc(var(--image-width) + 3 * 32px);
}

@media only screen and (min-width: 992px) {
    .dgb-suggestion-scroller-series {
        width: calc((var(--image-width) + 3 * 32px) * 2 + 24px);
    }
}

@media only screen and (min-width: 1440px) {
    .dgb-suggestion-scroller-series {
        width: calc((var(--image-width) + 3 * 32px) * 3 + 24px * 2); /* image width + padding */
    }
}

.dgb-open-access {
    display: grid;
    grid-template-areas:
        "img"
        "quote";
    gap: 24px;
    place-items: center;

    .dgb-side {
        grid-area: quote;
    }

    h1 {
        color: white;
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 24px;
        font-family: "Reckless Neue", serif;
    }

    .dgb-quote {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
        color: white;
        font-family: "Haffer", sans-serif;
    }

    img {
        grid-area: img;
        width: 100%;
        max-width: 506px;
        max-height: 441px;
    }

    .dgb-author {
        padding-bottom: 32px;
    }

    .dgb-open-access-button {
        display: inline-block;
        border: 1px solid white;
        border-radius: 31px;
        color: white;
        padding: 20px 32px;
        font-size: 20px;
        line-height: 20px;
    }

    .dgb-open-access-button:hover {
        color: var(--berlin-blue);
        background-color: var(--leiden-lilac);
        border-color: var(--leiden-lilac);
    }
}

@media only screen and (min-width: 768px) {
    .dgb-open-access {
        padding: 64px 32px;
        gap: 56px;

        place-items: start;
        grid-template-areas:"img quote";
        grid-template-columns: 2fr 3fr;

        .dgb-quote {
            font-size: 20px;
            line-height: 28px;
            margin-bottom: 24px;
        }

        .dgb-side {
            max-width: 640px;
        }

        h1 {
            font-size: 44px;
        }
    }
}

@media only screen and (min-width: 992px) {
    .dgb-open-access {
        padding: 80px;
        gap: 80px;

        h1 {
            font-size: 44px;
            margin-bottom: 36px;
        }

        .dgb-quote {
            font-size: 24px;
            line-height: 32px;
            margin-bottom: 36px;
        }
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-open-access {
        gap: 96px;

        h1 {
            font-size: 56px;
            margin-bottom: 64px;
        }

        .dgb-quote {
            font-size: 24px;
            line-height: 32px;
            margin-bottom: 40px;
        }
    }
}

.dgb-blog {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;

    .dgb-card {
        display: grid;
        grid-template-areas:
            "img"
            "credits"
            "excerpt";
        text-decoration: none;
        color: var(--berlin-blue);
        gap: 16px;

        img {
            width: 100%;
            margin-bottom: 16px;
        }

        .dgb-credits {
            grid-area: credits;
            font-size: 16px;
            line-height: 20px;
        }

        h1 {
            margin-top: 16px;
            margin-bottom: 0;
            font-size: 24px;
            line-height: 32px;
            font-family: Haffer, sans-serif !important;
            color: var(--berlin-blue);
        }

        .dgb-divider {
            display: inline-block;
            vertical-align: middle;
            width: 1px;
            height: 16px;
            margin: 0 8px;
            background: var(--berlin-blue);
        }

        .dgb-author, .dgb-date {
            display: inline;
        }
    }

    .dgb-excerpt {
        margin: 0 !important;
        grid-area: excerpt;

        p {
            margin: 0 0 16px;
            font-size: 16px;
            line-height: 24px;
            font-family: Haffer, sans-serif !important;
            color: var(--berlin-blue);
        }
    }

    .dgb-action {
        display: inline-block;
        font-size: 16px;
        line-height: 24px;
        color: var(--berlin-blue);
        border-bottom: 1px solid var(--berlin-blue);
        text-decoration: none;
    }
    .dgb-action:hover {
        color: var(--cobalt);
        border-color: var(--cobalt);
    }
}

@media only screen and (min-width: 500px) {
    .dgb-blog {
        gap: 80px;

        .dgb-card {
            grid-template-areas:
                "img     credits"
                "excerpt excerpt";
            grid-template-columns: 2fr 3fr;
            gap: 24px;

            h1 {
                font-size: 32px;
                line-height: 40px;
            }
        }

        .dgb-credits {
            font-size: 16px;
            line-height: 20px;
        }

        .dgb-excerpt p {
            font-size: 24px;
            line-height: 32px;
        }

        .dgb-action {
            font-size: 16px;
            line-height: 24px;
            border: 0;
            border-bottom: 1px solid var(--berlin-blue);
            border-radius: 0;
            padding: 0;
        }
    }
}

@media only screen and (min-width: 768px) {
    .dgb-blog {
        margin-top: 64px;
        .dgb-card {
            gap: 32px;
        }
    }
}

@media only screen and (min-width: 992px) {
    .dgb-blog {
        margin-top: 64px;
        .dgb-card {
            gap: 32px;
        }
    }
}

@media only screen and (min-width: 1280px) {
    .dgb-blog {
        gap: 80px;
        margin-bottom: 40px;

        .dgb-card {
            grid-template-areas:"img credits excerpt";
            grid-template-columns: 1fr 2fr 3fr;
        }
        img {
            max-width: 280px;
        }
    }
}

.dgb-blog-action {
    font-size: 24px;
    color: var(--berlin-blue);
    text-decoration: none;
    margin-top: 40px;
    display: inline-block;
}

.dgb-blog-action:hover {
    color: var(--cobalt);
}

.dgb-blog-action::after {
    content: "";
    width: 36px;
    height: 18px;
    background: url("../svg/arrow-right2.svg") no-repeat;
    background-size: 36px 18px;
    display: inline-block;
    margin-left: 16px;
}

.dgb-blog-action:hover::after {
    filter: var(--cobalt-filter);
}

@media only screen and (min-width: 768px) {
    .dgb-blog-action {
        font-size: 40px;
        line-height: 48px;
    }
    .dgb-blog-action::after {
        width: 48px;
        height: 24px;
        background-size: 48px 24px;
    }
}

dgb-horizontal-scroller-infinite {
    display: flex;
    overflow: hidden;
}

.dgb-item-array {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-shrink: 0;
    width: fit-content;
}

.dgb-subject {
    display: flex;
    min-width: 152px;
    width: 152px;
    height: 200px;
    padding: 20px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border-radius: 24px;
    border: 1px solid #002850;
    font-size: 16px;
    line-height: 20px;
    hyphens: auto;
}
.dgb-subject .subject-icon {
    width: 42px;
    height: 48px;
}

@media only screen and (min-width: 768px) {
    .dgb-subject {
        min-width: 220px;
        width: 220px;
        height: 280px;
        padding: 24px;
        font-size: 24px;
        line-height: 32px;
    }
}

a:link.dgb-subject, a:visited.dgb-subject, a:hover {
    color: #002850;
    text-decoration: none !important;
}

a.dgb-subject:focus-visible {
    color: var(--berlin-blue);
    background-color: var(--yellow);
    outline: 0;
    border-radius: 32px;
    align-items: flex-start;
}

a.dgb-subject:hover {
    background: var(--berlin-blue);
    color: var(--leiden-lilac) !important;
    img {
        filter: var(--berlin-blue-filter);
    }
}

.dgb-select-dropdown {
    display: flex;
    flex-direction: column;
}

dgb-select {
    margin-top: 4px;
    display: block;
    height: 56px;
}

.dgb-select-dropdown {
    border-radius: 24px;
    border: #73cac3 1px solid;
    overflow: hidden;
    z-index: 10;
    position: relative;
}

.dgb-select-button, .dgb-select-button-main {
    width: 100%;
    display: block;
    padding: 12px 32px;
    border: none;
    background: #A1DCD8;
    font-size: 16px;
    line-height: 20px;
    color: var(--berlin-blue);
    text-align: left;
}

.dgb-select-button-main {
    border: var(--berlin-blue) 1px solid;
    border-radius: 24px;
    background: #A1DCD8 url("../svg/select-arrow.svg") no-repeat right 16px center;
}

.dgb-select-button:first-child {
    background: #A1DCD8 url("../svg/select-arrow.svg") no-repeat right 16px center;
}

.dgb-select-button-main:hover, .dgb-select-button:hover {
    background-color: #73cac3;
}

.dgb-select-button:focus-visible {
    background-color: var(--yellow);
    outline: none;
}

.d-none {
    display: none;
}

