/* Speak Up Channel page-only styles extracted from templates/speakupchannel/speakupchannel.html */

@media (max-width: 460px) {
  .speakupchannel-page article.innerContentsWrap.viewMargin {
    margin-top: 0 !important;
  }

  .speakupchannel-page article.innerContentsWrap.viewMargin .contentsWrap {
    padding: 0 !important;
  }

  .speakupchannel-page #wrapper .contentsWrap {
    padding: 0 !important;
  }

  .speakupchannel-page .info-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 20px 15px !important;
    margin-bottom: 20px !important;
  }

  .speakupchannel-page .info-box img {
    width: 50% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 20px auto !important;
  }

  .speakupchannel-page .info-box .text {
    width: 100% !important;
    text-align: center !important;
    padding: 0 10px !important;
  }

  .speakupchannel-page .info-box h3 {
    margin: 0 !important;
    font-size: 20px !important;
    text-align: center !important;
  }

  .speakupchannel-page .info-box p {
    margin: 8px 0 0 !important;
    font-size: 16px !important;
    text-align: center !important;
    word-break: keep-all !important;
  }
}

.speakupchannel-page .info-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  margin: 40px 0;
}

.speakupchannel-page .info-box {
  display: flex;
  align-items: flex-start;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  width: 36%;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.speakupchannel-page .info-box img {
  width: 125px;
  height: 125px;
  margin-right: 15px;
}

.speakupchannel-page .info-box .text {
  flex: 1;
  text-align: left;
}

.speakupchannel-page .info-box h3 {
  margin: 0;
  font-size: 18px;
  color: #4caf50;
}

.speakupchannel-page .info-box p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.speakupchannel-page .info-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 10px;
}

.speakupchannel-page .additional-info p {
  margin: 5px 0;
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
  text-align: left;
}

.speakupchannel-page header {
  text-align: center;
  background-color: #f2f2f2;
  padding: 20px 10px;
}

.speakupchannel-page h1 {
  color: #333;
  font-size: 3rem;
}

.speakupchannel-page h2 {
  text-align: center;
  color: #4caf50;
  text-decoration: underline;
  padding-top: 6rem;
  font-size: 2.2rem;
}

.speakupchannel-page .container {
  padding: 20px;
}

.speakupchannel-page .section-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin: 20px 0;
}

.speakupchannel-page .steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 16px 12px;
  margin: 20px 0 50px 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.speakupchannel-page .step {
  text-align: center;
  width: 12rem;
  height: 12rem;
  min-width: 12rem;
  min-height: 12rem;
  flex: 0 0 auto;
  background-color: #e8f5e9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #333;
  font-size: 1.5rem;
  box-sizing: border-box;
}

/* Site exit dialog above Speak Up modal (1000); common.css dialog wrap is ~100001 — keep just above */
html.speakupchannel-page .cpnt_dialog_confirm.cpnt_siteout.active {
  z-index: 100100;
}

.speakupchannel-page .arrow2 {
  font-size: 2rem;
  color: #333;
  margin: 0 6px;
  flex: 0 0 auto;
  line-height: 1;
}

/* 넓은 뷰포트: 한 줄 + 균등 배치(기존 느낌) */
@media (min-width: 1301px) {
  .speakupchannel-page .steps-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0 8px;
  }
}

.speakupchannel-page .footer {
  text-align: center;
  margin-top: 40px;
}

.speakupchannel-page .footer-button {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.speakupchannel-page .side-by-side-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0 40px 0;
}

.speakupchannel-page .info-box-left,
.speakupchannel-page .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);
}

.speakupchannel-page .info-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4caf50;
  margin-bottom: 15px;
}

.speakupchannel-page .info-box-left p,
.speakupchannel-page .info-box-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.speakupchannel-page .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;
}

.speakupchannel-page .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;
}

.speakupchannel-page .close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 2rem;
  cursor: pointer;
}

.speakupchannel-page .close:hover {
  color: #000;
}

.speakupchannel-page .popup-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #008000;
  margin-bottom: 20px;
}

.speakupchannel-page .info-box2 {
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 20px 0;
}

.speakupchannel-page .popup-title-box {
  background-color: #daf5cc;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-weight: bold;
  margin-bottom: 20px;
}

.speakupchannel-page .modal-content ul {
  list-style-type: disc;
  margin-left: 20px;
}

.speakupchannel-page .modal-content li {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.speakupchannel-page .modal-content a {
  color: #0080ff;
  text-decoration: underline;
}

.speakupchannel-page .modal-content a:hover {
  color: #0056b3;
}

.speakupchannel-page .modal-content p.important {
  font-style: italic;
  font-weight: bold;
  color: #444;
  margin: 10px 0;
}

.speakupchannel-page .faq-container {
  width: 100%;
  margin: 30px auto;
  font-family: Arial, sans-serif;
}

.speakupchannel-page .faq-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.speakupchannel-page .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;
}

.speakupchannel-page .faq-question:hover {
  background-color: #e8f5e9;
}

.speakupchannel-page .faq-answer {
  display: none;
  padding: 1.2rem;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #fafafa;
  font-size: 1rem;
  color: #333;
}

.speakupchannel-page .faq-answer.show {
  display: block;
}

.speakupchannel-page .faq-link {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #4caf50;
}

.speakupchannel-page .faq-link .link-style {
  color: #4caf50;
  text-decoration: underline;
}

/* max-width 1110: stack image above text (461+ pairs with the <=460 block above) */
@media (min-width: 461px) and (max-width: 1110px) {
  .speakupchannel-page .info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .speakupchannel-page .info-box img {

    margin-right: 0;
  }

  .speakupchannel-page .info-box .text {
    width: 100%;
    text-align: center;
  }
}

/* 1160px 이하: 본문 영역 수동 줄바꿈(br) 숨김 → 자연 줄바꿈만 사용 (모달/FAQ 제외) */
@media not all and (min-width: 1161px) {
  .speakupchannel-page .speakup-lead-copy br,
  .speakupchannel-page .speakup-disclaimer br,
  .speakupchannel-page .container > div:not(.modal):not(.faq-container):not(#popupModal) br,
  .speakupchannel-page .container .info-box p br {
    display: none !important;
  }
}

/* 769–1300: 한 줄에 다 안 들어가면 줄바꿈(원 크기·비율 유지, 가로 스크롤·우측 잘림 방지) */
@media (max-width: 1300px) and (min-width: 769px) {
  .speakupchannel-page .steps-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 16px 10px;
    overflow-x: visible;
    padding: 0 8px 12px;
    box-sizing: border-box;
  }

  .speakupchannel-page .steps-container .step {
    flex-shrink: 0;
  }

  .speakupchannel-page .steps-container .arrow2 {
    flex-shrink: 0;
    transform: none;
    margin: 0 4px;
  }
}

@media screen and (max-width: 768px) {
  .speakupchannel-page .info-container {
    flex-direction: column;
    align-items: center;
  }

  .speakupchannel-page .info-box {
    width: 90%;
    margin-bottom: 20px;
  }

  .speakupchannel-page .steps-container {
    flex-direction: column;
  }

  .speakupchannel-page .step {
    width: 10rem;
    height: 10rem;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .speakupchannel-page .arrow2 {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .speakupchannel-page h2 {
    font-size: 1.8rem;
    padding-top: 3rem;
  }

  .speakupchannel-page section article:nth-of-type(1) {
    padding-top: 5rem;
  }

  .speakupchannel-page .side-by-side-container {
    flex-direction: column;
  }

  .speakupchannel-page .info-box-left,
  .speakupchannel-page .info-box-right {
    margin-bottom: 20px;
  }

  .speakupchannel-page .faq-question {
    font-size: 0.9rem;
    padding: 12px;
  }

  .speakupchannel-page .faq-answer p {
    font-size: 0.9rem;
  }

  .speakupchannel-page .popup-title {
    font-size: 1.5rem;
  }

  .speakupchannel-page .info-box2 ul li {
    font-size: 1rem !important;
  }

  .speakupchannel-page .modal-content {
    width: 90%;
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .speakupchannel-page .info-box {
    display: block;
    padding: 10px;
  }

  .speakupchannel-page .step {
    width: 8rem;
    height: 8rem;
    font-size: 1.2rem;
  }

  .speakupchannel-page h2 {
    font-size: 1.5rem;
  }

  .speakupchannel-page .section-title {
    font-size: 16px;
  }

  .speakupchannel-page .footer-button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .speakupchannel-page .modal-content {
    padding: 15px;
  }

  .speakupchannel-page .close {
    top: 10px;
    right: 15px;
  }

  .speakupchannel-page .info_li {
    font-size: 0.8rem;
  }
}

/* Keep page-specific header tweaks scoped */
.speakupchannel-page .gnb {
  padding-top: 0.3rem !important;
  font-size: 0px;
  flex: 1 1 0%;
  margin: 0px auto;
}

/* Extracted bottom style block */
.speakupchannel-page .info_li {
  font-size: 1.2rem;
  list-style: disc;
}

@media (max-width: 426px) {
  .speakupchannel-page .info_li {
    font-size: 0.8rem;
  }

  .speakupchannel-page .modal-content {
    width: 90%;
    padding: 15px;
  }
}

@media screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3),
screen and (min-device-width: 390px) and (max-device-width: 844px) and (-webkit-min-device-pixel-ratio: 3) {
  .speakupchannel-page .modal-content {
    width: 90%;
    max-width: 350px;
    padding: 15px;
  }

  .speakupchannel-page .info-container {
    flex-direction: column;
  }

  .speakupchannel-page .info-box {
    width: 100%;
    display: block;
    margin-bottom: 15px;
  }

  .speakupchannel-page .steps-container {
    flex-direction: column;
  }

  .speakupchannel-page .step {
    width: 8rem;
    height: 8rem;
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .speakupchannel-page .arrow2 {
    transform: rotate(90deg);
    margin: 5px 0;
  }
}

@media screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3),
screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3),
screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
  .speakupchannel-page .modal-content {
    width: 90%;
    max-width: 380px;
  }

  .speakupchannel-page .faq-question {
    font-size: 0.9rem;
    padding: 10px;
  }

  .speakupchannel-page .popup-title {
    font-size: 1.3rem;
  }

  .speakupchannel-page .info-box2 ul li {
    font-size: 0.9rem !important;
  }
}

/* speakupchannel/contact page */
.speakupchannel-contact .contact-container-wrap {
  padding: 0 1.52rem 1.52rem;
}

.speakupchannel-contact .contact-container {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.speakupchannel-contact .contact-container h2 {
  color: #20c85a;
  text-align: center;
}

/* 두 블록 동일 패턴: .contact-section-block > h3.contact-section-title + .contact-section-body */
.speakupchannel-contact .contact-section-block {
  margin: 0;
}

.speakupchannel-contact .contact-section-block .contact-section-title {
  margin: 0 0 0.6rem;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #333;
}

.speakupchannel-contact .contact-section-body {
  margin: 0;
  padding: 0;
}

.speakupchannel-contact .contact-section-body .contact-section-text {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.speakupchannel-contact .contact-section-body .contact-section-text:last-child {
  margin-bottom: 0;
}

.speakupchannel-contact .contact-section-divider {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 1.75rem 0 1.25rem;
}

.speakupchannel-contact .contact-container a {
  color: #007bff;
  text-decoration: none;
}

.speakupchannel-contact .contact-container a:hover {
  text-decoration: underline;
}

.speakupchannel-contact .mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .speakupchannel-contact .mobile-only {
    display: block;
  }
}