/* Posao Theme: employer page and employer list, on the markup of HivePress and of the profile
   snippets (11624, 11648). Source: the accepted mockup. */

/* ---------- Employer page ---------- */
.hp-template--vendor-view-page .hp-page > .hp-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin: 0; }
.hp-template--vendor-view-page .hp-page__content, .hp-template--vendor-view-page .hp-page__sidebar { width: auto; max-width: none; padding: 0; flex: none; }
.hp-template--vendor-view-page .hp-page__content { order: 1; min-width: 0; }
.hp-template--vendor-view-page .hp-page__sidebar { order: 2; display: grid; gap: 14px; position: sticky; top: calc(var(--pt-header-h) + 16px); }

/* Side card: the name and logo are in the profile, so only facts and actions stay here */
.hp-template--vendor-view-page .hp-page__sidebar .hp-vendor__image, .hp-template--vendor-view-page .hp-page__sidebar .hp-vendor__name { display: none; }
.hp-template--vendor-view-page .hp-page__sidebar .hp-widget, .hp-template--vendor-view-page .hp-page__sidebar .hp-vendor__attributes--primary { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); padding: 16px; margin: 0; font-size: 14.5px; }
.hp-template--vendor-view-page .hp-page__sidebar .hp-vendor__attributes--primary:empty, .hp-template--vendor-view-page .hp-page__sidebar .hp-vendor__attributes:empty { display: none; }
.hp-template--vendor-view-page .hp-vendor__details { color: var(--pt-muted); font-size: 13px; }
.hp-template--vendor-view-page .hp-vendor__attributes .hp-row { display: grid; gap: 8px; margin: 10px 0 0; }
.hp-template--vendor-view-page .hp-vendor__attributes .hp-row > * { width: auto; max-width: none; padding: 0; }
.hp-template--vendor-view-page .hp-vendor__actions .button { width: 100%; }

/* Profile */
.hp-vendor-custom-profile { display: grid; gap: 20px; }
/* Without a cover picture the snippet prints a dark box; show the brand colour instead. */
.hp-vendor-hero { height: 220px; border-radius: var(--pt-radius); background-color: var(--pt-navy) !important; background-image: linear-gradient(135deg, var(--pt-navy-700), var(--pt-navy)); background-size: cover; background-position: center; overflow: hidden; }
.hp-vendor-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The logo overlaps the cover by 68px; the name always starts below the cover's edge,
   however many lines it takes (a long name used to run up over the cover). */
.hp-vendor-header-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; margin-top: -68px; padding: 0 20px; position: relative; }
.hp-vendor-logo-wrapper { position: relative; width: 96px; height: 96px; }
.hp-vendor-logo-wrapper img, .hp-vendor-logo-circle, .hp-vendor-logo-placeholder { width: 96px; height: 96px; border-radius: 20px; border: 4px solid var(--pt-surface); background: #fff; object-fit: contain; box-shadow: var(--pt-shadow); display: grid; place-items: center; font-weight: 800; font-size: 32px; color: var(--pt-navy); }
.hp-vendor-verified-badge { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--pt-ok); color: #fff; display: grid; place-items: center; border: 3px solid var(--pt-surface); font-size: 12px; }
.hp-vendor-verified-badge svg { width: 14px; height: 14px; fill: currentColor; }
.hp-vendor-title-section { padding-top: 78px; padding-bottom: 4px; min-width: 0; }
.hp-vendor-title-section h1 { font-size: clamp(22px, 2.8vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 6px; overflow-wrap: anywhere; }
.hp-vendor-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.hp-vendor-socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pt-border); background: var(--pt-surface); color: var(--pt-muted); display: grid; place-items: center; text-decoration: none; }
.hp-vendor-socials a:hover { border-color: var(--pt-navy); color: var(--pt-navy); }
.hp-vendor-socials svg { width: 16px; height: 16px; fill: currentColor; }

.hp-vendor-stats-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hp-v-card { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius-sm); padding: 14px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; box-shadow: var(--pt-shadow); }
.hp-v-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--pt-orange-50); color: var(--pt-orange-600); display: grid; place-items: center; }
.hp-v-content { font-size: 13px; color: var(--pt-muted); line-height: 1.3; min-width: 0; }
.hp-v-content strong, .hp-v-content b, .hp-v-content span { display: block; color: var(--pt-text); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }

.hp-vendor-custom-profile section > h2, .hp-vendor-custom-profile section > h3, .pt-emp__h2 { font-size: 20px; letter-spacing: -.02em; margin: 8px 0 12px; }
.pt-emp__h2 { margin-top: 28px; scroll-margin-top: calc(var(--pt-header-h) + 16px); }
.hp-vendor-about-section, .hp-vendor-media-videos, .hp-vendor-gallery-section, .hp-vendor-team-section, .hp-vendor-active-jobs { background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); padding: 20px; box-shadow: var(--pt-shadow); }
.hp-vendor-description-text { font-size: 16px; line-height: 1.7; }
.hp-vendor-description-text p { margin: 0 0 12px; }

.hp-video-main, .hp-video-sub-item { position: relative; border-radius: var(--pt-radius-sm); overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.hp-video-main iframe, .hp-video-sub-item iframe, .hp-video-main video, .hp-video-sub-item video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hp-video-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.hp-gallery-2col-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hp-gallery-item { display: block; border-radius: var(--pt-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pt-surface-2); }
.hp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hp-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.hp-team-card { border: 1px solid var(--pt-border); border-radius: var(--pt-radius-sm); padding: 14px; text-align: center; }
.hp-team-photo img, .hp-team-placeholder { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; background: var(--pt-navy-50); display: grid; place-items: center; font-weight: 800; color: var(--pt-navy); }
.hp-team-info h4 { margin: 0; font-size: 15px; }
.hp-team-info span { color: var(--pt-muted); font-size: 13px; }
.hp-team-actions { font-size: 13.5px; overflow-wrap: anywhere; }

/* The snippet's own short list of ads is hidden: HivePress's full list with pages follows right below it. */
.hp-vendor-active-jobs { display: none; }
.hp-jobs-list { display: grid; gap: 8px; }
.hp-job-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-sm); }
.hp-job-row:hover { border-color: var(--pt-orange); }
.hp-job-main a, .hp-job-main h4 { font-weight: 700; font-size: 15px; color: var(--pt-text); text-decoration: none; margin: 0; }
.hp-job-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--pt-muted); margin-top: 2px; }
.hp-job-btn { display: inline-flex; align-items: center; border-radius: var(--pt-pill); padding: 8px 14px; background: var(--pt-navy); color: #fff !important; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }

.hp-template--vendor-view-page .hp-page__content .hp-listings .hp-grid__item { width: 50%; max-width: 50%; flex: 0 0 50%; }

/* ---------- Employer list ---------- */
.pt-emp-head { flex-basis: 100%; margin-bottom: 16px; }
.pt-emp-head h1 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 6px; }
.pt-emp-head p { margin: 0; color: var(--pt-muted); max-width: 640px; }
.hp-template--vendors-view-page .hp-page__header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.hp-form--vendor-search { display: flex; gap: 8px; flex: 1; min-width: 240px; max-width: 520px; }
.hp-form--vendor-search .hp-form__fields { flex: 1; }
.hp-form--vendor-search .hp-form__field { margin: 0; }
.hp-form--vendor-search .hp-form__footer { margin: 0; }

.hp-v-card-new { display: flex; flex-direction: column; height: 100%; background: var(--pt-surface); border: 1px solid var(--pt-border); border-radius: var(--pt-radius); overflow: hidden; box-shadow: var(--pt-shadow); text-decoration: none; color: inherit; }
.hp-v-card-new:hover { border-color: var(--pt-navy); }
.hp-v-card-cover { position: relative; height: 96px; background-color: var(--pt-navy-50) !important; background-size: cover; background-position: center; }
.hp-v-card-badge { position: absolute; top: 10px; right: 10px; background: var(--pt-ok); color: #fff; border-radius: var(--pt-pill); padding: 2px 10px; font-size: 12px; font-weight: 700; }
.hp-v-card-logo-box { position: absolute; left: 16px; bottom: -24px; width: 56px; height: 56px; border-radius: 14px; border: 3px solid var(--pt-surface); background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: var(--pt-shadow); font-weight: 800; font-size: 20px; color: var(--pt-navy); }
.hp-v-card-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.hp-v-card-body { padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-v-card-title { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; }
.hp-v-card-desc { margin: 0; font-size: 13.5px; color: var(--pt-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-v-card-footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }
.hp-tag-recruitment, .hp-tag-inactive, .hp-tag-location { display: inline-flex; align-items: center; gap: 4px; border-radius: 6px; padding: 2px 8px; font-weight: 600; background: var(--pt-surface-2); color: var(--pt-muted); }
.hp-tag-recruitment { background: var(--pt-orange-50); color: var(--pt-orange-700); }

@media (max-width: 900px) {
	.hp-template--vendor-view-page .hp-page > .hp-row { grid-template-columns: 1fr; }
	.hp-template--vendor-view-page .hp-page__sidebar { position: static; }
	.hp-vendor-stats-cards { grid-template-columns: 1fr 1fr; }
	.hp-gallery-2col-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 47.99em) {
	.hp-vendor-hero { height: 150px; }
	.hp-vendor-header-row { grid-template-columns: 76px 1fr; gap: 12px; padding: 0 12px; margin-top: -48px; }
	.hp-vendor-title-section { padding-top: 56px; }
	.hp-vendor-title-section h1 { font-size: 20px; }
	.hp-vendor-logo-wrapper, .hp-vendor-logo-wrapper img, .hp-vendor-logo-circle, .hp-vendor-logo-placeholder { width: 76px; height: 76px; }
	.hp-video-sub-grid { grid-template-columns: 1fr; }
	.hp-job-row { grid-template-columns: 1fr; }
	.hp-template--vendor-view-page .hp-page__content .hp-listings .hp-grid__item { width: 100%; max-width: 100%; flex-basis: 100%; }
}

/* Contact lines of a recruiter (the snippet had these as inline styles) */
.hp-team-actions { margin-top: 15px; }
.hp-team-email, .hp-team-phone { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; color: var(--pt-muted); }
.hp-team-email a { color: inherit; text-decoration: none; }
.hp-team-email .pt-icon, .hp-team-phone .pt-icon { flex: none; width: 14px; height: 14px; }
