/* SRR Editorial Board Cards - OJS 3.x
   Upload through: Settings > Website > Appearance > Advanced
   > Journal Style Sheet
*/

.srr-editorial,
.srr-editorial * {
    box-sizing: border-box;
}

.srr-editorial {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    color: #263445;
    font-family: Arial, Helvetica, sans-serif;
}

.srr-editorial .srr-section {
    margin: 30px 0;
}

.srr-editorial .srr-section-title {
    margin: 0 0 22px;
    padding: 0 0 12px;
    border-bottom: 2px solid #dce6ef;
    color: #173b5e;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

.srr-editorial .srr-chief-card {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 35px;
    padding: 24px;
    border: 1px solid #dce6ef;
    border-left: 5px solid #245b82;
    border-radius: 10px;
    background: #f4f8fc;
}

.srr-editorial .srr-chief-photo {
    display: block;
    width: 145px;
    height: 145px;
    min-width: 145px;
    margin: 0;
    border: 3px solid #fff;
    border-radius: 9px;
    object-fit: cover;
}

.srr-editorial .srr-chief-info {
    min-width: 0;
}

.srr-editorial .srr-chief-info h3 {
    margin: 0 0 8px;
    color: #173b5e;
    font-size: 21px;
    line-height: 1.35;
}

.srr-editorial .srr-role {
    display: inline-block;
    margin-bottom: 9px;
    padding: 5px 11px;
    border-radius: 4px;
    background: #e3edf6;
    color: #245b82;
    font-size: 12px;
    font-weight: 700;
}

.srr-editorial .srr-affiliation,
.srr-editorial .srr-member-affiliation {
    margin: 7px 0 0;
    color: #586779;
    font-size: 14px;
    line-height: 1.6;
}

.srr-editorial .srr-profile-links {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
}

.srr-editorial .srr-profile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.srr-editorial .srr-profile-links img {
    display: block;
    width: 19px;
    height: 19px;
    margin: 0;
    border: 0;
    object-fit: contain;
}

.srr-editorial .srr-board-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
}

.srr-editorial .srr-board-card {
    flex: 1 1 calc(33.333% - 18px);
    min-width: 220px;
    max-width: calc(33.333% - 12px);
    margin: 0;
    padding: 20px 17px;
    border: 1px solid #e2e8ef;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 2px 9px rgba(25, 55, 85, .06);
    transition: box-shadow .2s ease, transform .2s ease;
}

.srr-editorial .srr-board-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 16px rgba(25, 55, 85, .12);
}

.srr-editorial .srr-member-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 13px;
    border-radius: 50%;
    background: #e8f0f7;
    color: #245b82;
    font-size: 16px;
    font-weight: 700;
}

.srr-editorial .srr-member-name {
    margin: 0 0 9px;
    color: #173b5e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.srr-editorial .srr-member-affiliation {
    color: #657386;
    font-size: 13px;
}

.srr-editorial .srr-board-card .srr-profile-links {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid #edf0f3;
}

.srr-editorial .srr-editorial-note {
    margin-top: 20px;
    color: #84909c;
    font-size: 12px;
    font-style: italic;
}

@media screen and (max-width: 900px) {
    .srr-editorial .srr-board-card {
        flex: 1 1 calc(50% - 18px);
        max-width: calc(50% - 9px);
    }
}

@media screen and (max-width: 600px) {
    .srr-editorial .srr-chief-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .srr-editorial .srr-chief-photo {
        width: 115px;
        height: 115px;
        min-width: 115px;
    }

    .srr-editorial .srr-board-card {
        flex: 1 1 100%;
        min-width: 0;
        max-width: 100%;
    }

    .srr-editorial .srr-section-title {
        font-size: 20px;
    }
}
