/* ============================
	top
============================ */

/* whole
=============================================== */

#top #main {
  max-width: 100%;
}


/* hero
=============================================== */

#hero {
  aspect-ratio: 1440 / 810;
  background: url(../img/top/mv.jpg) center center no-repeat;
  background-size: cover;
  text-indent: -9999px;
  animation: top-hero-fade 1s forwards;
}

@keyframes top-hero-fade {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }

  50% {
    transform: scale(1.01);
  }

  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}


/* news
=============================================== */

#news {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 40px;
}

.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.news-list li {
  width: calc((100% - 20px * 2) / 3);
  border: var(--cl-black) 1px solid;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, opacity 0.2s ease;
}

@media (hover: hover) {
  .news-list li:has(a):hover {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

.news-list li a {
  display: block;
  color: var(--cl-black);
  text-decoration: none;

}

.news-item-image span {
  display: block;
  border-radius: 10px 10px 0 0;
  aspect-ratio: 16 / 9;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.news-video .news-item-image span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
  }
  
  .news-video .news-item-image span::after {
    content: '▶';
    font-size: 3rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
  }

.news-item-content {
  padding: 1.0em;
  text-align: left;
}

.news-item-date {
  margin-bottom: 1em;
  font-size: 90%;
  color: var(--cl-orange);
}

.news-new {
  float: right;
  margin-top: -0.3em;
  width: 2.0em;
  aspect-ratio: 64 / 52;
  background: url(../img/top/news_new.png) center center no-repeat;
  background-size: cover;
  text-indent: -9999px;
}

.news-text {
  line-height: 1.4;
}

.more-link {
  display: inline-block;
  margin-top: 1.0em;
  padding: 0.5em;
  border-bottom: var(--cl-black) 3px solid;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.2s, opacity 0.2s ease;
}

@media (hover: hover) {
  .more-link:hover {
    transform: translateY(4px);
    opacity: 0.7;
  }
}

.more-link::after {
  display: inline-block;
  content: "";
  margin: auto 0 -0.2em 0.2em;
  width: 1.2em;
  height: 1.2em;
  background: url(../img/top/news_more.png) center center no-repeat;
  background-size: cover;
  vertical-align: baseline;
}


/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  #news {
    margin: 0 auto 20px auto;
    padding: 0 15px;
  }

  .news-list li {
    width: 100%;
    font-size: 90%;
  }

  .more-link {
    font-size: 16px;
  }

}


/* about
=============================================== */

#about {
  padding: 1px 40px;
  background-image: url(../img/top/about_bg2.png), url(../img/top/about_bg.jpg);
  background-position: left 150px, center center;
  background-repeat: no-repeat, repeat;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  #about {
    padding: 1px 10px;
    background-position: left 70px, center center;
    background-size: auto 80vw, auto auto;
  }

}

/* about-intro
-------------------------------- */

.about-intro {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding-left: 35%;
}

.about-intro-inner {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.about-intro .title {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.6;
}

.about-intro .title strong {
  display: block;
  font-size: 40px;
  font-weight: 700;
}

.about-intro .text {
  font-size: 16px;
  line-height: 1.5;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  .about-intro {
    margin: 60vw auto 30px auto;
    padding-left: 0;
  }

  .about-intro-inner {
    padding: 10px;
  }

  .about-intro .title {
    font-size: 18px;
  }

  .about-intro .title strong {
    font-size: 22px;
  }

  .about-intro .text {
    font-size: 14px;
  }

}


/* about-tbl
-------------------------------- */

.about-tbl {
  max-width: 980px;
  margin: auto;
  padding-bottom: 60px;
}

.about-tbl .title {
  font-size: 24px;
  margin-bottom: 1.0em;
  padding-bottom: 0.7em;
  border-bottom: var(--cl-black) 3px solid;
}

.about-tbl table {
  width: 100%;

}

.about-tbl th,
.about-tbl td {
  border-collapse: collapse;
  border-bottom: var(--cl-black) 1px solid;
  padding: 1.2em 4.0vw;
  box-sizing: border-box;
  font-size: 22px;
  line-height: 140%;
  text-align: left;
}

.about-tbl th {
  color: var(--cl-orange);
  white-space: nowrap;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  .about-tbl {
    width: auto;
  }

  .about-tbl .title {
    font-size: 18px;
  }

  .about-tbl th,
  .about-tbl td {
    display: block;
    font-size: 18px;
  }

  .about-tbl th {
    padding: 0.4em 0 0 0;
    border-bottom: none;
  }

  .about-tbl td {
    padding: 0.4em 0;
  }

}


/* about-highlight
-------------------------------- */

.about-highlight {
  max-width: 1200px;
  margin: auto;
  padding-bottom: 40px;
}

.about-highlight .title {
  font-size: 24px;
  margin-bottom: 1.0em;
}

.about-highlight ul {
  display: flex;
  gap: 1em;
}

.about-highlight li {
  width: calc(100% / 3);
  padding: 0.8em;
  box-sizing: border-box;
  background-color: var(--cl-white);
  text-align: left;
  line-height: 1.5;
  position: relative;
  transform: translate(0, 0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 1s ease, box-shadow 1s ease;
}

.about-highlight li h2 {
  font-size: 32px;
  margin-bottom: 0.5em;
}

.about-highlight li p {
  font-size: 16px;
}

.about-highlight li.floatup {
  transform: translate(-12px, -12px);
  box-shadow: 12px 12px 0 var(--cl-orange);
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  .about-tbl {
    width: auto;
  }

  .about-tbl .title {
    font-size: 18px;
  }

  .about-highlight ul {
    display: block;
  }

  .about-highlight li {
    width: 100%;
    margin-bottom: 1.0em;
  }

  .about-highlight li h2 {
    font-size: 28px;
  }

  .about-highlight li p {
    font-size: 14px;
  }

}


/* hashtag
=============================================== */
.hashtags {
  overflow-x: hidden;
  width: 100%;
  padding: 30px 0 60px 0;
}

.hashtags-title {
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.marquee {
  display: grid;
  gap: 7px;
  margin-bottom: 50px;
}

.marquee__lane {
  overflow: hidden;
  width: 100%;
  color: var(--cl-white);
}

#hashtagMarquee>.marquee__lane:first-of-type {
  background: var(--cl-darkgray);
  transform: rotate(-2.68deg);
}

#hashtagMarquee>.marquee__lane:nth-of-type(2) {
  background: var(--cl-orange);
  transform: rotate(0.75deg);
}

#hashtagMarquee>.marquee__lane:nth-of-type(2) .marquee__group span img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(9%) saturate(583%) hue-rotate(182deg) brightness(92%) contrast(89%);
}


.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee__track--ltr {
  animation: lane-ltr 36s linear infinite;
}

.marquee__track--rtl {
  animation: lane-rtl 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 0;
}

.marquee__tag {
  display: inline-block;
  color: var(--text);
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  margin: 24px 0.5em;
  white-space: nowrap;
  font-size: clamp(14px, 2vw, 26px);
  line-height: 1.2;
  cursor: pointer;
}

.marquee__divider {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 16px;
  flex: 0 0 auto;
}

.marquee__divider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes lane-ltr {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes lane-rtl {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .marquee {
    gap: 4px;
  }

  .marquee__tag {
    font-size: 18px;
    margin: 14px 0;
  }

  .marquee__divider {
    width: clamp(26px, 2.1vw, 31px);
    height: clamp(26px, 2.1vw, 31px);
  }

  .hashtags {
    padding: 20px 0 30px 0;
  }

  .hashtags-title {
    margin-bottom: 30px;
    font-size: 24px;
  }

}


/* related players
=============================================== */

.related-players {
  padding-bottom: 55px;
}

.related-players__inner {
  width: min(1200px, calc(100% - 60px));
  margin-inline: auto;
}

.related-players__title {
  margin: 0;
  color: var(--cl-white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.related-slider {
  margin-top: 10px;
}

.related-splide {
  width: 100%;
}

.related-splide .splide__slide {
  width: auto;
  min-width: 0;
  /* for shadow */
  padding-bottom: 8px;
}

.related-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  min-height: 0;
  container-type: inline-size;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #13213a;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

.related-card__media,
.related-card__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.related-card__media {
  position: absolute;
  inset: 0;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.related-card__media img {
  object-fit: contain;
}

.related-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.1) 12%, rgba(7, 10, 19, 0.28) 54%, rgba(6, 9, 16, 0.92) 100%);
}

.related-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(10px, 1.95vw, 20px);
  text-align: left;
}

.related-card__name {
  margin: 0;
  font-size: clamp(12px, 1.95vw, 20px);
  font-weight: 700;
  line-height: 1.3;
}

.related-card__sport {
  margin-top: clamp(4px, 0.6vw, 6px);
  display: inline-flex;
  align-items: center;
  min-height: clamp(16px, 1.95vw, 20px);
  padding: 0 clamp(6px, 0.8vw, 8px);
  border-radius: 3px;
  background: var(--cl-orange);
  font-size: clamp(10px, 1.37vw, 14px);
  font-weight: 700;
}

.related-card__catchcopies {
  margin: clamp(4px, 0.6vw, 6px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.related-card__catchcopy {
  margin: 0;
  font-size: clamp(10px, 1.37vw, 14px);
  line-height: 1.4;
}

@supports (container-type: inline-size) {
  .related-card__content {
    padding: clamp(10px, 7.15cqw, 20px);
  }

  .related-card__name {
    font-size: clamp(12px, 7.15cqw, 20px);
  }

  .related-card__sport {
    margin-top: clamp(4px, 2.15cqw, 6px);
    min-height: clamp(16px, 7.15cqw, 20px);
    padding: 0 clamp(6px, 2.9cqw, 8px);
    font-size: clamp(10px, 5cqw, 14px);
  }

  .related-card__catchcopies {
    margin-top: clamp(4px, 2.15cqw, 6px);
  }

  .related-card__catchcopy {
    font-size: clamp(10px, 5cqw, 14px);
  }
}

.related-slider__controls {
  margin: 22px 0 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.related-slider__arrow {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .related-slider__arrow:hover {
    opacity: 0.7;
  }
}

.related-slider__arrow img {
  width: 50px;
  height: 50px;
  display: block;
  filter: brightness(0) saturate(100%) invert(20%) sepia(9%) saturate(583%) hue-rotate(182deg) brightness(92%) contrast(89%);

}

.related-slider__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
}

.related-slider__list-link {
  margin: 28px 0 0;
  text-align: center;
}

.related-slider__list-link a {
  display: inline-flex;
  align-items: stretch;
  min-width: 320px;
  min-height: 76px;
  border: 2px solid var(--cl-darkgray);
  border-radius: 4px;
  text-decoration: none;
  color: var(--cl-darkgray);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
@media (hover: hover) {
.related-slider__list-link a:hover {
  border-color: var(--cl-orange);
  color: var(--cl-orange)!important;
}
}

.related-slider__list-link a:visited {
  color: var(--cl-darkgray);
}

.related-slider__list-link a .related-slider__list-icon {
  width: 72px;
  border-left: 1px solid rgba(51, 54, 59, 0.25);
  background: var(--cl-darkgray) url("/asiangames/spotlight/img/ico_run_w.svg") center / 20px no-repeat;
}
@media (hover: hover) {
.related-slider__list-link a:hover .related-slider__list-icon {
  background: var(--cl-orange) url("/asiangames/spotlight/img/ico_sprint_w.svg") center / 32px no-repeat;
}
}

.related-slider__list-text {
  width: calc(100% - 56px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.related-slider__empty {
  margin: 0;
  color: #d8dceb;
  text-align: center;
}

@media all and (max-width: 767px) {
  .related-players {
    padding-bottom: 40px;
  }

  .related-players__inner {
    width: min(1200px, calc(100% - 20px));
  }

  .related-players__title {
    font-size: 20px;
  }

  .related-card__content {
    padding: 12px;
  }

  .related-card__name {
    font-size: 16px;
  }

  .related-card__sport {
    min-height: 18px;
    margin-top: 4px;
    padding: 0 6px;
    font-size: 12px;
  }

  .related-card__catchcopies {
    margin-top: 4px;
    gap: 1px;
  }

  .related-card__catchcopy {
    font-size: 11px;
    line-height: 1.3;
  }

  .related-slider__controls {
    margin: 16px 0 28px;
  }

  .related-slider__arrow img {
    width: 38px;
    height: 38px;
  }

  .related-slider__list-link {
    margin-top: 20px;
  }

  .related-slider__list-link a {
    min-width: 270px;
    min-height: 60px;
    font-size: 16px;
  }

  .related-slider__list-link a .related-slider__list-icon {
    width: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    transform: translateX(0);
  }
}


/* lookback
=============================================== */

#lookback {
  background-color: var(--cl-black);
  padding: 35px 70px;
}

#lookback .maintitle {
  color: var(--cl-white);
}

#top-lb-mov {
  max-width: 1000px;
  margin: 0 auto 40px auto;
  text-align: left;
  color: var(--cl-white);
}

#top-lb-mov .mov-yt {
  margin-bottom: 20px;
}

#top-lb-ttl {
  display: inline-block;
  margin-bottom: 0.8em;
  padding: 1.0em 0.8em;
  background-color: #000;
}

#btn-lb-ytchannel a {
  display: inline-block;
  padding: 1em 2em 2em 1.5em;
  background-color: #000;
  border: 2px solid var(--cl-white);
  color: var(--cl-white);
  text-decoration: none;
  transform: skewX(-15deg);
}

@media (hover: hover) {
  #btn-lb-ytchannel a:hover {
  background-color: var(--cl-white);
    color: #33363B;
  }
}

#btn-lb-ytchannel a span {
  display: inline-block;
  transform: skewX(15deg);
  line-height: 1.2;
}

#btn-lb-ytchannel a span::before {
  display: inline-block;
  content: "";
  margin: auto 0.5em -1.25em 0;
  width: 3em;
  height: 3em;
  background: url(../img/top/icon_yt.png) center center no-repeat;
  background-size: contain;
}

/* ---- Media Queries ---- */

@media all and (max-width: 767px) {

  #lookback {
    padding: 35px 15px;
  }

  #btn-lb-ytchannel {
    margin-bottom: 20px;
  }

  #btn-lb-ytchannel a {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.2em 2em 0.8em 1.5em;
  }

  #btn-lb-ytchannel a span {
    display: inline-grid;
    grid-template-columns: 3em minmax(0, 1fr);
    column-gap: 0.5em;
    align-items: start;
    max-width: 100%;
    text-align: left;
    line-height: 1.2;
  }

  #btn-lb-ytchannel a span::before {
    display: block;
    margin: -0.2em 0 0 0;
    width: 3em;
    height: 3em;
  }

}
