/*
 * ============================================================
 *  blog-single.css — C2C Blog Post Styles
 *  Save to: /wp-content/themes/jupiterx-child/assets/css/blog-single.css
 *  Enqueue via functions.php (see single.php comments)
 *
 *  All classes are prefixed with .c2c- to avoid conflicts
 *  with JupiterX / Elementor / WooCommerce styles.
 * ============================================================
 */

/* ─── BRAND TOKENS ─────────────────────────────────────────── */
:root {
  --c2c-red:         #e63946;
  --c2c-red-dark:    #c4252e;
  --c2c-red-glow:    rgba(230, 57, 70, 0.12);
  --c2c-navy:        #2A3065;
  --c2c-navy-light:  rgba(42, 48, 101, 0.06);
  --c2c-dark:        #0F101A;
  --c2c-dark-70:     rgba(15, 16, 26, 0.70);
  --c2c-dark-40:     rgba(15, 16, 26, 0.40);
  --c2c-white:       #ffffff;
  --c2c-bg:          #f8f9fa;
  --c2c-border:      rgba(15, 16, 26, 0.08);
  --c2c-border-mid:  rgba(15, 16, 26, 0.14);
  --c2c-font-head:   'Poppins', sans-serif;
  --c2c-font-body:   'Open Sans', sans-serif;
  --c2c-r-sm:        6px;
  --c2c-r-md:        12px;
  --c2c-r-lg:        20px;
  --c2c-r-pill:      40px;
  --c2c-shadow:      0 4px 20px rgba(42, 48, 101, 0.07);
  --c2c-shadow-red:  0 4px 14px rgba(230, 57, 70, 0.28);
  --c2c-shadow-hover:0 8px 30px rgba(42, 48, 101, 0.13);
  --c2c-max-w:       1200px;
}

/* ─── LAYOUT WRAPPER ────────────────────────────────────────── */
.c2c-wrap {
  max-width: var(--c2c-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── READING PROGRESS BAR ──────────────────────────────────── */
.c2c-reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--c2c-red);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.50);
}

/* ─── BREADCRUMB ────────────────────────────────────────────── */
.c2c-breadcrumb-bar {
  background: var(--c2c-white);
  border-bottom: 1px solid var(--c2c-border);
  padding: 10px 0;
}
.c2c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 13px;
  color: var(--c2c-dark-70);
  font-family: var(--c2c-font-head);
}
.c2c-breadcrumb a       { color: var(--c2c-navy); font-weight: 500; text-decoration: none; }
.c2c-breadcrumb a:hover { text-decoration: underline; }
.c2c-breadcrumb .sep    { color: var(--c2c-dark-40); }
.c2c-breadcrumb .current{ color: var(--c2c-red); font-weight: 600; }

/* ─── POST HERO ─────────────────────────────────────────────── */
.c2c-post-hero {
  position: relative;
  padding: 60px 0 56px;          /* padding-bottom now instead of 0 */
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  /* background-image is set inline via PHP — see below */
  background-size: cover;
  background-position: center;
  background-color: var(--c2c-dark); /* fallback if no featured image */
}
.c2c-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 16, 26, 0.72) 0%,
    rgba(42, 48, 101, 0.88) 55%,
    rgba(30, 31, 99, 0.94) 100%
  );
  z-index: 0;
}
.c2c-post-hero .c2c-wrap { position: relative; z-index: 1; }

.c2c-category-tags {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.c2c-category-tags a,
.c2c-category-tags span {
  background: rgba(230,57,70,0.18);
  color: #ff8a8a;
  border: 1px solid rgba(230,57,70,0.30);
  padding: 4px 14px;
  border-radius: var(--c2c-r-pill);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--c2c-font-head);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.c2c-category-tags a:hover { background: var(--c2c-red); color: #fff; }

.c2c-post-hero h1 {
  font-family: var(--c2c-font-head) !important;
  font-size: clamp(26px, 4vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  max-width: 820px;
  margin-bottom: 20px !important;
  padding-top: 0 !important;
}

/* Meta row */
.c2c-post-meta-row {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 20px;
  margin-bottom: 36px;
}
.c2c-meta-author { display: flex; align-items: center; gap: 12px; }
.c2c-author-avatar-img {
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255,255,255,0.2) !important;
  flex-shrink: 0;
}
.c2c-meta-author-info { display: flex; flex-direction: column; gap: 2px; }
.c2c-author-name {
  font-family: var(--c2c-font-head);
  font-weight: 600; font-size: 14px; color: #fff;
}
.c2c-author-cred { font-size: 12px; color: rgba(255,255,255,0.55); }
.c2c-meta-divider { color: rgba(255,255,255,0.25); font-size: 20px; }
.c2c-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  font-family: var(--c2c-font-head);
}
.c2c-meta-item svg { opacity: 0.6; }
.c2c-meta-badge {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: var(--c2c-r-pill);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-family: var(--c2c-font-head);
}

/* ─── PAGE LAYOUT ───────────────────────────────────────────── */
.c2c-post-layout-wrap { background: var(--c2c-bg); padding: 52px 0 80px; }
.c2c-post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 960px) {
  .c2c-post-layout { grid-template-columns: 1fr; }
  .c2c-post-sidebar { order: -1; }
}

/* ─── EXEC SUMMARY ──────────────────────────────────────────── */
.c2c-exec-summary {
  background: var(--c2c-white);
  border-left: 5px solid var(--c2c-red);
  border-radius: 0 var(--c2c-r-md) var(--c2c-r-md) 0;
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: var(--c2c-shadow);
}
.c2c-exec-label {
  font-family: var(--c2c-font-head);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c2c-red); margin-bottom: 10px;
}
.c2c-exec-summary p {
  font-size: 15.5px; line-height: 1.7;
  color: var(--c2c-dark-70); margin: 0;
}

/* ─── TABLE OF CONTENTS ─────────────────────────────────────── */
.c2c-toc-box {
  background: var(--c2c-navy-light);
  border: 1px solid rgba(42,48,101,0.12);
  border-radius: var(--c2c-r-md);
  padding: 24px; margin-bottom: 40px;
}
.c2c-toc-title {
  font-family: var(--c2c-font-head);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c2c-navy); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.c2c-toc-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--c2c-red); border-radius: 2px;
}
.c2c-toc-list {
  list-style: none; margin: 0; padding: 0;
  counter-reset: toc-counter;
  display: flex; flex-direction: column; gap: 6px;
}
.c2c-toc-list li {
  counter-increment: toc-counter;
  display: flex; gap: 10px; align-items: baseline;
}
.c2c-toc-list li::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-family: var(--c2c-font-head);
  font-size: 11px; font-weight: 700;
  color: var(--c2c-red); min-width: 22px; flex-shrink: 0;
}
.c2c-toc-list a {
  font-size: 14.5px; font-weight: 500;
  color: var(--c2c-navy); font-family: var(--c2c-font-head);
  line-height: 1.4; text-decoration: none;
  transition: color 0.2s;
}
.c2c-toc-list a:hover { color: var(--c2c-red); }

/* ─── ARTICLE BODY TYPOGRAPHY ───────────────────────────────── */
.c2c-article-body {
  background: var(--c2c-white);
  border-radius: var(--c2c-r-lg);
  padding: 40px;
  box-shadow: var(--c2c-shadow);
}
@media (max-width: 600px) { .c2c-article-body { padding: 24px 20px; } }

.c2c-article-body h2 {
  font-family: var(--c2c-font-head) !important;
  font-size: clamp(20px, 2.8vw, 26px) !important;
  font-weight: 800 !important;
  color: var(--c2c-dark) !important;
  margin: 44px 0 18px !important;
  padding-top: 8px !important;
  border-top: 2px solid var(--c2c-border);
  line-height: 1.25 !important;
  scroll-margin-top: 100px;
}
.c2c-article-body h2:first-child { margin-top: 0 !important; border-top: none !important; }

.c2c-article-body h3 {
  font-family: var(--c2c-font-head) !important;
  font-size: clamp(17px, 2.2vw, 21px) !important;
  font-weight: 700 !important;
  color: var(--c2c-navy) !important;
  margin: 32px 0 14px !important;
  scroll-margin-top: 100px;
  display: flex; align-items: center; gap: 10px;
}
.c2c-article-body h3::before {
  content: '';
  display: inline-block;
  width: 3px; height: 20px;
  background: var(--c2c-red); border-radius: 2px; flex-shrink: 0;
}

.c2c-article-body h4 {
  font-family: var(--c2c-font-head) !important;
  font-size: 17px !important; font-weight: 700 !important;
  color: var(--c2c-dark) !important; margin: 24px 0 10px !important;
}

.c2c-article-body p {
  margin-bottom: 22px;
  color: var(--c2c-dark);
  font-size: 16.5px; line-height: 1.75;
}
.c2c-article-body p:last-child { margin-bottom: 0; }

.c2c-article-body ul,
.c2c-article-body ol {
  margin: 0 0 22px 0; padding-left: 22px;
}
.c2c-article-body li {
  margin-bottom: 10px; font-size: 16.5px; line-height: 1.7;
}
.c2c-article-body ul li::marker { color: var(--c2c-red); }
.c2c-article-body a { color: var(--c2c-red); font-weight: 500; }
.c2c-article-body strong { color: var(--c2c-dark); font-weight: 700; }
.c2c-article-body em { font-style: italic; color: var(--c2c-dark-70); }

/* Tables inside content */
.c2c-article-body table {
  width: 100%; border-collapse: collapse;
  margin: 28px 0; font-size: 15px;
  box-shadow: var(--c2c-shadow);
  border-radius: var(--c2c-r-md);
  overflow: hidden;
}
.c2c-article-body thead tr { background: var(--c2c-red); color: #fff; }
.c2c-article-body th {
  padding: 14px 18px; text-align: left;
  font-family: var(--c2c-font-head); font-weight: 700; font-size: 14px;
}
.c2c-article-body tbody tr:nth-child(odd)  { background: var(--c2c-white); }
.c2c-article-body tbody tr:nth-child(even) { background: var(--c2c-bg); }
.c2c-article-body tbody tr:hover           { background: var(--c2c-red-glow, rgba(230,57,70,0.06)); }
.c2c-article-body td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--c2c-border);
  line-height: 1.55;
}

/* Blockquote / callout */
.c2c-article-body blockquote {
  background: linear-gradient(135deg, rgba(230,57,70,0.06) 0%, rgba(42,48,101,0.04) 100%);
  border-left: 4px solid var(--c2c-red);
  border-radius: 0 var(--c2c-r-sm) var(--c2c-r-sm) 0;
  padding: 18px 22px; margin: 30px 0;
  font-size: 15.5px;
}

/* Video embeds */
.c2c-article-body iframe {
  max-width: 100%;
  border-radius: var(--c2c-r-md);
  margin: 24px 0;
}
.c2c-article-body .wp-block-embed,
.c2c-article-body .rll-youtube-player {
  border-radius: var(--c2c-r-md);
  overflow: hidden;
  box-shadow: var(--c2c-shadow);
  margin: 32px 0;
}

/* ─── POST FOOTER: TAGS + SHARE ─────────────────────────────── */
.c2c-post-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: var(--c2c-bg);
  border-radius: var(--c2c-r-md);
  margin-top: 40px;
  border: 1px solid var(--c2c-border);
}
.c2c-post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.c2c-tags-label {
  font-family: var(--c2c-font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c2c-dark-40); margin-right: 4px;
}
.c2c-post-tag {
  background: var(--c2c-white); border: 1px solid var(--c2c-border-mid);
  color: var(--c2c-navy); padding: 5px 12px;
  border-radius: var(--c2c-r-pill); font-size: 12.5px;
  font-weight: 500; font-family: var(--c2c-font-head);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.c2c-post-tag:hover { border-color: var(--c2c-red); color: var(--c2c-red); }
.c2c-share-row { display: flex; align-items: center; gap: 10px; }
.c2c-share-label {
  font-family: var(--c2c-font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--c2c-dark-40);
}
.c2c-share-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none;
  transition: transform 0.2s;
}
.c2c-share-btn:hover { transform: scale(1.15); }
.c2c-share-btn.fb { background: #1877f2; color: #fff; }
.c2c-share-btn.tw { background: #000;    color: #fff; }
.c2c-share-btn.li { background: #0077b5; color: #fff; }
.c2c-share-btn.em { background: var(--c2c-red); color: #fff; }

/* ─── AUTHOR BIO ─────────────────────────────────────────────── */
.c2c-author-bio {
  display: flex; gap: 22px;
  background: var(--c2c-white);
  border: 2px solid var(--c2c-border);
  border-radius: var(--c2c-r-lg);
  padding: 28px; margin-top: 48px;
  box-shadow: var(--c2c-shadow); flex-wrap: wrap;
}
.c2c-author-bio-avatar-img {
  width: 110px !important; height: 110px !important;
  border-radius: 50% !important; flex-shrink: 0;
  border: 3px solid rgba(157, 54, 55, 0.25) !important;
  align-self: flex-start;
}
.c2c-author-bio-content { flex: 1; min-width: 240px; }
.c2c-author-bio-label {
  font-family: var(--c2c-font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c2c-red); margin-bottom: 6px;
}
.c2c-author-bio-name {
  font-family: var(--c2c-font-head); font-size: 18px; font-weight: 700;
  color: var(--c2c-dark); margin-bottom: 8px;
}
.c2c-author-bio-text {
  font-size: 14.5px; color: var(--c2c-dark-70); line-height: 1.65;
}
.c2c-author-bio-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; font-size: 13px; font-weight: 600;
  font-family: var(--c2c-font-head); color: #0077b5; text-decoration: none;
}

/* ─── POST BOTTOM GRID ──────────────────────────────────────── */
.c2c-post-bottom-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; margin-top: 40px;
}
@media (max-width: 640px) { .c2c-post-bottom-grid { grid-template-columns: 1fr; } }

/* Recent Posts list (inside bottom grid) */
.c2c-recent-list { display: flex; flex-direction: column; gap: 16px; }
.c2c-recent-item { display: flex; gap: 12px; align-items: flex-start; }
.c2c-recent-thumb-wrap {
  width: 60px; height: 50px; border-radius: 6px;
  background: var(--c2c-navy-light);
  flex-shrink: 0; overflow: hidden;
}
.c2c-recent-thumb { width: 60px !important; height: 50px !important; object-fit: cover !important; }
.c2c-recent-thumb-placeholder {
  width: 60px; height: 50px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.c2c-recent-title {
  font-family: var(--c2c-font-head); font-size: 13.5px; font-weight: 600;
  color: var(--c2c-dark); line-height: 1.4; margin-bottom: 4px;
}
.c2c-recent-title a { color: var(--c2c-dark); text-decoration: none; }
.c2c-recent-title a:hover { color: var(--c2c-red); }
.c2c-recent-date {
  font-size: 12px; color: var(--c2c-dark-40); font-family: var(--c2c-font-head);
}

/* Course Locations list */
.c2c-locations-list { display: flex; flex-direction: column; gap: 10px; }
.c2c-location-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--c2c-dark); font-family: var(--c2c-font-head);
  font-size: 14px; font-weight: 600;
  text-decoration: none; padding: 10px 14px;
  border: 1px solid var(--c2c-border); border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.c2c-location-link:hover { border-color: var(--c2c-red); color: var(--c2c-red); }
.c2c-location-link.c2c-location-all {
  color: var(--c2c-red); font-weight: 700;
  border-color: rgba(230,57,70,0.30);
}
.c2c-pin { color: var(--c2c-red); }

/* ─── RELATED POSTS ─────────────────────────────────────────── */
.c2c-related-posts { margin-top: 56px; }
.c2c-related-title {
  font-family: var(--c2c-font-head); font-size: 20px; font-weight: 800;
  color: var(--c2c-dark); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.c2c-related-title::before {
  content: ''; width: 5px; height: 22px;
  background: var(--c2c-red); border-radius: 2px; flex-shrink: 0;
}
.c2c-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 800px) { .c2c-related-grid { grid-template-columns: 1fr; } }

.c2c-related-card {
  background: var(--c2c-white); border-radius: var(--c2c-r-md);
  overflow: hidden; box-shadow: var(--c2c-shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.c2c-related-card:hover { box-shadow: var(--c2c-shadow-hover); transform: translateY(-3px); }
.c2c-related-card-img {
  height: 140px;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(70, 100, 240, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(36, 6, 102, 0.60) 0%, transparent 50%),
    linear-gradient(145deg, #1E2154 0%, #322485 45%, #240666 100%);
  overflow: hidden;
}
.c2c-related-card-img img { width: 100%; height: 140px; object-fit: cover; }
.c2c-related-card-placeholder {
  height: 140px; display: flex; align-items: center;
  justify-content: center; font-size: 36px; opacity: 0.5;
}
.c2c-related-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.c2c-related-card-cat {
  font-family: var(--c2c-font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c2c-red); margin-bottom: 8px;
}
.c2c-related-card-title {
  font-family: var(--c2c-font-head); font-size: 15px; font-weight: 700;
  color: var(--c2c-dark); line-height: 1.35; margin-bottom: 12px; flex: 1;
}
.c2c-related-card-title a { color: var(--c2c-dark); text-decoration: none; }
.c2c-related-card-title a:hover { color: var(--c2c-red); }
.c2c-related-read {
  font-family: var(--c2c-font-head); font-size: 13px; font-weight: 600;
  color: var(--c2c-red); text-decoration: none;
}
.c2c-related-read:hover { text-decoration: underline; }

/* ─── SIDEBAR ────────────────────────────────────────────────── */
.c2c-post-sidebar { display: flex; flex-direction: column; gap: 28px; }

.c2c-sidebar-widget {
  background: var(--c2c-white); border-radius: var(--c2c-r-lg);
  padding: 26px; box-shadow: var(--c2c-shadow);
}
.c2c-sidebar-widget-title {
  font-family: var(--c2c-font-head); font-size: 14px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.10em;
  color: var(--c2c-dark); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--c2c-border);
  display: flex; align-items: center; gap: 8px;
}
.c2c-sidebar-widget-title::before {
  content: ''; width: 3px; height: 16px;
  background: var(--c2c-red); border-radius: 2px; flex-shrink: 0;
}

/* Sidebar CTA */
.c2c-sidebar-cta {
  background:
    radial-gradient(ellipse at 80% 15%, rgba(70, 100, 240, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(36, 6, 102, 0.60) 0%, transparent 50%),
    linear-gradient(145deg, #1E2154 0%, #322485 45%, #240666 100%);
  border-radius: var(--c2c-r-lg); padding: 28px 22px;
  box-shadow: var(--c2c-shadow); text-align: center;
}
.c2c-sidebar-cta-eyebrow {
  font-family: var(--c2c-font-head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.50); margin-bottom: 10px;
}
.c2c-sidebar-cta-title {
  font-family: var(--c2c-font-head); font-size: 20px; font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: 14px;
}
.c2c-sidebar-cta-desc {
  font-size: 14px; color: rgba(255,255,255,0.65);
  line-height: 1.6; margin-bottom: 22px;
}
.c2c-sidebar-cta-btn {
  display: block; background: var(--c2c-red);
  color: #fff !important; padding: 14px 20px;
  border-radius: var(--c2c-r-sm);
  font-family: var(--c2c-font-head); font-size: 15px; font-weight: 700;
  box-shadow: var(--c2c-shadow-red); text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
}
.c2c-sidebar-cta-btn:hover { background: var(--c2c-red-dark); transform: translateY(-2px); }
.c2c-trust-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.c2c-trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.60);
  font-family: var(--c2c-font-head);
}
.c2c-trust-badge::before { content: '✓'; color: #4ade80; font-weight: 700; font-size: 14px; }

/* Quick Facts */
.c2c-quick-fact-list { display: flex; flex-direction: column; gap: 12px; }
.c2c-quick-fact {
  display: flex; align-items: flex-start; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--c2c-border);
}
.c2c-quick-fact:last-child { border-bottom: none; padding-bottom: 0; }
.c2c-quick-fact-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(230,57,70,0.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.c2c-quick-fact-label {
  font-family: var(--c2c-font-head); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--c2c-dark-40); margin-bottom: 2px;
}
.c2c-quick-fact-value {
  font-family: var(--c2c-font-head); font-size: 15px; font-weight: 700;
  color: var(--c2c-dark);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .c2c-post-layout-wrap { padding: 28px 0 48px; }
  .c2c-post-hero         { padding: 40px 0 0; }
  .c2c-author-bio        { flex-direction: column; }
  .c2c-post-meta-row     { gap: 12px; }
}
/* ─── HERO AUTHOR JUMP LINK ──────────────────────────────────────────── */
a.c2c-meta-author.c2c-author-jump {
  text-decoration: none;
  cursor: pointer;
  border-radius: 40px;
  padding: 4px 10px 4px 4px;
  margin: -4px -10px -4px -4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 12px;
}

a.c2c-meta-author.c2c-author-jump:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Subtle "read bio" underline on the author name */
a.c2c-meta-author.c2c-author-jump .c2c-author-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s;
}

a.c2c-meta-author.c2c-author-jump:hover .c2c-author-name {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

/* Down-arrow icon inside the author name */
.c2c-author-jump-icon {
  opacity: 0.55;
  transform: translateY(0);
  transition: transform 0.25s, opacity 0.2s;
  flex-shrink: 0;
}

a.c2c-meta-author.c2c-author-jump:hover .c2c-author-jump-icon {
  opacity: 0.9;
  transform: translateY(3px);
}

/* ─── AUTHOR BIO LANDING HIGHLIGHT ──────────────────────────────────── */
/* When the user clicks the jump link, the bio section glows briefly     */

@keyframes c2c-bio-highlight {
  0%   { box-shadow: 0 0 0 0 rgba(157, 54, 55, 0.00); }
  25%  { box-shadow: 0 0 0 4px rgba(157, 54, 55, 0.35); }
  100% { box-shadow: 0 0 0 0 rgba(157, 54, 55, 0.00); }
}

.c2c-author-bio:target,
.c2c-author-bio.c2c-bio-highlighted {
  animation: c2c-bio-highlight 1.4s ease-out forwards;
  scroll-margin-top: 110px; /* clears sticky header */
}

/* Ensure smooth scroll is active site-wide (safe to add) */
html {
  scroll-behavior: smooth;
}

/* ─── AUTHOR BIO — LABEL ROW WITH LINKEDIN ICON ─────────────────────── */
.c2c-author-bio-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

/* LinkedIn icon link */
.c2c-linkedin-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #0A66C2;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
}

.c2c-linkedin-icon-link:hover {
    background: #004182;
    transform: translateY(-2px);
}

.c2c-linkedin-svg {
    width: 14px;
    height: 14px;
    fill: #ffffff;
    display: block;
}

/* ─── BREADCRUMB — now lives inside the dark hero ────────────────────── */
/* Remove the old standalone white-bar styles                              */
.c2c-post-hero .c2c-breadcrumb-bar {
    background: transparent;
    border-bottom: none;
    padding: 0 0 18px 0;
    margin: 0;
}

.c2c-post-hero .c2c-breadcrumb {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
    gap: 5px;
}

.c2c-post-hero .c2c-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.c2c-post-hero .c2c-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

.c2c-post-hero .c2c-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.30);
}

.c2c-post-hero .c2c-breadcrumb .current {
    color: rgba(255, 255, 255, 0.80);
    font-weight: 600;
    /* Truncate long titles on mobile */
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── HIDE THEME / PLUGIN AUTHOR BOX ────────────────────────────────── */
/* JupiterX and many WP themes inject their own author bio box.           */
/* We have our own .c2c-author-bio — suppress every known variant.        */
.c2c-article-body .author-box,
.c2c-article-body .author-bio,
.c2c-article-body .post-author,
.c2c-article-body .entry-author,
.c2c-article-body .author-card,
.c2c-article-body .author-profile,
.jupiterx-post-author,
.rh-post-author,
.post-author-section,
[class*="author-box"],
[class*="author-bio"]:not(.c2c-author-bio):not(.c2c-author-bio-content):not(.c2c-author-bio-label):not(.c2c-author-bio-name):not(.c2c-author-bio-text):not(.c2c-author-bio-link):not(.c2c-author-bio-avatar-img) {
    display: none !important;
}

/* ─── COURSE LOCATIONS: single-column when alone ────────────────────── */
.c2c-locations-only {
    grid-template-columns: 1fr;   /* was 2-col grid when next to recent posts */
}

/* ─────────────────────────────────────────────────────────────────────
   MOBILE SECTION ORDER
   Desired:  1 hero  2 exec-summary  3 content  4 course-locations
             5 related-articles  6 author-bio  7 sidebar-CTA
   ───────────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {

    /* Let the page-level grid stack naturally (main then sidebar) */
    .c2c-post-layout {
        display: flex;
        flex-direction: column;
    }

    /* Sidebar CTA goes LAST — override the old order: -1 */
    .c2c-post-sidebar {
        order: 10 !important;
    }

    /* Make the main column a flex stack so we can control order */
    .c2c-post-main {
        display: flex;
        flex-direction: column;
    }

    /* Assign explicit order to every direct section */
    .c2c-exec-summary          { order: 1; }   /* exec summary FIRST */
    .c2c-toc-box               { order: 2; }   /* TOC second */
    .c2c-article-body          { order: 3; }
    .c2c-post-footer           { order: 4; }   /* tags + share */
    .c2c-related-posts         { order: 5; }   /* related articles */
    .c2c-location-cards-section{ order: 6; }   /* course locations AFTER related */
    .c2c-post-bottom-grid      { order: 6; }   /* fallback if class ever reverts */
    .c2c-author-bio            { order: 7; }   /* author bio last */

    /* Quick-facts widget inside sidebar — hide on mobile (CTA is enough) */
    .c2c-post-sidebar .c2c-sidebar-widget:not(.c2c-sidebar-cta) {
        display: none;
    }
}

/* ─── COURSE LOCATION CARDS ──────────────────────────────────────────── */
.c2c-location-cards-section {
    margin-top: 40px;
}

/* Section header row */
.c2c-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.c2c-section-title {
    font-family: var(--c2c-font-head);
    font-size: 20px;
    font-weight: 800;
    color: var(--c2c-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.c2c-section-title::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--c2c-red);
    border-radius: 2px;
    flex-shrink: 0;
}

.c2c-section-all-link {
    font-family: var(--c2c-font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--c2c-red);
    text-decoration: none;
    transition: opacity 0.2s;
}

.c2c-section-all-link:hover { opacity: 0.75; }

/* 2-column grid of cards */
.c2c-location-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 600px) {
    .c2c-location-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual card */
.c2c-location-card {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--c2c-white);
    border: 1px solid var(--c2c-border);
    border-radius: var(--c2c-r-md);
    overflow: hidden;
    box-shadow: var(--c2c-shadow);
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 72px;
}

.c2c-location-card:hover {
    box-shadow: var(--c2c-shadow-hover);
    transform: translateY(-2px);
}

/* Map thumbnail — left side */
.c2c-location-map-thumb {
    width: 80px;
    min-width: 80px;
    height: 72px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1E2154 0%, #322485 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.c2c-map-pin-icon {
    width: 36px;
    height: 48px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.30));
}

/* Card body — center */
.c2c-location-card-body {
    flex: 1;
    padding: 10px 12px;
    min-width: 0;
}

.c2c-location-card-name {
    font-family: var(--c2c-font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--c2c-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c2c-location-card-name:hover { color: var(--c2c-red); }

.c2c-location-card-city {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--c2c-font-head);
    font-size: 11px;
    font-weight: 500;
    color: var(--c2c-dark-40);
}

.c2c-location-card-city svg {
    color: var(--c2c-red);
    flex-shrink: 0;
}

/* Directions arrow button — right side */
.c2c-location-dir-btn {
    width: 44px;
    min-width: 44px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c2c-bg);
    border-left: 1px solid var(--c2c-border);
    color: var(--c2c-navy);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.c2c-location-dir-btn:hover {
    background: var(--c2c-navy);
    color: #fff;
}

.c2c-location-dir-btn svg {
    flex-shrink: 0;
}

/* ─── LAST UPDATED META ITEM ─────────────────────────────────────────── */
.c2c-meta-updated {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    padding: 3px 10px 3px 7px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.c2c-updated-label {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.c2c-category-tags span { cursor: default; }

/* ─── HIDE THEME BUILT-IN AUTHOR BOX ────────────────────────────────── */
/* Hides the JupiterX / WordPress "Author" heading + empty box           */
/* that appears inside the article body content area.                    */
.jupiterx-post-author,
.post-author-section,
.author-box,
.author-widget,
.entry-author,
.widget-author,
.post-author,
h3.author,
h4.author,
.c2c-article-body ~ div[class*="author"]:not(.c2c-author-bio),
.c2c-article-body + .author,
.jupiterx-single .author-section,
.jupiterx-single .post-author,
[class*="jupiterx"][class*="author"] {
    display: none !important;
}

/* ─── HIDE PUBLISHPRESS AUTHORS PLUGIN BOX ───────────────────────────── */
/* Targets the exact plugin classes from the inspected element            */
.pp-multiple-authors-boxes-li,
.pp-multiple-authors-boxes-wrapper,
.pp-multiple-authors-layout,
ul.pp-multiple-authors-boxes-ul,
.multiple-authors-box,
span.pp-multiple-authors-boxes-wrapper,
div.pp-author-boxes-avatar,
.pp-author-boxes-name,
.pp-author-boxes-description {
    display: none !important;
}