/*
Theme Name: CutClay Child
Template: generatepress
Version: 1.6.5
*/

/* ── Design Tokens ────────────────────────────────────── */
:root {
  --cc-font-display: 'Young Serif', Georgia, serif;
  --cc-font-body: 'Outfit', system-ui, sans-serif;
  --cc-bg: #f4f7f5;
  --cc-surface: #ffffff;
  --cc-surface-soft: #f0f5f2;
  --cc-line: #dce6e0;
  --cc-text: #162019;
  --cc-muted: #5a6a61;
  --cc-primary: #2f9d69;
  --cc-primary-strong: #23784f;
  --cc-primary-deep: #1a5c3c;
  --cc-dark: #0d1f15;
  --cc-dark-mid: #162019;
  --cc-gold: #e2b84a;
  --cc-radius: 16px;
  --cc-max: 1200px;
}

/* ── Global Base ──────────────────────────────────────── */
body {
  background: var(--cc-bg);
  color: var(--cc-text);
  font-family: var(--cc-font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cc-font-display);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--cc-text);
}
a { color: var(--cc-primary-strong); transition: color .2s; }
a:hover { color: var(--cc-primary-deep); }

/* ── GP Layout: Full-width everywhere ─────────────────── */
.grid-container.site { max-width: 100% !important; }
.site-content { padding: 0 !important; max-width: 100% !important; }
.site-content > * { width: 100% !important; min-width: 0; }
.content-area { width: 100% !important; float: none !important; padding: 0 !important; }
#right-sidebar, .sidebar, .widget-area { display: none !important; }
.separate-containers .site-main { margin: 0; padding: 0; }
.inside-article {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
}
.entry-header { display: none; }
.entry-content { overflow: visible !important; }

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  background: var(--cc-surface) !important;
  border-bottom: 1px solid var(--cc-line);
  box-shadow: none;
}
.site-header .inside-header {
  max-width: var(--cc-max);
  margin: 0 auto;
  padding: 16px 28px !important;
}
.main-title a, .site-title a {
  font-family: var(--cc-font-display);
  font-size: 1.4rem;
  color: var(--cc-text) !important;
  letter-spacing: -.01em;
}
.main-navigation, .main-nav { background: transparent; }
.main-navigation .main-nav ul li a {
  font-family: var(--cc-font-body);
  font-weight: 500;
  font-size: .9rem;
  color: var(--cc-muted);
  transition: color .2s;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
  color: var(--cc-primary-strong);
}

/* ── Footer ───────────────────────────────────────────── */
.site-info { display: none !important; }

.cc-footer { font-family: var(--cc-font-body); }

/* Newsletter CTA strip */
.cc-footer-cta {
  background: var(--cc-dark-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 40px 0;
}
.cc-footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cc-footer-cta h3 {
  font-family: var(--cc-font-display);
  font-size: 1.3rem; color: #fff; margin-bottom: 6px; font-weight: 400;
}
.cc-footer-cta p { font-size: .9rem; color: rgba(255,255,255,.55); margin: 0; }
.cc-footer-form {
  display: flex; gap: 10px; flex-shrink: 0;
}
.cc-footer-form input[type="email"] {
  padding: 12px 18px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff; font-size: .9rem; width: 260px;
  font-family: var(--cc-font-body);
}
.cc-footer-form input::placeholder { color: rgba(255,255,255,.3); }
.cc-footer-form input:focus {
  outline: none; border-color: var(--cc-primary);
  box-shadow: 0 0 0 3px rgba(47,157,105,.15);
}
.cc-footer-form button {
  padding: 12px 24px; border-radius: 100px;
  background: var(--cc-primary); color: #fff;
  font-weight: 600; font-size: .88rem; border: none;
  cursor: pointer; transition: background .2s;
  font-family: var(--cc-font-body);
}
.cc-footer-form button:hover { background: var(--cc-primary-strong); }

/* Main footer grid */
.cc-footer-main {
  background: var(--cc-dark);
  padding: 56px 0 40px;
}
.cc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.cc-footer-logo {
  font-family: var(--cc-font-display);
  font-size: 1.4rem; color: #fff; text-decoration: none;
  display: block; margin-bottom: 14px;
}
.cc-footer-brand p {
  font-size: .88rem; color: rgba(255,255,255,.5);
  line-height: 1.6; margin-bottom: 20px;
}
.cc-footer-social {
  display: flex; gap: 14px;
}
.cc-footer-social a {
  color: rgba(255,255,255,.35);
  transition: color .2s;
}
.cc-footer-social a:hover { color: var(--cc-primary); }
.cc-footer-col h4 {
  font-family: var(--cc-font-body);
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px;
}
.cc-footer-col ul { list-style: none; padding: 0; margin: 0; }
.cc-footer-col li { margin-bottom: 10px; }
.cc-footer-col a {
  font-size: .9rem; color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .2s;
}
.cc-footer-col a:hover { color: #fff; }

/* Bottom bar */
.cc-footer-bottom {
  background: var(--cc-dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* Footer responsive */
@media (max-width: 768px) {
  .cc-footer-cta-inner { flex-direction: column; text-align: center; }
  .cc-footer-form { width: 100%; }
  .cc-footer-form input[type="email"] { flex: 1; width: auto; }
  .cc-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cc-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .cc-footer-grid { grid-template-columns: 1fr; }
}

/* ── Global Typography ────────────────────────────────── */
.entry-content p, .entry-content li { color: var(--cc-muted); line-height: 1.7; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--cc-text); }

/* ── Buttons (global) ─────────────────────────────────── */
.wp-block-button .wp-block-button__link,
button, input[type="submit"], .edd-submit,
.edd-add-to-cart, .edd_purchase_submit_wrapper .edd-submit {
  font-family: var(--cc-font-body);
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  background: var(--cc-primary);
  color: #fff;
}
.wp-block-button .wp-block-button__link:hover,
button:hover, input[type="submit"]:hover,
.edd-submit:hover, .edd-add-to-cart:hover {
  background: var(--cc-primary-strong);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(47,157,105,.3);
}
.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--cc-line);
  color: var(--cc-text);
}
.is-style-outline .wp-block-button__link:hover {
  border-color: var(--cc-primary);
  color: var(--cc-primary);
  background: transparent;
}

/* ── Forms (WPForms + generic) ────────────────────────── */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
textarea, select,
.wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  font-family: var(--cc-font-body);
  font-size: .95rem;
  padding: 12px 16px;
  border: 1px solid var(--cc-line);
  border-radius: 10px;
  background: var(--cc-surface);
  color: var(--cc-text);
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus,
.wpforms-field input:focus, .wpforms-field textarea:focus {
  outline: none;
  border-color: var(--cc-primary);
  box-shadow: 0 0 0 3px rgba(47,157,105,.1);
}
.wpforms-field label, label {
  font-family: var(--cc-font-body);
  font-size: .88rem;
  font-weight: 600;
  color: var(--cc-text);
  margin-bottom: 6px;
  display: block;
}
.wpforms-submit-container button {
  background: var(--cc-primary);
  padding: 14px 36px;
}

/* ── EDD: Product Cards ───────────────────────────────── */
.edd_downloads_list .edd_download {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 28px;
  transition: transform .3s, box-shadow .3s;
}
.edd_downloads_list .edd_download:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,31,21,.08);
}
.edd_download_title a {
  font-family: var(--cc-font-display);
  font-size: 1.2rem;
  color: var(--cc-text);
}
.edd_download_title a:hover { color: var(--cc-primary); }
.edd_price { font-family: var(--cc-font-display); font-size: 1.4rem; color: var(--cc-text); }

/* ── EDD: Checkout ────────────────────────────────────── */
#edd_checkout_form_wrap {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 28px;
}
#edd_checkout_form_wrap legend,
#edd_checkout_form_wrap h3 {
  font-family: var(--cc-font-display);
  font-size: 1.3rem;
  font-weight: 400;
}
#edd_checkout_cart {
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
}
#edd_checkout_cart th {
  background: var(--cc-bg);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
#edd_checkout_cart td, #edd_checkout_cart th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--cc-line);
}
#edd_purchase_submit input[type="submit"] {
  background: var(--cc-primary);
  font-size: 1.05rem;
  padding: 16px 40px;
  width: 100%;
  margin-top: 16px;
}

/* ── EDD: Account / Purchase History ──────────────────── */
#edd_user_history, .edd-table {
  width: 100%;
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
  border-collapse: collapse;
}
#edd_user_history th, .edd-table th {
  background: var(--cc-bg);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 12px 16px;
}
#edd_user_history td, .edd-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cc-line);
}
#edd_login_form, .edd_form {
  max-width: 440px;
  margin: 40px auto;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 40px;
}

/* ── Blog: Post Cards ─────────────────────────────────── */
.cc-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.cc-blog-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,31,21,.08);
}
.cc-blog-thumb img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
}
.cc-blog-card-body { padding: 24px; }
.cc-blog-cat { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--cc-primary); margin-bottom: 8px; }
.cc-blog-cat a { color: var(--cc-primary); text-decoration: none; }
.cc-blog-card h2 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.cc-blog-card h2 a { color: var(--cc-text); text-decoration: none; }
.cc-blog-card h2 a:hover { color: var(--cc-primary); }
.cc-blog-card p { font-size: .9rem; color: var(--cc-muted); line-height: 1.6; }
.cc-blog-meta { font-size: .8rem; color: var(--cc-muted); margin-top: 14px; }
.cc-pagination { margin-top: 48px; text-align: center; }
.cc-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.cc-pagination .page-numbers {
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--cc-line); font-size: .88rem;
  color: var(--cc-muted); background: var(--cc-surface);
}
.cc-pagination .page-numbers.current,
.cc-pagination .page-numbers:hover {
  background: var(--cc-primary); color: #fff; border-color: var(--cc-primary);
}

/* ── Blog: Single Post ────────────────────────────────── */
.cc-post-header {
  background: linear-gradient(160deg, #0a1a10, var(--cc-dark));
  padding: 80px 0 60px;
  text-align: center;
}
.cc-post-header .entry-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  max-width: 740px;
  margin: 0 auto 16px;
  display: block;
}
.cc-post-meta-top { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--cc-primary); margin-bottom: 14px; }
.cc-post-meta-top a { color: var(--cc-primary); text-decoration: none; }
.cc-post-meta { font-size: .88rem; color: rgba(255,255,255,.45); display: flex; justify-content: center; gap: 10px; }
.cc-post-content { max-width: 740px; padding: 48px 28px 80px; }
.cc-post-content p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.4em; }
.cc-post-content h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.cc-post-content h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.cc-post-content img { border-radius: var(--cc-radius); }
.cc-post-content blockquote {
  border-left: 3px solid var(--cc-primary);
  padding-left: 20px; margin: 1.5em 0;
  font-style: italic; color: var(--cc-muted);
}
.cc-post-content ul, .cc-post-content ol { margin: 1em 0; padding-left: 1.5em; }
.cc-post-content li { margin-bottom: .5em; }

/* ── Blog Page: Featured Post ─────────────────────────── */
.cc-blog-featured { padding: 0 0 24px; margin-top: -36px; position: relative; z-index: 2; }
.cc-featured-card {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .3s;
}
.cc-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(13,31,21,.1);
  color: inherit;
}
.cc-featured-thumb {
  position: relative; min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cc-featured-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--cc-gold); color: var(--cc-dark);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
}
.cc-featured-body {
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: center;
}
.cc-featured-body h2 {
  font-size: 1.6rem; margin-bottom: 12px; line-height: 1.25; color: var(--cc-text);
}
.cc-featured-body p { font-size: .95rem; color: var(--cc-muted); line-height: 1.65; margin-bottom: 16px; }
.cc-read-more {
  font-size: .88rem; font-weight: 600; color: var(--cc-primary);
  margin-top: auto;
}
.cc-featured-card:hover .cc-read-more { text-decoration: underline; }

/* ── Blog Page: Listing Section ───────────────────────── */
.cc-blog-listing { padding: 48px 0 80px; background: var(--cc-bg); }
.cc-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cc-blog-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,31,21,.08);
}
.cc-card-thumb {
  display: block; position: relative;
  height: 180px; overflow: hidden;
}
.cc-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-blog-card-body { padding: 22px 24px 28px; }
.cc-blog-cat {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--cc-primary); margin-bottom: 8px;
}
.cc-blog-cat a { color: var(--cc-primary); text-decoration: none; }
.cc-blog-card h2 { font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3; }
.cc-blog-card h2 a { color: var(--cc-text); text-decoration: none; }
.cc-blog-card h2 a:hover { color: var(--cc-primary); }
.cc-blog-card > .cc-blog-card-body > p { font-size: .88rem; color: var(--cc-muted); line-height: 1.55; }
.cc-blog-meta { font-size: .78rem; color: var(--cc-muted); margin-top: 14px; display: flex; gap: 6px; }

/* ── Blog: Pagination ─────────────────────────────────── */
.cc-pagination { margin-top: 48px; text-align: center; }
.cc-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.cc-pagination .page-numbers {
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--cc-line); font-size: .88rem;
  color: var(--cc-muted); background: var(--cc-surface); text-decoration: none;
}
.cc-pagination .page-numbers.current,
.cc-pagination .page-numbers:hover {
  background: var(--cc-primary); color: #fff; border-color: var(--cc-primary);
}

/* ── Blog Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .cc-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-featured-card { grid-template-columns: 1fr; }
  .cc-featured-thumb { min-height: 220px; }
}
@media (max-width: 640px) {
  .cc-blog-grid { grid-template-columns: 1fr; }
  .cc-featured-body { padding: 28px 24px; }
  .cc-blog-featured { margin-top: -24px; }
}

/* ── Legal Pages ───────────────────────────────────────── */
.cc-legal-content {
  max-width: 740px;
  padding-bottom: 40px;
}
.cc-legal-content h2 {
  font-size: 1.3rem; margin: 2em 0 .6em;
  padding-top: .5em;
  border-top: 1px solid var(--cc-line);
}
.cc-legal-content h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.cc-legal-content p { font-size: .95rem; line-height: 1.8; margin-bottom: 1em; color: var(--cc-muted); }
.cc-legal-content ul { padding-left: 1.4em; margin-bottom: 1.2em; }
.cc-legal-content li { font-size: .95rem; line-height: 1.7; margin-bottom: .5em; color: var(--cc-muted); }
.cc-legal-content a { color: var(--cc-primary); font-weight: 500; }
.cc-legal-content strong { color: var(--cc-text); }

/* ── Changelog ────────────────────────────────────────── */
.cc-changelog-entry {
  padding-bottom: 32px; margin-bottom: 32px;
  border-bottom: 1px solid var(--cc-line);
}
.cc-changelog-entry:last-child { border-bottom: none; margin-bottom: 0; }
.cc-changelog-entry h2 { font-size: 1.3rem; margin-bottom: 12px; border-top: none; padding-top: 0; }
.cc-changelog-entry ul { padding-left: 1.4em; }
.cc-changelog-entry li { font-size: .93rem; color: var(--cc-muted); line-height: 1.6; margin-bottom: .4em; }

/* ── Shop Page ─────────────────────────────────────────── */
.cc-shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.cc-shop-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cc-shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,31,21,.1);
}
.cc-shop-featured { border-color: var(--cc-primary); border-width: 2px; }
.cc-shop-thumb {
  height: 160px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.cc-shop-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--cc-gold); color: var(--cc-dark);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.cc-shop-body { padding: 24px; }
.cc-shop-type {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--cc-primary); display: block; margin-bottom: 6px;
}
.cc-shop-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cc-shop-body p { font-size: .88rem; color: var(--cc-muted); line-height: 1.55; margin-bottom: 20px; }
.cc-shop-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--cc-line); padding-top: 16px;
}
.cc-shop-price {
  font-family: var(--cc-font-display); font-size: 1.5rem; color: var(--cc-text);
}
.cc-shop-price small { font-size: .6em; color: var(--cc-muted); }
.cc-shop-btn {
  padding: 10px 22px; border-radius: 100px;
  background: var(--cc-primary); color: #fff;
  font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: all .2s;
  font-family: var(--cc-font-body);
}
.cc-shop-btn:hover { background: var(--cc-primary-strong); color: #fff; }

/* Upcoming packs */
.cc-upcoming-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px;
}
.cc-upcoming-item {
  background: var(--cc-surface);
  border: 1px dashed var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 24px; text-align: center;
}
.cc-upcoming-item h4 { font-size: 1rem; margin-bottom: 6px; }
.cc-upcoming-item p { font-size: .84rem; color: var(--cc-muted); margin-bottom: 10px; }
.cc-upcoming-price {
  font-family: var(--cc-font-display); font-size: 1.1rem; color: var(--cc-primary);
}

@media (max-width: 768px) {
  .cc-shop-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .cc-upcoming-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cc-upcoming-grid { grid-template-columns: 1fr; }
}

/* ── 404 Page ─────────────────────────────────────────── */
.cc-404-hero {
  background: linear-gradient(160deg, #0a1a10 0%, var(--cc-dark) 40%, #112218 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cc-404-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 500px 400px at 50% 60%, rgba(47,157,105,.08) 0%, transparent 70%);
  pointer-events:none;
}
.cc-404-hero .cc-wrap { position: relative; z-index:1; }
.cc-404-shape { margin-bottom: 24px; opacity: .6; }
.cc-404-code {
  display: block;
  font-family: var(--cc-font-display);
  font-size: clamp(5rem, 12vw, 9rem);
  color: rgba(255,255,255,.06);
  line-height: 1;
  margin-bottom: -20px;
  letter-spacing: -.04em;
}
.cc-404-hero h1 {
  font-family: var(--cc-font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff; margin-bottom: 14px; font-weight: 400;
}
.cc-404-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.5);
  max-width: 440px; margin: 0 auto 32px; line-height: 1.7;
}
.cc-404-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cc-404-links { padding: 56px 0 72px; background: var(--cc-bg); }
.cc-404-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cc-404-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 28px 24px;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}
.cc-404-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,31,21,.07);
}
.cc-404-card h3 { font-size: 1.1rem; color: var(--cc-text); margin-bottom: 6px; }
.cc-404-card p { font-size: .88rem; color: var(--cc-muted); line-height: 1.5; }
@media (max-width: 768px) {
  .cc-404-grid { grid-template-columns: 1fr 1fr; }
  .cc-404-hero { padding: 72px 0 56px; }
}
@media (max-width: 480px) {
  .cc-404-grid { grid-template-columns: 1fr; }
  .cc-404-ctas { flex-direction: column; align-items: center; }
}

/* ── Responsive: Global ───────────────────────────────── */
@media (max-width: 768px) {
  .cc-blog-grid { grid-template-columns: 1fr; }
  .cc-post-header { padding: 56px 0 44px; }
  .cc-post-content { padding: 32px 20px 56px; }
  #edd_checkout_form_wrap { padding: 0 16px; }
  #edd_login_form, .edd_form { margin: 24px auto; padding: 28px; }
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — cc-home
   ══════════════════════════════════════════════════════════ */

/* ── GP Overrides (homepage only) ─────────────────────── */
body.home .grid-container.site,
body.home .site-content,
body.home #content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.home .content-area {
  width: 100% !important;
  float: none !important;
}
body.home #right-sidebar,
body.home .sidebar,
body.home .widget-area { display: none !important; }
body.home .inside-article,
body.home .cc-homepage {
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  max-width: none !important;
}
body.home .entry-content,
body.home .cc-home {
  overflow: visible !important;
}
body.home .entry-header { display: none !important; }
body.home .site-main { margin-top: 0 !important; }
body.home .site-footer { margin-top: 0; }

/* ── Home Base ────────────────────────────────────────── */
.cc-home * { box-sizing: border-box; }
.cc-home { font-family: var(--cc-font-body); color: var(--cc-text); line-height: 1.6; overflow-x: hidden; }
.cc-home h1, .cc-home h2, .cc-home h3 { font-family: var(--cc-font-display); font-weight: 400; line-height: 1.15; margin: 0; }
.cc-home p { margin: 0; }
/* Override the .cc-home p reset for paragraphs that need rhythm spacing.
   Specificity .cc-home .cc-hero-sub (0,2,0) wins over .cc-home p (0,1,1).
   `.cc-hero-fineprint` already carries inline `margin-top` so it doesn't
   need a class-level rule, but the same principle applies if the inline
   ever gets stripped. */
.cc-home .cc-hero-sub { margin-bottom: 48px; }
.cc-home a { text-decoration: none; }
.cc-wrap { max-width: var(--cc-max); margin: 0 auto; padding: 0 28px; }

/* Scroll-triggered reveal */
.cc-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.cc-reveal.is-visible { opacity: 1; transform: translateY(0); }
.cc-reveal-d1 { transition-delay: .1s; }
.cc-reveal-d2 { transition-delay: .2s; }
.cc-reveal-d3 { transition-delay: .3s; }
.cc-reveal-d4 { transition-delay: .35s; }

/* ── HERO ─────────────────────────────────────────────── */
.cc-hero {
  position: relative;
  background: linear-gradient(160deg, #0a1a10 0%, var(--cc-dark) 40%, #112218 100%);
  padding: 100px 0 110px;
  overflow: hidden;
}
.cc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(47,157,105,.12) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(47,157,105,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cc-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}
.cc-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cc-hero-tag {
  display: inline-block;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cc-primary);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(47,157,105,.3);
  border-radius: 100px;
}
.cc-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.cc-hero h1 em { font-style: normal; color: var(--cc-primary); }
.cc-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.cc-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.cc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--cc-font-body);
  font-size: .95rem; font-weight: 600;
  transition: all .25s ease;
  cursor: pointer; border: none;
}
.cc-btn-primary {
  background: var(--cc-primary); color: #fff;
  box-shadow: 0 4px 24px rgba(47,157,105,.35);
}
.cc-btn-primary:hover {
  background: var(--cc-primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(47,157,105,.45);
  color: #fff;
}
.cc-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.2);
}
.cc-btn-ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Hero Mockup ──────────────────────────────────────── */
.cc-mockup {
  position: relative;
  background: #0a0f0c;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 40px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 120px rgba(47,157,105,.08);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cc-mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cc-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.cc-mockup-dot:nth-child(1) { background: #ff5f57; }
.cc-mockup-dot:nth-child(2) { background: #ffbd2e; }
.cc-mockup-dot:nth-child(3) { background: #28c840; }
.cc-mockup-title {
  margin-left: 12px; font-size: .72rem;
  color: rgba(255,255,255,.35);
  font-weight: 500; letter-spacing: .04em;
}
.cc-mockup-body {
  display: grid; grid-template-columns: 1fr 2.5fr;
  height: calc(100% - 38px);
}
.cc-mockup-sidebar {
  padding: 16px 14px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; gap: 10px;
}
.cc-mockup-sidebar-label {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.2); font-weight: 600;
}
.cc-mockup-slider {
  height: 3px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  position: relative;
}
.cc-mockup-slider::after {
  content: ''; position: absolute; left: 0; top: 0;
  height: 100%; border-radius: 3px;
  background: var(--cc-primary);
}
.cc-mockup-slider:nth-child(2)::after { width: 65%; }
.cc-mockup-slider:nth-child(3)::after { width: 40%; }
.cc-mockup-slider:nth-child(5)::after { width: 80%; }
.cc-mockup-slider:nth-child(6)::after { width: 55%; }
.cc-mockup-viewport {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(47,157,105,.06) 0%, transparent 70%);
}
.cc-mockup-viewport::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cc-mockup-shape { width: 45%; position: relative; z-index: 1; }
.cc-mockup-shape svg { width: 100%; filter: drop-shadow(0 0 20px rgba(47,157,105,.3)); }
.cc-mockup-shape .cutter-outline {
  fill: none; stroke: var(--cc-primary); stroke-width: 2;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  animation: ccDrawShape 3s ease forwards 1s;
}
.cc-mockup-shape .cutter-fill {
  fill: rgba(47,157,105,.08);
  opacity: 0; animation: ccFadeShape 1s ease forwards 3.5s;
}
@keyframes ccDrawShape { to { stroke-dashoffset: 0; } }
@keyframes ccFadeShape { to { opacity: 1; } }

/* ── Floating Shapes ──────────────────────────────────── */
.cc-float-shape {
  position: absolute; pointer-events: none; z-index: 1; opacity: 0;
  animation-fill-mode: forwards;
}
.cc-float-shape svg { width: 100%; height: 100%; }
.cc-float-shape svg path,
.cc-float-shape svg circle,
.cc-float-shape svg polygon { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1.5; }

.cc-fs-1 { width:90px; top:8%; left:5%; animation: ccF1 28s ease-in-out infinite, ccFI .8s ease forwards .2s; }
.cc-fs-2 { width:60px; top:15%; right:12%; animation: ccF2 32s ease-in-out infinite 2s, ccFI .8s ease forwards .4s; }
.cc-fs-3 { width:110px; bottom:20%; left:8%; animation: ccF3 26s ease-in-out infinite 1s, ccFI .8s ease forwards .6s; }
.cc-fs-4 { width:50px; top:45%; left:22%; animation: ccF4 30s ease-in-out infinite 3s, ccFI .8s ease forwards .3s; }
.cc-fs-5 { width:75px; bottom:10%; right:6%; animation: ccF1 34s ease-in-out infinite 4s, ccFI .8s ease forwards .5s; }
.cc-fs-6 { width:45px; top:65%; right:25%; animation: ccF2 24s ease-in-out infinite 1.5s, ccFI .8s ease forwards .7s; }
.cc-fs-7 { width:65px; bottom:35%; left:35%; animation: ccF3 36s ease-in-out infinite 2.5s, ccFI .8s ease forwards .8s; }
.cc-fs-8 { width:55px; top:25%; left:42%; animation: ccF4 29s ease-in-out infinite .5s, ccFI .8s ease forwards .9s; }

@keyframes ccFI { to { opacity: 1; } }
@keyframes ccF1 { 0%,100%{ transform:translate(0,0) rotate(0deg); } 25%{ transform:translate(15px,-20px) rotate(8deg); } 50%{ transform:translate(-10px,-35px) rotate(-5deg); } 75%{ transform:translate(20px,-15px) rotate(12deg); } }
@keyframes ccF2 { 0%,100%{ transform:translate(0,0) rotate(0deg); } 33%{ transform:translate(-20px,15px) rotate(-10deg); } 66%{ transform:translate(10px,25px) rotate(6deg); } }
@keyframes ccF3 { 0%,100%{ transform:translate(0,0) rotate(0deg); } 25%{ transform:translate(-15px,-10px) rotate(-7deg); } 50%{ transform:translate(20px,10px) rotate(10deg); } 75%{ transform:translate(-5px,20px) rotate(-3deg); } }
@keyframes ccF4 { 0%,100%{ transform:translate(0,0) rotate(0deg); } 50%{ transform:translate(12px,-18px) rotate(15deg); } }

/* ── Social Proof ─────────────────────────────────────── */
.cc-proof {
  background: var(--cc-surface);
  border-bottom: 1px solid var(--cc-line);
  padding: 28px 0;
}
.cc-proof-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 48px; flex-wrap: wrap;
}
.cc-proof-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; color: var(--cc-muted);
}
.cc-proof-num {
  font-family: var(--cc-font-display);
  font-size: 1.5rem; color: var(--cc-text);
}
.cc-proof-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cc-line); }

/* ── Section Heading ──────────────────────────────────── */
.cc-section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cc-primary-strong); margin-bottom: 14px;
}
.cc-section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--cc-text); margin-bottom: 16px;
}
.cc-section-sub {
  font-size: 1.1rem; color: var(--cc-muted);
  max-width: 560px; line-height: 1.7;
}

/* ── Features ─────────────────────────────────────────── */
.cc-features { background: var(--cc-bg); padding: 100px 0; }
.cc-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 52px;
}
.cc-feature-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 36px 32px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,31,21,.08);
}
.cc-feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(47,157,105,.1), rgba(47,157,105,.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.cc-feature-icon svg {
  width: 26px; height: 26px;
  stroke: var(--cc-primary); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.cc-feature-card h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--cc-text); }
.cc-feature-card p { font-size: .95rem; color: var(--cc-muted); line-height: 1.65; }

/* ── How It Works ─────────────────────────────────────── */
.cc-steps { background: var(--cc-surface); padding: 100px 0; }
.cc-steps-header { text-align: center; margin-bottom: 64px; }
.cc-steps-header .cc-section-sub { margin: 0 auto; }
.cc-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.cc-steps-grid::before {
  content: ''; position: absolute; top: 44px; left: 16.5%; right: 16.5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cc-line) 0, var(--cc-line) 8px, transparent 8px, transparent 16px);
}
.cc-step { text-align: center; padding: 0 24px; position: relative; }
.cc-step-num {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--cc-bg);
  border: 2px solid var(--cc-line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-family: var(--cc-font-display);
  font-size: 2rem; color: var(--cc-primary);
  position: relative; z-index: 2;
  transition: all .3s ease;
}
.cc-step:hover .cc-step-num {
  background: var(--cc-primary); color: #fff;
  border-color: var(--cc-primary); transform: scale(1.08);
}
.cc-step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cc-step p { font-size: .92rem; color: var(--cc-muted); line-height: 1.6; }

/* ── Use Cases ────────────────────────────────────────── */
.cc-usecases { background: var(--cc-bg); padding: 100px 0; }
.cc-usecase-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 52px;
}
.cc-usecase-card {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 32px 24px; text-align: center;
  transition: all .3s ease;
  position: relative; overflow: hidden;
}
.cc-usecase-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--cc-primary);
  transform: scaleX(0); transition: transform .3s ease;
}
.cc-usecase-card:hover::before { transform: scaleX(1); }
.cc-usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,31,21,.07);
}
.cc-usecase-emoji { display: none; }
.cc-usecase-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cc-usecase-card p { font-size: .88rem; color: var(--cc-muted); line-height: 1.55; }

/* ── Pricing — 4-tier "Ascent" ───────────────────────── */
.cc-pricing { background: var(--cc-surface); padding: 100px 0; }
.cc-pricing-header { text-align: center; margin-bottom: 56px; }
.cc-pricing-header .cc-section-sub { margin: 0 auto; }

/* Grid variants: 3-col (main — Free/Pro/Lifetime), 2-col (legacy add-ons) */
.cc-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1080px; margin: 0 auto;
  align-items: stretch;
}
.cc-pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cc-pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px; gap: 24px;
}

/* Callout box inside Pro card — peace-of-mind message */
.cc-price-callout {
  background: rgba(226,184,74,.08);
  border: 1px solid rgba(226,184,74,.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.cc-price-callout p {
  margin: 0; font-size: .82rem; line-height: 1.5;
  color: rgba(255,255,255,.85);
}
.cc-price-free .cc-price-callout { background: rgba(47,157,105,.06); border-color: rgba(47,157,105,.2); }
.cc-price-free .cc-price-callout p { color: var(--cc-muted); }

/* Subtext under CTA button */
.cc-price-subtext {
  text-align: center; margin-top: 10px;
  font-size: .78rem; color: var(--cc-muted);
}
.cc-price-pro .cc-price-subtext,
.cc-price-lifetime .cc-price-subtext { color: rgba(255,255,255,.5); }

/* "Negative" list item — dash bullet + muted copy */
.cc-price-features li .cc-price-dash {
  width: 18px; height: 18px; display: flex;
  align-items: center; justify-content: center;
  color: var(--cc-muted); flex-shrink: 0;
  font-weight: 600;
}
.cc-price-features li .cc-muted {
  color: var(--cc-muted); opacity: 1;
}

/* CookieCad aside under pricing cards */
.cc-pricing-aside {
  text-align: center; margin: 40px auto 0;
  font-size: .88rem; color: var(--cc-muted);
  font-style: italic; max-width: 560px;
}

/* Card shell — height-matched so bottoms align no matter feature count */
.cc-price-card {
  border-radius: var(--cc-radius);
  padding: 36px 28px 32px;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.cc-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(13,31,21,.12);
}

/* — Tier 1: Free — outlined minimal on bg */
.cc-price-free {
  background: var(--cc-bg);
  border: 1px solid var(--cc-line);
}

/* — Tier 2: Pro — featured dark card (hero) */
.cc-price-pro {
  background: linear-gradient(165deg, var(--cc-dark) 0%, #1a3527 100%);
  color: #fff;
  box-shadow: 0 24px 64px rgba(13,31,21,.22);
  transform: translateY(-8px);
  z-index: 2;
}
.cc-price-pro:hover { transform: translateY(-12px); }

/* — Tier 4: Lifetime — gold-edged deep forest (premium) */
.cc-price-lifetime {
  background: linear-gradient(165deg, #0d1f15 0%, #0a1a10 100%);
  color: #fff;
  border: 1px solid rgba(226,184,74,.4);
  box-shadow:
    0 16px 48px rgba(13,31,21,.18),
    0 0 0 1px rgba(226,184,74,.15),
    inset 0 1px 0 rgba(226,184,74,.12);
  position: relative;
}

/* Badge: centered on top of the card instead of corner.
   No letter-spacing (avoids the trailing-space rendering bug that
   clipped the last letter in Firefox). Symmetric generous padding
   keeps the pill feeling balanced at any text length. */
.cc-price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cc-gold); color: var(--cc-dark);
  font-size: .72rem; font-weight: 800;
  letter-spacing: 0; text-transform: uppercase;
  padding: 7px 22px; border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(226,184,74,.4);
  z-index: 3;
  width: max-content;
}
.cc-price-lifetime .cc-price-badge {
  /* Solid dark fill + gold border — the translucent gold-on-gold-tint
     treatment fell below 3:1 contrast against the gold-tinted card
     background and read as "barely there". Dark fill with a gold ring
     gives the badge a presence that matches its "premium tier" role. */
  background: var(--cc-dark);
  color: var(--cc-gold);
  border: 1.5px solid var(--cc-gold);
  box-shadow: 0 8px 22px rgba(13,31,21,.55), inset 0 0 0 1px rgba(226,184,74,.18);
}

/* Typography */
.cc-price-label {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--cc-muted); margin-bottom: 14px;
  opacity: 1;
}
.cc-price-pro .cc-price-label,
.cc-price-lifetime .cc-price-label { color: var(--cc-gold); opacity: 1; }

.cc-price-amount {
  font-family: var(--cc-font-display);
  font-size: 2.6rem; line-height: 1; margin-bottom: 8px;
  letter-spacing: -.01em;
}
.cc-price-pro .cc-price-amount,
.cc-price-lifetime .cc-price-amount { font-size: 3rem; }

.cc-price-period {
  font-size: .85rem; color: var(--cc-muted);
  margin-bottom: 28px; line-height: 1.45;
  min-height: 2.4em; /* keeps card bodies aligned */
}
.cc-price-pro .cc-price-period,
.cc-price-lifetime .cc-price-period { color: rgba(255,255,255,.6); }

/* Feature list — no dividers for cleaner look, just tight spacing */
.cc-price-features {
  list-style: none; margin: 0 0 28px; padding: 18px 0 0;
  border-top: 1px solid rgba(128,128,128,.14);
  flex: 1; /* pushes CTA to bottom of equal-height cards */
}
.cc-price-pro .cc-price-features,
.cc-price-lifetime .cc-price-features { border-top-color: rgba(255,255,255,.1); }

.cc-price-features li {
  padding: 7px 0; font-size: .88rem;
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.45;
}
.cc-price-pro .cc-price-features li,
.cc-price-lifetime .cc-price-features li { color: rgba(255,255,255,.88); }

/* Check icon — unified circle, tier-tinted */
.cc-price-check {
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  background: rgba(47,157,105,.12); color: var(--cc-primary);
}
.cc-price-check::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor;
}
.cc-price-pro .cc-price-check { background: rgba(47,157,105,.28); }
.cc-price-lifetime .cc-price-check { background: rgba(226,184,74,.18); color: var(--cc-gold); }
.cc-price-features li strong { color: inherit; font-weight: 600; }
.cc-price-features li em {
  font-style: normal;
  color: var(--cc-muted);
  font-size: .82rem;
  margin-left: 2px;
}
.cc-price-pro .cc-price-features li em,
.cc-price-lifetime .cc-price-features li em { color: rgba(255,255,255,.55); }

/* CTA — sized down on 4-col, scales up on featured card */
.cc-btn-pricing {
  display: block; text-align: center; width: 100%;
  padding: 13px 20px; border-radius: 100px;
  font-family: var(--cc-font-body);
  font-size: .92rem; font-weight: 600;
  letter-spacing: .01em;
  transition: all .25s ease;
  margin-top: auto;
}
/* Small-print disclaimer below the LemonSqueezy CTA buttons.
   Default <p> sits at 17 px and butts against the button — needs
   to read as fine print, not body copy. */
.cc-cta-fineprint {
  margin-top: 12px !important;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--cc-muted);
  text-align: center;
}
.cc-cta-fineprint a {
  color: var(--cc-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(90, 106, 97, .35);
  transition: color .2s ease, text-decoration-color .2s ease;
}
.cc-cta-fineprint a:hover {
  color: var(--cc-primary-strong);
  text-decoration-color: var(--cc-primary);
}
.cc-price-pro .cc-cta-fineprint,
.cc-price-lifetime .cc-cta-fineprint { color: rgba(255,255,255,.5); }
.cc-price-pro .cc-cta-fineprint a,
.cc-price-lifetime .cc-cta-fineprint a {
  color: rgba(255,255,255,.5);
  text-decoration-color: rgba(255,255,255,.25);
}
.cc-price-pro .cc-cta-fineprint a:hover,
.cc-price-lifetime .cc-cta-fineprint a:hover {
  color: var(--cc-gold);
  text-decoration-color: var(--cc-gold);
}

.cc-price-free .cc-btn-pricing {
  background: transparent; color: var(--cc-text);
  border: 1px solid var(--cc-line);
}
.cc-price-free .cc-btn-pricing:hover { border-color: var(--cc-primary); color: var(--cc-primary); }

.cc-price-pro .cc-btn-pricing {
  background: var(--cc-primary); color: #fff; border: none;
  box-shadow: 0 4px 20px rgba(47,157,105,.4);
  padding: 15px 20px; /* slightly taller — the hero CTA */
  font-size: .96rem;
}
.cc-price-pro .cc-btn-pricing:hover { background: #36b276; transform: translateY(-1px); }

.cc-price-lifetime .cc-btn-pricing {
  background: var(--cc-gold); color: var(--cc-dark); border: none;
  box-shadow: 0 4px 20px rgba(226,184,74,.35);
}
.cc-price-lifetime .cc-btn-pricing:hover { background: #ecc562; transform: translateY(-1px); }

/* Ghost variant for add-on cards */
.cc-btn-pricing-ghost {
  background: transparent !important;
  border: 1px solid var(--cc-line) !important;
  color: var(--cc-text) !important;
  box-shadow: none !important;
}
.cc-btn-pricing-ghost:hover {
  border-color: var(--cc-primary) !important;
  color: var(--cc-primary) !important;
}

/* ── Testimonials ─────────────────────────────────────── */
.cc-testimonials {
  background: linear-gradient(160deg, #0a1a10 0%, var(--cc-dark) 100%);
  padding: 100px 0; position: relative; overflow: hidden;
}
.cc-testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(47,157,105,.08) 0%, transparent 70%);
}
.cc-testimonials-header { text-align: center; margin-bottom: 56px; position: relative; z-index: 1; }
.cc-testimonials-header .cc-section-title { color: #fff; }
.cc-testimonials-header .cc-section-sub { color: rgba(255,255,255,.5); margin: 0 auto; }
.cc-testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.cc-testimonial {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--cc-radius);
  padding: 36px 28px; position: relative;
  transition: transform .3s ease;
}
.cc-testimonial:hover { transform: translateY(-4px); }
.cc-testimonial:nth-child(1) { transform: rotate(-1deg); }
.cc-testimonial:nth-child(1):hover { transform: rotate(-1deg) translateY(-4px); }
.cc-testimonial:nth-child(3) { transform: rotate(1deg); }
.cc-testimonial:nth-child(3):hover { transform: rotate(1deg) translateY(-4px); }
.cc-testimonial-quote {
  font-family: var(--cc-font-display);
  font-size: 3rem; color: var(--cc-primary);
  line-height: 1; margin-bottom: 8px; opacity: .5;
}
.cc-testimonial p {
  font-size: .95rem; color: rgba(255,255,255,.75);
  line-height: 1.65; margin-bottom: 20px;
}
.cc-testimonial-author { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.5); }
.cc-testimonial-author span { color: var(--cc-primary); }
.cc-testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.cc-testimonial-stars svg { width: 14px; height: 14px; fill: var(--cc-gold); }

/* ── Final CTA ────────────────────────────────────────── */
.cc-cta-final {
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-deep) 100%);
  padding: 100px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cc-cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 500px at 20% 80%, rgba(255,255,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 20%, rgba(255,255,255,.06) 0%, transparent 70%);
}
.cc-cta-final-inner { position: relative; z-index: 1; }
.cc-cta-final h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff; margin-bottom: 16px;
}
.cc-cta-final p { font-size: 1.15rem; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cc-btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; border-radius: 100px;
  font-family: var(--cc-font-body);
  font-size: 1.05rem; font-weight: 700;
  background: #fff; color: var(--cc-primary-deep);
  transition: all .25s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.cc-btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  color: var(--cc-primary-deep);
}
.cc-btn-cta-white svg { width: 18px; height: 18px; transition: transform .25s ease; }
.cc-btn-cta-white:hover svg { transform: translateX(4px); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .cc-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .cc-mockup { max-width: 520px; margin: 0 auto; }
  .cc-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 680px; }
  .cc-price-pro, .cc-price-lifetime { transform: none; }
  .cc-price-pro { box-shadow: 0 12px 32px rgba(13,31,21,.18); }
}
@media (max-width: 768px) {
  .cc-hero { padding: 70px 0 80px; }
  .cc-hero-sub { max-width: 100%; }
  .cc-features, .cc-steps, .cc-usecases, .cc-pricing,
  .cc-testimonials, .cc-cta-final { padding: 72px 0; }
  .cc-feature-grid { grid-template-columns: 1fr; }
  .cc-steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .cc-steps-grid::before { display: none; }
  .cc-usecase-grid { grid-template-columns: 1fr; }
  .cc-pricing-grid { grid-template-columns: 1fr; max-width: 440px; gap: 20px; }
  .cc-pricing-grid-2 { grid-template-columns: 1fr; max-width: 440px; }
  .cc-price-pro, .cc-price-lifetime { transform: none; }
  .cc-price-amount { font-size: 2.4rem !important; }
  .cc-price-period { min-height: 0; }
  .cc-price-badge { top: -11px; }
  .cc-testimonial-grid { grid-template-columns: 1fr; }
  .cc-testimonial:nth-child(1),
  .cc-testimonial:nth-child(3) { transform: none; }
  .cc-proof-inner { gap: 24px; flex-direction: column; }
  .cc-proof-dot { display: none; }
  .cc-float-shape { display: none; }
}
@media (max-width: 480px) {
  .cc-wrap { padding: 0 20px; }
  .cc-hero-ctas { flex-direction: column; }
  .cc-hero-ctas .cc-btn { justify-content: center; }
  .cc-mockup { display: none; }
}

/* ══════════════════════════════════════════════════════════
   INNER PAGES — pricing, about, contact, blog, shop
   ══════════════════════════════════════════════════════════ */

/* GP overrides for inner pages */
body.page-id-12 .content-area,
body.page-id-9 .content-area,
body.page-id-11 .content-area,
body.page-id-19 .content-area,
body.page-id-25 .content-area { width:100%!important; float:none!important; }
body.page-id-12 #right-sidebar,
body.page-id-9 #right-sidebar,
body.page-id-11 #right-sidebar,
body.page-id-19 #right-sidebar,
body.page-id-25 #right-sidebar,
body.page-id-12 .sidebar,
body.page-id-9 .sidebar,
body.page-id-11 .sidebar,
body.page-id-19 .sidebar,
body.page-id-25 .sidebar { display:none!important; }
body.page-id-12 .inside-article,
body.page-id-9 .inside-article,
body.page-id-11 .inside-article { border:none!important; box-shadow:none!important; background:transparent!important; max-width:none!important; padding:0!important; }
body.page-id-12 .entry-header,
body.page-id-9 .entry-header,
body.page-id-11 .entry-header { display:none!important; }
body.page-id-12 .entry-content,
body.page-id-9 .entry-content,
body.page-id-11 .entry-content { overflow:visible!important; }

/* ── Page Hero (shared) ───────────────────────────────── */
.cc-page-hero {
  background: linear-gradient(160deg, #0a1a10 0%, var(--cc-dark) 40%, #112218 100%);
  padding: 80px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cc-page-hero::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 600px 400px at 50% 60%, rgba(47,157,105,.1) 0%, transparent 70%);
  pointer-events:none;
}
.cc-page-hero .cc-wrap { position:relative; z-index:1; }
.cc-page-hero .cc-section-tag { color: var(--cc-primary); }
.cc-page-hero h1 {
  font-family: var(--cc-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff; margin-bottom: 16px; font-weight:400;
}
.cc-page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.55);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ── Page Section ─────────────────────────────────────── */
.cc-page-section { padding: 80px 0; }
.cc-page-section.cc-bg-light { background: var(--cc-bg); }
.cc-page-section.cc-bg-white { background: var(--cc-surface); }
.cc-page-section.cc-bg-dark {
  background: linear-gradient(160deg, #0a1a10, var(--cc-dark));
  color: #fff;
}
.cc-page-section.cc-bg-dark .cc-section-title { color:#fff; }
.cc-page-section.cc-bg-dark .cc-section-sub,
.cc-page-section.cc-bg-dark p { color: rgba(255,255,255,.6); }

.cc-page-section .cc-section-title { text-align:center; }
.cc-page-section .cc-section-sub { text-align:center; margin:0 auto 48px; }

/* ── Pricing: Feature Table ───────────────────────────── */
.cc-compare-table { width:100%; border-collapse:collapse; margin-top:40px; }
.cc-compare-table th,
.cc-compare-table td {
  padding: 14px 20px; text-align:left;
  border-bottom: 1px solid var(--cc-line);
  font-size: .92rem;
}
.cc-compare-table thead th {
  font-family: var(--cc-font-display);
  font-size: 1.1rem; font-weight:400;
  background: var(--cc-bg);
  border-bottom: 2px solid var(--cc-line);
}
.cc-compare-table thead th:first-child { border-radius: 10px 0 0 0; }
.cc-compare-table thead th:last-child { border-radius: 0 10px 0 0; }
.cc-compare-table tbody tr:last-child td { border-bottom:none; }
.cc-compare-table .cc-check { color: var(--cc-primary-strong); font-weight:700; }
.cc-compare-table .cc-dash { color: var(--cc-muted); }

/* ── Pricing: FAQ ─────────────────────────────────────── */
.cc-faq-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-top: 40px;
}
.cc-faq-item {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 28px 24px;
}
.cc-faq-item h3 {
  font-size: 1.05rem; margin-bottom: 8px; color: var(--cc-text);
}
.cc-faq-item p {
  font-size: .9rem; color: var(--cc-muted); line-height: 1.6;
}

/* ── About: Values Grid ───────────────────────────────── */
.cc-values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.cc-value-card {
  text-align: center; padding: 36px 24px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
}
.cc-value-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(47,157,105,.08);
  display: flex; align-items:center; justify-content:center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.cc-value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.cc-value-card p { font-size: .9rem; color: var(--cc-muted); line-height: 1.6; }

/* ── About: Story ─────────────────────────────────────── */
.cc-story-block {
  display: block;
  max-width: 740px;
}
.cc-story-block h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cc-story-block p { color: var(--cc-muted); line-height: 1.7; font-size: 1.02rem; }
.cc-story-visual {
  background: var(--cc-bg);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 40px; text-align:center;
  font-size: 4rem;
}

/* ── Contact: Layout ──────────────────────────────────── */
.cc-contact-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; margin-top: 48px;
}
.cc-contact-form {
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 40px;
}
.cc-contact-info { display:flex; flex-direction:column; gap:24px; }
.cc-info-card {
  background: var(--cc-bg);
  border: 1px solid var(--cc-line);
  border-radius: var(--cc-radius);
  padding: 24px;
}
.cc-info-card h3 { font-size: 1rem; margin-bottom: 8px; display:flex; align-items:center; gap:8px; }
.cc-info-card p { font-size: .9rem; color: var(--cc-muted); line-height: 1.6; }

/* ── Page CTA (shared) ────────────────────────────────── */
.cc-page-cta {
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-deep) 100%);
  padding: 72px 0; text-align:center;
}
.cc-page-cta h2 { font-family:var(--cc-font-display); font-size:clamp(1.8rem,3vw,2.4rem); color:#fff; margin-bottom:14px; font-weight:400; }
.cc-page-cta p { color:rgba(255,255,255,.7); margin-bottom:28px; font-size:1.05rem; }

/* ── Inner pages responsive ───────────────────────────── */
@media (max-width: 768px) {
  .cc-page-hero { padding: 60px 0 56px; }
  .cc-page-section { padding: 56px 0; }
  .cc-faq-grid { grid-template-columns: 1fr; }
  .cc-values-grid { grid-template-columns: 1fr; }
  .cc-story-block { grid-template-columns: 1fr; }
  .cc-contact-grid { grid-template-columns: 1fr; }
  .cc-compare-table { font-size: .85rem; }
  .cc-compare-table th, .cc-compare-table td { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG INDEX — Editorial v2
   ───────────────────────────────────────────────────────────────
   The home.php template was rewritten in April 2026 with .cc-bl-*
   selectors but the matching CSS never shipped. This block restores
   the editorial-journal aesthetic the template was designed around:
   dark hero with hairline rules + decorative SVG ring; cream-surface
   featured card with the gradient media plate sitting flush against
   the lede; asymmetric grid where every 5th tile spans two rows for
   rhythm; dark closing CTA in brand green.

   Inline background gradients are set in markup on .cc-bl-*-media
   elements — this CSS does NOT touch their `background` property,
   only their sizing, overlay, and decoration.
   ═══════════════════════════════════════════════════════════════ */

.cc-blog-page {
  background: var(--cc-bg);
  color: var(--cc-text);
}
.cc-blog-page .cc-wrap {
  max-width: var(--cc-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── HERO ───────────────────────────────────────────────────── */
.cc-bl-hero {
  position: relative;
  padding: 112px 0 96px;
  background: linear-gradient(180deg, var(--cc-dark) 0%, #0a1810 100%);
  color: #f7f1e5;
  overflow: hidden;
  isolation: isolate;
}
.cc-bl-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(47,157,105,.22), transparent 50%),
    radial-gradient(circle at 18% 88%, rgba(226,184,74,.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cc-bl-hero-deco {
  position: absolute;
  top: 50%; right: -120px;
  width: 560px; height: 560px;
  transform: translateY(-50%);
  opacity: .85;
  pointer-events: none;
  z-index: 0;
  animation: cc-bl-spin 60s linear infinite;
}
@keyframes cc-bl-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}
.cc-bl-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cc-bl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
  margin-bottom: 36px;
}
.cc-bl-kicker-rule {
  width: 48px; height: 1px;
  background: var(--cc-gold);
  opacity: .65;
}
.cc-bl-kicker-sep {
  opacity: .5;
  margin: 0 2px;
}
.cc-bl-kicker-issue {
  color: rgba(247,241,229,.55);
  font-weight: 400;
  letter-spacing: .18em;
}

.cc-bl-title {
  font-family: var(--cc-font-display);
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #f7f1e5;
  margin: 0 0 32px;
  font-weight: 400;
}
.cc-bl-title-ital {
  font-style: italic;
  color: var(--cc-primary);
  font-weight: 400;
}

.cc-bl-lede {
  display: flex;
  align-items: flex-end;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.cc-bl-lede p {
  flex: 1;
  min-width: 280px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(247,241,229,.7);
  margin: 0;
}
.cc-bl-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: rgba(247,241,229,.5);
  letter-spacing: .03em;
  white-space: nowrap;
}
.cc-bl-stats strong {
  font-family: var(--cc-font-display);
  font-size: 1.4rem;
  color: var(--cc-gold);
  font-weight: 400;
  margin-right: 2px;
}
.cc-bl-stats-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(247,241,229,.3);
}

.cc-bl-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cc-bl-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  background: rgba(247,241,229,.05);
  border: 1px solid rgba(247,241,229,.12);
  border-radius: 100px;
  text-decoration: none;
  color: rgba(247,241,229,.85);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;
}
.cc-bl-cat-pill:hover {
  background: rgba(47,157,105,.16);
  border-color: rgba(47,157,105,.45);
  color: #fff;
  transform: translateY(-1px);
}
.cc-bl-cat-num {
  font-family: var(--cc-font-display);
  font-size: .78rem;
  color: var(--cc-gold);
  font-style: italic;
}
.cc-bl-cat-count {
  font-size: .68rem;
  color: rgba(247,241,229,.45);
  padding: 2px 7px;
  background: rgba(247,241,229,.06);
  border-radius: 100px;
}

/* ── FEATURED ──────────────────────────────────────────────── */
.cc-bl-featured {
  position: relative;
  background: var(--cc-surface-soft);
  padding: 96px 0 88px;
  overflow: hidden;
}
.cc-bl-featured-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
  opacity: .04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.cc-bl-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-primary-strong);
  font-weight: 600;
  margin-bottom: 36px;
}
.cc-bl-featured-rule {
  width: 36px; height: 1px;
  background: var(--cc-primary);
  opacity: .55;
}

.cc-bl-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--cc-dark);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 36px 80px -36px rgba(13,31,21,.5),
    0 8px 24px -8px rgba(13,31,21,.3);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.cc-bl-featured-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 48px 100px -40px rgba(13,31,21,.6),
    0 12px 30px -10px rgba(13,31,21,.35);
}

.cc-bl-featured-media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background is set inline via $gradients in the template — do NOT
     override it here. We only add an overlay + decoration. */
}
.cc-bl-featured-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(13,31,21,.35) 100%),
    linear-gradient(140deg, rgba(247,241,229,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cc-bl-featured-img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.cc-bl-featured-media .cc-card-shape {
  width: 60%; max-width: 280px;
  color: rgba(247,241,229,.78);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.35));
  position: relative;
  z-index: 1;
}
.cc-bl-featured-badge {
  position: absolute;
  top: 24px; left: 24px;
  z-index: 2;
  font-family: var(--cc-font-display);
  font-size: .82rem;
  font-style: italic;
  color: var(--cc-gold);
  background: rgba(13,31,21,.55);
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226,184,74,.3);
}

.cc-bl-featured-body {
  padding: 64px 56px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: var(--cc-dark);
  color: #f7f1e5;
}
.cc-bl-card-cat {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
}
.cc-bl-featured-title {
  font-family: var(--cc-font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #f7f1e5;
  margin: 0;
  font-weight: 400;
}
.cc-bl-featured-dek {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(247,241,229,.68);
  margin: 0;
}
.cc-bl-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  color: rgba(247,241,229,.45);
  letter-spacing: .04em;
}
.cc-bl-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cc-primary);
  transition: gap .25s ease, color .2s ease;
}
.cc-bl-featured-card:hover .cc-bl-featured-cta {
  gap: 18px;
  color: var(--cc-gold);
}
.cc-bl-featured-cta svg {
  width: 18px; height: 18px;
}

/* ── GRID SECTION ──────────────────────────────────────────── */
.cc-bl-grid-section {
  background: var(--cc-bg);
  padding: 104px 0 96px;
}
.cc-bl-grid-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cc-line);
}
.cc-bl-grid-title {
  font-family: var(--cc-font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 400;
  color: var(--cc-text);
}
.cc-bl-grid-sub {
  font-size: .92rem;
  color: var(--cc-muted);
  margin: 0;
}
.cc-bl-grid-sub em {
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--cc-text);
}

.cc-bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  grid-auto-rows: minmax(0, auto);
}
.cc-bl-card {
  /* Default card. The `.is-tall` modifier spans two rows in the
     grid so the rhythm doesn't read as a flat 3×N table. */
  position: relative;
}
.cc-bl-card.is-tall {
  grid-row: span 2;
}
.cc-bl-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s ease,
    border-color .25s ease;
}
.cc-bl-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -28px rgba(13,31,21,.32);
  border-color: transparent;
}
.cc-bl-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background gradient is set inline in the template */
}
.cc-bl-card.is-tall .cc-bl-card-media {
  aspect-ratio: 4 / 5;
}
.cc-bl-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 85% 70% at 50% 50%, transparent 35%, rgba(13,31,21,.32) 100%);
  pointer-events: none;
}
.cc-bl-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cc-bl-card-media .cc-card-shape {
  width: 54%;
  max-width: 180px;
  color: rgba(247,241,229,.72);
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.3));
  position: relative;
  z-index: 1;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.cc-bl-card-inner:hover .cc-bl-card-media .cc-card-shape {
  transform: scale(1.06) rotate(-3deg);
}
.cc-bl-card-num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: .78rem;
  color: rgba(247,241,229,.7);
  background: rgba(13,31,21,.4);
  padding: 4px 11px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
}

.cc-bl-card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.cc-bl-card-title {
  font-family: var(--cc-font-display);
  font-size: 1.35rem;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--cc-text);
  margin: 0;
  font-weight: 400;
}
.cc-bl-card.is-tall .cc-bl-card-title {
  font-size: 1.6rem;
}
.cc-bl-card-dek {
  font-size: .94rem;
  line-height: 1.6;
  color: var(--cc-muted);
  margin: 0;
  flex: 1;
}
.cc-bl-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .8rem;
  color: var(--cc-muted);
  letter-spacing: .03em;
}
.cc-bl-card-arrow {
  font-size: 1rem;
  color: var(--cc-primary);
  transition: transform .25s ease;
}
.cc-bl-card-inner:hover .cc-bl-card-arrow {
  transform: translateX(4px);
}

/* ── PAGINATION ────────────────────────────────────────────── */
.cc-bl-pagination {
  margin-top: 72px;
  display: flex;
  justify-content: center;
}
.cc-bl-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cc-bl-pagination .nav-links a,
.cc-bl-pagination .nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-family: var(--cc-font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--cc-text);
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: 100px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cc-bl-pagination .nav-links a:hover {
  background: var(--cc-primary);
  border-color: var(--cc-primary);
  color: #fff;
}
.cc-bl-pagination .nav-links .page-numbers.current {
  background: var(--cc-dark);
  border-color: var(--cc-dark);
  color: var(--cc-gold);
}
.cc-bl-pagination .nav-links .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--cc-muted);
}

/* ── EMPTY STATE ───────────────────────────────────────────── */
.cc-bl-empty {
  padding: 120px 0;
  text-align: center;
  color: var(--cc-muted);
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: 1.2rem;
}

/* ── BOTTOM CTA ────────────────────────────────────────────── */
.cc-bl-cta {
  position: relative;
  background: linear-gradient(160deg, var(--cc-dark) 0%, #0a1810 70%, var(--cc-primary-deep) 130%);
  padding: 104px 0 112px;
  color: #f7f1e5;
  overflow: hidden;
  isolation: isolate;
}
.cc-bl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(226,184,74,.14), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(47,157,105,.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.cc-bl-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cc-bl-cta-eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
  margin-bottom: 22px;
}
.cc-bl-cta-title {
  font-family: var(--cc-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: #f7f1e5;
  margin: 0 0 18px;
  font-weight: 400;
}
.cc-bl-cta-sub {
  font-size: 1.02rem;
  color: rgba(247,241,229,.65);
  margin: 0 0 36px;
  line-height: 1.6;
}
.cc-bl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--cc-gold);
  color: var(--cc-dark);
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .015em;
  text-decoration: none;
  transition: transform .25s ease, gap .25s ease, box-shadow .3s ease;
  box-shadow: 0 14px 32px -10px rgba(226,184,74,.5);
}
.cc-bl-cta-btn:hover {
  transform: translateY(-2px);
  gap: 18px;
  color: var(--cc-dark);
  box-shadow: 0 22px 44px -14px rgba(226,184,74,.65);
}
.cc-bl-cta-btn svg {
  width: 18px; height: 18px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 920px) {
  .cc-bl-hero { padding: 80px 0 72px; }
  .cc-bl-hero-deco { right: -200px; width: 420px; height: 420px; opacity: .55; }
  .cc-bl-title { font-size: clamp(2.4rem, 8vw, 3.6rem); }
  .cc-bl-lede { gap: 28px; }
  .cc-bl-featured { padding: 72px 0; }
  .cc-bl-featured-card { grid-template-columns: 1fr; }
  .cc-bl-featured-media { min-height: 280px; }
  .cc-bl-featured-body { padding: 40px 32px 44px; }
  .cc-bl-grid-section { padding: 72px 0; }
  .cc-bl-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cc-bl-card.is-tall { grid-row: span 1; }
  .cc-bl-card.is-tall .cc-bl-card-media { aspect-ratio: 16 / 11; }
  .cc-bl-card.is-tall .cc-bl-card-title { font-size: 1.35rem; }
  .cc-bl-grid-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .cc-bl-cta { padding: 80px 0; }
}

@media (max-width: 560px) {
  .cc-blog-page .cc-wrap { padding: 0 22px; }
  .cc-bl-hero { padding: 64px 0 56px; }
  .cc-bl-hero-deco { display: none; }
  .cc-bl-kicker { gap: 10px; flex-wrap: wrap; }
  .cc-bl-cats { gap: 8px; }
  .cc-bl-cat-pill { padding: 8px 14px 8px 12px; font-size: .78rem; }
  .cc-bl-featured-body { padding: 32px 24px 36px; }
  .cc-bl-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST — Editorial v2
   ───────────────────────────────────────────────────────────────
   single.php was rewritten with .cc-article-*, .cc-toc-*, .cc-kicker-*,
   .cc-share-*, .cc-next-*, .cc-cta-* but the matching CSS never landed
   (audit: 45 of 47 classes had 0 matching rules). Every blog post was
   rendering as an unstyled stack. This block restores the longform
   editorial reading experience: dark hero with magazine kicker; cream
   body with sticky table-of-contents rail on desktop; drop-capped
   leading paragraph; ornament breaks; inline gold-on-dark CTA card;
   share row; prev/next post nav.
   ═══════════════════════════════════════════════════════════════ */

/* ── Reading-progress bar (fixed top) ──────────────────────── */
.cc-reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(13,31,21,.08);
  z-index: 1000;
  pointer-events: none;
}
.cc-reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cc-primary), var(--cc-gold));
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(226,184,74,.5);
}

/* ── Article hero ──────────────────────────────────────────── */
.cc-article-hero {
  position: relative;
  padding: 96px 0 88px;
  background: linear-gradient(180deg, var(--cc-dark) 0%, #0a1810 100%);
  color: #f7f1e5;
  overflow: hidden;
  isolation: isolate;
}
.cc-article-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(47,157,105,.20), transparent 55%),
    radial-gradient(circle at 82% 80%, rgba(226,184,74,.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.cc-article-hero-deco {
  position: absolute;
  top: 50%; right: -40px;
  width: 420px; height: 420px;
  transform: translateY(-50%);
  opacity: .8;
  pointer-events: none;
  z-index: 0;
  animation: cc-bl-spin 80s linear infinite;
}
.cc-article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
  margin-bottom: 32px;
}
.cc-kicker-rule {
  width: 36px; height: 1px;
  background: var(--cc-gold);
  opacity: .55;
}
.cc-kicker-label {
  color: var(--cc-gold);
  text-decoration: none;
  transition: opacity .2s ease;
}
.cc-kicker-label:hover { opacity: .8; }
.cc-kicker-sep { color: rgba(247,241,229,.4); }
.cc-kicker-issue {
  color: rgba(247,241,229,.5);
  font-weight: 400;
  letter-spacing: .18em;
}

.cc-article-title {
  font-family: var(--cc-font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #f7f1e5;
  margin: 0 0 28px;
  font-weight: 400;
}

.cc-article-dek {
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: rgba(247,241,229,.7);
  max-width: 640px;
  margin: 0 0 36px;
}

.cc-article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(247,241,229,.55);
}
.cc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cc-meta-read::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--cc-gold);
  border-radius: 50%;
  margin-right: 2px;
}

.cc-article-scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  padding: 8px 14px;
  border: 1px solid rgba(247,241,229,.15);
  border-radius: 100px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,241,229,.5);
  animation: cc-scrollcue-bob 2.4s ease-in-out infinite;
}
.cc-article-scrollcue svg { opacity: .6; }
@keyframes cc-scrollcue-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

/* ── Article body ──────────────────────────────────────────── */
.cc-article-body {
  position: relative;
  background: var(--cc-bg);
  padding: 88px 0 96px;
  isolation: isolate;
}
.cc-article-body-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='1'/></svg>");
  opacity: .035;
  pointer-events: none;
  z-index: 0;
}
.cc-article-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 64px;
  justify-content: center;
}

/* TOC rail */
.cc-toc-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  font-size: .9rem;
  color: var(--cc-muted);
  border-left: 1px solid var(--cc-line);
  padding-left: 18px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.cc-toc-label {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-primary-strong);
  margin: 0 0 14px;
  font-weight: 600;
}
.cc-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: tocnum;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cc-toc-list li {
  position: relative;
  padding-left: 26px;
  counter-increment: tocnum;
  line-height: 1.45;
}
.cc-toc-list li::before {
  content: counter(tocnum, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: .82rem;
  color: var(--cc-gold);
}
.cc-toc-list a {
  color: var(--cc-muted);
  text-decoration: none;
  transition: color .2s ease;
  font-size: .88rem;
}
.cc-toc-list a:hover,
.cc-toc-list a.is-active {
  color: var(--cc-text);
}
.cc-toc-list a.is-active::after {
  content: '';
  position: absolute;
  left: -19px; top: 8px;
  width: 2px; height: 14px;
  background: var(--cc-primary);
  border-radius: 2px;
}

/* Main article content column */
.cc-article-content { min-width: 0; }

/* ── Article typography (the_content output) ──────────────── */
.cc-post-content,
.cc-article-content .entry-content {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--cc-text);
}
.cc-post-content > p,
.cc-article-content .entry-content > p {
  margin: 0 0 1.4em;
}
.cc-post-content > p:first-of-type::first-letter,
.cc-article-content .entry-content > p:first-of-type::first-letter {
  font-family: var(--cc-font-display);
  float: left;
  font-size: 4.2em;
  line-height: .88;
  margin: .08em .1em 0 -2px;
  color: var(--cc-primary-strong);
  font-weight: 400;
}
.cc-post-content h2,
.cc-article-content .entry-content h2 {
  font-family: var(--cc-font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -.018em;
  color: var(--cc-text);
  margin: 2.4em 0 .7em;
  font-weight: 400;
  scroll-margin-top: 96px;
  position: relative;
  padding-left: 18px;
}
.cc-post-content h2::before,
.cc-article-content .entry-content h2::before {
  content: '';
  position: absolute;
  left: 0; top: .52em;
  width: 4px; height: .8em;
  background: var(--cc-primary);
  border-radius: 2px;
}
.cc-post-content h3,
.cc-article-content .entry-content h3 {
  font-family: var(--cc-font-display);
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -.012em;
  color: var(--cc-text);
  margin: 2em 0 .5em;
  font-weight: 400;
  scroll-margin-top: 96px;
}
.cc-post-content blockquote,
.cc-article-content .entry-content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--cc-gold);
  font-family: var(--cc-font-display);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--cc-text);
}
.cc-post-content blockquote p,
.cc-article-content .entry-content blockquote p {
  margin: 0 0 .5em;
}
.cc-post-content blockquote cite,
.cc-article-content .entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--cc-font-body);
  font-style: normal;
  font-size: .85rem;
  color: var(--cc-muted);
  letter-spacing: .03em;
}
.cc-post-content ul,
.cc-post-content ol,
.cc-article-content .entry-content ul,
.cc-article-content .entry-content ol {
  margin: 0 0 1.5em;
  padding-left: 24px;
}
.cc-post-content li,
.cc-article-content .entry-content li { margin-bottom: .5em; }
.cc-post-content a,
.cc-article-content .entry-content a {
  color: var(--cc-primary-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(47,157,105,.35);
  transition: border-color .2s ease, color .2s ease;
}
.cc-post-content a:hover,
.cc-article-content .entry-content a:hover {
  color: var(--cc-primary);
  border-bottom-color: var(--cc-primary);
}
.cc-post-content img,
.cc-article-content .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em auto;
  display: block;
  box-shadow: 0 18px 40px -20px rgba(13,31,21,.25);
}
.cc-post-content pre,
.cc-article-content .entry-content pre {
  background: var(--cc-dark);
  color: #f7f1e5;
  padding: 18px 22px;
  border-radius: 10px;
  overflow-x: auto;
  font-size: .92rem;
  line-height: 1.6;
  margin: 1.5em 0;
}
.cc-post-content code,
.cc-article-content .entry-content code {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: .92em;
  background: rgba(47,157,105,.08);
  color: var(--cc-primary-deep);
  padding: 2px 7px;
  border-radius: 4px;
}
.cc-post-content pre code,
.cc-article-content .entry-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* ── Ornament break ────────────────────────────────────────── */
.cc-article-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 56px auto;
  max-width: 240px;
}
.cc-article-ornament span:not(.cc-ornament-dot) {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cc-line), transparent);
}
.cc-ornament-dot {
  width: 8px;
  height: 8px;
  background: var(--cc-gold);
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 4px rgba(226,184,74,.12);
}

/* ── Inline CTA card ───────────────────────────────────────── */
.cc-article-cta {
  position: relative;
  margin: 64px 0 48px;
  padding: 56px 48px;
  background: linear-gradient(160deg, var(--cc-dark) 0%, #0a1810 60%, var(--cc-primary-deep) 130%);
  border-radius: 24px;
  color: #f7f1e5;
  overflow: hidden;
  isolation: isolate;
}
.cc-cta-shape {
  position: absolute;
  top: 50%; right: -40px;
  transform: translateY(-50%);
  width: 280px; height: 280px;
  color: var(--cc-gold);
  pointer-events: none;
  z-index: 0;
}
.cc-article-cta > *:not(.cc-cta-shape) { position: relative; z-index: 1; }
.cc-cta-eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
  margin: 0 0 14px;
}
.cc-cta-title {
  font-family: var(--cc-font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  color: #f7f1e5;
  margin: 0 0 14px;
  font-weight: 400;
}
.cc-cta-sub {
  color: rgba(247,241,229,.65);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 480px;
}
.cc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: var(--cc-gold);
  color: var(--cc-dark);
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  border: none;
  transition: transform .25s ease, gap .25s ease, box-shadow .3s ease;
  box-shadow: 0 12px 28px -10px rgba(226,184,74,.5);
}
.cc-cta-btn:hover {
  transform: translateY(-2px);
  gap: 18px;
  color: var(--cc-dark);
  box-shadow: 0 18px 36px -12px rgba(226,184,74,.65);
}

/* ── Share buttons ─────────────────────────────────────────── */
.cc-article-share {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 0 8px;
  border-top: 1px solid var(--cc-line);
  margin-top: 48px;
}
.cc-share-label {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-muted);
  font-weight: 600;
}
.cc-share-buttons {
  display: flex;
  gap: 8px;
}
.cc-share-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: 50%;
  color: var(--cc-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.cc-share-btn:hover {
  background: var(--cc-primary);
  color: #fff;
  border-color: var(--cc-primary);
  transform: translateY(-2px);
}
.cc-share-copy { position: relative; }
.cc-share-copied {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cc-dark);
  color: var(--cc-gold);
  font-size: .7rem;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  white-space: nowrap;
}
.cc-share-copy.is-copied .cc-share-copied {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ── Article next (prev/next nav) ──────────────────────────── */
.cc-article-next {
  background: var(--cc-surface-soft);
  padding: 64px 0 72px;
  border-top: 1px solid var(--cc-line);
}
.cc-next-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-primary-strong);
  font-weight: 600;
}
.cc-next-label span::before {
  content: '';
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--cc-primary);
  opacity: .55;
  vertical-align: middle;
  margin-right: 14px;
}
.cc-next-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cc-next-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 30px;
  background: var(--cc-surface);
  border: 1px solid var(--cc-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .25s ease;
}
.cc-next-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -22px rgba(13,31,21,.22);
  border-color: rgba(47,157,105,.3);
}
.cc-next-next { text-align: right; align-items: flex-end; }
.cc-next-dir {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cc-primary-strong);
  font-weight: 600;
}
.cc-next-cat {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cc-gold);
  font-weight: 600;
  font-style: italic;
}
.cc-next-title {
  font-family: var(--cc-font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--cc-text);
  margin: 0;
  font-weight: 400;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .cc-article-hero { padding: 72px 0 64px; }
  .cc-article-hero-deco { right: -160px; width: 320px; height: 320px; opacity: .5; }
  .cc-article-body { padding: 64px 0 80px; }
  .cc-article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cc-toc-rail {
    position: static;
    max-height: none;
    border-left: none;
    border-top: 1px solid var(--cc-line);
    padding-left: 0;
    padding-top: 24px;
    margin-bottom: 24px;
    order: -1; /* Show TOC above content on mobile */
  }
  .cc-toc-list { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
  .cc-article-cta { padding: 44px 32px; }
  .cc-cta-shape { display: none; }
}

@media (max-width: 640px) {
  .cc-article-hero { padding: 56px 0 52px; }
  .cc-article-hero-deco { display: none; }
  .cc-article-share { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cc-article-next { padding: 48px 0 56px; }
  .cc-next-grid { grid-template-columns: 1fr; }
  .cc-next-next { text-align: left; align-items: flex-start; }
}

/* ── CutClay Account / History Styles ─────────────────── */
.cc-account-section { padding: 56px 0 96px; background: var(--cc-bg, #f4f7f5); }
.cc-history { max-width: 760px; margin: 0 auto; }
.cc-history-head { margin-bottom: 28px; }
.cc-history-head h2 {
  font-family: var(--cc-font-display, 'Young Serif', Georgia, serif);
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -.015em;
  margin: 0 0 10px;
  color: var(--cc-text, #162019);
}
.cc-history-sub { color: var(--cc-muted, #5a6a61); margin: 0 0 18px; line-height: 1.6; }
.cc-subscription {
  margin: 0 0 4px;
  padding: 12px 16px;
  background: rgba(47, 157, 105, .06);
  border: 1px solid rgba(47, 157, 105, .18);
  border-radius: 10px;
  font-size: .92rem;
}
.cc-subscription a { color: var(--cc-primary-strong, #23784f); font-weight: 600; text-decoration: none; }
.cc-subscription a:hover { text-decoration: underline; }
.cc-history-list { display: grid; gap: 12px; }
.cc-history-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px 22px;
  background: var(--cc-surface, #ffffff);
  border: 1px solid var(--cc-line, #dce6e0);
  border-radius: 12px;
  align-items: center;
  transition: border-color .2s ease, transform .2s ease, box-shadow .25s ease;
}
.cc-history-item:hover {
  border-color: rgba(47, 157, 105, .35);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(13, 31, 21, .12);
}
.cc-history-item h3 {
  margin: 0;
  font-family: var(--cc-font-display, 'Young Serif', Georgia, serif);
  font-size: 1.08rem;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--cc-text, #162019);
}
.cc-history-item .meta {
  color: var(--cc-muted, #5a6a61);
  font-size: .82rem;
  margin-top: 4px;
  letter-spacing: .02em;
}
.cc-history-item .actions { display: flex; gap: 8px; }
.cc-history-item button,
.cc-history-item .btn {
  padding: 8px 14px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.cc-history-item .btn-re { background: var(--cc-primary, #2f9d69); color: #fff; }
.cc-history-item .btn-re:hover { background: var(--cc-primary-strong, #23784f); }
.cc-history-item .btn-re[disabled] { background: #cfd5d2; cursor: not-allowed; }
.cc-history-item .btn-view {
  background: var(--cc-surface-soft, #f0f5f2);
  color: var(--cc-dark, #0d1f15);
  border: 1px solid var(--cc-line, #dce6e0);
}
.cc-history-item .btn-view:hover { background: var(--cc-line, #dce6e0); }
.cc-history-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--cc-muted, #5a6a61);
  border: 1px dashed rgba(47, 157, 105, .3);
  border-radius: 12px;
  background: var(--cc-surface, #ffffff);
}
.cc-history-empty a {
  color: var(--cc-primary-strong, #23784f);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted rgba(47, 157, 105, .4);
}
.cc-history-placeholder {
  color: var(--cc-muted, #5a6a61);
  text-align: center;
  padding: 36px 0;
  font-style: italic;
}
.cc-history-anon {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: var(--cc-surface, #ffffff);
  border: 1px solid var(--cc-line, #dce6e0);
  border-radius: 16px;
  color: var(--cc-muted, #5a6a61);
  box-shadow: 0 10px 30px -15px rgba(13, 31, 21, 0.08);
}
.cc-anon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(47, 157, 105, 0.08);
  color: var(--cc-primary, #2f9d69);
}
.cc-anon-icon svg {
  width: 28px;
  height: 28px;
}
.cc-history-anon h3 {
  font-family: var(--cc-font-display, 'Young Serif', Georgia, serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cc-text, #162019);
  margin: 0 0 12px;
}
.cc-history-anon p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cc-muted, #5a6a61);
  margin: 0 0 28px;
}
.cc-history-anon .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.cc-history-anon .btn-re {
  background: var(--cc-primary, #2f9d69);
  color: #ffffff !important;
}
.cc-history-anon .btn-re:hover {
  background: var(--cc-primary-strong, #23784f);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 157, 105, 0.15);
}
.cc-history-anon .btn-re:active {
  transform: translateY(0);
}
@media (max-width: 640px) {
  .cc-account-section { padding: 40px 0 72px; }
  .cc-history-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cc-history-item .actions { width: 100%; }
  .cc-history-item .btn { flex: 1; text-align: center; }
}
