@charset "utf-8";

/* ============================== 애니메이션 */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================== content-wrapper 하단 여백 제거 */
.content-wrapper {
    margin-bottom: 0 !important;
}

/* ============================== 블록 레이아웃 */
.ci-block {
    padding: 80px 0;
}
.ci-block--gray {
    background: linear-gradient(135deg, #f0f4f8 0%, #f7f8fa 50%, #eef3f9 100%);
}
.ci-block__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================== 섹션 라벨/타이틀 */
.ci-label {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    margin: 0 0 10px;
    background: linear-gradient(90deg, #278bda, #5ab4f5, #278bda);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}
.ci-heading {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin: 0 0 20px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    position: relative;
    display: inline-block;
}
.ci-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #278bda, #5ab4f5);
}
.ci-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 28px 0 0;
}

/* ============================== 로고 영역 */
.ci-logo-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.ci-logo-col__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}
.ci-logo-card {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    background-image:
        linear-gradient(90deg, #f0f0f0 1px, transparent 1px),
        linear-gradient(180deg, #f0f0f0 1px, transparent 1px);
    background-size: 20px 20px;
}
.ci-logo-img {
    max-width: 100%;
    width: auto;
    max-height: 120px;
    height: auto;
}

/* ============================== 다운로드 */
.ci-download {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
.ci-download__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all .3s ease;
}
.ci-download__btn:hover {
    border-color: #999;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* ============================== CI 규정 */
.ci-block__inner--wide {
    max-width: 1200px;
}
.ci-rules-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}
.ci-rules-header__title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    white-space: nowrap;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
    margin: 0;
}
.ci-rules-header__sub {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
}
.ci-rules-header__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* 색상 활용 테이블 */
.ci-color-table-wrap {
    overflow-x: auto;
}
.ci-color-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ddd;
}
.ci-color-table thead th {
    padding: 16px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.ci-color-table__label {
    width: 140px;
    min-width: 120px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}
.ci-color-table__cell {
    padding: 24px 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    height: 100px;
}
.ci-color-table__cell--empty {
    background: inherit;
}
.ci-color-table__logo {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

/* 로고 색상 변형 (CSS filter) */
.ci-logo--white {
    filter: brightness(0) invert(1);
}
.ci-logo--black {
    filter: brightness(0);
}
.ci-logo--silver {
    filter: brightness(0) invert(1) brightness(.75);
}
.ci-logo--gold {
    filter: brightness(0) invert(1) sepia(1) saturate(.6) hue-rotate(-10deg) brightness(.85);
}

/* 흑백 사용 규정 */
.ci-grayscale {
    margin-top: 40px;
}
.ci-grayscale__header {
    margin-bottom: 16px;
}
.ci-grayscale__label {
    font-size: 14px;
    font-weight: 500;
    color: #888;
}
.ci-grayscale__bar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}
.ci-grayscale__cell {
    padding: 28px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ci-grayscale__logo {
    max-height: 48px;
    width: auto;
    max-width: 100%;
}
.ci-grayscale__scale {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 8px;
}
.ci-grayscale__scale span {
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* ============================== 컬러시스템 */
.ci-color-system__main {
    margin-bottom: 32px;
}
.ci-color-swatch {
    border-radius: 6px;
    height: 120px;
}
.ci-color-swatch--large {
    height: 200px;
}
.ci-color-swatch__info {
    margin-top: 16px;
}
.ci-color-swatch__name {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px;
    font-family: 'Poppins', 'Pretendard', sans-serif;
}
.ci-color-swatch__spec {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ci-color-swatch__spec li {
    font-size: 13px;
    color: #666;
    font-family: 'Poppins', monospace;
    line-height: 1.6;
}
.ci-color-system__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.ci-color-system__row:last-child {
    margin-bottom: 0;
}
.ci-color-system__item .ci-color-swatch__name {
    font-size: 18px;
}

/* ============================== 반응형 */
@media (max-width: 768px) {
    .ci-block { padding: 52px 0; }
    .ci-block__inner { padding: 0 20px; }
    .ci-heading { font-size: 24px; }
    .ci-desc { font-size: 15px; }
    .ci-logo-area {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ci-logo-card { padding: 36px 24px; }
    .ci-logo-img { max-height: 100px; }
    .ci-download {
        flex-direction: column;
        align-items: center;
    }
    .ci-rules-header { flex-direction: column; gap: 16px; }
    .ci-rules-header__title { font-size: 22px; }
    .ci-color-table__label { font-size: 11px; width: 80px; min-width: 80px; padding: 10px 8px; }
    .ci-color-table__cell { height: 56px; padding: 12px 4px; }
    .ci-color-table__logo { max-height: 30px; }
    .ci-grayscale__cell { padding: 14px 4px; }
    .ci-grayscale__logo { max-height: 24px; }
    .ci-color-system__row { grid-template-columns: 1fr; gap: 24px; }
    .ci-color-swatch--large { height: 140px; }
    .ci-color-swatch { height: 100px; }
}

@media (max-width: 480px) {
    .ci-block { padding: 40px 0; }
    .ci-heading { font-size: 22px; }
    .ci-desc { font-size: 14px; }
    .ci-logo-card { padding: 28px 16px; }
    .ci-logo-img { max-height: 80px; }
    .ci-download__btn { padding: 12px 20px; font-size: 14px; }
}
