/* Ministry of Manpower — About the Employment Act (employment-act.php) */

.page-employment-act {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #222;
    font-size: 16px;
    line-height: 1.55;
}

.page-employment-act * {
    box-sizing: border-box;
}

.page-employment-act .dxd-mom-sg-header .container.dxd-mom-sg-header-container {
    justify-content: flex-start !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-employment-act .prelanding-sg-row.dxd-mom-sg-banner-inner {
    justify-content: space-between !important;
    width: 100% !important;
    gap: 12px 24px !important;
}

.page-employment-act .prelanding-sg-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

/* Masthead — extra nav + More dropdown */
.ea-masthead {
    background: #fff;
    border-bottom: 1px solid #e0e4e9;
}

.ea-masthead-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 20px 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
}

.ea-masthead-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.ea-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 4px 8px;
}

.ea-nav > a,
.ea-nav details.ea-more > summary {
    color: #1a237e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 4px;
    list-style: none;
    cursor: pointer;
}

.ea-nav > a:hover {
    text-decoration: underline;
}

.ea-nav details.ea-more > summary::-webkit-details-marker {
    display: none;
}

.ea-nav details.ea-more > summary::after {
    content: "";
    display: inline-block;
    margin-left: 4px;
    border: solid #1a237e;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-bottom: 2px;
}

.ea-nav details.ea-more[open] > summary::after {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}

.ea-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 4px;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e0e4e9;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    z-index: 50;
}

.ea-dropdown a {
    display: block;
    padding: 10px 16px;
    color: #1a237e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.ea-dropdown a:hover {
    background: #f5f8fc;
}

.ea-more-wrap {
    position: relative;
}

.ea-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ea-mamom-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #c5cbd3;
    background: #fff;
    color: #1a237e !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.ea-mamom-btn:hover {
    background: #f7f9fc;
}

.ea-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #1a237e;
    border-radius: 4px;
    text-decoration: none !important;
}

.ea-icon-btn:hover {
    background: #f0f3f8;
}

/* Breadcrumbs */
.ea-breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.ea-breadcrumb-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px 20px 12px;
}

.ea-breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.ea-breadcrumb a {
    color: #1a4480;
    font-weight: 600;
    text-decoration: none;
}

.ea-breadcrumb a:hover {
    text-decoration: underline;
}

.ea-breadcrumb .sep {
    color: #999;
    user-select: none;
}

/* Hero */
.ea-hero {
    background: #eef7ff;
    padding: 44px 20px 48px;
    text-align: center;
    border-bottom: 1px solid #d8e8f5;
}

.ea-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.ea-hero h1 {
    margin: 0 0 18px;
    font-size: 2rem;
    font-weight: 700;
    color: #003d7a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.ea-hero .ea-lead {
    margin: 0;
    font-size: 1.0625rem;
    color: #333;
    line-height: 1.65;
}

/* Main list */
.ea-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 36px 20px 48px;
}

.ea-topic {
    padding: 22px 0;
    border-bottom: 1px solid #e5e8eb;
}

.ea-topic:first-of-type {
    padding-top: 0;
}

.ea-topic:last-of-type {
    border-bottom: none;
}

.ea-topic h2 {
    margin: 0 0 10px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

.ea-topic h2 a {
    color: #006eab;
    text-decoration: none;
}

.ea-topic h2 a:hover {
    text-decoration: underline;
}

.ea-topic p {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Share */
.ea-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 16px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.ea-share-label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.ea-share-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ea-share-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    color: #1a4480;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.15s ease;
}

.ea-share-icons a:hover {
    background: #e2ebf3;
}

/* Footer */
.ea-footer {
    background: #002b45;
    color: #e8eef3;
    font-size: 14px;
}

.ea-footer-top {
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 20px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.ea-footer-brand {
    min-width: 200px;
}

.ea-footer-brand .ea-footer-logo-text {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ea-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: flex-end;
    flex: 1 1 280px;
}

.ea-footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.ea-footer-links a:hover {
    text-decoration: underline;
}

.ea-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    padding-top: 8px;
}

.ea-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.ea-footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ea-footer-bottom {
    background: #001a2e;
    padding: 16px 20px 22px;
}

.ea-footer-bottom-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ea-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    font-size: 12px;
    color: #a8b8c4;
}

.ea-footer-meta a {
    color: #c5d3dd;
    text-decoration: none;
}

.ea-footer-meta a:hover {
    text-decoration: underline;
}

.ea-skip {
    position: absolute;
    left: -9999px;
}

.ea-skip:focus {
    left: 12px;
    top: 8px;
    z-index: 100;
    padding: 8px 12px;
    background: #fff;
    border: 2px solid #006eab;
    color: #006eab;
}

@media (max-width: 768px) {
    .ea-hero h1 {
        font-size: 1.5rem;
    }

    .ea-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .ea-footer-links,
    .ea-footer-social {
        justify-content: flex-start;
    }

    .ea-share {
        justify-content: flex-start;
    }
}
