/* =========================================================
    FORUM ARCHIVE SUBPAGE STYLES (PREMIUM TRENDY SPEC)
========================================================= */

.page-archive-forum {
    min-height: 100%;
    padding-bottom: 140px;
    background-color: var(--sub-white);
    color: var(--sub-black);
    word-break: keep-all;
}

.archive-forum-section {
    padding: 0 0 60px;
    position: relative;
    overflow: hidden;
}

.page-archive-forum .sub-hero.sub-pad--hero {
    max-width: none;
    padding-inline: 0;
    padding-top: 0;
}

.page-archive-forum .sub-hero__copy {
    width: 100%;
    max-width: var(--sub-container-max);
    margin-inline: auto;
    padding-inline: var(--sub-container-pad);
    box-sizing: border-box;
}

.page-archive-forum .sub-hero__visual {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    /* 배너 하단 여백 + 구분선 위 margin = --sub-hero-space(다른 서브페이지의 부제 → 구분선 간격). */
    padding-block: 100px calc(var(--sub-hero-space) / 2);
    box-sizing: border-box;
}

.page-archive-forum .sub-hero__visual .sub-hero__banner {
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: 0;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
}

.page-archive-forum .sub-hero__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.72);
}

.page-archive-forum .sub-hero__rule {
    margin: calc(var(--sub-hero-space) / 2) 0 var(--sub-hero-gap);
}

.page-archive-forum .sub-hero__desc {
    /* 폰트 크기/굵기는 공용 값(var(--sub-lead-size), about/forum의 리드 문단과 동일)을
       그대로 쓰고, 여기서는 레이아웃만 조정한다. 공용 max-width(640px) 때문에
       문장이 어중간한 지점에서 줄바꿈되던 것을 없앤다 — 데스크톱/태블릿 컨테이너
       폭이면 한 줄로 충분히 들어간다. */
    max-width: none;
    white-space: nowrap;
}

html[lang="en"] .page-archive-exchange .sub-hero__desc {
    max-width: none;
    white-space: normal;
    word-break: normal;
}

.page-archive-forum .archive-forum-section__more {
    margin-top: 48px;
    margin-bottom: 72px;
}

/* Background Soft Atmosphere */
.archive-forum-section__circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.archive-forum-section__circle--one {
    top: 40px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(227, 49, 49, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.archive-forum-section__circle--two {
    bottom: 100px;
    left: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(34, 85, 158, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* =========================================================
    FORUM ARCHIVE LIST LAYOUT
    (.archive-forum-section__more, .btn-archive-pill은
    archive-exhibition에서도 재사용해 css/sub/common.css로 이동함)
========================================================= */

.archive-forum-list,
.archive-forum-panels {
    display: flex;
    flex-direction: column;
    gap: 120px;
    position: relative;
    z-index: 1;
}

.archive-forum-item,
.archive-forum-panel {
    position: relative;
}

/* 연도 전환 애니메이션 (js/sub/archive-forum.js와 짝):
   1) 기존 패널: is-visible 제거 + is-leaving 부여 → 살짝 위로/축소되며 빠르게 사라짐
   2) 260ms 후 hidden 부여, 140ms 뒤 새 패널이 아래에서 살짝 떠오르며 천천히 등장
   등장은 느긋한 ease-out, 퇴장은 빠른 ease-in으로 나눠 "툭" 끊기지 않고
   자연스럽게 이어지는 느낌을 준다. */
.archive-forum-panel {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-forum-panel.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.archive-forum-panel.is-leaving {
    opacity: 0;
    transform: translateY(-10px) scale(0.99);
    transition:
        opacity 0.26s cubic-bezier(0.4, 0, 1, 1),
        transform 0.26s cubic-bezier(0.4, 0, 1, 1);
}

@media (prefers-reduced-motion: reduce) {
    .archive-forum-panel,
    .archive-forum-panel.is-visible,
    .archive-forum-panel.is-leaving {
        transition: none;
        transform: none;
    }
}

/* =========================================================
    YEAR STEPPER (넘버드 스텝퍼: 탭 클릭 시 JS가 아래 패널의 hidden 속성을 토글,
    구조/셀렉터는 기존 필박스 탭과 동일하게 유지 — js/sub/archive-forum.js 변경 없음)
========================================================= */

.archive-forum-tabs {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 56px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
    padding-top: 4px;
}

.archive-forum-tabs::-webkit-scrollbar {
    display: none;
}

.archive-forum-tabs__tab {
    position: relative;
    flex: 1 0 96px;
    appearance: none;
    border: 0;
    background-color: transparent;
    color: var(--sub-gray, #555555);
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 6px 30px;
}

/* 스텝 사이를 잇는 가로선 (스텝 하나당 절반씩 담당해 전체가 한 줄로 이어지도록) */
.archive-forum-tabs__tab::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 2px;
    background-color: var(--sub-line);
    z-index: 0;
}

.archive-forum-tabs__tab:first-child::before {
    left: 50%;
}

.archive-forum-tabs__tab:last-child::before {
    right: 50%;
}

/* 도트 마커 */
.archive-forum-tabs__tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--sub-line);
    border: 2px solid var(--sub-white);
    transform: translate(-50%, 50%);
    z-index: 1;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-forum-tabs__order {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--sub-muted, #666c76);
    transition: color 0.25s ease;
}

.archive-forum-tabs__year {
    /* 활성화 시 font-size가 20px→23px로 커지면서 버튼 박스 높이가 미세하게 변해
       바닥에 붙는 연결선(::before/::after, bottom:10px 기준)이 그 지점에서만
       어긋나 끊겨 보였다. line-height를 두 상태 공통의 고정값으로 못박아
       박스 높이 자체가 바뀌지 않도록 한다. */
    display: inline-block;
    line-height: 28px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--sub-gray, #555555);
    transition: color 0.25s ease, font-size 0.25s ease;
}

.archive-forum-tabs__tab:hover .archive-forum-tabs__year {
    color: var(--sub-red);
}

/* 활성 스텝: 굵은 텍스트 + 큰 dot + 시작 지점부터 여기까지 라인 채움 */
.archive-forum-tabs__tab.is-active .archive-forum-tabs__order {
    color: var(--sub-red);
}

.archive-forum-tabs__tab.is-active .archive-forum-tabs__year {
    color: var(--sub-red);
    font-size: 23px;
    font-weight: 800;
    line-height: 28px;
}

.archive-forum-tabs__tab.is-active::after {
    width: 12px;
    height: 12px;
    background-color: var(--sub-red);
}

/* 화면 표시는 최신 연도가 좌측이지만, 진행선은 "2020(1회)부터 차오르는" 의미여야 하므로
   활성 탭보다 DOM 상 뒤에 오는(= 연도가 더 이른) 탭들을 채운다. */
.archive-forum-tabs__tab.is-active::before,
.archive-forum-tabs__tab.is-active ~ .archive-forum-tabs__tab::before {
    background-color: var(--sub-red);
}

/* =========================================================
    ITEM SLOGAN (제목 바로 아래 보조 한 줄)
========================================================= */

.archive-forum-item__slogan {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--sub-gray, #4b5563);
    margin: 0;
    word-break: keep-all;
}

.archive-forum-item__grid {
    display: grid;
    /* archive-exchange와 동일한 포스터 크기로 통일 */
    grid-template-columns: 460px minmax(0, 460px);
    gap: 100px;
    /* "2025 한-아세안 문화혁신 포럼" 줄이 포스터 최상단과 맞도록 위쪽 정렬한다. */
    align-items: start;
    /* 텍스트 컬럼이 컨테이너 남은 폭을 억지로 다 채우지 않도록 히어로 행 자체의 폭을
       제한한다 — 그래야 포스터+텍스트가 좌측에 옹기종기 몰린 것처럼 보이지 않고
       그 자체로 균형 잡힌 하나의 블록으로 보인다. 아래 "관련 기록"은 별도 풀와이드 섹션. */
    max-width: 1120px;
    /* 히어로 블록 자체를 페이지 중앙에 배치 (예시 이미지처럼 좌측에 쏠리지 않도록) */
    margin-inline: auto;
    position: relative;
}

/* 포스터를 감싸는 래퍼: 장식 연도 숫자를 포스터 좌/우 바깥쪽에 완전히 붙여 배치하기 위한 기준점.
   포스터 자체는 overflow:hidden이라 숫자를 포스터 안에 넣으면 잘리므로 래퍼에 둔다. */
.archive-forum-item__poster-wrap {
    position: relative;
}

/* 포스터 좌/우 바깥에 붙는 대형 장식 연도 숫자 (앞 2자리 = 좌측 위, 뒤 2자리 = 우측 아래,
   대각선으로 배치해 예시 이미지처럼 생동감을 준다). 우측 정보와 겹치지 않도록
   .archive-forum-item__grid의 gap을 충분히 넓혀둔 상태와 짝을 이룬다. */
.archive-forum-item__deco-year {
    position: absolute;
    z-index: 0;
    font-size: clamp(64px, 7vw, 112px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--sub-red-soft);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.archive-forum-item__deco-year--start {
    right: 100%;
    margin-right: 10px;
    top: 22%;
    transform: translateY(-50%);
}

.archive-forum-item__deco-year--end {
    left: 100%;
    top: 82%;
    transform: translateY(-50%);
    margin-left: 10px;
}

/* Poster Card */
.archive-forum-item__poster {
    width: 100%;
    /* 포스터 이미지 실제 비율대로 높이가 정해지도록 고정 aspect-ratio를 쓰지 않는다
       (일부 포스터 파일이 다른 파일보다 비율이 달라 고정 박스+object-fit:cover를 쓰면
       빈 여백이 생기거나 내용이 잘렸다). */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    background-color: #f9fafb;
    border: 1px solid var(--sub-line);
    position: relative;
    z-index: 1;
}

.archive-forum-item__poster img {
    display: block;
    width: 100%;
    height: auto;
}

/* Content Area */
.archive-forum-item__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}

/* 헤더 그룹과 메타 정보 사이 짧은 구분선: 붉은 포인트에서 옅어지는 가는 라인 */
.archive-forum-item__divider {
    display: block;
    width: 56px;
    height: 2px;
    background: linear-gradient(to right, var(--sub-red), rgba(227, 49, 49, 0));
}

.archive-forum-item__header-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 연도 표기는 큰 붉은 숫자 대신, 절제된 트래킹의 스몰캡 아이바로우로 처리한다
   (포스터 옆 대형 장식 숫자와 중복되지 않도록). */
.archive-forum-item__year-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--sub-gray, #4b5563);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* DB 부제에 줄바꿈이 있으면 연도 아래로 나머지 문구를 내린다 */
.archive-forum-item__year-label--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.archive-forum-item__year {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--sub-red);
}

.archive-forum-item__title {
    font-size: clamp(30px, 2.9vw, 44px);
    font-weight: 800;
    line-height: 1.28;
    color: var(--sub-black);
    letter-spacing: -0.03em;
    margin: 2px 0 0;
    word-break: keep-all;
    overflow-wrap: break-word;
    transition: color 0.25s ease;
}

.archive-forum-item__slogan {
    font-weight: 600;
}

/* Meta Information Area (아이콘 + 라벨/값 구성, 절제된 선형 아이콘) */
.archive-forum-item__meta {
    display: flex;
    flex-direction: column;
    /* 날짜/장소 두 줄 사이 간격을 조금 더 확실하게 벌린다 */
    gap: 28px;
}

.archive-forum-meta-row {
    display: flex;
    /* 장소 텍스트가 길어 여러 줄로 줄바꿈되면 center 정렬 시 아이콘이 전체 높이의
       가운데로 밀려나 라벨/첫 줄과 따로 떨어져 보였다. 첫 줄 기준으로 위쪽 정렬한다. */
    align-items: flex-start;
    gap: 16px;
}

.archive-forum-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    font-size: 20px;
    color: var(--sub-red);
    /* 위쪽 정렬 시 라벨 텍스트의 첫 줄 캡하이트와 광학적으로 맞춘다 */
    margin-top: 2px;
}

.archive-forum-meta-text {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.archive-forum-meta-label {
    color: var(--sub-muted, #666c76);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex-shrink: 0;
    width: 72px;
}

.archive-forum-meta-val {
    color: var(--sub-black);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    word-break: keep-all;
    /* 장소 등 DB에 저장된 줄바꿈(\n)을 그대로 표시한다 */
    white-space: pre-line;
}

/* =========================================================
    ACTION BUTTONS (BROCHURE, VIDEO, VIEW MORE, WEBSITE)
    참고: .archive-forum-actions는 archive-concert/archive-exhibition 페이지 삭제 후
    현재 공개 페이지에서 쓰이지 않는다(.btn-archive-website 본체는 common.css)
    (/archive-forum 자체는 아래 __cta-row/__cta, __records 마크업으로 대체됨).
========================================================= */

.archive-forum-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: auto;
}

.page-archive-forum .archive-forum-actions .btn-archive-pill,
.archive-forum-actions .btn-archive-website {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
}

.page-archive-forum .archive-forum-section__more .btn-archive-pill,
.page-archive-forum .archive-forum-actions .btn-archive-pill {
    font-size: 16px;
    padding: 13px 28px;
    min-height: 48px;
}

.page-archive-forum .archive-forum-section__more .btn-archive-pill i,
.page-archive-forum .archive-forum-actions .btn-archive-pill i {
    font-size: 17px;
}

/* =========================================================
    /archive-forum 전용: 단일 다크 CTA 버튼 (website_url)
    (기존 flat 액션 버튼 행을 대체, "포럼 상세보기 →" 스타일)
========================================================= */

.archive-forum-item__cta-row {
    /* 관련 기록이 콘텐츠 컬럼 안으로 들어오면서 자연스러운 세로 흐름을 따르도록,
       하단 고정(margin-top:auto) 대신 일반 흐름으로 둔다. */
}

.archive-forum-item__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border: 0;
    border-radius: 8px;
    background-color: var(--sub-black);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    white-space: nowrap;
    width: fit-content;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-forum-item__cta i {
    font-size: 15px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.archive-forum-item__cta:hover {
    background-color: var(--sub-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.2);
}

.archive-forum-item__cta:hover i {
    transform: translate(3px, 0);
}

/* =========================================================
    RELATED RECORDS (관련 기록 4개 아이콘 카드)
========================================================= */

.archive-forum-records {
    /* 히어로(포스터+텍스트) 행과 별개의 풀와이드 섹션 */
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--sub-line);
    position: relative;
    z-index: 1;
    /* --sub-mint 기반 로컬 소프트 틴트 (갤러리 카드 전용, common.css는 건드리지 않음) */
    --archive-forum-mint-soft: rgba(117, 229, 193, 0.16);
}

.archive-forum-records__intro {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.archive-forum-records__eyebrow {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--sub-red);
    text-transform: uppercase;
}

.archive-forum-records__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--sub-black);
    letter-spacing: -0.02em;
    margin: 0;
}

/* notice의 `.notice-content p`와 같은 본문 톤(크기/굵기/줄간격). */
.archive-forum-records__desc {
    font-size: var(--sub-body-size);
    line-height: 1.75;
    color: var(--sub-gray, #555555);
    margin: 0 0 32px;
    max-width: 680px;
    word-break: keep-all;
}

.archive-forum-records__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 후속회의 카드가 붙는 연도(2024·2025)는 데스크톱에서 5열로 한 줄 유지.
   1320px 이하에서는 아래 미디어쿼리의 2열/1열 규칙이 그대로 적용된다. */
.archive-forum-records__grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.archive-forum-records__card {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    background-color: transparent;
    border: 0;
    border-left: 1px solid var(--sub-line);
    padding: 0 24px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-forum-records__grid > .archive-forum-records__card:first-child {
    border-left: 0;
    padding-left: 0;
}

.archive-forum-records__card:hover {
    transform: translateY(-2px);
}

.archive-forum-records__card:hover .archive-forum-records__icon {
    transform: scale(1.08);
}

.archive-forum-records__card:hover .archive-forum-records__card-title {
    color: var(--sub-red);
}

.archive-forum-records__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 4px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-forum-records__icon--program {
    background-color: var(--sub-red-soft);
    color: var(--sub-red);
}

.archive-forum-records__icon--speakers {
    background-color: var(--sub-blue-soft);
    color: var(--sub-blue);
}

/* --sub-yellow(#f8f400)는 배경으로 그대로 쓰기엔 대비가 약해 텍스트/아이콘 색으로만 쓰고
   배경은 --sub-yellow-soft를 사용한다 (가독성 우선 판단). */
.archive-forum-records__icon--content {
    background-color: var(--sub-yellow-soft);
    color: #a68b00;
}

.archive-forum-records__icon--gallery {
    background-color: var(--archive-forum-mint-soft);
    color: #1f9c78;
}

.archive-forum-records__icon--follow-up {
    background-color: var(--sub-red-soft);
    color: var(--sub-red);
}

.archive-forum-records__card-title {
    font-size: 21px;
    font-weight: 800;
    color: var(--sub-black);
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

/* about의 `.about-program-item p`, archive-cooperation의 `.support-project-types__description`과
   같은 카드 설명 톤(크기/굵기). */
.archive-forum-records__card-desc {
    font-size: var(--sub-body-size);
    line-height: 1.8;
    color: var(--sub-gray, #555555);
    word-break: keep-all;
    flex-grow: 1;
}

.archive-forum-records__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sub-red);
    margin-top: 4px;
}

.archive-forum-records__card-cta i {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.archive-forum-records__card:hover .archive-forum-records__card-cta i {
    transform: translateX(3px);
}

.archive-forum-records__card--button {
    font-family: inherit;
    color: inherit;
}

/* =========================================================
    RESPONSIVE RULES
========================================================= */

/* 태블릿 (~1320px) */
@media (max-width: 1320px) {
    .page-archive-forum .sub-hero__desc {
        /* 태블릿 이하에서는 억지로 한 줄에 밀어넣지 않고 자연스럽게 줄바꿈한다.
           "& Innovation"처럼 어색한 지점에서 끊기는 것만 lang 파일의 &nbsp;로 방지한다. */
        white-space: normal;
        max-width: 640px;
    }

    .archive-forum-section {
        padding: 0 0 40px;
    }

    .archive-forum-list,
    .archive-forum-panels {
        gap: 50px;
    }

    .archive-forum-tabs {
        margin-bottom: 32px;
    }

    .archive-forum-records {
        margin-top: 48px;
        padding-top: 36px;
    }

    .archive-forum-records__grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 28px;
    }

    .archive-forum-records__card {
        border-left: 0;
        padding-left: 0;
    }

    .archive-forum-records__grid > .archive-forum-records__card:nth-child(n+3) {
        border-top: 1px solid var(--sub-line);
        padding-top: 24px;
    }

    .archive-forum-item__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: none;
    }

    .archive-forum-item__deco-year {
        display: none;
    }

    .archive-forum-item__poster-wrap {
        max-width: 440px;
        margin-inline: auto;
    }

    .archive-forum-item__content {
        gap: 28px;
        border-top: 0;
        padding-top: 20px;
        border-bottom: 2px solid var(--sub-red);
        padding-bottom: 52px;
    }

    .page-archive-forum .archive-forum-section__more .btn-archive-pill {
        font-size: 14px;
        padding: 11px 20px;
        min-height: 44px;
    }
}

/* 모바일 (~500px) */
@media (max-width: 500px) {
    .page-archive-forum .sub-hero__visual {
        padding-top: 60px;
    }

    .page-archive-forum .archive-forum-section__more {
        margin-bottom: 40px;
        justify-content: stretch;
    }

    .archive-forum-section__more .btn-archive-pill {
        width: 100%;
    }

    .archive-forum-list,
    .archive-forum-panels {
        gap: 50px;
    }

    .archive-forum-tabs {
        margin-bottom: 24px;
        gap: 6px;
    }

    .archive-forum-tabs__tab {
        flex: 0 0 76px;
        padding-bottom: 24px;
    }

    .archive-forum-tabs__order {
        font-size: 11px;
    }

    .archive-forum-tabs__year {
        font-size: 16px;
        line-height: 22px;
    }

    .archive-forum-tabs__tab.is-active .archive-forum-tabs__year {
        font-size: 18px;
        line-height: 22px;
    }

    .archive-forum-item__title {
        font-size: 26px;
    }

    .archive-forum-item__slogan {
        font-size: 16px;
    }

    .archive-forum-item__cta {
        width: 100%;
    }

    .archive-forum-records {
        margin-top: 40px;
        padding-top: 28px;
    }

    .archive-forum-records__title {
        font-size: 22px;
    }

    .archive-forum-records__desc {
        margin-bottom: 24px;
    }

    .archive-forum-records__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .archive-forum-records__card,
    .archive-forum-records__grid > .archive-forum-records__card:nth-child(n+3) {
        border-left: 0;
        padding: 0;
    }

    .archive-forum-records__grid > .archive-forum-records__card:not(:first-child) {
        border-top: 1px solid var(--sub-line);
        padding-top: 20px;
    }

    .archive-forum-actions {
        width: 100%;
        justify-content: stretch;
    }

    .page-archive-forum .archive-forum-actions .btn-archive-pill,
    .archive-forum-actions .btn-archive-website {
        flex: 1 1 100%;
        width: 100%;
        white-space: nowrap;
        font-size: 16px;
        padding: 13px 28px;
        min-height: 48px;
    }

    .page-archive-forum .archive-forum-actions .btn-archive-pill i,
    .archive-forum-actions .btn-archive-website i {
        font-size: 17px;
    }

    .btn-archive-pill {
        width: 100%;
    }
}
