body {
    background-image: url("/img/bg/index.png");
    background-attachment: fixed;
    background-size: cover;
}

main {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

.hero {
    overflow: hidden;
    width: 100%;
}

.hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

section {
    margin-bottom: 3.5rem;
}

section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    padding-bottom: .75rem;
    color: #222;
    border-bottom: 1px solid #ddd;
}

.pins .posts {
    overflow-x: auto;
    white-space: nowrap;
}

.pins .post {
    display: inline-block;
    white-space: normal;
}

.pins article {
    flex-direction: column;
    width: 16rem;
}

.post {
    text-decoration: none;
}

article {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    padding: 1.125rem;
    transition: .25s ease;
    border: 1px solid #e8e8e8;
    border-radius: 1rem;
    background: #fff;
}

article:hover {
    transform: translateY(-.125rem);
    border-color: #ccc;
    box-shadow: 0 .625rem 1.875rem rgba(0, 0, 0, .06);
}

article img {
    flex: 0 0 16rem;
    width: 16rem;
    height: 16rem;
    border-radius: 1rem;
    background: #BFBFBF;
    object-fit: cover;
}

article h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.9;
    margin: .125rem 0 .5rem;
    color: #222;
    text-align: center;
}

article p {
    font-size: .9375rem;
    line-height: 2;
    margin: 0 0 .625rem;
    color: #777;
}

article time {
    font-size: .75rem;
    line-height: 1.5;
    color: #999;
    text-align: center;
}

@media (max-width: 768px) {
    main {
        padding: 1.75rem 1rem;
    }

    .hero {
        height: 10rem;
    }

    section {
        margin-bottom: 2.5rem;
    }

    section h2 {
        font-size: 1.25rem;
        margin-bottom: 1.125rem;
        padding-bottom: .625rem;
    }

    article {
        display: block;
        margin-bottom: 1rem;
        padding: .875rem;
    }

    article img {
        width: 100%;
        height: 12rem;
        margin-bottom: .75rem;
    }

    article h3 {
        font-size: 1rem;
        line-height: 1.8;
        margin: 0 0 .4rem;
    }

    article p {
        font-size: .875rem;
        line-height: 1.9;
        margin-bottom: .5rem;
    }

    article time {
        font-size: .6875rem;
    }
}