/* ==========================================================
   MEMBER PROFILE
========================================================== */

.cp-member-profile {
    background: #f4f6f8;
}

.profile-hero {
    background: #0A2C57;
    padding: 60px 20px;
}

.profile-body-section {
    background: #f2f4f7;
    padding: 50px 20px;
}

.profile-hero-inner,
.profile-body-inner {
    max-width: 860px;
    margin: 0 auto;
}

/* ==========================================================
   HERO LAYOUT
========================================================== */

.profile-hero-top {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: center;
}

.profile-hero-info {
    min-width: 0;
}

.profile-accent-badge {
    text-align: center;
    width: 220px;
}

.profile-accent-badge img {
    width: 180px;
    height: auto;
    display: inline-block;
}

.page-hero-breadcrumb {
    margin: 0 0 30px;
}

.page-hero-breadcrumb a {
    color: #BFD4EC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover {
    color: #ffffff;
}

/* ==========================================================
   HERO TYPOGRAPHY
========================================================== */

h1.profile-business {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff !important;
}

.profile-name {
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,.82);
}

.profile-badge-row {
    margin: 18px 0 14px;
}

.result-tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .3px;
}

.result-tag--gold {
    background: #c8960c;
    color: #fff;
}

/* ==========================================================
   HERO META
========================================================== */

.profile-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
}

.profile-meta-dot {
    color: rgba(255,255,255,0.4);
}

/* ==========================================================
   NOT-CERTIFIED WARNING BANNER
========================================================== */

.profile-not-certified-banner {
    background: #fffbf0;
    border-top: 3px solid #c8960c;
    border-bottom: 1px solid #f0e0a0;
    padding: 20px;
}

.profile-not-certified-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.profile-not-certified-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.profile-not-certified-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #c8960c;
}

.profile-not-certified-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #5a3e00;
    margin-bottom: 4px;
}

.profile-not-certified-text p {
    margin: 0;
    font-size: 14px;
    color: #7a5800;
    line-height: 1.5;
}

.profile-find-certified-btn {
    font-size: 14px;
    padding: 10px 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.profile-not-certified-cta{background:#ff1f1f;color:#fff !important;padding:10px 20px;font-weight: bold;font-size: 14px;border-radius:4px; }

/* ==========================================================
   BODY LAYOUT — main + sidebar
========================================================== */

.profile-body-inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 28px;
    align-items: flex-start;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* ==========================================================
   CARDS
========================================================== */

.profile-card {
    background: #fff;
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.profile-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #002751;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf0f4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-lock-icon {
    font-size: 14px;
    opacity: 0.6;
}

.profile-card-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-about-text {
    font-size: 15px;
    color: #333;
    line-height: 1.75;
    margin: 0;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #1462b5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.profile-link:hover {
    color: #002751;
    text-decoration: underline;
}

/* ==========================================================
   BLURRED CONTENT
========================================================== */

.profile-blurred-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.profile-blurred-content {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.profile-blurred-text p {
    font-size: 15px;
    color: #333;
    line-height: 1.75;
    margin: 0 0 12px;
}

.profile-blurred-text p:last-child {
    margin-bottom: 0;
}

.profile-blurred-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.profile-blurred-photo-placeholder {
    background: linear-gradient(135deg, #c5ccd8 0%, #a0aaba 100%);
    border-radius: 4px;
    aspect-ratio: 4/3;
}

.profile-blurred-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.45);
}

.profile-unlock-btn {
    font-size: 17px;
    padding:10px 36px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    background:#ff1f1f;color:#fff !important;font-weight:bold;
    border-radius:4px;
}
.profile-unlock-btn:hover{background: #D91A1A;}

/* ==========================================================
   SPECIALTIES TAGS
========================================================== */

.profile-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-tag {
    display: inline-block;
    background: #edf2f9;
    color: #002751;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 3px;
}

/* ==========================================================
   SERVICE AREA
========================================================== */

.profile-service-area {
    font-size: 15px;
    color: #444;
    margin: 0;
}

/* ==========================================================
   SAMPLE PHOTOS
========================================================== */

.profile-sample-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.profile-photo-link {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.profile-photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.profile-photo-link:hover img {
    transform: scale(1.04);
}

.profile-photo-placeholder {
    background: #e8edf3;
    border-radius: 4px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #aaa;
}

/* ==========================================================
   LICENSE CARD
========================================================== */

.profile-license-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-license-file {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-license-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.profile-license-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-license-info strong {
    font-size: 14px;
    color: #222;
}

.profile-license-link {
    font-size: 13px;
    color: #1462b5;
    font-weight: 600;
    text-decoration: none;
}

.profile-license-link:hover {
    text-decoration: underline;
}

/* ==========================================================
   SIDEBAR
========================================================== */

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.profile-sidebar-card {
    background: #fff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Logo */
.profile-logo {
    margin-bottom: 4px;
}

.profile-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.profile-logo-placeholder {
    width: 80px;
    height: 50px;
    background: #e8edf3;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* Sidebar text */
.profile-sidebar-business {
    font-size: 16px;
    font-weight: 700;
    color: #002751;
    margin: 0;
    line-height: 1.3;
}

.profile-sidebar-name {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.profile-sidebar-location {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.profile-sidebar-item {
    font-size: 14px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-sidebar-item a {
    color: #1462b5;
    text-decoration: none;
    font-weight: 600;
}

.profile-sidebar-item a:hover {
    text-decoration: underline;
}

.profile-sidebar-btn {
    display: block;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    font-size:16px;
    padding:12px 16px;
    background:#ff1f1f !important;
    color:#fff !important ;
    font-weight: bold;
    border-radius:4px;
}

/* ==========================================================
   BLURRED CONTACT (non-active sidebar)
========================================================== */

.profile-sidebar-contact-blurred {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.profile-blurred-contact-row {
    height: 14px;
    background: linear-gradient(90deg, #e0e5ec 0%, #c8d0db 50%, #e0e5ec 100%);
    border-radius: 3px;
    filter: blur(3px);
    width: 100%;
}

.profile-blurred-contact-row--short {
    width: 65%;
}

.profile-unlock-contact-btn {
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #002751;
    border-radius: 4px;
    color: #002751;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: 4px;
}

.profile-unlock-contact-btn:hover {
    background: #002751;
    color: #fff;
}

/* ==========================================================
   CLAIM / ARE YOU [NAME]? PANEL
========================================================== */

.profile-claim-panel {
    background: #002751 !important;
    gap: 8px !important;
}

.profile-claim-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

.profile-claim-heading {
    font-size:18px !important;
    font-weight: 700;
    color: #fff !important;
    margin: 0;
    line-height: 1.2;
}

.profile-claim-body {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    margin: 0;
}

.profile-claim-panel .profile-sidebar-btn {
    background: #ff1f1f;
    color: #fff;
    border-radius: 4px;
    padding: 11px 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.profile-claim-panel .profile-sidebar-btn:hover {
    background: #d91a1a;
    color:#fff !important;
}

.profile-claim-renew {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-align: center;
    margin: 0;
}

.profile-claim-renew a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    font-weight: 600;
}

.profile-claim-renew a:hover {
    color: #fff;
}

/* ==========================================================
   UPSELL PANEL (active only)
========================================================== */

.profile-sidebar-upsell {
    background: #f0f4fa !important;border:1px solid #c8d0db;
}

.profile-sidebar-upsell-label {
    font-size: 14px;
    font-weight: 700;
    color: #002751;
    margin: 0;
    
}

.profile-sidebar-upsell-sub {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 2px solid #002751;
    border-radius: 4px;
    color: #002751 !important;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: #002751;
    color: #fff !important;
}

/* ═══ Sidebar Social Links ═══ */
.cp-member-profile .profile-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 18px;
}

.cp-member-profile .profile-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e2e5ea;
    background: #ffffff;
    text-decoration: none;    
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cp-member-profile .profile-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cp-member-profile .profile-social-link:hover,
.cp-member-profile .profile-social-link:focus-visible {
    color: #ffffff;   
}

/* Brand colors */
.cp-member-profile .profile-social-link--facebook  { color: #1877F2; }
.cp-member-profile .profile-social-link--linkedin  { color: #0A66C2; }
.cp-member-profile .profile-social-link--instagram { color: #E4405F; }
.cp-member-profile .profile-social-link--other     { color: #4a5568; }

.cp-member-profile .profile-social-link--facebook:hover,
.cp-member-profile .profile-social-link--facebook:focus-visible {
    background: #1877F2;
    border-color: #1877F2;
}

.cp-member-profile .profile-social-link--linkedin:hover,
.cp-member-profile .profile-social-link--linkedin:focus-visible {
    background: #0A66C2;
    border-color: #0A66C2;
}

.cp-member-profile .profile-social-link--instagram:hover,
.cp-member-profile .profile-social-link--instagram:focus-visible {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    border-color: #DD2A7B;
}

.cp-member-profile .profile-social-link--other:hover,
.cp-member-profile .profile-social-link--other:focus-visible {
    background: #4a5568;
    border-color: #4a5568;
}

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

@media (max-width: 1024px) {
    .profile-body-inner {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .profile-hero {
        padding: 32px 20px 28px;
    }
    .profile-hero-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .profile-accent-badge {
        display: none;
    }
    .profile-body-section {
        padding: 32px 16px 48px;
    }
    .profile-card {
        padding: 20px;
    }
    .profile-sample-photos,
    .profile-blurred-photos {
        grid-template-columns: 1fr 1fr;
    }
    .profile-not-certified-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .profile-find-certified-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    h1.profile-business {
        font-size: 28px;
    }
}