/* V41 · Task 16: «Oficios» inside Empleo. Same tokens as Empleo and the directory; the job and listing cards keep their
   own styles (jobs.css, directory). Mobile first. */
.lbe-of-page .lbe-of-hero { padding-bottom: clamp(26px, 3.4vw, 44px); }
.lbe-of-hero-row { display: grid; gap: 22px 40px; align-items: center; }
@media (min-width: 861px) { .lbe-of-hero.is-trade .lbe-of-hero-row { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); } }
.lbe-of-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.lbe-of-hero .btn--secondary { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .62); --btn-bg-hover: rgba(255, 255, 255, .1); color: #fff; }
.lbe-of-hero-pro { margin: 14px 0 0; font-size: var(--t-small, .875rem); }
.lbe-of-hero-pro a, .lbe-of-hero-alt { color: var(--c-on-deep-2, #d6e4ea); }
.lbe-of-hero-pro a { text-decoration: underline; text-underline-offset: 3px; }
.lbe-of-hero-alt { margin-top: 10px; font-size: var(--t-small, .875rem); }
.lbe-of-hero-img { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 18px; background: var(--c-teal-50, #e7f2f3); }
.lbe-of-hero-img img, .lbe-of-hero-img picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.lbe-of-hero-img .lbe-of-art { width: 100%; height: 100%; }

/* Calm drawing when there is no photo: the group's icon on a light tint. */
.lbe-of-art { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(145deg, var(--c-teal-50, #e7f2f3), #f6f9fa); color: var(--c-teal-700, #105a63); }
.lbe-of-art svg { width: clamp(48px, 30%, 84px); height: auto; }
.lbe-of-art.is-hosteleria, .lbe-of-art.is-cuidados { background: linear-gradient(145deg, var(--c-gold-50, #fdf6e3), #fbfaf6); color: var(--c-gold-ink, #6b4d00); }

.lbe-of { display: grid; gap: clamp(28px, 4vw, 44px); margin-top: var(--sp-5, 24px); }
.lbe-of h2 { margin: 0 0 14px; color: var(--c-ink, #14243a); font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); line-height: 1.2; }
.lbe-of-empty { margin: 0; color: var(--c-text-2, #44566a); }
.lbe-of-more { margin: 14px 0 0; font-size: var(--t-small, .875rem); }
.lbe-of-now { margin: 0; color: var(--c-text-2, #44566a); font-size: 1.0625rem; }

/* Search: trade and city. */
.lbe-of-search { display: grid; gap: 12px; align-items: end; padding: 18px; border: 1px solid var(--c-line, #dce3e9); border-radius: 18px; background: #fff; box-shadow: var(--e-1, 0 1px 2px rgba(20, 36, 58, .06)); }
@media (min-width: 720px) { .lbe-of-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }
.lbe-of-search .btn { min-height: 48px; }

/* Trades by group. */
.lbe-of-group-t { margin: 22px 0 10px; color: var(--c-text-2, #44566a); font-size: .9375rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.lbe-of-group-t:first-of-type { margin-top: 0; }
.lbe-of-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lbe-of-card a { display: grid; height: 100%; overflow: hidden; border: 1px solid var(--c-line, #dce3e9); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; box-shadow: var(--e-1, 0 1px 2px rgba(20, 36, 58, .06)); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) and (pointer: fine) { .lbe-of-card a:hover { border-color: var(--c-teal, #176b76); box-shadow: var(--e-2, 0 8px 22px -12px rgba(20, 36, 58, .3)); transform: translateY(-2px); } }
.lbe-of-card a:focus-visible, .lbe-of-cities a:focus-visible, .lbe-of-related a:focus-visible, .lbe-of-faq summary:focus-visible { outline: var(--focus-ring, 3px solid #14243a); outline-offset: 3px; }
.lbe-of-card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-teal-50, #e7f2f3); }
.lbe-of-card-img img, .lbe-of-card-img picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.lbe-of-card-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.lbe-of-card-body strong { color: var(--c-ink, #14243a); font-size: 1.0625rem; line-height: 1.25; }
.lbe-of-card-alt { color: var(--c-text-3, #5b6b7d); font-size: .8125rem; }
.lbe-of-card-n { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lbe-of-card-n span { padding: 3px 9px; border-radius: 999px; background: var(--c-sunken, #f3f6f8); color: var(--c-text-2, #44566a); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Legal ways, trust and questions. */
.lbe-of-legal ul, .lbe-of-trust ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .lbe-of-legal ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lbe-of-legal li { padding: 16px 18px; border: 1px solid var(--c-line, #dce3e9); border-left: 4px solid var(--c-teal, #176b76); border-radius: 14px; background: #fff; }
.lbe-of-legal li.is-dienstencheques { border-left-color: var(--c-gold, #ebad17); }
.lbe-of-legal h3 { margin: 0 0 6px; color: var(--c-ink, #14243a); font-size: 1rem; line-height: 1.3; }
.lbe-of-legal p { margin: 0; color: var(--c-text-2, #44566a); font-size: .9375rem; line-height: 1.55; }
.lbe-of-trust li { position: relative; padding-left: 28px; color: var(--c-text-2, #44566a); line-height: 1.55; }
.lbe-of-trust li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--c-teal, #176b76); border-bottom: 2px solid var(--c-teal, #176b76); transform: rotate(-45deg); }
.lbe-of-faq details { border-bottom: 1px solid var(--c-line, #dce3e9); }
.lbe-of-faq summary { padding: 14px 0; color: var(--c-ink, #14243a); font-weight: 650; cursor: pointer; }
.lbe-of-faq details p { margin: 0 0 14px; color: var(--c-text-2, #44566a); line-height: 1.6; }

/* Cities and related trades as chips. */
.lbe-of-cities p, .lbe-of-related p { margin: 0 0 8px; color: var(--c-ink, #14243a); font-weight: 700; }
.lbe-of-cities ul, .lbe-of-related ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lbe-of-cities a, .lbe-of-related a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--c-line, #dce3e9); border-radius: 999px; background: #fff; color: var(--c-ink, #14243a); font-size: .875rem; text-decoration: none; }
.lbe-of-cities a span { color: var(--c-teal-700, #105a63); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .lbe-of-cities a:hover, .lbe-of-related a:hover { border-color: var(--c-teal, #176b76); } }
@media (prefers-reduced-motion: reduce) { .lbe-of-card a { transition: none; } .lbe-of-card a:hover { transform: none; } }
body .lbe-directory-page.site-main .lbe-of-hero.is-trade h1 { font-size: clamp(1.875rem, 1.25rem + 2.4vw, 3.25rem); line-height: 1.08; } /* A trade's heading is long: «Plomero o plomera (fontanero) en Bélgica: profesionales y empleo». */
/* Phones: 22 trades as compact rows (picture on the left), not 22 tall cards. */
@media (max-width: 559px) {
  .lbe-of-grid { gap: 10px; }
  .lbe-of-card a { grid-template-columns: 92px minmax(0, 1fr); align-items: stretch; }
  .lbe-of-card-img { aspect-ratio: auto; min-height: 92px; }
  .lbe-of-card-body { padding: 10px 12px; align-content: center; }
  .lbe-of-card-body strong { font-size: 1rem; }
  .lbe-of-card .lbe-of-art svg { width: 38px; }
}

/* Publication 3 · «Necesito a alguien» and «Soy profesional» (oficios-forms.php): a card with a tinted head (eyebrow,
   title, three steps), numbered groups of fields and the promises beside the button. Same tokens as Empleo. */
.lbe-tr { overflow: hidden; border: 1px solid var(--c-line, #dce3e9); border-radius: 20px; background: var(--c-white, #fff); box-shadow: 0 18px 40px -28px rgba(14, 44, 67, .35), var(--e-1, 0 1px 2px rgba(20, 36, 58, .06)); scroll-margin-top: 90px; }
.lbe-tr-head { padding: clamp(22px, 3.4vw, 36px) clamp(20px, 3.4vw, 40px) clamp(20px, 3vw, 30px); background: linear-gradient(160deg, var(--c-teal-50, #e7f2f3) 0%, #f7fafb 70%); border-bottom: 1px solid var(--c-line, #dce3e9); }
.lbe-tr.is-pro .lbe-tr-head { background: linear-gradient(160deg, var(--c-gold-50, #fdf6e3) 0%, #fbfaf6 70%); }
.lbe-tr-eyebrow { display: inline-flex; align-items: center; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--c-white, #fff); color: var(--c-teal-700, #105a63); font-size: .8125rem; font-weight: 700; letter-spacing: .02em; }
.lbe-tr.is-pro .lbe-tr-eyebrow { color: var(--c-gold-ink, #6b4d00); }
.lbe-of .lbe-tr h2 { margin: 0 0 8px; }
.lbe-tr-lead { max-width: 60ch; margin: 0; color: var(--c-text-2, #44566a); font-size: 1.0625rem; line-height: 1.55; }
.lbe-tr-steps { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 760px) { .lbe-tr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.lbe-tr-steps li { display: flex; align-items: center; gap: 12px; color: var(--c-ink, #14243a); font-weight: 600; line-height: 1.35; }
.lbe-tr-step-n { display: inline-grid; flex: 0 0 auto; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-teal-700, #105a63); color: #fff; font-size: .875rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lbe-tr.is-pro .lbe-tr-step-n { background: var(--c-ink, #14243a); }
.lbe-tr > .lbe-tr-answer, .lbe-tr > .lbe-tr-preview, .lbe-tr > .lbe-tr-titres { margin: 20px clamp(20px, 3.4vw, 40px) 0; }
.lbe-tr .lbe-tr-preview { border-style: solid; font-size: .875rem; }
.lbe-tr-form { display: grid; gap: 22px; padding: clamp(20px, 3.4vw, 40px); }
.lbe-tr-req { margin: 0; color: var(--c-text-2, #44566a); font-size: .8125rem; }

/* Numbered groups. The theme styles every .site-main label, legend and fieldset for long forms (lbe-core.css): .lbe-tr
   keeps these compact. */
.lbe-tr fieldset.lbe-tr-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.lbe-tr .lbe-tr-group > legend { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 14px; padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--c-line, #dce3e9); color: var(--c-ink, #14243a); font: 750 1.0625rem/1.3 var(--f-text, inherit); }
.lbe-tr .lbe-tr-group > legend .lbe-tr-step-n { width: 26px; height: 26px; font-size: .8125rem; }
.lbe-tr-grid { display: grid; gap: 16px 20px; }
@media (min-width: 720px) { .lbe-tr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lbe-tr-grid > .is-wide { grid-column: 1 / -1; } }
.lbe-tr-field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.lbe-tr .lbe-tr-field > label, .lbe-tr .lbe-tr-field > legend { width: auto; margin: 0; padding: 0; border: 0; color: var(--c-ink, #14243a); font: 700 .9375rem/1.4 var(--f-text, inherit); }
.lbe-tr fieldset.lbe-tr-field { margin: 0; }
.lbe-tr fieldset.lbe-tr-field > legend { margin-bottom: 8px; }
.lbe-tr-field input:not([type="checkbox"]):not([type="radio"]), .lbe-tr-field select, .lbe-tr-field textarea { box-sizing: border-box; width: 100%; min-height: 50px; margin: 0; padding: 11px 14px; border: 1px solid var(--c-border, #c9d3dc); border-radius: 12px; background: #fbfcfd; color: var(--c-ink, #14243a); font: inherit; font-size: 1rem; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.lbe-tr-field textarea { min-height: 128px; line-height: 1.55; resize: vertical; }
.lbe-tr-field ::placeholder { color: #8796a5; }
@media (hover: hover) { .lbe-tr-field input:hover:not(:focus), .lbe-tr-field select:hover:not(:focus), .lbe-tr-field textarea:hover:not(:focus) { border-color: #9fb0bf; } }
.lbe-tr-field input:focus, .lbe-tr-field select:focus, .lbe-tr-field textarea:focus { border-color: var(--c-teal-700, #105a63); background: #fff; box-shadow: 0 0 0 4px rgba(16, 90, 99, .12); outline: none; }
.lbe-tr-field input:focus-visible, .lbe-tr-field select:focus-visible, .lbe-tr-field textarea:focus-visible, .lbe-tr input[type="checkbox"]:focus-visible, .lbe-tr input[type="radio"]:focus-visible { outline: var(--focus-ring, 3px solid #f2b705); outline-offset: 2px; }
.lbe-tr label > :is(input, select) { margin-top: 0; }
.lbe-tr-hint { margin: 0; color: var(--c-text-2, #44566a); font-size: .8125rem; line-height: 1.45; }

/* Choices as soft tiles: date, insurance. */
.lbe-tr-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.lbe-tr .lbe-tr-choices label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 0 16px; border: 1px solid var(--c-border, #c9d3dc); border-radius: 12px; background: #fbfcfd; color: var(--c-ink, #14243a); font-size: 1rem; font-weight: 500; cursor: pointer; }
.lbe-tr .lbe-tr-choices label:has(input:checked) { border-color: var(--c-teal-700, #105a63); background: var(--c-teal-50, #e7f2f3); }
.lbe-tr .lbe-tr-date { display: grid; gap: 6px; max-width: 260px; margin: 12px 0 0; font-weight: 700; font-size: .9375rem; }

/* Trades and languages. */
.lbe-tr-trades > div { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.lbe-tr .lbe-tr-trades label { display: flex; align-items: center; gap: 10px; min-height: 46px; margin: 0; padding: 6px 12px; border: 1px solid var(--c-line, #dce3e9); border-radius: 12px; background: #fbfcfd; color: var(--c-ink, #14243a); font-size: .9375rem; font-weight: 500; line-height: 1.3; cursor: pointer; }
.lbe-tr .lbe-tr-trades label:has(input:checked) { border-color: var(--c-teal-700, #105a63); background: var(--c-teal-50, #e7f2f3); }
.lbe-tr .lbe-tr-trades label:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.lbe-tr-langs > div { display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.lbe-tr .lbe-tr-langs label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; margin: 0; color: var(--c-ink, #14243a); font-size: 1rem; font-weight: 600; }
.lbe-tr-langs select { width: auto; min-width: 170px; }

/* Consents and the button with its promises. */
.lbe-tr-checks { display: grid; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #f5f8fa; }
.lbe-tr .lbe-tr-checks label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; color: var(--c-ink, #14243a); font-size: .9375rem; font-weight: 400; line-height: 1.5; cursor: pointer; }
.lbe-tr-checks input { width: 20px; height: 20px; margin: 2px 0 0; }
.lbe-tr-checks a { color: var(--c-teal-700, #105a63); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lbe-tr-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.lbe-tr-submit .btn { min-height: 52px; padding-inline: 28px; font-size: 1rem; }
@media (max-width: 559px) { .lbe-tr-submit .btn { width: 100%; justify-content: center; } }
.lbe-tr .btn[disabled] { opacity: .55; cursor: not-allowed; }
.lbe-tr-assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.lbe-tr-assure li { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-2, #44566a); font-size: .875rem; font-weight: 600; }
.lbe-tr-assure svg { color: var(--c-teal-700, #105a63); }
.lbe-tr-note { margin: 0; color: var(--c-text-2, #44566a); font-size: .8125rem; line-height: 1.5; }

/* Answer after sending, and the titres-services note. */
.lbe-tr-answer { padding: 14px 18px; border-radius: 12px; font-weight: 600; }
.lbe-tr-answer.is-ok { border: 1px solid #9fd3b4; background: #edf8f1; color: #14532d; }
.lbe-tr-answer.is-error { border: 1px solid #f0b4b4; background: #fdf0f0; color: #7f1d1d; }
.lbe-tr-titres { margin-bottom: clamp(20px, 3.4vw, 40px) !important; padding: 18px 20px; border-radius: 14px; background: var(--c-teal-50, #e7f2f3); }
.lbe-tr-titres h3 { margin: 0 0 6px; font-size: 1.0625rem; color: var(--c-ink, #14243a); }
.lbe-tr-titres p { margin: 0; color: var(--c-text-2, #44566a); }
.lbe-tr [hidden] { display: none !important; } /* Labels are flex or grid: keep the date hidden while «Fecha flexible». */
/* Hidden field for robots: off screen, not display:none (some robots skip those). */
.lbe-tr-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .lbe-tr-field input, .lbe-tr-field select, .lbe-tr-field textarea { transition: none; } }

/* Pictures of John's second package (31/10): the hub's mosaic, the legal ways, trust, an empty list and the form heads.
   The illustrations are on white: multiply blends them into tinted backgrounds. */
.lbe-of-mosaic { display: none; }
@media (min-width: 861px) {
  .lbe-of-hero:not(.is-trade) .lbe-of-hero-row { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); }
  .lbe-of-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 18px; }
  .lbe-of-mosaic span { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; box-shadow: 0 18px 36px -20px rgba(0, 0, 0, .6); }
  .lbe-of-mosaic span:nth-child(even) { transform: translateY(18px); }
  .lbe-of-mosaic picture, .lbe-of-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
}
.lbe-of-legal li:has(> .lbe-of-legal-img) { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.lbe-of-legal-img { display: block; width: 96px; aspect-ratio: 1; }
.lbe-of-legal-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 420px) { .lbe-of-legal li:has(> .lbe-of-legal-img) { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; } .lbe-of-legal-img { width: 72px; } }
.lbe-of-trust:has(> .lbe-of-trust-img) { display: grid; gap: 18px 40px; align-items: center; }
@media (min-width: 761px) { .lbe-of-trust:has(> .lbe-of-trust-img) { grid-template-columns: minmax(0, 1.3fr) minmax(220px, 1fr); } }
.lbe-of-trust-img { display: block; width: min(340px, 80%); justify-self: center; }
.lbe-of-trust-img img, .lbe-of-none-img img, .lbe-tr-head-img img { display: block; width: 100%; height: auto; }
.lbe-of-none { display: grid; gap: 12px 24px; align-items: center; padding: 18px; border: 1px dashed var(--c-line, #dce3e9); border-radius: 16px; background: #fbfcfd; }
@media (min-width: 600px) { .lbe-of-none { grid-template-columns: 190px minmax(0, 1fr); } }
.lbe-of-none-img { display: block; width: min(190px, 60%); justify-self: center; }
.lbe-of-none-img img { mix-blend-mode: multiply; }
.lbe-of-none p { margin: 0 0 12px; }
.lbe-of-none p:last-child { margin: 0; }
.lbe-tr-head { display: grid; gap: 16px 28px; align-items: center; }
@media (min-width: 900px) { .lbe-tr-head:has(> .lbe-tr-head-img) { grid-template-columns: minmax(0, 1fr) 280px; } }
.lbe-tr-head-img { display: block; width: min(280px, 100%); justify-self: center; }
.lbe-tr-head-img img { mix-blend-mode: multiply; }
@media (max-width: 899px) { .lbe-tr-head-img { order: -1; width: min(190px, 55%); } }
