/* ═══════════════════════════════════════════════════
   ПРЕСС-РЕЛИЗЫ  (базовые стили: offers.css)
   ═══════════════════════════════════════════════════ */

/* ── Герой ── */
.pr-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%); }

/* ── Hover на лого ── */
.offer-card:hover .procedure-logo { transform: scale(1.05); }

/* ── Анонс ── */
.offers-grid--list .offer-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #64748B;
    font-size: 13px;
    line-height: 1.55;
    margin: 4px 0 8px;
}
.offers-grid--grid .offer-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Бейджи ── */
.offer-card__badges { flex-wrap: wrap; gap: 5px; }

/* ── List: высота блока лого ── */
.offers-grid--list .offer-card__img { min-height: 180px; }

/* ════════════════════════════════════════
   AUTOCOMPLETE компаний (cac-*)
   ════════════════════════════════════════ */
.cac-wrap {
    position: relative;
}
.cac-input-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    transition: border-color .15s;
    overflow: hidden;
}
.cac-input-row:focus-within {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,.1);
}
.cac-icon {
    flex-shrink: 0;
    padding: 0 10px;
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
}
.cac-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #1e293b;
    padding: 8px 6px 8px 0;
    font-family: inherit;
}
.cac-input::placeholder { color: #94a3b8; }
.cac-clear {
    flex-shrink: 0;
    border: none;
    background: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 10px;
    font-size: 11px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: color .15s;
}
.cac-clear:hover { color: #ef4444; }

/* Выпадающий список */
.cac-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 220px;
    overflow-y: auto;
}
.cac-item {
    padding: 8px 14px;
    font-size: 13px;
    color: #1e293b;
    cursor: pointer;
    transition: background .1s;
    line-height: 1.3;
}
.cac-item:hover,
.cac-item--active {
    background: #f0fdfa;
    color: #0d9488;
}

/* Активная компания (выбрана) */
.cac-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 10px;
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    font-size: 12px;
    color: #0d9488;
    font-weight: 600;
}
.cac-selected i { font-size: 11px; }
