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

  /* 인트로가 떠있는 동안 메인 비주얼 숨김 */
  body.intro-active .visual-mo {
    opacity: 0;
    visibility: hidden;
  }

  /* 준비 완료 시 표시 */
  body.visual-ready .visual-mo {
    opacity: 1;
    visibility: visible;
    transition: opacity .1s ease;
  }

  /* ✅ 검은 프레임 방지용 기본 배경 */
  .visual-mo,
  .visual-mo .visual-inner,
  .swiper_main,
  .swiper_main .swiper-wrapper,
  .swiper_main .swiper-slide,
  .visual-mo .inner-box {
    background: #111;
  }

  .visual-mo video {
    display: none;
  }

  .visual-mo .visual-inner {
    position: relative;
    width: 100%;
    height: 100dvh;
  }

  /* 배경 박스 (기본: 약간 확대) */
  .visual-mo .inner-box {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    /* transform 중복 제거: GPU + scale 같이 */
    transform: translateZ(0) scale(1.08);
    transition: transform 3s ease;
    backface-visibility: hidden;
    will-change: transform;
  }

  .visual-mo .inner-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.4));
    z-index: 1;
    pointer-events: none;
  }

  .swiper-slide.anim-on .inner-box {
    transform: translateZ(0) scale(1);
  }

  .swiper-slide .main_tit_box,
  .swiper-slide .main_txt_box {
    opacity: 0;
  }

  .swiper-slide.anim-on .main_tit_box,
  .swiper-slide.anim-on .main_txt_box {
    opacity: 1;
  }

  .mbox1 .inner-box { background-image: url("../img/main_bg01.jpg"); }
  .mbox2 .inner-box { background-image: url("../img/main_bg02.jpg"); }
  .mbox3 .inner-box { background-image: url("../img/main_bg03.jpg"); }

  .main_tit_box h1 {
    font-size: 3.8rem;
    font-family: "Caudex", serif;
  }

  .main_tit_box.box2 h1,
  .main_tit_box.box3 h1 {
    line-height: 130%;
  }

  .swiper-slide .worship-mini-grid.worship-floating {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
  }

  .swiper-slide-active.anim-on .worship-mini-grid.worship-floating {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .main_txt_box h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 15px 0;
    font-family: "Hind", sans-serif;
  }

  .main_txt_box p {
    font-size: 1.1rem;
    line-height: 170%;
    margin: 15px 0;
    font-family: "Hind", sans-serif;
  }

  /* 타이틀 텍스트 (기본: 숨김) */
  .visual-mo .main_tit_box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    z-index: 10000;

    opacity: 0;
    transform: translate(-50%, -80%);
    transition: opacity 1s ease, transform 1s ease;
  }

  /* JS anim-on 타이밍과 동기화 */
  .swiper-slide-active.anim-on .main_tit_box {
    opacity: 1;
    transform: translate(-50%, -80%); /* 필요하면 -50%로 조정 가능 */
  }

  /* 하단 텍스트 (기본: 숨김) */
  .visual-mo .main_txt_box {
    position: absolute;
    left: 6%;
    bottom: 4%;
    max-width: 80%;
    text-align: left;
    z-index: 10000;

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.3s ease, transform 1.3s ease;
  }

  /* 중복 selector 2개 → 1개로 정리 */
  .swiper-slide-active.anim-on .main_txt_box {
    opacity: 1;
    transform: translateY(0);
  }

  .pc-main-search input::placeholder {
    color: #ffd9d9;
  }

  .pc-main-search input::-webkit-input-placeholder {
    color: #fffad9;
  }

  .pc-main-search input::-moz-placeholder {
    color: #fffad9;
  }

  .collection-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ================= 10년 단위 연혁 ================= */
  .history-wrap {
    flex-direction: column;
    height: auto;
    margin: 0 auto;
  }

  /* 탭 상단으로 */
  .history-wrap .exhibits-tab-wrap {
    position: sticky;
    top: 7rem;
    z-index: 50;
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 10px 10px;
    background: var(--lux-ivory, #f2efdf);
    border-bottom: 1px solid var(--lux-line, rgba(44, 46, 53, 0.12));
    gap: 10px;
    scroll-padding-inline: 16px;
  }

  /* 스크롤 숨김 */
  .history-wrap .exhibits-tab-wrap::-webkit-scrollbar {
    display: none;
  }

  /* 탭 스타일 */
  .history-wrap .exhibits-tab-wrap .tabs {
    flex: 0 0 auto;
    padding: 2px 6px;
    margin: 0 auto;
    white-space: nowrap;
    border-radius: 0;
    background: transparent;
    font-size: 1.4rem
  }

  .history-wrap .exhibits-tab-wrap .tabs.active {
    color: var(--lux-accent, #857960);
  }

  /* indicator → 모바일에서는 숨김 */
  .history-wrap .exhibits-tab-indicator {
    display: none;
  }

  /* 콘텐츠 */
  .history-view {
    width: 100%;
  }

  .history-panel {
    padding: 40px 20px;
  }



























}