/* === SHARED STYLES FOR /videos PAGES === */
/* Loaded alongside articles.css on the video hub and every topic page.
   All classes are namespaced .vid-* / .vidhub-* so they never affect other pages. */

/* --- Topic page video cards --- */
.vid-frame { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; background: #0a1628; margin: 6px 0 14px; }
.vid-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.vid-card { margin: 0 0 40px; }
.vid-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; margin: 0 0 4px; }
.vid-channel { display: inline-block; padding: 3px 12px; border-radius: 100px; background: #fff7ed; border: 1px solid #fed7aa; color: #f97316; font-weight: 700; text-decoration: none; }
.vid-channel:hover { background: #ffedd5; }
.vid-watch { color: #6b7280; font-weight: 600; }
.vid-watch:hover { color: #f97316; }
.vid-card h3 { font-size: 20px; font-weight: 700; color: #111827; margin: 0 0 10px; }
.vid-seealso { font-size: 14px; color: #6b7280; margin-top: 8px; }

/* --- Hub: creator cards and topic grid --- */
.vidhub-creators { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 8px; }
.vidhub-creator { padding: 18px 20px; background: #ffffff; border: 1px solid #e5e7eb; border-left: 3px solid #f97316; border-radius: 10px; }
.vidhub-creator h3 { font-size: 16px; font-weight: 700; color: #111827; margin: 0 0 6px; }
.vidhub-creator h3 a { color: #111827; text-decoration: none; }
.vidhub-creator h3 a:hover { color: #f97316; }
.vidhub-creator p { font-size: 14px; line-height: 1.6; color: #6b7280; margin: 0; }
.vidhub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 24px; }
.vidhub-topic { display: block; padding: 20px 22px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.vidhub-topic:hover { border-color: #f97316; box-shadow: 0 4px 12px rgba(249,115,22,0.08); }
.vidhub-topic h3 { font-size: 17px; font-weight: 700; color: #111827; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.vidhub-topic p { font-size: 14px; line-height: 1.6; color: #6b7280; margin: 0; }
.vidhub-new { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #f97316; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 100px; padding: 2px 9px; }

@media (max-width: 768px) {
  .vidhub-creators, .vidhub-grid { grid-template-columns: 1fr; }
}
