/* announcement-summary.css */
/* Styles for Announcement Summary Card (Job Offer Item) */

.announcement-summary-card {
    display: block;
    position: relative;
    padding: 2.4rem;
    /* 24px */
    background-color: #fff;
    border: 1px solid #f1f5f9;
    /* slate-100 */
    border-radius: 1.2rem;
    /* rounded-xl (12px) */
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none !important;
    margin-bottom: 1.6rem;
    /* 16px */
    box-shadow: none;
}

/* Hover: border-primary/30 and bg-slate-50/50 */
.announcement-summary-card:hover {
    border-color: rgba(0, 101, 155, 0.3);
    background-color: rgba(248, 250, 252, 0.5);
    /* slate-50/50 */
    box-shadow: none;
    /* Design doesn't actually show a shadow on hover in the snippets, just color change? Or maybe remove it to be dry */
    /* Design says: hover:border-primary/30 hover:bg-slate-50/50. No shadow on hover in snippets??
       Wait, design snippet says: `p-6 rounded-xl border border-slate-100 hover:border-primary/30 hover:bg-slate-50/50 dark:border-slate-800 ...`
       It does NOT say shadow-sm or shadow-lg on hover in the job items list. */
}

.announcement-summary-card:hover .announcement-title {
    color: #00659b;
    /* primary */
}

/* Header */
.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    /* mb-2 = 8px */
}

.announcement-title {
    font-size: 1.8rem;
    /* text-lg = 18px */
    font-weight: 700;
    /* font-bold */
    color: #0f172a;
    /* slate-900 */
    margin: 0;
    line-height: 1.25;
    transition: color 0.15s;
    font-family: 'Inter', sans-serif;
}

/* Badge (optional, dynamic if field exists) */
.announcement-badge {
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    /* 10px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.4rem;
    white-space: nowrap;
    margin-left: 1.2rem;
}

.badge-new {
    background-color: #f0fdf4;
    /* green-50 */
    color: #15803d;
    /* green-700 */
}

.badge-remote {
    background-color: #eff6ff;
    /* blue-50 */
    color: #1d4ed8;
    /* blue-700 */
}

/* Metadata Row */
.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.6rem;
    /* gap-x-4 = 16px */
    row-gap: 0.8rem;
    /* gap-y-2 = 8px */
    margin-bottom: 1.6rem;
    /* mb-4 = 16px */
    color: #64748b;
    /* slate-500 */
    font-size: 1.4rem;
    /* text-sm = 14px */
    font-family: 'Inter', sans-serif;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* gap-1 = 4px */
}

.meta-item .glyphicon {
    font-size: 1.6rem;
    /* text-base = 16px */
    color: #64748b;
    /* slate-500 (inherited mostly but ensuring) */
}

/* Description */
.announcement-description {
    font-size: 1.4rem;
    /* text-sm = 14px */
    color: #475569;
    /* slate-600 */
    line-height: 1.5;
    margin-bottom: 1.6rem;
    /* mb-4 = 16px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* line-clamp-2 */
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    font-family: 'Inter', sans-serif;
}

/* Footer: Tags + CTA */
.announcement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.announcement-tags {
    display: flex;
    gap: 0.8rem;
    /* gap-2 = 8px */
}

.announcement-tag {
    padding: 0.4rem 0.8rem;
    /* px-2 py-1 */
    background-color: #f1f5f9;
    /* slate-100 */
    color: #475569;
    /* slate-600 */
    font-size: 1.2rem;
    /* text-xs = 12px */
    border-radius: 0.4rem;
    /* rounded = 4px */
    font-weight: 500;
    /* implicit? usually regular or medium for badges */
    display: inline-block;
}

.btn-apply {
    color: #00659b;
    /* primary */
    font-size: 1.4rem;
    /* text-sm = 14px */
    font-weight: 700;
    /* font-bold */
    display: flex;
    align-items: center;
    gap: 0.4rem;
    /* gap-1 = 4px */
    transition: all 0.2s;
    background: none;
    border: none;
    padding: 0;
}

.btn-apply:hover {
    color: #00659b;
}

.btn-apply .glyphicon {
    font-size: 1.6rem;
    /* text-base = 16px */
}
