.microclips_site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 10px clamp(16px, 4vw, 56px);
    border-bottom: 1px solid #e3e9f2;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 4px 18px rgba(25, 42, 70, .045);
    color: #fff;
    font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.25;
    letter-spacing: 0;
    box-sizing: border-box;
}

.microclips_site-header *,
.microclips_site-header *::before,
.microclips_site-header *::after {
    box-sizing: border-box;
}

.microclips_site-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.microclips_site-brand img {
    display: block;
    width: min(210px, 28vw);
    height: 48px;
    object-fit: contain;
}

.microclips_site-nav,
.microclips_site-account {
    display: flex;
    align-items: center;
    gap: clamp(9px, 1.5vw, 22px);
}

.microclips_site-nav {
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
    
}

.microclips_site-nav > a,
.microclips_site-nav > details > summary {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #34465e;
    font: inherit;
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.microclips_site-nav > a:hover,
.microclips_site-nav > details > summary:hover,
.microclips_site-nav > details[open] > summary {
    color: #2865e8;
}

.microclips_site-nav details,
.microclips_site-profile {
    position: relative;
}

.microclips_site-nav summary,
.microclips_site-profile summary {
    list-style: none;
}

.microclips_site-nav summary::-webkit-details-marker,
.microclips_site-profile summary::-webkit-details-marker {
    display: none;
}

.microclips_site-nav > details > summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 0 0 8px;
    transform: rotate(45deg);
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.microclips_site-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: -12px;
    display: grid;
    min-width: 190px;
    max-width: min(320px, 85vw);
    max-height: 60vh;
    overflow: auto;
    padding: 5px;
    border: 1px solid #e0e7f0;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 42, 69, .15);
}

.microclips_site-dropdown a {
    overflow: hidden;
    padding: 9px 10px;
    border-radius: 4px;
    color: #35465d;
    font-size: 12px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.microclips_site-dropdown a:hover {
    background: #f1f5fc;
    color: #2056bc;
}

.microclips_site-activity-list,
.microclips_site-profile-menu {
    right: 0;
    left: auto;
}

.microclips_site-account {
    flex: 0 0 auto;
    justify-content: flex-end;
}

.microclips_site-profile summary {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 310px;
    overflow: hidden;
    padding: 6px 10px;
    border: 1px solid #e1e6ef;
    border-radius: 12px;
    background: #fff;
    color: #34465e;
    box-shadow: 0 2px 8px rgba(25, 42, 70, .06);
    cursor: pointer;
}

.microclips_site-profile-avatar {
    display: grid;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    place-items: center;
    margin-top: 1px;
    color: #554078;
}

.microclips_site-profile-avatar svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.microclips_site-profile-details {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.microclips_site-profile-primary,
.microclips_site-profile-organization {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.microclips_site-profile-primary {
    font-size: 13px;
    font-weight: 650;
}

.microclips_site-profile-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

.microclips_site-profile-type {
    flex: 0 0 auto;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e8edff;
    color: #2456d9;
    font-size: 10px;
    font-weight: 700;
    text-transform: capitalize;
}

.microclips_site-profile-organization {
    color: #4b5563;
    font-size: 11px;
    font-weight: 450;
    white-space: nowrap;
}

.microclips_site-profile-organization > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.microclips_site-profile-menu {
    min-width: 120px;
}

.microclips_site-signin {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 6px;
    background: #101112;
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.microclips_site-signin:hover {
    background: #194fc2;
}

.microclips_content-page-wrapper[hidden],
.microclips_adminboard-legacy-header[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    .microclips_site-header {
        gap: 12px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .microclips_site-nav,
    .microclips_site-account {
        gap: 9px;
    }

    .microclips_site-nav > a,
    .microclips_site-nav > details > summary {
        font-size: 11px;
    }
}

@media (max-width: 720px) {
    .microclips_site-header {
        min-height: 66px;
        gap: 8px;
        padding: 8px 12px;
    }

    .microclips_site-brand {
        max-width: 130px;
    }

    .microclips_site-brand img {
        width: 130px;
        height: 40px;
    }

    .microclips_site-nav {
        flex: 1 1 auto;
        justify-content: flex-end;
        gap: 7px;
    }

    .microclips_site-nav > a,
    .microclips_site-nav > details > summary {
        min-height: 34px;
        font-size: 10px;
    }

    .microclips_site-nav > a:nth-of-type(1),
    .microclips_site-nav > a:nth-of-type(3),
    .microclips_site-nav > a:nth-of-type(n + 4) {
        display: none;
    }

    .microclips_site-profile summary {
        max-width: 190px;
        gap: 5px;
        padding: 5px 7px;
    }

    .microclips_site-profile-primary {
        font-size: 10px;
    }

    .microclips_site-profile-type {
        padding: 2px 6px;
        font-size: 9px;
    }

    .microclips_site-profile-organization {
        gap: 4px;
        font-size: 9px;
    }

    .microclips_site-signin {
        min-height: 33px;
        padding: 0 9px;
        font-size: 10px;
    }
}


/* ======================================================
   MICROCLIPS FOOTER
   ====================================================== */

.microclips_home_site-footer {
    background: #141414;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 6% 38px;
    font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}


/* MAIN CONTAINER */
.microclips_home_footer-container {
    max-width: 1680px;
    margin: 0 auto;
}


/* THREE COLUMN LAYOUT */

.microclips_home_cols {
    display: grid;
    grid-template-columns: 1.45fr 0.68fr 0.95fr;
    align-items: start;
    gap: 80px;
}


/* ======================================================
   BRAND
   ====================================================== */

.microclips_home_footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


/* Brand box */

.microclips_home_footer-brand-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 11px 18px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.015);

    margin-bottom: 24px;
}


/* Blue logo mark */

.microclips_home_footer-brand-mark {
    position: relative;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #3b82f6 100%
        );

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.30);

    overflow: hidden;
}


/* white MicroIntech symbol */

.microclips_home_footer-brand-mark::before {
    content: "";

    position: absolute;

    left: 13px;
    top: 9px;

    width: 21px;
    height: 29px;

    background: #ffffff;

    clip-path: polygon(
        0 100%,
        38% 10%,
        100% 0,
        58% 100%,
        58% 48%
    );
}


/* BRAND TEXT */

.microclips_home_footer-brand-copy {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.microclips_home_footer-brand-name {
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 0.8px;
}

.microclips_home_footer-brand-sub {
    margin-top: 6px;

    color: #8faeff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.4px;
}


/* DESCRIPTION */

.microclips_home_footer-brand p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.8;
}


/* ======================================================
   LINKS
   ====================================================== */

.microclips_home_links {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 22px;

    padding-top: 8px;
}

.microclips_home_links a {
    color: #ffffff !important;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.microclips_home_links a:hover {
    color: #60a5fa !important;
    transform: translateX(3px);
}


/* ======================================================
   SOCIAL
   ====================================================== */

.microclips_home_footer-social {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.microclips_home_footer-social h2 {
    margin: 0 0 23px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 600;
}


/* SOCIAL ICONS */

.microclips_home_social-icons {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}

.microclips_home_social-icons a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.015);

    color: #ffffff !important;

    font-size: 17px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.microclips_home_social-icons a:hover {
    background: #2563eb;
    border-color: #2563eb;

    transform: translateY(-2px);
}


/* ======================================================
   FOOTER BUTTONS
   ====================================================== */

.microclips_home_footer-buttons {
    display: flex;
    align-items: center;

    gap: 14px;

    flex-wrap: nowrap;
}

.microclips_home_footer-site-btn,
.microclips_home_footer-contact-btn {
    height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease,background 0.2s ease,border-color 0.2s ease;
}


/* Website */

.microclips_home_footer-site-btn {
    background: transparent;

    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.20);
}

.microclips_home_footer-site-btn:hover {
    background: rgba(255, 255, 255, 0.06);

    border-color: rgba(255, 255, 255, 0.35);

    transform: translateY(-2px);
}


/* Contact */

.microclips_home_footer-contact-btn {
    background: #2563eb;

    color: #ffffff;

    border: 1px solid #2563eb;
}

.microclips_home_footer-contact-btn:hover {
    background: #1d4ed8;

    border-color: #1d4ed8;

    transform: translateY(-2px);
}


/* ======================================================
   DIVIDER
   ====================================================== */

.microclips_home_footer-divider {
    width: 100%;
    height: 1px;

    margin-top: 38px;

    background: rgba(255, 255, 255, 0.12);
}


/* ======================================================
   TABLET
   ====================================================== */

@media (max-width: 1000px) {

    .microclips_home_cols {
        grid-template-columns: 1.4fr 0.8fr;

        gap: 45px;
    }

    .microclips_home_footer-social {
        grid-column: 1 / -1;

        margin-top: 10px;
    }
}


/* ======================================================
   MOBILE
   ====================================================== */

@media (max-width: 650px) {

    .microclips_home_site-footer {
        padding: 36px 22px 28px;
    }

    .microclips_home_cols {
        grid-template-columns: 1fr;

        gap: 32px;
    }

    .microclips_home_footer-social {
        grid-column: auto;

        margin-top: 0;
    }

    .microclips_home_footer-brand-box {
        padding: 10px 14px;
    }

    .microclips_home_footer-brand p {
        font-size: 14px;
    }

    .microclips_home_footer-buttons {
        flex-direction: column;

        align-items: stretch;

        width: 100%;
    }

    .microclips_home_footer-site-btn,
    .microclips_home_footer-contact-btn {
        width: 100%;
    }

    .microclips_home_footer-divider {
        margin-top: 30px;
    }
}



/* MicroClips compact footer */

.microclips_footer_main {
    flex-shrink: 0;
    margin-top: auto;
    font-family: "Avenir Next", "Segoe UI", system-ui,
        -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.microclips_footer_main,
.microclips_footer_main * {
    box-sizing: border-box;
}

.microclips_footer_simple {
    background: #1b253f;
    border-top: 1px solid #e4eaf3;
    padding: 18px 4%;
}

.microclips_footer_description {
    margin: 0 0 10px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.microclips_footer_copy {
    margin: 0;
    color: #b8c2d3;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.microclips_footer_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
}

.microclips_footer_social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.microclips_footer_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #e4eaf3;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.microclips_footer_social i {
    inline-size: 1em;
    text-align: center;
}

.microclips_footer_social a:hover {
    background: #2456e6;
    border-color: #2456e6;
}

.microclips_footer_demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 8px;
    background: #2456e6;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(36, 86, 230, 0.25);
    transition:
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.microclips_footer_demo:hover {
    background: #1b46c9;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(36, 86, 230, 0.3);
}

.microclips_footer_main a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

@media (width <= 640px) {
    .microclips_footer_row {
        flex-direction: column;
        justify-content: center;
    }
}
/* Footer spacing overrides */
footer.microclips_footer_main {
    margin-top: auto;
    padding: 0;
    background: #1b253f;
}

footer.microclips_footer_main .microclips_footer_simple {
    padding: 18px 4%;
    box-sizing: border-box;
}

footer.microclips_footer_main .microclips_footer_description {
    margin: 0 0 10px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

footer.microclips_footer_main .microclips_footer_copy {
    margin: 0;
    color: #b8c2d3;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
}

footer.microclips_footer_main .microclips_footer_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 14px 0 0;
}

footer.microclips_footer_main .microclips_footer_social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer.microclips_footer_main .microclips_footer_social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px;
    border: 1px solid #e4eaf3;
    border-radius: 50%;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

footer.microclips_footer_main .microclips_footer_demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 22px;
    border-radius: 8px;
    background: #2456e6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

footer.microclips_footer_main .microclips_footer_demo:hover {
    background: #1b46c9;
}

@media (width <= 640px) {
    footer.microclips_footer_main .microclips_footer_row {
        flex-direction: column;
        justify-content: center;
    }
}
