/* هوشاورزی: تصویرهای دانشنامه */
.hv-hero { background: linear-gradient(to left, rgba(10, 46, 34, .94) 0%, rgba(10, 46, 34, .80) 45%, rgba(10, 46, 34, .30) 100%), var(--hv-bg) center / cover no-repeat, #0f4d28; }
.hv-thumb { display: block; width: calc(100% + 36px); max-width: none; margin: -18px -18px 4px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--surface-2); }
.topic-card.hv-has { flex-wrap: wrap; }
.topic-card.hv-has .hv-thumb { flex: none; align-self: flex-start; width: calc(100% + 36px); height: auto; aspect-ratio: 16 / 9; margin-bottom: 0; }
.comp-card .hv-thumb.hv-c { width: calc(100% + 32px); margin: -16px -16px 10px; aspect-ratio: 4 / 3; }
.comp-card { overflow: hidden; display: flex; flex-direction: column; align-items: stretch; }
.method-card, .topic-card { overflow: hidden; }
.hv-banner { margin: 0 0 22px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); box-shadow: var(--shadow); }
.hv-banner-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 440px; object-fit: cover; }
.hv-modal-fig { margin: 6px 0 14px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.hv-modal-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 340px; object-fit: cover; }
@media (max-width: 640px) { .hv-banner-img { max-height: 240px; } }
.comp-card > .badge { align-self: flex-start; }
.hv-cap { font-size: .72rem; color: var(--muted); padding: 5px 10px; text-align: left; direction: ltr; background: var(--surface); }
.hv-cap a { color: inherit; }
.hv-sch { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; grid-template-rows: auto 1fr; gap: 16px; align-items: start; }
.hv-sch-fig { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); grid-row: span 2; }
.hv-sch-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .hv-sch { grid-template-columns: 1fr; } .hv-sch-fig { grid-row: auto; } }
