@charset "utf-8";

/* Full width content for index page */
.index-full-width .mainbar {
    width: 100%;
    margin-right: 0;
}

/* Cards container */
.cards-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

/* Journal card styling */
.journal-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 260px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.journal-card img {
    width: 140px;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 auto 15px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.journal-card h3 {
    color: #2c5aa0;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.4;
}

.journal-card .issn {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.journal-dates {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.journal-dates-flex {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.date-item {
    text-align: center;
}

.date-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.date-value {
    font-size: 12px;
    font-weight: 600;
}

.date-value.deadline {
    color: #d9534f;
}

.date-value.publication {
    color: #5cb85c;
}

.journal-card .btn-link {
    display: inline-block;
    color: #2c5aa0;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    padding: 10px 20px;
    border: 2px solid #2c5aa0;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.journal-card .btn-link:hover {
    background: #2c5aa0;
    color: #fff;
}

/* Deadlines card */
.deadlines-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 25px auto;
    max-width: 520px;
}

.deadlines-card h2 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deadline-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease;
}

.deadline-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.deadline-item:last-child {
    margin-bottom: 0;
}

.deadline-label {
    font-size: 12px;
    font-weight: 500;
}

.deadline-date {
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 5px;
    white-space: nowrap;
}

/* Smaller journal cards */
.journal-card {
    padding: 16px;
    max-width: 340px;
}

/* Smaller journal image */
.journal-card img {
    width: 120px;
    height: 165px;
    margin-bottom: 12px;
}

/* Smaller journal title */
.journal-card h3 {
    font-size: 13px;
    margin-bottom: 10px;
}

/* Smaller ISSN text */
.journal-card .issn {
    font-size: 11px;
    margin-bottom: 12px;
}

/* Reduce paragraph text inside card */
.journal-card p {
    font-size: 12px;
}

/* Responsive design */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
    }

    .journal-card {
        max-width: 100%;
    }

    .deadline-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Logos Bar styling */
.logos-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin: 20px 24px 35px 24px;
    flex-wrap: wrap;
    border: 1px solid #edf3eb;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.02));
}

/* Mobile responsive for logos */
@media (max-width: 768px) {
    .logos-bar {
        gap: 35px;
        padding: 15px 10px;
        margin: 15px 15px 25px 15px;
    }
    
    .logo-item img {
        height: 50px;
    }

    .logo-divider {
        display: none !important;
    }
}

.logo-item-hover:hover {
    transform: scale(1.05);
}
