.home-ig { flex: 0 1 40%; min-width: 0; color: #232323; }
.home-ig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.4rem; margin-bottom: 1.4rem; }
.home-ig-head h3 { margin: 0; font-size: 2rem; }
.home-ig-head a { display: inline-flex; align-items: center; gap: .6rem; color: inherit; font-size: 1.3rem; }
.home-ig-head img { width: 2.8rem; height: 2.8rem; }
.home-ig-followers { flex-basis: 100%; margin: 0; font-size: max(16px, 1.6rem); }
.home-ig-followers strong { font-weight: 700; }
.home-ig-number { display: inline-grid; font-variant-numeric: tabular-nums; }
.home-ig-number-original, .home-ig-number-value { grid-area: 1 / 1; }
.home-ig-number-original { opacity: 0; }
.home-ig-number-value { text-align: right; }
.home-ig-followers small { margin-left: .5rem; color: #555; font-size: max(12px, 1.2rem); }
.home-ig-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; list-style: none; padding: 0; margin: 0; }
.home-ig-swipe-tip { display: none; }
.home-ig-post { min-width: 0; }
.home-ig-post a { display: block; color: inherit; text-decoration: none; }
.home-ig-cover { position: relative; }
.home-ig-post img { display: block; width: 100%; height: auto; max-height: 34rem; aspect-ratio: 4 / 3; object-fit: contain; background: #f5f5f3; }
.home-ig-cover .home-ig-reel { position: absolute; bottom: .8rem; right: .8rem; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #222d; color: #fff; text-decoration: none; }
.home-ig-post p { margin: 1rem 0 .4rem; white-space: pre-line; font-size: 1.4rem; line-height: 1.6; overflow-wrap: anywhere; }
.home-ig-post p[data-collapsed] { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-ig-post .home-ig-source, .home-ig-profile, .home-ig-more { display: inline-block; color: #284c57; font-size: 1.3rem; text-decoration: underline; }
.home-ig-more { padding: .6rem 0; margin-right: 1rem; border: 0; background: none; cursor: pointer; }
.home-ig-more[hidden] { display: none; }
.home-ig :focus-visible { outline: 2px solid #225f72; outline-offset: -2px; }
@media (min-width: 768px) { .home-ig-posts { max-height: min(72vh, 60rem); overflow-y: auto; padding-right: .8rem; scrollbar-width: thin; } }
@media (max-width: 767px) { .home-ig { flex-basis: 100%; margin-top: 2.4rem; } }

@media (max-width: 767px), (max-height: 600px) and (pointer: coarse) {
    .home-ig { container-type: inline-size; }
    .home-ig-swipe-tip { display: block; margin: 0 0 .7rem; font-size: max(12px, 1.2rem); color: #555; }
    .home-ig-posts {
        --post-window: calc(1.8 * min(75cqi, 34rem) + 12rem);
        max-height: min(80svh, var(--post-window));
        overflow-y: auto;
        padding-right: .5rem;
        scrollbar-width: thin;
    }
}
