
/* =======================
   G 페이지 공통 스타일
   ======================= */

/* sub_G_01 홍보센터 뉴스 목록 (번호, 제목, 출처, 날짜) - 컬럼 + 배경/테두리 */
.local-news-wrap .local-news-ln-header,
.local-news-wrap .local-news-ln-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
.local-news-wrap .local-news-ln-header {
    background: #e6e5e5;
    border-bottom-color: #ddd;
    font-weight: bold;
}
.local-news-wrap .local-news-ln-header > div,
.local-news-wrap .local-news-ln-item > div {
    padding: 0 10px;
    text-align: center;
}
.local-news-wrap .local-news-ln-item a {
    text-decoration: none;
}
.local-news-wrap .local-news-ln-header > div:nth-child(1),
.local-news-wrap .local-news-ln-item > div:nth-child(1) { width: 10%; }
.local-news-wrap .local-news-ln-header > div:nth-child(2) { width: 65%; text-align: center; }
.local-news-wrap .local-news-ln-item > div:nth-child(2) { width: 65%; text-align: left; }
.local-news-wrap .local-news-ln-header > div:nth-child(3),
.local-news-wrap .local-news-ln-item > div:nth-child(3) { width: 15%; }
.local-news-wrap .local-news-ln-header > div:nth-child(4),
.local-news-wrap .local-news-ln-item > div:nth-child(4) { width: 10%; }

.local-news-wrap .local-news-ln-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* sub_G_01 홍보센터 뉴스: 관리자 버튼은 특정 IP에서만 노출 (JS에서 display 처리) */
#adminButtonWrap { display: none; }

/* 홍보영상 페이지 전용 스타일 */
.section-bg-image {
    background-image: url(images/full-width-images/section-image7-kapa.png);
}

.footer-contact-info {
    margin: 0;
}

.privacy-policy-link {
    color: #00a4e4;
    font-weight: 800;
}

.copyright-text {
    font-size: xx-small;
    color: #ccc;
    margin-top: 30px;
}

.video-responsive {
    margin: auto;
    max-width: 100%;
    height: auto;
}

/* =======================
   동영상 갤러리 레이아웃
   ======================= */* 동영상 갤러리 섹션 */
.videos-gallery-section {
    margin-bottom: 40px;
}

.videos-gallery-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-dark-1);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.videos-gallery-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--color-primary-1-a);
    border-radius: 1px;
}

/* 동영상 그리드 (2x3) */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    height: 400px; /* 고정 높이로 컴팩트하게 */
}

.video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: var(--color-gray-light-1);
}

.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 12px 8px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.video-item:hover .video-overlay {
    transform: translateY(-3px);
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: white;
    text-align: center;
    line-height: 1.3;
}

/* 동영상 갤러리 반응형 디자인 */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: 500px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        height: 450px;
        gap: 12px;
    }
    
    .videos-gallery-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .video-overlay {
        padding: 12px 10px 6px;
    }
    
    .video-title {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .videos-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        height: 600px;
        gap: 10px;
    }
    
    .videos-gallery-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .video-overlay {
        padding: 10px 8px 5px;
    }
    
    .video-title {
        font-size: 12px;
    }
}

/* =======================
   2025년도 전용 스타일
   ======================= */

.year-section-2025 {
    margin-bottom: 40px !important;
}

.year-section-2025 h2 {
    font-size: 28px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #007AFF !important;
}

.works-grid-2025 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    justify-content: space-between !important;
    gap: 0 !important;
    width: 100% !important;
    /* masonry 스타일 무효화 */
    columns: unset !important;
    column-count: unset !important;
}

.work-item-2025 {
    width: 100% !important;
    /* masonry 관련 스타일 무효화 */
    float: none !important;
    display: block !important;
    break-inside: avoid !important;
}

.work-item-2025:first-child {
    justify-self: start !important;
}

.work-item-2025:last-child {
    justify-self: end !important;
}









/* =======================
   시설안내 카드 레이아웃
   ======================= */

/* 카드 컨테이너 - 기본 스타일과 통합 */
.service-cards-container {
    display: grid !important;
    gap: 30px !important;
    margin-top: 0px !important;
    margin: 32px 0;
}

.service-cards-container[role="list"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    align-items: stretch;
}

/* 기본 2열 레이아웃 */
.service-cards-container:not([role="list"]) {
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
}

.service-card {
    background: #fff !important;
    border: 1px solid var(--color-gray-light-4) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    position: relative;
}

.service-card-header {
    background: var(--color-gray-light-2) !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--color-gray-light-4) !important;
    max-height: 300px;
    text-align: center !important;
}

.service-card-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: var(--color-dark-1) !important;
    margin: 0 !important;
    line-height: 1.3;
    text-align: center;
}

.service-card-body {
    padding: 20px 17px !important;
    background: #fff !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.service-card-list {
    margin: 0;
    padding-left: 10px;
    list-style: none;
    padding: 0;
}

.service-card-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: #525252;
    font-size: 0.9rem;
    word-break: keep-all;
    word-wrap: break-word;
    line-height: 140%;
}

.service-card-list li::before {
    content: '•';
    color: #0f62fe;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-card-list li strong {
    font-weight: 600;
    color: var(--color-dark-1);
}

/* 4컬럼 레이아웃 */
.documents-4col {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
}

.documents-4col .service-card {
    min-height: 200px;
}

/* 시설안내 반응형 디자인 */
@media (max-width: 1200px) {
    .documents-4col {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .documents-4col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .documents-4col {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}


/* =======================
   홍보센터 추가작업
   — sub_G_02: .works-container.g02-pr-layout
   — sub_G_03 홍보자료실: .works-container.g03-promo-materials
   — sub_G_05 웹진: .works-container.g05-webzine-works
   ======================= */


    /* 탭 전환·최소 높이: 페이지별 루트 클래스와 함께만 적용 */
    .works-container.g02-pr-layout,
    .works-container.g03-promo-materials,
    .works-container.g05-webzine-works {
        position: relative;
        min-height: 400px;
      }
      
      /* —— 아래부터 sub_G_03(.g03-promo-materials) 전용 —— */
      
      /* 공통 그리드 스타일 */
      .g03-promo-materials .works-grid.visible {
        display: block !important;
      }
      
      /* Cartoon 그리드 - 기본 표시 */
      .g03-promo-materials #Cartoon-grid {
        display: block;
      }
      
      /* Brochure 그리드 - 3열 레이아웃 */
      .g03-promo-materials #brochure-grid .work-list {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        max-width: 100%;
        margin: 0 auto;
      }
      
      .g03-promo-materials #brochure-grid .work-item {
        flex: 0 0 calc(30% - 14px);
        margin-bottom: 30px;
      }
      
    /* EBook 그리드 - 4열 레이아웃 */
    .g03-promo-materials #ebook-grid .work-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 150px;
        max-width: 900px;
        margin: 0 auto;
      }
      
      .g03-promo-materials #ebook-grid .work-item {
        grid-column: span 1;
        margin-bottom: 30px;
      }
      
      .g03-promo-materials #ebook-grid .work-item:nth-child(1) {
        grid-column: 2;
      }
      
      .g03-promo-materials #ebook-grid .work-item:nth-child(2) {
        grid-column: 3;
      }
  
      /* 연도별 섹션 스타일 */
      .g03-promo-materials .year-section {
        margin-bottom: 60px;
      }
      
      .g03-promo-materials .year-section:last-child {
        margin-bottom: 0;
      }
      
      .g03-promo-materials .year-title {
        font-size: 24px;
        font-weight: 600;
        color: #333;
        margin-bottom: 30px;
        padding-bottom: 10px;
        border-bottom: 2px solid #e0e0e0;
        text-align: center;
      }
      
      /* 2025년도 2열 그리드 */
      .g03-promo-materials .work-grid-2 .work-list {
        display: flex;
        justify-content: space-between;
        gap: 30px;
      }
      
      .g03-promo-materials .work-grid-2 .work-item {
        flex: 1;
        max-width: calc(50% - 15px);
      }
      
      /* 2024년도 4열 그리드 */
      .g03-promo-materials .work-grid-4 .work-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        align-items: start;
      }

/* 2019년 3열 그리드 */
.g03-promo-materials .work-grid-3 .work-item {
    width: 90%;
}

    .g03-promo-materials .work-grid-3 .work-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        align-items: start;
        justify-items: center;
        max-width: 1250px;
        margin: 0 auto;
    }
  
      /* 3열 그리드에서 이미지가 꽉 차게 보이도록 */
      .g03-promo-materials .work-grid-3 .work-wt-img {
        width: 90%;
        height: 250px;
      }
  
      .g03-promo-materials .work-grid-3 .work-wt-img img {
        width: 95%;
        height: 100%;
        object-fit: cover;
      }

      /* 공통 이미지 스타일 */
      .g03-promo-materials .work-img-bros {
        height: 380px;
      }
  
      .g03-promo-materials .work-wt-img,
      .g03-promo-materials .work-grid-2 .work-img {
        height: 250px;
        width: 95%;
      }

      /* 카툰 썸네일: 빈 박스(empty-card) 제외 배경 흰색 (base.css 회색 work-img-bg 덮어씀) */
      .g03-promo-materials #Cartoon-grid .work-wt-img,
      .g03-promo-materials #Cartoon-grid .work-img {
        background-color: #fff;
      }

      .g03-promo-materials #Cartoon-grid .work-img-bg {
        background: #fff;
        background-color: #fff;
      }

      .g03-promo-materials #Cartoon-grid .work-wt-img img,
      .g03-promo-materials #Cartoon-grid .work-img img {
        background-color: #fff;
      }
      
      .g03-promo-materials .work-grid-2 .work-img {
        border: 1px solid #eee;
      }

      /* 2025 2열: 웹툰 비율 유지(contain), 배경 흰색 */
      .g03-promo-materials .work-grid-2 .work-wt-img {
        aspect-ratio: unset;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
      }
  
      .g03-promo-materials .work-grid-2 .work-img img,
      .g03-promo-materials .work-grid-4 .work-wt-img img,
      .g03-promo-materials .work-grid-3 .work-wt-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0 auto;
        background-color: #fff;
      }

      .g03-promo-materials .work-grid-2 .work-wt-img img {
        width: auto;
        max-width: 100%;
        height: 100%;
        object-fit: contain;
        margin: 0 auto;
        background-color: #fff;
      }
  
      /* 공통 워크 아이템 스타일 */
      .work-item,
      .work-item a {
        width: 100%;
        display: flex;
        flex-direction: column;
      }
      
      .work-item a {
        text-decoration: none;
      }
      
      /* 홍보자료실 카드: 링크 영역을 hover 테두리로 명확히 표시 */
      .g03-promo-materials .work-item > a {
        position: relative;
        isolation: isolate;
        padding: 8px;
        border: 1px solid transparent;
        border-radius: 8px;
        transition: border-color .2s var(--ease-default), box-shadow .2s var(--ease-default);
      }

      .g03-promo-materials .work-item > a::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        border: 1px solid transparent;
        border-radius: 8px;
        transition: border-color .2s var(--ease-default), box-shadow .2s var(--ease-default);
      }

      .g03-promo-materials .work-item > a:hover,
      .g03-promo-materials .work-item > a:focus-visible {
        border-color: transparent;
      }

      .g03-promo-materials .work-item > a:hover::after {
        border-color: var(--color-gray-light-4);
        box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.04);
      }

      .g03-promo-materials .work-item > a:focus-visible::after {
        border-color: var(--kapa-blue);
        box-shadow: 0 0 0 2px rgba(0, 130, 200, 0.12);
      }

      /* 확대된 썸네일이 잘리지 않도록 카드 내부의 clip-path 효과 해제 */
      .g03-promo-materials .work-item > a:hover .work-wt-img,
      .g03-promo-materials .work-item > a:focus-visible .work-wt-img,
      .g03-promo-materials .work-item > a:hover .work-img,
      .g03-promo-materials .work-item > a:focus-visible .work-img {
        clip-path: none;
      }

      .g03-promo-materials .work-item > a:hover .work-intro,
      .g03-promo-materials .work-item > a:focus-visible .work-intro {
        transform: none;
      }

      .work-intro {
        width: 100%;
        box-sizing: border-box;
      }

      /* sub_G_03: 카툰 그리드 제목은 항상 가운데 정렬 */
      .g03-promo-materials #Cartoon-grid .work-intro {
        text-align: center;
      }
      
      /* work-list 기본 스타일 */
      .work-list {
        list-style: none;
        margin: 0;
        padding: 0;
      }

/* 빈 페이지 안내 (sub_G_03) */
      .g03-promo-materials .cartoon-card {
    background-color: var(--color-gray-light-1);
        border-radius: var(--border-radius-default);
        box-shadow: var(--shadow-light);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        text-decoration: none;
        color: var(--color-dark-1);
    min-height: 250px;
        display: flex;
        flex-direction: column;
        position: relative;
        border: 1px solid var(--color-dark-3a);
      }

      .g03-promo-materials .empty-card {
    background: linear-gradient(135deg, var(--color-gray-light-3) 0%, var(--color-gray-light-1) 100%);
        border: 2px dashed var(--color-gray-light-2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-style: normal;
        cursor: default;
        position: relative;
      }
  
      .g03-promo-materials .empty-card:hover {
        transform: none;
        box-shadow: var(--box-shadow);
        border-color: var(--color-gray-light-2);
        cursor: default;
      }
  
      .g03-promo-materials .empty-card::before {
        content: "다음 화에서 또 만나요!";
        text-align: center;
        font-size: 13px;
        line-height: 1.4;
        padding: 0 var(--spacing-md);
        color: var(--label-secondary);
        font-weight: 500;
      }

      .g03-promo-materials .work-grid-2 .cartoon-card.empty-card {
        width: 95%;
        min-height: 250px;
        height: 250px;
        margin: 0 auto;
        box-sizing: border-box;
      }
  
  
/* =======================
   홍보자료실 브로슈어 CSS
   ======================= */

.g03-promo-materials .work-img-bros {
    position: relative;
    overflow: hidden;
    transform: rotate(0.001deg) translateZ(0);
    /* 홍보자료실 브로슈어 비율 */
    aspect-ratio: 8.5 / 12.5;
    border: 1px solid #ccc;
    margin: 0 auto;
    background-color: #fff;
}

.g03-promo-materials .work-img-bros img {
    height: 100%;    
    overflow: hidden;
    transform: rotate(0.001deg) translateZ(0);
}

/* Work item hover state */
.g03-promo-materials .work-item .work-img-bros,
.g03-promo-materials .work-item .work-img-bros > img {
    transition: all 2s var(--ease-out-medium);
}

.g03-promo-materials .work-item .work-img-bros {
   clip-path: inset(-1px);
   will-change: clip-path;
}

.g03-promo-materials .work-item a:hover .work-img-bros {
   clip-path: inset(10px);
}

.g03-promo-materials .work-item a:hover .work-img-bros > img {
    transform: scale(1.05) rotate(0.001deg) translateZ(0);
}

/* Work item hover state alt */
.g03-promo-materials .works-grid.work-grid-hover-alt .work-item .work-img-bros {
    overflow: hidden;
    transition: all .2s var(--ease-default);  
}

.g03-promo-materials .works-grid.work-grid-hover-alt .work-item .work-img-bros img {
    transition: all .1s var(--ease-default);
}

.g03-promo-materials .works-grid.work-grid-hover-alt .work-item a:hover .work-img-bros {
   clip-path: none;
   transform: translateY(-7px) rotate(0.001deg) translateZ(0);
}

.g03-promo-materials .works-grid.work-grid-hover-alt .work-item a:hover .work-img-bros img {
   transform: scale(1) rotate(0.001deg) translateZ(0);
}

/* Work item round */
.g03-promo-materials .works-grid.work-grid-round .work-item .work-img-bros {
    overflow: hidden;
    border-radius: var(--border-radius-default);
    isolation: isolate;
    transform: translateZ(0);
}

.g03-promo-materials .works-grid.work-grid-round .work-item .work-img-bros-bg {
    border-radius: var(--border-radius-default);
}

/* Work item with hidden title */
.g03-promo-materials .works-grid.hide-titles .work-item .work-img-bros {
    transition: all .3s var(--ease-out-short);
}

.g03-promo-materials .works-grid.hide-titles .work-item a:hover .work-img-bros > img {
    transform: none;
}

/* =======================
   갤러리 이미지 크기 조정 및 화살표 위치 조정
   ======================= */

.work-full-media {
    position: relative;
    max-width: 93%;
    margin: 0 auto;
    border: 1px solid #eee;
    padding: 5px;
}

.work-full-media .work-full-slider {
    position: relative;
}

.work-full-media .owl-prev,
.work-full-media .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.work-full-media .owl-prev {
    left: -40px; /* 이미지 밖으로 배치 */
}

.work-full-media .owl-next {
    right: -40px; /* 이미지 밖으로 배치 */
}

.work-full-media .owl-prev:hover,
.work-full-media .owl-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.work-full-media .owl-prev svg,
.work-full-media .owl-next svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary-1);
}


/* 갤러리 반응형 디자인 */
@media (max-width: 768px) {
    .work-full-media {
        max-width: 90%; /* 모바일에서는 조금 더 크게 */
    }
    
    .work-full-media .owl-prev {
        left: -20px;
    }
    
    .work-full-media .owl-next {
        right: -20px;
    }
    
    .work-full-media .owl-prev,
    .work-full-media .owl-next {
        width: 40px;
        height: 40px;
    }
    
    .work-full-media .owl-prev svg,
    .work-full-media .owl-next svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .work-full-media {
        max-width: 95%; /* 작은 화면에서는 거의 전체 너비 */
    }
    
    .work-full-media .owl-prev {
        left: -15px;
    }
    
    .work-full-media .owl-next {
        right: -15px;
    }
    
    .work-full-media .owl-prev,
    .work-full-media .owl-next {
        width: 35px;
        height: 35px;
    }
    
    .work-full-media .owl-prev svg,
    .work-full-media .owl-next svg {
        width: 14px;
        height: 14px;
    }
}

/* =======================
   sub_G_02 전용 스타일
   (custom.css에 동일 블록 두지 말 것 — base @import 순서로 중복·충돌 유발)
   ======================= */

/* 라디오 광고 페이지 레이아웃 */
.radio-page-container {
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    background-color: var(--color-gray-light-1);
    border-radius: 10px;
}

/* 지하철 광고 영역을 라디오 광고와 같은 배경 컨테이너로 통일 */
.subway-page-container {
    padding: 50px;
    background-color: var(--color-gray-light-1);
    border-radius: 10px;
}

.main-title {
    font-size: small;
    text-align: center;
    color: var(--color-dark-3);
    margin-bottom: 40px;
}

/* Flexbox를 사용하여 유연한 레이아웃 구현 */
.grid-container {
    display: flex;
    flex-wrap: wrap; /* 자식 요소가 넘치면 다음 줄로 이동 */
    align-items: flex-start; /* 펼쳐진 카드와 같은 행의 카드 높이를 맞추지 않음 */
    justify-content: center; /* 카드들을 가운데 정렬 */
    margin: -12.5px; /* 음수 마진으로 첫 번째 카드와 컨테이너 사이 간격 조정 */
}

.grid-container.two-per-row .album-card,
.grid-container .single-item {
    flex: 0 0 calc(50% - 25px);
    max-width: calc(50% - 25px);
    margin: 12.5px;
}

/* 앨범 카드 스타일 */
.album-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.album-image-wrapper {
    width: 100%;
    padding-top: 15%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.album-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: auto;
    opacity: 0.8;
}

.album-info {
    margin-top: 15px;
}

.album-description {
    margin: 0 0 5px;
    color: var(--color-gray-1);
    font-size: 14px;
}

.album-title {
    margin: 0 0 5px;
    color: var(--color-dark-3a);
    font-size: medium;
    letter-spacing: -0.05em;
}

.album-period {
    margin: 0;    
    color: var(--color-gray-2);
    font-size: 14px;
}

/* 오디오 플레이어 및 토글 버튼 */
.audio-player {
    width: 100%;
    margin-top: 15px;
    display: block;
    /* 과한 pill radius는 WebKit 컨트롤(옵션 메뉴 등)이 잘리는 원인 */
    border-radius: 8px;
    overflow: visible;
    min-height: 44px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .album-card .audio-player {
        border-radius: 4px;
        overflow: visible;
    }

    .audio-player::-webkit-media-controls-enclosure {
        overflow: visible !important;
        border-radius: 4px !important;
    }

    .audio-player::-webkit-media-controls-panel {
        overflow: visible !important;
    }
}

.toggle-button {
    width: 100%;
    margin-top: 15px;
    padding: 10px 0;
    background-color: var(--color-gray-light-1);
    border: none;
    border-radius: 5px;
    color: var(--color-gray-1);
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.toggle-button:hover {
    background-color: var(--color-gray-light-3);
}

.ad-script {
    text-align: left;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--color-gray-light-3);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.ad-script h4 {
    margin: 0 0 10px;
    color: var(--color-primary-1-a);
    font-size: medium;
}

.ad-script p {
    margin: 0 0 10px;
    font-size: medium;
    letter-spacing: -0.06em;
}

.ad-script:not(.hidden) {
    max-height: 500px;
}

/* 라디오(sub_G_02)·웹진(sub_G_05): custom.css flex + li 한 줄 전체폭 — 홍보자료실(g03)과 분리 */
.g02-pr-layout .work-list > li,
.g05-webzine-works .work-list > li {
    width: 100%;
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 지하철 광고 팀 아이템 스타일 */
.team-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.team-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* 지하철 광고는 정보용 카드이므로 클릭을 암시하는 hover 반응 제거 */
#Subway-grid .team-item,
#Subway-grid .team-item:hover {
    cursor: default;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: none;
}

#Subway-grid .team-item-image img,
#Subway-grid .team-item-descr {
    transition: none;
}

.team-item-image {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    max-height: 370px;
    background-color: #000;
    border-radius: 8px 8px 0 0;
}

.team-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.team-item-image--cover img {
    object-fit: cover;
}

.team-item-descr {
    padding: 20px;
}

.team-item-name-g {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-1);
    margin: 0;
    line-height: 1.4;
}

.team-item-role {
    font-size: 14px;
    color: var(--color-gray-2);
    font-style: italic;
}

/* 지면 광고 Print Grid 스타일 */
.print-grid {
    margin-top: 40px;
    padding: 0 10px;
}

.print-grid .container {
    max-width: 1400px;
    margin: 0 auto;
}

.print-grid .row {
    margin: 0 -10px;
    display: flex;
    flex-wrap: wrap;
}

.print-grid .col-sm-6,
.print-grid .col-lg-3 {
    padding: 0 10px;
    margin-bottom: 20px;
    flex: 0 0 20%; /* 5개씩 한 줄 */
    max-width: 20%;
}

.print-item {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--color-gray-light-1);
    border: 1px solid var(--color-gray-light-5);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;       
}

.print-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--color-gray-light-5);
    text-decoration: none;
    color: inherit;
}

.print-item img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.print-item:hover img {
    transform: scale(1.05);
}

.print-content {
    padding: 15px;
    background: var(--color-gray-light-1);
    text-align: center;
}

.print-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: var(--color-dark-1);
    letter-spacing: -0.3px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .radio-page-container,
    .subway-page-container {
        padding: 15px;
    }

    /* 모바일: 카드 좌우 마진 제거 → 가로폭 확보(오디오 등이 좁아지지 않게) */
    .radio-page-container .grid-container {
        margin: -12.5px 0;
    }

    .grid-container.two-per-row .album-card,
    .grid-container .single-item {
        flex: 1 1 100%;
        max-width: 100%;
        margin: 12.5px 0;
    }
    
    .print-grid .col-sm-6,
    .print-grid .col-lg-3 {
        flex: 0 0 50%; /* 2개씩 */
        max-width: 50%;
    }
}

@media (max-width: 1200px) {
    .print-grid .col-sm-6,
    .print-grid .col-lg-3 {
        flex: 0 0 25%; /* 4개씩 */
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .print-grid .col-sm-6,
    .print-grid .col-lg-3 {
        flex: 0 0 33.333%; /* 3개씩 */
        max-width: 33.333%;
    }
}

@media (max-width: 576px) {
    .print-grid .col-sm-6,
    .print-grid .col-lg-3 {
        flex: 0 0 100%; /* 1개씩 */
        max-width: 100%;
    }
}

/************************* END PR룸 sub_G_02 *******************************/




/* =======================
   sub_G_03 전용 스타일
   ======================= */

/* work-title 글자 크기 조정 */
.work-title {
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin: 1rem 0 !important;
    color: var(--color-dark-1) !important;
}

/************************* END sub_G_03 *******************************/

/* =======================
   sub_G_04 전용 스타일
   ======================= */

/* 메인 플레이어 + 썸네일 갤러리 레이아웃 */
.main-video-player-section {
    margin-bottom: 50px;
}

.main-video-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark-1);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.main-video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background-color: var(--color-gray-light-1);
}

/* 전체 프레임 표시(원본 비율). cover+고정 aspect-ratio는 좌우/상하 잘림 유발 */
.main-video-player {
    width: 100%;
    height: auto;
    display: block;
}

.main-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 40px 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.main-video-container:hover .main-video-info {
    transform: translateY(-5px);
}

.main-video-title-text {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: white;
}

.main-video-description {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* 썸네일 갤러리 섹션 */
.thumbnail-gallery-section {
    margin-top: 40px;
}

.thumbnail-gallery-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-1);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

/* 썸네일 그리드 (sub_G_04 전용 클래스 — 페이지 내 다른 사용처 없음) */
.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .thumbnail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .thumbnail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 479px) {
    .thumbnail-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

.thumbnail-item {
    position: relative;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: var(--color-gray-light-1);
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
    border-color: var(--color-primary-1-a);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.thumbnail-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.thumbnail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay {
    opacity: 1;
}

.play-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-primary-1-a);
    font-weight: bold;
}

.thumbnail-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px 8px 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

/************************* END sub_G_04 *******************************/

/* =======================
   sub_G_05 전용 스타일
   ======================= */

/* 웹진 상단 안내(sub_G_05): PC는 기존과 동일 — 버튼만 인라인 대체 */
.g05-webzine-works #Radio-grid > .work-list {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.g05-webzine-btn {
    display: block;
    max-width: 300px;
    margin: 20px auto 0;
}

/* PC에서만 문장별 줄바꿈 */
@media (min-width: 769px) {
    .g05-webzine-body {
        text-align: center;
    }

    .g05-webzine-pc-break {
        display: block;
        content: "";
        margin-top: 0.45em;
    }
}

/* 모바일만: 가운데 정렬·글자 비율 */
@media (max-width: 768px) {
    .g05-webzine-pc-break {
        display: none;
    }

    .g05-webzine-intro {
        text-align: center;
    }

    .g05-webzine-body {
        color: var(--color-dark-3);
        max-width: 52em;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(0.8125rem, 3.1vw, 0.9375rem);
        line-height: 1.55;
        word-break: keep-all;
    }

    /* custom.css 전역 h2 모바일 clamp(18px~28px) !important 보다 우선 — 안내 문구는 작게 */
    .g05-webzine-intro h2.main-title {
        font-size: clamp(10px, 2.6vw, 12px) !important;
        margin-bottom: 0.75rem;
        line-height: 1.45;
    }

    .g05-webzine-cta {
        margin-top: 16px;
    }

    .g05-webzine-btn {
        margin-top: 16px;
        font-size: clamp(0.8125rem, 3vw, 0.875rem);
    }
}

/* 웹진 iframe 스타일 */
.webzine-iframe {
    width: 100%;
    height: 1000px;
    border: 0;
    margin-top: 10px;
}

/************************* END sub_G_05 *******************************/

/* =======================
   sub_G_06 전용 스타일
   ======================= */


/* 시설안내 카드 스타일 */
.facility-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.facility-card {
    background: #fff;
    border: 1px solid var(--color-gray-light-4);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--box-shadow);
}

.facility-card-header {
    background: var(--color-gray-light-2);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-gray-light-4);
}

.facility-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark-1);
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.facility-card-body {
    padding: 20px 17px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.facility-info h4 {
    color: var(--color-primary-1);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-gray-light-3);
    text-align: center;
}

.facility-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.facility-info li {
    padding: 8px 0;
    color: var(--color-dark-2);
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
    word-break: keep-all;
    cursor: pointer;
    transition: color 0.2s ease, font-weight 0.1s ease;
}

.facility-info li::before {
    content: '•';
    color: var(--color-primary-1);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.facility-info li.history-active {
    color: var(--color-primary-1);
    font-weight: 600;
}

.facility-info li.history-active::before {
    content: '▶';
    font-size: 0.7em;
    top: 11px;
}

.facility-info li strong {
    color: var(--color-dark-1);
    font-weight: 600;
}

/************************* END sub_G_06 *******************************/

/* =======================
   sub_G_07 전용 스타일
   ======================= */

/* 협회로고안내 페이지 */
/* 참고: service-card-list li:last-child::before 스타일은 sub_G_06 섹션에 정의됨 */

/* 섹션 공통 스타일 */
.symbol-intro-section,
.logo-download-section,
.logotype-section,
.guidelines-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #fafafa;
}

.signature-section,
.color-guide-section {
    padding-top: 40px;
    padding-bottom: 40px;
    background: transparent;
}

.section-title-main {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #161616;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    letter-spacing: -0.03em;
}

.section-title-main.mb-12 {
    margin-bottom: 12px !important;
}


.section-title-main::after {
    display: none;
}

.section-description-main {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 0;
    border: none;
}

/* sub_G_07 배경 패턴 보조 클래스 */
.section-bg-gray {
    background: #fafafa !important;
}

.section-bg-white {
    background: transparent !important;
}

/* 카드 컨테이너 */
.service-cards-container {
    display: grid !important;
    gap: 20px !important;
    margin-top: 0px !important;
}

.documents-3col {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

.documents-2col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
}

.guideline-full-width {
    grid-template-columns: 1fr !important;
}

.guideline-card-full {
    width: 100%;
    max-width: 100%;
}

/* Service Card - 현대카드 스타일 */
.service-card {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-card-header {
    padding: 28px 24px 24px !important;
    text-align: center !important;
    background: #fff !important;
    border-bottom: none !important;
    position: relative;
}


.service-card-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #161616 !important;
    margin: 0 !important;
    letter-spacing: -0.03em;
}

.service-card-body {
    padding: 0 24px 28px 24px !important;
    background: #fff !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-description {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

/* File Icon - 개선된 디자인 */
.file-icon {
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: white !important;
    position: relative;
    overflow: hidden;
}

.file-icon-text {
    position: relative;
    z-index: 1;
}

.png-icon {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%) !important;
}

.pdf-icon {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important;
}

.ai-icon {
    background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%) !important;
}


/* Color Showcase - 현대트랜시스 스타일 */
.color-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 24px;
    max-width: 100%;
    margin: 0;
}

.color-showcase-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.color-swatch-top {
    display: none;
}

.color-swatch-small {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    flex: 1;
    min-height: 0;
}

.color-swatch-small.primary {
    background: var(--kapa-blue, #0082C8);
}

.color-swatch-small.secondary {
    background: #D1D2D4;
}

.color-name-top {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.2;
}

.color-swatch-top.secondary .color-name-top {
    color: #161616;
}

.color-info-bottom {
    padding: 20px 24px;
    background: #fff;
}

.color-info-layout {
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 24px;
    align-items: flex-start;
}

.color-name-section {
    padding-right: 24px;
    border-right: 1px solid #e8e8e8;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 200px;
}

.color-name-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
}

.color-name-line {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #161616;
    line-height: 1.2;
    display: block;
}

.color-specs-section {
    display: grid;
    grid-template-columns: 3.5fr 3.5fr;
    gap: 16px 24px;
}

.color-spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 0;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
    border-radius: 4px;
}

.color-spec-item:hover {
    background-color: #f5f5f5;
}

.color-spec-item:last-child {
    border-bottom: none;
}

.color-spec-item .spec-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.8125rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.color-spec-item .spec-value {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #161616;
    text-align: left;
    line-height: 1.4;
    flex: 1;
}

.color-copy-btn-small {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    opacity: 0;
    padding: 0;
    margin: 0;
    position: static;
    transform: none;
    flex-shrink: 0;
}

.color-spec-item:hover .color-copy-btn-small {
    opacity: 1;
}

.color-copy-btn-small:hover {
    background: transparent;
    border: none;
    opacity: 0.7;
}

.color-copy-btn-small:hover .copy-icon-small {
    color: var(--kapa-blue, #0082C8);
}

.copy-icon-small {
    font-size: 0.875rem;
    display: inline-block;
    line-height: 1;
    color: #999;
    transition: color 0.2s ease;
}

.color-usage-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e8e8e8;
}

.usage-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-align: center;
}

.usage-examples {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.usage-example-item {
    flex: 1;
    min-width: 100px;
    max-width: 120px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.usage-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.usage-example-item[style*="color:"] .usage-text {
    text-shadow: none;
}

/* 기존 Color Swatch 스타일 (하위 호환성) */
.color-swatch-wrapper {
    margin-bottom: 16px;
}

.color-swatch {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
}

.color-swatch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

.color-swatch.primary {
    background: var(--kapa-blue, #0082C8) !important;
}

.color-swatch.secondary {
    background: #D1D2D4 !important;
}


.color-header {
    padding: 32px 24px 20px !important;
}

.color-body {
    padding: 20px 24px 32px !important;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.color-info-item:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.color-info-item:hover .color-copy-btn {
    opacity: 1;
    transform: scale(1);
}

.color-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #161616;
    font-family: 'Courier New', monospace;
    flex: 1;
    text-align: right;
    margin-right: 8px;
}

.color-copy-btn {
    background: var(--kapa-blue, #0082C8);
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: scale(0.8);
    padding: 0;
    flex-shrink: 0;
}

.color-copy-btn:hover {
    background: #006ba3;
    transform: scale(1.1);
}

.color-copy-btn:active {
    transform: scale(0.95);
}

.copy-icon {
    font-size: 0.875rem;
    display: inline-block;
    line-height: 1;
}

/* Download Buttons - 개선된 디자인 */
.download-buttons {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 20px !important;
}

.btn-download {
    background: linear-gradient(135deg, #0f62fe 0%, #0043ce 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-width: 120px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-download:hover::before {
    width: 300px;
    height: 300px;
}

.btn-download:hover {
    background: linear-gradient(135deg, #0043ce 0%, #0039a8 100%) !important;
    transform: translateY(-2px) !important;
}

.btn-download:active {
    transform: translateY(0) !important;
}

.btn-download-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
}

.btn-download-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%) !important;
}

.btn-icon {
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-download:hover .btn-icon {
    transform: translateY(2px);
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Size Examples - 개선된 디자인 */
.size-examples {
    width: 100%;
    margin-top: 20px;
}

.logo-preview {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
    gap: 40px !important;
    width: 100% !important;
}

.logo-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.logo-preview-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #161616;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.logo-preview-img {
    width: 100% !important;
    height: 500px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.logo-preview-img:hover {
    opacity: 0.8;
}

.size-note {
    font-size: 0.875rem;
    color: #666;
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* Guideline List - 개선된 디자인 */
.guideline-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guideline-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid transparent;
    list-style: none !important;
}

.guideline-list li::before {
    display: none !important;
}

.list-icon {
    color: var(--kapa-blue, #0082C8);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.list-text {
    color: #525252;
    font-size: 0.9375rem;
    line-height: 1.6;
    flex: 1;
}

.service-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    color: #525252;
    font-size: 0.95rem;
}

.service-card-list li::before {
    content: '•';
    color: #0f62fe;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 모바일 반응형 디자인 */
@media (max-width: 992px) {
    .symbol-intro-section,
    .logo-download-section,
    .logotype-section,
    .guidelines-section {
        padding-top: 60px;
        padding-bottom: 60px;
        background: #fafafa;
    }

    .signature-section,
    .color-guide-section {
        padding-top: 60px;
        padding-bottom: 60px;
        background: transparent;
    }

    .color-showcase-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .color-showcase-header {
        padding: 40px 30px 30px;
    }

    .color-circle {
        width: 120px;
        height: 120px;
    }

    .color-name-in-bar {
        font-size: 1.125rem;
    }

    .color-showcase-body {
        padding: 30px;
        gap: 24px;
    }

    .color-specs {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .section-title-main {
        font-size: 1.75rem;
    }

    .section-description-main {
        font-size: 1rem;
        padding: 0 20px;
    }

    .documents-3col {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 24px !important;
    }

    .documents-2col {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 768px) {
    .logo-download-section,
    .symbol-intro-section,
    .logotype-section,
    .guidelines-section {
        padding-top: 50px;
        padding-bottom: 50px;
        background: #fafafa;
    }

    .signature-section,
    .color-guide-section {
        padding-top: 50px;
        padding-bottom: 50px;
        background: transparent;
    }

    .section-title-main {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .section-title-main::after {
        width: 50px;
        height: 2px;
    }

    .section-description-main {
        font-size: 0.9375rem;
        padding: 0 15px;
    }

    .service-cards-container {
        gap: 20px !important;
    }

    .documents-3col {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .documents-2col {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card-header {
        padding: 24px 20px 20px !important;
    }

    .service-card-body {
        padding: 20px !important;
    }

    .service-card-title {
        font-size: 1.25rem !important;
    }

    .file-icon {
        width: 64px !important;
        height: 64px !important;
        font-size: 1.125rem !important;
    }

    .color-swatch {
        width: 70px !important;
        height: 70px !important;
    }

    .download-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .btn-download {
        width: 100% !important;
        min-width: unset !important;
        padding: 14px 24px !important;
    }

    .color-info-item {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .color-label,
    .color-value {
        font-size: 0.875rem;
    }

    .color-copy-btn {
        opacity: 1;
        transform: scale(1);
        width: 28px;
        height: 28px;
    }

    .color-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .color-showcase-card {
        border: none !important;
        box-shadow: none !important;
    }

    .color-swatch-top {
        height: 100px;
    }

    .color-name-top {
        font-size: 1.25rem;
    }

    .color-name-top {
        font-size: 1.25rem;
    }

    .color-info-bottom {
        padding: 20px 0;
    }

    .color-info-layout {
        flex-direction: column;
        gap: 20px;
    }

    .color-name-section {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        border-right: none;
        border-bottom: none;
        min-height: auto;
        gap: 16px;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .color-info-bottom {
        padding: 20px 0 !important;
        margin: 0 !important;
    }

    .color-info-layout {
        padding: 0 !important;
        margin: 0 !important;
    }

    .color-name-vertical {
        margin-left: 16px !important;
    }

    .color-swatch-small {
        width: 100% !important;
        height: 120px !important;
        min-height: 120px !important;
        flex: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-name-vertical {
        flex-direction: column !important;
        gap: 4px;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100%;
        margin: 0 0 0 16px !important;
        padding: 0 !important;
    }

    .color-name-line {
        font-size: 1.25rem;
        text-align: left;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-specs-section {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
    }

    .color-spec-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #e8e8e8;
        width: 100%;
    }

    .color-spec-item .spec-label {
        text-align: left !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .spec-value-wrapper {
        width: 100%;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-spec-item .spec-value {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-spec-item:hover {
        background-color: #f5f5f5;
    }

    .color-spec-item:last-child {
        border-bottom: none;
    }

    .color-spec-item .spec-label {
        min-width: 60px;
        margin-bottom: 0;
    }

    .color-spec-item .spec-label {
        min-width: 60px;
        font-size: 0.8125rem;
    }

    .color-spec-item .spec-value {
        font-size: 0.9375rem;
    }


    .logo-preview {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .logo-preview-img {
        height: 400px !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-fit: contain !important;
    }

    .guideline-list li {
        padding: 14px;
    }

    .list-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .logo-download-section,
    .symbol-intro-section,
    .logotype-section,
    .guidelines-section {
        padding-top: 40px;
        padding-bottom: 40px;
        background: #fafafa;
    }

    .signature-section,
    .color-guide-section {
        padding-top: 40px;
        padding-bottom: 40px;
        background: transparent;
    }

    .section-title-main {
        font-size: 1.375rem;
    }

    .section-description-main {
        font-size: 0.875rem;
    }

    .service-card-header {
        padding: 20px 16px 16px !important;
    }

    .service-card-body {
        padding: 16px !important;
    }

    .file-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 1rem !important;
    }

    .color-swatch {
        width: 60px !important;
        height: 60px !important;
    }

    .color-swatch-top {
        height: 80px;
    }

    .color-name-top {
        font-size: 1.125rem;
    }

    .color-name-top {
        font-size: 1.125rem;
    }

    .color-info-bottom {
        padding: 12px 16px;
    }

    .color-showcase-card {
        border: none !important;
        box-shadow: none !important;
    }

    .color-info-layout {
        flex-direction: column;
        gap: 16px;
    }

    .color-name-section {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        border-right: none;
        border-bottom: none;
        min-height: auto;
        gap: 16px;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .color-info-bottom {
        padding: 20px 0 !important;
        margin: 0 !important;
    }

    .color-info-layout {
        padding: 0 !important;
        margin: 0 !important;
    }

    .color-name-vertical {
        margin-left: 16px !important;
    }

    .color-swatch-small {
        width: 100% !important;
        height: 120px !important;
        min-height: 120px !important;
        flex: none !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-name-vertical {
        flex-direction: column !important;
        gap: 4px;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100%;
        margin: 0 0 0 16px !important;
        padding: 0 !important;
    }

    .color-name-line {
        font-size: 1.125rem;
        text-align: left;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-specs-section {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100%;
    }

    .color-spec-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #e8e8e8;
        width: 100%;
    }

    .color-spec-item .spec-label {
        text-align: left !important;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .spec-value-wrapper {
        width: 100%;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-spec-item .spec-value {
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .color-spec-item:hover {
        background-color: #f5f5f5;
    }

    .color-spec-item:last-child {
        border-bottom: none;
    }

    .color-specs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .color-spec-item:nth-child(2n) {
        border-left: none;
        padding-left: 0;
    }

    .color-spec-item:nth-child(2n-1) {
        padding-right: 0;
    }

    .color-spec-item {
        gap: 12px;
        padding: 8px 0;
        border-bottom: 1px solid #e8e8e8;
    }

    .color-spec-item:hover {
        background-color: #f5f5f5;
    }

    .color-spec-item .spec-label {
        min-width: 50px;
        font-size: 0.75rem;
    }

    .color-spec-item .spec-value {
        font-size: 0.875rem;
    }

    .color-spec-item {
        padding: 12px;
    }

    .spec-value {
        font-size: 0.875rem;
    }



    .btn-download {
        padding: 12px 20px !important;
        font-size: 0.875rem !important;
    }

    .logo-preview {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .logo-preview-img {
        height: 300px !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-fit: contain !important;
    }

    .guideline-list li {
        padding: 12px;
        gap: 10px;
    }

    .list-icon {
        font-size: 1rem;
    }

    .list-text {
        font-size: 0.8125rem;
    }
}

/* 심볼마크 소개 섹션 */
.row .col-lg-8 .symbol-showcase,
.symbol-intro-section .symbol-showcase {
    background: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 50px 24px !important;
    text-align: center !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* sub_G_07 섹션 타이틀-콘텐츠 간격 통일 */
.logotype-section .logotype-grid {
    margin-top: 30px;
}

/* 메인컬러 카드는 내부 상단 밀도가 높아 더 붙어 보이므로 시각 간격 보정 */
.color-guide-section .color-showcase-grid {
    margin-top: 42px;
}

/* 사용 가이드라인: 섹션 제목과 카드 타이틀 간격 축소 */
.guidelines-section .row.mb-30.mb-md-20.mb-sm-15 {
    margin-bottom: 12px !important;
}

.symbol-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.symbol-main-img {
    max-width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
    padding-top: 50px;
}

.symbol-description {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
}

.symbol-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 심볼 설명: PC에서만 문장 단위로 줄바꿈 */
@media (min-width: 769px) {
    .symbol-text-pc-break {
        display: block;
    }
}

@media (max-width: 768px) {
    .symbol-text-pc-break {
        display: none;
    }
}

/* 로고타입 섹션 */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.signature-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.signature-preview {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signature-bg-light {
    background: transparent;
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.signature-img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

.signature-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #161616;
    margin: 0;
}

.logotype-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logotype-item-full {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

.logotype-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    border: none;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logotype-preview {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logotype-bg-light {
    background: transparent;
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}


.logotype-img {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

.logotype-item-full .logotype-img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
}



/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .btn-download {
        min-height: 44px !important;
    }

    .btn-download:active {
        transform: scale(0.98) !important;
    }
}


/* CI 상표권 경고 섹션 */
.ci-notice-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.ci-notice-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.ci-notice-text {
    font-size: 0.875rem;
    color: #856404;
    margin: 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ci-notice-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

/* 모달 배경막보다 모달창이 더 위에 오도록 설정 */
#newsModal {
    z-index: 1060 !important; /* 부트스트랩 기본 backdrop = 1050 */
}

.modal-backdrop {
    z-index: 1050 !important;
}

/* 뉴스 번호 커서 적용 */
.cursor {cursor: pointer;}
.cursor.active {font-weight: bold;}

/************************* END sub_G_07 *******************************/