
/* =====================================================================
   TCH FOOTER v9  —  紧凑四层结构：CTA / 导航 / 信任(联系+社交) / 法务
   ===================================================================== */
.ct-footer{ display:flex !important; flex-direction:column !important; }
.ct-footer > [data-row]{ width:100% !important; display:block !important; }

/* ---------- 层 1：CTA ---------- */
.tch-cta-shell{
  background:#F7F9FB;
  border-top:1px solid #E6EBF1;
  border-bottom:1px solid #E6EBF1;
  padding:22px 20px 20px;
  box-sizing:border-box;
  order:1 !important;
}
.tch-cta-card{
  max-width:1140px; margin:0 auto;
  background:linear-gradient(118deg,#0F2137 0%,#1E3A5F 58%,#2A4D7A 100%);
  border-radius:16px;
  padding:20px 26px;
  color:#fff; position:relative; overflow:hidden; box-sizing:border-box;
  box-shadow:0 14px 32px -12px rgba(15,33,55,.42);
}
.tch-cta-card::before{ content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 94% -34%, rgba(184,29,19,.34), transparent 56%); }
.tch-cta-grid{ display:grid; grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center; gap:18px; position:relative; }
.tch-cta-badge{ width:54px; height:54px; border-radius:15px;
  background:linear-gradient(140deg,#FFD166,#FFB347);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 18px rgba(255,178,71,.4); }
.tch-cta-pill{ display:inline-block; background:#FFD166; color:#0F2137;
  font-size:9.5px; font-weight:800; letter-spacing:1.3px;
  padding:3px 9px; border-radius:999px; margin:0 0 5px; }
.tch-cta-title{ margin:0 0 3px !important; font-size:20px !important; font-weight:800 !important;
  letter-spacing:-.35px !important; line-height:1.2 !important; color:#fff !important; }
.tch-cta-desc{ margin:0 !important; font-size:13px !important; line-height:1.5 !important;
  color:rgba(255,255,255,.82) !important; }
.tch-cta-actions{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.tch-cta-btn{ display:inline-block !important; background:#B81D13 !important; color:#fff !important;
  padding:11px 22px !important; border-radius:999px !important; font-weight:700 !important;
  font-size:14px !important; text-decoration:none !important; white-space:nowrap !important;
  transition:.18s !important; box-shadow:0 6px 16px rgba(184,29,19,.4) !important; }
.tch-cta-btn:hover{ background:#96150E !important; transform:translateY(-2px) !important; }
.tch-cta-note{ font-size:11px !important; color:rgba(255,255,255,.6) !important;
  margin:0 !important; white-space:nowrap; }

/* ---------- 层 2：三列导航 ---------- */
.ct-footer > [data-row="middle"]{
  order:2 !important;
  padding:26px 20px 20px !important;
  box-sizing:border-box !important;
}
.ct-footer > [data-row="middle"] > .ct-container{
  max-width:1140px !important; margin:0 auto !important; padding:0 !important;
  grid-template-columns:1.45fr 0.92fr 1.03fr !important;
  gap:26px !important;
}
.ct-footer .ct-widget{ margin:0 !important; }

/* 统一列标题 */
.ct-footer .widget-title,
.ct-footer .wp-block-heading,
.tch-col-title{
  font-size:11px !important; font-weight:800 !important; letter-spacing:1.3px !important;
  text-transform:uppercase !important; color:#0F2137 !important;
  margin:0 0 13px !important; padding:0 0 8px !important;
  position:relative !important; border:none !important; line-height:1.2 !important;
}
.ct-footer .widget-title::after,
.ct-footer .wp-block-heading::after,
.tch-col-title::after{
  content:""; position:absolute; left:0; bottom:0;
  width:24px; height:2px; border-radius:2px; background:#B81D13;
}

/* 左列：Latest Guides */
.tch-latest-widget{ display:flex; flex-direction:column; gap:11px; }
.tch-latest-list{ display:flex; flex-direction:column; }
.tch-latest-skeleton{ color:#A8B4C2; font-size:12.5px; padding:6px 0; }
.tch-latest-item{ display:block; padding:6px 0; border-bottom:1px solid #EDF1F5;
  text-decoration:none !important; }
.tch-latest-item:last-child{ border-bottom:none; }
.tch-latest-meta{ display:flex; align-items:center; gap:5px; margin-bottom:2px; }
.tch-latest-cat{ font-size:9.5px; font-weight:800; letter-spacing:.7px; text-transform:uppercase; }
.tch-latest-cat.cat-13{ color:#B81D13; }
.tch-latest-cat.cat-14{ color:#047857; }
.tch-latest-cat.cat-15{ color:#1E40AF; }
.tch-latest-cat.cat-18{ color:#B45309; }
.tch-latest-cat[class*="cat-"]:not(.cat-13):not(.cat-14):not(.cat-15):not(.cat-18){ color:#5A6A7E; }
.tch-latest-dot{ color:#CBD5E1; font-size:10px; }
.tch-latest-date{ font-size:10.5px; color:#94A3B8; letter-spacing:.1px; }
.tch-latest-title{ display:block; font-size:13.5px; font-weight:600; color:#1A2B3C !important;
  line-height:1.42; text-decoration:none !important; transition:.15s; }
.tch-latest-item:hover .tch-latest-title{ color:#B81D13 !important; }
.tch-latest-more{ align-self:flex-start; font-size:12.5px; font-weight:700;
  color:#B81D13 !important; text-decoration:none !important; }
.tch-latest-more:hover{ color:#96150E !important; }

/* 中列：Explore 双列紧凑 */
.ct-footer .textwidget p{ columns:2 !important; column-gap:16px !important;
  line-height:1.95 !important; margin:0 !important; }
.tch-footer-link{ font-size:13px !important; color:#5A6A7E !important;
  text-decoration:none !important; transition:.15s !important;
  display:inline-block !important; }
.tch-footer-link:hover{ color:#B81D13 !important; transform:translateX(2px); }

/* 右列：联系方式 */
.ct-footer [data-column="widget-area-3"] .wp-block-paragraph{
  font-size:12.5px !important; color:#6B7A8D !important;
  margin:0 0 12px !important; line-height:1.55 !important;
}
.ct-footer .ct-contact-info-block{ display:flex !important;
  flex-direction:column !important; gap:0 !important; }
.ct-footer .ct-contact-info-block ul{ display:flex !important; flex-direction:column !important;
  gap:9px !important; margin:0 !important; padding:0 !important; list-style:none !important; }
.ct-footer .ct-contact-info-block li{ display:flex !important; align-items:flex-start !important;
  gap:9px !important; margin:0 !important; padding:0 !important; }
.ct-footer .ct-contact-info-block .ct-icon-container{
  width:24px !important; height:24px !important; flex:0 0 24px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
}
.ct-footer .contact-info{ display:flex !important; flex-direction:column !important; gap:0 !important; }
.ct-footer .contact-title{ font-size:9.5px !important; font-weight:700 !important;
  letter-spacing:.6px !important; text-transform:uppercase !important; color:#A8B4C2 !important;
  margin-bottom:1px !important; }
.ct-footer .contact-text{ font-size:12.5px !important; color:#1A2B3C !important; line-height:1.45 !important; }
.ct-footer .contact-text a{ color:#1A2B3C !important; text-decoration:none !important; }
.ct-footer .contact-text a:hover{ color:#B81D13 !important; }

/* 社交图标（JS 搬到右列工作时间下方） */
.ct-footer .ct-footer-socials{ margin:14px 0 0 !important; }
.ct-footer .ct-footer-socials .ct-social-box{
  display:flex !important; flex-wrap:wrap !important; gap:8px !important;
}
.ct-footer .ct-footer-socials a{
  width:40px !important; height:40px !important; border-radius:11px !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important;
  background:#EDF1F6 !important; color:#55677C !important;
  transition:.18s !important; text-decoration:none !important;
}
.ct-footer .ct-footer-socials a:hover{
  background:#0F2137 !important; color:#fff !important; transform:translateY(-2px) !important;
}
.ct-footer .ct-footer-socials a .ct-icon-container{
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:100% !important; height:100% !important;
}
.ct-footer .ct-footer-socials a svg{ width:20px !important; height:20px !important; display:block !important; }
.ct-footer .ct-footer-socials a svg path,
.ct-footer .ct-footer-socials a svg circle{ fill:currentColor !important; }

/* ---------- 层 4：法务条（左下版权 + 右下条款） ---------- */
.tch-legal-shell{
  order:3 !important;
  border-top:1px solid #E9EDF2;
  background:#fff;
  box-sizing:border-box;
}
.tch-legal-inner{
  max-width:1140px; margin:0 auto; padding:13px 20px; box-sizing:border-box;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
}
.tch-legal-copy{ font-size:12px; color:#8593A4; margin:0; }
.tch-legal-copy p{ margin:0 !important; font-size:12px !important;
  color:#8593A4 !important; text-align:left !important; }
.tch-legal-nav{ display:flex; align-items:center; gap:12px; }
.tch-legal-nav a{ font-size:12px; color:#8593A4 !important; text-decoration:none !important; }
.tch-legal-nav a:hover{ color:#B81D13 !important; }
.tch-legal-sep{ color:#D5DCE4; font-size:11px; }

/* 备用顺序 */
.ct-footer > [data-row="top"]{ order:4 !important; padding:0 !important; }
.ct-footer > [data-row="bottom"]{ order:5 !important; }
.ct-footer [data-row="top"] [data-column="menu"]{ display:none !important; }

/* =====================================================================
   COOKIE CONSENT（Blocksy Pro 自带）
   ===================================================================== */
.cookie-notification{
  background:#ffffff !important;
  border:1px solid #E2E8F0 !important;
  border-radius:16px !important;
  box-shadow:0 22px 54px -14px rgba(15,33,55,.34), 0 3px 10px rgba(0,0,0,.04) !important;
  padding:20px 24px 18px !important;
  max-width:560px !important;
  width:calc(100% - 32px) !important;
  box-sizing:border-box !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif !important;
}
.cookie-notification .ct-container{
  display:block !important; padding:0 !important;
  max-width:100% !important; width:100% !important;
}
.cookie-notification .ct-cookies-content{
  position:relative !important;
  padding-left:36px !important;
  color:#1A2B3C !important;
}
.cookie-notification .ct-cookies-content::before{
  content:""; position:absolute; left:0; top:0;
  width:26px; height:26px; background-repeat:no-repeat; background-size:contain;
  background-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3a9 9 0 1 0 9 9 4 4 0 0 1-5-5 3 3 0 0 1-4-4z' fill='%23FFD166' stroke='%230F2137' stroke-width='1.4' stroke-linejoin='round'/%3E%3Ccircle cx='9.5' cy='10' r='1.15' fill='%230F2137'/%3E%3Ccircle cx='14' cy='12.5' r='1.15' fill='%230F2137'/%3E%3Ccircle cx='10.5' cy='16' r='1.15' fill='%230F2137'/%3E%3C/svg%3E");
}
.tch-cookie-title{ font-size:14.5px; font-weight:800; color:#0F2137;
  margin:0 0 5px; letter-spacing:-.15px; line-height:1.3; }
.tch-cookie-text{ margin:0 !important; font-size:12.5px !important;
  line-height:1.62 !important; color:#5A6A7E !important; }
.tch-cookie-link{ display:inline-block; margin-top:8px;
  font-size:12px !important; font-weight:700 !important;
  color:#B81D13 !important; text-decoration:none !important; }
.tch-cookie-link:hover{ color:#96150E !important; text-decoration:underline !important; }
.cookie-notification .ct-button-group{
  display:flex !important; flex-wrap:wrap !important; gap:9px !important;
  margin:15px 0 0 36px !important; padding:0 !important; border:none !important;
}
.cookie-notification .ct-cookies-accept-button,
.cookie-notification .ct-cookies-decline-button{
  border-radius:999px !important; font-family:inherit !important;
  font-weight:600 !important; font-size:13px !important;
  padding:9px 20px !important; line-height:1 !important;
  cursor:pointer !important; transition:.18s !important;
}
.cookie-notification .ct-cookies-accept-button{
  background:#0F2137 !important; color:#fff !important;
  border:1px solid #0F2137 !important;
  box-shadow:0 5px 14px rgba(15,33,55,.24) !important;
}
.cookie-notification .ct-cookies-accept-button:hover{
  background:#1E3A5F !important; border-color:#1E3A5F !important; transform:translateY(-1px) !important;
}
.cookie-notification .ct-cookies-decline-button{
  background:transparent !important; color:#5A6A7E !important; border:1px solid #CBD5E1 !important;
}
.cookie-notification .ct-cookies-decline-button:hover{
  color:#1A2B3C !important; border-color:#94A3B8 !important;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:900px){
  .ct-footer > [data-row="middle"] > .ct-container{ grid-template-columns:1fr 1fr !important; }
  .ct-footer [data-column="widget-area-3"]{ grid-column:1 / -1 !important; }
}
@media (max-width:780px){
  .tch-cta-shell{ padding:18px 14px 16px !important; }
  .tch-cta-card{ padding:20px 18px !important; border-radius:14px !important; }
  .tch-cta-grid{ grid-template-columns:1fr !important; gap:13px !important; text-align:center !important; }
  .tch-cta-badge{ display:none !important; }
  .tch-cta-actions{ align-items:stretch !important; width:100% !important; }
  .tch-cta-btn{ width:100% !important; text-align:center !important; padding:12px 18px !important; }
  .tch-cta-note{ text-align:center !important; }
  .ct-footer > [data-row="middle"]{ padding:22px 16px 16px !important; }
  .ct-footer > [data-row="middle"] > .ct-container{ grid-template-columns:1fr !important; gap:24px !important; }
  .ct-footer .textwidget p{ columns:2 !important; }
  .tch-legal-inner{ flex-direction:column !important; align-items:flex-start !important; gap:7px !important; }
  .ct-footer .ct-footer-socials a{ width:44px !important; height:44px !important; }
  .cookie-notification{ padding:17px 17px 15px !important; }
  .cookie-notification .ct-cookies-content{ padding-left:32px !important; }
  .cookie-notification .ct-button-group{ margin-left:32px !important; }
  .cookie-notification .ct-cookies-accept-button,
  .cookie-notification .ct-cookies-decline-button{ flex:1 1 auto !important; text-align:center !important; }
}
