/* Custom Homepage Header Layout */
.custom-ojs-header {
    display: flex;
    align-items: flex-start;
    gap: 40px; /* Space between image and text */
    margin-bottom: 40px; /* Space between header and recent articles */
}

/* Left Column: Cover Image */
.custom-ojs-cover {
    flex: 0 0 35%; /* Image takes up 35% of the container width */
    max-width: 320px;
}

.custom-ojs-cover img {
    width: 100%;
    height: auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Adds a subtle shadow */
}

/* Right Column: Imprint Text */
.custom-ojs-info {
    flex: 1; /* Text takes up the remaining 65% */
}

.custom-ojs-info h2 {
    margin-top: 0;
    font-size: 1.25em;
    line-height: 1.4;
    color: #000;
    margin-bottom: 15px;
}

.custom-ojs-info p {
    margin: 5px 0;
    font-size: 1em;
    color: #222;
    line-height: 1.6;
}

/* Mobile Responsiveness: Stacks image on top of text on small screens */
@media (max-width: 768px) {
    .custom-ojs-header {
        flex-direction: column;
        gap: 20px;
    }
    .custom-ojs-cover {
        flex: 0 0 100%;
        max-width: 100%;
    }
}