/* =========================================================
   EVENT – BASIS
   ========================================================= */

.q3-event {
    max-width: 700px;
    height: calc(100vh - 300px);
    margin: 0 auto;
    padding: 80px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* =========================================================
   2-SPALTEN
   ========================================================= */

.q3-event-viewport {
    flex: 1;
    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
}

.q3-event-viewport::-webkit-scrollbar {
    display: none;
}

.q3-event-row {
    display: flex;
    width: 700px;
    position: relative;
}

.q3-event-row::-webkit-scrollbar {
    display: none;
}

.q3-event-col-left {
    width: 210px;
    flex: 0 0 210px;
    box-sizing: border-box;
    padding-right: 10px;

    display: grid;
    grid-template-rows: 330px 1fr auto;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
}

.q3-event-col-right {
    width: 490px;
    flex: 0 0 490px;
    box-sizing: border-box;
    padding-left: 10px;

    display: grid;
    grid-template-rows: auto 40px auto;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
	border-left: 1px solid rgba(0,0,0,0.7);
}

/* =========================================================
   AUSSTELLUNGSTITEL + UNTERTITEL
   ========================================================= */

.q3-event-head {
    width: 700px;
    margin-bottom: 20px;
}

.q3-event-head h1 {
    font-family: 'TASA Orbiter';
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0 0 10px 0;
    overflow-wrap: anywhere;
}

.q3-event-head p {
    font-family: 'TASA Orbiter';
    font-size: var(--fs-large);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

/* =========================================================
   PLAKAT
   ========================================================= */

.q3-event-poster {
    width: 200px;
    height: auto;
    display: block;
}

.q3-event-poster-button {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* =========================================================
   RELATED PLAKATE
   ========================================================= */

.q3-event-related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.q3-event-col-left .q3-event-meta-label {
    margin-top: 20px;
    margin-bottom: 6px;
}

.q3-event-related-grid a {
    width: calc((100% - 12px) / 3);
    display: block;
}

.q3-event-related-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   GALERIE – THUMBNAILS
   ========================================================= */

.q3-event-gallery {
	
    border-top: 1px solid rgba(0,0,0,0.2);
    padding-top: 10px;
	margin-top: 10px;

    display: flex;
    flex-wrap: wrap-reverse;
    gap: 6px;
}

.q3-event-gallery .q3-gallery-button {
    width: calc((100% - 12px) / 3);
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.q3-event-gallery img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

.q3-event-gallery img:hover {
    filter: grayscale(0%);
}

/* =========================================================
   RECHTE SPALTE – INFOS
   ========================================================= */

.q3-event-col-right p {
    margin: 0;
}

.q3-event-info-top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.q3-event-group-main,
.q3-event-group-meta {
    display: flex;
    flex-direction: column;
}

.q3-event-group-main {
    gap: 25px;
}

.q3-event-group-meta {
    gap: 4px;
}

.q3-event-artists {
    font-size: var(--fs-large);
    font-weight: 800;
}

.q3-event-collective {
    font-size: var(--fs-large);
    font-weight: 800;
    margin-bottom: -18px;
}

.q3-event-highlight {
    font-size: var(--fs-large);
}

.q3-event-meta-row {
    display: flex;
    justify-content: space-between;
}

.q3-event-meta-label {
    opacity: 0.45;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.q3-event-meta-value {
    text-align: right;
}

.q3-event-teaser {
    font-size: var(--fs-medium);
    text-align: justify;
    hyphens: auto;
    white-space: pre-wrap;
}

.q3-event-info-bottom .q3-event-note + .q3-event-teaser {
    margin-top: 25px;
}

.q3-event-info-bottom .q3-event-teaser + .q3-event-link {
    margin-top: 20px;
}

.q3-event-info-bottom .q3-event-link + .q3-event-link {
    margin-top: 5px;
}

.q3-event-link a {
    color: #2f2f2f;
    font-weight: 700;
    text-decoration: none;
}

.q3-event-link a:hover {
    text-decoration: underline;
}

.q3-event-info-bottom {
    align-self: end;
}

/* =========================================================
   PLAKAT – LIGHTBOX
   ========================================================= */

.q3-poster-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    z-index: 9999;
}

.q3-poster-lightbox.is-open {
    display: flex;
}

.q3-poster-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.q3-poster-lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    border: 0;
    background: transparent;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================================
   GALERIE – LIGHTBOX
   ========================================================= */

.q3-gallery-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    z-index: 9999;
}

.q3-gallery-lightbox.is-open {
    display: flex;
}

.q3-gallery-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q3-gallery-lightbox-stage img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.q3-gallery-lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    border: 0;
    background: transparent;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.q3-gallery-lightbox-prev,
.q3-gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    font-size: 46px;
    line-height: 1;
    cursor: pointer;
}

.q3-gallery-lightbox-prev {
    left: -45px;
}

.q3-gallery-lightbox-next {
    right: -45px;
}

.q3-lightbox-imagewrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.q3-image-description {
    margin-top: 6px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
}

/* =========================================================
   POST – BASIS
   ========================================================= */

.q3-post {
    width: 100%;
    height: calc(100vh - 300px);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.q3-post-inner {
    width: 700px;
    height: 100%;
    box-sizing: border-box;
    padding: 80px 0;
}

/* =========================================================
   POST – LAYOUT
   ========================================================= */

.q3-post-layout {
    position: relative;
    width: 700px;
    min-height: 100%;
    display: flex;
}

.q3-post-layout::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 215px;
    width: 1px;
    background: rgba(0,0,0,0.7);
}

.q3-post-media-track {
    position: relative;
    width: 200px;
    flex: 0 0 200px;
    padding-right: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.q3-post-media-zone {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.q3-post-related-pages {
    grid-row: 3;
}

.q3-post-related-pages a {
    display: block;
    text-decoration: none;
    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text);
}

.q3-post-related-pages a:hover {
    text-decoration: underline;
}

.q3-post-media-track.is-gallery {
    display: block;
}

.q3-post-media-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.q3-post-gallery-item {
    width: calc((100% - 12px) / 3);
    height: 62px;
    overflow: hidden;
}

.q3-post-gallery-item figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.q3-post-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.q3-post-text-flow {
    width: 500px;
    flex: 0 0 500px;
    padding-left: 40px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
	box-sizing: border-box;
	
	text-align: justify;
	hyphens: auto;
}

.q3-post-text-flow p,
.q3-post-media-item figure {
    margin: 0;
}

.q3-post-text-flow p + p {
    margin-top: 20px;
}

.q3-post-text-flow a {
    color: #2f2f2f;
    text-decoration: none;
    font-weight: 700;
}

.q3-post-text-flow a:hover {
    text-decoration: underline;
}

.q3-post-media-item {
    width: 200px;
    height: 125px;
    overflow: hidden;
    position: relative;
}

.q3-post-image-button {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.q3-post-image-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

.q3-post-image-button:hover img {
    filter: grayscale(0%);
}

.q3-post-text-block:first-child {
    margin-top: 0;
}

.q3-post-text-block:first-child h1,
.q3-post-text-block:first-child h2,
.q3-post-text-block:first-child h3,
.q3-post-text-block:first-child h4 {
    margin-top: 0;
	margin-bottom: 0px;
}

.q3-post-text-block:first-child h1:first-child,
.q3-post-text-block:first-child h2:first-child,
.q3-post-text-block:first-child h3:first-child,
.q3-post-text-block:first-child h4:first-child {
    transform: translateY(-10px);
}

.q3-post-text-flow.is-faded::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,1) 100%
    );

    pointer-events: none;
}

/* =========================================================
   POST – LIGHTBOX
   ========================================================= */

.q3-post-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    z-index: 9999;
}

.q3-post-lightbox.is-open {
    display: flex;
}

.q3-post-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.q3-post-lightbox-close {
    position: fixed;
    top: 30px;
    right: 30px;
    border: 0;
    background: transparent;
    font-size: 40px;
    cursor: pointer;
}

/* =========================================================
   POST – READ OVERLAY
   ========================================================= */

.q3-post-text-flow {
    max-height: 920px;
    overflow: hidden;
    position: relative;
}

.q3-post-readmore {
	position: absolute;
	left: 40px;
	bottom: 0;

    display: inline-block;

    z-index: 5;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 800;
    line-height: 1;
    color: var(--color-text);

    background: none;
    cursor: pointer;
}

.q3-post-read-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: flex-start;
    background: rgba(255,255,255,0.96);
    z-index: 9999;
    overflow-y: auto;
}

.q3-post-content-col {
    position: relative;
}

.q3-post-read-overlay.is-open {
    display: flex;
}

.q3-post-read-close {
    position: fixed;
    top: 30px;
    right: 30px;
    border: 0;
    background: transparent;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.q3-post-read-content {
    width: 700px;
    margin-top: 80px;
    margin-bottom: 80px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);

    text-align: justify;
    hyphens: auto;
}

.q3-post-read-content img {
    display: block;
    max-width: 100%;
    max-height: 520px;
    width: auto !important;
    height: auto !important;
    margin: 24px 0;
    object-fit: contain;
}

.q3-post-read-content p {
    margin: 0;
}

.q3-post-read-content p + p {
    margin-top: 20px;
}

.q3-post-read-content a {
    color: #2f2f2f;
    font-weight: 700;
    text-decoration: none;
}

.q3-post-read-content a:hover {
    text-decoration: underline;
}

.q3-post-read-content .wp-block-columns {
    display: flex;
    gap: 24px;
    margin: 24px 0;
    align-items: flex-start;
}

.q3-post-read-content .wp-block-column {
    padding: 0;
}

.q3-post-read-content .wp-block-column > *:first-child {
    margin-top: 0;
}

.q3-post-read-content .wp-block-column > *:last-child {
    margin-bottom: 0;
}

.q3-post-read-content .wp-block-columns img {
    margin: 0;
}


.q3-post-image-description {
    margin-top: -16px;
    margin-bottom: 24px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
    opacity: 0.6;
}

/* =========================================================
   PAGE – BASIS
   ========================================================= */

.q3-page {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 300px);
}

.q3-page-inner {
    width: 700px;
    box-sizing: border-box;
    padding: 80px 0;

    height: calc(100vh - 300px);
    overflow-y: auto;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-medium);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);

    text-align: justify;
    hyphens: auto;
}

.q3-page-inner p {
    margin: 0;
}

.q3-page-inner p + p {
    margin-top: 20px;
}

.q3-page-inner a {
    color: #2f2f2f;
    font-weight: 700;
    text-decoration: none;
}

.q3-page-inner a:hover {
    text-decoration: underline;
}

.q3-page-inner img {
    display: block;
    max-width: 100%;
    max-height: 520px;
    width: auto !important;
    height: auto !important;
    margin: 24px 0;
    object-fit: contain;
}

.q3-page-inner {
    scrollbar-width: none;
}

.q3-page-inner::-webkit-scrollbar {
    display: none;
}

.q3-page-image-description {
    margin-top: -16px;
    margin-bottom: 24px;

    font-family: 'TASA Orbiter';
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.35;
    color: var(--color-text);
    opacity: 0.6;
}

.q3-page-inner blockquote {
    margin: 24px 0;
    font-style: italic;
    opacity: 0.8;
}

.q3-post-mobile-content {
    display: none;
}

/* -------------------------
   EVENT DEBUG
   ------------------------- */
/*
.q3-event-row {
    outline: 3px solid red;
}

.q3-event-col-left {
    outline: 3px solid blue;
}

.q3-event-col-right {
    outline: 3px solid green;
}

.q3-event-info-top {
    outline: 2px solid orange;
}

.q3-event-info-bottom {
    outline: 2px solid magenta;
}

.q3-event-poster-area {
    outline: 2px solid cyan;
}

.q3-event-related {
    outline: 2px solid purple;
}

.q3-event-gallery {
    outline: 2px solid brown;
}
*/