/* ============================================ */
/* VIDEO LIST WRAPPER & CONTAINER */
/* ============================================ */

.video-list-wrapper.ytwrappper {
  margin-top: 24px;
}

/* Video List Container - Grid Layout */
#videoListContainer,
#videoListContainer.video-list,
#videoListContainer.video-list.ytlist,
#videoListContainer.video-list.ytlist.w-dyn-items,
#videoListContainer.video-list.ytlist.w-dyn-items.w-row,
.video-list,
.video-list.ytlist {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 3rem 2rem !important; /* row-gap 3rem, column-gap 2rem for better symmetry */
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 2rem 1rem !important; /* Added top/bottom padding */
  justify-content: center !important; /* Center the grid */
  flex-wrap: initial !important;
  flex-flow: initial !important;
  align-items: stretch !important; /* Make cards equal height */
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-auto-rows: 1fr !important; /* Equal height rows */
}

/* ============================================ */
/* VIDEO ITEM/CARD STYLES */
/* ============================================ */

/* Individual Video Card - Override .video-item.ytitem */
.video-card,
#videoListContainer .video-card,
#videoListContainer > .video-card,
.video-list .video-card,
.video-list.ytlist .video-card,
.video-item,
.video-item.ytitem {
  position: relative;
  width: 100% !important; /* Override width: 50% from webflow */
  max-width: none !important;
  margin: 0 !important; /* Override all margins */
  margin-bottom: 0 !important;
  padding: 0 !important; /* Override all padding */
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex !important; /* Changed to flex for better content control */
  flex-direction: column !important; /* Stack content vertically */
  background-color: #ffffff !important;
  justify-content: space-between !important; /* Distribute space evenly */
  box-sizing: border-box;
  border-radius: 30px;
  overflow: hidden;
  height: 100% !important; /* Fill grid cell height */
}

/* Center the last odd card if present */
#videoListContainer .video-card:last-child:nth-child(odd),
.video-list .video-card:last-child:nth-child(odd) {
  grid-column: 1 / -1; /* Span all columns */
  max-width: calc(50% - 1rem) !important; /* Half width minus half the gap */
  margin: 0 auto !important; /* Center it */
}

/* ============================================ */
/* VIDEO CARD CONTENT AREA */
/* ============================================ */

.video-card-content {
  padding: 2rem;
  padding-top: 0.5rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 1; /* Take remaining space */
  justify-content: space-between; /* Distribute content evenly */
}

.video-card-heading {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.3rem;
  color: #000;
}

.video-card-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.1rem;
}

.video-card-author {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.video-card-author-info {
  flex: 1;
}

.video-card-author-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #000;
}

.video-card-author-title {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.video-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.video-card-social {
  display: flex;
  gap: 0.75rem;
}

.video-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #007bff;
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s;
  padding: 8px;
}

.video-social-link:hover {
  transform: scale(1.1);
  background: #0056b3;
}

.video-social-link svg {
  width: 24px;
  height: 24px;
  fill: white;
  color: white;
}

.video-social-link.facebook-link {
  background: #1877f2;
}

.video-social-link.facebook-link:hover {
  background: #145dbf;
}

.video-social-link.instagram-link {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.video-social-link.instagram-link:hover {
  opacity: 0.9;
}

.video-social-link.linkedin-link {
  background: #0077b5;
}

.video-social-link.linkedin-link:hover {
  background: #005885;
}

.video-card-watch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  color: #007bff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: gap 0.3s ease;
}

.video-card-watch-btn:hover {
  gap: 0.75rem;
}

.video-card-watch-btn svg {
  transition: transform 0.3s ease;
}

.video-card-watch-btn:hover svg {
  transform: translateX(4px);
}

.video-card-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 16px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  color: #6b7280;
  font-family: "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.43;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.video-card-share-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
  gap: 0.75rem;
}

.video-card-share-btn svg {
  transition: transform 0.3s ease;
  width: 18px;
  height: 18px;
}

.video-card-share-btn:hover svg {
  transform: scale(1.1);
}

/* ============================================ */
/* SHARE MODAL STYLES */
/* ============================================ */

.share-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.share-modal-overlay.is-active {
  display: flex;
}

.share-modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.share-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: #666;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
}

.share-modal-close:hover {
  background: #f0f0f0;
  color: #000;
}

.share-modal-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #000;
}

.share-link-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.share-link-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #f9f9f9;
  transition: border-color 0.3s ease;
}

.share-link-input:focus {
  outline: none;
  border-color: #007bff;
  background: #fff;
}

.share-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: #007bff;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.share-copy-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.share-copy-btn:active {
  transform: translateY(0);
}

.share-copy-btn svg {
  width: 18px;
  height: 18px;
}

.share-success-message {
  display: none;
  padding: 0.75rem 1rem;
  background: #22c55e;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: slideDown 0.3s ease;
}

.share-success-message.show {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* VIDEO THUMBNAIL & IMAGE BLOCK */
/* ============================================ */

/* Video Image Block Container */
.video-imgblock,
.video-imgblock.yt-imgblock {
  cursor: pointer;
  background-color: transparent;
  border-radius: 30px 30px 0 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  margin-bottom: 0;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* Video Thumbnail Container */
.video-thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  transition: transform 0.3s ease;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
  background-color: #000;
}

.video-thumbnail:hover {
  transform: scale(1.01);
}

/* Video Wrapper */
.video-wrapper,
.video-wrapper.yt-video-wrappper {
  border-radius: 30px 30px 0 0;
  box-shadow: none;
  position: relative;
}

/* Video Thumbnail Image */
.video-thumbnail-image,
.video-img,
.video-img.yt-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 30px 30px 0 0;
  padding-top: 0;
  inset: 0%;
}

/* ============================================ */
/* VIDEO TITLE STYLES */
/* ============================================ */

/* Video Card Title */
.video-card-title,
.video-title,
.video-title.yt-title {
  margin-top: 12px;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

/* Legacy video title from webflow */
.video-title {
  margin-top: 10px;
  padding-bottom: 10px;
}

.video-title.yt-title {
  font-size: 16px;
  line-height: 20px;
}

/* ============================================ */
/* PLAY BUTTON & OVERLAY */
/* ============================================ */

/* Play Button Block */
.play-buttton-block,
.play-buttton-block.yt-btn {
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0%;
  z-index: 10;
  border-radius: 5px;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s;
  top: 0%;
  left: 0%;
}

/* Play Button Background */
.play-btn-back {
  z-index: 1;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  cursor: pointer;
  background-color: transparent;
  border: 0 solid #fff;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  display: flex;
  position: relative;
  left: auto;
  right: auto;
}

.play-btn-back:hover {
  filter: none;
  background-color: #666161;
  border-color: transparent;
}

/* Play Button Overlay */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.video-play-overlay:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Play Button Image */
.play-img {
  object-fit: cover;
  flex: 0 auto;
  width: 100%;
  max-width: 20px;
  height: 100%;
  max-height: 23px;
  margin-left: 5px;
  font-size: 16px;
  position: relative;
}

.play-img:hover {
  border: 1px solid #0890f2;
  overflow: visible;
}

/* Hover Image */
.hover-img {
  opacity: 0;
  object-fit: fill;
  width: 100%;
  max-width: 20px;
  height: 100%;
  max-height: 23px;
  margin-left: 5px;
  font-size: 16px;
  transition: opacity 0.2s;
  display: block;
  position: absolute;
  top: auto;
  bottom: auto;
  left: auto;
}

/* ============================================ */
/* VIDEO DURATION BADGE & TIMER */
/* ============================================ */

/* Video Duration Badge */
.video-duration-badge,
.total-time,
.total-time.yt-totaltime {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1a8cff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  left: auto;
}

/* Video Timer (Legacy) */
.video-timer {
  z-index: 1;
  background-color: #252122;
  position: absolute;
  inset: 24px auto auto 24px;
}

.video-timer.yt-timer {
  background-color: var(--blue, #1a8cff);
  border-radius: 100px;
  align-items: center;
  padding: 8px 15px;
  display: flex;
  top: 10px;
  left: auto;
  right: 20px;
}

.total-time {
  padding: 5px 10px;
  position: relative;
}

.total-time.yt-totaltime {
  padding-top: 0;
  padding-bottom: 0;
  font-size: 12px;
}

/* Clock Image */
.clock-img {
  object-fit: cover;
  width: 100%;
  position: relative;
}

/* ============================================ */
/* MODAL/POPUP OVERLAY */
/* ============================================ */

.video-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 10050;
  padding: 20px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.video-modal-overlay.is-active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Content Container */
.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Close Button */
.video-modal-close,
.cross-img {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10061;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.cross-img {
  max-width: 14px;
  max-height: 14px;
  position: relative;
  inset: 0% 0% auto;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Video Player Container */
.video-player-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Aspect Ratio 16:9 */
.video-player-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-player-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Video Elements */
.video-player-inner video,
.video-player-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* HTML Embed Container */
.html-embed {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: relative;
}

/* ============================================ */
/* VIDEO MODAL DETAILS SECTION */
/* ============================================ */

.video-modal-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: transparent;
  border-radius: 0 0 10px 10px;
}

.video-modal-info {
  flex: 1;
}

.video-modal-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.video-modal-speaker {
  margin-bottom: 1.5rem;
}

.video-modal-speaker-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.video-modal-speaker-title {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.video-modal-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.video-modal-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #007bff;
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s;
  padding: 8px;
}

.video-modal-social-link:hover {
  transform: scale(1.1);
  background: #0056b3;
}

.video-modal-social-link svg {
  width: 24px;
  height: 24px;
  fill: white;
  color: white;
}

.video-modal-social-link.facebook-link {
  background: #1877f2;
}

.video-modal-social-link.facebook-link:hover {
  background: #145dbf;
}

.video-modal-social-link.instagram-link {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.video-modal-social-link.instagram-link:hover {
  opacity: 0.9;
}

.video-modal-social-link.linkedin-link {
  background: #0077b5;
}

.video-modal-social-link.linkedin-link:hover {
  background: #005885;
}

.video-modal-action {
  display: flex;
  align-items: center;
}

.video-modal-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1a8cff 0%, #22c322 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(26, 140, 255, 0.3);
  white-space: nowrap;
}

.video-modal-donate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(26, 140, 255, 0.4);
}

.video-modal-donate-btn:active {
  transform: translateY(-1px);
}

.video-modal-donate-btn svg {
  width: 24px;
  height: 24px;
}

/* ============================================ */
/* RESPONSIVE STYLES */
/* ============================================ */

@media screen and (max-width: 1200px) {
  #videoListContainer,
  #videoListContainer.video-list.ytlist,
  .video-list,
  .video-list.ytlist {
    gap: 1.5rem !important; /* Smaller gap on tablet */
  }

  /* Adjust max-width for centered odd item */
  #videoListContainer .video-card:last-child:nth-child(odd),
  .video-list .video-card:last-child:nth-child(odd) {
    max-width: calc(50% - 0.75rem) !important;
  }

  .video-card-title,
  .video-title.yt-title {
    font-size: 17px;
  }
}

/* Tablet breakpoint - still 2 columns but tighter spacing */
@media screen and (max-width: 991px) {
  #videoListContainer,
  #videoListContainer.video-list,
  #videoListContainer.video-list.ytlist,
  .video-list,
  .video-list.ytlist {
    gap: 1.25rem !important;
    padding: 0.75rem !important;
  }

  .video-card-title,
  .video-title.yt-title {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .video-modal-overlay {
    padding: 10px;
  }

  .video-modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  /* Video Modal Details Responsive */
  .video-modal-details {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .video-modal-title {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .video-modal-speaker-name {
    font-size: 18px;
  }

  .video-modal-speaker-title {
    font-size: 14px;
  }

  .video-modal-action {
    width: 100%;
    justify-content: center;
  }

  .video-modal-donate-btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 0.875rem 1.5rem;
  }

  /* Single column layout for mobile */
  #videoListContainer,
  #videoListContainer.video-list,
  #videoListContainer.video-list.ytlist,
  #videoListContainer.video-list.ytlist.w-dyn-items,
  #videoListContainer.video-list.ytlist.w-dyn-items.w-row,
  .video-list,
  .video-list.ytlist {
    grid-template-columns: 1fr !important; /* Single column on mobile */
    gap: 1.5rem !important;
    padding: 0.5rem !important;
  }

  /* Video cards full width on mobile */
  .video-card,
  #videoListContainer .video-card,
  #videoListContainer > .video-card,
  .video-list .video-card,
  .video-list.ytlist .video-card,
  .video-item,
  .video-item.ytitem {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    grid-column: 1 !important;
  }

  /* Reset centering on mobile (single column) */
  #videoListContainer .video-card:last-child:nth-child(odd),
  .video-list .video-card:last-child:nth-child(odd) {
    grid-column: 1;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .video-player-wrapper {
    max-height: 70vh;
  }

  /* Ensure video thumbnails look good on mobile */
  .video-thumbnail {
    border-radius: 20px 20px 0 0;
  }

  .video-imgblock,
  .video-imgblock.yt-imgblock {
    border-radius: 20px 20px 0 0;
  }

  .video-wrapper,
  .video-wrapper.yt-video-wrappper {
    border-radius: 20px 20px 0 0;
  }

  .video-thumbnail-image,
  .video-img,
  .video-img.yt-img {
    border-radius: 20px 20px 0 0;
  }

  /* Maintain card border radius */
  .video-card,
  #videoListContainer .video-card,
  .video-list .video-card {
    border-radius: 20px;
  }

  /* Video Card Content Responsive Styles */
  .video-card-content {
    padding: 1.5rem;
  }

  .video-card-heading {
    font-size: 24px;
    margin-bottom: 1rem;
  }

  .video-card-quote {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .video-card-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .video-card-author-name {
    font-size: 20px;
  }

  .video-card-author-title {
    font-size: 14px;
  }

  .video-card-share-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
  }

  .video-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .video-card-social {
    width: 100%;
    justify-content: flex-start;
  }

  .video-social-link {
    width: 40px;
    height: 40px;
  }

  .video-card-watch-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 18px;
  }

  /* Share Modal Responsive */
  .share-modal-content {
    padding: 1.5rem;
  }

  .share-modal-title {
    font-size: 20px;
    margin-bottom: 1rem;
  }

  .share-link-container {
    flex-direction: column;
  }

  .share-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .video-modal-overlay {
    padding: 5px;
  }

  .video-modal-close {
    top: 5px;
    right: 5px;
  }

  /* Video Modal Details Extra Small */
  .video-modal-details {
    padding: 1.25rem;
  }

  .video-modal-title {
    font-size: 20px;
  }

  .video-modal-speaker-name {
    font-size: 16px;
  }

  .video-modal-speaker-title {
    font-size: 13px;
  }

  .video-modal-social-link {
    width: 40px;
    height: 40px;
  }

  .video-modal-donate-btn {
    font-size: 15px;
    padding: 0.75rem 1.25rem;
  }

  .video-duration-badge,
  .total-time.yt-totaltime {
    font-size: 12px;
    padding: 4px 8px;
  }

  .video-card-title,
  .video-title.yt-title {
    font-size: 15px;
  }

  /* Extra small screens - ensure proper spacing */
  #videoListContainer,
  #videoListContainer.video-list,
  #videoListContainer.video-list.ytlist,
  .video-list,
  .video-list.ytlist {
    padding: 0.25rem !important;
    gap: 1rem !important;
  }

  /* Smaller play button on very small screens */
  .video-play-overlay img {
    width: 50px !important;
    height: 50px !important;
  }

  .play-btn-back {
    width: 50px;
    height: 50px;
  }

  /* Adjust thumbnail border radius for small screens */
  .video-thumbnail {
    border-radius: 15px 15px 0 0;
  }

  .video-imgblock,
  .video-imgblock.yt-imgblock {
    border-radius: 15px 15px 0 0;
  }

  .video-wrapper,
  .video-wrapper.yt-video-wrappper {
    border-radius: 15px 15px 0 0;
  }

  .video-thumbnail-image,
  .video-img,
  .video-img.yt-img {
    border-radius: 15px 15px 0 0;
  }

  /* Maintain card border radius */
  .video-card,
  #videoListContainer .video-card,
  .video-list .video-card {
    border-radius: 15px;
  }

  /* Video Card Content Extra Small */
  .video-card-content {
    padding: 1rem;
  }

  .video-card-heading {
    font-size: 20px;
  }

  .video-card-quote {
    font-size: 14px;
  }

  .video-card-author-name {
    font-size: 18px;
  }

  .video-card-author-title {
    font-size: 13px;
  }

  .video-social-link {
    width: 36px;
    height: 36px;
  }

  .video-card-watch-btn {
    font-size: 16px;
    padding: 0.875rem;
  }

  .video-card-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .video-card-share-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 14px;
  }

  /* Share Modal Extra Small */
  .share-modal-overlay {
    padding: 10px;
  }

  .share-modal-content {
    padding: 1.25rem;
  }

  .share-modal-title {
    font-size: 18px;
  }

  .share-link-input {
    font-size: 13px;
    padding: 0.75rem;
  }

  .share-copy-btn {
    font-size: 13px;
    padding: 0.75rem 1rem;
  }

  .copy-btn-text {
    display: none;
  }
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */

.no-scroll {
  overflow: hidden;
}

.video-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: #fff;
  font-size: 18px;
}

/* Hide scrollbar when modal is open */
body.no-scroll {
  overflow: hidden;
  padding-right: 0;
}
