/**
 * Guide Hub topic pages — shared design system
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body.page-template-page-guide-hub-topic {
  --gh-primary: #25B7A7;
  --gh-bright: #17C3B2;
  --gh-deep: #1A9E8F;
  --gh-navy: #083530;
  --gh-ink: #052824;
  --gh-text: #3D5250;
  --gh-muted: #616365;
  --gh-ice: #E8F8F6;
  --gh-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --gh-shadow: 0 10px 28px rgba(26, 158, 143, 0.1);
  --gh-radius: 16px;
}

body.page-template-page-guide-hub-topic .page-wrapper,
body.page-template-page-guide-hub-topic .ccd-gh {
  font-family: var(--gh-font);
  color: var(--gh-text);
  background: linear-gradient(180deg, var(--gh-ice) 0%, #fff 12%, #fff 90%, var(--gh-ice) 100%);
}

body.page-template-page-guide-hub-topic .sidebar-page-container,
body.page-template-page-guide-hub-topic .blog-single-content,
body.page-template-page-guide-hub-topic .mr_page,
body.page-template-page-guide-hub-topic .page-title,
body.page-template-page-guide-hub-topic .elementor {
  display: none !important;
}

.ccd-gh .auto-container { max-width: 1140px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.ccd-gh h1,.ccd-gh h2,.ccd-gh h3 { color: var(--gh-navy); margin: 0; letter-spacing: -0.015em; }
.ccd-gh-section-head { max-width: 640px; margin: 0 auto 24px; text-align: center; }
.ccd-gh-section-head h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); font-weight: 700; margin-bottom: 6px; }
.ccd-gh-section-head p { margin: 0; font-size: 15px; color: var(--gh-muted); line-height: 1.55; }

.ccd-gh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; text-decoration: none !important;
}
.ccd-gh-btn--primary { background: linear-gradient(145deg, var(--gh-bright), var(--gh-deep)); color: #fff !important; box-shadow: 0 8px 18px rgba(26,158,143,.26); }
.ccd-gh-btn--ghost { background: #fff; color: var(--gh-navy) !important; border: 1.5px solid rgba(37,183,167,.4); }
.ccd-gh-eyebrow {
  display: inline-block; margin: 0 0 10px; padding: 5px 10px; border-radius: 999px;
  background: rgba(37,183,167,.12); border: 1px solid rgba(37,183,167,.28);
  color: var(--gh-deep); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.ccd-gh-hero { position: relative; padding: 40px 0 48px; overflow: hidden; }
.ccd-gh-hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 88% 28%, rgba(37,183,167,.14), transparent 55%);
}
.ccd-gh-hero__grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 28px; align-items: center;
}
.ccd-gh-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.15; color: var(--gh-ink); margin-bottom: 12px; }
.ccd-gh-hero__lead { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--gh-muted); max-width: 36em; }
.ccd-gh-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.ccd-gh-visual {
  position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto;
  border-radius: 24px; background: linear-gradient(180deg, #fff, var(--gh-ice));
  border: 1px solid rgba(37,183,167,.2); box-shadow: var(--gh-shadow); overflow: hidden;
}
.ccd-gh-visual__orb {
  position: absolute; left: 50%; top: 46%; width: 110px; height: 110px; margin: -55px 0 0 -55px;
  border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3dd5c5, #25B7A7 45%, #0d8f82);
  box-shadow: 0 12px 28px rgba(26,158,143,.3);
}
.ccd-gh-visual__card {
  position: absolute; width: 88px; height: 56px; border-radius: 12px; background: #fff;
  border: 1px solid rgba(37,183,167,.25); box-shadow: 0 8px 18px rgba(8,53,48,.08);
}
.ccd-gh-visual__card--a { left: 12%; top: 18%; }
.ccd-gh-visual__card--b { right: 10%; top: 34%; }
.ccd-gh-visual__card--c { left: 28%; bottom: 14%; width: 110px; }

.ccd-gh-helps, .ccd-gh-flow, .ccd-gh-features, .ccd-gh-resources, .ccd-gh-related { padding: 56px 0; }
.ccd-gh-helps__grid, .ccd-gh-resources__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.ccd-gh-card, .ccd-gh-res {
  padding: 16px 14px; border-radius: var(--gh-radius); background: #fff;
  border: 1px solid rgba(37,183,167,.18); box-shadow: var(--gh-shadow);
}
.ccd-gh-card__num, .ccd-gh-res__type { display: inline-block; margin-bottom: 8px; font-size: 11px; font-weight: 700; color: var(--gh-deep); letter-spacing: .04em; text-transform: uppercase; }
.ccd-gh-card h3, .ccd-gh-res h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.3; }
.ccd-gh-card p, .ccd-gh-res p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--gh-muted); }
.ccd-gh-res a { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--gh-deep); text-decoration: none; }

.ccd-gh-flow__track {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
}
.ccd-gh-flow__track li {
  position: relative; padding: 16px 12px; text-align: center; border-radius: 14px; background: #fff;
  border: 1px solid rgba(37,183,167,.22); box-shadow: var(--gh-shadow);
}
.ccd-gh-flow__track li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -8px; width: 8px; height: 2px;
  background: rgba(37,183,167,.55); transform: translateY(-50%);
}
.ccd-gh-flow__track strong { display: block; font-size: 13px; color: var(--gh-navy); margin-bottom: 4px; }
.ccd-gh-flow__track span { display: block; font-size: 12.5px; color: var(--gh-muted); }

.ccd-gh-features__grid, .ccd-gh-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.ccd-gh-feature, .ccd-gh-related__card {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px;
  border-radius: 14px; background: #fff; border: 1px solid rgba(8,53,48,.1); box-shadow: var(--gh-shadow);
  color: var(--gh-navy) !important; font-weight: 600; font-size: 14px; text-decoration: none !important; text-align: center;
}
.ccd-gh-feature:hover, .ccd-gh-related__card:hover { border-color: rgba(37,183,167,.45); transform: translateY(-2px); }

.ccd-gh-note { padding: 0 0 24px; }
.ccd-gh-note p { margin: 0; font-size: 12.5px; color: var(--gh-muted); text-align: center; max-width: 720px; margin-inline: auto; }

.ccd-gh-cta { padding: 24px 0 64px; }
.ccd-gh-cta__panel {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(135deg, #0d8f82, #25B7A7 55%, #17C3B2); color: #fff; box-shadow: 0 16px 36px rgba(26,158,143,.28);
}
.ccd-gh-cta__panel h2 { color: #fff !important; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 6px; }
.ccd-gh-cta__panel p { margin: 0; font-size: 14.5px; opacity: .94; }
.ccd-gh-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ccd-gh-cta .ccd-gh-btn--primary { background: #fff; color: var(--gh-navy) !important; box-shadow: none; }
.ccd-gh-cta .ccd-gh-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }

@media (max-width: 991px) {
  .ccd-gh-hero__grid { grid-template-columns: 1fr; }
  .ccd-gh-helps__grid, .ccd-gh-resources__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ccd-gh-features__grid, .ccd-gh-related__grid, .ccd-gh-flow__track { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ccd-gh-flow__track li:nth-child(2n)::after { display: none; }
  .ccd-gh-cta__panel { flex-direction: column; align-items: stretch; }
}
@media (max-width: 767px) {
  .ccd-gh-helps__grid, .ccd-gh-resources__grid, .ccd-gh-features__grid, .ccd-gh-related__grid, .ccd-gh-flow__track { grid-template-columns: 1fr; }
  .ccd-gh-flow__track li::after { display: none !important; }
}
