/* Keep the site's existing green/cream identity and fonts. */
body.zem-journey a:focus-visible,
body.zem-journey button:focus-visible,
body.zem-journey summary:focus-visible {
    outline: 3px solid #58732d;
    outline-offset: 3px;
}
body.zem-journey input, body.zem-journey select, body.zem-journey textarea {
    scroll-margin-block: 100px;
}
body.zem-journey .zem-category-status { clear: both; margin: 8px 0 16px 170px; line-height: 1.55; color: #435331; font-size: 14px; }
body.zem-journey .zem-category-status:empty { margin-bottom: 0; }
body.zem-journey .zem-category-status p { margin: 0 0 8px; }
body.zem-journey .zem-category-retry {
    min-height: 44px; padding: 10px 16px; border: 1px solid #58732d; border-radius: 8px;
    background: #f7f8f2; color: #34491b; font: inherit; font-weight: 600; cursor: pointer;
}
body.zem-journey .zem-category-label { display: block; margin: 16px 0 8px; font-weight: 600; }
body.zem-journey #getcat:disabled { opacity: .6; cursor: wait; }
body.zem-journey #getcat[aria-busy="false"]:disabled { cursor: not-allowed; }
body.zem-journey #ad-categories select { max-width: 100%; }
/* ClassiPress hides .childCategory until its old slideDown() runs. The new
   renderer inserts complete controls directly, including a label above them. */
body.zem-journey #ad-categories .childCategory {
    display: flow-root;
    height: auto;
    clear: both;
}
body.zem-journey .zem-optional-fields summary,
body.zem-journey .zem-home-news-disclosure > summary {
    cursor: pointer; padding: 14px 0; min-height: 44px; box-sizing: border-box; color: #3d5325; font-weight: 600;
}
body.zem-journey .zem-optional-fields { border-top: 1px solid #e8e4dc; }
body.zem-journey .zem-home-news-disclosure > summary { display: none; }
body.zem-journey .zem-existing-account { clear: both; margin: 12px 0 !important; }
body.zem-journey .zem-existing-account a { display: inline-block; min-height: 44px; padding: 10px 0; box-sizing: border-box; }
body.zem-journey .form_contact label { cursor: pointer; }
body.zem-journey .form_step label.error,
body.zem-journey .form_edit label.error { color: #9d2c25 !important; font-size: 14px !important; clear: both; }
body.zem-journey .zem-job-link { padding: 16px; background: #fff; border-radius: 8px; }

@media (max-width: 600px) {
    body.zem-journey .header_top { display: none !important; }
    body.zem-journey .header_main_res { padding: 10px 16px !important; min-height: 0 !important; }
    body.zem-journey .header_main, body.zem-journey .header_main_bg { min-height: 0 !important; }
    body.zem-journey .header_main_bg { padding: 0 !important; }
    body.zem-journey #logo { margin: 0 !important; padding: 0 !important; float: none; }
    body.zem-journey #logo .header-logo { width: 260px !important; max-width: 100% !important; height: auto !important; }
    body.zem-journey #logo .description { display: none !important; }
    body.zem-journey .header_menu_res { display: flex; align-items: center; gap: 10px; padding: 8px 16px !important; }
    body.zem-journey .header_menu_res .clr { display: none; }
    body.zem-journey .header_menu_res select.tinynav { flex: 1; min-width: 0; width: auto !important; margin: 0 !important; height: 46px !important; font-size: 16px !important; }
    body.zem-journey .header_menu_res .obtn { float: none !important; min-height: 46px !important; padding: 12px 14px !important; margin: 0 !important; box-sizing: border-box; white-space: nowrap; font-size: 14px !important; }
    body.zem-journey .zem-category-status { margin-left: 0; font-size: 15px; }
    body.zem-journey .zem-category-status button { width: 100%; }
    body.zem-journey .form_step input[type="submit"], body.zem-journey .form_edit input[type="submit"] { font-size: 16px !important; }
    body.zem-journey .zem-home-news-disclosure { margin: 0 0 16px; border: 1px solid #e8e4dc; border-radius: 9px; background: #fff; }
    body.zem-journey .zem-home-news-disclosure > summary { display: list-item; margin-left: 32px; padding-right: 14px; font-size: 16px; }
    body.zem-journey .zem-home-news-disclosure .zem-home-news-block { margin-bottom: 0; }
    body.zem-journey.home #directory { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
    body.zem-journey.home #directory > .catcol,
    body.zem-journey.home #directory > .catcol > .maincat-list { display: contents !important; }
    body.zem-journey.home #directory .maincat { margin: 0 !important; padding: 0 !important; border: 0 !important; min-width: 0; }
    body.zem-journey.home #directory .maincat > a { display: flex; align-items: center; min-height: 56px; padding: 9px 10px; height: 100%; box-sizing: border-box; font-size: 13px !important; line-height: 1.4; text-transform: none !important; background: #f5f6ee; border-radius: 7px; overflow-wrap: anywhere; }
    body.zem-journey.home #directory > .clr { display: none; }
    body.zem-journey .content h1, body.zem-journey .content h2 { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
    body.zem-journey .zem-cta__btn, body.zem-journey .zem-news-card { transition: none !important; transform: none !important; }
    html { scroll-behavior: auto !important; }
}
