.fixpoint-gallery-teaser {
    position: relative;
    overflow: hidden;
    padding: 54px 0;
    background: #000;
}

.fixpoint-gallery-teaser::before {
    display: none;
}

.fixpoint-gallery-teaser-inner {
    position: relative;
    z-index: 1;
}

.fixpoint-gallery-teaser-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 22px;
}

.fixpoint-gallery-teaser-kicker {
    margin: 0 0 8px;
    color: #ff8c00;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.fixpoint-gallery-teaser-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.fixpoint-gallery-teaser-heading h2 strong {
    color: #ff8c00;
    font-weight: 650;
}

.fixpoint-gallery-teaser-heading p:not(.fixpoint-gallery-teaser-kicker) {
    max-width: 720px;
    margin: 10px 0 0;
    color: #a9a9a9;
    font-size: 14px;
    line-height: 1.65;
}

.fixpoint-gallery-teaser-action {
    flex: 0 0 auto;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid rgba(255, 140, 0, 0.45);
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.84);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.fixpoint-gallery-teaser-action:hover,
.fixpoint-gallery-teaser-action:focus-visible {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.08);
    transform: translateY(-2px);
}

.fixpoint-gallery-teaser-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    gap: 14px;
}

.fixpoint-gallery-teaser-card {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    background: #101010;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
    transition: border-color 180ms ease, transform 180ms ease;
}

.fixpoint-gallery-teaser-card--featured {
    min-height: 340px;
}

.fixpoint-gallery-teaser-card:hover,
.fixpoint-gallery-teaser-card:focus-visible {
    border-color: rgba(255, 140, 0, 0.6);
    transform: translateY(-2px);
}

.fixpoint-gallery-teaser-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
}

.fixpoint-gallery-teaser-card:hover img,
.fixpoint-gallery-teaser-card:focus-visible img {
    transform: scale(1.025);
}

.fixpoint-gallery-teaser-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.92) 100%);
}

.fixpoint-gallery-teaser-card-copy {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 18px;
    bottom: 16px;
}

.fixpoint-gallery-teaser-card-copy strong,
.fixpoint-gallery-teaser-card-copy small {
    display: block;
}

.fixpoint-gallery-teaser-card-copy strong {
    color: #fff;
    font-size: 15px;
}

.fixpoint-gallery-teaser-card-copy small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    color: #b2b2b2;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 900px) {
    .fixpoint-gallery-teaser-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fixpoint-gallery-teaser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fixpoint-gallery-teaser-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 620px) {
    .fixpoint-gallery-teaser {
        padding: 42px 0;
    }

    .fixpoint-gallery-teaser-grid {
        grid-template-columns: 1fr;
    }

    .fixpoint-gallery-teaser-card,
    .fixpoint-gallery-teaser-card--featured {
        grid-column: auto;
        min-height: 250px;
    }

    .fixpoint-gallery-teaser-action {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fixpoint-gallery-teaser-card,
    .fixpoint-gallery-teaser-card img,
    .fixpoint-gallery-teaser-action {
        transition: none !important;
    }

    .fixpoint-gallery-teaser-card:hover,
    .fixpoint-gallery-teaser-card:focus-visible,
    .fixpoint-gallery-teaser-action:hover,
    .fixpoint-gallery-teaser-action:focus-visible {
        transform: none;
    }
}
