/* ==========================================================================
   XLM Careers — Front-end styles
   ========================================================================== */

/* [career-list] card layout (redesigned 1.4.0 — proper padding, aligned
   footer row, title/meta styling unified with [career-meta] on the single
   career template) */
.tppweb-xlmcareers-list {
    margin-top: 1rem;
}
.tppweb-xlmcareers-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 1.75rem 2rem;
    margin-bottom: 1.75rem;
}
.tppweb-xlmcareers-card-title {
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.tppweb-xlmcareers-card-title a {
    font-size: 1.4rem;
    font-weight: 700;
    color: #05416d;
    text-decoration: none;
}
.tppweb-xlmcareers-card-title a:hover {
    color: #075d9c;
    text-decoration: underline;
}
.tppweb-xlmcareers-card-excerpt {
    color: #383f48;
    margin: 1rem 0 1.5rem;
    line-height: 1.6;
}
.tppweb-xlmcareers-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f1;
}
.tppweb-xlmcareers-card-date {
    color: #9a9a9a;
    font-size: 0.9rem;
}
.tppweb-xlmcareers-card-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tppweb-xlmcareers-card-actions .apply-btn {
    margin-bottom: 0 !important;
}

/* Shared "Apply Now" button — also used standalone via [career-list] footer */
.apply-btn {
    background-color: #00345b !important;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    transition: background-color 0.2s ease-in;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    color: #fff !important;
    padding: 8px 24px !important;
}
.apply-btn:hover {
    background-color: #075d9c !important;
}

/* Plain pagination controls (replaces the original AJAX infinite scroll) */
.tppweb-xlmcareers-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}
.tppweb-xlmcareers-pagination .page-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    background: #f0f0f1;
    color: #00345b;
    text-decoration: none;
}
.tppweb-xlmcareers-pagination .page-item.active .page-link {
    background: #00345b;
    color: #fff;
}
.tppweb-xlmcareers-pagination .page-link:hover {
    background: #d8d8d8;
}

/* Shared meta-line styling — used by both [career-list] cards and
   [career-meta] on the single career template for visual consistency. */
.tppweb-xlmcareers-meta {
    margin: 0.5rem 0 1.25rem;
}
.tppweb-xlmcareers-meta-line {
    margin: 0 0 0.35rem;
    color: #787c82;
}
.tppweb-xlmcareers-meta-line i {
    width: 1.1em;
    text-align: center;
    margin-right: 4px;
}
