.demand-page {
    padding-top: 34px;
    padding-bottom: 56px;
}

.demand-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 34px 38px;
    border: 1px solid #dbe7f7;
    border-radius: 18px;
    background: linear-gradient(120deg, #f7fbff 0%, #edf5ff 62%, #f5f8ff 100%);
}

.demand-hero__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--zz-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.demand-hero h1 {
    margin: 0;
    color: #17243a;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
}

.demand-hero p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #5d6878;
    font-size: 16px;
}

.demand-hero__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.demand-filter-card,
.demand-detail-card,
.demand-contact-card,
.demand-publish-card {
    border: 1px solid var(--zz-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 36, 58, .05);
}

.demand-filter-card {
    margin: 22px 0 28px;
    padding: 22px;
}

.demand-filter-card .form-label {
    margin-bottom: 6px;
    color: #465268;
    font-size: 13px;
    font-weight: 700;
}

.demand-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
}

.demand-results__header h2 {
    margin: 0;
    color: #1f2d42;
    font-size: 22px;
    font-weight: 800;
}

.demand-results__header span {
    color: #7b8799;
    font-size: 14px;
}

.demand-card {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr) 150px;
    gap: 28px;
    align-items: center;
    margin-bottom: 14px;
    padding: 24px 26px;
    border: 1px solid var(--zz-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(23, 36, 58, .04);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.demand-card:hover {
    transform: translateY(-2px);
    border-color: #b8d0ef;
    box-shadow: 0 12px 30px rgba(30, 91, 184, .09);
}

.demand-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.demand-badge {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border: 1px solid #dce3ec;
    border-radius: 999px;
    background: #f7f9fc;
    color: #596579;
    font-size: 12px;
    font-weight: 700;
}

.demand-badge--verified {
    border-color: #b9daf8;
    background: #eaf5ff;
    color: #1766a7;
}

.demand-card__no {
    color: #8a95a5;
    font-size: 12px;
}

.demand-card h3 {
    margin: 13px 0 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.demand-card h3 a {
    color: #1c2a3d;
}

.demand-card h3 a:hover {
    color: var(--zz-primary);
}

.demand-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    color: #677386;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.demand-card__buyer {
    color: #7b8798;
    font-size: 13px;
}

.demand-card__buyer strong {
    color: #485568;
}

.demand-card__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    padding-left: 24px;
    border-left: 1px solid #edf0f4;
}

.demand-card__facts div {
    min-width: 0;
}

.demand-card__facts span,
.demand-card__facts strong {
    display: block;
}

.demand-card__facts span {
    margin-bottom: 4px;
    color: #8a95a5;
    font-size: 12px;
}

.demand-card__facts strong {
    overflow: hidden;
    color: #344154;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demand-card__side {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 12px;
}

.demand-card__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16815b;
    font-size: 13px;
    font-weight: 700;
}

.demand-card__status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22a775;
    box-shadow: 0 0 0 4px rgba(34, 167, 117, .12);
}

.demand-card__side time {
    color: #8a95a5;
    font-size: 12px;
}

.demand-empty {
    padding: 70px 20px;
    border: 1px dashed #cdd8e7;
    border-radius: 14px;
    background: #fbfcfe;
    color: #7c899b;
    text-align: center;
}

.demand-detail-card {
    overflow: hidden;
}

.demand-detail-card__header {
    padding: 30px 32px 25px;
    border-bottom: 1px solid #edf0f4;
}

.demand-detail-card__header h1 {
    margin: 17px 0 11px;
    color: #19283d;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.35;
}

.demand-detail-card__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: #8692a3;
    font-size: 13px;
}

.demand-detail-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
    padding: 27px 32px;
    gap: 22px 35px;
    background: #fbfcfe;
}

.demand-detail-facts div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 12px;
}

.demand-detail-facts dt {
    color: #8290a3;
    font-weight: 500;
}

.demand-detail-facts dd {
    margin: 0;
    color: #2b394d;
    font-weight: 700;
}

.demand-detail-description {
    padding: 30px 32px 38px;
}

.demand-detail-description h2,
.demand-publish-card h2 {
    margin: 0 0 16px;
    color: #213047;
    font-size: 20px;
    font-weight: 800;
}

.demand-detail-description div {
    color: #46556a;
    font-size: 16px;
    line-height: 1.95;
}

.demand-contact-card,
.demand-publish-card {
    padding: 24px;
}

.demand-contact-card__title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf0f4;
}

.demand-contact-card__title span,
.demand-contact-card__title strong {
    display: block;
}

.demand-contact-card__title > div > span {
    margin-bottom: 5px;
    color: #8490a1;
    font-size: 12px;
}

.demand-contact-card__title strong {
    color: #26364b;
    font-size: 17px;
}

.demand-contact-card dl {
    margin: 19px 0;
}

.demand-contact-card dl div {
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 12px;
    padding: 8px 0;
}

.demand-contact-card dt {
    color: #8793a4;
    font-weight: 500;
}

.demand-contact-card dd {
    overflow-wrap: anywhere;
    margin: 0;
    color: #344154;
    font-weight: 700;
}

.demand-contact-lock {
    padding: 16px;
    border-radius: 10px;
    background: #f3f7fc;
}

.demand-contact-lock strong {
    color: #35445a;
    font-size: 14px;
}

.demand-contact-lock p {
    margin: 5px 0 14px;
    color: #718096;
    font-size: 13px;
    line-height: 1.65;
}

.demand-publish-card {
    margin-top: 18px;
    background: linear-gradient(145deg, #fff 0%, #f4f8ff 100%);
}

.demand-publish-card p {
    color: #68768a;
    font-size: 14px;
    line-height: 1.7;
}

.demand-related {
    margin-top: 38px;
}

@media (max-width: 1199.98px) {
    .demand-card {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    }

    .demand-card__side {
        grid-column: 1 / -1;
        align-items: center;
        flex-direction: row;
        justify-content: flex-end;
    }
}

@media (max-width: 767.98px) {
    .demand-page {
        padding-top: 22px;
    }

    .demand-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 26px 22px;
    }

    .demand-hero__actions {
        flex-direction: column;
    }

    .demand-card {
        grid-template-columns: 1fr;
        gap: 19px;
        padding: 21px;
    }

    .demand-card__facts {
        padding: 19px 0 0;
        border-top: 1px solid #edf0f4;
        border-left: 0;
    }

    .demand-card__side {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .demand-card__side .btn {
        width: 100%;
    }

    .demand-detail-card__header,
    .demand-detail-description {
        padding: 24px 21px;
    }

    .demand-detail-facts {
        grid-template-columns: 1fr;
        padding: 23px 21px;
    }
}

@media (max-width: 479.98px) {
    .demand-card__facts,
    .demand-detail-facts {
        grid-template-columns: 1fr;
    }
}
