/* --- Journal Information Block Styles --- */

/* Scope the styles to the container to protect other OJS elements */
.journal-info-block {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.journal-info-container {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}

/* Table Styling */
.journal-info-table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0 2px;
    font-size: 13px;
    margin-bottom: 0; /* Override OJS default margins */
}

.journal-info-table td {
    padding: 6px 12px; 
    vertical-align: middle;
    line-height: 1.4;
    border: none; /* Remove default OJS borders */
}

/* Key Column (Green) */
.journal-info-table .label-col {
    background-color: #a8cf8c;
    font-weight: 700;
    color: #000;
    width: 35%; /* Percentage is safer for sidebars */
    min-width: 120px;
    border-right: 2px solid #fff;
}

/* Value Column (Grey) */
.journal-info-table .value-col {
    background-color: #eaeaea;
    color: #333;
}

/* Links */
.journal-info-table .value-col a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.journal-info-table .value-col a:hover {
    text-decoration: underline;
}

/* Crossref Styling */
.crossref-note {
    font-size: 0.9em;
    color: #555;
    margin-left: 4px;
    display: inline-block; /* Helps layout on small screens */
}

.crossref-logo {
    font-weight: bold;
    color: #555;
}

.crossref-logo span {
    color: #fca311;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .journal-info-container {
        flex-direction: column;
    }
    
    .journal-info-table .label-col {
        width: auto;
        white-space: normal;
    }
}