/* CT-BY · cj-case-grid · 山水青花瓷 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');

.cjcg{
  --cobalt:#26477E; --cobalt-soft:#5C7BA8; --porcelain:#EEF1F2; --porcelain-2:#E7ECEE;
  --pk-ink:#1B2A3F; --pk-soft:#7E8A9A; --pk-line:#D6DDE1;
  padding:96px 0; background:#E3E9EC; position:relative;
  font-family:'Inter',-apple-system,sans-serif; font-weight:300; color:var(--pk-ink);
}
.cjcg-wrap{max-width:1320px;margin:0 auto;padding:0 56px}
.cjcg-head{display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:18px;text-align:left;margin-bottom:44px}
.cjcg-eyebrow{grid-column:1}
.cjcg-title{grid-column:1}
.cjcg-sub{grid-column:1}
.cjcg-headlink{grid-column:2;grid-row:1/span 2;align-self:end}
.cjcg-head > *:not(.cjcg-headlink){grid-column:1}
.cjcg-eyebrow{font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:var(--cobalt-soft);margin-bottom:16px}
.cjcg-title{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:44px;color:var(--cobalt);line-height:1.12;letter-spacing:0;margin:0}
.cjcg-sub{font-size:16px;color:var(--pk-soft);margin:14px auto 0;max-width:560px;line-height:1.6}
.cjcg-headlink{justify-self:center;margin-top:18px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--cobalt);text-decoration:none;border-bottom:1px solid var(--cobalt);padding-bottom:5px}
.cjcg-headlink:hover{opacity:.7}

.cjcg-grid{display:grid;gap:26px}
.cjcg-grid--2{grid-template-columns:repeat(2,1fr)}
.cjcg-grid--3{grid-template-columns:repeat(3,1fr)}
.cjcg-grid--4{grid-template-columns:repeat(4,1fr)}

.cjcg-card{display:block;text-decoration:none;color:inherit}
.cjcg-card--empty{display:none}
.cjcg-img{aspect-ratio:3/2;overflow:hidden;border-radius:3px;position:relative;box-shadow:0 26px 48px -32px rgba(27,42,63,.5);background:var(--porcelain-2);margin-bottom:16px}
.cjcg-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s cubic-bezier(.2,.7,.2,1);filter:saturate(.95)}
.cjcg-card:hover .cjcg-img img{transform:scale(1.05)}
.cjcg-img__ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--cobalt-soft);font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.cjcg-meta{font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--cobalt-soft);margin-bottom:7px}
.cjcg-name{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:23px;color:var(--cobalt);line-height:1.1;margin:0 0 6px}
.cjcg-by{font-size:13px;color:var(--pk-soft);font-style:italic;font-family:'Cormorant Garamond',serif}

@media(max-width:860px){
  .cjcg{padding:56px 0 60px}
  .cjcg-wrap{padding:0 22px}
  .cjcg-grid--2,.cjcg-grid--3,.cjcg-grid--4{grid-template-columns:1fr 1fr;gap:20px 16px}
  .cjcg-name{font-size:20px}
}

/* 效果图版式:第一个案例放大成左右开的主卡(:first-child 命中 Shopline 块包装层) */
.cjcg-grid > :first-child{grid-column:1/-1}
.cjcg-grid > :first-child .cjcg-card{display:grid;grid-template-columns:1.25fr 1fr;background:#F6F8F9;box-shadow:0 30px 60px -40px rgba(27,42,63,.4)}
.cjcg-grid > :first-child .cjcg-img{aspect-ratio:16/10;min-height:0;height:auto;margin-bottom:0}
.cjcg-grid > :first-child .cjcg-body{padding:48px 50px;display:flex;flex-direction:column;justify-content:center}
.cjcg-grid > :first-child .cjcg-name{font-size:32px;line-height:1.15}
@media(max-width:860px){
  .cjcg-grid > :first-child .cjcg-card{grid-template-columns:1fr}
  .cjcg-grid > :first-child .cjcg-img{min-height:240px}
  .cjcg-grid > :first-child .cjcg-body{padding:24px 22px}
}

/* 路线行 + 客人引用 + 阅读链接 */
.cjcg-route{font-size:13px;color:var(--pk-soft);letter-spacing:.04em;margin:0 0 12px}
.cjcg-quote{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:15px;color:var(--pk-ink);line-height:1.5;border-left:2px solid var(--cobalt-soft);padding-left:14px;margin:0 0 14px}
.cjcg-readmore{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--cobalt);border-bottom:1px solid var(--cobalt);padding-bottom:3px;align-self:flex-start;margin-top:auto}
.cjcg-grid > :first-child .cjcg-quote{font-size:18px}
/* 小卡里引用收敛,避免太长 */
.cjcg-grid > :not(:first-child) .cjcg-quote{display:none}

/* 主卡:链接贴着内容,不再坠底留大空 */
.cjcg-grid > :first-child .cjcg-readmore{margin-top:20px}
.cjcg-grid > :first-child .cjcg-by{margin-bottom:0}
/* 小卡:效果图同款卡片底 */
.cjcg-grid > :not(:first-child) .cjcg-card{background:#F6F8F9;box-shadow:0 18px 40px -30px rgba(27,42,63,.35)}
.cjcg-grid > :not(:first-child) .cjcg-img{margin-bottom:0;border-radius:0;box-shadow:none}
.cjcg-grid > :not(:first-child) .cjcg-body{padding:18px 20px 22px}

/* 2026-06-13:主卡原话当主角填满 + 全卡 8px 圆角 + 小卡显原话 */
.cjcg-grid > :first-child .cjcg-card{border-radius:8px;overflow:hidden}
.cjcg-grid > :first-child .cjcg-img{border-radius:0}
.cjcg-grid > :first-child .cjcg-body{display:flex;flex-direction:column}
.cjcg-grid > :first-child .cjcg-name{display:none}
.cjcg-grid > :first-child .cjcg-meta{order:1;margin-bottom:18px}
.cjcg-grid > :first-child .cjcg-quote{order:2;display:block;border-left:none;padding-left:0;font-size:27px;line-height:1.4;color:var(--cobalt);margin:0 0 22px}
.cjcg-grid > :first-child .cjcg-route{order:3;margin-bottom:8px}
.cjcg-grid > :first-child .cjcg-by{order:4;margin-bottom:18px}
.cjcg-grid > :first-child .cjcg-readmore{order:5;margin-top:0}
.cjcg-grid > :not(:first-child) .cjcg-card{border-radius:8px;overflow:hidden}
.cjcg-grid > :not(:first-child) .cjcg-name{display:none}
.cjcg-grid > :not(:first-child) .cjcg-route{display:none}
.cjcg-grid > :not(:first-child) .cjcg-quote{display:block;border-left:none;padding-left:0;font-size:17px;line-height:1.45;color:var(--pk-ink);margin:0 0 12px}
.cjcg-grid > :not(:first-child) .cjcg-meta{margin-bottom:10px}

/* 大卡:文字决定卡高,图绝对定位裁切填满(不占布局高度→两边永远齐平,无白边无浮空) */
.cjcg-grid > :first-child .cjcg-card{align-items:stretch}
.cjcg-grid > :first-child .cjcg-img{aspect-ratio:auto;position:relative;height:auto;min-height:100%;margin-bottom:0}
.cjcg-grid > :first-child .cjcg-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cjcg-grid > :first-child .cjcg-body{justify-content:center;padding:46px 50px;min-height:360px}

/* Premium v16 pass: case studies become travel-editorial proof, not product cards. */
.cjcg{
  --cobalt:#26477E;
  --cobalt-soft:#5C7BA8;
  --porcelain:#EEF1F2;
  --porcelain-2:#E7ECEE;
  --pk-ink:#1B2A3F;
  --pk-soft:#7E8A9A;
  --pk-line:#D6DDE1;
  background:#E3E9EC;
  padding:112px 0 108px;
}
.cjcg-wrap{
  max-width:1380px;
  padding:0 72px;
}
.cjcg-head{
  grid-template-columns:minmax(0,720px) auto;
  margin-bottom:44px;
}
.cjcg-eyebrow{
  color:var(--cobalt-soft);
  letter-spacing:.26em;
}
.cjcg-title{
  color:var(--cobalt);
  font-size:46px;
  line-height:1.08;
  letter-spacing:0;
}
.cjcg-sub{
  margin-left:0;
  color:var(--pk-soft);
}
.cjcg-headlink{
  color:var(--cobalt);
  border-bottom-color:rgba(20,59,49,.46);
}
.cjcg-grid{
  gap:28px;
}
.cjcg-img img{
  filter:saturate(.86) contrast(.98);
}
.cjcg-card:hover .cjcg-img img{
  transform:scale(1.035);
}
.cjcg-grid > :first-child .cjcg-card{
  grid-template-columns:1.06fr .94fr;
  background:#F6F8F9;
  border:1px solid var(--pk-line);
  border-radius:2px;
  box-shadow:none;
}
.cjcg-grid > :first-child .cjcg-body{
  padding:56px;
  min-height:430px;
}
.cjcg-grid > :first-child .cjcg-quote{
  font-size:30px;
  line-height:1.32;
  color:var(--cobalt);
  margin-bottom:26px;
}
.cjcg-meta{
  color:var(--cobalt-soft);
  letter-spacing:.13em;
}
.cjcg-route,
.cjcg-by{
  color:var(--pk-soft);
}
.cjcg-readmore{
  color:var(--cobalt);
  border-bottom-color:rgba(20,59,49,.48);
}
.cjcg-grid > :not(:first-child) .cjcg-card{
  background:transparent;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
  border-top:1px solid var(--pk-line);
  padding-top:18px;
}
.cjcg-grid > :not(:first-child) .cjcg-img{
  aspect-ratio:4/3;
  border-radius:2px;
  box-shadow:none;
  margin-bottom:18px;
}
.cjcg-grid > :not(:first-child) .cjcg-body{
  padding:0;
}
.cjcg-grid > :not(:first-child) .cjcg-quote{
  font-size:18px;
  line-height:1.5;
  color:var(--pk-ink);
}
@media(min-width:1440px){
  .cjcg-grid > :first-child .cjcg-quote{font-size:34px}
}
@media(max-width:860px){
  .cjcg{
    padding:48px 0 50px;
  }
  .cjcg-wrap{
    padding:0 24px;
  }
  .cjcg-head{
    display:block;
    margin-bottom:30px;
  }
  .cjcg-title{
    font-size:36px;
    line-height:1.06;
    text-wrap:balance;
  }
  .cjcg-headlink{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    margin-top:14px;
  }
  .cjcg-grid--2,
  .cjcg-grid--3,
  .cjcg-grid--4{
    grid-template-columns:1fr;
    gap:22px;
  }
  .cjcg-grid > :first-child .cjcg-card{
    display:block;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
  }
  .cjcg-grid > :first-child .cjcg-img{
    aspect-ratio:16/11;
    min-height:0;
    height:auto;
    border-radius:2px;
    margin-bottom:-22px;
    box-shadow:none;
    position:relative;
  }
  .cjcg-grid > :first-child .cjcg-img img{
    position:static;
    height:100%;
    object-fit:cover;
  }
  .cjcg-grid > :first-child .cjcg-body{
    min-height:0;
    position:relative;
    margin:0 14px;
    padding:20px 20px 22px;
    background:#F6F8F9;
    border:1px solid var(--pk-line);
    display:block;
  }
  .cjcg-grid > :first-child .cjcg-quote{
    font-size:21px;
    line-height:1.32;
    color:var(--cobalt);
    margin-bottom:13px;
  }
  .cjcg-grid > :first-child .cjcg-route{
    display:none;
  }
  .cjcg-meta{
    font-size:9.5px;
    line-height:1.45;
  }
  .cjcg-route,
  .cjcg-by{
    font-size:12px;
  }
  .cjcg-readmore{
    min-height:34px;
    display:inline-flex;
    align-items:center;
  }
  .cjcg-grid > :not(:first-child) .cjcg-card{
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    gap:16px;
    align-items:start;
    background:transparent;
    border:0;
    border-top:1px solid var(--pk-line);
    border-radius:0;
    box-shadow:none;
    overflow:visible;
    padding-top:18px;
  }
  .cjcg-grid > :not(:first-child) .cjcg-img{
    aspect-ratio:4/5;
    border-radius:2px;
    margin-bottom:0;
  }
  .cjcg-grid > :not(:first-child) .cjcg-body{
    padding:0;
  }
  .cjcg-grid > :not(:first-child) .cjcg-quote{
    font-size:17px;
    line-height:1.42;
    margin-bottom:7px;
  }
  .cjcg-eyebrow{
    font-size:10px;
    letter-spacing:.2em;
    margin-bottom:12px;
  }
}
@media(max-width:360px){
  .cjcg-grid > :not(:first-child) .cjcg-card{
    grid-template-columns:96px minmax(0,1fr);
    gap:14px;
  }
}

/* Mobile premium redo: proof reads like a travel journal, not a feed. */
@media(max-width:860px){
  .cjcg{
    padding:54px 0 56px;
  }
  .cjcg-wrap{
    padding:0 24px;
  }
  .cjcg-grid--2,
  .cjcg-grid--3,
  .cjcg-grid--4{
    grid-template-columns:1fr;
    gap:34px;
  }
  .cjcg-grid > :first-child .cjcg-card,
  .cjcg-grid > :not(:first-child) .cjcg-card{
    display:block;
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
    padding:0 0 28px;
    border-bottom:1px solid var(--pk-line);
  }
  .cjcg-grid > :first-child .cjcg-img,
  .cjcg-grid > :not(:first-child) .cjcg-img{
    aspect-ratio:16/10.8;
    width:100%;
    margin:0 0 16px;
    border-radius:2px;
    box-shadow:none;
  }
  .cjcg-grid > :first-child .cjcg-img img,
  .cjcg-grid > :not(:first-child) .cjcg-img img{
    position:static;
    height:100%;
    object-fit:cover;
    filter:saturate(.84) contrast(.98);
  }
  .cjcg-grid > :first-child .cjcg-body,
  .cjcg-grid > :not(:first-child) .cjcg-body{
    display:block;
    min-height:0;
    margin:0;
    padding:0;
    background:transparent;
    border:0;
  }
  .cjcg-grid > :first-child .cjcg-quote,
  .cjcg-grid > :not(:first-child) .cjcg-quote{
    display:block;
    color:var(--pk-ink);
    font-size:18px;
    line-height:1.48;
    margin:0 0 10px;
  }
  .cjcg-grid > :first-child .cjcg-route,
  .cjcg-grid > :not(:first-child) .cjcg-route{
    display:block;
    margin-bottom:8px;
  }
  .cjcg-meta{
    margin-bottom:10px;
  }
  .cjcg-by{
    margin-bottom:8px;
  }
}

/* Mobile scroll reduction: cases become a compact horizontal proof rail. */
@media(max-width:860px){
  .cjcg{
    padding:48px 0 42px;
  }
  .cjcg-grid--2,
  .cjcg-grid--3,
  .cjcg-grid--4{
    display:flex;
    gap:18px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    margin:0;
    padding:0 0 8px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .cjcg-grid::-webkit-scrollbar{display:none}
  .cjcg-grid > :first-child,
  .cjcg-grid > :not(:first-child){
    flex:0 0 min(76vw,292px);
    scroll-snap-align:start;
  }
  .cjcg-grid > :first-child .cjcg-card,
  .cjcg-grid > :not(:first-child) .cjcg-card{
    border-bottom:0;
    padding:0;
  }
  .cjcg-grid > :first-child .cjcg-img,
  .cjcg-grid > :not(:first-child) .cjcg-img{
    aspect-ratio:16/10.5;
    margin-bottom:13px;
  }
  .cjcg-grid > :first-child .cjcg-quote,
  .cjcg-grid > :not(:first-child) .cjcg-quote{
    font-size:16px;
    line-height:1.44;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .cjcg-route{
    display:none!important;
  }
  .cjcg-readmore{
    min-height:30px;
  }
}
