/* ============================================================
   AJCA - Public Website Styles
   ============================================================ */

/* Hero Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(15, 76, 129, 0.95) 0%, rgba(10, 61, 107, 0.85) 100%);
}

/* Article Card */
.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 76, 129, 0.12);
}

/* Abstract Toggle */
.abstract-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.abstract-content.open {
    max-height: 500px;
}

/* Search Bar */
.search-bar {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 50;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-suggestion-item:hover {
    background: #f8fafc;
}

/* Sidebar Widget */
.sidebar-widget {
    @apply bg-white rounded-xl shadow-sm border border-gray-100 p-6 mb-6;
}

.sidebar-widget h3 {
    @apply text-lg font-semibold text-gray-900 mb-4 pb-2 border-b border-gray-100;
}

/* Volume/Issue Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0F4C81;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #0F4C81;
}

/* Journal Info Box */
.info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 24px;
}

/* Author List */
.author-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
}

/* Article Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    color: #64748b;
    font-size: 14px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Policy Pages */
.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F4C81;
    margin-bottom: 12px;
}

.policy-section p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Contact Form */
.contact-info-card {
    background: linear-gradient(135deg, #0F4C81 0%, #0a3d6b 100%);
    border-radius: 16px;
    padding: 32px;
    color: white;
}

/* Responsive */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
}
