/* ===========================
   Category Detail Page Styles
   =========================== */

/* Header */
.category-detail-header {
    background: linear-gradient(135deg, #026181 0%, #014d5f 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.category-detail-header h1 {
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.category-detail-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.category-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.category-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px 0;
}

.category-section-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 24px 0;
}

/* Fund Seekers Grid */
.fund-seekers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 10px;
    justify-items: center;
}

/* Individual Card */
.fund-seeker-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.fund-seeker-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* Card Image / Profile Picture Area */
.fund-seeker-card-image {
    height: 140px;
    background: linear-gradient(135deg, #026181 0%, #03869e 50%, #014d5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.fund-seeker-card-image img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    border: none;
    box-shadow: none;
    display: block;
}

.fund-seeker-card-image .no-picture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* Card Body */
.fund-seeker-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Company Info */
.fund-seeker-company-info {
    margin-bottom: 12px;
    min-width: 0;
}

.fund-seeker-company-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 0 0 4px 0;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.fund-seeker-description {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags (Category + Funding Stage) */
.fund-seeker-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.fund-seeker-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    white-space: nowrap;
}

.fund-seeker-tag-category {
    background: #e0f2fe;
    color: #026181;
}

.fund-seeker-tag-stage {
    background: #f3f4f6;
    color: #6b7280;
}

/* Seeking & Equity Metrics */
.fund-seeker-metrics {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); */
    display: flex;
    justify-content: space-between;
    /* gap: 12px; */
    padding: 14px 0 16px 0;
    border-top: 1px solid #f0f0f3;
    margin-bottom: 16px;
}

.fund-seeker-metric {
    min-width: 0;
}

.fund-seeker-metric-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.fund-seeker-metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #026181;
    margin: 0;
    word-break: break-word;
}

/* View Button */
.fund-seeker-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.fund-seeker-actions .fund-seeker-view-btn,
.fund-seeker-actions .fund-seeker-request-btn {
    flex: 1;
}

.fund-seeker-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #026181;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    text-decoration: none;
}

.fund-seeker-view-btn:hover {
    background: #014d5f;
}

.fund-seeker-view-btn:active {
    transform: scale(0.98);
}

.fund-seeker-view-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.fund-seeker-request-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: #27ae60;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    text-decoration: none;
}

.fund-seeker-request-btn:hover {
    background: #229954;
}

.fund-seeker-request-btn:active {
    transform: scale(0.98);
}

.fund-seeker-request-btn i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Empty State */
.fund-seekers-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.fund-seekers-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: #d1d5db;
}

.fund-seekers-empty p {
    font-size: 1rem;
    margin: 0;
    color: #6b7280;
}

/* Posts section */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.post-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

.post-card-content {
    padding: 15px;
}

.post-card-title {
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.post-card-author {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-style: italic;
}

/* Section Divider */
.category-section-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}

/* ===================================================
   LinkedIn-style Category Filter Bar
   =================================================== */

/* Container */
.cf-bar {
    max-width: 1200px;
    margin: 0 auto 28px auto;
    padding: 0 20px;
}

/* ── Filter toggle (categories page) ── */
.cat-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 11px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #026181;
    background: #fff;
    border: 1px solid #dbe7f0;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 1px 3px rgba(2, 97, 129, 0.06);
    transition: background 0.15s, border-color 0.15s;
    margin-bottom: 12px;
}
.cat-filter-toggle:active {
    background: #f0f7fb;
}
.cat-filter-toggle.active .cat-filter-toggle-chevron {
    transform: rotate(180deg);
}
.cat-filter-toggle-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}
.cat-filter-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: #026181;
    border-radius: 9px;
}
/* Collapse pills + action row by default */
.cf-bar:not(.cf-open) .cf-pills-row,
.cf-bar:not(.cf-open) .cf-action-row {
    display: none;
}
.cf-bar.cf-open .cf-pills-row,
.cf-bar.cf-open .cf-action-row {
    display: flex;
}
@media (min-width: 769px) {
    .cat-filter-toggle {
        width: auto;
        margin-bottom: 16px;
    }
}

.cf-pills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cf-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* ── Action row: Show Results + Clear All ── */
.cf-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.cf-show-results-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: #026181;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}

.cf-show-results-btn:hover {
    background: #014d5f;
}

.cf-show-results-btn:active {
    transform: scale(0.97);
}

.cf-show-results-btn svg {
    flex-shrink: 0;
}

/* ── Loading overlay on results ── */
.cf-loading {
    position: relative;
    pointer-events: none;
    min-height: 120px;
}

.cf-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: 8px;
}

.cf-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #e5e7eb;
    border-top-color: #026181;
    border-radius: 50%;
    z-index: 11;
    animation: cfSpin 0.6s linear infinite;
}

@keyframes cfSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Pill (each filter trigger) ── */
.cf-pill {
    position: relative;
}

.cf-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    font-family: inherit;
    line-height: 1.4;
}

.cf-pill-btn:hover {
    border-color: #026181;
    color: #026181;
}

.cf-pill-btn.cf-pill-active {
    background: #e0f2fe;
    border-color: #026181;
    color: #026181;
}

.cf-pill-value {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.cf-pill-chevron {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cf-pill.cf-open .cf-pill-chevron {
    transform: rotate(180deg);
}

/* ── Dropdown Panel ── */
.cf-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
    z-index: 1000;
    overflow: hidden;
    animation: cfDropIn .15s ease;
}

@keyframes cfDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cf-pill.cf-open .cf-dropdown {
    display: block;
}

.cf-dropdown-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px 8px 16px;
}

/* ── Select (radio) dropdown ── */
.cf-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0 8px 4px 8px;
    max-height: 220px;
    overflow-y: auto;
}

.cf-dropdown-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #374151;
    transition: background 0.12s;
}

.cf-dropdown-option:hover {
    background: #f3f4f6;
}

.cf-dropdown-option input[type="radio"] {
    accent-color: #026181;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.cf-dropdown-empty {
    padding: 14px 16px;
    color: #9ca3af;
    font-size: 0.85rem;
    text-align: center;
}

/* ── Range inputs dropdown ── */
.cf-dropdown-range-inputs {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 4px 16px 8px 16px;
}

.cf-range-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cf-range-field label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
}

.cf-range-field input {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.88rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}

.cf-range-field input:focus {
    border-color: #026181;
}

.cf-range-sep {
    font-size: 1rem;
    color: #9ca3af;
    padding-bottom: 8px;
}

/* ── Company search dropdown ── */
.cf-company-search-wrap {
    position: relative;
    padding: 4px 12px 8px 12px;
}

.cf-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.cf-company-input {
    width: 100%;
    padding: 9px 10px 9px 32px;
    font-size: 0.88rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}

.cf-company-input:focus {
    border-color: #026181;
}

.cf-company-suggestions {
    list-style: none;
    margin: 0;
    padding: 0 8px 4px 8px;
    max-height: 180px;
    overflow-y: auto;
}

.cf-company-option {
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #374151;
    transition: background 0.12s;
}

.cf-company-option:hover,
.cf-company-option.cf-highlight {
    background: #e0f2fe;
    color: #026181;
}

.cf-company-option.cf-hidden {
    display: none;
}

/* ── Dropdown footer actions ── */
.cf-dropdown-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid #f0f0f3;
    background: #fafafa;
}

.cf-dropdown-clear {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
}

.cf-dropdown-clear:hover {
    color: #dc2626;
}

.cf-dropdown-apply {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: #026181;
    border: none;
    border-radius: 6px;
    padding: 6px 18px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.cf-dropdown-apply:hover {
    background: #014d5f;
}

/* ── Clear All button ── */
.cf-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1.5px solid #fecaca;
    background: #fef2f2;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.cf-clear-all:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.cf-clear-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
}

/* ── Results count bar ── */
.cf-results-count {
    font-size: 0.82rem;
    color: #6b7280;
    padding: 8px 0 0 2px;
    font-weight: 500;
}

/* ── Empty state after filtering ── */
.cf-empty-clear {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #026181;
    text-decoration: none;
    padding: 8px 20px;
    border: 1.5px solid #026181;
    border-radius: 8px;
    transition: background 0.15s;
}

.cf-empty-clear:hover {
    background: #e0f2fe;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .cf-bar {
        padding: 0 16px;
    }

    .cf-pills-row,
    .cf-form {
        gap: 8px;
    }

    .cf-action-row {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .cf-show-results-btn {
        flex: 1;
        justify-content: center;
    }

    .cf-dropdown {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        bottom: 0;
        min-width: unset;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
        overflow-y: auto;
        animation: cfSlideUp .2s ease;
        z-index: 2147483647;
    }

    /* When a filter dropdown is open, move the floating message launcher
       out of the way so it doesn't cover the Apply button */
    body:has(.cf-pill.cf-open) .floating-message-launcher,
    body:has(.cf-pill.cf-open) #message-popup-container {
        z-index: 9999 !important;
    }

    @keyframes cfSlideUp {
        from {
            transform: translateY(100%);
        }

        to {
            transform: translateY(0);
        }
    }

    .cf-pill-value {
        max-width: 140px;
    }

    /* existing content responsive */
    .category-detail-header {
        padding: 40px 16px;
    }

    .category-detail-header h1 {
        font-size: 1.8rem;
    }

    .fund-seekers-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fund-seeker-card-image {
        height: 120px;
    }

    .category-content {
        padding: 0 16px 40px 16px;
    }
}

@media (max-width: 480px) {
    .category-detail-header h1 {
        font-size: 1.5rem;
    }

    .fund-seeker-card-body {
        padding: 16px;
    }
}

/* ===================================================
   New Card Design - Glass Morphism + Overlap
   =================================================== */

.fund-seeker-card-group {
  position: relative;
  transform-style: preserve-3d;
  max-width: 360px;
  width: 100%;
  will-change: transform;
  transform: translateZ(0);
  transition: transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fsc-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to right, rgba(0, 71, 96, 0.08), rgba(0, 70, 102, 0.08));
  border-radius: 32px;
  filter: blur(20px);
  opacity: 0.5;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.fund-seeker-card-group:hover .fsc-glow {
  opacity: 0.8;
}

.fsc-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 96, 128, 0.06);
  border: 1px solid rgba(191, 200, 206, 0.3);
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.fund-seeker-card-group:hover .fsc-card {
  box-shadow: 0 0 24px rgba(0, 96, 128, 0.18);
}

.fsc-cover {
  position: relative;
  height: 180px;
  width: 100%;
  padding: 12px;
}

.fsc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.fsc-cover-solid {
  background: linear-gradient(135deg, #026181 0%, #03869e 50%, #014d5f 100%);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin: 12px;
  height: 156px;
  width: auto;
}

.fsc-cover-overlay {
  position: absolute;
  inset: 12px;
  background: linear-gradient(to top, rgba(0, 71, 96, 0.35), transparent);
  border-radius: 20px;
  pointer-events: none;
}

.fsc-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fsc-badge {
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #004760;
  white-space: nowrap;
}

.fsc-body {
  padding: 0 20px 20px 20px;
  margin-top: -56px;
  position: relative;
  z-index: 10;
}

.fsc-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 28px 28px 0;
  box-shadow: 0 4px 20px rgba(0, 96, 128, 0.06);
}

.fsc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 8px;
}

.fsc-name-with-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.fsc-company-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.fsc-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fsc-logo-icon {
  font-size: 22px;
  color: #004760;
}

.fsc-company-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #191c1e;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.015em;
}

.fsc-description {
  font-size: 0.875rem;
  color: #40484d;
  margin: 0 0 20px 0;
  line-height: 1.45;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.fsc-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(191, 200, 206, 0.3);
  border-bottom: 1px solid rgba(191, 200, 206, 0.3);
  margin-bottom: 20px;
}

.fsc-metric-right {
  text-align: right;
}

.fsc-metric-right .fsc-metric-value {
  text-align: right;
}

.fsc-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.fsc-metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fsc-metric-value {
  font-size: 1rem;
  font-weight: 700;
  color: #004760;
  font-family: 'Space Grotesk', sans-serif;
  word-break: normal;
  line-height: 1.15;
  white-space: nowrap;
}

.fsc-metric-na {
  color: #9ca3af;
  font-weight: 500;
}

.fsc-pitch-area {
  margin-top: 20px;
}

.fsc-pitch-area .fsc-request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  white-space: nowrap;
  color: #33260C;
  background: linear-gradient(135deg, #F6C97E, #E1932F);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .16), 0 14px 30px -14px rgba(225, 147, 47, .7);
}

.fsc-pitch-area .fsc-request-btn:hover {
  background: linear-gradient(135deg, #f1bd63, #d6861f);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2), 0 22px 44px -16px rgba(225, 147, 47, .8);
}

.fsc-pitch-area .fsc-request-btn:active {
  transform: scale(0.97);
}

.fsc-pitch-area .fsc-request-btn i {
  flex-shrink: 0;
}

.fsc-pitch-area .fsc-request-btn.is-sent,
.fsc-pitch-area .fsc-request-btn.is-sent:hover {
  background: #eef2f5;
  color: #4b5563;
  box-shadow: inset 0 0 0 1px #d7dde3;
  cursor: default;
}

.fsc-pitch-area .fsc-request-btn.is-sent:active {
  transform: none;
}

.fsc-pitch-area .fsc-request-btn.is-sent i {
  color: #16a34a;
}

/* View Profile FAB */
.fsc-view-btn {
  position: absolute;
  bottom: -18px;
  right: -16px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #004760;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 71, 96, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fsc-view-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(0, 71, 96, 0.35);
}

.fsc-view-btn:active {
  transform: scale(0.95);
}

.fsc-view-btn.is-navigating,
.fsc-request-btn.is-navigating {
  opacity: 0.6;
  cursor: default;
}

.fsc-view-btn .material-symbols-outlined {
  font-size: 18px;
}

@media (max-width: 768px) {
  .fsc-cover {
    height: 150px;
    padding: 8px;
  }

  .fsc-cover-solid {
    margin: 8px;
    height: 134px;
  }

  .fsc-cover-overlay {
    inset: 8px;
  }

  .fsc-badges {
    top: 16px;
    left: 16px;
  }

  .fsc-badge {
    font-size: 0.625rem;
    padding: 4px 10px;
  }

  .fsc-body {
    padding: 0 14px 14px 14px;
    margin-top: -40px;
  }

  .fsc-glass {
    padding: 20px 20px 0;
    border-radius: 14px;
  }

  .fsc-company-name {
    font-size: 1.125rem;
  }

  .fsc-metrics {
    gap: 12px;
    padding: 14px 0;
  }

  .fsc-metric-value {
    font-size: 1rem;
  }

  .fsc-pitch-area {
    flex-direction: column;
  }

  .fsc-pitch-area .fsc-request-btn {
    width: 100%;
  }

  .fsc-view-btn {
    bottom: -16px;
    right: -12px;
    padding: 10px 18px;
    font-size: 0.8125rem;
  }

  .fsc-view-btn .material-symbols-outlined {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .fund-seeker-card-group {
    max-width: 340px;
  }

  .fsc-cover {
    height: 130px;
  }

  .fsc-cover-solid {
    height: 114px;
  }
}

/* ===========================
   Infinite Scroll Sentinel
   =========================== */
.cf-scroll-sentinel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 0;
    width: 100%;
}

.cf-scroll-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-spinner-icon {
    animation: cf-spin 0.8s linear infinite;
}

@keyframes cf-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* Already-requested card: same shape as the action, settled colouring */
.fund-seeker-request-btn.is-sent,
.fund-seeker-request-btn.is-sent:hover {
    background: #eef2f5;
    color: #4b5563;
    box-shadow: inset 0 0 0 1px #d7dde3;
    cursor: default;
}

.fund-seeker-request-btn.is-sent:active {
    transform: none;
}

.fund-seeker-request-btn.is-sent i {
    color: #16a34a;
}
