/* Teldat Jobs */
.teldat-jobs { margin: 2rem 0; }

.teldat-jobs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.teldat-jobs__card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.teldat-jobs__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.teldat-jobs__date {
    color: #94a3b8;
    font-size: .78rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500;
}

.teldat-jobs__cardTitle {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    word-break: normal !important;
    word-wrap: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

.teldat-jobs__cardDesc {
    color: #475569;
    font-size: .92rem;
    line-height: 1.55;
    margin: 0 0 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal !important;
    word-wrap: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

.teldat-jobs__fullTpl { display: none; }

.teldat-jobs__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.teldat-jobs__btn {
    display: inline-block;
    background: #0066b3;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    border: 1px solid #0066b3;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    font-family: inherit;
}

.teldat-jobs__btn:hover {
    background: #004e88;
    border-color: #004e88;
    color: #fff !important;
}

.teldat-jobs__btn--ghost {
    background: transparent;
    color: #0066b3 !important;
}

.teldat-jobs__btn--ghost:hover {
    background: #0066b3;
    color: #fff !important;
}

.teldat-jobs__empty {
    padding: 3rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    font-size: .95rem;
}

/* Modal */
.teldat-jobs__modal[hidden] { display: none; }
.teldat-jobs__modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0;
    z-index: 2147483000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    isolation: isolate;
}

.teldat-jobs__modalBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
}

.teldat-jobs__modalBox {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: teldat-jobs-in .22s ease;
    box-sizing: border-box;
}
.teldat-jobs__modalBox, .teldat-jobs__modalBox * { box-sizing: border-box; }

@keyframes teldat-jobs-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.teldat-jobs__modalClose {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 4px 10px;
    z-index: 2;
}
.teldat-jobs__modalClose:hover { color: #0f172a; }

.teldat-jobs__modalTitle {
    margin: 0;
    padding: 24px 56px 16px 28px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
    word-break: normal !important;
    word-wrap: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

.teldat-jobs__modalBody {
    padding: 20px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    color: #334155;
    font-size: .95rem;
    line-height: 1.6;
    font-family: inherit;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    word-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}
.teldat-jobs__modalBody *:not(a) {
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    word-wrap: normal !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}
.teldat-jobs__modalBody p,
.teldat-jobs__modalBody li,
.teldat-jobs__modalBody span,
.teldat-jobs__modalBody h3,
.teldat-jobs__modalBody h4,
.teldat-jobs__modalBody h5 {
    font-size: inherit;
    line-height: 1.6;
    color: inherit;
}
.teldat-jobs__modalBody p { margin: 0 0 12px; display: block; }
.teldat-jobs__modalBody ul { list-style: disc outside !important; margin: 0 0 12px 22px !important; padding-left: 4px !important; }
.teldat-jobs__modalBody ol { list-style: decimal outside !important; margin: 0 0 12px 22px !important; padding-left: 4px !important; }
.teldat-jobs__modalBody li { margin-bottom: 4px; display: list-item !important; }
.teldat-jobs__modalBody strong,
.teldat-jobs__modalBody b { color: #0f172a; font-weight: 600; }
.teldat-jobs__modalBody h3,
.teldat-jobs__modalBody h4,
.teldat-jobs__modalBody h5 {
    margin: 16px 0 8px;
    font-weight: 600;
    color: #0f172a;
}
.teldat-jobs__modalBody a {
    color: #0066b3;
    text-decoration: underline;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.teldat-jobs__modalFooter {
    padding: 16px 28px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    background: #f8fafc;
}

body.teldat-jobs-modalOpen { overflow: hidden; }

@media (max-width: 600px) {
    .teldat-jobs__grid { grid-template-columns: 1fr; gap: 16px; }
    .teldat-jobs__card { padding: 20px; }
    .teldat-jobs__modalTitle { padding: 20px 48px 14px 20px; font-size: 1.15rem; }
    .teldat-jobs__modalBody { padding: 16px 20px; }
    .teldat-jobs__modalFooter { padding: 14px 20px; }
}
