﻿/* ============================================================
   VEBKO LINKEDIN PUBLIC TEMPLATE
   Exact content template reconstructed from the original
   LinkedIn HTM pages such as Advanced_Assessments.htm.

   IMPORTANT:
   The old page-level body rules are intentionally scoped to
   the right Help content panel so the shared Help shell remains
   intact.
============================================================ */


@font-face {
    font-family: "Robot";
    src: url("/help-legacy/asset/Fonts/OpenSans/OpenSans-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/IRANSansX/IRANSansX-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "IRANSansX";
    src: url("/fonts/IRANSansX/IRANSansX-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700 950;
    font-display: swap;
}


:root {
    --brand: #19B5B4;
    --brand-dark: #0d6363;
    --brand-soft: rgba(25, 181, 180, .14);
    --ink: #092626;
    --muted: #6d8585;
    --line: rgba(25, 181, 180, .24);
    --card: rgba(255, 255, 255, .88);
    --shadow: 0 24px 60px rgba(4, 42, 44, .14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}


/* ============================================================
   CONTENT PANEL = OLD LINKEDIN BODY
============================================================ */

.help-is-linkedin
.panel-right
#content {
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: radial-gradient( circle at 8% 10%, rgba(25, 181, 180, .22), transparent 28% ), radial-gradient( circle at 95% 18%, rgba(13, 99, 99, .18), transparent 24% ), linear-gradient( 180deg, #f8ffff 0%, #ffffff 42%, #f1fbfb 100% ) !important;

    color: var(--ink);
}


.linkedin-page-surface span,
.linkedin-page-surface p,
.linkedin-page-surface a,
.linkedin-page-surface h2,
.linkedin-page-surface h3,
.linkedin-page-surface h4,
.linkedin-page-surface button,
.linkedin-page-surface input {
    font-family: "Robot", Arial, Helvetica, sans-serif !important;
    font-style: normal !important;
}


.linkedin-page-surface {
    width: 100%;
    min-height: 100%;
    direction: ltr;
    text-align: left;
}

.linkedin-page-surface.linkedin-page-rtl,
.linkedin-page-surface.linkedin-page-rtl .linkedin-modern-page {
    direction: rtl;
    text-align: right;
    font-family: "IRANSansX", Tahoma, Arial, sans-serif !important;
}

html[dir="rtl"] body.help-body .linkedin-page-surface,
html[dir="rtl"] body.help-body .linkedin-page-surface * {
    font-family: "IRANSansX", Tahoma, Arial, sans-serif !important;
    font-style: normal !important;
}

.linkedin-page-surface.linkedin-page-rtl .modern-hero,
.linkedin-page-surface.linkedin-page-rtl .modern-card,
.linkedin-page-surface.linkedin-page-rtl .modern-card-body,
.linkedin-page-surface.linkedin-page-rtl .modern-caption,
.linkedin-page-surface.linkedin-page-rtl .modern-tags,
.linkedin-page-surface.linkedin-page-rtl .modern-note,
.linkedin-page-surface.linkedin-page-rtl .modern-contact-list {
    direction: rtl;
    text-align: right;
}

.linkedin-page-surface.linkedin-page-rtl .modern-date,
.linkedin-page-surface.linkedin-page-rtl .modern-action-btn,
.linkedin-page-surface.linkedin-page-rtl .modern-pill,
.linkedin-page-surface.linkedin-page-rtl .modern-tag {
    direction: rtl;
}

.linkedin-page-surface.linkedin-page-rtl .modern-links a,
.linkedin-page-surface.linkedin-page-rtl .modern-action-btn[href*="http"],
.linkedin-page-surface.linkedin-page-rtl .modern-date {
    unicode-bidi: plaintext;
}


.linkedin-imported-source {
    display: none !important;
}


/* ============================================================
   MODERN LINKEDIN LAYOUT
============================================================ */

.linkedin-modern-page {
    width: min(1240px, 94%);
    margin: 22px auto 48px auto;
    direction: ltr;
}


/* ============================================================
   HERO
============================================================ */

.modern-hero {
    position: relative;
    overflow: hidden;
    min-height: 218px;
    padding: 24px 26px;
    border: 1px solid #c9d7da !important;
    border-radius: var(--vh-r20) !important;
    background: linear-gradient(115deg, #edf8f7 0%, #ddefed 50%, #cef0f3 100%) !important;
    box-shadow: 0 6px 18px rgba(16, 49, 57, .07);
    color: #fff;
    isolation: isolate;
}








.modern-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}


.modern-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgb(107 189 189 / 29%);
    border: 1px solid rgb(49 121 125 / 39%);
    color: #1a716e;
    font-size: 12px !important;
    font-weight: 600;
    backdrop-filter: blur(10px);
}


.modern-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--brand-dark);
    font-size: 12px !important;
    font-weight: 400;

}


.modern-hero h1 {
    width: min(820px, 100%);
    margin: 0;
    font-size: clamp(24px, 3.4vw, 35px) !important;
    line-height: 1.16;
    letter-spacing: -1.1px;
    font-weight: 650 !important;
    color: #16413b;
}


.modern-hero-summary {
    width: min(760px, 100%);
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px !important;
    line-height: 1.65;
    font-weight: 400;
    text-align: left;
}


.modern-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}


.modern-metric {
    min-width: 128px;
    height: 50px;
    padding: 3px 12px;
    border-radius: 16px;
    background: rgb(107 189 189 / 29%);
    border: 1px solid rgb(49 121 125 / 39%);
    backdrop-filter: blur(10px);
}


.modern-metric-label {
    display: block;
    color: rgb(0 150 159);
    font-size: 11px !important;
    font-weight: 400;
    margin-bottom: 4px;
}


.modern-metric-value {
    display: block;
    color: #1f5a5b;
    font-size: 14px !important;
    font-weight: 450;
    margin-top: -4px;
}


/* ============================================================
   TWO-COLUMN LAYOUT
============================================================ */

.modern-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    gap: 20px;
    margin-top: 22px;
    align-items: start;
}


/* ============================================================
   CARDS
============================================================ */

.modern-card {
    position: relative;
    background: var(--card);
    border: 1px solid rgba(25, 181, 180, .18);
    border-radius: var(--radius-xl);
    box-shadow: 0 6px 18px rgba(16, 49, 57, .07);
    overflow: hidden;
    backdrop-filter: blur(18px);
    margin-bottom: 20px;
}


    .modern-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 5px;
        background: linear-gradient( 90deg, var(--brand-dark) 0%, var(--brand) 28%, #8dfffb 52%, var(--brand) 76%, var(--brand-dark) 100% );
        box-shadow: 0 6px 18px rgba(16, 49, 57, .07);
    }


    .modern-card::after {
        content: "";
        position: absolute;
        top: 9px;
        left: 22px;
        right: 22px;
        height: 1px;

        pointer-events: none;
    }


.modern-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 20px 12px 20px;
}


.modern-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--ink);
    font-size: 17px !important;
    font-weight: 650;
    letter-spacing: -.2px;
}


    .modern-card-title i {
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: var(--brand-soft);
        color: var(--brand-dark);
        font-size: 17px;
    }


.modern-card-label {
    color: var(--brand-dark);
    font-size: 11px !important;
    font-weight: 650;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    white-space: nowrap;
}


.modern-card-body {
    padding: 0 20px 20px 20px;
}


/* ============================================================
   MEDIA
============================================================ */

.modern-media-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

    .modern-media-grid.media-count-2,
    .modern-media-grid.media-count-3,
    .modern-media-grid.media-count-4,
    .modern-media-grid.media-count-many {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.modern-media-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #eefafa 100%);
    border: 1px solid rgba(25, 181, 180, .22);
    box-shadow: 0 12px 32px rgba(2, 49, 44, .10);
}

.modern-media-button {
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    display: block;
}

.modern-media-item img,
.modern-video-preview video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    background: #fff;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.modern-media-caption {
    position: static;
    margin: 0;
    padding: 12px 14px;
    border-top: 1px solid rgba(25, 181, 180, .20);
    background: linear-gradient(135deg, #f7ffff 0%, #eaffff 100%);
    color: var(--brand-dark);
    font-size: 12px !important;
    font-weight: 450;
    text-align: center;
    backdrop-filter: none;
}

/* ویدیو */
.modern-media-item-video {
    overflow: hidden;
    border-radius: 24px;
}

    .modern-media-item-video .modern-video-preview {
        position: relative;
        overflow: hidden;
        border: none;
        border-radius: 0;
        background: #061b1b;
        margin: 0;
    }

        .modern-media-item-video .modern-video-preview video {
            display: block;
            width: 100%;
            height: auto;
            max-height: 760px;
            object-fit: contain;
            background: #000;
            border-radius: 0 !important;
        }

    .modern-media-item-video .modern-media-caption {
        margin: 0;
        border-top: 1px solid rgba(25, 181, 180, .20);
        border-radius: 0 0 24px 24px;
    }


/* ============================================================
   CAPTION
============================================================ */

.modern-caption {
    color: #1e3333;
    font-size: 14px !important;
    line-height: 1.25;
    font-weight: 450;
    text-align: justify;
}


    .modern-caption p {
        margin: 0 0 14px 0;
    }


        .modern-caption p:first-child {
            padding: 16px;
            border-radius: 20px;
            background: linear-gradient( 135deg, rgba(25, 181, 180, .14), rgba(255, 255, 255, .9) );
            border: 1px solid rgba(25, 181, 180, .22);
            color: var(--brand-dark);
            font-size: 15px !important;
            font-weight: 650;
        }


/* ============================================================
   TAGS
============================================================ */

.modern-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


.modern-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 12px;
    border-radius: 999px;
    background: linear-gradient( 180deg, #ffffff, #f2ffff );
    color: var(--brand-dark) !important;
    border: 1px solid rgba(25, 181, 180, .26);
    font-size: 12px !important;
    font-weight: 450;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(2, 49, 44, .06);
}


    .modern-tag:hover {
        color: #fff !important;
        background: var(--brand);
        text-decoration: none !important;
    }


/* ============================================================
   ACTIONS
============================================================ */

.modern-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}


.modern-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient( 135deg, var(--brand), var(--brand-dark) );
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 650;
    border: 1px solid rgba(13, 99, 99, .24);
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(25, 181, 180, .22);
}


    .modern-action-btn.secondary {
        background: #ffffff;
        color: var(--brand-dark) !important;
        border: 1px solid rgba(25, 181, 180, .24);
        box-shadow: 0 10px 24px rgba(2, 49, 44, .08);
    }


.modern-note {
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(25, 181, 180, .10);
    border: 1px solid rgba(25, 181, 180, .18);
    color: var(--muted);
    font-size: 12px !important;
    line-height: 1.8;
    font-weight: 400;
}


/* ============================================================
   CONTACT
============================================================ */

.modern-contact-list {
    display: grid;
    gap: 12px;
}


.modern-person-card,
.modern-contact-row {
    border-radius: 22px;
    background: linear-gradient( 180deg, rgba(255, 255, 255, .96), rgba(244, 255, 255, .90) );
    border: 1px solid rgba(25, 181, 180, .18);
    padding: 14px;
    box-shadow: 0 10px 26px rgba(2, 49, 44, .06);
}


.modern-person-name {
    color: var(--ink);
    font-size: 14px !important;
    font-weight: 450;
    margin-bottom: 4px;
}


.modern-person-title {
    color: var(--muted);
    font-size: 12px !important;
    font-weight: 850;
    margin-bottom: 10px;
}


.modern-contact-line {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 7px 0;
    color: #1e3333;
    font-size: 13px !important;
    line-height: 1.6;
    font-weight: 450;
    word-break: break-word;
}


    .modern-contact-line i,
    .modern-contact-row i {
        color: var(--brand);
        margin-top: 2px;
        min-width: 16px;
    }


    .modern-contact-line a,
    .modern-contact-row a {
        color: var(--brand-dark) !important;
        text-decoration: none !important;
        font-weight: 450;
        word-break: break-word;
    }


.modern-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px !important;
    font-weight: 450;
    color: #1e3333;
}


.empty-state {
    padding: 28px 16px;
    text-align: center;
    color: #789;
    border: 1px dashed rgba(25, 181, 180, .45);
    border-radius: 18px;
    background: #fbffff;
    font-weight: 450;
}


/* ============================================================
   FOOTER
============================================================ */

#winchm_template_footer {
    border-width: 1px;
    border-color: #c0c0c0;
    border-top-style: solid;
    margin: 0 15px 5px 15px;
    padding: 6px 0 20px 0;
    font-family: arial, helvetica, sans-serif;
    font-size: 9px;
    color: #909090;
    text-align: center;
    width: auto;
}


/* ============================================================
   TO TOP
============================================================ */

.btn-circle.btn-xl {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 16px !important;
    font-size: 24px !important;
    line-height: 1.33 !important;
    outline: none !important;
    position: fixed !important;
    right: 50px !important;
    bottom: 50px !important;
    border: 1px solid rgba(25, 181, 180, .32);
    z-index: 999;
    background-color: rgba(255, 255, 255, .88);
    box-shadow: 0 12px 30px rgba(2, 49, 44, .14);
    backdrop-filter: blur(10px);
    cursor: pointer;
}


    .btn-circle.btn-xl:hover {
        background-color: #e9ffff !important;
        border: 1px solid rgba(25, 181, 180, .52) !important;
        transition: background-color .5s !important;
    }


/* ============================================================
   IMAGE / VIDEO LIGHTBOX
============================================================ */

.media-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, .82);
    padding: 16px;
}


    .media-lightbox.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }


.media-lightbox-panel {
    position: relative;
    max-width: 96vw;
    max-height: 92vh;
    background: #111;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
}


.media-lightbox-tools {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px;
    background: rgba(0, 0, 0, .72);
}


    .media-lightbox-tools button {
        border: 1px solid rgba(255, 255, 255, .28);
        background: rgba(255, 255, 255, .12);
        color: #fff;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 12px !important;
        font-weight: 400;
        cursor: pointer;
    }


.media-lightbox-stage {
    overflow: auto;
    max-width: 96vw;
    max-height: calc(92vh - 48px);
    padding: 10px;
    text-align: center;
}


#lightboxImage {
    display: none;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    background: #fff;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}


    #lightboxImage.fit-screen {
        max-width: calc(96vw - 30px);
        max-height: calc(92vh - 80px);
        width: auto;
        height: auto;
    }


#lightboxVideo {
    display: none;
    width: min(1100px, calc(96vw - 30px));
    max-height: calc(92vh - 80px);
    background: #000;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 980px) {

    .modern-layout {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 750px) {

    .linkedin-modern-page {
        width: 94%;
    }


    .modern-hero {
        padding: 18px;
        border-radius: 22px;
        min-height: auto;
    }


    .modern-card-body {
        padding: 0 14px 16px 14px;
    }


    .modern-media-grid,
    .modern-media-grid.media-count-2,
    .modern-media-grid.media-count-3,
    .modern-media-grid.media-count-4,
    .modern-media-grid.media-count-many {
        grid-template-columns: 1fr;
    }


    .btn-circle.btn-xl {
        right: 18px !important;
        bottom: 18px !important;
    }
}


/* ============================================================
   PRINT
============================================================ */

@media print {

    .media-lightbox,
    #toTop {
        display: none !important;
    }


    .modern-card,
    .modern-hero {
        box-shadow: none !important;
        break-inside: avoid;
    }


    .modern-layout {
        display: block;
    }
}


/* ============================================================
   RELATED TOPICS ON LINKEDIN POSTS (2026-08-17)

   These posts have no section, so every entry comes from text
   similarity. Only the surface differs from the standard block:
   here it needs its own card, because the LinkedIn page has no
   article wrapper to sit inside.
============================================================ */

.help-related-linkedin {
    max-width: 1100px;
    margin: 10px auto 44px;
    padding: 22px 24px;
    border: 1px solid #dce7e7;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(16, 49, 57, .06);
}

    .help-related-linkedin .help-related-heading {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 16px;
        color: #0b6670;
        font-size: 15px;
        font-weight: 700;
    }

        .help-related-linkedin .help-related-heading::before {
            content: "";
            width: 4px;
            height: 17px;
            flex: 0 0 4px;
            border-radius: 2px;
            background: linear-gradient(180deg, #0e969a, #0b6670);
        }

    .help-related-linkedin .help-related-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .help-related-linkedin .help-related-item a {
        position: relative;
        display: block;
        height: 100%;
        padding: 13px 34px 13px 15px;
        overflow: hidden;
        border: 1px solid #dce7e7;
        border-radius: 12px;
        background: #fbfdfd;
        color: inherit;
        text-decoration: none;
        transition: transform .18s ease, border-color .18s ease,
                    box-shadow .18s ease, background .18s ease;
    }

        .help-related-linkedin .help-related-item a::before {
            content: "";
            position: absolute;
            inset-block: 0;
            inset-inline-start: 0;
            width: 3px;
            background: linear-gradient(180deg, #0e969a, #0b6670);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform .18s ease;
        }

        .help-related-linkedin .help-related-item a::after {
            content: "";
            position: absolute;
            top: 50%;
            inset-inline-end: 14px;
            width: 7px;
            height: 7px;
            margin-top: -4px;
            border-top: 2px solid #91a1a5;
            border-inline-end: 2px solid #91a1a5;
            transform: rotate(45deg);
            transition: border-color .18s ease, transform .18s ease;
        }

        .help-related-linkedin .help-related-item a:hover,
        .help-related-linkedin .help-related-item a:focus-visible {
            transform: translateY(-2px);
            border-color: rgba(14, 150, 154, .38);
            background: #f1f8f8;
            box-shadow: 0 6px 18px rgba(16, 49, 57, .07);
        }

            .help-related-linkedin .help-related-item a:hover::before {
                transform: scaleY(1);
            }

            .help-related-linkedin .help-related-item a:hover::after {
                border-color: #0e969a;
                transform: rotate(45deg) translate(2px, -2px);
            }

    .help-related-linkedin .help-related-title {
        display: block;
        color: #123038;
        font-size: 13.5px;
        font-weight: 650;
        line-height: 1.45;
    }

    .help-related-linkedin .help-related-meta {
        display: inline-block;
        max-width: 100%;
        margin-top: 7px;
        padding: 2px 8px;
        overflow: hidden;
        border-radius: 999px;
        background: #f2f8f8;
        color: #6d8389;
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .03em;
        text-overflow: ellipsis;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .help-related-linkedin .help-related-item a:hover .help-related-meta {
        background: #ffffff;
        color: #0c7f86;
    }


/* Same rule for the LinkedIn variant: eight on desktop, four on a phone. */
@media (max-width: 768px) {

    .help-related-linkedin .help-related-item:nth-child(n + 5) {
        display: none;
    }
}



/* ==========================================================================
   LINKEDIN MEDIA LIGHTBOX
   Match Tester / Relay media preview behavior
   ========================================================================== */


/* --------------------------------------------------------------------------
   Overlay only over RIGHT CONTENT PANEL
   -------------------------------------------------------------------------- */

body.help-body.help-ui-2026 .media-lightbox {
    display: none !important;
    position: fixed !important;
    top: var(--vh-header-h) !important;
    /*
       Automatic:
       LTR -> sidebar is left
       RTL -> sidebar is right
    */
    inset-inline-start: calc(var(--vbk-sidebar-w) + 6px) !important;
    inset-inline-end: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    z-index: 5000 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    background: rgba(10, 31, 36, .58) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}


    /* OPEN */

    body.help-body.help-ui-2026
    .media-lightbox.active {
        display: flex !important;
    }


/* --------------------------------------------------------------------------
   When desktop sidebar is collapsed
   -------------------------------------------------------------------------- */

@media (min-width: 769px) {

    body.help-body.help-ui-2026.sidebar-collapsed
    .media-lightbox {
        inset-inline-start: 0 !important;
    }
}


/* --------------------------------------------------------------------------
   WHITE PREVIEW CARD
   -------------------------------------------------------------------------- */

body.help-body.help-ui-2026
.media-lightbox-panel {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(88%, 1120px) !important;
    max-width: min(88%, 1120px) !important;
    height: auto !important;
    max-height: calc(100% - 36px) !important;
    margin: auto !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .58) !important;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 24px 60px rgba(5, 34, 40, .28) !important;
}


/* --------------------------------------------------------------------------
   Remove old black toolbar
   -------------------------------------------------------------------------- */

body.help-body.help-ui-2026
.media-lightbox-tools {
    position: fixed !important;
    top: calc(var(--vh-header-h) + 16px) !important;
    inset-inline-end: 16px !important;
    z-index: 5002 !important;
    display: flex !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}


/* Hide old Fit / Actual Size */

body.help-body.help-ui-2026
#lightboxFitBtn,
body.help-body.help-ui-2026
#lightboxActualBtn {
    display: none !important;
}


/* Close button becomes X */

body.help-body.help-ui-2026
#lightboxCloseBtn {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(208, 221, 224, .9) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .94) !important;
    color: transparent !important;
    font-size: 0 !important;
    box-shadow: 0 8px 22px rgba(5, 34, 40, .15) !important;
    cursor: pointer !important;
}


    body.help-body.help-ui-2026
    #lightboxCloseBtn::before {
        content: "×";
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: #29464d;
        font-size: 24px;
        font-weight: 400;
        line-height: 1;
    }


/* --------------------------------------------------------------------------
   Stage
   -------------------------------------------------------------------------- */

body.help-body.help-ui-2026
.media-lightbox-stage {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
}


/* ==========================================================================
   IMAGE
   ========================================================================== */

body.help-body.help-ui-2026
#lightboxImage {
    display: none;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(78dvh - var(--vh-header-h)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}


    /*
   Old fit-screen class must no longer make image huge.
*/

    body.help-body.help-ui-2026
    #lightboxImage.fit-screen {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: calc(78dvh - var(--vh-header-h)) !important;
    }


/* ==========================================================================
   VIDEO
   ========================================================================== */

body.help-body.help-ui-2026
#lightboxVideo {
    display: none;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: calc(78dvh - var(--vh-header-h)) !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #000000 !important;
    box-shadow: none !important;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    body.help-body.help-ui-2026
    .media-lightbox {
        top: var(--vh-header-h) !important;
        left: 0 !important;
        right: 0 !important;
        inset-inline-start: 0 !important;
        inset-inline-end: 0 !important;
        padding: 14px !important;
    }


    body.help-body.help-ui-2026
    .media-lightbox-panel {
        width: 94% !important;
        max-width: 94% !important;
        max-height: calc(100% - 24px) !important;
        padding: 8px !important;
        border-radius: 18px !important;
    }


    body.help-body.help-ui-2026
    #lightboxImage,
    body.help-body.help-ui-2026
    #lightboxVideo {
        max-width: 100% !important;
        max-height: calc(76dvh - var(--vh-header-h)) !important;
        border-radius: 12px !important;
    }


    body.help-body.help-ui-2026
    .media-lightbox-tools {
        top: calc(var(--vh-header-h) + 10px) !important;
        inset-inline-end: 10px !important;
    }
}


/* ==========================================================================
   LINKEDIN VIDEO EXPAND BUTTON
   ========================================================================== */

.modern-video-preview {
    position: relative !important;
}


.modern-video-expand-button {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 5;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 10px;
    background: rgba(8, 30, 34, .76);
    color: #ffffff;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .20);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform .16s ease, background .16s ease;
}


    .modern-video-expand-button:hover {
        transform: scale(1.05);
        background: rgba(7, 83, 92, .92);
    }



/* ==========================================================================
   LINKEDIN — MATCH TESTER / CATALOG PAGE SPACING
   ========================================================================== */


/* --------------------------------------------------------------------------
   TABLET / SMALL DESKTOP
   Same horizontal spacing as the shared Help content area
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {

    body.help-body.help-ui-2026.help-is-linkedin
    .panel-right
    #content.help-main {
        padding: 26px 28px 48px !important;
    }


    body.help-body.help-ui-2026.help-is-linkedin
    .linkedin-page-surface {
        width: 100% !important;
        max-width: var(--vh-content-max) !important;
        margin-inline: auto !important;
        box-sizing: border-box !important;
    }


    body.help-body.help-ui-2026.help-is-linkedin
    .linkedin-modern-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
}


/* --------------------------------------------------------------------------
   MOBILE
   Exactly the same 12px left/right gap used by Tester / Catalog
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

    body.help-body.help-ui-2026.help-is-linkedin
    .panel-right
    #content.help-main {
        padding: 18px 12px 36px !important;
    }


    body.help-body.help-ui-2026.help-is-linkedin
    .linkedin-page-surface {
        width: 100% !important;
        max-width: 100% !important;
        margin-inline: auto !important;
    }


    body.help-body.help-ui-2026.help-is-linkedin
    .linkedin-modern-page {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}



/* ==========================================================================
   LINKEDIN — USE GLOBAL HELP CONTENT WIDTH
   ========================================================================== */

body.help-body.help-ui-2026
.linkedin-page-surface {
    width: min(var(--vh-content-max), 100%) !important;
    max-width: var(--vh-content-max) !important;
    margin-inline: auto !important;
}


body.help-body.help-ui-2026
.linkedin-modern-page {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
}