/*
 * RESZ Ref Remote CSS
 * Version: 1.4
 *
 * Kompatibilis verzió:
 * - nincs CSS grid
 * - nincs grid-template-columns
 * - nincs 1fr
 * - nincs object-fit
 * - nincs flex gap
 */

.resz-remote-ref-block {
    margin: 34px 0;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.resz-remote-ref-title {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.resz-remote-ref-subtitle {
    margin: 26px 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
}

.resz-remote-ref-grid {
    margin: 18px -1% 0 -1%;
    font-size: 0;
}

.resz-remote-ref-card {
    display: inline-block;
    width: 48%;
    margin: 0 1% 20px 1%;
    overflow: hidden;
    vertical-align: top;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    font-size: 16px;
}

.resz-remote-ref-image {
    display: block;
    width: 100%;
    height: auto;
    background: #f3f4f6;
}

.resz-remote-ref-card-body {
    padding: 16px 17px 18px;
}

.resz-remote-ref-card-title {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
}

.resz-remote-ref-meta {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.35;
    color: #111827;
    font-weight: 700;
}

.resz-remote-ref-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #344054;
}

.rs-badge {
    position: relative;
    margin: 22px 0 0;
    padding: 22px 22px 20px 74px;
    border: 2px solid #0B5FFF;
    border-radius: 16px;
    background: #f7fbff;
    box-shadow: 0 6px 18px rgba(11, 95, 255, 0.10);
    color: #111827;
}

.rs-badge-mark {
    position: absolute;
    left: 20px;
    top: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0B5FFF;
    color: #ffffff;
    font-size: 30px;
    line-height: 42px;
    font-weight: 800;
    text-align: center;
}

.rs-badge-content {
    margin: 0;
}

.rs-badge-label {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0B5FFF;
}

.rs-badge-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    color: #111827;
}

.rs-badge-text {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
}

.rs-badge-tags {
    margin: 12px 0 16px;
}

.rs-badge-tag {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 7px 12px;
    border: 1px solid #bfd4ff;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.rs-badge-actions {
    margin: 8px 0 0;
}

.rs-badge-cta {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 13px 18px;
    border: 2px solid #0B5FFF;
    border-radius: 8px;
    background: #0B5FFF;
    color: #ffffff !important;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none !important;
}

.rs-badge-cta:hover {
    text-decoration: none !important;
    opacity: 0.92;
}

.rs-badge-cta-secondary {
    background: #ffffff;
    color: #0B5FFF !important;
}

@media (max-width: 700px) {
    .resz-remote-ref-block {
        margin: 28px 0;
        padding: 16px;
        border-radius: 16px;
    }

    .resz-remote-ref-title {
        font-size: 23px;
        margin-bottom: 14px;
    }

    .resz-remote-ref-subtitle {
        margin: 22px 0 12px;
        font-size: 20px;
    }

    .resz-remote-ref-grid {
        margin: 14px 0 0 0;
        font-size: 16px;
    }

    .resz-remote-ref-card {
        display: block;
        width: 100%;
        margin: 0 0 18px 0;
    }

    .resz-remote-ref-image {
        height: auto;
        max-height: none;
    }

    .resz-remote-ref-card-title {
        font-size: 19px;
    }

    .rs-badge {
        padding: 18px 16px 16px 16px;
        border-radius: 15px;
    }

    .rs-badge-mark {
        position: static;
        display: block;
        margin: 0 0 12px;
    }

    .rs-badge-title {
        font-size: 20px;
    }

    .rs-badge-cta {
        display: block;
        margin: 0 0 10px 0;
        text-align: center;
    }
}