:root {
  --green: #004b2b;
  --green2: #006536;
  --gold: #f6b800;
  --cream: #fffaf0;
  --text: #101510;
  --muted: #4f5b53;
  --line: rgba(0,0,0,.13);
  --shadow: 0 16px 42px rgba(0,0,0,.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fffdf7;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.live-container {
  width: min(1760px, calc(100% - 120px));
  margin: 0 auto;
}

.live-header {
  height: 104px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
}

.live-nav {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.live-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.live-brand img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.live-brand strong {
  font-size: 28px;
  color: #c88a00;
  font-weight: 950;
}

.live-brand span { color: var(--green); }

.live-nav nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-weight: 800;
  font-size: 15px;
}

.live-nav nav a {
  height: 104px;
  display: grid;
  place-items: center;
  position: relative;
}

.live-nav nav a.active,
.live-nav nav a:hover {
  color: #d99b00;
}

.live-nav nav a.active::after,
.live-nav nav a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--gold);
}

.nav-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.nav-socials a,
.nav-socials button {
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.nav-socials button {
  background: var(--gold);
  border-color: var(--gold);
}

.nav-socials img {
  width: 20px;
  height: 20px;
}

.live-layout {
  padding-top: 38px;
  display: grid;
  grid-template-columns: minmax(720px, 1.8fr) minmax(330px, .68fr) minmax(330px, .62fr);
  gap: 22px;
  align-items: start;
}

.video-box {
  position: relative;
  height: 430px;
  border-radius: 10px;
  overflow: hidden;
  background: #041a10;
  box-shadow: var(--shadow);
}

.video-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)),
    radial-gradient(circle at 55% 20%, rgba(255,199,52,.18), transparent 20%),
    linear-gradient(135deg, #20333d, #0e1c16 45%, #3b2a14);
}

.video-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 70%, rgba(255,255,255,.10), transparent 18%),
    radial-gradient(circle at 82% 55%, rgba(246,184,0,.12), transparent 20%);
}

.video-badges {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.red-badge,
.dark-badge {
  height: 34px;
  border-radius: 5px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 950;
  font-size: 13px;
}

.red-badge { background: #e31b2f; }
.dark-badge { background: rgba(0,0,0,.72); }

.dark-badge img {
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.video-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  color: #fff;
  text-align: center;
  padding-top: 8px;
}

.video-center img {
  width: 230px;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.38));
}

.video-center h2 {
  margin: -20px 0 22px;
  color: #f2c35c;
  font-size: 43px;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,.45);
}

.video-center p,
.video-center strong {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  text-transform: uppercase;
  line-height: 1.2;
}

.video-center strong { color: var(--gold); }

#badawyLivePlayer {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  background: #000;
}

.video-box.is-playing #badawyLivePlayer { display: block; }

.video-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 48px;
  height: 4px;
  background: #e31b2f;
  z-index: 5;
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: #050505;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 22px;
  color: #fff;
}

.video-controls button {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.video-controls img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.video-controls .right { margin-left: auto; }

.red-dot {
  width: 10px;
  height: 10px;
  background: #e31b2f;
  border-radius: 50%;
}

.now-info {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.now-info small {
  display: block;
  color: var(--green);
  font-size: 16px;
  margin-bottom: 5px;
}

.now-info h1 {
  margin: 0 0 8px;
  font-size: 26px;
}

.now-info p {
  margin: 0 0 12px;
  font-size: 15px;
}

.now-info span {
  display: inline-flex;
  height: 26px;
  padding: 0 14px;
  align-items: center;
  border-radius: 99px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.now-actions {
  display: flex;
  gap: 14px;
  align-items: start;
  padding-top: 6px;
}

.now-actions button {
  height: 43px;
  padding: 0 24px;
  border-radius: 9px;
  border: 1px solid #ddd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  cursor: pointer;
}

.now-actions button.gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  text-transform: uppercase;
}

.now-actions img {
  width: 18px;
  height: 18px;
}

.live-now-card,
.chat-card {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.live-now-card h2,
.chat-card h2 {
  margin: 0 0 24px;
  color: var(--green);
  font-size: 25px;
  font-weight: 950;
  position: relative;
}

.live-now-card h2::after,
.chat-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 42px;
  height: 3px;
  background: var(--gold);
}

.title-line {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
}

.red-badge.small {
  height: 30px;
  font-size: 12px;
  justify-content: center;
}

.title-line h3 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 23px;
}

.title-line p {
  margin: 0;
}

.live-facts {
  list-style: none;
  margin: 28px 0 20px;
  padding: 0;
  display: grid;
  gap: 15px;
}

.live-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.live-facts img {
  width: 22px;
  height: 22px;
}

.live-now-card h4 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.about-text {
  line-height: 1.58;
  margin: 0 0 22px;
}

.reminder-btn {
  width: 100%;
  height: 48px;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 950;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reminder-btn img {
  width: 19px;
  height: 19px;
}

.chat-card {
  background: linear-gradient(145deg, #006536, #003f24);
  color: #fff;
}

.chat-card h2 { color: #fff; }

.chat-list {
  display: grid;
  gap: 17px;
}

.chat-list div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.chat-list span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #edf7ef;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 950;
}

.chat-list p {
  margin: 0;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 700;
}

#liveChatForm {
  margin-top: 24px;
  height: 46px;
  display: grid;
  grid-template-columns: 1fr 45px;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 12px;
  padding: 5px;
}

#liveChatForm input {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  outline: none;
}

#liveChatForm input::placeholder { color: #fff; }

#liveChatForm button {
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
}

#liveChatForm img {
  width: 20px;
  height: 20px;
}

.programs-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.block-head h2 {
  margin: 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
}

.block-head a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

.program-grid article h3,
.program-grid article p,
.program-grid article small,
.program-grid article strong {
  margin-left: 12px;
  margin-right: 12px;
}

.program-grid article strong {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.program-grid article h3 {
  margin-top: 6px;
  margin-bottom: 4px;
  font-size: 17px;
}

.program-grid article p {
  margin-top: 0;
  margin-bottom: 3px;
}

.program-grid article small {
  display: block;
  margin-bottom: 13px;
  color: #666;
}

.thumb {
  height: 108px;
  position: relative;
  background: linear-gradient(135deg, #092819, #c89025);
}

.thumb.mosque {
  background: linear-gradient(135deg, #b7c6ce, #09371f);
}

.thumb.lantern {
  background: linear-gradient(135deg, #17140e, #c89025);
}

.thumb.quran {
  background: linear-gradient(135deg, #d8c09a, #5a3515);
}

.thumb.masjid {
  background: linear-gradient(135deg, #baa98c, #0c3f28);
}

.thumb.night {
  background: linear-gradient(135deg, #07111f, #0d5d36);
}

.thumb span {
  position: absolute;
  left: 8px;
  top: 8px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  padding: 4px 8px;
  border-radius: 99px;
}

.play-thumb i {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.play-thumb i::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 11px;
  border-left: 13px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.play-thumb b {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: #000;
  color: #fff;
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 12px;
}

.newsletter-band {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--gold), #f5bd16);
}

.news-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.news-inner > div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
}

.news-inner span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
}

.news-inner span img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
}

.news-inner h3,
.news-inner p {
  margin: 0;
}

.news-inner h3 { font-size: 18px; }

.news-inner form {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 10px;
}

.news-inner input,
.news-inner button {
  height: 46px;
  border: 0;
  border-radius: 8px;
}

.news-inner input {
  padding: 0 18px;
}

.news-inner button {
  background: var(--green);
  color: #fff;
  font-weight: 950;
}

.live-footer {
  background: linear-gradient(135deg, #003f24, #005b33, #003f24);
  color: #fff;
}

.footer-grid {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1.05fr 1.05fr;
  gap: 46px;
}

.footer-logo {
  width: 92px;
  height: auto;
}

.footer-grid h2 {
  color: var(--gold);
  margin: 4px 0 10px;
}

.footer-grid h3 {
  color: var(--gold);
  font-size: 15px;
  margin: 0 0 15px;
}

.footer-grid p {
  line-height: 1.55;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 26px;
}

.footer-grid p img {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

.footer-quote {
  border: 1px solid rgba(246,184,0,.7);
  border-radius: 12px;
  padding: 20px;
}

.footer-quote strong {
  color: var(--gold);
  font-size: 52px;
  line-height: 0;
}

.footer-quote b { color: var(--gold); }

.footer-bottom {
  min-height: 58px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1280px) {
  .live-container { width: min(100% - 48px, 1760px); }

  .live-layout {
    grid-template-columns: 1fr;
  }

  .programs-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .live-nav {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .live-header { height: auto; }

  .live-nav nav {
    order: 3;
    overflow-x: auto;
    width: 100%;
    gap: 22px;
  }

  .live-nav nav a {
    height: 48px;
    white-space: nowrap;
  }

  .video-box { height: 310px; }

  .video-center img {
    width: 130px;
    height: 130px;
  }

  .video-center h2 { font-size: 26px; }

  .video-center p,
  .video-center strong { font-size: 15px; }

  .now-info,
  .now-actions,
  .news-inner,
  .footer-bottom {
    flex-direction: column;
    display: flex;
    align-items: flex-start;
  }

  .program-grid,
  .news-inner form,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* BADAWY_LIVE_YOUTUBE_ARCHIVE_20260705 */
.video-box.btv-youtube-live-loaded {
  position: relative;
  overflow: hidden;
  background: #000;
}

.btv-youtube-live-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 4;
  background: #000;
}

.video-box.btv-youtube-live-loaded .video-center,
.video-box.btv-youtube-live-loaded .video-progress {
  display: none !important;
}

.video-box.btv-youtube-live-loaded .video-bg {
  opacity: .36;
}

.video-box.btv-youtube-live-loaded .video-badges,
.video-box.btv-youtube-live-loaded .video-controls {
  position: relative;
  z-index: 8;
}

.video-box.btv-youtube-live-loaded .video-controls {
  pointer-events: auto;
}

.video-box.btv-youtube-live-loaded .video-controls button {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 0 14px;
  font-weight: 900;
  cursor: pointer;
}

.btv-live-archive-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.btv-live-archive-card {
  background: #fff;
  border: 1px solid rgba(0, 88, 49, .16);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
}

.btv-live-archive-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #032615;
  cursor: pointer;
}

.btv-live-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.btv-live-archive-thumb span {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #00633a;
  color: #fff;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
}

.btv-live-archive-body {
  padding: 10px 12px 14px;
}

.btv-live-archive-body small {
  display: block;
  color: #00633a;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 6px;
}

.btv-live-archive-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.15;
  color: #111;
}

.btv-live-archive-body p {
  margin: 0;
  font-size: 12px;
  color: #555;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .btv-live-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .btv-live-archive-grid {
    grid-template-columns: 1fr;
  }
}
