
/* =========================================
   ERUSSIANBRIDES — PROFILE CATALOG
   ========================================= */

/* Catalog wrapper */
.DataDiv {
    width: 100%;
    max-width: 100%;
    margin: 20px 0 30px;
    box-sizing: border-box;
}

.DataDiv,
.DataDiv * {
    box-sizing: border-box;
}

/* Profile card */
.erb-profile-card {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(20, 35, 55, 0.05);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.erb-profile-card:hover {
    border-color: #d5dce5;
    box-shadow: 0 6px 20px rgba(20, 35, 55, 0.09);
}

/* Profile heading */
.erb-profile-card-heading {
    margin: 0 0 14px;
    padding: 0 0 11px;
    border-bottom: 1px solid #edf0f3;
}

.erb-profile-card-heading h2 {
    margin: 0;
    padding: 0;
    color: #252b35;
    font-size: 19px;
    line-height: 1.4;
    font-weight: 700;
}

.erb-profile-card-heading h2 a {
    color: inherit;
    text-decoration: none;
}

/* Main card layout */
.erb-profile-card-body {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

/* Photo */
.erb-profile-card-photo {
    display: block;
    width: 130px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.erb-profile-card-photo .thumb_search {
    display: block;
    width: 126px;
    max-width: 100%;
    margin: 0 auto;
    border: 0;
}

.erb-profile-card-photo .thumb_search td {
    padding: 0;
    text-align: center;
}

.erb-profile-card-photo .thumb_search div {
    width: 100% !important;
    overflow: hidden;
    border-radius: 9px;
}

.erb-profile-card-photo .thumb_search img {
    display: block;
    width: 100%;
    max-width: 126px;
    height: auto;
    margin: 0 auto;
    border: 0;
    border-radius: 9px;
    object-fit: cover;
}

/* Profile information */
.erb-profile-card-content {
    min-width: 0;
    color: #454d59;
    font-size: 14px;
    line-height: 1.65;
}

.erb-profile-card-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    color: #252b35;
    font-size: 17px;
}

.erb-profile-card-identity b {
    font-weight: 700;
}

.erb-profile-card-intro {
    margin: 0 0 15px;
    color: #596270;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.erb-profile-card-intro a {
    color: #d94355;
    font-weight: 600;
    text-decoration: none;
}

.erb-profile-card-intro a:hover {
    color: #ae2638;
    text-decoration: underline;
}

/* Actions and online status */
.erb-profile-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    margin: 10px 0 12px;
}

/* Forms */
.erb-profile-card-form {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

.erb-profile-card-form input[type="image"] {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
}

/* Online/offline images */
.erb-profile-card-actions img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Additional status elements */
.erb-profile-card-actions a {
    text-decoration: none;
}

/* Facebook/social block */
.erb-profile-card-social {
    max-width: 100%;
    margin: 8px 0 0;
    overflow: hidden;
}

.erb-profile-card-social iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

/* Catalog navigation */
.DataDiv > table {
    width: 100%;
    max-width: 100%;
}

.DataDiv > table td {
    max-width: 100%;
}

.DataDiv a {
    overflow-wrap: anywhere;
}

/* Broadcast */
.BroadcastDiv {
    margin-top: 18px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 650px) {
    .erb-profile-card {
        margin-bottom: 15px;
        padding: 13px;
        border-radius: 10px;
    }

    .erb-profile-card-heading {
        margin-bottom: 12px;
    }

    .erb-profile-card-heading h2 {
        font-size: 17px;
    }

    .erb-profile-card-body {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 13px;
    }

    .erb-profile-card-photo {
        width: 105px;
    }

    .erb-profile-card-photo .thumb_search {
        width: 105px;
    }

    .erb-profile-card-photo .thumb_search img {
        width: 100%;
        max-width: 105px;
    }

    .erb-profile-card-identity {
        font-size: 15px;
    }

    .erb-profile-card-intro,
    .erb-profile-card-content {
        font-size: 13px;
    }

    .erb-profile-card-actions {
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .erb-profile-card {
        padding: 10px;
    }

    .erb-profile-card-body {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 10px;
    }

    .erb-profile-card-photo {
        width: 90px;
    }

    .erb-profile-card-photo .thumb_search {
        width: 90px;
    }

    .erb-profile-card-photo .thumb_search img {
        max-width: 90px;
    }

    .erb-profile-card-heading h2 {
        font-size: 16px;
    }
}
