/*
Theme Name: McDaniel Home Loans
Theme URI: https://www.mcdanielhomeloans.com
Author: Harris Tech Solutions
Description: Custom WordPress theme for McDaniel Home Loans - Aaron McDaniel, Mortgage Loan Officer. NMLS# 298596.
Version: 1.0.0
License: Private
Text Domain: mcdaniel
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #000000;
  --white: #FFFFFF;
  --gold: #b89e31;
  --gold-light: #d4ba4a;
  --gold-dark: #9a8428;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --section-pad: clamp(60px, 8vw, 120px);
  --container: min(90%, 1200px);
  --container-wide: min(94%, 1400px);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--white); line-height: 1.6; overflow-x: hidden; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== UTILITY ===== */
.container { width: var(--container); margin: 0 auto; }
.container-wide { width: var(--container-wide); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-gold { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 0;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(184,158,49,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--gray-800); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.btn-group { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,158,49,0.15);
  transition: var(--transition);
}
.site-header.scrolled { background: rgba(0,0,0,0.98); box-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.nav-inner {
  width: var(--container-wide); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 20px;
}
.nav-logo { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; color: var(--white); letter-spacing: 0.01em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); list-style: none; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); transition: var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }
.nav-ctas { display: flex; gap: 12px; align-items: center; }
.nav-ctas .btn { padding: 10px 22px; font-size: 0.82rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px 0; transition: var(--transition); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-ctas { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(0,0,0,0.98); padding: 24px; gap: 16px; border-top: 1px solid rgba(184,158,49,0.15); }
  .nav-links.open, .nav-ctas.open { display: flex; }
  .nav-ctas .btn-outline { border-color: var(--gold); color: var(--gold); }
}

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--black); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('https://via.placeholder.com/1600x900') center/cover no-repeat; opacity: 0.25; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%); }
.hero-content { position: relative; z-index: 2; width: var(--container); margin: 0 auto; padding: 140px 0 100px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 2px; background: var(--gold); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 24px; max-width: 800px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(1rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.75); max-width: 600px; margin-bottom: 40px; line-height: 1.7; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.trust-item .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--black); padding: 160px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, transparent, rgba(184,158,49,0.05)); }
.page-hero .section-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.page-hero .section-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 20px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.65); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 600px; line-height: 1.7; }

/* ===== SECTIONS ===== */
.section { padding: var(--section-pad) 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--gray-50); }
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.section-eyebrow::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.section-subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); opacity: 0.7; max-width: 620px; line-height: 1.7; margin-bottom: 48px; }
.section-header-center { text-align: center; }
.section-header-center .section-subtitle { margin-left: auto; margin-right: auto; }
.gold-divider { width: 60px; height: 3px; background: var(--gold); margin: 24px 0; }
.gold-divider-center { margin-left: auto; margin-right: auto; }

/* ===== VIDEO ===== */
.video-section { background: var(--black); color: var(--white); }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border: 1px solid rgba(184,158,49,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-copy p { opacity: 0.75; line-height: 1.8; margin-bottom: 32px; }
@media (max-width: 800px) { .video-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== REVIEWS / EXPERIENCE WIDGET ===== */
.experience-widget-container { margin-bottom: 48px; min-height: 200px; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px; counter-reset: step; }
.process-card { padding: 40px 32px; border: 1px solid var(--gray-200); position: relative; transition: var(--transition); counter-increment: step; background: var(--white); }
.process-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.process-card .step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 16px; }
.process-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.process-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }

/* ===== PROCESS DETAIL (process page) ===== */
.process-detail { display: grid; grid-template-columns: 120px 1fr; gap: 0; position: relative; }
.process-detail::before { content: ''; position: absolute; left: 60px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.process-step-detail { display: contents; }
.step-marker { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; padding-top: 8px; }
.step-marker .num { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--black); font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.step-content { padding: 0 0 64px 40px; }
.step-content h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; margin-bottom: 16px; }
.step-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; max-width: 640px; }
.step-content ul { list-style: none; margin: 16px 0; }
.step-content li { padding: 8px 0 8px 28px; position: relative; color: var(--gray-600); font-size: 0.95rem; }
.step-content li::before { content: '\2713'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
@media (max-width: 700px) {
  .process-detail { grid-template-columns: 60px 1fr; }
  .process-detail::before { left: 30px; }
  .step-marker .num { width: 44px; height: 44px; font-size: 1rem; }
  .step-content { padding: 0 0 48px 24px; }
}

/* ===== EXPECT CARDS (process page) ===== */
.expect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.expect-card { padding: 36px; border: 1px solid rgba(184,158,49,0.2); background: rgba(255,255,255,0.03); }
.expect-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: 10px; }
.expect-card p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.7; }

/* ===== VALUE PROPS ===== */
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.value-item { margin-bottom: 36px; }
.value-item h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.value-item p { font-size: 0.95rem; color: var(--gray-600); line-height: 1.7; }
@media (max-width: 800px) { .value-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== LEAD FORM ===== */
.lead-section { background: var(--black); color: var(--white); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-form { display: grid; gap: 16px; }
.lead-form input { width: 100%; padding: 16px 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--white); font-size: 0.95rem; outline: none; transition: var(--transition); }
.lead-form input::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); }
.form-consent { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.form-consent a { color: var(--gold); text-decoration: underline; }
@media (max-width: 800px) { .lead-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== LOCAL / SERVICE AREAS ===== */
.local-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.local-links a { padding: 8px 20px; border: 1px solid var(--gray-300); font-size: 0.85rem; font-weight: 500; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.05em; }
.local-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ===== INLINE CTA ===== */
.inline-cta { background: var(--gray-50); padding: 48px; text-align: center; margin: 48px 0; border: 1px solid var(--gray-200); }
.inline-cta h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; }
.inline-cta p { color: var(--gray-600); margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== FINAL CTA ===== */
.final-cta { background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light)); color: var(--black); text-align: center; }
.final-cta .section-title { max-width: 700px; margin-left: auto; margin-right: auto; }

/* ===== CLIENT STORIES (why-clients page) ===== */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.story-card { border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition); background: var(--white); }
.story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.story-img { height: 220px; background: var(--gray-100); overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 32px; }
.story-body .story-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.story-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.story-body p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.7; }

/* ===== VIDEO TESTIMONIALS (why-clients page) ===== */
.video-test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.video-test-card { position: relative; overflow: hidden; cursor: pointer; transition: var(--transition); }
.video-test-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.video-test-thumb { position: relative; height: 220px; background: var(--gray-800); display: flex; align-items: center; justify-content: center; }
.video-test-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; background: var(--gold); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.video-test-card:hover .play-icon { background: var(--gold-light); transform: translate(-50%,-50%) scale(1.1); }
.play-icon::after { content: ''; display: block; width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid var(--black); margin-left: 4px; }
.video-test-info { padding: 20px 24px; background: var(--gray-900); }
.video-test-info h3 { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.video-test-info p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; cursor: pointer; font-size: 1.05rem; font-weight: 600; color: var(--gray-900); list-style: none; transition: var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--gold); transition: var(--transition); flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] summary { color: var(--gold); }
.faq-item summary:hover { color: var(--gold); }
.faq-answer { padding: 0 0 24px; color: var(--gray-600); line-height: 1.8; font-size: 0.95rem; }
.faq-answer p { margin-bottom: 12px; }
.faq-answer ul { margin: 8px 0 8px 20px; list-style: disc; }
.faq-answer li { margin-bottom: 6px; }

/* ===== APPLY PAGE ===== */
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 800px) { .apply-grid { grid-template-columns: 1fr; gap: 48px; } }
.apply-main-cta { background: var(--gray-50); border: 2px solid var(--gold); padding: 48px; text-align: center; }
.apply-main-cta h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 16px; }
.apply-main-cta p { color: var(--gray-600); line-height: 1.7; margin-bottom: 32px; }
.apply-main-cta .btn { font-size: 1.1rem; padding: 18px 48px; }
.what-happens h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 24px; }
.what-happens .step { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.what-happens .step-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--gold); color: var(--black); font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.what-happens .step-text h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.what-happens .step-text p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.6; }
.reassurance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 48px; }
.reassurance-item { text-align: center; padding: 32px 24px; }
.reassurance-item .r-icon { font-size: 2rem; margin-bottom: 12px; }
.reassurance-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 8px; color: var(--white); }
.reassurance-item p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.fallback-form-section { background: var(--gray-50); }
.fallback-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.fallback-inner h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 12px; }
.fallback-inner > p { color: var(--gray-600); margin-bottom: 36px; }
.fallback-form { display: grid; gap: 16px; text-align: left; }
.fallback-form input { width: 100%; padding: 16px 20px; background: var(--white); border: 1px solid var(--gray-300); font-size: 0.95rem; outline: none; transition: var(--transition); }
.fallback-form input:focus { border-color: var(--gold); }
.fallback-form .form-consent { font-size: 0.78rem; color: var(--gray-600); line-height: 1.6; text-align: center; }
.fallback-form .form-consent a { color: var(--gold); text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.6); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-brand .footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; transition: var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-bottom p { font-size: 0.78rem; line-height: 1.6; }
.footer-legal { font-size: 0.75rem; line-height: 1.6; max-width: 800px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05); }
.equal-housing { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: fadeUp 0.8s ease-out both; }
.hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.45s; }
.hero-content > *:nth-child(5) { animation-delay: 0.6s; }

/* ===== WP ADMIN BAR FIX ===== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.video-wrapper {
  height: 700px !important;
  overflow: visible !important;
}

.video-wrapper img {
  object-fit: contain !important;
  height: 100% !important;
  width: 100% !important;
  display: block !important;
}