/* 物件ページ「動画で見る」（rh/property/render-page.php）。Instagram のリールは縦長、YouTube は 16:9 */
html .rh-pvideo__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; align-items: start; margin-top: 20px; }
html .rh-pvideo__item { margin: 0; min-width: 0; }
html .rh-pvideo__item .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 400px !important; margin: 0 auto !important; }
html .rh-pvideo__item.is-yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--rh-r-card); }
/* Instagram：高さは埋め込み（embed.js）が決める。こちらで高さを決めない（リールが下で切れていた） */
html .rh-pvideo__item.is-ig iframe { max-height: none; }
html .rh-pvideo__item figcaption { margin-top: 8px; color: var(--rh-gray); font-size: 13px; line-height: 1.6; text-align: center; }
@media (max-width: 767px) { html .rh-pvideo__list { grid-template-columns: 1fr; gap: 20px; } }
