/* =====================================================================
   Amigo Blog Template — CSS
   Extracted from blog-post-soft.html. Nav + site-footer excluded (theme-owned).
   Font URLs absolute → reuses uploads already live from contact/book-call deploys.
   ===================================================================== */

@font-face {
  font-family: "Arial Rounded Bold";
  src: url("https://amigopersonalcare.com.au/wp-content/uploads/2026/04/Arial-Rounded-Bold-1.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("https://amigopersonalcare.com.au/wp-content/uploads/2026/04/Montserrat-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("https://amigopersonalcare.com.au/wp-content/uploads/2026/04/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Hide legacy inline classes emitted by existing post content —
   the new template renders its own versions of these elements */
.amigo-toc         { display: none !important; }
.amigo-breadcrumbs { display: none !important; }
.amigo-meta        { display: none !important; }
.amigo-cta-box     { display: none !important; }
.amigo-reading-time{ display: none !important; }

:root {
  --teal: #447E98;
  --teal-dark: #147a98;
  --teal-deep: #0D6060;
  --teal-mid: #1A9898;
  --teal-pale: #E2F7F7;
  --teal-ice: #F2FAFB;
  --accent: #36DCFB;
  --accent-deep: #1ABFBF;
  --accent-pale: #DDF0F6;
  --ink-700: #447E98;
  --gray-700: #7A7A7A;
  --gray-500: #9aa5aa;
  --gray-300: #B8D0D8;
  --gray-100: #E8EEF1;
  --bg: #FDFCFA;
  --bg-soft: #F6F9FB;
  --hairline: rgba(20,122,152,0.12);
  --shadow-amb: 0 1px 2px rgba(15,31,44,0.04),
                0 8px 24px rgba(15,31,44,0.04),
                0 40px 80px -20px rgba(13,96,96,0.10);
  --shadow-lift: 0 2px 4px rgba(15,31,44,0.05),
                 0 20px 48px rgba(15,31,44,0.08),
                 0 60px 120px -30px rgba(13,96,96,0.16);
  --ease-spring: cubic-bezier(0.32,0.72,0,1);
  --ease-fluid:  cubic-bezier(0.22,1,0.36,1);
  --d-fast: 220ms;
  --d-med:  420ms;
  --d-slow: 720ms;
}

/* READING PROGRESS BAR */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(20,122,152,0.08);
  z-index: 9999;
}
.read-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #36DCFB, #1A9898, #0D6060);
  transition: width 120ms linear;
}

/* ARTICLE HERO */
.article-hero {
  padding: 120px 32px 60px;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(54,220,251,0.10), transparent 60%),
    radial-gradient(800px 500px at 90% 30%, rgba(26,191,191,0.08), transparent 60%),
    linear-gradient(180deg, #FDFCFA 0%, #F6F9FB 100%);
}
.article-hero-inner { max-width: 880px; margin: 0 auto; }

.ab-breadcrumbs {
  display: flex; gap: 10px; align-items: center;
  font-size: 13px; color: var(--gray-700);
  margin-bottom: 24px;
  font-family: "Montserrat", sans-serif;
}
.ab-breadcrumbs a { color: var(--gray-700); text-decoration: none; }
.ab-breadcrumbs a:hover { color: var(--teal-deep); }
.ab-breadcrumbs .sep { color: var(--gray-300); }

.article-hero .category-tag {
  display: inline-block;
  padding: 5px 14px; border-radius: 999px;
  background: var(--teal-deep); color: var(--accent);
  font-size: 11px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.article-hero h1 {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #447E98;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-bottom: 18px;
}
.article-hero .lede {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  color: var(--gray-700); font-weight: 300;
  max-width: 62ch;
  margin-bottom: 28px;
}

.article-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  padding-top: 22px; border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--gray-700);
  font-family: "Montserrat", sans-serif;
}
.article-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.article-meta-item .ico {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.article-meta-item strong { color: var(--teal-deep); font-weight: 700; }
.article-meta-divider { width: 1px; height: 24px; background: var(--hairline); }

.article-hero-image {
  margin: 44px auto 0;
  max-width: 1080px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3 / 1;
  background: linear-gradient(135deg, #447E98 0%, #36DCFB 100%);
}

/* ARTICLE GRID */
.article-wrap {
  padding: 60px 32px 100px;
  max-width: 1320px;
  margin: 0 auto;
}
.article-grid {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  gap: 56px;
  align-items: start;
}

/* ===== LEFT: TOC ===== */
.toc-side { position: sticky; top: 100px; }
.toc-wrap {
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(242,250,251,0.6));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-amb);
}
.toc-core {
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #FBFDFD 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95);
}
.toc-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-pale); color: var(--teal-deep);
  font-size: 10px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.toc-title {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic; color: var(--teal-deep);
  font-size: 18px; font-weight: 700;
  margin-bottom: 18px;
}
.toc-list { list-style: none; padding: 0; margin: 0; position: relative; }
.toc-list::before {
  content: "";
  position: absolute; left: 5px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--hairline);
  border-radius: 2px;
}
.toc-item { position: relative; padding-left: 20px; margin-bottom: 6px; }
.toc-item::before {
  content: "";
  position: absolute; left: 3px; top: 12px;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--gray-300);
  transition: all var(--d-fast) var(--ease-spring);
}
.toc-link {
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-family: "Montserrat", sans-serif;
  color: var(--gray-700);
  line-height: 1.35;
  text-decoration: none;
  transition: all var(--d-fast);
}
.toc-link:hover { background: rgba(20,122,152,0.06); color: var(--teal-deep); }
.toc-item.active::before {
  background: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(26,191,191,0.18);
  transform: scale(1.1);
}
.toc-item.active .toc-link {
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-weight: 600;
}

.toc-progress {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--hairline);
}
.toc-progress-label {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gray-700);
  font-family: "Montserrat", sans-serif;
  margin-bottom: 6px;
}
.toc-progress-label strong { color: var(--teal-deep); font-weight: 700; }
.toc-progress-bar {
  height: 4px; border-radius: 999px;
  background: var(--gray-100);
  overflow: hidden;
}
.toc-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #36DCFB, #1A9898);
  border-radius: 999px;
  transition: width 180ms var(--ease-fluid);
}

.toc-share { margin-top: 18px; display: flex; gap: 6px; }
.toc-share-btn {
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--d-fast) var(--ease-spring);
}
.toc-share-btn:hover { background: var(--teal-pale); transform: translateY(-2px); }

/* ===== CENTRE: ARTICLE BODY ===== */
.article-body {
  max-width: 720px;
  min-width: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: #4a5760;
}
.article-body p {
  margin-bottom: 24px;
  font-weight: 300;
}
.article-body p strong { color: var(--teal-deep); font-weight: 700; }
.article-body h2 {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #447E98;
  font-size: clamp(26px, 3vw, 36px);
  margin: 56px 0 18px;
  scroll-margin-top: 100px;
  position: relative;
  padding-left: 24px;
  line-height: 1.1;
}
.article-body h2::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, #36DCFB, #1A9898);
  box-shadow: 0 0 0 4px rgba(26,191,191,0.14);
}
.article-body h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 19px;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.article-body h3::before {
  content: "→";
  color: var(--accent-deep);
  margin-right: 10px;
  font-weight: 700;
}
.article-body ul {
  padding-left: 0;
  margin: 0 0 28px;
  list-style: none;
}
.article-body ul li {
  position: relative;
  padding: 10px 16px 10px 40px;
  margin-bottom: 4px;
  border-radius: 12px;
  font-size: 17px;
  font-family: "Montserrat", sans-serif;
  transition: background var(--d-fast);
}
.article-body ul li:hover { background: rgba(20,122,152,0.04); }
.article-body ul li::before {
  content: "";
  position: absolute; left: 16px; top: 18px;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent-pale);
  border: 2px solid var(--accent-deep);
}

/* Stat pull-out */
.stat-pullout {
  margin: 32px 0;
  padding: 8px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(242,250,251,0.5));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-amb);
}
.stat-pullout-core {
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(140deg, #0D6060 0%, #147a98 100%);
  color: #fff;
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.15);
}
.stat-pullout-core::before {
  content: "";
  position: absolute; right: -50px; bottom: -50px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,220,251,0.25), transparent 60%);
  pointer-events: none;
}
.stat-pullout-num {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic; color: var(--accent);
  font-size: clamp(48px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-pullout-text {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  line-height: 1.5;
}
.stat-pullout-text strong { color: #fff; font-weight: 700; }
.stat-pullout-source {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent);
}

/* Callout */
.callout {
  margin: 32px 0;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(54,220,251,0.22), rgba(26,191,191,0.12));
  box-shadow: var(--shadow-amb);
}
.callout-core {
  padding: 24px 28px;
  border-radius: 18px;
  background: #fff;
  border-left: 4px solid var(--accent-deep);
  display: flex; gap: 18px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95);
}
.callout-ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 999px;
  background: var(--teal-pale); color: var(--teal-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.callout-core p { margin: 0; font-size: 16px; color: var(--gray-700); }
.callout-core strong { color: var(--teal-deep); font-weight: 700; }

/* Takeaway */
.takeaway {
  margin: 32px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px dashed var(--hairline);
  display: flex; gap: 14px;
  font-size: 15px;
  font-family: "Montserrat", sans-serif;
}
.takeaway-ico {
  width: 28px; height: 28px; flex: 0 0 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #36DCFB, #1A9898);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.takeaway strong { color: var(--teal-deep); font-weight: 700; }

/* Section divider */
.sec-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 56px 0;
  gap: 14px;
}
.sec-divider::before, .sec-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--hairline);
}
.sec-divider-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent-deep);
  box-shadow: 0 0 0 4px rgba(26,191,191,0.18);
}

/* Article end CTA */
.article-cta {
  margin-top: 64px;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  box-shadow: 0 40px 90px -20px rgba(13,96,96,0.4);
}
.article-cta-core {
  padding: 42px 36px;
  border-radius: 24px;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(54,220,251,0.24), transparent 60%),
    linear-gradient(140deg, #0D6060 0%, #147a98 100%);
  color: #fff;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.15);
}
.article-cta-core h3 {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic; color: #fff;
  font-size: 26px;
  margin-bottom: 10px;
}
.article-cta-core h3::before { content: none !important; }
.article-cta-core p {
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  margin-bottom: 22px; max-width: 52ch;
}
.article-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #36DCFB 0%, #1ABFBF 100%);
  color: var(--teal-deep);
  font-size: 15px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(54,220,251,0.5);
  transition: transform var(--d-fast) var(--ease-spring);
}
.article-cta-btn:hover { transform: translateY(-2px); color: var(--teal-deep); }
.article-cta-btn-icon {
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(13,96,96,0.15);
  display: inline-flex; align-items: center; justify-content: center;
}
.article-cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-size: 14px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
}

/* ===== RIGHT: aside ===== */
.article-aside { position: sticky; top: 100px; }
.aside-card {
  padding: 6px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(242,250,251,0.5));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-amb);
  margin-bottom: 18px;
}
.aside-core {
  padding: 22px 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #F6FAFB 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.95);
}
.aside-core .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal-deep);
  font-size: 10px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.aside-core .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(26,191,191,0.22);
}
.aside-core h4 {
  font-family: "Arial Rounded Bold", sans-serif;
  font-style: italic; color: var(--teal-deep);
  font-size: 20px; font-weight: 700;
  margin-bottom: 8px;
}
.aside-core p { font-size: 14px; color: var(--gray-700); margin-bottom: 14px; font-family: "Montserrat", sans-serif; }
.aside-mini-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 9px 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #147a98 0%, #0D6060 100%);
  color: #fff; font-size: 13px; font-weight: 700;
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(13,96,96,0.5);
  transition: transform var(--d-fast) var(--ease-spring);
}
.aside-mini-btn:hover { transform: translateY(-1px); }
.aside-mini-btn-ico {
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
}
.aside-author {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 0;
  border-top: 1px dashed var(--hairline);
  margin-top: 14px;
}
.aside-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: linear-gradient(135deg, #36DCFB, #1A9898);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex: 0 0 40px;
  font-family: "Montserrat", sans-serif;
}
.aside-author-name { font-size: 13px; font-weight: 700; color: var(--teal-deep); font-family: "Montserrat", sans-serif; }
.aside-author-role { font-size: 11px; color: var(--gray-700); font-family: "Montserrat", sans-serif; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(20px); filter: blur(4px);
  transition: opacity var(--d-slow) var(--ease-fluid),
              transform var(--d-slow) var(--ease-fluid),
              filter var(--d-slow) var(--ease-fluid);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1120px) {
  .article-grid { grid-template-columns: 220px 1fr; gap: 44px; }
  .article-aside { display: none; }
}
@media (max-width: 860px) {
  .article-hero { padding: 100px 20px 40px; }
  .article-wrap { padding: 30px 20px 60px; }
  .article-grid { grid-template-columns: 1fr; gap: 28px; }
  .toc-side { position: static; }
  .toc-wrap { margin-bottom: 8px; }
  .toc-core { padding: 16px 18px; }
  .article-body { font-size: 17px; max-width: 100%; }
  .article-body ul li { padding-left: 36px; font-size: 16px; }
  .stat-pullout-core { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .article-cta-core { padding: 32px 22px; }
  .article-cta-phone { margin-left: 0; margin-top: 10px; }
}
