.m1-intro-widget {
  font-family: 'Roboto', 'Noto Sans KR', sans-serif;
  color: #fff;
  margin-bottom: 0; /* 하단 마진은 유지하거나 필요에 따라 조절 */
  position: relative;
  width: 100%;
  /* padding: 15px 0; -> 상단 패딩 제거, 하단 패딩은 유지하거나 조절 가능 */
  padding-top: 0; /* 상단 패딩 명시적으로 0으로 설정 */
  padding-bottom: 15px; /* 하단 패딩은 적절히 유지 (예시) */
  border-radius: 12px; /* 모서리 둥글기는 유지 */
  background-color: transparent;
}

.m1-intro-widget .m1-intro-widgetTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  /* padding: 0 15px; -> 좌측 패딩 제거, 우측 패딩은 유지하거나 조절 */
  padding-left: 5px;  /* 좌측 패딩 최소화 (예: 5px) 또는 0px */
  padding-right: 15px; /* 우측 패딩은 유지 */
}

.m1-intro-widget h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
  flex-grow: 1;
}

/* ... (나머지 .m1-intro-controls, .m1-intro-navButton 등 스타일은 이전과 동일) ... */
.m1-intro-widget .m1-intro-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px; /* 오른쪽 여백은 컨트롤 버튼을 위해 유지 */
  margin-left: 0;
}

.m1-intro-widget .m1-intro-navButton {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  opacity: 1;
  box-shadow: none;
  margin: 0;
  position: relative;
}

.m1-intro-widget .m1-intro-navButton.m1-prev:before {
  content: "<";
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.m1-intro-widget .m1-intro-navButton.m1-next:before {
  content: ">";
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.m1-intro-widget .m1-intro-navButton.m1-disabled {
  opacity: 0.3 !important;
  cursor: default;
}

.m1-intro-widget .m1-intro-navButton.m1-disabled:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0.3 !important;
}

.m1-intro-widget .m1-intro-navButton span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.m1-intro-widget .m1-intro-scrollContainer {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  /* padding: 5px 15px; -> 좌측 패딩 제거, 우측 패딩은 유지하거나 조절 */
  padding-top: 5px; /* 상하 패딩은 유지 */
  padding-bottom: 5px;
  padding-left: 5px;  /* 좌측 패딩 최소화 (예: 5px) 또는 0px */
  padding-right: 15px; /* 우측 패딩은 스크롤 마지막 아이템 여백으로 유지 */
}

.m1-intro-widget .m1-intro-scrollContainer::-webkit-scrollbar {
  display: none;
}

.m1-intro-widget .m1-intro-itemsRow {
  display: flex;
  gap: 12px;
  padding: 6px 0;
}

.m1-intro-widget .m1-intro-item {
  flex: 0 0 auto;
  width: 130px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m1-intro-widget .m1-intro-item:hover {
  transform: translateY(-5px);
}

.m1-intro-widget .m1-intro-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.m1-intro-widget .m1-intro-thumbnail:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.m1-intro-widget .m1-intro-thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  transition: background 0.3s ease;
  border-radius: 8px;
}

.m1-intro-widget .m1-intro-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.m1-intro-widget .m1-intro-item:hover .m1-intro-thumbnail img {
  transform: scale(1.05);
}

.m1-intro-widget .m1-intro-title {
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 14px;
  letter-spacing: 0.1px;
  text-align: center;
  width: 100%;
}

.m1-intro-widget .m1-intro-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  width: 100%;
  display: none;
}

.m1-intro-widget .m1-intro-plays {
  color: #fff;
  font-size: 11px;
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 10px;
  z-index: 2;
}

.m1-intro-widget .m1-intro-category {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
  z-index: 2;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.m1-intro-widget .m1-intro-thumbnail .m1-intro-playIcon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.m1-intro-widget .m1-intro-item:hover .m1-intro-thumbnail::after {
  background: rgba(0, 0, 0, 0.5);
}

.m1-intro-widget .m1-intro-item:hover .m1-intro-thumbnail .m1-intro-playIcon {
  opacity: 1;
}
