/* TRADE LAND recruit: published color palette (2026-11-15).
 * Applied on ordinary URLs too; ?color-preview=1 can temporarily override
 * individual settings without writing changes to WordPress.
 * Homepage accent #585555 and header #D32F2F already live in front-page.css
 * and common.css respectively.
 */

/* Footer: white background, red logo. The existing transparent PNG is used
 * as a CSS alpha mask so its proportions and image resource remain unchanged.
 * On modern Chrome, Safari and Firefox the mask applies in both desktop and mobile.
 */
.site-footer {
    background-color: #FFFFFF;
}
.site-footer .footer-brand {
    position: relative;
}
@supports ((-webkit-mask-image: url('../../img/footer-logo.png')) or (mask-image: url('../../img/footer-logo.png'))) {
    .site-footer .footer-brand .brand-logo {
        opacity: 0;
    }
    .site-footer .footer-brand::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-color: #D32F2F;
        -webkit-mask-image: url('../../img/footer-logo.png');
        mask-image: url('../../img/footer-logo.png');
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }
}

/* COMING SOON: black lettering/pin, steel blue illustration area. */
body.tradeland-recruit-front-page #about .location-planned-en,
body.tradeland-recruit-front-page #about .location-planned-pin {
    color: #202020;
}
body.tradeland-recruit-front-page #about .location-planned-jp {
    color: #202020;
}
body.tradeland-recruit-front-page #about .location-planned-visual {
    background: radial-gradient(circle at 82% 8%, rgba(255,255,255,.8), transparent 48%),
        linear-gradient(145deg, color-mix(in srgb, #4682B4 55%, white), #4682B4);
}
/* The lower caption portion of the COMING SOON card is white, without a dashed border. */
body.tradeland-recruit-front-page #about .location-card--planned {
    background-color: #FFFFFF;
    border-style: solid;
}

/* Recruitment form: outer area and main card. */
body.tradeland-recruit-front-page .recruit-form-section {
    background-color: #FFFFFF;
}
body.tradeland-recruit-front-page .recruit-form-section .recruit-form {
    background-color: #87CEEB;
}
body.tradeland-recruit-front-page .recruit-form-head h2,
body.tradeland-recruit-front-page .form-block-head h3,
body.tradeland-recruit-front-page .form-subtitle {
    color: #202020;
}
body.tradeland-recruit-front-page .recruit-form-section .form-eyebrow,
body.tradeland-recruit-front-page .recruit-form-section .form-lead,
body.tradeland-recruit-front-page .recruit-form-section .form-block-head p,
body.tradeland-recruit-front-page .recruit-form-section .form-row > label,
body.tradeland-recruit-front-page .recruit-form-section .form-actions > p,
body.tradeland-recruit-front-page .recruit-form-section .job-choice-control .wpcf7-list-item-label,
body.tradeland-recruit-front-page .recruit-form-section .upload-card strong {
    color: #202020;
}

/* Accent changes the number and control accents, not the step box or + box. */
body.tradeland-recruit-front-page .recruit-form-head h2 span,
body.tradeland-recruit-front-page .form-step {
    color: #202020;
}
body.tradeland-recruit-front-page .job-choice-control .wpcf7-list-item label::before {
    background-color: color-mix(in srgb, #202020 12%, white);
}
body.tradeland-recruit-front-page .recruit-form-section .form-step {
    background: #FFFFFF;
}

/* Upload +: white glyph, #585555 square and matching shadow in either state. */
body.tradeland-recruit-front-page .recruit-form-section .upload-icon {
    color: #FFFFFF;
    background: #585555;
    box-shadow: 0 10px 20px color-mix(in srgb, #585555 22%, transparent);
}
body.tradeland-recruit-front-page .recruit-form-section .upload-card.has-file .upload-icon,
body.tradeland-recruit-front-page .recruit-form-section .upload-item.has-file .upload-icon {
    color: #FFFFFF;
    background: #585555;
    box-shadow: 0 10px 20px color-mix(in srgb, #585555 20%, transparent);
}

body.tradeland-recruit-front-page .job-choice-control input[type="radio"]:checked {
    border-color: #202020;
    background-color: #202020;
}
body.tradeland-recruit-front-page .job-choice-control .wpcf7-list-item label:has(input:checked),
body.tradeland-recruit-front-page .upload-card.has-file {
    border-color: #202020;
    background: color-mix(in srgb, #202020 9%, white);
}
body.tradeland-recruit-front-page .upload-card:hover,
body.tradeland-recruit-front-page .form-row input:focus,
body.tradeland-recruit-front-page .form-row textarea:focus {
    border-color: #202020;
}

/* Editable fields and file/option backgrounds are white. */
body.tradeland-recruit-front-page .form-row input[type="text"],
body.tradeland-recruit-front-page .form-row input[type="email"],
body.tradeland-recruit-front-page .form-row input[type="tel"],
body.tradeland-recruit-front-page .form-row textarea,
body.tradeland-recruit-front-page .job-choice-control .wpcf7-list-item label,
body.tradeland-recruit-front-page .upload-card {
    background: #FFFFFF;
}
/* Preserve the selected state using the same accent + field blend as the preview. */
body.tradeland-recruit-front-page .job-choice-control .wpcf7-list-item label:has(input:checked),
body.tradeland-recruit-front-page .upload-card.has-file {
    background: color-mix(in srgb, #FFFFFF 90%, #202020);
}

/* Form borders and separators are white. */
body.tradeland-recruit-front-page .recruit-form-section .recruit-form,
body.tradeland-recruit-front-page .recruit-form-section .form-row input[type="text"],
body.tradeland-recruit-front-page .recruit-form-section .form-row input[type="email"],
body.tradeland-recruit-front-page .recruit-form-section .form-row input[type="tel"],
body.tradeland-recruit-front-page .recruit-form-section .form-row textarea,
body.tradeland-recruit-front-page .recruit-form-section .job-choice-control .wpcf7-list-item label,
body.tradeland-recruit-front-page .recruit-form-section .upload-card {
    border-color: #FFFFFF;
}
body.tradeland-recruit-front-page .recruit-form-section .form-block + .form-block,
body.tradeland-recruit-front-page .recruit-form-section .form-actions {
    border-top-color: #FFFFFF;
}

/* Submission button stays red with the same subtle gradient and shadow
 * used by the preview panel's selected color #D32F2F. */
body.tradeland-recruit-front-page .recruit-form-section .recruit-form .form-submit {
    background: linear-gradient(135deg, color-mix(in srgb, #D32F2F 74%, black), #D32F2F);
    box-shadow: 0 18px 34px color-mix(in srgb, #D32F2F 25%, transparent);
}
body.tradeland-recruit-front-page .recruit-form-section .recruit-form .form-submit:hover {
    box-shadow: 0 22px 38px color-mix(in srgb, #D32F2F 29%, transparent);
}
