/* ==========================================================================
   Brochure Showcase Block
   BEM: .brochure-showcase
   ========================================================================== */

.brochure-showcase {
    background-color: #F0B323;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.brochure-showcase .container {
    max-width: 1400px;
}

.brochure-showcase__watermark {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

.brochure-showcase__inner {
    position: relative;
    max-width: 1148px;
    width: 100%;
    margin: 0 auto;
    padding: 0 8rem 0 0;
    /* padding: 0 40px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 3;
}

/* ---- Decorative border ---- */

.brochure-showcase__border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.brochure-showcase__border::before,
.brochure-showcase__border::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    box-sizing: border-box;

    --b: 1px;   /* thickness of the border */
    --c: #000;   /* color of the border */
    --w: 10px;  /* width of border */

    border: var(--b) solid #0000; /* space for the border */
    --_g: #0000 90deg,var(--c) 0;
    --_p: var(--w) var(--w) border-box no-repeat;
    background:
        conic-gradient(from 90deg  at top    var(--b) left  var(--b),var(--_g)) 0    0    / var(--_p),
        conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g)) 100% 0    / var(--_p),
        conic-gradient(from 0deg   at bottom var(--b) left  var(--b),var(--_g)) 0    100% / var(--_p),
        conic-gradient(from -90deg at bottom var(--b) right var(--b),var(--_g)) 100% 100% / var(--_p);
}

.brochure-showcase__border::before {
    top: 1px;
}

.brochure-showcase__border::after {
    bottom: 0;
}

/* ---- Content (left) ---- */

.brochure-showcase__content {
    flex: 0 0 auto;
    max-width: 500px;
}

.brochure-showcase__content h1 span,
.brochure-showcase__content h2 span
{
	font-family: 'Diagramm';
}

.brochure-showcase__text > * {
    line-height: 1.6;
}

.brochure-showcase__buttons {
    display: flex;
    align-items: start;
    gap: 1rem;
    flex-wrap: wrap;

}

.brochure-showcase__buttons .read-more:nth-child(even) {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #f2bb39;
    color: #FFF;
}

.brochure-showcase__buttons .read-more:nth-child(even):hover {
    background-color: #000;
    border: 1px solid transparent;
}

.brochure-showcase__visual {
    position: relative;
}

.brochure-showcase__image {
    position: relative;
    z-index: 1;
    max-height: 300px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
    transform: scale(1.166);
}

/* ---- Responsive ---- */
@media (max-width: 1300px) {
    .brochure-showcase__inner {
        padding: 0 4rem 0 2rem;
    }
}

@media (max-width: 767px) {
    .brochure-showcase__inner {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem;
    }

    .brochure-showcase__content {
        max-width: 100%;
    }

    .brochure-showcase__visual {
        width: 100%;
    }

    .brochure-showcase__image {
        transform: none;
        max-height: 100%;
        width: 100%;
        max-width: 100%;
    }
}