/* About, Blog and blog article pages. Loaded after sttockry-home.css and sttockry-plans.css and reuses their tokens and panels. */
.page-main { width: min(calc(100% - 48px), var(--home-content)); margin: 0 auto 104px; }
.page-hero { padding: 56px 0 8px; text-align: center; }
.page-hero .home-hero__badge { padding: 0 16px; }
.page-hero h1 { margin: 20px 0 0; color: #fff; font-size: clamp(36px, 5.2vw, 62px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.page-hero h1 span { background: linear-gradient(100deg, #ff7a45 0%, #ff6a3d 60%, #ff8a5c 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.page-hero h1 i { font-style: normal; color: var(--plans-coral); }
.page-hero > p { max-width: 640px; margin: 20px auto 0; color: #9b9b95; font-size: 18px; line-height: 28px; }
.page-hero .plans-stats { margin-top: 30px; }

.page-main .plans-panel__header h2 { color: #fff; }
.page-main .plans-panel__header h2 span { color: var(--plans-coral); }
.page-kicker { margin: 0 0 10px; color: var(--plans-coral); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Rich text coming from the admin editor */
.page-prose { color: #d6d6d1; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.page-prose > :first-child { margin-top: 0; }
.page-prose > :last-child { margin-bottom: 0; }
.page-prose p { margin: 0 0 18px; }
.page-prose h1, .page-prose h2, .page-prose h3, .page-prose h4, .page-prose h5, .page-prose h6 { margin: 34px 0 12px; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.page-prose p > strong:only-child { display: block; margin-top: 30px; color: #fff; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.page-prose strong, .page-prose b { color: #fff; font-weight: 600; }
.page-prose a { color: var(--plans-coral); text-decoration: underline; text-underline-offset: 3px; }
.page-prose a:hover { color: #ff8a5c; }
.page-prose ul, .page-prose ol { display: grid; gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: page-step; }
.page-prose li { position: relative; padding-left: 30px; }
.page-prose ul > li::before { content: ""; position: absolute; top: .62em; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--plans-coral); box-shadow: 0 0 10px rgb(255 106 61 / 55%); }
.page-prose ol > li { counter-increment: page-step; }
.page-prose ol > li::before { content: counter(page-step); position: absolute; top: .2em; left: 0; width: 22px; height: 22px; border-radius: 50%; background: rgb(255 106 61 / 14%); color: var(--plans-coral); font-size: 12px; font-weight: 600; line-height: 22px; text-align: center; }
.page-prose img { height: auto; border-radius: 12px; }
.page-prose blockquote { margin: 0 0 22px; padding: 4px 0 4px 20px; border-left: 2px solid var(--plans-coral); color: #f1f1f1; }

/* About */
.page-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.page-about .page-prose p > strong:only-child { display: inline; margin: 0; font-size: inherit; font-weight: 500; letter-spacing: 0; color: #f1f1f1; }
.page-about__lead h2 { margin: 0; color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; letter-spacing: -.03em; line-height: 1.15; }
.page-about__lead h2 b { font-weight: inherit; color: var(--plans-coral); }
.page-about__lead > p { margin: 18px 0 0; color: #b9b9b3; font-size: 17px; line-height: 1.65; }
.page-founder { display: flex; flex-direction: column; gap: 2px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 10%); }
.page-founder strong { color: #fff; font-size: 16px; font-weight: 600; }
.page-founder span { color: var(--home-muted); font-size: 14px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-actions .plans-buy { width: auto; min-width: 200px; padding: 0 28px; }
.page-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 999px; color: #fff; font-size: 15px; font-weight: 500; transition: background-color .15s ease, border-color .15s ease; }
.page-button:hover { border-color: rgb(255 255 255 / 45%); background: rgb(255 255 255 / 6%); }
.page-button svg { width: 16px; height: 16px; }
.page-tools .plans-card { min-height: 0; }
.page-tools .plans-card h3 { margin: 20px 0 10px; }
.page-tools .plans-card p { margin: 0 0 20px; color: #c9c9c4; font-size: 14.5px; line-height: 1.55; }
.page-tools .plans-card .plans-link { margin-top: auto; }
.page-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #fff; font-size: 14px; font-weight: 500; }
.page-card-link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.page-card-link:hover { color: var(--plans-coral); }
.page-card-link:hover svg { transform: translateX(3px); }
.page-main .plans-banner { width: 100%; margin: 56px 0 0; }

/* Blog list */
.page-blog-tools { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 34px; }
.page-blog-tools .home-search { margin: 0; }
.page-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-chips a, .page-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; background: rgb(20 18 18 / 80%); color: #d6d6d1; font-size: 13.5px; line-height: 1; white-space: nowrap; transition: border-color .15s ease, color .15s ease; }
.page-chips a:hover { border-color: rgb(255 106 61 / 60%); color: #fff; }
.page-chips a.is-current { border-color: rgb(255 106 61 / 70%); background: rgb(255 98 22 / 12%); color: #ff8a46; }
.page-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.page-post { position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--plans-card-border); border-radius: 16px; background: linear-gradient(170deg, rgb(255 106 61 / 7%) 0%, rgb(22 16 14 / 70%) 34%, rgb(13 12 12 / 85%) 100%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%); transition: border-color .2s ease, transform .2s ease; }
.page-post:hover { border-color: rgb(255 106 61 / 45%); transform: translateY(-2px); }
.page-post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.page-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.page-post:hover .page-post__media img { transform: scale(1.03); }
.page-post__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 26px; }
.page-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--home-muted); font-size: 13px; line-height: 1.3; }
.page-meta b { color: var(--plans-coral); font-weight: 500; }
.page-meta i { width: 3px; height: 3px; border-radius: 50%; background: #5a5a55; }
.page-post h2 { margin: 12px 0 10px; color: #fff; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.page-post h2 a::after { content: ""; position: absolute; inset: 0; }
.page-post__body > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 22px; color: #b9b9b3; font-size: 15px; line-height: 1.6; }
.page-posts--single { grid-template-columns: minmax(0, 1fr); }
.page-posts--single .page-post { flex-direction: row; align-items: stretch; }
.page-posts--single .page-post__media { flex: 0 0 54%; aspect-ratio: auto; min-height: 340px; }
.page-posts--single .page-post__body { justify-content: center; padding: 40px 44px; }
.page-posts--single .page-post h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.page-posts--single .page-post__body > p { -webkit-line-clamp: 5; font-size: 16px; }
.page-empty { margin-top: 56px; padding: 56px 24px; border: 1px dashed rgb(255 255 255 / 16%); border-radius: 16px; text-align: center; color: var(--home-muted); }
.page-empty strong { display: block; margin-bottom: 6px; color: #fff; font-size: 20px; font-weight: 600; }
.page-empty a { color: var(--plans-coral); text-decoration: underline; text-underline-offset: 3px; }
.page-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.page-pagination a, .page-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 999px; color: #d6d6d1; font-size: 14px; }
.page-pagination a:hover { border-color: rgb(255 106 61 / 60%); color: #fff; }
.page-pagination span[aria-current] { border-color: transparent; background: linear-gradient(100deg, #ff7b47, #ff6a3d); color: #fff; font-weight: 600; }

/* Blog article */
.page-article { width: min(100%, 820px); margin: 0 auto; padding-top: 40px; }
.page-back { display: inline-flex; align-items: center; gap: 8px; color: var(--home-muted); font-size: 14px; }
.page-back svg { width: 15px; height: 15px; transform: rotate(180deg); }
.page-back:hover { color: #fff; }
.page-article__header { margin: 26px 0 32px; }
.page-article__header h1 { margin: 14px 0 0; color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 650; letter-spacing: -.035em; line-height: 1.1; }
.page-article__header > p { margin: 18px 0 0; color: #b9b9b3; font-size: 19px; line-height: 1.55; }
.page-article__cover { overflow: hidden; margin: 0 0 40px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 18px; background: #111; }
.page-article__cover img { width: 100%; height: auto; }
.page-article__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / 10%); }
.page-article__footer .page-chips { justify-content: flex-start; }
.page-share { display: flex; align-items: center; gap: 8px; color: var(--home-muted); font-size: 13.5px; }
.page-share a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; color: #d6d6d1; }
.page-share a:hover { border-color: rgb(255 106 61 / 60%); color: #fff; }
.page-share svg { width: 16px; height: 16px; }
.page-related { margin-top: 72px; }
.page-related > h2 { margin: 0; color: #fff; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.page-related .page-posts { margin-top: 26px; }

@media (max-width: 1024px) {
    .page-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-posts--single { grid-template-columns: minmax(0, 1fr); }
    .page-about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
    .page-posts--single .page-post { flex-direction: column; }
    .page-posts--single .page-post__media { flex: 0 0 auto; aspect-ratio: 16 / 9; min-height: 0; }
    .page-posts--single .page-post__body { padding: 24px 22px 26px; }
}
@media (max-width: 680px) {
    .page-main { width: min(calc(100% - 32px), var(--home-content)); margin-bottom: 72px; }
    .page-hero { padding-top: 36px; }
    .page-hero > p { font-size: 16px; line-height: 25px; }
    .page-posts { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 40px; }
    .page-post__body { padding: 20px 20px 22px; }
    .page-prose { font-size: 16px; }
    .page-article { padding-top: 24px; }
    .page-article__cover { margin-bottom: 28px; border-radius: 14px; }
    .page-actions .plans-buy, .page-actions .page-button { width: 100%; max-width: none; }
    .page-blog-tools .home-search__shortcut { display: none; }
}
