body,
input,
button,
textarea,
select {
  font-weight: 400;
  letter-spacing: -0.05px;
  font-style: normal;
  color: var(--Color-Black);
  word-break: break-all;
}

body {
  background: var(--Color-White);
  overflow-x: hidden;
  max-width: 100vw;
}

.font-primary {
  font-weight: 400;
}

.font-secondary {
  font-weight: 500;
}

.font-tertiary {
  font-weight: 700;
}

a:hover {
  text-decoration: none;
}

.mobile-hidden {
  display: inline-block;
}

.hidden {
  display: none;
}

button {
  border: none;
}

.navbar {
  padding: 0 16px;
  background: var(--Color-White);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
  width: 100%;
  z-index: 100;
  height: 72px;
}

.navbar-wrapper {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
}

.navbar .title,
.mobile-menu .title {
  padding: 4px 0;
  padding-left: 4px;
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 172px;
  height: 32px;
  background-image: url("https://image.chosun.com/membership/benefit/chosun-mem-logo-renew.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.C-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-left: 5px;
}

.C-icon .tail {
  animation: colorCycle 6s infinite ease-in-out;
}

@keyframes colorCycle {

  0% {
    fill: #49dab3;
  }

  23.5% {
    fill: #49dab3;
  }

  31.4% {
    fill: #ffbd54;
  }

  55.9% {
    fill: #ffbd54;
  }

  64.7% {
    fill: #f04348;
  }

  92.2% {
    fill: #f04348;
  }

  100% {
    fill: #49dab3;
  }
}

.logo-sub-text {
  margin-left: 11px;
}

.link-wrapper {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 16px;
}

.nav-links a {
  color: var(--Color-Black);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.membership-link-btn {
  margin-left: 76px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ETC-White-Static);
  white-space: nowrap;
  cursor: pointer;
  border-radius: 100px;
}

.membership-link-btn a.link-content {
  display: flex;
  align-items: center;
  color: var(--ETC-White-Static);
}

.membership-link-btn.no-member a.link-content {
  padding: 8px 12px 8px 16px;
}

.membership-link-btn.member a.link-content {
  padding: 8px 12px;
  color: var(--Color-Grey-80, #707070);
  line-height: 20px;
}

.membership-link-btn.no-member {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--Membership-FG-80);
  font-weight: 700;
  z-index: 0;
}

.membership-link-btn.member {
  background: var(--ETC-G10-High, #F7F7F7);
  border: 1px solid var(--Color-Grey-20, #EAEAEA);
}

.membership-link-btn.member .link-content {
  display: flex;
  align-items: center;
}

.membership-link-btn.member .point {
  color: var(--Color-Black);
}

.p-icon {
  height: 24px;
  margin-right: 6px;
}

.p-icon svg path:not(:last-child) {
  fill: var(--Color-Black);
}

.p-icon svg path:last-child {
  fill: var(--Color-Red);
}



.hamburger {
  display: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}


.mobile-menu {
  display: none;
}

.menu-inner {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 56px;
}

.hamburger-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-image: url("//image.chosun.com/cds/icon/modal-close-black.svg");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* 모바일 메뉴 활성화 */
.mobile-menu.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(
    100vh - 40px
  ); /* 전체 화면 높이에서 네비게이션 바 높이만큼 빼기 */
  background: var(--Color-White);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  height: 100%;
  z-index: 500;
}

.mobile-menu.active .mobile-menu-top {
  height: 56px;
  position: fixed;
  background: var(--Color-White);
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.15);
  color: var(--ETC-White-Static);
  width: 100%;
  display: flex;
  padding: 0 16px;
  font-size: 18px;
  align-items: center; 
}

.mobile-menu .logo-icon {
  width: 106px;
  height: 20px;
}

.mobile-menu .C-icon {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

.mobile-menu .logo-sub-text {
  margin-left: 6px;
  width: 42px;
  height: 20px;
}

.menu-inner {
  width: 100%;
}

.membership-link-btn.mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: var(--Color-Black);
  background: none;
  border-bottom: 1px solid var(--Color-Grey-40);
  border-radius: unset;
  cursor: unset;
  margin: 0 -16px;
  flex-wrap: wrap;
}

.membership-link-btn.mobile a.link-content { 
  color: var(--Color-Black);
}

.membership-link-btn.mobile.no-member a.link-content svg path {
  fill: var(--Color-Black);
}

.membership-link-btn.mobile .sub-text {
  color: var(--Color-Grey-80);
  font-size: 14px;
  padding-right: 16px;
}

.membership-link-btn.mobile.member a.link-content {
  width: 100%;
}

.membership-link-btn.mobile.no-member a.link-content,
.membership-link-btn.mobile.member a.link-content
{
  font-size: 16px;
  padding: 8px 0;
}

.membership-link-btn.mobile.member .point {
  position: absolute;
  right: 0;
  font-size: 18px;
}

.membership-panel {
  position: relative;
  width: 100%;
  height: 136px;
  overflow: hidden;
}


.banner-logo {
  display: inline-block;
  width: 218px;
  height: 42px;
  background-image: url('https://image.chosun.com/membership/benefit/mem-combo-logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 10px;
}

.membership-sticky-banner {
  width: 100%;
  height: 80px;
  overflow: hidden;
  display: none;
}

.membership-sticky-banner.fixed {
  display: block;
  position: fixed;
  bottom: 0;
  z-index: 10;
}

.membership-sticky-banner .banner-content-wrapper {
  display: flex;
  justify-content: center;
  
}

.membership-sticky-banner .m-img {
  position: relative;
  left: 0;
  bottom: 0;
  margin-right: 14px;
}

.membership-sticky-banner .title {
  color:  #262A37;
  font-weight: 500;
  margin-right: 24px;
  display: flex;
  align-items: center;
  font-size: 20px;
  white-space: nowrap;
}

.membership-sticky-banner .content {
  display: flex;
  align-items: center;
}

.membership-sticky-banner .start-btn {
  margin-top: 0;
  font-size: 14px;
  padding: 8px 12px 8px 16px;
  min-width: 100px;
}

.membership-panel picture,
.membership-sticky-banner picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.membership-sticky-banner .banner-logo {
  width: 146px;
  height: 28px;
  margin-top: 0;
  margin-left: 10px;
}

.membership-sticky-banner .sticky-mobile-link {
  display: none;
}

.banner-content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  height: 100%;
  position: relative;
  color-scheme: light dark;
}

a.start-btn {
  background: var(--Membership-BG-90);
  font-size: 20px;
  border-radius: 100px;
  width: fit-content;
  color: var(--ETC-White-Static);
  margin-top: 24px;
  white-space: nowrap;
  min-width: 132px;
  padding: 10px 16px 10px 20px;
  display: flex;
  align-items: center;
}

.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.m-img {
  position: absolute;
  width: auto;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  right: -155px;
  top: -29px;
  width: 732px;
}

.card-section-wrapper {
  max-width: 1280px;
  margin: 60px auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 34px;
  white-space: nowrap;
  color: var(--Color-Black);
}

#tabs-container {
  margin-top: 32px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tab {
  font-size: 18px;
  padding: 4px 16px 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--Color-Grey-20);
  background: var(--Color-Grey-10);
  color: var(--Color-Grey-80);
  min-width: 86px;
  white-space: nowrap;
}

.tab.active {
  background: var(--Membership-FG-80);
  color: var(--ETC-White-Static);
  font-weight: 700;
}

@media screen and (max-width: 689px) {
  #tabs-container {
    margin-top: 24px;
  }

  .filter-tabs {
    gap: unset;
    margin: -12px;
  }

  .tab {
    margin-right: 12px;
    margin-bottom: 12px;
    line-height: 24px;
    padding: 2px 18px 4px;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 48px;
  column-gap: 24px;
  margin-top: 48px;
}

.card {
  width: 302px; /* 필요에 따라 조정 */
  border: 1px solid var(--Color-Grey-40);
  border-radius: 12px;
  overflow: hidden;
  background: var(--Surface-Surface-30);
  height: 360px;
  cursor: pointer;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 170px;
}

.card-content {
  padding: 16px;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  word-break: keep-all
}

.card-date-range {
  font-size: 18px;
  color: var(--Color-Grey-80);
}

.card-source {
  font-size: 16px;
  color: var(--Color-Grey-80);
  font-weight: 700;
}

.load-more-btn {
  padding: 12px 64px;
  border-radius: 100px;
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
  display: flex;
  margin-top: 48px;
  font-size: 18px;
  align-items: center;
}

.load-more-btn .down-arrow {
  display: inline-block;
  width: 24px; /* SVG 크기 */
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cg%20id%3D%22Icon%22%3E%3Cpath%20id%3D%22Stroke-1%22%20d%3D%22M17.142%208.2998L18.5561%209.71414L12.278%2015.9911L6%209.71414L7.41409%208.2998L12.2779%2013.1622L17.142%208.2998Z%22%20fill%3D%22%23222222%22/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
}

.link-section {
  margin: 100px auto 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  /* padding-bottom: 100px; */
  padding: 0 16px 100px 16px;
}

.title-link {
  border-top: 1px solid var(--Color-Black);
  position: relative;
  font-weight: 700;
  padding-top: 8px;
  font-size: 18px;
  margin-bottom: 24px;
}

.title-link a {
  color: var(--Color-Black);
}

.title-link:after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 20px;
  height: 20px;
  background-image: url("//image.chosun.com/cds/icon/next-black.svg"); /* SVG URL */
  background-size: contain; /* SVG 크기 조정 */
  background-repeat: no-repeat; /* 이미지 반복 제거 */
}

.event-card-list,
.qna-item-list {
  display: flex;
  flex-direction: column;
}

.event-card-list {
  gap: 16px;
}

.event-card {
  display: flex;
  padding: 18px 24px;
  border: 1px solid var(--Color-Grey-40);
  background: var(--Surface-Surface-30);
  border-radius: 12px;
  align-items: center;
  position: relative;
}

.text-content {
  margin-right: 25px;
  font-size: 20px;
  font-weight: 500;
  color: var(--Color-Black);
}

.event-card .title {
  color: var(--Color-Black);
}

.event-card .subtitle {
  font-size: 16px;
  color: var(--Color-Grey-80);
  font-weight: 400;
}

.event-card .event-img {
  width: 72px;
  height: 72px;
  border-radius: 100%;
  margin-right: 18px;
  object-position: center;
  object-fit: cover;
}

.event-card .next-arrow {
  width: 32px;
  height: 32px;
  background-image: url("//image.chosun.com/cds/icon/next-black.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 18px;
}

.qna-link + .qna-link {
  border-top: 1px solid var(--Color-Grey-40);
}

.qna-item {
  display: flex;
  align-items: center;
  padding: 18px 0;
}

.qna-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--Color-Grey-10);
  font-size: 22px;
  margin-right: 18px;
  color: var(--Color-Black);
  min-width: 42px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

@media screen and (max-width: 1280px) {
  .event-card .event-img {
    width: 40px;
    height: 40px;
  }

  .event-card .next-arrow {
    width: 24px;
    height: 24px;
  }

  .event-card {
    align-items: start;
  }
}

/* 985이하 */
@media screen and (max-width: 985px) {
  body.modal-open {
    overflow: hidden;
  }

  .mobile-hidden {
    display: none;
  }

  .pc-hidden {
    display: inline-block;
  }

  #nav2020-head {
    position: relative !important;
  }

  #nav2020-head.fixed {
    position: fixed !important;
    z-index: 400;
  }

  .navbar {
    height: 56px;
  }

  .navbar.fixed { 
    position: fixed;
    top: 0;
    z-index: 250;
  }
  
  .navbar .title,
  .mobile-menu .title {
    padding-left: 1px;
  }

  .navbar .logo-icon {
    width: 106px;
    height: 20px;
  }

  .navbar .C-icon {
    width: 20px;
    height: 20px;
    margin-left: 3px;
  }

  .navbar .logo-sub-text {
    margin-left: 6px;
    width: 42px;
    height: 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-list {
    padding-top: 16px;
  }

  .menu-item {
    font-weight: 700;
  }

  .menu-item a {
    display: inline-block;
    color: var(--Color-Black);
    padding: 8px;
    width: 100%;
  }

  .menu-item + .menu-item {
    margin-top: 8px;
  }

  .membership-link-btn.member a.link-content {
    padding: 4px 12px;
    font-size: 12px;
  }

  .membership-link-btn.no-member a.link-content {
    padding: 4px 10px;
    font-size: 12px;
  }

  .link-wrapper {
    position: absolute;
    right: 32px;
  }

  .hamburger {
    display: flex;
  }

  .membership-panel {
    height: 138px;
  }

  .banner-logo {
    width: 146px;
    height: 28px;
    margin-top: 4px;
  }

  .m-img {
    left: 50%;
    transform: translateX(-37%);
    top: 86px;
    width: 485px;
  }

  a.start-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--Membership-BG-90);
    font-size: 18px;
    min-width: 132px;
    padding: 8px 14px 8px 22px;
    justify-content: center;
  }

  .membership-sticky-banner .start-btn {
    position: relative;
    bottom: 0;
    left: unset;
    transform: unset;
  }

  .card-section-wrapper {
    margin-top: 56px;
    padding: 0 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-section {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 48px;
    max-width: 628px;
    padding-left: 0;
    padding-right: 0;
  }

  .membership-sticky-banner.fixed {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #nav2020-head #nav2020-login .user.login {
    margin-right: 0;
  }
}

/* 689이하 */
@media screen and (max-width: 689px) {
  .sm-hidden {
    display: none;
  }

  .section-title {
    font-size: 22px;
  }

  .card-grid {
    width: 100%;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 24px;
  }

  .card {
    width: 100%;
    height: auto;
  }

  .card-image img {
    max-height: unset;
  }

  .card-content {
    height: auto;
  }

  .tab {
    font-size: 16px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-date-range {
    font-size: 16px;
  }

  .card-source {
    font-size: 14px;
    margin-top: 24px;
  }

  .load-more-btn {
    padding: 8px 32px;
    font-size: 14px;
    margin-top: 24px;
  }

  .link-section {
    margin-top: 48px;
    padding: 0 16px;
    max-width: unset;
  }

  .event-card {
    padding: 16px;
  }

  .event-card .event-img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .event-card .subtitle {
    font-size: 14px;
  }

  .text-content {
    font-size: 16px;
    word-break: keep-all;
  }

  .title-link {
    font-size: 16px;
  }

  .qna-item {
    padding: 16px 0;
  }

  .membership-sticky-banner .title {
    font-size: 16px;
    flex-direction: column;
    margin-right: 0;
  }

  .membership-sticky-banner .bg-img {
    object-position: 45% center;
  }

  .membership-sticky-banner .sticky-mobile-link {
    display: flex;
    align-items: center;
    margin-top: 4px;
  }

  .membership-sticky-banner .start-btn {
    display: none;
  }
}

/* 986 이상 */
@media screen and (min-width: 986px) {
  .mobile-menu.active {
    display: none;
  }

  .pc-hidden {
    display: none;
  }
}

/* 1279 이하 */
@media screen and (max-width: 1279px) {
  .link-section {
    padding-bottom: 80px;
  }

  .membership-sticky-banner .m-img {
    display: none;
  }
}

@media screen and (min-width: 986px) and (max-width: 1279px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .m-img {
    object-position: 70px center;
  }
}


@media (prefers-color-scheme: dark) {
  .navbar {
    box-shadow: unset;
    border-bottom: 1px solid var(--Color-Grey-40);
  }

  .mobile-menu.active .mobile-menu-top {
    box-shadow: unset;
    border-bottom: 1px solid var(--Color-Grey-40);
  }
  
  .navbar .logo-icon,
  .mobile-menu .logo-icon {
    background-image: url("https://image.chosun.com/arc/membership_premium/chosun-mem-logo.svg");
  }

  .navbar .C-icon path:first-child,
  .mobile-menu .C-icon path:first-child {
    fill: #fff;
  }

  .logo-sub-text path {
    fill: #fff;
  }

  .hamburger svg path {
    fill: #fff;
  }

  .hamburger-close-btn {
    background-image: url("//image.chosun.com/cds/icon/close-white.svg");
  }

  .load-more-btn .down-arrow {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M17.142%208.2998L18.5561%209.71414L12.278%2015.9911L6%209.71414L7.41409%208.2998L12.2779%2013.1622L17.142%208.2998Z%22%20fill%3D%22white%22/%3E%3C/svg%3E");
  }

  .event-card .next-arrow, .title-link:after {
    background-image: url("//image.chosun.com/cds/icon/next-white.svg");
  }
}

/* 멤버십 패널 개편 */

.membership-panel {
  background: #f2f8ff;
  color-scheme: light dark;
}

.membership-panel .membership-panel-bg {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2560px;
  max-width: none;
  height: 136px;
  transform: translate(-50%, -50%);
}

.membership-panel-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.membership-panel-title {
  margin: 0 0 12px;
  color: #262a37;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: -0.1px;
  text-align: center;
}

.panel-separator {
  display: none;
}

@media screen and (min-width: 986px) {
  .membership-panel-title br {
    display: none;
  }

  .panel-separator {
    display: inline;
  }
}

.membership-panel-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.membership-panel .membership-panel-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px 0 16px;
  border-radius: 100px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.07px;
  white-space: nowrap;
}

.membership-panel-button + .membership-panel-button {
  margin-left: 16px;
}

.membership-panel .membership-panel-faq {
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #222;
}

.membership-panel .membership-panel-start {
  background: #262a37;
  color: #fff;
}

@media (hover: hover) {
  .membership-panel .membership-panel-start:hover {
    background: linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)), #262a37;
  }
}

.membership-panel-button img {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 985px) {
  .membership-panel .membership-panel-bg {
    width: 985px;
    height: 138px;
  }

  .membership-panel-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.08px;
  }
}