/* =========================
   Journal Information Table
========================= */

.journal-info {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    transition: 0.3s ease;
}

/* Table Rows */
.journal-info tr {
    transition: all 0.3s ease;
}

.journal-info tr:hover {
    background: #f7fbff;
    transform: scale(1.002);
}

/* Table Cells */
.journal-info td {
    padding: 14px 18px;
    border-bottom: 1px solid #ececec;
    vertical-align: middle;
    font-size: 14px;
}

/* Left Column */
.journal-info td:first-child {
    width: 40%;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

/* Right Column */
.journal-info td:last-child {
    width: 60%;
    color: #475569;
    background: #ffffff;
}

/* =========================
   Section Heading Row
========================= */

.section-title td {
    background: linear-gradient(135deg, #007b8a, #03afaf);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 15px 18px;
    border-bottom: none;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* Ensure all text inside section title is visible */
.section-title td,
.section-title td *,
.section-title td a {
    color: #ffffff;
}
/* Sub Item */
.sub-item td:first-child {
    padding-left: 35px;
    font-weight: 500;
    color: #334155;
}

/* Links */
.journal-info a {
    color: #007b8a;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.journal-info a:hover {
    color: #03afaf;
    text-decoration: underline;
}

/* Impact Logo */
.impact-logo img {
    vertical-align: middle;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-right: 8px;
}

/* =========================
   Reviewer Section Cards
========================= */

.reviewer-section {
    display: flex;
    gap: 25px;
    margin-top: 25px;
    align-items: stretch;
}

/* Card Design */
.reviewer-section .pi-box {
    flex: 1;
    padding: 25px;
    background: linear-gradient(145deg, #ffffff, #f8fbfd);
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect */
.reviewer-section .pi-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 35px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Top Accent Border */
.reviewer-section .pi-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, #007b8a, #03afaf);
}

/* Headings */
.reviewer-section h5 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.4px;
}

/* Paragraph */
.reviewer-section p {
    margin-bottom: 14px;
    line-height: 1.8;
    color: #475569;
    font-size: 14px;
}

/* =========================
   Table Style Enhancement
========================= */

.pi-table {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

/* Table Header */
.pi-table thead tr {
    background: linear-gradient(135deg, #007b8a, #03afaf);
}

.pi-table thead th {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Table Body */
.pi-table tbody td {
    padding: 18px;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    transition: 0.3s ease;
}

/* Zebra Effect */
.pi-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

/* Hover */
.pi-table tbody tr:hover td {
    background: #eef9fb;
}

/* =========================
   Responsive Design
========================= */

@media (max-width: 768px) {

    .reviewer-section {
        flex-direction: column;
    }

    .journal-info td {
        display: block;
        width: 100% !important;
        text-align: left !important;
    }

    .journal-info td:first-child {
        border-right: none;
        border-bottom: none;
        background: #f1f5f9;
    }

    .journal-info td:last-child {
        padding-top: 5px;
        padding-bottom: 15px;
    }

    .pi-table thead {
        display: none;
    }

    .pi-table tbody td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .pi-table tbody tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
    }
}