/* Shared desktop dropdown link typography; CTA buttons and the mobile drawer are excluded. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma :is(.cie-mega-figma__rail-link, .cie-product-menu-link, .cie-mega-figma__link) {
        margin: 0 !important;
        padding: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma :is(.cie-mega-figma__rail-link, .cie-product-menu-link, .cie-mega-figma__link) .elementor-button {
        padding-block: 0 !important;
        font-family: "Quenda", sans-serif !important;
        font-size: 16px !important;
        font-style: normal !important;
        font-weight: 500 !important;
        line-height: 32px !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma :is(.cie-mega-figma__product-rail-links, .cie-products-panel__column, .cie-products-panel__group, .cie-support-menu__column, .cie-mega-figma__column) {
        row-gap: 0 !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma .cie-products-panel__group {
        margin-bottom: 0 !important;
    }
}

/* Figma parent-category rail is larger than the dropdown child links. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma .cie-mega-figma__product-rail-links {
        row-gap: 15px !important;
    }
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma .cie-mega-figma__rail-link .elementor-button {
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 30px !important;
    }
}

/* Category headings use the shared link typography and retain black text. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar .cie-mega-figma .cie-products-panel:not(.cie-products-panel--brands) .cie-mega-figma__product-heading-link .elementor-button {
        color: var(--Black, #000) !important;
    }
}

/* Match Support's black link text in the other compact dropdowns. */
@media (min-width: 1025px) {
    body .elementor-location-header.elementor-7030 .elementor-element.elementor-element-68aba0fe.cie-site-header.cie-site-header--figma-navbar :is(.cie-resources-menu, .cie-mega-figma--solutions) .cie-mega-figma__link .elementor-button {
        color: #000 !important;
    }
}
