/* Pagina «Guides vidéo» / «Video guides» (FR: /guides-video/, EN: /en/video-guides/).
   Se încarcă DUPĂ canale-sociale.css: refolosește antetul, deschiderea, cardul, rafturile și butoanele din el (aceleași variabile). */

#gv-root { min-height: 240px; padding-top: 32px; }
#gv-root[data-state="soon"], #gv-root[data-state="error"] { min-height: 160px; }

/* Cele trei porți: butoane navy, ca cardul canalului de pe «Suivez-nous» */
.gv-gates { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gv-gates > * { min-width: 0; }
.gv-gate { display: flex; gap: 16px; align-items: flex-start; min-height: 112px; padding: 22px; border-radius: 22px; border: 0; text-align: left; font: inherit; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--primary) 0%, #16477f 100%); box-shadow: 0 10px 30px rgba(0,49,104,0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gv-gate:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,49,104,0.26); }
.gv-gate:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gv-gate-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--accent); background: rgba(255,255,255,0.06); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.gv-gate-ico svg { width: 26px; height: 26px; }
.gv-gate-t { display: block; font-family: 'DM Serif Display', serif; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.gv-gate-x { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.88); }

/* Căutare și teme */
.gv-tools { margin-top: 32px; padding: 20px; border-radius: 22px; background: var(--bg-alt); border: 1px solid var(--border); }
.gv-search-l { display: block; font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.gv-search { display: block; width: 100%; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--border); background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.gv-search::placeholder { color: var(--text-muted); }
.gv-search:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0,49,104,0.14); }
.gv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gv-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.gv-chip:hover { background: var(--veil); }
.gv-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gv-chip svg { width: 18px; height: 18px; flex: none; }
.gv-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gv-none { margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--bg-alt); color: var(--text); }

/* Titlul rafului cu pictograma temei */
.gv-shelf h2 { display: flex; align-items: center; gap: 12px; }
.gv-theme-ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.gv-theme-ico svg { width: 22px; height: 22px; }

/* Cardul unui ghid: tot cardul e un buton */
.gv-card { position: relative; }
.gv-open { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.gv-open:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 16px; }
.gv-title { font-family: 'DM Serif Display', serif; font-size: 20px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.gv-blurb { font-size: 14px; line-height: 1.5; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Coperta are textul filmului în imagine: pe card nu punem butonul de redare peste ea (durata și cardul întreg spun că e film);
   în fereastră butonul stă jos-stânga, mic. */
.gv-open .soc-play { display: none; }
.gv-stage-btn .soc-play { align-items: flex-end; justify-content: flex-start; padding: 10px; }
.gv-seen { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(255,255,255,0.94); color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.2; }
.gv-seen svg { width: 14px; height: 14px; }

/* Fereastra filmului */
.gv-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,31,66,0.78); }
.gv-dlg { display: flex; flex-direction: column; width: 100%; max-width: 820px; max-height: 96dvh; overflow-y: auto; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.gv-stage { flex: none; position: relative; aspect-ratio: 16 / 9; background: #000; }
.gv-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gv-stage-btn { position: absolute; inset: 0; display: block; padding: 0; border: 0; background: none; cursor: pointer; }
.gv-stage-btn .soc-thumb { position: absolute; inset: 0; aspect-ratio: auto; }
.gv-stage-btn .soc-play { padding: 16px; }
.gv-stage-btn .soc-play > span { width: 56px; height: 56px; }
.gv-stage-btn .soc-play svg { width: 26px; height: 26px; }
.gv-stage-btn:hover .soc-play > span { transform: scale(1.05); }
.gv-stage-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.gv-dlg-body { padding: 24px 28px 28px; }
.gv-dlg-theme { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.gv-dlg-theme svg { width: 20px; height: 20px; flex: none; }
.gv-dlg h2 { margin-top: 4px; font-size: 30px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.gv-dlg-meta { margin-top: 4px; font-size: 14px; color: var(--text-muted); }
.gv-dlg-meta:empty { display: none; }
.gv-dlg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.gv-dlg-actions .btn { flex: 1 1 220px; }
.gv-dlg-steps-h { margin-top: 22px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.gv-steps { list-style: none; counter-reset: gv; margin-top: 8px; }
.gv-steps li { counter-increment: gv; position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--border); }
.gv-steps li:last-child { border-bottom: 0; }
.gv-steps li::before { content: counter(gv); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.gv-close { margin-top: 20px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.gv-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.gv-soon h2 { font-size: 26px; color: var(--ink); margin-bottom: 8px; }

@media (max-width: 767px) {
  .gv-stage-btn .soc-play { padding: 6px 8px; }
  .gv-stage-btn .soc-play > span { width: 34px; height: 34px; }
  .gv-stage-btn .soc-play svg { width: 17px; height: 17px; }
  .gv-tools { padding: 16px; }
  .gv-overlay { align-items: flex-end; padding: 0; }
  .gv-dlg { max-width: none; max-height: 94dvh; border-radius: 24px 24px 0 0; }
  .gv-dlg-body { padding: 20px 18px 24px; }
  .gv-dlg h2 { font-size: 24px; }
}
@media (max-width: 520px) {
  .gv-gate { padding: 18px; min-height: 0; }
  .gv-gate-t { font-size: 20px; }
}
/* Stare de încărcare: aceeași formă ca porțile și bara de căutare, ca pagina să nu «sară» la randare */
.gv-skel { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gv-skel > * { min-width: 0; display: block; border-radius: 22px; background: var(--bg-alt); border: 1px solid var(--border); animation: gv-skel-pulse 1.6s ease-in-out infinite; }
.gv-skel-gate { min-height: 112px; }
.gv-skel-bar { grid-column: 1 / -1; min-height: 96px; margin-top: 16px; }
@keyframes gv-skel-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (max-width: 520px) { .gv-skel-gate { min-height: 96px; } }
@media (prefers-reduced-motion: reduce) {
  .gv-gate:hover { transform: none; }
  .gv-skel > * { animation: none; }
}
