/* ==========================================================================
   Header Styling
   ========================================================================== */
.site-shell-header {
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #e8edf5;
    box-shadow: 0 8px 28px rgba(23, 42, 76, .07);
    position: relative;
    z-index: 999;
}

.site-shell-header .header-top {
    min-height: 84px;
    padding: 12px 0;
}

.site-shell-brand {
    align-items: center;
    display: flex;
    min-width: 0;
}

.site-shell-brand > a {
    align-items: center;
    display: inline-flex;
}

.site-shell-brand > a img {
    height: auto;
    max-height: 54px;
    max-width: 175px;
    object-fit: contain;
}

.site-shell-portal-name {
    border-left: 1px solid #dfe6f1;
    margin-left: 18px;
    padding-left: 18px;
}

.site-shell-portal-name span,
.site-shell-portal-name strong {
    display: block;
}

.site-shell-portal-name span {
    color: #8a96aa;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-shell-portal-name strong {
    color: #17223b;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 4px;
}

.site-shell-header .top-nav {
    align-items: center;
    gap: 18px;
}

.site-shell-global-link {
    align-items: center;
    color: #57637a;
    display: inline-flex;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 500;
    min-height: 42px;
    padding: 0 4px;
}

.site-shell-global-link::before {
    color: #246df8;
    content: "\f57d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
}

.site-shell-global-link:hover {
    color: #246df8;
}

.site-shell-header .header-top-account {
    align-items: center;
    display: flex;
    position: relative;
}

.site-shell-header .job-post-button {
    background: #246df8;
    border: 1px solid #246df8;
    border-radius: 9px;
    color: #fff !important;
    display: inline-flex;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
}

.site-shell-header .job-post-button:hover {
    background: #1558de;
    border-color: #1558de;
}

.site-shell-header .top-nav-separator {
    color: #c8d0dc;
    margin: 0 2px;
}

.site-shell-header .signin-button,
.site-shell-header .account-button {
    color: #29354c;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.site-shell-header .signin-button:hover,
.site-shell-header .account-button:hover {
    color: #246df8;
}

.site-shell-header .account-card {
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(26, 42, 73, .16);
    top: calc(100% + 14px);
}

/* ==========================================================================
   Post Detail / Article Body Styling (Professional Wide Container)
   ========================================================================== */
.post-detail {
    background-color: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(23, 42, 76, .04);
    box-sizing: border-box;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin: 36px auto 60px;
    max-width: 1040px;
    padding: 48px 56px;
    width: 92%;
}

.post-detail h1 {
    color: #111827;
    font-family: Poppins, sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin-bottom: 8px;
    margin-top: 0;
}

.post-detail .post-meta,
.post-detail h1 + p:not(.post-intro) {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 22px;
    margin-top: 0;
}

.post-detail h2 {
    color: #111827;
    font-family: Poppins, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    margin-top: 36px;
}

.post-detail h3 {
    border-bottom: 1px solid #edf2f7;
    color: #1f2937;
    font-family: Poppins, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 32px;
    padding-bottom: 8px;
}

.post-detail h4,
.post-detail h5,
.post-detail h6 {
    color: #1f2937;
    font-family: Poppins, sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 24px;
}

.post-detail hr,
.post-detail .title-divider {
    background-color: #e5eaf2;
    border: 0;
    height: 1.5px;
    margin: 24px 0 32px;
}

.post-detail p {
    color: #374151;
    margin-bottom: 18px;
    margin-top: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.post-detail strong,
.post-detail b {
    color: #111827;
    font-weight: 600;
}

.post-detail a {
    color: #15803d;
    font-weight: 500;
    overflow-wrap: break-word;
    text-decoration: underline;
    text-decoration-color: #86efac;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: all .2s ease-in-out;
    word-break: break-word;
}

.post-detail a:hover {
    background-color: #f0fdf4;
    color: #166534;
    text-decoration-color: #166534;
}

.post-detail a:visited {
    color: #15803d;
}

.post-detail h1 a,
.post-detail h2 a,
.post-detail h3 a {
    color: inherit;
    text-decoration: none;
}

.post-detail ul,
.post-detail ol {
    color: #374151;
    margin-bottom: 22px;
    margin-top: 0;
    padding-left: 28px;
}

.post-detail li {
    line-height: 1.75;
    margin-bottom: 8px;
}

.post-detail blockquote {
    background-color: #f9fafb;
    border-left: 4px solid #16a34a;
    border-radius: 0 8px 8px 0;
    color: #4b5563;
    font-style: italic;
    margin: 26px 0;
    padding: 14px 20px;
}

.post-detail blockquote p:last-child {
    margin-bottom: 0;
}

.post-detail table {
    border: 1px solid #e5eaf2;
    border-collapse: collapse;
    border-radius: 8px;
    font-size: 14px;
    margin: 28px 0;
    overflow: hidden;
    width: 100%;
}

.post-detail th,
.post-detail td {
    border-bottom: 1px solid #e5eaf2;
    padding: 12px 18px;
    text-align: left;
}

.post-detail th {
    background-color: #f8fafc;
    color: #111827;
    font-weight: 600;
}

.post-detail img {
    border-radius: 8px;
    display: block;
    height: auto;
    margin: 28px auto;
    max-width: 100%;
}

.post-detail code {
    background-color: #edf2f7;
    border-radius: 4px;
    color: #b83280;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .875em;
    padding: 2px 6px;
}

.post-detail pre {
    background-color: #0d1b36;
    border-radius: 8px;
    color: #f7fafc;
    margin: 24px 0;
    overflow-x: auto;
    padding: 18px 22px;
}

.post-detail pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.site-shell-footer {
    background: linear-gradient(135deg, #0d1b36 0%, #142d56 100%);
    border: 0 !important;
    color: rgba(255, 255, 255, .72);
}

.site-shell-footer-main {
    display: grid;
    gap: 70px;
    grid-template-columns: minmax(0, 1.6fr) minmax(160px, .7fr) minmax(180px, .8fr);
    padding: 72px 0 54px;
}

.site-shell-footer-brand {
    max-width: 480px;
}

.site-shell-footer-logo {
    align-items: center;
    background: #fff;
    border-radius: 12px;
    display: inline-flex;
    min-height: 66px;
    padding: 8px 16px;
}

.site-shell-footer-logo img {
    height: auto;
    max-height: 48px;
    max-width: 155px;
}

.site-shell-footer-brand p {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.8;
    margin: 23px 0 19px;
    max-width: 450px;
}

.site-shell-country-link {
    align-items: center;
    color: #bcd2ff !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
}

.site-shell-country-link i {
    margin-right: 9px;
}

.site-shell-country-link:hover {
    color: #fff !important;
}

/* Footer Links & Typography (Updated) */
.site-shell-footer-links h3 {
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    line-height: 1.3;
    margin: 4px 0 20px;
}

.site-shell-footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-shell-footer-links li {
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.site-shell-footer-links a {
    color: rgba(255, 255, 255, .72);
    display: inline-block;
    font-family: Poppins, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: all .22s ease-in-out;
}

.site-shell-footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.site-shell-footer .site-shell-footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr auto auto;
    padding: 15px 0 16px;
}

.site-shell-footer .copyright-text,
.site-shell-footer-context {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.site-shell-footer .copyright-text a,
.site-shell-footer-context strong {
    color: rgba(255, 255, 255, .86);
}

.site-shell-footer .back-to-top {
    text-align: right;
}

.site-shell-footer .back-to-top a {
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
}

.site-shell-footer .back-to-top a i {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
    height: 38px;
    line-height: 37px;
    margin-left: 10px;
    width: 38px;
}

.site-shell-footer .back-to-top a:hover {
    color: #fff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991px) {
    .site-shell-header .header-top { min-height: 68px; }
    .site-shell-brand > a img { max-height: 46px; max-width: 145px; }
    .site-shell-header .header-top .logo-area a img { height: auto; }
    .site-shell-header .header-top-toggler-button {
        background: #f2f6fd;
        border: 1px solid #e0e8f5;
        border-radius: 9px;
        cursor: pointer;
        height: 42px;
        padding: 0;
        width: 42px;
    }
    .site-shell-header .header-top-toggler-button:before { color: #263650 !important; }
    .site-shell-header .header-top .top-nav {
        border: 1px solid #e4eaf3;
        border-radius: 12px;
        box-shadow: 0 18px 45px rgba(23, 42, 76, .16);
        padding: 18px;
        right: 0;
        top: 62px;
        width: 260px;
    }
    .site-shell-header .top-nav.show { align-items: stretch; flex-direction: column; }
    .site-shell-header .site-shell-global-link { border-bottom: 1px solid #edf1f7; padding-bottom: 12px; }
    .site-shell-header .header-top-account { align-items: stretch; flex-direction: column; }
    .site-shell-header .job-post-button { width: 100%; }
    .site-shell-header .signin-button,
    .site-shell-header .account-button { display: block; padding: 13px 0 3px; }
    
    /* Post Detail Tablet */
    .post-detail {
        margin: 24px auto 44px;
        max-width: 95%;
        padding: 36px 30px;
    }

    .site-shell-footer-main { gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 767px) {
    .site-shell-portal-name { display: none; }
    
    /* Post Detail Mobile / Small Tablet */
    .post-detail {
        border-radius: 10px;
        padding: 28px 20px;
    }
    .post-detail h1 { font-size: 1.95rem; }
    .post-detail h2 { font-size: 1.5rem; }
    .post-detail h3 { font-size: 1.25rem; }

    .site-shell-footer-main { grid-template-columns: 1fr 1fr; padding: 54px 0 40px; }
    .site-shell-footer-brand { grid-column: 1 / -1; }
    .site-shell-footer .site-shell-footer-bottom {
        align-items: flex-start;
        grid-template-columns: 1fr auto;
    }
    .site-shell-footer-context { grid-column: 1; grid-row: 2; }
    .site-shell-footer .back-to-top { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 479px) {
    .site-shell-brand > a img { max-width: 128px; }

    /* Post Detail Mobile (Full Bleed Clean) */
    .post-detail {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        box-shadow: none;
        margin: 12px 0 32px;
        padding: 22px 16px;
        width: 100%;
    }
    .post-detail ul,
    .post-detail ol {
        padding-left: 20px;
    }

    .site-shell-footer-main { gap: 34px; grid-template-columns: 1fr; }
    .site-shell-footer-brand { grid-column: auto; }
    .site-shell-footer .site-shell-footer-bottom { display: block; }
    .site-shell-footer-context { margin-top: 8px; }
    .site-shell-footer .back-to-top { margin-top: 20px; text-align: left; }
}she