/**
 * speakupchannel (Canal Speak-Up) 페이지 전용 스타일
 */

/* ========================================
   Base - Page structure
   ======================================== */
#wrapper .introduce header,
#wrapper .introduce .container header {
    text-align: center;
    background-color: #f2f2f2;
    padding: 20px 10px;
}

#wrapper .introduce h1 {
    color: #333;
    font-size: 3rem;
}

#wrapper .introduce h2,
.signalez-title {
    text-align: center;
    color: #4caf50;
    text-decoration: underline;
    padding-top: 6rem;
    font-size: 2.2rem;
}

#wrapper .contentsWrap .contentsHead h2 {
    text-decoration: none;
}

#wrapper .introduce .container {
    padding: 20px;
}

/* ========================================
   Base - Section title & intro
   ======================================== */
.section-title {
    font-size: 2rem;
    color: #4caf50;
    font-weight: bold;
    margin: 20px 0;
}

.info-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 10px;
}

.additional-info p {
    margin: 5px 0;
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
    text-align: left;
}

/* ========================================
   Base - Info boxes (Types de Préoccupations)
   ======================================== */
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 40px 0;
}

.info-box {
    display: flex;
    align-items: flex-start;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    width: 30%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.info-box img {
    width: 125px;
    height: 125px;
    margin-right: 15px;
}

.info-box .text {
    flex: 1;
    text-align: left;
}

.info-box h3 {
    margin: 0;
    font-size: 18px;
    color: #4caf50;
}

.info-box p {
    margin: 5px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* ========================================
   Base - Steps (Procédure d'Alerte)
   ======================================== */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 50px 0;
}

.step {
    text-align: center;
    width: min(13rem, 20vw);
    aspect-ratio: 1;
    background-color: #e8f5e9;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
    font-size: 2rem;
}

.arrow2 {
    font-size: 2rem;
    color: #333;
    margin: 0 10px;
}

/* ========================================
   Base - Side by side (Confidentialité / Représailles)
   ======================================== */
.side-by-side-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 40px 0;
}

.info-box-left,
.info-box-right {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.info-heading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 15px;
}

.info-box-left p,
.info-box-right p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* ========================================
   Base - Footer
   ======================================== */
.footer {
    text-align: center;
    margin-top: 40px;
}

.footer-button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ========================================
   Base - Modal (E-mail Report popup)
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px 40px;
    border-radius: 10px;
    width: 60%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    color: #333;
    line-height: 1.8;
    position: relative;
}

.modal .close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
}

.modal .close:hover {
    color: #000;
}

.popup-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #008000;
    margin-bottom: 20px;
}

.popup-title-box {
    background-color: #daf5cc;
    border: 1px solid #ccc;
    padding: 10px 15px;
    font-weight: bold;
    margin-bottom: 20px;
}

.info-box2 {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 20px 0;
}

.modal-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.modal-content li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.modal-content a {
    color: #0080ff;
    text-decoration: underline;
}

.modal-content a:hover {
    color: #0056b3;
}

.modal-content p.important {
    font-style: italic;
    font-weight: bold;
    color: #444;
    margin: 10px 0;
}

/* ========================================
   Base - FAQ
   ======================================== */
.faq-container {
    width: 100%;
    margin: 30px auto;
    font-family: Arial, sans-serif;
}

.faq-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.faq-question {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    text-align: left;
    background-color: #e1e1e1;
    border: 1px solid #ccc;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8f5e9;
}

.faq-answer {
    display: none;
    padding: 1.2rem;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fafafa;
    font-size: 1rem;
    color: #333;
}

.faq-answer.show {
    display: block;
}

.faq-link {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #4caf50;
}

.faq-link .link-style {
    color: #4caf50;
    text-decoration: underline;
}

.info_li {
    font-size: 1.2rem;
    list-style: disc;
}

/* ========================================
   Responsive - Breakpoints (wide to narrow)
   ======================================== */

/* 1300px: step, section-title 글자 28px */
@media (max-width: 1300px) {
    .step,
    .section-title {
        font-size: 28px;
    }
}

/* 1160px: step, section-title 글자 24px */
@media (max-width: 1160px) {
    .step,
    .section-title {
        font-size: 24px;
    }
}

/* 1060px: steps 세로 정렬, 원·글자 크게 */
@media (max-width: 1060px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .steps-container .step,
    .section-title {
        font-size: 32px;
    }
    .steps-container .step {
        width: min(15rem, 40vw);
    }
    .steps-container .arrow2 {
        transform: rotate(90deg);
    }
}

/* 1338px: info-container 세로 정렬, info-box 3/8 고정 */
@media (max-width: 1338px) {
    .info-container {
        flex-direction: column;
        align-items: center;
    }
    .info-container .info-box {
        width: 37.5%;
        min-width: 500px;
        margin-bottom: 15px;
    }
    .info-container .info-box:last-child {
        margin-bottom: 0;
    }
}

/* 1040px: concern-intro br 해제 (한 줄로) */
@media (max-width: 1040px) {
    .concern-intro br {
        display: none;
    }
}

/* 820px: exhaustive-intro br 해제 */
@media (max-width: 820px) {
    .exhaustive-intro br {
        display: none;
    }
}

/* 785px: h2 글자 크기 28px */
@media (max-width: 785px) {
    #wrapper .introduce h2,
    #wrapper .contentsWrap .contentsHead h2 {
        font-size: 28px;
    }
}

/* 768px: modal, side-by-side */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
    }
    .side-by-side-container {
        display: grid;
    }
}

/* 621px~: Signalez 제목 한 줄 (br 숨김) */
@media (min-width: 621px) {
    .signalez-br {
        display: none;
    }
}

/* 600px: info-box full width, 내부 세로 정렬 및 가운데 정렬 */
@media (max-width: 600px) {
    .info-container .info-box {
        width: 100%;
        min-width: unset;
    }
    .info-box {
        display: block;
        text-align: center;
    }
    .info-box img {
        width: 125px;
        height: 125px;
        margin: 0 auto;
        display: block;
    }
    .info-box .text {
        text-align: center;
    }
}

/* 480px */
@media (max-width: 480px) {
    .product-row {
        display: block;
    }
}

/* 426px: info_li, modal */
@media (max-width: 426px) {
    .info_li {
        font-size: 0.8rem;
    }
    .modal-content {
        width: 90%;
    }
}

/* 472px: step, section-title 글자 22px */
@media (max-width: 472px) {
    .steps-container .step,
    .section-title {
        font-size: 22px;
    }
}

/* 400px: Signalez 제목 22px */
@media (max-width: 400px) {
    .signalez-title {
        font-size: 22px;
    }
}

/* 특정 기기 (iPhone 14 Pro 등) */
@media screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
    .modal-content {
        width: 90%;
    }
}
