.job-hero { position: relative; padding-top: 320px; }
.job-hero > .hero-bg { position: absolute; inset: 0; width: 100%; height: 380px; object-fit: cover; }
.job-card-main { position: relative; background: white; padding: 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.job-card-left { flex: 1; min-width: 0; }
.job-card-main h2 { font-size: 32px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.location-text { font-size: 20px; color: #667784; margin-top: 12px; }
.job-card-right { display: flex; align-items: center; gap: 24px; }
.separator { height: 48px; width: 1px; background: var(--egor-navy); }
.apply-btn,
.cta-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; border-radius: 999px; background: var(--egor-lime); color: var(--egor-navy); font-weight: 600; cursor: pointer; }
.apply-btn:hover,
.cta-btn:hover { background: var(--egor-green); }
.apply-btn:disabled,
.cta-btn:disabled { background: var(--egor-surface); cursor: not-allowed; color: #667784; }
.apply-btn-wrapper { position: relative; display: inline-flex; }
.apply-btn-wrapper[data-tooltip]:hover::after { content: attr(data-tooltip); position: absolute; bottom: calc(100% + 8px); right: 0; padding: 8px; width: 240px; background: var(--egor-navy); color: white; font-size: 12px; }
.job-inactive-banner { flex-basis: 100%; }
.share-dropdown { position: relative; }
.share-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.share-btn img { width: 24px; height: 24px; }
.share-dropdown-menu { position: absolute; top: 100%; right: 0; min-width: 200px; padding: 8px; background: white; border: 1px solid var(--egor-surface); box-shadow: 0 8px 24px #002b491a; z-index: 20; }
.share-dropdown-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; }
.share-dropdown-menu img,
.share .icons img { width: 24px; height: 24px; }
.share-dropdown-menu a:hover { background: var(--egor-surface); }
.job-details { padding-block: 48px 80px; }
.job-details > .maxWidthSite { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; }
.job-details .left { min-width: 0; }
.job-details .block { margin-bottom: 40px; }
.job-details h3 { font-size: 30px; font-weight: 600; margin-bottom: 24px; }
.job-rich-content { font-size: 15px; font-weight: 300; overflow-wrap: anywhere; }
.job-rich-content p { margin-bottom: 16px; }
.job-rich-content ul,
.job-rich-content ol { padding-left: 24px; margin-bottom: 16px; }
.job-rich-content ul { list-style: disc; }
.job-rich-content ol { list-style: decimal; }
.job-rich-content a { text-decoration: underline; }
.job-rich-content img { max-width: 100%; height: auto; }
.job-details .right > div { margin-bottom: 32px; }
.job-details .right h3 { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.details-box p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 12px; background: var(--egor-green); color: white; border-radius: 999px; font-size: 13px; }
.tags.outlined span { border: 1px solid var(--egor-navy); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.reference p { font-size: 14px; overflow-wrap: anywhere; }
.share .icons { display: flex; gap: 16px; }
.cta-btn { margin-top: 32px; }

@media (max-width: 768px) {
    .job-hero { padding-top: 220px; }
    .job-hero > .hero-bg { height: 280px; }
    .job-card-main { padding: 24px 20px; }
    .job-card-left { flex-basis: 100%; }
    .job-card-main h2 { font-size: 26px; }
    .location-text { font-size: 16px; }
    .job-details > .maxWidthSite { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .job-details h3 { font-size: 26px; }
}

/* Align the offer header and detail rail with the Egor wireframe. */
.site-egor .job-card-main { padding: 28px 48px; }
.site-egor .job-details > .maxWidthSite { padding-inline: 80px; }
.site-egor .job-details .right h4,
.site-egor .reference > span { display: block; font-size: 20px; font-weight: 600; color: var(--egor-navy); margin-bottom: 16px; }
.site-egor .details-box ul { list-style: none; padding: 0; }
.site-egor .details-box li { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; font-size: 13px; line-height: 1.5; }
.site-egor .details-box li span { color: #667784; }
.site-egor .details-box li b { font-weight: 500; }
.site-egor .reference > b { display: block; font-size: 13px; font-weight: 400; color: #667784; overflow-wrap: anywhere; }
.site-egor .job-card-main.is-sticky { position: fixed; top: var(--egor-job-header-top, 96px); left: var(--egor-job-header-left); width: var(--egor-job-header-width); z-index: 90; box-shadow: 0 6px 20px #002b491a; }
@media (max-width: 768px) {
    .site-egor .job-card-main { padding: 20px; }
    .site-egor .job-details > .maxWidthSite { padding-inline: 20px; }
}

.site-egor .share > p { margin-bottom: 16px; color: var(--egor-navy); font-size: 15px; font-weight: 600; }
.site-egor .share .icons a,
.site-egor .share-dropdown-menu a { color: var(--egor-green); }
.site-egor .share svg { display: block; width: 36px; height: 36px; }
.site-egor .share-dropdown-menu svg { width: 24px; height: 24px; flex-shrink: 0; }
.site-egor .share .icons a:focus-visible { outline: 2px solid var(--egor-green); outline-offset: 4px; border-radius: 50%; }
