/* ==========================================================================
   TechMonarch Enterprise Case Studies Styling
   ========================================================================== */

:root {
  --tm-navy: #091242;
  --tm-navy-dark: #060c2c;
  --tm-orange: #fc6736;
  --tm-orange-hover: #e55324;
  --tm-dark: #111827;
  --tm-text: #334155;
  --tm-heading: #091242;
  --tm-muted: #64748b;
  --tm-light-bg: #f8fafc;
  --tm-border: #e2e8f0;
  --tm-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --tm-hover-shadow: 0 16px 32px rgba(9, 18, 66, 0.1);
  --tm-radius: 12px;
  --tm-radius-lg: 16px;
}

/* Reset fix for global button margin-top in theme */
.tm-cs-single-page button,
.tm-cs-single-page a.tm-btn-primary,
.tm-cs-single-page a.tm-btn-outline,
.tm-cs-single-page a.tm-share-btn {
  margin-top: 0 !important;
}

/* Wrapper */
.tm-cs-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. Hero Banner Section
   -------------------------------------------------------------------------- */
.tm-cs-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 130px 0 85px;
  color: #ffffff;
  overflow: hidden;
  margin-top: 0 !important; /* override global section margin if needed */
}

.tm-cs-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(9, 18, 66, 0.96) 0%, rgba(9, 18, 66, 0.88) 60%, rgba(6, 12, 44, 0.95) 100%);
  z-index: 1;
}

.tm-cs-hero .tm-cs-wrapper {
  position: relative;
  z-index: 2;
}

/* Breadcrumbs */
.tm-cs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 22px;
  font-family: "Outfit", sans-serif;
}

.tm-cs-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tm-cs-breadcrumbs a:hover {
  color: var(--tm-orange);
}

.tm-cs-breadcrumbs .tm-sep {
  color: #64748b;
  font-size: 11px;
}

.tm-cs-breadcrumbs .tm-current {
  color: #f1f5f9;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Badges / Tags */
.tm-cs-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tm-cs-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(252, 103, 54, 0.16);
  border: 1px solid rgba(252, 103, 54, 0.45);
  color: #ffaa88;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: "Outfit", sans-serif;
}

.tm-cs-industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: "Outfit", sans-serif;
}

/* Title & Executive Summary */
.tm-cs-title {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 18px 0;
  max-width: 980px;
  letter-spacing: -0.5px;
}

.tm-cs-exec-summary {
  max-width: 900px;
  margin-bottom: 36px;
}

.tm-cs-exec-summary p {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
  font-weight: 400;
}

/* 4 Metrics Grid (In Hero) */
.tm-cs-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tm-cs-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.tm-cs-metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--tm-orange), #ff9f43);
  opacity: 0.85;
}

.tm-cs-metric-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(252, 103, 54, 0.4);
}

.tm-cs-metric-val {
  font-family: "Outfit", sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.tm-cs-metric-lbl {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   2. Body & 2-Column Responsive Layout
   -------------------------------------------------------------------------- */
.tm-cs-body-section {
  padding: 60px 0 80px;
  background-color: #f8fafc;
  margin-top: 0 !important;
}

.tm-cs-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
}

/* Featured Media */
.tm-cs-featured-image-wrapper {
  margin-bottom: 32px;
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  box-shadow: var(--tm-card-shadow);
  border: 1px solid var(--tm-border);
  background: #ffffff;
}

.tm-cs-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 440px;
}

/* Left Content Blocks */
.tm-cs-main-content {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  padding: 45px 45px;
  border: 1px solid var(--tm-border);
  box-shadow: var(--tm-card-shadow);
}

.tm-cs-block {
  margin-bottom: 45px;
  padding-bottom: 35px;
  border-bottom: 1px solid #edf2f7;
}

.tm-cs-block:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
  padding-bottom: 0;
}

.tm-cs-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.tm-cs-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(252, 103, 54, 0.12);
  color: var(--tm-orange);
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.tm-cs-block-header h2 {
  font-family: "Outfit", sans-serif;
  font-size: 25px;
  font-weight: 800;
  color: var(--tm-heading);
  margin: 0;
  letter-spacing: -0.3px;
}

/* Callout Box (The Challenge) */
.tm-cs-callout-warning {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff8f5;
  border-left: 4px solid var(--tm-orange);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
}

.tm-cs-callout-icon {
  color: var(--tm-orange);
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.tm-cs-callout-text {
  font-size: 14px;
  line-height: 1.55;
  color: #1e293b;
}

.tm-cs-callout-text strong {
  color: var(--tm-heading);
  display: block;
  margin-bottom: 2px;
  font-family: "Outfit", sans-serif;
}

/* Rich Content Typography */
.tm-rich-text {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--tm-text);
}

.tm-rich-text p {
  margin: 0 0 18px 0;
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.tm-rich-text strong {
  color: #0f172a;
  font-weight: 700;
}

.tm-rich-text ul,
.tm-rich-text ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.tm-rich-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  line-height: 1.65;
}

.tm-rich-text ul li::before {
  content: "\f058"; /* FontAwesome check-circle */
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--tm-orange);
  font-size: 16px;
}

.tm-rich-text ol {
  counter-reset: tm-step-counter;
}

.tm-rich-text ol li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
  counter-increment: tm-step-counter;
  line-height: 1.65;
}

.tm-rich-text ol li::before {
  content: counter(tm-step-counter);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--tm-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

/* --------------------------------------------------------------------------
   3. Client Executive Testimonial Block
   -------------------------------------------------------------------------- */
.tm-cs-testimonial-card {
  background: linear-gradient(135deg, #091242 0%, #0d1a58 100%);
  color: #ffffff;
  border-radius: var(--tm-radius);
  padding: 36px 36px;
  margin: 40px 0 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(9, 18, 66, 0.15);
}

.tm-cs-testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(252, 103, 54, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.tm-cs-quote-mark {
  color: var(--tm-orange);
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.tm-cs-quote-text {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  line-height: 1.6;
  font-style: italic;
  color: #f1f5f9;
  margin: 0 0 24px 0;
  font-weight: 400;
}

.tm-cs-quote-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tm-cs-quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tm-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(252, 103, 54, 0.4);
}

.tm-cs-quote-details {
  display: flex;
  flex-direction: column;
}

.tm-cs-quote-name {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  font-style: normal;
}

.tm-cs-quote-title {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   4. Tech Stack Badges
   -------------------------------------------------------------------------- */
.tm-cs-tech-stack-wrap {
  background: var(--tm-light-bg);
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 24px 28px;
  margin: 35px 0;
}

.tm-cs-tech-stack-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--tm-heading);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tm-cs-tech-stack-title i {
  color: var(--tm-orange);
}

.tm-cs-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tm-cs-tech-badge {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tm-cs-tech-badge:hover {
  border-color: var(--tm-orange);
  color: var(--tm-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(252, 103, 54, 0.12);
}

/* --------------------------------------------------------------------------
   5. Share Action Bar
   -------------------------------------------------------------------------- */
.tm-cs-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--tm-border);
  margin-top: 35px;
  flex-wrap: wrap;
  gap: 16px;
}

.tm-cs-share-label {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--tm-heading);
}

.tm-cs-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-share-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  margin: 0 !important;
  border: none;
  cursor: pointer;
}

.tm-share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.tm-share-li {
  background: #0077b5;
}

.tm-share-tw {
  background: #000000;
}

.tm-share-wa {
  background: #25d366;
}

.tm-share-copy {
  background: #475569;
}

.tm-share-copy.copied {
  background: #10b981 !important;
}

/* --------------------------------------------------------------------------
   6. Right Sidebar (Sticky Snapshot & Lead Gen Widget)
   -------------------------------------------------------------------------- */
.tm-cs-sidebar {
  position: sticky;
  top: 105px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tm-cs-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--tm-card-shadow);
}

/* Snapshot Card */
.tm-cs-snapshot-card .tm-cs-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tm-border);
  margin-bottom: 18px;
}

.tm-cs-snapshot-card .tm-cs-card-header i {
  color: var(--tm-orange);
  font-size: 18px;
}

.tm-cs-snapshot-card .tm-cs-card-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--tm-heading);
  margin: 0;
}

.tm-cs-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tm-cs-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tm-cs-spec-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(9, 18, 66, 0.05);
  color: var(--tm-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tm-cs-spec-text {
  display: flex;
  flex-direction: column;
}

.tm-cs-spec-lbl {
  font-size: 12px;
  color: var(--tm-muted);
  font-weight: 500;
  font-family: "Manrope", sans-serif;
}

.tm-cs-spec-val {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-top: 2px;
  font-family: "Outfit", sans-serif;
}

.tm-cs-download-action {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tm-border);
}

.tm-cs-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tm-light-bg);
  border: 1px solid #cbd5e1;
  color: var(--tm-navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.tm-cs-btn-download:hover {
  background: var(--tm-navy);
  color: #ffffff;
  border-color: var(--tm-navy);
}

/* High-Converting CTA Widget */
.tm-cs-cta-widget {
  background: linear-gradient(135deg, #091242 0%, #0d1a58 100%);
  color: #ffffff;
  border: 1px solid rgba(252, 103, 54, 0.3);
  position: relative;
  overflow: hidden;
}

.tm-cs-cta-widget::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 103, 54, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.tm-cs-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(252, 103, 54, 0.18);
  border: 1px solid rgba(252, 103, 54, 0.4);
  color: #ffaa88;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
  font-family: "Outfit", sans-serif;
}

.tm-cs-cta-title {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 12px 0;
}

.tm-cs-cta-desc {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

.tm-cs-cta-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tm-orange);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(252, 103, 54, 0.35);
  margin-top: 0 !important;
}

.tm-cs-cta-btn:hover {
  background: var(--tm-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 103, 54, 0.45);
}

.tm-cs-cta-guarantee {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: #94a3b8;
  font-family: "Manrope", sans-serif;
}

.tm-cs-cta-guarantee i {
  color: #10b981;
  margin-right: 4px;
}

/* Related Case Studies Widget */
.tm-cs-related-card .tm-cs-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tm-border);
  margin-bottom: 16px;
}

.tm-cs-related-card .tm-cs-card-header i {
  color: var(--tm-orange);
  font-size: 17px;
}

.tm-cs-related-card .tm-cs-card-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--tm-heading);
  margin: 0;
}

.tm-cs-related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tm-cs-related-item {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  background: var(--tm-light-bg);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.tm-cs-related-item:hover {
  border-color: var(--tm-orange);
  background: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tm-cs-rel-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tm-orange);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  font-family: "Outfit", sans-serif;
}

.tm-cs-rel-title {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--tm-heading);
  line-height: 1.35;
  margin: 0 0 6px 0;
}

.tm-cs-rel-read {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
}

.tm-cs-related-item:hover .tm-cs-rel-read {
  color: var(--tm-orange);
}

/* --------------------------------------------------------------------------
   7. Bottom Global Banner CTA
   -------------------------------------------------------------------------- */
.tm-cs-bottom-banner {
  background: linear-gradient(135deg, #060c2c 0%, #091242 100%);
  color: #ffffff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
}

.tm-cs-bottom-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.tm-cs-bottom-text {
  max-width: 680px;
}

.tm-cs-subtag {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--tm-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.tm-cs-bottom-text h2 {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.tm-cs-bottom-text p {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.tm-cs-bottom-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tm-cs-bottom-actions .tm-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tm-orange);
  color: #ffffff;
  padding: 14px 26px;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(252, 103, 54, 0.3);
}

.tm-cs-bottom-actions .tm-btn-primary:hover {
  background: var(--tm-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(252, 103, 54, 0.45);
}

.tm-cs-bottom-actions .tm-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 14px 24px;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.tm-cs-bottom-actions .tm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. Prev / Next Navigation Bar
   -------------------------------------------------------------------------- */
.tm-cs-nav-section {
  background: #ffffff;
  border-top: 1px solid var(--tm-border);
  padding: 24px 0;
}

.tm-cs-nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.tm-cs-nav-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tm-cs-nav-prev a {
  align-items: flex-start;
}

.tm-cs-nav-next a {
  align-items: flex-end;
  text-align: right;
}

.tm-nav-dir {
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  color: var(--tm-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.tm-nav-title {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-heading);
  line-height: 1.35;
  max-width: 380px;
  transition: color 0.2s ease;
}

.tm-cs-nav-item a:hover .tm-nav-title {
  color: var(--tm-orange);
}

.tm-cs-nav-all a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--tm-light-bg);
  border: 1px solid var(--tm-border);
  color: var(--tm-heading);
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tm-cs-nav-all a:hover {
  background: var(--tm-navy);
  color: #ffffff;
  border-color: var(--tm-navy);
}

/* --------------------------------------------------------------------------
   9. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .tm-cs-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tm-cs-sidebar {
    position: static;
  }

  .tm-cs-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tm-cs-hero {
    padding: 100px 0 60px;
  }

  .tm-cs-title {
    font-size: 28px;
  }

  .tm-cs-exec-summary p {
    font-size: 16px;
  }

  .tm-cs-main-content {
    padding: 30px 20px;
  }

  .tm-cs-metrics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tm-cs-bottom-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .tm-cs-bottom-actions {
    justify-content: center;
    width: 100%;
  }

  .tm-cs-nav-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tm-cs-nav-next a {
    align-items: flex-start;
    text-align: left;
  }

  .tm-cs-nav-all {
    text-align: center;
  }
}

