/* /speakupchannel/contact — Contact page */

.contact-page#wrapper {
    padding: 0;
}

.contact-page__section {
    padding: 1.52rem;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-container {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    max-width: 1200px;
    width: 100%;
    margin: 6rem auto 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: manual;
    overflow-x: hidden;
}

.contact-container p,
.contact-container li {
    max-width: 100%;
    min-width: 0;
    word-break: normal;
    overflow-wrap: break-word;
}

.contact-container a:not(.contact-email) {
    word-break: normal;
    overflow-wrap: break-word;
}

.contact-container h2 {
    color: #20c85a;
    text-align: center;
}

.contact-container h3 {
    color: #333;
    margin-top: 20px;
}

.contact-container p {
    margin: 10px 0;
    font-size: 16px;
}

.contact-container ul {
    max-width: 100%;
    padding-right: 0.25rem;
    box-sizing: border-box;
}

.contact-container ul li {
    list-style: disc;
    margin-left: 2rem;
    padding-right: 0.5rem;
    font-size: 16px;
    list-style-position: outside;
}

.contact-container a {
    color: #007bff;
    text-decoration: none;
}

.contact-container a:hover {
    text-decoration: underline;
}

.contact-container .contact-phone {
    white-space: nowrap;
}

/* 줄바꿈 시 @ 포함 도메인이 다음 줄로 */
.contact-container a.contact-email {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    max-width: 100%;
    vertical-align: baseline;
    overflow-wrap: normal;
    word-break: normal;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.contact-container a.contact-email .contact-email__local,
.contact-container a.contact-email .contact-email__domain {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .contact-container a.contact-email {
        display: inline-flex;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .contact-container a.contact-email .contact-email__domain {
        flex-basis: 100%;
    }
}
