/* GeneratePress-Container */

body.single-projekt #page {
    max-width: none;
    background: #fff;
}

body.single-projekt #page .site-content {
    display: block;
    padding: 0;
}

body.single-projekt #primary {
    width: 100%;
    margin: 0;
}

body.single-projekt #main {
    margin: 0;
}

.axmd-project {
    margin: 0;
}


/* Individueller Einstieg */

.axmd-project__intro {
    padding: 34px var(--axmd-page-padding) 46px;
}

.axmd-project__description {
    max-width: 895px;
    color: var(--color-text-70);
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.5;
}

.axmd-project__description p {
    margin: 0 0 1em;
}

.axmd-project__description p:last-child {
    margin-bottom: 0;
}


/* Projektangaben */

.axmd-project__facts {
    display: grid;
    gap: 16px;
    margin: 62px 0 0;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 2px;
    color: var(--color-text-80);
}

.axmd-project__fact {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
}

.axmd-project__fact dt {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
}

.axmd-project__fact dd {
    margin: 0;
    overflow-wrap: anywhere;
}


/* Einstiegsbild */

.axmd-project__image {
    position: relative;
    width: 100%;
    height: min(43.386vw, 656px);
    overflow: hidden;
}

.axmd-project__image img.axmd-project__image-element {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
}


/* Kategorie und Überschrift */

.axmd-project__heading {
    padding-block: clamp(68px, 6.614vw, 100px) 30px;
}

.axmd-project__category {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.axmd-project__title {
    width: 60%;
    margin: 0;
    font-size: clamp(26px, 2.2vw, 30px);
    font-weight: 400;
    line-height: 1.5;
}

.axmd-project__title-highlight {
    color: var(--color-orange);
}

.axmd-project__title-continuation {
    color: var(--color-text);
}


/* Gutenberg-Inhalt */

.axmd-project__content {
    padding-bottom: 80px;
}


/* Kleinere Bildschirme */

@media (max-width: 768px) {
    .axmd-project__title {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .axmd-project__facts {
        margin-top: 36px;
        font-size: 14px;
    }

    .axmd-project__fact {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 16px;
    }
}