/* RMS public pages: research projects and grants & opportunities (portal look of cancerihub.uz) */
.rp-hero { background: radial-gradient(110% 140% at 100% 0%, rgba(27,188,151,.28), rgba(27,188,151,0) 55%), linear-gradient(135deg, #10302e, #174340 60%, #1d5550); color: #fff; }
.rp-hero .wrap { padding-top: 54px; padding-bottom: 50px; max-width: 1320px; }
.rp-hero .eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); font-weight: 700; }
.rp-hero h1 { color: #fff; font-size: 40px; margin: 10px 0 12px; max-width: 820px; }
.rp-hero p { color: rgba(255,255,255,.78); max-width: 720px; font-size: 17px; margin: 0; }
.rp-body { padding-top: 26px; }
.rp-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.rp-filters .input { width: auto; min-width: 200px; background: #f2f5f7; }
.rp-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-pills a { padding: 8px 16px; border-radius: 999px; background: #f2f5f7; color: var(--teal-900); font-weight: 600; font-size: 14px; }
.rp-pills a.active { background: var(--teal-900); color: #fff; }
.rp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rp-card { background: #fff; border: 1px solid #e8eef2; border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; color: inherit; transition: box-shadow .15s, transform .15s; }
a.rp-card:hover { box-shadow: 0 16px 40px rgba(23,67,64,.12); transform: translateY(-2px); color: inherit; }
.rp-card h3 { font-size: 18px; line-height: 1.35; }
.rp-card p { color: var(--slate); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rp-card .top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.rp-card .foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.rp-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.rp-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--accent-50); color: var(--accent-600); }
.rp-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px; align-items: start; }
.rp-side { background: #f6f9fa; border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 14px; position: sticky; top: 96px; }
.rp-side dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.rp-side dd { margin: 2px 0 0; font-weight: 600; color: var(--teal-900); }
.rp-progress { height: 8px; border-radius: 8px; background: #e3eaee; overflow: hidden; margin-top: 6px; }
.rp-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--mint)); }
.rp-empty { text-align: center; padding: 60px 20px; color: var(--muted); background: #f6f9fa; border-radius: var(--radius-lg); }
.rp-deadline { font: 700 13px var(--font-body); color: var(--danger); }
.rp-deadline.ok { color: var(--success); }
@media (max-width: 1000px) { .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rp-detail { grid-template-columns: 1fr; } .rp-side { position: static; } }
@media (max-width: 640px) { .rp-grid { grid-template-columns: 1fr; } .rp-hero h1 { font-size: 30px; } }
