/*  =========================================================================
    Consultant Profile Section
    ========================================================================= */
.wr-main-section, .wr-searchresult-section {
    padding: 0px 0 !important;
    /* background-color: #f2f2f2; */
    background: #ffffff !important;
}

/* 1. CLEANUP */
.wr-asideholder.wr-freelancer-profile-three, .wt-title, .wr-showmore-button, .wr-blog-tags { display: none !important; }
.wr-description-area { max-height: none !important; overflow: visible !important; min-height: auto !important; }

/* 2. THE PREMIUM WRAPPER */
#premium-profile-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

/* 3. LANDSCAPE BANNER - 500px */
.premium-banner {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    background: #111;
}

.premium-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* 4. CONTENT GRID */
.premium-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    padding: 60px 40px;
}

.consultant-identity { margin-bottom: 40px; position: absolute; margin-top: -170px; z-index: 2;}
.consultant-identity h5 {
    color: #c9a55c;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

.consultant-identity h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1.5px;
}
.consultant-identity h1 i { color: #3b82f6; font-size: 0.5em; margin-left: 10px; }

/* image overlay for text */
/* The Transparent Shadow Overlay */
.premium-banner::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* Adjust height to control how far up the shadow goes */
    height: 40%; 
    /* Gradient from totally transparent to 70% black */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.789) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none; /* Allows clicks to pass through to links/buttons */
    z-index: 1;
}

/* Ensure your text stays above the shadow */
.premium-banner .your-text-container {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2; /* Higher than the shadow's z-index */
    color: #ffffff;
}/*end*/

/* Bio Section */
.bio-section h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #111; }
.bio-text { font-size: 17px; line-height: 1.8; color: #333; margin-bottom: 40px; }

/* Skills & Industry Sections */
.tax-section { margin-top: 35px; }
.tax-section h4 { 
    font-size: 14px; 
    text-transform: uppercase; 
    color: #111; 
    letter-spacing: 1px; 
    margin-bottom: 15px; 
    font-weight: 700;
}

.badge-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.premium-badge { 
    background: #f1f3f5; 
    border: 1px solid #e9ecef; 
    padding: 6px 14px; 
    border-radius: 4px; 
    font-size: 13px; 
    color: #444; 
    font-weight: 500;
}

/* 5. SIDEBAR / ACTION CARD */
.action-card-sticky {
    position: sticky;
    top: 40px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.rate-display { font-size: 30px; font-weight: 800; color: #111; margin-bottom: 25px; display: block; }

.elite-btn {
    width: 100%;
    padding: 18px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    text-align: center;
    border: none;
    margin-bottom: 15px;
}

.btn-outline { background: #fff; border: 2px solid #1a1a1a; color: #1a1a1a !important; }


.sidebar-meta { margin-top: 30px; border-top: 1px solid #eee; padding-top: 25px; }
.meta-row { margin-bottom: 20px; }
.meta-row label { color: #999; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 4px;}
.meta-row span { color: #111; font-weight: 600; font-size: 15px; }

@media (max-width: 1024px) {
    .premium-content-grid { grid-template-columns: 1fr; padding: 40px 20px; }
    .action-card-sticky { position: relative; top: 0; }
    .premium-banner { height: 400px; }
}


/* ==========================================================================
   WORKREAP PREMIUM OVERHAUL - ELITE EDITION
   ========================================================================== */

/* Education and Experience Sections */ /*Consultant profile section is in the last */

/* 1. SECTION CARD - Adding soft depth and cleaner spacing */
.wr-asidebox,
.wr-asidebox-content {
    padding: 5px 45px !important;
    background: #ffffff;
    border-radius: 12px;
    border: 0px !important /*1px solid #f0f0f0 !important*/;
    box-shadow: 0 /*0 10px 30px rgba(0, 0, 0, 0.03)*/;
    margin-bottom: 40px;
}

/* 2. THE TIMELINE - Refined thin line with gradient fade */
.wr-themeaccordion {
    position: relative;
    padding: 20px 0 !important;
    margin: 0;
    list-style: none;
}

.wr-themeaccordion::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3863a0 0%, #e0e0e0 20%, #e0e0e0 90%, transparent 100%);
}

/* 3. ITEM WRAPPER */
.wr-themeaccordion_item {
    position: relative;
    padding-left: 45px !important;
    margin-bottom: 25px !important;
    display: block !important;
    width: 100% !important;
    transition: all 0.3s ease;
}

.wr-themeaccordion_item:last-child {
    margin-bottom: 0 !important;
}

/* 4. CONTENT BOX - Modern glass/border hybrid */
.wr-themeaccordion_content {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 25px 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.wr-themeaccordion_item:hover .wr-themeaccordion_content {
    border-color: #3863a0;
    transform: translateX(5px);
    background: #fff;
}

/* 5. TIMELINE NODE - Custom "Pulsing" look */
.wr-themeaccordion_item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 28px; /* Aligned to the center of the heading */
    width: 14px;
    height: 14px;
    background: #3863a0;
    border: 3px solid #fff;
    border-radius: 50% !important;
    box-shadow: 0 0 0 2px #3863a0;
    z-index: 2;
}

/* 6. TYPOGRAPHY - High Contrast */
.wr-themeaccordion_content h6 {
    font-size: 20px;
    color: #111;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

/* 7. META INFO - Better spacing and color balance */
.wt-field-options {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 18px;
    padding: 0;
    list-style: none;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.wt-field-options li {
    font-size: 13px;
    color: #777;
    font-weight: 500;
    text-transform: capitalize;
}

.wt-field-options li i {
    color: #3863a0;
    margin-right: 6px;
    font-size: 15px;
    opacity: 0.9;
}

/* 8. DESCRIPTION */
.wr-description-container p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.wr-themeaccordion .wr-full-description {
    display: inline !important;
    color: #555;
}

/* 9. UTILITY: REMOVE CLUTTER */
.wr-read-more-link, .wr-showmore-button, .wr-showmore-li {
    display: none !important;
}

/* ==========================================================================
   MOBILE OPTIMIZATION
   ========================================================================== */
@media (max-width: 768px) {
    .wr-asidebox, .wr-asidebox-content {
        padding: 30px 20px !important;
    }
   
    .wr-themeaccordion_content {
        padding: 20px;
    }
   
    .wt-field-options {
        gap: 10px;
    }
}

