/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    hyphens: auto;
}

body {
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

.brxe-text-basic,
.brxe-text {
    line-height: 1.4;
}

.nowrap {
    white-space: nowrap;
}

.jl-events-list {
    display: grid;
    gap: 120px;
    width: 100%;
}

.jl-event {
    display: flex;
    flex-direction: row;
    column-gap: 60px;
    align-items: center;
}

.jl-event__image {
    aspect-ratio: 16 / 9;
    display: block;
    flex: 0 1 min(50%, 720px);
    max-height: 520px;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
}

.jl-event__image-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jl-event__date {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.jl-event__title {
    margin: 0 0 12px;
}

.jl-event__title a,
.jl-event__link {
    color: inherit;
}

.jl-event__title a {
    text-decoration: none;
}

.jl-event__excerpt {
    margin-bottom: 14px;
}

.jl-event__excerpt > :last-child {
    margin-bottom: 0;
}

.jl-event__link {
    font-weight: 700;
}

.jl-presse-page {
    background-color: var(--white);
}

.jl-presse-page .jl-hero-seite__section,
.jl-presse-detail .jl-hero-seite__section,
.jl-veranstaltung-detail .jl-hero-seite__section,
.jl-events-page .jl-hero-seite__section,
.jl-presse-hero.jl-hero-seite__section,
.jl-events-hero.jl-hero-seite__section,
.jl-cpt-hero.jl-hero-seite__section {
    color: var(--white);
    display: flow-root;
    border-bottom-left-radius: 120px;
    overflow: hidden;
}

.jl-presse-hero.jl-hero-seite__section .jl__font-color--white,
.jl-events-hero.jl-hero-seite__section .jl__font-color--white,
.jl-cpt-hero.jl-hero-seite__section .jl__font-color--white,
.jl-presse-hero.jl-hero-seite__section h1,
.jl-events-hero.jl-hero-seite__section h1,
.jl-cpt-hero.jl-hero-seite__section h1,
.jl-presse-hero.jl-hero-seite__section p,
.jl-events-hero.jl-hero-seite__section p,
.jl-cpt-hero.jl-hero-seite__section p,
.jl-presse-hero.jl-hero-seite__section li,
.jl-events-hero.jl-hero-seite__section li,
.jl-cpt-hero.jl-hero-seite__section li {
    color: var(--white) !important;
}

.jl-presse-page .jl-hero-seite__container,
.jl-presse-detail .jl-hero-seite__container,
.jl-veranstaltung-detail .jl-hero-seite__container,
.jl-events-page .jl-hero-seite__container,
.jl-presse-hero .jl-hero-seite__container,
.jl-events-hero .jl-hero-seite__container,
.jl-cpt-hero .jl-hero-seite__container {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: clamp(80px, 8vw, 130px);
    padding-bottom: clamp(90px, 8vw, 130px);
}

.jl-presse-detail .jl-hero-seite__container,
.jl-veranstaltung-detail .jl-hero-seite__container,
.jl-cpt-hero .jl-hero-seite__container {
    padding-top: clamp(40px, 5vw, 80px);
}

.jl-events-page__list-section,
.jl-presse-page__list-section {
    padding-top: clamp(80px, 8vw, 120px);
    padding-bottom: clamp(90px, 8vw, 140px);
}

.jl-presse-contact {
    padding-top: clamp(48px, 5vw, 72px);
    padding-bottom: clamp(32px, 4vw, 56px);
}

.jl-presse-contact + .jl-presse-page__list-section {
    padding-top: clamp(32px, 4vw, 56px);
}

.jl-cpt-back-link {
    align-items: center;
    color: var(--green);
    display: inline-flex;
    column-gap: 8px;
    font-weight: 700;
    justify-content: flex-start;
    line-height: 1;
    margin-bottom: 0;
    min-height: 44px;
    padding-right: 10px;
    text-decoration: none;
    width: fit-content;
}

.jl-cpt-back-link:hover,
.jl-cpt-back-link:focus-visible {
    color: var(--green);
}

.jl-cpt-back-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.jl-cpt-back-link__icon {
    flex: 0 0 auto;
    height: 30px;
    width: 30px;
}

.jl-cpt-back-link__label {
    color: inherit;
    font-size: 17px;
}

.jl-cpt-back-section {
    background-color: var(--white);
    padding-top: clamp(32px, 4vw, 56px);
    padding-bottom: clamp(24px, 3vw, 40px);
}

.jl-presse-detail .jl-hero-seite__section,
.jl-veranstaltung-detail .jl-hero-seite__section,
.jl-cpt-hero.jl-hero-seite__section {
    margin-bottom: 0;
}

.jl-presse-contact,
.jl-presse-page__list-section {
    background-color: var(--white);
}

.jl-presse-contact__inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.45fr) minmax(0, 0.55fr);
    column-gap: 60px;
    align-items: start;
}

.jl-presse-contact__heading h2 {
    margin-top: 0;
}

.jl-presse-contact__content {
    max-width: 620px;
}

.jl-presse-contact__content > :first-child {
    margin-top: 0;
}

.jl-presse-contact__content > :last-child {
    margin-bottom: 0;
}

.jl-presse-contact__content a {
    color: inherit;
}

.jl-presse-detail__date {
    display: block;
    font-weight: 700;
}

.jl-presse-detail__featured-image {
    margin: 0 0 40px;
}

.jl-presse-detail__content figure,
.jl-presse-detail__content .wp-block-image,
.jl-presse-detail__content .alignwide,
.jl-presse-detail__content .alignfull {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.jl-presse-detail__content-section {
    padding-top: clamp(24px, 4vw, 56px);
    padding-bottom: clamp(80px, 10vw, 140px);
}

body.single-veranstaltung #brx-content:not(.jl-veranstaltung-detail) > .brxe-section:first-child,
.jl-veranstaltung-detail__content-section {
    padding-top: clamp(24px, 4vw, 56px);
}

body.single-veranstaltung #brx-content:not(.jl-veranstaltung-detail) > .brxe-section:last-of-type,
.jl-veranstaltung-detail__gallery-section,
.jl-presse-detail__content-section {
    padding-bottom: clamp(90px, 9vw, 150px);
}

.jl-veranstaltung-detail__content > :first-child {
    margin-top: 0;
}

.jl-veranstaltung-detail__content > :last-child {
    margin-bottom: 0;
}

.jl-presse-detail__content h3,
.jl-presse-detail__content h4,
.jl-veranstaltung-detail__content h3,
.jl-veranstaltung-detail__content h4 {
    margin-bottom: 18px;
}

.jl-veranstaltung-detail__gallery-section {
    padding-top: 0;
}

.jl-presse-detail__featured-image img,
.jl-presse-detail__content img,
.jl-presse-detail__content video {
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    width: 100%;
    max-width: 100%;
    max-height: 620px;
    height: auto;
}

body.single-veranstaltung .brxe-image-gallery,
body.single-veranstaltung .jl-veranstaltung-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    width: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
}

body.single-veranstaltung .brxe-image-gallery .bricks-layout-item {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
}

body.single-veranstaltung .brxe-image-gallery figure,
body.single-veranstaltung .brxe-image-gallery a {
    display: block;
    width: 100%;
    margin: 0;
}

body.single-veranstaltung .brxe-image-gallery img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .jl-presse-page .jl-hero-seite__section,
    .jl-presse-detail .jl-hero-seite__section,
    .jl-veranstaltung-detail .jl-hero-seite__section,
    .jl-events-page .jl-hero-seite__section,
    .jl-presse-hero.jl-hero-seite__section,
    .jl-events-hero.jl-hero-seite__section,
    .jl-cpt-hero.jl-hero-seite__section {
        border-bottom-left-radius: 60px;
    }

    .jl-events-list {
        gap: 100px;
    }

    .jl-event {
        flex-direction: column;
    }

    body.single-veranstaltung .brxe-image-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jl-presse-contact__inner {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}

@media (max-width: 767px) {
    .jl-events-list {
        gap: 80px;
    }

    body.single-veranstaltung .brxe-image-gallery {
        grid-template-columns: 1fr;
    }
}

.blubb {
    font-size: 12px;
}