.sg-yt-highlights {
  background: #fff;
  box-sizing: border-box;
  padding: 72px var(--sg-content-padding);
  max-width: var(--sg-section-max-width);
  margin-left: auto;
  margin-right: auto;
}
.sg-yt-highlights *, .sg-yt-highlights *::before, .sg-yt-highlights *::after { box-sizing: border-box; }
.sg-yt-highlights img { display: block; max-width: 100%; }

.sg-yt-highlights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.sg-yt-highlights-title {
  font-family: var(--sg-font-heading);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.4px;
  line-height: 1.2;
  color: var(--sg-text-dark);
  margin: 0;
}
.sg-yt-highlights-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--sg-blue-500);
  transition: background-color .2s ease, transform .2s ease;
}
.sg-yt-highlights-link svg { width: 20px; height: 20px; }
.sg-yt-highlights-link:hover { background: #e2e8f0; transform: translate(1px, -1px); }

.sg-yt-highlights-grid {
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap: 32px;
  margin-top: 36px;
}

.sg-yt-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 24px;
}

.sg-yt-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.sg-yt-card:hover {
  box-shadow: 0 20px 40px -12px rgba(15, 23, 42, .18);
  transform: translateY(-4px);
  border-color: rgba(15, 23, 42, .08);
}

.sg-yt-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}
.sg-yt-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sg-yt-card:hover .sg-yt-thumb-img { transform: scale(1.06); }
.sg-yt-thumb-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .12) 100%);
  pointer-events: none;
}

.sg-yt-channel {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 64px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sg-yt-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.sg-yt-channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sg-yt-video-title {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.sg-yt-channel-name {
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
}

.sg-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
  transition: transform .25s ease;
}
.sg-yt-card:hover .sg-yt-play { transform: translate(-50%, -50%) scale(1.08); }
.sg-yt-card--featured .sg-yt-play svg { width: 76px; height: 54px; }
.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-play svg { width: 52px; height: 37px; }

.sg-yt-actions {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}
.sg-yt-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.sg-yt-icon-btn:hover { background: rgba(15, 23, 42, .75); }
.sg-yt-icon-btn svg { width: 16px; height: 16px; }

.sg-yt-watch-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--sg-text-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.sg-yt-watch-btn svg { width: 16px; height: 16px; }

.sg-yt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 20px 24px 0;
  padding: 7px 16px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sg-text-regular);
}
.sg-yt-badge svg { width: 14px; height: 14px; }

.sg-yt-card-title {
  display: block;
  padding: 14px 24px 24px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.2px;
  line-height: 1.35;
  color: var(--sg-text-dark);
  transition: color .2s ease;
}
.sg-yt-card:hover .sg-yt-card-title { color: var(--sg-blue-500); }
.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-card-title {
  padding: 14px 18px 18px;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-channel {
  top: 10px;
  left: 10px;
  right: 40px;
}
.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-avatar {
  width: 24px;
  height: 24px;
}
.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-video-title {
  font-size: 12px;
  -webkit-line-clamp: 1;
}
.sg-yt-card:not(.sg-yt-card--featured) .sg-yt-channel-name {
  font-size: 11px;
}

@media (max-width: 900px) {
  .sg-yt-highlights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sg-yt-highlights { padding: 40px var(--sg-content-padding); }
  .sg-yt-highlights-title { font-size: 24px; }
  .sg-yt-side-grid { grid-template-columns: 1fr; }
  .sg-yt-card-title { font-size: 16px; }
}
