/* 2026-11-17 C2：斑駁鏤空筆刷編號（取代 01／02 細字編號與 SVG 細筆刷）。
   最後載入；要退回舊樣式，移除各頁 <link href="/street-c2.css"> 即可。 */

/* 首頁 01、02：編號與筆刷合成一張透明圖，筆刷往右出血 */
.mist-home #explore,.mist-home #news{background-image:none}
.mist-home #explore::before,.mist-home #news::before{
  content:"";position:absolute;left:auto;right:0;top:8px;z-index:0;
  width:clamp(200px,28vw,440px);height:auto;aspect-ratio:1320/600;
  background:url("/images/mmc-c2-num-01.webp") no-repeat right center/contain;
  font-size:0;line-height:0;color:transparent;opacity:1;pointer-events:none;
}
.mist-home #news::before{background-image:url("/images/mmc-c2-num-02.webp")}
/* 02 原本被雪場卡片蓋住：卡片往下讓出編號的高度 */
.mist-home #news{padding-top:max(0px,calc(clamp(200px,28vw,440px) * .373 - 48px))}

/* 01 獨立一列，不再壓到標題旁的說明文字（英、日文較長時會重疊） */
@media(min-width:701px){
  .mist-home #explore{padding-top:calc(clamp(200px,28vw,440px) * .373 + 22px)}
}

/* 內頁標題右上的筆刷 */
.mist-document body[data-page-type] .detail-heading::after{
  background:url("/images/mmc-c2-brush.webp") no-repeat right -24px top 22px/clamp(220px,34vw,480px) auto,
             radial-gradient(ellipse at 90% 30%,#F4512410,transparent 60%);
}

@media(max-width:1000px){
  .mist-home #news{padding-top:max(0px,calc(clamp(200px,28vw,440px) * .373 - 24px))}
}
@media(max-width:700px){
  .mist-home #explore::before,.mist-home #news::before{width:clamp(170px,46vw,240px);top:6px}
  .mist-home #news{padding-top:max(0px,calc(clamp(170px,46vw,240px) * .373 - 24px))}
  /* 手機：筆刷縮小並移到標題列上方，不壓到英文小標 */
  .mist-document body[data-page-type] .detail-heading::after{background-position:right -30px top 2px,0 0;background-size:170px auto,100% 100%}
}


/* 講座頁「四個主題」標題改回和其他標題一致的黑體，說明文字提高對比 */
.mist-document body[data-page-type] .lecture-heading h2{font-family:"PingFang TC","Noto Sans TC",system-ui,sans-serif;font-weight:750;letter-spacing:-.015em}
.mist-document body[data-page-type] .lecture-heading>p:not(.eyebrow){color:#C5C6C2}

/* 首頁主視覺：影片出現亮面畫格時白字會看不清，左側壓暗加深 */
.mist-home .hero--brand .hero-shade{background:linear-gradient(90deg,#171719CC 0%,#17171980 38%,transparent 66%),linear-gradient(0deg,#171719,transparent 27%)}

/* 到訪資訊：地址下方的 Google 地圖連結 */
.mist-document .location-box .location-map-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;color:#F5F5F3;font-weight:650;text-decoration:underline;text-decoration-color:#F45124;text-underline-offset:6px}
.mist-document .location-box .location-map-link:hover{color:#F45124}

/* 後台文字顏色「墨色」是給淺色卡片用的；深色卡片上改成淺色，避免字看不見 */
.mist-document .faq :is(h3,summary).mmc-style-color-ink{color:#F5F5F3!important}
.mist-document .faq p.mmc-style-color-ink{color:#C5C6C2!important}

/* 到訪資訊：嵌入 Google 地圖 */
.mist-document .location-box .location-map{position:relative;margin:16px 0 4px;aspect-ratio:16/10;max-width:560px;border:1px solid #49494D;background:#222225;overflow:hidden}
.mist-document .location-box .location-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media(max-width:700px){.mist-document .location-box .location-map{aspect-ratio:4/3}}

/* 到訪資訊「出發前，先了解」：B 無框版（橘色粗線開頭、空心編號），跟左欄垂直置中 */
.mist-document body[data-page-type="visit"] .visit-section{align-items:center}
.mist-document .faq{align-self:center;height:auto;counter-reset:faq;padding:28px 0 0;background:transparent;border:0;border-top:3px solid #F45124;border-radius:0;box-shadow:none}
.mist-document .faq h3{font:800 clamp(28px,2.8vw,40px)/1.25 "PingFang TC","Noto Sans TC",system-ui,sans-serif;letter-spacing:-.015em;margin-bottom:22px;color:#F5F5F3}
.mist-document .faq h3::before{content:"FAQ";display:block;margin-bottom:10px;color:#F45124;font:750 11px/1 system-ui,sans-serif;letter-spacing:.2em}
.mist-document .faq details{padding:20px 0;border-color:#3F3F44}
.mist-document .faq summary{counter-increment:faq;display:flex;align-items:center;justify-content:flex-start;gap:22px;cursor:pointer;color:#F5F5F3;font:650 clamp(17px,1.4vw,19px)/1.6 "PingFang TC","Noto Sans TC",system-ui,sans-serif}
.mist-document .faq summary::before{content:counter(faq,decimal-leading-zero);flex:0 0 44px;color:transparent;-webkit-text-stroke:1px #F45124;font:italic 800 30px/1 Georgia,"Times New Roman",serif}
.mist-document .faq summary>span{margin-left:auto;flex:0 0 30px;font-size:0;width:30px;height:30px;border:1px solid #626267;border-radius:50%;position:relative;transition:transform .25s,border-color .25s}
.mist-document .faq summary>span::before,.mist-document .faq summary>span::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:1.5px;background:#F45124;transform:translate(-50%,-50%)}
.mist-document .faq summary>span::after{transform:translate(-50%,-50%) rotate(90deg)}
.mist-document .faq details[open] summary>span{transform:rotate(45deg);border-color:#F45124}
@media(hover:hover){.mist-document .faq summary:hover>span{border-color:#F45124}}
.mist-document .faq details>p{margin:12px 0 4px 66px;padding-left:16px;border-left:2px solid #F45124;color:#C5C6C2;font-size:15px;line-height:1.9}
@media(max-width:700px){
  .mist-document .faq summary{gap:14px}
  .mist-document .faq summary::before{flex-basis:36px;font-size:24px}
  .mist-document .faq details>p{margin-left:0}
}

/* 品牌理念：B 精簡版——右側改雪山直式圖，品牌識別拿掉米白／灰色塊，Logo 直接放在深色背景 */
.mist-document body[data-page-type="about"] .about-image{position:relative;overflow:hidden;width:100%;max-width:400px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.mist-document body[data-page-type="about"] .about-image img{display:block;width:100%;height:clamp(360px,38vw,500px);max-height:none;object-fit:cover;object-position:62% 50%;filter:brightness(.86) contrast(1.05)}
.mist-document body[data-page-type="about"] .about-image::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,#171719D9);pointer-events:none}
.mist-document body[data-page-type="about"] .about-image figcaption{position:absolute;left:18px;right:18px;bottom:14px;z-index:1;margin:0;color:#F5F5F3;font-size:12px;letter-spacing:.06em;text-align:left}
.mist-document body[data-page-type="about"] .brand-assets-gallery{gap:0;border-top:1px solid #3F3F44;border-bottom:1px solid #3F3F44}
.mist-document body[data-page-type="about"] .brand-assets-gallery figure,
.mist-document body[data-page-type="about"] .brand-assets-gallery figure:has(img[src*="wordmark-white"]){display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 20px;background:transparent;border:0;border-radius:0;box-shadow:none;max-height:none}
.mist-document body[data-page-type="about"] .brand-assets-gallery figure+figure:has(img[src]){border-left:1px solid #3F3F44}
.mist-document body[data-page-type="about"] .brand-assets-gallery img{width:auto;max-width:100%;height:130px;max-height:none;object-fit:contain;background:transparent;padding:0}
.mist-document body[data-page-type="about"] .brand-assets-gallery figcaption,
.mist-document body[data-page-type="about"] .brand-assets-gallery figure:has(img[src*="wordmark-white"]) figcaption{margin-top:18px;color:#9A9BA0;font-size:12px;letter-spacing:.08em;text-align:center}
@media(max-width:700px){
  .mist-document body[data-page-type="about"] .about-image{max-width:none}
  .mist-document body[data-page-type="about"] .about-image img{height:340px}
  .mist-document body[data-page-type="about"] .brand-assets-gallery figure{padding:28px 16px}
  .mist-document body[data-page-type="about"] .brand-assets-gallery figure+figure:has(img[src]){border-left:0;border-top:1px solid #3F3F44}
  .mist-document body[data-page-type="about"] .brand-assets-gallery img{height:110px}
}
