.elementor-2793 .elementor-element.elementor-element-1d110a89{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-2793 .elementor-element.elementor-element-1d110a89.e-con{--align-self:flex-start;}.elementor-2793 .elementor-element.elementor-element-6424c4c7{width:100%;max-width:100%;}.elementor-2793 .elementor-element.elementor-element-6424c4c7.elementor-element{--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-2793 .elementor-element.elementor-element-1d110a89{--width:100vw;}}/* Start custom CSS for html, class: .elementor-element-6424c4c7 */.visiting-bg {
  min-height: 100vh;
  min-height: auto;
  background-image: url('https://scbcok.org/wp-content/uploads/2025/06/visiting-scaled.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 5vh;   
}


.visiting-wrapper {
  margin-top: 5vh; 
  width: 80vw;
  max-width: 80vw;
  z-index: 2;
}

.visiting-container, .visiting-bg, 
.visiting-wrapper {
   z-index: 1 !important;
  position: relative !important;
}

.visiting-section {
  width: 100%;
  background-color: rgba(253, 253, 252, 0.9);
  padding: 40px;
  font-family: "Noto Serif TC", "Microsoft JhengHei", serif;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
  border-left: 6px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
  box-sizing: border-box;
  max-height: none;
  max-width: 80vw;
  font-size: clamp(14px, 2vw, 18px);   
}


.visiting-section h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #4a4a4a;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  text-align: center; 
}

.visiting-section ul {
  margin-left: 20px;
  list-style-type: disc;
}

.visiting-section blockquote {
  margin: 20px 0;
  padding: 12px 20px;
  background-color: #f4f4f4;
  border-left: 4px solid #999;
  font-style: italic;
  color: #444;
}

.visiting-button-wrapper {
  margin-top: 20px;
  text-align: center;
}

.visiting-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2c6e91;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.visiting-button:hover {
  background-color: #235b78;
  color: black;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 90vw;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  position: relative;
  font-family: "Microsoft JhengHei", "Noto Serif TC", serif;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.modal-close:hover {
  color: #333;
}

.modal-box h3 {
  text-align: center;
  margin-top: 0;
}

.modal-box label {
  display: block;
  margin-top: 20px;
  font-weight: bold;
}

.modal-box form {
  margin-top: 20px;
  font-weight: bold;
}

.modal-box .form-button-wrapper {
  text-align: center;
  margin-top: 20px;
}


.modal-box form textarea {
  width: 100%;
  height: 400px;
  padding: 8px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.modal-box form button {
  margin-top: 20px;
  padding: 10px 24px;
  background-color: #2c6e91;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.modal-box form button:hover {
  background-color: #235b78;
}

@keyframes fadeIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}


@media (max-width: 768px) {
  .visiting-section {
    width: 100%;
    max-width: 100%;
    padding: 20px; /* 手機上縮小內距 */
    box-sizing: border-box;
  }

  .visiting-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-1d110a89 */.visiting-custom-modal-wrapper {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 5vh 0;
}

.visiting-custom-modal-wrapper.show {
  display: flex;
}

.visiting-modal-inner-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  position: relative;
  z-index: 100000;
}

/* Cross Button */
.visiting-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  z-index: 100001;
}/* End custom CSS */