/*
Theme Name: Manosanchay
Author: Rohit Kumar Dhungana
Version: 4.0
Description: Botanical Editorial Clinical Profile
*/

/* ===============================
   GOOGLE FONTS
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   GLOBAL FOUNDATION
=============================== */

body {
    font-family: 'Inter', sans-serif;
    color: #2f4f44;
    background: #f3efe8;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2d2a;
    background: #ffffff;
}

/* Botanical only for single professional page */
body.single-professionals {
    background: #f3efe8;
    position: relative;
}

body.single-professionals::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url('https://manosanchay.com/wp-content/uploads/2026/03/botanical-texture.png') center top / cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content always sits above botanical */
body.single-professionals .ms-profile {
    position: relative;
    z-index: 2;
}
/* ===============================
   PROFILE WRAPPER
=============================== */

.ms-profile {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px 90px;
}

/* ===============================
   HERO SECTION
=============================== */

.ms-hero {
    text-align: center;
    margin-bottom: 70px;
}

/* Portrait */

.ms-portrait-wrapper {
    position: relative;
    display: inline-block;
}

.ms-portrait-frame {
    padding: 16px;
    border-radius: 36px;
    background: #ffffff;
    box-shadow:
        0 50px 120px rgba(0,0,0,0.12),
        0 15px 40px rgba(0,0,0,0.06);
}

.ms-portrait-frame img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}

/* Floating Verified Badge */

.ms-verified {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(145deg,#4f8a75,#2f6f5c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    border: 4px solid #f3efe8;
}

/* ===============================
   IDENTITY SLAB (LAYERED)
=============================== */

.ms-identity-card {
    margin-top: -45px;
    background: #f9f6f1;
    padding: 60px 50px 50px;
    border-radius: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    box-shadow:
        0 40px 100px rgba(0,0,0,0.08),
        0 10px 30px rgba(0,0,0,0.05);
}

.ms-identity-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.ms-role {
    font-size: 18px;
    color: #4f6b5f;
    margin-bottom: 8px;
    font-weight: 500;
}

.ms-meta {
    font-size: 15px;
    color: #6f857b;
    margin-bottom: 22px;
}

.ms-linkedin {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 40px;
    background: #eaf3ef;
    color: #2f4f44;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: 0.25s ease;
}

.ms-linkedin:hover {
    background: #d9ece4;
    transform: translateY(-2px);
}

/* ===============================
   CONTENT GRID
=============================== */

.ms-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
}

/* ===============================
   LEFT COLUMN
=============================== */

.ms-main {
    position: relative;
}

.ms-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.ms-overview-text {
    font-size: 16px;
    line-height: 1.85;
    color: #4c5e55;
}

.ms-overview-text p {
    margin-bottom: 18px;
}

/* Watermark inside overview */

.ms-watermark {
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.06;
    pointer-events: none;
}

.ms-watermark img {
    width: 160px;
    height: auto;
}

/* ===============================
   SIDEBAR CARD
=============================== */

.ms-sidebar-card {
    background: #f9f6f1;
    padding: 40px;
    border-radius: 28px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.07);
}

.ms-sidebar-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 14px;
}

.ms-sidebar-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.ms-sidebar-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: #4c5e55;
}

.ms-sidebar-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4f8a75;
}

/* CTA */

.ms-cta {
    display: block;
    padding: 16px;
    border-radius: 40px;
    text-align: center;
    background: linear-gradient(145deg,#4f8a75,#2f6f5c);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 20px 60px rgba(47,111,92,0.35);
    transition: 0.3s ease;
}

.ms-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 80px rgba(47,111,92,0.45);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {

    .ms-profile {
        padding: 90px 20px 70px;
    }

    .ms-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ms-portrait-frame img {
        width: 220px;
        height: 220px;
    }

    .ms-identity-card {
        padding: 40px 30px;
    }

    .ms-identity-card h1 {
        font-size: 32px;
    }
}