:root {
    --font-family-text: 'Montserrat', sans-serif;
    --font-family-headings: 'francois-fixed', sans-serif;
}

.abfallarten-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 0 0;
    overflow: visible;
    padding: 0 12px;
}

.abfallarten-grid-item {
    flex: 1 1 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1em 2em;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.2s;
    box-shadow: 0 0 20px 0 rgba(75, 136, 255, .149);
    border-color: rgba(0,0,0,.12);
    border-style: solid;
    border-width: 0;
    overflow: hidden;
    overflow-wrap: break-word;
    position: relative;
    transition-duration: .28s;
    transition-property: box-shadow, opacity, background;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.abfallarten-grid-item:hover {
    box-shadow: 0 0 20px 0 rgba(106, 150, 238, .4);
}

.abfallarten-grid-image-container {
    flex: 1 0 0px;
    pointer-events: none;
    transition: padding-bottom .2s cubic-bezier(.4,0,.2,1);
    position: relative;
    padding-bottom: 46%;
}

.abfallarten-grid-image {
    width: 74%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    position: absolute;
    top: 0;
    left: 13%;
    -webkit-filter: saturate(120%) brightness(110%);
  filter: saturate(120%) brightness(110%);
}

.abfallarten-grid-content {
    font-family: var(--font-family-text);
    padding: 1em 0;
}

.abfallarten-grid-title {
    font-size: 1.6em;
    font-weight: bold;
    height: 3em;
    line-height: normal;
    white-space: wrap;
    text-align: center;
    display: block;
    flex: none;
    -webkit-hyphens: auto;
    hyphens: auto;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: normal;
    text-overflow: ellipsis;
    text-transform: none;
    word-break: normal;
    word-wrap: break-word;
}

.abfallarten-grid-excerpt {
    display: block;
    flex: none;
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .0178571429em;
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.abfallarten-grid-more, .abfallarten-grid-more-nodrawer {
    text-decoration: underline;
    font-size: 0.95em;
    margin-bottom: .45rem;
    text-align: center;
    font-weight: bold;
    cursor: pointer !important;
    font-family: inherit;
}

.abfallarten-grid-more-nodrawer {
    cursor: default !important;
}

.abfallarten-grid-btn-container {
    padding: 0 0 .5em;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abfallarten-grid-btn {
    font-size: 12px;
    letter-spacing: 1px;
    font-family: var(--font-family-headings);
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    border-bottom-left-radius: 100px;
    border-width: 4px;
    border-color: #000000;
    border-style: solid;
    transition-property: background-color, border-color, color, letter-spacing;
    transition-duration: 300ms;
    transition-timing-function: ease;
    transition-delay: 0ms;
    display: block;
    text-align: center;
    padding: .5em 1em;
    line-height: 1.3em;
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
button.abfallarten-grid-btn.no-containers {
    cursor: not-allowed;
    opacity: .25;
}
.abfallarten-grid-btn:hover, .abfallarten-grid-btn:focus {
    color: #00a1e6;
    border-color: #00a1e6;
    text-decoration: none;
}
button.abfallarten-grid-btn.no-containers {
    cursor: not-allowed;
    color: #000000;
    border-color: #000000;
    text-decoration: none;
}

.abfallarten-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    height: 100%;
    max-width: 100%;
    background-color: #fff;
    color: #000;
    z-index: 120;
    box-shadow: 0 0 0 0 rgba(255,255,255,0);
    border-color: rgba(0,0,0, .12);
    border-style: solid;
    border-width: 0;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    transition-duration: .2s;
    transition-property: box-shadow, transform, visibility, width, height, left, right, top, bottom;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    -webkit-overflow-scrolling: touch;
    transform: translateX(480px);
    visibility: hidden;
    opacity: 0;
}
.abfallarten-drawer.open {
    box-shadow: 0 8px 10px -5px rgba(0,0,0,.2), 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12);
}

.abfallarten-drawer-close {
    background: none;
    border: none;
    font-size: 2em;
    color: #888;
    position: absolute;
    top: 12px;
    right: 18px;
    cursor: pointer;
    z-index: 2;
}

.abfallarten-drawer-content {
    padding: 1em 24px 24px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--font-family-text);
    font-weight: 400;
}

.abfallarten-drawer-content h2, .abfallarten-drawer-content h3, .abfallarten-drawer-content h4, .abfallarten-drawer-content h5, .abfallarten-drawer-content h6, .abfallarten-drawer-content .heading-font {
    font-family: var(--font-family-headings);
    font-weight: bold;
}

.abfallarten-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    width: 100vw; 
    height: 100vh;
    background: #000;
    transition: opacity 0.2s cubic-bezier(.4,0,.2,1), visibility 0s linear 0.2s, z-index 0s linear 0.2s;
}
.abfallarten-drawer.open ~ .abfallarten-drawer-overlay,
.abfallarten-drawer-overlay.open {
    transition: opacity 0.2s cubic-bezier(.4,0,.2,1), visibility 0s, z-index 0s;
}

.admin-bar .abfallarten-drawer {
    top: 0px;
    height: 100%;
    height: 100vh;
}

div.abfallarten-drawer-title {
    font-size: 1.5em;
    padding: 0 28px 1em 0;
}

div.abfallarten-drawer-title span {
    display: inline-block;
}

.abfallarten-drawer-content .dashicons {
    vertical-align: middle;
}
.abfallarten-drawer-content .dashicons.dashicons-yes {
    color: rgb(30, 234, 173);
}

.abfallarten-drawer-content .dashicons.dashicons-no-alt {
    color: rgb(255, 115, 115);
}

.abfallarten-drawer-content .abfallarten-drawer-lists {
    display: flex;
    gap: 1em;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.abfallarten-drawer-content .abfallarten-drawer-list {
    flex: 0 0 50%;
    max-width: calc(50% - .5em);
}

.abfallarten-drawer-content .abfallarten-drawer-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abfallarten-drawer-content .abfallarten-drawer-list li {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    flex-wrap: wrap;
    padding: 5px 0;
    line-height: 1.5em;
}

.abfallarten-drawer-content .abfallarten-drawer-list li span {
    flex: 0 0 91.6666666667%;
    max-width: 91.6666666667%;
    padding-left: .5em;
}

.abfallarten-drawer-content .abfallarten-drawer-list li span.dashicons {
    flex: 0 0 8.3333333333%;
    max-width: 8.3333333333%;
    padding-left: 0;
}

.container-typ-group + .container-typ-group {
    margin-top: 2.5em;
}

.container-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    overflow-wrap: break-word;
    padding: 0;
    position: relative;
    text-decoration: none;
    transition-duration: .28s;
    transition-property: box-shadow, border, opacity, background;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    z-index: 0;
    box-shadow: 0 0 10px 0 rgba(75, 136, 255, .149);
    border: 2px solid rgba(186,203,221,.25);
    border-radius: 6px;
    padding: 6px;
}

.container-info:hover, .container-info:focus {
    box-shadow: 0 0 10px 0 rgba(106, 150, 238, .4);
    cursor: pointer;
    border: 2px solid #faab00;
}

.container-info + .container-info {
    margin-top: 1em;
}

.container-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex: 0 1 25%;
    padding: 1.6em 5px .45em 0;
    align-self: stretch;
    font-size: 14px;
}

.container-icon img {
    height: 100%;
    max-height: 40px;
    width: auto !important;
    z-index: 1;
    display: flex;
}

.container-icon span.container-volumen {
    position: absolute;
    z-index: 2;
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(255,255,255,.5);
    padding-bottom: .45em;
}

.container-details {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-self: stretch;
    padding: 5px 5px 3px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.container-details span.container-typ {
    font-size: 1.1em;
    line-height: 1.5em;
    display: block;
    padding-bottom: 5px;
}

.container-anweisung, .abfallarten-drawer-safety-info {
    background-color: #bf3922;
    color: #ffffff;
    padding: 12px;
    overflow: hidden;
    overflow-wrap: break-word;
    position: relative;
    text-decoration: none;
    transition-duration: .28s;
    transition-property: box-shadow, border, opacity, background;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    z-index: 0;
    box-shadow: 0 0 10px 0 rgba(75, 136, 255, .149);
    border-radius: 6px;
    margin-top: 2.5em;
    cursor: help;
}
.abfallarten-drawer-safety-info {
    margin-top: 0;
    margin-bottom: 2.5em;
    background-color: #00a1e6;
}

/* Responsive: 2 pro Reihe auf kleinen Tablets */
@media (min-width: 512px) {
    .abfallarten-grid-item {
        flex: 1 1 calc(50% - 24px);
        max-width: calc(50% - 24px);
    }
    .abfallarten-grid {
        margin: 0 -6px;
        padding: 0 0;
    }
}

@media (min-width: 600px) {
    .abfallarten-grid-btn {
        font-size: 14px;
        letter-spacing: 2px;
    }
    .admin-bar .abfallarten-drawer {
        top: 46px;
        height: calc(100% - 46px);
        height: calc(100vh - 46px);
    }
}

@media (min-width: 783px) {
    .admin-bar .abfallarten-drawer {
        top: 32px;
        height: calc(100% - 32px);
        height: calc(100vh - 32px);
    }
}

/* Responsive: 3 pro Reihe auf Tablet */
@media (min-width: 901px) {
    .abfallarten-grid-item {
        flex: 1 1 calc(33.333% - 24px);
        max-width: calc(33.333% - 24px);
    }
}

@media (min-width: 1305px) {
    .abfallarten-grid-item {
        flex: 1 1 calc(25% - 24px); /* 6 pro Reihe, minus gap */
        max-width: calc(25% - 24px);
    }
    .abfallarten-grid-image-container {
        padding-bottom: 50%;
    }
}

@media (min-width: 1625px) {
    .abfallarten-grid-item {
        flex: 1 1 calc(20% - 24px); /* 6 pro Reihe, minus gap */
        max-width: calc(20% - 24px);
    }
}


@media (min-width: 1945px) {
    .abfallarten-grid-item {
        flex: 1 1 calc(16.666% - 24px); /* 6 pro Reihe, minus gap */
        max-width: calc(16.666% - 24px);
    }
}