/* DigyGo blog — single post article styles.
   Pairs with site.css (compiled Tailwind for nav/footer/CTA). */
*, *::before, *::after { box-sizing: border-box; }
main *, main *::before, main *::after { margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --cream: #FFF8F4;
  --border: #ECE6E1;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #6B6B6B;
  --accent: #FF6233;
  --accent-light: #FFF1EA;
  --accent-mid: #FF8159;
}

html { scroll-behavior: smooth; }
body { background: var(--white); -webkit-font-smoothing: antialiased; }
main {
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
.heading-font { font-family: 'Montserrat', sans-serif; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.article-col { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* ---------- HERO / TITLE ---------- */
.post-hero { position: relative; padding: 128px 0 0; background: var(--white); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); font-weight: 500; margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--border); }
.breadcrumb .current { color: var(--text-primary); }

.post-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-light); padding: 6px 12px; border-radius: 6px; margin-bottom: 20px; }

.post-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 3rem; line-height: 1.05; letter-spacing: -0.025em; color: var(--text-primary); margin-bottom: 24px; }
@media (min-width: 768px) { .post-title { font-size: 4.5rem; } }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 0; }
.post-meta-author { display: flex; align-items: center; gap: 10px; }
.post-meta-avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--accent-light); color: var(--accent); border: 1px solid rgba(255,98,51,0.2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.post-meta-author-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.post-meta-author-role { font-size: 12px; color: var(--text-muted); }
.post-meta-sep { width: 4px; height: 4px; border-radius: 999px; background: var(--border); }
.post-meta-info { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.post-share { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.post-share-btn { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all 0.25s ease; background: var(--white); cursor: pointer; }
.post-share-btn:hover { color: var(--accent); border-color: rgba(255,98,51,0.4); transform: translateY(-2px); }

/* ---------- GENERATED (no-photo) COVER ART ---------- */
.cover-thumb { position: relative; width: 100%; aspect-ratio: 21 / 9; border-radius: 20px; overflow: hidden; background-color: #000; margin: 40px 0 0; }
.cover-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px);
  background-size: 20px 20px;
}
.cover-blob { position: absolute; top: 50%; width: 42%; aspect-ratio: 1/1; transform: translateY(-50%); border-radius: 50%; filter: blur(8px); opacity: 0.85; z-index: 0; }
.cover-blob--left { left: -14%; background: radial-gradient(circle at 62% 32%, #ffd166, transparent 42%), radial-gradient(circle at 32% 68%, #ff6233, transparent 50%), radial-gradient(circle at 72% 78%, #e0303d, transparent 55%); }
.cover-blob--right { right: -16%; background: radial-gradient(circle at 38% 30%, #ffd166, transparent 42%), radial-gradient(circle at 66% 62%, #ff6233, transparent 50%), radial-gradient(circle at 28% 76%, #e0303d, transparent 55%); }
.cover-thumb-tag { position: absolute; top: 20px; left: 24px; z-index: 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: rgba(255,255,255,0.75); }
.cover-thumb-tag::before { content: "// "; color: var(--accent-mid); }
.cover-thumb-mark { position: absolute; bottom: 20px; right: 24px; z-index: 3; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.cover-thumb-line { position: absolute; inset: 0; z-index: 2; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 10%; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.15; letter-spacing: -0.01em; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }

/* small inline divider version used mid-article */
.divider-thumb { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: 16px; overflow: hidden; background-color: #000; margin: 40px 0; }
.divider-thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px); background-size: 18px 18px; }
.divider-blob { position: absolute; top: 50%; left: 50%; width: 55%; aspect-ratio: 1/1; transform: translate(-50%,-50%); border-radius: 50%; filter: blur(10px); opacity: 0.8; background: radial-gradient(circle at 40% 35%, #ffd166, transparent 45%), radial-gradient(circle at 65% 60%, #ff6233, transparent 52%), radial-gradient(circle at 30% 75%, #e0303d, transparent 55%); }
.divider-scrim { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 65% 70% at 50% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 55%, transparent 80%); }
.divider-thumb .divider-thumb-label { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem 2.5rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); font-weight: 800; font-size: 18px; font-family: 'Montserrat', sans-serif; margin: 0 !important; }
@media (min-width: 768px) { .divider-thumb-label { font-size: 24px; } }

/* ---------- ARTICLE BODY ---------- */
.post-body { padding: 48px 0 24px; }
.post-body p { color: var(--text-secondary); font-size: 17px; line-height: 1.8; margin-bottom: 24px; }
.post-body p.lede { font-size: 19px; color: var(--text-primary); font-weight: 500; }
.post-body h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 26px; color: var(--text-primary); letter-spacing: -0.01em; margin: 48px 0 20px; line-height: 1.3; }
.post-body h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px; color: var(--text-primary); margin: 32px 0 14px; }
.post-body ul, .post-body ol { margin: 0 0 28px; padding-left: 22px; color: var(--text-secondary); font-size: 17px; line-height: 1.8; }
.post-body ul { list-style: disc outside; }
.post-body ol { list-style: decimal outside; }
.post-body ul ul, .post-body ol ol { margin-top: 10px; margin-bottom: 0; }
.post-body li { margin-bottom: 10px; }
.post-body li::marker { color: var(--accent); font-weight: 700; }
.post-body strong { color: var(--text-primary); font-weight: 700; }
.post-body a.inline-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.pull-quote { border-left: 3px solid var(--accent); background: var(--accent-light); border-radius: 0 14px 14px 0; padding: 24px 28px; margin: 36px 0; }
.pull-quote p { font-family: 'Montserrat', sans-serif; font-style: italic; font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--text-primary); margin-bottom: 12px !important; }
.pull-quote cite { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-muted); }

.testimonial { display: flex; gap: 16px; align-items: flex-start; background: var(--cream); border: 1px solid rgba(255,98,51,0.12); border-radius: 16px; padding: 24px; margin: 32px 0; }
.testimonial-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 999px; background: var(--white); border: 1px solid rgba(255,98,51,0.2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.testimonial p { font-size: 15px; color: var(--text-secondary); margin-bottom: 8px !important; font-style: italic; }
.testimonial .name { font-size: 13px; font-weight: 700; color: var(--text-primary); font-style: normal; }
.testimonial .role { font-size: 12px; color: var(--text-muted); font-style: normal; }

.key-points { background: var(--cream); border: 1px solid rgba(255,98,51,0.12); border-radius: 16px; padding: 28px 28px 6px; margin: 32px 0 40px; }
.key-points p.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px !important; }
.key-points ul { margin-bottom: 22px; }

/* ---------- AUTHOR CARD ---------- */
.author-card { display: flex; gap: 16px; align-items: center; padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 40px 0; }
.author-card-avatar { width: 56px; height: 56px; border-radius: 999px; background: var(--accent-light); color: var(--accent); border: 1px solid rgba(255,98,51,0.2); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.author-card-name { font-size: 15px; font-weight: 700; color: var(--text-primary); font-family: 'Montserrat', sans-serif; }
.author-card-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.author-card-bio { font-size: 13px; color: var(--text-secondary); margin-top: 6px; line-height: 1.6; }

/* ---------- RELATED POSTS ---------- */
.related-section { background: var(--cream); padding: 64px 0; border-top: 1px solid rgba(255,98,51,0.1); }
.related-heading { font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: -0.025em; font-size: 2.25rem; color: var(--text-primary); margin-bottom: 32px; }
@media (min-width: 768px) { .related-heading { font-size: 3rem; } }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: block; text-decoration: none; background: var(--white); border: 1px solid rgba(255,98,51,0.1); border-radius: 16px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(255,98,51,0.25); }
.related-thumb { position: relative; width: 100%; aspect-ratio: 16/9; background-color: #000; overflow: hidden; }
.related-thumb::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px); background-size: 16px 16px; }
.related-blob { position: absolute; top: 50%; width: 55%; aspect-ratio: 1/1; transform: translateY(-50%); border-radius: 50%; filter: blur(6px); opacity: 0.85; }
.related-blob--left { left: -22%; background: radial-gradient(circle at 62% 32%, #ffd166, transparent 42%), radial-gradient(circle at 32% 68%, #ff6233, transparent 50%), radial-gradient(circle at 72% 78%, #e0303d, transparent 55%); }
.related-blob--right { right: -24%; background: radial-gradient(circle at 38% 30%, #ffd166, transparent 42%), radial-gradient(circle at 66% 62%, #ff6233, transparent 50%), radial-gradient(circle at 28% 76%, #e0303d, transparent 55%); }
.related-title-ov { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-weight: 800; font-size: 15px; font-family: 'Montserrat', sans-serif; }
.related-body { padding: 18px 20px 22px; }
.related-cat { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); background: var(--accent-light); padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.related-body h3 { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 10px; }
.related-meta { font-size: 12px; color: var(--text-muted); }

/* Scroll-to-top + WhatsApp float */
.digygo-scrolltop { position: fixed; bottom: 6.5rem; right: 1.5rem; width: 50px; height: 50px; border-radius: 9999px; background: white; border: 1px solid rgba(255, 98, 51, 0.2); color: #FF6233; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px -8px rgba(255, 98, 51, 0.5); opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none; transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease; z-index: 80; }
.digygo-scrolltop.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.digygo-scrolltop:hover { box-shadow: 0 18px 40px -8px rgba(255, 98, 51, 0.6); transform: translateY(-3px) scale(1.05); }
.digygo-scrolltop svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .digygo-scrolltop { bottom: 5.5rem; right: 1rem; width: 46px; height: 46px; } }

.digygo-wa-btn { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 60px; height: 60px; border-radius: 9999px; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 35px -8px rgba(37, 211, 102, 0.5); transition: transform 0.3s ease, box-shadow 0.3s ease; z-index: 90; text-decoration: none; }
.digygo-wa-btn:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 45px -8px rgba(37, 211, 102, 0.6); }
.digygo-wa-btn svg { width: 30px; height: 30px; }

/* Utility polyfills reused by shared CTA/footer markup */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
