.cmpde-directory {
    --cmpde-navy: #071653;
    --cmpde-blue: #087fe0;
    --cmpde-cyan: #18bff2;
    --cmpde-red: #e33b4f;
    --cmpde-ink: #07143f;
    --cmpde-muted: #65718a;
    --cmpde-line: rgba(7, 20, 63, 0.12);
    --cmpde-soft: #f4f8fc;
    --cmpde-panel: rgba(255, 255, 255, 0.92);
    --cmpde-shadow: 0 18px 46px rgba(7, 20, 63, 0.11);
    box-sizing: border-box;
    width: min(1680px, calc(100vw - 64px));
    margin: 0 auto;
    padding: 18px 0 86px;
    color: var(--cmpde-ink);
    font-family: "Aptos", "Manrope", "Segoe UI", sans-serif;
}

.cmpde-directory *,
.cmpde-directory *::before,
.cmpde-directory *::after {
    box-sizing: border-box;
}

.cmpde-hero {
    --logo-h: 80px;
    --gap: 70px;
    --speed: 80s;
    --fade: 80px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
    gap: clamp(22px, 4vw, 44px);
    align-items: end;
    overflow: hidden;
    min-height: 410px;
    padding: clamp(34px, 5vw, 62px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #071653;
    color: #fff;
    box-shadow: 0 34px 84px rgba(7, 22, 83, 0.26);
}

.cmpde-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(7, 22, 83, 0.78), rgba(7, 22, 83, 0.46) 42%, rgba(8, 127, 224, 0.28)),
        radial-gradient(circle at 78% 16%, rgba(24, 191, 242, 0.15), transparent 36%),
        linear-gradient(0deg, rgba(7, 22, 83, 0.2), rgba(7, 22, 83, 0.01));
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.cmpde-hero::after {
    content: "";
    position: absolute;
    inset: auto clamp(20px, 4vw, 48px) 26px auto;
    width: 32%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cmpde-cyan), var(--cmpde-red));
    opacity: 0.9;
    z-index: 2;
}

#cmp-logo-marquees.cmpde-hero__logo-cloud {
    position: absolute;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    inset: 0;
    overflow: hidden;
    gap: 0;
    padding: 30px 0;
    background: #fff;
    opacity: 1;
    pointer-events: none;
}

#cmp-logo-marquees .cmp-marquee {
    position: relative;
    overflow: hidden;
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%);
}

#cmp-logo-marquees .cmp-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: var(--gap) !important;
    width: max-content !important;
    white-space: nowrap !important;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

#cmp-logo-marquees .cmp-item {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 150px;
}

#cmp-logo-marquees .cmp-item img {
    display: block;
    width: auto !important;
    height: var(--logo-h) !important;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(1.08) saturate(1.08) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.26));
}

#cmp-logo-marquees .to-left {
    animation: cmp-left var(--speed) linear infinite !important;
}

#cmp-logo-marquees .to-right {
    animation: cmp-right var(--speed) linear infinite !important;
}

#cmp-logo-marquees .cmp-marquee:hover .cmp-track {
    animation-play-state: paused !important;
}

.cmpde-hero__logo-item {
    place-items: center;
}

#cmp-logo-marquees .cmp-item.is-failed,
.cmpde-hero__logo-item.is-failed {
    visibility: hidden;
}

.cmpde-hero__content,
.cmpde-hero__panel {
    position: relative;
    z-index: 2;
}

.cmpde-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #9be7ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cmpde-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.7vw, 60px);
    line-height: 1;
    letter-spacing: 0;
}

.cmpde-hero p {
    max-width: 760px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.55;
}

.cmpde-hero__panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(24, 191, 242, 0.1)),
        rgba(4, 18, 70, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 26px 58px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
}

.cmpde-hero__metric {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px 12px;
    align-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 96px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
        radial-gradient(circle at 85% 15%, rgba(24, 191, 242, 0.2), transparent 42%);
    animation: cmpdeMetricPulse 7s ease-in-out infinite;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cmpde-hero__metric.is-clusters {
    animation-delay: 900ms;
}

.cmpde-hero__metric::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(24, 191, 242, 0.9), rgba(255, 255, 255, 0.18), rgba(227, 59, 79, 0.72));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0.58;
    pointer-events: none;
}

.cmpde-hero__metric::after {
    content: "";
    position: absolute;
    inset: -45% auto auto -20%;
    width: 70%;
    height: 190%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: rotate(18deg) translateX(-70%);
    transition: transform 650ms ease;
}

.cmpde-hero__metric:hover,
.cmpde-hero__metric:focus-within {
    border-color: rgba(24, 191, 242, 0.48);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(24, 191, 242, 0.18)),
        radial-gradient(circle at 85% 15%, rgba(24, 191, 242, 0.28), transparent 44%);
    box-shadow: 0 18px 38px rgba(3, 15, 58, 0.26);
    transform: translateY(-3px);
}

.cmpde-hero__metric:hover::after,
.cmpde-hero__metric:focus-within::after {
    transform: rotate(18deg) translateX(190%);
}

.cmpde-hero__metric-icon {
    position: relative;
    z-index: 1;
    display: grid;
    grid-row: 1 / span 3;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    color: #9be7ff;
    font-size: 23px;
    line-height: 46px;
}

.cmpde-hero__panel strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 48px;
    font-weight: 850;
    line-height: 1;
    text-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cmpde-hero__metric-label {
    position: relative;
    z-index: 1;
    max-width: none;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    text-align: left;
}

.cmpde-hero__metric small {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
}

@keyframes cmpdeMetricPulse {
    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 rgba(24, 191, 242, 0);
    }

    45% {
        border-color: rgba(155, 231, 255, 0.46);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 42px rgba(24, 191, 242, 0.2);
    }
}

@keyframes cmp-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes cmp-right {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmpde-hero__metric,
    #cmp-logo-marquees .cmp-track {
        animation: none;
    }
}

.cmpde-sponsors {
    display: grid;
    gap: 14px;
    margin: 0;
}

.cmpde-sponsors__head {
    display: flex;
    gap: 12px;
    align-items: baseline;
    justify-content: space-between;
}

.cmpde-sponsors__head span {
    color: var(--cmpde-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cmpde-sponsors__head strong {
    color: var(--cmpde-ink);
    font-size: 18px;
    line-height: 1.2;
}

.cmpde-sponsors__track {
    display: grid;
    grid-auto-columns: minmax(280px, 1fr);
    grid-auto-flow: column;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
}

.cmpde-sponsor-card {
    position: relative;
    display: grid;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid rgba(7, 20, 63, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 22, 83, 0.86), rgba(8, 127, 224, 0.24)),
        #0b1b55;
    color: #fff;
    box-shadow: var(--cmpde-shadow);
    scroll-snap-align: start;
    text-decoration: none;
}

.cmpde-sponsor-card:hover,
.cmpde-sponsor-card:focus {
    color: #fff;
    transform: translateY(-1px);
}

.cmpde-sponsor-card__label {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--cmpde-navy);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cmpde-sponsor-card__image {
    position: absolute;
    inset: 0;
}

.cmpde-sponsor-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
}

.cmpde-sponsor-card__fallback {
    place-self: center;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.cmpde-sponsor-card__body {
    position: relative;
    z-index: 1;
    align-self: end;
    display: grid;
    gap: 7px;
    padding: 58px 18px 18px;
}

.cmpde-sponsor-card__body strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.08;
}

.cmpde-sponsor-card__body small {
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.35;
}

.cmpde-workspace {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.cmpde-workspace.has-sponsor-rail {
    grid-template-columns: 280px minmax(0, 1fr) minmax(230px, 280px);
}

.cmpde-filters {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f9fbfe);
    box-shadow: var(--cmpde-shadow);
}

.cmpde-filter-title {
    color: var(--cmpde-navy);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cmpde-chips {
    display: grid;
    gap: 9px;
}

.cmpde-chips button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--cmpde-ink);
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.cmpde-chips button b {
    display: inline-grid;
    min-width: 30px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: var(--cmpde-soft);
    color: var(--cmpde-muted);
    font-size: 12px;
}

.cmpde-chips button:hover,
.cmpde-chips button:focus {
    border-color: rgba(8, 127, 224, 0.42);
    background: #fff;
    outline: 0;
}

.cmpde-chips button.is-active {
    border-color: var(--cmpde-navy);
    background: var(--cmpde-navy);
    color: #fff;
}

.cmpde-chips button.is-active b {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.cmpde-results {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.cmpde-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(190px, 0.95fr) minmax(150px, 0.62fr);
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid rgba(7, 20, 63, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(7, 20, 63, 0.07);
}

.cmpde-toolbar__field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.cmpde-toolbar__field span {
    color: var(--cmpde-navy);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.cmpde-toolbar__field input,
.cmpde-toolbar__field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(7, 20, 63, 0.15);
    border-radius: 8px;
    background: #fff;
    color: var(--cmpde-ink);
    font-size: 14px;
    font-weight: 750;
    outline: 0;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cmpde-toolbar__field input:focus,
.cmpde-toolbar__field select:focus {
    border-color: rgba(8, 127, 224, 0.62);
    box-shadow: 0 0 0 4px rgba(24, 191, 242, 0.15);
}

.cmpde-map-panel {
    display: grid;
    gap: 14px;
}

.cmpde-map-panel__canvas {
    position: relative;
    display: grid;
    min-height: clamp(300px, 30vw, 430px);
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(7, 20, 63, 0.12);
    border-radius: 8px;
    background:
        radial-gradient(circle at 18% 32%, rgba(24, 191, 242, 0.16), transparent 24%),
        radial-gradient(circle at 72% 56%, rgba(227, 59, 79, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(244, 248, 252, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 46px rgba(7, 20, 63, 0.08);
}

.cmpde-map-panel__canvas::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 8px;
    background:
        linear-gradient(rgba(7, 20, 63, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 20, 63, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
    pointer-events: none;
}

.cmpde-map-panel__canvas::after {
    content: "";
    position: absolute;
    inset: 36px 54px;
    border: 1px solid rgba(8, 127, 224, 0.2);
    border-radius: 54% 46% 44% 56% / 34% 48% 52% 66%;
    background:
        linear-gradient(135deg, rgba(8, 127, 224, 0.08), rgba(24, 191, 242, 0.08)),
        rgba(255, 255, 255, 0.42);
    transform: rotate(-7deg);
    pointer-events: none;
}

.cmpde-map-panel__state {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(420px, calc(100% - 36px));
    gap: 8px;
    justify-items: center;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 44px rgba(7, 20, 63, 0.09);
    text-align: center;
    backdrop-filter: blur(12px);
}

.cmpde-map-panel__state .dashicons {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cmpde-navy), var(--cmpde-blue));
    color: #fff;
    font-size: 24px;
    line-height: 46px;
}

.cmpde-map-panel__state strong {
    color: var(--cmpde-navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

.cmpde-map-panel__state small {
    max-width: 310px;
    color: var(--cmpde-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.cmpde-map-panel__selection {
    min-height: 80px;
    border: 1px solid rgba(7, 20, 63, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(7, 20, 63, 0.07);
}

.cmpde-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    min-height: 0;
}

@media (min-width: 1500px) {
    .cmpde-workspace {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .cmpde-workspace.has-sponsor-rail {
        grid-template-columns: 300px minmax(0, 1fr) 300px;
    }

    .cmpde-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cmpde-workspace.has-sponsor-rail .cmpde-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    .cmpde-results {
        align-self: start;
    }

    .cmpde-grid {
        max-height: 820px;
        overflow-y: auto;
        padding-right: 8px;
    }

    .cmpde-grid::-webkit-scrollbar,
    .cmpde-filters::-webkit-scrollbar,
    .cmpde-ad-rail::-webkit-scrollbar {
        width: 8px;
    }

    .cmpde-grid::-webkit-scrollbar-thumb,
    .cmpde-filters::-webkit-scrollbar-thumb,
    .cmpde-ad-rail::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: rgba(7, 20, 63, 0.18);
    }
}

@media (min-width: 1180px) and (max-width: 1499px) {
    .cmpde-workspace.has-sponsor-rail .cmpde-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.cmpde-ad-rail {
    position: sticky;
    top: 18px;
    min-width: 0;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
}

.cmpde-ad-rail .cmpde-sponsors {
    padding: 18px;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: var(--cmpde-shadow);
}

.cmpde-ad-rail .cmpde-sponsors__head {
    display: grid;
    gap: 4px;
}

.cmpde-ad-rail .cmpde-sponsors__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-auto-rows: minmax(148px, auto);
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
}

.cmpde-ad-rail .cmpde-sponsor-card {
    min-height: 148px;
}

.cmpde-ad-rail .cmpde-sponsor-card__body {
    padding: 52px 14px 14px;
}

.cmpde-ad-rail .cmpde-sponsor-card__body strong {
    font-size: 18px;
}

.cmpde-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 14px 34px rgba(7, 20, 63, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cmpde-card::before {
    content: "";
    flex: 0 0 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--cmpde-cyan), var(--cmpde-red));
}

.cmpde-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 127, 224, 0.32);
    box-shadow: 0 22px 54px rgba(7, 20, 63, 0.13);
}

.cmpde-card[hidden] {
    display: none;
}

.cmpde-card__media {
    display: grid;
    flex: 0 0 174px;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    place-items: center;
    height: 174px;
    border-bottom: 1px solid var(--cmpde-line);
    background:
        linear-gradient(135deg, rgba(8, 127, 224, 0.08), rgba(227, 59, 79, 0.06)),
        #f8fbff;
    text-decoration: none;
}

.cmpde-card__media img {
    display: block;
    width: min(154px, 84%);
    max-width: 154px;
    height: min(154px, 84%);
    max-height: 154px;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.cmpde-card__media.is-fallback img {
    display: none;
}

.cmpde-card__media span,
.cmpde-card__initials {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cmpde-navy), #0a64b7);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.cmpde-card__body {
    display: grid;
    flex: 1;
    grid-template-rows: auto auto auto auto auto;
    gap: 13px;
    padding: 17px;
}

.cmpde-card__topline {
    display: flex;
    min-height: 28px;
    gap: 8px;
    align-items: flex-start;
}

.cmpde-card__clusters {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
}

.cmpde-card__category {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(8, 127, 224, 0.16);
    border-radius: 7px;
    background: linear-gradient(180deg, #f2f9ff, #fff);
    color: #075fb2;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    text-transform: none;
    white-space: normal;
}

.cmpde-card__category::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cmpde-cyan), var(--cmpde-blue));
}

.cmpde-card__category.is-more {
    display: inline-flex;
    align-items: center;
    max-width: none;
    background: rgba(7, 20, 63, 0.08);
    color: var(--cmpde-muted);
}

.cmpde-card h2 {
    min-height: 0;
    margin: 0;
    color: var(--cmpde-ink);
    font-size: 20px;
    line-height: 1.22;
    letter-spacing: 0;
}

.cmpde-card h2 a {
    color: inherit;
    text-decoration: none;
}

.cmpde-card p {
    display: none;
    min-height: 58px;
    margin: 0;
    color: var(--cmpde-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.cmpde-card__meta {
    display: grid;
    gap: 8px;
    margin: 0;
}

.cmpde-card__meta div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.cmpde-card__meta dt,
.cmpde-card__meta dd {
    margin: 0;
}

.cmpde-card__meta dt {
    color: var(--cmpde-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cmpde-card__meta dd {
    overflow: visible;
    color: var(--cmpde-ink);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
}

.cmpde-card__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: flex-start;
    align-self: start;
    padding-top: 4px;
}

.cmpde-card__link {
    appearance: none;
    display: inline-flex;
    min-height: 39px;
    height: auto;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cmpde-navy);
    border-radius: 8px;
    background: var(--cmpde-navy);
    color: #fff;
    padding: 0 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.cmpde-card__link.is-primary {
    flex: 1 1 auto;
    min-width: 104px;
}

.cmpde-card__link:hover,
.cmpde-card__link:focus {
    background: #0b236a;
    color: #fff;
}

.cmpde-card__icon-link {
    appearance: none;
    display: inline-grid;
    width: 36px;
    height: 39px;
    flex: 0 0 36px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(7, 20, 63, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--cmpde-navy);
    cursor: pointer;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.cmpde-card__icon-link .dashicons {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    font-size: 18px;
    line-height: 20px;
}

.cmpde-card__icon-link:hover,
.cmpde-card__icon-link:focus {
    border-color: rgba(8, 127, 224, 0.42);
    background: rgba(8, 127, 224, 0.08);
    box-shadow: 0 10px 24px rgba(7, 20, 63, 0.12);
    color: var(--cmpde-blue);
    transform: translateY(-2px);
}

.cmpde-card__icon-link.is-share {
    border-color: rgba(8, 127, 224, 0.24);
    background: rgba(8, 127, 224, 0.08);
    color: var(--cmpde-blue);
}

.cmpde-card__icon-link.is-copied {
    border-color: rgba(20, 132, 80, 0.35);
    background: #edf9f3;
    color: #09623a;
}

.cmpde-card__icon-link.is-copied .dashicons::before {
    content: "\f147";
}

.cmpde-card__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
    align-items: center;
}

.cmpde-social-link {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(7, 20, 63, 0.1);
    border-radius: 50%;
    background: #fff;
    color: var(--cmpde-navy);
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cmpde-social-link .dashicons {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    font-size: 18px;
    line-height: 18px;
}

.cmpde-social-link.is-linkedin {
    color: #0a66c2;
}

.cmpde-social-link.is-instagram {
    color: #d62976;
}

.cmpde-social-link.is-facebook {
    color: #1877f2;
}

.cmpde-social-link.is-x {
    color: #111827;
}

.cmpde-social-link:hover,
.cmpde-social-link:focus {
    border-color: rgba(8, 127, 224, 0.42);
    box-shadow: 0 10px 24px rgba(7, 20, 63, 0.12);
    color: var(--cmpde-blue);
    transform: translateY(-2px);
}

.cmpde-empty {
    padding: 22px;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: #fff;
    color: var(--cmpde-muted);
    text-align: center;
}

.cmpde-profile {
    --cmpde-navy: #071653;
    --cmpde-blue: #087fe0;
    --cmpde-cyan: #18bff2;
    --cmpde-red: #e33b4f;
    --cmpde-ink: #07143f;
    --cmpde-muted: #65718a;
    --cmpde-line: rgba(7, 20, 63, 0.12);
    box-sizing: border-box;
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 18px 0 78px;
    color: var(--cmpde-ink);
    font-family: "Aptos", "Manrope", "Segoe UI", sans-serif;
}

.cmpde-profile *,
.cmpde-profile *::before,
.cmpde-profile *::after {
    box-sizing: border-box;
}

.cmpde-profile__back {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: #fff;
    color: var(--cmpde-navy);
    padding: 0 13px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.cmpde-profile__back:hover,
.cmpde-profile__back:focus {
    border-color: rgba(8, 127, 224, 0.32);
    color: var(--cmpde-blue);
}

.cmpde-profile__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 310px) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 46px);
    overflow: hidden;
    align-items: center;
    min-height: 360px;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(7, 20, 63, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(7, 22, 83, 0.98), rgba(7, 22, 83, 0.88) 50%, rgba(8, 127, 224, 0.34)),
        radial-gradient(circle at 82% 18%, rgba(24, 191, 242, 0.28), transparent 34%);
    color: #fff;
    box-shadow: 0 30px 80px rgba(7, 22, 83, 0.22);
}

.cmpde-profile__hero::after {
    content: "";
    position: absolute;
    right: clamp(18px, 4vw, 44px);
    bottom: 24px;
    width: 34%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cmpde-cyan), var(--cmpde-red));
}

.cmpde-profile__logo,
.cmpde-profile__intro {
    position: relative;
    z-index: 1;
}

.cmpde-profile__logo {
    display: grid;
    width: min(100%, 270px);
    aspect-ratio: 1;
    place-items: center;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.9)),
        #fff;
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.18);
}

.cmpde-profile__logo img {
    display: block;
    width: min(210px, 80%);
    height: min(210px, 80%);
    object-fit: contain;
    object-position: center;
}

.cmpde-profile__logo span {
    display: grid;
    width: 104px;
    height: 104px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cmpde-navy), #0a64b7);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.cmpde-profile h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.4vw, 58px);
    line-height: 1;
    letter-spacing: 0;
}

.cmpde-profile__clusters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.cmpde-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cmpde-profile__actions .cmpde-button {
    gap: 8px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.cmpde-profile__actions .cmpde-button.is-secondary {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.94);
}

.cmpde-profile__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.cmpde-profile__section,
.cmpde-profile__contact {
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbfdff);
    box-shadow: 0 18px 48px rgba(7, 20, 63, 0.09);
}

.cmpde-profile__section {
    padding: clamp(22px, 4vw, 34px);
}

.cmpde-profile__contact {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.cmpde-profile__label {
    display: block;
    margin-bottom: 14px;
    color: var(--cmpde-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cmpde-profile__description {
    color: #24304f;
    font-size: 17px;
    line-height: 1.72;
}

.cmpde-profile__description p {
    margin: 0 0 16px;
}

.cmpde-profile__description p:last-child {
    margin-bottom: 0;
}

.cmpde-profile__contact dl {
    display: grid;
    gap: 17px;
    margin: 0;
}

.cmpde-profile__contact dl div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.cmpde-profile__contact dt,
.cmpde-profile__contact dd {
    margin: 0;
}

.cmpde-profile__contact dt {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--cmpde-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.cmpde-profile__contact dd {
    color: var(--cmpde-ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.cmpde-profile__contact a {
    color: var(--cmpde-blue);
    text-decoration: none;
}

.cmpde-profile__contact a:hover,
.cmpde-profile__contact a:focus {
    text-decoration: underline;
}

.cmpde-profile__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 4px;
}

.cmpde-member-panel {
    --cmpde-navy: #06184f;
    --cmpde-blue: #078fe8;
    --cmpde-ink: #07143f;
    --cmpde-muted: #647089;
    --cmpde-line: rgba(7, 20, 63, 0.12);
    box-sizing: border-box;
    width: min(980px, calc(100vw - 32px));
    margin: 0 auto;
    color: var(--cmpde-ink);
    font-family: "Aptos", "Manrope", "Segoe UI", sans-serif;
}

.cmpde-member-panel *,
.cmpde-member-panel *::before,
.cmpde-member-panel *::after {
    box-sizing: border-box;
}

.cmpde-member-card {
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 64px rgba(7, 20, 63, 0.1);
    padding: clamp(22px, 4vw, 34px);
}

.cmpde-member-card__head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.cmpde-member-card h2 {
    margin: 0;
    color: var(--cmpde-ink);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.08;
    letter-spacing: 0;
}

.cmpde-member-card p {
    color: var(--cmpde-muted);
    font-size: 16px;
    line-height: 1.55;
}

.cmpde-member-notice {
    margin-bottom: 20px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 800;
}

.cmpde-member-notice.is-success {
    border: 1px solid rgba(20, 132, 80, 0.24);
    background: #edf9f3;
    color: #09623a;
}

.cmpde-member-notice.is-warning {
    border: 1px solid rgba(206, 140, 28, 0.28);
    background: #fff8e8;
    color: #8a5700;
}

.cmpde-member-form {
    display: grid;
    gap: 22px;
}

.cmpde-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cmpde-field {
    display: grid;
    gap: 8px;
}

.cmpde-field--wide {
    grid-column: 1 / -1;
}

.cmpde-field span {
    color: var(--cmpde-ink);
    font-size: 13px;
    font-weight: 900;
}

.cmpde-field input,
.cmpde-field textarea {
    width: 100%;
    border: 1px solid var(--cmpde-line);
    border-radius: 8px;
    background: #fff;
    color: var(--cmpde-ink);
    font: inherit;
    font-size: 15px;
}

.cmpde-field input {
    min-height: 48px;
    padding: 0 14px;
}

.cmpde-field textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

.cmpde-field input:focus,
.cmpde-field textarea:focus {
    border-color: var(--cmpde-blue);
    outline: 3px solid rgba(7, 143, 232, 0.16);
}

.cmpde-form-actions {
    display: flex;
    justify-content: flex-end;
}

.cmpde-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cmpde-navy);
    border-radius: 8px;
    background: var(--cmpde-navy);
    color: #fff;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.cmpde-button:hover,
.cmpde-button:focus {
    background: #0a256e;
    color: #fff;
}

.cmpde-button.is-secondary {
    border-color: var(--cmpde-line);
    background: #fff;
    color: var(--cmpde-navy);
}

@media (max-width: 1040px) {
    .cmpde-hero {
        grid-template-columns: 1fr;
    }

    #cmp-logo-marquees.cmpde-hero__logo-cloud {
        opacity: 0.74;
    }

    .cmpde-hero__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmpde-hero__metric {
        display: grid;
        align-content: center;
    }

    .cmpde-workspace {
        grid-template-columns: 1fr;
    }

    .cmpde-workspace.has-sponsor-rail {
        grid-template-columns: 1fr;
    }

    .cmpde-filters {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .cmpde-chips {
        display: flex;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .cmpde-chips button {
        flex: 0 0 220px;
    }

    .cmpde-toolbar {
        grid-template-columns: minmax(260px, 1fr) minmax(190px, 0.8fr) minmax(150px, 0.56fr);
    }

    .cmpde-map-panel__canvas {
        min-height: 340px;
    }

    .cmpde-ad-rail {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .cmpde-ad-rail .cmpde-sponsors {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cmpde-ad-rail .cmpde-sponsors__track {
        grid-auto-columns: minmax(280px, 1fr);
        grid-auto-flow: column;
        gap: 16px;
        overflow-x: auto;
        padding: 2px 2px 14px;
        scroll-snap-type: x proximity;
    }

    .cmpde-ad-rail .cmpde-sponsor-card {
        min-height: 170px;
    }

    .cmpde-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cmpde-profile__hero,
    .cmpde-profile__layout {
        grid-template-columns: 1fr;
    }

    .cmpde-profile__logo {
        justify-self: start;
        width: min(240px, 100%);
    }
}

@media (max-width: 720px) {
    .cmpde-directory {
        width: min(100% - 18px, 1240px);
        padding-top: 8px;
    }

    .cmpde-hero {
        --logo-h: 56px;
        --gap: 40px;
        --fade: 50px;
        min-height: 0;
        padding: 30px 20px 32px;
    }

    .cmpde-hero__content {
        order: 1;
    }

    #cmp-logo-marquees.cmpde-hero__logo-cloud {
        position: absolute;
        inset: 0;
        width: auto;
        height: auto;
        margin: 0;
        opacity: 0.58;
    }

    #cmp-logo-marquees .cmp-marquee {
        padding: 12px 0;
    }

    #cmp-logo-marquees .cmp-item {
        min-width: 104px;
    }

    .cmpde-hero h1 {
        font-size: 34px;
        line-height: 1.04;
    }

    .cmpde-hero p {
        font-size: 15px;
        line-height: 1.5;
    }

    .cmpde-hero__panel {
        order: 3;
        gap: 9px;
        padding: 10px;
    }

    .cmpde-hero__metric {
        min-height: 96px;
        padding: 16px;
    }

    .cmpde-filters {
        display: none;
    }

    .cmpde-hero__panel,
    .cmpde-toolbar,
    .cmpde-grid {
        grid-template-columns: 1fr;
    }

    .cmpde-toolbar {
        gap: 10px;
        padding: 12px;
    }

    .cmpde-toolbar__field input,
    .cmpde-toolbar__field select {
        min-height: 46px;
        font-size: 14px;
    }

    .cmpde-map-panel__canvas {
        min-height: 300px;
    }

    .cmpde-map-panel__state {
        width: calc(100% - 28px);
        padding: 20px;
    }

    .cmpde-map-panel__state strong {
        font-size: 19px;
    }

    .cmpde-sponsors {
        margin-bottom: 24px;
    }

    .cmpde-sponsors__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .cmpde-sponsors__track {
        grid-auto-columns: minmax(270px, 88%);
        gap: 12px;
        padding-bottom: 10px;
    }

    .cmpde-sponsor-card {
        min-height: 156px;
    }

    .cmpde-sponsor-card__body strong {
        font-size: 20px;
    }

    .cmpde-card__media {
        flex-basis: 162px;
        height: 162px;
    }

    .cmpde-card__media img {
        width: min(142px, 82%);
        max-width: 142px;
        height: min(142px, 82%);
        max-height: 142px;
    }

    .cmpde-card__body {
        grid-template-rows: auto;
    }

    .cmpde-card h2,
    .cmpde-card p {
        min-height: 0;
    }

    .cmpde-card__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .cmpde-card__link {
        width: 100%;
    }

    .cmpde-card__actions {
        display: grid;
        grid-template-columns: 1fr repeat(3, 44px);
        gap: 8px;
        width: 100%;
        padding-right: 54px;
    }

    .cmpde-card__link.is-primary {
        width: auto;
        min-width: 0;
    }

    .cmpde-card__icon-link {
        width: 44px;
        height: 39px;
        flex-basis: 44px;
    }

    .cmpde-profile {
        width: min(100% - 18px, 1180px);
        padding-top: 8px;
    }

    .cmpde-profile__hero {
        min-height: 0;
        padding: 24px 20px 30px;
    }

    .cmpde-profile__logo {
        width: min(190px, 72vw);
    }

    .cmpde-profile__logo img {
        width: min(148px, 80%);
        height: min(148px, 80%);
    }

    .cmpde-profile h1 {
        font-size: 34px;
        line-height: 1.04;
    }

    .cmpde-profile__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cmpde-profile__actions .cmpde-button {
        width: 100%;
    }

    .cmpde-profile__section,
    .cmpde-profile__contact {
        padding: 20px;
    }

    .cmpde-profile__description {
        font-size: 15.5px;
        line-height: 1.62;
    }

    .cmpde-member-panel {
        width: min(100% - 18px, 980px);
    }

    .cmpde-member-card__head,
    .cmpde-form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cmpde-form-grid {
        grid-template-columns: 1fr;
    }
}
