/* YouTube Channel Widget */
.youtube-channel-widget {
  max-width: 100%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

.youtube-channel-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  /* padding: 24px; */
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

/* User Section */
.youtube-channel-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.youtube-channel-user-picture-wrapper {
  flex-shrink: 0;
}

.youtube-channel-user-picture {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0f0f0;
}

.youtube-channel-user-info {
  flex: 1;
  min-width: 0;
}

.youtube-channel-user-info-name {
  /* margin-bottom: 4px; */
}

.youtube-channel-user-info-name a {
  text-decoration: none;
}

.yt-user-full-name {
  font-size: 20px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.3;
}

.youtube-channel-user-info-caption {
  margin: 0;
}

.youtube-channel-user-info-caption a {
  text-decoration: none;
}

.yt-user-username {
  font-size: 14px;
  color: #606060;
}

/* Stats Section */
.youtube-channel-stats {
  flex-shrink: 0;
  text-align: center;
  padding: 0 40px;
}

.youtube-channel-stats-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.youtube-channel-stats-item-value {
  font-size: 20px;
  font-weight: 700;
  color: #0f0f0f;
  line-height: 1.2;
}

.youtube-channel-stats-item-label {
  font-size: 14px;
  color: #606060;
  line-height: 1.2;
}

/* Follow Button */
.youtube-channel-follow-button-wrapper {
  flex-shrink: 0;
}

.youtube-channel-follow-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.youtube-channel-follow-button:hover {
  background: #cc0000;
  transform: scale(1.05);
  color: white;
  text-decoration: none;
}

.youtube-channel-follow-button-icon {
  width: 20px;
  height: 20px;
}

.youtube-channel-follow-button-label {
  line-height: 1;
}

/* Responsive */
@media (max-width: 550px) {

     .youtube-channel-inner {
      flex-wrap: wrap;
     }

    .youtube-channel-follow-button-wrapper {
        width: 100%;
      }
}

/* Responsive */
@media (max-width: 768px) {
    .youtube-channel-inner {
      /* flex-direction: column; */
      text-align: center;
      gap: 16px;
      padding: 20px;
      width: 100%;
    }

  .youtube-channel-user {
    /* flex-direction: column; */
    text-align: center;
  }

  .youtube-channel-user-picture {
    width: 64px;
    height: 64px;
  }

  .yt-user-full-name {
    font-size: 18px;
  }

  .youtube-channel-stats {
    padding: 0;
  }

  .youtube-channel-follow-button {
    width: 100%;
    justify-content: center;
  }

  .youtube-channel-user-info {
    flex: 0;
  }
}

@media (max-width: 480px) {
  .youtube-channel-inner {
    padding: 16px;
  }

  .youtube-channel-user-picture {
    width: 56px;
    height: 56px;
  }

  .yt-user-full-name {
    font-size: 16px;
  }

  .yt-user-username,
  .youtube-channel-stats-item-label {
    font-size: 13px;
  }

  .youtube-channel-stats-item-value {
    font-size: 18px;
  }
}
