/* 原站 head 內嵌樣式集中檔 */

/* WP 色彩變數（文章內容可能引用） */
body{--wp--preset--color--black:#000000;--wp--preset--color--cyan-bluish-gray:#abb8c3;--wp--preset--color--white:#ffffff;--wp--preset--color--pale-pink:#f78da7;--wp--preset--color--vivid-red:#cf2e2e;--wp--preset--color--luminous-vivid-orange:#ff6900;--wp--preset--color--luminous-vivid-amber:#fcb900;--wp--preset--color--light-green-cyan:#7bdcb5;--wp--preset--color--vivid-green-cyan:#00d084;--wp--preset--color--pale-cyan-blue:#8ed1fc;--wp--preset--color--vivid-cyan-blue:#0693e3;--wp--preset--color--vivid-purple:#9b51e0}

/* CF7 reCAPTCHA 對齊 */
.wpcf7 .wpcf7-recaptcha iframe{margin-bottom:0}
.wpcf7 .wpcf7-recaptcha[data-align="center"]>div{margin:0 auto}
.wpcf7 .wpcf7-recaptcha[data-align="right"]>div{margin:0 0 0 auto}

/* 文章內容標題字級（照片下小標題 / 副標） */
h6{color:#7e7e7e !important;margin-top:-5px !important;font-size:12px !important}
h4{font-size:24px !important;font-family:"Noto Serif TC",Arial,Helvetica,"HEITI TC","黑體-繁","微軟正黑體","黑體",sans-serif !important}
@media print, screen and (max-width: 64.06125em){
  h4{font-size:18px !important}
}

/* 聯絡表單（原 CF7 頁內嵌樣式） */
.contactForm input, .contactForm textarea, .contactForm select{
  border-radius:0;
  font-family:"Noto Serif TC",serif;
  font-size:15px;
  letter-spacing:4px;
  color:#000;
  background-color:transparent;
  border:none;
  border-bottom:1px solid #b7b7b7;
  width:100%;
  padding:12px 0;
}
.contactForm .rihgt0{margin-right:0 !important}
.contactForm input[type="submit"]{float:right;border:0;cursor:pointer;width:175px}
.contactForm .submit-btn{float:right;border:0;cursor:pointer;width:175px;background:transparent;font-family:"Noto Serif TC",serif;font-size:15px;letter-spacing:4px;border-bottom:1px solid #b7b7b7;padding:12px 0;text-align:center}
.contact-form-error{color:#c30000;font-family:"Noto Serif TC",serif;font-size:14px}
.contactFinish{font-family:"Noto Serif TC",serif;font-size:17px;letter-spacing:2px;line-height:2;padding:40px 0;text-align:center}


/* ===== MANYBE overrides ===== */
/* 關於頁：團隊照片（正方形照片裁成原版型比例、黑白） */
.about-manWrap .pic img{width:280px;height:376px;object-fit:cover;filter:grayscale(1)}
@media print, screen and (max-width: 64.06125em){.about-manWrap .pic img{width:100%;height:auto;aspect-ratio:280/376}}
/* 服務項目頁：左右背景改用作品圖（加深色遮罩以利白字閱讀） */
.ryder-swipe-area.left .ryder-set{background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(/images/coplus-2024-suv.jpg) center center/cover no-repeat}
.ryder-swipe-area.right .ryder-set{background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url(/images/wheel-rim.jpg) center center/cover no-repeat}
.ryder-swipe-area .ryder-set .article-area .pic img{max-width:320px}
@media print, screen and (max-width: 64.06125em){.ryder-swipe-area .ryder-set .article-area .pic img{max-width:200px}}
/* YouTube 嵌入（文章內容、作品介紹疊層） */
.video-embed{position:relative;width:100%;max-width:820px;aspect-ratio:16/9;margin:24px 0;background:#000}
.video-embed iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
.pd-fancyContainer .content .video-embed{max-width:420px;margin:22px 0 0}
@media (max-height: 720px), print, screen and (max-width: 64.06125em){.pd-fancyContainer .content .video-embed{display:none}}
.newsDetailWrap .content a{border-bottom:1px solid #1a1a1a}
.newsDetailWrap .content h6 img{width:100%;height:auto}
