/* Blog post - measured from www.transformify.ai/post/* at 1440px (Wix blog post layout) */

/* Page background: soft horizontal pastel gradient + dots */
.po-page { position: relative; isolation: isolate; padding: 0 20px 69px;
  background: linear-gradient(90deg, rgba(58,184,240,.07) 0%, rgba(232,81,232,.07) 31.8%, rgba(139,75,191,.07) 68.2%, rgba(255,197,89,.07) 100%);
}
.po-page::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('/images/shared/dots.png') center top / 1440px auto repeat-y; opacity: .1; }

/* "All Posts" bar */
.po-bar { max-width: 1008px; margin: 0 auto; height: 80px; padding: 0 20px; display: flex; align-items: center; background: #fff; }
.po-bar a { font-size: 16px; line-height: 22.4px; color: #000; text-decoration: none; }
.po-bar a:hover { color: var(--pink); }

/* Post card */
.po-card { max-width: 940px; margin: 10px auto 0; padding: 60px 99px 31px; background: #fff; border: 1px solid #dfe3e9; color: var(--text); }
.po-meta { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; line-height: 21px; }
.po-meta img { width: 32px; height: 32px; margin-right: 12px; }
.po-meta .po-dot { margin: 0 6px; }
.po-title { margin-top: 18px; font-size: clamp(28px, 2.78vw, 40px); font-weight: 400; line-height: 1.25; }
.po-updated { margin-top: 18px; font-size: 14px; line-height: 21px; }

/* Body copy (Wix rich content) */
.po-body { margin-top: 22px; font-size: 16px; line-height: 24px; }
.po-body > * + * { margin-top: 24px; }
.po-body > .po-tight { margin-top: 0; }
.po-body .po-j { text-align: justify; }
.po-body .po-dark { color: #374151; }
.po-body a { color: #8b67ba; }
.po-body hr { height: 0; margin: 6px 0 0; border: 0; border-top: 1px solid var(--text); }
.po-body hr.po-hr-short { width: 296px; margin: 18px auto 0; }
.po-body hr.po-hr-short + h2 { margin-top: 6px; }
.po-body h2 { font-weight: 400; font-size: 24px; line-height: 29px; }
.po-body h2 + p, .po-body h3 + p { margin-top: 3px; }
.po-body h2.po-h2-bold { padding-block: 3.5px; font-size: 30px; font-weight: 700; line-height: 30px; }
.po-body h2.po-h2-bold + p { margin-top: 24px; }
.po-body h3 { font-size: 18px; font-weight: 700; line-height: 24px; }
.po-body .po-green { color: #1d6f42; }
.po-body .po-blue { color: #277dd4; }
.po-body ul { padding-left: 32px; }
.po-body ul.po-plain { list-style: none; padding: 0; }
.po-body figure { margin: 24px 0 0; }
.po-body figure img, .po-body .po-img { display: block; margin-inline: auto; }
.po-body .po-w350 { width: 350px; }
.po-body .po-center { text-align: center; }
.po-body .po-kicker { font-size: 20px; font-weight: 700; line-height: 24px; text-align: center; }
.po-body .po-wysiwyg strong { color: #854dc3; }
.po-body .po-wysiwyg u { color: var(--pink); }

/* Spacing helpers (Wix posts use irregular vertical rhythm) */
.po-body > .po-gap-xs { margin-top: 8px; }
.po-body > .po-gap-sm { margin-top: 16px; }
.po-body > .po-gap-md { margin-top: 38px; }
.po-body > .po-gap-lg { margin-top: 48px; }
.po-body > .po-gap-xl { margin-top: 64px; }
.po-body > hr + h2, .po-body > hr + h3 { margin-top: 10px; }
.po-body > hr + .po-gap-xs { margin-top: 8px; }
.po-body > hr + .po-gap-sm { margin-top: 30px; }
.po-body > hr + .po-gap-md { margin-top: 30px; }
.po-body > hr + .po-gap-lg { margin-top: 48px; }
.po-body .po-lead18 { font-size: 18px; }
.po-body .po-plain-link { text-decoration: none; }
.po-body .po-spacer { height: 90px; }

/* Two-column text + image rows */
.po-split { display: grid; grid-template-columns: 353px minmax(0, 1fr); column-gap: 40px; align-items: start; }
.po-split--rev { grid-template-columns: minmax(0, 389px) 315px; column-gap: 36px; }
.po-body .po-split > div > * + * { margin-top: 24px; }
.po-split img { width: 100%; }

/* Pink CTA button inside posts */
.po-btn { display: inline-flex; align-items: center; height: 45px; padding: 0 18px; background: var(--pink); color: #fff !important; font-size: 16px; text-decoration: none; transition: filter .2s; }
.po-btn:hover { filter: brightness(1.08); }
.po-btn-row { text-align: center; }

/* Tags */
.po-tags { margin-top: 48px; font-size: 14px; line-height: 21px; }
.po-tags ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.po-tags li { height: 31px; padding: 0 12px; display: flex; align-items: center; border: 1px solid #dfe3e9; color: #000; }

/* Video */
.po-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f4eef7; }

/* Share row */
.po-share { margin-top: 32px; border-top: 1px solid rgba(79,79,79,.2); padding-top: 24px; display: flex; gap: 30px; height: 66px; }
.po-share a { display: block; width: 19px; height: 19px; }
.po-share img { width: 19px; height: 19px; }
.po-share a:hover { opacity: .7; }

/* Recent posts */
.po-recent { max-width: 940px; margin: 0 auto; }
.po-recent__head { display: flex; justify-content: space-between; align-items: baseline; padding-top: 57px; }
.po-recent__head h2 { font-size: 18px; font-weight: 400; line-height: 27px; }
.po-recent__head a { font-size: 14px; line-height: 21px; text-decoration: none; }
.po-recent__head a:hover { color: var(--pink); }
.po-rp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 34px; margin-top: 20px; }
.po-rp__card { position: relative; min-height: 269px; background: #fff; border: 1px solid rgba(149,161,181,.3); }
.po-rp__card img { width: 100%; aspect-ratio: 289 / 162; object-fit: cover; }
.po-rp__card h3 { padding: 24px 24px 30px; font-size: 18px; font-weight: 400; line-height: 22px; }
.po-rp__card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.po-rp__card a { text-decoration: none; }
.po-rp__card { overflow: hidden; }
.po-rp__card h3 { position: static; }
.po-rp__card a::after { content: ''; position: absolute; inset: 0; }
.po-rp__card:hover a { color: var(--pink); }
.po-recent[data-current='beta-003'] [data-post='beta-003'],
.po-recent[data-current='beta-002'] [data-post='beta-002'],
.po-recent[data-current='future'] [data-post='future'],
.po-recent[data-current='producthunt'] [data-post='producthunt'] { display: none; }

/* Product Hunt post: wide content layout, stacked author meta, blue-grey body copy */
.po-ph .po-card { padding: 34px 18px 31px; }
.po-ph .po-title { margin-top: 12px; }
.po-ph .po-body { margin-top: 18px; color: #4b587c; }
.po-meta--stack img { margin: 0 12px 0 6px; }
.po-meta--stack > span > span { display: block; }
.po-meta--stack > span > span:first-child { line-height: 21px; }

@media (max-width: 900px) {
  .po-card { padding: 40px 24px 24px; }
  .po-split, .po-split--rev { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .po-split img { max-width: 360px; margin-inline: auto; }
  .po-rp { grid-template-columns: minmax(0, 1fr); row-gap: 20px; max-width: 420px; }
  .po-rp__card { min-height: 0; }
  .po-body .po-j { text-align: left; }
}
@media (max-width: 500px) {
  .po-page { padding-inline: 12px; }
  .po-bar { height: 60px; }
  .po-body .po-w350 { width: 100%; }
}
