.logo-section {
    margin: 0 auto;
    width: 81.4vw;
}

.logo-title {
    width: clamp(454px, 29.6vw, 682px);
    margin-bottom: clamp(32px, 2.1vw, 48px);
    color: #212121;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 76.8px */
}

.logo-image {
    padding: clamp(134px, 10vw, 250px);
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 42px;
    background: #F2F3F8;
    
    display: flex;
    align-items: center;
    justify-content: center;

    transition: background-color 0.3s ease;
}

.logo-image.dark-mode {
    background: #323232;
}

.logo-image img {
    width: clamp(374px, 24.3vw, 560px);
    height: auto;
    max-width: 100%;
    max-height: 100%;
    transition: opacity 0.3s ease;
}

.logo-toggle {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.logo-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.logo-toggle:active {
    transform: scale(0.95);
}

.logo-image.dark-mode .logo-toggle {
    background: #5A5A5A;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.logo-image.dark-mode .toggle-icon {
    transform: rotate(180deg);
}

.logo-content {
    padding-top: clamp(69px, 4.5vw, 103px);
    display: flex;
    justify-content: space-between;
}

.logo-content br {
  line-height: 0.7; /* br 자체의 높이 줄이기 */
}

.logo-content > div:nth-child(2) {
    margin-top: 17px;
    flex: 1;
    color: #212121;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 38.4px */
}

.logo-color {
    display: flex;
    gap: 0;
    margin-bottom: 0;
}

.color-box {
    flex: 1;
    aspect-ratio: 1/1;
    display: flex;
    align-items: flex-end;
    padding: clamp(15px, 1vw, 23px);
    box-sizing: border-box;
}

.color-primary {
    background: #196FB7;
}
.color-secondary {
    background: #20478A;
}
.color-tertiary {
    background: #262261;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.color-info p {
    color: #FFF;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 51.2px */
}

.color-hex {
    margin-bottom: 8px;
}

.color-gradient {
    margin-top: 35px;
    width: 100%;
    height: 76px;
    background: linear-gradient(90deg, #196FB7 0%,#262261 100%);
}

@media (max-width: 1024px){
    .logo-content {
        flex-direction: column;
    }

    .pc-only {
        display: none;
    }
}

body.mobile .logo-section,
body[data-mobile="true"] .logo-section {
    width: 88vw;
}

body.mobile .logo-title,
body[data-mobile="true"] .logo-title {
  font-size: clamp(26px, 1.7vw, 38px) !important;
}

@media (max-width: 767px) {
    .logo-image {
        padding: clamp(134px, 10vw, 250px) clamp(43px, 2.8vw, 65px);
    }

    .logo-color {
        flex: unset;
        flex-direction: column;
    }
    
    .color-box {
        aspect-ratio: unset;
    }
}
