/* =====================================================================
   URCARE blog post (single) page, 2026 redesign
   Aus Asia Online, October 2026
   Loaded only by single-v2.php. Builds on urcare-about-v2.css (.ucx),
   urcare-services-v2.css (.ucs) and urcare-blog-v2.css (.ucb).
   ===================================================================== */

/* The theme sets body { overflow-x: hidden }, which turns body into a scroll box and stops position: sticky.
   clip keeps the same no-sideways-scroll result without that side effect. This file only loads on blog posts. */
body { overflow-x: clip !important; overflow-y: visible !important; }

/* ---------- Hero ---------- */
.ucp-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding: clamp(48px, 6vw, 80px) 0 clamp(150px, 16vw, 210px);
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(184, 40, 120, .35), transparent 70%),
    radial-gradient(600px 320px at 0% 100%, rgba(248, 168, 40, .18), transparent 70%),
    linear-gradient(135deg, #076A86 0%, #0898B8 60%, #12A6C2 100%);
}
.ucp-hero .uc-slide__ribbon { z-index: -1; left: auto; right: -12%; bottom: -60%; width: 46%; }
.ucp .ucp-hero > .container { padding-top: 0 !important; padding-bottom: 0 !important; }
.ucp-hero__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.ucp-hero .ucx-crumbs { justify-content: center; flex-wrap: wrap; }
.ucp-hero__tag {
  display: inline-flex; padding: 8px 16px; margin-bottom: 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 700 13px/1 var(--x-body); letter-spacing: .02em; color: #fff;
}
.ucp .ucp-hero__title {
  font-family: "Fraunces", Georgia, serif !important; font-weight: 500 !important;
  font-size: clamp(34px, 4.4vw, 58px) !important; line-height: 1.08 !important; letter-spacing: -.02em !important;
  color: #fff !important; text-transform: none !important; margin: 0 0 22px !important;
  text-shadow: 0 2px 24px rgba(106, 15, 74, .18);
}
.ucp .ucp-hero__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0;
  font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .9);
}
.ucp-hero__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.ucp-hero__meta svg { width: 17px; height: 17px; color: var(--x-amber); }

/* ---------- Cover image ---------- */
.ucp .ucp-cover-wrap { position: relative; z-index: 2; margin-top: clamp(-180px, -14vw, -120px); }
.ucp-cover {
  max-width: 1040px; margin: 0 auto; overflow: hidden; border-radius: 28px; background: #fff;
  border: 6px solid #fff; box-shadow: 0 40px 80px -40px rgba(11, 59, 79, .55);
}
.ucp-cover img { width: 100%; height: auto !important; border-radius: 22px; }

/* ---------- Layout ---------- */
.ucp-body { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.ucp-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 72px);
  max-width: 1160px; margin: 0 auto; align-items: start;
}
.ucp-article { min-width: 0; }
.ucp-side { align-self: stretch; }

/* ---------- Article typography ---------- */
.ucp-content { font-size: 18px; line-height: 1.8; color: #36333F; }
.ucp .ucp-content p,
.ucp .ucp-content > span {
  font-size: 18px; line-height: 1.8; color: #36333F; max-width: none; margin: 0 0 1.3em;
}
.ucp .ucp-content > span { display: block; }
.ucp-content span[style] { font-weight: inherit !important; }
.ucp .ucp-content h2 {
  font-family: var(--x-display) !important; font-weight: 700 !important;
  font-size: clamp(26px, 2.6vw, 34px) !important; line-height: 1.18 !important; letter-spacing: -.025em !important;
  color: var(--x-ink) !important; text-transform: none !important;
  margin: 2em 0 .7em !important; padding-top: 4px; scroll-margin-top: 130px; position: relative;
}
.ucp .ucp-content h2::before {
  content: ""; display: block; width: 44px; height: 4px; margin-bottom: 16px; border-radius: 4px;
  background: var(--x-grad);
}
.ucp .ucp-content h2:first-child { margin-top: 0 !important; }
.ucp .ucp-content h3 {
  font-family: var(--x-display) !important; font-weight: 700 !important;
  font-size: clamp(20px, 2vw, 24px) !important; line-height: 1.3 !important; letter-spacing: -.015em !important;
  color: var(--x-ink) !important; text-transform: none !important;
  margin: 1.6em 0 .55em !important; scroll-margin-top: 130px;
}
.ucp .ucp-content h4 { font-size: 19px !important; font-weight: 700 !important; color: var(--x-ink) !important; margin: 1.4em 0 .5em !important; }
.ucp .ucp-content h2 b, .ucp .ucp-content h3 b, .ucp .ucp-content h2 strong, .ucp .ucp-content h3 strong { font-weight: inherit; }
.ucp .ucp-content strong, .ucp .ucp-content b { font-weight: 700; color: var(--x-ink); }
.ucp .ucp-content a { color: var(--x-berry) !important; font-weight: 600; text-decoration: underline !important; text-decoration-thickness: 1.5px !important; text-underline-offset: 3px; }
.ucp .ucp-content a:hover { color: var(--x-plum) !important; }

.ucp .ucp-content ul,
.ucp .ucp-content ol { margin: 0 0 1.5em !important; padding: 0 !important; list-style: none !important; }
.ucp .ucp-content li {
  position: relative; margin: 0 0 .7em; padding-left: 34px;
  font-size: 18px; line-height: 1.7; color: #36333F;
}
.ucp .ucp-content ul > li::before {
  content: "" !important; position: absolute; left: 6px; top: .62em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--x-teal); box-shadow: 0 0 0 4px rgba(8, 152, 184, .15);
}
.ucp .ucp-content ol { counter-reset: ucp; }
.ucp .ucp-content ol > li { counter-increment: ucp; }
.ucp .ucp-content ol > li::before {
  content: counter(ucp) !important; position: absolute; left: 0; top: .15em;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, var(--x-berry), var(--x-plum)); color: #fff;
  font: 700 12px/1 var(--x-body);
}
.ucp .ucp-content li > span { font-size: inherit; line-height: inherit; }

.ucp .ucp-content blockquote {
  margin: 1.8em 0 !important; padding: 24px 28px !important; border: 0 !important;
  border-left: 4px solid var(--x-berry) !important; border-radius: 0 18px 18px 0;
  background: #fff; box-shadow: 0 14px 30px -24px rgba(11, 59, 79, .4);
  font-size: 19px; font-style: italic; color: var(--x-ink);
}
.ucp .ucp-content img { max-width: 100%; height: auto; border-radius: 18px; margin: 1.6em auto; }
.ucp .ucp-content figure { margin: 1.8em 0; }
.ucp .ucp-content figcaption { font-size: 14px; color: var(--x-muted); text-align: center; margin-top: 8px; }
.ucp .ucp-content hr { border: 0; height: 1px; background: var(--x-line); margin: 2.4em 0; }

/* Tables */
.ucp-table {
  margin: 1.6em 0 2em; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-radius: 18px; border: 1px solid var(--x-line); background: #fff;
  box-shadow: 0 14px 34px -26px rgba(11, 59, 79, .45);
}
.ucp .ucp-content table { width: 100%; min-width: 520px; margin: 0 !important; border-collapse: collapse; border: 0 !important; font-size: 16px; }
.ucp .ucp-content th,
.ucp .ucp-content td { padding: 14px 18px !important; border: 0 !important; border-bottom: 1px solid var(--x-line) !important; text-align: left; vertical-align: top; line-height: 1.5; }
.ucp .ucp-content thead th,
.ucp .ucp-content tr:first-child th,
.ucp .ucp-content table tr:first-child td:only-child { background: transparent; }
.ucp .ucp-content thead th,
.ucp .ucp-content table > tbody > tr:first-child > th {
  background: linear-gradient(135deg, var(--x-teal-dk), var(--x-teal)) !important; color: #fff !important;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
}
.ucp .ucp-content tbody tr:nth-child(even) td { background: #FBF8F5; }
.ucp .ucp-content tbody tr:last-child td { border-bottom: 0 !important; }
.ucp .ucp-content td span, .ucp .ucp-content th span { font-size: inherit; }

/* Contents (inline, phones and tablets) */
.ucp-toc--inline {
  display: none; margin-bottom: 32px; border-radius: 18px; background: #fff; border: 1px solid var(--x-line);
  box-shadow: 0 12px 30px -24px rgba(11, 59, 79, .45);
}
.ucp-toc--inline summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer;
  list-style: none; font: 700 16px/1.2 var(--x-body); color: var(--x-ink);
}
.ucp-toc--inline summary::-webkit-details-marker { display: none; }
.ucp-toc--inline summary span { font-size: 13px; font-weight: 600; color: var(--x-muted); }
.ucp-toc--inline summary::after {
  content: ""; width: 9px; height: 9px; border-right: 2px solid var(--x-berry); border-bottom: 2px solid var(--x-berry);
  transform: rotate(45deg); transition: transform .25s var(--x-ease); margin-left: auto;
}
.ucp-toc--inline[open] summary::after { transform: rotate(-135deg); }
.ucp-toc--inline ol { padding: 0 20px 16px !important; margin: 0 !important; }

/* Contents list, shared */
.ucp .ucp-toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.ucp .ucp-toc li { counter-increment: toc; margin: 0; padding: 0; }
.ucp .ucp-toc li::before { content: none; }
.ucp .ucp-toc a {
  position: relative; display: block; padding: 9px 10px 9px 38px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--x-text) !important;
  transition: background .2s var(--x-ease), color .2s var(--x-ease);
}
.ucp .ucp-toc a::before {
  content: counter(toc, decimal-leading-zero); position: absolute; left: 10px; top: 10px;
  font: italic 500 13px/1.2 "Fraunces", Georgia, serif; color: var(--x-muted);
}
.ucp .ucp-toc a:hover { background: var(--x-sand); color: var(--x-berry) !important; }
.ucp .ucp-toc a.is-active { background: rgba(184, 40, 120, .08); color: var(--x-berry) !important; }
.ucp .ucp-toc a.is-active::before { color: var(--x-berry); }

/* ---------- Sidebar ---------- */
.ucp-side__sticky { position: sticky; top: 120px; display: grid; gap: 20px; }
.ucp-toc--side {
  padding: 22px 14px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--x-line);
  box-shadow: 0 14px 34px -26px rgba(11, 59, 79, .45);
  max-height: calc(100vh - 480px); min-height: 200px; overflow: auto;
}
.ucp .ucp-toc__title { margin: 0 10px 10px; font: 800 12px/1 var(--x-body); letter-spacing: .14em; text-transform: uppercase; color: var(--x-berry); }
.ucp-progress { height: 4px; margin: 14px 10px 0; border-radius: 4px; background: var(--x-sand); overflow: hidden; }
.ucp-progress span { display: block; height: 100%; width: 0; background: var(--x-grad); border-radius: 4px; transition: width .15s linear; }

.ucp-help {
  position: relative; overflow: hidden; isolation: isolate; padding: 26px 24px; border-radius: 22px; color: #fff;
  background: linear-gradient(150deg, #B82878 0%, #8A1A5B 55%, #6A0F4A 100%);
  box-shadow: 0 24px 50px -28px rgba(106, 15, 74, .7);
}
.ucp-help::after {
  content: ""; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 200px; aspect-ratio: 1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .16);
}
.ucp-help__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.ucp-help__icon svg { width: 22px; height: 22px; }
.ucp .ucp-help__title { margin: 0 0 8px; font: 700 20px/1.25 var(--x-display); letter-spacing: -.015em; color: #fff; }
.ucp .ucp-help__text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.ucp-help .uc-btn { width: 100%; justify-content: center; padding: 14px 20px; }
.ucp-help__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 700; color: #fff !important; }
.ucp-help__link svg { width: 17px; height: 17px; transition: transform .25s var(--x-ease); }
.ucp-help__link:hover { color: #FFE2B8 !important; }
.ucp-help__link:hover svg { transform: translateX(4px); }

/* ---------- Article footer ---------- */
.ucp-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line);
}
.ucp-foot__topics, .ucp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ucp-foot__topics > span, .ucp-share > span { font-size: 14px; font-weight: 700; color: var(--x-muted); }
.ucp .ucp-foot .ucb-tag { margin: 0; }
.ucp .ucp-foot .ucb-tag:hover { background: var(--x-teal); color: #fff !important; }
.ucp-share a, .ucp-share button {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: #fff; border: 1px solid var(--x-line); color: var(--x-teal-dk) !important; cursor: pointer;
  transition: background .25s var(--x-ease), color .25s var(--x-ease), border-color .25s var(--x-ease), transform .25s var(--x-ease);
}
.ucp-share svg { width: 17px; height: 17px; }
.ucp-share a:hover, .ucp-share button:hover, .ucp-share button.is-done { background: var(--x-berry); border-color: var(--x-berry); color: #fff !important; transform: translateY(-2px); }
.ucp-copy__msg {
  position: absolute; bottom: calc(100% + 8px); right: 0; white-space: nowrap; pointer-events: none;
  font-size: 12px; font-weight: 700; color: var(--x-berry);
}

/* Previous / next */
.ucp-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.ucp-pn__item {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; border-radius: 18px;
  background: #fff; border: 1px solid var(--x-line); color: var(--x-ink) !important;
  transition: border-color .25s var(--x-ease), transform .25s var(--x-ease), box-shadow .25s var(--x-ease);
}
.ucp-pn__item--next { text-align: right; align-items: flex-end; }
.ucp-pn__item small { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--x-berry); }
.ucp-pn__item small svg { width: 16px; height: 16px; }
.ucp-pn__item strong { font: 700 16px/1.35 var(--x-display); }
.ucp-pn__item:hover { border-color: transparent; transform: translateY(-3px); box-shadow: 0 24px 44px -28px rgba(11, 59, 79, .4); }

/* ---------- Related ---------- */
.ucp-related { background: var(--x-sand); }
.ucp-related .ucx-head--split .ucx-lead { display: flex; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ucp-layout { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 991.98px) {
  .ucp-layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .ucp-side { order: 2; }
  .ucp-side__sticky { position: static; }
  .ucp-toc--side { display: none; }
  .ucp-toc--inline { display: block; }
  .ucp-related .ucx-head--split .ucx-lead { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .ucp-hero { padding: 40px 0 120px; }
  .ucp .ucp-hero__meta { font-size: 14px; gap: 8px 16px; }
  .ucp .ucp-cover-wrap { margin-top: -96px; }
  .ucp-cover { border-width: 4px; border-radius: 20px; }
  .ucp-cover img { border-radius: 16px; }
  .ucp-content, .ucp .ucp-content p, .ucp .ucp-content > span, .ucp .ucp-content li { font-size: 17px; }
  .ucp .ucp-content table { font-size: 15px; }
  .ucp-foot { flex-direction: column; align-items: flex-start; }
  .ucp-pn { grid-template-columns: minmax(0, 1fr); }
  .ucp-pn__item--next { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ucp-pn__item, .ucp-share a, .ucp-share button, .ucp-progress span { transition: none !important; }
}
