@charset "utf-8";

/* 내용관리 */
#ctt {
    margin: 48px auto;
    padding: 56px 48px;
    max-width: 960px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(20, 32, 64, 0.08);
    box-shadow: 0 18px 45px rgba(20, 32, 64, 0.08);
    box-sizing: border-box;
}

.ctt_admin {
    text-align: right;
}

#ctt header {
    margin-bottom: 40px;
    text-align: center;
}

#ctt header h1 {
    position: static;
    font-size: 2.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #18224b;
    letter-spacing: -0.02em;
}

#ctt header h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, #3358ff 0%, #02c4ff 100%);
    border-radius: 999px;
}

#ctt_con {
    padding: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #283046;
    word-break: keep-all;
}

#ctt_con *:first-child {
    margin-top: 0;
}

#ctt_con *:last-child {
    margin-bottom: 0;
}

#ctt_con a {
    color: #2c54ff;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(44, 84, 255, 0.3);
    transition: color 0.2s ease, border-color 0.2s ease;
}

#ctt_con a:hover,
#ctt_con a:focus {
    color: #1a39c6;
    border-color: #1a39c6;
}

#ctt_con p {
    margin: 0 0 1.4em;
}

#ctt_con strong {
    color: #172048;
    font-weight: 700;
}

#ctt_con em {
    font-style: normal;
    font-weight: 500;
    color: #1f3a68;
    background: linear-gradient(180deg, transparent 60%, rgba(2, 196, 255, 0.25) 0);
}

#ctt_con h2,
#ctt_con h3,
#ctt_con h4 {
    margin: 2.6em 0 1.2em;
    font-weight: 700;
    color: #18224b;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

#ctt_con h2 {
    font-size: 1.7rem;
    border-left: 4px solid #3561ff;
    padding-left: 16px;
}

#ctt_con h3 {
    font-size: 1.35rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(24, 34, 75, 0.12);
}

#ctt_con h4 {
    font-size: 1.2rem;
    color: #2c3c66;
}

#ctt_con ul,
#ctt_con ol {
    margin: 0 0 1.6em;
    padding: 0 0 0 1.6em;
}

#ctt_con ul > li,
#ctt_con ol > li {
    margin-bottom: 0.7em;
    position: relative;
}

#ctt_con ul > li::marker {
    color: #4a6fff;
}

#ctt_con ol {
    counter-reset: ct-counter;
    list-style: none;
    padding-left: 0;
}

#ctt_con ol > li {
    counter-increment: ct-counter;
    padding-left: 44px;
}

#ctt_con ol > li::before {
    content: counter(ct-counter);
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3358ff 0%, #02c4ff 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(44, 84, 255, 0.25);
}

#ctt_con blockquote {
    margin: 2.2em 0;
    padding: 24px 32px;
    background: rgba(50, 93, 255, 0.08);
    border-left: 4px solid #3358ff;
    border-radius: 16px;
    color: #1a2553;
    font-weight: 500;
}

#ctt_con blockquote::before {
    content: "“";
    font-size: 3rem;
    line-height: 1;
    color: rgba(44, 84, 255, 0.35);
    display: block;
    margin-bottom: 8px;
}

#ctt_con table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.4em 0;
    box-shadow: 0 12px 30px rgba(24, 34, 75, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

#ctt_con caption {
    margin-bottom: 12px;
    font-weight: 600;
    color: #18224b;
    text-align: left;
}

#ctt_con th,
#ctt_con td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(24, 34, 75, 0.08);
    text-align: left;
    background: #ffffff;
}

#ctt_con th {
    background: linear-gradient(90deg, rgba(48, 90, 255, 0.1) 0%, rgba(2, 196, 255, 0.1) 100%);
    font-weight: 700;
    color: #18224b;
}

#ctt_con tr:last-child th,
#ctt_con tr:last-child td {
    border-bottom: none;
}

#ctt_con hr {
    margin: 2.4em 0;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, rgba(48, 90, 255, 0), rgba(48, 90, 255, 0.45), rgba(2, 196, 255, 0));
}

#ctt_con img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(22, 35, 70, 0.12);
    margin: 2em 0;
}

#ctt_con .alert {
    padding: 20px 24px;
    border-radius: 16px;
    margin: 1.8em 0;
    font-weight: 600;
    color: #1d284d;
    background: rgba(255, 196, 2, 0.16);
    border: 1px solid rgba(255, 196, 2, 0.32);
}

#ctt_con .alert.info {
    background: rgba(2, 196, 255, 0.18);
    border-color: rgba(2, 196, 255, 0.32);
}

#ctt_con .alert.success {
    background: rgba(61, 214, 152, 0.18);
    border-color: rgba(61, 214, 152, 0.32);
}

#ctt_con .alert.warning {
    background: rgba(255, 160, 2, 0.22);
    border-color: rgba(255, 160, 2, 0.32);
}

#ctt_con .alert.danger {
    background: rgba(255, 90, 90, 0.2);
    border-color: rgba(255, 90, 90, 0.3);
}

.ctt_img {
    text-align: center;
    margin: 2em 0;
}

.ctt_img img {
    max-width: 100%;
}

@media (max-width: 1024px) {
    #ctt {
        margin: 32px auto;
        padding: 40px 32px;
    }

    #ctt header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    #ctt {
        margin: 24px auto;
        padding: 28px 24px;
        border-radius: 20px;
    }

    #ctt header h1 {
        font-size: 1.8rem;
    }

    #ctt_con {
        font-size: 1rem;
    }

    #ctt_con ol > li::before {
        top: -2px;
    }
}

@media (max-width: 480px) {
    #ctt {
        padding: 24px 18px;
    }

    #ctt header h1 {
        font-size: 1.6rem;
    }

    #ctt_con table {
        display: block;
        overflow-x: auto;
        margin: 1.8em -18px;
        border-radius: 0;
        box-shadow: none;
    }

    #ctt_con table table {
        margin: 0;
    }

    #ctt_con th,
    #ctt_con td {
        padding: 14px 18px;
        white-space: nowrap;
    }
}
