/* Gedenkportal: Suche und Karten im Design der Website, Werte wie Kontaktformular und Buttons. */
.hb-gp-suche {
    max-width: 640px;
    margin-top: 12px;
}

.hb-gp-titel {
    display: block;
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 500;
    color: #282727;
}

.hb-gp-feld {
    position: relative;
}

.hb-gp-suche input.hb-gp-eingabe:not([type="button"]):not([type="submit"]) {
    width: 100%;
    height: 66px;
    padding: 0 30px;
    border: 0;
    border-radius: 30px;
    background: #eee;
    font-family: inherit;
    font-size: 18px;
    color: #282727;
}

.hb-gp-suche--hell input.hb-gp-eingabe:not([type="button"]):not([type="submit"]) {
    background: #fff;
}

.hb-gp-suche input.hb-gp-eingabe:not([type="button"]):not([type="submit"]):focus,
.hb-gp-suche .hb-gp-knopf:focus-visible,
.hb-gp-karten a.hb-gp-karte:focus-visible {
    outline: 2px solid #e5a22a;
    outline-offset: 2px;
}

.hb-gp-liste {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 280px;
    margin: 0;
    padding: 8px;
    overflow: auto;
    list-style: none;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.hb-gp-liste li {
    padding: 12px 22px;
    border-radius: 16px;
    font-size: 18px;
    color: #282727;
    cursor: pointer;
}

.hb-gp-liste li:hover,
.hb-gp-liste li[aria-selected="true"] {
    background: #fffbdc;
}

.hb-gp-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.hb-gp-suche .hb-gp-knopf {
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid #fbbc43;
    border-radius: 100px;
    background: #fbbc43;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.hb-gp-suche .hb-gp-knopf:hover {
    border-color: #e5a22a;
    background: #e5a22a;
    color: #fff;
}

.hb-gp-suche .hb-gp-knopf--rand {
    border-color: #e5a22a;
    background: transparent;
    color: #e5a22a;
}

.hb-gp-hinweis {
    margin: 12px 0 0;
    font-size: 16px;
    color: #282727;
}

.hb-gp-hinweis:empty {
    display: none;
}

.hb-gp-karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 273px));
    justify-content: center;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.hb-gp-karten a.hb-gp-karte {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 16px;
    border-radius: 40px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    color: #000;
    text-decoration: none;
}

.hb-gp-karten a.hb-gp-karte:hover {
    color: #000;
}

.hb-gp-karten a.hb-gp-karte img {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.hb-gp-karten .hb-gp-karte-name {
    font-size: 24px;
    line-height: 1.2;
    color: #000;
}

.hb-gp-karten .hb-gp-karte-datum {
    margin-top: 8px;
    font-size: 16px;
    color: #282727;
}

.hb-gp-icon {
    display: block;
    width: 1em;
    height: 1em;
    background: #fbbc43;
    -webkit-mask: var(--hb-gp-icon) center / contain no-repeat;
    mask: var(--hb-gp-icon) center / contain no-repeat;
}

@media (max-width: 767px) {
    .hb-gp-suche .hb-gp-knopf {
        flex: 1 1 100%;
        text-align: center;
    }
}
