/* ================================
   Owner Details - Figma Match
================================ */

.od-owner-details{
    background:#ffffff;
    padding:42px 0 52px;
    overflow:hidden;
}

.od-owner-details *{
    box-sizing:border-box;
}

.od-container{
    width:100%;
    max-width:1240px;
    margin:0 auto;
    padding:0 20px;
}

/* ================================
   Header
================================ */

.od-section-title{
    margin:0;
    text-align:center;
    color:#05070d;
    font-size:34px;
    line-height:1.14;
    font-weight:800;
    letter-spacing:-0.035em;
}

.od-section-text {
	margin: 10px auto 48px;
	max-width: 650px;
	text-align: center;
	color: #05070d;
	font-size: 18px;
	line-height: 1.55;
	font-weight: 400;
}

.od-section-text span{
    color:#2d94ed;
    font-weight:700;
}

/* ================================
   Owner List / Card
================================ */

.od-owner-list{
    display:flex;
    flex-direction:column;
    gap:26px;
}

.od-owner-card{
    position:relative;
    padding:34px 36px 24px;
    background:#f3f8ff;
    box-shadow:0 6px 22px rgba(15, 23, 42, .12);
}

.od-owner-row{
    display:flex;
    align-items:stretch;
    gap:34px;
}

.od-owner-card.is-reverse .od-owner-row{
    flex-direction:row-reverse;
}

.od-owner-content{
    flex:0 0 calc(57% - 17px);
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.od-owner-media{
    flex:0 0 calc(43% - 17px);
    min-width:0;
    display:flex;
    align-items:stretch;
}

.od-owner-card:not(.is-reverse) .od-owner-media{
    justify-content:flex-end;
}

.od-owner-card.is-reverse .od-owner-media{
    justify-content:flex-start;
}

/* ================================
   Content
================================ */

.od-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:fit-content;
    margin-bottom:11px;
    padding:6px 9px;
    border-radius:4px;
    background:#d7e9ff;
    color:#2d94ed;
    font-size:10px;
    line-height:1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.02em;
}

.od-name{
    margin:0 0 14px;
    color:#05070d;
    font-size:28px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.035em;
}

.od-name span{
    color:#2d94ed;
}

.od-description{
    max-width:610px;
}

.od-description p{
    margin:0 0 14px;
    color:#061126;
    font-size:16px;
    line-height:1.58;
    font-weight:400;
}

.od-description p:last-child{
    margin-bottom:0;
}

/* ================================
   Skills
================================ */

.od-skills{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:10px;
    margin-top:auto;
    padding-top:22px;
}

.od-skill{
    min-width:0;
    text-align:center;
}

.od-skill-icon{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 7px;
}

.od-skill-icon img{
    display:block;
    width:30px;
    height:30px;
    object-fit:contain;
}

.od-skill-title{
    display:block;
    color:#05070d;
    font-size:15px;
    line-height:1.2;
    font-weight:700;
}

/* ================================
   Image Card
================================ */

.od-image-card{
    width:100%;
    min-height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:4px;
}

.od-image-wrap{
    position:relative;
    flex:1 1 auto;
    min-height:270px;
    overflow:hidden;
}

.od-owner-image{
    position:relative;
    z-index:2;
    display:block;
    width:100%;
    height:100%;
    min-height:270px;
    object-fit:cover;
    object-position:center bottom;
}

/* ================================
   Stats / Social Bottom
================================ */

.od-stats-wrap{
    position:relative;
    z-index:5;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    align-items:center;
    gap:0;
    background:#ffffff;
    padding:12px 16px 14px;
    min-height:74px;
    flex:0 0 auto;
}

.od-stat-item{
    position:relative;
    min-width:0;
    padding:0 14px;
    text-align:center;
}

.od-stat-item + .od-stat-item{
    border-left:1px solid #dce5f2;
}

/* Left stat area */
.od-stats-wrap .od-stat-item:not(.od-social-item){
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:0 18px;
}

/* Social icon columns */
.od-social-item{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
}

.od-stat-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    margin:0 auto 5px;
}

.od-stat-icon img{
    display:block;
    width:26px;
    height:26px;
    object-fit:contain;
}

.od-stat-value{
    color:#2d94ed;
    font-size:28px;
    line-height:1;
    font-weight:800;
    letter-spacing:-.035em;
}

.od-stat-label{
    margin-top:5px;
    color:#05070d;
    font-size:15px;
    line-height:1.25;
    font-weight:700;
}

.od-social-link{
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.od-social-link img{
    display:block;
    width:38px;
    height:38px;
    object-fit:contain;
}

/* Single stat center */
.od-stats-wrap .od-stat-item:only-child{
    grid-column:1 / -1;
    width:52%;
    justify-self:center;
    border-left:0;
}

/* ================================
   Editor
================================ */

.od-editor-panel{
    padding:20px;
    background:#f3f4f6;
    border-radius:12px;
}

.od-editor-card{
    padding:20px;
    margin-bottom:24px;
    background:#ffffff;
    border:1px solid #dfe3ea;
    border-radius:12px;
}

.od-editor-mini-card{
    padding:14px;
    margin-bottom:12px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:10px;
}

.od-editor-image-field{
    margin-top:15px;
    margin-bottom:15px;
}

/* ================================
   Responsive
================================ */

@media(max-width:1024px){
    .od-container{
        max-width:860px;
    }

    .od-owner-row,
    .od-owner-card.is-reverse .od-owner-row{
        flex-direction:column;
        gap:24px;
    }

    .od-owner-content,
    .od-owner-media{
        flex:0 0 auto;
        width:100%;
    }

    .od-image-card{
        max-width:430px;
        margin:0 auto;
    }

    .od-skills{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        margin-top:0;
    }
}

@media(max-width:767px){
    .od-owner-details{
        padding:40px 0 46px;
    }

    .od-container{
        padding:0 15px;
    }

    .od-section-title{
        font-size:28px;
    }

    .od-section-text{
        margin-bottom:26px;
        font-size:18px;
    }

    .od-owner-card{
        padding:18px 14px;
    }

    .od-name{
        font-size:25px;
    }

    .od-description p{
        font-size:13px;
    }

    .od-skills{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:16px 10px;
        padding-top:20px;
    }

    .od-image-wrap,
    .od-owner-image{
        min-height:245px;
    }

    .od-stats-wrap{
        grid-template-columns:2fr 1fr 1fr;
        gap:0;
        padding:12px 10px 14px;
    }

    .od-stat-item{
        padding:0 10px;
    }

    .od-stat-item + .od-stat-item{
        border-left:1px solid #dce5f2;
        border-top:0;
    }

    .od-stats-wrap .od-stat-item:not(.od-social-item){
        padding:0 10px;
    }

    .od-social-link{
        width:38px;
        height:38px;
    }

    .od-social-link img{
        width:32px;
        height:32px;
    }

    .od-stat-value{
        font-size:25px;
    }

    .od-stat-label{
        font-size:9px;
    }
}

@media(max-width:480px){
    .od-section-title{
        font-size:28px;
    }

    .od-image-wrap,
    .od-owner-image{
        min-height:225px;
    }

    .od-stats-wrap{
        grid-template-columns:2fr 1fr 1fr;
        padding:10px 8px 12px;
    }

    .od-stat-value{
        font-size:24px;
    }

    .od-stat-label{
        font-size:8px;
    }

    .od-social-link{
        width:34px;
        height:34px;
    }

    .od-social-link img{
        width:30px;
        height:30px;
    }

    .od-stats-wrap .od-stat-item:only-child{
        width:100%;
    }
}