/* GlobalRank 홈 피처드 영역 (플러그인 자동 로드) */

.gr-featured-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin: 0 0 32px;
  align-items: stretch;
}

.gr-featured-main {
  display: flex;
  flex-direction: column;
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
.gr-featured-main:hover {
  box-shadow: 0 6px 22px rgba(17,24,39,.10);
  transform: translateY(-2px);
}
.gr-featured-imgbox {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #f1f3f5;
}
.gr-featured-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gr-featured-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gr-featured-title {
  font-size: 1.35em;
  line-height: 1.35;
  font-weight: 700;
  margin: 0;
  color: #111827;
}
.gr-featured-excerpt {
  font-size: .95em;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}
.gr-featured-meta {
  font-size: .82em;
  color: #9ca3af;
  margin-top: auto;
}

.gr-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.gr-badge {
  font-size: .72em;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  line-height: 1.6;
}
.gr-badge-cat  { background: #e6f1fb; color: #0c447c; }
.gr-badge-new  { background: #faece7; color: #712b13; }
.gr-badge-rank { background: #eaf3de; color: #27500a; }

.gr-featured-list {
  border: 1px solid #e6e8eb;
  border-radius: 12px;
  background: #fff;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
}
.gr-list-head {
  font-size: .85em;
  font-weight: 700;
  color: #2563eb;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #eef0f2;
}
.gr-list-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f2f3f5;
  transition: background .15s ease;
}
.gr-list-item:last-child { border-bottom: none; }
.gr-list-item:hover { background: #f8fafc; }
.gr-list-title {
  font-size: .92em;
  line-height: 1.4;
  font-weight: 600;
  color: #1f2937;
}
.gr-list-meta {
  font-size: .76em;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .gr-featured-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gr-featured-title { font-size: 1.2em; }
}
