/* ============================================
   CAREER SERVICES NEWS (BOOTSTRAP FREE)
   Matches revised PHP component exactly
============================================ */

/* Main wrapper */
.career-services-news {
    width: 100%;
    margin-top: 2rem;
}

/* Grid wrapper */
.career-news-grid {
    display: grid;
    gap: 24px;
}

/* 3-column layout (All Career News) */
.career-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 2-column layout (Latest Career News) */
.career-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Individual article */
.career-article {
    width: 100%;
}

/* Card box */
.career-article-box {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Hover */
.career-article-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
}

/* Image */
.career-article-box img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

/* Title */
.career-article-box h4 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
    padding: 12px 14px 4px 14px;
    margin: 0;
}

/* Date */
.career-date {
    font-size: 13px;
    color: #5c5c5c;
    padding: 0 14px 14px 14px;
}

/* Remove default link styles */
.career-article a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

@media (max-width: 1024px) {
    .career-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .career-article-box img {
        height: 190px;
    }
}

@media (max-width: 768px) {
    .career-grid-3,
    .career-grid-2 {
        grid-template-columns: 1fr;
    }

    .career-article-box img {
        height: 180px;
    }

    .career-article-box h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .career-article-box img {
        height: 160px;
    }
}
