.gh-blog-home {
    --home-rule: var(--color-light-gray);
}

.gh-blog-home > * {
    grid-column: main;
}

.gh-home-section-label {
    padding-bottom: 1.2rem;
    margin-bottom: 3.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--home-rule);
}

.gh-home-hero {
    display: block;
}

.gh-home-hero:hover {
    opacity: 1;
}

.gh-home-hero-image {
    margin: 0 0 3.2rem;
    overflow: hidden;
    border-radius: 12px;
    corner-shape: squircle;
    background: var(--color-lighter-gray);
}

.gh-home-hero-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.gh-home-hero-content time,
.gh-home-post time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.gh-home-hero-content h1 {
    margin-top: 1.2rem;
    font-size: clamp(3.6rem, 7vw, 6.4rem);
    font-weight: 800;
    line-height: 1.02;
    word-break: break-word;
}

.gh-home-hero-content p {
    max-width: 62rem;
    margin-top: 2rem;
    font-size: 1.9rem;
    line-height: 1.55;
    color: var(--color-secondary-text);
}

.gh-home-read-more {
    display: inline-block;
    margin-top: 2.4rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ghost-accent-color);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gh-home-archive {
    margin-top: 9.6rem;
}

.gh-home-post {
    border-bottom: 1px solid var(--home-rule);
}

.gh-home-post:first-child {
    border-top: 1px solid var(--home-rule);
}

.gh-home-post > a {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr) auto;
    gap: 2.4rem;
    align-items: start;
    padding: 2.8rem 0;
}

.gh-home-post > a:hover {
    opacity: 1;
}

.gh-home-post h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
}

.gh-home-post p {
    margin-top: 0.8rem;
    line-height: 1.5;
    color: var(--color-secondary-text);
}

.gh-home-post-arrow {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--ghost-accent-color);
}

.gh-home-post > a:hover h2 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

@media (max-width: 767px) {
    .gh-home-section-label {
        margin-bottom: 2.4rem;
    }

    .gh-home-hero-image {
        margin-bottom: 2.4rem;
        border-radius: 8px;
    }

    .gh-home-hero-content h1 {
        font-size: 3.6rem;
    }

    .gh-home-hero-content p {
        font-size: 1.7rem;
    }

    .gh-home-archive {
        margin-top: 6.4rem;
    }

    .gh-home-post > a {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1.2rem;
        padding: 2.4rem 0;
    }

    .gh-home-post time {
        grid-column: 1 / -1;
    }

    .gh-home-post h2 {
        font-size: 2.2rem;
    }
}
