/* Font Awesome overlays: social, share widgets, arrows (replacing Linearicons glyphs) */

/* --- Footer social (circular badges) --- */
.icon-social-blogger.mom-fa-social::before,
.icon-social-facebook.mom-fa-social::before,
.icon-social-linkedin.mom-fa-social::before,
.icon-social-telegram.mom-fa-social::before,
.icon-social-twitter.mom-fa-social::before,
.icon-social-workwise.mom-fa-social::before,
.icon-social-youtube.mom-fa-social::before {
    content: none !important;
    background: none !important;
    background-image: none !important;
    width: auto !important;
    height: auto !important;
    line-height: inherit !important;
}

.mom-fa-social {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    text-decoration: none;
    line-height: 1 !important;
    box-sizing: border-box;
    vertical-align: middle;
}

.mom-fa-social i {
    color: #fff;
    font-size: 1.25rem;
}

.icon-social-facebook.mom-fa-social {
    background-color: #3b5999 !important;
}

.icon-social-linkedin.mom-fa-social {
    background-color: #0077b5 !important;
}

.icon-social-telegram.mom-fa-social {
    background-color: #229ed9 !important;
}

.icon-social-youtube.mom-fa-social {
    background-color: #cc181e !important;
}

.icon-social-youtube.mom-fa-social i {
    font-size: 1.35rem;
}

/* --- Share this page row --- */
.icon-share-fb.mom-fa-share::before,
.icon-share-tw.mom-fa-share::before,
.icon-share-email.mom-fa-share::before,
.icon-action-print.mom-fa-share::before {
    content: none !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
}

.mom-fa-share {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 1.75rem;
    vertical-align: middle;
}

.mom-fa-share i {
    font-size: 1.25rem;
}

.icon-share-fb.mom-fa-share i {
    color: #3b5999;
}

.icon-share-tw.mom-fa-share i {
    color: #0f1419;
}

.icon-share-email.mom-fa-share i,
.icon-action-print.mom-fa-share i {
    color: #3b5999;
}

/* --- Navigation arrows (.link--arrow, .list--arrow) --- */
.link--arrow::before,
.list--arrow>li::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
    display: inline-block;
    content: "\f054" !important;
    color: #98c1d7;
    margin-left: -25px;
    margin-top: 5px;
    font-size: 0.875rem;
    float: left;
}

.list--arrow.arrow-dark>li::before,
.module-grey .link--arrow::before,
.module-in-page .link--arrow::before,
.module-kb .link--arrow::before,
.module-more .link--arrow::before {
    color: #7c7f81;
}

/* --- "View all" / search view-all trailing arrow (.link--more; same glyph as link--arrow) --- */
.btn-search-viewall::after,
a.link--more::after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
    content: "\f054" !important;
    display: inline-block;
    font-size: 0.875rem;
    vertical-align: middle;
    margin-left: 0.5em;
    color: #98c1d7;
}

/* Grey modules only: match .link--arrow grey */
.module-grey a.link--more::after,
.module-in-page a.link--more::after,
.module-kb a.link--more::after,
.module-more a.link--more::after {
    color: #7c7f81;
}

/* --- External-window icon for `.dxd-mom-icon-rvp` (Report vulnerability, Reach, etc.) --- */
.dxd-mom-icon-rvp::after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
    display: inline-block;
    vertical-align: baseline;
    font-size: 14px;
    margin-left: 5px;
    color: inherit;
    /* fa-arrow-up-right-from-square — square + arrow opens outward (external / new tab) */
    content: "\f08e" !important;
}

/* --- Singapore Government masthead (`dxd-mom-sg-header`) — crest, copy, How to identify --- */
.dxd-mom-sg-header {
    position: relative !important;
    z-index: 1001;
    overflow: visible !important;
    height: auto !important;
    min-height: 31.2px;
    background: #f0f0f0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dxd-mom-sg-header .container.dxd-mom-sg-header-container {
    padding: 6px 15px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.dxd-mom-sg-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sg-crest.sg-crest--red {
    flex-shrink: 0;
    display: block;
}

.sg-crest.sg-crest--red path {
    fill: #d0343a;
}

.dxd-mom-sg-header .dxd-mom-sg-header-text {
    margin: 0 !important;
    margin-left: 0 !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    color: #424242 !important;
    vertical-align: middle !important;
    line-height: 1.35;
    text-align: center;
}

.dxd-mom-sg-identify-details {
    margin: 0;
}

.dxd-mom-sg-identify-summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600;
    color: #2f60ce !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    user-select: none;
}

.dxd-mom-sg-identify-summary::-webkit-details-marker,
.dxd-mom-sg-identify-summary::marker {
    display: none;
}

.dxd-mom-sg-howto-chevron {
    font-size: 12px !important;
    color: #2f60ce !important;
    transition: transform 0.2s ease;
}

.dxd-mom-sg-identify-details[open] .dxd-mom-sg-howto-chevron {
    transform: rotate(180deg);
}

.dxd-mom-sg-identify-summary:focus {
    outline: none;
}

.dxd-mom-sg-identify-summary:focus-visible {
    outline: 2px solid #2f60ce;
    outline-offset: 2px;
    border-radius: 2px;
}

.dxd-mom-sg-identify-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.dxd-mom-sg-identify-panel-inner {
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.dxd-mom-sg-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.dxd-mom-sg-panel-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #242425;
}

.dxd-mom-sg-panel-item p {
    margin: 0.5rem 0 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #424242;
}

.dxd-mom-sg-identify-panel .dxd-mom-sg-panel-link {
    color: #2f60ce !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.dxd-mom-sg-identify-panel .dxd-mom-sg-panel-link:hover {
    color: #1e4aa8 !important;
    text-decoration: underline !important;
}

.dxd-mom-sg-lock-icon {
    font-size: 13px;
    vertical-align: -1px;
    color: #424242;
}

@media (max-width: 700px) {
    .dxd-mom-sg-header .dxd-mom-sg-header-text {
        font-size: 12px !important;
        text-align: center;
        max-width: 100%;
    }

    .dxd-mom-sg-panel-grid {
        grid-template-columns: 1fr;
    }
}
