.af-single-post {
min-height: 70vh;
color: #f4f7fb;
background:
radial-gradient(
circle at 85% 0,
rgba(167, 139, 250, 0.1),
transparent 28rem
),
#07111f;
}
.af-post-container,
.af-post-content,
.af-post-featured,
.af-post-cta,
.af-post-navigation,
.af-post-comments {
width: min(calc(100% - 32px), 820px);
margin-inline: auto;
}
.af-post-header {
padding: clamp(70px, 9vw, 125px) 0 44px;
text-align: center;
}
.af-post-eyebrow {
margin: 0 0 14px;
color: #67e8f9;
font-size: 0.76rem;
font-weight: 800;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.af-post-category {
display: inline-flex;
margin-bottom: 20px;
padding: 6px 12px;
color: #67e8f9;
background: rgba(103, 232, 249, 0.08);
border: 1px solid rgba(103, 232, 249, 0.2);
border-radius: 999px;
font-size: 0.72rem;
font-weight: 800;
text-decoration: none;
text-transform: uppercase;
}
.af-post-title {
margin: 0 auto 22px;
color: #f4f7fb;
font-size: clamp(2.4rem, 7vw, 5.4rem);
font-weight: 850;
line-height: 1.02;
letter-spacing: -0.055em;
overflow-wrap: anywhere;
}
.af-post-summary {
max-width: 700px;
margin: 0 auto 25px;
color: #a9b5c8;
font-size: clamp(1rem, 2vw, 1.2rem);
}
.af-post-meta {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 8px 18px;
color: #8190a5;
font-size: 0.86rem;
}
.af-post-meta a {
color: #a9b5c8;
}
.af-post-featured {
overflow: hidden;
margin-top: 0;
margin-bottom: 55px;
border: 1px solid rgba(255, 255, 255, 0.11);
border-radius: 22px;
background: rgba(255, 255, 255, 0.04);
}
.af-post-featured img {
display: block;
width: 100%;
height: auto;
}
.af-post-content {
padding-bottom: 55px;
color: #d7deea;
font-size: clamp(1rem, 1.6vw, 1.1rem);
line-height: 1.82;
}
.af-post-content > * {
max-width: 100%;
}
.af-post-content h2,
.af-post-content h3,
.af-post-content h4 {
color: #f4f7fb;
line-height: 1.2;
}
.af-post-content h2 {
margin: 2.2em 0 0.65em;
font-size: clamp(1.7rem, 4vw, 2.6rem);
letter-spacing: -0.035em;
}
.af-post-content h3 {
margin: 1.9em 0 0.6em;
font-size: clamp(1.35rem, 3vw, 1.9rem);
}
.af-post-content a {
color: #67e8f9;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 4px;
}
.af-post-content img,
.af-post-content video,
.af-post-content iframe,
.af-post-content svg {
max-width: 100%;
height: auto;
}
.af-post-content figure {
margin: 2em 0;
}
.af-post-content blockquote {
margin: 2em 0;
padding: 20px 24px;
color: #c9d3e2;
background: rgba(103, 232, 249, 0.06);
border-left: 4px solid #67e8f9;
border-radius: 0 14px 14px 0;
}
.af-post-content pre {
max-width: 100%;
overflow-x: auto;
padding: 20px;
color: #d9faff;
background: #030a13;
border: 1px solid rgba(255, 255, 255, 0.11);
border-radius: 14px;
}
.af-post-content code {
overflow-wrap: anywhere;
}
.af-post-content table {
display: block;
max-width: 100%;
overflow-x: auto;
border-collapse: collapse;
}
.af-post-content th,
.af-post-content td {
padding: 10px 13px;
border: 1px solid rgba(255, 255, 255, 0.13);
}
.af-post-cta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
margin-bottom: 50px;
padding: clamp(24px, 5vw, 38px);
background:
linear-gradient(
135deg,
rgba(103, 232, 249, 0.1),
rgba(167, 139, 250, 0.1)
);
border: 1px solid rgba(255, 255, 255, 0.11);
border-radius: 20px;
}
.af-post-cta h2 {
margin: 0 0 8px;
color: #f4f7fb;
}
.af-post-cta p {
margin: 0;
color: #a9b5c8;
}
.af-post-button {
display: inline-flex;
min-height: 48px;
flex: 0 0 auto;
align-items: center;
justify-content: center;
padding: 0 21px;
color: #041019;
background: linear-gradient(135deg, #67e8f9, #6ee7b7);
border-radius: 999px;
font-weight: 800;
text-decoration: none;
}
.af-post-navigation {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin-bottom: 50px;
}
.af-post-navigation a {
display: block;
height: 100%;
padding: 20px;
color: #f4f7fb;
background: rgba(255, 255, 255, 0.055);
border: 1px solid rgba(255, 255, 255, 0.11);
border-radius: 15px;
font-weight: 750;
text-decoration: none;
}
.af-post-navigation span {
display: block;
margin-bottom: 7px;
color: #8190a5;
font-size: 0.72rem;
letter-spacing: 0.07em;
text-transform: uppercase;
}
.af-post-next {
text-align: right;
}
.af-post-comments {
margin-bottom: 70px;
}
@media (max-width: 680px) {
.af-post-header {
padding-top: 54px;
}
.af-post-title {
font-size: clamp(2.15rem, 12vw, 3.5rem);
}
.af-post-featured {
margin-bottom: 38px;
border-radius: 16px;
}
.af-post-content {
line-height: 1.75;
}
.af-post-cta {
align-items: flex-start;
flex-direction: column;
}
.af-post-navigation {
grid-template-columns: 1fr;
}
.af-post-next {
text-align: left;
}
} body.af-single-page {
margin: 0;
min-height: 100vh;
color: var(--af-text);
background:
radial-gradient(
circle at 8% 0%,
rgba(34, 211, 238, 0.12),
transparent 28rem
),
radial-gradient(
circle at 92% 12%,
rgba(139, 92, 246, 0.13),
transparent 32rem
),
var(--af-bg);
}
.af-single-main,
.af-single-article {
width: 100%;
min-width: 0;
}
.af-single-container {
width: min(calc(100% - 40px), 920px);
margin-inline: auto;
}
.af-single-hero {
padding: 48px 0;
border-bottom: 1px solid var(--af-border);
text-align: center;
}
.af-single-eyebrow {
margin: 0 0 12px;
color: var(--af-primary);
font-size: 0.75rem;
font-weight: 850;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.af-single-category {
display: inline-flex;
margin-bottom: 18px;
padding: 6px 11px;
color: var(--af-primary);
background: rgba(103, 232, 249, 0.09);
border: 1px solid rgba(103, 232, 249, 0.2);
border-radius: 999px;
font-size: 0.7rem;
font-weight: 850;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.af-single-hero h1 {
margin: 0 auto 20px;
color: var(--af-text);
font-size: clamp(2.6rem, 7vw, 5.5rem);
font-weight: 850;
line-height: 1;
letter-spacing: -0.055em;
overflow-wrap: anywhere;
}
.af-single-meta {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 9px 18px;
color: var(--af-dim);
font-size: 0.84rem;
}
.af-single-featured-image {
margin: 54px 0 0;
}
.af-single-featured-image img {
display: block;
width: 100%;
height: auto;
border: 1px solid var(--af-border);
border-radius: var(--af-radius);
}
.af-single-content {
padding: 54px 0;
color: var(--af-muted);
font-size: 1.08rem;
line-height: 1.8;
}
.af-single-content > *:first-child {
margin-top: 0;
}
.af-single-content > *:last-child {
margin-bottom: 0;
}
.af-single-content h2,
.af-single-content h3,
.af-single-content h4,
.af-single-content h5,
.af-single-content h6 {
color: var(--af-text);
line-height: 1.2;
}
.af-single-content h2 {
margin-top: 2em;
font-size: clamp(1.8rem, 4vw, 2.7rem);
}
.af-single-content h3 {
margin-top: 1.7em;
font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.af-single-content a {
color: var(--af-primary);
text-decoration: underline;
text-underline-offset: 4px;
}
.af-single-content img,
.af-single-content picture,
.af-single-content video,
.af-single-content canvas,
.af-single-content svg {
max-width: 100%;
height: auto;
}
.af-single-content iframe {
max-width: 100%;
}
.af-single-content blockquote {
margin: 2em 0;
padding: 20px 24px;
color: var(--af-text);
background: rgba(103, 232, 249, 0.07);
border-left: 4px solid var(--af-primary);
border-radius: 0 12px 12px 0;
}
.af-single-content pre {
max-width: 100%;
padding: 20px;
color: var(--af-text);
background: rgba(0, 0, 0, 0.3);
border: 1px solid var(--af-border);
border-radius: 12px;
overflow-x: auto;
}
.af-single-content table {
display: block;
width: 100%;
max-width: 100%;
overflow-x: auto;
border-collapse: collapse;
}
.af-single-content th,
.af-single-content td {
padding: 10px 13px;
border: 1px solid var(--af-border);
}
.af-single-post-footer {
padding: 0 0 70px;
}
.af-single-tags {
display: flex;
flex-wrap: wrap;
gap: 9px;
margin-bottom: 28px;
}
.af-single-tags a {
padding: 6px 11px;
color: var(--af-primary);
background: rgba(103, 232, 249, 0.08);
border: 1px solid rgba(103, 232, 249, 0.18);
border-radius: 999px;
font-size: 0.78rem;
}
.af-single-post-navigation {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
margin-bottom: 30px;
}
.af-single-post-navigation a {
display: block;
min-height: 100%;
padding: 18px;
color: var(--af-text);
background: var(--af-surface);
border: 1px solid var(--af-border);
border-radius: 14px;
font-weight: 750;
}
.af-single-post-navigation div:last-child {
text-align: right;
}
@media (max-width: 680px) {
.af-single-container {
width: min(calc(100% - 28px), 920px);
}
.af-single-hero {
padding: 32px 0;
}
.af-single-hero h1 {
font-size: clamp(2.35rem, 13vw, 4rem);
}
.af-single-content {
padding: 42px 0;
font-size: 1rem;
}
.af-single-post-navigation {
grid-template-columns: 1fr;
}
.af-single-post-navigation div:last-child {
text-align: left;
}
} body.af-single-page .af-single-hero {
padding-top: 26px;
padding-bottom: 28px;
}
body.af-single-page .af-single-eyebrow {
margin-top: 0;
margin-bottom: 8px;
}
body.af-single-page .af-single-category {
margin-top: 0;
margin-bottom: 12px;
}
body.af-single-page .af-single-hero h1 {
max-width: 850px;
margin: 0 auto 14px;
font-size: clamp(2.1rem, 4.2vw, 4rem);
font-weight: 850;
line-height: 1.08;
letter-spacing: -0.04em;
overflow-wrap: anywhere;
text-wrap: balance;
}
body.af-single-page .af-single-meta {
margin: 0;
} @media (max-width: 680px) {
body.af-single-page .af-single-hero {
padding-top: 20px;
padding-bottom: 22px;
}
body.af-single-page .af-single-eyebrow {
margin-bottom: 6px;
}
body.af-single-page .af-single-category {
margin-bottom: 10px;
}
body.af-single-page .af-single-hero h1 {
max-width: 100%;
margin-bottom: 12px;
font-size: clamp(1.9rem, 9vw, 2.8rem);
line-height: 1.1;
letter-spacing: -0.03em;
}
}
@media (max-width: 420px) {
body.af-single-page .af-single-hero {
padding-top: 16px;
padding-bottom: 18px;
}
body.af-single-page .af-single-hero h1 {
font-size: clamp(1.75rem, 8.5vw, 2.35rem);
line-height: 1.12;
}
} body.af-single-page .af-single-hero {
padding: 30px 0;
background: transparent;
border-bottom: 1px solid var(--af-border);
text-align: center;
}
body.af-single-page .af-single-container {
width: min(calc(100% - 40px), 1120px);
}
body.af-single-page .af-single-eyebrow {
margin: 0 0 9px;
color: var(--af-primary);
font-size: 0.75rem;
font-weight: 850;
line-height: 1.3;
letter-spacing: 0.14em;
text-transform: uppercase;
}
body.af-single-page .af-single-category {
margin: 0 0 10px;
}
body.af-single-page .af-single-hero h1 {
max-width: 980px;
margin: 0 auto 14px;
padding: 0;
color: var(--af-text);
background: none;
font-size: clamp(2rem, 4vw, 3.75rem);
font-weight: 850;
line-height: 1.08;
letter-spacing: -0.04em;
overflow-wrap: anywhere;
text-wrap: balance;
}
body.af-single-page .af-single-meta {
margin: 0;
color: var(--af-dim);
}
@media (max-width: 680px) {
body.af-single-page .af-single-container {
width: min(calc(100% - 28px), 1120px);
}
body.af-single-page .af-single-hero {
padding: 22px 0;
}
body.af-single-page .af-single-hero h1 {
font-size: clamp(1.75rem, 8vw, 2.6rem);
line-height: 1.1;
letter-spacing: -0.03em;
}
}