/* Extracted unchanged from company.php for repeat-visit caching. */
/* ==========================================================================
   SHAHER SETU — PREMIUM VERIFIED ORGANIZATION DIRECTORY
   Fully scoped to .co-page so existing header/footer and other pages remain safe.
   ========================================================================== */
.co-page,
.co-page * {
    box-sizing: border-box;
}

.co-page {
    --co-ink: #07383f;
    --co-ink-2: #0d4d54;
    --co-teal: #0e7773;
    --co-mint: #28c6ae;
    --co-mint-soft: #dff7f2;
    --co-bg: #f3f8f7;
    --co-surface: #ffffff;
    --co-line: #d9e7e5;
    --co-muted: #6c7d80;
    --co-muted-2: #91a0a2;
    --co-success: #1d9a70;
    --co-warm: #fff7df;
    --co-shadow-sm: 0 8px 24px rgba(7, 56, 63, .07);
    --co-shadow-md: 0 18px 46px rgba(7, 56, 63, .10);
    --co-shadow-lg: 0 30px 80px rgba(7, 56, 63, .14);

    min-height: 100vh;
    color: var(--co-ink);
    background:
        radial-gradient(circle at 3% 0%, rgba(40, 198, 174, .12), transparent 24rem),
        radial-gradient(circle at 100% 18%, rgba(14, 119, 115, .08), transparent 28rem),
        linear-gradient(180deg, #fbfefd 0%, var(--co-bg) 52%, #edf5f3 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.co-page a {
    text-decoration: none;
}

.co-shell {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

/* HERO */
.co-hero {
    padding: 18px 0 12px;
}

.co-hero-card {
    position: relative;
    isolation: isolate;
    width: min(1180px, 100%);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 86% 15%, rgba(40,198,174,.24), transparent 24%),
        radial-gradient(circle at 10% 100%, rgba(255,255,255,.07), transparent 32%),
        linear-gradient(135deg, #052c32 0%, #07383f 52%, #0a595c 100%);
    color: #fff;
    box-shadow: 0 24px 62px rgba(7,56,63,.16);
}

.co-hero-card::before,
.co-hero-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    pointer-events: none;
}

.co-hero-card::before {
    width: 300px;
    height: 300px;
    right: -150px;
    top: -165px;
    box-shadow: 0 0 0 42px rgba(255,255,255,.025), 0 0 0 86px rgba(255,255,255,.018);
}

.co-hero-card::after {
    width: 190px;
    height: 190px;
    left: -105px;
    bottom: -125px;
    box-shadow: 0 0 0 34px rgba(255,255,255,.02);
}

.co-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(330px, .78fr);
    gap: 26px;
    align-items: center;
    padding: 30px 34px;
}

.co-hero-copy {
    max-width: 680px;
}

.co-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 29px;
    padding: 0 11px;
    border: 1px solid rgba(157, 241, 225, .25);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #a5f3e5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.co-eyebrow svg {
    width: 15px;
    height: 15px;
}

.co-title {
    max-width: 680px;
    margin: 14px 0 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: 1.03;
    text-wrap: balance;
}

.co-subtitle {
    max-width: 650px;
    margin: 12px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.62;
}

.co-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}

.co-btn {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 13px;
    font: inherit;
    color: var(--co-ink);
    background: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.co-btn:hover {
    transform: translateY(-2px);
}

.co-btn svg {
    width: 17px;
    height: 17px;
}

.co-btn-primary {
    border-color: var(--co-mint);
    background: var(--co-mint);
    color: #042f35;
    box-shadow: 0 14px 34px rgba(40,198,174,.24);
}

.co-btn-primary:hover {
    background: #66d9ca;
}

.co-hero .co-btn-primary {
    min-height: 41px;
    padding-inline: 14px;
    border-radius: 12px;
    font-size: 10px;
}

.co-btn-dark {
    border-color: var(--co-ink);
    background: var(--co-ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(7,56,63,.18);
}

.co-btn-dark:hover {
    border-color: var(--co-teal);
    background: var(--co-teal);
}

.co-btn-outline {
    border-color: var(--co-line);
    background: #fff;
    color: var(--co-ink);
}

.co-btn-outline:hover {
    border-color: var(--co-ink);
    background: var(--co-ink);
    color: #fff;
}

.co-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.co-stat {
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas:
        "icon number"
        "icon label";
    align-items: center;
    column-gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.co-stat-icon {
    grid-area: icon;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(157,241,225,.20);
    border-radius: 11px;
    background: rgba(40,198,174,.13);
    color: #a5f3e5;
}

.co-stat-icon svg {
    width: 18px;
    height: 18px;
}

.co-stat strong {
    grid-area: number;
    align-self: end;
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-stat > span:last-child {
    grid-area: label;
    align-self: start;
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255,255,255,.62);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .05em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

/* FILTERS */
.co-section {
    padding: 12px 0 58px;
}

.co-filter-card {
    position: relative;
    z-index: 5;
    padding: 16px;
    border: 1px solid rgba(211,228,225,.95);
    border-radius: 24px;
    background: rgba(255,255,255,.91);
    box-shadow: var(--co-shadow-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.co-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.55fr) minmax(190px, .8fr) minmax(190px, .8fr) auto;
    gap: 11px;
    align-items: end;
}

.co-field {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.co-label {
    color: var(--co-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.co-control {
    position: relative;
}

.co-control-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 1;
    width: 17px;
    height: 17px;
    color: var(--co-teal);
    pointer-events: none;
    transform: translateY(-50%);
}

.co-input,
.co-select {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 42px;
    border: 1px solid var(--co-line);
    border-radius: 14px;
    outline: 0;
    background: #f8fbfa;
    color: var(--co-ink);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.co-select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.co-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 15px;
    height: 15px;
    color: var(--co-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.co-input::placeholder {
    color: #98a6a8;
}

.co-input:focus,
.co-select:focus {
    border-color: rgba(40,198,174,.85);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(40,198,174,.12);
}

.co-filter-submit {
    min-width: 124px;
    height: 48px;
}

.co-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #edf3f2;
}

.co-active-filter-label {
    color: var(--co-muted);
    font-size: 10px;
    font-weight: 850;
}

.co-filter-chip {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #cce5e1;
    border-radius: 999px;
    background: var(--co-mint-soft);
    color: var(--co-teal);
    font-size: 9px;
    font-weight: 900;
}

.co-filter-chip svg {
    width: 12px;
    height: 12px;
}

/* TOOLBAR */
.co-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 28px 0 16px;
}

.co-heading-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--co-teal);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.co-heading-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--co-mint);
    box-shadow: 0 0 0 5px rgba(40,198,174,.12);
}

.co-heading h2 {
    margin: 8px 0 0;
    color: var(--co-ink);
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 950;
    letter-spacing: -.045em;
    line-height: 1;
}

.co-heading p {
    margin: 8px 0 0;
    color: var(--co-muted);
    font-size: 12px;
    font-weight: 700;
}

/* ORGANIZATION CARDS */
.co-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.co-card {
    position: relative;
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--co-line);
    border-radius: 22px;
    background: var(--co-surface);
    box-shadow: var(--co-shadow-sm);
    transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .25s ease, box-shadow .28s ease;
}

.co-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--co-mint), var(--co-teal));
    opacity: .9;
}

.co-card:hover {
    transform: translateY(-6px);
    border-color: #b7d9d5;
    box-shadow: 0 24px 56px rgba(7,56,63,.14);
}

.co-card-visual {
    position: relative;
    min-height: 108px;
    padding: 17px 18px 15px;
    border-bottom: 1px solid #eaf2f1;
    background:
        radial-gradient(circle at 90% 8%, rgba(40,198,174,.14), transparent 32%),
        linear-gradient(145deg, #f0f8f7, #fdfefe);
}

.co-card-visual::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -76px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(14,119,115,.07);
    border-radius: 50%;
    box-shadow: 0 0 0 25px rgba(14,119,115,.025), 0 0 0 50px rgba(14,119,115,.015);
    pointer-events: none;
}

.co-card-top {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.co-logo {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #cfe3e0;
    border-radius: 17px;
    background: #fff;
    color: var(--co-teal);
    box-shadow: 0 10px 24px rgba(7,56,63,.09);
    font-size: 24px;
    font-weight: 950;
    transition: transform .22s ease, box-shadow .22s ease;
}

.co-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 4px;
    background: #fff;
}

.co-card-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.co-card-name {
    min-height: 41px;
    display: -webkit-box;
    overflow: hidden;
    color: var(--co-ink);
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.02em;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.co-card-name:hover {
    color: var(--co-teal);
}

.co-badges {
    min-height: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
}

.co-badge {
    min-height: 23px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    border: 1px solid #d7e6e4;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--co-ink-2);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.co-badge svg {
    width: 12px;
    height: 12px;
}

.co-badge-verified {
    border-color: #bce3d5;
    background: #e5f7f0;
    color: #167353;
}

.co-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 15px 18px 14px;
}

.co-desc {
    min-height: 56px;
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #5e7174;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.co-meta-list {
    display: grid;
    gap: 8px;
    margin-top: 13px;
}

.co-meta {
    min-width: 0;
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    color: var(--co-muted);
    font-size: 9.5px;
    font-weight: 800;
}

.co-meta-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid #dceae8;
    border-radius: 9px;
    background: #f4f9f8;
    color: var(--co-teal);
}

.co-meta-icon svg {
    width: 15px;
    height: 15px;
}

.co-meta span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-card-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 13px;
}

.co-fact {
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #e0ecea;
    border-radius: 11px;
    background: #f8fbfa;
}

.co-fact span {
    display: block;
    overflow: hidden;
    color: var(--co-muted-2);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.co-fact strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--co-ink);
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-card-footer {
    min-height: 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 15px;
    border-top: 1px solid #eaf2f1;
    background: #fbfdfd;
}

.co-product-count {
    min-width: 0;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.co-product-count-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--co-mint-soft);
    color: var(--co-teal);
}

.co-product-count-icon svg {
    width: 18px;
    height: 18px;
}

.co-product-count-copy {
    min-width: 0;
}

.co-product-count strong {
    display: block;
    color: var(--co-ink);
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}

.co-product-count-copy > span {
    display: block;
    margin-top: 4px;
    color: var(--co-muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.co-profile-btn {
    min-width: 124px;
    min-height: 40px;
    padding-inline: 13px;
    border-radius: 11px;
}

/* EMPTY STATE */
.co-empty {
    padding: 54px 24px;
    border: 1px dashed #bfd8d5;
    border-radius: 28px;
    background: rgba(255,255,255,.78);
    box-shadow: var(--co-shadow-sm);
    text-align: center;
}

.co-empty-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border: 1px solid #cfe4e0;
    border-radius: 23px;
    background: var(--co-mint-soft);
    color: var(--co-teal);
}

.co-empty-icon svg {
    width: 31px;
    height: 31px;
}

.co-empty h3 {
    margin: 18px 0 0;
    color: var(--co-ink);
    font-size: 25px;
    font-weight: 950;
    letter-spacing: -.035em;
}

.co-empty p {
    max-width: 570px;
    margin: 10px auto 0;
    color: var(--co-muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.7;
}

/* PAGINATION */
.co-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.co-page-link {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--co-line);
    border-radius: 12px;
    background: #fff;
    color: var(--co-ink);
    box-shadow: 0 7px 20px rgba(7,56,63,.06);
    font-size: 11px;
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}

.co-page-link:hover {
    transform: translateY(-2px);
    border-color: var(--co-teal);
}

.co-page-link.is-active {
    border-color: var(--co-ink);
    background: var(--co-ink);
    color: #fff;
    box-shadow: 0 11px 26px rgba(7,56,63,.19);
}


.co-card:hover .co-logo {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(7,56,63,.13);
}

.co-card:focus-within {
    border-color: #a9d7d2;
    box-shadow: 0 22px 52px rgba(7,56,63,.13);
}

.co-page a:focus-visible,
.co-page button:focus-visible,
.co-page input:focus-visible,
.co-page select:focus-visible {
    outline: 3px solid rgba(40,198,174,.34);
    outline-offset: 3px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .co-hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
        gap: 22px;
        padding: 26px 28px;
    }

    .co-title {
        font-size: clamp(31px, 4.2vw, 43px);
    }

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

    .co-filter-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(170px, .8fr) minmax(170px, .8fr);
    }

    .co-filter-submit-wrap {
        grid-column: 1 / -1;
    }

    .co-filter-submit {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .co-hero {
        padding-top: 18px;
    }

    .co-hero-card {
        border-radius: 27px;
    }

    .co-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 25px;
    }

    .co-title {
        font-size: clamp(31px, 6vw, 41px);
    }

    .co-subtitle {
        max-width: 720px;
    }

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

    .co-stat {
        grid-template-columns: 1fr;
        grid-template-areas: "icon" "number" "label";
        justify-items: center;
        row-gap: 5px;
        min-height: 106px;
        text-align: center;
    }

    .co-stat strong,
    .co-stat > span:last-child {
        align-self: auto;
    }

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

    .co-filter-submit-wrap {
        grid-column: auto;
    }

    .co-filter-submit {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .co-shell {
        width: min(100% - 18px, 1280px);
    }

    .co-hero {
        padding: 10px 0 8px;
    }

    .co-hero-card {
        border-radius: 23px;
    }

    .co-hero-grid {
        gap: 18px;
        padding: 20px 16px;
    }

    .co-eyebrow {
        min-height: 30px;
        padding-inline: 10px;
        font-size: 8px;
    }

    .co-title {
        margin-top: 13px;
        font-size: clamp(28px, 8.5vw, 37px);
        line-height: 1.04;
    }

    .co-subtitle {
        margin-top: 11px;
        font-size: 11.5px;
        line-height: 1.58;
    }

    .co-actions {
        margin-top: 15px;
    }

    .co-actions .co-btn {
        width: 100%;
    }

    .co-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .co-stat {
        grid-template-columns: 31px minmax(0, 1fr);
        grid-template-areas: "icon number" "icon label";
        justify-items: stretch;
        min-height: 67px;
        padding: 9px 10px;
        border-radius: 14px;
        text-align: left;
    }

    .co-stat-icon {
        width: 31px;
        height: 31px;
        border-radius: 10px;
    }

    .co-stat strong {
        align-self: end;
        font-size: 20px;
    }

    .co-stat > span:last-child {
        align-self: start;
        font-size: 7px;
    }

    .co-section {
        padding: 8px 0 36px;
    }

    .co-filter-card {
        padding: 12px;
        border-radius: 20px;
    }

    .co-filter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .co-filter-submit-wrap {
        grid-column: auto;
    }

    .co-toolbar {
        align-items: flex-start;
        margin-top: 22px;
    }

    .co-toolbar .co-btn {
        min-height: 39px;
        padding-inline: 11px;
        font-size: 9px;
    }

    .co-heading h2 {
        font-size: 28px;
    }

    .co-heading p {
        font-size: 10px;
    }

    .co-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .co-card {
        border-radius: 20px;
    }

    .co-card-visual {
        min-height: 102px;
        padding: 15px;
    }

    .co-card-top {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 11px;
    }

    .co-logo {
        width: 58px;
        height: 58px;
        border-radius: 15px;
    }

    .co-card-name {
        min-height: 38px;
        font-size: 16px;
    }

    .co-card-body {
        padding: 14px 15px 13px;
    }

    .co-desc {
        min-height: auto;
        font-size: 10.5px;
        -webkit-line-clamp: 3;
    }

    .co-card-footer {
        min-height: 66px;
        padding: 11px 15px 14px;
    }

    .co-profile-btn {
        min-width: 112px;
    }
}

@media (max-width: 420px) {
    .co-card-footer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .co-product-count {
        justify-content: start;
    }

    .co-profile-btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .co-hero-grid {
        padding-inline: 15px;
    }

    .co-stat {
        padding: 11px;
    }

    .co-card-top {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
    }

    .co-logo {
        width: 52px;
        height: 52px;
    }

    .co-badge {
        min-height: 23px;
        padding-inline: 7px;
        font-size: 7px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .co-page *,
    .co-page *::before,
    .co-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}


/* ========================================================================== 
   ORGANIZATION CARD POLISH — edge-to-edge logos and pixel-perfect footer
   ========================================================================== */
.co-grid {
    gap: 18px;
}

.co-card {
    border-radius: 24px;
    border-color: #d7e7e5;
    background: linear-gradient(180deg, #ffffff 0%, #fcfefe 100%);
    box-shadow: 0 14px 36px rgba(7,56,63,.085);
}

.co-card::before {
    height: 3px;
    background: linear-gradient(90deg, #28c6ae 0%, #0e7773 58%, #07383f 100%);
}

.co-card:hover {
    transform: translateY(-5px);
    border-color: #a9d7d2;
    box-shadow: 0 26px 58px rgba(7,56,63,.145);
}

.co-card-visual {
    min-height: 126px;
    padding: 21px 20px 18px;
    background:
        radial-gradient(circle at 92% 8%, rgba(40,198,174,.17), transparent 34%),
        linear-gradient(145deg, #edf8f6 0%, #f9fcfb 60%, #ffffff 100%);
}

.co-card-top {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
}

.co-logo {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.96);
    border-radius: 20px;
    background: #ffffff;
    box-shadow:
        0 0 0 1px #c8ddda,
        0 12px 28px rgba(7,56,63,.13);
    line-height: 1;
    isolation: isolate;
}

.co-logo img {
    width: 100%;
    height: 100%;
    display: block;
    padding: 6px;
    border-radius: calc(20px - 2px);
    background: #ffffff;
    object-fit: contain;
    object-position: 50% 50%;
    transform: none;
}

.co-card-copy {
    min-height: 76px;
    justify-content: center;
}

.co-card-name {
    min-height: 43px;
    font-size: 18px;
    line-height: 1.18;
}

.co-badges {
    min-height: 24px;
    margin-top: 7px;
}

.co-card-body {
    padding: 17px 20px 16px;
}

.co-desc {
    min-height: 56px;
    color: #536b6e;
    font-size: 11.2px;
    line-height: 1.62;
}

.co-meta-list {
    margin-top: 14px;
}

.co-meta {
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 9px;
}

.co-meta-icon {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    background: #eef8f6;
}

.co-card-facts {
    gap: 8px;
    margin-top: 14px;
}

.co-fact {
    min-height: 51px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 9px 11px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f5faf9, #ffffff);
}

.co-card-footer {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 18px 14px;
    background: linear-gradient(180deg, #fbfdfd, #f5faf9);
}

/* The previous generic span rule also affected the icon wrapper. These
   explicit selectors keep icon, number, label and CTA perfectly aligned. */
.co-product-count {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.co-product-count-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #cde6e1;
    border-radius: 13px;
    background: linear-gradient(145deg, #e2f6f1, #f4fbf9);
    color: #0e7773;
    font-size: initial;
    font-weight: initial;
    letter-spacing: normal;
    line-height: 1;
    text-transform: none;
}

.co-product-count-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    margin: 0;
}

.co-product-count-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.co-product-count strong {
    display: block;
    margin: 0;
    color: var(--co-ink);
    font-size: 19px;
    font-weight: 950;
    line-height: 1;
}

.co-product-count-copy > span {
    display: block;
    margin: 5px 0 0;
    padding: 0;
    color: var(--co-muted);
    font-size: 7.5px;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.co-profile-btn {
    min-width: 128px;
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-inline: 15px;
    border-radius: 12px;
    white-space: nowrap;
}

.co-profile-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
}

.co-card:hover .co-logo {
    transform: translateY(-2px) scale(1.018);
    box-shadow:
        0 0 0 1px #a9d7d2,
        0 16px 34px rgba(7,56,63,.17);
}

@media (max-width: 767px) {
    .co-grid {
        gap: 14px;
    }

    .co-card-visual {
        min-height: 116px;
        padding: 18px 17px 16px;
    }

    .co-card-top {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 13px;
    }

    .co-logo {
        width: 68px;
        height: 68px;
        border-radius: 18px;
    }

    .co-card-copy {
        min-height: 68px;
    }

    .co-card-name {
        min-height: 39px;
        font-size: 16.5px;
    }

    .co-card-body {
        padding: 15px 17px 14px;
    }

    .co-card-footer {
        min-height: 72px;
        padding: 12px 16px 13px;
    }

    .co-product-count-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 12px;
    }

    .co-profile-btn {
        min-width: 118px;
        min-height: 41px;
    }
}

@media (max-width: 420px) {
    .co-card-footer {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
    }

    .co-product-count {
        gap: 8px;
    }

    .co-product-count-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .co-product-count strong {
        font-size: 17px;
    }

    .co-product-count-copy > span {
        font-size: 6.8px;
        white-space: normal;
    }

    .co-profile-btn {
        width: auto;
        min-width: 108px;
        padding-inline: 12px;
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .co-card-top {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 11px;
    }

    .co-logo {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .co-card-copy {
        min-height: 60px;
    }

    .co-card-footer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .co-profile-btn {
        width: 100%;
    }
}


/* FINAL LOGO + ACTIVE PRODUCT ALIGNMENT FIX
   These selectors intentionally use direct-child specificity so older generic
   span rules cannot shift the icon or label. */
.co-card-top > .co-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-card-top > .co-logo img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 6px;
    object-fit: contain;
    object-position: center;
}

.co-product-count {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.co-product-count > .co-product-count-icon {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #cde6e1;
    border-radius: 13px;
    background: linear-gradient(145deg, #e2f6f1, #f4fbf9);
    color: #0e7773;
    line-height: 0 !important;
    text-transform: none !important;
}

.co-product-count > .co-product-count-icon svg {
    position: absolute;
    inset: 0;
    width: 19px;
    height: 19px;
    display: block;
    margin: auto;
    transform: none;
}

.co-product-count > .co-product-count-copy {
    min-width: 0;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.co-product-count > .co-product-count-copy > strong,
.co-product-count > .co-product-count-copy > span {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .co-card-top > .co-logo img {
        padding: 5px;
    }

    .co-product-count > .co-product-count-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
        border-radius: 12px;
    }

    .co-product-count > .co-product-count-icon svg {
        width: 18px;
        height: 18px;
    }

    .co-product-count > .co-product-count-copy {
        min-height: 39px;
    }
}

@media (max-width: 420px) {
    .co-product-count > .co-product-count-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .co-product-count > .co-product-count-copy {
        min-height: 38px;
    }
}
