.gh-reading-list,
.gh-photography {
    margin-inline: auto;
    padding-inline: clamp(2rem, 5vw, 4rem);
}

.gh-reading-list {
    max-width: 78rem;
}

.gh-photography {
    max-width: 108rem;
}

.gh-list-heading {
    margin: 0 0 2.4rem;
    font-size: clamp(2.4rem, 3.6vw, 3.2rem);
}

.gh-text-post {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 0.4rem 2.4rem;
    padding-block: 1.6rem;
    border-bottom: 1px solid var(--color-light-gray, #ddd);
}

.gh-text-post h2,
.gh-photo-tile h2 {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.gh-text-post time,
.gh-photo-tile time {
    color: var(--color-secondary-text);
    font-size: 1.35rem;
    white-space: nowrap;
}

.gh-reading-list .pagination,
.gh-photography .pagination {
    margin-top: 3.2rem;
}

.gh-photo-grid,
.gh-photo-sequence,
.gh-photo-content .kg-gallery-container {
    column-count: 2;
    column-gap: clamp(1.6rem, 3vw, 2.8rem);
}

.gh-photo-tile,
.gh-photo-sequence > *,
.gh-photo-content .kg-gallery-image {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 1.8rem;
}

.gh-photo-content .kg-gallery-container {
    display: block;
}

.gh-photo-content .kg-gallery-row {
    display: contents;
}

.gh-photo-tile img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0.8rem;
}

.gh-photo-content > .gh-photo-sequence {
    grid-column: wide-start / wide-end;
}

.gh-photo-content .gh-photo-sequence img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 639px) {
    .gh-text-post {
        grid-template-columns: minmax(0, 1fr);
    }

    .gh-photo-grid,
    .gh-photo-sequence,
    .gh-photo-content .kg-gallery-container {
        column-count: 1;
    }
}

@media (min-width: 768px) {
    .gh-foot .gh-foot-inner {
        grid-template-columns: 1fr auto;
    }
}
