﻿.judge-profile {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    font-family: Arial, Helvetica, sans-serif;
}

.judge-header {
    background: #64664a;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
    text-align:center;
}

.judge-top {
    display: flex;
    align-items: flex-start;
}

.judge-details {
    flex: 1;
    padding: 15px;
}

.judge-photo-box {
    width: 240px;
    padding: 15px;
    text-align: center;
}

.judge-photo {
    width: 190px;
    height: 240px;
    object-fit: cover;
    border: 4px solid #f3f3f3;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
    margin: 0px;
    padding: 1px;
  
}

.judge-table {
    width: 100%;
    border-collapse: collapse;
}

    .judge-table th {
        width: 200px;
        text-align: left;
        background: #f7f8fa;
        color: #444;
        padding: 10px 12px;
        border-bottom: 1px solid #e6e6e6;
    }

    .judge-table td {
   
        padding: 10px 12px;
        border-bottom: 1px solid #e6e6e6;
    }

.judge-summary {
    border-top: 1px solid #e6e6e6;
    padding: 20px;
    background: #E4E4D6;
    font-size: 16px;
    color: #663300;
    font-weight: bold;
    line-height: 25px;
    text-align: justify;
    font-family: Times New Roman;
}

    .judge-summary h3 {
        margin: 0 0 10px;
        color: #003366;
    }

    .judge-summary p {
        line-height: 1.7;
        text-align: justify;
        color: #444;
    }

@media (max-width: 768px) {

    .judge-top {
        display: block;
    }

    .judge-photo-box {
        width: auto;
    }

    .judge-photo {
        width: 160px;
        height: 200px;
    }

    .judge-table th,
    .judge-table td {
        display: block;
        width: auto;
    }
}
