﻿/* ============================================================
   FULL PROFILE CARD STYLES
   ============================================================ */

.jwo-profile-page {
    padding: 40px 0 60px;
    background: #faf8f7;
}

/* Main card */
.jwo-profile-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #eee6e3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

 

/* -------------------- RIGHT CONTENT SIDE -------------------- */
.jwo-profile-content {
    padding: 36px 40px 32px;
}

/* Heading */
.jwo-profile-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: var(--accent-color, #ff3600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.jwo-profile-heading h2 {
    margin: 0 0 8px;
    color: var(--primary-color, #1a1a1a);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.jwo-profile-location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 24px;
    color: #666;
    font-size: 14px;
}

    .jwo-profile-location i {
        color: var(--accent-color, #ff3600);
    }

/* Quick facts */
.jwo-profile-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.jwo-profile-fact {
    padding: 14px 16px;
    background: #fff9f7;
    border: 1px solid #f0e8e4;
    border-radius: 12px;
}

.jwo-profile-fact-label {
    display: block;
    margin-bottom: 4px;
    color: #888;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.jwo-profile-fact strong {
    display: block;
    color: var(--primary-color, #1a1a1a);
    font-size: 15px;
    font-weight: 600;
}

/* Sections */
.jwo-profile-section {
    padding: 20px 0 4px;
    border-top: 1px solid #f0eae7;
}

.jwo-profile-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.jwo-profile-section-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 54, 0, 0.08);
    color: var(--accent-color, #ff3600);
    font-size: 15px;
}

.jwo-profile-section-title h3 {
    margin: 0;
    color: var(--primary-color, #1a1a1a);
    font-size: 17px;
    font-weight: 700;
}

/* Detail grid */
.jwo-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
}

.jwo-detail-row {
    padding: 10px 0;
    border-bottom: 1px solid #f5f0ee;
}

    .jwo-detail-row:nth-last-child(-n+2) {
        border-bottom: none; /* last row on each column has no line */
    }

    .jwo-detail-row span {
        display: block;
        margin-bottom: 3px;
        color: #777;
        font-size: 12.5px;
    }

    .jwo-detail-row strong {
        display: block;
        color: var(--primary-color, #1a1a1a);
        font-size: 14.5px;
        font-weight: 600;
        line-height: 1.35;
    }

/* Footer */
.jwo-profile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0eae7;
}

.jwo-profile-id span {
    display: block;
    margin-bottom: 3px;
    color: #888;
    font-size: 11px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.jwo-profile-id strong {
    color: var(--primary-color, #1a1a1a);
    font-size: 14px;
    font-weight: 600;
}

.jwo-profile-know-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: var(--primary-color, #1a1a1a);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .jwo-profile-know-more:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 991.98px) {
    .jwo-profile-photo {
        min-height: 420px;
    }

    .jwo-profile-content {
        padding: 28px 24px;
    }

    .jwo-detail-grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

@media (max-width: 575.98px) {
    .jwo-profile-facts {
        grid-template-columns: 1fr;
    }

    .jwo-profile-heading h2 {
        font-size: 26px;
    }
}

/* ============================================================
   COMPACT SPACING
   Typography intentionally unchanged
   ============================================================ */

.jwo-profile-page {
    padding: 25px 0 35px;
}


/* Main content */
.jwo-profile-content {
    padding: 24px 34px 20px;
}


/* Heading */
.jwo-profile-eyebrow {
    margin-bottom: 4px;
}

.jwo-profile-heading h2 {
    margin-bottom: 5px;
}

.jwo-profile-location {
    margin-bottom: 14px;
}


/* Quick facts */
.jwo-profile-facts {
    gap: 8px;
    margin-bottom: 14px;
}

.jwo-profile-fact {
    padding: 10px 13px;
}


/* Sections */
.jwo-profile-section {
    padding: 12px 0 2px;
}

.jwo-profile-section-title {
    gap: 10px;
    margin-bottom: 8px;
}


/* Keep the 38px icon — it is visually good */
.jwo-profile-section-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}


/* Detail rows */
.jwo-detail-row {
    padding: 6px 0;
}


/* Footer */
.jwo-profile-footer {
    margin-top: 10px;
    padding-top: 12px;
}

/* ============================================================
   PROFILE PHOTO COLUMN
   ============================================================ */

.jwo-profile-photo {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 14px 14px 18px;
    background: #f7f4f2;
}


/* ============================================================
   PROFILE META — ABOVE PHOTO
   ============================================================ */

.jwo-profile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 34px;
    margin-bottom: 10px;
    padding: 0 4px;
}

.jwo-profile-meta-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 600;
}

    .jwo-profile-meta-status i {
        color: #22c55e;
        font-size: 12px;
    }

.jwo-profile-meta-date {
    color: var(--text-color);
    font-size: 10px;
    white-space: nowrap;
}


/* ============================================================
   PHOTO FRAME
   ============================================================ */

.jwo-profile-photo-frame {
    width: 100%;
    padding: 7px;
    background: #ffffff;
    border: 1px solid #e8e1de;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
    overflow: hidden;
}


    /* ============================================================
   PHOTO
   ============================================================ */

    .jwo-profile-photo-frame figure {
        width: 100%;
        margin: 0;
        overflow: hidden;
        border-radius: 10px;
        background: #f1efed;
    }

    .jwo-profile-photo-frame img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

/* ============================================================
   PROFILE IMAGE ENHANCEMENTS
   ============================================================ */


/* ------------------------------------------------------------
   Image frame
   ------------------------------------------------------------ */

.jwo-profile-photo-frame {
    position: relative;
    padding: 7px;
    background: #ffffff;
    border: 1px solid #e8e1de;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}


    /* ------------------------------------------------------------
   Image itself
   ------------------------------------------------------------ */

    .jwo-profile-photo-frame figure {
        position: relative;
        margin: 0;
        overflow: hidden;
        border-radius: 10px;
        background: #f1efed;
    }

    .jwo-profile-photo-frame img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        /* gentle entry */
        animation: jwoProfileImageIn 700ms ease-out both;
    }


/* ------------------------------------------------------------
   Gentle image entrance
   ------------------------------------------------------------ */

@keyframes jwoProfileImageIn {

    from {
        opacity: 0;
        transform: scale(0.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ------------------------------------------------------------
   JainsWorld watermark
   ------------------------------------------------------------ */

.jwo-profile-photo-frame figure::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: url("../images/logow.svg") no-repeat center center;
    background-size: 48%;
    transform: translate(-50%, -50%);
    opacity: 0.055;
    pointer-events: none;
    z-index: 2;
}


/* ------------------------------------------------------------
   Image light sweep
   ------------------------------------------------------------ */

.jwo-profile-photo-frame.image-anime::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -75%;
    width: 35%;
    height: 140%;
    background: linear-gradient( 90deg, transparent, rgba(255,255,255,.38), transparent );
    transform: rotate(18deg);
    pointer-events: none;
    z-index: 3;
}


/* ------------------------------------------------------------
   Hover sweep
   ------------------------------------------------------------ */

.jwo-profile-photo-frame.image-anime:hover::before {
    left: 135%;
    transition: left 650ms cubic-bezier(.2,.7,.2,1);
}


/* ------------------------------------------------------------
   Very subtle frame hover
   ------------------------------------------------------------ */

.jwo-profile-photo-frame {
    transition: box-shadow .3s ease, border-color .3s ease;
}

    .jwo-profile-photo-frame:hover {
        border-color: rgba(255,54,0,.22);
        box-shadow: 0 9px 24px rgba(0,0,0,.08);
    }