.header {
  padding-left: 80px;
  padding-right: 80px;
  background-color: rgb(15, 82, 186);
}

.tab-content h2 {
  display: inline-block;
  position: relative;
  font-size: 24px;
  padding-bottom: 10px;
}

.tab-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, #3b82f6 0%, #3b82f6 100%), 
              linear-gradient(to right, #cbd5e1 0%, #cbd5e1 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%;
  background-position: left bottom, left bottom;
}

.tab-layout {
  display: flex;
  gap: 20px;
  padding: 30px 80px;
  min-width: 0; /* flex 자식 요소 오버플로우 방지 */
}

.section-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}


.section-wrapper .tab-content img {
  width: 100%;
}

.tab-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 180px;
  flex-shrink: 0; /* 너비 줄어드는 것 방지 */
}

.tab-link {
  box-sizing: border-box;
  width: 100%;
  padding: 24px 30px;
  background-color: #f8f9fa;
  border-left: 4px solid transparent;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  word-break: keep-all;
}

.tab-link:hover {
  background-color: #e2e8f0;
}

.tab-link.active {
  background-color: #3b82f6;
  color: white;
  border-left-color: #2563eb;
}

.tab-content {
  flex: 1;
  padding-left: 30px;
  border-left: 1px solid #e5e7eb;
  max-width: 100%; /* 부모 영역 넘지 않도록 */
}

.tab-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.skeleton-image {
  width: 100%;
  max-width: 600px;
  height: 300px;
  background-color: #e5e7eb; /* Tailwind gray-200 */
  border-radius: 12px;
  animation: skeleton-loading 1.5s infinite ease-in-out;
  margin-top: 30px;
}

.partner-banner {
  position: fixed;
  bottom: 30px;
  left: 25px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #3b82f6;
  border-radius: 12px;
  padding: 20px 24px;
  width: 175px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 999;
  font-family: 'Pretendard', sans-serif;
}
.partner-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 6px;
}
.partner-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 14px;
  line-height: 1.4;
}
.partner-logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.partner-link img {
  width: 140px;
  height: 70px;
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.24);
}
.partner-link img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.48);
}

/* filter-bar 스타일 */
.filter-bar {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  justify-content: flex-start;
  align-items: center;
}

.filter-bar input[type="text"] {
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  width: 240px;
  transition: border 0.2s ease;
}

.filter-bar input[type="text"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.filter-bar select {
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: border 0.2s ease;
}

.filter-bar select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* pagination 버튼 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 30px 0;
}

.pagination button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background-color: #3b82f6;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pagination button:hover {
  background-color: #2563eb;
}

#page-indicator {
  font-size: 14px;
  color: #374151;
}


/* 애니메이션 효과 */
@keyframes skeleton-loading {
  0% {
    background-color: #e5e7eb;
  }
  50% {
    background-color: #f3f4f6;
  }
  100% {
    background-color: #e5e7eb;
  }
}
