.rg-rose-media-section { position: relative; }
.rg-media-legacy-anchor { position: absolute; top: 0; }
.rg-rose-media-section .rg-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rg-rose-media-section .rg-media-card { min-width: 0; padding: 0; border: 0; background: transparent; }
.rg-rose-media-section .rg-media-preview { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #e9e7dc; text-decoration: none; }
.rg-rose-media-section .rg-media-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rg-media-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: #48604b; font-size: 20px; }
.rg-media-action { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 20px; background: rgba(28, 45, 31, .92); color: white; font-size: 13px; font-weight: 600; }
.rg-rose-media-section .rg-media-card h3 { margin: 12px 0 6px; font-size: 18px; line-height: 1.35; }
.rg-rose-media-section .rg-media-card h3 a { color: inherit; text-decoration: none; }
.rg-rose-media-section .rg-media-source { color: #566954; font-size: 13px; }
.rg-media-preview:focus-visible, .rg-media-card a:focus-visible { outline: 3px solid #547859; outline-offset: 4px; }
.rg-media-dialog { box-sizing: border-box; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 24px; border: 0; border-radius: 14px; background: #fffcf6; color: #303a2e; box-shadow: 0 16px 70px #0005; }
.rg-media-dialog:not([open]) { display: none; }
.rg-media-dialog::backdrop { background: rgba(20, 30, 22, .7); }
.rg-media-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.rg-media-dialog-head h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.rg-media-dialog-head button { flex: 0 0 auto; border: 1px solid #c8d1c4; border-radius: 6px; padding: 7px 12px; background: white; color: #304631; cursor: pointer; }
.rg-media-dialog-source { font-size: 14px; color: #426449; }
.rg-media-dialog .rg-media-status { font-size: 13px; line-height: 1.4; color: #667162; margin: 12px 0; }
.rg-media-viewer { width: 100%; overflow: hidden; min-height: 100px; }
.rg-media-viewer--video { aspect-ratio: 16 / 9; min-height: 0; }
.rg-media-viewer--video iframe { width: 100%; height: 100%; border: 0; display: block; }
.rg-media-viewer--social iframe { width: 100%; max-width: 500px; height: 700px; border: 0; display: block; margin: 0 auto; }
.rg-media-viewer .instagram-media { min-width: 0 !important; width: 100% !important; max-width: 540px !important; margin: 0 auto !important; }
.rg-media-viewer .fb-post, .rg-media-viewer .fb-video { display: block; max-width: 100%; margin: 0 auto; }
@media (max-width: 760px) { .rg-rose-media-section .rg-media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 520px) {
  .rg-rose-media-section .rg-media-grid { grid-template-columns: 1fr; }
  .rg-media-dialog { padding: 16px; }
  .rg-media-dialog-head h3 { font-size: 18px; }
}
