/*
Theme Name: CryptoCoinGrowth Lightweight
Theme URI: https://cryptocoingrowth.com/
Author: MediaWeb Pros
Description: A lightweight, performance-first editorial WordPress theme designed for CryptoCoinGrowth. No page builder, Bootstrap, React, or theme framework.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: cryptocoin-growth
*/

:root {
  --ccg-primary: #1264d8;
  --ccg-secondary: #0d2b52;
  --ccg-accent: #20a36a;
  --ccg-text: #18202a;
  --ccg-muted: #667085;
  --ccg-border: #e5e7eb;
  --ccg-bg: #ffffff;
  --ccg-soft: #f5f7fa;
  --ccg-max: 1180px;
  --ccg-radius: 8px;
  --ccg-gap: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ccg-text);
  background: var(--ccg-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--ccg-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }

.ccg-container {
  width: min(var(--ccg-max), calc(100% - 32px));
  margin-inline: auto;
}
.ccg-skip { position:absolute; left:-9999px; }
.ccg-skip:focus { left:12px; top:12px; z-index:9999; background:#fff; padding:10px 14px; }

.ccg-topbar {
  background: var(--ccg-secondary);
  color:#fff;
  font-size:13px;
}
.ccg-topbar .ccg-container { display:flex; justify-content:space-between; gap:20px; padding:7px 0; }
.ccg-header { border-bottom:1px solid var(--ccg-border); background:#fff; }
.ccg-header-inner { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.ccg-brand { display:flex; align-items:center; gap:12px; color:var(--ccg-secondary); font-weight:800; font-size:25px; letter-spacing:-.5px; }
.ccg-brand:hover { text-decoration:none; }
.ccg-brand-mark { width:38px; height:38px; border-radius:9px; background:var(--ccg-primary); display:grid; place-items:center; color:#fff; font-weight:800; }
.ccg-tagline { display:block; font-size:11px; font-weight:500; color:var(--ccg-muted); letter-spacing:0; }
.ccg-nav { display:flex; align-items:center; gap:20px; }
.ccg-nav ul { display:flex; flex-wrap:wrap; gap:18px; list-style:none; margin:0; padding:0; }
.ccg-nav a { color:var(--ccg-text); font-weight:600; font-size:14px; }
.ccg-nav a:hover { color:var(--ccg-primary); text-decoration:none; }
.ccg-menu-toggle { display:none; border:1px solid var(--ccg-border); background:#fff; padding:8px 11px; border-radius:6px; }

.ccg-main { padding:32px 0 56px; }
.ccg-section { margin-top:38px; }
.ccg-section:first-child { margin-top:0; }
.ccg-section-title { display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:2px solid var(--ccg-secondary); margin:0 0 20px; padding:0 0 9px; }
.ccg-section-title h2 { font-size:20px; line-height:1.2; margin:0; }
.ccg-kicker { display:inline-block; color:var(--ccg-primary); text-transform:uppercase; letter-spacing:.06em; font-size:11px; font-weight:800; margin-bottom:7px; }
.ccg-card { background:#fff; }
.ccg-card img { display:block; width:100%; }
.ccg-card-title { margin:9px 0 0; line-height:1.25; font-size:20px; }
.ccg-card-title a { color:var(--ccg-text); }
.ccg-card-title a:hover { color:var(--ccg-primary); text-decoration:none; }
.ccg-meta { color:var(--ccg-muted); font-size:12px; margin-top:8px; }
.ccg-excerpt { color:#4b5563; font-size:14px; margin:7px 0 0; }

.ccg-hero { display:grid; grid-template-columns:minmax(0, 2fr) minmax(280px, 1fr); gap:var(--ccg-gap); }
.ccg-hero-main { position:relative; overflow:hidden; border-radius:var(--ccg-radius); background:#eef2f7; }
.ccg-hero-main img { aspect-ratio:16/9; object-fit:cover; }
.ccg-hero-copy { padding:18px 4px 0; }
.ccg-hero-copy h1 { font-size:clamp(28px, 4vw, 46px); line-height:1.08; letter-spacing:-1px; margin:0; }
.ccg-hero-copy h1 a { color:var(--ccg-text); }
.ccg-hero-copy p { color:#526071; margin:12px 0 0; }
.ccg-side-stories { display:grid; gap:20px; }
.ccg-side-story { display:grid; grid-template-columns:110px 1fr; gap:13px; padding-bottom:18px; border-bottom:1px solid var(--ccg-border); }
.ccg-side-story:last-child { border-bottom:0; }
.ccg-side-story img { aspect-ratio:16/10; object-fit:cover; border-radius:6px; }
.ccg-side-story h3 { margin:0; font-size:16px; line-height:1.25; }

.ccg-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.ccg-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.ccg-card-grid img { aspect-ratio:16/9; object-fit:cover; border-radius:var(--ccg-radius); }
.ccg-layout { display:grid; grid-template-columns:minmax(0,1fr) 310px; gap:36px; }
.ccg-layout.no-sidebar { grid-template-columns:minmax(0,1fr); max-width:850px; }
.ccg-sidebar { min-width:0; }
.ccg-widget { margin-bottom:28px; }
.ccg-widget-title { font-size:16px; border-bottom:2px solid var(--ccg-secondary); padding-bottom:8px; margin:0 0 13px; }
.ccg-widget ul { list-style:none; margin:0; padding:0; }
.ccg-widget li { border-bottom:1px solid var(--ccg-border); padding:8px 0; }
.ccg-widget .widget { margin-bottom:28px; }

.ccg-ad-slot { min-height:280px; display:flex; align-items:center; justify-content:center; background:transparent; margin:20px 0; }
.ccg-ad-slot:empty::before { content:""; }

.ccg-post-header { max-width:900px; margin-bottom:24px; }
.ccg-post-title { font-size:clamp(32px,5vw,54px); line-height:1.08; letter-spacing:-1.2px; margin:0 0 12px; }
.ccg-featured { margin:22px 0 30px; }
.ccg-featured img { width:100%; display:block; border-radius:var(--ccg-radius); }
.ccg-post-content { font-size:18px; line-height:1.8; }
.ccg-post-content > * { max-width:850px; }
.ccg-post-content img { height:auto; }
.ccg-post-content h2 { font-size:30px; line-height:1.2; margin-top:38px; }
.ccg-post-content h3 { font-size:24px; line-height:1.25; margin-top:32px; }
.ccg-post-content blockquote { margin:25px 0; padding:16px 20px; border-left:4px solid var(--ccg-primary); background:var(--ccg-soft); }
.ccg-post-content table { width:100%; border-collapse:collapse; }
.ccg-post-content th, .ccg-post-content td { border:1px solid var(--ccg-border); padding:9px; text-align:left; }

.ccg-archive-head { margin-bottom:25px; }
.ccg-archive-head h1 { font-size:38px; margin:0; }
.ccg-archive-list { display:grid; gap:24px; }
.ccg-list-card { display:grid; grid-template-columns:280px 1fr; gap:22px; padding-bottom:24px; border-bottom:1px solid var(--ccg-border); }
.ccg-list-card img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--ccg-radius); }
.ccg-list-card h2 { margin:0; font-size:25px; line-height:1.2; }
.ccg-pagination { margin-top:30px; }
.ccg-pagination .nav-links { display:flex; gap:8px; flex-wrap:wrap; }
.ccg-pagination a, .ccg-pagination span { padding:7px 11px; border:1px solid var(--ccg-border); border-radius:6px; }

.ccg-tools { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ccg-tool { padding:22px; border:1px solid var(--ccg-border); border-radius:var(--ccg-radius); background:#fff; }
.ccg-tool h3 { margin:0 0 5px; font-size:18px; }
.ccg-market-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:30px; }
.ccg-market-item { border:1px solid var(--ccg-border); padding:12px 14px; border-radius:7px; background:var(--ccg-soft); }
.ccg-market-item strong { display:block; font-size:13px; }
.ccg-market-item span { font-size:18px; font-weight:700; }

.ccg-footer { border-top:1px solid var(--ccg-border); background:#f8fafc; padding:36px 0; }
.ccg-footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:30px; }
.ccg-footer h3 { margin-top:0; font-size:16px; }
.ccg-footer p, .ccg-footer li { color:#5f6b7a; font-size:14px; }
.ccg-footer ul { list-style:none; padding:0; margin:0; }
.ccg-footer li { margin-bottom:7px; }
.ccg-copyright { border-top:1px solid var(--ccg-border); margin-top:25px; padding-top:18px; color:var(--ccg-muted); font-size:12px; }

@media (max-width: 900px) {
  .ccg-hero { grid-template-columns:1fr; }
  .ccg-layout { grid-template-columns:1fr; }
  .ccg-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ccg-market-strip { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 700px) {
  .ccg-container { width:min(var(--ccg-max), calc(100% - 22px)); }
  .ccg-header-inner { min-height:64px; }
  .ccg-nav { display:none; width:100%; }
  .ccg-nav.is-open { display:block; }
  .ccg-header-inner { flex-wrap:wrap; }
  .ccg-menu-toggle { display:block; }
  .ccg-nav ul { flex-direction:column; padding:10px 0 15px; gap:10px; }
  .ccg-topbar .ccg-container { display:none; }
  .ccg-main { padding-top:22px; }
  .ccg-grid, .ccg-grid-2, .ccg-tools { grid-template-columns:1fr; }
  .ccg-list-card { grid-template-columns:120px 1fr; gap:14px; }
  .ccg-list-card h2 { font-size:18px; }
  .ccg-list-card .ccg-excerpt { display:none; }
  .ccg-hero-copy h1 { font-size:31px; }
  .ccg-side-story { grid-template-columns:95px 1fr; }
  .ccg-post-title { font-size:34px; }
  .ccg-post-content { font-size:17px; }
  .ccg-footer-grid { grid-template-columns:1fr; }
}
