@charset "UTF-8";

/* 기본 색상 */
:root {
  --main-color: #2E3A4E;
  --accent-color: #A7D6F1;
  --dark-main-color: #2E3A4E;
  --text-bright-color: #FDFDFD;
  --icon-color: #FDFDFD;
  --icon-bk-color: #E0CAA7;
  --gray-color: #E0CAA7;
}



/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;
}



/* 기본 설정: 페이지 전체 */
body {
	margin: 0;
	font-family: "Montserrat", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 58, 78, 0.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 묶음 */
.container-small {
  display: flex;
  align-items: center;
}

/* 로고 */
.logo {
  display: flex;
  flex-direction: row;     
  align-items: center;     
  gap: 18px;
  text-decoration: none;
  color: #2E3A4E;
}

.logo img {
  height: 50px;            
  display: block;
}

/* 메뉴 (PC 기본) */
.headB ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.headB a {
  font-size: 13px;
  text-decoration: none;
  color: #2E3A4E;       
  letter-spacing: 0.12em;
  position: relative;
}

.headB a::after {
  content: "";
  position: absolute;
  bottom: -4px;       
  left: 0;
  width: 0%;
  height: 1.2px;
  background: #A7D6F1;  
  transition: width 0.3s ease;
}

.headB a:hover::after {
  width: 100%;
}

/* 햄버거 버튼 (PC에서는 숨김) */
.headC {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #2E3A4E;       
}

/* ---------------- 모바일 전용 ---------------- */
@media (max-width: 768px) {

  /* 헤더 전체를 상단에 고정 */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(245,245,245,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(46,58,78,0.1);
  }

  /* 고정된 헤더 높이만큼 내용 내려주기 */
  body {
    padding-top: 72px;   /* 필요하면 60~80px 사이로 조절 */
  }

  .header-inner {
    padding: 14px 20px;
    justify-content: center;
    position: relative;
  }

  .logo {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
  }

  /* 햄버거 버튼 표시 + 위치 조정 */
  .headC {
    display: block;
    position: absolute;
    right: 20px;
    top: 22px;
    transform: none;
    z-index: 2200;
  }

  /* 드롭다운 메뉴: 기본은 닫힘 */
  .headB {
    display: none;
    position: absolute;
    top: 100%;        /* 헤더 바로 아래에 붙기 */
    left: 0;
    width: 100%;
    background: rgba(245,245,245,0.97);
    border-bottom: 1px solid #E0CAA7;
    padding: 10px 20px 16px;
    z-index: 2050;
  }

  .headB ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .headB a {
    font-size: 13px;
    text-decoration: none;
    color: #2E3A4E;
    letter-spacing: 0.12em;
    transition: color 0.25s ease, opacity 0.25s ease;
  }

  .headB a:hover {
    color: #A7D6F1;
    opacity: 1;
  }
}



/* Footer */
footer {
  background: #F5F5F5;                       
  padding: 40px 0;
  font-family: "Montserrat", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: #4B5A73;                             
  border-top: 1px solid #E0CAA7;              
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left h2 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #2E3A4E;                             /* 타이틀 딥블루 */
}

.footer-left p {
  margin: 4px 0;
  font-size: 12px;      
  line-height: 1.5;     
  color: #4B5A73;
}

.footer-copy {
  margin-top: 6px;
  font-size: 11px;       
  opacity: 0.7;  
}

.footer-left a {
  text-decoration: none;
  color: #2E3A4E;                             /* 링크 딥블루 */
  font-size: 12px;
  transition: 0.2s;
}

.footer-left a:hover {
  opacity: 0.7;
}

.footer-center p {
  font-size: 13px;
  letter-spacing: 0.12em;
  margin: 0;
  color: #2E3A4E;
}

.footer-right ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-right a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #9dbecf;                        
  display: flex;
  align-items: center;
  justify-content: center;

  color: #FFFFFF;                             
  font-size: 12px;
  text-decoration: none;
  transition: 0.2s;
}

.footer-right a:hover {
  background: #2E3A4E;                        
}

/* Mobile */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 25px;
    padding: 0 20px;
    text-align: center;
  }

  .footer-right {
    margin-top: 10px;
  }
}



/*----------------index page------------------*/
.main-banner {
  width: 100%;
  height: 80vh;
  min-height: 360px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.main-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


@media (max-width: 768px) {
  .main-banner {
    width: 100%;
    height: auto;      
    min-height: 0;
    overflow: visible;
    margin: 0;
  }

  .main-banner img {
    width: 100%;
    height: auto;      /* 이미지 비율 유지 */
    object-fit: contain; /* ★ 전체 이미지 보이기 모드 */
    object-position: center top; /* 위쪽 기준으로 자연스럽게 */
    display: block;
  }
}


/* index-scroll-gallery */
.scroll-gallery {
  padding: 40px 0 24px;
  background-color: #f5f5f5;
  margin-bottom: 0;
}

.scroll-gallery-text {
  text-align: center;
  padding: 10px 20px 18px;   
  color: #31523c;
}

.scroll-gallery-text h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
}


@media (min-width: 768px) {
  .scroll-gallery-text h2 {
    font-size: 1.9rem;
  }
  .scroll-gallery-text p {
    font-size: 1.1rem;
  }
}

/* index-scroll-swiper */

.scrollSwiper {
  width: 100%;
  padding: 0 10px 20px;       
}

.scrollSwiper .swiper-slide {
  width: auto;
  margin-right: 20px;         
}

.scrollSwiper .swiper-slide:last-child {
  margin-right: 0;
}

.scrollSwiper .swiper-slide img {
  height: 260px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .scrollSwiper .swiper-slide img {
    height: 200px;
  }
}



/* index-parallax-gallery */

.parallax-gallery {
    background: #000;
}

.parallax-item {
    position: relative;
    height: 70vh;
    min-height: 380px;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;  
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .parallax-item {
    background-attachment: scroll;   /* 모바일 fixed 금지 */
    background-position: center center;
  }
}

.parallax-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.parallax-content h2 {
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
}

.parallax-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* PC */
@media (min-width: 768px) {
    .parallax-content h2 {
        font-size: 2.2rem;
    }
    .parallax-content p {
        font-size: 1.1rem;
    }
}



.parallax-img-1 {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("img/1.jpg");
}

.parallax-img-2 {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("img/2.jpg");
}

.parallax-img-3 {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("img/3.jpg");
}

.parallax-img-4 {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("img/scroll4.jpg");
}

.parallax-img-5 {
    background-image:
        linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
        url("img/scroll3.jpg");
}



/* card gallery */
.flip-gallery {
  background: #000;
  padding: 60px 0 80px;
}

.flip-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 3fr 2fr;      
  grid-template-rows: 200px 200px;
  grid-template-areas:
    "a b"
    "c d";
  gap: 12px;
}

/* 퍼즐 위치 지정 */
.flip-card-a { grid-area: a; }
.flip-card-b { grid-area: b; }
.flip-card-c { grid-area: c; }

/* 공통 카드(뒤집기) 스타일 */
.flip-card {
  position: relative;
  perspective: 1000px;   
  cursor: pointer;
}

.flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  backface-visibility: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flip-back {
  background: #111;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.flip-back h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.flip-back p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .flip-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 180px);
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
}

/* 퍼즐형 갤러리 */
.flip-gallery {
  width: 100%;
  display: flex;
  justify-content: center;
}

.flip-masonry {
  display: grid;
  width: 90%;
  max-width: 1600px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  grid-gap: 22px;
  grid-template-areas:
    "wide1 wide1 tall1 square1"
    "square2 wide2 wide2 square3";
}

/* 카드 기본 */
.flip-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  perspective: 1000px;
}

/* 가로 와이드 카드 */
.wide {
  grid-area: wide1;
}
.wide:nth-of-type(5) {
  grid-area: wide2;
}

/* 세로 직사각형 */
.tall {
  grid-area: tall1;
}

.square:nth-of-type(3) {
  grid-area: square1;
}
.square:nth-of-type(4) {
  grid-area: square2;
}
.square:last-of-type {
  grid-area: square3;
}

.flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  background: #111;
  color: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}



/* ----------------- about page ------------------*/

/* about-hero */
.about-hero {
  position: relative;
  width: 100%;
  height: 100vh;                  
  min-height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;

  background-image: url("img/about-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 58, 78, 0.45);  /* 딥블루 톤 오버레이 */
  backdrop-filter: brightness(0.7);
  z-index: 1;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;

  display: flex;               
  flex-direction: column;     
  align-items: center;         
  justify-content: center;     
}

/* HERO 제목 */
.about-hero-inner h1 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  font-weight: 300;
  color: #F5F5F5;   
}

@media (min-width: 767px) {
  .about-hero {
    height: 50vh;
    min-height: 340px;
  }

  .about-hero-inner h1 {
    font-size: 3.4rem;
    letter-spacing: 0.18em;
  }
}



/* about-scroll-reveal*/
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.about-hero-inner .reveal-up:nth-child(1) {
  transition-delay: 0.0s;
}
.about-hero-inner .reveal-up:nth-child(2) {
  transition-delay: 0.15s;
}
.about-sections .about-block:nth-of-type(1) .reveal-up {
  transition-delay: 0.1s;
}
.about-sections .about-block:nth-of-type(2) .reveal-up {
  transition-delay: 0.2s;
}


/* about-intro */
.about-intro {
  padding: 100px 0;
  background: #F5F5F5;   /* 배경 컬러 */
}

.about-intro .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  gap: 50px;
}

.about-intro-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-intro-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(46,58,78,0.18);
  transition: transform .4s ease;
}

.about-intro-photo img:hover {
  transform: scale(1.05);
}

.about-intro-text {
  flex: 2;
}

.about-intro-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin: 0 0 15px;
  color: #2E3A4E;     /* 메인 텍스트 */
}

.about-intro-text p {
  margin: 0 0 15px;
  font-size: 1rem;
  line-height: 1.8;
  color: #2E3A4E;     /* 본문도 동일 톤 */
  opacity: 0.85;
}

.about-intro-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;

  background: #2E3A4E;          /* 기본: 딥블루 */
  color: #F5F5F5;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: 0.3s;
}

.about-intro-button:hover {
  background: #A7D6F1;          /* Hover 시 포인트 컬러 */
  color: #2E3A4E;
  transform: translateY(-2px);
}

/* M 버전*/
@media (max-width: 768px) {
  .about-intro .container {
    flex-direction: column;
    text-align: center;
  }

  .about-intro-photo img {
    width: 220px;
    height: 220px;
  }

  .about-intro-text h2 {
    font-size: 1.6rem;
  }
}


/* about-card-flip */
.about-three-cards {
  padding: 60px 0 80px;
  background: #F5F5F5;      /* 배경 */
}

.three-card-container {
  max-width: 1200px;   
  margin: 0 auto;
  padding: 0 10px;     
}

.three-cards-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  color: #2E3A4E;
  margin-bottom: 40px;
}

/* 카드 3개 가로 배치 */
.three-card-wrap {
  display: flex;
  justify-content: space-between; 
  gap: 16px;                       
}

.flip-card {
  width: 100%;
  cursor: pointer;
  perspective: 1000px;
  position: relative;
}

.flip-inner {
  width: 100%;
  height: 240px;
  transition: transform .8s;
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  backface-visibility: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s ease;
}

.flip-card:hover .flip-front img {
  transform: scale(1.04);
}

/* 뒤집힌 뒷면 */
.flip-back {
  background: #2E3A4E;   /* 기존 #111 → 딥블루 */
  color: #ffffff;
  transform: rotateY(180deg);

  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  text-align: center;

  height: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.flip-back h3 {
  margin: 0 0 6px;
  color: #ffffff;          /* 포인트 */
}

.flip-back p {
  margin: 0;
  color: #E0CAA7;          /* 보조 텍스트 */
}

/* 이미지 아래 텍스트 */
.card-title {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #2E3A4E;
}

/* 모바일 */
@media (max-width: 768px) {
  .three-card-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .flip-inner {
    height: 260px;
  }
}


/* about-timeline */
.about-timeline {
  padding: 60px 0 80px;
  background: #F5F5F5;     /* 타임라인 배경 */
}

.timeline-header {
  text-align: center;
  margin-bottom: 70px;
}

.timeline-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  color: #2E3A4E;
}

.timeline-header p {
  margin: 0;
  font-size: 0.98rem;
  opacity: 0.75;
  color: #2E3A4E;
}

.timeline-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 36px;
}

.timeline-scroll::-webkit-scrollbar {
  height: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 120px 36px; /* 좌우 120px 띄우기 */
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #9dbecf;    /* 보조 컬러 */
  border-radius: 4px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #F5F5F5;
}

.timeline-track {
  position: relative;
  display: flex;
  gap: 70px;
  padding: 20px 60px 10px;
  min-width: max-content;
  height: 420px;
}

.timeline-item {
  width: 220px;

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

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-block {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: #E0CAA7;        /* 보조 컬러 */
  border: 4px solid #2E3A4E;  /* 테두리 딥블루 */
}

.timeline-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.timeline-circle:hover img {
  transform: scale(1.08);
}

.timeline-connector {
  position: relative;
  width: 2px;
  height: 70px;
  background: #2E3A4E;
  margin: 8px 0 4px;
}

.timeline-connector::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2E3A4E;
}

.timeline-text {
  max-width: 230px;
  text-align: center;
}

.timeline-year {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 8px;
  background: #2E3A4E;
  color: #F5F5F5;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.timeline-text p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.6;
  color: #2E3A4E;
  opacity: 0.85;
}

.timeline-item.top .timeline-block {
  justify-content: flex-start;
}

.timeline-item.bottom .timeline-block {
  justify-content: flex-end;
}

/* 모바일 */
@media (max-width: 767px) {
  .timeline-track {
    padding: 20px 24px 10px;
    gap: 40px;
    height: 380px;
  }

  .timeline-circle {
    width: 120px;
    height: 120px;
  }

  .timeline-connector {
    height: 55px;
  }
}


/*---------------- artwork page ------------------*/

.artwork-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  margin-top: 0px; /* 헤더 높이 보정 */

  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)),
    url("img/artwork.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;


  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.artwork-hero-inner {
  max-width: 720px;
  color: #ffffff;
  padding: 0 24px;
}

.artwork-hero-inner h1 {
  margin: 0 0 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.12em;
}

.artwork-hero-inner p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 768px) {
  .artwork-hero {
    /* 강제 높이 없애기 */
    height: auto;
    min-height: 0;

    /* 위아래 여백으로만 배너 높이 만들기 */
    padding: 40px 0 48px;  /* 필요하면 숫자 조금씩 조절 */

    /* 이미지 원본 비율에 최대한 맞게 */
    background-size: contain;       /* 전체가 보이게 */
    background-position: top center;
    background-repeat: no-repeat;
  }

  .artwork-hero-inner h1 {
    font-size: 2rem;
  }

  .artwork-hero-inner p {
    font-size: 0.88rem;
  }
}



/* artwork-feature */
.artwork-feature {
  padding-top: 120px;        
  padding-bottom: 80px;
  background-color: #f5f5f5;
}

.artwork-feature .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-direction: row-reverse; 
}

.artwork-img {
  flex: 1;
  max-width: 480px;
}

.artwork-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 42, 58, 0.16); 
  display: block;
}

.artwork-text {
  flex: 1.2;
}

.artwork-text h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #2E3A4E;
}

.artwork-text p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  color: #2E3A4E;
  opacity: 0.9;
}

.artwork-text .more-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid var(--accent-color);
  background-color: var(--accent-color);
  color: var(--text-bright-color);
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s ease;
}

.artwork-text .more-btn:hover {
  background-color: transparent;
  color: var(--accent-color);
}

/* 모바일 */
@media (max-width: 768px) {

  .artwork-feature {
    padding: 90px 20px 60px;  /* 좌우 패딩 20px로 통일 */
  }

  .artwork-feature .container {
    flex-direction: column;    /* 이미지 → 텍스트 순서 */
    gap: 24px;
    width: 100%;
    padding: 0;
    align-items: flex-start;   /* 왼쪽 정렬 */
    text-align: left;
  }

  /* 이미지 */
  .artwork-img {
    width: 100%;
  }

  .artwork-img img {
    width: 100%;
    border-radius: 12px;       /* 모바일에서 패딩 생기므로 radius 조금 키움 */
  }

  /* 텍스트 */
  .artwork-text {
    width: 100%;
    text-align: left;
  }

  .artwork-text h2 {
    font-size: 22px;
  }

  .artwork-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 버튼 */
  .artwork-text .more-btn {
    margin-left: 0;            /* 왼쪽 정렬 */
  }
}



/* artwork-gallery */
.artwork-gallery {
  background: #f5f5f5; /* 기존 #f8f8f8 → 인트로랑 맞춤 */
}

.artwork-gallery .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 100px;
}

.gallery-heading {
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--dark-main-color); 
}

.gallery-sub {
  margin: 0 0 40px;
  text-align: center;
  font-size: 14px;
  color: #2E3A4E;
  opacity: 0.75;
}

.gallery-block {
  margin-bottom: 60px;
}

.gallery-title {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #7b7f8a;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px;
}

.gallery-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gray-color);
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;      
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-caption {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #2E3A4E;
}


@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* artwork-fade-in = */
.fade-seq {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.fade-seq.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/*------------------ insight page ------------------*/

.insight-main {
  background: #ffffff;
}

/* Main Banner */

.insight-hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 480px;

  /* 헤더 만큼 아래로 */
  margin-top: 60px;
  padding-top: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)),
    url("img/1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.insight-hero-inner {
  max-width: 720px;
  padding: 0 20px;
  color: #fdfdfd;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.insight-label {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.insight-hero-inner h1 {
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.14em;
}

.insight-sub {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* 아래 화살표 버튼 */

.insight-scroll-down {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.insight-scroll-down span {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: insight-bounce 1.3s infinite;
}

@keyframes insight-bounce {
  0%   { transform: translateY(0) rotate(45deg); }
  50%  { transform: translateY(5px) rotate(45deg); }
  100% { transform: translateY(0) rotate(45deg); }
}

/* 모바일 배너 조정 */

@media (max-width: 768px) {
  .insight-hero {
    height: 70vh;
    min-height: 380px;
    margin-top: 0px;
  }

  .insight-hero-inner h1 {
    font-size: 1.9rem;
  }
}


.insight-section {
  padding: 80px 20px;
  background: #ffffff;
}

.insight-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.insight-heading {
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  color: var(--dark-main-color);
  text-align: left;
}

.insight-subtitle {
  margin: 0 0 32px;
  font-size: 14px;
  opacity: 0.8;
}


/* Section 1 */

.insight-feature {
  padding-top: 120px;        
  padding-bottom: 80px;
  background-color: #f8f8f6; 
}

.insight-feature .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-direction: row-reverse; 
}

.insight-img {
  flex: 1;
  max-width: 480px;
}

.insight-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: block;
}

.insight-text {
  flex: 1.2;
}

.insight-text h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: #31523c;
}

.insight-text p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
}

.insight-text .more-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid var(--accent-color);
  background-color: var(--accent-color);
  color: var(--text-bright-color);
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s ease;
}

.insight-text .more-btn:hover {
  background-color: transparent;
  color: var(--accent-color);
}


@media (max-width: 768px) {

  .insight-feature {
    padding-left: 20px;
    padding-right: 20px;   
  }

  .insight-feature .container {
    flex-direction: column; 
    gap: 24px;
    width: 100%;
    padding: 0;             
    text-align: left;
    align-items: flex-start; 
  }

  .insight-img {
    width: 100%;             
  }

  .insight-img img {
    width: 100%;
    border-radius: 12px;     
  }

  .insight-text {
    width: 100%;
    text-align: left;        
  }

  .insight-text .more-btn {
    margin-left: 0;          
  }
}



/* Section 2 : Parallax Cards */

.insight-parallax {
  padding: 80px 0;
  background: #f5f5f7;
}

/* 카드 기본 스타일 (PC 기준) */
.insight-card {
  position: relative;
  max-width: 1200px;
  height: 60vh;
  min-height: 420px;

  margin: 0 auto 48px;
  border-radius: 22px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;

  /* PC에서 패럴럭스 */
  background-attachment: fixed;
}

/* 마지막 카드 아래 여백 제거 */
.insight-card:last-child {
  margin-bottom: 0;
}

/* 어두운 오버레이 */
.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.25)
  );
}

/* 텍스트 박스 */
.insight-card-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 0 32px;
  max-width: 800px;
}

.insight-card-content h2 {
  margin: 0 0 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
}

.insight-card-content p {
  font-size: 1rem;
  line-height: 1.85;
  margin: 0;
}

/* 이미지 배경 */
.insight-bg-1 { background-image: url("img/insight1.jpg"); }
.insight-bg-2 { background-image: url("img/insight2.jpg"); }
.insight-bg-3 { background-image: url("img/insight3.jpg"); }

@media (max-width: 768px) {
  .insight-card {
    height: 55vh;
    min-height: 360px;
    border-radius: 16px;
    margin: 0 16px 36px;

    background-attachment: scroll;  /* ← fixed 삭제 / scroll로 */
    background-position: center center;
  }

  .insight-card-content h2 {
    font-size: 1.4rem;
  }

  .insight-card-content p {
    font-size: 0.85rem;
  }
}


/* Section 3 : 슬라이드 */

.insight-slider-section .insight-slider-header {
  text-align: center !important;
}

.insight-slider-section .insight-heading {
  text-align: center !important;
  margin: 0 auto 12px;
}

.insight-slider-section .insight-subtitle {
  text-align: center;
}



.insight-slider-frame {
  position: relative;
  border-radius: 12px;
  background: #f2f1ec;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  min-height: 180px;
}


.insight-slider-track {
  flex: 1;
  padding: 35px 32px;
  min-height: 100px;
  text-align: center;
}


.insight-slide {
  display: none;
}

.insight-slide.is-active {
  display: block;
}

.insight-slide-quote {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
}

.insight-slide-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
}

/* 좌우 버튼 (원형 없이 화살표만) */

.insight-slider-nav {
  background: none;
  border: none;
  width: auto;
  height: auto;
  padding: 0;
  font-size: 30px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.insight-slider-nav:hover {
  opacity: 0.6;
}

/* 모바일 */

@media (max-width: 768px) {

  /* 슬라이더 박스 고정 높이 */
  .insight-slider-frame {
    padding: 28px 20px;
    min-height: 220px;   
    height: 220px;      
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 텍스트가 넘칠 때 줄바꿈 처리 */
  .insight-slider-track {
    padding: 0 16px;
    overflow: hidden;
  }

  .insight-slide-quote {
    font-size: 1rem;
  }
}



/*------------------ news page ------------------*/


.main-feature {
  padding: 120px 0 80px;           
  background-color: #f8f8f6;
}

.main-feature-block {
  max-width: 1200px;
  margin: 0 auto 60px;             
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 48px;
}

/* 왼쪽 이미지 */
.main-feature-block .feature-img {
  flex: 1;
  max-width: 520px;
}

.main-feature-block .feature-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  display: block;
}

/* 오른쪽 텍스트 */
.main-feature-block .feature-text {
  flex: 1.2;
}

.main-feature-block .feature-title {
  margin: 0 0 18px;
  font-family: "Montserrat", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 20px;                 /* 22 → 20 */
  letter-spacing: 0.16em;          /* 살짝 축소 */
  text-transform: uppercase;
  line-height: 2.1;                /* 행간 더 넓게 */
  color: #222;
}

.main-feature-block .feature-date {
  margin: 0 0 6px;
  font-size: 11px;                 /* 12 → 11 */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777;
  line-height: 1.9;
}

.main-feature-block .feature-source {
  margin: 0 0 24px;
  font-size: 12px;                 /* 13 → 12 */
  color: #666;
  line-height: 2.0;                /* 본문 행간 넉넉히 */
}

/* READ MORE 링크 */
.main-feature-block .feature-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;                 /* 11 → 10 */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-feature-block .feature-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* 반응형 */
@media (max-width: 768px) {
  .main-feature {
    padding: 90px 16px 60px;
  }

  .main-feature-block {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
  }

  .main-feature-block .feature-img,
  .main-feature-block .feature-text {
    max-width: 100%;
  }

  .main-feature-block .feature-text {
    text-align: left;
  }

  .main-feature-block .feature-title {
    font-size: 17px;              /* 모바일도 조금 줄임 */
    letter-spacing: 0.14em;
    line-height: 2.1;
  }
}

.news-list {
  background-color: #f8f8f8;                
}

.news-list .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px 100px;                 
}

/* 상단 타이틀 */
.news-list .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.news-list .section-heading h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", "Pretendard", -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 22px;                 /* 24 → 22 */
  letter-spacing: 0.14em;
  color: #31523c;                             
}

.news-list .section-heading p {
  margin: 0;
  font-size: 13px;                 /* 14 → 13 */
  opacity: 0.8;
}

/* 카드 그리드 */
.news-list .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;            
  gap: 40px;
}

.news-list .news-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-list .news-item a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);
}

/* 썸네일 */
.news-list .news-thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* 텍스트 캡션 */
.news-list .news-caption {
  padding: 22px 24px 26px;
}

.news-list .news-caption .date {
  font-size: 0.65rem;              /* 0.5 → 조금만 키우고 */
  color: #999;
  margin-bottom: 6px;
  line-height: 1.9;
}

.news-list .news-caption .title {
  font-size: 0.95rem;              /* 1.0 → 0.95 */
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 2.1;
}

.news-list .news-caption .excerpt {
  font-size: 0.8rem;               /* 0.85 → 0.8 */
  color: #666;
  line-height: 2.1;
}

/* 반응형 */
@media (max-width: 768px) {
  .main-feature {
    padding: 90px 16px 60px;                 
  }

  .main-feature .container {
    flex-direction: column-reverse;
    gap: 24px;
  }

  .main-feature .feature-img,
  .main-feature .feature-text {
    max-width: 100%;
  }

  .main-feature .feature-text .section-title {
    font-size: 20px;
  }

  .news-list .news-grid {
    grid-template-columns: 1fr;             
  }
}

/*------------------ museum page ------------------*/


.museum-main {
  margin-top: 0px;
  background: #ffffff;
  color: #2E3A4E;
}

/* Hero Section */
.museum-hero {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)),
    url("img/museum1.jpg"); /* 미술관 외관 이미지 넣기 */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  
}

.museum-hero-inner {
  max-width: 700px;
  padding: 0 24px;
}

.museum-hero-inner h1 {
  font-size: 2.4rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.museum-hero-inner p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

/* Info Section */
.museum-info {
  padding: 80px 20px;
}

.museum-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-align: center;
}

.museum-desc {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.8;
  opacity: 0.85;
}

.museum-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

@media (max-width: 768px) {
  .museum-desc {
    font-size: 0.85rem;  
    line-height: 1.6;
    padding: 0 16px;       
  }
}


/* Museum Boxes - Image Hover Cards */

.museum-box {
  position: relative;
  flex: 1;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;

  display: flex;
  flex-direction: column;      /* 제목 위, 내용 아래 */
  align-items: center;
  justify-content: center;
  text-align: center;
}


/* 각 박스별 배경 이미지 지정 (CSS 변수 사용) */
.box-1 { --bg-img: url("img/museum2.jpg"); }
.box-2 { --bg-img: url("img/museum3.jpg"); }
.box-3 { --bg-img: url("img/museum4.jpg"); }


/* 배경 이미지 (기본: 선명) */
.museum-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  filter: blur(0px);
  transform: scale(1.05);          /* 살짝 확대해서 blur 테두리 안 보이게 */
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* 어두운 오버레이 (기본: 없음) */
.museum-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* 텍스트 (기본: 숨김) */
.museum-box h3,
.museum-box p {
  position: relative;
  z-index: 2;
  color: #ffffff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Hover 시: blur + 오버레이 + 텍스트 등장 (PC용) */
.museum-box:hover::before {
  filter: blur(4px);
  transform: scale(1.1);
}

.museum-box:hover::after {
  opacity: 1;
}

.museum-box:hover h3,
.museum-box:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* 텍스트 사이즈 더 작게 */
.museum-box h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.museum-box p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Mobile: hover 없으니까 항상 blur + 텍스트 보이게 */
@media (max-width: 768px) {
  .museum-grid {
    flex-direction: column;
  }

  .museum-box {
    height: 220px;
  }

  .museum-box::before {
    filter: blur(4px);
    transform: scale(1.08);
  }

  .museum-box::after {
    opacity: 0.65;
  }

  .museum-box h3,
  .museum-box p {
    opacity: 1;
    transform: none;
  }

  .museum-box h3 {
    font-size: 1rem;
  }

  .museum-box p {
    font-size: 0.8rem;
  }
}


/* Link Section */
.museum-link {
  padding: 80px 0 40px;
  text-align: center;
}

.museum-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  transition: 0.25s ease;
}

.museum-btn:hover {
  background: #ffffff;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/* Mobile */
@media (max-width: 768px) {
  .museum-hero-inner h1 {
    font-size: 1.8rem;
  }
  .museum-grid {
    flex-direction: column;
  }
}

/* ---------- proposal page (Video Page) ---------- */

/* 섹션 전체 */
.pptx {
  margin-top: 80px;              /* 헤더 높이에 맞춰서 바로 아래에 오게 */
  background: #000;              /* 위·옆 여백이 보일 때 자연스럽게 보이도록 (원하면 삭제) */
}

/* 컨테이너: 가로 100% 사용 */
.pptx .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* 영상 */
.pptx video {
  width: 100%;       /* 브라우저 가로 꽉 채우기 */
  height: 90vh;     /* 화면 높이만큼 채우기 (진짜 '꽉' 차게) */
  object-fit: cover; /* 비율 유지하면서 화면 꽉 채우기, 필요하면 약간 잘릴 수 있음 */
  display: block;
}

/* 데스크톱에서도 같은 규칙 유지 (원래 있던 min-width:768px 버전 필요 없음) */
@media (min-width: 768px) {
  .pptx .container {
    width: 100%;
  }
}




/* ------------ Artwork Detail Page ------------ */

/* 공통: artwork-detail 전체 영역 */
.artwork-detail {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 20px 60px;
  font-family: "Pretendard", sans-serif;
  color: #111;
  margin-top: 70px; /* 헤더에 안 가리도록 여백 */
}

/* Back 버튼 (이미지 위가 아니라 위쪽에 위치) */
.artwork-detail__back {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}

.artwork-detail__back:hover {
  color: #000;
  padding-left: 4px;
}

/* 2컬럼 레이아웃 (PC 기본) */
.artwork-detail__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

/* 이미지 */
.artwork-detail__image-wrap {
  width: 100%;
  border: 1px solid #eaeaea;
  background: #f8f8f8;
  padding: 10px;
}

.artwork-detail__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* 정보 영역 */
.artwork-detail__title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 10px;
}

.artwork-detail__artist {
  font-size: 18px;
  opacity: 0.7;
  margin-bottom: 30px;
}

/* 메타 정보 */
.artwork-detail__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  border-top: 1px solid #eee;
}

.artwork-detail__meta li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.artwork-detail__meta span {
  opacity: 0.6;
}

.artwork-detail__meta strong {
  font-weight: 500;
}

/* 설명 */
.artwork-detail__desc {
  padding-top: 40px;
  border-top: 1px solid #eaeaea;
}

.artwork-detail__desc h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.artwork-detail__desc p {
  line-height: 1.7;
  font-size: 16px;
  opacity: 0.85;
}

/* ---------- Artwork Detail : Mobile (max-width: 768px) ---------- */
@media (max-width: 768px) {

  /* 페이지 전체 */
  .artwork-detail {
    margin-top: 20px;           /* 헤더에 안 가리도록 */
    padding: 32px 16px 40px;     /* 메인 섹션이랑 비슷한 여백 */
    box-sizing: border-box;
  }

  /* Back 링크 */
  .artwork-detail__back {
    display: block;
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* 상단 2컬럼 → 1컬럼 */
  .artwork-detail__container {
    display: block;              /* flex/grid 말고 그냥 블록으로 쌓기 */
  }

  /* 이미지 영역 – 좌우 여백 = 전체와 동일 */
  .artwork-detail__image-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 8px;
    border: 1px solid #eaeaea;
    background: #f8f8f8;
    box-sizing: border-box;
  }

  .artwork-detail__image {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 정보/설명 영역 – 이미지와 같은 폭으로 정렬 */
  .artwork-detail__info,
  .artwork-detail__desc {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding-top: 20px;   /* 기존 40px → 20px */
    margin-top: 0;       /* 혹시 margin이 잡혀 있으면 제거 */
  }

  /* Description 제목과 본문 사이 간격도 줄일 수 있음 */
  .artwork-detail__desc h2 {
    margin-bottom: 10px; /* 기존보다 약간 좁게 */
  }

}
  /* 제목/텍스트 사이즈 조정 */
  .artwork-detail__title {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .artwork-detail__artist {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .artwork-detail__meta li {
    font-size: 14px;
    padding: 8px 0;
  }

  .artwork-detail__desc h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .artwork-detail__desc p {
    font-size: 14px;
    line-height: 1.6;
  }


/* 혹시 다른 데서 가로 스크롤 생기는 거 막기용(선택사항) */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}




