.suedpolevents {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 1600px;
    max-width: 100%;
    margin: auto;
}

.suedpolevents .suedpolevent_item {
    font-family: VenusPro-Regular;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    width: 85%;
    text-shadow: 0.5px 0.5px 0 rgb(255 255 255 / 50%);
    margin-bottom: 200px;
    transform: translate3d(0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -webkit-font-kerning: normal;
    -webkit-text-size-adjust: 100%;
}

.suedpolevents .suedpolevent_item.split_row {
    width: 100%;
}

.suedpolevents .suedpolevent_item.split_row {
    margin-top: 30px;
    margin-left: 200px;
}

.suedpolevents .suedpolevent_item.overview {
    width: 95%;
    margin-bottom: 5px;
}

.suedpolevents .suedpolevent_item:last-child {
    margin-bottom: 100px;
}

.suedpolevents .suedpolevent_item .header_row {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 74%;
    transform: rotate(30deg);
    color: #000;
    z-index: 0;
}

.suedpolevents .suedpolevent_item:nth-child(odd) {
    transform: rotate(-5deg);
}

.suedpolevents .suedpolevent_item:nth-child(even) {
    transform: rotate(5deg);
}

.suedpolevents .suedpolevent_item.split_row:nth-child(odd) {
    transform: rotate(-2deg);
}

.suedpolevents .suedpolevent_item.split_row:nth-child(even) {
    transform: rotate(2deg);
}

#suedpolevents-overview .suedpolevent_item {
    transform: rotate(0) !important;
}

.suedpolevents.overview .suedpolevent_item .header_row {
    max-width: 90% !important;
}

.suedpolevent_item .event_row {
    position: relative;
    display: flex;
    justify-content: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    color: #000;
    text-align: left;
    white-space: nowrap;
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0 auto 4px auto;
    padding: 0;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    box-shadow: 5px 5px 15px 5px rgba(0, 0, 0, 0.3);
}

.suedpolevent_item.overview .event_row {
    font-size: 40px;
    min-height: 25px;
    padding: 5px;
    align-items: center;
}

.suedpolevent_item .event_row ul {
    list-style-type: none;
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    margin: 0;
    padding: 0;
}

.suedpolevent_item .event_row ul li.list_item {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    color: inherit;
    padding: 0 10px;
    min-height: 50px;
    list-style: none;
    overflow: hidden;
    text-shadow: 1px 1px 0px rgb(255 255 255 / 40%);
    animation-name: change;
    animation-duration: 10s;
    animation-iteration-count: infinite;
}

.suedpolevent_item .event_row.date_row {
    display: block;
    left: 0px;
    top: -4px;
    max-height: 50px;
    transform: skew(60deg, -30deg) scaleY(0.667);
}

.suedpolevent_item.overview .event_row.date_row {
    top: 0;
}

.suedpolevent_item .event_row.title_row,
.suedpolevent_item.overview:nth-child(even) .event_row {
    font-size: 55px;
    line-height: 0;
    min-height: 60px;
    align-items: center;
    text-shadow: 1.5px 1.5px 0px rgb(255 255 255 / 40%);
}

.suedpolevent_item.overview:nth-child(even) .event_row {
    font-size: 40px;
    min-height: 25px;
    line-height: 1;
}

.suedpolevent_item .event_row.title_row .event_name {
    display: flex;
    /*width: 100%;*/
    padding: 5px 10px;
}

#suedpolevents-overview .suedpolevent_item .event_row {
    padding: 5px 10px;
    text-align: center;
}

#suedpolevents-overview .suedpolevent_item .event_row.title_row,
#suedpolevents-overview .suedpolevent_item .event_row.image_row {
    padding: 0;
}

.suedpolevent_item .event_row:nth-child(even),
.suedpolevent_item.overview:nth-child(even) .event_row {
    transform: skew(0deg, -30deg) scaleY(1.333);
}

.suedpolevent_item .event_row.image_row {
    display: flex;
    /*aspect-ratio: 1000 / 200;*/
    left: 108px;
    top: -8px;
    min-height: 126px;
    width: 100%;
    background: none;
    transform: skew(60deg, -30deg) scaleY(0.667);
}

.suedpolevent_item .event_row.split_row {
    font-size: 18px;
    display: flex;
    left: 108px;
    top: -8px;
    min-height: 126px;
    width: 100%;
    background: none;
    transform: skew(60deg, -30deg) scaleY(0.667);
}

.suedpolevent_item .event_row.split_row .event_img,
.suedpolevent_item .event_row.split_row .description {
    display: flex;
    width: 50%;
}

.suedpolevent_item.no_image .event_row.image_row {
    display: flex;
    aspect-ratio: auto;
    left: 116px;
    top: -12px;
    background: none;
    opacity: 0;
}

.suedpolevent_item .event_row.image_row .event_image,
.suedpolevent_item .description_row .event_image {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.suedpolevent_item .description_row {
    position: relative;
    display: flex;
    left: 36px;
    top: 54px;
    max-width: 85%;
    min-width: 81%;
    padding: 0;
    color: #000;
    background: rgba(255, 255, 255, .5);
    text-shadow: 1px 1px 0.5px rgb(255 255 255 / 50%);
    text-shadow: none;
    box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 30%);
}

.suedpolevent_item.split_row .description_row {
    position: relative;
    display: flex;
    flex-direction: column;
    left: -100px;
    left: -6%;
    top: 20px;
    max-width: 85.5%;
    min-width: 81%;
    padding: 0;
    color: #000;
    background: rgba(255, 255, 255, .5);
    text-shadow: 1px 1px 0.5px rgb(255 255 255 / 50%);
    text-shadow: none;
    box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 30%);
}

.suedpolevent_item.split_row .description > a {
    position: relative;
    display: inline-block;
    width: 1080px;
    height: auto;
    max-width: 50%;
    aspect-ratio: 1080 / 1350;
}

.suedpolevent_item.split_row .description > a > img {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    /* max-width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.suedpolevent_item .description > .event_description * {
    font-size: inherit;
}

.suedpolevent_item.split_row .description > .event_description {
    width: 50%;
    height: auto;
}

.suedpolevent_item.no_image .description_row {
    left: -30px;
    top: -100px;
}

.suedpolevent_item.split_row .description_row .description {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
}

.suedpolevent_item.split_row .description_row .description.img_right {
    flex-direction: row-reverse;
}

.suedpolevent_item .description_row .description {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 10px;
}

#suedpolevents-overview .suedpolevent_item .description_row .description {
    text-align: center;
}

.suedpolevent_item .description_row .description .event_image {
    aspect-ratio: 1000 / 200;
    margin-bottom: 10px;
    display: none;
}

.suedpolevent_item .description_row .description p,
#suedpolevents-overview .suedpolevent_item .description_row .description span.overview_span,
.suedpolevent_item .description_row .description ul li {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: inherit;
    transition: all 300ms ease-in;
}

.suedpolevent_item .description_row .description a,
.suedpolevent_item .description_row .description p a {
    font-size: inherit;
    color: #000;
}

.suedpolevent_item .description_row .description a:hover {
    color: rgba(0, 0, 0, .5);
}

.suedpolevent_item .description_row .description p.event-duration,
.suedpolevent_item.split_row .description_row .event-duration {
    font-family: VenusPro-Reclining;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: inherit;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0 30px 0;
    padding-bottom: 30px;
    border-bottom: 1px solid #000;
}

.suedpolevent_item.split_row .description_row .event-duration {
    margin: 20px 0 0 0;
    padding-bottom: 20px;
}

.suedpolevent_item .description_row .description p.event-duration span::before,
.suedpolevent_item .description_row .description p.event-duration span::after,
.suedpolevent_item.split_row .description_row .event-duration span::before,
.suedpolevent_item.split_row .description_row .event-duration span::after {
    content: '.::';
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    margin: 0 5px;
}

@media screen and (max-width: 768px) {
    .suedpolevent_item .description_row .description p.event-duration,
    .suedpolevent_item.split_row .description_row .event-duration {
        font-size: 20px;
    }
}

.suedpolevent_item .description_row .description p.event-duration span::after,
.suedpolevent_item.split_row .description_row .event-duration span::after {
    content: '::.';
}

.suedpolevent_item .description_row .description ul {
    display: inline-block;
    width: 100%;
    margin: 0 0 0 20px;
    padding: 0;
    max-width: 90%;
}

.suedpolevent_item .description_row .description ul li {
    text-align: left !important;
}

.suedpolevent_item .description_row .description p:last-child,
.suedpolevent_item .description_row .description ul:last-child {
    margin-bottom: 0;
}

.suedpolevent_item .event_row:nth-child(2) {
    top: 0;
    left: 32px;
    margin-top: 0;
    max-height: none;
}

#block-table-contents {
    display: flex;
    position: fixed;
    bottom: 120px;
    left: 120px;
    background: rgba(255, 255, 255, .5);
    color: #000;
    padding: 10px 0 10px 20px;
    border-radius: 5px;
    width: auto;
    min-width: 210px;
    opacity: 0;
    transition: all 300ms ease-in;
    box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 30%);
}

@media screen and (max-width: 500px) {
    #block-table-contents {
        left: 50%;
        bottom: 30px;
        z-index: 10000;
        transform: translate(-50%, 0);
    }
}

#block-table-contents.active {
    opacity: 1;
}

#block-table-contents .table-contents-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#block-table-contents .table-contents-container .progress-bar {
    display: none;
}

#block-table-contents .table-contents-container .toc-container {
    height: 0;
}

#block-table-contents.open .table-contents-container .toc-container {
    display: flex;
    width: 100%;
    height: auto;
}

#block-table-contents.open .table-contents-container .toc-container .toc-div {
    display: flex;
    width: 100%;
}

#block-table-contents .table-contents-container .toc-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    cursor: url(/wp-content/themes/suedpolHamburg/assets/images/smiley_cursor_wink.png) 20 20, auto !important;
}

#block-table-contents .table-contents-container .toc-nav .position-contents {
    display: flex;
    align-items: center;
}

#block-table-contents .table-contents-container .toc-nav .position-contents::after {
    content: "\f073";
    font-family: "Font Awesome 6 Free";
    font-weight: 300;
    display: inline-block;
    font-size: 20px;
    color: #000;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    z-index: 1;
    margin-left: 20px;
    margin-right: 20px;
}

#block-table-contents .table-contents-container .toc-nav .position-contents a {
    font-size: 20px;
    color: #000;
    text-decoration: none;
    pointer-events: none;
    margin-right: 5px;
    transition: all 300ms ease-in;
}

#block-table-contents .table-contents-container .toc-nav .position-contents a:hover {
    text-decoration: underline;
}

#block-table-contents ul {
    list-style-type: none;
    max-height: 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    transition: all 300ms ease-in;
}

#block-table-contents.open ul {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #000 transparent;
}

#block-table-contents ul li.year {
    font-family: 'VenusPro-Reclining', Helvetica, Arial, sans-serif;
    font-size: 22px;
    margin-top: 20px;
    padding-right: 20px;
}

#block-table-contents ul li.month {
    padding-right: 20px;
}

#block-table-contents ul li.month a {
    font-size: 20px;
    text-decoration: none;
    cursor: url(/wp-content/themes/suedpolHamburg/assets/images/smiley_cursor_wink.png) 20 20, auto !important;
    color: #000;
    margin-left: 5px;
}

#block-table-contents ul li.month:hover a {
    text-decoration: none;
}

#block-table-contents ul li.focused a {
    /*text-decoration: underline;*/
}

#block-table-contents ul li.month a::before {
    content: '--';
    margin-right: 5px;
}

#block-table-contents ul li.month:hover a::before,
#block-table-contents ul li.month.focused a::before {
    content: '->';
    margin-right: 5px;
    text-decoration: none;
}

.archive_month {
    scroll-margin-top: 150px;
}

@media screen and (max-width: 1024px) {
    .suedpolevent_item.split_row .description > a,
    .suedpolevent_item.split_row .description > .event_description {
        width: 100%;
        height: auto;
        max-width: none;
    }

    .suedpolevent_item.split_row .description_row .description,
    .suedpolevent_item.split_row .description_row .description.img_right {
        flex-direction: column;
    }
}

@media screen and (max-width: 950px) {
    .suedpolevents .suedpolevent_item {
        width: 75%;
    }

    .suedpolevents .suedpolevent_item .header_row {
        width: 70%;
    }

    .suedpolevent_item .event_row ul li.list_item {
        font-size: 20px;
    }

    .suedpolevent_item .event_row.title_row {
        font-size: 24px;
    }

    .suedpolevent_item .event_row ul li.list_item,
    .suedpolevent_item .event_row.title_row .event_name {
        transform: scaleY(1.5);
    }

    .suedpolevent_item .event_row.image_row {
        left: 108px;
        top: -8px;
    }

    .suedpolevent_item .description_row {
        left: 80px;
        top: 50px;
        width: 93%;
        max-width: 81%;
    }

    .suedpolevents .suedpolevent_item.no_image .description_row {
        left: -6px;
    }

    .suedpolevent_item.split_row .description_row {
        top: 20px;
        left: -6%;
        max-width: 70%;
    }
}

@media screen and (max-width: 600px) {
    .suedpolevents .suedpolevent_item {
        width: 90%;
    }

    .suedpolevents .suedpolevent_item:nth-child(odd) {
        transform: rotate(-1deg);
        margin-left: 24%;
        margin-bottom: 200px;
    }

    .suedpolevents .suedpolevent_item:nth-child(even) {
        transform: rotate(3deg);
        margin-bottom: 200px;
    }

    .suedpolevents .suedpolevent_item .header_row {
        top: 6px;
        left: -60px;
    }

    .suedpolevent_item .event_row.date_row {
        align-items: center;
    }

    .suedpolevent_item .event_row ul li.list_item {
        font-size: 16px;
    }

    .suedpolevent_item .event_row.title_row {
        font-size: 5vw;
    }

    .suedpolevent_item .event_row.image_row {
        left: 106px;
        top: -8px;
    }

    .suedpolevent_item .description_row {
        left: 30px;
        top: 56px;
        width: 90%;
    }

    .suedpolevent_item.split_row .description_row {
        left: -86px;
        top: 26px;
        width: 90%;
    }

    .suedpolevent_item.split_row .description > a > img {
        /*min-height: 500px;*/
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(even) {
        transform: rotate(-1deg);
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(odd) {
        transform: rotate(1deg);
        margin-left: 50%;
    }

    .suedpolevent_item.split_row .description_row .description {

    }

    .suedpolevents .suedpolevent_item.no_image .header_row {
        top: 6px;
        left: 30px;
    }

    .suedpolevents .suedpolevent_item.no_image .description_row {
        left: 32px;
        top: -96px;
    }
}

@media screen and (max-width: 400px) {
    .suedpolevents .suedpolevent_item {
        width: 85%;
    }

    .suedpolevents .suedpolevent_item:nth-child(odd) {
        transform: rotate(0.5deg);
        margin-left: -20px;
        width: 90%;
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(odd) {
        transform: rotate(1deg);
        margin-left: 34%;
    }

    .suedpolevents .suedpolevent_item:nth-child(even) {
        transform: rotate(-0.5deg);
        margin-left: 30px;
        width: 75%;
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(even) {
        transform: rotate(-0.5deg);
        margin-left: 160px;
        width: 90%;
    }

    .suedpolevents .suedpolevent_item:nth-child(odd) .header_row {
        width: 75%;
        left: -36px;
    }

    .suedpolevents .suedpolevent_item:nth-child(even) .header_row {
        left: -60px;
        width: 100%;
        max-width: 90%;
    }

    .suedpolevents .suedpolevent_item:nth-child(odd) .description_row {
        left: 54px;
        top: 60px;
        max-width: none;
        width: 86%;
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(odd) .description_row {
        left: -60px;
        top: 28px;
        max-width: none;
        width: 86%;
    }

    #suedpolevents-overview .suedpolevent_item:nth-child(odd) .description_row {
        left: 54px;
        top: 58px;
        max-width: none;
        width: 86%;
    }

    .suedpolevents .suedpolevent_item:nth-child(even) .description_row {
        left: 34px;
        top: 56px;
        width: 100%;
        max-width: none;
    }

    .suedpolevents .suedpolevent_item.split_row:nth-child(even) .description_row {
        left: -85px;
        top: 28px;
        width: 100%;
        max-width: none;
    }

    .suedpolevent_item.no_image .description_row {
        left: -46px !important;
        top: -95px !important;
    }

    .suedpolevent_item .description_row .description p.event-duration span:before,
    .suedpolevent_item .description_row .description p.event-duration span:after {
        content: none;
    }
}

#upcoming {
    position: relative;
    /* aspect-ratio: 1764 / 1194; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 100px;
}

#upcoming .dates,
#upcoming img.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
    background-size: cover;
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

#upcoming img.bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

#upcoming .dates {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: auto;
    z-index: 4;
    right: unset;
    bottom: unset;
    gap: 20px;
}

#upcoming .dates .date {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 320px;
    padding: 15px;
    background: rgba(255, 255, 255, .5);
    color: #1a1a1a;
    box-shadow: 5px 5px 15px 5px rgb(0 0 0 / 30%);
    transition: all 300ms cubic-bezier(.9, 0, .33, 1);
}

#upcoming .dates .date .to-event-arrow {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    aspect-ratio: 1 / 1;
    font-size: 30px;
    color: #252525;
    opacity: 0;
    transition: opacity 300ms cubic-bezier(.9, 0, .33, 1);
}

#upcoming .dates .date .to-event {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 20px;
    color: #000;
    opacity: 0;
    transition: opacity 300ms cubic-bezier(.9, 0, .33, 1);
}

#upcoming .dates .date .event-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

#upcoming .dates .date.is-link:hover .to-event {
    opacity: .8;
}

#upcoming .dates .date.is-link:hover .event-info {
    opacity: 0;
}

#upcoming .dates .date.is-link {
    cursor: url(/wp-content/themes/suedpolHamburg/assets/images/smiley_cursor_wink.png) 20 20, auto !important;
}

#upcoming .dates .date.is-link .to-event-arrow {
    opacity: .6;
}

#upcoming .dates .date:nth-child(even),
#upcoming .dates .date:nth-child(odd):hover {
    transform: rotate(2deg);
}

#upcoming .dates .date:nth-child(odd),
#upcoming .dates .date:nth-child(even):hover {
    transform: rotate(-2deg);
}

#upcoming .dates .date a {
    color: #1a1a1a;
}

#upcoming h3 {
    position: absolute !important;
    top: 35%;
    left: 0;
    width: 100%;
    z-index: 2;
    transform: translate(0, -40%);
    font-weight: 900;
    font-size: 80px;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    text-align: center;
    text-shadow: none !important;
    background-image: url(https://assets.codepen.io/209981/ice.jpg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: contain;
    -webkit-text-stroke: 1px #4f90ab;
    pointer-events: none;
    opacity: .8;
}

#upcoming h3::before,
#upcoming h3::after {
    content: none;
}

#upcoming .animation {
    position: absolute!important;
    left: 0;
    z-index: 3;
    background: linear-gradient(
            45deg,
            rgba(255, 255, 255, 0) 45%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 55%,
            rgba(255, 255, 255, 0) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 7s infinite;
    background-size: 200%;
    color: #fff;
    text-align: center;
    text-shadow: none!important;
    width: 100%;
}

@media screen and (max-width: 1200px) {
    #upcoming h3 {
        top: 30%;
        font-size: 50px;
    }
}

@media screen and (max-width: 1150px) {
    #upcoming h3 {
        top: 10%;
    }
}

@media screen and (max-width: 900px) {
    #upcoming h3 {
        top: 5%;
    }
}

@media screen and (max-width: 768px) {
    #upcoming h3 {
        top: 5%;
        font-size: 40px;
    }
}

@media screen and (max-width: 600px) {
    #upcoming h3 {
        font-size: 35px;
        -webkit-text-stroke: .5px #4f90ab;
    }
}

@media screen and (max-width: 500px) {
    #upcoming h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 400px) {
    #upcoming h3 {
        font-size: 25px;
    }
}

@keyframes floating {
    from { transform: translate(0,  0px); }
    65%  { transform: translate(0, 35px); }
    to   { transform: translate(0, -0px); }
}

@keyframes shine {
    0% {
        background-position: -120%;
    }
    10% {
        background-position: 120%;
    }
    100% {
        background-position: 120%;
    }
}

@keyframes change {
    0%,
    12.66%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    25%,
    37.66% {
        transform: translate3d(0, -25%, 0);
    }
    50%,
    62.66% {
        transform: translate3d(0, -50%, 0);
    }
    75%,
    87.66% {
        transform: translate3d(0, -25%, 0);
    }
}