/* 메디컬 에스테틱 사업 페이지 전용 CSS */

/* 히어로 섹션 (400px 높이로 수정) */
.medical-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.03));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.6rem;
    /* match semiconductor */
    font-weight: 400;
    /* match semiconductor */
    letter-spacing: 8px;
    margin-bottom: 10px; /* 간격 축소 */
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 10px; /* 간격 축소 */
    color: #ff6b35;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
    margin: 0; /* 여백 최소화 */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow:hover {
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-5px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes bounce {

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

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 메인 콘텐츠 */
.medical-content {
    padding: 80px 0;
    background: white;
}

.medical-content .container {
    max-width: 1300px;
}

/* 회사 소개 섹션 - Ethics 페이지 스타일 적용 */
.company-intro-section {
    margin-bottom: 60px;
    text-align: center;
}

.content-intro {
    max-width: 1400px;
    /* match semiconductor */
    margin: 0 auto;
    padding: 0 20px;
}

.intro-subtitle {
    font-size: 1.5rem;
    /* match semiconductor */
    color: #ff6b35;
    font-weight: 600;
    margin-bottom: 40px;
    /* match semiconductor spacing */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Intro header with centered title and right-aligned button */
.intro-header {
    position: relative;
    margin-bottom: 40px;
    /* keep spacing consistent with former subtitle */
}

.intro-header .intro-subtitle {
    margin: 0 auto;
    /* center */
    width: -moz-fit-content;
    width: fit-content;
}

.homepage-btn {
    position: absolute;
    right: 40px;
    /* moved slightly left from the edge */
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid #ff6b35;
    color: #ff6b35;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    line-height: 1;
}

.homepage-btn:hover {
    background: #ff6b35;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.25);
}

.homepage-btn i {
    font-size: 1rem;
}

.intro-title {
    font-size: 1.6rem;
    /* match semiconductor */
    font-weight: 600;
    /* match semiconductor */
    line-height: 1.4;
    margin-bottom: 30px;
    color: #333;
}

.intro-description {
    font-size: 1.0rem;
    /* match semiconductor */
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 주요 제품 섹션 */
.products-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 450;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

.med-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.med-card:hover,
.med-card.hover-effect {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Image area: fixed 300x320px visual */
.med-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 330px;
    /* fixed height */
    overflow: hidden;
    background: #f7f7f7;
}

.med-card-image img {
    width: 260px;
    /* fixed width */
    height: 330px;
    /* fixed height */
    object-fit: cover;
    display: block;
}

/* Placeholder when image fails */
.med-image-ph {
    display: none;
    width: 260px;
    height: 330px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.med-card-image img[style*="display: none"]+.med-image-ph {
    display: flex;
}

.med-card-title {
    padding: 18px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* ===== Lineup (Visual + Text) and Slider ===== */
.medical-lineups .lineup-block {
    margin-bottom: 70px;
}

.lineup-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    /* default for small/medium */
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.lineup-grid.two-rows {
    align-items: start;
}

.lineup-grid.two-rows .lineup-right {
    display: flex;
    flex-direction: column;
    gap: 52px;
    min-width: 820px;
    margin-top: 12px;
}

.lineup-grid.right-image {
    grid-template-columns: 1fr 1.1fr;
}

.lineup-grid.right-image.two-rows .lineup-left {
    display: flex;
    flex-direction: column;
    gap: 62px;
    margin-top: 12px;
}

.lineup-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Desktop (PC) fixed visual size */
@media (min-width: 993px) {
    .lineup-grid.two-rows {
        grid-template-columns: 410px 1fr;
    }

    /* BLOSSOM: image on the right */
    .lineup-grid.right-image.two-rows {
        grid-template-columns: 1fr 410px;
    }

    .lineup-visual {
        width: 410px;
    }

    .lineup-visual img {
        width: 410px;
        height: 600px;
    }
}

@media (min-width: 1260px) {

    /* BLOSSOM wide split: left content 820px + right visual 410px */
    .lineup-grid.right-image.two-rows {
        grid-template-columns: 820px 410px;
    }
}

.lineup-text .lineup-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.lineup-text .lineup-desc {
    font-size: 1rem;
    line-height: 2.1;
    color: #444;
    margin: 0;
}

/* Slider */
.lineup-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.lineup-slider .slider-viewport {
    overflow: hidden;
    padding: 14px 0 8px;
    /* extra vertical room so hover isn't clipped */
    box-sizing: content-box;
}

/* Force 3-up viewport when slider is placed to the right of the big image */
.lineup-grid.two-rows .lineup-right .slider-viewport {
    width: 820px;
    /* 260*3 + 20*2 = 820px */
    max-width: 100%;
}

/* enforce card size for slider context */
.lineup-slider .med-card {
    width: 260px;
    flex: 0 0 auto;
    margin-right: 20px;
    /* used by JS for step calc */
}

.lineup-slider .med-card:last-child {
    margin-right: 0;
}

.lineup-slider .slider-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    will-change: transform;
    transition: transform .35s ease;
    /* snappy like digital */
}

/* nav buttons */
.lineup-slider .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    background: rgba(0, 0, 0, .25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 2;
}

.lineup-slider .nav-btn:hover {
    background: rgba(0, 0, 0, .35);
    border-color: #ff6b35;
    color: #ff6b35;
}

.lineup-slider .nav-btn.prev {
    left: 8px;
}

.lineup-slider .nav-btn.next {
    right: 8px;
}

.lineup-slider .nav-btn.disabled,
.lineup-slider .nav-btn:disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}

/* 라인업 섹션 자세히보기 버튼 공통 */
.lineup-slider>.lineup-more-btn {
    position: absolute;
    top: -38px;
    /* 카드 섹션 바로 위 */
    right: 0;
    /* 우측 정렬 */
    z-index: 3;
}

/* 작은 화면에서는 겹침 방지 위해 약간 덜 위로 */
/* merged into final @media (max-width: 768px) block (lineup-more-btn) */
.lineup-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #ffffff;
    color: #363b53;
    ;
    background: rgba(255, 255, 255, 0.92);
    font-weight: 450;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 2;
}

.lineup-more-btn:hover {
    color: #fff;
    background: #ff6b35;
    border-color: #ff6b35;
    box-shadow: 0 8px 18px rgba(255, 107, 53, 0.25);
    transform: translateY(-1px);
}

/* 배치 컨텍스트 확보 */
.lineup-right,
.lineup-block.blossom-lineup {
    position: relative;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .lineup-grid.two-rows .lineup-right { min-width: 100% !important; gap: 32px; }
    .lineup-grid.right-image.two-rows .lineup-left { gap: 36px; }
    .lineup-slider .slider-viewport { padding: 0 !important; }
    .lineup-grid,
    .lineup-grid.right-image { 
        grid-template-columns: 1fr; 
    }
    .lineup-visual { 
        width: 100%; 
    }
    .lineup-visual img { 
        width: 100%; 
        height: 300px; 
    }
    /* On small screens, let the viewport be full width */
    .lineup-grid.two-rows .lineup-right .slider-viewport { 
        width: 100%; 
    }
    /* Unified hero text size */
    .hero-title { 
        font-size: 1.7rem; 
    }
    /* Mobile optimizations: spacing & typography */
    .medical-content { 
        padding: 60px 0; 
    }
    .content-intro { 
        padding: 0 16px; 
    }
    .intro-title { 
        font-size: 1.6rem; 
    }
    .intro-description { 
        font-size: 1rem; 
    }
    .section-title { 
        font-size: 2.1rem; 
        margin-bottom: 44px; 
    }
    /* Reorder BLOSSOM (right-image) so image -> text -> slider on mobile */
    .lineup-grid.right-image.two-rows .lineup-visual { order: 1; }
    .lineup-grid.right-image.two-rows .lineup-left { order: 2; }
    /* Make hero overlay fully transparent like digital/ethics to avoid stacked look */
    .hero-overlay { background: linear-gradient(45deg, rgba(0,0,0,0), rgba(0,0,0,0)) !important; }
}

@media (max-width: 768px) {
    /* Unified hero sizing */
    .medical-hero { 
        height: 28vh; 
        margin-bottom: 40px; 
        margin-top: -12px; 
    }
    /* 히어로 텍스트를 살짝 위로 이동 (우선순위 강제) */
    .medical-hero .hero-content {
        transform: translateY(-14px) !important; /* 필요 시 -10~-20px로 미세조정 */
    }
    /* Unified scroll indicator */
    .scroll-indicator { bottom: 8px; }
    .scroll-arrow { 
        width: 35px; 
        height: 35px; 
        border-width: 1.5px; 
        font-size: 1rem; 
    }
    .hero-title { 
        font-size: 2rem; 
        letter-spacing: 4px; 
    }
    .hero-subtitle { 
        font-size: 1.2rem; 
    }
    .hero-description { 
        font-size: 1.2rem; 
    }
    .medical-content { 
        padding: 60px 0; 
    }
    .section-title { 
        font-size: 2rem; 
    }
    /* Stack subtitle and button on small screens */
    .intro-header {
        text-align: center;
    }
    .intro-header .intro-subtitle {
        margin: 0 auto;
    }
    .homepage-btn { 
        position: static; 
        transform: none; 
        margin-top: 12px; 
        display: inline-flex; 
    }
    /* Reduce lineup visual and card sizes for narrow screens */
    .lineup-visual img { 
        height: 260px; 
    }
    .med-card-image { 
        height: 280px; 
    }
    .med-card-image img { 
        width: 220px; 
        height: 280px; 
    }
    .lineup-more-btn { 
        font-size: 0.95rem; 
        padding: 6px 12px; 
    }
    .medical-content { 
        padding: 0px 0; 
    }
    .section-title { 
        font-size: 1.9rem; 
    }
    .home-shortcut-btn {
        padding: 30px 0;
        margin-top: 40px;
    }
    .btn-home {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    /* Ensure overlay is fully transparent on mobile as well */
    .hero-overlay { background: linear-gradient(45deg, rgba(0,0,0,0), rgba(0,0,0,0)) !important; }
    /* Mobile fine-tuning (<=768px): unify card image size and viewport width */
    .lineup-slider .slider-viewport { 
        width: 92% !important; 
        margin: 0 auto !important; 
        padding: 0 !important; 
    }
    .lineup-slider .slider-track { gap: 0 !important; }
    .lineup-slider .med-card { 
        flex: 0 0 100% !important; 
        width: auto !important; 
        margin-right: 0 !important; 
    }
    .lineup-slider .med-card .med-card-image { height: 200px !important; }
    .lineup-slider .med-card .med-card-image img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        max-width: none !important; 
    }
    /* CELLA: consistent, larger but not oversized */
    .cella-lineup .med-card .med-card-image { height: 200px !important; }
    .cella-lineup .med-card .med-card-image img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        max-width: none !important; 
    }
    /* BLOSSOM: match CELLA sizing */
    .blossom-lineup .med-card .med-card-image { height: 200px !important; }
    .blossom-lineup .med-card .med-card-image img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        max-width: none !important; 
    }
    /* Reset any unexpected backgrounds */
    .medical-lineups .lineup-slider .slider-viewport,
    .medical-lineups .lineup-slider .med-card .med-card-image {
        background: #f7f7f7 !important;
    }
    /* Make viewport a bit narrower for a compact look */
    .medical-lineups .lineup-slider .slider-viewport { 
        width: 90% !important; 
        margin: 0 auto !important; 
    }
    /* CELLA: consistent, larger but not oversized */
    .cella-lineup .med-card .med-card-image { height: 200px !important; }
    .cella-lineup .med-card .med-card-image img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        max-width: none !important; 
    }
    /* BLOSSOM: match CELLA sizing */
    .blossom-lineup .med-card .med-card-image { height: 200px !important; }
    .blossom-lineup .med-card .med-card-image img { 
        width: 100% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        max-width: none !important; 
    }
    /* CELLA specific */
    .cella-lineup .lineup-grid { grid-template-columns: 1fr !important; }
    .cella-lineup .lineup-visual { order: 1 !important; }
    .cella-lineup .lineup-right { order: 2 !important; }
    .cella-lineup .lineup-visual img { width: 100% !important; height: 220px !important; object-fit: cover !important; display: block !important; }
    .cella-lineup .lineup-slider .slider-viewport { width: 92% !important; margin: 0 auto !important; padding: 0 !important; overflow: hidden !important; }
    .cella-lineup .lineup-slider .slider-track { gap: 0 !important; }
    .cella-lineup .lineup-slider .med-card { flex: 0 0 100% !important; width: auto !important; margin-right: 0 !important; }
    .cella-lineup .med-card .med-card-image { height: 210px !important; }
    .cella-lineup .med-card .med-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; display: block !important; }
    /* BLOSSOM specific */
    .blossom-lineup .med-card .med-card-image { height: 200px !important; }
    .blossom-lineup .med-card .med-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; }
    /* CELLA block as first lineup: enforce order and sizing */
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-grid { grid-template-columns: 1fr !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-visual { order: 1 !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-right { order: 2 !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-visual img { width: 100% !important; height: 220px !important; object-fit: cover !important; display: block !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-slider .slider-viewport { width: 92% !important; margin: 0 auto !important; padding: 0 !important; overflow: hidden !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-slider .slider-track { gap: 0 !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .lineup-slider .med-card { flex: 0 0 100% !important; width: auto !important; margin-right: 0 !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .med-card .med-card-image { height: 180px !important; }
    .products-section.medical-lineups .lineup-block:nth-of-type(1) .med-card .med-card-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; max-width: none !important; display: block !important; }
}

/* Mobile image fill: larger and cover fit for card images */
@media (max-width: 768px) {
  .medical-lineups .lineup-slider .med-card .med-card-image {
    height: 210px !important;
  }
  .medical-lineups .lineup-slider .med-card .med-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
  }
}

/* CELLA-specific mobile rules (win over any generic rules) */
@media (max-width: 768px) {
  /* Order: image -> text -> slider */
  .cella-lineup .lineup-grid { grid-template-columns: 1fr !important; }
  .cella-lineup .lineup-visual { order: 1 !important; }
  .cella-lineup .lineup-right { order: 2 !important; }

  /* Visual image sizing */
  .cella-lineup .lineup-visual img {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Single-card slider for CELLA */
  .cella-lineup .lineup-slider .slider-viewport {
    width: 92% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .cella-lineup .lineup-slider .slider-track { gap: 0 !important; }
  .cella-lineup .lineup-slider .med-card {
    flex: 0 0 100% !important;
    width: auto !important;
    margin-right: 0 !important;
  }

  /* Make card image larger and fill the card */
  .cella-lineup .med-card .med-card-image { height: 210px !important; }
  .cella-lineup .med-card .med-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    display: block !important;
  }
}

/* Mobile fine-tuning (<=768px): unify card image size and viewport width */
@media (max-width: 768px) {
  /* Reset any unexpected backgrounds */
  .medical-lineups .lineup-slider .slider-viewport,
  .medical-lineups .lineup-slider .med-card .med-card-image {
    background: #f7f7f7 !important;
  }

  /* Make viewport a bit narrower for a compact look */
  .medical-lineups .lineup-slider .slider-viewport { 
    width: 90% !important; 
    margin: 0 auto !important; 
  }

  /* CELLA: consistent, larger but not oversized */
  .cella-lineup .med-card .med-card-image { height: 200px !important; }
  .cella-lineup .med-card .med-card-image img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    max-width: none !important; 
  }

  /* BLOSSOM: match CELLA sizing */
  .blossom-lineup .med-card .med-card-image { height: 200px !important; }
  .blossom-lineup .med-card .med-card-image img { 
    width: 100% !important; 
    height: 100% !important; 
    object-fit: cover !important; 
    max-width: none !important; 
  }
}

/* 초소형 화면에서는 히어로 텍스트를 조금 더 위로 (우선순위 강제) */
@media (max-width: 480px) {
    .medical-hero .hero-content { transform: translateY(-16px) !important; }
    /* 인트로 헤드라인을 한 단계 더 축소 */
    .intro-title { font-size: 1.15rem !important; line-height: 1.5 !important; }
 }

/* Homepage 바로가기 버튼 */
.home-shortcut-btn {
    text-align: center;
    padding: 70px 0;
    margin-top: -150px;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ff6b35;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    border: 2px solid #ff6b35;
}

.btn-home:hover {
    background: white;
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-home i {
    font-size: 1.1rem;
}

/* CELLA & BLOSSOM mobile typography reductions */
@media (max-width: 768px) {
  /* Titles smaller */
  .cella-lineup .lineup-text .lineup-title,
  .blossom-lineup .lineup-text .lineup-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  /* Descriptions and general copy smaller */
  .cella-lineup .lineup-text .lineup-desc,
  .blossom-lineup .lineup-text .lineup-desc {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }
  /* Card titles smaller */
  .cella-lineup .med-card-title,
  .blossom-lineup .med-card-title {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }
  /* Misc text inside lineup blocks (paragraphs and list items) */
  .cella-lineup .lineup-text p,
  .cella-lineup .lineup-text li,
  .blossom-lineup .lineup-text p,
  .blossom-lineup .lineup-text li {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }
  /* More button slightly smaller */
  .cella-lineup .lineup-more-btn,
  .blossom-lineup .lineup-more-btn {
    font-size: 0.85rem !important;
    padding: 6px 10px !important;
  }
}

/* Global mobile typography reductions for hero + intro/body */
@media (max-width: 768px) {
  /* Hero text smaller */
  .hero-title { font-size: 1.6rem !important; letter-spacing: 3px !important; }
  .hero-subtitle { font-size: 1.2rem !important; letter-spacing: 2px !important; }
  .hero-description { font-size: 0.95rem !important; line-height: 1.6 !important; }

  /* Intro section typography smaller */
  .intro-subtitle { font-size: 1.1rem !important; letter-spacing: 0.5px !important; }
  .intro-title { font-size: 1.10rem !important; line-height: 1.45 !important; }
  .intro-description { font-size: 0.9rem !important; line-height: 1.7 !important; }

  /* General body copy under medical page */
  .content-intro p,
  .medical-content p,
  .medical-content li { font-size: 0.95rem !important; line-height: 1.8 !important; }

  /* Section titles slightly smaller on mobile */
  .section-title { font-size: 1.7rem !important; }
  /* 본문 텍스트 중앙정렬 해제: 모바일에서는 좌측 정렬 */
  .company-intro-section,
  .content-intro,
  .content-intro p { text-align: left !important; }
}

/* Mobile: push the homepage shortcut button further down */
@media (max-width: 768px) {
  .home-shortcut-btn {
    margin-top: -60px !important; /* was 40px in earlier mobile override */
    padding: 30px 0 !important;
  }
}