#blog-holder {
    width: 100dvw;
    height: 100dvh;
    margin-top: calc(var(--header-hight) * -1);
    padding: var(--header-hight) var(--site-padding) var(--site-padding) var(--site-padding);
    display: flex;
    flex-direction: row;
    gap: 15px;
    overflow-x: scroll;
}

.blog-card {
    flex-shrink: 0;
    height: 100%;
    min-height: 375px;
    width: auto;
    aspect-ratio: 1.25 / 2;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    background-color: var(--secondary-color-light);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.blog-card-visible {
    animation: about-rise 750ms ease forwards;
}

.blog-card:hover {
    transform: scale(1.025);
    box-shadow: var(--shadow-blurry);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    /*background: #ff5f6d; /* fallback for old browsers */
    background: var(--green-gradient);
    background-position: center center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.blog-card-textsection {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    padding: 15px;
    gap: 10px;
}

.blog-card-textsection-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color-light);
}

.blog-card-textsection-meta:after {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.blog-card-textsection-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.42rem;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--primary-color);
}

.blog-card-textsection-subtitle {
    flex-grow: 1;
    min-height: 0;
    color: var(--primary-color-light);
    font-size: 0.9rem;
    line-height: 1.5;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.blog-empty-state {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color-light);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

@media (max-width: 670px) {
    #blog-holder {
        padding: calc((var(--header-hight) + var(--site-padding)) - var(--header-padding)) var(--site-padding) var(--site-padding) var(--site-padding);
    }
}

@keyframes blog-nudge-left {
    0%   { transform: translateX(0);     opacity: 1; }
    40%  { transform: translateX(-28px); opacity: 1; }
    70%  { transform: translateX(-6px);  opacity: 1; }
    100% { transform: translateX(0);     opacity: 1; }
}
@keyframes blog-nudge-right {
    0%   { transform: translateX(0);    opacity: 1; }
    40%  { transform: translateX(28px); opacity: 1; }
    70%  { transform: translateX(6px);  opacity: 1; }
    100% { transform: translateX(0);    opacity: 1; }
}
.blog-card-nudge-left  { animation: blog-nudge-left  650ms cubic-bezier(0.33, 0, 0.66, 1) forwards !important; }
.blog-card-nudge-right { animation: blog-nudge-right 650ms cubic-bezier(0.33, 0, 0.66, 1) forwards !important; }

@media (max-width: 500px) {
    #blog-holder {
        scroll-snap-type: x mandatory;
        padding-left: var(--site-padding);
        padding-right: var(--site-padding);
    }

    .blog-card {
        flex-shrink: 0;
        height: 100%;
        width: 100%;
        aspect-ratio: auto;
        animation: about-rise 750ms ease forwards;
        scroll-snap-align: center;
        width: 82vw;
        height: auto;
        aspect-ratio: 1.25 / 2;
    }

    .blog-card:hover {
        transform: scale(1.0);
        box-shadow: var(--shadow);
    }
}

/* ---------------------------------------------------------------------- */
/* Blog Post Detail */
/* ---------------------------------------------------------------------- */

.post-hero-title-adaptive {
    transition: color 350ms ease;
}

.post-hero {
    position: sticky;
    position: fixed;
    top: 0;
    z-index: 0;
    width: 100%;
    min-height: 260px;
    height: calc(50dvh + (var(--header-hight) - var(--header-padding)));
    /*background: linear-gradient(35deg, #ffc371 0%, #ff5f6d 60%, #c471ed 100%);*/
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    mask-image: linear-gradient(to bottom, black calc(100% - 30px), transparent 100%);
}

.post-content-wrap {
    position: relative;
    z-index: 1;
    background-color: var(--secondary-color);
    border-radius: 30px 30px 0 0;
    margin-top: 50dvh;
    padding-bottom: 80px;
    padding-bottom: max(calc((100dvw - 720px) / 2), var(--site-padding));
    box-shadow: var(--shadow-strong-blurry);
    box-shadow: var(--shadow-strong-blurry-up);
    /*mask-image: linear-gradient(to bottom, black calc(100% - 5px), transparent 100%);*/
}

.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 52px var(--site-padding) 0px;
    animation: about-rise 780ms ease forwards;
}

.post-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-color-light);
    margin-bottom: 16px;
}

.post-eyebrow::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: currentColor;
    flex-shrink: 0;
}

.post-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.8rem, 4vw, 2.8rem);
    font-weight: bold;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--primary-color);
    margin: 0 0 14px;
    text-shadow: var(--shadow-medium);
}

.post-subtitle {
    /*
    font-family: "Fraunces", Georgia, serif;
    font-weight: bold;
    */
    line-height: 1.5;
    color: var(--primary-color-light);
    margin: 0px 0px 32px;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border-top: 1px solid var(--primary-color-light);
    border-bottom: 1px solid var(--primary-color-light);
    margin-bottom: 44px;
}

.post-author-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.post-author-meta {
    font-size: 0.8rem;
    color: var(--primary-color-light);
}

.post-body {
    font-size: 1rem;
    line-height: 1.78;
    color: var(--primary-color);
}

.post-body p {
    margin-bottom: 1.4em;
}

.post-body h2 {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.55rem;
    font-weight: bold;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin: 2em 0 0.5em;
}

.post-body h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1.8em 0 0.4em;
}

.post-body blockquote {
    border-left: 2px solid var(--primary-color);
    padding-left: 22px;
    margin: 2em 0;
    font-style: italic;
    color: var(--primary-color-light);
}

@media (max-width: 670px) {
    .post-content {
        padding: 36px var(--site-padding) 0px;
    }

    /*
    .post-hero {
        height: calc(50dvh + var(--header-hight) + 30px);
    }
    */
}