/*
 * Styles for the SociableKIT JSON Feed Plugin
 */
.sociablekit-feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1.5rem, 1.2273rem + 1.3636vi, 2.25rem);
    font-family: sans-serif;
    list-style: none;
    padding: 0;
}

.sociablekit-post-item {
    font-size: clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem);
    border: 0.0125rem solid #d2d2d2;
    border-radius: clamp(0.5rem, 0.3636rem + 0.6818vi, 0.875rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    container-name: post;
    container-type: inline-size;
}

.sociablekit-post-item-date {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sociablekit-post-image-container img {
    width: 100%;
    height: 20rem !important;
    display: block;
    object-fit: cover;
}

@container post (min-width: 200px) and (max-width: 320px) {
  .sociablekit-post-image-container img {
    height: 15rem !important;
  }
}

.sociablekit-post-content {
    padding: clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sociablekit-post-text {
    margin: 0 0 clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem) 0;
    font-size: clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem);
    line-height: 1.25;
    color: #000000;
    flex-grow: 1;
    word-wrap: break-word;
}

.sociablekit-post-text p {
    margin: 0 0 clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem) 0;
}

.sociablekit-post-text p:last-child {
    margin-block-end: 0;
}

.sociablekit-post-text a {
    font-size: inherit;
    text-decoration: underline;
}

.sociablekit-post-link {
    font-size: clamp(1rem, 0.9545rem + 0.2273vi, 1.125rem);
    text-decoration: none;
    font-weight: bold;

    border-block-start: 0.0125rem solid #d2d2d2;
    padding-block-start: clamp(0.5rem, 0.3636rem + 0.6818vi, 0.875rem);
}