/* ==========================================================================
   sector-occupational-safety.css — Dedicated Stylesheet for Occupational Safety
   ========================================================================== */

/* ============ SECTOR PAGE HERO ============ */
.page-hero {
    position: relative;
    height: 500px;
    background: var(--dark-green);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

/* --- Hero Background & Overlay --- */
.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1b4332 0%, rgba(27,67,50,0.5) 50%, rgba(0,0,0,0) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 56px;
    text-align: right;
}

/* --- Breadcrumb Navigation --- */
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
}

.page-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero__breadcrumb a:hover {
    color: #fff;
}

.page-hero__breadcrumb .crumb {
    color: rgba(255, 255, 255, 0.75);
}

.page-hero__breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.page-hero__breadcrumb .current {
    color: var(--green-500);
    font-weight: 600;
}

/* --- Hero Title & Subtitle --- */
.page-hero__title {
    font-weight: 900;
    font-size: 60px;
    line-height: 60px;
    color: #fff;
}

.page-hero__subtitle {
    max-width: 576px;
    margin: 12px 0 0 auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 28px;
}

/* ============ SECTOR CONTENT SECTION ============ */
.occ-safety-section {
    padding: 64px 0;
}

/* ============ HIERARCHY OF CONTROLS PYRAMID (RTL FLOW) ============ */
.pyramid-wrap,
.pyramid-col,
.pyramid-row {
    direction: rtl;
    text-align: right;
}

.pyramid-wrap {
    display: flex;
    justify-content: center;
    padding-top: 56px;
}

.pyramid-col {
    max-width: 512px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.pyramid-row {
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.pyramid-row:first-child {
    padding-top: 0;
}

.pyramid-bar {
    direction: rtl;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 16px;
    width: 100%;
}

.pyramid-bar__num {
    order: 1; 
    font-weight: 700;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.pyramid-bar__label {
    order: 2; 
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-align: right;
}