
:root {
    --cs-navy: #081120;
    --cs-navy-soft: #0d1c34;
    --cs-blue: #0056c7;
    --cs-blue-bright: #0d65d8;
    --cs-gold: #ffcc00;
    --cs-white: #ffffff;
    --cs-off-white: #f6f8fb;
    --cs-gray-100: #eef2f6;
    --cs-gray-200: #dbe2ea;
    --cs-gray-500: #647184;
    --cs-text: #111827;
    --cs-shadow: 0 18px 50px rgba(8, 17, 32, .08);
    --cs-radius: 12px;
}

/* Remove the Hostinger theme shell only on marketplace pages. */
body.cs-marketplace-directory-page,
body.cs-marketplace-profile-page {
    margin: 0 !important;
    background: var(--cs-white) !important;
}

body.cs-marketplace-directory-page .wp-site-blocks > header,
body.cs-marketplace-directory-page .wp-site-blocks > footer,
body.cs-marketplace-profile-page .wp-site-blocks > header,
body.cs-marketplace-profile-page .wp-site-blocks > footer,
body.cs-marketplace-directory-page header.wp-block-template-part,
body.cs-marketplace-directory-page footer.wp-block-template-part,
body.cs-marketplace-profile-page header.wp-block-template-part,
body.cs-marketplace-profile-page footer.wp-block-template-part,
body.cs-marketplace-directory-page .wp-block-post-title,
body.cs-marketplace-profile-page .wp-block-post-title {
    display: none !important;
}

body.cs-marketplace-directory-page .wp-site-blocks,
body.cs-marketplace-profile-page .wp-site-blocks,
body.cs-marketplace-directory-page main,
body.cs-marketplace-profile-page main,
body.cs-marketplace-directory-page .wp-block-post-content,
body.cs-marketplace-profile-page .wp-block-post-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.cs-marketplace-shell,
.cs-marketplace-shell * {
    box-sizing: border-box;
}

.cs-marketplace-shell {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background: var(--cs-white);
    color: var(--cs-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.cs-marketplace-shell a {
    color: inherit;
}

.cs-container {
    width: min(1460px, calc(100% - 64px));
    margin: 0 auto;
}

.cs-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--cs-navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-bar .cs-site-header {
    top: 32px;
}

.cs-site-header__inner {
    width: min(1460px, calc(100% - 64px));
    min-height: 122px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.cs-site-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cs-site-brand img {
    display: block;
    width: 350px;
    max-width: 38vw;
    height: auto;
}

.cs-site-nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 48px);
}

.cs-site-nav a {
    position: relative;
    color: var(--cs-white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 13px 0;
}

.cs-site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 2px;
    background: var(--cs-gold);
    transition: right .2s ease;
}

.cs-site-nav a:hover::after,
.cs-site-nav a.is-active::after {
    right: 0;
}

.cs-site-header__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    background: transparent;
}

.cs-site-header__toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--cs-white);
}

.cs-eyebrow,
.cs-directory__filter-kicker,
.cs-section-heading span,
.cs-profile-sidebar__kicker {
    color: var(--cs-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.cs-directory-hero,
.cs-profile-hero {
    background: linear-gradient(115deg, #0a2d61 0%, var(--cs-blue) 100%);
    color: var(--cs-white);
}

.cs-directory-hero {
    padding: 82px 0 92px;
    text-align: center;
}

.cs-directory-hero h1,
.cs-profile-hero h1 {
    margin: 14px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.05;
}

.cs-directory-hero h1 {
    font-size: clamp(46px, 6vw, 82px);
}

.cs-directory-hero h1 span {
    color: var(--cs-gold);
}

.cs-directory-hero p {
    max-width: 880px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
}

.cs-directory-content,
.cs-profile-content {
    padding: 62px 0 82px;
    background: var(--cs-off-white);
}

.cs-directory__filters {
    padding: 30px;
    border: 1px solid var(--cs-gray-200);
    border-radius: var(--cs-radius);
    background: var(--cs-white);
    box-shadow: var(--cs-shadow);
    margin-bottom: 28px;
}

.cs-directory__filter-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--cs-gray-100);
}

.cs-directory__filter-heading h2 {
    margin: 5px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 500;
}

.cs-directory__summary {
    color: var(--cs-gray-500);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.cs-directory__filter-grid {
    display: grid;
    grid-template-columns: minmax(245px, 1.45fr) repeat(6, minmax(135px, 1fr));
    gap: 14px;
    align-items: end;
}

.cs-directory__filters label {
    display: block;
    margin: 0 0 7px;
    color: var(--cs-navy);
    font-size: 13px;
    font-weight: 700;
}

.cs-directory__filters input,
.cs-directory__filters select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--cs-gray-200);
    border-radius: 7px;
    background: var(--cs-white);
    color: var(--cs-text);
    font: inherit;
    outline: none;
}

.cs-directory__filters input:focus,
.cs-directory__filters select:focus {
    border-color: var(--cs-blue);
    box-shadow: 0 0 0 3px rgba(0,86,199,.12);
}

.cs-directory__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.cs-directory__actions button {
    min-height: 46px;
    padding: 10px 22px;
    border: 0;
    border-radius: 7px;
    background: var(--cs-blue);
    color: var(--cs-white);
    font-weight: 800;
    cursor: pointer;
}

.cs-directory__actions button:hover {
    background: var(--cs-blue-bright);
}

.cs-directory__actions > a {
    color: var(--cs-blue);
    font-weight: 700;
    text-decoration: none;
}

.cs-directory__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--cs-gray-200);
    border-radius: var(--cs-radius);
    background: var(--cs-white);
    box-shadow: var(--cs-shadow);
}

.cs-directory__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.cs-directory__table th,
.cs-directory__table td {
    padding: 20px 16px;
    border-bottom: 1px solid var(--cs-gray-100);
    text-align: left;
    vertical-align: middle;
}

.cs-directory__table th {
    background: var(--cs-navy);
    color: var(--cs-white);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cs-directory__table tbody tr {
    transition: background .15s ease;
}

.cs-directory__table tbody tr:hover {
    background: #f9fbfe;
}

.cs-directory__table tbody tr:last-child td {
    border-bottom: 0;
}

.cs-directory__table td {
    font-size: 14px;
}

.cs-directory__fund {
    min-width: 200px;
    font-weight: 800;
}

.cs-directory__fund a {
    color: var(--cs-navy);
    text-decoration: none;
}

.cs-directory__fund a:hover {
    color: var(--cs-blue);
}

.cs-directory__actions-cell {
    min-width: 310px;
    white-space: nowrap;
    text-align: right !important;
}

.cs-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.cs-button:hover {
    transform: translateY(-1px);
}

.cs-button--secondary {
    border: 1px solid var(--cs-blue);
    background: var(--cs-white);
    color: var(--cs-blue) !important;
}

.cs-button--secondary:hover {
    background: #eef6ff;
}

.cs-button--gold {
    border: 1px solid var(--cs-gold);
    background: var(--cs-gold);
    color: var(--cs-navy) !important;
    box-shadow: 0 8px 20px rgba(255,204,0,.18);
}

.cs-button--gold:hover {
    background: #ffda36;
}

.cs-button--large {
    min-height: 52px;
    padding: 13px 22px;
    font-size: 15px;
}

.cs-directory__actions-cell .cs-button + .cs-button {
    margin-left: 7px;
}

.cs-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf7f0;
    color: #176b43;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.cs-status-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
}

.cs-directory__empty {
    padding: 42px !important;
    text-align: center !important;
    color: var(--cs-gray-500);
}

.cs-directory__pagination {
    margin: 26px 0;
}

.cs-directory__pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-directory__pagination a,
.cs-directory__pagination span {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid var(--cs-gray-200);
    border-radius: 6px;
    background: var(--cs-white);
    color: var(--cs-navy);
    text-decoration: none;
}

.cs-directory__pagination .current {
    border-color: var(--cs-blue);
    background: var(--cs-blue);
    color: var(--cs-white);
}

.cs-directory-disclaimer {
    margin-top: 26px;
    padding: 18px 20px;
    border-left: 4px solid var(--cs-gold);
    background: var(--cs-white);
    color: var(--cs-gray-500);
    font-size: 13px;
}

/* Opportunity profile */
.cs-profile-hero {
    padding: 55px 0 68px;
}

.cs-profile__back {
    display: inline-flex;
    margin-bottom: 40px;
    color: rgba(255,255,255,.9) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cs-profile-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 48px;
    align-items: end;
}

.cs-profile-hero h1 {
    max-width: 980px;
    font-size: clamp(42px, 5.3vw, 72px);
}

.cs-profile-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 17px;
}

.cs-profile-hero__action {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.cs-status-pill--hero {
    align-self: flex-end;
    background: rgba(255,255,255,.13);
    color: var(--cs-white);
    border: 1px solid rgba(255,255,255,.28);
}

.cs-profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.cs-profile-main {
    display: grid;
    gap: 24px;
}

.cs-profile-card,
.cs-profile-sidebar__card {
    padding: 34px;
    border: 1px solid var(--cs-gray-200);
    border-radius: var(--cs-radius);
    background: var(--cs-white);
    box-shadow: var(--cs-shadow);
}

.cs-section-heading {
    margin-bottom: 24px;
}

.cs-section-heading h2 {
    margin: 5px 0 0;
    color: var(--cs-navy);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.cs-profile__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
}

.cs-profile__fact {
    display: grid;
    grid-template-columns: minmax(140px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cs-gray-100);
}

.cs-profile__fact-label {
    color: var(--cs-gray-500);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cs-profile__fact-value {
    color: var(--cs-navy);
    font-size: 15px;
    font-weight: 700;
}

.cs-profile__description {
    max-width: 880px;
    color: #344054;
    font-size: 17px;
    line-height: 1.75;
}

.cs-profile__description p:first-child {
    margin-top: 0;
}

.cs-profile__website a {
    color: var(--cs-blue);
    font-weight: 800;
    text-decoration: none;
}

.cs-profile-sidebar {
    position: sticky;
    top: 152px;
}

.admin-bar .cs-profile-sidebar {
    top: 184px;
}

.cs-profile-sidebar__card {
    background: var(--cs-navy);
    color: var(--cs-white);
}

.cs-profile-sidebar__card h2 {
    margin: 10px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.15;
}

.cs-profile-sidebar__card p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.76);
    font-size: 15px;
}

.cs-profile-sidebar__card .cs-button {
    width: 100%;
}

.cs-profile-sidebar__card small {
    display: block;
    margin-top: 14px;
    color: rgba(255,255,255,.56);
    line-height: 1.5;
}

/* Footer */
.cs-site-footer {
    padding: 54px 0 26px;
    background: var(--cs-navy);
    color: var(--cs-white);
}

.cs-site-footer__inner,
.cs-site-footer__bottom {
    width: min(1300px, calc(100% - 64px));
    margin: 0 auto;
}

.cs-site-footer__inner {
    display: grid;
    grid-template-columns: minmax(290px, 1.2fr) .75fr .9fr;
    gap: 80px;
    padding-bottom: 42px;
}

.cs-site-footer__accent {
    width: 60px;
    height: 3px;
    margin-bottom: 25px;
    background: var(--cs-gold);
}

.cs-site-footer__brand img {
    width: 340px;
    max-width: 100%;
}

.cs-site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-site-footer__heading {
    margin-bottom: 8px;
    color: var(--cs-gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.cs-site-footer__column a {
    color: var(--cs-white);
    text-decoration: none;
}

.cs-site-footer__column a:hover {
    color: var(--cs-gold);
}

.cs-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.58);
    color: rgba(255,255,255,.74);
    font-size: 13px;
}

.cs-site-footer__tagline {
    color: var(--cs-gold);
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1240px) {
    .cs-directory__filter-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }

    .cs-directory__search {
        grid-column: span 2;
    }

    .cs-site-brand img {
        width: 310px;
    }
}

@media (max-width: 960px) {
    .cs-container,
    .cs-site-header__inner,
    .cs-site-footer__inner,
    .cs-site-footer__bottom {
        width: min(100% - 36px, 760px);
    }

    .cs-site-header__inner {
        min-height: 92px;
    }

    .cs-site-brand img {
        width: 280px;
        max-width: 70vw;
    }

    .cs-site-header__toggle {
        display: block;
    }

    .cs-site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        padding: 18px;
        background: var(--cs-navy);
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 18px 35px rgba(0,0,0,.24);
    }

    .cs-site-nav.is-open {
        display: grid;
    }

    .cs-site-nav a {
        padding: 10px 0;
    }

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

    .cs-directory__search {
        grid-column: span 2;
    }

    .cs-profile-hero__grid,
    .cs-profile-layout {
        grid-template-columns: 1fr;
    }

    .cs-profile-hero__action {
        max-width: 330px;
    }

    .cs-status-pill--hero {
        align-self: flex-start;
    }

    .cs-profile-sidebar {
        position: static;
    }

    .cs-site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .cs-site-footer__brand {
        grid-column: span 2;
    }

    .cs-site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .admin-bar .cs-site-header {
        top: 46px;
    }

    .cs-directory-hero {
        padding: 60px 0 66px;
    }

    .cs-directory-hero p {
        font-size: 16px;
    }

    .cs-directory-content,
    .cs-profile-content {
        padding: 34px 0 52px;
    }

    .cs-directory__filters,
    .cs-profile-card,
    .cs-profile-sidebar__card {
        padding: 22px;
    }

    .cs-directory__filter-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .cs-directory__summary {
        white-space: normal;
    }

    .cs-directory__filter-grid {
        grid-template-columns: 1fr;
    }

    .cs-directory__search {
        grid-column: auto;
    }

    .cs-directory__table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .cs-directory__table,
    .cs-directory__table tbody,
    .cs-directory__table tr,
    .cs-directory__table td {
        display: block;
        width: 100%;
    }

    .cs-directory__table thead {
        display: none;
    }

    .cs-directory__table tr {
        margin-bottom: 16px;
        padding: 20px;
        border: 1px solid var(--cs-gray-200);
        border-radius: var(--cs-radius);
        background: var(--cs-white);
        box-shadow: var(--cs-shadow);
    }

    .cs-directory__table td {
        display: grid;
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 12px;
        padding: 7px 0;
        border: 0;
    }

    .cs-directory__table td::before {
        content: attr(data-label);
        color: var(--cs-gray-500);
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .cs-directory__table .cs-directory__fund {
        display: block;
        padding-bottom: 14px;
        font-size: 18px;
    }

    .cs-directory__table .cs-directory__fund::before,
    .cs-directory__table td[data-label=""]::before {
        content: none;
    }

    .cs-directory__actions-cell {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-width: 0;
        margin-top: 12px;
        white-space: normal;
    }

    .cs-directory__actions-cell .cs-button {
        width: 100%;
        margin: 6px 0 0 !important;
    }

    .cs-profile__facts {
        grid-template-columns: 1fr;
    }

    .cs-profile__fact {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .cs-site-footer__inner {
        grid-template-columns: 1fr;
    }

    .cs-site-footer__brand {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .cs-container,
    .cs-site-header__inner,
    .cs-site-footer__inner,
    .cs-site-footer__bottom {
        width: calc(100% - 28px);
    }

    .cs-site-brand img {
        width: 245px;
    }

    .cs-directory__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cs-directory__actions button {
        width: 100%;
    }

    .cs-profile__fact {
        display: block;
    }

    .cs-profile__fact-value {
        margin-top: 4px;
    }
}

/* v2.1 final polish */
.cs-site-header__inner{min-height:96px}
.cs-site-brand img{width:265px;max-width:31vw}
.cs-site-nav a{font-size:14px}
.cs-directory-hero{padding:66px 0 74px}
.cs-directory-hero h1,.cs-profile-hero h1,.cs-directory__filter-heading h2,.cs-section-heading h2,.cs-profile-sidebar__card h2{font-family:Arial,Helvetica,sans-serif}
.cs-directory-hero h1{font-size:clamp(40px,5vw,66px);font-weight:700;letter-spacing:-.035em}
.cs-directory-hero p{max-width:790px;font-size:16px;line-height:1.6}
.cs-directory__filter-heading h2{font-size:25px;font-weight:700}
.cs-directory__filters{padding:25px}
.cs-directory__filter-grid{gap:11px}
.cs-directory__filters label{font-size:12px}
.cs-directory__filters input,.cs-directory__filters select{min-height:42px;padding:8px 10px;font-size:13px}
.cs-directory__actions button{min-height:42px;font-size:13px}
.cs-directory__table th,.cs-directory__table td{padding:17px 13px}
.cs-directory__table th{font-size:11px}
.cs-directory__table td{font-size:13px}
.cs-directory__fund{min-width:180px}
.cs-directory__actions-cell{min-width:230px}
.cs-button{min-height:38px;padding:8px 11px;font-size:12px}
.cs-status-pill{padding:5px 9px;font-size:11px}
.cs-status-pill--closing-soon{background:#fff5cc;color:#8a6500}
.cs-status-pill--first-close-completed,.cs-status-pill--first-close-complete{background:#e9f2ff;color:#0056c7}
.cs-status-pill--waitlist{background:#f0ecff;color:#6542a6}
.cs-status-pill--closed{background:#eef0f3;color:#4b5563}
.cs-profile-hero h1{font-size:clamp(38px,4.7vw,62px);font-weight:700;letter-spacing:-.03em}
.cs-profile-hero p,.cs-profile__description{font-size:16px}
.cs-section-heading h2,.cs-profile-sidebar__card h2{font-size:26px;font-weight:700}
.cs-profile-card,.cs-profile-sidebar__card{padding:29px}
.cs-site-footer{padding-top:44px}
.cs-site-footer__brand img{width:265px}
.cs-site-footer__inner{gap:60px}
.cs-site-footer__column,.cs-site-footer__bottom{font-size:12px}
@media(max-width:1240px){.cs-site-brand img{width:245px}.cs-directory__filter-grid{grid-template-columns:repeat(4,minmax(140px,1fr))}}
@media(max-width:960px){.cs-site-header__inner{min-height:82px}.cs-site-brand img{width:230px;max-width:68vw}}
@media(max-width:480px){.cs-site-brand img{width:210px}}
