:root {
    --yc-orange: #7c3aed;
    --yc-orange-dark: #6d28d9;
    --primary-text-color: #111827;
    --secondary-text-color: #4b5563;
    --dark-grey-text: #1f2937;
    --border-color: #e5e7eb;
    --background-light: #f9fafb;
    --background-lighter: #f3f4f6;
    --black-button-bg: #111827;
    --black-button-hover-bg: #000000;
    --experience-tag-bg: #f3f4f6;

    --linkedin-blue: #0A66C2;
    --x-black: #000000;
}

/* Profile Content Container (integrated naturally, not as a card) */
.profile-single-entry {
    max-width: 860px;
    margin: 0 auto 40px auto;
    padding: 10px 0 30px 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

/* Avatar Image with subtle modern purple gradient border */
.profile-featured-image {
    width: 150px;
    height: 150px;
    max-width: 150px;
    object-fit: cover;
    border-radius: 50%;
    padding: 3.5px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    display: block;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-featured-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.32), 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Profile Name & Inline Verified Badge */
.profile-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111827;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.profile-title-text {
    display: inline;
}

.profile-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

.profile-verified-badge svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Meta Info: Batch & Socials */
.profile-meta-info {
    font-size: 0.9em;
    color: #4b5563;
    margin-top: 0;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Batch Pill Badge */
.profile-batch {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    font-size: 0.85rem;
    padding: 5px 14px;
    border-radius: 9999px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.profile-batch:hover {
    background-color: #e5e7eb;
}

.profile-batch a {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
}

.yc-logo-icon {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-right: 6px;
    border-radius: 3px;
}

/* Social Icon Buttons */
.profile-social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.profile-social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #4b5563;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.2s ease;
}

.profile-social-links .social-link:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.profile-social-links .social-link svg.social-icon-svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: currentColor;
    transition: fill 0.2s ease;
}

/* Content Container */
.profile-content {
    text-align: left;
    max-width: 740px;
    margin: 0 auto;
    padding-top: 10px;
}

.profile-seo-h2 {
    font-size: 1.35rem;
    color: #111827;
    margin-top: 32px;
    margin-bottom: 14px;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.profile-biography {
    line-height: 1.75;
    margin-bottom: 28px;
    color: #374151;
    font-size: 1.02rem;
}

.profile-biography p {
    margin-bottom: 1.25em;
}

/* Achievements Box */
.profile-achievements-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 22px 26px;
    margin: 28px auto;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    max-width: 740px;
    text-align: left;
}

.profile-achievements-box h3 {
    color: #111827;
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.15rem;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.achievements-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievements-checklist li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f2;
    display: flex;
    align-items: flex-start;
    color: #374151;
    font-size: 0.98rem;
    line-height: 1.55;
}

.achievements-checklist li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.achievements-checklist li:before {
    content: "✓";
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.12);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 12px;
    font-size: 0.82rem;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    top: 1px;
}

/* Experiences, Industries, Batches Sections */
.profile-experiences-section,
.profile-industries-section,
.profile-batches-section {
    margin-top: 28px;
    text-align: left;
}

.profile-experiences-section h3,
.profile-industries-section h3,
.profile-batches-section h3 {
    font-size: 0.82rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 700;
}

.experiences-list,
.industries-list,
.batches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.profile-single-entry a.experience-tag,
.profile-single-entry a.industry-tag,
.profile-single-entry a.batch-tag {
    background-color: #f3f4f6;
    color: #1f2937;
    padding: 6px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
    line-height: 1.3;
}

.profile-single-entry a.experience-tag:hover,
.profile-single-entry a.industry-tag:hover,
.profile-single-entry a.batch-tag:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Sources Section */
.profile-sources-section {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f2;
    text-align: left;
}

.profile-sources-section h3 {
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 12px;
    text-align: left;
    font-weight: 700;
}

.sources-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    text-align: left;
}

.sources-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #4b5563;
}

.sources-list li a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sources-list li a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Bottom Profile Button */
.profile-bottom-link {
    margin-top: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.profile-single-entry a.profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.profile-single-entry a.profile-button:hover {
    background-color: #262626;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Related Profiles Section */
.related-posts {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px 0 10px 0;
    border-top: 1px solid #f0f0f2;
}

.related-posts-title {
    font-size: 1.5rem;
    color: #111827;
    margin-top: 0;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.related-posts-grid {
    padding-left: 0;
    padding-right: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-single-entry {
        padding: 10px 0;
        margin: 0 auto 30px auto;
    }

    .profile-name {
        font-size: 1.85rem;
    }

    .profile-featured-image {
        width: 120px;
        height: 120px;
    }

    .profile-achievements-box {
        padding: 18px 20px;
    }
}