/* =============================================================================
   v3_main.css — 신규 테마(ver 3.0) 메인 페이지 전용: 배너 · 연구소 소개 · 사업 영역
   원본: claude_sub/style.css (정적 시안). 공통(헤더·푸터·버튼·그리드·변수)은 css/v3_common.css 에 있음.
   (제품 / 뉴스 섹션은 2단계·3단계에서 이 파일에 이어서 추가)

   [시안과 이름이 다른 곳] .inner → .v3_inner, .grid → .v3_grid (v3_common.css 상단 참고)
   [로드 순서] index.php 에서 직접 <link> 로 불러옴 (add_stylesheet 를 쓰면 기존 default.css 보다 앞에 놓여 밀림)
   ============================================================================= */

/* 메인 본문 영역: 가로로 삐져나오는 요소(슬라이더 등)를 잘라내되, sticky 가 동작하도록 clip 사용
   (overflow: hidden 은 position: sticky 를 막음 → clip 을 지원하는 브라우저에서는 clip 으로 덮어씀) */
.v3_main {
    overflow-x: hidden;
    overflow-x: clip;
}

/* "Scroll down" 으로 이동한 뒤 구역(tabindex="-1")에 스크립트가 포커스를 옮기는데, 구역 전체에 테두리가 생기지 않게 함 */
.v3_main [tabindex="-1"]:focus {
    outline: none;
}

/* ===== Main Banner ===== */
.main_banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 40px) 0 clamp(80px, 14vh, 150px);
    overflow: hidden;
    color: #fff;
}

.banner_bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/v3/main/main_banner.webp") center / cover no-repeat;
    transform: scale(1.12);
    animation: banner_zoom 1.5s ease-out forwards;
}

/* 좌측 텍스트 가독성용 오버레이 */
.banner_bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 30%);
}

@keyframes banner_zoom {
    to {
        transform: scale(1);
    }
}

.banner_inner {
    position: relative;
    z-index: 1;
    /* 본문 폭/좌우 여백은 HTML에서 함께 붙인 .v3_inner 가 담당 */
}

/* 흰 용기 위에 글자가 겹칠 때를 대비한 은은한 그림자 */
.banner_label,
.banner_title,
.banner_desc {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* 글자 크기: 1920px(시안)에서 최대값, 375px(모바일)에서 최소값이 되도록 선형으로 줄어듦 */
.banner_label {
    margin-bottom: clamp(12px, 1.04vw, 20px);
    font-size: clamp(14px, 13px + 0.26vw, 18px);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.banner_title {
    margin-bottom: clamp(20px, 1.875vw, 36px);
    font-size: clamp(36px, 20px + 3.1vw, 80px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.banner_desc {
    /* 12컬럼 중 6컬럼 폭 = 본문의 절반 - 거터 절반 (본문 1440px → 708px) */
    max-width: calc(50% - var(--grid-gap) / 2);
    margin-bottom: clamp(24px, 1.67vw, 32px);
    font-size: clamp(16px, 13.8px + 0.32vw, 20px);
    line-height: 1.65;
    opacity: 0.92;
    letter-spacing: -0.02em;
    text-wrap: pretty;
}

.btn_banner {
    padding: 14px 28px;
    font-weight: 600;
    font-size: 20px;
}

/* Scroll down */
.scroll_down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transform: translateX(-50%);
}

.scroll_arrow {
    position: relative;
    width: 20px;
    height: 24px;
    animation: scroll_bounce 1.6s ease-in-out infinite;
}

/* 이중 chevron */
.scroll_arrow::before,
.scroll_arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: translateX(-50%) rotate(45deg);
}

.scroll_arrow::before {
    top: 0;
}

.scroll_arrow::after {
    top: 8px;
}

@keyframes scroll_bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* 모션 줄이기 설정이면 배너 확대와 화살표 움직임을 끔 */
@media (prefers-reduced-motion: reduce) {
    .banner_bg {
        transform: none;
        animation: none;
    }

    .scroll_arrow {
        animation: none;
    }
}

/* 작은 버튼 (밝은 섹션의 "더 알아보기" 등) */
.btn_sm {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
}

.text_point {
    color: var(--color-point);
}

/* ===== About Lab (연구소 소개) ===== */
.about_lab {
    padding: clamp(72px, 10.15vw, 195px) 0;
    background: var(--color-white);
    color: var(--color-text);
}

.about_lab_inner {
    align-items: center;
}

/* 12컬럼 기준: 텍스트 1~5컬럼 / 사진 6~12컬럼 */
.about_text {
    grid-column: span 5;
}

.about_img {
    grid-column: span 7;
}

.about_img img {
    width: 100%;
    height: auto;
    aspect-ratio: 830 / 560;
    object-fit: cover;
    border-radius: 16px;
    background: #e9e7e3;
    /* 이미지가 없을 때도 영역이 보이도록 */
}

/* 섹션 소개 텍스트 공통 (연구소 소개, 사업 영역) */
.section_label {
    margin-bottom: 16px;
    font-size: clamp(14px, 13.2px + 0.15vw, 16px);
    font-weight: 600;
    color: var(--color-deep);
}

.section_title {
    margin-bottom: 24px;
    font-size: clamp(20px, 15px + 0.68vw, 28px);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: -0.01em;
}

.section_desc {
    margin-bottom: 32px;
    font-size: clamp(15px, 14.4px + 0.14vw, 18px);
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--color-text-sub);
    text-wrap: pretty;
}

/* ===== Business (사업 영역) ===== */
.biz {
    padding: clamp(72px, 6.8vw, 130px) 0;
    background: var(--color-white);
    color: var(--color-text);
}

/* 왼쪽 소개 텍스트(1~3컬럼): 오른쪽 카드가 스크롤되는 동안 화면에 고정 */
.biz_intro {
    grid-column: 1 / span 3;
    align-self: start;
    /* 그리드 칸 높이만큼 늘어나면 sticky가 움직일 여유가 없어서 동작하지 않음 */
    position: sticky;
    top: calc(var(--header-h) + 48px);
}

.biz_intro .section_desc {
    margin-bottom: 0;
}

/* 카드 두 열: 왼쪽 5~8컬럼 / 오른쪽 9~12컬럼, 오른쪽 열은 아래로 어긋나게 시작 */
.biz_col {
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 6.25vw, 120px);
}

.biz_col_left {
    grid-column: 5 / span 4;
}

.biz_col_right {
    grid-column: 9 / span 4;
    margin-top: clamp(0px, 10.1vw, 194px);
}

.biz_card {
    display: block;
}

.biz_card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 16px;
    background: #e9e7e3;
    /* 이미지가 없을 때도 영역이 보이도록 */
}

.biz_card_title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    font-size: clamp(17px, 16.3px + 0.19vw, 20px);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.biz_card_title svg {
    flex-shrink: 0;
    color: var(--color-point);
}

.biz_card:hover .biz_card_title {
    color: var(--color-point);
}

.biz_card_desc {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--color-text-sub);
    text-wrap: pretty;
}

/* ===== Product (제품: 탭 + 슬라이드) ===== */
.product {
    padding: clamp(72px, 6.8vw, 130px) 0;
    background: var(--color-white);
    color: var(--color-text);
}

/* 섹션 머리말 (제목 + 설명 + 구분선): 제품, 뉴스 공통 */
.product_head,
.news_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 10px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.product_title,
.news_title {
    margin-bottom: 16px;
    font-size: clamp(24px, 20.5px + 0.4vw, 28px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-deep);
}

.product_sub,
.news_sub {
    font-size: clamp(14px, 13.5px + 0.13vw, 16px);
    letter-spacing: -0.02em;
    color: var(--color-text-sub);
}

/* 이전/다음 버튼 */
.product_nav {
    display: flex;
    gap: 32px;
}

/* 슬라이더 이전/다음 버튼 공통 (제품, 뉴스) */
.slider_arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    transition: background 0.2s, opacity 0.2s;
}

.slider_arrow:hover:not(:disabled) {
    background: #efeeeb;
}

.slider_arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.product_body {
    margin-top: 40px;
}

/* 탭: 1~2컬럼. 선택된 항목은 초록색 + 왼쪽 막대 */
.product_tabs {
    grid-column: 1 / span 2;
    align-self: start;
    padding-top: clamp(0px, 4.8vw, 92px);
}

.product_tab {
    position: relative;
    padding: 20px 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-text-sub);
    transition: color 0.2s, padding 0.2s;
}

.product_tab:hover {
    color: var(--color-point);
}

.product_tab::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 2px;
    height: 16px;
    background: var(--color-point);
    transform: translateY(-50%) scaleY(0);
    transition: transform 0.2s;
}

.product_tab.is_active {
    padding-left: 24px;
    font-weight: 700;
    color: var(--color-point);
}

.product_tab.is_active::before {
    transform: translateY(-50%) scaleY(1);
}

/* 슬라이드: 3~12컬럼. min-width: 0이 없으면 카드가 많을 때 그리드 칸이 늘어나 버림 */
.product_slider {
    grid-column: 3 / -1;
    min-width: 0;
}

/* 슬라이드 동작(드래그, 이동, 화살표 비활성화)은 Swiper가 처리 (js/v3_main.js).
   .swiper / .swiper-wrapper / .swiper-slide 기본 스타일은 js/vendor/swiper/swiper-bundle.min.css 에 있고,
   카드 폭은 아래 .product_card 의 flex 값, 카드 사이 간격은 v3_main.js 의 spaceBetween 이 정함.
   오른쪽 끝에 다음 카드가 잘려 보이는 것은 .swiper 의 기본 overflow: hidden 덕분 */

/* 카드 1장 = 3컬럼 (슬라이드 영역이 10컬럼이므로 폭의 30% - 거터 0.7개). 오른쪽 끝에 다음 카드가 살짝 보임 */
.product_card {
    flex: 0 0 calc(30% - var(--grid-gap) * 0.7);
}

.product_link {
    display: block;
}

.product_link:focus-visible {
    outline-offset: -2px;
    /* 스크롤 영역 가장자리에서 포커스 선이 잘리지 않게 */
}

/* 사진 상자: 3:4 비율, 제품 사진 비율이 제각각이어도 contain으로 상자 안에 맞춤 */
.product_img {
    aspect-ratio: 342 / 456;
    overflow: hidden;
    border-radius: 16px;
    background: #f2f2f2;
}

.product_img img {
    width: 100%;
    height: 100%;
    /* 261117 김동현 클로드활용 수정: 세로로 긴 제품 사진이 상자에서 너무 크게 보여 위아래 여백만 키움 (16% → 위아래 22%·좌우 16%). 제품 목록의 .prod_img img 와 같은 값으로 맞출 것 */
    padding: 22% 16%;
    object-fit: contain;
}

/* 대표 이미지가 없는 제품: 빠진 이미지를 알아보기 쉽게 회색 상자에 안내 문구만 표시 */
.product_noimg {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    color: #999;
}

.product_name {
    margin-top: 16px;
    font-size: clamp(17px, 16.3px + 0.19vw, 18px);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.product_link:hover .product_name {
    color: var(--color-point);
}

/* 설명은 최대 2줄 (게시글 내용 길이가 달라도 카드 높이가 비슷하게 유지됨) */
.product_desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: var(--color-text-sub);
    text-wrap: pretty;
}

.product_empty {
    padding: 80px 0;
    text-align: center;
    color: var(--color-text-sub);
}

/* ===== News & Media ===== */
.news {
    padding: clamp(72px, 10.15vw, 195px) 0;
    background: var(--color-white);
    color: var(--color-text);
}

/* 상단: 배너(1~7컬럼) | 세로선(8컬럼 가운데) | 영상 타일(9~10) | PDF 타일(11~12) */
.news_top {
    align-items: center;
    margin-top: 40px;
}

.news_banner {
    position: relative;
    grid-column: 1 / span 7;
    border-radius: 16px;
    /* 은은하고 자연스러운 그림자: 넓게 퍼지는 그림자 + 가까이 붙는 얇은 그림자를 겹침 */
    box-shadow: 0 12px 40px rgba(20, 30, 25, 0.08), 0 2px 10px rgba(20, 30, 25, 0.05);
}

.news_banner_swiper {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #fff;
}

.news_banner_link {
    position: relative;
    display: block;
    height: 100%;
}

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

/* 등록된 배너가 없을 때: 빈 자리를 알아보기 쉽게 회색 상자에 안내 문구 */
.news_banner_empty {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #f2f2f2;
    color: #999;
}

/* 아래 띠: 왼쪽은 제목(반투명 어둡게), 오른쪽은 페이지 번호 + 정지 버튼 */
.news_banner_caption {
    position: absolute;
    left: 0;
    bottom: 0;
    align-items: center;
    width: 100%;
    padding: 12px 136px 12px 24px;
    height: 44px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 16px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news_banner_ctrl {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 112px;
    height: 44px;
    border-bottom-right-radius: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* Swiper 기본 스타일(absolute, 폭 100%)을 이 자리에 맞게 덮어씀 */
.news_banner_ctrl .news_banner_count {
    position: static;
    width: auto;
    font-size: 18px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: inherit;
}

.news_banner_toggle {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
}

.news_banner_toggle .icon_play {
    display: none;
}

.news_banner_toggle.is_paused .icon_pause {
    display: none;
}

.news_banner_toggle.is_paused .icon_play {
    display: block;
}

.news_divider {
    grid-column: 8;
    justify-self: center;
    width: 1px;
    height: 88%;
    background: #e5e3df;
}

/* 영상/PDF 타일: 폭 2컬럼, 비율 고정. hover하면 떠오르고 아이콘이 커짐 */
.news_tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    aspect-ratio: 220 / 295;
    padding: 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news_tile_film {
    grid-column: 9 / span 2;
    border-color: #ece6d9;
    background: #f6f3ec;
}

.news_tile_pdf {
    grid-column: 11 / span 2;
    border-color: #d8e5de;
    background: #e7efea;
}

.news_tile_label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.news_tile_title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

/* 아이콘 이미지에 동그란 배경이 이미 그려져 있고 둘레에 투명 여백이 있어서,
   배경색/원형 처리는 하지 않고 이미지를 그대로 보여줌. 여백만큼 위치를 안쪽으로 보정 */
.news_tile_icon {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.news_tile_icon img {
    display: block;
    width: 100%;
    height: 100%;
}

/* 마우스가 있는 기기에서만 hover 효과 (터치에서는 눌렀을 때 hover가 남지 않게) */
@media (hover: hover) {
    .news_tile:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(20, 30, 25, 0.1);
    }

    .news_tile:hover .news_tile_icon {
        transform: scale(1.12);
    }
}

/* 하단 뉴스: 페이지 표시 + 이전/다음 (오른쪽 정렬) */
.news_list_head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 12px;
}

.news_list_head .slider_arrow {
    width: 24px;
    height: 24px;
}

.news_list_head .news_list_count {
    position: static;
    width: auto;
    min-width: 44px;
    font-size: 18px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: var(--color-text-sub);
}

/* 뉴스 카드 자동 넘김 정지/재생 버튼 (배너의 정지 버튼과 같은 아이콘, 밝은 배경용 색) */
.news_list_toggle {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: var(--color-text-sub);
    transition: color 0.2s;
}

.news_list_toggle:hover {
    color: var(--color-point);
}

.news_list_toggle .icon_play {
    display: none;
}

.news_list_toggle.is_paused .icon_pause {
    display: none;
}

.news_list_toggle.is_paused .icon_play {
    display: block;
}

/* 카드 1장 = 3컬럼 (영역 폭의 25% - 거터 0.75개) → 4장이 꽉 차게 보임 */
.news_card {
    flex: 0 0 calc(25% - var(--grid-gap) * 0.75);
    height: auto;
}

.news_card_link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    border-radius: 16px;
    background: #f2f2f2;
}

.news_badge {
    align-self: flex-start;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--color-deep);
    color: var(--color-white);
    font-size: 12px;
    line-height: 16px;
}

/* 제목이 1줄이든 2줄이든 제목+날짜가 아래쪽(사진 바로 위)에 붙도록 */
.news_card_body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 111px;
    padding-top: 25px;
}

.news_card_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: -0.02em;
    transition: color 0.2s;
    color: var(--color-text);
}

.news_card_link:hover .news_card_title {
    color: var(--color-point);
}

.news_card_date {
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-text-sub);
}

.news_card_img {
    margin-top: 16px;
    aspect-ratio: 294 / 208;
    overflow: hidden;
    border-radius: 6px;
    background: #e9e7e3;
}

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

/* 카드에 마우스를 올리면 사진이 천천히 조금 커짐 (제품 카드, 뉴스 카드 공통).
   사진 칸(.product_img / .news_card_img)이 overflow: hidden 이라 커져도 칸 밖으로 나가지 않음.
   마우스가 있는 기기에서만 적용(터치에서는 눌렀을 때 확대된 채 남지 않게), 모션 줄이기 설정이면 적용하지 않음 */
.product_img img,
.news_card_img img {
    transition: transform 0.5s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {

    .product_link:hover .product_img img,
    .news_card_link:hover .news_card_img img {
        transform: scale(1.06);
    }
}

/* 대표 이미지가 없는(또는 불러오지 못한) 뉴스: 에코바이오 로고를 가운데에 작게 보여 줌.
   261113 김동현 클로드활용 수정: 회색 "이미지 없음" 문구 → 로고. 로고는 검정 글자의 img/ecobio.png (img/v3/logo.png 는 어두운 헤더용 흰 글자라 밝은 칸에서는 안 보임). 칸은 페이지 배경색(#FCFBFA)으로 채우고 얇은 테두리를 둠 */
.news_card_img .news_noimg {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    box-shadow: inset 0 0 0 1px #ece9e4;
}

.news_card_img .news_noimg img {
    width: 46%;
    height: auto;
    object-fit: contain;
}

/* 로고 칸은 마우스를 올려도 확대하지 않음 (사진 확대 효과에서 제외) */
.news_card_link:hover .news_card_img .news_noimg img {
    transform: none;
}

.news_list_empty {
    padding: 60px 0;
    text-align: center;
    color: var(--color-text-sub);
}

/* ===== 유튜브 팝업 (<dialog class="video_modal">) ===== */
.video_modal {
    width: min(92vw, 1100px);
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

.video_modal::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.video_modal_inner {
    position: relative;
}

.video_modal_close {
    position: absolute;
    top: -44px;
    right: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #fff;
}

.video_modal_frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 12px;
    background: #000;
}

/* ===== Responsive (기준: 1280px / 768px — v3_common.css, JS 와 같은 값) ===== */
@media (max-width: 1280px) {

    /* 8컬럼 중 6컬럼 폭 (한 줄이 너무 길어지지 않게 708px까지만) */
    .banner_desc {
        max-width: min(708px, calc(75% - var(--grid-gap) / 4));
    }

    /* 글자가 화면 폭을 넓게 쓰면서 아래쪽에 모이므로, 왼쪽 대신 아래쪽을 어둡게 (위쪽 용기 사진은 그대로 보이게) */
    .banner_bg::after {
        background:
            linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0) 80%),
            linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 30%);
    }

    /* 8컬럼(태블릿)에서는 텍스트 4 + 사진 4, 4컬럼(모바일)에서는 각각 전체 폭이라 위아래로 쌓임 */
    .about_text,
    .about_img {
        grid-column: span 4;
    }

    /* 사업 영역: 소개 텍스트는 위로 올라가 고정 해제, 카드 2열은 각각 4컬럼 */
    .biz_inner {
        row-gap: 56px;
    }

    .biz_intro {
        grid-column: 1 / -1;
        position: static;
    }

    .biz_col_left,
    .biz_col_right {
        grid-column: span 4;
    }

    /* 제품/뉴스 머리말: 아래 탭, 카드, 구분선과 왼쪽 선이 맞도록 안쪽 여백(10px)을 없앰 */
    .product_head,
    .news_head {
        padding-right: 0;
        padding-left: 0;
    }

    /* 제품: 탭은 슬라이드 위로 올라가 가로 알약 형태, 슬라이드는 전체 폭에 카드 2.5장이 보이게 */
    .product_tabs,
    .product_slider {
        grid-column: 1 / -1;
    }

    .product_tabs {
        display: flex;
        gap: 8px;
        padding-top: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product_tabs::-webkit-scrollbar {
        display: none;
    }

    .product_tab {
        flex-shrink: 0;
        padding: 8px 16px;
        border: 1px solid #dcdad5;
        border-radius: 999px;
        white-space: nowrap;
    }

    .product_tab::before {
        display: none;
    }

    .product_tab.is_active {
        padding-left: 16px;
        border-color: var(--color-point);
        background: var(--color-point);
        color: var(--color-white);
    }

    .product_tab.is_active:hover {
        color: var(--color-white);
    }

    .product_card {
        flex-basis: calc((100% - var(--grid-gap) * 2) / 2.5);
    }

    /* 뉴스: 배너는 전체 폭, 영상/PDF 타일은 그 아래 나란히, 세로선은 숨김. 하단 카드는 2.5장이 보이게 */
    .news_top {
        row-gap: 24px;
    }

    .news_banner {
        grid-column: 1 / -1;
    }

    .news_divider {
        display: none;
    }

    .news_tile_film,
    .news_tile_pdf {
        grid-column: span 4;
        aspect-ratio: auto;
        min-height: 160px;
    }

    .news_card {
        flex-basis: calc((100% - var(--grid-gap) * 2) / 2.5);
    }
}

@media (max-width: 768px) {

    /* 4컬럼 중 4컬럼 = 전체 폭 */
    .banner_desc {
        max-width: none;
    }

    .scroll_down {
        display: none;
    }

    .about_lab_inner {
        row-gap: 40px;
    }

    /* 사업 영역: 한 열로 쌓기. 열 래퍼를 없애고 카드를 직접 배치해 1→2→3→4 순서로 정렬 */
    .biz_inner {
        row-gap: 48px;
    }

    .biz_col {
        display: contents;
    }

    .biz_card {
        grid-column: span 4;
        order: var(--order);
    }

    /* 제품: 터치 스와이프로 넘기므로 화살표는 숨기고, 카드는 1.4장이 보이게 */
    .product_nav {
        display: none;
    }

    .product_card {
        flex-basis: calc((100% - var(--grid-gap)) / 1.4);
    }

    /* 뉴스: 타일은 한 줄에 2개(각 2컬럼), 하단 카드는 1.3장이 보이게 */
    .news_tile_film,
    .news_tile_pdf {
        grid-column: span 2;
        min-height: 140px;
        padding: 20px;
    }

    .news_tile_icon {
        right: 14px;
        bottom: 14px;
    }

    /* 오른쪽 컨트롤(번호+정지 버튼, 폭 112px) 밑으로 글자가 들어가지 않도록 오른쪽 여백 = 112px + 16px */
    .news_banner_caption {
        padding: 12px 128px 12px 16px;
        font-size: 14px;
    }

    .news_card {
        flex-basis: calc((100% - var(--grid-gap)) / 1.3);
    }
}
