/* =========================================================
   POSTORIE - MASTER DESIGN SYSTEM & LAYOUT
   ========================================================= */

/* --- 1. GLOBAL FONTS, COLORS & TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');

body {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 18px;
    color: #333333 !important;
    background-color: #FFFFFF;
    line-height: 1.65;
    letter-spacing: 0;
    margin-top: 70px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'DM Sans', sans-serif;
    color: #16243e !important;
    /* Elite Midnight Blue */
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 46px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

h2 {
    font-size: 34px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}

p {
    font-size: 18px;
    margin-bottom: 26px;
    color: #4a4a4a;
}

a {
    color: #16243e;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #0a1120;
    text-decoration: underline;
}

@media (max-width: 768px) {

    body,
    p {
        font-size: 16px;
    }

    h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    h2 {
        font-size: 28px;
    }
}

/* ==========================================================================
   POSTORIE: ADVANCED MNC ENTERPRISE STACK (HEADER & FOOTER SUITE)
   Optimized for premium visual balance across Western enterprise viewports.
   ========================================================================== */

/* --- 1. MASTER HEADER CANVAS (64px Golden B2B Standard) --- */
.custom-silk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    /* Optimal corporate breathing height */
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    z-index: 99999;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
    display: flex;
    /* Absolute flex lock */
    align-items: center;
    /* Forces vertical centering */
}

.custom-silk-header * {
    box-sizing: border-box;
    font-family: inherit;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Strictly occupy parent flex container */
    max-width: 1250px;
    height: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* Brand & Dynamic Query Console */
.header-left {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.logo {
    font-size: 21px;
    font-weight: 800;
    color: #16243e !important;
    text-decoration: none;
    letter-spacing: -0.03em;
    line-height: 1;
    border: none !important;
    display: flex;
    align-items: center;
}

.logo:hover {
    text-decoration: none;
    opacity: 0.95;
}

.sleek-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 20px;
    padding: 0 16px;
    width: 240px;
    height: 36px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.sleek-search:focus-within {
    border-color: #16243e;
    background: #ffffff;
    width: 270px;
    box-shadow: 0 0 0 2px rgba(22, 36, 62, 0.05);
}

.sleek-search input {
    border: none;
    background: transparent;
    outline: none;
    padding-left: 8px;
    width: 100%;
    font-size: 13px;
    color: #0f172a;
}

.sleek-search input::placeholder {
    color: #94a3b8;
}

/* --- 2. CATEGORICAL CLUSTERS NAVIGATION --- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.nav-links a,
.dropbtn {
    display: flex;
    align-items: center;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
    cursor: pointer;
    height: 100%;
}

.nav-links a:hover,
.dropbtn:hover {
    color: #16243e;
}

/* Structural Grid Dropdowns */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 210px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    z-index: 100000;
    top: calc(100% - 10px);
    /* Tighter lock to edge */
    left: 0;
    padding: 8px 0;
    border: 1px solid #f1f5f9;
}

.dropdown-content a {
    color: #475569;
    padding: 8px 18px;
    display: block;
    font-size: 13px;
    margin: 0;
    height: auto;
    transition: all 0.15s ease;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #16243e;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- 3. ENTERPRISE ACTIONS & WORKSPACE ACCOUNT --- */
.header-action {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

.login-trigger-btn,
.publish-btn {
    background: #16243e !important;
    color: #ffffff !important;
    padding: 0 18px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    margin: 0;
}

.login-trigger-btn:hover,
.publish-btn:hover {
    background: #0f172a !important;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1);
}

/* User Interface Matrix */
.user-profile-menu {
    position: relative;
    display: flex !important;
    align-items: center;
    cursor: pointer;
    height: 36px;
    margin: 0;
}

.profile-pic {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 36px;
    border: 1px solid #e2e8f0;
    padding: 2px;
    border-radius: 50%;
    background: #ffffff;
    transition: border-color 0.2s ease;
    margin: 0;
}

.profile-pic img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

.user-profile-menu:hover .profile-pic {
    border-color: #16243e;
}

.profile-dropdown-box {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 14px);
    width: 250px;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 12px;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.09);
    z-index: 100000;
    padding: 10px 0;
}

.profile-dropdown-box.show {
    display: block;
}

.dropdown-header {
    padding: 12px 20px 8px !important;
}

.user-info strong {
    display: block;
    color: #16243e;
    font-size: 14px;
    margin-bottom: 2px;
    font-weight: 700;
}

.user-info span {
    color: #64748b;
    font-size: 12px;
    display: block;
}

.view-profile-link {
    color: #0073b1 !important;
    font-size: 11px !important;
    text-decoration: none !important;
    margin-top: 4px !important;
    display: inline-block !important;
    font-weight: 600;
}

.view-profile-link:hover {
    text-decoration: underline !important;
}

.company-badge {
    background: #f8fafc !important;
    color: #16243e !important;
    font-weight: 600 !important;
    border-left: 2px solid #0073b1 !important;
    padding: 6px 14px !important;
    margin-top: 6px;
    display: block;
    font-size: 11px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.company-badge:hover {
    background: #f1f5f9 !important;
}

.profile-dropdown-box hr {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 6px 0;
}

.profile-dropdown-box a {
    display: block !important;
    padding: 8px 20px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500;
    transition: all 0.15s ease;
}

.profile-dropdown-box a:hover {
    background-color: #f8fafc !important;
    color: #16243e !important;
}

/* --- 4. SECURE AUTHENTICATION MODAL SUITE --- */
.login-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999999;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-modal-content {
    background-color: #ffffff;
    padding: 40px 32px;
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    animation: popIn 0.25s ease-out;
}

.close-modal {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    background: none;
    border: none;
}

.close-modal:hover {
    color: #0f172a;
}

@keyframes popIn {
    from {
        transform: scale(0.97);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.nextend-login-box {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nextend-login-box .nsl-container {
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

/* --- 5. DOM NEUTRALIZATION LAYER --- */
#right-sidebar {
    display: none !important;
}

/* --- 6. MNC STRUCTURAL FOOTER ENGINE --- */
.p-custom-footer {
    background-color: #16243e;
    color: #ffffff;
    padding: 70px 0 32px 0;
    margin-top: 80px;
    width: 100%;
    border-top: 1px solid #0f172a;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 48px;
    margin-bottom: 28px;
}

.footer-brand {
    flex: 2;
    min-width: 280px;
}

.footer-brand h2 {
    font-size: 22px;
    margin: 0 0 8px;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    max-width: 340px;
    margin: 0;
}

.footer-links {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 12px;
}

/* --- 7. ADVANCED RESPONSIVE GRID CONTROL --- */
@media (max-width: 860px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    /* Automated clean folding */
    .sleek-search {
        width: 170px;
    }

    .sleek-search:focus-within {
        width: 200px;
    }

    .footer-top {
        gap: 32px;
    }
}

@media (max-width: 600px) {

    /* Mobile-Optimized Executive Dimensions (56px Profile) */
    .custom-silk-header {
        height: 56px;
        display: flex !important;
        align-items: center !important;
    }

    .header-container {
        width: 100%;
        padding: 0 16px;
        gap: 12px;
    }

    .logo {
        font-size: 19px;
    }

    .sleek-search {
        display: none;
    }

    /* Clear screen flow for primary CTA */

    .header-action {
        gap: 12px;
    }

    .login-trigger-btn,
    .publish-btn {
        height: 32px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
        margin: 0 !important;
    }

    .user-profile-menu {
        height: 32px !important;
    }

    .profile-pic {
        width: 32px !important;
        padding: 1px !important;
    }

    .profile-dropdown-box {
        width: 230px;
        top: calc(100% + 14px);
    }

    .p-custom-footer {
        padding: 48px 0 24px 0;
        margin-top: 50px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
        padding-bottom: 32px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

/* --- 7. HOMEPAGE HERO SECTION --- */
.hero-section {
    padding: 120px 20px 80px;
    background: linear-gradient(180deg, #fdfdfd 0%, #f4f6f9 100%);
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px !important;
    line-height: 1.1;
    color: #16243e;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 20px;
    color: #555;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: #16243e;
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(22, 36, 62, 0.2);
}

.btn-primary:hover {
    background-color: #0a1120;
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #16243e;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #16243e;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #16243e;
    color: #fff;
}

.hero-trust {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.trust-banner {
    background-color: #16243e;
    padding: 15px 20px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

.trust-banner-content strong {
    color: #fff;
    margin: 0 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px !important;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px;
    }

    .trust-banner-content {
        line-height: 2;
    }
}


/* ============================================
   POSTORIE — Author Profile Page ONLY
   Scope: body.author.archive
   ============================================ */

/* 1. Hide default theme archive junk */
.author.archive .no-results.not-found,
.author.archive .page-header,
.author.archive .site-main>header {
    display: none !important;
}

/* 2. Kill GP constraints securely without breaking Sticky JS/CSS */
body.author.archive #secondary,
body.author.archive .widget-area {
    display: none !important;
}

body.author.archive.separate-containers .site-main,
body.author.archive.separate-containers.right-sidebar .site-main,
body.author.archive.separate-containers.left-sidebar .site-main {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.author.archive .site-grid-container,
body.author.archive .container,
body.author.archive .hfeed,
body.author.archive .site-content,
body.author.archive #content,
body.author.archive .content-area,
body.author.archive #primary,
body.author.archive .site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    overflow: visible !important;
    /* Critical to maintain sticky properties inside */
}

/* 3. MAIN = 3-column flex row */
body.author.archive main#main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 40px 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    text-align: left !important;
    overflow: visible !important;
}

/* --- LEFT NAV (Sticky) --- */
.m-left-nav {
    flex: 0 0 120px;
    width: 120px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    padding-right: 16px;
    box-sizing: border-box;
    z-index: 10;
}

.m-left-nav a,
.m-left-nav span {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
}

.m-left-nav a:hover {
    opacity: 1;
}

.m-left-nav .m-nav-active {
    opacity: 1;
    font-weight: 600;
}

.m-left-nav .m-nav-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.4;
    margin-top: 20px;
    margin-bottom: 2px;
    cursor: default;
}

/* --- CENTER FEED --- */
.m-center-feed {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 40px;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
    box-sizing: border-box;
    overflow: visible !important;
}

.m-left-top-header {
    margin-bottom: 28px;
}

.m-big-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.03em !important;
}

.m-tabs {
    border-bottom: 1px solid #f2f2f2;
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
}

.m-tabs span {
    font-size: 14px;
    cursor: pointer;
    padding-bottom: 14px;
    opacity: 0.55;
}

.m-tabs span.active {
    opacity: 1;
    font-weight: 600;
    border-bottom: 2px solid currentColor;
    margin-bottom: -1px;
}

.m-empty-state-box {
    border: 1px dashed #e0e0e0;
    border-radius: 8px;
    padding: 50px 30px;
    text-align: center;
    opacity: 0.7;
}

/* --- RIGHT SIDEBAR (Sticky) --- */
.m-right-sidebar {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    padding-left: 32px;
    box-sizing: border-box;
    z-index: 10;
}

.m-avatar-img {
    border-radius: 50% !important;
    object-fit: cover !important;
    width: 80px !important;
    height: 80px !important;
    display: block !important;
    margin-bottom: 12px !important;
}

.m-side-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.m-side-profession {
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 1.5;
    opacity: 0.65;
}

.m-side-bio {
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.m-edit-profile-btn {
    display: inline-block;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 16px;
    color: inherit;
    opacity: 0.55;
}

.m-edit-profile-btn:hover {
    opacity: 1;
}

.m-sidebar-divider {
    border: none;
    border-top: 1px solid #f2f2f2;
    margin: 14px 0;
}

.m-connect-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.4;
    margin-bottom: 10px;
}

.m-connect-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.m-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-decoration: none;
    color: inherit;
    opacity: 0.75;
    transition: opacity 0.15s;
}

.m-social-link:hover {
    opacity: 1;
}

.m-social-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    opacity: 0.3;
    font-style: italic;
}

.m-social-add {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-decoration: none;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.15s;
}

.m-social-add:hover {
    opacity: 1;
}

.m-social-add .m-add-icon {
    width: 14px;
    height: 14px;
    border: 1.5px dashed currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}


/* ========================================================
   POSTORIE: MEDIUM CLONE CARDS (SAFE METHOD ENGINE)
   Targeted to run efficiently in Author Feed Scope
======================================================== */

/* Main Container Lock */
body.author.archive .site-main article .inside-article {
    position: relative !important;
    display: block !important;
    padding: 32px 0 32px 164px !important;
    /* Left spacing reserved strictly for Image */
    margin: 0 0 28px 0 !important;
    border: none !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 176px !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Image Anchoring */
body.author.archive .site-main article .post-image {
    position: absolute !important;
    top: 32px !important;
    left: 0 !important;
    width: 140px !important;
    height: 112px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5 !important;
}

body.author.archive .site-main article .post-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

/* Card Elements Internal Typography */
body.author.archive .site-main article .entry-header {
    display: block !important;
    margin: 0 0 8px 0 !important;
}

body.author.archive .site-main article .entry-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #242424 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

body.author.archive .site-main article .entry-summary {
    display: block !important;
    font-size: 16px !important;
    color: #242424 !important;
    line-height: 1.5 !important;
    margin: 0 0 12px 0 !important;
}

body.author.archive .site-main article .entry-summary p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
}

body.author.archive .site-main article .entry-meta {
    display: block !important;
    font-size: 13px !important;
    color: #6b6b6b !important;
    margin: 0 !important;
}

body.author.archive .site-main article .posted-on::before {
    display: none !important;
}

/* Hide redundant theme card tags */
body.author.archive .site-main article .inside-article::before,
body.author.archive .site-main article .inside-article::after,
body.author.archive .site-main article footer.entry-meta {
    display: none !important;
}

/* --- HORIZONTAL SCROLLBAR LOCK --- */
/* Applied securely to structural elements rather than root body tag to safeguard Sticky navigation */
body.author.archive .site-grid-container,
body.author.archive .site-content,
body.author.archive #content,
body.author.archive .content-area,
body.author.archive #primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
}


/* ========================================================
   UNIFIED MOBILE RESPONSIVENESS
======================================================== */
@media (max-width: 800px) {
    body.author.archive main#main {
        flex-direction: column !important;
        padding: 16px !important;
    }

    .m-left-nav {
        width: 100% !important;
        position: static !important;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 16px;
        padding: 0 0 16px 0 !important;
        border-bottom: 1px solid #f2f2f2;
    }

    .m-left-nav .m-nav-section-title {
        display: none;
    }

    .m-center-feed {
        width: 100% !important;
        border: none !important;
        padding: 20px 0 !important;
    }

    .m-right-sidebar {
        width: 100% !important;
        position: static !important;
        padding: 20px 0 0 0 !important;
        border-top: 1px solid #f2f2f2;
    }

    .m-big-title {
        font-size: 26px !important;
    }

    /* Mobile Cards Reset */
    body.author.archive .site-main article .inside-article {
        padding: 24px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
    }

    body.author.archive .site-main article .post-image {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        margin-bottom: 16px !important;
        order: -1 !important;
        /* Forces image to output smoothly at the top */
    }
}

/* Create Company Page */
.p-company-form-container {
    max-width: 700px;
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
}

.p-form-intro h2 {
    margin-bottom: 8px;
    font-size: 24px;
    color: #16243e;
}

.p-field-group {
    margin-bottom: 20px;
}

.p-field-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.p-field-group input,
.p-field-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.p-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.p-company-dashboard-box {
    background: #f9fbff;
    border: 1px solid #d0e3ff;
    padding: 30px;
    border-radius: 12px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* --- 3. ENTERPRISE ACTIONS & WORKSPACE ACCOUNT --- */
.header-action {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
}

/* Dono Buttons Ekdum Exact Same Size aur Color Ke Liye */
.login-trigger-btn,
.publish-btn {
    background: #16243e !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    height: 38px !important;
    /* Strict height lock */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 19px !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.login-trigger-btn:hover,
.publish-btn:hover {
    background: #0f172a !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}