/* AmpVault Media & Video Manager 1.0 — styles scoped to .avm-section */
.avm-section{padding:76px 20px 84px;background:#f7faff;color:#14213d}
.avm-section,.avm-section *,.avm-section *::before,.avm-section *::after{box-sizing:border-box}
.avm-section .avm-container{max-width:1160px;margin:0 auto}
.avm-section .avm-heading{text-align:center;max-width:760px;margin:0 auto 42px}
.avm-section .avm-eyebrow{display:block;color:#2563eb;font-size:11px;font-weight:800;letter-spacing:.14em;margin-bottom:10px}
.avm-section .avm-heading h2{margin:0 0 12px;font-size:clamp(29px,3.4vw,43px);line-height:1.2;font-weight:800;color:#14213d}
.avm-section .avm-heading p{margin:0;color:#64748b;font-size:15px;line-height:1.7}
.avm-section .avm-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
.avm-section .avm-group-heading h3{font-size:24px;font-weight:800;color:#14213d;line-height:1.3;margin:0}
.avm-section .avm-group-heading>a{color:#2563eb;font-size:14px;font-weight:700;text-decoration:none}
.avm-section .avm-group-heading>a:hover{text-decoration:underline}
.avm-section .avm-group-videos{margin-top:42px}
.avm-section .avm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.avm-section .avm-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e0e8f3;border-radius:17px;overflow:hidden;box-shadow:0 7px 24px rgba(20,33,61,.04)}
.avm-section .avm-thumb,.avm-section .avm-article-thumb{position:relative;display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#dfebfb}
.avm-section .avm-thumb img,.avm-section .avm-article-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.avm-section .avm-thumb-fallback,.avm-section .avm-article-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(130deg,#dbeafe,#eff6ff);color:#2563eb}
.avm-section .avm-thumb-fallback span{font-size:55px;opacity:.5}
.avm-section .avm-article-fallback{color:#14213d;font-size:19px;text-align:center;letter-spacing:.12em;font-weight:800;line-height:1.5}
.avm-section .avm-video-trigger{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:0;border-radius:0;width:100%;height:100%;background:linear-gradient(180deg,rgba(2,6,23,.08),rgba(2,6,23,.35));color:#fff!important;font-family:inherit;font-size:30px;font-weight:800;text-decoration:none!important;cursor:pointer;transition:background .18s ease}
.avm-section .avm-video-trigger:hover{background:rgba(2,6,23,.48)}
.avm-section .avm-video-trigger span{font-size:13px;font-weight:750;border-radius:6px;background:rgba(0,0,0,.55);padding:5px 10px}
.avm-section .avm-thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.avm-section .avm-card-body{display:flex;flex:1;flex-direction:column;padding:21px 21px 22px}
.avm-section .avm-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:12px}
.avm-section .avm-meta span{display:inline-block;font-size:11px;font-weight:700;color:#2563eb;background:#eff6ff;border-radius:6px;padding:4px 7px}
.avm-section .avm-meta span+span{color:#64748b;background:#f1f5f9}
.avm-section .avm-meta .avm-sponsored{background:#fff7ed;color:#92400e}
.avm-section .avm-card h3{margin:0 0 9px;font-size:19px;line-height:1.37;font-weight:800;color:#14213d;overflow-wrap:anywhere}
.avm-section .avm-card h3 a{color:inherit;text-decoration:none}
.avm-section .avm-card h3 a:hover{color:#2563eb}
.avm-section .avm-card-body>p{color:#64748b;margin:0 0 12px;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.avm-section .avm-card-body .avm-creator{font-size:12px;color:#475569;margin-top:auto;padding-top:5px}
.avm-section .avm-creator a{color:#2563eb;text-decoration:none}
.avm-section .avm-card-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:auto;padding-top:16px}
.avm-section .avm-card-links>a{color:#2563eb;font-size:13px;font-weight:700;text-decoration:none}
.avm-section .avm-card-links>a:hover{text-decoration:underline}
.avm-section .avm-empty{border:1px dashed #cad5e5;background:#fff;border-radius:12px;padding:25px;color:#64748b;text-align:center;font-size:14px}
.avm-section .avm-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:0 0 26px}
.avm-section .avm-filter{display:inline-flex;align-items:center;min-height:40px;padding:9px 15px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#14213d;text-decoration:none!important;font-size:13px;font-weight:700}
.avm-section .avm-filter:hover,.avm-section .avm-filter.is-current{background:#2563eb;color:#fff;border-color:#2563eb}
.avm-section .avm-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:32px 0 0}
.avm-section .avm-pagination a,.avm-section .avm-pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;min-width:38px;padding:8px 13px;border:1px solid #cbd5e1;background:#fff;color:#14213d;text-decoration:none;border-radius:8px;font-size:13px;font-weight:700}
.avm-section .avm-pagination [aria-current="page"],.avm-section .avm-pagination a:hover{background:#2563eb;border-color:#2563eb;color:#fff}
.avm-section a:focus-visible,.avm-section button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
@media(max-width:1024px){.avm-section .avm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.avm-section{padding:52px 14px 64px}.avm-section .avm-heading{margin-bottom:30px}.avm-section .avm-heading h2{font-size:30px}.avm-section .avm-grid{grid-template-columns:1fr;gap:15px}.avm-section .avm-group-heading{align-items:flex-start}.avm-section .avm-group-heading h3{font-size:20px}.avm-section .avm-group-heading>a{font-size:12px;text-align:right}.avm-section .avm-group-videos{margin-top:36px}.avm-section .avm-card-body{padding:19px}.avm-section .avm-filters{justify-content:flex-start;gap:7px}.avm-section .avm-filter{padding:9px 11px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.avm-section .avm-video-trigger{transition:none}}
