/* ── Sticky 2-Row Tab Bar ───────────────────────── */
.author-tabs{
  position:sticky;
  top:64px;
  z-index:100;
  background:var(--c-gray-100);
  width: 100%;
}
.author-main-tabs{
  height: 52px;
}
.author-main-tabs,
.author-sub-tabs{
  display:flex;
  max-width: 1280px;
  margin: auto;
  gap:.25rem;
  /* padding:0 1rem; */
}
.author-sub-tab-set{
  display:flex;
  flex-direction: column;
  justify-content: center;
}

/* 메인탭 ============================== */
.author-main-tab{
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 16px;
  font-weight:600;
  color:var(--c-gray-800);
  background:none;
  cursor:pointer;
  border: none;
  transition:color .2s ease;
}
.author-main-tab.is-active{
  color:var(--c-pink);
  font-weight:800;
}

/* 서브탭 ============================== */
.author-sub-tabs{
  height: 48px;
}
.author-sub-tab-set{ 
  display:none; 
  height: 100%;
}
.author-sub-tab-set.is-active{ 
  display:flex; 
  flex-wrap:wrap; 
}
.author-sub-tab{
  padding: 10px 20px;
  font-size:16px;
  color:var(--c-gray-500);
  font-weight: 600;
  background:none;
  border:0;
  cursor:pointer;
  transition:color .2s ease;
}
.author-sub-tab.is-active{
  color:var(--c-white);
  background: var(--c-pink);
  font-weight:800;
  border-radius: 4px;
}

/* ── 콘텐츠 영역 ─────────────────────── */
.author-contents{
  margin-top: -80px; /* 헤더 높이 보정 */
  padding-top: 50px;
  min-height: calc(100vh - 436px); /* 빈 콘텐츠 대비 최소값 */
}
.author-main{ 
  display:none; 
}
.author-main.is-active{ 
  display:block; 
}
.author-sub-section{ 
  display:none; 
}
.author-sub-section.is-active{ 
  display:block; 
}
/* 1) 섹션을 멀티컬럼 레이아웃으로 전환 */
.author-sub-section{
}

/* 5) 반응형 – 태블릿 이하 한 열 */
@media (max-width: 768px){
  .author-contents{
    padding-top: 30px;
  }
  .author-sub-tabs{
    margin: 0 10px;
    overflow-x: auto;          /* 가로 스크롤 활성화 */
    scroll-snap-type: x proximity;   /* 가로로 근접 스냅 */
    /* -webkit-overflow-scrolling: touch;  */
  }
  .author-sub-section{ 
    column-count: 1;
  }
  .author-sub-tab {
    scroll-snap-align: start;  /* 왼쪽 맞춤으로 스냅 */
  }
}


/* ── 세부 콘텐츠 영역 (추천작가) ─────────────────────── */
.author-hero {
  margin: auto;
  max-width: 1280px;
  text-align: center;
  margin-bottom: 80px;
}
.author-hero .hidden{
  display: none;
}
.author-hero .highlight{
  color: var(--c-pink);
  font-weight: 700;
}
.author-hero .hero-bg {
  position: relative;
  width:100%;
  height: 800px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin: auto;
  overflow: hidden;   /* 프레임 고정 */
}
.author-hero .hero-content h1 {
  color: var(--c-pink);
  font-family: var(--ff-en), var(--ff-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02rem;
  margin: 80px 0;
  margin-bottom: 30px;
  /* opacity: 0.5; */
}
.author-hero .hero-content h2 {
  color: var(--c-gray-800);
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}
.author-hero .hero-content p {
  color: var(--c-gray-600);
  font-size: 24px;
  font-weight: 400;
  margin: 10px 0 0 0;
}
.author-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.author-section {
  flex : 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
  padding: 40px;
  background: var(--c-gray-100);
  border: 1px solid var(--c-gray-300);
  border-radius: 8px;
}
.author-card {
  display: flex;
  align-items: center;
  /* padding: 0 24px; */
  gap: 24px;
  min-width: 240px;
}
.author-profile {
  width: 160px;
  height: 160px;
  border-radius: 100px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.author-info h3 {
  color: var(--c-gray-800);
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 8px 0;
}
.author-info p {
  color: var(--c-gray-500);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  text-align: justify;     /* 양쪽 끝 맞춤 */
  text-align-last: left;   /* 마지막 줄은 왼쪽 정렬(옵션) */
}
.author-image-card {
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  height: 380px;
}
.author-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.interview-section {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  gap: 20px;
}
.interview-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.interview-title .main-title {
  color: var(--c-pink);
  font-size: 32px;
  font-weight: 800;
}
.interview-title .sub-title {
  color: var(--c-gray-300);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}
.interview-qa {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.interview-q, .interview-a {
  display: flex;
  align-items: center;
  font-family: var(--ff-en);
  font-weight: 800;
  gap: 24px;
}
.q-icon, .a-icon {
  font-family: var(--ff-en);
  font-size: 62px;
  color: var(--c-gray-300);
  min-width: 64px;
  text-align: left;
  display: flex;
  opacity: 0.5;
  line-height: 1.2;
}
.q-text {
  font-family: var(--ff-display);
  color: var(--c-gray-800);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02rem;
  line-height: 1.5;
}
.a-text {
  font-family: var(--ff-display);
  color: var(--c-gray-500);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.02rem;
  text-align: justify;     /* 양쪽 끝 맞춤 */
  text-align-last: left;   /* 마지막 줄은 왼쪽 정렬(옵션) */
  line-height: 1.5;
}

@media (max-width:768px){
  .author-hero {
    width: 100%;
    margin-top: -30px;
    margin-bottom: 80px;
  }
  .author-hero .hidden{
    display: block;
  }
  .author-hero .hero-bg {
    height: 420px;
    border-radius: 0px;
  }
  .author-hero .hero-content h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 80px 0;
    margin-bottom: 30px;
  }
  .author-hero .hero-content h2 {
    font-size: 24px;
  }
  .author-hero .hero-content p {
    font-size: 18px;
  }
  .author-list {
    flex-direction: column;
    gap: 20px;
  }
  .author-section {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }
  .author-card {
    flex-direction: column;
  }
  .author-profile {
    width: 180px;
    height: 180px;
  }
  .q-icon,
  .a-icon {
    display: none;
  }
  .q-text {
  margin: 10px 0;
  }

}

/* ── 세부 콘텐츠 영역 (자비출판) ─────────────────────── */
.self-list.container{
  padding: 0;
}
.self-list{
  display: flex;
  flex-direction: column;
  /* gap: 40px; */
}  
.self-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 80px;
  margin: 0;
}
.self-content .section__title{
  padding-top: 10px;
}
.self-content .section__title::before{
  content: "";
  position: absolute;
  height: 4px;
  width: 35px;
  background: var(--c-pink);
  top: 0;
  left: 0;
}
.self-content .vs{
  font-weight: 800;
  color: var(--c-gray-300);
}
.self-content .vs-pc{
  display: block;
}
.self-content .vs-mo{
  display: none;
}
.self-cards{
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* flex-wrap: wrap; */
  /* justify-content: center; */
}
.self-card{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}
.self-card-img{
  flex: 0.9;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  /* margin-bottom: 16px; */
}
.self-card-content{
  flex: 2.1;
  /* padding-top: 10px; */
}
.self-card-content h3{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px 0;
  color: var(--c-gray-800);
}
.self-card-content ul{
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  padding-left: 20px;
  color: var(--c-gray-600);
}

@media (max-width:768px){
  .self-content{
    padding: 40px 20px;

  }
  .self-content .vs-pc{
    display: none;
  }
  .self-content .vs-mo{
    display: block;
  }
  .self-cards{
    gap: 40px;
  }
  .self-card{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .self-card-img{
    flex: none;
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
  }
  .self-card-content{
    flex: none;
    /* padding-top: 10px; */
  }
  .self-card-content h3{
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 8px 0;
    color: var(--c-gray-800);
  }
  .self-card-content ul{
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-align: justify;     /* 양쪽 끝 맞춤 */
    text-align-last: left;   /* 마지막 줄은 왼쪽 정렬(옵션) */
  }
  .self-card-content li{
    margin-bottom: 6px;
  }

}