/* TradesmanIreland profile and job page heads ([ti_profile_head], [ti_job_head]). Phone first; wider from 760px. */

.tilist {
  --ink: #111111;
  --yellow: #F3B800;
  --yellow-hi: #FFCF2E;
  --paper: #ffffff;
  --wash: #F6F5F1;
  --line: #D4D6DD;
  --soft: #575757;
  --focus: 0 0 0 3px rgba(243, 184, 0, .55);
  box-sizing: border-box;
  width: 100%;
  color: var(--ink);
  font-family: var(--e-global-typography-text-font-family, "Poppins"), system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
.tilist *, .tilist *::before, .tilist *::after { box-sizing: border-box; }
.tilist p { margin: 0; }
.tilist a:focus-visible { outline: 0; box-shadow: var(--focus); border-radius: 6px; }

.tilist h1 { margin: 0; padding: 0; font-size: clamp(28px, 7.4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; color: var(--ink); overflow-wrap: break-word; }
.tilist h2 { margin: 0 0 8px; padding: 0; font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.tilist .tilist-where { margin-top: 8px; font-size: 18px; font-weight: 500; color: var(--ink); }
.tilist .tilist-rev, .tilist .tilist-meta { margin-top: 4px; color: var(--soft); }
.tilist .tilist-rev strong { color: var(--ink); font-weight: 600; }

/* ---------- profile ---------- */

.tilist .tilist-cover { display: block; width: 100%; height: 150px; margin: 0 0 18px; object-fit: cover; border-radius: 12px; }
.tilist .tilist-id { display: flex; align-items: flex-start; gap: 16px; }
.tilist .tilist-id > div { min-width: 0; }
.tilist .tilist-logo { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }

.tilist .tilist-acts { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.tilist .tilist-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; border-radius: 12px; border: 2px solid var(--ink); color: var(--ink);
}
.tilist .tilist-btn-go { background: var(--yellow); border-color: var(--yellow); }
.tilist .tilist-btn-go:hover { background: var(--yellow-hi); border-color: var(--yellow-hi); color: var(--ink); }
.tilist .tilist-btn-line { background: var(--paper); }
.tilist .tilist-btn-line:hover { background: var(--wash); color: var(--ink); }

.tilist .tilist-trust { margin: 22px 0 0; padding: 16px; max-width: 80ch; border-left: 4px solid var(--ink); background: var(--wash); border-radius: 0 12px 12px 0; }
.tilist .tilist-trust p { font-size: 15px; color: var(--soft); }
.tilist .tilist-trust a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tilist .tilist-said { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.tilist .tilist-said li { margin: 0; padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); font-size: 15px; font-weight: 600; }

/* ---------- job ---------- */

.tilist .tilist-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.tilist .tilist-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.tilist .tilist-status-open { background: #E4F4E7; color: #14532D; }
.tilist .tilist-status-open::before { background: #1E8E3E; }
.tilist .tilist-status-closed { background: #ECECEC; color: #3D3D3D; }
.tilist .tilist-status-closed::before { background: #6B6B6B; }
.tilist .tilist-note { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--ink); background: var(--wash); color: var(--soft); }

/* Job template 2256: the quotes column is an empty white box until a quote or a photo exists. */
.elementor-element-4e49fb4c:not(:has(.elementor-widget)) { display: none !important; }

/* Closed jobs take no new quotes: the sticky bar and the two buttons in the job templates. */
body.ti-job-closed .elementor-element-63f34ca,
body.ti-job-closed .elementor-element-56f30d5,
body.ti-job-closed .elementor-element-2e6b1a98,
body.ti-job-closed .elementor-element-7fcc553,
body.ti-job-closed .elementor-element-420b15e7 { display: none !important; }

@media (min-width: 760px) {
  .tilist .tilist-cover { height: 260px; }
  .tilist .tilist-logo { flex-basis: 96px; width: 96px; height: 96px; }
  .tilist .tilist-id { gap: 22px; }
  .tilist .tilist-acts { flex-direction: row; flex-wrap: wrap; }
}
