/* NUDOT 复刻 — blog 文章页共享样式
   来源样本: C:\Users\19180\Desktop\复刻网站\Nudot\_analysis\evidence\orig-blog\2026-b2b-web-design-trends-quiet-luxury.dom.html
   构成: 正文样式块(16587) + tag-marquee 块(1329)
   注 1: 实测 17 篇文章的这两个块完全一致，故共用一份
   注 2: 原站页脚样式块已排除（本项目保留克隆版页脚设计） */

/* ---- 正文样式 ---- */

    html { scrollbar-gutter: stable; }

    :root {
      --blog-accent: #ffffff;
      --blog-line: rgba(255, 255, 255, 0.12);
      --blog-muted: rgba(255, 255, 255, 0.5);
      --blog-faint: rgba(255, 255, 255, 0.38);
      --blog-card: rgba(255, 255, 255, 0.025);
      --blog-card-border: rgba(255, 255, 255, 0.1);
    }
      ::marker{
     content: none;
    }

    /* html, body { background: #000; } */
 
    .blog-archive,
    .page-work-pattern .blog-archive {
      position: relative;
      z-index: 1;
      min-height: 100vh;
      background: transparent;
      color: #fff;
      isolation: isolate;
    }

    /* ── 背景影片（wavebg.mp4） ───────────────────────────────────── */
    .blog-bg-video,
    .blog-bg-tint {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }
    .blog-bg-video {
      object-fit: cover;
      background: #000;
    }
    .blog-bg-tint {
      background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.68) 55%, rgba(0, 0, 0, 0.8) 100%);
    }

    .blog-wrap {
      /* max-width: 1480px; */
      margin: 0 auto;
      padding: clamp(40px, 6vh, 80px) var(--work-side-pad) clamp(80px, 12vh, 140px);
    }

    /* ── Article detail（單篇文章，置中編排） ─────────────────────── */
    .article {
      width: 100%;
      font-family: 'Noto Sans TC', sans-serif;
    }
    .article__kicker {
      margin: 0;
      text-align: center;
      font-family: 'Noto Sans TC', sans-serif;
      font-size: clamp(20px, 2vw, 30px);
      font-weight: 500;
      letter-spacing: 0.02em;
      color: #fff;
    }
    .article__divider {
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.22);
      margin: clamp(20px, 2.4vw, 34px) 0 clamp(60px, 9vw, 130px);
    }
    .article__datewrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: clamp(6px, 0.8vw, 12px);
      margin-bottom: clamp(28px, 3.5vw, 52px);
    }
    .article__year {
      font-family: 'Bitcount Grid Single', 'Noto Sans TC', sans-serif;
      font-size: 40px;
      letter-spacing: 0.14em;
      color: rgba(255, 255, 255, 0.7);
    }
    .article__day {
      font-family: 'Bitcount Grid Single', 'Noto Sans TC', sans-serif;
      font-size: 40px;
      font-weight: 400;
      line-height: 1;
      letter-spacing: 0.02em;
      color: #fff;
    }

    /* 頂部 close icon（連回 Journal） */
    .article__close-top {
      display: block;
      width: fit-content;
      margin: 0 auto clamp(22px, 2.6vw, 36px);
      line-height: 0;
      opacity: 0.85;
      transition: opacity 0.3s ease, transform 0.4s var(--work-ease, ease);
    }
    .article__close-top:hover { opacity: 1; transform: rotate(90deg); }
    .article__close-top img { width: clamp(16px, 1.5vw, 22px); height: auto; display: block; }
    .article__title {
    text-align: left;
    font-family: 'Noto Sans TC';
    font-size: 30px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: 0.1em;
    color: #fff;
    padding-left: 20px;
    }

    .article__box{
           margin: 2.2em auto;
    max-width: 1440px;
    display: flex;
    }
    .article__hero {
      max-width: 1440px;
      margin: clamp(50px, 7vw, 100px) auto 0;
      border-radius: 6px;
      overflow: hidden;
    }
    .article__hero img {
      width: 100%;
      height: auto;
      display: block;
    }
    .article__body {
      max-width: 1440px;
      margin: 0 auto;
      font-family: 'Noto Sans TC', sans-serif;
      font-size: clamp(15px, 1.15vw, 18px);
      line-height: 2;
      color: rgba(255, 255, 255, 0.74);
    }
    .article__body p { margin: 1.6em 0 1.6em; }
    .article__body h2 {
      margin: 2.2em 0 0.9em;
      font-size: clamp(20px, 2vw, 28px);
      font-weight: 600;
      color: #fff;
    }
    .article__body h3 {
      margin: 1.8em 0 0.7em;
      font-size: clamp(17px, 1.6vw, 22px);
      font-weight: 600;
      color: #fff;
    }
    .article__body a {
      color: #fff;
      text-decoration: none;
      text-underline-offset: 3px;
    }
    .article__body a:hover { text-decoration: none; }
    .article__body img {
        width:25px;
      padding-right: 10px;
    }
    .article__body ul,
    .article__body ol { margin: 0; }
    .article-toc li{padding: 0.5em 0; display: flex; border-bottom: 1px solid #3b3b3b;
        
    }
    .article__body li {   }
    .article__body blockquote {
      margin: 1.6em 0;
      padding: 0.2em 0 0.2em 1.2em;
      border-left: 2px solid var(--blog-accent);
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
    }
    .article__back {
      display: block;
      width: fit-content;
      margin: clamp(70px, 10vw, 130px) auto 0;
      line-height: 0;
      opacity: 0.7;
      transition: opacity 0.3s ease, transform 0.4s var(--work-ease, ease);
    }
    .article__back:hover { opacity: 1; transform: rotate(90deg); }
    .article__back img { width: clamp(22px, 2vw, 30px); height: auto; display: block; }

    /* ── New Articles（文章下方 3 筆） ───────────────────────────── */
    .more-articles { margin-top: clamp(80px, 12vw, 160px); }
    .more-articles__label {
      margin: 0 0 clamp(22px, 3vw, 46px);
      text-align: center;
      font-family: "Bitcount Grid Single", var(--work-font-body);
      font-size: clamp(18px, 1.7vw, 24px);
      font-weight: 400;
      letter-spacing: 0.04em;
      color: #fff;
    }
    
       .back_list{
      width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    color: #fff;
    font-family: "Bitcount Grid Single", var(--work-font-body);
    text-decoration: auto;
    font-size: 30px;
    text-transform: uppercase;
    }
    .more-articles[hidden] { display: none; }

    @media (max-width: 768px) {
      .article__box img{ display:none;}  
      .article__title{font-size: 25px;
    line-height: 1.6; padding-left:0;}
      .article__divider { margin-bottom: 46px; }
      .article__body { margin-top: 54px; }
    }

    /* ── Hero (與 lab.html 一致) ─────────────────────────────────── */
    .work-hero {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      padding: clamp(130px, 18vh, 200px) var(--work-side-pad) 0;
    }

    .work-hero__top {
        display: grid;
    grid-template-columns: auto;
    align-items: center;
    column-gap: clamp(18px, 3vw, 48px);
    padding-bottom: clamp(12px, 1.5vh, 20px);
    justify-content: center;
    }

    .work-hero__title {
      margin: 0;
      font-family: "Zalando Sans SemiExpanded", "DM Sans", sans-serif;
      font-size: clamp(64px, 9.5vw, 130px);
      font-weight: 600;
      line-height: 0.88;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      color: #fff;
      cursor: default;
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      display: inline-block;
      opacity: 0;
      transform: translateX(18vw) translateZ(0);
      transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    }

    .work-hero__center {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .work-hero__desc {
      margin: 0;
      font-family: "DM Sans", sans-serif;
      font-size: 14px;
      font-weight: 400;
      line-height: 1.6;
      text-transform: uppercase;
      color: #fff;
      text-align: center;
      align-self: center;
      opacity: 0;
      transition: opacity 0.4s ease 0.35s;
    }

    .work-hero__code {
      margin: 0;
      font-family: "Zalando Sans SemiExpanded", "DM Sans", sans-serif;
      font-size: clamp(64px, 9.5vw, 130px);
      font-weight: 600;
      line-height: 0.88;
      letter-spacing: -0.02em;
      text-transform: uppercase;
      color: #fff;
      text-align: right;
      will-change: transform;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      opacity: 0;
      transform: translateX(-18vw) translateZ(0);
      transition:
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s,
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    }

    .work-hero__line {
      width: 100%;
      height: 1px;
      background: rgba(255, 255, 255, 0.18);
      transform-origin: center center;
      transform: scaleX(0);
      transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
    }

    .work-hero__bottom {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: clamp(10px, 1.4vh, 18px) 0;
      opacity: 0;
      transition: opacity 0.4s ease 0.45s;
    }

    .work-hero__year,
    .work-hero__kicker,
    .work-hero__tags {
      margin: 0;
      font-family: "DM Sans", sans-serif;
      font-weight: 400;
      color: #fff;
    }

    .work-hero__year {
      font-size: 16px;
      text-align: left;
    }

    .work-hero__kicker {
      font-size: 14px;
      letter-spacing: 0.06em;
      text-align: center;
    }

    .work-hero__tags {
      font-size: 16px;
display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    }

    .work-hero-entered .work-hero__title {
      opacity: 1;
      transform: translateX(0) translateZ(0);
    }
    .work-hero-entered .work-hero__code {
      opacity: 1;
      transform: translateX(0) translateZ(0);
    }
    .work-hero-entered .work-hero__line {
      transform: scaleX(1);
    }
    .work-hero-entered .work-hero__desc,
    .work-hero-entered .work-hero__bottom {
      opacity: 1;
    }

    @media (max-width: 1024px) {
      .work-hero { padding-top: clamp(110px, 15vh, 160px); }
      .work-hero__top {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 10px;
        padding-bottom: 16px;
      }
      .work-hero__title { text-align: center; }
      .work-hero__desc {
        max-width: 18em;
        font-size: 13px;
        line-height: 1.45;
        text-align: center;
      }
      .work-hero__bottom {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 14px 0 0;
      }
      .work-hero__code,
      .work-hero__year { display: none; }
      .work-hero__tags { display: none; }
      .work-hero__title { transform: translateX(8vw) translateZ(0); }
      .work-hero__code  { transform: translateX(-8vw) translateZ(0); }
    }

    @media (max-width: 768px) {
      .work-hero__title,
      .work-hero__code {
        opacity: 1;
        transform: none;
        transition: none;
      }
      .work-hero__line {
        transform: scaleX(1);
        transition: none;
      }
      .work-hero__desc,
      .work-hero__bottom {
        opacity: 1;
        transition: none;
      }
      .work-hero { padding-top: 104px; }
      .work-hero__title { font-size: clamp(3.6rem, 20vw, 7rem); }
      .work-hero__kicker, .work-hero__desc { font-size: 0.68rem; letter-spacing: 0.13em; }
    }

    @media (max-width: 480px) {
      .work-hero__title { font-size: 65px; }
    }

    /* ── Post list (timeline rows) ───────────────────────────────── */
    .grid {
      display: block;
      border-top: 1px solid var(--blog-line);
    }
    .post {
      position: relative;
      display: grid;
      grid-template-columns: clamp(120px, 14vw, 210px) 1fr auto;
      align-items: center;
      gap: clamp(24px, 4vw, 64px);
      padding: clamp(26px, 3.2vw, 46px) clamp(6px, 1vw, 18px);
      text-decoration: none;
      color: inherit;
      border-bottom: 1px solid var(--blog-line);
      transition: background 0.5s var(--work-ease), padding-left 0.5s var(--work-ease);
    }
    .post:hover {
      background: rgba(255, 255, 255, 0.025);
      padding-left: clamp(14px, 1.6vw, 30px);
    }
    .post-date {
      font-family: "Bitcount Grid Single", var(--work-font-body);
      font-size: clamp(15px, 1.5vw, 22px);
      letter-spacing: 0.04em;
      color: rgba(255, 255, 255, 0.85);
      white-space: nowrap;
      transition: color 0.4s var(--work-ease);
    }
    .post-title {
      font-family: 'Noto Sans TC', var(--work-font-body);
      font-size: clamp(15px, 1.35vw, 21px);
      font-weight: 500;
      line-height: 1.5;
      color: rgba(255, 255, 255, 0.82);
      transition: color 0.4s var(--work-ease);
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    .post:hover .post-date,
    .post:hover .post-title { color: #fff; }
    .post-arrow {
      justify-self: end;
      color: rgba(255, 255, 255, 0.55);
      font-size: 18px;
      line-height: 1;
      transition: transform 0.45s var(--work-ease), color 0.4s var(--work-ease);
    }
    .post:hover .post-arrow {
      color: var(--blog-accent);
      transform: translateX(6px);
    }

    /* ── Hover-reveal floating image ─────────────────────────────── */
    .blog-hover-img {
      position: fixed;
      top: 0;
      left: 0;
      width: clamp(220px, 22vw, 340px);
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-radius: 4px;
      pointer-events: none;
      z-index: 60;
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.92);
      transition: opacity 0.35s var(--work-ease), transform 0.45s var(--work-ease);
      will-change: transform, opacity;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    }
    .blog-hover-img.is-visible {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
    .blog-hover-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    @media (hover: none) {
      .blog-hover-img { display: none; }
    }

    /* ── Loading / error ─────────────────────────────────────────── */
    .loading {
      font-family: var(--work-font-body);
      font-size: 13px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--blog-faint);
      padding: 40px 0;
    }
    .error-box {
      font-family: var(--work-font-body);
      color: #e08a8a;
      padding: 18px 20px;
      background: rgba(224, 138, 138, 0.08);
      border: 1px solid rgba(224, 138, 138, 0.25);
      border-radius: 3px;
      margin: 20px 0;
      display: none;
    }

    /* ── Vertical grid line overlay（取自 lab.html） ─────────────── */
    .grid-overlay {
      position: fixed;
      inset: 0;
      padding: 0 var(--work-side-pad, 2rem);
      pointer-events: none;
      z-index: 2;
    }
    .grid-overlay-inner {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 0.75rem;
      height: 100%;
    }
    .grid-column {
      border-left: 1px solid rgba(255, 255, 255, 0.06);
      border-right: 1px solid rgba(255, 255, 255, 0.06);
      opacity: 0;
      will-change: transform, opacity;
    }
    @media (max-width: 768px) {
      .grid-overlay-inner { grid-template-columns: repeat(4, 1fr); }
    }

    /* ── Skeleton（載入時的骨架，讓資料切換更絲滑） ──────────────── */
    .post--sk { pointer-events: none; }
    .post--sk .post-arrow { color: rgba(255, 255, 255, 0.12); }
    .sk {
      display: block;
      height: 0.9em;
      border-radius: 3px;
      background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0.09) 37%,
        rgba(255, 255, 255, 0.04) 63%);
      background-size: 400% 100%;
      animation: sk-shimmer 1.4s ease infinite;
    }
    .sk-date { width: 70%; }
    .sk-title { width: min(46%, 420px); height: 1.05em; }
    @keyframes sk-shimmer {
      0% { background-position: 100% 0; }
      100% { background-position: 0 0; }
    }

    /* 文章頁載入骨架（版面比照 .article，資料到位時無縫替換） */
    .article-sk .sk { border-radius: 6px; }
    .sk-block { display: inline-block; }
    .sk-hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .sk-line { height: 1em; margin: 0.9em 0; border-radius: 4px; }
    .sk-line.is-mid { width: 82%; }
    .sk-line.is-short { width: 58%; }

    /* ── Responsive ──────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .post {
        grid-template-columns: 1fr auto;
        gap: 6px 20px;
        padding: 22px 4px;
      }
      .post-date { grid-column: 1 / -1; font-size: 13px; color: var(--blog-faint); }
      .post-title { font-size: 15px; -webkit-line-clamp: 3; }
      .post:hover { padding-left: 4px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .blog-reveal { opacity: 1 !important; transform: none !important; }
    }
  

/* ---- tag-marquee ---- */

    .tag-marquee {
      width: 100%;
      overflow: hidden;
      background: #000;
      border-top: 1px solid #313131;
      border-bottom: 1px solid #313131;
      clip-path: inset(100% 0 0 0);
      padding: 10px;
    }
    .tag-marquee[hidden] { display: none; }
    .tag-marquee__track {
      display: flex;
      align-items: center;
      gap: 0;
      white-space: nowrap;
      will-change: transform;
    }
    .tag-marquee__item {
      font-family: 'Bitcount Prop Single', 'Bitcount Grid Single', monospace;
      font-size: clamp(1.4rem, 4vw, 4.5rem);
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #fff;
      padding: 0 clamp(20px, 3vw, 60px);
    }
    .tag-marquee__sep {
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      width: clamp(20px, 2.8vw, 40px);
    }
    .tag-marquee__sep img {
      width: 100%;
      height: auto;
      display: block;
      animation: tag-sep-spin 3s ease-in-out infinite;
    }
    @keyframes tag-sep-spin {
      0% { transform: rotate(0deg); }
      40% { transform: rotate(180deg); }
      60% { transform: rotate(180deg); }
      100% { transform: rotate(360deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .tag-marquee__track { transform: none !important; }
    }
  


/* ═══ 页脚样式（自 ../css/blog.css 补入，确保与全站一致）═══ */
    /* ── Site footer ────────────────────────────────────────────────── */
    .site-footer {
      position: relative;
      overflow: visible;
      color: #fff;
      padding: 0;
      font-family: 'DM Sans', sans-serif;
    }

    .footer-top {
      padding: 3vw 2.5vw;
      position: relative;
      z-index: 5;
      line-height: normal;
    }

    .footer-main-content {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 40px;
    }

    .footer-contact-info a {
      display: block;
      color: #fff;
      text-decoration: none;
      font-size: clamp(20px, 3.5vw, 50px);
      font-weight: 400;
      margin-bottom: 4px;
      transition: opacity 0.2s;
    }

    .footer-contact-info a:hover {
      opacity: 0.6;
    }

    .footer-contact-info span {
      color: #ffffff;
      font-size: clamp(18px, 2.5vw, 30px);
    }

    .footer-nav-links {
      display: flex;
      gap: 28px;
      margin-top: 38px;
    }

    .footer-nav-links a {
      color: #fff;
      text-decoration: none;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      transition: opacity 0.2s;
    }

    .footer-nav-links a:hover {
      opacity: 0.5;
    }

    .footer-right-panel {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: flex-start;
    }

    .footer-video-thumb {
      width: 100%;
      max-width: 340px;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      position: relative;
    }

    .footer-video-thumb video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .footer-copyright-bridge {
      position: absolute;
      bottom: 0;
      right: 6%;
      width: clamp(90px, 10vw, 148px);
      height: clamp(90px, 10vw, 148px);
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translateY(50%);
      z-index: 20;
    }

    .footer-copyright-bridge span {
      font-family: 'Zalando Sans SemiExpanded', 'DM Sans', sans-serif;
      font-size: 180px;
      font-weight: 600;
      color: #fff;
      line-height: 1;
    }

   .footer-parallax-section {
      height: 50vh;
      width: 100%;
      overflow: hidden;
      position: relative;
      z-index: 1;
    }
    .footer-parallax-copy {
      position: absolute;
      top: 30px;
      left: 40px;
      z-index: 3;
      color: rgba(255, 255, 255, 0.65);
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      letter-spacing: 0.06em;
      line-height: 1.7;
      pointer-events: none;
    }

     @media (max-width: 1440px) {
     .footer-parallax-section {
      height: 300px;
      
    }
    }

    .footer-parallax-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: var(--footer-bg-image, none);
      background-attachment: fixed;
      background-size: contain;
      background-position: bottom;
      opacity: 1;
      mix-blend-mode: luminosity;
    }

    @media (max-width: 1024px) {
      .footer-top {
        padding: 6vw 4vw;
      }

      .footer-copyright-bridge,
      .footer-parallax-section {
        display: none !important;
      }
    }

    @media (max-width: 768px) {
      .footer-top {
        padding: 1.5rem;
      }

      .footer-main-content {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .footer-right-panel {
        align-items: flex-start;
      }

      .footer-video-thumb {
        max-width: 100%;
      }

      .footer-nav-links {
        gap: 16px;
        margin-top: 24px;
        flex-wrap: wrap;
      }
       .footer-nav-links a{
            font-size:11px;
      }
      
    }


/* 页脚补充规则 */
.frev-wrap { overflow: hidden; display: inline-block; vertical-align: bottom; }
    .footer-video-cover { position: absolute; inset: 0; background: #0a0a0a; z-index: 2; pointer-events: none; transform-origin: right center; will-change: transform; }

