/* GO-FINDYOU Public Catalog 6.1
   Praktische Verzeichnis-Seitenleiste nach Referenz
*/

.gfy-pc61-sidebar {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.gfy-pc61-card {
    overflow: hidden;
    border: 1px solid #e2eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(23, 52, 87, .07);
}

.gfy-pc61-card__body {
    padding: 16px;
}

.gfy-pc61-card h3 {
    margin: 0 0 13px;
    color: #142945;
    font-size: .96rem;
    line-height: 1.25;
}

.gfy-pc61-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.gfy-pc61-button {
    display: inline-flex;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dfe8f2;
    border-radius: 9px;
    color: #0868db;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.gfy-pc61-button:hover {
    border-color: #b8d2f3;
    background: #f5f9ff;
}

.gfy-pc61-button--primary {
    grid-column: 1 / -1;
    color: #fff;
    border-color: #086de2;
    background: linear-gradient(135deg, #1479f4, #0865d7);
    box-shadow: 0 10px 22px rgba(18, 104, 222, .22);
}

.gfy-pc61-button--primary:hover {
    color: #fff;
    border-color: #075fca;
    background: linear-gradient(135deg, #0e70e9, #075ac4);
}

.gfy-pc61-contact {
    display: grid;
    gap: 11px;
}

.gfy-pc61-contact__row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    color: #40546d;
    font-size: .8rem;
    line-height: 1.45;
}

.gfy-pc61-contact__row > span:first-child {
    color: #086de2;
    font-weight: 900;
    text-align: center;
}

.gfy-pc61-contact__row a {
    color: #0868db;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.gfy-pc61-contact__row a:hover {
    text-decoration: underline;
}

.gfy-pc61-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    color: #15824d;
    font-size: .77rem;
    font-weight: 850;
}

.gfy-pc61-status::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #20b86a;
    content: "";
}

.gfy-pc61-note {
    margin: 0 0 13px;
    color: #64758b;
    font-size: .78rem;
    line-height: 1.5;
}

.gfy-pc61-secondary-link {
    display: flex;
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid #c9ddf6;
    border-radius: 8px;
    color: #0868db;
    background: #fff;
    font-size: .77rem;
    font-weight: 850;
    text-align: center;
    text-decoration: none;
}

.gfy-pc61-secondary-link:hover {
    background: #f5f9ff;
}

/* Bestehendes Live-Cockpit bleibt unter der neuen Funktionsleiste sichtbar. */
body:has([data-entry-screenshot-open]) aside {
    align-self: start;
}

/* Auf kleineren Ansichten oberhalb des Cockpits, aber unter dem Hauptinhalt. */
@media (max-width: 1050px) {
    .gfy-pc61-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gfy-pc61-card:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .gfy-pc61-sidebar {
        grid-template-columns: 1fr;
    }

    .gfy-pc61-card:first-child {
        grid-column: auto;
    }
}
