/* ============================================
   CAREERS & TENDERS PAGE STYLES
   ============================================ */

/* Intro section styling */
.site-intro {
    background: linear-gradient(135deg, #003366 0%, #00264d 100%);
    color: white;
    padding: 24px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.site-intro p {
    margin: 12px 0;
    font-size: 0.95rem;
}

.site-intro p strong {
    font-weight: 700;
}

.site-intro a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.site-intro a:hover {
    text-decoration: underline;
}

/* Job/Tender listing card */
.listing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.listing-card:hover {
    box-shadow: 0 4px 12px rgba(0, 51, 102, 0.1);
    border-color: #003366;
}

.listing-card a {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.listing-card a:hover {
    color: #d4af37;
}

.listing-card .summary {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.listing-card .actions {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.listing-card .actions a {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #003366;
    border-radius: 4px;
    font-size: 0.85rem;
    margin: 0;
}

.listing-card .actions a:hover {
    background: #003366;
    color: white;
}

/* Download button styling */
.btn-download {
    display: inline-block;
    padding: 10px 16px;
    background: #003366;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin: 12px 0;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #00264d;
    box-shadow: 0 4px 8px rgba(0, 51, 102, 0.2);
}

/* Detail view */
.detail-view {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    margin: 20px auto;
    max-width: 800px;
}

.detail-view h2 {
    color: #003366;
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.detail-view .meta {
    display: flex;
    gap: 20px;
    margin: 16px 0;
    color: #666;
    font-size: 0.95rem;
}

.detail-view .meta strong {
    color: #003366;
}

.detail-view .description {
    margin: 20px 0;
    line-height: 1.7;
    color: #333;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #003366;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #003366;
    color: white;
}

.pagination a.active {
    background: #003366;
    color: white;
    font-weight: 700;
    border-color: #003366;
}

/* Responsive */
@media (max-width: 640px) {
    .site-intro {
        padding: 16px;
    }

    .detail-view {
        padding: 16px;
    }

    .detail-view h2 {
        font-size: 1.4rem;
    }

    .listing-card .actions {
        flex-direction: column;
    }

    .listing-card .actions a {
        width: 100%;
        text-align: center;
    }
}
