/* =============================================
   sub.css | 협신포장 서브 공통 + 회사소개
   작성일: 2026-03
   ============================================= */

/* =============================================
   SUB HERO
   ============================================= */
#sub-hero {position: relative; width: 100%; height:70vh; display: flex; align-items: flex-end; justify-content: flex-start; overflow: hidden;}
#sub-hero .sub-hero__bg {position: absolute; inset: 0; z-index: 0;}
#sub-hero .sub-hero__bg .sub-hero__img {width: 100%; height: 120%; object-fit: cover; object-position: center; will-change: transform, opacity;}
#sub-hero .sub-hero__bg .sub-hero__overlay {position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,10,40,0.52) 0%, rgba(5,10,40,0.20) 50%, rgba(5,10,40,0.05) 100%);}
#sub-hero .sub-hero__ctn {position: relative; z-index: 1; width: 100%; max-width: var(--inner-width); margin: 0 auto; padding: 0 var(--inner-pad) 60px; text-align: left; display: flex; flex-direction: column; align-items: flex-start;}
#sub-hero .sub-hero__sub {color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 400; margin-bottom: 14px;}
#sub-hero .sub-hero__title {color: var(--color-white); font-size: clamp(36px, 4.5vw, 68px); font-weight: 700; line-height: 1.15; margin-bottom: 24px;}
#sub-hero .sub-hero__breadcrumb ol {display: flex; align-items: center; gap: 0; list-style: none;}
#sub-hero .sub-hero__breadcrumb {display: inline-flex; background: rgba(255,255,255,0.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.14); border-radius: 999px; padding: 6px 16px;}
#sub-hero .sub-hero__breadcrumb li {font-size: 12px; color: rgba(255,255,255,0.50); display: flex; align-items: center;}
#sub-hero .sub-hero__breadcrumb li a {color: rgba(255,255,255,0.50); transition: color var(--transition); padding: 0 8px;}
#sub-hero .sub-hero__breadcrumb li a:hover {color: var(--color-accent);}
#sub-hero .sub-hero__breadcrumb li span {color: rgba(255,255,255,0.25); font-size: 10px; padding: 0 2px;}
#sub-hero .sub-hero__breadcrumb li[aria-current="page"] {color:#fff; padding: 0 8px; font-weight: 600;}

/* =============================================
   SUB01 : 회사 연혁
   ============================================= */
#sub01 {padding: 100px 0 140px; background: #f4f6fb;}

/* 헤더 */
#sub01 .sub01__head {text-align: center; margin-bottom: 80px;}
#sub01 .sub01__label {display: inline-block; color: var(--color-accent); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; position: relative; padding: 0 20px;}
#sub01 .sub01__label::before {content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--color-accent);}
#sub01 .sub01__label::after  {content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 1px; background: var(--color-accent);}
#sub01 .title {font-size: clamp(24px, 2.4vw, 38px); font-weight: 700; color: var(--color-text); margin-bottom: 18px;}
#sub01 .sub01__desc {color: var(--color-text-light); font-size:18px; line-height: 1.9;}

/* ── 타임라인 컨테이너 ── */
.timeline {position: relative; max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 0;}

/* 세로 중앙선 */
.timeline::before {content: ''; position: absolute; left: 120px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, #c8d3e8 5%, #c8d3e8 95%, transparent); z-index: 0;}

/* ── 행 공통 ── */
.timeline__row {display: grid; grid-template-columns: 120px 1fr; gap: 0; position: relative; padding: 12px 0;}

/* 뱃지 (연도) */
.timeline__badge {display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; padding: 4px 28px 0 0; position: relative;}
.timeline__badge-year {font-size: 20px; font-weight: 700; color: var(--color-primary); line-height: 1; white-space: nowrap;}
.timeline__badge-label {font-size: 11px; color: var(--color-accent); font-weight: 600; margin-top: 4px; letter-spacing: 0.08em;}
/* 뱃지 연결 점 */
.timeline__badge::after {content: ''; position: absolute; right: -5px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-white); border: 2px solid #c8d3e8; z-index: 1;}
.timeline__row--featured .timeline__badge-year {color: var(--color-accent); font-size: 24px;}
.timeline__row--featured .timeline__badge::after {background: var(--color-accent); border-color: var(--color-accent); width: 14px; height: 14px; right: -7px; top: 6px;}

/* ── 카드 목록 ── */
.timeline__cards {display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 0 0 20px 32px;}

/* ── 카드 기본 ── */
.timeline__card {background: var(--color-white); border-radius: 14px; padding: 20px; display: flex; align-items: flex-start; gap: 14px; box-shadow: 0 2px 12px rgba(26,46,110,0.07); border: 1px solid rgba(26,46,110,0.06); transition: transform 0.25s ease, box-shadow 0.25s ease;}
.timeline__card:hover {transform: translateY(-4px); box-shadow: 0 8px 28px rgba(26,46,110,0.13);}
.timeline__card-icon {flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: #f0f3fa; display: flex; align-items: center; justify-content: center;}
.timeline__card-body {flex: 1;}
.timeline__date {display: inline-block; font-size: 11px; font-weight: 600; color: var(--color-accent); letter-spacing: 0.06em; margin-bottom: 6px;}
.timeline__txt {font-size: 14px; color: var(--color-text); line-height: 1.65;}
.timeline__txt strong {color: var(--color-secondary); font-weight: 700;}
.timeline__txt small {font-size: 12px; color: var(--color-text-light);}

/* ── 설립 강조 카드 ── */
.timeline__row--featured .timeline__card.timeline__card--origin {background: linear-gradient(135deg, var(--color-primary) 0%, #2b4bb3 100%); border: none; box-shadow: 0 8px 32px rgba(26,46,110,0.28); padding: 28px 24px; width: 100%; max-width: 480px; margin-left: 32px;}
.timeline__card--origin .timeline__card-icon {background: rgba(255,255,255,0.12);}
.timeline__card--origin .timeline__date {color: var(--color-accent);}
.timeline__card--origin .timeline__txt {color: var(--color-white); font-size: 15px;}
.timeline__card--origin .timeline__txt strong {color: #fff; font-size: 17px;}
.timeline__card--origin:hover {transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,46,110,0.36);}

/* ── 매출 강조 배너 ── */
.timeline__row--highlight .timeline__badge-year {color: var(--color-primary);}
.timeline__card--stat {background: linear-gradient(135deg, #e8a020 0%, #f4b942 100%); border: none; margin-left: 32px; padding: 24px 36px; display: flex; align-items: center; gap: 20px; box-shadow: 0 6px 24px rgba(232,160,32,0.35);}
.timeline__card--stat:hover {box-shadow: 0 12px 36px rgba(232,160,32,0.45);}
.timeline__stat-num {font-size: 52px; font-weight: 900; color: var(--color-white); line-height: 1;}
.timeline__stat-num span {font-size: 24px; font-weight: 700;}
.timeline__stat-txt {font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.90);}

/* ── 인증 배너 ── */
.timeline__row--cert .timeline__badge-year {color: var(--color-primary);}
.timeline__certs {display: flex; gap: 14px; flex-wrap: wrap; padding: 0 0 20px 32px;}
.timeline__cert-item {background: linear-gradient(135deg, #1a2e6e 0%, #2b4bb3 100%); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 140px; flex: 1; box-shadow: 0 4px 18px rgba(26,46,110,0.20); transition: transform 0.25s ease, box-shadow 0.25s ease;}
.timeline__cert-item:hover {transform: translateY(-4px); box-shadow: 0 10px 28px rgba(26,46,110,0.32);}
.timeline__cert-icon {width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;}
.timeline__cert-year {font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.06em;}
.timeline__cert-name {font-size: 13px; font-weight: 700; color: var(--color-white); text-align: center;}

/* =============================================
   RESPONSIVE - 1024px 이하
   ============================================= */
@media (max-width: 1024px) {
#sub-hero {height: 420px;}
#sub01 {padding: 80px 0 100px;}
#sub01 .sub01__head {margin-bottom: 60px;}
.timeline::before {left: 90px;}
.timeline__row {grid-template-columns: 90px 1fr;}
.timeline__badge-year {font-size: 17px;}
.timeline__cards {grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); padding-left: 24px;}
.timeline__certs {padding-left: 24px;}
.timeline__card--origin {margin-left: 24px;}
.timeline__card--stat {margin-left: 24px;}
}

/* =============================================
   RESPONSIVE - 모바일 767px 이하
   ============================================= */
@media (max-width: 767px) {
#sub-hero {height: 300px; align-items: center; justify-content: center; padding-top: calc(var(--header-h) + var(--header-top) + 16px);}
#sub-hero .sub-hero__ctn {padding: 0 var(--inner-pad); text-align: center; align-items: center;}
#sub-hero .sub-hero__title {font-size: 32px; margin-bottom: 14px;}
#sub01 {padding: 60px 0 80px;}
#sub01 .sub01__head {margin-bottom: 48px;}
#sub01 .sub01__desc {font-size: 14px;}

/* 모바일 타임라인 : 1컬럼 */
.timeline::before {display: none;}
.timeline__row {grid-template-columns: 1fr; gap: 8px; padding: 8px 0;}
.timeline__badge {flex-direction: row; align-items: center; gap: 10px; padding: 0 0 0 4px; border-left: 3px solid var(--color-primary); margin-bottom: 4px;}
.timeline__badge::after {display: none;}
.timeline__badge-year {font-size: 18px;}
.timeline__row--featured .timeline__badge {border-color: var(--color-accent);}
.timeline__cards {grid-template-columns: 1fr; padding-left: 12px; gap: 8px;}
.timeline__certs {flex-direction: column; padding-left: 12px;}
.timeline__card--origin {margin-left: 0; max-width: 100%;}
.timeline__card--stat {margin-left: 0; flex-direction: column; align-items: flex-start; padding: 20px;}
.timeline__stat-num {font-size: 40px;}
}








/* =============================================
   greeting.css | 인사말 페이지 전용
   작성일: 2026-03
   ============================================= */

/* =============================================
   GREETING 섹션
   ============================================= */
#greeting {position: relative; padding: 120px 0 140px; background: var(--color-white); overflow: hidden;}

/* 배경 장식 텍스트 */
#greeting .greeting__deco {position: absolute; top: 60px; left: 50%; transform: translateX(-50%); white-space: nowrap; pointer-events: none; z-index: 0;}
#greeting .greeting__deco-text {font-size: clamp(60px, 8vw, 110px); font-weight: 900; color: transparent; -webkit-text-stroke: 1px rgba(26,46,110,0.055); letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Noto Sans KR', sans-serif; user-select: none;}

/* 메인 레이아웃 : 좌우 분할 */
#greeting .greeting__wrap {position: relative; z-index: 1; display: grid; grid-template-columns: 440px 1fr; gap: 80px; align-items: flex-start;}

/* ── 좌측 이미지 영역 ── */
#greeting .greeting__img-area {position: relative; display: flex; flex-direction: column; align-items: center; padding-bottom: 32px;}

#greeting .greeting__img-frame {position: relative; width: 100%; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4;}
#greeting .greeting__img-frame::before {content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,18,60,0.82) 100%); z-index: 1;}
#greeting .greeting__img {width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.6s ease;}
#greeting .greeting__img-frame:hover .greeting__img {transform: scale(1.04);}

/* 이미지 하단 명함 카드 */
#greeting .greeting__name-card {position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 4px;}
#greeting .greeting__name-card-ko {font-size: 26px; font-weight: 700; color: var(--color-white); font-family: 'Noto Serif KR', serif; letter-spacing: 0.06em;}
#greeting .greeting__name-card-title {font-size: 13px; color: var(--color-accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;}
#greeting .greeting__name-card-en {font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px;}

/* 이미지 장식 도형 */
#greeting .greeting__img-accent {position: absolute; top: -20px; right: -20px; width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, var(--color-accent) 0%, #f4b942 100%); opacity: 0.18; z-index: 0; pointer-events: none;}

/* 경력 뱃지 */
#greeting .greeting__badge {position: absolute; bottom: 8px; right: 20px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%); border-radius: 16px; padding: 14px 20px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 28px rgba(26,46,110,0.28); z-index: 3;}
#greeting .greeting__badge-num {font-size: 30px; font-weight: 900; color: var(--color-white); line-height: 1; letter-spacing: -1px;}
#greeting .greeting__badge-num sup {font-size: 15px; color: var(--color-accent);}
#greeting .greeting__badge-txt {font-size: 11px; color: rgba(255,255,255,0.80); line-height: 1.5; font-weight: 500;}

/* ── 우측 텍스트 영역 ── */
#greeting .greeting__txt-area {display: flex; flex-direction: column; gap: 36px; padding-top: 12px;}

/* 헤드라인 */
#greeting .greeting__headline {display: flex; align-items: flex-start; gap: 20px;}
#greeting .greeting__headline-bar {flex-shrink: 0; width: 4px; height: 56px; background: linear-gradient(to bottom, var(--color-accent), var(--color-secondary)); border-radius: 4px; margin-top: 6px;}
#greeting .greeting__headline-txt {font-size: clamp(22px, 2.2vw, 34px); font-weight: 700; color: var(--color-primary); line-height: 1.45; font-family: 'Noto Serif KR', serif; word-break: keep-all;}

/* 본문 */
#greeting .greeting__body {display: flex; flex-direction: column; gap: 18px;}
#greeting .greeting__body p {font-size: 16px; color: var(--color-text); line-height: 1.95; word-break: keep-all;}
#greeting .greeting__body strong {color: var(--color-secondary); font-weight: 700;}
#greeting .greeting__lead {font-size: 16px; font-weight: 500; color: var(--color-primary); line-height: 1.8; padding-bottom: 18px; border-bottom: 1px solid #e8ecf5;}
#greeting .greeting__closing {font-size: 15px; font-weight: 500; color: var(--color-text); padding-top: 4px;}

/* 서명 */
#greeting .greeting__sign {display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; background: #f4f6fb; border-radius: 14px;}
#greeting .greeting__sign-info {display: flex; flex-direction: column; gap: 6px;}
#greeting .greeting__sign-company {font-size: 13px; color: var(--color-text-light); font-weight: 400;}
#greeting .greeting__sign-name {font-size: 22px; font-weight: 700; color: var(--color-primary); font-family: 'Noto Serif KR', serif; letter-spacing: 0.08em;}
#greeting .greeting__sign-img {width: 160px; opacity: 0.85;}
#greeting .greeting__sign-img svg {width: 100%; height: auto;}

/* 핵심 가치 3개 */
#greeting .greeting__values {display: flex; gap: 12px;}
#greeting .greeting__value-item {flex: 1; display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--color-white); border-radius: 12px; border: 1.5px solid #e0e7f5; transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;}
#greeting .greeting__value-item:hover {border-color: var(--color-accent); box-shadow: 0 6px 20px rgba(232,160,32,0.14); transform: translateY(-3px);}
#greeting .greeting__value-icon {flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: #fef8ee; display: flex; align-items: center; justify-content: center;}
#greeting .greeting__value-txt {font-size: 14px; font-weight: 700; color: var(--color-primary);}

/* =============================================
   RESPONSIVE - 1280px 이하
   ============================================= */
@media (max-width: 1280px) {
#greeting .greeting__wrap {grid-template-columns: 380px 1fr; gap: 60px;}
#greeting .greeting__badge {bottom:10px; right: 16px;}
}

/* =============================================
   RESPONSIVE - 1024px 이하
   ============================================= */
@media (max-width: 1024px) {
#greeting {padding: 80px 0 100px;}
#greeting .greeting__wrap {grid-template-columns: 300px 1fr; gap: 48px;}
#greeting .greeting__badge {bottom: 8px; right: 12px; padding: 12px 16px;}
#greeting .greeting__badge-num {font-size: 26px;}
#greeting .greeting__values {flex-wrap: wrap;}
}

/* =============================================
   RESPONSIVE - 모바일 767px 이하
   ============================================= */
@media (max-width: 767px) {
#greeting {padding: 60px 0 80px;}

/* 1컬럼 세로 배치 */
#greeting .greeting__wrap {grid-template-columns: 1fr; gap: 40px;}

/* 이미지 모바일 : 가로형으로 */
#greeting .greeting__img-frame {aspect-ratio: 4/3;}
#greeting .greeting__img {object-position: top;}
#greeting .greeting__badge {bottom: 8px; right: 12px; padding: 12px 14px; border-radius: 12px;}
#greeting .greeting__badge-num {font-size: 22px;}
#greeting .greeting__badge-txt {font-size: 11px;}

/* 텍스트 */
#greeting .greeting__txt-area {padding-top: 28px; gap: 28px;}
#greeting .greeting__headline-txt {font-size: 22px;}
#greeting .greeting__body p {font-size: 14px;}
#greeting .greeting__sign {flex-direction: column; align-items: flex-start; gap: 16px;}
#greeting .greeting__sign-img {width: 120px;}
#greeting .greeting__values {flex-direction: column; gap: 8px;}
#greeting .greeting__deco {display: none;}
}





/* =============================================
   org.css | 조직도 페이지 전용
   작성일: 2026-03
   ============================================= */

/* =============================================
   ORG 섹션
   ============================================= */
#org {padding: 100px 0 140px; background: #f8f9fc;}

/* 헤더 */
#org .org__head {text-align: center; margin-bottom: 72px;}
#org .org__label {display: inline-block; color: var(--color-accent); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px;}
#org .title {font-size: clamp(24px, 2.4vw, 36px); font-weight: 700; color: var(--color-text); margin-bottom: 16px;}
#org .org__desc {color: var(--color-text-light); font-size: 18px; line-height: 1.9;}

/* =============================================
   조직 트리
   ============================================= */
#org .org__chart {display: flex; flex-direction: column; align-items: center;}

/* ── 루트 카드 ── */
#org .org__root {display: flex; justify-content: center;}
#org .org__root-card {display: inline-flex; align-items: center; gap: 14px; background: var(--color-primary); color: var(--color-white); border-radius: 12px; padding: 18px 36px; min-width: 240px; justify-content: center;}
#org .org__root-icon {width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
#org .org__root-label {font-size: 11px; color: rgba(255,255,255,0.50); margin-bottom: 3px;}
#org .org__root-name {font-size: 20px; font-weight: 700; display: block;}

/* ── 연결선 SVG ── */
#org .org__connector {width: 100%; display: flex; justify-content: center;}
#org .org__connector svg {width: 100%; max-width: 960px; height: 64px; display: block; overflow: visible;}

/* ── 공장 카드 3열 ── */
#org .org__branches {display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%;}

/* ── 공장 카드 ── */
#org .org__branch {background: var(--color-white); border-radius: 12px; border: 1px solid #e2e8f0; transition: transform 0.25s ease, box-shadow 0.25s ease; overflow: hidden;}
#org .org__branch:hover {transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,46,110,0.10);}

/* 카드 헤더 */
#org .org__branch-header {display: flex; align-items: center; gap: 14px; padding: 22px 22px 18px; border-bottom: 1px solid #f1f5f9;}
#org .org__branch-num {font-size: 36px; font-weight: 900; color: rgba(26,46,110,0.07); line-height: 1; letter-spacing: -2px; flex-shrink: 0; width: 48px;}
#org .org__branch-title-wrap {display: flex; flex-direction: column; gap: 4px;}
#org .org__branch-badge {font-size: 11px; font-weight: 500; color: var(--color-text-light); letter-spacing: 0.02em;}
#org .org__branch-badge--alt {color: #2d7a50;}
#org .org__branch-title {font-size: 18px; font-weight: 700; color: var(--color-primary);}

/* 주소 */
#org .org__branch-addr {display: flex; align-items: flex-start; gap: 5px; font-size: 12px; color: var(--color-text-light); padding: 12px 22px; font-style: normal; background: #fafbfc; border-bottom: 1px solid #f1f5f9;}
#org .org__branch-addr svg {flex-shrink: 0; margin-top: 1px;}

/* 구분선 */
#org .org__branch-divider {display: none;}

/* 섹션 (설비/공정) */
#org .org__branch-section {padding: 14px 22px;}
#org .org__branch-section + .org__branch-section {border-top: 1px solid #f1f5f9;}
#org .org__branch-section-title {display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;}

/* 설비 태그 */
#org .org__equip-list {display: flex; flex-wrap: wrap; gap: 5px; list-style: none;}
#org .org__equip-list li {font-size: 12px; color: var(--color-text); background: #f4f6fb; border-radius: 5px; padding: 3px 9px; border: 1px solid #e8ecf5;}

/* 공정 태그 */
#org .org__process-list {display: flex; flex-wrap: wrap; gap: 5px; list-style: none;}
#org .org__process-tag {display: inline-block; font-size: 12px; font-weight: 600; color: var(--color-primary); background: rgba(26,46,110,0.07); border-radius: 5px; padding: 3px 10px;}
#org .org__branch:last-child .org__process-tag {color: #2d7a50; background: rgba(45,122,80,0.08);}

/* =============================================
   RESPONSIVE - 1024px 이하
   ============================================= */
@media (max-width: 1024px) {
#org {padding: 80px 0 100px;}
#org .org__branches {gap: 14px;}
#org .org__branch-num {font-size: 28px; width: 40px;}
#org .org__branch-title {font-size: 16px;}
}

/* =============================================
   RESPONSIVE - 모바일 767px 이하
   ============================================= */
@media (max-width: 767px) {
#org {padding: 60px 0 80px;}
#org .org__connector {display: none;}
#org .org__branches {grid-template-columns: 1fr; gap: 12px; margin-top: 28px;}
#org .org__root-card {padding: 16px 28px; min-width: 200px;}
#org .org__root-name {font-size: 17px;}
#org .org__branch-header {padding: 18px 18px 14px;}
#org .org__branch-addr {padding: 10px 18px;}
#org .org__branch-section {padding: 12px 18px;}
}













/* =============================================
   news.css | 뉴스&공지 갤러리 게시판
   작성일: 2026-03
   ============================================= */

/* =============================================
   NEWS 섹션
   ============================================= */
#news {padding: 80px 0 120px; background: #f4f6fb; min-height: 60vh;}

/* ── 컨트롤 바 ── */
#news .news__controls {display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap;}
#news .news__controls-left {}
#news .news__title {font-size: 20px; font-weight: 700; color: var(--color-text);}
#news .news__total {color: var(--color-secondary); font-size: 16px; font-weight: 500;}
#news .news__controls-right {display: flex; align-items: center; gap: 12px;}

/* 필터 탭 */
#news .news__filter {display: flex; background: var(--color-white); border-radius: 999px; padding: 4px; gap: 2px; box-shadow: 0 2px 12px rgba(26,46,110,0.08); border: 1px solid rgba(26,46,110,0.07);}
#news .news__filter-btn {padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--color-text-light); background: none; border: none; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap;}
#news .news__filter-btn.is-active {background: var(--color-primary); color: var(--color-white); font-weight: 700;}
#news .news__filter-btn:hover:not(.is-active) {background: #f0f3fa; color: var(--color-text);}

/* 뷰 토글 */
#news .news__view-toggle {display: flex; background: var(--color-white); border-radius: 10px; padding: 4px; gap: 2px; box-shadow: 0 2px 12px rgba(26,46,110,0.08); border: 1px solid rgba(26,46,110,0.07);}
#news .news__view-btn {width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--color-text-light); transition: background 0.2s ease, color 0.2s ease;}
#news .news__view-btn.is-active {background: var(--color-primary); color: var(--color-white);}
#news .news__view-btn:hover:not(.is-active) {background: #f0f3fa; color: var(--color-text);}

/* ── 그리드 보드 ── */
#news .news__board {display: grid; gap: 24px;}
#news .news__board.is-grid {grid-template-columns: repeat(3, 1fr);}
#news .news__board.is-list {grid-template-columns: 1fr;}

/* ── 카드 : 그리드 뷰 ── */
#news .news__card {background: var(--color-white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(26,46,110,0.07); border: 1px solid rgba(26,46,110,0.06); transition: transform 0.28s ease, box-shadow 0.28s ease; cursor: pointer; display: flex; flex-direction: column;}
#news .news__card:hover {transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,46,110,0.14);}

/* 썸네일 */
#news .news__card-thumb {position: relative; overflow: hidden; aspect-ratio: 16/10; background: #e8ecf5; flex-shrink: 0;}
#news .news__card-thumb img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease;}
#news .news__card:hover .news__card-thumb img {transform: scale(1.06);}
#news .news__card-thumb-placeholder {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #e8ecf5, #d0d9ee);}
#news .news__card-thumb-placeholder svg {opacity: 0.35;}

/* 카테고리 뱃지 */
#news .news__card-cat {position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 4px 12px; letter-spacing: 0.06em; text-transform: uppercase;}
#news .news__card-cat--notice {background: var(--color-primary); color: #fff;}
#news .news__card-cat--news   {background: var(--color-accent);   color: #fff;}
#news .news__card-cat--product{background: #1a7a4a;               color: #fff;}

/* 카드 바디 */
#news .news__card-body {padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px;}
#news .news__card-date {font-size: 12px; color: var(--color-text-light); display: flex; align-items: center; gap: 5px;}
#news .news__card-date::before {content: ''; display: block; width: 16px; height: 1px; background: #c8d3e8;}
#news .news__card-title {font-size: 15px; font-weight: 700; color: var(--color-text); line-height: 1.55; word-break: keep-all; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
#news .news__card-summary {font-size: 13px; color: var(--color-text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
#news .news__card-footer {display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 12px; border-top: 1px solid #f0f3fa;}
#news .news__card-views {font-size: 12px; color: #aab4cc; display: flex; align-items: center; gap: 4px;}
#news .news__card-arrow {width: 28px; height: 28px; border-radius: 50%; background: #f0f3fa; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease, transform 0.2s ease;}
#news .news__card:hover .news__card-arrow {background: var(--color-primary); transform: translateX(2px);}
#news .news__card:hover .news__card-arrow svg {color: #fff;}

/* ── 리스트 뷰 ── */
#news .news__board.is-list .news__card {flex-direction: row; align-items: center;}
#news .news__board.is-list .news__card-thumb {width: 200px; aspect-ratio: 4/3; flex-shrink: 0; border-radius: 0;}
#news .news__board.is-list .news__card-body {padding: 20px 24px; flex-direction: row; align-items: center; gap: 20px;}
#news .news__board.is-list .news__card-cat {position: static; flex-shrink: 0;}
#news .news__board.is-list .news__card-info {flex: 1; display: flex; flex-direction: column; gap: 6px;}
#news .news__board.is-list .news__card-title {-webkit-line-clamp: 1; font-size: 16px;}
#news .news__board.is-list .news__card-summary {-webkit-line-clamp: 1;}
#news .news__board.is-list .news__card-footer {margin-top: 0; padding-top: 0; border-top: none; flex-shrink: 0;}
#news .news__board.is-list .news__card-date::before {display: none;}

/* ── 빈 상태 ── */
#news .news__empty {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 80px 0; color: var(--color-text-light); font-size: 14px;}

/* ── 페이지네이션 ── */
#news .news__pagination {display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 56px;}
#news .news__page-btn {width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: var(--color-text-light); background: var(--color-white); border: 1.5px solid rgba(26,46,110,0.10); transition: all 0.2s ease; cursor: pointer;}
#news .news__page-btn:hover {border-color: var(--color-primary); color: var(--color-primary);}
#news .news__page-btn.is-active {background: var(--color-primary); color: #fff; border-color: var(--color-primary); font-weight: 700;}
#news .news__page-btn--prev,
#news .news__page-btn--next {color: var(--color-text-light);}
#news .news__page-btn:disabled {opacity: 0.35; cursor: not-allowed;}

/* ── 스켈레톤 로딩 ── */
@keyframes skeleton-shine {0%{background-position:-400px 0}100%{background-position:400px 0}}
#news .news__skeleton {background: linear-gradient(90deg, #e8ecf5 25%, #f4f6fb 50%, #e8ecf5 75%); background-size: 800px 100%; animation: skeleton-shine 1.4s infinite linear; border-radius: 8px;}

/* =============================================
   RESPONSIVE - 1024px 이하
   ============================================= */
@media (max-width: 1024px) {
#news .news__board.is-grid {grid-template-columns: repeat(2, 1fr);}
#news .news__board.is-list .news__card-thumb {width: 160px;}
}

/* =============================================
   RESPONSIVE - 모바일 767px 이하
   ============================================= */
@media (max-width: 767px) {
#news {padding: 48px 0 80px;}
#news .news__controls {flex-direction: column; align-items: flex-start; gap: 12px;}
#news .news__controls-right {width: 100%; justify-content: space-between;}
#news .news__filter-btn {padding: 7px 12px; font-size: 12px;}
#news .news__board.is-grid {grid-template-columns: 1fr;}
#news .news__board.is-list .news__card {flex-direction: column;}
#news .news__board.is-list .news__card-thumb {width: 100%; aspect-ratio: 16/9;}
#news .news__board.is-list .news__card-body {flex-direction: column; gap: 8px;}
#news .news__board.is-list .news__card-cat {position: static;}
}