/* Existing live TLF dimensions, palette, type and icons; page-specific output only. */
.et-l--header .et_pb_sticky .et_pb_menu .et-menu > li.menu-item-588 > a { color: #040404 !important; }

body.home.page-id-67 #main-content .tlf-polish-home-hero { padding: 92px 0 30px !important; }
body.home.page-id-67 #main-content .tlf-polish-home-hero > .et_pb_row { padding: 0 !important; }
body.home.page-id-67 #main-content .tlf-polish-home-hero .et_pb_bottom_inside_divider { height: 24px !important; background-size: 100% 24px !important; }
body.home.page-id-67 #main-content #marketplace { padding: 24px 0 16px !important; }
body.home.page-id-67 #main-content #marketplace > .et_pb_row { padding: 0 !important; }
body.home.page-id-67 #main-content .tlf-polish-marketplace { padding: 16px 0 20px !important; }
body.home.page-id-67 #main-content .tlf-polish-get-started-section { padding: 16px 0 28px !important; }
body.home.page-id-67 #main-content .tlf-polish-marketplace > .et_pb_row,
body.home.page-id-67 #main-content .tlf-polish-get-started-section > .et_pb_row {
    width: 90% !important; max-width: 1440px !important; margin: 0 auto !important; padding: 0 !important;
    transform: none !important; animation: none !important; opacity: 1 !important;
}
body.home.page-id-67 #main-content .tlf-polish-get-started { margin-bottom: 20px; }
body.home.page-id-67 #main-content .tlf-polish-get-started-section .et_pb_text { margin-bottom: 0 !important; }
/* Verified section 4 contains only the two superseded HOME promos, never Partners/footer. */
body.home.page-id-67 #main-content .et_pb_section_4 { display: none !important; }
body.home #main-content .tlf-marketplace-counts { width: 100%; justify-content: center; gap: 10px; margin: 12px 0 18px; }
.tlf-ux-home-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
body.home #main-content .tlf-ux-home-actions .et_pb_button_module_wrapper { display: block; margin: 0 !important; }
body.home #main-content .tlf-ux-home-actions a.et_pb_button {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    height: 52px !important; margin: 0 !important; padding: 0 20px !important; font-size: 16px !important; line-height: 1.7 !important;
}
#main-content .tlf-polish-card .tlf-ux-card-icon { display: block; color: #866300; font: 900 28px/1 FontAwesome; margin-bottom: 16px; }
#main-content .tlf-polish-card .tlf-ux-card-icon--company { font-family: ETmodules; font-weight: 400; }

/* Shared compact vertical rhythm, with natural height for different title lengths. */
body:is(.page-id-234,.page-id-1772,.page-id-244,.page-id-586) #main-content .tlf-standard-hero { padding-top: 74px !important; padding-bottom: 22px !important; }
body:is(.page-id-234,.page-id-1772,.page-id-244,.page-id-586,.page-id-793) #main-content h1 { text-transform: none !important; }
body.page-id-586 #main-content .tlf-blog-toolbar { margin-top: 12px; }
body.page-id-586 #main-content .tlf-standard-hero .et_pb_text { margin-bottom: 0 !important; }
body.page-id-793 #main-content .tlf-polish-about-body { padding-top: 24px !important; }
body.page-id-793 #main-content .tlf-polish-about-body > .et_pb_row { padding-top: 0 !important; }
body.page-id-793 #main-content .tlf-polish-about-copy { margin-left: 0; margin-right: 0; max-width: 900px; }
body.page-id-793 #main-content a.tlf-ux-about-contact {
    display: inline-flex; align-items: center; justify-content: center; font-family: 'PT Sans', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 16px !important; font-weight: 700; line-height: 1.7 !important; letter-spacing: 1px; text-transform: uppercase;
    padding: .3em 1em !important; border: 0 !important; border-radius: 2px !important; color: #fff !important; background: #866300 !important; text-decoration: none !important;
}
body.page-id-793 #main-content a.tlf-ux-about-contact:hover { background: #878c91 !important; }

.tlf-company-toolbar { display: flex; align-items: flex-start; gap: 24px; width: 100%; margin: 12px 0 0; }
.tlf-company-toolbar > .et_pb_button_module_wrapper { flex: 0 0 auto; margin: 0 !important; }
body.page-id-1772 .tlf-company-toolbar .tlf-company-search { position: static !important; transform: none !important; width: auto !important; max-width: 640px; flex: 1 1 580px; margin: 0; }
.tlf-company-search .tlf-vacancy-search__control { display: flex; align-items: stretch; }
.tlf-company-search .tlf-vacancy-search__field { flex: 1 1 auto; width: 100%; min-width: 0; border-radius: 2px 0 0 2px; }
.tlf-company-search .tlf-vacancy-search__field,
body.page-id-1772 #main-content .tlf-company-toolbar a.et_pb_button,
body.page-id-1772 #main-content .tlf-company-toolbar button.et_pb_button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 52px !important; min-height: 52px !important; max-height: 52px !important; margin: 0 !important; font-size: 16px !important; line-height: 1.7 !important; }
body.page-id-1772 #main-content .tlf-company-toolbar button.et_pb_button { flex: 0 0 auto; padding: 0 18px !important; border-radius: 0 2px 2px 0 !important; }
body.page-id-1772 #main-content .reset-filters.tlf-company-reset-active { display: inline-block !important; }
@media (max-width: 980px) {
    body:is(.page-id-234,.page-id-1772,.page-id-244,.page-id-586) #main-content .tlf-standard-hero { padding-top: 72px !important; padding-bottom: 28px !important; }
    .tlf-company-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
    .tlf-company-toolbar > .et_pb_button_module_wrapper { align-self: flex-start; }
    body.page-id-1772 .tlf-company-toolbar .tlf-company-search { flex: none; width: 100% !important; max-width: none; }
    .tlf-company-search .tlf-vacancy-search__field { padding: 14px 10px !important; }
    .tlf-company-search .tlf-vacancy-search__icon { display: none; }
}
@media (max-width: 767px) {
    body.home #main-content .tlf-marketplace-counts { gap: 8px; font-size: 16px; }
    .tlf-ux-home-actions { gap: 12px; }
    body.home #main-content .tlf-ux-home-actions a.et_pb_button { font-size: 14px !important; padding: 0 14px !important; }
}

/* v1.0.85: only the eight authorised aftercare points. */
body.home.page-id-67 #main-content .tlf-marketplace-counts,
body.home.page-id-67 #main-content .tlf-ux-home-actions {
    position: static !important; float: none !important; transform: none !important;
    width: 100% !important; max-width: none !important; box-sizing: border-box;
    margin-left: 0 !important; margin-right: 0 !important; justify-content: center !important;
}
body.home.page-id-67 #main-content .tlf-ux-home-actions > .et_pb_button_module_wrapper {
    flex: 0 0 auto; width: auto !important; float: none !important; padding: 0 !important;
}
body.page-id-234 #main-content .tlf-vacancy-search__control { display: flex; align-items: stretch; }
body.page-id-234 #main-content .tlf-vacancy-search__field { flex: 1 1 auto; width: 100%; min-width: 0; border-radius: 2px 0 0 2px; height: 52px !important; box-sizing: border-box; }
body.page-id-234 #main-content .tlf-job-search-button {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; box-sizing: border-box;
    height: 52px !important; min-height: 52px !important; margin: 0 !important; padding: 0 18px !important;
    border: 0 !important; border-radius: 0 2px 2px 0 !important; background: #866300 !important;
    color: #fff !important; font-size: 16px !important; line-height: 1.7 !important;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
}
body.page-id-234 #main-content .tlf-job-search-button:hover { background: #878c91 !important; }
body.tlf-jobs-page .tlf-jobs-results-column::before { content: "Jobs"; }
body.page-id-586 #main-content .tlf-ux-blogs-intro { box-sizing: border-box; max-width: 1080px; margin: 14px auto 10px; text-align: left; padding: 19px 24px 21px; background: #fff; border: 1px solid #e1e4e6; box-shadow: 0 4px 14px rgba(32,36,40,.08); }
body.page-id-586 #main-content .tlf-ux-blogs-intro > .tlf-blog-description { margin: 12px 0 0; max-width: 850px; color: #30343a; font-size: 18px; line-height: 1.65; }
.et-l--footer .tlf-ux-footer-links { clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; width: 100%; padding-top: 24px; }
.et-l--footer .tlf-ux-footer-links .tlf-polish-footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; font-size: 16px; }
.et-l--footer .tlf-ux-footer-links a { white-space: nowrap; }
/* The existing partner row is the shared track; existing columns are its items. */
.et-l--footer .et_pb_row_0_tb_footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 48px; padding: 24px 0 !important; }
.et-l--footer .et_pb_row_0_tb_footer > .et_pb_column { float: none; flex: 1 1 180px; max-width: 300px; width: auto !important; margin: 0 !important; padding: 0 !important; }
.et-l--footer .et_pb_row_0_tb_footer .et_pb_image { width: 100%; margin: 0 !important; padding: 0 !important; text-align: center; }
.et-l--footer .et_pb_row_0_tb_footer .et_pb_image a,
.et-l--footer .et_pb_row_0_tb_footer .et_pb_image_wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; margin: 0 !important; padding: 0 !important; }
.et-l--footer .et_pb_row_0_tb_footer .et_pb_image img { display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 64px !important; object-fit: contain; margin: 0 !important; }
@media (min-width: 981px) { .et-l--footer .tlf-ux-footer-links, .et-l--footer .tlf-ux-footer-links .tlf-polish-footer-nav { flex-wrap: nowrap; } }
@media (max-width: 980px) { .et-l--footer .et_pb_row_0_tb_footer { gap: 20px 24px; } }
@media (max-width: 767px) {
    body.page-id-234 #main-content .tlf-vacancy-search__field { padding: 14px 10px !important; }
    body.page-id-234 #main-content .tlf-vacancy-search__icon { display: none; }
    .et-l--footer .tlf-ux-footer-links, .et-l--footer .tlf-ux-footer-links .tlf-polish-footer-nav { gap: 10px 16px; }
}
