/* Job detail page (careers/show).
   The views use Tailwind `prose` classes, but the typography plugin is not in the
   build, so rich text arrived unstyled: no bullets, no spacing. On top of that the
   global `body.antialiased section h2 { font-size: clamp(1.9rem, ..., 3rem); line-height: 1.12 }`
   rule blew every h2 up and squeezed the tall Lao glyphs into each other.
   Selectors use two classes so they outrank that (0,1,3) rule without !important wars. */

.kpg-job-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(17, 20, 24, .04);
}

@media (max-width: 640px) {
    .kpg-job-card {
        padding: 1.25rem 1.1rem;
        border-radius: .85rem;
    }
}

/* section titles: Job description / Requirements / Benefits */
.kpg-job .kpg-job-h {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 1.15rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid #f0f1f3;
    font-size: 1.3rem;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: 0;
    color: #1f2933;
}

.kpg-job .kpg-job-h::before {
    content: '';
    flex: none;
    width: 4px;
    height: 1.2em;
    border-radius: 4px;
    background: #ff632a;
}

/* rich text coming from the admin editor */
.kpg-job .prose {
    color: #3e4852;
    font-size: 1rem;
    line-height: 1.85;
}

.kpg-job .prose > :first-child {
    margin-top: 0;
}

.kpg-job .prose > :last-child {
    margin-bottom: 0;
}

.kpg-job .prose h1,
.kpg-job .prose h2,
.kpg-job .prose h3,
.kpg-job .prose h4 {
    margin: 1.7rem 0 .65rem;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0;
    color: #1f2933;
}

.kpg-job .prose p {
    margin: 0 0 .9rem;
    font-size: 1rem;
    line-height: 1.85;
}

/* a paragraph that is only a bold label acts as a sub-heading */
.kpg-job .prose p > strong:only-child {
    display: block;
    margin-top: 1.25rem;
    color: #d9480f;
}

.kpg-job .prose strong {
    font-weight: 700;
    color: #1f2933;
}

.kpg-job .prose ul,
.kpg-job .prose ol {
    margin: 0 0 1.1rem;
    padding: 0;
    list-style: none;
}

.kpg-job .prose li {
    position: relative;
    margin: .5rem 0;
    padding-left: 1.45rem;
    font-size: 1rem;
    line-height: 1.85;
}

.kpg-job .prose ul > li::before {
    content: '';
    position: absolute;
    left: .3rem;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff632a;
}

.kpg-job .prose ul ul {
    margin: .3rem 0 .4rem;
}

.kpg-job .prose ul ul > li::before {
    width: 6px;
    height: 6px;
    background: transparent;
    border: 1.5px solid #ff632a;
}

.kpg-job .prose ol {
    counter-reset: kpg-ol;
}

.kpg-job .prose ol > li {
    counter-increment: kpg-ol;
}

.kpg-job .prose ol > li::before {
    content: counter(kpg-ol) '.';
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #ff632a;
}

.kpg-job .prose a {
    color: #e85520;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 85, 32, .3);
}

.kpg-job .prose a:hover {
    border-bottom-color: currentColor;
}

/* sidebar "Apply now" and "Other positions" headings hit the same global h2 rule */
.kpg-job .kpg-job-side-h {
    font-size: 1.25rem;
    line-height: 1.55;
    letter-spacing: 0;
}

.kpg-job .kpg-job-other-h {
    font-size: 1.6rem;
    line-height: 1.45;
}
