@charset "utf-8";

/* [HQ] Magazine Layout Styles - v2.6.0 (Promotion Center Restored) */
:root {
  --bg: #20232a;
  --panel: #2b3038;
  --line: #3a404c;
  --text: #e9ecef;
  --muted: #a3adb8;
  --accent: #ff5a3d;
}

/* [공통] 최상위 컨테이너 및 여백 보정 */
.td-wrap {
  padding-left: 25px !important;
  padding-right: 25px !important;
  box-sizing: border-box;
  overflow: visible !important;
}
.sliderBox {
  margin-bottom: 8px !important;
}
.section-title {
  margin: 15px 0 10px 0 !important;
  font-size: 1.15rem !important;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title i {
  color: var(--accent);
}

/* [1] 하이라이트: 제목 오버레이 및 높이 동기화 */
.td-hero-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
  margin-bottom: 15px;
  align-items: stretch;
}
.td-hero-col-main {
  padding: 0 5px;
  flex: 0 0 68%;
  max-width: 68%;
  position: relative;
}
.td-hero-col-side {
  padding: 0 5px;
  flex: 0 0 32%;
  max-width: 32%;
  display: flex;
  flex-direction: column;
}
.td-hero.video {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  height: 100%;
  position: relative;
}
.td-hero.video .player {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 56.25%;
}
.td-hero.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.v-overlay-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 15px 20px;
  z-index: 10;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  pointer-events: none;
}
.td-hero-side-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.td-hero-side-box .h-head {
  padding: 10px 15px;
  background: #23272e;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.td-hero-side-box .h-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-decoration: none !important;
  flex: 1;
}
.td-hero-side-box .h-item:hover {
  background: rgba(255, 255, 255, 0.03);
}
.td-hero-side-box .h-item .v-thumb {
  width: 80px;
  height: 45px;
  border-radius: 4px;
  margin-right: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.td-hero-side-box .h-item .v-subject {
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 600;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* [2] 강승부 추천 슬라이더 */
.hot-picks-wrap {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 5px 30px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.hot-picks-wrap::-webkit-scrollbar {
  display: none;
}
.hot-card {
  flex: 0 0 280px;
  background: linear-gradient(145deg, #2b3038, #22262d);
  border: 1px solid #ffd700;
  border-radius: 12px;
  padding: 18px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-align: center;
}

/* [3] 실시간 분석 대기열 균형 */
.td-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}
.td-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.td-table th {
  background: #23272e;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 2px solid var(--line);
  font-size: 0.85rem;
  text-align: center;
}
.td-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}
.td-winmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 95px;
  height: 42px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 auto;
}
.td-winmark.home {
  background: #e74c3c !important;
}
.td-winmark.away {
  background: #3498db !important;
}
.td-winmark.draw {
  background: #7f8c8d !important;
}

/* [4] 홍보센터 포스트잇 디자인 복원 (v1.2.0 규격) */
.td-masonry {
  column-gap: 15px;
  width: 100%;
  display: block;
  padding-top: 10px;
}
@media (max-width: 575px) {
  .td-masonry {
    column-count: 2;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .td-masonry {
    column-count: 3;
  }
}
@media (min-width: 992px) {
  .td-masonry {
    column-count: 5;
  }
}

.post-it {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 18px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 0.92rem;
}
.post-it:hover {
  transform: scale(1.03) rotate(-1deg);
  z-index: 5;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.4);
}
.post-it::after {
  /* 상단 빨간 핀 효과 */
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f44336, #b71c1c);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
}
.post-it.c1 {
  background: #ffeb3b !important;
}
.post-it.c2 {
  background: #81d4fa !important;
}
.post-it.c3 {
  background: #a5d6a7 !important;
}
.post-it.c4 {
  background: #ffccbc !important;
}
.post-it.c5 {
  background: #e1bee7 !important;
}

.post-it .badge-type {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.post-it .title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  line-height: 1.4;
}
.post-it .meta {
  display: block;
  font-size: 0.8rem;
  color: #666;
  text-align: right;
}
