/* ============================================================
   YOUR IT AND TECH MATES — Case Study Master CSS
   Single consolidated file · No patch layers · v6
   ============================================================ */

/* --------------------------------------------------
   1. CUSTOM PROPERTIES (one :root, no duplicates)
   -------------------------------------------------- */
:root {
  /* Brand font — loaded via <link> in HTML, no @import needed */
  --brand-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --brand-orange: #ff5f3a;
  --nav-hover: #c43b1c;

  /* Header */
  --hdr-bg:     rgba(255, 251, 245, 0.97);
  --hdr-border: rgba(190, 140, 100, 0.20);
  --hdr-shadow: 0 2px 28px rgba(50, 20, 5, 0.07), 0 1px 0 rgba(255,255,255,0.72);
  --stripe:     linear-gradient(90deg, #ff5f3a 0%, #ff9460 45%, #20b2aa 100%);

  /* Footer */
  --ftr-bg:     #1c0e08;
  --ftr-glow-a: rgba(255, 95, 58, 0.13);
  --ftr-glow-b: rgba(32, 178, 170, 0.09);
  --ftr-text:   rgba(255, 255, 255, 0.64);
  --ftr-link:   rgba(255, 255, 255, 0.70);
  --ftr-hover:  #ff9470;

  /* Page */
  background: #fffaf2;
}

html { background: #fffaf2; margin: 0; }
body { margin: 0; background: #fffaf2; }

/* --------------------------------------------------
   2. YITM POST CONTENT — base + theme tokens
   -------------------------------------------------- */
.yitm-post, .yitm-post * { box-sizing: border-box; }
.yitm-post {
  /* Default theme tokens (overridden by theme-* classes) */
  --bg: #fff; --bg2: #f8fafc; --text: #334155; --text-dark: #0f172a;
  --muted: #64748b; --line: #e2e8f0; --accent: #2563eb;
  --accent-dark: #1d4ed8; --accent-soft: #dbeafe; --accent-soft-2: #eff6ff;
  --accent-rgb: 37,99,235;

  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 110px;
  color: var(--text);
  /* Outfit applied here — was system-font fallback before */
  font-family: var(--brand-font);
  line-height: 1.7;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 55%, #fff 100%);
}

/* Theme colour overrides */
.theme-monday-fix      { --bg:#fff7ed;--bg2:#fffbeb;--text:#43382e;--text-dark:#7c2d12;--muted:#7c6b5f;--line:#fed7aa;--accent:#f97316;--accent-dark:#c2410c;--accent-soft:#ffedd5;--accent-soft-2:#fff7ed;--accent-rgb:249,115,22 }
.theme-scam-watch      { --bg:#f0fdfa;--bg2:#ecfeff;--text:#27434a;--text-dark:#134e4a;--muted:#5f7b80;--line:#bde9e2;--accent:#0f766e;--accent-dark:#115e59;--accent-soft:#ccfbf1;--accent-soft-2:#ecfeff;--accent-rgb:15,118,110 }
.theme-ndis-senior     { --bg:#faf5ff;--bg2:#f5f3ff;--text:#334155;--text-dark:#2e1065;--muted:#6b7280;--line:#eadcff;--accent:#7c3aed;--accent-dark:#5b21b6;--accent-soft:#f3e8ff;--accent-soft-2:#ede9fe;--accent-rgb:124,58,237 }
.theme-software-ai-business { --bg:#fff1f2;--bg2:#fff7ed;--text:#423136;--text-dark:#881337;--muted:#7b6470;--line:#fecdd3;--accent:#e11d48;--accent-dark:#be123c;--accent-soft:#ffe4e6;--accent-soft-2:#fff1f2;--accent-rgb:225,29,72 }

/* --------------------------------------------------
   3. TYPOGRAPHY & LINKS
   -------------------------------------------------- */
.yitm-post a               { color: var(--accent); text-decoration: none; }
.yitm-post a:hover         { color: var(--accent-dark); }
.yitm-post strong          { color: var(--text-dark); }
.yitm-inline-link          { font-weight: 700; color: var(--accent); }
.yitm-brand-pitch          { font-size: 18px; line-height: 1.85; color: #475569; }
.yitm-brand-pitch strong   { color: var(--text-dark); }

/* --------------------------------------------------
   4. HERO
   -------------------------------------------------- */
.yitm-wrap          { display: grid; gap: 32px; }
.yitm-breadcrumbs   { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.yitm-breadcrumbs span { color: var(--text-dark); }

.yitm-hero          { position: relative; overflow: hidden; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.75); border-radius: 32px; padding: 24px; box-shadow: 0 20px 70px -30px rgba(var(--accent-rgb),.35); }
.yitm-hero::before  { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 999px; background: radial-gradient(circle,rgba(var(--accent-rgb),.22),rgba(var(--accent-rgb),0) 65%); }
.yitm-hero-grid     { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }

.yitm-badge         { display: inline-flex; border-radius: 999px; font-weight: 800; padding: 9px 14px; font-size: 14px; color: var(--accent-dark); background: var(--accent-soft); border: 1px solid var(--line); margin-bottom: 14px; }
.yitm-title         { margin: 0; color: var(--text-dark); font-size: 48px; line-height: 1.08; letter-spacing: -.03em; font-weight: 900; max-width: 850px; }
.yitm-subtitle      { margin: 18px 0 0; font-size: 20px; line-height: 1.7; max-width: 760px; }

.yitm-chip-row,
.yitm-cta-row,
.yitm-meta-row,
.yitm-bottom-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.yitm-chip          { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; font-size: 14px; font-weight: 700; color: var(--text); }
.yitm-meta-row      { gap: 18px; color: var(--muted); font-size: 14px; font-weight: 600; }

.yitm-hero-media img { width: 100%; height: auto; display: block; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(15,23,42,.12); }
.yitm-mini-grid     { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.yitm-mini-card     { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.yitm-mini-label    { font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.yitm-mini-value    { margin-top: 8px; font-size: 28px; line-height: 1.1; font-weight: 900; color: var(--text-dark); }

/* --------------------------------------------------
   5. LAYOUT
   -------------------------------------------------- */
.yitm-layout        { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; }
.yitm-main,
.yitm-sidebar       { display: grid; gap: 24px; align-self: start; }
.yitm-grid-2,
.yitm-service-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --------------------------------------------------
   6. CARDS
   -------------------------------------------------- */
.yitm-card          { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 24px; box-shadow: 0 8px 20px rgba(15,23,42,.05); }
.yitm-card-soft     { background: linear-gradient(180deg, var(--accent-soft-2) 0%, #fff 100%); }
.yitm-card-dark,
.yitm-card-cta      { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 65%, #1f2937 100%); color: #fff; overflow: hidden; box-shadow: 0 24px 80px -32px rgba(var(--accent-rgb),.55); }
.yitm-card-black    { background: #020617; color: #fff; }
.theme-ndis-senior .yitm-card-black { background: #2e1065; }
.yitm-card-amber    { background: #fff7ed; border-color: #fdba74; }
.yitm-card-referral { background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%); border: 1px solid #99f6e4; }

.yitm-card-dark .yitm-h2,
.yitm-card-cta .yitm-h2,
.yitm-card-black .yitm-h2 { color: #fff; }

.yitm-card-dark p,
.yitm-card-cta p,
.yitm-card-cta li,
.yitm-card-cta .yitm-prose,
.yitm-card-cta .mid-cta-bar-disclaimer { color: rgba(255,255,255,.96); }

.yitm-card-dark .yitm-eyebrow,
.yitm-card-cta .yitm-eyebrow,
.yitm-card-black .yitm-eyebrow { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.22); }
.yitm-card-referral .yitm-eyebrow { background: #ccfbf1; color: #0f766e; border-color: #99f6e4; }

.yitm-section-head  { margin-bottom: 18px; }
.yitm-eyebrow       { display: inline-flex; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.yitm-h2            { margin: 0; color: var(--text-dark); font-size: 32px; line-height: 1.15; letter-spacing: -.02em; font-weight: 900; }
.yitm-prose p       { margin: 0 0 16px; font-size: 17px; line-height: 1.9; }

/* --------------------------------------------------
   7. BUTTONS
   -------------------------------------------------- */
.yitm-btn           { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 18px; font-size: 14px; font-weight: 800; font-family: var(--brand-font); text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease; }
.yitm-btn:hover     { transform: translateY(-2px); }
.yitm-btn-primary   { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff !important; box-shadow: 0 12px 30px rgba(var(--accent-rgb),.24); }
.yitm-btn-secondary { background: #fff; color: var(--text-dark) !important; border: 1px solid var(--line); }
.yitm-btn-highlight { background: #fbbf24; color: #0f172a !important; }
.theme-ndis-senior .yitm-btn-highlight { background: #c4b5fd; color: #2e1065 !important; box-shadow: 0 12px 30px rgba(196,181,253,.3); }
.yitm-btn-ghost-dark { background: rgba(255,255,255,.1); color: #fff !important; border: 1px solid rgba(255,255,255,.15); }
.yitm-referral-theme .yitm-btn-primary { background: #0f766e; color: #fff !important; box-shadow: 0 12px 24px rgba(15,118,110,.2); }

/* Buttons inside dark/CTA cards — always white pill, readable */
.yitm-card-cta a.yitm-btn,
.yitm-card-cta .yitm-btn,
.yitm-card-dark a.yitm-btn,
.yitm-card-dark .yitm-btn,
.yitm-card-cta a[class*="yitm-inline-style"],
.yitm-card-dark a[class*="yitm-inline-style"] {
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 16px;
  background: #fff !important;
  color: var(--accent-dark, #7c2d12) !important;
  border: 1px solid rgba(255,255,255,.92) !important;
  box-shadow: 0 12px 28px rgba(15,23,42,.18) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
}
.yitm-card-cta a.yitm-btn:hover,
.yitm-card-cta .yitm-btn:hover,
.yitm-card-dark a.yitm-btn:hover,
.yitm-card-dark .yitm-btn:hover,
.yitm-card-cta a[class*="yitm-inline-style"]:hover,
.yitm-card-dark a[class*="yitm-inline-style"]:hover {
  background: var(--accent-soft, #fff7ed) !important;
  color: var(--accent-dark, #7c2d12) !important;
  transform: translateY(-2px);
}

.yitm-card-cta .yitm-btn-ghost-dark,
.yitm-card-dark .yitm-btn-ghost-dark { background: rgba(255,255,255,.18) !important; color: #fff !important; border-color: rgba(255,255,255,.42) !important; }

.yitm-card-cta .yitm-btn-highlight,
.yitm-card-dark .yitm-btn-highlight { background: #fff7ed !important; color: #7c2d12 !important; }
.theme-ndis-senior .yitm-card-cta .yitm-btn-highlight,
.theme-ndis-senior .yitm-card-dark .yitm-btn-highlight { background: #f3e8ff !important; color: #2e1065 !important; }

.yitm-bottom-cta-row,
.yitm-cta-row,
.yitm-cta-button-stack { align-items: stretch; }

/* --------------------------------------------------
   8. CONTENT COMPONENTS
   -------------------------------------------------- */
.yitm-quote         { margin: 28px 0; padding: 24px; border: 1px solid var(--line); background: var(--accent-soft-2); border-radius: 24px; }
.yitm-quote-row     { display: flex; gap: 14px; }
.yitm-quote-icon    { font-size: 48px; line-height: 1; color: var(--accent); opacity: .4; flex-shrink: 0; }
.yitm-quote-text    { margin: 0; font-size: 22px; line-height: 1.55; font-weight: 800; color: var(--text-dark); }
.yitm-quote-meta    { margin-top: 8px; font-size: 14px; color: var(--muted); }

.yitm-list-grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 8px; }
.yitm-small-card,
.yitm-row-item,
.yitm-service-card  { border: 1px solid var(--line); background: var(--accent-soft-2); border-radius: 20px; padding: 18px; overflow-wrap: anywhere; }
.yitm-row-stack     { display: grid; gap: 12px; }
.yitm-service-card  { display: block; background: #fff; }
.yitm-service-title { margin: 0; font-size: 20px; color: var(--text-dark); font-weight: 900; }
.yitm-service-desc  { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.yitm-service-more  { margin-top: 14px; font-size: 14px; font-weight: 800; color: var(--accent); font-variant-ligatures: normal; text-rendering: optimizeLegibility; }

.yitm-faq details   { border: 1px solid var(--line); background: var(--accent-soft-2); border-radius: 20px; padding: 18px 20px; }
.yitm-faq details+details { margin-top: 14px; }
.yitm-faq summary   { cursor: pointer; font-size: 16px; font-weight: 800; color: var(--text-dark); }
.yitm-faq p         { margin: 14px 0 0; font-size: 14px; line-height: 1.9; }

.yitm-suburb-chips  { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.yitm-suburb-chip   { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--text); }

.yitm-author-box    { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; }
.yitm-author-avatar { width: 72px; height: 72px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; box-shadow: 0 12px 24px rgba(var(--accent-rgb),.16); border: 1px solid var(--line); }
.yitm-author-avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; }

.yitm-svg           { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.yitm-comic-image   { width: 100%; display: block; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(var(--accent-rgb),.12); transition: transform .2s ease, box-shadow .2s ease; }
.yitm-comic-image:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(var(--accent-rgb),.18); }

.mid-cta-bar-disclaimer { margin-top: 14px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.88); max-width: 760px; }
.mid-cta-bar-disclaimer strong { color: #fff; }

.yitm-referral-theme { background: linear-gradient(135deg, #ecfeff 0%, #f8fffe 100%); border-color: #99f6e4; }
.yitm-referral-theme .yitm-eyebrow { background: #ccfbf1; color: #0f766e; border-color: #99f6e4; }

/* Dark/CTA card row items */
.yitm-card-dark .yitm-row-item,
.yitm-card-cta .yitm-row-item { background: rgba(255,255,255,.1); color: #fff; }

/* --------------------------------------------------
   9. RELATED CASE STUDIES — 3-column even grid
   -------------------------------------------------- */
.case-related-case-studies .yitm-service-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.case-related-case-studies .yitm-service-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border-radius: 18px;
  background: rgba(255,255,255,.86); border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15,23,42,.04);
}
.case-related-case-studies .yitm-service-title { font-size: 18px; line-height: 1.25; }
.case-related-case-studies .yitm-service-desc  { font-size: 14px; line-height: 1.6; color: var(--muted); }
.case-related-case-studies .yitm-service-more  { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 900; color: var(--accent-dark); }

/* --------------------------------------------------
   10. STICKY BAR
   -------------------------------------------------- */
.yitm-posticky-bar  { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(15,23,42,.08); padding: 12px 16px; display: none; }
.yitm-posticky-inner { max-width: 1180px; margin: 0 auto; display: flex; gap: 12px; }
.yitm-posticky-inner .yitm-btn { flex: 1 1 0; padding: 13px 16px; }

/* --------------------------------------------------
   11. AD SLOT
   -------------------------------------------------- */
.case-ad-slot       { width: min(100% - 32px, 970px); margin: 22px auto; padding: 14px; min-height: 120px; border: 1px dashed var(--line); border-radius: 20px; background: rgba(255,255,255,.7); text-align: center; }
.case-ad-label      { margin-bottom: 8px; font-size: 11px; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 800; }

/* --------------------------------------------------
   12. MIGRATED INLINE STYLE CLASSES
   -------------------------------------------------- */
.yitm-inline-style-001 { color: #0f172a; }
.yitm-inline-style-002 { margin: 0 0 18px; }
.yitm-inline-style-003 { background: rgba(255,255,255,0.1); color: #fff; }
.yitm-inline-style-004 { margin-left: auto; }
.yitm-inline-style-005 { margin-top: 20px; }
.yitm-inline-style-006 { margin-top: 16px; }
.yitm-inline-style-007 { margin: 0 0 16px; }
.yitm-inline-style-008 { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.yitm-inline-style-009 { margin: 16px 0 0; max-width: 760px; }
.yitm-inline-style-010 { margin: 14px 0 0; color: #fff; }
.yitm-inline-style-011 { margin: 12px 0 0; color: #fde68a; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; }
.yitm-inline-style-012 { display: flex; flex-direction: column; gap: 12px; }
.yitm-inline-style-013 { background: #fbbf24; color: #0f172a !important; }
.yitm-inline-style-014 { background: rgba(255,255,255,0.1); color: #fff !important; border: 1px solid rgba(255,255,255,0.15); }
.yitm-inline-style-015 { margin: 0 0 16px; font-size: 17px; }
.yitm-inline-style-016 { background: rgba(255,255,255,0.7); border: 1px solid #fde68a; }
.yitm-inline-style-017 { margin: 16px 0 0; font-size: 14px; color: #64748b; }
.yitm-inline-style-018 { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }
.yitm-inline-style-019 { margin-bottom: 10px; }
.yitm-inline-style-020 { margin: 0; }
.yitm-inline-style-021 { margin: 0; max-width: 760px; }
.yitm-inline-style-022 { background: #f8fafc; border-color: #e2e8f0; color: #334155; }
.yitm-inline-style-023 { font-size: 24px; }
.yitm-inline-style-024 { margin: 0; font-size: 14px; line-height: 1.9; }
.yitm-inline-style-025 { margin: 16px 0 0; }
.yitm-inline-style-026 { font-weight: 700; }
.yitm-inline-style-027 { margin: 0; color: rgba(255,255,255,0.72); }
.yitm-inline-style-028 { color: #fcd34d; font-weight: 700; }
.yitm-inline-style-029 { margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.yitm-inline-style-030 { width: 100%; display: block; border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(91,33,182,0.12); transition: transform .2s ease, box-shadow .2s ease; }
.yitm-inline-style-031 { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.yitm-inline-style-032 { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; z-index: 1; }
.yitm-inline-style-033 { margin: 12px 0 0; color: #ede9fe; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; }
.yitm-inline-style-034 { background: #c4b5fd; color: #2e1065 !important; box-shadow: 0 12px 30px rgba(196,181,253,0.3); }
.yitm-inline-style-035 { background: rgba(255,255,255,0.7); border: 1px solid #fdba74; }
.yitm-inline-style-036 { margin-top: 16px; background: #fff; border: 1px solid var(--line); }
.yitm-inline-style-037 { background: linear-gradient(135deg, #ecfeff 0%, #f8fffe 100%); border-color: #99f6e4; }
.yitm-inline-style-038 { background: #ccfbf1; color: #0f766e; border-color: #99f6e4; }
.yitm-inline-style-039 { background: #0f766e; color: #fff !important; box-shadow: 0 12px 24px rgba(15,118,110,0.2); }
.yitm-inline-style-040 { width: 100%; height: 100%; object-fit: contain; }
.yitm-inline-style-041 { margin: 12px 0 0; color: #ede9fe; }
.yitm-inline-style-042 { background: #faf5ff; border-color: #eadcff; color: #5b21b6; }
.yitm-inline-style-043 { margin: 0; color: rgba(255,255,255,0.78); }
.yitm-inline-style-044 { color: #ddd6fe; font-weight: 700; }

/* --------------------------------------------------
   13. GLOBAL HEADER (single definition)
   -------------------------------------------------- */
.case-global-header,
.case-global-header * {
  box-sizing: border-box;
  font-family: var(--brand-font) !important;
}

.case-global-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--hdr-border);
  box-shadow: var(--hdr-shadow);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}

/* Top rainbow stripe */
.case-global-header::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--stripe);
}

.case-global-header-inner {
  width: min(100% - 32px, 1180px);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0;
}

/* Logo */
.case-global-logo,
.case-global-logo:visited,
.case-global-logo:hover {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  white-space: nowrap;
  text-decoration: none !important;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  transition: opacity 0.18s ease;
}
.case-global-logo:hover { opacity: 0.82; }
.case-global-logo span  { color: #2c1810 !important; }
.case-global-logo strong { color: var(--brand-orange) !important; font-weight: 900 !important; }

/* Navigation */
.case-global-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
}
.case-global-nav a,
.case-global-nav a:visited {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  color: #5a3e30 !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.16s ease, color 0.16s ease;
}
.case-global-nav a:hover { background: rgba(255,95,58,.09); color: var(--nav-hover) !important; }

/* Actions */
.case-global-actions { min-width: 0; display: flex; flex-direction: column; gap: 7px; }

.case-global-btn,
.case-global-btn:visited {
  min-height: 40px;
  padding: 9px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.case-global-btn:hover { transform: translateY(-1.5px); }

.case-global-whatsapp,
.case-global-whatsapp:visited { background: #fff !important; color: #2c1810 !important; border: 1.5px solid rgba(90,55,35,.22) !important; box-shadow: 0 2px 8px rgba(50,20,5,.07) !important; }
.case-global-whatsapp:hover   { border-color: rgba(90,55,35,.42) !important; box-shadow: 0 5px 18px rgba(50,20,5,.13) !important; }

.case-global-phone,
.case-global-phone:visited { background: linear-gradient(145deg,#22a855 0%,#1a7a3c 100%) !important; color: #fff !important; border: 1px solid rgba(20,100,50,.50) !important; box-shadow: 0 4px 14px rgba(25,120,60,.28) !important; }
.case-global-phone:hover   { box-shadow: 0 8px 26px rgba(25,120,60,.42) !important; }

/* --------------------------------------------------
   14. GLOBAL FOOTER (single definition)
   -------------------------------------------------- */
.case-global-footer,
.case-global-footer * {
  box-sizing: border-box;
  font-family: var(--brand-font) !important;
}

.case-global-footer {
  width: 100%;
  margin-top: 60px;
  padding: 0;
  background: var(--ftr-bg);
  border-top: none;
  position: relative;
  overflow: hidden;
  color: var(--ftr-text);
}

/* Glow blobs */
.case-global-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 10% 0%,  var(--ftr-glow-a) 0%, transparent 70%),
    radial-gradient(ellipse 50% 65% at 90% 110%, var(--ftr-glow-b) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* Top stripe */
.case-global-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stripe);
  z-index: 2;
}

.case-global-footer-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 52px 0 44px;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr);
  gap: 48px;
  align-items: start;
}

.case-global-footer-brand { display: flex; flex-direction: column; gap: 16px; }

.case-global-footer-logo,
.case-global-footer-logo:visited,
.case-global-footer-logo:hover {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  white-space: nowrap;
  text-decoration: none !important;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff !important;
}
.case-global-footer-logo span   { color: rgba(255,255,255,.90) !important; }
.case-global-footer-logo strong { color: #ff7a55 !important; font-weight: 900 !important; }

.case-global-footer p {
  margin: 0;
  max-width: 540px;
  color: rgba(255,255,255,.60);
  font-size: 14.5px;
  line-height: 1.78;
}

/* Star rating badge */
.case-global-footer-brand::after {
  content: '⭐ ⭐ ⭐ ⭐ ⭐  5.0 · 208 Google reviews';
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,200,130,.78);
}

/* Footer links grid */
.case-global-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  justify-items: start;
  align-content: start;
  padding-top: 8px;
}
.case-global-footer-links a,
.case-global-footer-links a:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ftr-link) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  padding: 3px 0;
  transition: color 0.15s ease;
}
.case-global-footer-links a::before { content: '→'; font-size: 11px; color: rgba(255,120,80,.52); flex-shrink: 0; }
.case-global-footer-links a:hover   { color: var(--ftr-hover) !important; }
.case-global-footer-links a:hover::before { color: var(--ftr-hover); }

/* Copyright bar */
.case-global-footer-inner::after {
  content: '© 2025 Your IT and Tech Mates · Wollert VIC 3750 · All rights reserved';
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 12.5px;
  color: rgba(255,255,255,.28);
  letter-spacing: .02em;
  text-align: center;
}

/* --------------------------------------------------
   15. RESPONSIVE
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .yitm-hero-grid,
  .yitm-layout,
  .yitm-grid-2,
  .yitm-service-links,
  .yitm-list-grid-3 { grid-template-columns: 1fr; }
  .yitm-sidebar .yitm-card { position: static; }
}

@media (max-width: 980px) {
  .case-global-header-inner {
    grid-template-columns: 1fr;
    padding: 12px 0 0;
    gap: 10px;
    min-height: auto;
  }
  .case-global-nav { justify-content: flex-start; }
  .case-global-actions { flex-direction: row; width: 100%; }
  .case-global-btn { flex: 1 1 0; }

  .case-global-footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 36px; }
  .case-global-footer-links { grid-template-columns: 1fr 1fr; }

  .case-related-case-studies .yitm-service-links { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .yitm-post         { padding: 16px 12px 96px; }
  .yitm-hero,
  .yitm-card         { padding: 20px; border-radius: 24px; }
  .yitm-title        { font-size: 34px; }
  .yitm-subtitle     { font-size: 18px; }
  .yitm-h2           { font-size: 28px; }
  .yitm-mini-value   { font-size: 24px; }
  .yitm-posticky-bar { display: block; }
  .yitm-author-box   { grid-template-columns: 1fr; }
  .yitm-inline-style-008,
  .yitm-inline-style-032 { grid-template-columns: 1fr !important; }
  .case-ad-slot      { width: min(100% - 24px, 970px); }
}

@media (max-width: 600px) {
  .case-global-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .case-global-nav a { white-space: nowrap; }
  .case-global-actions { flex-direction: column; }
  .case-global-footer-links { grid-template-columns: 1fr; }
  .yitm-card-cta a.yitm-btn,
  .yitm-card-cta .yitm-btn,
  .yitm-card-dark a.yitm-btn,
  .yitm-card-dark .yitm-btn { width: 100%; }
}

/* Standard smaller About-card logo used across case study posts */
.yitm-about-card .yitm-author-box,
.yitm-about-box {
  grid-template-columns: 64px 1fr;
  align-items: start;
}

.yitm-about-card .yitm-author-avatar,
.yitm-about-logo-wrap {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  padding: 6px !important;
  border-radius: 18px !important;
}

.yitm-about-card .yitm-author-avatar img,
.yitm-about-logo {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  border-radius: 12px !important;
}

@media (max-width: 760px) {
  .yitm-about-card .yitm-author-box,
  .yitm-about-box {
    grid-template-columns: 56px 1fr !important;
  }
}

/* Case study technician story and compact logo fixes */
.yitm-technician-story {
  border: 1px solid rgba(13, 27, 42, 0.08);
}
.yitm-technician-story .yitm-list-grid-3 {
  margin-top: 1rem;
}
.yitm-about-logo-wrap,
.yitm-author-avatar.yitm-about-logo-wrap {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  min-width: 56px !important;
  padding: 6px !important;
  flex: 0 0 56px !important;
  overflow: hidden !important;
}
.yitm-about-logo-wrap img,
.yitm-about-logo,
.yitm-author-avatar.yitm-about-logo-wrap img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}
