/* ==========================================================================
   TurtleCore — modern blog article layout (/blogs/<slug>). Uses .ai-home tokens.
   ========================================================================== */
.ar-hero {
  position: relative; overflow: hidden; padding: 140px 0 150px; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(52, 211, 153, .2), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(37, 99, 235, .25), transparent 60%),
    #07090d;
}
.ar-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 20%, transparent 75%);
}
.ar-hero .container { position: relative; max-width: 900px; text-align: center; }
.ar-crumbs { list-style: none; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 6px 14px; margin: 0 0 22px !important; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.ar-crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.ar-crumbs a { color: var(--accent); }
.ar-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; color: #fff; margin: 16px 0 16px; text-wrap: balance; }
.ai-home .ar-hero .ar-lead { color: var(--on-dark-muted); font-size: 1.12rem; line-height: 1.65; max-width: 720px; margin: 0 auto; }
.ar-meta { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin-top: 26px; font-size: .9rem; color: var(--on-dark-muted); }
.ar-meta__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: linear-gradient(135deg, #10b981, #0a66c2); }
.ar-meta__who { display: inline-flex; align-items: center; gap: 10px; text-align: left; line-height: 1.25; }
.ar-meta__who b { display: block; color: #fff; }
.ar-meta__who small { font-size: .78rem; }
.ar-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: #475569; }
.ar-meta .fas, .ar-meta svg { margin-right: 6px; color: var(--accent); }

.ar-main { background: var(--surface); padding-bottom: 96px; }
.ar-cover { position: relative; margin: -110px auto 0; max-width: 1080px; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 6px rgba(16,24,40,.06), 0 40px 80px -36px rgba(16,24,40,.5); background: #e2e8f0; }
.ar-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.ar-cover figcaption { position: absolute; right: 12px; bottom: 10px; font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; }
.ar-cover figcaption a { color: #fff; text-decoration: underline; }

.ar-grid { display: grid; gap: 40px; max-width: 1080px; margin: 48px auto 0; }
@media (min-width: 992px) { .ar-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }

/* body typography */
.ar-body { min-width: 0; font-size: 1.08rem; line-height: 1.8; color: #334155; }
.ai-home .ar-body p { color: #334155; margin: 0 0 1.25em; }
.ai-home .ar-body h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -.015em; line-height: 1.25; color: var(--text); margin: 2em 0 .7em; scroll-margin-top: 90px; }
.ai-home .ar-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 1.6em 0 .5em; }
.ar-body ul, .ar-body ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.ar-body li { margin: 0 0 .6em; padding-left: .2em; }
.ar-body li::marker { color: var(--accent-strong); font-weight: 700; }
.ar-body strong { color: var(--text); }
.ar-body a { color: #0a66c2; text-decoration: underline; text-underline-offset: 3px; }
.ar-body code { font-size: .88em; padding: 2px 7px; border-radius: 6px; background: #eef2f7; color: #0f172a; }
.ar-body .ar-src { font-size: .9rem; color: #64748b; padding-top: 16px; border-top: 1px solid var(--border); }

.ar-tldr { margin: 0 0 2em; padding: 24px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent-strong); }
.ai-home .ar-tldr h2 { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-strong); }
.ar-tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ar-tldr li { position: relative; margin: 0; padding-left: 28px; font-size: 1rem; line-height: 1.6; }
.ar-tldr li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent-strong); border-bottom: 2px solid var(--accent-strong); transform: rotate(-45deg); }

.ar-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 2em 0; padding: 22px 24px; border-radius: 18px; color: #fff; background: radial-gradient(500px 240px at 100% 0%, rgba(37,211,102,.3), transparent 60%), #07120d; border: 1px solid rgba(37,211,102,.25); }
.ar-cta div { flex: 1; min-width: 220px; line-height: 1.45; }
.ar-cta b { display: block; font-family: var(--tc-font-head); font-size: 1.1rem; color: #fff; }
.ar-cta span { font-size: .94rem; color: #a7b8b0; }
.ar-body .ar-cta a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .95rem; text-decoration: none; color: #052e16; background: #25d366; transition: transform .2s ease; }
.ar-body .ar-cta a span { color: inherit; font-size: 1.1rem; }
.ar-body .ar-cta a:hover { transform: translateY(-2px); }

.ar-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2.4em 0 2em; padding-top: 22px; border-top: 1px solid var(--border); }
.ar-share > b { font-size: .9rem; color: var(--text); margin-right: 4px; }
.ar-share a, .ar-share button { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #fff; border: 0; cursor: pointer; text-decoration: none !important; transition: transform .2s ease; }
.ar-share a:hover, .ar-share button:hover { transform: translateY(-2px); color: #fff; }
.ar-sh--wa { background: #25d366; } .ar-sh--in { background: #0a66c2; } .ar-sh--fb { background: #1877f2; } .ar-sh--x { background: #0b0f15; } .ar-sh--cp { background: #64748b; }
.ar-share .ar-copied { font-size: .85rem; color: var(--accent-strong); opacity: 0; transition: opacity .2s ease; }
.ar-share.is-copied .ar-copied { opacity: 1; }

/* sidebar */
.ar-side { min-width: 0; }
.ar-side__in { position: sticky; top: 90px; display: grid; gap: 18px; }
.ar-box { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border); }
.ai-home .ar-box h3 { font-size: 1rem; font-weight: 800; margin: 0 0 6px; }
.ai-home .ar-box p { font-size: .9rem; color: var(--muted); margin: 0 0 14px; }
.ar-box__btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; margin-top: 8px; transition: transform .2s ease, filter .2s ease; }
.ar-box__btn:hover { transform: translateX(3px); filter: brightness(1.06); }
.ar-box__btn--wa { background: #25d366; color: #052e16; } .ar-box__btn--wa:hover { color: #052e16; }
.ar-box__btn--call { background: #eff6ff; color: #1d4ed8; } .ar-box__btn--call:hover { color: #1d4ed8; }
.ar-box__btn--sl { background: #f5eef6; color: #4a154b; } .ar-box__btn--sl:hover { color: #4a154b; }
.ar-latest { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.ar-latest a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; color: var(--text); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.ar-latest img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; }
.ar-latest a:hover { color: var(--accent-strong); }
.ar-latest small { display: block; font-weight: 400; color: #94a3b8; font-size: .76rem; margin-top: 3px; }

/* related */
.ar-rel { max-width: 1080px; margin: 72px auto 0; }
.ai-home .ar-rel > h2 { font-size: 1.6rem; font-weight: 800; margin: 0 0 22px; }

@media (max-width: 991.98px) { .ar-side__in { position: static; } }
@media (max-width: 575.98px) {
  .ar-hero { padding: 115px 0 110px; }
  .ar-cover { margin-top: -80px; border-radius: 16px; }
  .ar-body { font-size: 1.02rem; }
  .ar-meta__dot { display: none; }
}

/* keep the WhatsApp opinion card's own colours inside the article body */
.ai-home .ar-body .tc-op p.tc-op__sub { color: #a7b8b0; margin: 0; font-size: .97rem; line-height: 1.55; }
.ai-home .ar-body .tc-op p.tc-op__err { color: #fca5a5; margin: 8px 0 0; }
.ar-body .tc-op ul { padding-left: 0; margin-bottom: 18px; }
.ar-body .tc-op li { margin: 0; padding: 0; }
