main .block.instagram-feed .text-container {
    max-width: 660px;
    margin-top: var(--spacing-200);
}

@media (max-width: 1024px) {
    main .block.instagram-feed .text-container {
        margin-bottom: var(--spacing-500);
    }
}

@media (min-width: 1025px) {
    main .block.instagram-feed .FeedGridLayout__root.layout__flex-column {
        position: relative;
    }

    main .block.instagram-feed .FeedHeader__left-container.FeedHeader__container {
        position: absolute;
        top: -100px;
        right: 16px;
    }
}

main .block.instagram-feed .FeedLayout__wrapper {
    background: transparent !important;
}

main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a > span:first-child {
    display: none;
}

main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a {
    font-size: 18px !important;
    line-height: 1.56 !important;
    font-weight: 300 !important;
    letter-spacing: 0.01em !important;
    color: var(--text-color-primary) !important;
    font-family: "Helvetica Neue", sans-serif !important;
    font-style: normal !important;
    text-decoration: none !important;
    transition: color .2s ease-in-out;
}

main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a:hover {
    color: var(--color-neutral-900) !important;
}

@media (max-width: 860px) {
    main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a {
        font-size: 18px !important;
        line-height: 1.56 !important;
    }
}
@media (max-width: 600px) {
    main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

main .block.instagram-feed.secondary .FeedHeader__username.FeedHeader__info-row > a {
    color: var(--text-color-secondary) !important;
}

main .block.instagram-feed.secondary .FeedHeader__username.FeedHeader__info-row > a:hover {
    color: var(--color-neutral-400) !important;
}

main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a > span:nth-child(2) {
    position: relative;
    margin-left: 2px;
}

main .block.instagram-feed .FeedHeader__username.FeedHeader__info-row > a > span:nth-child(2)::after {
    content: url("../../assets/images/icons/verified.svg");
    width: 20px;
    height: 20px;
    top: 50%;
    left: 100%;
    transform: translate(6px, -50%);
    position: absolute;
}

main .block.instagram-feed .FeedProfilePic__root {
    height: 40px !important;
    width: 40px !important;
}

main .block.instagram-feed .FeedHeader__right-container.FeedHeader__container,
main .block.instagram-feed .FeedLayout__follow-btn.FeedLayout__button {
    display: none;
}

main .block.instagram-feed .FeedGridLayout__root.layout__flex-column > div:first-child {
    margin-bottom: var(--spacing-500) !important;
}

main .block.instagram-feed .FeedGridLayout__grid > div:first-child {
  grid-row: 1 / 3;
  grid-column: 1 / 3;
}

main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(6) {
  grid-row: 2 / 4;
  grid-column: 4 / 6;
}

main .block.instagram-feed .FeedGridLayout__grid {
    gap: var(--spacing-200) !important;
}

@media (max-width: 600px) {
    main .block.instagram-feed .FeedGridLayout__grid {
        grid-template-columns: repeat(2, auto) !important;
        gap: var(--spacing-100) !important;
    }

    main .block.instagram-feed .FeedGridLayout__grid > div:first-child {
      grid-row: unset;
      grid-column: unset;
    }
    
    main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(6) {
      grid-row: unset;
      grid-column: unset;
    }

    main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(3) {
      grid-row: 3 / 5;
      grid-column: 1 / 3;
    }
}

main .block.instagram-feed .FeedLayout__col-footer {
    margin-top: var(--spacing-400) !important;
}

main .block.instagram-feed .FeedLayout__wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

main .block.instagram-feed .LoadMoreButton {
    display: flex;
    align-items: center;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    letter-spacing: 0.02em;
    color: var(--color-white) !important;
    background: rgba(250, 250, 250, 0.06) !important;
    border-color: white !important;
    font-weight: 300 !important;
    outline: none !important;
    border-color: transparent !important;
    border-image-source: linear-gradient(95deg, #DDBF6A 0%, #9B7700 49.76%, #DDBF6A 100%) !important;
    border-image-slice: 1 !important;
    border-width: 1px !important;
    transition: background-color .2s ease-in-out, color .2s ease-in-out, border .2s ease-in-out, background-position 0.3s ease-in-out, filter .2s ease-in-out !important;
}

main .block.instagram-feed .LoadMoreButton:hover,
main .block.instagram-feed .LoadMoreButton:focus {
    color: var(--color-white) !important;
    background: rgba(250, 250, 250, 0.10) !important;
    cursor: pointer !important;
}

main .block.instagram-feed .LoadMoreButton:focus-visible,
main .block.instagram-feed .LoadMoreButton:active {
    color: var(--color-white) !important;
    background: rgba(250, 250, 250, 0.07) !important;
    transition: 0s !important;
}

main .block.instagram-feed .LoadMoreButton.btn-disabled, main .block.instagram-feed .LoadMoreButton:disabled {
    color: var(--color-neutral-400) !important;
    background-color: var(--color-neutral-900) !important;
    border-color: transparent !important;
    cursor: not-allowed !important;
    transition: 0s !important;
    border-image-slice: unset !important;
    border-image-source: unset !important;
}

main .block.instagram-feed .FeedGridLayout__grid > div {
    overflow: hidden;
}

main .block.instagram-feed .FeedGridLayout__grid > div .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div .Skeleton__loading {
    height: 101% !important;
    width: 101% !important;
    max-width: 101% !important;
    max-height: 101% !important;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
}

main .block.instagram-feed .FeedGridLayout__grid > div:hover .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:hover .Skeleton__loading {
    transform: translate(-50%, -50%) scale(1.05);
}

main .block.instagram-feed .MediaOverlay__bottom-row {
    padding: 3% !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
}

main .block.instagram-feed .MediaOverlay__ig-link-icon {
    position: static !important;
    display: none;
}
.MediaThumbnail__root {
    background-color: transparent !important;
}
/* placeholders in the case that the images don't load correctly */
main .block.instagram-feed .MediaThumbnail__not-available {
    display: none;
}
main .block.instagram-feed .FeedGridLayout__grid > div {
    cursor: pointer;
}
main .block.instagram-feed .Skeleton__error-message {
    display: none
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(1) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(1) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18024412943656219-m-90-600.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(2) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(2) .Skeleton__error {
    background-image: url('../../assets/images/instagram/17940150104861773-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(3) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(3) .Skeleton__error {
    background-image: url('../../assets/images/instagram/17887670583244488-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(4) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(4) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18036148925274369-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(5) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(5) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18034032305627085-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(6) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(6) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18397494007102847-m-90-600.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(7) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(7) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18041979125148242-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(8) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(8) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18029084783641718-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(9) .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(9) .Skeleton__error {
    background-image: url('../../assets/images/instagram/18082144360634750-s-80-400.jpg');
}
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(1),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(2),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(3),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(4),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(5),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(6),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(7),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(8),
main .block.instagram-feed .FeedGridLayout__grid > div:nth-child(9) {
    padding-bottom: 100% !important;
}
main .block.instagram-feed .FeedGridLayout__grid .MediaTile__root,
main .block.instagram-feed .FeedGridLayout__grid div {
    background-color: transparent !important;
}
main .block.instagram-feed .LoadMoreButton span {
    pointer-events: none;
}