/* ========================================================= Video + CTA section ========================================================= */ .video-cta-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 32px; align-items: center; max-width: 1200px; margin: 0 auto; box-sizing: border-box; } .video-cta-row *, .video-cta-row *::before, .video-cta-row *::after { box-sizing: border-box; } /* ========================================================= Video ========================================================= */ .video-cta-row__video { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.06); } .video-cta-row__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; } /* ========================================================= CTA column ========================================================= */ .video-cta-row__cta { min-width: 0; } .video-cta-row__cta ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; } .video-cta-row__cta li { margin: 0; padding: 0; } /* ========================================================= Primary “New AI Plugin” row ========================================================= */ .video-cta-row__primary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 4px !important; padding: 4px 0 10px !important; } /* * Most important part: * explicitly prevent the shortcode-generated button from * inheriting full-width/block behavior from the template. */ .video-cta-row__primary .youtube_row_button, .video-cta-row__primary #ai-plugin-dev-new-plugin-button { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: auto !important; min-width: 0 !important; max-width: 100% !important; flex: 0 0 auto !important; margin: 0 !important; padding: 11px 20px !important; background: linear-gradient( to bottom, #0085ba, #005a87 ) !important; border: 1px solid #005a87 !important; border-radius: 9px !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.2 !important; text-transform: none !important; letter-spacing: 0.2px !important; text-decoration: none !important; white-space: nowrap !important; box-shadow: 0 4px 10px rgba(0, 115, 170, 0.32), inset 0 1px rgba(255, 255, 255, 0.15) !important; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important; } .video-cta-row__primary .youtube_row_button:hover, .video-cta-row__primary #ai-plugin-dev-new-plugin-button:hover { transform: translateY(-1px) !important; filter: brightness(1.08); box-shadow: 0 7px 16px rgba(0, 115, 170, 0.38), inset 0 1px rgba(255, 255, 255, 0.18) !important; } .video-cta-row__free { display: inline-flex; align-items: center; color: #fff; font-size: 18px; font-weight: 800; white-space: nowrap; } /* ========================================================= Normal CTA links ========================================================= */ /* * IMPORTANT: * We style .video-cta-row__link specifically instead of * every under .video-cta-row__cta. */ .video-cta-row__link { display: block; width: 100%; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 11px; background: rgba(255, 255, 255, 0.065); color: #fff !important; text-decoration: none !important; font-size: 17px; font-weight: 600; line-height: 1.35; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; } .video-cta-row__link:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.20); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.13); } /* ========================================================= Responsive ========================================================= */ @media (max-width: 800px) { .video-cta-row { grid-template-columns: 1fr; gap: 22px; padding: 0 16px; } .video-cta-row__primary { padding-bottom: 6px !important; } .video-cta-row__link { font-size: 16px; padding: 13px 14px; } }
document.addEventListener(‘DOMContentLoaded’, function () { const link = document.getElementById(‘my_link’); const button = document.getElementById(‘ai-plugin-dev-new-plugin-button’); if (link && button) { link.addEventListener(‘click’, function (e) { e.preventDefault(); button.click(); }); } });