/* BADAWY TV GLOBAL RESPONSIVE + REAL GOOGLE TRANSLATE ICON ONLY */

:root {
  --btv-green: #004b2b;
  --btv-green-2: #006536;
  --btv-gold: #f6b800;
  --btv-cream: #fffaf0;
  --btv-shadow: 0 18px 55px rgba(0,0,0,.20);
}



html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  direction: rtl;
  text-align: right;
}

/* Remove old manual selector completely */
.btv-language-widget,
.btv-language-select,
.btv-google-translate-wrap,
.btv-google-label,
[data-btv-language] {
  display: none !important;
}

/* Hide Google top translation bar */
body {
  top: 0 !important;
}

iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* Real Google Translate icon on hero/banner */
.btv-translate-anchor {
  position: relative !important;
}

.btv-real-google-translate {
  position: absolute;
  top: 20px;
  inset-inline-end: 30px;
  z-index: 90;
}

.btv-google-icon-btn {
  width: 54px;
  height: 54px;
  border: 2px solid rgba(246,184,0,.9);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  padding: 5px;
}

.btv-google-icon-btn img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain !important;
  display: block !important;
}

.btv-google-panel {
  position: absolute;
  top: 66px;
  inset-inline-end: 0;
  width: 230px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
  display: none;
}

.btv-google-panel.open {
  display: block;
}

.btv-google-panel-title {
  color: var(--btv-green);
  font-weight: 950;
  font-size: 13px;
  margin-bottom: 9px;
  text-align: center;
}

#google_translate_element {
  min-width: 190px;
}

#google_translate_element .goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

#google_translate_element select.goog-te-combo {
  width: 100% !important;
  height: 40px !important;
  border: 1px solid rgba(0,0,0,.18) !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: var(--btv-green) !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 10px !important;
}

#google_translate_element span,
#google_translate_element img {
  display: none !important;
}

/* Mobile menu */
.btv-mobile-menu-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  background: #fff;
  display: none;
  place-items: center;
  cursor: pointer;
  z-index: 95;
}

.btv-mobile-menu-button span {
  width: 24px;
  height: 2px;
  background: var(--btv-green);
  display: block;
  position: relative;
}

.btv-mobile-menu-button span::before,
.btv-mobile-menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--btv-green);
}

.btv-mobile-menu-button span::before {
  top: -8px;
}

.btv-mobile-menu-button span::after {
  top: 8px;
}

.btv-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 990;
  display: none;
}

.btv-mobile-overlay.open {
  display: block;
}

.btv-mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(360px, 88vw);
  background: linear-gradient(180deg, #ffffff, #fffaf0);
  z-index: 1000;
  transform: translateX(-105%);
  transition: transform .25s ease;
  box-shadow: var(--btv-shadow);
  padding: 20px;
  overflow-y: auto;
}

html[dir="rtl"] .btv-mobile-drawer {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(105%);
}

.btv-mobile-drawer.open {
  transform: translateX(0);
}

.btv-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.btv-mobile-drawer-head img {
  width: 86px;
  height: auto;
  object-fit: contain;
}

.btv-mobile-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--btv-green);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.btv-mobile-links {
  display: grid;
  gap: 4px;
  padding: 18px 0;
}

.btv-mobile-links a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 9px;
  color: var(--btv-green);
  font-weight: 950;
  text-decoration: none;
  border: 1px solid transparent;
}

.btv-mobile-links a:hover,
.btv-mobile-links a.active {
  background: #fff4cf;
  border-color: rgba(246,184,0,.45);
  color: #b77f00;
}

.btv-mobile-extra {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.12);
}

.btv-mobile-extra a {
  min-height: 44px;
  border-radius: 9px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  color: var(--btv-green);
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive pages */
@media (max-width: 980px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .live-container {
    width: min(100% - 28px, 1500px) !important;
  }

  header,
  .site-header,
  .btv-header,
  .privacy-top,
  .terms-top,
  .live-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
  }

  .nav,
  .nav-wrap,
  .live-nav {
    min-height: 78px !important;
    height: auto !important;
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  header nav,
  .site-header nav,
  .btv-header nav,
  .privacy-top nav,
  .terms-top nav,
  .live-header nav,
  .nav-actions,
  .nav-socials,
  .socials {
    display: none !important;
  }

  .btv-mobile-menu-button {
    display: grid !important;
  }

  .brand img,
  .logo img,
  .live-brand img {
    max-width: 105px !important;
    height: auto !important;
  }

  .live-brand strong {
    font-size: 18px !important;
  }

  .top-strip,
  .strip {
    display: none !important;
  }

  .hero,
  .about-hero-page,
  .contact-hero,
  .privacy-hero,
  .terms-hero,
  .live-hero-page {
    min-height: auto !important;
    padding: 54px 0 !important;
  }

  .btv-real-google-translate {
    top: 14px;
    inset-inline-end: 16px;
  }

  .btv-google-icon-btn {
    width: 46px;
    height: 46px;
  }

  .btv-google-icon-btn img {
    width: 34px !important;
    height: 34px !important;
  }

  .btv-google-panel {
    top: 58px;
    width: 215px;
  }

  .hero-grid,
  .about-intro,
  .contact-main,
  .privacy-layout,
  .terms-layout,
  .live-layout,
  .live-main,
  .two-column,
  .scholar-impact,
  .subscribe-support,
  .footer-grid,
  .programs-wrap,
  .terms-actions,
  .privacy-actions,
  .about-vn-grid,
  .about-cta-grid {
    grid-template-columns: 1fr !important;
  }

  .programs,
  .video-grid,
  .program-grid,
  .value-grid,
  .values-row,
  .numbers-row,
  .impact-grid,
  .testimonial-grid,
  .benefit-grid,
  .mini-prayer-grid,
  .prayer-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero-copy h1,
  .about-hero-page h1,
  .contact-hero h1,
  .privacy-hero h1,
  .terms-hero h1,
  .live-hero-page h1 {
    font-size: clamp(34px, 10vw, 52px) !important;
    line-height: 1.08 !important;
  }

  .hero-copy,
  .hero-logo-card,
  .about-hero-inner,
  .contact-hero,
  .privacy-hero,
  .terms-hero,
  .live-hero-inner {
    text-align: center !important;
  }

  .video-box,
  .live-video-frame {
    height: auto !important;
    min-height: 265px !important;
    aspect-ratio: 16/9 !important;
  }

  .toc-card {
    position: static !important;
  }

  .policy-meta,
  .terms-meta {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .footer-bottom {
    gap: 10px !important;
    text-align: center !important;
    padding: 18px 0 !important;
  }
}

@media (max-width: 560px) {
  .container,
  .live-container {
    width: min(100% - 20px, 1500px) !important;
  }

  .programs,
  .video-grid,
  .program-grid,
  .value-grid,
  .values-row,
  .numbers-row,
  .impact-grid,
  .testimonial-grid,
  .benefit-grid,
  .mini-prayer-grid,
  .prayer-grid {
    grid-template-columns: 1fr !important;
  }

  .message-card,
  .soft-card,
  .live-now-card,
  .chat-card,
  .request-card,
  .privacy-side section,
  .terms-side section {
    padding: 18px !important;
  }

  .video-center img {
    width: 110px !important;
    height: 110px !important;
  }

  .video-center h2 {
    font-size: 24px !important;
  }

  .video-center p,
  .video-center strong {
    font-size: 13px !important;
  }

  .footer-links,
  .two-links {
    grid-template-columns: 1fr !important;
  }
}





/* BADAWY TV HARD HAMBURGER DRAWER FIX 20260703180942 */
html.btv-waiting-translate body {
  opacity: 1 !important;
}

.btv-mobile-overlay[hidden],
.btv-mobile-drawer[hidden] {
  display: none !important;
}

.btv-mobile-overlay {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.btv-mobile-overlay.open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.btv-mobile-drawer {
  display: block !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-120vw) !important;
}

html[dir="rtl"] .btv-mobile-drawer {
  transform: translateX(120vw) !important;
}

.btv-mobile-drawer.open {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
}

@media (min-width: 981px) {
  .btv-mobile-menu-button,
  .btv-mobile-overlay,
  .btv-mobile-overlay.open,
  .btv-mobile-drawer,
  .btv-mobile-drawer.open {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

@media (max-width: 980px) {
  .btv-mobile-menu-button {
    display: grid !important;
  }
}
/* END BADAWY TV HARD HAMBURGER DRAWER FIX */

/* BADAWY TV RTL HAMBURGER OPEN FINAL FIX */
html[dir="rtl"] .btv-mobile-drawer.open,
html[lang="ar"] .btv-mobile-drawer.open,
html[lang="ur"] .btv-mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 1005 !important;
}

.btv-mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  display: block !important;
  z-index: 1005 !important;
}

.btv-mobile-overlay.open {
  z-index: 1000 !important;
  background: rgba(0, 0, 0, .55) !important;
}
/* END BADAWY TV RTL HAMBURGER OPEN FINAL FIX */


/* BADAWY TV LOGIN STRIP START */
.btv-login-strip {
  background: #fffaf0;
  padding: 18px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.btv-login-strip .container {
  display: flex;
  justify-content: center;
}

.btv-login-button {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #006536, #003f24);
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 950;
  text-decoration: none !important;
  box-shadow: 0 14px 32px rgba(0,75,43,.20);
}

.btv-login-button img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

@media (max-width: 760px) {
  .btv-login-button {
    width: 100%;
  }
}
/* BADAWY TV LOGIN STRIP END */

/* BADAWY REAL LATEST VIDEOS INSIDE EXISTING CONTAINER */
.video-card .btv-real-video-thumb {
  overflow: hidden;
  position: relative;
}

.video-card .btv-real-video-thumb img,
.video-card .btv-real-video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-card .btv-real-video-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #004b2b, #d99b16);
}

.video-card .btv-real-video-empty img {
  width: 94px;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.video-card.btv-real-video-message {
  opacity: .96;
}

/* BADAWY CLEAN REAL MEDIA FIX */
.video-card .btv-real-video-thumb {
  background: #ffffff !important;
  overflow: hidden !important;
  position: relative !important;
}

.video-card .btv-real-video-thumb::before,
.video-card .btv-real-video-thumb::after {
  display: none !important;
  content: none !important;
}

.video-card .btv-real-video-thumb img,
.video-card .btv-real-video-thumb video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: #ffffff !important;
}

.video-card .btv-real-video-empty {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,.08);
}

.video-card .btv-real-video-empty img {
  width: 82px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

.video-card.btv-real-video-message h3,
.video-card.btv-real-video-message p,
.video-card.btv-real-video-message small {
  direction: inherit;
}
