.sj-parity-block {
    margin-block-start: var(--wp--preset--spacing--l, 2rem);
}

.sj-parity-block--latest-photos .shongjog-latest-photos__grid {
    display: grid;
    grid-template-columns: repeat(4, 58px);
    gap: 0.5rem;
}

.sj-parity-block--latest-photos img {
    display: block;
    height: 58px;
    max-width: 100%;
    object-fit: cover;
    width: 58px;
}

.sj-twitter-embed,
.sj-twitter-embed iframe {
    max-width: 100% !important;
    width: 100% !important;
}

.sj-home-about-shongjog {
    margin-block-start: var(--wp--preset--spacing--l, 2rem);
}

.sj-home-about-shongjog p:not(.sj-home-about-shongjog__more) {
    margin-block: 0;
}

.sj-home-about-shongjog__more {
    margin-block-start: var(--wp--preset--spacing--m, 1rem);
}

/* Loaded only on Terms and Projects. Terms contains one long legacy URL. */
.shongjog-content-sidebar-layout__content,
.shongjog-content-sidebar-layout__content .entry-content {
    min-width: 0;
}

.shongjog-content-sidebar-layout__content .entry-content p,
.shongjog-content-sidebar-layout__content .entry-content span,
.shongjog-content-sidebar-layout__content .entry-content a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 480px) {
    .sj-parity-block--latest-photos .shongjog-latest-photos__grid {
        grid-template-columns: repeat(4, minmax(0, 58px));
    }
}
