.post-hero {
padding: 32px 0 56px;
border-bottom: 1px solid var(--color-border);
}
.post-hero > .container {
display: flex;
align-items: center;
gap: 48px;
}
.post-hero__fields {
width: 616px;
max-width: 100%;
flex: none;
display: flex;
flex-direction: column;
gap: 24px;
} .post-crumb {
margin: 0;
font-size: 13px;
line-height: 1.5;
color: var(--color-ink-3);
}
.post-crumb a:hover,
.post-crumb a:focus {
color: var(--color-blue);
}
.post-crumb__sep {
margin: 0 5px;
}
.post-crumb__current {
color: var(--color-blue);
} .post-hero__cat {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
}
.post-hero__cat-rule {
width: 24px;
height: 1px;
flex: none;
background: var(--color-blue);
}
.post-hero__cat-label {
font-family: var(--font-mono);
font-size: 12px;
line-height: 1.2;
color: var(--color-blue);
text-transform: uppercase;
}
.post-hero__title {
margin: 0;
font-size: 52px;
line-height: 1.08;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-hero__excerpt {
margin: 0;
font-size: 18px;
line-height: 1.6;
color: var(--color-ink-2);
} .post-hero__meta {
display: flex;
flex-direction: column;
gap: 20px;
padding-top: 8px;
}
.post-hero__meta-row {
display: flex;
align-items: center;
gap: 16px;
padding-top: 12px;
}
.post-authorchip {
width: 140px;
flex: none;
display: flex;
align-items: center;
gap: 10px;
}
.post-authorchip__avatar {
width: 36px;
height: 36px;
flex: none;
}
.post-authorchip__name {
margin: 0;
flex: 1;
min-width: 0;
font-size: 12px;
line-height: 1.4;
color: var(--color-ink-deep);
}
.post-metafield {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 6px;
}
.post-metafield__label {
margin: 0;
font-size: 11px;
line-height: 1.2;
color: var(--color-ink-3);
}
.post-metafield__value {
margin: 0;
font-size: 12px;
line-height: 1.4;
color: var(--color-ink-2);
} .post-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0;
padding: 0;
list-style: none;
}
.post-tags__item {
display: flex;
}
.post-tag {
display: inline-flex;
align-items: center;
justify-content: center;
height: 32px;
padding: 0 16px;
border: 1px solid var(--color-border);
border-radius: 2px;
font-size: 13px;
line-height: 1.2;
white-space: nowrap;
color: var(--color-ink-2);
}
a.post-tag:hover,
a.post-tag:focus {
border-color: var(--color-blue);
color: var(--color-blue);
} .post-hero__media {
width: 616px;
max-width: 100%;
flex: none;
margin: 0;
}
.post-hero__ph {
height: 436px;
gap: 16px;
border-color: var(--color-border);
}
.post-hero__ph .image-placeholder__subject,
.post-hero__ph-label {
font-weight: 400;
color: var(--color-ink-3);
}
.post-hero__thumb {
width: 100%;
height: 436px;
object-fit: cover;
border: 1px solid var(--color-border);
} .post-read {
padding: 64px 0 72px;
}
.post-read > .container {
display: flex;
align-items: flex-start;
gap: 100px;
}
.post-read__article {
width: 820px;
max-width: 100%;
flex: none;
display: flex;
flex-direction: column;
gap: 40px;
border-top: 1px solid var(--color-ph-soft-bg);
border-bottom: 1px solid var(--color-ph-soft-bg);
padding: 24px 0 48px;
} .post-read__body {
font-size: 16px;
line-height: 1.75;
color: var(--color-ink-2);
}
.post-read__body p {
margin: 0 0 20px;
}
.post-read__body h2 {
margin: 40px 0 16px;
font-size: 28px;
line-height: 1.25;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-read__body h3 {
margin: 32px 0 12px;
font-size: 20px;
line-height: 1.3;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-read__body h4 {
margin: 28px 0 10px;
font-size: 16px;
line-height: 1.4;
font-weight: 600;
color: var(--color-ink-deep);
}
.post-read__body ul,
.post-read__body ol {
margin: 0 0 20px;
padding-left: 22px;
}
.post-read__body li {
margin: 8px 0;
}
.post-read__body a {
color: var(--color-blue);
text-decoration: underline;
}
.post-read__body blockquote {
margin: 0 0 20px;
padding: 4px 0 4px 20px;
border-left: 2px solid var(--color-blue);
font-size: 18px;
line-height: 1.6;
color: var(--color-ink);
}
.post-read__body img {
max-width: 100%;
height: auto;
} .post-share {
display: flex;
flex-direction: column;
gap: 20px;
background: var(--color-band);
border: 1px solid var(--color-border);
padding: 24px;
}
.post-share__text {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--color-ink-2);
}
.post-share__row {
display: flex;
gap: 12px;
}
.post-share__btn {
flex: 1;
min-width: 0;
display: inline-flex;
align-items: center;
gap: 10px;
height: 48px;
padding: 0 16px;
background: #fff;
border: 1px solid var(--color-border);
border-radius: 2px;
font-family: var(--font-sans);
font-size: 14px;
font-weight: 500;
line-height: 1;
color: var(--color-ink-deep);
cursor: pointer;
white-space: nowrap;
}
.post-share__btn:hover,
.post-share__btn:focus {
border-color: var(--color-blue);
color: var(--color-blue);
}
.post-share__icon {
width: 18px;
height: 18px;
flex: none;
} .post-read__aside {
width: 300px;
flex: none;
display: flex;
flex-direction: column;
gap: 24px;
}
.post-side__box {
display: flex;
flex-direction: column;
gap: 20px;
background: #fff;
border: 1px solid var(--color-border);
padding: 24px;
}
.post-side__box--band {
background: var(--color-band);
}
.post-side__title {
margin: 0;
font-size: 18px;
line-height: 1.3;
font-weight: 500;
color: var(--color-ink-deep);
} .post-toc {
gap: 26px;
}
.post-toc__list {
display: flex;
flex-direction: column;
gap: 22px;
margin: 0;
padding: 3px 0 3px 16px;
list-style: none;
border-left: 1px solid var(--color-border);
}
.post-toc__item--sub {
padding-left: 12px;
}
.post-toc__link {
font-size: 14px;
line-height: 1.4;
color: var(--color-ink-2);
}
.post-toc__link:hover,
.post-toc__link:focus {
color: var(--color-blue);
} .post-side-related {
padding: 20px;
}
.post-side-related__list {
display: flex;
flex-direction: column;
gap: 12px;
}
.post-mini {
display: flex;
align-items: center;
gap: 12px;
border: 1px solid var(--color-border);
padding: 12px;
}
.post-mini:hover,
.post-mini:focus {
border-color: var(--color-blue);
}
.post-mini__thumb {
width: 64px;
height: 70px;
flex: none;
display: flex;
background: var(--color-ph-soft-bg);
}
.post-mini__thumb img {
width: 64px;
height: 70px;
}
.post-mini__body {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 9px;
}
.post-mini__cat {
font-size: 11px;
line-height: 1.2;
color: var(--color-ink-3);
}
.post-mini__row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.post-mini__title {
flex: 1;
min-width: 0;
font-size: 15px;
line-height: 1.3;
font-weight: 500;
color: var(--color-ink-deep);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.post-mini:hover .post-mini__title {
color: var(--color-blue);
}
.post-mini__arrow {
width: 18px;
height: 18px;
flex: none;
}
.post-mini__excerpt {
font-size: 12px;
line-height: 1.4;
color: var(--color-ink-3);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} .post-newsletter {
gap: 24px;
}
.post-newsletter__copy {
display: flex;
flex-direction: column;
gap: 12px;
}
.post-newsletter__text {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--color-ink-2);
}
.post-newsletter__form {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.post-newsletter__email {
width: 100%;
height: 48px;
padding: 0 16px;
background: #fff;
border: 1px solid var(--color-border);
border-radius: 2px;
font-family: var(--font-sans);
font-size: 14px;
line-height: 1;
color: var(--color-ink);
}
.post-newsletter__email::placeholder {
color: var(--color-ink-3);
}
.post-newsletter__submit {
gap: 24px;
}
.post-newsletter__arrow {
width: 18px;
height: 18px;
flex: none;
} .post-author {
padding: 30px 0;
}
.post-author__card {
display: flex;
align-items: flex-start;
gap: 24px;
width: 760px;
max-width: 100%;
background: var(--color-band);
padding: 32px;
}
.post-author__avatar {
width: 72px;
height: 72px;
flex: none;
}
.post-author__details {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 16px;
}
.post-author__name {
margin: 0;
font-size: 20px;
line-height: 1.2;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-author__bio {
margin: 0;
font-size: 14px;
line-height: 1.6;
color: var(--color-ink-2);
} .post-narrow > .container {
padding-left: calc(var(--pad-page) + 60px);
padding-right: calc(var(--pad-page) + 60px);
}
.post-cta {
padding: 56px 0;
background: var(--color-blue);
}
.post-cta > .container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 48px;
}
.post-cta__copy {
width: 800px;
max-width: 100%;
flex: none;
display: flex;
flex-direction: column;
gap: 16px;
}
.post-cta__title {
margin: 0;
font-size: 36px;
line-height: 1.17;
font-weight: 500;
color: #fff;
}
.post-cta__text {
margin: 0;
font-size: 18px;
line-height: 1.6;
color: #fff;
} .post-related {
padding: 64px 0 72px;
}
.post-related > .container {
display: flex;
flex-direction: column;
gap: 32px;
}
.post-related__title {
margin: 0;
font-size: 30px;
line-height: 1.25;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-related__grid {
display: flex;
align-items: stretch;
gap: 24px;
}
.post-card {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
background: #fff;
border: 1px solid var(--color-border);
}
.post-card:hover,
.post-card:focus {
border-color: var(--color-blue);
}
.post-card__media {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
height: 208px;
padding: 20px;
background: var(--color-ph-soft-bg);
border-bottom: 1px solid var(--color-border);
overflow: hidden;
}
.post-card__ph-icon {
width: 28px;
height: 28px;
flex: none;
}
.post-card__ph-label {
margin: 0;
max-width: 100%;
font-size: 13px;
line-height: 1.5;
text-align: center;
color: var(--color-ink-3);
}
.post-card__thumb {
width: 100%;
height: 100%;
object-fit: cover;
}
.post-card__body {
display: flex;
flex-direction: column;
gap: 14px;
padding: 24px;
}
.post-card__cat {
margin: 0;
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.2;
color: var(--color-blue);
text-transform: uppercase;
}
.post-card__row {
display: flex;
align-items: center;
gap: 16px;
}
.post-card__title {
flex: 1;
min-width: 0;
font-size: 20px;
line-height: 1.4;
font-weight: 500;
color: var(--color-ink-deep);
}
.post-card:hover .post-card__title {
color: var(--color-blue);
}
.post-card__arrow {
width: 20px;
height: 20px;
flex: none;
} @media (max-width: 1280px) {
.post-hero__title {
font-size: 44px;
}
.post-read > .container {
gap: 64px;
}
.post-narrow > .container {
padding-left: var(--pad-page);
padding-right: var(--pad-page);
}
.post-cta__title {
font-size: 32px;
}
}
@media (max-width: 1024px) {
.post-hero > .container {
flex-direction: column;
align-items: stretch;
gap: 40px;
}
.post-hero__fields {
width: 100%;
}
.post-hero__media {
width: 100%;
}
.post-read > .container {
flex-direction: column;
align-items: stretch;
gap: 48px;
}
.post-read__article {
width: 100%;
}
.post-read__aside {
width: 100%;
}
.post-share__row {
flex-wrap: wrap;
}
.post-share__btn {
flex: 1 1 40%;
}
.post-author__card {
width: 100%;
}
.post-cta > .container {
flex-direction: column;
align-items: flex-start;
gap: 32px;
}
.post-cta__copy {
width: 100%;
}
.post-related__grid {
flex-wrap: wrap;
}
.post-card {
flex: 1 1 45%;
}
}
@media (max-width: 640px) {
.post-hero {
padding: 24px 0 40px;
}
.post-hero__title {
font-size: 34px;
}
.post-hero__excerpt {
font-size: 16px;
}
.post-hero__meta-row {
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
.post-authorchip {
width: 100%;
}
.post-hero__ph {
height: 300px;
}
.post-read {
padding: 48px 0 56px;
}
.post-read__body h2 {
font-size: 24px;
}
.post-share__btn {
flex: 1 1 100%;
}
.post-author {
padding: 24px 0;
}
.post-author__card {
flex-direction: column;
padding: 24px;
}
.post-cta {
padding: 44px 0;
}
.post-cta__title {
font-size: 28px;
}
.post-related {
padding: 48px 0 56px;
}
.post-related__title {
font-size: 26px;
}
.post-related__grid {
flex-direction: column;
}
.post-card {
flex: 1 1 auto;
}
}
.post-toc__item--sub2 {
padding-left: 24px;
}
.post-toc__item--sub3 {
padding-left: 36px;
} .res-rc-card__meta {
margin: 10px 0 0;
font-size: 12px;
line-height: 1.5;
color: var(--color-ink-3);
} .post-authorchip__avatar--real,
.post-author__avatar--real {
border-radius: 50%;
object-fit: cover;
}