.post-section{
padding: 4rem 0;
}
.post-header {
max-width: 672px;
margin: 0 auto 6rem auto;
@media (max-width: 768px) {
margin-bottom: 3rem;
}
}
.post-thumbnail {
max-width: 576px;
margin: 0 auto 0 auto;
@media (max-width: 1024px) {
margin-bottom: 3rem;
}
}
.post-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.post-content, .post-footer {
max-width: 576px;
margin: 0 auto;
}
.post-header {
display: flex;
flex-direction: column;
align-items: start;
}
.post-header .section-badge {
margin-left: 0;
}
.post-categories {
font-family: "Instrument Serif", serif;
font-style: italic;
margin-bottom: 1rem;
display: inline-block;
}
.post-title {
margin-bottom: 2rem;
}
.post-details {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.post-date {
font-size: 0.75rem;
color: var(--color-muted-foreground);
margin-left: auto;
}
.post-thumbnail {
overflow: hidden;
aspect-ratio: 16 / 10;
display: flex;
align-items: center;
justify-content: center;
}
.post-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}
.post-content p {
margin-bottom: 1rem;
color: var(--color-muted-foreground);
letter-spacing: -0.025em;
font-size: 0.875rem;
font-weight: 300;
line-height: 1.625;
text-align: justify;
text-wrap: pretty;
}
.post-content h1, .post-content h2, .post-content h3 {
margin-bottom: 1rem;
margin-top: 2rem;
}
.post-footer {
border-top: 1px solid var(--color-accent);
padding: 1rem 0;
}
.post-date-footer {
font-size: 0.75rem;
color: var(--color-muted-foreground);
}
.post-details > div:nth-child(1) {
display: none !important;
@media (max-width: 1024px) {
display: flex !important;
}
}
aside {
position: sticky;
top: calc(var(--header-height) + 4rem);
max-height: 0;
display: flex;
flex-direction: column;
justify-content: start;
gap: 1rem;
align-items: center;
width: fit-content;
overflow: visible;
z-index: 10;
@media (max-width: 1024px) {
display: none;
}
}
aside .line {
width: 1px;
min-height: 2rem;
background-color: var(--color-foreground);
}
aside p {
transform: rotate(-90deg);
letter-spacing: -0.025em;
font-size: 0.75rem;
line-height: 1;
font-weight: 300;
}
.share-buttons {
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: center;
@media (max-width: 1024px) {
flex-direction: row;
}
}
.share-buttons a, .share-buttons button {
height: 32px;
width: 32px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background-color: var(--color-muted);
border: 1px solid var(--color-muted-foreground);
position: relative;
}
.share-buttons svg {
height: 12px;
width: 12px;
color: var(--color-foreground);
}
.hint {
position: absolute;
font-size: 0.75rem;
font-weight: 300;
text-wrap: nowrap;
left: calc(100% + 0.5rem);
opacity: 0;
transition: opacity 0.3s ease-out;
font-family: "Inter", Helvetica, sans-serif;
}
.share-buttons a:hover .hint, .share-buttons button:hover .hint {
opacity: 1;
}
.recommended-posts-section {
padding: 4rem 0;
}
.recommended-posts-section .section-header {
margin-bottom: 3rem;
}
.recommended-posts-section .section-header h2 {
text-align: center;
margin: 0 auto;
}
.recommended-posts-grid {
position: relative;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
@media (max-width: 1024px) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.recommended-posts-grid > article {
padding: 2rem;
display: flex;
flex-direction: column;
@media (max-width: 1024px) {
padding: 1rem;
}
}
.blog-post-link {
cursor: none;
flex: 1;
display: flex;
flex-direction: column;
}
.blog-post-thumbnail {
aspect-ratio: 16/10;
overflow: hidden;
}
.blog-post-thumbnail img {
object-fit: cover;
width: 100%;
height: 100%;
transition: transform 0.3s ease, filter 0.3s ease;
filter: grayscale(1);
}
.blog-post-link:hover img {
transform: scale(1.1);
filter: grayscale(0);
}
.blog-post-content {
font-size: 0.75rem;
padding: 1rem 0;
display: flex;
flex-direction: column;
align-items: start;
flex: 1;
}
.blog-post-title {
font-size: 1.125rem;
margin: 0.5rem 0;
transition: background-color 0.3s ease;
}
.blog-post-link:hover .blog-post-title {
background-color: var(--color-accent);
}
.blog-post-category {
font-family: "Instrument Serif", serif;
font-style: italic;
background-color: var(--color-accent);
}
.blog-post-excerpt {
margin-bottom: 2rem;
color: var(--color-muted-foreground);
letter-spacing: -0.025em;
line-height: 1.5;
}
.blog-post-date {
font-size: 0.75rem;
color: var(--color-muted-foreground);
margin-top: auto;
margin-left: auto;
letter-spacing: -0.025em;
}.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}