/* TEST-CAREERS-CSS-2026 */

/* =========================
   T1C SINGLE JOB FRONTEND
========================= */

.t1c-job-public-details,
.t1c-job-application-form {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--t1c-border);
    border-radius: 24px;
    padding: 34px;
    margin-bottom: 34px;
    box-shadow: 0 18px 50px rgba(36, 24, 32, 0.08);
    overflow: hidden;
}

.t1c-job-public-details::before,
.t1c-job-application-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(167, 38, 94, 0.055),
        rgba(158, 136, 84, 0.045)
    );
    pointer-events: none;
}

.t1c-job-public-details {
    border-top: 5px solid var(--t1c-brand);
}

.t1c-job-public-details > *,
.t1c-job-application-form > * {
    position: relative;
    z-index: 2;
}

.t1c-job-public-details h3,
.t1c-job-application-form h3 {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--t1c-heading);
    font-size: 28px;
    line-height: 1.2;
    font-family: Georgia, "Times New Roman", serif;
}

.t1c-job-public-details ul {
    margin: 0 0 28px 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.t1c-job-public-details li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    color: var(--t1c-text);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--t1c-border);
    line-height: 1.6;
}

.t1c-job-public-details li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.t1c-job-public-details strong {
    color: var(--t1c-dark);
    font-weight: 700;
}

/* BUTTONS */

.t1c-apply-now-button,
.t1c-job-application-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--t1c-brand),
        var(--t1c-gold)
    );
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(167, 38, 94, 0.25);
    transition: all 0.25s ease;
}

.t1c-apply-now-button:hover,
.t1c-job-application-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(167, 38, 94, 0.36);
}

/* FORM */

.t1c-job-application-form label {
    display: block;
    font-weight: 700;
    color: var(--t1c-dark);
    margin-bottom: 8px;
}

.t1c-job-application-form p {
    margin-bottom: 20px;
}

.t1c-job-application-form input,
.t1c-job-application-form textarea {
    width: 100%;
    border: 1px solid var(--t1c-border);
    border-radius: 14px;
    padding: 14px 16px;
    background: #ffffff;
    color: var(--t1c-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.t1c-job-application-form textarea {
    min-height: 130px;
    resize: vertical;
}

.t1c-job-application-form input:focus,
.t1c-job-application-form textarea:focus {
    border-color: var(--t1c-brand);
    outline: none;
    box-shadow: 0 0 0 4px rgba(167, 38, 94, 0.11);
}

/* MESSAGES */

.t1c-application-message {
    padding: 15px 18px;
    margin-bottom: 22px;
    border-radius: 14px;
    font-weight: 600;
}

.t1c-application-success {
    background: #eef8ef;
    border: 1px solid #b7dfbd;
    color: #236b35;
}

.t1c-application-error {
    background: #fff0f0;
    border: 1px solid #e5b5b5;
    color: #8a1f1f;
}

/* MOBILE */

@media (max-width: 544px) {
    .t1c-job-public-details,
    .t1c-job-application-form {
        padding: 24px;
        border-radius: 18px;
    }

    .t1c-job-public-details h3,
    .t1c-job-application-form h3 {
        font-size: 24px;
    }

    .t1c-job-public-details li {
        display: block;
    }

    .t1c-job-public-details strong {
        display: block;
        margin-bottom: 4px;
    }

    .t1c-apply-now-button,
    .t1c-job-application-form button {
        width: 100%;
    }
}

/* =========================
   SINGLE JOB PAGE LAYOUT
========================= */

.single-t1c_job .site-content .ast-container{
    max-width: 1380px;
    padding-left: 40px;
    padding-right: 40px;
}

.single-t1c_job #primary{
    width: 100%;
    margin: 0 auto;
}

.single-t1c_job article{
    background: transparent;
    box-shadow: none;
}

.single-t1c_job .entry-header{
    display: none;
}

.single-t1c_job .entry-content{
    margin-top: 60px;
    margin-bottom: 80px;
}

/* REMOVE EXCESS WHITE WRAPPER */

.single-t1c_job .ast-separate-container #primary,
.single-t1c_job .ast-separate-container.ast-right-sidebar #primary,
.single-t1c_job .ast-separate-container.ast-left-sidebar #primary{
    background: transparent;
}

/* MOBILE */

@media(max-width:768px){

    .single-t1c_job .site-content .ast-container{
        padding-left: 20px;
        padding-right: 20px;
    }

    .single-t1c_job .entry-content{
        margin-top: 30px;
    }

}

/* =========================
   SINGLE JOB HERO
========================= */

.single-t1c_job .entry-content::before{
    content: "Career Opportunity";
    display: block;
    max-width: 1100px;
    margin: 0 auto 28px;
    padding: 70px 40px;
    border-radius: 30px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(36,24,32,.92), rgba(167,38,94,.84)),
        radial-gradient(circle at top right, rgba(158,136,84,.35), transparent 35%);
    box-shadow: 0 22px 70px rgba(36,24,32,.18);
}

@media(max-width:768px){
    .single-t1c_job .entry-content::before{
        padding: 54px 24px;
        border-radius: 24px;
    }
}

/* =========================
   FILE UPLOAD FIELD
========================= */

.t1c-job-application-form input[type="file"]{
    padding: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(167,38,94,.05),
            rgba(158,136,84,.05)
        );
    border: 2px dashed rgba(167,38,94,.25);
    border-radius: 16px;
    cursor: pointer;
}

.t1c-job-application-form input[type="file"]:hover{
    border-color: var(--t1c-brand);
    background:
        linear-gradient(
            135deg,
            rgba(167,38,94,.08),
            rgba(158,136,84,.08)
        );
}

.t1c-job-application-form input[type="file"]::file-selector-button{
    border: 0;
    padding: 12px 18px;
    margin-right: 16px;
    border-radius: 999px;
    background: var(--t1c-brand);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
}

.t1c-job-application-form input[type="file"]::file-selector-button:hover{
    background: var(--t1c-alt-brand);
}

/* =========================
   STICKY APPLY CTA
========================= */

.single-t1c_job .t1c-apply-now-button{
    position: sticky;
    top: 110px;
    z-index: 20;
}

@media(max-width:768px){
    .single-t1c_job .t1c-apply-now-button{
        position: static;
        top: auto;
        width: 100%;
    }
}

/* =========================
   JOBS EMPTY STATE
========================= */

.t1c-no-jobs{
    max-width: 760px;
    margin: 70px auto 90px;
    padding: 44px 34px;
    text-align: center;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid var(--t1c-border);
    box-shadow: 0 18px 50px rgba(36,24,32,.08);
    color: var(--t1c-text);
}

.t1c-no-jobs::before{
    content: "No active openings";
    display: block;
    margin-bottom: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    color: var(--t1c-heading);
}

