/* Videos: listado (/videos/) y página de video (/videos/<slug>/) */
.videos-page { background: #f6f8f7; color: #1f2a37; }
.videos-page .container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.videos-hero { padding: 150px 0 28px; background: #fff; border-bottom: 1px solid #e5eae7; }
.videos-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.2; margin: 8px 0 10px; color: #10271d; }
.videos-lead { max-width: 720px; color: #4b5b52; margin: 0 0 18px; }
.videos-breadcrumb { font-size: .9rem; color: #6b7a72; }
.videos-breadcrumb a { color: #039939; text-decoration: none; }
.videos-breadcrumb span { margin: 0 4px; }
.videos-tools { display: grid; gap: 12px; }
.videos-search { width: 100%; max-width: 560px; padding: 12px 16px; border: 1px solid #cfd8d3; border-radius: 10px; font-size: 1rem; background: #fff; }
.videos-search:focus { outline: 2px solid #039939; outline-offset: 1px; border-color: #039939; }
.videos-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.videos-chip { border: 1px solid #cfd8d3; background: #fff; color: #10271d; border-radius: 999px; padding: 7px 14px; font-size: .9rem; cursor: pointer; }
.videos-chip span { opacity: .6; margin-left: 4px; }
.videos-chip:hover { border-color: #039939; }
.videos-chip.is-active { background: #039939; border-color: #039939; color: #fff; }
.videos-count { margin: 0; color: #6b7a72; font-size: .9rem; }
.videos-list { padding: 32px 0 64px; }
.videos-list h2 { font-size: 1.4rem; margin: 0 0 18px; color: #10271d; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card { background: #fff; border: 1px solid #e5eae7; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.video-card[hidden] { display: none; }
.video-card:hover { border-color: #039939; box-shadow: 0 8px 22px rgba(3, 153, 57, .12); }
.video-card-thumb { position: relative; display: block; aspect-ratio: 4 / 3; background: #10271d; overflow: hidden; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.video-card-play::after { content: ""; position: absolute; left: 21px; top: 15px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.video-card-time { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .78); color: #fff; font-size: .78rem; padding: 2px 7px; border-radius: 4px; }
.video-card-body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.video-card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: #039939; font-weight: 600; }
.video-card-title { font-size: 1rem; line-height: 1.35; margin: 0; }
.video-card-title a { color: #10271d; text-decoration: none; }
.video-card-title a:hover { color: #039939; }
.videos-none, .videos-empty { text-align: center; padding: 48px 12px; color: #4b5b52; }
.videos-more { text-align: center; margin-top: 24px; }
.videos-more a { color: #039939; font-weight: 600; }

/* Página de video */
.video-detail .videos-hero { padding-bottom: 20px; }
.video-main { padding: 28px 0 8px; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: #4b5b52; font-size: .95rem; }
.video-meta a { color: #039939; text-decoration: none; }
.video-text { background: #fff; border: 1px solid #e5eae7; border-radius: 12px; padding: 18px 20px; }
.video-text p { margin: 0 0 12px; line-height: 1.65; }
.video-text p:last-child { margin-bottom: 0; }
.video-cta { background: #fff; border: 1px solid #e5eae7; border-radius: 12px; padding: 20px; display: grid; gap: 10px; position: sticky; top: 130px; }
.video-cta h2 { font-size: 1.15rem; margin: 0; color: #10271d; }
.video-cta p { margin: 0; color: #4b5b52; font-size: .95rem; line-height: 1.5; }
.video-btn { display: block; text-align: center; padding: 11px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: .95rem; }
.video-btn-wa { background: #25d366; color: #073b1c; }
.video-btn-wa:hover { background: #1fbd5b; }
.video-btn-line { border: 1px solid #039939; color: #039939; background: #fff; }
.video-btn-line:hover { background: #039939; color: #fff; }
.related-videos { padding-top: 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-cta { position: static; }
  .videos-hero { padding-top: 120px; }
}
