@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/* =========================================================
   Red Dot Award Page / 2026
   Page-specific styles only.
   Layout rule: section.wrap > row > col
   ========================================================= */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Noto Sans TC', 'Noto Sans', '微軟正黑體', '蘋方', sans-serif;
  font-size: 16px;
}

.WapNo {
  white-space: nowrap;
}


/* =========================================================
   Shared page headings / CTA
   ========================================================= */

.rd-section-title {
  color: #000;
  font-size: 1.8em;
  font-weight: 800;
  text-align: center;
}

.rd-intro-image {
  width: 100%;
  max-width: 365px;
}

.rd-cta-btn {
  margin-top: 20px;
  margin-right: 15px;
  margin-bottom: 20px;
  padding: 5px 30px;
  background-color: #2b436b;
  color: #fff;
  letter-spacing: 3px;
}

/* =========================================================
   Hero / Intro
   ========================================================= */

.rd-hero img {
  display: block;
  width: 100%;
}

.rd-intro {
  background-color: #fff;
}

.rd-intro-image {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.rd-intro-list {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.6;
  text-align: left;
}

.rd-intro-list li {
  margin-bottom: 0.15rem;
}

.rd-intro-list li:last-child {
  margin-bottom: 0;
}

.rd-intro-list .fa-li {
  color: red;
}
/* =========================================================
   Mentor
   ========================================================= */

.rd-mentor {
  background-color: #d5d5da;
  background-image: url(../images/client/course/red_dot/REDTC-03.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* =========================================================
   Course features
   ========================================================= */

.rd-course {
  padding: 1% 2%;
  background-color: #000;
}

/* =========================================================
   Project carousel
   ========================================================= */

.rd-projects {
  width: 100%;
  padding: 3%;
  background-color: #000;
  color: #000;
}

.rd-project-item {
  display: block;
  height: auto;
  color: #fff;
  border-radius: 15px;
}

/* Owl 03 arrows: replaces the old duplicated #CsList selector */
.owl-carousel_03 > .owl-controls > .owl-nav > .owl-prev {
  position: absolute;
  top: 35%;
  left: 15px;
  padding: 0 15px;
  border-radius: 50px;
  background: #ea653d;
  box-shadow: 0 5px 15px -10px #222;
  font-size: 1.8em;
  transition: background .5s ease;
}

.owl-carousel_03 > .owl-controls > .owl-nav > .owl-next {
  position: absolute;
  top: 35%;
  right: 15px;
  padding: 0 18px 0 15px;
  border-radius: 50px;
  background: #ea653d;
  box-shadow: 0 5px 15px -10px #222;
  font-size: 2em;
  transition: background .5s ease;
}

/* =========================
   Owl Carousel 03 導航按鈕
========================= */

.owl-carousel_03 .owl-controls .owl-nav .owl-prev,
.owl-carousel_03 .owl-controls .owl-nav .owl-next {
  position: absolute;
  top: 40%;
  z-index: 10;

  width: 48px;
  height: 48px;
  padding: 0 !important;

  display: flex !important;
  align-items: center;
  justify-content: center;

  font-size: 1.8em;
  line-height: 1;

  color: #fff;
  background: #ea653d;
	background: #ea653d !important;

  border-radius: 50% !important;

  box-shadow: 0 5px 15px -10px #222222;

  transition:
    background 0.5s ease,
    transform 0.3s ease;
}


/* 左箭頭 */
.owl-carousel_03 .owl-controls .owl-nav .owl-prev {
  left: 15px;
}


/* 右箭頭 */
.owl-carousel_03 .owl-controls .owl-nav .owl-next {
  right: 15px;
}


/* Hover */
.owl-carousel_03 .owl-controls .owl-nav .owl-prev:hover,
.owl-carousel_03 .owl-controls .owl-nav .owl-next:hover {
  background: #d9522d;
}


/* 箭頭本身 */
.owl-carousel_03 .owl-controls .owl-nav .owl-prev i,
.owl-carousel_03 .owl-controls .owl-nav .owl-next i {
  margin: 0;
  padding: 0;
  line-height: 1;
}


/* =========================
   Mobile
========================= */

@media (max-width: 767.98px) {

  .owl-carousel_03 .owl-controls .owl-nav .owl-prev,
  .owl-carousel_03 .owl-controls .owl-nav .owl-next {
    width: 40px;
    height: 40px;

    font-size: 1.5em;

    top: 35%;
  }

  .owl-carousel_03 .owl-controls .owl-nav .owl-prev {
    left: 8px;
  }

  .owl-carousel_03 .owl-controls .owl-nav .owl-next {
    right: 8px;
  }

}
/* =========================================================
   Student work carousels
   ========================================================= */

.rd-student-showcase-desktop {
  padding-top: 20px;
  background-color: #efefef;
}

.rd-student-carousel-desktop {
  width: 100%;
  padding: 2% 5% 1%;
}

.rd-student-showcase-mobile {
  background-color: #fff;
}

.rd-student-item {
  margin: 0;
  padding: 0;
}

.owl-carousel_05 .item,
.owl-carousel_05 img {
  width: 100%;
}

/* =========================================================
   Related courses
   ========================================================= */

.rd-related {
  padding: 3% 1%;
  background-color: #232323;
}

.rd-related-card {
  margin: 5px 2px 30px;
  overflow: hidden;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 2px 2px 5px rgba(78, 75, 75, .4);
  text-align: left;
}

.rd-related-card-img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.rd-related-card-body {
  padding: 7% 5%;
}

.rd-related-card-title {
  color: #395577;
  font-size: 1.4em;
}

.rd-related-card-text {
  font-size: 1.2em;
}

.rd-related-more {
  color: #395577;
}

/* =========================================================
   FAQ
   ========================================================= */

.rd-faq {
  color: #fff;
}

.rd-faq-overlay {
  background-color: rgba(0, 0, 0, .7);
}

#faqAccordionReddot {
  overflow: hidden;
  border-radius: 12px;
}

#faqAccordionReddot .accordion-item {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(177, 29, 45, .35);
  border-radius: 0;
  box-shadow: none;
}

#faqAccordionReddot .accordion-item:last-child {
  border-bottom: 0;
}

#faqAccordionReddot .accordion-button,
#faqAccordionReddot .accordion-button.collapsed {
  padding: 18px 20px;
  border: 0;
  background: #b11d2d;
  box-shadow: none !important;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .2px;
  transition: .25s;
}

#faqAccordionReddot .accordion-button.collapsed:hover {
  background: #961827;
  color: #fff;
}

#faqAccordionReddot .accordion-button:not(.collapsed) {
  border-bottom: 1px solid rgba(177, 29, 45, .35);
  background: #f3e2e5;
  color: #181818;
  font-weight: 800;
}

#faqAccordionReddot .accordion-button:focus {
  border-color: transparent;
  box-shadow: none !important;
}

#faqAccordionReddot .accordion-body {
  padding: 20px 22px;
  background: #fff;
  color: #181818;
  font-size: 1.05rem;
  line-height: 1.75;
}

#faqAccordionReddot .accordion-body p,
#faqAccordionReddot .accordion-body li {
  color: #181818;
}

#faqAccordionReddot .accordion-body strong {
  color: #b11d2d;
  font-weight: 800;
}

#faqAccordionReddot .accordion-button.collapsed::after {
  opacity: .9;
  filter: brightness(0) invert(1);
}

#faqAccordionReddot .accordion-button:not(.collapsed)::after {
  opacity: .8;
  filter: none;
}

#faqAccordionReddot .accordion-item:first-child .accordion-button {
  border-radius: 12px 12px 0 0;
}

#faqAccordionReddot .accordion-item:last-child .accordion-button.collapsed {
  border-radius: 0 0 12px 12px;
}

/* =========================================================
   Booking / verification
   ========================================================= */

.rd-verify-box {
  margin-bottom: 6px;
}

.rd-verify-code {
  display: inline-block;
  width: 90px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-align: center;
  user-select: none;
}

.rd-verify-refresh {
  margin-left: 8px;
  border: 0;
  background: none;
  color: #666;
  font-size: 20px;
  cursor: pointer;
}

.rd-verify-refresh:hover {
  color: #333;
}

@media (max-width: 767px) {
  .g-recaptcha {
    transform: scale(.92) translate(-18px);
    transform-origin: 0 0;
  }
}

/* =========================================================
   Existing footer spacing
   Kept equivalent so the fixed site footer does not shift.
   ========================================================= */

footer {
  padding: 35px 5% 135px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (min-width: 768px) and (max-width: 979px) {
  .rd-section-title {
    font-size: 1.8em;
  }

  footer {
    padding: 3% 5% 11%;
  }
}

@media (min-width: 980px) and (max-width: 1199px) {
  .rd-section-title {
    font-size: 2.6em;
  }

  footer {
    padding: 3% 5% 10%;
  }
}

@media (min-width: 992px) {
  .rd-mentor {
    background-position: left center;
  }
}

@media (min-width: 1200px) {
  .rd-section-title {
    font-size: 2em;
  }

  footer {
    padding: 3% 5% 6%;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  footer {
    padding: 3% 5% 11%;
  }
}
