/* =========================================================
   OKAZJE PŁOCK — V16-G
   Integracja mapy z portalem
   ========================================================= */

.opg-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid #ffd89a;
    border-radius: 11px;
    background: #fff8eb;
    color: #9f5c17;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    transition: background .18s, border-color .18s;
}

.opg-map-link:hover {
    background: #ffedce;
    border-color: #ffbd62;
    color: #8d4e0e;
}

.opg-map-link:focus-visible,
.opg-map-banner a:focus-visible {
    outline: 3px solid #ffad42;
    outline-offset: 3px;
}

.opg-profile-map {
    margin-top: 16px;
}

.opg-detail-map {
    width: 100%;
    margin-top: 12px;
}

.opg-card-map {
    margin-top: 11px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: #b66b17;
    font-size: 11px;
}

.opg-card-map:hover {
    background: transparent;
    color: #e77c32;
    text-decoration: underline;
}

.opg-listing-map {
    margin: 0 0 18px;
    display: flex;
    justify-content: flex-end;
}

.opg-map-banner {
    position: relative;
    overflow: hidden;
    padding: 36px;
    border: 1px solid #ffe3b4;
    border-radius: 23px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 194, 71, .22),
            transparent 35%
        ),
        linear-gradient(115deg, #fffaf1, #fff 70%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.opg-map-banner::after {
    content: "⌖";
    position: absolute;
    right: 22%;
    top: -70px;
    color: rgba(255, 194, 71, .12);
    font-size: 240px;
    font-weight: 900;
    pointer-events: none;
}

.opg-map-banner-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.opg-map-banner-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #d58429;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
}

.opg-map-banner h2 {
    margin: 0 0 12px;
    color: #17263c;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -.8px;
}

.opg-map-banner p {
    margin: 0;
    color: #738196;
    font-size: 14px;
    line-height: 1.75;
}

.opg-map-banner-action {
    position: relative;
    z-index: 1;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 21px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffdc7d, #ffad42);
    color: #34220d;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.opg-map-banner-action:hover {
    filter: brightness(.97);
    color: #34220d;
}

@media (max-width: 700px) {
    .opg-map-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .opg-map-banner-action {
        width: 100%;
        justify-content: center;
    }

    .opg-listing-map {
        justify-content: stretch;
    }

    .opg-listing-map .opg-map-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .opg-map-link {
        transition: none;
    }
}
